]> code.delx.au - gnu-emacs/blob - ChangeLog.2
Indent methods with keyword names correctly
[gnu-emacs] / ChangeLog.2
1 2016-03-02 Michael Albinus <michael.albinus@gmx.de>
2
3 Fix Bug#22859
4
5 * lisp/filenotify.el (file-notify-callback): Return a `deleted'
6 event in case of kqueue and file1 is nil. (Bug#22859)
7
8 2016-03-01 Eli Zaretskii <eliz@gnu.org>
9
10 Fix reordering of bidi text in an isolate inside an override
11
12 * src/bidi.c (bidi_resolve_explicit): Override the orig_type value
13 of FSI with either LRI or RLI, as determined by the first strong
14 directional character in the isolate. This prevents failure to
15 isolate when the FSI...PDI text is inside a directional override.
16 (Bug#22786)
17
18 2016-03-01 Alan Mackenzie <acm@muc.de>
19
20 Document c-guess-basic-syntax in the CC Mode manual.
21
22 * doc/misc/cc-mode.texi (Syntactic Analysis): Document the function, adding
23 pxrefs to Custom Line-Up and Other Indentation.
24 (Custom Line-Up): Add a note on using c-guess-basic-syntax with a pxref to
25 Syntactic Analysis.
26
27 2016-03-01 Michael Albinus <michael.albinus@gmx.de>
28
29 Fix targets in test/automated/Makefile.in
30
31 * test/automated/Makefile.in: Use $(SELECTOR_DEFAULT) also for
32 empty target and target all.
33
34 2016-03-01 Leo Liu <sdl.web@gmail.com>
35
36 Comment on last change to define-derived-mode
37
38 * lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
39
40 2016-03-01 Lars Ingebrigtsen <larsi@gnus.org>
41
42 Allow binding `url-mime-accept-string'
43
44 * lisp/url/url-http.el (url-http): Allow binding
45 `url-mime-accept-string' (bug#22855).
46
47 Backport:
48
49 (cherry picked from commit 144bb0cf322b9756d29def3e27a42303e2edce43)
50
51 2016-03-01 Lars Ingebrigtsen <larsi@gnus.org>
52
53 Also allow setting the paragraph direction to nil
54
55 * lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow
56 setting the paragraph direction to nil ("auto").
57
58 2016-02-29 Anders Lindgren <andlind@gmail.com>
59
60 Made the new OS X visible bell more visible.
61
62 * src/nsterm.m: (EmacsBell:init:) Scaled up the visible bell
63 "caution" image five times, as the image in its original size
64 was hard to see.
65
66 2016-02-29 Lars Ingebrigtsen <larsi@gnus.org>
67
68 Use the correct background color when filling nested <divs>
69
70 * lisp/net/shr.el (shr-face-background): Return the first
71 background, because that's the one that's visible (bug#22680).
72
73 Backport:
74
75 (cherry picked from commit cad0bc70558f9c28c808711c5295dec9fc5ad6e5)
76
77 2016-02-29 Lars Ingebrigtsen <larsi@gnus.org>
78
79 Make <div> in <li> not insert extra newlines
80
81 * lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
82 extra newlines (bug#19587).
83
84 Backport:
85
86 (cherry picked from commit 379a846b8548dc32a9019ef0a37c02f62cd9bad1)
87
88 2016-02-29 Dmitry Gutov <dgutov@yandex.ru>
89
90 Uncomment the next-error-function integration in xref
91
92 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
93 Uncomment the next-error-function integration
94 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
95
96 2016-02-29 Dmitry Gutov <dgutov@yandex.ru>
97
98 Remove the word "valid", to avoid ambiguity
99
100 * doc/emacs/maintaining.texi (Identifier Search)
101 (Looking Up Identifiers): Remove the word "valid" (bug#22692).
102
103 2016-02-28 Michael Albinus <michael.albinus@gmx.de>
104
105 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
106
107 2016-02-28 Michael Albinus <michael.albinus@gmx.de>
108
109 Set auto-revert-use-notify to nil in global-auto-revert-mode. (Bug#22814)
110
111 * etc/NEWS:
112 * etc/PROBLEMS: Mention this.
113
114 * lisp/autorevert.el (global-auto-revert-mode): Set
115 `auto-revert-use-notify' to nil. (Bug#22814)
116
117 2016-02-28 Paul Eggert <eggert@cs.ucla.edu>
118
119 * etc/TODO: Minor quoting and grammar fixes.
120
121 2016-02-28 Friedrich Beckmann <friedrich.beckmann@gmx.de> (tiny change)
122
123 Fix ModelSim error parsing
124
125 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix
126 ModelSim error parsing (bug#5768).
127
128 2016-02-28 Lars Ingebrigtsen <larsi@gnus.org>
129
130 Make parse-time-string-chars faster
131
132 * lisp/calendar/parse-time.el (parse-time-string-chars): Clean
133 up the code (backport:).
134
135 2016-02-28 Lars Ingebrigtsen <larsi@gnus.org>
136
137 Add a eww command to toggle paragraph direction
138
139 * lisp/net/eww.el (eww-toggle-paragraph-direction): New
140 command and keystroke.
141
142 * doc/misc/eww.texi (Advanced): Mention the `D' command.
143
144 2016-02-27 Glenn Morris <rgm@gnu.org>
145
146 * nextstep/WISHLIST: Merge into etc/TODO and remove.
147
148 * etc/TODO: Merge in items from nextstep/WISHLIST.
149 * nextstep/README: Update for this change.
150
151 2016-02-27 Andreas Schwab <schwab@linux-m68k.org>
152
153 Fix char signedness issue in bidi code
154
155 * src/dispextern.h (struct bidi_t): Change type of resolved_level
156 and isolate_level to signed char. (Bug#22830)
157
158 2016-02-27 Andreas Schwab <schwab@linux-m68k.org>
159
160 * lib-src/pop.c (socket_connection): Fix format string.
161
162 2016-02-27 Eli Zaretskii <eliz@gnu.org>
163
164 Avoid inflooping in thing-at-point-looking-at
165
166 * lisp/thingatpt.el (thing-at-point-looking-at): Avoid inflooping
167 with regular expressions whose matching doesn't move point.
168 (Bug#22756)
169 Describe the argument DISTANCE in the doc string.
170
171 2016-02-27 Leo Liu <sdl.web@gmail.com>
172
173 * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.
174
175 2016-02-26 Michael Albinus <michael.albinus@gmx.de>
176
177 etc/PROBLEMS: Mention problems with using file descriptors
178
179 * etc/PROBLEMS: Mention problems with using file descriptors
180 of kqueue file notification library.
181
182 2016-02-26 Kaushal Modi <kaushal.modi@gmail.com>
183
184 * lisp/apropos.el (apropos-variable): Doc fix. (Bug#22813).
185
186 2016-02-25 Eli Zaretskii <eliz@gnu.org>
187
188 Remove unneeded workaround in xftfont.c
189
190 * src/xftfont.c (xftfont_open): Remove "dirty workaround" for
191 XftTextExtents8 behavior, as it is no longer needed. Suggested by
192 Fangwen Yu <yynyygy@gmail.com>. (Bug#22383)
193
194 2016-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * lisp/saveplace.el (save-place-local-mode): New minor mode
197
198 (toggle-save-place): Define as obsolete alias.
199 (save-place--setup-hooks): New function.
200 (save-place-mode): Use it.
201
202 2016-02-25 Eli Zaretskii <eliz@gnu.org>
203
204 Fix redisplay on a TTY after 'make-frame'
205
206 * src/xdisp.c (clear_garbaged_frames): Don't clear/redraw a
207 garbaged TTY frame if it is not the selected frame. (Bug#22794)
208
209 2016-02-25 Alan Mackenzie <acm@muc.de>
210
211 Make double-click-1 work with unbalanced parens in CC Mode. Fixes bug#5560.
212
213 * lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with
214 `syntax-after' to ensure syntax-table text properties are respected.
215
216 2016-02-25 Magnus Henoch <magnus.henoch@gmail.com>
217
218 Input method polish-slash should not use keyboard translation
219
220 * lisp/leim/quail/latin-pre.el ("polish-slash"): Input method
221 polish-slash should not use keyboard translation (bug#19081).
222
223 2016-02-25 Chris Feng <chris.w.feng@gmail.com>
224
225 Fix an assertion
226
227 * src/dispnew.c (clear_glyph_matrix_rows): Test matrix->nrows == 0 (which
228 implies start == 0) separately.
229
230 2016-02-24 Eli Zaretskii <eliz@gnu.org>
231
232 Fix 'toggle-save-place'
233
234 * lisp/saveplace.el (toggle-save-place): Set up hooks necessary to
235 support save-place in the buffer. Autoload the command.
236
237 2016-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * src/keyboard.c: Don't inadvertently set immediate_echo (bug#22581)
240
241 * src/keyboard.c (read_key_sequence): Don't inadvertently set
242 immediate_echo when we don't want any echo-keystrokes.
243 (echo_keystrokes_p): Move earlier.
244
245 2016-02-24 Chris Zheng <chriszheng99@gmail.com> (tiny change)
246
247 Minor fixes in calculator.el
248
249 * lisp/calculator.el (calculator-mode-map): Bind `E' for
250 `calculator-exp'.
251 (calculator-last-input): Fix a bug with pressing F1.
252 (Bug#20764)
253
254 2016-02-24 Anders Lindgren <andlind@gmail.com>
255
256 Update HISTORY section in readme for the NextStep interface.
257
258 * nextstep/README: Update HISTORY after suggestion
259 from former maintainer Adrian Robert.
260
261 2016-02-24 Eli Zaretskii <eliz@gnu.org>
262
263 Improve documentation of 'save-place-mode'
264
265 * lisp/saveplace.el (toggle-save-place): Update the doc string wrt
266 turning on 'save-place-mode' globally.
267
268 * etc/NEWS: Mention the need to call 'save-place-mode' for turning
269 on the mode in all buffers.
270
271 2016-02-24 Chris Feng <chris.w.feng@gmail.com> (tiny change)
272
273 Allocate glyph matrices for the initial frame
274
275 * src/frame.c (make_initial_frame): Allocate glyph matrices (Bug#22787).
276
277 * src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.
278
279 2016-02-24 Lars Ingebrigtsen <larsi@gnus.org>
280
281 Fix white space in last checkin
282
283 2016-02-24 Dima Kogan <gnuplot@dima.secretsauce.net>
284
285 Make `insert-pair' always leave the cursor where documented
286
287 * lisp/emacs-lisp/lisp.el (insert-pair): The docstring of
288 insert-pair states that after insertion, the point ends up
289 after the opening character. This was not true if the pair was
290 inserted to surround a region (bug#16949).
291
292 2016-02-24 Kaushal Modi <kaushal.modi@gmail.com>
293
294 etc/NEWS: Mention the new second parameter to `package-install'
295
296 * etc/NEWS: Mention the new second parameter to
297 `package-install' (bug#22784).
298
299 2016-02-24 John F. Trudeau <JFTrudeau@aetna.com> (tiny change)
300
301 Highlight assignments in Makefiles more correctly
302
303 * lisp/progmodes/make-mode.el (makefile-macroassign-regex):
304 Highlight assignments preceded by a TAB character correctly
305 (bug#20787).
306
307
308 Backport:
309
310 (cherry picked from commit bbd86c5642bd62c43d72391669f28eaa14459fd5)
311
312 2016-02-23 Eli Zaretskii <eliz@gnu.org>
313
314 Improve documentation of focus-related hooks
315
316 * doc/lispref/commands.texi (Focus Events): Mention focus-related
317 hooks. (Bug#21728)
318
319 2016-02-23 Eli Zaretskii <eliz@gnu.org>
320
321 Further improve doc string of 'disable-point-adjustment'
322
323 * src/keyboard.c (syms_of_keyboard): <disable-point-adjustment>
324 <global-disable-point-adjustment>: Clarify doc strings. (Bug#22771)
325
326 2016-02-23 Michael Albinus <michael.albinus@gmx.de>
327
328 Further adaptions in file-notify-tests.el for w32notify
329
330 * test/automated/file-notify-tests.el
331 (file-notify--test-read-event-timeout, file-notify--test-timeout):
332 Decrease values.
333 (file-notify-test03-autorevert)
334 (file-notify-test04-file-validity)
335 (file-notify-test05-dir-validity): Run tests also for w32notify.
336 (file-notify-test08-watched-file-in-watched-dir):
337 Adapt expected events for w32notify.
338
339 2016-02-23 Jan Tatarik <jan.tatarik@gmail.com>
340
341 Don't bug out on localised dates in gnus-icalendar
342
343 * lisp/gnus/gnus-icalendar.el
344 (gnus-icalendar-event:org-timestamp): Don't bug out on
345 localised dates.
346
347 2016-02-23 Drew Adams <drew.adams@oracle.com>
348
349 (ls-lisp-insert-directory): Make -B work
350
351 * lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work
352 (bug#20776).
353
354 Backport:
355
356 (cherry picked from commit ef52e66efd78aac4c4e5bd5e11870e5ba3b37a1e)
357
358 2016-02-23 Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
359
360 Make buttons in header lines work
361
362 * lisp/help-mode.el (help-button-action): `help-xref-button' in
363 header line doesn't work (bug#21024).
364
365 Backport:
366
367 (cherry picked from commit c11e565a6b6d09fa39d4c3ef65bef08190eaecc1)
368
369 2016-02-23 Christopher Wellons <wellons@nullprogram.com>
370
371 Make setf for frame-height/width work again
372
373 * lisp/emacs-lisp/cl-lib.el (frame-height): Make setf for
374 frame-height/width work again (bug#21979).
375
376 2016-02-23 Łukasz Stelmach <stlman@poczta.fm>
377
378 Encode header strings before printing
379
380 * lisp/ps-print.el (ps-generate-header-line): Encode the
381 header strings to avoid problems with non-ASCII headers
382 (bug#22611).
383
384 Backport:
385
386 (cherry picked from commit 3cedbdcc71ebefc12bd20ec84f74251fe99ee7d0)
387
388 2016-02-23 Nicolas Richard <youngfrog@members.fsf.org>
389
390 (cl-union): Do not ignore :test argument when lists are equal.
391
392 * lisp/emacs-lisp/cl-seq.el (cl-union): Do not ignore :test argument when lists are equal.
393
394 * test/automated/cl-seq-tests.el: New file (bug#22729).
395
396 2016-02-23 Lars Ingebrigtsen <larsi@gnus.org>
397
398 Add `isearch' to `basic-faces'
399
400 * doc/lispref/display.texi (Basic Faces): Mention the isearch
401 and lazy-highlight faces.
402
403 * lisp/replace.el (match): Add `isearch' to the `basic-faces'
404 group, too (bug#22760).
405
406 2016-02-23 Dmitry Gutov <dgutov@yandex.ru>
407
408 Make $, : and @ "prefix characters" in ruby-mode
409
410 * lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Change the
411 syntax classes of $, : and @ to "prefix character"
412 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00272.html).
413 (ruby-syntax-propertize): Undo that specifically for colons
414 followed by an opening paren or bracket.
415 (ruby-font-lock-keyword-beg-re): Include colon character.
416 (ruby-font-lock-keywords): Adjust the constants matcher for `:'
417 not being a symbol constituent anymore.
418
419 2016-02-23 Dmitry Gutov <dgutov@yandex.ru>
420
421 Make find-tag-default-bounds more strict
422
423 * lisp/subr.el (find-tag-default-bounds): Delegate to
424 bounds-of-thing-at-point (bug#22692).
425
426 2016-02-22 Michael Albinus <michael.albinus@gmx.de>
427
428 Minor fixes in filenotify.el
429
430 * lisp/filenotify.el (top): Require 'cl-lib.
431 (file-notify--rm-descriptor)
432 (file-notify--event-watched-file): Use cl-caadr.
433 (file-notify-callback): Handle also `ignore' events from inotify.
434
435 2016-02-22 Michael Albinus <michael.albinus@gmx.de>
436
437 Additional fixes for file notification
438
439 * lisp/filenotify.el (top): Require 'cl when compiling.
440 (file-notify--event-watched-file): New defun.
441 (file-notify--rm-descriptor, file-notify-callback):
442 Handle case of several monitors running in parallel.
443
444 * test/automated/file-notify-tests.el
445 (file-notify--test-event-test): Simplify test.
446 (file-notify--test-with-events): Get rid of outer definition.
447 Check also results of tests performed in callbacks.
448 (file-notify-test02-events): No wrapping when calling
449 `file-notify-rm-watch'. No special checking for callback tests.
450 (file-notify-test07-backup): Adapt expected events for gfilenotify.
451 (file-notify-test08-watched-file-in-watched-dir): Improve.
452
453 2016-02-22 Eli Zaretskii <eliz@gnu.org>
454
455 Fix documentation of 'global-disable-point-adjustment'
456
457 * src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
458 <global-disable-point-adjustment>: Doc fixes. (Bug#22771)
459
460 2016-02-22 Daiki Ueno <ueno@gnu.org>
461
462 Set file modes of pinentry socket for extra safety
463
464 * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
465 (pinentry-start): Change the file modes of the socket file to 0700.
466 This is just for extra safety since the parent directory is already
467 protected with `server-ensure-safe-dir'.
468
469 2016-02-22 Daiki Ueno <ueno@gnu.org>
470
471 Clarify GnuPG version compatibility chapter
472
473 * doc/misc/epa.texi (GnuPG version compatibility): Make the gpg-agent
474 description a bit clearer.
475
476 2016-02-22 Daiki Ueno <ueno@gnu.org>
477
478 Revert "Change the default socket location for pinentry"
479
480 This reverts commit e34fbdee8aca84b98393b06b2450837d175999ca.
481 It turned out that the address is fixed in Pinentry itself.
482
483 2016-02-21 Dmitry Gutov <dgutov@yandex.ru>
484
485 Kill off xref--display-history
486
487 Now that the core workflow keeps the xref window visible, there's
488 less value in storing this history. And it never was
489 comprehensive enough to undo scrolling changes.
490 * lisp/progmodes/xref.el (xref--display-history)
491 (xref--save-to-history, xref-quit): Remove.
492 (xref--show-pos-in-buf): Update accordingly.
493 (xref--xref-buffer-mode-map): Remove xref-quit binding.
494
495 2016-02-21 Dmitry Gutov <dgutov@yandex.ru>
496
497 Keep the xref buffer visible until the user quits it explicitly
498
499 * lisp/progmodes/xref.el (xref--pop-to-location):
500 Rename WINDOW argument to ACTION.
501 (xref--with-dedicated-window): New macro.
502 (xref--show-pos-in-buf): Rename from `xref--display-position'.
503 Add and handle new argument, SELECTED. Use the above macro.
504 (xref--show-location): Add SELECTED argument.
505 (xref-show-location-at-point): Make an effort to avoid the
506 original window when showing the location.
507 (xref-goto-xref): Don't quit the xref window (bug#20487 and
508 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01133.html).
509 (xref--query-replace-1): Use xref--with-dedicated-window as well.
510 (xref--next-error-function): Call xref--show-location instead of
511 xref--pop-to-location.
512 (xref--show-xrefs): Rename WINDOW argument to DISPLAY-ACTION.
513 Only pass that value to xref--pop-to-location. Pass the current
514 selected window to xref-show-xrefs-function as the `window'
515 property.
516 (xref--find-xrefs, xref--find-definitions): Rename WINDOW argument
517 to DISPLAY-ACTION as well.
518
519 2016-02-21 Daiki Ueno <ueno@gnu.org>
520
521 Change the default socket location for pinentry
522
523 * lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
524 (pinentry--socket-dir): Change the default from /tmp/emacsXXX to
525 ~/.emacs.d/pinentry.
526 (pinentry-start): Change the file modes of the socket file to 0700.
527 This is just for extra safety since the parent directory is already
528 protected with `server-ensure-safe-dir'.
529
530 2016-02-21 Daiki Ueno <ueno@gnu.org>
531
532 Mention how to enable pinentry feature
533
534 * etc/NEWS: Mention "gpgconf --reload gpg-agent".
535 * lisp/net/pinentry.el: Likewise.
536
537 2016-02-21 Paul Eggert <eggert@cs.ucla.edu>
538
539 Sync with gnulib
540
541 This incorporates:
542 2016-02-10 stdalign: port to older HP and IBM cc
543 * doc/misc/texinfo.tex, lib/stdalign.in.h: Copy from gnulib.
544
545 2016-02-21 David Engster <deng@randomsample.de>
546
547 Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
548
549 * lisp/cedet/semantic/db-mode.el (semanticdb-hooks): Do not put
550 `semanticdb-save-all-db-idle' into `auto-save-hook'. The latter is
551 not an idle hook, so it's not appropriate to call it there. It will
552 already be called in the `semantic-idle-work-core-handler', which
553 runs when Emacs is actually idle.
554
555 2016-02-21 David Engster <deng@randomsample.de>
556
557 Restore point when writing semantic table to disk
558
559 * lisp/cedet/semantic/db-file.el (object-write): Wrap call to
560 `semantic-fetch-tags' in `save-excursion', since it might move point
561 in current buffer. (Bug #22287)
562
563 2016-02-21 Daiki Ueno <ueno@gnu.org>
564
565 Mention pinentry.el in epa manual
566
567 * doc/misc/epa.texi (GnuPG version compatibility): New chapter,
568 describing the differences between three GnuPG branches, and how
569 to enable pinentry.el.
570 (Caching Passphrases): Add xref to the compatibility chapter.
571
572 2016-02-21 Michael Albinus <michael.albinus@gmx.de>
573
574 Fix Bug#22736
575
576 * lisp/filenotify.el (file-notify-callback): Use the proper
577 descriptor when calling the callback. (Bug#22736)
578
579 * test/automated/file-notify-tests.el
580 (file-notify--test-event-handler): Deactivate trace.
581 (file-notify-test08-watched-file-in-watched-dir): Bind
582 `file-notify--test-tmpfile' temporarily in `dir-callback'.
583
584 2016-02-21 Wieland Hoffmann <themineo@gmail.com> (tiny change)
585
586 Grammar fix in doc string
587
588 * lisp/custom.el (defgroup): Grammar fix in doc string.
589
590 2016-02-20 Daiki Ueno <ueno@gnu.org>
591
592 Naming fix for consistency
593
594 * lisp/epg-config.el (epg-find-configuration): Rename from
595 `epg-configuration-find' to be consistent with other epg-* functions.
596 Change all callers.
597
598 2016-02-20 Daiki Ueno <ueno@gnu.org>
599
600 Prefer customized value for GnuPG executable
601
602 * lisp/epg-config.el (epg-configuration-find): Don't check GPG
603 configuration if it is already set with custom. (Bug#22747)
604
605 2016-02-20 Eli Zaretskii <eliz@gnu.org>
606
607 Fix memory reservation on MS-Windows
608
609 * src/w32heap.c (mmap_alloc): Reserve memory in 64KB granular
610 units. This avoids leaving gaps in reserved memory regions that
611 no one can use, since memory reservation must produce 64KB-aligned
612 addresses. (Bug#22526)
613
614 2016-02-20 Anders Lindgren <andlind@gmail.com>
615
616 Update NextStep readme and add wish list.
617
618 * nextstep/README: Rewritten from scratch. New sections on
619 "History", "Overview of Cocoa and Objective-C", "Guidelines",
620 "Tracing Support", and "GNUStep". Expanded the "See Also" section.
621 * nextstep/WISHLIST: New file containing list of issues and ideas
622 associated with the NS port of Emacs.
623
624 2016-02-20 Michael Albinus <michael.albinus@gmx.de>
625
626 Report also result in `file-notify--test-event-handler'
627
628 2016-02-20 Michael Albinus <michael.albinus@gmx.de>
629
630 Improve file-notify-test08-watched-file-in-watched-dir
631
632 * test/automated/file-notify-tests.el (file-notify--test-desc2):
633 New variable.
634 (file-notify--test-cleanup): Use it.
635 (file-notify--test-event-handler): Enable trace.
636 (file-notify-test08-watched-file-in-watched-dir): Tag it as
637 :expensive-test. Rewrite callbacks to use
638 `file-notify--test-event-handler'. Read events in loop. Check
639 `file-notify--test-results'.
640 (file-notify-test08-watched-file-in-watched-dir): Fix docstring.
641
642 2016-02-20 Stephen Berman <stephen.berman@gmx.net>
643
644 Fix todo-mode item date editing bugs
645
646 * lisp/calendar/todo-mode.el (todo-edit-item--header): Prevent out of
647 range error by making sure the value of the numerical month date
648 component cannot be nil. Prevent wrong type error on trying to edit
649 day number in February by making sure numerical instead of string
650 value of the year component is passed to todo-read-date.
651 (todo-read-date): When using the numerical month date component make
652 sure to use `*' for an arbitrary month instead of its numerical value.
653
654 2016-02-20 Eli Zaretskii <eliz@gnu.org>
655
656 Fix "[:upper:]" for non-ASCII characters
657
658 * src/regex.c (re_match_2_internal): Support [:upper:] and
659 [:lower:] for non-ASCII characters. (Bug#18150)
660
661 2016-02-20 Lars Ingebrigtsen <larsi@gnus.org>
662
663 Allow customising the article mode cursor behavior
664
665 * doc/misc/gnus.texi (HTML): Mention gnus-article-show-cursor.
666
667 * lisp/gnus/gnus-art.el (gnus-article-show-cursor): New variable.
668 (gnus-article-mode): Use it.
669
670 2016-02-20 Ari Roponen <ari.roponen@gmail.com>
671
672 Use pop-to-buffer-same-window in woman.el
673
674 * lisp/woman.el (woman-really-find-file): Work around going to
675 the wrong buffer by using `pop-to-buffer-same-window' (bug#22332).
676 (WoMan-find-buffer): Ditto.
677
678 2016-02-20 Tassilo Horn <tsdh@gnu.org>
679
680 New filenotify test for bug#22736
681
682 * test/automated/file-notify-tests.el
683 (file-notify-test08-watched-file-in-watched-dir):
684 (file-notify--test-desc1): New filenotify test for bug#22736
685
686 2016-02-20 Marcin Borkowski <mbork@mbork.pl>
687
688 Report critical battery errors
689
690 * lisp/battery.el (battery-pmset): Report critical battery
691 errors (bug#18157).
692
693 2016-02-19 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
694
695 Make eww message toggling message clearer
696
697 * lisp/net/eww.el (eww-toggle-fonts): Make the message
698 clearer.
699
700 2016-02-19 Mark Oteiza <mvoteiza@udel.edu>
701
702 * lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.
703
704 2016-02-18 Martin Rudalics <rudalics@gmx.at>
705
706 Fix bugs in window resizing code
707
708 * lisp/window.el (adjust-window-trailing-edge): Fix mismatched
709 parenthesis.
710 (shrink-window, enlarge-window): Fix bug#22723 where windows
711 with preserved size would not get resized. Also now signal an
712 error when the window cannot be shrunk or enlarged as requested.
713
714 2016-02-17 Eli Zaretskii <eliz@gnu.org>
715
716 Fix decoding DOS EOL in a unibyte buffer
717
718 * src/coding.c (decode_eol): Loop over bytes, not characters.
719 (Bug#5251)
720
721 2016-02-17 Alan Mackenzie <acm@muc.de>
722
723 Correct c-parse-state cache manipulation error.
724
725 * lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Correct a
726 comparison bound. Amend comments.
727
728 2016-02-17 Daiki Ueno <ueno@gnu.org>
729
730 Take advantage of new GnuPG version check function
731
732 * lisp/emacs-lisp/package.el (epg-configuration-find): Declare.
733 (package-refresh-contents): Use `epg-configuration-find' to check if EPG
734 is usable.
735
736 2016-02-17 Daiki Ueno <ueno@gnu.org>
737
738 Make GnuPG version check robuster
739
740 We changed the default gpg program to "gpg2" from "gpg" in the commit
741 f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1. However, there are two
742 maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
743 series. Check the actual version of "gpg2" at run time, and properly
744 divert to "gpg" if necessary.
745 * lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
746 (epg-config--program-alist): New variable.
747 (epg--configurations): New variable.
748 (epg-configuration-find): New function.
749 (epg-config--make-gpg-configuration): New function.
750 (epg-config--make-gpgsm-configuration): New function.
751 (epg-configuration): Mark as obsolete.
752 * lisp/epg.el (epg-context): Use `epg-configuration-find'.
753
754 2016-02-17 Paul Eggert <eggert@cs.ucla.edu>
755
756 Fix x-load-color-file pointer signedness
757
758 * src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
759 For sscanf and int *, use %d, not %u.
760 Problem found on Ubuntu 15.10 x32, which lacks X support.
761
762 2016-02-17 Paul Eggert <eggert@cs.ucla.edu>
763
764 * lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.
765
766 2016-02-16 Mark Oteiza <mvoteiza@udel.edu>
767
768 Follow convention for greek letter constants.
769
770 * lisp/calc/calc-units.el (math-standard-units):
771 Add "sigma" and alias σ to it.
772
773 2016-02-16 Mark Oteiza <mvoteiza@udel.edu>
774
775 Add Stefan-Boltzmann constant to calc units table.
776
777 * lisp/calc/calc-units.el (math-standard-units):
778 Add Stefan-Boltzmann constant.
779
780 2016-02-16 Mark Oteiza <mvoteiza@udel.edu>
781
782 * lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.
783
784 2016-02-16 Glenn Morris <rgm@gnu.org>
785
786 Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw. (Bug#22669)
787
788 * lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers):
789 Prefill with relevant elements for term/xterm.
790
791 2016-02-16 Tassilo Horn <tsdh@gnu.org>
792
793 Fix soffice UserInstallation-URL for Windows
794
795 * lisp/doc-view.el (doc-view-odf->pdf-converter-soffice): Fix
796 UserInstallation-URL when calling soffice on Windows.
797
798 2016-02-16 Lars Ingebrigtsen <larsi@gnus.org>
799
800 Fix display of <pre> elements
801
802 * lisp/net/eww.el (eww-display-html): Remove CRLF before
803 parsing so that <pre> elements don't render with ^M at the end
804 of the lines.
805
806 2016-02-15 Eli Zaretskii <eliz@gnu.org>
807
808 Minor fixes in global-auto-composition-mode
809
810 * lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
811 Produce prettier names of globalized minor modes.
812 * lisp/composite.el (global-auto-composition-mode): Make it a
813 globalized mode. (Bug#22682)
814
815 2016-02-15 Alan Mackenzie <acm@muc.de>
816
817 Allow arithmetic operators inside C++ template constructs.
818
819 Fixes debbugs #22486. This corrects the previous patch with this message
820 which was empty.
821
822 * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
823 variable.
824 (c-<>-notable-chars-re): New language variable.
825
826 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
827 c-<>-notable-chars-re in place of the former fixed string in searching for
828 places to stop and examine.
829 Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
830 multichar operator in place of the former c->-op-without->-cont-regexp.
831 Add code to skip forwards over a balanced parenthesized expression.
832
833 2016-02-15 Eli Zaretskii <eliz@gnu.org>
834
835 Avoid crashes in semi-malformed 'condition-case'
836
837 * src/eval.c (internal_lisp_condition_case): Treat a handler
838 '(nil)' as if it were '(nil nil)'. (Bug#22675)
839
840 2016-02-15 Alan Mackenzie <acm@muc.de>
841
842 Allow arithmetic operators inside C++ template constructs.
843
844 Fixes debbugs #22486.
845
846 * lisp/progmodes/cc-langs.el (c-multichar->-op-not->>-regexp): New language
847 variable.
848 (c-<>-notable-chars-re): New language variable.
849
850 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): User
851 c-<>-notable-chars-re in place of the former fixed string in searching for
852 places to stop and examine.
853 Use c-multichar->-op-not->>-regexp to check that a found ">" is not part of a
854 multichar operator in place of the former c->-op-without->-cont-regexp.
855 Add code to skip forwards over a balanced parenthesized expression.
856
857 2016-02-15 Eli Zaretskii <eliz@gnu.org>
858
859 Fix regression with 'recent-keys' and keyboard macros
860
861 * src/keyboard.c (record_char): Don't record in 'recent_keys'
862 events that come from executing keyboard macros. (Bug#22674)
863
864 2016-02-15 Eli Zaretskii <eliz@gnu.org>
865
866 Fix wording in a doc-view.el comment
867
868 * lisp/doc-view.el (doc-view--current-cache-dir): Don't use
869 "illegal" for something that is not against the law.
870
871 2016-02-15 Paul Eggert <eggert@cs.ucla.edu>
872
873 CONTRIBUTE cleanups and updates
874
875 * CONTRIBUTE: Mention URLs and info nodes more consistently,
876 avoiding possibly-confusing punctuation adjacent to a URL, and
877 giving full shell commands for 'info'. Start with a brief but
878 complete how-to, for people who want to get started right away.
879 Then briefly discuss how to join the development process in the
880 typical order. Omit needless words. Update some of the
881 now-obsolete file names, info node names, and quoting styles.
882 Better document emacs-NN branches and how they are merged.
883 * admin/notes/git-workflow: Change emacs-24 to emacs-25,
884 and trunk to master. This file still needs work.
885
886 2016-02-14 Paul Eggert <eggert@cs.ucla.edu>
887
888 Port USE_STACK_LISP_OBJECTS fix to Clang
889
890 * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
891 Recent versions of Clang claim to be GCC 4.2.1 but do not have
892 the GCC bug.
893
894 2016-02-14 Paul Eggert <eggert@cs.ucla.edu>
895
896 Port to x86 GCC 4.3.1 and earlier
897
898 This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
899 * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
900 for GCC 4.3.1 and earlier.
901
902 2016-02-14 Eli Zaretskii <eliz@gnu.org>
903
904 Fix point movement under 'scroll-conservatively'
905
906 * src/xdisp.c (redisplay_window): Correct a typo in computing the
907 effective number of text lines in a window. (Bug#22637)
908
909 2016-02-14 Thomas Plass <thomas.plass@arcor.de>
910
911 Replace colon in file name (not legal on Windows)
912
913 * lisp/doc-view.el (doc-view--current-cache-dir): Replace colon in file
914 name (not legal on Windows). [tiny change]
915
916 2016-02-14 Eli Zaretskii <eliz@gnu.org>
917
918 Fix a typo in edt.texi
919
920 * doc/misc/edt.texi: Fix a typo in an email address. Reported by
921 "Herbert J. Skuhra" <herbert@mailbox.org>.
922
923 2016-02-14 Eli Zaretskii <eliz@gnu.org>
924
925 Make 'mmap_realloc' on MS-Windows more reliable
926
927 * src/w32heap.c (mmap_alloc): If reserving memory succeeds, but
928 committing fails, return NULL. Don't call GetLastError twice for
929 the same API error.
930 (mmap_realloc): Zero out MEMORY_BASIC_INFORMATION structures
931 before calling VirtualQuery, to avoid using garbled values if the
932 call fails. If committing more pages from the same block fails,
933 fall back on mmap_alloc + CopyMemory. Enhance debugging printouts
934 if the call to VirtualAlloc to commit more pages fails.
935 (Bug#22526)
936
937 2016-02-14 Oscar Fuentes <ofv@wanadoo.es>
938
939 Grep alias `all' shall not match parent directory
940
941 * lisp/progmodes/grep.el (grep-files-aliases): Don't match parent
942 directory for `all'. Fixes bug#22577
943
944 2016-02-13 Nicolas Petton <nicolas@petton.fr>
945
946 Bump version to 25.0.91
947
948 * README:
949 * configure.ac:
950 * msdos/sed2v2.inp: Bump version to 25.0.91.
951
952 2016-02-13 Nicolas Petton <nicolas@petton.fr>
953
954 * etc/AUTHORS: Update the AUTHORS file
955
956 2016-02-13 Glenn Morris <rgm@gnu.org>
957
958 * lisp/dired-aux.el: Require cl-lib. (Bug#22613)
959
960 2016-02-13 Eli Zaretskii <eliz@gnu.org>
961
962 Index tilde characters in names of backup files
963
964 * doc/emacs/files.texi (Backup Names): Improve indexing.
965 (Bug#22625)
966
967 2016-02-13 Eli Zaretskii <eliz@gnu.org>
968
969 Document deprecation of hi-lock-mode's 'C-x w' bindings
970
971 * doc/emacs/display.texi (Highlight Interactively): Deprecate the
972 "C-x w" bindings of hi-lock-mode.
973
974 * etc/NEWS: Mark the deprecation entry as documented.
975
976 2016-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 Announce that the `C-x w' bindings are deprecated
979
980 2016-02-13 Paul Eggert <eggert@cs.ucla.edu>
981
982 Suppress GNUstep hardening
983
984 Fedora 23 normally hardens GNUstep applications, which causes
985 ‘./configure --with-ns’ to break Emacs’s funky way of undumping.
986 Fix this by eliding the hardening options (Bug#22518).
987 * src/Makefile.in (LIBS_GNUSTEP): Omit options like
988 ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-ld’.
989 (GNU_OBJC_CFLAGS): Omit options like
990 ‘-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1’.
991
992 2016-02-12 Eli Zaretskii <eliz@gnu.org>
993
994 Fix redisplay after a large insertion
995
996 * src/xdisp.c (redisplay_internal): Don't accept the results of
997 "optimization 3" if the cursor ends up in a partially visible
998 glyph row. (Bug22637)
999
1000 2016-02-12 Andreas Schwab <schwab@linux-m68k.org>
1001
1002 Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
1003
1004 This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.
1005
1006 * lisp/gnus/nnimap.el (nnimap-change-group): Revert last
1007 change. (Bug#22634)
1008
1009 2016-02-11 Paul Eggert <eggert@cs.ucla.edu>
1010
1011 * lib-src/make-docfile.c: Include stdarg.h.
1012
1013 2016-02-11 Alan Mackenzie <acm@muc.de>
1014
1015 Extend gpm-mouse-mode's doc string and doc to point out limitations.
1016
1017 * lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the
1018 inability to transfer text between Emacs and other programs which use GPM.
1019
1020 * doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text
1021 between Emacs and other progrmas which use GPM.
1022
1023 2016-02-11 Eli Zaretskii <eliz@gnu.org>
1024
1025 Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"
1026
1027 * lisp/isearch.el: Turn char-folding back oon by default.
1028
1029 This reverts commit 12c50e82c9b432b2fc31f8fb2215f43ceea80822.
1030
1031 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1032
1033 Revert "Support integer image rotation and respect EXIF rotations"
1034
1035 This reverts commit 0f600496050bf435f55dc81056e06fcd45992dc8.
1036
1037 This change does not work on Fedora.
1038
1039 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1040
1041 Revert "Document EXIF image rotation"
1042
1043 This reverts commit 10b8ed27ec91ff52f93eb0297dcc3abb214931aa.
1044
1045 This change does not work on Fedora, for instance.
1046
1047 2016-02-11 Paul Eggert <eggert@cs.ucla.edu>
1048
1049 Document OS X LANG default
1050
1051 * doc/emacs/cmdargs.texi (General Variables):
1052 Document OS X Language and Region system preference.
1053 Suggested by Alan Third.
1054
1055 2016-02-11 Alan Third <alan@idiocy.org>
1056
1057 Set locale when run from OS X GUI
1058
1059 * src/emacs.c (main): Call ns_init_locale.
1060 * src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
1061 * src/nsterm.h: Include ns_init_locale.
1062
1063 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
1064
1065 make-docfile cleanup for I/O, etc.
1066
1067 * lib-src/make-docfile.c (progname, generate_globals, num_globals)
1068 (num_globals_allocated, globals): Now static.
1069 (generate_globals, struct rcsoc_state, read_c_string_or_comment):
1070 (write_c_args, scan_c_stream, search_lisp_doc_at_eol, scan_lisp_file):
1071 Use bool for boolean.
1072 (verror): New function.
1073 (fatal, error): Use it. API is now like printf. All callers changed.
1074 (main): Remove err_count local that was always 0.
1075 (main, scan_c_stream, scan_lisp_file): Check for I/O error.
1076 (scan_file, scan_c_file, scan_c_stream, scan_lisp_file):
1077 Return void, not 0.
1078 (put_char, scan_keyword_or_put_char, scan_c_file): Use char for byte.
1079 (scan_keyword_or_put_char): Check for missing ( and unexpected EOF.
1080 (close_emacs_globals): Use ptrdiff_t for index, not int.
1081 (scan_c_file, scan_lisp_file): Exit with failure if file cannot be
1082 opened, rather than diagnosing but exiting with status 0.
1083 (search_lisp_doc_at_eol): Don't worry about ungetc of EOF; it's
1084 portable now.
1085
1086 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
1087
1088 Memory-management cleanup in make-docfile
1089
1090 I compiled it with -fsanitize=address and fixed the leaks it detected.
1091 Also, I changed it to prefer signed to unsigned integer types,
1092 and to check for integer overflow.
1093 * lib-src/make-docfile.c:
1094 Include <stddef.h>, <stdint.h>, <intprops.h>, <min-max.h>.
1095 (memory_exhausted): New function.
1096 (xmalloc, xrealloc): Use it.
1097 (xmalloc, xrealloc, scan_file, struct rcsoc_state, write_c_args)
1098 (uncompiled, scan_lisp_file):
1099 Prefer signed integer types to unsigned.
1100 (xstrdup): Remove. All uses removed.
1101 (num_globals, num_globals_allocated, write_globals, scan_c_stream):
1102 Use ptrdiff_t, not int, for indexes that in theory could exceed INT_MAX.
1103 (add_global): Use const to pacify --enable-gcc-warnings.
1104 Make a copy here, rather than relying on strdup calls later.
1105 (add_global, write_globals, scan_c_stream):
1106 Avoid integer overflow when calculating sizes.
1107 (write_globals, scan_c_stream, scan_lisp_file): Avoid memory leak.
1108 (scan_c_stream): Check for add_global failure.
1109
1110 2016-02-10 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1111
1112 Kevin Gallagher has new email address
1113
1114 * lisp/emulation/edt.el:
1115 * lisp/emulation/edt-lk201.el:
1116 * lisp/emulation/edt-mapper.el:
1117 * lisp/emulation/edt-pc.el:
1118 * lisp/emulation/edt-vt100.el:
1119 * etc/edt-user.el:
1120 * doc/misc/edt.texi: Update Kevin Gallagher's email address.
1121
1122 2016-02-10 Eli Zaretskii <eliz@gnu.org>
1123
1124 Improve doc strings of 'forward/backward-word-strictly'
1125
1126 * lisp/simple.el (backward-word): Refer to 'backward-word-strictly'
1127 in the doc string. Suggested by Glenn Morris <rgm@gnu.org>.
1128 * lisp/subr.el (forward-word-strictly, backward-word-strictly):
1129 Mention 'subword-mode' in the doc strings.
1130
1131 * src/syntax.c (Fforward_word): Refer to 'forward-word-strictly'
1132 in the doc string. (Bug#22560)
1133
1134 2016-02-10 Michael Albinus <michael.albinus@gmx.de>
1135
1136 Describe Makefile test targets in test/README
1137
1138 * CONTRIBUTE: Move Makefile test targets to test/README.
1139
1140 * Makefile.in:
1141 * test/README: Describe Makefile test targets.
1142
1143 2016-02-10 Artur Malabarba <bruce.connor.am@gmail.com>
1144
1145 Backport: * lisp/isearch.el: Turn char-folding off by default
1146
1147 (search-default-mode): Set default value to nil.
1148
1149 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1150
1151 Document EXIF image rotation
1152
1153 * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
1154
1155 2016-02-10 Dima Kogan <dima@secretsauce.net>
1156
1157 Support integer image rotation and respect EXIF rotations
1158
1159 * src/image.c (imagemagick_load_image): Allow integer rotations in
1160 addition to floating point rotations (bug#22591).
1161 * src/image.c (imagemagick_load_image): Images that have an
1162 orientation given in EXIF and have no explicit :rotation tag are now
1163 pre-rotated. All information such as width/height is reported for the
1164 rotated image.
1165
1166 2016-02-10 Matthew Carter <m@ahungry.com>
1167
1168 Quote table names for postgres listings (sql-mode)
1169
1170 * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
1171 unquoted table names to the completion list.
1172
1173 2016-02-10 Juri Linkov <juri@linkov.net>
1174
1175 * lisp/replace.el (replace-match-maybe-edit): Make arg `backward' optional.
1176
1177 Doc fix.
1178 (replace-search, replace-highlight): Make arg `backward' optional.
1179 (Bug#18388)
1180
1181 2016-02-10 Juri Linkov <juri@linkov.net>
1182
1183 * lisp/simple.el (next-line-or-history-element): Reset temporary-goal-column.
1184
1185 (previous-line-or-history-element): Reset temporary-goal-column.
1186 Use end-of-visual-line instead of line-end-position. (Bug#22544)
1187
1188 2016-02-10 Paul Eggert <eggert@cs.ucla.edu>
1189
1190 Suppress ACL ops if configured with --disable-acl
1191
1192 Without this patch, some ACL operations were suppressed, but not all.
1193 * src/fileio.c [!USE_ACL]: Do not include sys/acl.h.
1194 (Ffile_acl, Fset_file_acl) [!USE_ACL]: Return nil in this case.
1195
1196 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
1197
1198 Mention web bugs
1199
1200 * doc/misc/emacs-mime.texi (Display Customization):
1201 Mention web bugs in the mm-html-blocked-images section.
1202
1203 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
1204
1205 Make mm-html-blocked-images default to "" again
1206
1207 * lisp/gnus/mm-decode.el (mm-html-blocked-images):
1208 Default to "" that blocks all external images.
1209
1210 * doc/misc/emacs-mime.texi (Display Customization):
1211 Mention that mm-html-blocked-images defaults to "".
1212
1213 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1214
1215 Minor alignas cleanup
1216
1217 * src/lisp.h (alignas): Remove now-redundant #ifdef that was left
1218 over from the old way of doing things, before Bug#20862 was fixed.
1219
1220 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1221
1222 Add lmalloc commentary and tweak laligned
1223
1224 * src/alloc.c (laligned): Help compiler in a tiny way by putting
1225 the more-commonly-failing disjunct first.
1226
1227 2016-02-09 Eli Zaretskii <eliz@gnu.org>
1228
1229 Clarify documentation of key binding conventions
1230
1231 * doc/lispref/tips.texi (Key Binding Conventions): Clarify which
1232 "punctuation characters" are reserved after "C-c". (Bug#22604)
1233
1234 2016-02-09 Oscar Fuentes <ofv@wanadoo.es>
1235
1236 * etc/NEWS: mention the `vc-faces' customization group
1237
1238 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1239
1240 Sync with gnulib
1241
1242 This incorporates:
1243 2016-02-09 stdalign: port to clang 3.7.0
1244 2016-02-06 misc: port better to gcc -fsanitize=address
1245 * doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
1246 Copy from gnulib.
1247
1248 2016-02-09 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
1251
1252 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
1253
1254 Make mm-html-inhibit-images and mm-html-blocked-images default to nil
1255
1256 * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
1257 (mm-html-blocked-images): Default to nil.
1258
1259 * doc/misc/emacs-mime.texi (Display Customization): Mention that
1260 mm-html-inhibit-images and mm-html-blocked-images default to nil.
1261
1262 * etc/NEWS (Gnus): Document mm-html-inhibit-images and
1263 mm-html-blocked-images.
1264
1265 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1266
1267 Increase success rate of fallback lmalloc
1268
1269 * src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
1270 larger and larger sizes, to increase the probability that
1271 the allocator will return a Lisp-aligned pointer.
1272
1273 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1274
1275 Make backgrounds extend to the end of the lines in shr
1276
1277 * lisp/net/shr.el (shr-face-background): Faces can also be on
1278 the form `(:background "#fff)' (bug#22547).
1279
1280 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1281
1282 Make the `R' command get the correct relative <img>s
1283
1284 * lisp/net/eww.el (eww-readable): Preserve the base URL so
1285 that image expansions are fetched from the right place (bug#22605).
1286
1287 (cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)
1288
1289 Backport:
1290
1291 2016-02-09 Mike Kupfer <m.kupfer@acm.org>
1292
1293 Fix typos in emacs-mime.texi and gnus.texi
1294
1295 * doc/misc/emacs-mime.texi (Display Customization):
1296 * doc/misc/gnus.texi (HTML): Fix typo.
1297
1298 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
1299
1300 * doc/misc/emacs-mime.texi (Display Customization):
1301 Doc fix for mm-html-inhibit-images.
1302
1303 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1304
1305 Fix message-cross-post-followup-to group names
1306
1307 * lisp/gnus/message.el (message-cross-post-followup-to): Don't
1308 insert group names like "nntp+foo:zot", because those aren't valid.
1309
1310 2016-02-09 David Edmondson <dme@dme.org>
1311
1312 Compare recipient and keys case-insensitively
1313
1314 * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
1315 recipient address with that from a key, do so in a case insensitive
1316 manner (bug#22603).
1317
1318 2016-02-08 Glenn Morris <rgm@gnu.org>
1319
1320 * lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
1321
1322 2016-02-08 Katsumi Yamaoka <yamaoka@jpl.org>
1323
1324 Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
1325
1326 * doc/misc/emacs-mime.texi (Display Customization):
1327 Remove mm-inline-text-html-with-images; add documentations for
1328 mm-html-inhibit-images and mm-html-blocked-images.
1329
1330 * lisp/gnus/gnus-art.el (gnus-article-show-images):
1331 No need to bind mm-inline-text-html-with-images.
1332 (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
1333 (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
1334 bind mm-html-inhibit-images and mm-html-blocked-images.
1335 (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
1336 (gnus-mm-display-part, gnus-mime-display-single)
1337 (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
1338
1339 * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
1340 (mm-html-inhibit-images, mm-html-blocked-images): New user options.
1341 (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
1342 mm-html-inhibit-images and mm-html-blocked-images respectively
1343 instead of gnus-inhibit-images and gnus-blocked-images.
1344
1345 * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
1346 instead of mm-inline-text-html-with-images.
1347
1348 2016-02-08 Paul Eggert <eggert@cs.ucla.edu>
1349
1350 Port to FreeBSD 11-CURRENT i386
1351
1352 Problem reported by Herbert J. Skuhra in:
1353 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
1354 Instead of trying
1355 * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
1356 (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
1357 (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
1358 (MALLOC_IS_GC_ALIGNED): New macro.
1359 * src/lisp.h (NONPOINTER_BITS): Remove. All uses removed.
1360 No longer needed now that alloc.c uses lmalloc and lrealloc.
1361
1362 2016-02-08 Michael Albinus <michael.albinus@gmx.de>
1363
1364 Some fixes in file-notify-tests.el
1365
1366 * test/automated/file-notify-tests.el
1367 (file-notify--test-with-events-check)
1368 (file-notify--test-with-events-explainer): New defuns.
1369 (file-notify--test-with-events): Use it.
1370 (file-notify-test07-backup): Fix docstring. Some of the
1371 backends fire two `changed' events. Backup by rename doesn't
1372 work for kqueue.
1373
1374 2016-02-07 Michael Albinus <michael.albinus@gmx.de>
1375
1376 Fix Bug#22557
1377
1378 * lisp/filenotify.el (file-notify-callback): Do not send a
1379 `stopped' event in case of backup by renaming. (Bug#22557)
1380
1381 * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
1382 all targets but check and check-maybe.
1383
1384 * test/automated/file-notify-tests.el
1385 (file-notify--test-read-event-timeout): New defconst.
1386 (file-notify--deftest-remote, file-notify--wait-for-events)
1387 (file-notify-test02-events)
1388 (file-notify-test04-file-validity)
1389 (file-notify-test06-many-events): Use it.
1390 (file-notify--test-cleanup): Make it more robust. Delete also
1391 backup file.
1392 (file-notify-test07-backup): New test.
1393
1394 2016-02-07 Paul Eggert <eggert@cs.ucla.edu>
1395
1396 Fix test for dladdr
1397
1398 Problem reported by Andreas Schwab in:
1399 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
1400 * configure.ac (dladdr): Link with LIBMODULES when checking for
1401 this function.
1402
1403 2016-02-07 Andreas Schwab <schwab@linux-m68k.org>
1404
1405 Fix gnus-group-get-new-news-this-group on group with closed server
1406
1407 * lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
1408 method and pass to nnimap-open-server.
1409
1410 2016-02-07 Artur Malabarba <bruce.connor.am@gmail.com>
1411
1412 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
1413
1414 While tabs in code are mostly fine because the Emacs sources have a
1415 .dir-locals file specifying tab-width, the same is not true of tabs in
1416 code examples inside docstrings. The docstring is printed on a *Help*
1417 buffer, which can be created on any directory and won't necessarily have
1418 the same tab-width set.
1419
1420 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1421
1422 Don't inloop gnus-uu-mark-thread on the last thread
1423
1424 * lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
1425 final thread in the summary buffer (bug#16666).
1426
1427 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1428
1429 Display non-ASCII group names better in prompts
1430
1431 * lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
1432 group name, we have to do that before we remove the prefix.
1433
1434 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1435
1436 Default to gpg2 instead of gpg
1437
1438 * lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
1439 it exists. This fixes many problems with using the GPG
1440 authentication agent.
1441
1442 2016-02-06 David Edmondson <dme@dme.org>
1443
1444 src/process.c Correctly convert AF_INET6 addresses
1445
1446 * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
1447 converted to a list of 16 bit quantities by
1448 conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
1449 same scheme rather than expecting a (longer) list of 8 bit
1450 quantities.
1451
1452 Backport:
1453
1454 (cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)
1455
1456 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1457
1458 * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
1459
1460 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1461
1462 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
1463
1464 (menu-bar-search-options-menu): New variable
1465
1466 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1467
1468 * lisp/isearch.el (search-default-mode)
1469
1470 (isearch-regexp-function): Improve docstrings.
1471
1472 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1473
1474 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
1475
1476 (search-default-mode): New variable.
1477 (isearch-mode, isearch-define-mode-toggle)
1478 (isearch--describe-regexp-mode): Update accordingly.
1479 * lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
1480 * etc/NEWS: Update accordingly.
1481 * doc/emacs/search.texi: Update accordingly.
1482
1483 2016-02-06 Oscar Fuentes <ofv@wanadoo.es>
1484
1485 Use monitor's resolution for positioning tooltips
1486
1487 * src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
1488 the mouse pointer is to avoid placing the tooltip over the border of
1489 the monitor on multi-head displays. Fixes bug#22549.
1490
1491 2016-02-06 Eli Zaretskii <eliz@gnu.org>
1492
1493 Fix file-notify-test on MS-Windows
1494
1495 * test/automated/file-notify-tests.el (file-notify--test-timeout):
1496 Reduce w32notify timeout to 10 sec.
1497 (file-notify-test06-many-events): Call read-event after each
1498 rename, to keep the w32notify backend happy in batch mode.
1499 (Bug#22534)
1500
1501 2016-02-06 Eli Zaretskii <eliz@gnu.org>
1502
1503 Fix issues found by auditing w32notify code
1504
1505 * src/w32inevt.c (handle_file_notifications): Count the number of
1506 events to be returned.
1507 * src/w32notify.c (send_notifications): Don't copy to the file
1508 notification buffer more than it can hold. (Bug#22534)
1509
1510 2016-02-06 Eli Zaretskii <eliz@gnu.org>
1511
1512 Extend etags Ruby support for accessors
1513
1514 * lib-src/etags.c (Ruby_functions): Support accessors defined with
1515 parentheses. (Bug#22563)
1516
1517 * test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
1518 defined with parentheses.
1519 * test/etags/ETAGS.good_1:
1520 * test/etags/ETAGS.good_2:
1521 * test/etags/ETAGS.good_3:
1522 * test/etags/ETAGS.good_4:
1523 * test/etags/ETAGS.good_5:
1524 * test/etags/ETAGS.good_6:
1525 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
1526
1527 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1528
1529 Update publicsuffix.txt.
1530
1531 * etc/publicsuffix.txt: Updated from
1532 https://publicsuffix.org/list/public_suffix_list.dat.
1533
1534 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1535
1536 Ensure that Gnus dribble handling allows removing entries
1537
1538 * lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
1539 entry is on a single line.
1540
1541 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
1542
1543 Be consistent when using encoded strings in nnimap data
1544
1545 * lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
1546 (nnimap-request-list): Use it.
1547 (nnimap-request-newgroups): Ditto.
1548
1549 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
1550
1551 Display the decoded Gnus group name
1552
1553 * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
1554 decoded group name in the message.
1555
1556 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
1557
1558 Use completion-ignore-case instead of defining command
1559
1560 * lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
1561 that we get case-insensitive completion.
1562 (erc-completion-at-point): Remove.
1563
1564 2016-02-05 Eli Zaretskii <eliz@gnu.org>
1565
1566 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
1567
1568 2016-02-05 Michael Albinus <michael.albinus@gmx.de>
1569
1570 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
1571
1572 Reduce the number of iterations to 250 in case of w32notify.
1573
1574 2016-02-05 Eli Zaretskii <eliz@gnu.org>
1575
1576 Fix problems caused by new implementation of sub-word mode
1577
1578 * lisp/subr.el (forward-word-strictly, backward-word-strictly):
1579 New functions.
1580 (word-move-empty-char-table): New variable.
1581
1582 * etc/NEWS: Mention 'forward-word-strictly' and
1583 'backward-word-strictly'.
1584
1585 * doc/lispref/positions.texi (Word Motion): Document
1586 'find-word-boundary-function-table', 'forward-word-strictly', and
1587 'backward-word-strictly'. (Bug#22560)
1588
1589 * src/syntax.c (syms_of_syntax)
1590 <find-word-boundary-function-table>: Doc fix.
1591
1592 * lisp/wdired.el (wdired-xcase-word):
1593 * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
1594 (texinfo-copy-section-title, texinfo-start-menu-description)
1595 (texinfo-copy-menu-title, texinfo-specific-section-type)
1596 (texinfo-insert-node-lines, texinfo-copy-next-section-title):
1597 * lisp/textmodes/texinfo.el (texinfo-clone-environment)
1598 (texinfo-insert-@end):
1599 * lisp/textmodes/texinfmt.el (texinfo-format-scan)
1600 (texinfo-anchor, texinfo-multitable-widths)
1601 (texinfo-multitable-item):
1602 * lisp/textmodes/tex-mode.el (latex-env-before-change):
1603 * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
1604 * lisp/skeleton.el (skeleton-insert):
1605 * lisp/simple.el (count-words):
1606 * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
1607 (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
1608 (vhdl-update-sensitivity-list, vhdl-template-block)
1609 (vhdl-template-break, vhdl-template-case, vhdl-template-default)
1610 (vhdl-template-default-indent, vhdl-template-for-loop)
1611 (vhdl-template-if-then-use, vhdl-template-bare-loop)
1612 (vhdl-template-nature, vhdl-template-procedural)
1613 (vhdl-template-process, vhdl-template-selected-signal-asst)
1614 (vhdl-template-type, vhdl-template-variable)
1615 (vhdl-template-while-loop, vhdl-beginning-of-block)
1616 (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
1617 * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
1618 (verilog-forward-sexp, verilog-beg-of-statement)
1619 (verilog-set-auto-endcomments, verilog-backward-token)
1620 (verilog-do-indent):
1621 * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
1622 (vera-indent-block-closing):
1623 * lisp/progmodes/simula.el (simula-context)
1624 (simula-backward-up-level, simula-forward-down-level)
1625 (simula-previous-statement, simula-next-statement)
1626 (simula-skip-comment-backward, simula-calculate-indent)
1627 (simula-find-if, simula-electric-keyword):
1628 * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
1629 * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
1630 (ruby-smie--forward-token, ruby-smie--backward-token)
1631 (ruby-singleton-class-p, ruby-calculate-indent)
1632 (ruby-forward-sexp, ruby-backward-sexp):
1633 * lisp/progmodes/ps-mode.el (ps-run-goto-error):
1634 * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
1635 (perl-syntax-propertize-special-constructs)
1636 (perl-backward-to-start-of-continued-exp):
1637 * lisp/progmodes/pascal.el (pascal-indent-declaration):
1638 * lisp/progmodes/octave.el (octave-function-file-p):
1639 * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
1640 * lisp/progmodes/js.el (js--forward-function-decl):
1641 * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
1642 (idlwave-beginning-of-block, idlwave-end-of-block)
1643 (idlwave-block-jump-out, idlwave-determine-class):
1644 * lisp/progmodes/icon.el (icon-is-continuation-line)
1645 (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
1646 * lisp/progmodes/hideif.el (hide-ifdef-define):
1647 * lisp/progmodes/f90.el (f90-change-keywords):
1648 * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
1649 (cperl-linefeed, cperl-electric-terminator)
1650 (cperl-find-pods-heres, cperl-fix-line-spacing)
1651 (cperl-invert-if-unless):
1652 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1653 * lisp/progmodes/cc-align.el (c-lineup-java-inher):
1654 * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
1655 (ada-adjust-case-skeleton, ada-create-case-exception)
1656 (ada-create-case-exception-substring)
1657 (ada-case-read-exceptions-from-file, ada-after-keyword-p)
1658 (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
1659 (ada-get-indent-if, ada-get-indent-block-start)
1660 (ada-get-indent-loop, ada-get-indent-type)
1661 (ada-search-prev-end-stmt, ada-check-defun-name)
1662 (ada-goto-decl-start, ada-goto-matching-start)
1663 (ada-goto-matching-end, ada-looking-at-semi-or)
1664 (ada-looking-at-semi-private, ada-in-paramlist-p)
1665 (ada-search-ignore-complex-boolean, ada-move-to-start)
1666 (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
1667 * lisp/net/quickurl.el (quickurl-grab-url):
1668 * lisp/mail/sendmail.el (mail-do-fcc):
1669 * lisp/mail/rmail.el (rmail-resend):
1670 * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
1671 * lisp/mail/mail-extr.el (mail-extract-address-components):
1672 * lisp/json.el (json-read-keyword):
1673 * lisp/files.el (insert-directory):
1674 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1675 * lisp/completion.el (symbol-under-point, symbol-before-point)
1676 (symbol-before-point-for-complete, next-cdabbrev)
1677 (add-completions-from-c-buffer):
1678 * lisp/cedet/semantic/texi.el (semantic-up-context)
1679 (semantic-beginning-of-context):
1680 * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
1681 use 'forward-word-strictly' and 'backward-word-strictly' instead
1682 of 'forward-word' and 'backward-word'.
1683
1684 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
1685
1686 Fix doc string of tls-program
1687
1688 * lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
1689
1690 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
1691
1692 Restore window conf in nsm
1693
1694 * lisp/net/nsm.el (nsm-query-user): Restore the window configuration.
1695
1696 Backport:
1697
1698 2016-02-05 Mark Oteiza <mvoteiza@udel.edu>
1699
1700 * etc/NEWS: Document new mpc.el features
1701
1702 2016-02-04 Leo Liu <sdl.web@gmail.com>
1703
1704 * lisp/custom.el (defface): Revert indentation change. (Bug#22524)
1705
1706 2016-02-04 Alan Mackenzie <acm@muc.de>
1707
1708 Correctly fontify C++ initializations which "look like" functions.
1709
1710 Fixes bug#7579.
1711
1712 lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
1713 parameter to enable handling of "anonymous" declarators in declarations.
1714
1715 lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
1716 whether a "(" opens a parameter list of a function, or an initialization of a
1717 variable.
1718
1719 2016-02-04 Ulf Jasper <ulf.jasper@web.de>
1720
1721 Improve newsticker-treeview-selection-face
1722
1723 * lisp/net/newst-treeview.el (newsticker-treeview-selection-face): Improve
1724 readability for dark background.
1725
1726 2016-02-04 Eli Zaretskii <eliz@gnu.org>
1727
1728 Minor fix in tagging Ruby accessors by etags
1729
1730 * lib-src/etags.c (Ruby_functions): Don't tag accessors whose
1731 names are not literal symbols. (Bug#22241)
1732
1733 2016-02-04 Paul Eggert <eggert@cs.ucla.edu>
1734
1735 Spelling fixes
1736
1737 2016-02-04 Dmitry Gutov <dgutov@yandex.ru>
1738
1739 Remove 'def X' from the example
1740
1741 * test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
1742 (http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html).
1743 * test/etags/CTAGS.good:
1744 * test/etags/ETAGS.good_1:
1745 * test/etags/ETAGS.good_2:
1746 * test/etags/ETAGS.good_3:
1747 * test/etags/ETAGS.good_4:
1748 * test/etags/ETAGS.good_5:
1749 * test/etags/ETAGS.good_6: Adjust accordingly.
1750
1751 2016-02-04 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
1752
1753 Allow sending empty hidden values in eww
1754
1755 * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
1756 values (bug#22388).
1757
1758 (cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)
1759
1760 Backport:
1761
1762 2016-02-04 David Edmondson <dme@dme.org>
1763
1764 Make erc work better when encountering unknown prefix chars
1765
1766 * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
1767 instead of erroring out on unknown prefix chars (bug#22380).
1768
1769 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
1770
1771 Make erc completion case-insensitive again
1772
1773 * lisp/erc/erc.el (erc-completion-at-point): Make erc completion
1774 case-insensitive again (bug#11360).
1775
1776 2016-02-04 Carlos Pita <carlosjosepita@gmail.com> (tiny change)
1777
1778 Make complection in erc use consistent casing
1779
1780 * lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
1781 case in the complection consistent (bug#18509).
1782
1783 2016-02-04 Francis Litterio <flitterio@gmail.com>
1784
1785 Make /QUIT in erc more robust
1786
1787 * lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
1788 issuing /QUIT to disconnected servers (bug#22099).
1789
1790 2016-02-04 Kevin Brubeck Unhammer <unhammer@fsfe.org> (tiny change)
1791
1792 Make tracking faces in Emacs work more reliably
1793
1794 * lisp/erc/erc-track.el (erc-faces-in): Always return lists of
1795 faces to avoid later ambiguity (bug#22424).
1796
1797 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
1798
1799 Make shr not bug out on images on non-graphical displays
1800
1801 * lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
1802 images on non-graphical displays (bug#22327).
1803
1804 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
1805
1806 Fix bookmark display widths
1807
1808 * lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
1809 preparing it so that the widths are computed correctly (bug#22328).
1810
1811 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
1812
1813 Fix typo in eww-make-unique-file-name
1814
1815 * lisp/net/eww.el (eww-make-unique-file-name): Make this function
1816 actually work.
1817
1818 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1819
1820 Make it possible to TAB to input fields
1821
1822 * lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
1823 input fields (bug#22540).
1824
1825 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1826
1827 Insert complete alt texts when images are disabled
1828
1829 * lisp/net/shr.el (shr-tag-img): When images are disabled, insert
1830 the complete alt/title string (bug#22293).
1831
1832 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
1833
1834 Allow eww text fields to grow
1835
1836 * lisp/net/eww.el (eww-process-text-input): Allow text fields to
1837 grow when typing in stuff that's longer than the original width.
1838
1839 2016-02-03 Dima Kogan <dima@secretsauce.net>
1840
1841 Make erc work when subword-mode is switched on
1842
1843 * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
1844 (erc-bounds-of-word-at-point): New functions to do word-based
1845 things when subword-mode is switched on.
1846
1847 * lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
1848 (bug#17558).
1849
1850 2016-02-03 Teemu Likonen <tlikonen@iki.fi>
1851
1852 Fix IMAP doc example
1853
1854 * doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.
1855
1856 2016-02-03 Paul Eggert <eggert@cs.ucla.edu>
1857
1858 Quoting fixes in doc strings and diagnostics
1859
1860 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
1861 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
1862 (mml-smime-get-ldap-cert):
1863 Follow user style preference when quoting diagnostics.
1864
1865 2016-02-03 Noam Postavsky <npostavs@gmail.com>
1866
1867 Fix warning message in hack-local-variables
1868
1869 * lisp/files.el (hack-local-variables): use 'thisbuf' to reference
1870 the original buffer name in the warning message. (Bug#21681)
1871
1872 2016-02-03 Eli Zaretskii <eliz@gnu.org>
1873
1874 Etags: yet another improvement in Ruby tags
1875
1876 * lib-src/etags.c (Ruby_functions): Handle continuation lines in
1877 Ruby accessor definitions. (Bug#22241)
1878
1879 * test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
1880 accessors and multiline definitions.
1881 * test/etags/ETAGS.good_1:
1882 * test/etags/ETAGS.good_2:
1883 * test/etags/ETAGS.good_3:
1884 * test/etags/ETAGS.good_4:
1885 * test/etags/ETAGS.good_5:
1886 * test/etags/ETAGS.good_6:
1887 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
1888
1889 2016-02-03 Eli Zaretskii <eliz@gnu.org>
1890
1891 Fix x-popup-menu on TTYs without a mouse
1892
1893 * src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
1894 for the TTY case without a mouse. (Bug#22538)
1895
1896 2016-02-03 Nicolas Petton <nicolas@petton.fr>
1897
1898 * lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro
1899
1900 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
1901
1902 Use pop-to-buffer-same-window in eww
1903
1904 * lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
1905 switch-to-buffer (bug#22244).
1906
1907 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
1908
1909 * autogen.sh: Revert all recent changes.
1910
1911 2016-02-02 Glenn Morris <rgm@gnu.org>
1912
1913 * make-dist: Updates related to nt/.
1914
1915 * make-dist: Add modules/.
1916
1917 * make-dist: Update for super-special file that can't live in etc/.
1918
1919 2016-02-02 Eli Zaretskii <eliz@gnu.org>
1920
1921 Fix failure to compile ns-win.el in parallel builds
1922
1923 * src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
1924 dependency on $(lispsource)/international/charprop.el.
1925 (Bug#22501)
1926
1927 2016-02-02 Eli Zaretskii <eliz@gnu.org>
1928
1929 Fix names of tags generated for Ruby accessors
1930
1931 * lib-src/etags.c (Ruby_functions): Don't include the leading
1932 colon ':' in tags for Ruby accessors and aliases. (Bug#22241)
1933
1934 * test/etags/ETAGS.good_1:
1935 * test/etags/ETAGS.good_2:
1936 * test/etags/ETAGS.good_3:
1937 * test/etags/ETAGS.good_4:
1938 * test/etags/ETAGS.good_5:
1939 * test/etags/ETAGS.good_6:
1940 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
1941
1942 2016-02-02 Eli Zaretskii <eliz@gnu.org>
1943
1944 Fix file-name recognition in 'etags'
1945
1946 * lib-src/etags.c (get_language_from_filename): If FILE includes a
1947 leading directory, compare only its basename to the known file
1948 names in lang_names[].
1949
1950 * test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
1951 renaming.
1952 * test/etags/ETAGS.good_1:
1953 * test/etags/ETAGS.good_2:
1954 * test/etags/ETAGS.good_3:
1955 * test/etags/ETAGS.good_4:
1956 * test/etags/ETAGS.good_5:
1957 * test/etags/ETAGS.good_6:
1958 * test/etags/CTAGS.good: Adapt to changes in Ruby file names and
1959 to the results in Makefile due to the above etags.c fix.
1960
1961 2016-02-02 Eli Zaretskii <eliz@gnu.org>
1962
1963 Change Ruby file names and extensions recognized by 'etags'
1964
1965 * lib-src/etags.c <Ruby_filenames>: New variable, holds names
1966 of Ruby files.
1967 <Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
1968 <lang_names>: Add Ruby_filenames to the Ruby entry.
1969 * test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
1970 (Bug#22241)
1971
1972 2016-02-02 Eli Zaretskii <eliz@gnu.org>
1973
1974 More improvements for Ruby support in 'etags'
1975
1976 * lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
1977 alias_method. Identify constants even if the assignment is not
1978 followed by whitespace. (Bug#22241)
1979
1980 * test/etags/ruby-src/test1.ru: Add tests for constants,
1981 accessors, and alias_method.
1982 * test/etags/ETAGS.good_1:
1983 * test/etags/ETAGS.good_2:
1984 * test/etags/ETAGS.good_3:
1985 * test/etags/ETAGS.good_4:
1986 * test/etags/ETAGS.good_5:
1987 * test/etags/ETAGS.good_6:
1988 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
1989
1990 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
1991
1992 Add --git-config option to autogen.sh
1993
1994 * autogen.sh: New options --git-config, --help.
1995 (git_config): New shell var. Alter function to respect this var.
1996
1997 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
1998
1999 Fix editing undo changes in eww fields
2000
2001 * eww.el (eww-tag-form): Don't overwrite initial form data in text
2002 fields.
2003 (eww-process-text-input): Make `M-t' at the end of text fields work
2004 better (bug#19085).
2005
2006 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2007
2008 Allow the user more control of popping up the eww window
2009
2010 * eww.el (eww): Use pop-to-buffer-same-window (suggested by
2011 Michael Heerdegen) (bug#22244).
2012
2013 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2014
2015 Make eww-browse-url with new-window parameter work again
2016
2017 * eww.el (eww-browse-url): Stay in the same buffer if we're
2018 already in a eww mode buffer so that eww-browse-url with a
2019 new-window parameter works (bug#22244).
2020
2021 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2022
2023 Clean up eww code slightly
2024
2025 * eww.el (eww-browse-url): Clean up code slightly.
2026
2027 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2028
2029 Don't insert nil faces in shr
2030
2031 * shr.el (shr-insert-table): Don't add nil faces, because that
2032 will show up in *Messages* as "Invalid face reference: nil [32
2033 times]".
2034
2035 2016-02-01 Glenn Morris <rgm@gnu.org>
2036
2037 Improve the custom type of some user options.
2038
2039 * lisp/autoinsert.el (auto-insert-alist):
2040 * lisp/replace.el (query-replace-from-to-separator):
2041 * lisp/gnus/gnus-art.el (gnus-hidden-properties):
2042 * lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
2043 * lisp/gnus/gnus-picon.el (gnus-picon-properties):
2044 * lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
2045 (prolog-mode-specificators, prolog-determinism-specificators)
2046 (prolog-directives, prolog-program-name, prolog-program-switches)
2047 (prolog-consult-string, prolog-compile-string, prolog-eof-string)
2048 (prolog-prompt-regexp): Improve custom type.
2049
2050 2016-02-01 Glenn Morris <rgm@gnu.org>
2051
2052 Mark some risky calendar variables.
2053
2054 * lisp/calendar/cal-china.el (chinese-calendar-time-zone):
2055 Remove risky setting for deleted obsolete alias.
2056 (calendar-chinese-standard-time-zone-name)
2057 (calendar-chinese-daylight-saving-start)
2058 (calendar-chinese-daylight-saving-end):
2059 * lisp/calendar/calendar.el (calendar-iso-date-display-form)
2060 (calendar-european-date-display-form)
2061 (calendar-american-date-display-form, calendar-date-display-form):
2062 * lisp/calendar/diary-lib.el (diary-remind-message)
2063 (diary-header-line-format):
2064 * lisp/calendar/solar.el (calendar-time-display-form)
2065 (calendar-location-name): Mark as risky.
2066
2067 2016-02-01 Simen Heggestøyl <simenheg@gmail.com>
2068
2069 Highlight two additional SCSS keywords
2070
2071 * lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
2072 identifiers on the form !foo.
2073 (scss-bang-ids): New defconst holding SCSS identifiers on the form
2074 !foo.
2075 (css--font-lock-keywords): Highlight the new SCSS bang identifiers in
2076 `font-lock-builtin-face'.
2077
2078 * test/indent/css-mode.css: Add bang rule test case.
2079
2080 * test/indent/scss-mode.scss: Add test cases for the introduced bang
2081 rules.
2082
2083 2016-02-01 Karl Fogel <kfogel@red-bean.com>
2084
2085 Recommend enabling integrity-checking in git
2086
2087 * admin/notes/git-workflow: Recommend setting transfer.fsckObjects.
2088
2089 This is related to the autogen.sh changes made by Paul Eggert in
2090 commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
2091 my edits today to http://www.emacswiki.org/emacs/GitForEmacsDevs and
2092 to emacswiki.org/emacs/GitQuickStartForEmacsDevs. See also the thread
2093 "Recommend these .gitconfig settings for git integrity." at
2094 https://lists.gnu.org/archive/html/emacs-devel/2016-01/threads.html#01802.
2095
2096 2016-02-01 Martin Rudalics <rudalics@gmx.at>
2097
2098 Some corrections in Elisp manual
2099
2100 * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
2101 argument POSITION.
2102 * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
2103 is an option.
2104 * doc/lispref/display.texi (Refresh Screen): Describe optional
2105 argument FRAME of `redraw-frame'.
2106 (Attribute Functions): Describe optional argument CHARACTER of
2107 `face-font'.
2108 (Defining Images): `image-load-path' is an option.
2109 (Beeping): `ring-bell-function' is an option.
2110 * doc/lispref/frames.texi (Size and Position): The PIXELWISE
2111 argument of `set-frame-size' is optional.
2112 (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
2113 is optional.
2114 * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
2115 `set-transient-map'.
2116 * doc/lispref/minibuf.texi (Text from Minibuffer):
2117 `read-regexp-defaults-function' is an option.
2118 (Minibuffer Contents): `delete-minibuffer-contents' is a command.
2119 * doc/lispref/modes.texi (Mode Line Variables):
2120 `mode-line-position' and `mode-line-modes' are variables, not
2121 options.
2122 * doc/lispref/strings.texi (Creating Strings): The START argument
2123 of `substring' is optional.
2124 * doc/lispref/text.texi (Buffer Contents): Describe optional
2125 argument NO-PROPERTIES of `thing-at-point'.
2126 (User-Level Deletion): Both arguments of
2127 `delete-trailing-whitespace' are optional.
2128 (Margins): Use @key{RET} instead of @kbd{RET}.
2129 * doc/lispref/windows.texi (Display Action Functions): Write
2130 non-@code{nil} instead of non-nil.
2131 (Choosing Window Options): The WINDOW arg of
2132 `split-window-sensibly' is optional.
2133 (Choosing Window Options): Write non-@code{nil} instead of
2134 non-nil.
2135 (Window Start and End): Both args of `window-group-end' are
2136 optional.
2137
2138 * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
2139 to POSITION to keep consisteny with doc-string.
2140
2141 2016-02-01 Paul Eggert <eggert@cs.ucla.edu>
2142
2143 Chatter when autogen.sh changes Git configuration
2144
2145 * autogen.sh (git_config): New function. Use it instead of ‘git config’.
2146
2147 2016-02-01 Kyle Meyer <kyle@kyleam.com>
2148
2149 * lisp/org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
2150
2151 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2152
2153 Omit unnecessary history from Lisp intro
2154
2155 * doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
2156 (Conclusion): Reword so as not to talk about earlier versions
2157 of Emacs in what should be an intro.
2158
2159 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2160
2161 * etc/HISTORY: Add some more history, plus git tags.
2162
2163 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2164
2165 Improve elisp “Security Considerations” doc
2166
2167 * doc/lispref/os.texi (Security Considerations):
2168 Mention call-process and rename-file as opposed to shell commands.
2169 Add some more cross-references.
2170
2171 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2172
2173 autogen.sh now arranges for git to check hashes
2174
2175 Suggested by Karl Fogel in:
2176 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
2177 * autogen.sh: Do "git config transfer.fsckObjects true".
2178
2179 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2180
2181 Fix (c & 040) typo in emergency escapes
2182
2183 * src/keyboard.c (handle_interrupt): Fix recently-introduced
2184 typo (040 should have been ~040) that silently suppressed
2185 auto-saves after emergency escapes. Redo comparison to avoid
2186 similar problems.
2187
2188 2016-01-31 Eli Zaretskii <eliz@gnu.org>
2189
2190 Fix display of overlay strings with 'display' and 'box' property
2191
2192 * src/xdisp.c (get_next_display_element): Take the box face from
2193 display stack level that comes from a buffer, not an overlay
2194 string. (Bug#22499)
2195
2196 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
2197
2198 Fix imap-starttls-open
2199
2200 * lisp/net/imap.el (imap-starttls-open): Log imap process
2201 output. Call imap-parse-greeting. (Bug#22500)
2202
2203 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
2204
2205 Fix return value of imap-starttls-open
2206
2207 * lisp/net/imap.el (imap-starttls-open): Fix return value.
2208
2209 2016-01-31 John Wiegley <johnw@newartisans.com>
2210
2211 Correct reference to DARWIN_OS preprocessor symbol
2212
2213 * src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
2214 not be defined.
2215
2216 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2217
2218 Spelling fix
2219
2220 Spelling fixes
2221
2222 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2223
2224 Pacify GCC on C library without glibc API
2225
2226 Without this change, with --enable-gcc-warnings GCC would complain
2227 “error: redundant redeclaration of ‘aligned_alloc’”.
2228 * configure.ac: Simplify aligned_alloc testing.
2229 * src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
2230 since the simplified configure.ac no longer checks for that.
2231 Don’t declare if HAVE_ALIGNED_ALLOC.
2232 Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
2233
2234 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
2235
2236 Backport: * lisp/files.el: Remove support for extra .dir-locals file
2237
2238 (dir-locals-file-2, dir-locals--all-files): Remove.
2239 (dir-locals-collect-variables, dir-locals-file, dir-locals-find-file)
2240 (dir-locals-read-from-file, hack-dir-local-variables): Revert changes.
2241
2242 * lisp/files-x.el (modify-dir-local-variable): Revert changes.
2243
2244 * lisp/help-fns.el (describe-variable): Revert changes.
2245
2246 * doc/emacs/custom.texi (Directory Variables): Revert changes.
2247
2248 * etc/NEWS: Revert changes.
2249
2250 2016-01-30 Glenn Morris <rgm@gnu.org>
2251
2252 * lisp/net/browse-url.el (browse-url-default-browser):
2253 Lower priority of non-free Chrome.
2254
2255 2016-01-30 Glenn Morris <rgm@gnu.org>
2256
2257 Improve the custom type of some user options.
2258
2259 * lisp/desktop.el (desktop-minor-mode-table):
2260 * lisp/man.el (Man-frame-parameters):
2261 * lisp/midnight.el (midnight-delay):
2262 * lisp/speedbar.el (speedbar-select-frame-method):
2263 * lisp/tooltip.el (tooltip-frame-parameters):
2264 * lisp/tree-widget.el (tree-widget-space-width):
2265 * lisp/type-break.el (type-break-keystroke-threshold):
2266 * lisp/woman.el (woman-imenu-generic-expression):
2267 * lisp/cedet/ede.el (ede-debug-program-function):
2268 * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
2269 * lisp/emulation/viper-keym.el (viper-toggle-key):
2270 * lisp/erc/erc-networks.el (erc-server-alist):
2271 * lisp/gnus/message.el (message-deletable-headers, message-signature):
2272 * lisp/mail/mailalias.el (mail-directory-stream):
2273 * lisp/play/tetris.el (tetris-x-colors):
2274 * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
2275
2276 2016-01-30 Simen Heggestøyl <simenheg@gmail.com>
2277
2278 Highlight CSS variables with variable name face
2279
2280 * lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
2281 (css--font-lock-keywords): Highlight variables in
2282 `font-lock-variable-name-face'.
2283
2284 2016-01-30 Glenn Morris <rgm@gnu.org>
2285
2286 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
2287
2288 2016-01-30 Glenn Morris <rgm@gnu.org>
2289
2290 Mark some user options that can get evalled as risky.
2291
2292 * lisp/allout.el (allout-title):
2293 * lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
2294 * lisp/gnus/message.el (message-mailer-swallows-blank-line):
2295 * lisp/progmodes/gud.el (gud-tooltip-display):
2296 * lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
2297 Mark as risky.
2298
2299 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2300
2301 Disable DebPrint in sys_read on MS-Windows
2302
2303 * src/w32.c (sys_read): Disable a debugging print that is normal
2304 when non-blocking reads are retried.
2305
2306 2016-01-30 Martin Rudalics <rudalics@gmx.at>
2307
2308 ;Fix ChangeLog entry
2309
2310 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2311
2312 Fix typos in Introduction to Emacs Lisp manual
2313
2314 * doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
2315 (kill-new function, Digression into C)
2316 (Complete forward-sentence, Divide and Conquer, Find a File)
2317 (lengths-list-many-files, Columns of a graph, defcustom)
2318 (recursive-count-words): Fix typos. Reported by Daniel Bastos
2319 <dbastos@toledo.com>.
2320
2321 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2322
2323 Bump version to 25.0.90
2324
2325 * README:
2326 * configure.ac:
2327 * msdos/sed2v2.inp: Bump version to 25.0.90.
2328
2329 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2330
2331 * etc/AUTHORS: Update the AUTHORS file
2332
2333 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2334
2335 Bump version to 25.0.90
2336
2337 * README:
2338 * configure.ac:
2339 * msdos/sed2v2.inp: Bump version to 25.0.90.
2340
2341 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2342
2343 * etc/AUTHORS: Update the AUTHORS file
2344
2345 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2346
2347 authors.el updates
2348
2349 * admin/authors.el (authors-renamed-files-alist): Additions.
2350
2351 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2352
2353 Make it possible to run make change-history on emacs-25
2354
2355 * Makefile.in: Check if the current branch is emacs-25 instead of
2356 master.
2357
2358 2016-01-30 lu4nx <lx@shellcodes.org>
2359
2360 Support Go language in 'etags'
2361
2362 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
2363 <Go_help>: New help.
2364 <Go_suffixes>: New variable.
2365 (Go_functions): New function.
2366 <lang_names>: Add entry for Go. (Bug#22370)
2367
2368 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
2369 * doc/man/etags.1: Mention Go support.
2370
2371 * etc/NEWS: Mention Go support.
2372
2373 * test/etags/go-src/test.go:
2374 * test/etags/go-src/test1.go: New test files.
2375 * test/etags/Makefile (GOSRC): New variable.
2376 (SRCS): Add $(GOSRC).
2377 * test/etags/ETAGS.good_1:
2378 * test/etags/ETAGS.good_2:
2379 * test/etags/ETAGS.good_3:
2380 * test/etags/ETAGS.good_4:
2381 * test/etags/ETAGS.good_5:
2382 * test/etags/ETAGS.good_6:
2383 * test/etags/CTAGS.good: Adapt to addition of Go tests.
2384
2385 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2386
2387 Improve Ruby support in 'etags'
2388
2389 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
2390 singleton classes. Remove class qualifiers from tags generated
2391 for method and constant names. (Bug#22241)
2392
2393 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
2394 are tagged by etags in Ruby.
2395
2396 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
2397
2398 * test/etags/ruby-src/test1.ru: Add more tests.
2399 * test/etags/ETAGS.good_1:
2400 * test/etags/ETAGS.good_2:
2401 * test/etags/ETAGS.good_3:
2402 * test/etags/ETAGS.good_4:
2403 * test/etags/ETAGS.good_5:
2404 * test/etags/ETAGS.good_6:
2405 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
2406 tests.
2407
2408 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2409
2410 Adjust etags test results to changes in copyright years
2411
2412 * test/etags/CTAGS.good:
2413 * test/etags/ETAGS.good_1:
2414 * test/etags/ETAGS.good_2:
2415 * test/etags/ETAGS.good_3:
2416 * test/etags/ETAGS.good_4:
2417 * test/etags/ETAGS.good_5:
2418 * test/etags/ETAGS.good_6: Adjust to shift in characters and
2419 in line numbers.
2420
2421 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
2422
2423 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
2424
2425 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
2426
2427 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2428
2429 Make it possible to run make change-history on emacs-25
2430
2431 * Makefile.in: Check if the current branch is emacs-25 instead of
2432 master.
2433
2434 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2435
2436 Don't fiddle with DEFAULT
2437
2438 * lisp/progmodes/project.el (project--completing-read-strict):
2439 Don't change DEFAULT, whether is has any matches in
2440 COLLECTION, or not.
2441
2442 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2443
2444 Document xwidget commands and functions
2445
2446 * doc/lispref/display.texi (Xwidgets): New section, describes some
2447 of the xwidget primitives.
2448 * doc/lispref/display.texi (Display): Update the chapter menu.
2449 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
2450 * doc/emacs/emacs.texi (Top): Update the master menu to include
2451 the xwidget node.
2452
2453 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2454
2455 Build fix for shr.el
2456
2457 * shr.el (seq): Require.
2458
2459 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2460
2461 Improve project-find-file yet again!
2462
2463 * lisp/progmodes/project.el (project--completing-read-strict):
2464 New function.
2465 (project-find-file-in): Use it.
2466 (project-file-completion-table): Move the default
2467 implementation inside the cl-defgeneric form.
2468 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
2469
2470 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2471
2472 Don't pass DIR to 'hg status'
2473
2474 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
2475 Don't pass DIR to 'hg status' (bug#22481).
2476
2477 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
2478
2479 Fix typo in previous commits
2480
2481 * lisp/progmodes/project.el (project-find-file-in):
2482 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
2483 commit.
2484
2485 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
2486
2487 Improve project-find-file
2488
2489 * lisp/progmodes/project.el (project-file-completion-table): New.
2490 (project-find-file, project-or-external-find-file): Default to filename
2491 at point.
2492 (project-file-completion-table): New, split out from
2493 project--find-file-in.
2494 (project-find-file-in): Renamed from project--find-file-in, use
2495 project-file-completion-table.
2496
2497 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
2498 (xref--find-ignores-arguments): Add doc string.
2499
2500 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
2501
2502 Implement vc-mtn-find-ignore-file, fix some doc strings
2503
2504 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
2505
2506 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
2507
2508 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
2509
2510 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
2511
2512 2016-01-29 Vincent Belaïche <vincentb1@users.sourceforge.net>
2513
2514 Correct a whole bunch of bugs coming with renamed cell relocation.
2515
2516 This is the same change as commit on master branch. See
2517 http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd
2518
2519 * lisp/ses.el (ses-localvars): rename variable
2520 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
2521 and adjust the comment about it.
2522 (ses-plist-delq): new defun.
2523 (ses--ses-buffer-list): new defvar.
2524 (ses--unbind-cell-name): new defun.
2525 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
2526 (ses-relocate-formula): Undo change of
2527 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
2528 preventing relocation for named cell --- now doing this is delegated
2529 to function `ses-relocate-symbol'.
2530 (ses-relocate-range): In docstring, undo change of
2531 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
2532 lower case as it is not a variable.
2533 (ses-relocate-all): Cell name relocation : 1) check that cell is a
2534 renamed cell by testing `ses-cell' property to :ses-named, rather than
2535 comparing name to corresponding standard name. Set rowcol of renamed
2536 cell into the hashmap --- `ses-cell' property must not be used for
2537 that as the same name can be used for different locations in different
2538 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
2539 `local-variable-p' to check if cell name is already in use in this
2540 sheet or needs initialization.
2541 (ses-relocate-all): Cell value relocation : 1) like for name
2542 relocation use the `ses-cell' property rather than comparing actual
2543 name to corresponding standard name. 2) Correct bug introduced in
2544 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
2545 made the other way round than the intention --- ie value relocation
2546 was disabled for standard cell, not for renamed cell as was the
2547 intention.
2548 (ses-relocate-all): Add loop for unbinding deleted renamed cells
2549 names.
2550 (ses-killbuffer-hook): new defun.
2551 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
2552 kill buffer hook, plus pushing current buffer if new in list.
2553 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
2554 into `ses--in-killing-named-cell-list'.
2555 (ses-rename-cell): Remove update of variable
2556 `ses--renamed-cell-symb-list', this variable is renamed to
2557 `ses--in-killing-named-cell-list', and its setting is done in
2558 functions `ses-delete-row' and , `ses-delete-column' now.
2559 (ses-rename-cell): Make cell new name a buffer local variable.
2560 (ses-rename-cell): Change correction of
2561 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
2562 computation of the range over which `cursor-intangible' property was
2563 to be updated. This correction was ok for non spilling cells, but not
2564 for cells spilling over following blank cells. Simply use
2565 `next-single-property-change' rather than computing the end column
2566 from column widths.
2567
2568 2016-01-29 Andreas Schwab <schwab@linux-m68k.org>
2569
2570 Re-enable checks in member, memql, delete to complain about non-lists
2571
2572 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
2573
2574 2016-01-29 Martin Rudalics <rudalics@gmx.at>
2575
2576 Minor doc(-string) tweaks
2577
2578 * lisp/window.el (window-in-direction): Fix doc-string typo.
2579 * doc/lispref/frames.texi (Frame Font): Mention canonical
2580 character width/height.
2581 * doc/lispref/windows.texi (Windows and Frames): Clarify
2582 handling of minibuffer window for `window-in-direction'.
2583 (Window Sizes): Minor tweaks in descriptions of
2584 `window-max-chars-per-line', `window-min-width' and
2585 `window-min-size'.
2586 (Deleting Windows): Minor tweak in `delete-window' description.
2587 (Selecting Windows): Clarify window use time description.
2588 (Cyclic Window Ordering): Minor tweak.
2589 (Switching Buffers): Clarify description of
2590 `switch-to-buffer-in-dedicated-window'.
2591
2592 2016-01-29 Eli Zaretskii <eliz@gnu.org>
2593
2594 Minor improvements to 'pcase' documentation
2595
2596 * doc/lispref/control.texi (Pattern matching case statement):
2597 Improve the documentation of 'pcase' per comments. See two
2598 discussion threads on emacs-devel@gnu.org for the details:
2599 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
2600 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
2601
2602 2016-01-29 Glenn Morris <rgm@gnu.org>
2603
2604 Don't use eval to quieten prolog.el compilation.
2605
2606 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
2607 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
2608
2609 2016-01-29 Glenn Morris <rgm@gnu.org>
2610
2611 Mark some risky prolog variables.
2612
2613 * lisp/progmodes/prolog.el (prolog-system-version)
2614 (prolog-keywords, prolog-types, prolog-mode-specificators)
2615 (prolog-determinism-specificators, prolog-directives)
2616 (prolog-program-name, prolog-program-switches)
2617 (prolog-consult-string, prolog-compile-string)
2618 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
2619 Mark anything processed by prolog-find-value-by-system as risky.
2620
2621 2016-01-28 Glenn Morris <rgm@gnu.org>
2622
2623 * lisp/custom.el (defcustom): Doc fix.
2624
2625 * doc/lispref/customize.texi (Variable Definitions):
2626 Defcustom should always have a type.
2627
2628 2016-01-28 Glenn Morris <rgm@gnu.org>
2629
2630 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
2631 Fix :type.
2632
2633 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
2634
2635 2016-01-28 Michael Albinus <michael.albinus@gmx.de>
2636
2637 Fix Bug#22452
2638
2639 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
2640 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2641 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
2642 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
2643 Mark it as connected.
2644
2645 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
2646 connection property "connected" is set. (Bug#22452)
2647
2648 2016-01-27 Glenn Morris <rgm@gnu.org>
2649
2650 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
2651
2652 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
2653 if not compiled with xwidgets.
2654
2655 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
2656
2657 C-u C-x = example doc fix
2658
2659 * doc/emacs/mule.texi (International Chars):
2660 Adjust example to match current behavior of C-u C-x =.
2661
2662 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
2663
2664 malloc.h hygiene
2665
2666 This attempts to future-proof Emacs a bit against possible glibc
2667 changes, by having Emacs use <malloc.h> declarations rather than
2668 coding them up by hand. Problem noted by Florian Weimer in:
2669 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
2670 Implement this mainly by moving malloc.h-related functions from
2671 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
2672 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
2673 New function.
2674 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
2675 (alloc_unexec_pre, alloc_unexec_post): New functions.
2676 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
2677 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
2678 (__malloc_initialize_hook): Use it.
2679 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
2680 Move here from ...
2681 * src/emacs.c: ... here.
2682 (malloc_get_state, malloc_set_state): Remove extern decls.
2683 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
2684 All uses changed to similarly-named new function.
2685 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
2686 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
2687 New decls.
2688
2689 2016-01-26 Eli Zaretskii <eliz@gnu.org>
2690
2691 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
2692
2693 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
2694
2695 Remove never-set var handle_user_signal_hook
2696
2697 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
2698 Remove never-set var. All uses removed.
2699
2700 2016-01-26 K. Handa <handa@gnu.org>
2701
2702 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
2703
2704 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
2705 second glyph only when there are enough glyphs.
2706
2707 (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
2708
2709 2016-01-26 K. Handa <handa@gnu.org>
2710
2711 support rendering of wider range of combinging characters by ftfont backend
2712
2713 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
2714 supports rendering of combining characters, call
2715 font-shape-gstring.
2716
2717 * src/font.c (Ffont_get): Handle `combining-capability' property.
2718 (syms_of_font): New symbol ":combining-capability'.
2719
2720 * src/font.h (struct font_driver): New member combining_capability.
2721
2722 * src/ftfont.c: Include "category.h".
2723 (ftfont_driver): Initialize combining_capability to
2724 ftfont_combining_capability.
2725 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
2726 FLT in advance.
2727 (ftfont_combining_capability): New function.
2728
2729 (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
2730
2731 2016-01-26 Anders Lindgren <andlind@gmail.com>
2732
2733 Fixed NextStep fullscreen issue (bug#22468)
2734
2735 When in fullscreen mode, `[screen visibleFrame]' sometimes
2736 includes, sometimes excludes the menu bar. This could cause
2737 a frame to be placed too low when in fullscreen mode.
2738
2739 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
2740 (constrain_frame_rect): New parameter, isFullscreen, when true don't
2741 query the height of the menu bar.
2742 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
2743 `constrain_frame_rect'.
2744 ([EmacsView initFrameFromEmacs:]): Trace.
2745 ([EmacsView isFullscreen]): Trace.
2746 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
2747 state to `constrain_frame_rect'.
2748
2749 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
2750
2751 * lisp/files.el: Use a fixed file name for the second dir-locals file
2752
2753 (dir-locals-file): Revert to its original fixed value.
2754 (dir-locals-file-2): New const.
2755 (dir-locals--all-files): Don't use `file-name-all-completions'.
2756 Instead, just check for the 2 dir-locals files and return a list
2757 of the ones that exit (if any).
2758
2759 * etc/NEWS: Document the change.
2760
2761 * doc/emacs/custom.texi (Directory Variables): Document the change.
2762
2763 * doc/lispref/variables.texi (Directory Local Variables): Update
2764 accordingly.
2765
2766 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
2767
2768 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
2769
2770 Change a variable name to be more meaningful, and reorder some of
2771 the code with no change in behaviour.
2772
2773 2016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
2774
2775 * lisp/files.el (dir-locals-find-file): Refactor return values
2776
2777 Returning a cache remains unchanged, but the case of returning a
2778 file (or pattern) is now changed to return the contaning
2779 directory.
2780
2781 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
2782 and make obsolete.
2783 (dir-locals-read-from-dir): Simplify accordingly.
2784 (hack-dir-local-variables): Simplify accordingly and rename a
2785 variable.
2786
2787 2016-01-26 Glenn Morris <rgm@gnu.org>
2788
2789 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
2790 Declare.
2791
2792 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
2793
2794 * configure.ac (--with-cairo): Say it's experimental.
2795
2796 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
2797 Rename using American spelling. Update all uses.
2798
2799 2016-01-26 Glenn Morris <rgm@gnu.org>
2800
2801 Yet more xwidget doc fixes.
2802
2803 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
2804 (xwidget-insert, xwidget-webkit-browse-url)
2805 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
2806 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
2807 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
2808 (xwidget-webkit-show-id-element)
2809 (xwidget-webkit-show-id-or-named-element)
2810 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
2811 (xwidget-webkit-execute-script-rv)
2812 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
2813 (xwidget-put): Doc fixes.
2814 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
2815 (xwidget-webkit-show-id-element)
2816 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
2817
2818 2016-01-25 Ted Zlatanov <tzz@lifelogs.com>
2819
2820 * lisp/gnus/gnus-art.el (gnus-blocked-images):
2821 Add explicit nil choice and tags.
2822
2823 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
2824
2825 Spelling fixes
2826
2827 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 (font-lock-ensure-function): Fix bug#22399
2830
2831 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
2832 font-lock-mode is not enabled (bug#22399).
2833
2834 2016-01-25 Alan Mackenzie <acm@muc.de>
2835
2836 Expunge "allow" + infinitive from source and doc, part 2.
2837
2838 Do the same for "permit", "enable", "prevent", and (where appropriate)
2839 "require".
2840
2841 doc/misc/reftex.texi:
2842 doc/misc/url.texi:
2843 lib/get-permissions.c:
2844 lib/strftime.c:
2845 lisp/org/org-element.el:
2846 lisp/org/org-mobile.el:
2847 lisp/textmodes/reftex-vars.el:
2848 src/bidi.c:
2849 src/emacs.c:
2850 src/xdisp.c:
2851 test/etags/c-src/emacs/src/lisp.h:
2852
2853 Expunge the likes of "This allows to do something" from the above files.
2854
2855 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
2856
2857 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
2858
2859 `special-mode' is already read-only.
2860
2861 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
2862
2863 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
2864
2865 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
2866
2867 Port "$@" to OpenIndiana ksh93
2868
2869 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
2870 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
2871 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
2872 bug in long-dead shells, so remove the workaround.
2873 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
2874 Use plain "$@" rather than ${1+"$@"}.
2875
2876 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
2877
2878 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
2879
2880 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
2881
2882 Improve wording for SMB support
2883
2884 * doc/misc/tramp.texi (External methods): Improve and modernize
2885 wording for discussion of smbclient. There is no longer any
2886 need to mention the laundry list of old MS Windows implementations
2887 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
2888
2889 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
2890
2891 Merge from gnulib
2892
2893 This incorporates:
2894 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
2895 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
2896 2016-01-15 detect utimes() correctly on OS/2 kLIBC
2897 2016-01-15 openat_proc_name: port to OS/2 kLIBC
2898 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
2899 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
2900 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
2901 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
2902 2016-01-14 sig2str: list all signals on FreeBSD >= 7
2903 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
2904 2016-01-12 mktime: rename macro to avoid glibc clash
2905 2016-01-12 Port "$@" to OpenIndiana ksh93
2906 2016-01-12 Port Universal Time settings to strict POSIX
2907 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
2908 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
2909 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
2910 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
2911 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
2912 * m4/fcntl.m4, m4/utimes.m4:
2913 Copy from gnulib.
2914 * m4/gnulib-comp.m4: Regenerate.
2915
2916 2016-01-24 Alan Mackenzie <acm@muc.de>
2917
2918 Expunge "allow" + infinitive without direct object from source and doc.
2919
2920 Do the same for "permit", "enable", and "prevent".
2921
2922 * doc/emacs/mule.texi:
2923 * doc/lispref/control.texi:
2924 * doc/lispref/display.texi:
2925 * doc/lispref/frames.texi:
2926 * doc/lispref/functions.texi:
2927 * doc/lispref/nonascii.texi:
2928 * doc/lispref/streams.texi:
2929 * doc/lispref/windows.texi:
2930 * doc/misc/dbus.texi:
2931 * doc/misc/eww.texi:
2932 * doc/misc/flymake.texi:
2933 * doc/misc/octave-mode.texi:
2934 * doc/misc/org.texi:
2935 * doc/misc/reftex.texi:
2936 * doc/misc/tramp.texi:
2937 * doc/misc/wisent.texi:
2938 * etc/NEWS:
2939 * lisp/autorevert.el:
2940 * lisp/cedet/mode-local.el:
2941 * lisp/cedet/semantic/senator.el:
2942 * lisp/cedet/semantic/wisent.el:
2943 * lisp/dos-fns.el:
2944 * lisp/frameset.el:
2945 * lisp/gnus/gnus-agent.el:
2946 * lisp/gnus/mm-util.el:
2947 * lisp/international/characters.el:
2948 * lisp/ldefs-boot.el:
2949 * lisp/mail/mailclient.el:
2950 * lisp/man.el:
2951 * lisp/mh-e/mh-search.el:
2952 * lisp/net/tramp-cmds.el:
2953 * lisp/net/tramp-gvfs.el:
2954 * lisp/org/org-crypt.el:
2955 * lisp/org/org-element.el:
2956 * lisp/org/org-feed.el:
2957 * lisp/org/org.el:
2958 * lisp/org/ox-ascii.el:
2959 * lisp/org/ox-icalendar.el:
2960 * lisp/org/ox-publish.el:
2961 * lisp/org/ox.el:
2962 * lisp/play/gamegrid.el:
2963 * lisp/play/gomoku.el:
2964 * lisp/progmodes/antlr-mode.el:
2965 * lisp/progmodes/python.el:
2966 * lisp/progmodes/vhdl-mode.el:
2967 * lisp/strokes.el:
2968 * lisp/textmodes/ispell.el:
2969 * lisp/tree-widget.el:
2970 * lisp/vc/pcvs.el:
2971 * lisp/window.el:
2972 * src/lisp.h:
2973 * src/w32.c:
2974 * src/w32heap.c:
2975 * src/w32term.c:
2976 * src/window.c:
2977 * src/xfaces.c:
2978
2979 Replace solecisms like "This allow to do something" with a correct
2980 alternative, such as "This allow you to do something", "This allows
2981 something to be done" or "This allows the doing of something".
2982
2983 2016-01-24 l3thal <kwhite@gnu.org>
2984
2985 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
2986
2987 2016-01-24 Kelvin White <kwhite@gnu.org>
2988
2989 Add NEWS entry for asynchronous reconnect in ERC
2990
2991 2016-01-24 l3thal <kwhite@gnu.org>
2992
2993 Add NEWS entry for asynchronous reconnect in ERC
2994
2995 2016-01-24 Kelvin White <kwhite@gnu.org>
2996
2997 browse-url.el: Add 'google-chrome' to supported browsers.
2998
2999 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
3000
3001 Port Tramp manual to latest Texinfo
3002
3003 Otherwise, 'make pdf' did not work (Bug#22416).
3004 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
3005 (trampfn): Specialize to the case where METHOD is nonempty.
3006 The 2nd argument is now user@host, not 2nd user and 3rd host args.
3007 All uses changed.
3008 (trampf): New macro.
3009
3010 2016-01-24 Lars Ingebrigtsen <larsi@gnus.org>
3011
3012 * eww.el (eww-render): Protect against empty content-types.
3013
3014 2016-01-24 Nicolas Petton <nicolas@petton.fr>
3015
3016 authors.el updates
3017
3018 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
3019 Additions.
3020
3021 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
3022
3023 Rename xref-query-replace to xref-query-replace-in-results
3024
3025 * lisp/progmodes/xref.el(xref-query-replace):
3026 Rename to xref-query-replace-in-results.
3027 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
3028
3029 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
3030 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
3031 * doc/emacs/dired.texi (Operating on Files):
3032 * doc/emacs/maintaining.texi (Xref Commands)
3033 (Identifier Search, Identifier Search): Update accordingly.
3034
3035 2016-01-24 Dmitry Gutov <dgutov@yandex.ru>
3036
3037 Update cl-defgeneric and cl-defmethod docstrings
3038
3039 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
3040 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
3041 (cl-defmethod): Mention that multiple dispatch arguments are
3042 allowed. Document supported types. (Bug#22336)
3043
3044 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
3045
3046 Comment out next-error-function integration in xref
3047
3048 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
3049 Comment out next-error-function integration
3050 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
3051
3052 2016-01-23 John Wiegley <johnw@newartisans.com>
3053
3054 Correct a use of "which" in intro.texi
3055
3056 2016-01-23 Alan Mackenzie <acm@muc.de>
3057
3058 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
3059
3060 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
3061 context of case labels (including "default") more rigorously.
3062 (c-guess-basic-syntax CASE 15): Consequential amendment.
3063
3064 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
3065
3066 2016-01-23 Oscar Fuentes <ofv@wanadoo.es>
3067
3068 Don't operate on menu bar of nonexistent frame
3069
3070 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
3071 is valid before redisplaying its menu. Fixes bug#22438.
3072
3073 2016-01-23 Anders Lindgren <andlind@gmail.com>
3074
3075 Unbreak the GNUstep build.
3076
3077 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
3078 predefined "caution" image. Add trace.
3079 (x_set_window_size): Remove unused variables `cols' and `rows'.
3080 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
3081 GNUstep is used.
3082 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
3083 ([EmacsWindow zoom:]): Remove unused variable `f'.
3084
3085 2016-01-23 Eli Zaretskii <eliz@gnu.org>
3086 John Wiegley <johnw@gnu.org>
3087 Michael Heerdegen <michael_heerdegen@web.de>
3088
3089 Improve documentation of 'pcase'
3090
3091 * doc/lispref/control.texi (Pattern matching case statement):
3092 Reorganize, expand, and improve wording.
3093
3094 * etc/NEWS: Mention that 'pcase' changes are documented.
3095
3096 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
3097
3098 * etc/NEWS: Say that Cairo is experimental.
3099
3100 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
3101
3102 Report error for PNG under Cairo
3103
3104 * src/image.c (lookup_rgb_color): Signal a file error instead
3105 of dumping core when mishandling an image.
3106
3107 2016-01-23 Arash Esbati <esbati@gmx.de>
3108
3109 Delete a spurious backquote (tiny change)
3110
3111 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
3112 spurious backquote which raises an error with emacs 25.
3113
3114 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
3115
3116 Pacify --enable-gcc-warnings --with-cairo
3117
3118 Problem reported by Alexander Kuleshov in:
3119 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
3120 * src/gtkutil.c (xg_get_page_setup):
3121 Use switch rather than if-then-else.
3122 * src/image.c (COLOR_TABLE_SUPPORT):
3123 Define directly rather than via #define and optional later #undef.
3124 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
3125 Crash when the pixel is undefined, as there is a genuine bug
3126 here (Bug#22442).
3127 * src/image.c (tiff_load, gif_load, svg_load_image)
3128 (x_kill_gs_process) [USE_CAIRO]:
3129 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
3130 Omit unused locals, or move them to where they’re needed.
3131 (x_clear_area1): Now ATTRIBUTE_UNUSED.
3132
3133 2016-01-23 Eli Zaretskii <eliz@gnu.org>
3134
3135 Update documentation for Dired search and replace
3136
3137 * doc/emacs/dired.texi (Operating on Files): Update descriptions
3138 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
3139 'dired-do-find-regexp-and-replace'.
3140
3141 * etc/NEWS: Mention xref-related changes in Dired.
3142
3143 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
3144
3145 Port recent xdisp.c fix to picky C compilers
3146
3147 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
3148 putting #if inside the arguments to a standard function, which
3149 the C standard says has undefined behavior.
3150
3151 2016-01-22 Alan Mackenzie <acm@muc.de>
3152
3153 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
3154
3155 * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
3156 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
3157 contained in the preceding arg list.
3158
3159 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
3160 `c-forward-declarator' in place of inline code.
3161
3162 2016-01-22 Eli Zaretskii <eliz@gnu.org>
3163
3164 Fix the build with --enable-checking=glyphs
3165
3166 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
3167 build without xwidget support.
3168
3169 2016-01-22 Eli Zaretskii <eliz@gnu.org>
3170
3171 Document cl-generic.el
3172
3173 * doc/lispref/functions.texi (Generic Functions): New section.
3174 (Bug#22336)
3175 (Functions): Update the chapter menu.
3176 * doc/lispref/elisp.texi: Update the master menu.
3177
3178 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
3179
3180 xwidgets style cleanup
3181
3182 Adjust the newly-added Xwidgets code so that it uses a more-typical
3183 Emacs style. This should not affect behavior, except that in
3184 a few places it adds runtime checks that Lisp arguments are of
3185 the proper type, and in one place it uses more-precise arithmetic.
3186 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
3187 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
3188 Include xwidget.h unconditionally.
3189 * src/buffer.c (Fkill_buffer):
3190 * src/dispnew.c (update_window):
3191 * src/emacs.c (main):
3192 * src/print.c (print_object):
3193 * src/window.c (Fdelete_window_internal):
3194 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
3195 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
3196 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
3197 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
3198 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
3199 Call xwidget functions and macros without worrying about
3200 HAVE_XWIDGETS when the code is a no-op on non-xwidget
3201 platforms.
3202 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
3203 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
3204 (struct it.xwidget):
3205 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
3206 Always define.
3207 * src/emacsgtkfixed.h: Omit unnecessary comment.
3208 * src/keyboard.c: Fix spacing.
3209 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
3210 Define to be a no-op if not HAVE_XWIDGETS.
3211 * src/xwidget.c: Include xwidget.h first (after config.h)
3212 to make sure that it can stand by itself.
3213 (Fmake_xwidget, Fxwidget_webkit_execute_script):
3214 Fix typo in doc string.
3215 (Fmake_xwidget): Check type of args.
3216 (Fmake_xwidget, offscreen_damage_event)
3217 (webkit_document_load_finished_cb, webkit_download_cb)
3218 (webkit_new_window_policy_decision_requested_cb)
3219 (webkit_navigation_policy_decision_requested_cb)
3220 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
3221 (xwidget_osr_event_set_embedder, xwidget_init_view):
3222 Omit unnecessary casts.
3223 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
3224 (xwidget_show_view, xwidget_hide_view)
3225 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
3226 (xwidget_touched):
3227 * src/xwidget.h (struct xwidget.kill_without_query)
3228 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
3229 Use bool for boolean.
3230 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
3231 Simplify by using list functions.
3232 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
3233 (Fxwidget_resize): Check type of integer args
3234 before doing any work. Check that they are nonnegative.
3235 (Fxwidget_set_adjustment): Check type of integer arg.
3236 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
3237 Simplify. Use double, not float.
3238 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
3239 (valid_xwidget_spec_p): Simplify.
3240 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
3241 * src/xwidget.h: Include lisp.h first, so that includers do
3242 not need to worry about doing that before including this file.
3243 Make this .h file safe to include even on non-HAVE_XWIDGETS
3244 configurations, to simplify the includers.
3245 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
3246 (xwidget_end_redisplay, lookup_xwidget)
3247 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
3248 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
3249 (struct glyph_matrix, struct glyph_string, struct xwidget)
3250 (struct xwidget_view, struct window):
3251 New forward or incomplete decls, so that includers need not
3252 assume the corresponding .h files are already included, or that
3253 HAVE_XWIDGETS is defined.
3254 (struct xwidget_type, xwidget_from_id): Remove; unused.
3255
3256 2016-01-22 Michael Albinus <michael.albinus@gmx.de>
3257
3258 Backport kqueue integration from master
3259
3260 * configure.ac (--with-file-notification): Add kqueue.
3261 (top): Remove special test for "${HAVE_NS}" and
3262 ${with_file_notification}, this is handled inside gfilenotify
3263 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
3264 instead of library specific variables. Add error message for
3265 gfile on Nextstep.
3266
3267 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
3268 Fix some glitches in the example.
3269
3270 * etc/NEWS: Mention kqueue.
3271
3272 * lisp/filenotify.el (file-notify--library)
3273 (file-notify-descriptors, file-notify-callback)
3274 (file-notify-add-watch, file-notify-rm-watch)
3275 (file-notify-valid-p): Add kqueue support.
3276 (file-notify--rm-descriptor): Remove WHAT arg.
3277
3278 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
3279
3280 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
3281
3282 * src/inotify.c (inotifyevent_to_event): Extract file name from
3283 watch_object if the event doesn't provide it.
3284 (Finotify_add_watch): Add file name to watch_object.
3285
3286 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
3287
3288 * src/kqueue.c: New file.
3289
3290 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
3291
3292 * test/automated/file-notify-tests.el
3293 (file-notify--test-expected-events): Remove.
3294 (file-notify--test-cleanup): Do not set that variable.
3295 (file-notify--test-timeout) Use different timeouts for
3296 different libraries.
3297 (file-notify--test-library): New defun.
3298 (file-notify--test-event-test): Make stronger checks.
3299 (file-notify--test-with-events): EVENTS can also be a list of
3300 lists. Flush outstanding events before running the body.
3301 Make timeout heuristically depend on the number of events.
3302 (file-notify-test01-add-watch, file-notify-test02-events)
3303 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
3304 Rewrite in order to call file monitors but directory monitors.
3305 (file-notify-test02-events, file-notify-test04-file-validity): Do
3306 not skip cygwin tests. Add additional test for file creation.
3307 Adapt expected result for different backends.
3308 (file-notify-test03-autorevert): Some of the tests don't work for
3309 w32notify.
3310 (file-notify-test06-many-events): New test.
3311
3312 2016-01-22 John Wiegley <johnw@newartisans.com>
3313
3314 Further corrections to the pcase docstring
3315
3316 2016-01-22 Eli Zaretskii <eliz@gnu.org>
3317
3318 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
3319
3320 2016-01-22 Stephen Leake <stephen_leake@stephe-leake.org>
3321
3322 In xref-collect-references, force backends to respect the 'dir' arg
3323
3324 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
3325 to use `default-directory'.
3326
3327 2016-01-22 John Wiegley <johnw@newartisans.com>
3328
3329 Minor correction to pcase docstring
3330
3331 2016-01-22 John Wiegley <johnw@newartisans.com>
3332
3333 Write a new docstring for the pcase macro
3334
3335 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
3336
3337 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
3338
3339 Avoid byte-compiler warning in todo-mode (bug#21953)
3340
3341 * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
3342 to looking-back to comply with advertised-calling-convention.
3343
3344 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
3345
3346 Fix desktop support in todo-mode and doc-view (bug#22377)
3347
3348 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
3349 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
3350
3351 * lisp/calendar/todo-mode.el (todo-modes-set-2):
3352 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
3353
3354 2016-01-21 Paul Eggert <eggert@cs.ucla.edu>
3355
3356 No need to configure gobject-introspection
3357
3358 It wasn’t needed for the recently-installed xwidget_mvp code; see:
3359 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
3360 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
3361 (HAVE_GIR):
3362 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
3363 Remove. All uses removed.
3364 * configure.ac (emacs_config_features): Don’t worry about GIR.
3365
3366 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
3367
3368 Don’t export C symbols not used elsewhere
3369
3370 These were recently added, mostly as part of xwidget code.
3371 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
3372 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
3373 Now static functions here, not macros in emacsgtkfixed.h.
3374 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
3375 Remove. All uses replaced by definiens.
3376 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
3377 Remove; these are now static functions in emacsgtkfixed.c.
3378 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
3379 Remove; unused.
3380 (emacs_fixed_get_type): Remove decl; no longer extern.
3381 * src/xwidget.c (offscreen_damage_event)
3382 (webkit_mime_type_policy_typedecision_requested_cb)
3383 (webkit_new_window_policy_decision_requested_cb)
3384 (webkit_navigation_policy_decision_requested_cb)
3385 (xwidget_spec_value, xwidget_view_lookup)
3386 (xwidget_start_redisplay, xwidget_touch):
3387 Now static.
3388 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
3389 Remove decls.
3390
3391 2016-01-20 Dmitry Gutov <dgutov@yandex.ru>
3392
3393 Support squiggly heredocs in ruby-mode
3394
3395 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3396 Support squiggly heredocs added in Ruby 2.3.
3397
3398 * test/indent/ruby.rb: Add squiggly example.
3399
3400 2016-01-20 Glenn Morris <rgm@gnu.org>
3401
3402 * configure.ac (emacs_config_features): Remove WEBKIT.
3403
3404 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
3405
3406 Port to platforms with gtk3 but not webkitgtk3
3407
3408 I ran into this problem on my Fedora 23 installation;
3409 Emacs configured but did not build when --with-xwidgets was specified.
3410 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
3411 (DOES_XWIDGETS_USE_GIR): New var.
3412 If --with-xwidgets is specified, report an error if not
3413 doable, to be consistent with the other --with options.
3414 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
3415 not work at all without webkitgtk3. Simplify use of
3416 EMACS_CHECK_MODULES. Output message about gobject
3417 introspection only if xwidgets are used.
3418 * etc/NEWS: Users need webkitgtk3, not merely webkit.
3419 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
3420 since this file is no longer compiled if webkitgtk3 is not available.
3421
3422 2016-01-20 Eli Zaretskii <eliz@gnu.org>
3423
3424 Fix doc string of 'isearch-search-fun-function'
3425
3426 * lisp/isearch.el (isearch-search-fun-function)
3427 (isearch-search-string): Doc fixes. (Bug#22411)
3428
3429 2016-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * lisp/xwidget.el: Nitpicks
3432
3433 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
3434 Use with-current-buffer rather than save-excursion + set-buffer.
3435
3436 2016-01-20 Glenn Morris <rgm@gnu.org>
3437
3438 Don't hard-code 1 as point-min.
3439
3440 * lisp/image-mode.el (image-display-size):
3441 * lisp/xwidget.el (xwidget-webkit-last-session)
3442 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
3443
3444 2016-01-20 Glenn Morris <rgm@gnu.org>
3445
3446 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
3447
3448 2016-01-20 Glenn Morris <rgm@gnu.org>
3449
3450 Trivial doc copyedits.
3451
3452 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
3453 (Fxwidget_webkit_get_title, Fxwidget_resize)
3454 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
3455 (Fxwidget_info, Fxwidget_view_lookup)
3456 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
3457
3458 2016-01-20 Glenn Morris <rgm@gnu.org>
3459
3460 Avoid advising image-display-size for xwidgets.
3461
3462 * lisp/xwidget.el (xwidget-image-display-size): Remove.
3463 (image-display-size): Remove advice.
3464 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
3465 (image-display-size): Incorporate xwidget code directly.
3466
3467 2016-01-20 Glenn Morris <rgm@gnu.org>
3468
3469 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
3470
3471 * lisp/xwidget.el (window-configuration-change-hook)
3472 (kill-buffer-query-functions): Only modify these hooks if
3473 compiled with xwidget support.
3474
3475 2016-01-20 Glenn Morris <rgm@gnu.org>
3476
3477 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
3478
3479 2016-01-19 Glenn Morris <rgm@gnu.org>
3480
3481 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
3482
3483 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
3484
3485 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
3486
3487 2016-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
3488
3489 * lisp/gnus/nnir.el (nnir-request-update-mark):
3490 Default to the original mark.
3491 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
3492 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
3493
3494 2016-01-19 Glenn Morris <rgm@gnu.org>
3495
3496 * lisp/xwidget.el (report-xwidget-bug): Remove.
3497
3498 (top-level): No longer require reporter.
3499
3500 2016-01-19 Joakim Verona <joakim@verona.se>
3501 Grégoire Jadi <daimrod@gmail.com>
3502
3503 Support for the new Xwidget feature.
3504
3505 * configure.ac:
3506 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
3507 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
3508 * src/xdisp.c:
3509 (handle_display_spec, handle_single_display_spec, push_it)
3510 (pop_it, set_iterator_to_next, dump_glyph)
3511 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
3512 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
3513 (produce_xwidget_glyph, x_produce_glyphs)
3514 (get_window_cursor_type):
3515 * src/window.c (Fdelete_window_internal):
3516 * src/termhooks.h (e):
3517 * src/print.c (print_object):
3518 * src/lisp.h (ptrdiff_t):
3519 * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
3520 (syms_of_keyboard):
3521 * src/emacs.c (main):
3522 * src/dispnew.c (update_window, scrolling_window):
3523 * src/dispextern.h (g, i):
3524 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
3525 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
3526 * src/keyboard.c (kbd_buffer_get_event):
3527 * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
3528 (emacs_fixed_class_init): Add case for an xwidget view.
3529
3530 * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
3531
3532
3533 Various improvements to the Xwidget feature.
3534 * src/xwidget.c:
3535 * src/emacsgtkfixed.c:
3536 * lisp/xwidget.el:
3537
3538 2016-01-19 Eli Zaretskii <eliz@gnu.org>
3539
3540 Improve documentation of 'alist-get'
3541
3542 * doc/lispref/variables.texi (Setting Generalized Variables): Add
3543 'alist-get' to the list of functions that can appear in PLACE
3544 argument of 'setf'.
3545
3546 2016-01-19 Eli Zaretskii <eliz@gnu.org>
3547
3548 Minor copyedits of doc/emacs/maintaining.texi
3549
3550 * doc/emacs/maintaining.texi (List Identifiers): More accurate
3551 description of "C-M-i" wrt tags tables.
3552 (Tags Tables): Move the definition of "tag" to a footnote.
3553
3554 2016-01-19 Eli Zaretskii <eliz@gnu.org>
3555
3556 Unbreak the Cygwin-w32 build
3557
3558 * src/w32fns.c (globals_of_w32fns): Move the initialization of
3559 resetstkoflw into a part that isn't compiled on Cygwin.
3560 (Bug#22403)
3561
3562 2016-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3563
3564 * shr.el (shr-table-body): Allow tables to have text children.
3565
3566 2016-01-19 Phillip Lord <phillip.lord@russet.org.uk>
3567
3568 Cope with multiple overlapping faces.
3569
3570 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
3571 left.
3572 (hfy-face-resolve-face): Handle font specification as well as font
3573 name. Documentation update. (Bug#21990)
3574
3575 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
3576
3577 Fix spurious escapes in describe-input-method
3578
3579 Problem reported by Vincent Belaïche (Bug#22309).
3580 * lisp/international/mule-cmds.el (describe-language-environment):
3581 * lisp/international/quail.el (quail-help):
3582 Apply substitute-command-keys to doc strings before displaying them.
3583
3584 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
3585
3586 Minor improvements to (random t) documentation
3587
3588 * doc/lispref/numbers.texi (Random Numbers):
3589 * src/fns.c (Frandom):
3590 Omit unnecessary details about randomness fallback.
3591 Say that it is a fallback.
3592
3593 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
3594
3595 Rename methods in Ruby etags example file
3596
3597 * test/etags/ruby-src/test.rb: Rename the example methods to
3598 correspond to the common terminology used in Ruby.
3599 * test/etags/CTAGS.good:
3600 * test/etags/ETAGS.good_1:
3601 * test/etags/ETAGS.good_2:
3602 * test/etags/ETAGS.good_3:
3603 * test/etags/ETAGS.good_4:
3604 * test/etags/ETAGS.good_5:
3605 * test/etags/ETAGS.good_6: Adjust accordingly.
3606
3607 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
3608
3609 Propertize backtick in 'def `(abc)' as symbol constituent
3610
3611 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
3612 Propertize backtick in 'def `(abc)' as symbol constituent.
3613 (ruby-syntax-propertize-function):
3614 Rename to ruby-syntax-propertize.
3615
3616 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3617
3618 Fix scrolling under scroll-preserve-screen-position on TTY
3619
3620 * src/window.c (window_scroll_line_based): When setting point to
3621 preserve screen coordinates, don't let cursor enter either of the
3622 two scroll margins. (Bug#22395)
3623
3624 2016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3625
3626 Fix shr table rendering of nested tables
3627
3628 * shr.el (shr-table-body): Don't include all tbodies in nested
3629 tables in the levels above.
3630
3631 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
3632
3633 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
3634
3635 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
3636
3637 Add xref-based replacements for Dired search commands
3638
3639 * lisp/dired-aux.el (dired-do-find-regexp)
3640 (dired-do-find-regexp-and-replace): New commands.
3641 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
3642
3643 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
3644 `Q' to the new commands.
3645
3646 * lisp/progmodes/xref.el (xref-query-replace)
3647 (xref-collect-matches): Add progress reporters.
3648 (xref--find-ignores-arguments): Return nil for zero ignores.
3649 (xref--show-xrefs): Add an optional argument.
3650 (xref-collect-matches): Drop the assert. 'find' accepts a
3651 regular file in place of directory argument, too.
3652
3653 2016-01-18 Alan Mackenzie <acm@muc.de>
3654
3655 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
3656
3657 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3658
3659 Improve user documentation of Xref
3660
3661 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
3662 (Looking Up Identifiers, Identifier Search, List Identifiers):
3663 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
3664 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
3665 for the details.
3666
3667 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3668
3669 Fix scrolling under scroll-preserve-screen-position and margins
3670
3671 * src/window.c (window_scroll_pixel_based): When setting point to
3672 preserve screen coordinates, don't let cursor enter either of the
3673 two scroll margins. Fix incorrect usage of
3674 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
3675 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
3676
3677 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3678
3679 Unbreak the MS-Windows build
3680
3681 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
3682 WINDOWSNT, to avoid link failure. (Bug#22202)
3683
3684 2016-01-18 Alan Mackenzie <acm@muc.de>
3685
3686 Desktop: protect users against inadvertant upgrading of desktop file.
3687
3688 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
3689
3690 * etc/NEWS: Add an entry about upgrading a desktop file.
3691
3692 * lisp/desktop.el (desktop-file-version): Amend doc string.
3693 (desktop-native-file-version, desktop-io-file-version): new variables.
3694 (desktop-clear): Set desktop-io-file-version to nil.
3695 (desktop-buffer-info): make the presence of the last item on the list
3696 conditional on (>= desktop-io-file-version 208).
3697 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
3698 Amend the doc string. Add code to determine the output file version.
3699 (desktop-create-buffer): Set desktop-io-file-version to the input file's
3700 version.
3701
3702 2016-01-18 Paul Eggert <eggert@cs.ucla.edu>
3703
3704 Initialize GnuTLS before calling gnutls_rnd
3705
3706 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
3707 Don’t set gnutls_global_initialized if gnutls_global_init fails.
3708 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
3709 if 2.12 or later, which has gnutls_rnd.
3710 (emacs_gnutls_global_init, gnutls_rnd): New fallback
3711 placeholder macros if before 2.12.
3712 (init_random): Initialize gnutls globals before trying to
3713 use gnutls_rnd.
3714
3715 2016-01-18 Andreas Schwab <schwab@linux-m68k.org>
3716
3717 Don't use GnuTLS before it is initialized
3718
3719 * src/sysdep.c (init_random): Don't use gnutls_rnd.
3720
3721 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
3722
3723 Port cleanup attribute to OpenBSD
3724
3725 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
3726 sprintf, and this messes up 'configure' when it tests for the cleanup
3727 attribute. Work around the problem by using __has_attribute directly.
3728 Problem reported by Joakim Jalap (Bug#22385).
3729 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
3730 * m4/ax_gcc_var_attribute.m4: Remove.
3731 * src/conf_post.h (__has_attribute): Provide a substitute, for
3732 non-GCC or older GCC compilers. All uses changed to assume
3733 the substitute. Check for the cleanup attribute.
3734 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
3735
3736 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
3737
3738 Prefer GnuTLS when acquiring random seed
3739
3740 This attempts to improve on the fix for Bug#22202.
3741 * configure.ac (HAVE_DEV_URANDOM): Remove.
3742 Check /dev/urandom existence at run time, not at build time,
3743 since the device could exist in the former but not the latter.
3744 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
3745 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
3746 (random_seed): New typedef.
3747 (set_random_seed): New static function.
3748 (seed_random): Use them.
3749 (init_random): Use random_seed instead of uintmax_t, so as to
3750 not consume more entropy than needed. Prefer gnutls_rnd if it
3751 works; this avoids a redundant open of /dev/urandom on
3752 GNU/Linux with modern GnuTLS.
3753
3754 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3755
3756 Improve documentation of dynamic modules
3757
3758 * doc/lispref/loading.texi (How Programs Do Loading): Update the
3759 description of searching for files in 'load' when Emacs was built
3760 with support for dynamic modules.
3761
3762 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3763
3764 * INSTALL: Document --with-modules.
3765
3766 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3767
3768 Document 'function-put'
3769
3770 * doc/lispref/symbols.texi (Symbol Plists): Document
3771 'function-put'. Update documentation of 'function-get'.
3772
3773 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3774
3775 Document 'funcall-interactively'
3776
3777 * doc/lispref/commands.texi (Interactive Call): Document
3778 'funcall-interactively'.
3779 * doc/lispref/functions.texi (Calling Functions): Mention
3780 'funcall-interactively' and provide a cross-reference.
3781
3782 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3783
3784 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
3785
3786 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
3787
3788 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3789
3790 Document renaming of selection-related functions
3791
3792 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
3793 functions into the corresponding "gui-*" functions. Make the
3794 description slightly less X-centric.
3795
3796 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3797
3798 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
3799
3800 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3801
3802 Document 'define-inline'
3803
3804 * doc/lispref/functions.texi (Defining Functions): Document
3805 'define-inline' and related macros.
3806
3807 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
3808
3809 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
3810
3811 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
3812
3813 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
3814
3815 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
3816
3817 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
3818
3819 instead of manually writing a dir-locals file.
3820
3821 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
3822
3823 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
3824
3825 (dir-locals-file)
3826 * lisp/files-x.el (modify-dir-local-variable)
3827 * lisp/dos-fns.el (dosified-file-name)
3828 * lisp/help-fns.el (describe-variable): Change accordingly.
3829
3830 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
3831
3832 Fix incompatbilities with MS-Windows 2000 and older
3833
3834 * src/w32.c <multiByteToWideCharFlags>: New global variable.
3835 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
3836 Use it instead of the literal MB_ERR_INVALID_CHARS.
3837 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
3838 appropriate for the underlying OS version. For details, see
3839 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
3840 * src/w32.h: Declare multiByteToWideCharFlags.
3841 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
3842 (add_tray_notification): Use multiByteToWideCharFlags instead of
3843 the literal MB_ERR_INVALID_CHARS.
3844 (_resetstkoflw_proc): New typedef.
3845 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
3846 pointer, as this function is absent in msvcrt.dll shipped with W2K
3847 and older systems.
3848
3849 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3850
3851 Mention in PROBLEMS an issue with MS-Windows NT4
3852
3853 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
3854 on Windows NT4. For the details, see
3855 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
3856
3857 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
3858
3859 Ensure 8-byte aligned memory allocation on MS-Windows 9X
3860
3861 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
3862 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
3863 (malloc_after_dump_9x, realloc_after_dump_9x)
3864 (free_after_dump_9x): New functions. (Bug#22379) See also
3865 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
3866 for more details about the original problem.
3867
3868 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
3869 (free_after_dump_9x): Add prototypes.
3870
3871 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3872
3873 Fix tests for active region in hideif.el
3874
3875 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
3876 'use-region-p' to test whether to operate on region, instead of
3877 testing 'mark-active'.
3878
3879 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3880
3881 Fix interactive specs in some hideif.el commands
3882
3883 * lisp/progmodes/hideif.el (hif-evaluate-macro)
3884 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
3885 in commands that should only act on the region if it's active.
3886
3887 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
3888
3889 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
3890
3891 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
3892
3893 Enable test selector from command line
3894
3895 * test/automated/Makefile.in: Change variable manipulation to avoid
3896 over-writing selector.
3897
3898 2016-01-15 Alan Mackenzie <acm@muc.de>
3899
3900 Don't confuse "::" with ":" when trying to parse member initializers.
3901
3902 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
3903 more robustly for ":" token when searching backwards for it.
3904
3905 * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
3906 variable.
3907
3908 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3909
3910 Ensure positive number of glyphs for margins of positive width
3911
3912 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
3913 positive value when a non-zero width of the marginal area was
3914 requested. (Bug#22356)
3915
3916 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3917
3918 Fix crashes when mini-window has non-zero margins
3919
3920 * src/window.c (resize_frame_windows): Use 'new_size' to set
3921 minibuffer window's 'total_cols' value, as 'size' might be in
3922 pixels. (Bug#22356)
3923
3924 2016-01-15 Alan Mackenzie <acm@muc.de>
3925
3926 In comment-dwim with style `extra-line', respect indent-tabs-mode.
3927
3928 This fixes bug #22369.
3929
3930 * lisp/newcomment.el (comment-make-bol-ws): New function.
3931 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
3932
3933 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3934
3935 Make 'random' seeds cryptographically secure if possible
3936
3937 * configure.ac: Check for "/dev/urandom".
3938
3939 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
3940 for the seed from "/dev/urandom".
3941 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
3942 * src/fns.c (Frandom): Update the doc string to indicate that
3943 system entropy is used when available.
3944 * src/w32.c: Include wincrypt.h.
3945 (w32_init_crypt_random, w32_init_random): New functions, use the
3946 CryptGenRandom API.
3947 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
3948 * src/w32.h (w32_init_random): Add prototype.
3949
3950 * doc/lispref/numbers.texi (Random Numbers): Document more details
3951 about 't' as the argument to 'random'.
3952
3953 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
3954 strong seed if possible.
3955
3956 (Bug#22202)
3957
3958 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3959
3960 Unhide the --no-line-directive option to 'etags'
3961
3962 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
3963 option. (Bug#22306)
3964
3965 * doc/man/etags.1: Document the --no-line-directive option.
3966
3967 2016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
3968
3969 Fix picture-mode wrt double-width characters
3970
3971 * lisp/textmodes/picture.el (picture-insert): Check the width of
3972 the character being replaced, not just that of the replacement.
3973 (Bug#1808)
3974
3975 2016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
3976
3977 Honor docstring of gnus-group-get-new-news
3978
3979 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
3980 but non-numeric, unconditionally consider all groups to need updating.
3981
3982 2016-01-14 Simen Heggestøyl <simenheg@gmail.com>
3983
3984 Disallow parenthesis in non-pseudo CSS selectors
3985
3986 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
3987 parenthesis in selectors except for in the function notation that
3988 might appear right after a pseudo-class.
3989 * test/indent/scss-mode.scss: Add a test for it.
3990
3991 2016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
3992
3993 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
3994
3995 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
3996
3997 check-maybe shall run only default tests
3998
3999 * test/automated/Makefile.in (check, check-expensive): Depend on
4000 mostlyclean.
4001 (check-maybe): Re-run only default tests.
4002 (check-doit): Use code of check-maybe.
4003 (mostlyclean): Move *.log files away.
4004
4005 2016-01-14 Mark Oteiza <mvoteiza@udel.edu>
4006
4007 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
4008
4009 2016-01-14 Dmitry Gutov <dgutov@yandex.ru>
4010
4011 Un-obsolete tags-loop-continue
4012
4013 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
4014 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
4015
4016 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4017
4018 Document obsoletion of 'intangible' and 'point-entered/left'
4019
4020 * doc/lispref/text.texi (Special Properties): Document the new
4021 properties 'cursor-intangible' and 'cursor-sensor-functions'.
4022 Document the obsolete status of 'intangible', 'pointer-left',
4023 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
4024 * doc/lispref/display.texi (Overlay Properties): Document that
4025 'intangible' overlay property is obsolete.
4026
4027 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
4028
4029 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4030
4031 Updater documentation of 'looking-back'
4032
4033 * doc/lispref/searching.texi (Regexp Search): Update documentation
4034 of 'looking-back'. Fix markup.
4035
4036 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4037
4038 Document 'pre-redisplay-functions'
4039
4040 * doc/lispref/hooks.texi (Standard Hooks):
4041 * doc/lispref/display.texi (Forcing Redisplay): Document
4042 'pre-redisplay-functions'.
4043
4044 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4045
4046 Document the new deafault value of 'load-read-function'
4047
4048 * doc/lispref/loading.texi (How Programs Do Loading): Document the
4049 change in the default value of 'load-read-function'.
4050
4051 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4052
4053 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
4054
4055 * doc/lispref/nonascii.texi (Text Representations): Document
4056 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
4057
4058 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4059
4060 Document the new prefix-command hooks
4061
4062 * doc/lispref/hooks.texi (Standard Hooks): Document
4063 `prefix-command-echo-keystrokes-functions' and
4064 `prefix-command-preserve-state-hook'.
4065
4066 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
4067
4068 Fix one more misuse of time-stamp-time-zone
4069
4070 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
4071 than the unportable "GMT" for time zone.
4072
4073 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
4074
4075 Fix NNTP NEWGROUPS off-by-a-few-hours bug
4076
4077 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
4078 in Universal Time, since we’re telling the server “GMT”.
4079
4080 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
4081
4082 Update publicsuffix.txt from upstream
4083
4084 * etc/publicsuffix.txt: Update from
4085 https://publicsuffix.org/list/effective_tld_names.dat
4086 dated 2016-01-12 11:52:01 UTC.
4087
4088 2016-01-13 Glenn Morris <rgm@gnu.org>
4089
4090 Fix some declarations.
4091
4092 * lisp/descr-text.el (internal-char-font):
4093 * lisp/cedet/mode-local.el (xref-item-location):
4094 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
4095 (epg-sub-key-capability, epg-sub-key-validity):
4096 * lisp/international/mule-util.el (internal-char-font):
4097 Fix declarations.
4098
4099 2016-01-13 Glenn Morris <rgm@gnu.org>
4100
4101 Fix some custom types.
4102
4103 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
4104 * lisp/gnus/gnus.el (gnus-valid-select-methods):
4105 * lisp/mail/rmail.el (rmail-get-coding-function):
4106 * lisp/net/newst-treeview.el (newsticker-groups-filename):
4107 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
4108 * lisp/textmodes/tildify.el (tildify-space-predicates):
4109 * lisp/url/url-tramp.el (url-tramp-protocols):
4110 Fix custom types.
4111
4112 2016-01-13 Glenn Morris <rgm@gnu.org>
4113
4114 Add some missing version tags.
4115
4116 * lisp/electric.el (electric-quote-comment)
4117 (electric-quote-string, electric-quote-paragraph):
4118 * lisp/epg-config.el (epg-gpgconf-program):
4119 * lisp/rect.el (rectangle-preview):
4120 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
4121 * lisp/emacs-lisp/package.el (package-selected-packages)
4122 (package-hidden-regexps):
4123 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
4124 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
4125 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
4126 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
4127 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
4128 (mml-smime-sign-with-sender, mml2015-always-trust)
4129 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
4130 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
4131 (browse-url-conkeror-arguments):
4132 * lisp/net/newst-reader.el (newsticker-download-logos):
4133 * lisp/progmodes/gud.el (gud-guiler-command-name):
4134 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
4135 * lisp/progmodes/project.el (project-vc):
4136 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
4137 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
4138 (python-shell-completion-native-disabled-interpreters)
4139 (python-shell-completion-native-enable)
4140 (python-shell-completion-native-output-timeout)
4141 (python-shell-completion-native-try-output-timeout):
4142 * lisp/progmodes/xref.el (xref):
4143 * lisp/term/screen.el (xterm-screen-extra-capabilities):
4144 * lisp/term/xterm.el (xterm-max-cut-length):
4145 Add missing version tags.
4146
4147 2016-01-13 Glenn Morris <rgm@gnu.org>
4148
4149 * test/automated/core-elisp-tests.el
4150 (core-elisp-tests-1-defvar-in-let): Add a custom type.
4151
4152 2016-01-13 Glenn Morris <rgm@gnu.org>
4153
4154 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
4155
4156 Remove comments that do not apply since 2005-08-09. (Bug#22349)
4157
4158 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
4159
4160 Merge from gnulib
4161
4162 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
4163 It also updates to the latest version of texinfo.tex.
4164 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
4165 * build-aux/update-copyright, doc/misc/texinfo.tex:
4166 Update from gnulib.
4167
4168 2016-01-12 Eli Zaretskii <eliz@gnu.org>
4169
4170 Update documentation of 'process-running-child-p'
4171
4172 * doc/lispref/processes.texi (Input to Processes): Document the
4173 changes in return value of 'process-running-child-p'.
4174
4175 2016-01-12 Eli Zaretskii <eliz@gnu.org>
4176
4177 Update documentation of 'deactivate-mark'.
4178
4179 * doc/lispref/markers.texi (The Mark): Document that
4180 'deactivate-mark' is now buffer-local when set.
4181
4182 2016-01-12 Eli Zaretskii <eliz@gnu.org>
4183
4184 Update documentation of 'completion-table-dynamic'
4185
4186 * doc/lispref/minibuf.texi (Programmed Completion): Document the
4187 new optional argument to 'completion-table-dynamic'.
4188
4189 2016-01-12 Eli Zaretskii <eliz@gnu.org>
4190
4191 Document changes in 'read-buffer' and 'read-buffer-function'
4192
4193 * doc/lispref/minibuf.texi (High-Level Completion): Document the
4194 4th argument to 'read-buffer' and 'read-buffer-function'.
4195
4196 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
4197
4198 Fix time-stamp-time-zone bugs introduced in July
4199
4200 This fixes a bug introduced when the July changes to
4201 format-time-string installed, as the changes were not
4202 correctly handled in this module (Bug#22302).
4203 Also, document time stamp time zones.
4204 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
4205 (time-stamp--format): New private function.
4206 (time-stamp-string, time-stamp-string-preprocess)
4207 (time-stamp-do-number): Use it.
4208 * doc/emacs/files.texi (Time Stamps): Mention time zones.
4209 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
4210
4211 2016-01-12 Eli Zaretskii <eliz@gnu.org>
4212
4213 Make piping to subprocesses more robust on MS-Windows
4214
4215 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
4216 buffer can hold. Don't return -1 if something has been written to
4217 the pipe. Zero out 'errno' before calling '_write', to avoid
4218 returning a stale value. (Bug#22344)
4219 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
4220 * src/w32.c (pipe2): Use it to request a user-defined size for the
4221 pipe being created.
4222
4223 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
4224
4225 * doc/emacs/msdos.texi (Windows Processes): Document
4226 'w32-pipe-buffer-size'.
4227
4228 2016-01-11 Dmitry Gutov <dgutov@yandex.ru>
4229
4230 test/automated/vc-hg.el: Support out-of-tree build
4231
4232 * test/automated/vc-hg.el
4233 (vc-hg-annotate-extract-revision-at-line-with-filename)
4234 (vc-hg-annotate-extract-revision-at-line-with-both):
4235 Don't refer to source-directory.
4236 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
4237
4238 2016-01-11 Michael Albinus <michael.albinus@gmx.de>
4239
4240 Minor change in tramp-tests.el
4241
4242 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
4243 Use `dired-uncache' instead of a Tramp internal function.
4244
4245 2016-01-11 Peter Feigl <peter.feigl@nexoid.at>
4246
4247 * etc/HELLO: Add Armenian and Mongolian greetings.
4248
4249 (Bug#22346)
4250
4251 2016-01-11 Alan Mackenzie <acm@muc.de>
4252
4253 Java Mode: Fontify identifiers in the presence of annotations.
4254
4255 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
4256 Don't move point when the defun fails.
4257 (c-forward-decl-or-cast-1): Correct a usage of match data.
4258
4259 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
4260 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
4261 removed variable.
4262
4263 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
4264
4265 2016-01-11 Eli Zaretskii <eliz@gnu.org>
4266
4267 Avoid an infloop when we run out of memory
4268
4269 * src/alloc.c (garbage_collect_1): Don't bother saving and
4270 restoring the echo-area message if we are GC'ing after running out
4271 of memory. This avoids an infloop due to repeated attempts to
4272 allocate memory for the cons cell needed to save the message,
4273 which signals the memory-full error, which attempts to save the
4274 echo-area message, which signals memory-full again, etc.
4275
4276 2016-01-11 Eli Zaretskii <eliz@gnu.org>
4277
4278 Avoid unnecessary failures of auto-saving after fatal error
4279
4280 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
4281 the benefit of FAT volumes if we are called as part of shutting
4282 down due to a fatal error, which probably means we are trying to
4283 auto-save the session.
4284 * src/lread.c (check_obarray): Don't bother making the obarray
4285 valid if we are shutting down due to a fatal error. This avoids
4286 interfering with auto-saving the crashed session.
4287
4288 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
4289
4290 Simplify HAVE_MODULES use in mark_maybe_pointer
4291
4292 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
4293 so that later code can use 'if' rather than '#ifdef'.
4294 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
4295 always working.
4296
4297 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
4298
4299 Revert attempt to use 'noexcept' in typedef
4300
4301 This use of 'noexcept' runs afoul of the C++11 standard.
4302 Problem reported by Philipp Stephani in:
4303 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
4304 * src/emacs-module.c (emacs_finalizer_function):
4305 Move this typedef here ...
4306 * src/emacs-module.h: ... from here, and use only the C
4307 version of the typedef. The typedef is now private since it
4308 is never used in the .h file now and anyway it seemed to be
4309 causing more confusion than it cured.
4310 (make_user_ptr, get_user_finalizer, set_user_finalizer):
4311 Open-code the type instead.
4312
4313 2016-01-10 Eli Zaretskii <eliz@gnu.org>
4314
4315 Update documentation of 'indirect-function'
4316
4317 * doc/lispref/eval.texi (Function Indirection): Update the
4318 documentation of 'indirect-function'.
4319
4320 2016-01-10 Eli Zaretskii <eliz@gnu.org>
4321
4322 Update documentation for obsoleting 'syntax-begin-function'
4323
4324 * doc/lispref/syntax.texi (Position Parse): Undocument
4325 'syntax-begin-function' that is now obsolete.
4326
4327 2016-01-10 Eli Zaretskii <eliz@gnu.org>
4328
4329 Document new features if Eshell
4330
4331 * doc/misc/eshell.texi (Input/Output): Document the new
4332 '#<bufname>' syntax.
4333 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
4334 Disable "Key Index" generation, as there are no @kindex entries in
4335 this manual.
4336
4337 2016-01-10 Michael Albinus <michael.albinus@gmx.de>
4338
4339 Handle too long commands in Tramp
4340
4341 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
4342 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
4343 order to not exceed shell command line limit.
4344
4345 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
4346 (tramp--test-utf8): Include Arabic file name, again.
4347
4348 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
4349
4350 * .gitattributes: *.cur and *.pif are binary files too.
4351
4352 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
4355
4356 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
4359
4360 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
4361 within $(...).
4362 * test/indent/shell.sh: Add corresponding test.
4363
4364 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
4367
4368 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
4369 cast to Lisp_Object.
4370
4371 2016-01-10 Dmitry Gutov <dgutov@yandex.ru>
4372
4373 Use short date for 'hg annotate', and output the author
4374
4375 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
4376 Change '-d' to '-dq'. (Bug#21805)
4377 (vc-hg-annotate-switches): Default to "-u" "--follow".
4378 (vc-hg-annotate-re): Update to recognize the short date format
4379 and the optional username.
4380 (vc-hg-annotate-time)
4381 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
4382
4383 * test/automated/vc-hg.el: New file.
4384
4385 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
4386
4387 Spelling fix
4388
4389 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4390
4391 Document user-level functions in project.el
4392
4393 * lisp/progmodes/project.el (project-find-file)
4394 (project-or-external-find-file): Add doc strings.
4395
4396 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4397
4398 Document the user-level features of the Xref package
4399
4400 * doc/emacs/maintaining.texi (Maintaining): Add a list of
4401 described features.
4402 (Xref): New section, made out of thoroughly rewritten "Tags"
4403 section.
4404 (Find Identifiers, Looking Up Identifiers, Xref Commands)
4405 (Identifier Search, List Identifiers): New subsections,
4406 incorporating the old tags commands and the new xref commands.
4407 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
4408 Section and subsections demoted to a lower level.
4409 * doc/emacs/search.texi (Search):
4410 * doc/emacs/windows.texi (Pop Up Window):
4411 * doc/emacs/frames.texi (Creating Frames):
4412 * doc/emacs/programs.texi (Imenu, Symbol Completion):
4413 * doc/emacs/building.texi (Grep Searching):
4414 * doc/emacs/dired.texi (Operating on Files):
4415 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
4416
4417 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * doc/lispref/loading.texi: Add `define-type' entry for load-history
4420
4421 * doc/lispref/loading.texi (Where Defined): Remove incorrect
4422 cl-defmethod description, and add missing define-type entry.
4423
4424 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4425
4426 Improve doc strings and prompts in xref.el
4427
4428 * lisp/progmodes/xref.el (xref-backend-functions)
4429 (xref-find-definitions): Doc fixes.
4430 (xref-query-replace): Doc fix. Improve prompts for arguments.
4431
4432 2016-01-09 Alan Mackenzie <acm@muc.de>
4433
4434 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
4435
4436 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
4437 `font-lock-extend-regions-wholelines' from
4438 `font-lock-extend-region-functions' rather than setting the latter to
4439 nil.
4440
4441 2016-01-09 Michael Albinus <michael.albinus@gmx.de>
4442
4443 Fix coding system for Tramp on OS X.
4444
4445 * lisp/net/tramp-compat.el: Require ucs-normalize.
4446
4447 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4448 Set coding system to `utf-8-hfs' for Mac OS X.
4449
4450 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
4451 Flush directory properties when needed.
4452 (tramp--test-utf8): Include Chinese file name, again.
4453
4454 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4455
4456 Update 'load-history' docs
4457
4458 * doc/lispref/loading.texi (Where Defined): Update the list of
4459 forms in 'load-history' by adding the forms created for the
4460 'cl-generic' generics. (Bug#21422)
4461
4462 2016-01-09 Paul Eggert <eggert@cs.ucla.edu>
4463
4464 Fix (error ...) error
4465
4466 Problem reported by Glenn Morris in:
4467 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
4468 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
4469 introduced in my Aug 28 change, where I got confused by the
4470 two meanings of (error ...).
4471
4472 2016-01-08 Alan Mackenzie <acm@muc.de>
4473
4474 Correctly analyze brace arguments in templated C++ function declarations.
4475
4476 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
4477 POS and LIMIT parameters, like the other c-go-list-* functions have.
4478
4479 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
4480 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
4481 followed by template specifiers.
4482
4483 2016-01-08 Glenn Morris <rgm@gnu.org>
4484
4485 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
4486
4487 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
4488
4489 2016-01-08 Mark Oteiza <mvoteiza@udel.edu>
4490
4491 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
4492
4493 2016-01-08 Alan Mackenzie <acm@muc.de>
4494
4495 Respect fontification region calculated by major mode. Fixes bug #22316.
4496
4497 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
4498 fontification region has been calculated by a function on
4499 font-lock-extend-after-change-region-function use this region rather than
4500 changing the end position to somewhere else.
4501
4502 2016-01-08 Eli Zaretskii <eliz@gnu.org>
4503
4504 Improve documentation of Delete Selection mode
4505
4506 * lisp/delsel.el (delete-selection-mode)
4507 (delete-selection-helper): Update and expand the doc strings.
4508 (Bug#22296)
4509
4510 * doc/emacs/mark.texi (Using Region): Document the behavior of
4511 delete commands in Delete Selection mode. (Bug#22296)
4512
4513 * doc/lispref/markers.texi (The Mark): Document how to add the
4514 support for Delete Selection mode to Lisp programs. (Bug#22296)
4515
4516 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
4517
4518 Fix two project-find-file issues
4519
4520 * lisp/progmodes/project.el (project--value-in-dir):
4521 Temporarily set enable-local-variables to :all.
4522 (project-find-file, project-or-external-find-file):
4523 All autoloads.
4524 (project--find-file-in): Require xref.
4525
4526 2016-01-08 Eli Zaretskii <eliz@gnu.org>
4527
4528 Clarify doc string of 'dired-current-directory'
4529
4530 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
4531 the return value might not end in a slash when called with the
4532 optional argument non-nil. (Bug#6273)
4533
4534 2016-01-08 Eli Zaretskii <eliz@gnu.org>
4535
4536 Use the face of preceding text for displaying the ellipsis
4537
4538 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
4539 text in it->saved_face_id for displaying the ellipsis, and ignore
4540 the face, if any, of the invisible text. (Bug#22320)
4541
4542 2016-01-08 Michael Albinus <michael.albinus@gmx.de>
4543
4544 Suppress Chinese file name test for OSX in tramp-tests.el
4545
4546 * test/automated/tramp-tests.el (tramp--test-utf8):
4547 Remove instrumentation. Suppress Chinese file name test for OSX.
4548
4549 2016-01-08 Glenn Morris <rgm@gnu.org>
4550
4551 * admin/admin.el (set-version): Also handle the NEWS file.
4552
4553 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
4554
4555 apropos-library: Skip obvious duplicates; don't error on generics
4556
4557 * lisp/apropos.el (apropos-library): Skip "was an autoload"
4558 entries, to avoid obvious duplicates. For each cl-defmethod
4559 entry, take just its function symbol (bug#21422).
4560
4561 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
4562
4563 Add project-find-file and project-or-external-find-file
4564
4565 * lisp/minibuffer.el (completion-category-defaults):
4566 Add `project-file' category.
4567
4568 * lisp/progmodes/project.el (project-find-file)
4569 (project-or-external-find-file): New commands.
4570 (project--find-file-in): New private function.
4571
4572 * lisp/progmodes/xref.el (xref-collect-matches): Use
4573 `expand-file-name' on DIR, to expand the tildes.
4574 (xref--find-ignores-arguments): Extract from
4575 `xref--rgrep-command'.
4576
4577 2016-01-07 Leo Liu <sdl.web@gmail.com>
4578
4579 Add defvar-local to lisp-imenu-generic-expression
4580
4581 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
4582 defvar-local.
4583
4584 2016-01-07 Leo Liu <sdl.web@gmail.com>
4585
4586 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
4587
4588 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
4589 Don't declare (indent 1).
4590
4591 2016-01-07 Glenn Morris <rgm@gnu.org>
4592
4593 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
4594
4595 2016-01-07 Glenn Morris <rgm@gnu.org>
4596
4597 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
4598
4599 Avoid specifying the length of a time object (it has not been "2"
4600 for some time).
4601
4602 2016-01-06 Andreas Schwab <schwab@linux-m68k.org>
4603
4604 Properly encode/decode base64Binary data in SOAP
4605
4606 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
4607 base64Binary value as utf-8.
4608 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
4609
4610 2016-01-06 Eli Zaretskii <eliz@gnu.org>
4611
4612 Obey coding-system-for-write when writing stdout/stderr in batch
4613
4614 * src/print.c (printchar_to_stream):
4615 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
4616 a non-nil value, use it to encode output in preference to
4617 locale-coding-system. See the discussions in
4618 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
4619 for the details.
4620
4621 * doc/lispref/os.texi (Terminal Output): Document how to send
4622 non-ASCII text via 'send-string-to-terminal'.
4623 (Batch Mode): Document how text written to standard streams is
4624 encoded. Fix inaccuracy regarding which output streams are used
4625 by output functions in batch mode.
4626
4627 2016-01-06 Xue Fuqiao <xfq.free@gmail.com>
4628
4629 * doc/misc/efaq.texi (Packages that do not come with Emacs):
4630 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
4631 <chenggao@royau.me> in
4632 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
4633
4634 2016-01-06 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
4635
4636 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
4637
4638 Fix backslash. (Bug#22224)
4639
4640 2016-01-06 Federico Beffa <beffa@ieee.org> (tiny change)
4641
4642 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
4643
4644 Make it actually work. (Bug#22265)
4645
4646 2016-01-05 Alan Mackenzie <acm@muc.de>
4647
4648 Remove function wrongly on AWK Mode value of context fontification hook.
4649
4650 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
4651 swap order of entries so that awk's entry isn't superseded by the default.
4652
4653 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
4654 to handle nil value of c-before-context-fontification-functions.
4655
4656 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
4657
4658 * src/buffer.c: Stick with ASCII in doc string.
4659
4660 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
4661
4662 Reword transient-mark-mode doc string
4663
4664 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
4665 The value 'lambda (literally) can be interpreted as (quote lambda),
4666 which is not intended here; we want just the lambda symbol.
4667
4668 2016-01-05 Eli Zaretskii <eliz@gnu.org>
4669
4670 Update doc string of 'selective-display'
4671
4672 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
4673 using it with the value of 't' is obsolete. (Bug#1092)
4674
4675 2016-01-05 Alan Mackenzie <acm@muc.de>
4676
4677 Make C++ buffers writeable when writing their initial text properties.
4678
4679 This is a correction to yesterday's CC Mode patch.
4680
4681 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
4682 c-save-buffer-state around the function rather than a mere `let'.
4683
4684 2016-01-05 Michael Albinus <michael.albinus@gmx.de>
4685
4686 Additional changes for "make check-expensive"
4687
4688 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
4689 Explain make target `check-expensive'.
4690
4691 * etc/NEWS: Mention new make target `check-expensive'.
4692
4693 * test/automated/Makefile.in (check-doit): New target.
4694 (check, check-expensive): Use it.
4695
4696 2016-01-04 Alan Mackenzie <acm@muc.de>
4697
4698 Apply text properties for <, > in new after-change function (C++ Java Modes).
4699
4700 These are category/syntax-table properties to give < and > paren syntax.
4701 Also apply certain `c-type' text properties to the insides of <..> constructs
4702 to ensure that identifiers contained by them get fontified. This patch fixes
4703 bug #681.
4704
4705 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
4706 after-change action.
4707
4708 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
4709 change region to include <s and >s which might not be already marked as
4710 parens, rather than just when paren text properties are removed.
4711 (c-restore-<>-properties): New after-change function, which applies text
4712 properties marking < and > with paren syntax.
4713
4714 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
4715 properties are applied to the interiors of <...> constructs, to ensure
4716 fontification of identifiers there.
4717
4718 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
4719 c-restore-<>-properties to this list for C++ and Java.
4720
4721 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
4722 c-before-font-lock-functions, exclude c-restore-<>-properties from the
4723 functions invoked.
4724 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
4725 to allow modification by before-change functions.
4726 (c-after-change): Amend c-new-END here, rather than initializing it and
4727 c-new-BEG.
4728
4729 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
4730
4731 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
4732
4733 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
4734
4735 Introduce check-expensive tests.
4736
4737 * Makefile.in (check-expensive):
4738 * test/automated/Makefile.in (check-expensive): New target.
4739
4740 * test/automated/auto-revert-tests.el
4741 (auto-revert-test01-auto-revert-several-files):
4742 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
4743 * test/automated/tramp-tests.el (tramp-test26-process-file)
4744 (tramp-test27-start-file-process, tramp-test28-shell-command)
4745 (tramp-test29-vc-registered)
4746 (tramp-test31-special-characters-with-stat)
4747 (tramp-test31-special-characters-with-perl)
4748 (tramp-test31-special-characters-with-ls)
4749 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
4750 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
4751 (tramp-test35-unload): Tag the tests as :expensive-test.
4752
4753 2016-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4754
4755 shr-tag-video bug fix
4756
4757 * shr.el (shr-tag-video): Protect against the `poster' being
4758 empty.
4759
4760 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
4761
4762 Minor fixes in tramp-tests.el
4763
4764 * test/automated/tramp-tests.el (tramp-test26-process-file):
4765 Move point properly.
4766 (tramp-test29-vc-registered): Work with relative file names.
4767
4768 2016-01-04 Eli Zaretskii <eliz@gnu.org>
4769
4770 Ensure redisplay when 'truncate-lines' is set
4771
4772 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
4773 (Bug#22303)
4774
4775 2016-01-04 Eli Zaretskii <eliz@gnu.org>
4776
4777 Fix a doc string of 'transient-mark-mode'
4778
4779 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
4780 "lambda" in doc string from becoming a link to lambda expressions.
4781
4782 2016-01-04 Eli Zaretskii <eliz@gnu.org>
4783
4784 MS-Windows followup to latest gnulib update
4785
4786 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
4787
4788 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
4789
4790 Spelling fix
4791
4792 2016-01-04 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
4793
4794 Do secure signed Bcc handling
4795
4796 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
4797 (bug#18718).
4798
4799 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
4800
4801 Avoid stdio in SIGINT handler
4802
4803 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
4804 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
4805 * lib/ignore-value.h: New file, from gnulib.
4806 * src/keyboard.c: Include it.
4807 (write_stdout, read_stdin): New functions.
4808 (handle_interrupt): Use them instead of printf and getchar,
4809 and avoid fflush when handling signals.
4810
4811 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
4812
4813 * doc/misc/texinfo.tex: Revert unwanted copyright change.
4814
4815 2016-01-03 Artur Malabarba <bruce.connor.am@gmail.com>
4816
4817 * lisp/align.el (align): Simplify a lambda
4818
4819 * lisp/align.el (align): Fix arg order in call to `align-region'
4820
4821 2016-01-03 Eli Zaretskii <eliz@gnu.org>
4822
4823 Fix compilation next-error in buffers with selective-display
4824
4825 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
4826 function.
4827 (compilation-internal-error-properties)
4828 (compilation-next-error-function, compilation-set-window): Use
4829 it. (Bug#1092)
4830
4831 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4832
4833 * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
4834
4835 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4836
4837 Add SHA1 warnings for high network security settings
4838
4839 * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
4840 about SHA1 certificates, which are now believed to be open to
4841 spoofing.
4842
4843 2016-01-03 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
4844
4845 Refactor mml-smime.el, mml1991.el, mml2015.el
4846
4847 (Maybe this is the last merge from Gnus git to Emacs git)
4848
4849 Cf. discussion on ding mailing list, messages in
4850 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
4851 Common code from the three files mml-smime.el, mml1991.el, and
4852 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
4853 to gnus-util.el.
4854
4855 The code is supported by test cases with necessary test keys.
4856
4857 Documentation in message.texi is updated.
4858
4859 * doc/misc/message.texi (Security, Using S/MIME):
4860 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
4861 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
4862 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
4863
4864 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
4865 New functions.
4866
4867 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
4868 (epa--select-keys): Autoload.
4869 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
4870 (mml-secure-openpgp-signers): New user option;
4871 make mml1991-signers and mml2015-signers obsolete aliases to it.
4872 (mml-secure-smime-signers): New user option;
4873 make mml-smime-signers an obsolete alias to it.
4874 (mml-secure-openpgp-encrypt-to-self): New user option;
4875 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
4876 aliases to it.
4877 (mml-secure-smime-encrypt-to-self): New user option;
4878 make mml-smime-encrypt-to-self an obsolete alias to it.
4879 (mml-secure-openpgp-sign-with-sender): New user option;
4880 make mml2015-sign-with-sender an obsolete alias to it.
4881 (mml-secure-smime-sign-with-sender): New user option;
4882 make mml-smime-sign-with-sender an obsolete alias to it.
4883 (mml-secure-openpgp-always-trust): New user option;
4884 make mml2015-always-trust an obsolete alias to it.
4885 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
4886 New user options.
4887 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
4888 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
4889 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
4890 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
4891 (mml-secure-passphrase-callback, mml-secure-check-user-id)
4892 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
4893 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
4894 (mml-secure-fingerprint, mml-secure-filter-keys)
4895 (mml-secure-normalize-cust-name, mml-secure-select-keys)
4896 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
4897 (mml-secure-self-recipients, mml-secure-recipients)
4898 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
4899
4900 * lisp/gnus/mml-smime.el: Require epg;
4901 refactor declaration and autoloading of epg functions.
4902 (mml-smime-use): Doc fix.
4903 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
4904 Obsolete.
4905 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
4906 Use format instead of gnus-format-message.
4907 (mml-smime-epg-secret-key-id-list): Remove variable.
4908 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
4909 (mml-smime-epg-find-usable-secret-key): Remove functions.
4910 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
4911
4912 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
4913 (mml1991-passphrase-cache-expiry): Obsolete.
4914 (mml1991-epg-secret-key-id-list): Remove variable.
4915 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
4916 (mml1991-epg-find-usable-secret-key): Remove functions.
4917 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
4918
4919 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
4920 (mml2015-passphrase-cache-expiry): Obsolete.
4921 (mml2015-epg-secret-key-id-list): Remove variable.
4922 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
4923 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
4924 (mml2015-epg-find-usable-secret-key): Remove functions.
4925 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
4926 (mml2015-epg-encrypt): Refactor.
4927
4928 2016-01-02 Glenn Morris <rgm@gnu.org>
4929
4930 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
4931
4932 Explicitly ignore case. (Bug#22262)
4933
4934 2016-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 (semantic-symref-derive-find-filepatterns): Return a list
4937
4938 * lisp/cedet/semantic/symref/grep.el
4939 (semantic-symref-derive-find-filepatterns): Return a list.
4940 (semantic-symref-perform-search): Quote the result here once and for all.
4941
4942 2016-01-02 Eli Zaretskii <eliz@gnu.org>
4943
4944 Fix xref-find-references on MS-Windows
4945
4946 * lisp/cedet/semantic/symref/grep.el
4947 (semantic-symref-derive-find-filepatterns): Use
4948 'shell-quote-argument' instead of manually quoting in a way that
4949 only works with Posix shells. (Bug#22289)
4950
4951 2016-01-02 Eli Zaretskii <eliz@gnu.org>
4952
4953 Document new features of tildify-mode
4954
4955 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
4956 (tildify-mode): Spelling fixes in doc strings.
4957
4958 * etc/NEWS: Reformat the tildify-mode entry.
4959
4960 2016-01-02 Eli Zaretskii <eliz@gnu.org>
4961
4962 Document new features of Whitespace mode
4963
4964 * doc/emacs/display.texi (Useless Whitespace): Document
4965 'whitespace-toggle-options' and the new 'big-indent' style.
4966 Document 'whitespace-big-indent-regexp'. Document the Global
4967 Whitespace mode.
4968
4969 2016-01-02 Eli Zaretskii <eliz@gnu.org>
4970
4971 Improve documentation of new Hide-IfDef features
4972
4973 * etc/NEWS: Expand and reword Hide-IfDef section.
4974
4975 2016-01-02 Leo Liu <sdl.web@gmail.com>
4976
4977 Fix regression in font-locking cl-assert and cl-check-type
4978
4979 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
4980 el-errs-re.
4981
4982 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
4983
4984 Spelling and grammar fixes
4985
4986 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
4987
4988 Fix copyright years by hand
4989
4990 These are dates that admin/update-copyright did not update, or
4991 updated incorrectly.
4992
4993 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
4994
4995 Update copyright year to 2016
4996
4997 Run admin/update-copyright.
4998
4999 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
5000
5001 Merge from gnulib
5002
5003 This mostly just updates copyright dates of gnulib files.
5004 It also updates to the latest version of texinfo.tex.
5005
5006 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
5007
5008 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
5009
5010 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
5011
5012 Port chart.el methods to cl-generic.
5013
5014 cl-call-next-method cannot be used inside EIEIO's defmethod.
5015 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
5016 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
5017 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
5018 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
5019 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
5020 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
5021
5022 2015-12-31 Brian Burns <bburns.km@gmail.com>
5023
5024 Add nt/INSTALL.W64 build instructions
5025
5026 * nt/INSTALL.W64: New file.
5027 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
5028
5029 2015-12-31 Joakim Jalap <joakim.jalap@fastmail.com>
5030
5031 Add new input method 'programmer-dvorak'
5032
5033 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
5034 input method.
5035
5036 * etc/NEWS: Mention it.
5037
5038 2015-12-31 Eli Zaretskii <eliz@gnu.org>
5039
5040 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
5041
5042 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
5043 original M-TAB binding in a buffer-local variable.
5044 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
5045 if that is recorded, when point is in a place where flyspell
5046 should not be active (e.g., because the user turned on
5047 'flyspell-prog-mode'). (Bug#18533)
5048
5049 2015-12-31 Eli Zaretskii <eliz@gnu.org>
5050
5051 Fix EWW rendering of long RTL lines
5052
5053 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
5054 of the selected window before filling its lines. (Bug#22250)
5055
5056 2015-12-31 Vincent Belaïche <vincentb1@users.sourceforge.net>
5057
5058 fix bug#21054
5059
5060 * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
5061
5062 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5063
5064 Clean up cairo printing code
5065
5066 * src/gtkutil.c (xg_get_page_setup): Use listn.
5067 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
5068 decode_window_system_frame and FRAME_VISIBLE_P.
5069 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
5070 of Fdisplay.
5071 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
5072 instead of Fdisplay. Temporarily unblock_input around QUIT.
5073
5074 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5075
5076 Move variables to inner loop, preparing for Mac port merge
5077
5078 * src/keyboard.c (command_loop_1): Move variables `cmd',
5079 `keybuf', and `i' to inner loop.
5080
5081 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5082
5083 Add handle_user_signal_hook
5084
5085 * src/keyboard.h (handle_user_signal_hook): New declaration.
5086 * src/keyboard.c (handle_user_signal_hook): New variable.
5087 (handle_user_signal): Call it.
5088
5089 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5090
5091 Avoid writing to purespace
5092
5093 * src/alloc.c (Fmake_string): Don't write to empty string contents.
5094 (allocate_vector): Don't write to empty vector size.
5095 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
5096 Don't call unnecessary XSETCAR or XSETCDR.
5097 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
5098 write to empty string size_byte.
5099
5100 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5101
5102 Remove unused variable
5103
5104 * lisp/international/mule-cmds.el: Remove unused variable
5105 `mac-system-coding-system'.
5106
5107 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5108
5109 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
5110
5111 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5112
5113 Use posix_openpt instead of openpty on Darwin
5114
5115 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
5116 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
5117 Darwin-specific definitions. Use posix_openpt instead.
5118
5119 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
5120
5121 Document support for ':documentation' in Lisp mode
5122
5123 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
5124 (lisp-string-after-doc-keyword-p)
5125 (lisp-font-lock-syntactic-face-function): Add doc strings.
5126
5127 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
5128
5129 Document new features of TeX mode
5130
5131 * doc/emacs/text.texi (TeX Print): Document
5132 'tex-print-file-extension'.
5133 * doc/emacs/programs.texi (Misc for Programs): Document support
5134 for Prettify Symbols mode in TeX mode.
5135
5136 2015-12-30 Eli Zaretskii <eliz@gnu.org>
5137
5138 Clarify docs of hscroll in RTL text
5139
5140 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
5141 meaning of a window's horizontal scroll amount for RTL paragraphs.
5142
5143 2015-12-30 Eli Zaretskii <eliz@gnu.org>
5144
5145 Fix rendering of HTML pages that use character composition
5146
5147 * src/indent.c (Fvertical_motion): Fix the case when point starts
5148 in the middle of a composition, as in shr-vertical-motion.
5149 (Bug#22250)
5150
5151 2015-12-30 Eli Zaretskii <eliz@gnu.org>
5152
5153 Avoid some compiler warnings in w32.c
5154
5155 * src/w32.c (codepage_for_filenames, crlf_to_lf)
5156 (ansi_encode_filename, socket_to_fd, sys_write)
5157 (check_windows_init_file): Avoid compiler warnings about
5158 differences in pointer signedness.
5159
5160 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
5161
5162 Undo ill-advised change
5163
5164 * lisp/progmodes/xref.el (xref-collect-matches): Undo
5165 ill-advised change. The hits come in the order that `find'
5166 produces them in, which isn't alphabetical.
5167
5168 2015-12-30 Dmitry Gutov <dgutov@yandex.ru>
5169
5170 Unbreak completion in python-mode buffers
5171
5172 * lisp/progmodes/python.el (python-shell-completion-at-point):
5173 Unbreak in python-mode buffers.
5174
5175 2015-12-29 Eli Zaretskii <eliz@gnu.org>
5176
5177 Fix typos in CC Mode manual
5178
5179 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
5180 typos. (Bug#22267)
5181
5182 2015-12-29 Eli Zaretskii <eliz@gnu.org>
5183
5184 Avoid assertion violations in compact_font_cache_entry
5185
5186 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
5187 avoid assertion violation in ASIZE. (Bug#22263)
5188
5189 2015-12-29 Eli Zaretskii <eliz@gnu.org>
5190
5191 Fix filling text with bidirectional characters in shr.el
5192
5193 * lisp/net/shr.el (shr-insert-document): Bind
5194 bidi-display-reordering to nil while filling lines. This is
5195 required for when a line includes characters whose bidi
5196 directionality is opposite to the base paragraph direction,
5197 because columns are counted in the logical order. (Bug#22250)
5198
5199 2015-12-29 Martin Rudalics <rudalics@gmx.at>
5200
5201 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
5202
5203 2015-12-29 Michael Albinus <michael.albinus@gmx.de>
5204
5205 Sync with Tramp 2.2.13
5206
5207 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
5208
5209 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
5210 Use `tramp-compat-funcall'.
5211
5212 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
5213 Make `split-string' call compatible with older Emacsen.
5214
5215 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
5216
5217 2015-12-29 Lambda Coder <sjLambda@gmail.com>
5218
5219 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
5220
5221 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5222
5223 Mention that tls.el is secure by default, and will fail
5224
5225 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5226
5227 Make tls.el use trustfiles by default
5228
5229 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
5230 (open-tls-stream): Insert the trustfile by looking at
5231 `gnutls-trustfiles'.
5232
5233 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5234
5235 Refactor out gnutls-trustfiles
5236
5237 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
5238
5239 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5240
5241 Remove --insecure from gnutls-cli invocation
5242
5243 * tls.el (tls-program): Default to using secure TLS
5244 connections (bug#19284).
5245
5246 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
5247
5248 Spelling fix
5249
5250 2015-12-29 Paul Eggert <eggert@cs.ucla.edu>
5251
5252 Port report-emacs-bug to deterministic builds
5253
5254 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
5255 recent "built on" change to deterministic builds where
5256 emacs-build-system will be nil. See:
5257 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
5258
5259 2015-12-29 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
5260
5261 Fix URL auth error message
5262
5263 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
5264 message more correct (bug#20069).
5265
5266 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5267
5268 shr link traversal fixup
5269
5270 * shr.el (shr-next-link): Don't bug out on adjacent links.
5271
5272 Backport:
5273
5274 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
5275
5276 2015-12-28 Tom Tromey <tom@tromey.com>
5277
5278 set :safe on css-indent-offset
5279
5280 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
5281
5282 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5283
5284 * eww.el (eww-mode): Remove superfluous bidi reset.
5285
5286 2015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
5287
5288 Make chunked encoding trailer detection more compliant
5289
5290 * lisp/url/url-http.el
5291 (url-http-chunked-encoding-after-change-function): Make
5292 trailer detection more compliant (bug#16345).
5293
5294 2015-12-28 Martin Rudalics <rudalics@gmx.at>
5295
5296 Fix Bug#10873 in `report-emacs-bug'
5297
5298 * lisp/mail/emacsbug.el (report-emacs-bug): If
5299 `report-emacs-bug-no-explanations' is nil, make sure we can show
5300 mail and warnings buffer on this frame (Bug#10873).
5301
5302 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5303
5304 Always reset the bidi direction
5305
5306 * eww.el (eww-display-html): Always reset the bidi direction
5307 to `left-to-right' (bug#22257).
5308
5309 2015-12-28 Alan Mackenzie <acm@muc.de>
5310
5311 Allow line comments ending with escaped NL to be continued to the next line.
5312
5313 Use this in C, C++, and Objective C Modes. Fixes bug#22246
5314
5315 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
5316 (forw-comment, back-comment): On encountering an end of comment character,
5317 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
5318
5319 * doc/lispref/syntax.texi (Control Parsing): Describe
5320 `comment-end-can-be-escaped'.
5321
5322 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
5323
5324 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
5325
5326 2015-12-28 Dmitry Gutov <dgutov@yandex.ru>
5327
5328 Rename project-library-roots to project-external-roots
5329
5330 * lisp/progmodes/project.el (project-library-roots): Rename to
5331 project-external-roots.
5332 (project-library-roots-function): Rename to
5333 project-vc-external-roots-function. Only use it in the VC
5334 backend, for now. Update project-external-roots accordingly.
5335 (project-vc-library-roots): Remove.
5336 (project-or-libraries-find-regexp):
5337 Rename to project-or-external-find-regexp.
5338
5339 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
5340 Rename to elisp-load-path-roots.
5341
5342 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
5343 an anonymous function for the default value of
5344 project-vc-external-roots-function.
5345
5346 2015-12-27 Deniz Dogan <deniz@dogan.se>
5347
5348 Clear erc user list upon disconnection
5349
5350 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
5351 lists upon disconnection. This prevents invalid channel
5352 user lists when reconnecting (bug#10947).
5353
5354 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5355
5356 Don't bug out in erc after waking from sleep
5357
5358 * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
5359 closed connection, this may already have been detected and
5360 `erc-server-last-received-time' has been set to nil (bug#13608).
5361
5362 2015-12-27 David Edmondson <dme@dme.org>
5363
5364 Proxy error in erc with multiple clients
5365
5366 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
5367 generated when multiple IRC clients talk to a single IRC proxy
5368 (bug#19034).
5369
5370 Backport:
5371
5372 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
5373
5374 2015-12-27 Dima Kogan <dima@secretsauce.net>
5375
5376 Ensure that we don't have several timers in erc
5377
5378 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
5379 for existing timers in the alist before adding new ones. If a
5380 timer already exists, it is cancelled and
5381 overwritten. (bug#19292).
5382
5383 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
5384
5385 Fix mml-sec build warnings
5386
5387 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
5388 (bug#18718).
5389
5390 Backport:
5391
5392 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
5393
5394 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5395
5396 Don't insert erc logs at the end
5397
5398 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
5399 at the start of the buffer, not at the end (bug#20496).
5400
5401 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5402
5403 (eww-setup-buffer): Restore left-to-right defaults
5404
5405 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
5406
5407 Backport:
5408
5409 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
5410
5411 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5412
5413 Don't join erc channels doubly
5414
5415 * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
5416 more than once (if you have several nicks) (bug#20695).
5417
5418 2015-12-27 Eli Zaretskii <eliz@gnu.org>
5419
5420 Avoid leaving "ghost" of mouse pointer on MS-Windows
5421
5422 * src/w32term.c (frame_set_mouse_pixel_position):
5423 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
5424 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
5425 * src/w32term.c (frame_set_mouse_pixel_position): Include
5426 w32common.h.
5427
5428 2015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
5429
5430 Fix auth source lookups from erc with port numbers
5431
5432 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
5433 numbers (bug#20541).
5434
5435 2015-12-27 Fran Litterio <flitterio@gmail.com>
5436
5437 Run erc-kill-channel-hook always on exit
5438
5439 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
5440 when erc-kill-queries-on-quit is set (bug#21187).
5441
5442 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
5443
5444 Spelling fix
5445
5446 * test/automated/url-parse-tests.el:
5447 (url-generic-parse-url/same-document-reference):
5448 Rename from url-generic-parse-url/same-decument-reference.
5449
5450 2015-12-27 Paul Eggert <eggert@cs.ucla.edu>
5451
5452 Reword initial *scratch* for brevity, appearance
5453
5454 * lisp/startup.el (initial-scratch-message):
5455 Reword to avoid apostrophes, and to make it shorter.
5456 See the thread starting in:
5457 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
5458
5459 2015-12-26 Leo Liu <sdl.web@gmail.com>
5460
5461 Add ert-deftest to lisp-mode.el
5462
5463 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
5464 lisp-el-font-lock-keywords-1): Add ert-deftest.
5465
5466 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
5467
5468 Mark imap changes as not needing doc changes
5469
5470 * lisp/net/imap.el (imap-ssl-open): Remove
5471
5472 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
5473
5474 Use built-in encryption in imap.el
5475
5476 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
5477 (imap-starttls-open): Use open-network-stream instead of starttls.el.
5478 (imap-tls-open): Use open-network-stream instead of tls.el.
5479
5480 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5481
5482 Don't try using /bin/sh in artist.el on MS-Windows
5483
5484 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
5485 New function.
5486 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
5487 (Bug#20167)
5488
5489 2015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
5490
5491 Always define gmalloc etc. in src/gmalloc.c
5492
5493 This is a work-around to prevent the compiler from using semantic
5494 knowledge about malloc for optimization purposes. E.g., gcc 5.2
5495 with -O2 replaces most of calloc's definition by a call to calloc;
5496 see Bug#22085.
5497 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
5498 (aligned_alloc, free): Do not undef. Instead, define these as
5499 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
5500
5501 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5502
5503 Fix documentation of browse-url browser-related functions
5504
5505 * lisp/net/browse-url.el (browse-url)
5506 (browse-url-default-browser, browse-url-default-windows-browser)
5507 (browse-url-default-macosx-browser, browse-url-chromium)
5508 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
5509 and NEW-WINDOW arguments in these functions. (Bug#19421)
5510
5511 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
5512
5513 Propagate Bug#14412 fix to backtrace_eval_unrewind
5514
5515 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
5516 becomes accurate again. This shouldn’t affect behavior.
5517 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
5518
5519 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5520
5521 Don't produce non-ASCII characters in *scratch*
5522
5523 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
5524 avoid producing non-ASCII characters in the *scratch* buffer's
5525 commentary.
5526
5527 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5528
5529 Document changes in 'compare-windows'
5530
5531 * lisp/vc/compare-w.el (compare-windows-removed)
5532 (compare-windows-added): Doc fix.
5533
5534 * doc/emacs/files.texi (Comparing Files): Document the changes in
5535 window selection by 'compare-windows'.
5536
5537 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5538
5539 Document 'vc-annotate-background-mode'
5540
5541 * doc/emacs/maintaining.texi (Old Revisions): Document
5542 'vc-annotate-background-mode'.
5543
5544 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5545
5546 Document 'vc-region-history'
5547
5548 * doc/emacs/maintaining.texi (VC Change Log): Document
5549 'vc-region-history'.
5550
5551 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5552
5553 Improve documentation of 'vc-push'
5554
5555 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
5556 improve the documentation of 'vc-push'.
5557
5558 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
5559
5560 2015-12-26 Alain Schneble <a.s@realize.ch>
5561
5562 Include the tests for the URL parsing fixes
5563
5564 2015-12-26 Alain Schneble <a.s@realize.ch>
5565
5566 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
5567
5568 * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
5569 * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
5570 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
5571 information in URL-struct.
5572 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
5573 path and query into nil path and query, respectively.
5574 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
5575 empty path into an absolute ("/") path.
5576 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
5577 fragment-only URIs. Do not just return them unchanged.
5578 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
5579 reference URI should not drop the last segment.
5580
5581 Backport:
5582
5583 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
5584
5585 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5586
5587 Document 'url-user-agent'.
5588
5589 * lisp/url/url-http.el (url-user-agent): Move from here...
5590 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
5591 keep all the URL defcustoms in one place, and also have it defined
5592 whenever the URL library is loaded.
5593
5594 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
5595
5596 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5597
5598 Document protocols supported by URL library via Tramp
5599
5600 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
5601 supported via Tramp.
5602 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
5603 Tramp.
5604
5605 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5606
5607 Document changes in Shell-script mode
5608
5609 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
5610 the 'sh-shell' file-local variable.
5611 (top level): Add an auto-load form to avoid byte-compiler warning
5612 about 'comint-send-string'.
5613
5614 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5615
5616 Fix documentation of 'ses-define-local-printer'
5617
5618 * doc/misc/ses.texi (Printer functions): Fix whitespace between
5619 sentences and punctuation. Add an index entry for
5620 'ses-define-local-printer'.
5621
5622 2015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
5623
5624 Document 'ert-summarize-tests-batch-and-exit'
5625
5626 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
5627 'ert-summarize-tests-batch-and-exit'.
5628
5629 2015-12-26 Eli Zaretskii <eliz@gnu.org>
5630
5631 Avoid assertion violation in unbind_to
5632
5633 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
5634 if we get here with an object that is not a symbol. (Bug#14412)
5635
5636 2015-12-25 Andreas Schwab <schwab@linux-m68k.org>
5637
5638 Don't treat /foo/bar:mumble as ange-ftp address
5639
5640 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
5641 only in the first component. (bug#5362)
5642
5643 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5644
5645 Follow <meta> redirects in eww
5646
5647 Merge conflict, but I think I resolved it.
5648
5649 Follow meta refresh tags in eww
5650
5651 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
5652
5653 Backport:
5654
5655 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5656
5657 Allow http://user:pass@foo/ URLs again
5658
5659 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
5660 user/passwords in URLs (bug#19046).
5661
5662 Backport:
5663
5664 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
5665
5666 2015-12-25 Samer Masterson <samer@samertm.com>
5667
5668 Autoload url-insert-buffer-contents
5669
5670 * lisp/url/url-handlers.el: Add autoload cookie so that
5671 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
5672
5673 Backport:
5674
5675 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
5676
5677 2015-12-25 Eli Zaretskii <eliz@gnu.org>
5678
5679 Make sure *scratch* etc. use forward slashes in its default-directory
5680
5681 * lisp/startup.el (normal-top-level): On MS-Windows, convert
5682 backslashes to forward slashes while decoding default-directory
5683 of the initially-created buffers.
5684
5685 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5686
5687 More eww file name coding fixes
5688
5689 * eww.el (eww-decode-url-file-name): Use the base coding
5690 system to check for encodability.
5691
5692 Backport:
5693
5694 (cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)
5695
5696 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5697
5698 Always save eww history
5699
5700 * eww.el (eww-setup-buffer): Always save history, even when
5701 called from outside the eww buffer (bug#19638).
5702
5703 Backport:
5704
5705 (cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)
5706
5707 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5708
5709 Default web pages to right-to-left
5710
5711 * eww.el (eww-mode): Most web pages are left-to-right, so make
5712 that the default (bug#19801).
5713
5714 * shr.el (shr-tag-html): Respect "dir" attributes
5715 (left-to-right, right-to-left).
5716
5717 Backport:
5718
5719 (cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)
5720
5721 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5722
5723 Make toggling checkboxes work again
5724
5725 * eww.el (eww-update-field): Make toggling checkboxes work
5726 again (bug#21881).
5727
5728 Backport:
5729
5730 (cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)
5731
5732 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5733
5734 Don't store cookies with empty names
5735
5736 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
5737 cookies with empty names (bug#21936).
5738
5739 Backport:
5740
5741 (cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)
5742
5743 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5744
5745 Stop rendering HTML before specdlr exhaustion
5746
5747 Fixes: 22117
5748
5749 * shr.el (shr-descend): Stop rendering before we run out of
5750 specpdl room (bug#22117).
5751
5752 Backport:
5753
5754 (cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)
5755
5756 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5757
5758 Use cl-reduce, not reduce.
5759
5760 Backport:
5761
5762 (cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)
5763
5764 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5765
5766 Allow several <tbody> tags in shr
5767
5768 * shr.el (shr-table-body): New function to find the real body
5769 of a table.
5770 (shr-tag-table): Use it to render several <tbody> tags in a
5771 table (bug#22170).
5772
5773 Backport:
5774
5775 (cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)
5776
5777 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5778
5779 Make prettier unique file names in eww
5780
5781 (eww-make-unique-file-name): Make unique file names by making
5782 files like foo(2).jpg instead of foo(1)(2).jpg.
5783
5784 Backport:
5785
5786 (cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)
5787
5788 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5789
5790 Decode hex-encoded URLs before using them as file names
5791
5792 * eww.el (eww-decode-url-file-name): New function.
5793 (eww-download-callback): Use it to decode file names before
5794 saving them.
5795
5796 Backport:
5797
5798 (cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)
5799
5800 2015-12-25 Ashish SHUKLA <ashish.is@lostca.se>
5801
5802 Add FreeBSD cert bundle
5803
5804 * doc/misc/emacs-gnutls.texi (Help For Users): Document
5805 FreeBSD bundle.
5806
5807 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
5808
5809 Backport:
5810
5811 (cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)
5812
5813 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5814
5815 Ignore invalid SVG images
5816
5817 * shr.el (shr-tag-svg): Ignore SVG images that have no width
5818 or height, because these can't be displayed by ImageMagick,
5819 anyway.
5820
5821 Backport:
5822
5823 (cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)
5824
5825 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5826
5827 shr table rendering fix
5828
5829 * shr.el (shr-tag-table): Allow rendering body-less tables
5830 that have headers.
5831
5832 Backport:
5833
5834 (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
5835
5836 2015-12-25 Eli Zaretskii <eliz@gnu.org>
5837
5838 Restore info about the build host in bug reports
5839
5840 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
5841 which Emacs was built. This is important information for
5842 investigating bug reports reported by users who don't build their
5843 Emacs.
5844
5845 2015-12-25 Eli Zaretskii <eliz@gnu.org>
5846
5847 Fix bootstrap broken by changes related to OS X file-name encoding
5848
5849 * lisp/international/ucs-normalize.el (eval-when-compile): Make
5850 sure char-code-property-alist includes elements that allow access
5851 to 'decomposition' and 'canonical-combining-class' Unicode
5852 properties, as compiling ucs-normalize.el requires that.
5853 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
5854 only of charprop.el was already loaded.
5855
5856 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
5857 New order-only dependency.
5858
5859 2015-12-25 Leo Liu <sdl.web@gmail.com>
5860
5861 * lisp/ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.
5862
5863 2015-12-25 Michael Albinus <michael.albinus@gmx.de>
5864
5865 Make tramp-test29-vc-registered more robust
5866
5867 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
5868 Move `bzr' case down. Skip test when `vc-create-repo' fails.
5869 Remove instrumentation.
5870
5871 2015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5872
5873 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
5874
5875 2015-12-24 Katsumi Yamaoka <yamaoka@jpl.org>
5876
5877 Fix `gnus-union' so as to behave like `cl-union'
5878
5879 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
5880 Make gnus-union use `equal' to compare items in lists.
5881
5882 * lisp/gnus/gnus-util.el (gnus-union):
5883 Make it behave like cl-union partially.
5884
5885 2015-12-23 Paul Eggert <eggert@cs.ucla.edu>
5886
5887 Fix dired.c typo with ptrdiff_t vs Lisp_Object
5888
5889 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
5890 an integer type, fixing a problem introduced in the recent fix for
5891 Bug#22169.
5892
5893 2015-12-23 Eli Zaretskii <eliz@gnu.org>
5894
5895 Document default process sentinel more prominently
5896
5897 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
5898 defaults for process filter and sentinel. Provide cross-references.
5899 (Process Information): Provide cross-references to where filters
5900 and sentinels are described.
5901 (Filter Functions): Add an index entry for "default filter".
5902 (Sentinels): Add a few status messages not documented previously.
5903 Resolve the "killed" confusion. Document and describe the default
5904 sentinel. (Bug#22220)
5905
5906 2015-12-23 Eli Zaretskii <eliz@gnu.org>
5907
5908 Fix file-name completion on OS X
5909
5910 * src/dired.c (file_name_completion): Reject false matches due to
5911 file-name-coding-systems that decompose characters when encoding
5912 file names, by comparing decoded file names as well. (Bug#22169)
5913 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
5914
5915 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
5916 non-nil 'decomposed-characters' property.
5917
5918 2015-12-23 Anders Lindgren <andlind@gmail.com>
5919
5920 File-name completion of non-ASCII characters on OS X (bug#22169)
5921
5922 The coding system `utf-8-nfd', locally defined in ns-win.el,
5923 didn't provide a :pre-write-conversion method, causing file name
5924 completion of non-ASCII characters to fail. Solved by using the
5925 `utf-8-hfs' coding system provided by `ucs-normalize'.
5926
5927 * lisp/loadup.el: Load international/ucs-normalize (when building
5928 for ns).
5929
5930 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
5931 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
5932 as the file name coding system.
5933
5934 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
5935
5936 2015-12-23 Tom Tromey <tom@tromey.com>
5937
5938 Fix bug #18588 by making bug-reference-bug-regexp more lenient
5939
5940 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
5941 "bug NNNN". (Bug #18588)
5942
5943 2015-12-23 Tom Tromey <tom@tromey.com>
5944
5945 add some cl-* aliases to lisp-mode imenu
5946
5947 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
5948 cl-defgeneric, and cl-defmethod.
5949
5950 2015-12-22 Tom Tromey <tom@tromey.com>
5951
5952 Make a variable buffer-local
5953
5954 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
5955 font-lock-syntax-table buffer-local. (Bug #21627)
5956
5957 2015-12-22 Eli Zaretskii <eliz@gnu.org>
5958
5959 Fix decoding of text in URLs retrieved by EWW
5960
5961 * lisp/net/eww.el (eww-render): Pass 'charset' to
5962 'eww-display-raw'. Use the value of 'last-coding-system-used', if
5963 non-nil, to set 'buffer-file-coding-system' of the buffer where we
5964 show the URL.
5965 (eww-display-html, eww-display-raw): Decode the text correctly,
5966 using the charset found in the headers, and defaulting to UTF-8.
5967 If the user told us to use a specific encoding, override the
5968 charset from the headers. (Bug#22222)
5969
5970 2015-12-22 Alan Mackenzie <acm@muc.de>
5971
5972 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
5973
5974 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
5975 variable `tmp'.
5976 After a failed search for a matching ">", restore point before continuing.
5977
5978 2015-12-22 Michael Albinus <michael.albinus@gmx.de>
5979
5980 Instrument Tramp tests
5981
5982 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
5983 (tramp--test-utf8): Instrument tests.
5984
5985 2015-12-22 Martin Rudalics <rudalics@gmx.at>
5986
5987 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
5988
5989 * lisp/simple.el (display-message-or-buffer): Call
5990 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
5991 (Bug#22221).
5992
5993 2015-12-22 Juri Linkov <juri@linkov.net>
5994
5995 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
5996
5997 (save-places-to-alist, save-place-dired-hook):
5998 Check for dired-subdir-alist. (Bug#19851)
5999
6000 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
6001
6002 Add FIXME comment re stack overflow and modules
6003
6004 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
6005
6006 Revert some recent emacs-module commentary
6007
6008 Most of the recently-added commentary was incorrect, due to the
6009 possibility of stack overflow.
6010
6011 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
6012
6013 Spelling fix: prefer "cooperate" to "co-operate"
6014
6015 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
6016
6017 Port undo fixes to -fno-common
6018
6019 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
6020 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
6021 (buffer_before_last_command_or_undo):
6022 Declare in keyboard.h, and define in keyboard.c,
6023 instead of assuming the traditional Unix relaxed ref-def linkage.
6024
6025 2015-12-20 Philipp Stephani <phst@google.com>
6026
6027 Improve commentary for emacs-module.c
6028
6029 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
6030 * src/emacs-module.c (module_non_local_exit_get): Document that we
6031 cannot use the current implementation.
6032 (module_is_not_nil, module_eq): Document assumptions about EQ and
6033 NILP.
6034
6035 2015-12-20 Michael Albinus <michael.albinus@gmx.de>
6036
6037 Suppress test on Mac OS X
6038
6039 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
6040 (tramp--test-utf8): Use it.
6041
6042 2015-12-20 Alan Mackenzie <acm@muc.de>
6043
6044 Merge branch 'scratch/follow' into emacs-25
6045
6046 This allows Isearch, etc., to work well when Follow Mode is active.
6047
6048 2015-12-19 Michael Albinus <michael.albinus@gmx.de>
6049
6050 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
6051
6052 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6053
6054 Fix last commit
6055
6056 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
6057 with numeric argument.
6058
6059 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6060
6061 Document new features of Rmail
6062
6063 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
6064 Document new behavior of 'd' and 'C-d' with numeric argument.
6065 (Rmail Display): Document the rendering of HTML MIME parts.
6066
6067 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6068
6069 Improve documentation of new cl-lib functions
6070
6071 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
6072 Fix wording.
6073
6074 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6075
6076 Document the new feature of 'minibuffer-with-setup-hook'
6077
6078 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
6079 added to `minibuffer-setup-hook'.
6080
6081 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6082
6083 Document new features of Font Lock
6084
6085 * doc/lispref/modes.texi (Other Font Lock Variables): Document
6086 'font-lock-flush-function' and 'font-lock-ensure-function'.
6087 (Font Lock Basics): Document the basic fontification functions
6088 referenced in "Other Font Lock Variables".
6089
6090 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
6091
6092 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6093
6094 Document new features of Rectangle mode
6095
6096 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
6097 rectangle-mark-mode.
6098
6099 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6100
6101 Manual followup to last change
6102
6103 * doc/lispref/display.texi (Displaying Messages): Sync with the
6104 doc string. (Bug#22210)
6105
6106 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6107
6108 Clarify doc string of 'display-message-or-buffer'
6109
6110 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
6111 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
6112
6113 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6114
6115 * doc/emacs/emacs.texi (Top): Update top-level menus.
6116
6117 * doc/lispref/elisp.texi (Top): Update top-level menus.
6118
6119 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6120
6121 Document how to avoid file-local variables that aren't
6122
6123 * doc/emacs/custom.texi (Specifying File Variables): Describe how
6124 to prevent Emacs from interpreting unrelated text as file-local
6125 variables. (Bug#22166)
6126
6127 2015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
6128
6129 Fix a typo in eterm-color's termcap entry
6130
6131 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
6132 entry. (Bug#22184)
6133
6134 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6135
6136 Allow 'browse-url-emacs' visit non-existent URLs
6137
6138 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
6139 signal an error if VISIT is non-nil, to more faithfully emulate
6140 the behavior of 'insert-file-contents'. (Bug#22160)
6141
6142 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
6143
6144 Remove SunOS 4.x cruft
6145
6146 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
6147 * lib-src/pop.c [sun]: Remove no-longer-needed include.
6148 * lwlib/xlwmenu.c (SUNSO41): Remove.
6149
6150 2015-12-19 Paul Eggert <eggert@cs.ucla.edu>
6151
6152 Merge from gnulib
6153
6154 This mostly commentary fixes.
6155 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
6156 * lib/gnulib.mk: Regenerate with new gnulib-tool.
6157
6158 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
6159
6160 Minor fixes in Tramp
6161
6162 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6163 Reorder ls arguments.
6164
6165 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
6166
6167 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
6168
6169 Make tramp a built-in package
6170
6171 * lisp/finder.el (finder-compile-keywords): Update
6172 `package--builtins' also when Version: keyword is available.
6173
6174 * lisp/net/trampver.el: Add Version: keyword.
6175 (tramp-version): Change it to "2.2.13.25.1", in order to be
6176 compatible with `version-to-list'.
6177
6178 2015-12-18 Lele Gaifax <lele@metapensiero.it>
6179
6180 * etc/tutorials/TUTORIAL.it: Update and fix typos.
6181
6182 2015-12-18 Alan Mackenzie <acm@muc.de>
6183
6184 Rename `recenter-group' to `recenter-window-group'
6185
6186 * doc/lispref/windows.texi (Textual Scrolling)
6187 * lisp/window.el (top level, recenter-group)
6188 * lisp/follow.el (follow-mode)
6189 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
6190 `recenter-window-group' and `recenter-group-function' to
6191 `recenter-window-group-function'.
6192
6193 2015-12-18 Eli Zaretskii <eliz@gnu.org>
6194
6195 Fix vertical-motion in tabulated-list mode
6196
6197 * src/indent.c (Fvertical_motion): When moving from line beginning
6198 to point under line truncation, assume overshoot by one line only
6199 if point actually lies beyond the window's right margin.
6200 (Bug#22194)
6201
6202 2015-12-18 Martin Rudalics <rudalics@gmx.at>
6203
6204 Don't have help functions call x-display-pixel-width/-height on ttys
6205
6206 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
6207 Don't call x-display-pixel-width/-height on ttys.
6208
6209 2015-12-18 Dmitry Gutov <dgutov@yandex.ru>
6210
6211 Use 'hg id' in vc-hg-previous-revision
6212
6213 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
6214 Use 'hg id' to retrieve it (bug#22032).
6215
6216 2015-12-17 Alan Mackenzie <acm@muc.de>
6217
6218 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
6219
6220 2015-12-17 Eli Zaretskii <eliz@gnu.org>
6221
6222 Fix a typo in the Emacs manual
6223
6224 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
6225 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
6226
6227 2015-12-17 Eli Zaretskii <eliz@gnu.org>
6228
6229 Fix parsing netrc entries with ports
6230
6231 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
6232 make a list out of 't'. (Bug#22188)
6233
6234 * test/automated/auth-source-tests.el
6235 (auth-source-test-netrc-parse-entry): New test.
6236
6237 2015-12-17 Paul Eggert <eggert@cs.ucla.edu>
6238
6239 Fix typo in Doug Lea malloc configure log
6240
6241 * configure.ac (emacs_cv_var_doug_lea_malloc):
6242 Fix typo that confused the log output of 'configure'.
6243
6244 2015-12-16 Nicolas Petton <nicolas@petton.fr>
6245
6246 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
6247
6248 2015-12-16 Alan Mackenzie <acm@muc.de>
6249
6250 * etc/NEWS: Move entry on pcase to correct section
6251
6252 (Accidentally omitted from previous commit)
6253
6254 2015-12-16 Alan Mackenzie <acm@muc.de>
6255
6256 Add documentation for changes to Show Paren mode.
6257
6258 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
6259
6260 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
6261 options, including the new show-paren-when-point-inside-paren and
6262 show-paren-when-point-in-periphery.
6263
6264 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
6265 Move an entry on pcase to the Lisp Changes section.
6266
6267 2015-12-16 Eli Zaretskii <eliz@gnu.org>
6268
6269 Document Eldoc changes
6270
6271 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
6272
6273 2015-12-16 Eli Zaretskii <eliz@gnu.org>
6274
6275 Fix invocation of Python and Guile interpreters from gdb-mi
6276
6277 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
6278 commands for interactive Python and Guile interpreters.
6279 (gdb-send): Recognize various ways of exiting from Python and
6280 Guile interpreters and returning to GDB. For details, see
6281 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
6282 and http://stackoverflow.com/questions/31514741.
6283
6284 2015-12-16 Paul Eggert <eggert@cs.ucla.edu>
6285
6286 Remove attempt to use C11 threads
6287
6288 C11 threads are not needed for Emacs now, and their use is causing
6289 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
6290 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
6291 * configure.ac: Do not check for C11 threads. Remove unnecessary
6292 fiddling with CPPFLAGS when configuring pthreads.
6293 * src/emacs-module.c (main_thread, check_main_thread)
6294 (module_init): Do not worry about C11 threads.
6295
6296 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
6297
6298 Set utf8 encoding with stty in Tramp
6299
6300 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6301 Move up uname check. Handle Mac OS X eol encoding. Set utf8
6302 encoding with stty.
6303
6304 2015-12-15 Alan Mackenzie <acm@muc.de>
6305
6306 Tidy up documentation associated with window groups.
6307
6308 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
6309 Groups". Correct example function to `window-group-start'.
6310 (Window Start and End, Textual scrolling): Point to the new anchor. State
6311 that (most of) the args in window group functions have the same meaning as for
6312 the corresponding window primitives.
6313
6314 * doc/lispref/positions.texi (Screen Lines). Same as above.
6315
6316 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
6317
6318 Complete last commit
6319
6320 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6321 Move uname check up. Handle Mac OS X eol encoding.
6322
6323 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
6324
6325 Handle Mac OS X eol encoding in Tramp
6326
6327 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6328 Handle Mac OS X eol encoding.
6329
6330 2015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6331
6332 Fix variable name typo in compute_tip_xy
6333
6334 * src/w32fns.c (compute_tip_xy):
6335 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
6336 when `right' is integer.
6337
6338 2015-12-14 foudfou <foudil.newbie+git@gmail.com>
6339
6340 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
6341
6342 2015-12-14 Tassilo Horn <tsdh@gnu.org>
6343
6344 Revert "Fix rx matcher overflow without limiting"
6345
6346 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
6347
6348 2015-12-14 Alan Mackenzie <acm@muc.de>
6349
6350 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
6351
6352 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
6353 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
6354
6355 2015-12-14 Tassilo Horn <tsdh@gnu.org>
6356
6357 Fix rx matcher overflow without limiting
6358
6359 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
6360 change to the regexp without imposing a limit on the length of the
6361 options.
6362
6363 2015-12-14 Alan Mackenzie <acm@muc.de>
6364
6365 Enhance ispell-skip-region-alist by generating part of it at runtime.
6366
6367 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
6368 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
6369 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
6370 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
6371 Include the result of ispell--make-filename-or-URL-re in regexps.
6372
6373 2015-12-14 Glenn Morris <rgm@gnu.org>
6374
6375 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
6376
6377 2015-12-14 Alan Mackenzie <acm@muc.de>
6378
6379 Replace GROUP argument in six window primitives by new functions.
6380
6381 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
6382 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
6383 from description of six window functions. Add in description of new functions
6384 window-group-start, window-group-end, set-window-group-start,
6385 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
6386 together with the six variables indirecting to the pertinent group
6387 functions.
6388
6389 * src/window.c
6390 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
6391 applies to these two files, which added the GROUP argument to six window
6392 primitives.
6393
6394 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
6395 functions.
6396
6397 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
6398 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
6399 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
6400 to window primitives (e.g. window-start) with a GROUP argument by calls to
6401 new functions (e.g. window-group-start).
6402
6403 * lisp/ispell.el (ispell-command-loop): Replace call to
6404 pos-visible-in-window-p with pos-visible-in-window-group-p.
6405
6406 * lisp/window.el (window-group-start, window-group-end)
6407 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
6408 (selected-window-group, move-to-window-group-line): New functions.
6409 (window-group-start-function, window-group-end-function)
6410 (set-window-group-start-function, recenter-group-function)
6411 (pos-visible-in-window-group-p-function, selected-window-group-function)
6412 (move-to-window-group-line-function): New variables.
6413
6414 2015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
6415
6416 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
6417
6418 2015-12-13 Eli Zaretskii <eliz@gnu.org>
6419
6420 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
6421
6422 2015-12-13 Tassilo Horn <tsdh@gnu.org>
6423
6424 Improve regex to not trigger stack overflow
6425
6426 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
6427 order not to trigger a stack overflow in regex matcher with unbalanced
6428 brackets (bug#22146).
6429
6430 2015-12-13 Eli Zaretskii <eliz@gnu.org>
6431
6432 Fix visiting files with raw-text
6433
6434 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
6435 when some stuff was actually read. (Bug#22162)
6436
6437 2015-12-13 Tassilo Horn <tsdh@gnu.org>
6438
6439 Fix regex matching keyval labels
6440
6441 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
6442 matching keyval labels.
6443
6444 2015-12-13 Michael Albinus <michael.albinus@gmx.de>
6445
6446 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
6447
6448 ... in case of Tramp. (Bug#20821)
6449
6450 2015-12-13 Paul Eggert <eggert@cs.ucla.edu>
6451
6452 Fix performance regression with gcc -O0
6453
6454 This fixes the smaller performance hit that I noted in:
6455 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
6456 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
6457 * src/puresize.h (puresize_h_PURE_P)
6458 (puresize_h_CHECK_IMPURE):
6459 New macros, with the old contents of the functions.
6460 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
6461 * src/puresize.h (PURE_P, CHECK_IMPURE):
6462 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
6463 * src/conf_post.h (ATTRIBUTE_UNUSED):
6464 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
6465
6466 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
6467
6468 * lisp/emacs-lisp/package.el (package-unpack): Security check
6469
6470 Check that we received the package we were offered.
6471
6472 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
6473
6474 * lisp/emacs-lisp/package.el (package--compile): Don't activate
6475
6476 `package-unpack' takes care of all activations now (other than
6477 `package-initialize). `package--compile' now only compiles.
6478
6479 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6480
6481 Document the new bindings of <UP> and <DOWN> in the minibuffer
6482
6483 * doc/emacs/mini.texi (Minibuffer History): Describe the new
6484 bindings of <UP> and <DOWN> in the minibuffer.
6485
6486 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6487
6488 Document new features of Ido
6489
6490 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
6491
6492 2015-12-12 Martin Rudalics <rudalics@gmx.at>
6493
6494 Fix frame height calculations with added menu bar on Windows (Bug#22105)
6495
6496 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
6497 when simultaneously specifying multiple parameters for
6498 `modify-frame-parameters' that all may change the frame's size.
6499 * src/w32fns.c (x_set_menu_bar_lines): Don't set
6500 windows_or_buffers_changed here.
6501 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
6502 with third argument false.
6503 * src/w32menu.c (set_frame_menubar): Set
6504 windows_or_buffers_changed here.
6505 * src/w32term.c (x_set_window_size): Determine third argument of
6506 AdjustWindowRect from whether the frame has a menu bar and not
6507 from whether it wants one.
6508
6509 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6510
6511 Document the change in interactive shell mode
6512
6513 * doc/emacs/misc.texi (Interactive Shell): Document that the
6514 '*shell*' buffer by default displays in a new window.
6515
6516 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6517
6518 Document new features of package.el
6519
6520 * doc/emacs/package.texi (Package Menu): Document the 'external'
6521 status and the new menu commands.
6522 (Package Installation): Document archive priorities.
6523
6524 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
6525 (package-menu-hide-low-priority): Doc fix.
6526
6527 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6528
6529 Update and document new features of xterm support
6530
6531 * doc/emacs/frames.texi (Text-Only Mouse): Document that
6532 track-mouse is supported by newer xterm versions.
6533
6534 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6535
6536 Document new features of Prettify Mode
6537
6538 * doc/emacs/programs.texi (Misc for Programs): Document
6539 'prettify-symbols-compose-predicate' and
6540 'prettify-symbols-unprettify-at-point'.
6541
6542 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
6543 (prettify-symbols-default-compose-p)
6544 (prettify-symbols-compose-predicate)
6545 (prettify-symbols--compose-symbol): Doc fixes.
6546
6547 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6548
6549 Document multi-mode indentation facilities
6550
6551 * doc/lispref/text.texi (Mode-Specific Indent): Document
6552 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
6553
6554 * lisp/progmodes/prog-mode.el (prog-indentation-context)
6555 (prog-widen): Doc fixes.
6556
6557 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6558
6559 Document 'vc-refresh-state'
6560
6561 * doc/emacs/maintaining.texi (Version Control): Document
6562 'vc-refresh-state'.
6563
6564 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
6565
6566 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6567
6568 Fix echo for "C-u"
6569
6570 * src/keyboard.c (command_loop_1): Undo last change. It caused
6571 duplicate echo of C-u. (Bug#22107)
6572
6573 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6574
6575 Avoid errors when creating files under SVN in new directory
6576
6577 * lisp/vc/vc-svn.el (vc-svn-registered): Use
6578 file-accessible-directory-p, to avoid cd'ing to a non-existing
6579 directory, which signals an error on some systems. (Bug#21984)
6580 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
6581 Use declare-function to avoid byte-compiler warnings.
6582
6583 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6584
6585 Improve Lua support in etags
6586
6587 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
6588 "function".
6589
6590 * etc/NEWS: Mention improved Lua support by 'etags'.
6591
6592 * test/etags/lua-src/test.lua (test): Add tests for indented
6593 function definitions.
6594 * test/etags/ETAGS.good_1:
6595 * test/etags/ETAGS.good_2:
6596 * test/etags/ETAGS.good_3:
6597 * test/etags/ETAGS.good_4:
6598 * test/etags/ETAGS.good_5:
6599 * test/etags/ETAGS.good_6:
6600 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
6601
6602 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6603
6604 Fix 'this-command-keys' wrt prefix argument
6605
6606 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
6607 was part of this-command-keys, but not of this-single-command-keys.
6608 (Bug#22107)
6609
6610 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
6611 commentary about the function's return value.
6612
6613 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6614
6615 * lisp/files.el (load-library): Doc fix. (Bug#22140)
6616
6617 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6618
6619 Improve and document Ruby support in 'etags'
6620
6621 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
6622 (Ruby_functions): Support "module" and overloaded operators.
6623 (Ruby_help): Mention "module".
6624
6625 * test/etags/ruby-src/test.rb:
6626 * test/etags/ruby-src/test1.ru: New files.
6627 * test/etags/Makefile (RBSRC): New tests.
6628 (SRCS): Add ${RBSRC}.
6629 * test/etags/ETAGS.good_1:
6630 * test/etags/ETAGS.good_2:
6631 * test/etags/ETAGS.good_3:
6632 * test/etags/ETAGS.good_4:
6633 * test/etags/ETAGS.good_5:
6634 * test/etags/ETAGS.good_6:
6635 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
6636
6637 * doc/man/etags.1: Mention Ruby support.
6638 * etc/NEWS: Mention Ruby support.
6639
6640 2015-12-11 Xi Lu <lx@shellcodes.org>
6641
6642 Initial support for Ruby in 'etags'
6643
6644 * lib-src/etags.c <Ruby_suffixes>: New variable.
6645 (lang_names): Add an entry for Ruby.
6646 (Ruby_functions): New function. (Bug#22116)
6647
6648 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6649
6650 Clarify documentation of 'modify-frame-parameters'
6651
6652 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
6653 PARMs" mean for 'modify-frame-parameters'.
6654
6655 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
6656 PARMs" mean for this function. (Bug#22104)
6657
6658 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6659
6660 Fix setting buffer unibyte when reading from a device
6661
6662 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
6663 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
6664
6665 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6666
6667 Clarify documentation of 'values'
6668
6669 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
6670 updated by any evaluation commands in 'lisp-interaction-mode'.
6671 (Bug#22056)
6672
6673 2015-12-11 Anders Lindgren <andlind@gmail.com>
6674
6675 Fixed subversion vc error when opening file in new directory (bug#21984).
6676
6677 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
6678
6679 2015-12-09 Eli Zaretskii <eliz@gnu.org>
6680
6681 Yet another fix for when point ends up in invisible text
6682
6683 * src/xdisp.c (redisplay_window): When someone forced
6684 window-start, and honoring that failed to show the cursor, try
6685 moving out of invisible text, before falling back to the middle of
6686 the window. (Bug#22098)
6687
6688 2015-12-09 Michael Albinus <michael.albinus@gmx.de>
6689
6690 Fix error in Tramp perl script for cygwin
6691
6692 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
6693 error if file doesn't exist.
6694
6695 2015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6696
6697 Remove font workaround for limited outdated versions
6698
6699 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
6700 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
6701
6702 2015-12-09 Anders Lindgren <andlind@gmail.com>
6703
6704 Don't add "." to load path (bug#21104)
6705
6706 When configured with --enable-locallisppath=no, which is the
6707 default for OS X, the load-path incorrectly was populated with ".".
6708
6709 * src/lread.c (init_lread): Don't call `decode_env_path' when
6710 PATH_SITELOADSEARCH is empty.
6711
6712 2015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
6713
6714 * lisp/emacs-lisp/package.el (package--with-response-buffer):
6715
6716 Search for the blank-line in the right buffer.
6717
6718 2015-12-08 Glenn Morris <rgm@gnu.org>
6719
6720 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
6721 for recent change.
6722
6723 2015-12-08 Glenn Morris <rgm@gnu.org>
6724
6725 Fix some display-warning usage.
6726
6727 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
6728 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6729 * lisp/calendar/holidays.el (calendar-holiday-list):
6730 * lisp/mail/rmailout.el (rmail-output-read-file-name):
6731 Fix display-warning usage.
6732
6733 2015-12-08 Glenn Morris <rgm@gnu.org>
6734
6735 * lisp/calendar/cal-html.el: Require diary-lib.
6736
6737 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
6738
6739 2015-12-08 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6740
6741 Add Obsolete-since header to eudcb-ph.el
6742
6743 * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
6744
6745 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
6746
6747 Spelling fixes
6748
6749 * doc/misc/calc.texi (Predefined Units): Use the bland modern
6750 scientific style for spelling the units “ampere” and
6751 “angstrom” rather than the older style “Ampere” and
6752 “Ångstrom”. The latter spelling was wrong anyway (it should
6753 have been “Ångström”).
6754 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
6755 Fix misspelling of ‘atom’ in code.
6756
6757 2015-12-07 Eli Zaretskii <eliz@gnu.org>
6758
6759 Improve documentation of kill commands
6760
6761 * lisp/simple.el (region-extract-function, delete-backward-char)
6762 (delete-forward-char, kill-region, copy-region-as-kill)
6763 (kill-ring-save): Better document the optional argument REGION in
6764 the doc strings. Mention in the doc strings that text put in the
6765 kill-ring can be filtered by 'filter-buffer-substring'.
6766
6767 * doc/lispref/text.texi (Kill Functions): Mention that functions
6768 described in this subsection can filter text they put in the
6769 kill-ring. Add a cross-reference to "Buffer Contents" and an
6770 index entry. Document the optional argument 'region' and its
6771 effect.
6772 (Bug#21315)
6773
6774 2015-12-07 Alan Mackenzie <acm@muc.de>
6775
6776 Further progress making Isearch, Ispell, Replace work with Follow Mode.
6777
6778 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
6779 no longer exists. Add follow-post-command-hook to three special purpose
6780 hooks at setup, and remove them at tear down.
6781
6782 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
6783 isearch-lazy-highlight-new-loop.
6784 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
6785 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
6786 it.
6787 (isearch-lazy-highlight-maybe-new-loop): function removed.
6788
6789 * lisp/replace.el: (replace-update-post-hook): New hook variable.
6790 (perform-replace): Add second (nil) argument to looking-back. Invoke
6791 replace-update-post-hook before calling replace-highlight.
6792
6793 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
6794 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
6795 call of pos-visible-in-window-p.
6796 (ispell-display-buffer): Place *Choices* window at the top of the last window
6797 in a window group.
6798
6799 2015-12-07 Alan Mackenzie <acm@muc.de>
6800
6801 Amend doc of `mapconcat': it can take sequences, not merely strings.
6802
6803 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
6804 to say that SEPARATOR and the results from FUNCTION may be any character
6805 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
6806
6807 2015-12-07 Michael Albinus <michael.albinus@gmx.de>
6808
6809 Fix an utf8 problem for Tramp on BSD
6810
6811 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6812 Make lax check for utf8.
6813 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
6814
6815 2015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6816
6817 Make eudcb-ph.el obsolete
6818
6819 * doc/misc/eudc.texi: Bump version to 1.40.0.
6820 Remove PH/QI sections and mentions.
6821 * lisp/obsolete/eudcb-ph.el: Make obsolete.
6822 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
6823 (eudc-ph-bbdb-conversion-alist): Make obsolete.
6824 * etc/NEWS: Mention this. (Bug#21191)
6825
6826 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
6827
6828 Remove overenthusiastic eassert
6829
6830 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
6831 previous change. It breaks on MS-Windows --with-wide-int.
6832 Problem reported by Eli Zaretskii in:
6833 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
6834
6835 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
6836
6837 Pacify gcc -Wparentheses
6838
6839 * src/xdisp.c (row_containing_pos): Reparenthesize.
6840
6841 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
6842
6843 Port mod-test to 32-bit Emacs --without-wide-int
6844
6845 * modules/mod-test/test.el (mod-test-sum-test):
6846 Bring back the 2**29 tests, but port them to 32-bit Emacs
6847 --without-wide-int.
6848
6849 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
6850
6851 Fix minor Tramp problems found on BSD
6852
6853 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
6854 trailing slash. Quote apostrophes.
6855 (tramp-sh-handle-file-truename): Do not append trailing slash in
6856 the "ls" case.
6857 (tramp-get-ls-command-with-w-option): New defun.
6858 (tramp-do-file-attributes-with-ls)
6859 (tramp-do-directory-files-and-attributes-with-stat): Use it.
6860
6861 * test/automated/tramp-tests.el
6862 (tramp-test31-special-characters-with-perl)
6863 (tramp-test31-special-characters-with-ls)
6864 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
6865 Suppress also readlink.
6866
6867 2015-12-06 Eli Zaretskii <eliz@gnu.org>
6868
6869 Fix cursor display when invisible text is at line beginning
6870
6871 * src/xdisp.c (redisplay_window): When scrolling fails to show
6872 point, prefer using the desired matrix if possible for finding the
6873 fallback glyph row for displaying the cursor. (Bug#22098)
6874 (row_containing_pos): Exit the loop as soon as we hit the first
6875 disabled glyph row. Otherwise we risk accessing garbled data and
6876 departing to the no-no land.
6877
6878 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
6879
6880 Improve module interface when WIDE_EMACS_INT
6881
6882 * src/emacs-module.c (plain_values): New constant.
6883 (module_nil): Now a constant.
6884 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
6885 (syms_of_module): Use if, not #ifdef, so that both sides are
6886 checked at compile-time, and so that GCC doesn’t complain
6887 about an unused var in the typical case. Also, depend on
6888 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
6889 that WIDE_EMACS_INT implies !USE_LSB_TAG.
6890 (value_to_lisp_bits, lisp_to_value_bits): New functions.
6891 Sign-extend integers rather than zero-extending them, as small
6892 negative integers are more likely.
6893 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
6894 functions.
6895 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
6896 (mark_modules): Remove. All uses removed.
6897 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
6898 to GCALIGNMENT.
6899 (syms_of_module): Check that module_nil converts to Qnil.
6900 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
6901 we prefer signed to unsigned when either will do.
6902 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
6903 a bit better for emacs-module.c.
6904
6905 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
6906
6907 Port mod-test to x86-64 GNU/Linux running 32-bit
6908
6909 * modules/mod-test/test.el (mod-test-sum-test):
6910 Don’t attempt to match descriptions to operating systems.
6911 It didn’t work on Fedora x86-64 running a 32-bit executable,
6912 and it’s not worth the trouble anyway.
6913 Port to 32-bit platforms by removing an assumption about
6914 fixnum widths.
6915
6916 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
6917
6918 Fix auto-revert-tests.el when filenotify isn't used
6919
6920 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
6921 Make it working also when filenotify isn't used.
6922
6923 2015-12-06 Juri Linkov <juri@linkov.net>
6924
6925 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
6926
6927 Let-bind isearch-regexp-function to nil. (Bug#22097)
6928
6929 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
6930
6931 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
6932
6933 (package--with-response-buffer): NOERROR and ERROR-FORM only
6934 handle connection errors.
6935 (bad-signature): New error type.
6936 (package--check-signature-content): Use it.
6937 (package--check-signature): Properly distinguish connection errors
6938 from bad-signature errors. Do the check for
6939 `package-check-signature' `allow-unsigned' here instead of forcing
6940 the callbacks to do it. Add a new argument, UNWIND.
6941 (package--download-one-archive, package-install-from-archive):
6942 Update usage of `package--check-signature'.
6943
6944 2015-12-05 Ulf Jasper <ulf.jasper@web.de>
6945
6946 Fix Bug#22092.
6947
6948 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
6949 Clean up inconsistent line endings. (Bug#22092)
6950 (icalendar--clean-up-line-endings): New.
6951 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
6952 for Bug#22092.
6953
6954 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6955
6956 Document 'bookmark-set-no-overwrite'
6957
6958 * doc/emacs/regs.texi (Bookmarks): Document the new command
6959 'bookmark-set-no-overwrite' and its keybinding.
6960
6961 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6962
6963 Document new binding of 'mouse-buffer-menu'
6964
6965 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
6966 now also on C-F10.
6967
6968 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6969
6970 Initial documentation of dynamic modules
6971
6972 * doc/lispref/loading.texi (Dynamic Modules): New section with
6973 initial documentation for dynamic modules.
6974 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
6975 detailed menu
6976
6977 * etc/NEWS: Fix typos in dynamic modules' entry.
6978
6979 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
6980
6981 Remove copyright statements from trivial test files
6982
6983 2015-12-05 Eli Zaretskii <eliz@gnu.org>
6984
6985 Add "Preliminaries" section to etc/DEBUG
6986
6987 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
6988 Most of the content was suggested by Phillip Lord
6989 <phillip.lord@russet.org.uk>. Remove the section about debugging
6990 with the Visual Studio, as building Emacs with the Microsoft
6991 compilers is no longer supported. Minor fixes in some other
6992 sections.
6993
6994 2015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
6995
6996 Improve parsing of version strings
6997
6998 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
6999 (version-to-list): More helpful error messages.
7000 (version-to-list): ".5" is valid (update docstring). Make
7001 "22.8X3" invalid, as the doc string says.
7002
7003 * test/automated/subr-tests.el (ert-test-version-parsing): New
7004 tests for version string processing.
7005
7006 2015-12-05 Eli Zaretskii <eliz@gnu.org>
7007
7008 Fix documentation of 'undo' changes
7009
7010 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
7011 English conventions for spelling and whitespace between sentences.
7012
7013 * etc/NEWS: Fix wording and spelling of undo-related entries.
7014 Mark them as documented.
7015
7016 2015-12-05 Glenn Morris <rgm@gnu.org>
7017
7018 * lisp/net/net-utils.el: Small improvements.
7019
7020 (net-utils--executable-find-sbin): New function.
7021 (ifconfig-program): Check sbin directories.
7022 Fallback to "ip". (Bug#22091)
7023 (ifconfig-program-options): Check the actual program in use.
7024 (arp-program): Check sbin directories.
7025
7026 2015-12-04 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
7027
7028 Fix wrong-type-argument integer-or-marker-p nil error
7029
7030 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
7031 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
7032
7033 2015-12-04 Alan Mackenzie <acm@muc.de>
7034
7035 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
7036
7037 Merge necessitated by a rebase operation.
7038
7039 2015-12-04 Alan Mackenzie <acm@muc.de>
7040
7041 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
7042
7043 2015-12-04 Alan Mackenzie <acm@muc.de>
7044
7045 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
7046
7047 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
7048 Windows" and new @defun selected-window-group.
7049 (Window Start and End): Describe new &optional parameter GROUP and
7050 ...-group-function for window-start, window-end, set-window-start, and
7051 pos-visible-in-window-p.
7052 (Textual Scrolling) Describe the same for recenter.
7053 doc/lispref/positions.texi (Screen Lines): Describe the same for
7054 move-to-window-line.
7055
7056 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
7057 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
7058 new optional parameter "group". At the beginning of each, check whether the
7059 corresponding ...-group-function is set to a function, and if so execute this
7060 function in place of the normal processing.
7061 (syms_of_window): Define symbols for the six new variables below.
7062 (window-start-group-function, window-end-group-function)
7063 (set-window-start-group-function, recenter-group-function)
7064 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
7065 New permanent local buffer local variables.
7066 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
7067 Fpos_visible_in_window_p.
7068
7069 lisp/window.el (selected-window-group-function): New permanent local buffer
7070 local variable.
7071 (selected-window-group): New function.
7072
7073 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
7074 enable, kill them at mode disable. Add/remove follow-after-change to/from
7075 after-change-functions.
7076 (follow-start-end-invalid): New variable.
7077 (follow-redisplay): Manipulate follow-start-end-invalid.
7078 (follow-after-change, follow-window-start, follow-window-end)
7079 (follow-set-window-start, follow-pos-visible-in-window-p)
7080 (follow-move-to-window-line, follow-sit-for): New functions.
7081
7082 lisp/isearch.el (isearch-call-message): New macro.
7083 (isearch-update, with-isearch-suspended, isearch-del-char)
7084 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
7085 (with-isearch-suspended): Rearrange code such that isearch-call-message is
7086 invoked before point is moved.
7087 (isearch-message): Add comment about where point must be at function call.
7088 (isearch-search): Remove call to isearch-message.
7089 (isearch-lazy-highlight-window-group): New variable.
7090 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
7091 the battery of tests to ...
7092 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
7093 Note: (sit-for 0) is still called.
7094 (isearch-lazy-highlight-update): Check membership of
7095 isearch-lazy-highlight-window-group. Don't set the `window' overlay
7096 property.
7097 (isearch-update, isearch-done, isearch-string-out-of-window)
7098 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
7099 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
7100 (isearch-lazy-highlight-update): Call the six amended primitives (see
7101 src/window.c above) with the new `group' argument set to t, to cooperate
7102 with Follow Mode.
7103
7104 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
7107
7108 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
7109 (ert--explain-format-atom, ert--explain-equal-rec)
7110 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
7111 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
7112
7113 2015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
7114
7115 * lisp/character-fold.el: Remove special case-folding support
7116
7117 (character-fold-to-regexp): Remove special code for
7118 case-folding. Char-fold search still respects the
7119 `case-fold-search' variable (i.e., f matches F). This only
7120 removes the code that was added to ensure that f also matched
7121 all chars that F matched. For instance, after this commit, f
7122 no longer matches 𝔽.
7123
7124 This was necessary because the logic created a regexp with
7125 2^(length of the string) redundant paths. So, when a very
7126 long string "almost" matched, Emacs took a very long time to
7127 figure out that it didn't. This became particularly relevant
7128 because isearch's lazy-highlight does a search bounded by (1-
7129 match-end) (which, in most circumstances, is a search that
7130 almost matches). A recipe for this can be found in bug#22090.
7131
7132 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
7135
7136 Fixes (bug#21701)
7137
7138 2015-12-04 Daiki Ueno <ueno@gnu.org>
7139
7140 lisp/gnus/qp.el: Don't replace "from " at bol
7141
7142 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
7143 to nil when looking for "^From ". Problem reported by Simon Josefsson.
7144
7145 2015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
7146
7147 Externalize some symbols in undo-auto
7148
7149 * doc/lispref/text.texi: Update symbols.
7150 * lisp/simple.el (undo-auto--amalgamate,
7151 undo-auto--current-boundary-timer): Make symbols public.
7152 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
7153 updated symbol.
7154
7155 2015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
7158
7159 2015-12-03 Michael Albinus <michael.albinus@gmx.de>
7160
7161 Some error message improvements in tramp-sh.el
7162
7163 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7164 Suppress error messages for "mesg" and "biff" calls.
7165 (tramp-get-remote-path): Ignore errors when expanding
7166 `tramp-own-remote-path'. Raise a warning instead.
7167
7168 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7169
7170 Document 'nacl' value for 'system-type'
7171
7172 * doc/lispref/os.texi (System Environment): Document the 'nacl'
7173 value of 'system-type'.
7174
7175 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7176
7177 Document 'window-max-chars-per-line'
7178
7179 * doc/lispref/windows.texi (Window Sizes): Document
7180 'window-max-chars-per-line'.
7181
7182 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
7183
7184 Fix some file headers for the purpose of `package--builtins'
7185
7186 * lisp/emacs-lisp/cl-preloaded.el
7187 * lisp/emacs-lisp/eieio-compat.el
7188 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
7189
7190 * lisp/ielm.el: Fix summary line.
7191
7192 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
7193
7194 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
7195
7196 Reload any previously loaded package files before compiling
7197 the package (also reload the same files after compiling).
7198 This ensures that we have the most recent definitions during
7199 compilation, and avoids generating bad elc files when a macro
7200 changes and it is used in a different file from the one it's
7201 defined in.
7202
7203 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
7204
7205 * lisp/emacs-lisp/package.el: Refactor package activation code
7206
7207 (package-activate): Move code that activates dependencies into
7208 package-activate-1.
7209 (package--load-files-for-activation): New function.
7210 (package-activate-1): Add code for (optionally) activating
7211 dependencies, and move file-loading code into
7212 `package--load-files-for-activation'.
7213
7214 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7215
7216 Document new font-related functionality
7217
7218 * doc/lispref/display.texi (Low-Level Font): Document
7219 'default-font-width', 'default-font-height', 'window-font-width',
7220 and 'window-font-height'.
7221
7222 * etc/NEWS: Move entries for 'default-font-width',
7223 'default-font-height', 'window-font-width', and 'window-font-height'
7224 to their place and mark them documented.
7225
7226 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7227
7228 Fix documentation and implementation of 'directory-name-p'
7229
7230 * lisp/files.el (directory-name-p): Modify to recognize
7231 backslashes on MS-Windows and MS-DOS. Adjust the doc string
7232 accordingly. Use '=', not char-equal, for comparison, as
7233 letter-case cannot possibly be an issue here.
7234
7235 * doc/lispref/files.texi (Directory Names): Move the documentation
7236 of directory-name-p here from "Relative File Names". Update the
7237 description per the changes in implementation.
7238
7239 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
7240 place and mark it documented.
7241
7242 2015-12-02 Eli Zaretskii <eliz@gnu.org>
7243
7244 Minor copyedit in Emacs manual
7245
7246 * doc/emacs/search.texi (Lax Search): Make wording about character
7247 folding by default less definitive. (Bug#22043)
7248
7249 2015-12-02 Eli Zaretskii <eliz@gnu.org>
7250
7251 More emacs-module.c fixes for wide ints
7252
7253 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
7254 unsigned data types to manipulate pointers, to avoid sign
7255 extension coming after us with a vengeance.
7256
7257 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
7258 Emacs with wide ints that verify integer values near the critical
7259 value that requires us to switch to a cons cell.
7260
7261 2015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
7262
7263 Fix bug#22069 in cl-generic.el
7264
7265 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
7266 not run thru `format'.
7267
7268 2015-12-02 Dmitry Gutov <dgutov@yandex.ru>
7269
7270 APPEND etags--xref-backend to xref-backend-functions
7271
7272 * lisp/progmodes/xref.el (xref-backend-functions):
7273 Use APPEND when adding the default element
7274 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
7275
7276 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7277
7278 More accurate documentation of lax whitespace matching
7279
7280 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
7281 (word-search-backward, word-search-forward)
7282 (word-search-backward-lax, word-search-forward-lax): Mention in
7283 doc strings that toggling lax whitespace matching has no effect on
7284 these commands.
7285
7286 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
7287 lax whitespace matching has no effect on these commands.
7288
7289 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7290
7291 Fix emacs-module.c for wide ints
7292
7293 * src/emacs-module.c (lisp_to_value): Compare the produced value
7294 with the original Lisp object, not with the one potentially
7295 converted into a Lisp_Cons. Fixes assertion violations when
7296 working with integers larger than fit into a 32-bit value.
7297
7298 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
7299 large integers, to test --with-wide-int.
7300
7301 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7302
7303 Document 'directory-files-recursively'
7304
7305 * lisp/files.el (directory-files-recursively): Doc fix. Rename
7306 the argument MATCH to REGEXP, to be more explicit about its form.
7307
7308 * doc/lispref/files.texi (Contents of Directories): Improve the
7309 documentation of 'directory-files-recursively'. Add
7310 cross-references.
7311
7312 * etc/NEWS: Move the entry for 'directory-files-recursively' to
7313 its place and mark it documented.
7314
7315 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7316
7317 Document 'inhibit-read-only' property
7318
7319 * doc/lispref/text.texi (Special Properties): Describe the new
7320 'inhibit-read-only' text property. Add cross-reference to where
7321 read-only buffers are described.
7322 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
7323 'inhibit-read-only' property exempts text from being read-only.
7324 Add cross-reference to "Special Properties".
7325
7326 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
7327 its place and mark it documented.
7328
7329 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
7330
7331 * lisp/emacs-lisp/package.el: Update header comments
7332
7333 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
7334
7335 * lisp/character-fold.el: Add back multi-char matching
7336
7337 (character-fold-to-regexp): Uncomment recently commented code
7338 and make the algorithm "dummer" by not checking every possible
7339 combination. This will miss some possible matches, but it
7340 greatly reduces regexp size.
7341
7342 * test/automated/character-fold-tests.el
7343 (character-fold--test-fold-to-regexp): Comment out test of
7344 functionality no longer supported.
7345
7346 2015-12-01 Xue Fuqiao <xfq.free@gmail.com>
7347
7348 * doc/emacs/ack.texi (Acknowledgments): Update.
7349
7350 2015-12-01 Michael Albinus <michael.albinus@gmx.de>
7351
7352 Check `file-remote-p' over absolute files names in files.el
7353
7354 * lisp/files.el (directory-files-recursively)
7355 (get-free-disk-space): Check `file-remote-p' over absolute files names.
7356
7357 2015-12-01 Andreas Schwab <schwab@linux-m68k.org>
7358
7359 * src/lread.c (syms_of_lread): Doc fix.
7360
7361 2015-12-01 Dmitry Gutov <dgutov@yandex.ru>
7362
7363 Don't mistake certain JS method calls for keywords
7364
7365 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
7366 Braceless keyword can't come after a period (bug#22063).
7367
7368 2015-12-01 David Reitter <david.reitter@gmail.com>
7369
7370 Read frame_title_format from buffer-local variable for NS port
7371
7372 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
7373 icon-title-format variables from buffer in appropriate window.
7374 (Bug#22048)
7375
7376 2015-12-01 Juri Linkov <juri@linkov.net>
7377
7378 * lisp/replace.el (occur-engine): Count matches in empty lines.
7379
7380 (Bug#22062)
7381
7382 2015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
7383
7384 * src/emacs-module.h: Fix finalizer typedef for C++11
7385
7386 C++11 standard doesn't allow exception-specification in typedef.
7387 The workaround is to declare a dummy function prototype and use
7388 decltype on it.
7389
7390 2015-11-30 Eli Zaretskii <eliz@gnu.org>
7391
7392 Fix last change
7393
7394 * src/emacs-module.c (lisp_to_value, value_to_lisp)
7395 [WIDE_EMACS_INT]: Avoid compiler warnings.
7396
7397 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 Rely on conservative stack scanning to find "emacs_value"s
7400
7401 * src/emacs-module.c (struct emacs_value_tag)
7402 (struct emacs_value_frame, struct emacs_value_storage): Remove.
7403 (value_frame_size): Remove constant.
7404 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
7405 (lisp_to_value): Remove first arg.
7406 (module_nil): New constant.
7407 Use it instead of NULL when returning an emacs_value.
7408 (module_make_function): Adjust to new calling convention of
7409 Qinternal_module_call.
7410 (DEFUN): Receive args in an array rather than a list.
7411 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
7412 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
7413 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
7414 Adjust to new type of non_local_exit info.
7415 (ltv_mark) [WIDE_EMACS_INT]: New constant.
7416 (value_to_lisp, lisp_to_value): Rewrite.
7417 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
7418 (allocate_emacs_value): Remove function.
7419 (mark_modules): Gut it.
7420 (initialize_environment): Don't initialize storage any more.
7421 Keep the actual env object on Vmodule_environments.
7422 (finalize_environment): Don't finalize storage any more.
7423 (syms_of_module): Initialize ltv_mark and module_nil.
7424
7425 * src/emacs-module.h (emacs_value): Make it more clear that this type
7426 is really opaque, including the fact that NULL may not be valid.
7427
7428 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
7429 Don't assume that NULL is a valid emacs_value.
7430
7431 2015-11-30 Eli Zaretskii <eliz@gnu.org>
7432
7433 Yet another doc improvement for search commands
7434
7435 * doc/emacs/search.texi (Word Search, Symbol Search)
7436 (Regexp Search): Document commands that don't support lax
7437 whitespace matching or character folding.
7438 (Nonincremental Search): Mention the search commands that can be
7439 invoked from the menu bar.
7440
7441 * lisp/isearch.el (isearch-define-mode-toggle-word)
7442 (isearch-define-mode-toggle-symbol)
7443 (isearch-define-mode-toggle-character-fold): Note in the doc
7444 string that turning these on exits the regexp mode.
7445 (isearch-forward-regexp, isearch-forward-word)
7446 (isearch-forward-symbol, isearch-backward-regexp)
7447 (word-search-backward, word-search-forward)
7448 (word-search-backward-lax, word-search-forward-lax): State in the
7449 doc string which commands don't support character folding and/or
7450 lax-whitespace matching.
7451
7452 2015-11-30 Martin Rudalics <rudalics@gmx.at>
7453
7454 Run `window-size-change-functions' also when reading from minibuffer
7455
7456 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
7457 also when reading from minibuffer.
7458
7459 2015-11-30 Ulf Jasper <ulf.jasper@web.de>
7460
7461 Fix scrambling of html-rendered item buffers
7462
7463 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
7464 scrambling of contents by wrapping call to html-renderer in
7465 save-selected-window.
7466
7467 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
7468
7469 Fix font typo in previous doc fix.
7470
7471 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
7472
7473 A bit more security doc, esp. file local vars
7474
7475 * doc/emacs/emacs.texi (Top):
7476 * doc/emacs/misc.texi (Miscellaneous Commands):
7477 Refer to new Host Security section.
7478 (Host Security): New section.
7479 * doc/lispref/os.texi (Security Considerations):
7480 Mention file local variables.
7481
7482 2015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
7483
7484 * lisp/character-fold.el: Comment out branching code
7485
7486 (character-fold-to-regexp): Comment out code that uses multi-char
7487 table. The branching caused by this induces absurdly long regexps,
7488 up to 10k chars for as little as 25 input characters.
7489
7490 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
7491
7492 Spelling and grammar fixes
7493
7494 2015-11-30 Dmitry Gutov <dgutov@yandex.ru>
7495
7496 Make lisp-completion-at-point a wrapper instead of an alias
7497
7498 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
7499 Turn into an obsolete wrapper around elisp-completion-at-point
7500 (bug#20455).
7501
7502 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7503
7504 * lisp/isearch.el (isearch-search-fun-default): Nicer error
7505
7506 message when the search fails.
7507
7508 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
7509
7510 Update menu-bar-goto-uses-etags-p for the current xref API
7511
7512 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
7513 xref-backend-functions, instead of now-nonexistent
7514 xref-find-function.
7515
7516 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7517
7518 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
7519
7520 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7521
7522 * lisp/menu-bar.el: Use folding in searches
7523
7524 (nonincremental-search-forward): Use `isearch-search-fun-default'
7525 to determine the search function.
7526 (nonincremental-search-backward)
7527 (nonincremental-repeat-search-forward)
7528 (nonincremental-repeat-search-backward): Use it.
7529
7530 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7531
7532 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
7533
7534 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7535
7536 * lisp/character-fold.el (character-fold-to-regexp): Be careful
7537
7538 not to return huge regexps.
7539
7540 2015-11-29 Eli Zaretskii <eliz@gnu.org>
7541
7542 Improve documentation of string-collate-* functions
7543
7544 * doc/lispref/strings.texi (Text Comparison): Improve wording and
7545 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
7546
7547 * etc/NEWS: Move the entry of 'string-collate-equalp' and
7548 'string-collate-lessp' to "Lisp Changes" section and mark it as
7549 documented.
7550
7551 2015-11-29 Eli Zaretskii <eliz@gnu.org>
7552
7553 Document truncate-string-ellipsis
7554
7555 * doc/lispref/display.texi (Size of Displayed Text): Document
7556 'truncate-string-ellipsis'.
7557
7558 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
7559 (truncate-string-to-width): Mention in the doc string that the
7560 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
7561
7562 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
7563 Changes" section.
7564
7565 2015-11-29 Eli Zaretskii <eliz@gnu.org>
7566
7567 Fix confusion wrt character folding in the Emacs manual
7568
7569 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
7570 Document that invoking search-forward/backward and
7571 re-search-forward/backward supports only case folding, but not the
7572 rest of the lax-search features. Reported by Mike Kupfer
7573 <m.kupfer@acm.org>.
7574
7575 2015-11-29 Ken Brown <kbrown@cornell.edu>
7576
7577 Update mod-test-sum-test
7578
7579 * modules/mod-test/test.el (mod-test-sum-test): Update to
7580 accommodate the lack of dladdr on Cygwin.
7581
7582 2015-11-29 Alan Mackenzie <acm@muc.de>
7583
7584 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
7585
7586 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
7587 to `funcall', (i) Output an error message; (ii) Generate code to signal a
7588 `wrong-number-of-arguments' error.
7589
7590 2015-11-29 Martin Rudalics <rudalics@gmx.at>
7591
7592 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
7593
7594 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
7595
7596 * lisp/character-fold.el (character-fold-to-regexp)
7597
7598 Warn about using long strings.
7599
7600 * test/automated/character-fold-tests.el
7601 (character-fold--test-lax-whitespace)
7602 (character-fold--test-consistency): Reduce string size for tests.
7603
7604 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7605
7606 Document renaming of x-select-enable-* variables
7607
7608 * doc/emacs/killing.texi (Clipboard): Rename
7609 x-select-enable-clipboard to select-enable-clipboard and
7610 x-select-enable-primary to select-enable-primary. Update index
7611 entries.
7612
7613 * etc/NEWS: Mark entry as documented.
7614
7615 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7616
7617 Document the shorthand hints displayed by M-x
7618
7619 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
7620 suggest-key-bindings. Document the shorthand hints for commands
7621 that have no key bindings. Document that M-x completion ignores
7622 obsolete commands.
7623
7624 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
7625 documented.
7626
7627 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7628
7629 Update docs of character folding
7630
7631 * doc/emacs/search.texi (Lax Search): Update the description of
7632 character folding for the latest changes.
7633
7634 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
7635
7636 * lisp/character-fold.el: Also play nice with case-folding
7637
7638 (character-fold-to-regexp): Take `case-fold-search' into account.
7639
7640 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
7641
7642 * lisp/character-fold.el: Add support for multi-char matches
7643
7644 (character-fold-table): Now has an extra-slot. This is a second
7645 char-table that holds multi-character matches. See docstring for
7646 details.
7647 (character-fold-to-regexp): Can build branching regexps when a
7648 character's entry the extra slot of `character-fold-table' matches the
7649 characters that succeed it.
7650
7651 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
7652
7653 * lisp/character-fold.el: Code simplifications
7654
7655 (character-fold-table): Reduce the scope of a variable.
7656 (character-fold-to-regexp): Change logic to work directly on the
7657 input string. It's a little easier to understand, probably
7658 faster, and sets us up for implementing multi-char matches.
7659
7660 * test/automated/character-fold-tests.el
7661 (character-fold--test-fold-to-regexp): New test.
7662
7663 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7664
7665 Document changes in "C-h l"
7666
7667 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
7668
7669 * etc/NEWS: mark "C-h l" changes as documented.
7670
7671 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7672
7673 Finalize documentation of 'custom-prompt-customize-unsaved-options'
7674
7675 * doc/emacs/custom.texi (Saving Customizations): Index the new
7676 function 'custom-prompt-customize-unsaved-options'.
7677
7678 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
7679 is useful.
7680
7681 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7682
7683 Document 'comment-line'
7684
7685 * doc/emacs/programs.texi (Comment Commands): Document
7686 'comment-line'.
7687
7688 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
7689
7690 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7691
7692 Document new checkdoc features
7693
7694 * doc/lispref/tips.texi (Tips, Library Headers): Document the
7695 keyword-checking features of checkdoc and the commands
7696 'checkdoc-file' and 'checkdoc-current-buffer'.
7697
7698 * etc/NEWS: Move the checkdoc-related entries to their own
7699 section.
7700
7701 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
7702
7703 Simplify the prologue of emacs-module.c functions
7704
7705 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
7706 (module_make_global_ref)
7707 (module_free_global_ref, module_make_function, module_funcall)
7708 (module_intern, module_type_of, module_extract_integer)
7709 (module_make_integer, module_extract_float, module_make_float)
7710 (module_copy_string_contents, module_make_string)
7711 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
7712 (module_get_user_finalizer, module_set_user_finalizer)
7713 (module_vec_set, module_vec_get, module_vec_size): Use new helper
7714 macro MODULE_FUNCTION_BEGIN.
7715
7716 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7717
7718 Don't reject module calls with no arguments
7719
7720 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
7721
7722 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
7723
7724 Make module-call be visible from Lisp
7725
7726 * src/emacs-module.c (module_make_function): Use internal--module-call.
7727 (Finternal_module_call): Renamed from Fmodule_call. Add safety
7728 checks.
7729 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
7730 defsubr internal--module-call.
7731
7732 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7733
7734 Add etags tests for the recent Lua-related bugfix
7735
7736 * test/etags/lua-src/test.lua: New file, tests the issues raised
7737 by bug#21934.
7738 * test/etags/Makefile (LUASRC): Add test.lua.
7739 * test/etags/ETAGS.good_1:
7740 * test/etags/ETAGS.good_2:
7741 * test/etags/ETAGS.good_3:
7742 * test/etags/ETAGS.good_4:
7743 * test/etags/ETAGS.good_5:
7744 * test/etags/ETAGS.good_6:
7745 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
7746 regression fix, resolved around 25 May 2015, required changes to
7747 the "good" ETAGS files.
7748
7749 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7750
7751 Fix Lua tags when a function name includes '.' or ':'
7752
7753 * lib-src/etags.c (Lua_functions): Add a tag for the last element
7754 of a function name after a dot or a colon. (Bug#21934)
7755
7756 2015-11-28 Eli Zaretskii <eliz@gnu.org>
7757
7758 Improve documentation of search and replace commands
7759
7760 * doc/emacs/search.texi (Replacement and Lax Matches): Document
7761 which commands are affected by 'replace-character-fold'.
7762 (Lax Search): Add a cross reference to "Replacement and Lax
7763 Matches". Improve wording. Fix lost extra whitespace.
7764 (Search Customizations): Improve wording. (Bug#22036)
7765 See also comments in
7766 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
7767
7768 * lisp/replace.el (query-replace, query-replace-regexp)
7769 (query-replace-regexp-eval, replace-string, replace-regexp):
7770 Mention 'replace-character-fold' in the doc strings.
7771
7772 2015-11-28 Paul Eggert <eggert@cs.ucla.edu>
7773
7774 Fix minor problems found by static checking
7775
7776 * src/undo.c (prepare_record): Add proper prototype for C.
7777
7778 2015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * src/emacs-module.c (struct env_storage): Delete
7781
7782 (struct emacs_runtime_private): Keep an emacs_env instead.
7783 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
7784 (initialize_environment): Split the arg in two. Adjust all callers.
7785 Only store the private part in Vmodule_environments.
7786 (finalize_environment): Change the arg to only be the private env.
7787 Adjust all callers.
7788
7789 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7790
7791 Improve documentation of 'replace-character-fold'
7792
7793 * lisp/replace.el (replace-character-fold): Clarify which commands
7794 are affected by this variable.
7795
7796 2015-11-27 Mark Oteiza <mvoteiza@udel.edu>
7797
7798 Backport: Add interactive seek command.
7799
7800 * lisp/mpc.el (mpc-cmd-seekcur): New function.
7801 (mpc-seek-current): New command.
7802 (mpc-mode-menu): Add entry for mpc-seek-current
7803 (mpc-mode-map): Bind mpc-seek-current to "g"
7804
7805 2015-11-27 Dmitry Gutov <dgutov@yandex.ru>
7806
7807 Autoload etags when using its xref backend
7808
7809 * lisp/progmodes/xref.el (xref--etags-backend):
7810 Rename to etags--xref-backend. Move to etags.el. Autoload.
7811 (Bug#22026)
7812
7813 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
7814
7815 * lisp/character-fold.el: Allow complex chars to match their decomposition
7816
7817 (character-fold-table): When a character's decomposition does not
7818 involve a formatting tag (i.e., if it has an "exact" description via
7819 other characters), then this character is allowed to match the
7820 decomposition.
7821
7822 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
7823
7824 * lisp/character-fold.el: More descriptive variable names
7825
7826 (character-fold-table): Rename a lot of the lexical variables to
7827 make the code easier to read.
7828
7829 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
7830
7831 * lisp/isearch.el: Ensure we still support `isearch-new-word'
7832
7833 (isearch-new-regexp-function): Define variable.
7834 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
7835
7836 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7837
7838 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
7839
7840 2015-11-27 Lee Bochicchio <lboc.home@gmail.com>
7841
7842 * test/automated/abbrev-tests.el: Define more tests
7843
7844 (abbrev-table-name-test, kill-all-abbrevs-test)
7845 (clear-abbrev-table-test): New tests.
7846
7847 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7848
7849 Add module tests for wrong-type-argument
7850
7851 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
7852 wrong-type-argument.
7853
7854 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7855
7856 Improve handling of signals and 'throw' in modules
7857
7858 * src/emacs-module.c: Add commentary explaining how to write
7859 functions in this file.
7860 (module_make_global_ref, module_free_global_ref)
7861 (module_non_local_exit_signal, module_non_local_exit_throw)
7862 (module_make_function, module_funcall, module_intern)
7863 (module_type_of, module_is_not_nil, module_eq)
7864 (module_extract_integer, module_make_integer)
7865 (module_extract_float, module_make_float)
7866 (module_copy_string_contents, module_make_string)
7867 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
7868 (module_get_user_finalizer, module_set_user_finalizer)
7869 (module_vec_set, module_vec_get, module_vec_size)
7870 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
7871 Do nothing and return with failure indication immediately, if some
7872 previous module call signaled an error or wants to throw. See
7873 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
7874 for the relevant discussions.
7875
7876 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7877
7878 Add ':version' tag to 'checkdoc-package-keywords-flag'
7879
7880 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
7881 Add a ':version' tag.
7882
7883 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7884
7885 Improve documentation of 'eval-buffer' and 'eval-region'
7886
7887 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
7888
7889 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
7890 "accessible portion of buffer".
7891
7892 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7893
7894 Unbreak the Cygwin w32 build
7895
7896 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
7897 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7898
7899 2015-11-27 Eli Zaretskii <eliz@gnu.org>
7900
7901 Improve commentary in character-fold.el
7902
7903 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
7904 description from commit log message to comments. (Bug#22019)
7905
7906 2015-11-26 Alan Mackenzie <acm@muc.de>
7907
7908 Byte Compiler: generate code to adjust stack count after call to `signal'.
7909
7910 Corrects change from earlier today.
7911
7912 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
7913 `byte-compile--for-effect' as argument to `byte-compile-form'.
7914
7915 2015-11-26 Eli Zaretskii <eliz@gnu.org>
7916
7917 Improve commentary of prepare_to_modify_buffer_1
7918
7919 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
7920 that this function runs Lisp. Suggested by Richard Stallman
7921 <rms@gnu.org>.
7922
7923 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
7924
7925 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
7926
7927 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
7928
7929 Fix regression after merge.
7930
7931 * src/undo.c (prepare_record): Remove call to run_undoable_change.
7932
7933 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
7934
7935 After delete, record point location in undo.
7936
7937 Addresses Bug #21968.
7938
7939 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
7940 better support intercalating calls.
7941 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
7942 point and current buffer before each command.
7943 * src/undo.c (record_point): Now only record the point.
7944 * src/undo.c (prepare_record): Functionality removed form
7945 record_point.
7946 * src/undo.c (record_delete): Check if point needs recording.
7947 * src/undo.c (undo-boundary): Record value of point before each
7948 boundary.
7949 * test/automated/simple-test.el: New tests.
7950
7951 Conflicts:
7952 src/undo.c
7953
7954 2015-11-26 Eli Zaretskii <eliz@gnu.org>
7955
7956 Fix compiler warnings in w32.c
7957
7958 * src/w32.c (sys_socket): In case of error, use -1 as return
7959 value, not INVALID_SOCKET, which causes compiler warnings.
7960 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
7961 to the appropriate function signature, to avoid compiler errors.
7962 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
7963
7964 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
7965
7966 Check if the file exists on disk before producing the revert diff
7967
7968 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
7969 exists on disk (bug#20558).
7970
7971 2015-11-26 Alan Mackenzie <acm@muc.de>
7972
7973 Byte compiler: on setq with an odd number of arguments, generate a `signal'
7974
7975 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
7976 it has an odd number of arguments, to allow bytecomp to handle the error.
7977
7978 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
7979 odd number of arguments, generate a `signal' instead of the normal code.
7980
7981 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
7982
7983 Use find-tag-default for xref-backend-identifier-at-point
7984
7985 * lisp/progmodes/etags.el (find-tag-tag)
7986 (tags-completion-at-point-function): Extract common code as
7987 find-tag--default.
7988 (xref-backend-identifier-at-point): Define in terms of the new
7989 function.
7990
7991 2015-11-26 Paul Eggert <eggert@cs.ucla.edu>
7992
7993 * src/undo.c (record_property_change): Remove now-unused local.
7994
7995 2015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
7996
7997 run_undoable_changes now called from insdel.
7998
7999 The original calls from inside undo.c are not always at a safe position
8000 to call lisp, as they originate in varied positions within insdel.c.
8001 Calling them directly from prepare_to_modify_buffer_1 ensures that they
8002 are always run at the same point.
8003
8004 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
8005 and symbol used.
8006 * src/insdel.c (run_undoable_changes): Add function and symbol.
8007
8008 2015-11-25 Eli Zaretskii <eliz@gnu.org>
8009
8010 Improve and update documentation of search commands
8011
8012 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
8013 all references changed. Move the description of lax-whitespace
8014 here. Add description of the new character folding features and
8015 additional customizable options.
8016 (Isearch Yank): Move before "Error in Search".
8017 (Basic Isearch): Improve wording. Add index entries. Add short
8018 description of how to abandon search, making this subsection a
8019 complete introduction to search basics.
8020 (Repeat Isearch): Add index entries. Describe additional
8021 customizable options. Describe mouse clicks.
8022 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
8023 area. Describe more customizable options.
8024 (Error in Isearch): Add index entries.
8025 (Special Isearch): Move actual description of some isearch
8026 commands to other sections, leaving here just the summary of the
8027 commands. Add command that toggles character folding. Describe
8028 commands, like "C-h C-h", that were previously omitted for some
8029 reason.
8030 (Not Exiting Isearch): Describe search-exit-option. Add index
8031 entries.
8032 (Word Search): Describe eww-search-word and eww-search-prefix.
8033 (Symbol Search): Add index entries.
8034 (Regexp Search): Describe regexp-search-ring-max.
8035 (Replacement and Lax Matches): Renamed from "Replacement and
8036 Case"; all references changed. Describe lax-whitespace matching
8037 in replace commands and related options. Describe character
8038 folding in replace commands and related options.
8039 (Query Replace): Describe query-replace-from-to-separator and the
8040 new history features. Add index entries for highlighted text.
8041 Describe query-replace-skip-read-only. Describe more keys
8042 accepted by query-replace.
8043 (Other Repeating Search): More index entries for Occur. Describe
8044 list-matching-lines-default-context-lines.
8045 (Search Customizations): New section, documents customizable
8046 options that were not documented until now.
8047 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
8048 "Character Folding".
8049
8050 * etc/NEWS: Move search- and replace-related entries to a single
8051 parent section.
8052
8053 * lisp/replace.el (query-replace-show-replacement): Doc fix.
8054 * lisp/isearch.el (search-nonincremental-instead)
8055 (isearch-hide-immediately): Doc fixes.
8056
8057 2015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
8058
8059 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
8060
8061 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
8062 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
8063 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
8064
8065 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
8066
8067 Fix module_format_fun_env when dynlib_addr fails
8068
8069 * src/emacs-module.c (module_format_fun_env):
8070 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
8071 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
8072
8073 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
8074
8075 Disambiguate variable help a bit better
8076
8077 * lisp/help-fns.el (describe-variable): Quote the
8078 variable’s value if it is a symbol other than t or nil.
8079 See: T.V Raman in:
8080 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
8081
8082 2015-11-25 Dmitry Gutov <dgutov@yandex.ru>
8083
8084 Pass SVN commit message through log-edit-extract-headers
8085
8086 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
8087 log-edit-extract-headers (bug#18954).
8088
8089 2015-11-24 Alan Mackenzie <acm@muc.de>
8090
8091 CC Mode: Eliminate compiler warning messages.
8092
8093 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
8094 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
8095 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
8096 (c-awk-set-syntax-table-properties): Clarify comments about
8097 `font-lock-syntactic-keywords'.
8098
8099 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
8100 of this before the real (interpreted) one, to satisfy the byte compiler.
8101
8102 2015-11-24 Simen Heggestøyl <simenheg@gmail.com>
8103
8104 Extend the test suite for json.el
8105
8106 * lisp/json.el (json-plist-p): Clarify docstring.
8107
8108 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
8109 macro.
8110 (test-json-join, test-json-alist-p)
8111 (test-json-plist-p, test-json-advance, test-json-peek)
8112 (test-json-pop, test-json-skip-whitespace)
8113 (test-json-read-keyword, test-json-encode-keyword)
8114 (test-json-read-number, test-json-encode-number)
8115 (test-json-read-escaped-char, test-json-read-string)
8116 (test-json-encode-string, test-json-encode-key)
8117 (test-json-new-object, test-json-add-to-object)
8118 (test-json-read-object, test-json-encode-list)
8119 (test-json-read-array, test-json-encode-array)
8120 (test-json-read, test-json-read-from-string)
8121 (test-json-encode): New tests.
8122 (json-read-simple-alist): Merged into `test-json-read-object'.
8123 (json-encode-string-with-special-chars): Merged into
8124 `test-json-encode-string'.
8125 (json-read-string-with-special-chars): Split into
8126 `test-json-encode-string' and `test-json-read-from-string'.
8127
8128 2015-11-24 Anders Lindgren <andlind@gmail.com>
8129
8130 Fixed bug#18283: Enable applescript in NextStep.
8131
8132 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
8133
8134 2015-11-24 Eli Zaretskii <eliz@gnu.org>
8135
8136 Allow completion on dynamic module files in load-library
8137
8138 * lisp/files.el (load-library): Bind completion-ignored-extensions
8139 to nil, to allow completion on dynamic modules typed as file
8140 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8141
8142 2015-11-24 Alan Mackenzie <acm@muc.de>
8143
8144 CC Mode: eliminate almost all byte compilation warnings
8145
8146 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
8147 (cc-require): Remove the crude hack that saved and restored
8148 byte-compile-noruntime-functions.
8149 (cc-conditional-require, cc-conditional-require-after-load): New macros.
8150
8151 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
8152 cc-fix.el using the new macros in cc-bytecomp.el.
8153
8154 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
8155 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
8156 forms to remove the superflous quotes.
8157
8158 2015-11-24 Eli Zaretskii <eliz@gnu.org>
8159
8160 Add one more mod-test test
8161
8162 * modules/mod-test/test.el (mod-test-sum-test): Test the error
8163 signaled when the function is invoked with a wrong number of
8164 arguments.
8165
8166 2015-11-24 Philipp Stephani <phst@google.com>
8167
8168 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
8169
8170 2015-11-24 Eli Zaretskii <eliz@gnu.org>
8171
8172 Implement dynlib_addr for MS-Windows
8173
8174 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
8175 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
8176 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
8177 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
8178 if undefined.
8179 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
8180 zero.
8181 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
8182 the full file name of the module for a given address.
8183
8184 2015-11-24 Alan Mackenzie <acm@muc.de>
8185
8186 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
8187
8188 2015-11-24 Alan Mackenzie <acm@muc.de>
8189
8190 Squashed commit of the following:
8191
8192 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
8193 Author: Alan Mackenzie <acm@muc.de>
8194 Date: Tue Nov 24 16:50:09 2015 +0000
8195
8196 Byte compile: minor amendments.
8197
8198 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8199 add a comment to explain the binding of variables around a subsidiary
8200 compilation.
8201 (byte-compile-new-defuns): Amend the doc string.
8202
8203 commit c537bfed1dda1593d218956ff00c6105a3ff0316
8204 Author: Alan Mackenzie <acm@muc.de>
8205 Date: Sat Nov 21 18:43:57 2015 +0000
8206
8207 Byte compiler: fix spurious warnings "might not be defined at runtime".
8208
8209 Also initialize byte-compile-noruntime-functions between runs.
8210
8211 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
8212 (byte-compile-initial-macro-environment): For eval-when-compile: bind
8213 byte-compile-unresolved-functions and byte-compile-new-defuns around
8214 byte-compile-top-level, to prevent spurious entries being made.
8215 (byte-compile-warn-about-unresolved-functions): Check whether function is
8216 in byte-compile-new-defuns before emitting a warning about it.
8217 (byte-compile-from-buffer): Initialize new variable and
8218 byte-compile-noruntime-functions to nil.
8219 (byte-compile-file-form-require): record all new functions defined by a
8220 `require' in byte-compile-new-defuns.
8221 (byte-compile-file-form-defmumble): record the new alias in
8222 byte-compile-new-defuns.
8223
8224 2015-11-24 Eli Zaretskii <eliz@gnu.org>
8225
8226 Fix crash at startup related to GC of font entities
8227
8228 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
8229 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
8230 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
8231 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
8232 Don't ifdef away font cache compaction on NT_GUI, as the problems
8233 which led to that seem to have been solved.
8234 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
8235 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
8236 cousins. (Bug#21999)
8237
8238 2015-11-24 Alan Mackenzie <acm@muc.de>
8239
8240 Byte compile: Output an error, not a warning, for odd number of args to setq
8241
8242 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
8243
8244 2015-11-24 Ken Raeburn <raeburn@raeburn.org>
8245
8246 Fix kbd_buffer iteration loop in readable_events
8247
8248 * src/keyboard.c (readable_events): Wrap the event pointer back to the
8249 start of the kbd_buffer array inside the top of the loop instead of
8250 right before checking the loop condition, since kbd_fetch_ptr and
8251 kbd_store_ptr point past the end of the array to mean that element 0
8252 is next. (bug#21935)
8253
8254 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
8255
8256 Improve text-quoting-style doc again
8257
8258 * doc/lispref/help.texi (Keys in Documentation):
8259 Omit overkill discussion of ‘setq’. Mention Emacs versions
8260 where ‘grave’ style was standard.
8261
8262 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
8263
8264 Improve text-quoting-style doc
8265
8266 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
8267
8268 Simplify module_make_function
8269
8270 * src/emacs-module.c (module_make_function):
8271 Simplify by calling build_unibyte_string.
8272
8273 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
8274
8275 Port better to FreeBSD’s dlfunc vs dlsym
8276
8277 This avoids warnings when converting between void * and
8278 function pointers, which strict C11 does not allow.
8279 * configure.ac (dlfunc): Check for existence.
8280 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
8281 (dynlib_func): New function.
8282 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
8283 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
8284 dynlib_sym, for function pointers.
8285
8286 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
8287
8288 Simplify use of emacs_finalizer_function type
8289
8290 * src/emacs-module.h (emacs_finalizer_function):
8291 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
8292 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
8293
8294 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
8295
8296 module_format_fun_env fixes
8297
8298 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
8299 * src/emacs-module.c (module_format_fun_env):
8300 Convert path and sym to UTF-8.
8301 Don’t use VLAs, as the C11 standard says they’re optional,
8302 and anyway they can cause core dumps with large allocations.
8303 Use exprintf rather than snprintf, as exprintf handles arbitrarily
8304 long strings. Simplify the code a bit.
8305
8306 2015-11-23 Dmitry Gutov <dgutov@yandex.ru>
8307
8308 Don't use package-user-dir in elisp-library-roots if it's not bound
8309
8310 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
8311 use package-user-dir if it's not bound (bug#19759).
8312
8313 2015-11-23 Anders Lindgren <andlind@gmail.com>
8314
8315 New visible-bell for NextStep (OS X El Capitan compatible).
8316
8317 Instead of inverting a rectangle in the middle of the frame, use
8318 the standard NextStep image "caution", represented using an
8319 warning sign with an exclamation mark. (Bug#21662)
8320
8321 Implemented based on a suggestion drafted by Mustafa Kocaturk.
8322
8323 * src/nsterm.m (EmacsBell): New class for managing the caution
8324 image. Support multiple active bells, the image is removed once
8325 all bells have timed out.
8326 (ns_timeout): Removed, no longer used.
8327 (ns_ring_bell): Reimplemented to use EmacsBell.
8328
8329 2015-11-23 Johan Bockgård <bojohan@gnu.org>
8330
8331 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
8332
8333 (remove-function): Ditto. (Bug#20376)
8334
8335 2015-11-23 Mark Oteiza <mvoteiza@udel.edu>
8336
8337 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
8338
8339 2015-11-23 Eli Zaretskii <eliz@gnu.org>
8340
8341 Improve how non-ASCII strings are accepted from modules
8342
8343 * src/emacs-module.c (module_make_function, module_make_string):
8344 Build a unibyte Lisp string and then decode it by UTF-8, instead
8345 of building a multibyte string without decoding. This is more
8346 tolerant to deviations from UTF-8.
8347
8348 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
8349
8350 Port recent module changes to pickier compilers
8351
8352 * src/emacs-module.c (module_make_function)
8353 (module_make_string): Add casts to fix pointer signedness issues.
8354
8355 2015-11-23 Philipp Stephani <phst@google.com>
8356
8357 Fix how strings are accepted from modules
8358
8359 * src/emacs-module.c (module_make_function, module_make_string): Use
8360 make_multibyte_string.
8361 (module_copy_string_contents): Encode before reading the byte
8362 size. Return false if and only if an error occurred.
8363
8364 2015-11-23 Eli Zaretskii <eliz@gnu.org>
8365
8366 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
8367
8368 2015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
8369
8370 Add the tamil-dvorak input method
8371
8372 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
8373
8374 * etc/NEWS: Mention the new input method.
8375
8376 2015-11-23 Martin Rudalics <rudalics@gmx.at>
8377
8378 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
8379
8380 * src/frame.c (adjust_frame_size): Don't set
8381 FRAME_WINDOW_SIZES_CHANGED here ...
8382 * src/window.c (resize_frame_windows): ... but here, as suggested
8383 by Stefan Monnier. Also remove some dead code along the way.
8384
8385 2015-11-23 Alan Mackenzie <acm@muc.de>
8386
8387 * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
8388
8389 2015-11-23 Alan Mackenzie <acm@muc.de>
8390
8391 Signal an error when `setf' gets an odd number of arguments.
8392
8393 * lisp/emacs-lisp/gv.el (setf): Amend.
8394
8395 2015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
8398
8399 2015-11-23 Alan Mackenzie <acm@muc.de>
8400
8401 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
8402
8403 2015-11-23 Alan Mackenzie <acm@muc.de>
8404
8405 Expunge occurrences of `setq' with an odd number of arguments.
8406
8407 * lisp/apropos.el (apropos-documentation):
8408 * lisp/obsolete/complete.el (PC-include-file-all-completions):
8409 * lisp/progmodes/compile.el (compilation-goto-locus):
8410 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
8411 Insert missing nil at end of `setq' forms.
8412
8413 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
8414 erroneous trailing variable name from a setq, thus allowing a compilation
8415 properly to track functions not defined at runtime.
8416
8417 2015-11-23 John Wiegley <johnw@newartisans.com>
8418
8419 Add a note about a questionable use of bool in xdisp.c
8420
8421 2015-11-23 Alan Mackenzie <acm@muc.de>
8422
8423 Issue a warning from the byte compiler on a malformed `setq' form.
8424
8425 Partly fixes bug#20241.
8426 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
8427 `setq' form with an odd number of arguments is compiled.
8428
8429 2015-11-23 Alan Mackenzie <acm@muc.de>
8430
8431 Don't let cconv_convert insert a nil argument into a `setq' form.
8432
8433 Fixes bug#21983.
8434 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
8435 argument into a `setq' when there're an odd number of args. This enables the
8436 byte compiler to issue a message in this case.
8437
8438 2015-11-23 Alan Mackenzie <acm@muc.de>
8439
8440 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
8441
8442 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
8443 (syms_of_eval): Add a DEFSYM for Qsetq.
8444
8445 2015-11-23 Martin Rudalics <rudalics@gmx.at>
8446
8447 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
8448
8449 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
8450
8451 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8452
8453 Add EUDC BBDB 3 entry in NEWS
8454
8455 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
8456
8457 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8458
8459 Improve EUDC to BBDB 3 export
8460
8461 * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
8462 entry to single item. Add company conversion.
8463 * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
8464 (bbdb-parse-phone): Declare function.
8465 (eudc-bbdbify-phone): Add BBDB 3 support.
8466 (Bug#21971)
8467
8468 2015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8469
8470 Add BBDB 3 support for EUDC export
8471
8472 * lisp/net/eudc.el: Add bbdb-version defvar.
8473 (eudc--using-bbdb-3-or-newer-p): New function.
8474 * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
8475 bbdb-create-internal argument list changes introduced in BBDB 3.
8476 * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
8477 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
8478 (Bug#21971)
8479
8480 2015-11-22 Eli Zaretskii <eliz@gnu.org>
8481
8482 Allow loading modules by 'load-file'
8483
8484 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
8485 2nd arg, to avoid the "binding stack not balanced" error.
8486 (syms_of_lread) <module-file-suffix>: New Lisp variable.
8487
8488 * lisp/files.el (module-file-suffix): Declare.
8489 (load-file): Remove 'module-file-suffix' from
8490 'completion-ignored-extensions', to allow completion on modules.
8491
8492 * etc/NEWS: Mention 'module-file-suffix'.
8493
8494 2015-11-22 Eli Zaretskii <eliz@gnu.org>
8495
8496 Fix unoptimized builds
8497
8498 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
8499 builds.
8500
8501 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
8502
8503 Work around the asynchronous-empty-diff problem
8504
8505 * lisp/vc/vc-rcs.el (vc-rcs-diff):
8506 * lisp/vc/vc-mtn.el (vc-mtn-diff):
8507 * lisp/vc/vc-hg.el (vc-hg-diff):
8508 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
8509 do a synchronous process call (bug#21969).
8510
8511 2015-11-22 Karl Fogel <kfogel@red-bean.com>
8512
8513 Finish excising electric indent from `open-line'
8514
8515 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
8516
8517 * test/automated/simple-test.el (open-line-indent, open-line-hook):
8518 Adjust accordingly.
8519
8520 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
8521 (git commit c59353896) started. It turns out that having INTERACTIVE
8522 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
8523 still had the electric indent behavior, as `post-self-insert-hook'
8524 normally contains `electric-indent-post-self-insert-function' ever
8525 since `electric-indent-mode' has been on by default. Tracing the code
8526 change in `open-line' is mildly twisty, because Artur Malabarba's
8527 earliest two commits of 24 Oct 2015 first removed the `interactive'
8528 form entirely (git commit 6939896e2) and then restored it with the new
8529 extra "p" already added (git commit bd4f04f86), such that there is no
8530 single-commit diff in which one sees the second "p" appear. Thus this
8531 change is effectively a reversion of parts of each of those commits.
8532
8533 This could close bug#21884, at least until further discussion.
8534
8535 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
8536
8537 Adhere closer to the "implicit tag name" definition
8538
8539 * lisp/progmodes/etags.el (etags-tags-completion-table):
8540 Adhere closer to the "implicit tag name" definition. Simplify
8541 the regexp. Search for the explicit tag name first, and when
8542 not found, search locally for the implicit one. (Bug#21934)
8543
8544 2015-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 Unrevert most of regexp reentrancy abort patch
8547
8548 The problem was in:
8549 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
8550 which is hence not unreverted.
8551 The rest is:
8552 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
8553 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
8554 All callers in regex.c changed back to the _FAST versions.
8555
8556 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
8557 propertization in backward-sexp.
8558
8559 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
8560
8561 Revert regexp reentrancy abort patch
8562
8563 Although the patch does fix Bug#21688 and prevents a core dump,
8564 it also makes the message-mode-propertize test fail; see:
8565 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
8566 Perhaps someone else can come up with a better fix some day.
8567 * src/syntax.c (update_syntax_table_forward):
8568 Propertize even when truncated.
8569 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
8570 (UPDATE_SYNTAX_TABLE_FAST): Remove.
8571 All callers changed back to the non-_FAST versions.
8572
8573 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
8574
8575 Add a few safety checks when ENABLE_CHECKING
8576
8577 This was motivated by the recent addition of module code,
8578 which added some ENABLE_CHECKING-enabled checks that are
8579 useful elsewhere too.
8580 * src/alloc.c (compact_font_cache_entry):
8581 * src/fns.c (sweep_weak_table):
8582 * src/lread.c (oblookup):
8583 Use gc_asize rather than doing it by hand.
8584 * src/emacs-module.c (module_make_global_ref)
8585 (module_free_global_ref, module_vec_size):
8586 Omit assertions that lisp.h now checks.
8587 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
8588 check that the result is nonnegative. Use eassume, as this
8589 info can help a bit when optimizing production code.
8590 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
8591 to be consistent with the USE_LSB_TAG case.
8592 (gc_asize): New function, when ASIZE is needed in the gc.
8593 (gc_aset): Use it.
8594 (HASH_TABLE_P): Move definition up, so that it can be used ...
8595 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
8596
8597 2015-11-21 Eli Zaretskii <eliz@gnu.org>
8598
8599 Simplify recording of main thread's ID on MS-Windows
8600
8601 * src/w32term.c (w32_initialize):
8602 * src/w32console.c (initialize_w32_display):
8603 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
8604 ID independently for each type of session (GUI, TTY, batch).
8605 * src/w32term.c (w32_init_main_thread): New function, records the
8606 main thread's thread ID.
8607 * src/w32term.h: Add prototype for w32_init_main_thread.
8608 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
8609
8610 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
8611 main_thread, for consistency with other threading libraries. All
8612 users changed. Include w32term.h.
8613 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
8614 make sure the main thread is alive, as we hold a handle on it
8615 opened by w32_init_main_thread.
8616 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
8617 w32_init_main_thread, instead of calling the requisite APIs once
8618 more.
8619
8620 2015-11-21 Mark Oteiza <mvoteiza@udel.edu>
8621
8622 Backport: Fix issue where a new tempfile was created every refresh
8623
8624 * lisp/mpc.el (mpc-format): Leave dir as relative path
8625
8626 2015-11-21 Eli Zaretskii <eliz@gnu.org>
8627
8628 Call 'window-size-change-functions' for mini-windows
8629
8630 * src/window.c (grow_mini_window, shrink_mini_window): Set the
8631 frame's 'window_sizes_changed' flag.
8632 * src/xdisp.c (redisplay_internal): Call the hooks on
8633 'window-size-change-functions' if the call to 'echo_area_display'
8634 sets the frame's 'window_sizes_changed' flag.
8635 (syms_of_xdisp) <window-size-change-functions>:
8636 Update doc string to indicate the mini-window resizes trigger a
8637 call to the hooks, and don't promise that will happen "before
8638 redisplay". (Bug#19576, Bug#21333)
8639
8640 * doc/lispref/windows.texi (Window Hooks): Update the description
8641 of 'window-size-change-functions'.
8642
8643 2015-11-21 Eli Zaretskii <eliz@gnu.org>
8644
8645 Improve documentation of dynamic modules
8646
8647 * src/fns.c (Frequire): Doc fix to include the dynamic module
8648 support.
8649 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
8650 dynamic module support.
8651 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
8652 wrt the MUST-SUFFIX argument.
8653
8654 * etc/NEWS: Expand documentation of dynamically loaded modules.
8655
8656 2015-11-21 Philipp Stephani <phst@google.com> (tiny change)
8657
8658 Initial documentation for dynamic modules
8659
8660 * etc/NEWS: Mention the new support for dynamically loaded modules.
8661
8662 2015-11-21 Dmitry Gutov <dgutov@yandex.ru>
8663
8664 Add xref--etags-backend to xref-backing-functions using add-hook
8665
8666 * lisp/progmodes/xref.el (xref-backend-functions): Move the
8667 default value into a separate `add-hook' call (bug#21964).
8668
8669 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
8670 Don't declare the xref-backend-functions variable.
8671 It doesn't make any difference.
8672
8673 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8674
8675 Fix double-decrement bug when freeing global refs
8676
8677 * src/emacs-module.c (module_free_global_ref): Add a FIXME
8678 comment about error reporting. Fix a recently-introduced typo
8679 that double-decremented the refcount.
8680
8681 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8682
8683 Declare emacs_module_init in the module API
8684
8685 * src/emacs-module.h (emacs_module_init): New decl.
8686 Without it, GCC might complain about a module that defines
8687 emacs_module_init without using it. This also checks the
8688 API better.
8689
8690 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8691
8692 Fix module test to use ptrdiff_t nargs too
8693
8694 * modules/mod-test/mod-test.c (Fmod_test_return_t)
8695 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
8696 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
8697 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
8698 (Fmod_test_userptr_get, Fmod_test_vector_fill)
8699 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
8700 (finalizer): Remove; no longer used.
8701
8702 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8703
8704 Fix reindent-introduced typo in module code
8705
8706 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
8707 introduced while reindenting the code earlier, and add a
8708 comment explaining the unusual use of do-while here.
8709
8710 2015-11-20 Anders Lindgren <andlind@gmail.com>
8711
8712 Fixed bug#19576: `write-file' saves wrong buffer.
8713
8714 If a function on the hook `window-size-change-functions' doesn't
8715 restore the current buffer, functions that save and restore the
8716 current window configuration (like `y-or-no-p') could silently
8717 change the current buffer. When `write-file' asked the user
8718 confirmation to overwrite a file, `y-or-no-p' changed the current
8719 buffer, and the wrong buffer was saved to the file.
8720
8721 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
8722 using the `norecord' parameter.
8723 (follow-window-size-change): Restore current buffer. Call
8724 `select-frame' using the `norecord' parameter. Cleanup.
8725
8726 2015-11-20 John Wiegley <johnw@newartisans.com>
8727
8728 Correct a documentation error in frames.texi
8729
8730 2015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
8731
8732 * lisp/cedet/mode-local.el: Delete obsolete comment
8733
8734 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8735
8736 Module function arg counts are ptrdiff_t, not int
8737
8738 * src/emacs-module.c (struct module_fun_env)
8739 (module_make_function, module_funcall, Fmodule_call):
8740 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
8741 Use ptrdiff_t, not int, for arg counts.
8742 * src/emacs-module.c (module_make_function): Don’t bother
8743 checking arity against MOST_POSITIVE_FIXNUM, as that’s
8744 unnecessary here. Make the checking clearer by negating it.
8745 (module_make_function, Fmodule_call): No need to use xzalloc
8746 since the storage doesn’t need to be cleared.
8747 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
8748 for it, and many implementations are buggy with large VLAs anyway.
8749 Use SAFE_ALLOCA_LISP instead.
8750 (module_vec_set): Don’t crash if i < 0.
8751 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
8752 (module_vec_set, module_vec_get): Do fixnum checks only when
8753 i is out of array bounds, for efficiency in the usual case.
8754 (Fmodule_load): Simplify fixnum range check.
8755 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
8756 integer overflow in array allocation size.
8757
8758 2015-11-20 Eli Zaretskii <eliz@gnu.org>
8759
8760 Minor improvements in module test
8761
8762 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
8763 about missing prototype of malloc.
8764 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
8765 compiler warnings.
8766
8767 2015-11-20 Eli Zaretskii <eliz@gnu.org>
8768
8769 Improve MS-Windows implementation in dynlib.c
8770
8771 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
8772 No need to include windows.h, as w32.h already does that.
8773 <dynlib_last_err>: New static variable.
8774 (dynlib_reset_last_error): New function.
8775 (dynlib_open): Convert forward slashes to backslashes. Convert
8776 file names from UTF-8 to either UTF-16 or the current ANSI
8777 codepage, and call either LoadLibraryW or LoadLibraryA. If the
8778 argument is NULL, return a handle to the main module, like
8779 'dlopen' does. Record the error, if any, for use by dynlib_error.
8780 (dynlib_sym): Check the handle for validity. Record the error, if
8781 any, for use by dynlib_error.
8782 (dynlib_error): Call w32_strerror to produce the error string, and
8783 zero out the last error code, like dlerror does.
8784 (dynlib_close): Check the handle for validity. Record the error,
8785 if any, for use by dynlib_error. Don't call FreeLibrary with a
8786 handle for the main module.
8787 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
8788
8789 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8790
8791 Include-file tweaks for modules
8792
8793 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
8794 * src/dynlib.h: Do not include config.h.
8795 It’s every .c file’s responsibility to include config.h first.
8796 * src/emacs-module.c: Include emacs-module.h immediately after
8797 config.h, to test that emacs-module.h doesn’t depend on
8798 include files other than config.h.
8799
8800 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8801
8802 Simplify push_handler and profile its malloc
8803
8804 * src/lisp.h (PUSH_HANDLER): Remove.
8805 All callers changed to use push_handler directly.
8806 * src/eval.c (internal_condition_case)
8807 (internal_condition_case_1, internal_condition_case_2)
8808 (internal_condition_case_n):
8809 Use same pattern as for other invokers of push_handler.
8810 (push_handler, push_handler_nosignal): Use call-by-value
8811 instead of call-by-reference. All uses changed.
8812 (push_handler): Simplify by rewriting in terms of
8813 push_handler_nosignal.
8814 (push_handler_nosignal): Profile any newly allocated memory.
8815
8816 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8817
8818 * src/emacs-module.h: Include stddef.h, not stdlib.h.
8819
8820 2015-11-20 Juanma Barranquero <lekktu@gmail.com>
8821
8822 Discover repository version in linked worktrees (bug#21930)
8823
8824 * lisp/version.el (emacs-repository--version-git-1): Do not assume
8825 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
8826 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
8827 is nil too.
8828
8829 2015-11-20 Juri Linkov <juri@linkov.net>
8830
8831 * lisp/replace.el (occur-regexp-descr): New function.
8832 (occur-1, occur-engine): Use it.
8833
8834 * lisp/isearch.el (isearch-occur): Propertize regexp with
8835 isearch-string and isearch-regexp-function-descr for
8836 occur-regexp-descr to display the correct description
8837 message in the header (bug#21176, bug#21180).
8838
8839 2015-11-20 Karl Fogel <kfogel@red-bean.com>
8840
8841 Revert `open-line' electric-indent sensitivity
8842
8843 * lisp/simple.el (open-line): Remove electric indent code.
8844 (electric-indent-just-newline): Don't declare.
8845
8846 * test/automated/simple-test.el (open-line-indent): Adjust test.
8847
8848 This partly reverts Artur Malabarba's change that added electric
8849 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
8850 commit bd4f04f86), and adjusts a new test he added right afterwards
8851 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
8852 However, the new INTERACTIVE argument to `open-line', which he also
8853 added in the first commit, is not reverted here.
8854
8855 See the thread "Questioning the new behavior of `open-line'." on the
8856 Emacs Devel mailing list, and in particular this message:
8857
8858 From: Artur Malabarba
8859 Subject: Re: Questioning the new behavior of `open-line'.
8860 To: Karl Fogel
8861 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
8862 Date: Wed, 18 Nov 2015 21:03:58 +0000
8863 Message-ID: \
8864 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
8865
8866 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
8867
8868 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8869
8870 Omit unnecessary clear in Fmodule_load
8871
8872 * src/emacs-module.c (Fmodule_load):
8873 Simplify and avoid unnecessary initialization of priv member to 0.
8874
8875 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
8876
8877 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
8878
8879 Prefer signed integer types in module code
8880
8881 Generally speaking, at the C level the Emacs source code prefers
8882 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
8883 partly to avoid the usual signedness confusion when comparing values.
8884 Change the module API to follow this convention.
8885 Use ‘int’ for small values that can’t exceed INT_MAX.
8886 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
8887 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
8888 (Fmod_test_vector_eq):
8889 * src/emacs-module.c (struct emacs_value_frame)
8890 (module_make_global_ref, module_free_global_ref)
8891 (module_copy_string_contents, module_make_string)
8892 (module_vec_set, module_vec_get, module_vec_size):
8893 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
8894 * src/lread.c (suffix_p):
8895 Prefer signed to unsigned integer types.
8896
8897 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8898
8899 Omit ‘const’ on locals
8900
8901 Remove ‘const’ qualifier from locals that were newly added.
8902 We don’t normally bother declaring locals with ‘const’ even
8903 though they are not modified, for the same reason we don’t
8904 bother declaring them with ‘register’ even though their
8905 addresses are not taken; the advantage in compile-time
8906 checking isn’t worth the loss of readability.
8907 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
8908 (Fmod_test_vector_fill, Fmod_test_vector_eq):
8909 * src/emacs-module.c (MODULE_SETJMP_1)
8910 (module_make_global_ref, module_free_global_ref)
8911 (module_non_local_exit_get, module_make_function)
8912 (module_extract_integer, module_extract_float)
8913 (module_get_user_ptr, module_set_user_ptr)
8914 (module_get_user_finalizer, module_set_user_finalizer)
8915 (module_vec_get, Fmodule_call)
8916 (module_non_local_exit_signal_1)
8917 (module_non_local_exit_throw_1, lisp_to_value)
8918 (finalize_storage, allocate_emacs_value, mark_modules)
8919 (module_handle_signal, module_handle_throw)
8920 (module_format_fun_env):
8921 * src/eval.c (push_handler, push_handler_nosignal)
8922 (init_handler):
8923 * src/lread.c (suffix_p):
8924 Omit unnecessary ‘const’.
8925
8926 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8927
8928 Prefer intmax_t to int64_t in module code
8929
8930 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
8931 * src/emacs-module.c (module_extract_integer)
8932 (module_make_integer):
8933 * src/emacs-module.h (struct emacs_env_25):
8934 Prefer intmax_t to int64_t. This doesn’t change the generated
8935 code on any of the machines Emacs currently ports to, but it’s
8936 at least in theory more future-proof as C99 doesn’t guarantee
8937 that int64_t exists.
8938
8939 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8940
8941 Rename module.c to emacs-module.c, etc.
8942
8943 * src/emacs-module.c: Rename from src/module.c.
8944 * src/emacs-module.h: Rename from src/module.h.
8945 All uses changed.
8946
8947 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8948
8949 Fix minor module problems found by static checking
8950
8951 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
8952 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
8953 * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
8954 (Fmodule_call): Tell GCC that the default case is unreachable.
8955
8956 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8957
8958 Style fixes for indenting etc. in module code
8959
8960 This is mostly indenting and spacing changes. Also, remove
8961 some unnecessary static decls instead of bothering to reindent them.
8962 * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
8963 as most other Emacs files do for this sort of thing.
8964
8965 2015-11-19 Eli Zaretskii <eliz@gnu.org>
8966
8967 Minor improvements in modules testing Makefile
8968
8969 * modules/mod-test/Makefile (EMACS, SO): New variables.
8970 (CFLAGS): When SO = dll, don't use -fPIC.
8971 (check): New target, runs the test.
8972
8973 2015-11-19 Eli Zaretskii <eliz@gnu.org>
8974
8975 * .gitignore: Add "*.dll".
8976
8977 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8978
8979 Migrate modules/.gitignore into .gitignore
8980
8981 * .gitignore: Add former contents of modules/.gitignore.
8982 * modules/.gitignore: Remove.
8983
8984 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8985
8986 Add copyright notices to module code
8987
8988 Put them in the usual format for GNU Emacs copyright notices.
8989
8990 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
8991
8992 Rename emacs_module.h to module.h
8993
8994 * src/module.h: Rename from src/emacs_module.h.
8995 All uses changed.
8996
8997 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
8998
8999 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
9000
9001 * src/lread.c (Fload): Remove unused variable `size'
9002
9003 2015-11-19 Alan Mackenzie <acm@muc.de>
9004
9005 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
9006
9007 2015-11-19 Dmitry Gutov <dgutov@yandex.ru>
9008
9009 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
9010
9011 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
9012 vc-parent-buffer over log-view-mode fallback (bug#21955).
9013
9014 2015-11-18 Alan Mackenzie <acm@muc.de>
9015
9016 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
9017
9018 2015-11-18 Ken Brown <kbrown@cornell.edu>
9019
9020 * configure.ac (LIBMODULES): Don’t define on Cygwin
9021
9022 2015-11-18 Eli Zaretskii <eliz@gnu.org>
9023
9024 Fix MS-Windows build --with-modules
9025
9026 * src/module.c: Reformat copyright commentary.
9027 (module_vec_get): Use explicit cast to size_t to avoid compiler
9028 warning in 32-bit builds.
9029 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
9030 Compare thread IDs directly, as GetThreadId is not available
9031 before Windows Vista.
9032 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
9033 without using APIs and constants not available on XP and older
9034 systems. Obtain and store the thread ID as well.
9035
9036 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
9037 Philipp Stephani <phst@google.com>
9038
9039 Add dynamic module test and helper script
9040
9041 Add 'modhelp.py' script (python2) to automate module testing and
9042 module generation.
9043
9044 To build and test all modules in the modules/ dir
9045 $ ./modhelp.py test
9046
9047 To generate a module from template code (good starting point)
9048 $ ./modhelp init mynewtestmodule
9049
9050 See the script -h option for more documentation.
9051
9052 * modules/modhelp.py: New module helper script.
9053 * modules/mod-test/Makefile: New file. Makefile for the test module.
9054 * modules/mod-test/mod-test.c: New file. Test module source file.
9055 * modules/mod-test/test.el: New file. ert test suite for the test module.
9056 * modules/.gitignore: New file. Local .gitignore file.
9057
9058 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
9059
9060 Make 'Fload' look for modules
9061
9062 'Fload' can now load dynamic modules. This also makes 'require' work.
9063
9064 * src/lread.c:
9065 (suffix_p): New function.
9066 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
9067 with a module suffix.
9068 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
9069
9070 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
9071 Philipp Stephani <phst@google.com>
9072
9073 Add dynamic module module support
9074
9075 * configure.ac: Add '--with-modules' option. Conditionally add
9076 dynlib.o and module.o to the list of objects. Add any system
9077 specific flags to the linker flags to support dynamic libraries.
9078 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
9079 attributes.
9080 * src/Makefile.in: Conditionally add module objects and linker flags.
9081 * src/alloc.c (garbage_collect_1): protect module local values from
9082 GC.
9083 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
9084 * src/emacs-module.h: New header file included by modules. Public
9085 module API.
9086 * src/emacs-module.c: New module implementation file.
9087
9088 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
9089
9090 Add new User Pointer (User_Ptr) type
9091
9092 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
9093 (XUSER_PTR): New User_Ptr accessor.
9094 * src/alloc.c (make_user_ptr): New function.
9095 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
9096 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
9097 (Fuser-ptrp): New user pointer type predicate function.
9098 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
9099 subr.
9100 * src/print.c (print_object): Add printer for User_Ptr type.
9101
9102 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
9103 Philipp Stephani <phst@google.com>
9104
9105 Add portable layer for dynamic loading
9106
9107 * src/dynlib.h: New file.
9108 * src/dynlib.c: New file.
9109
9110 2015-11-18 Philipp Stephani <phst@google.com>
9111
9112 Add catch-all & no-signal version of PUSH_HANDLER
9113
9114 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
9115 a new "catch-all" handler type.
9116
9117 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
9118 functions.
9119 * src/fns.c (hash_remove_from_table): Expose function public.
9120 * src/lisp.h: New handler type, define macro to push_handler call.
9121
9122 2015-11-18 Ken Brown <kbrown@cornell.edu>
9123
9124 Silence byte-compiler warning
9125
9126 * lisp/server.el (server-process-filter): Silence byte-compiler
9127 warning.
9128
9129 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
9130
9131 Quote symbols in docstrings using `'
9132
9133 Be more systematic about quoting symbols `like-this' rather than
9134 `like-this or 'like-this' in docstrings. This follows up Artur
9135 Malabarba's email in:
9136 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
9137
9138 2015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
9139
9140 Fix savegames in dunnet
9141
9142 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
9143 of separate implementation.
9144
9145 2015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
9146
9147 * lisp/emacs-lisp/package.el (package--with-response-buffer):
9148
9149 Ensure we're at the start of the buffer before searching for
9150 the end of headers.
9151
9152 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
9153
9154 * admin/release-process: Improve wording.
9155
9156 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
9157
9158 Backport: * CONTRIBUTE: Remove information about feature freeze.
9159
9160 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
9161
9162 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
9163
9164 Backport: Document the release process
9165
9166 * admin/notes/versioning: Add information about RC releases.
9167 * admin/release-process: Document the release process.
9168 * admin/authors.el (authors-ignored-files):
9169 * admin/README: Change FOR-RELEASE to release-process.
9170 * CONTRIBUTE:
9171 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
9172
9173 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
9174
9175 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
9176
9177 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
9178
9179 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
9180
9181 2015-11-18 Xue Fuqiao <xfq.free@gmail.com>
9182
9183 Backport: Mention CONTRIBUTE in README
9184
9185 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
9186 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
9187 * README: Mention CONTRIBUTE.
9188
9189 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
9190
9191 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
9192
9193 Fix docstring quoting problems with ‘ '’
9194
9195 Problem reported by Artur Malabarba in:
9196 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
9197 Most of these fixes are to documentation; many involve fixing
9198 longstanding quoting glitches that are independent of the
9199 recent substitute-command-keys changes. The changes to code are:
9200 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
9201 (describe-mode-local-overload):
9202 Substitute docstrings before displaying them.
9203 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
9204 Quote the generated docstring for later substitution.
9205
9206 2015-11-17 Eli Zaretskii <eliz@gnu.org>
9207
9208 Improve configure --help text for wide ints
9209
9210 * configure.ac (wide-int): Clarify user-level advantages and
9211 disadvantages.
9212
9213 2015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
9214
9215 Improve doc string
9216
9217 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
9218
9219 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
9220
9221 eval_sub followed dangling pointer when debugging
9222
9223 Problem reported by Pip Cet (Bug#21245).
9224 This bug could occur in eval_sub if the C compiler reused
9225 storage associated with the ‘argvals’ local after ‘argvals’
9226 went out of scope, and if the Elisp debugger stopped on Elisp
9227 function exit and accessed ‘argvals’. It could also occur if
9228 a variadic function was called with so many arguments (over
9229 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
9230 SAFE_FREE freed the arguments, then the memory manager used
9231 the storage for other purposes, then the debugger accessed the
9232 arguments.
9233 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
9234 function body. Simplify local decls.
9235 When allocating args via SAFE_ALLOCA, call
9236 debugger before invoking SAFE_FREE, as the debugger needs
9237 access to the args.
9238 (eval_sub, apply_lambda): Rework to avoid need for
9239 set_backtrace_debug_on_exit hack. This is cleaner,
9240 and should work better with buggy custom debuggers.
9241
9242 2015-11-17 Daiki Ueno <ueno@gnu.org>
9243
9244 * lisp/image-mode.el: Support encrypted file
9245
9246 (image-toggle-display-image): Read content from the buffer instead
9247 of the file, if the buffer holds a decrypted data. (Bug#21870)
9248
9249 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
9250
9251 ELF unexec: align section header
9252
9253 This ports the recent unexelf.c changes to Fedora x86-64
9254 when configured with GCC’s -fsanitize=undefined option.
9255 * src/unexelf.c (unexec): Align new_data2_size to a multiple
9256 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
9257 pointer aligned appropriately for its type.
9258
9259 2015-11-17 Andreas Schwab <schwab@linux-m68k.org>
9260
9261 Do more checks on bytecode objects (Bug#21929)
9262
9263 * src/eval.c (funcall_lambda): Check size of compiled function
9264 object.
9265 (Ffetch_bytecode): Likewise.
9266
9267 2015-11-16 Johan Bockgård <bojohan@gnu.org>
9268
9269 pcase.el: Fix edebugging of backquoted cons patterns
9270
9271 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
9272 cons patterns. (Bug#21920)
9273
9274 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
9275
9276 Improve fix for regex reentrancy abort
9277
9278 Suggested by Stefan Monnier (Bug#21688).
9279 * src/syntax.c (update_syntax_table_forward):
9280 Remove recently-added PROPERTIZE arg, and assume it is true.
9281 All callers changed.
9282 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
9283 Invoke update_syntax_table directly.
9284
9285 2015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
9286
9287 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
9288
9289 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
9290
9291 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
9292
9293 2015-11-16 Vasily Korytov <vasily.korytov@yahoo.com>
9294
9295 Recognize .rbw and .pyw files (bug#18753)
9296
9297 * lisp/progmodes/python.el (auto-mode-alist):
9298 Recognize .pyw files.
9299
9300 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
9301 Recognize .rbw files.
9302
9303 2015-11-16 Dmitry Gutov <dgutov@yandex.ru>
9304
9305 Fix ruby-mode auto-mode-alist entry
9306
9307 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
9308 around the extensions (bug#21257).
9309
9310 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
9311
9312 Fix etags completion near eob
9313
9314 * lisp/progmodes/etags.el (tags-completion-at-point-function):
9315 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
9316
9317 2015-11-15 Alan Mackenzie <acm@muc.de>
9318
9319 De-pessimize detection of C++ member initialization lists.
9320
9321 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
9322 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
9323 is only called when a construct "looks right" rather than continually.
9324 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
9325
9326 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
9327
9328 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
9329
9330 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
9331 `url-insert-buffer-contents'.
9332 (url-insert-buffer-contents): New function
9333
9334 (package--with-response-buffer): Use `url-insert-buffer-contents'.
9335 The previous code had some issues with decoding. Refactoring that
9336 function allows us to use the decoding from url-handlers while still
9337 treating both sync and async requests the same.
9338
9339 2015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
9340
9341 Improve a few doc strings, comments
9342
9343 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
9344 * lisp/cedet/ede/locate.el (ede-locate-base):
9345 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
9346 * src/fns.c (Fdelq): Improve doc string.
9347
9348 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
9349
9350 2015-11-15 Anders Lindgren <andlind@gmail.com>
9351
9352 Enhance NSTRACE (trace output for NextStep).
9353
9354 Trace can be disabled for groups of functions. By default, event
9355 functions and functions that generate lots of output are disabled.
9356
9357 Trace output of Objective-C functions now use the "[ClassName
9358 parameter:]" form.
9359
9360 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
9361 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
9362 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
9363 controlling in which function groups trace should be active.
9364 (NSTRACE_WHEN): Support for silencing a function, this also
9365 silencing all called functions.
9366 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
9367 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
9368 print the full screen state in NSTRACE functions.
9369
9370 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
9371 can be accessed from multiple threads.
9372 (nstrace_enabled_global): New variable, when FALSE, trace is
9373 silenced.
9374 (nstrace_restore_global_trace_state): New function, used to
9375 restore `nstrace_enabled_global' at end of block.
9376 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
9377 ([EmacsWindow setFrame:display:animation:])
9378 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
9379 and call corresponding super function.
9380 (Many functions): Add or enhance trace output.
9381
9382 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
9383
9384 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
9385
9386 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
9387 and call corresponding super function.
9388
9389 2015-11-15 Anders Lindgren <andlind@gmail.com>
9390
9391 Fixed a toolbar related issue on OS X.
9392
9393 Earlier, when toggling the tool-bar in a maximized frame, the
9394 frame size didn't match the number of text lines, leaving an
9395 unused area at the bottom of the frame.
9396
9397 * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
9398 fullscreen modes when tool bar is disabled.
9399
9400 2015-11-15 Anders Lindgren <andlind@gmail.com>
9401
9402 Fixed OS X 10.6.8 build issue (bug#21862).
9403
9404 * src/nsterm.h (EmacsView): Add missing declarations.
9405 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
9406 the standard method but without the notification parameter.
9407 Intended to be used for direct calls.
9408 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
9409 version of `windowDidBecomeKey'. Made the notification method call
9410 the non-notification method instead of the vice versa.
9411 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
9412 needed.
9413
9414 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
9415
9416 * lisp/faces.el (faces--attribute-at-point): Fix an issue
9417
9418 Previous code would signal an error when the face at point was
9419 a manually built list of attributes such as '(:foregroud "white").
9420
9421 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
9422
9423 2015-11-15 Paul Eggert <eggert@cs.ucla.edu>
9424
9425 Fix regex abort when it tries to reenter itself
9426
9427 Problem reported by Ken Raeburn.
9428 Solution suggested by Stefan Monnier (Bug#21688).
9429 * src/regex.c (re_match_2_internal):
9430 Use new _FAST functions to avoid regex code reentering itself.
9431 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
9432 All callers changed.
9433 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
9434 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
9435
9436 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
9437
9438 Improve Ruby 1.9-style keyword keys highlighting
9439
9440 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
9441 Handle required keyword arguments (bug#21367).
9442 And highlight the colon together with the name.
9443
9444 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
9445
9446 Unify the absolutely equal xref-backend-references implementations
9447
9448 * lisp/progmodes/elisp-mode.el (xref-backend-references):
9449 Remove.
9450
9451 * lisp/progmodes/etags.el (xref-backend-references):
9452 Remove.
9453
9454 * lisp/progmodes/xref.el (xref-backend-references):
9455 Define the default implementation.
9456
9457 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
9458
9459 Update project-find-regexp for the new xref API
9460
9461 * lisp/progmodes/project.el (project--read-regexp):
9462 Update to use the new xref API methods.
9463
9464 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
9465
9466 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
9467
9468 Fix replacing a match with a shorter string
9469
9470 In effect, partially reverting fe973fc.
9471
9472 * lisp/progmodes/xref.el (xref-query-replace): Store the end
9473 of each match as a marker again, instead of length.
9474 (xref--query-replace-1): Update accordingly.
9475
9476 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
9477
9478 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
9479
9480 Signal user-errors instead.
9481
9482 2015-11-14 Eli Zaretskii <eliz@gnu.org>
9483
9484 Document 'describe-symbol'
9485
9486 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
9487 (Name Help): Document "C-h o" and describe-symbol.
9488
9489 * lisp/help-fns.el (describe-symbol): Doc fix.
9490
9491 2015-11-14 Paul Eggert <eggert@cs.ucla.edu>
9492
9493 Change test name to avoid spellcheck issue.
9494
9495 2015-11-14 Eli Zaretskii <eliz@gnu.org>
9496
9497 Avoid signaling an error in 'describe-symbol'
9498
9499 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
9500 exists as a function/variable/face/etc., but is undocumented.
9501
9502 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
9503 test.
9504
9505 2015-11-14 Eli Zaretskii <eliz@gnu.org>
9506
9507 * INSTALL (--with-cairo): Document this new configure option.
9508
9509 2015-11-14 Eli Zaretskii <eliz@gnu.org>
9510
9511 Document that GNU Make >= 3.81 is required to build Emacs
9512
9513 * doc/lispref/internals.texi (Building Emacs): Document that GNU
9514 Make 3.81 or later is now required.
9515
9516 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
9517
9518 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
9519
9520 (package--with-work-buffer-async): Reimplement as
9521 `package--with-response-buffer'.
9522 (package--with-work-buffer): Mark obsolete.
9523 (package--with-response-buffer): New macro. This is a more self
9524 contained and less contrived version of
9525 `package--with-work-buffer-async'. It uses keyword arguments,
9526 doesn't have async on the name, doesn't fallback on
9527 `package--with-work-buffer', and has _much_ simpler error
9528 handling. On master, this macro will soon be part of another
9529 library (either standalone or inside url.el), which is why this
9530 commit is not to be merged back.
9531
9532 (package--check-signature, package--download-one-archive)
9533 (package-install-from-archive, describe-package-1): Use it.
9534
9535 (package--download-and-read-archives): Let
9536 `package--download-one-archive' take care of calling
9537 `package--update-downloads-in-progress'.
9538
9539 2015-11-14 Eli Zaretskii <eliz@gnu.org>
9540
9541 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
9542
9543 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
9544
9545 Merge branch 'master' into emacs-25
9546
9547 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
9548
9549 Use generic dispatch for xref backends
9550
9551 * lisp/progmodes/xref.el (xref-backend-functions):
9552 New variable.
9553 (xref-find-function): Remove.
9554 (xref-find-backend)
9555 (xref--etags-backend): New functions.
9556 (xref-identifier-at-point-function)
9557 (xref-identifier-completion-table-function): Remove.
9558 (xref-backend-definitions, xref-backend-references)
9559 (xref-backend-apropos, xref-backend-identifier-at-point)
9560 (xref-backend-identifier-completion-table):
9561 New generic functions.
9562
9563 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add
9564 `elisp--xref-backend' to the beginning of
9565 `xref-backend-functions', locally. Delete references to
9566 removed functions and vars.
9567 (elisp-xref-find): Remove.
9568 (elisp--xref-backend): New function.
9569 (elisp--xref-find-references, elisp--xref-find-apropos)
9570 (elisp--xref-identifier-completion-table):
9571 Turn into appropriately named generic methods.
9572
9573 * lisp/progmodes/etags.el (etags-xref-find): Remove.
9574 (xref-backend-identifier-completion-table)
9575 (xref-backend-references, xref-backend-definitions)
9576 (xref-backend-apropos): New generic methods.
9577
9578 2015-11-14 Juri Linkov <juri@linkov.net>
9579
9580 Support rectangular regions for more commands
9581
9582 * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
9583 (region-insert-function): New function.
9584 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
9585 If non-nil, operate on multiple chunks.
9586 (region-noncontiguous-p): New function.
9587
9588 * lisp/rect.el: Add function rectangle--insert-region
9589 around region-insert-function.
9590 (extract-rectangle-bounds): New function.
9591 (rectangle--extract-region): Handle the arg value ‘bounds’.
9592 (rectangle--insert-region): New function.
9593
9594 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
9595 around region-insert-function.
9596 (cua--extract-rectangle-bounds): New function.
9597 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
9598
9599 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
9600 ‘region-noncontiguous-p’. Use ‘use-region-p’.
9601 (query-replace-regexp-eval, map-query-replace-regexp)
9602 (replace-string, replace-regexp): Use ‘use-region-p’.
9603 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
9604 (perform-replace): Add arg ‘region-noncontiguous-p’.
9605 If non-nil, operate on multiple chunks.
9606
9607 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
9608 If non-nil, operate on multiple chunks. (Bug#19829)
9609
9610 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
9611
9612 Handle multiple matches on the same line; add highlighting
9613
9614 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
9615 column value in characters.
9616 (xref--collect-matches): Rename from `xref--collect-match'.
9617 Search for all matches in the hit line. Add `highlight' face to
9618 the matched region in the summary. Update both callers.
9619
9620 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
9621
9622 Replace xref-match-bounds with xref-match-length
9623
9624 Relying on xref-location-marker to point to the beginning of the match
9625
9626 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
9627 (xref-match-length): Add.
9628 (xref-make-match): Change the arguments.
9629 (xref--match-buffer-bounds): Remove.
9630 (xref-match-item): Store length, instead of end-column.
9631 (xref-pulse-momentarily)
9632 (xref--collect-match)
9633 (xref--query-replace-1): Update accordingly.
9634 (xref-query-replace): Ditto. And check that the search results
9635 are up-to-date.
9636
9637 2015-11-13 John Wiegley <johnw@newartisans.com>
9638
9639 Merge remote-tracking branch 'origin/master' into emacs-25
9640
9641 2015-11-13 l3thal <kwhite@gnu.org>
9642
9643 Merge branch 'erc-async-reconnect' into emacs-25
9644
9645 Reconnect asynchronously.
9646
9647 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
9648
9649 Merge from gnulib
9650
9651 This incorporates:
9652 2015-11-13 xalloc-oversized: improve performance with GCC 5
9653 * lib/xalloc-oversized.h: Copy from gnulib.
9654
9655 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
9656
9657 Spruce up ftfont.c memory allocation
9658
9659 * src/ftfont.c (setup_otf_gstring):
9660 Avoid O(N**2) behavior when reallocating.
9661 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
9662 reallocating buffers; this simplifies the code. Do not trust
9663 mflt_run to leave the output areas unchanged on failure, as
9664 this isn’t part of its interface spec.
9665
9666 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9667
9668 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
9669
9670 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
9671
9672 Port recent XCB changes to 64-bit ‘long int’
9673
9674 For historical reasons, libX11 represents 32-bit values like Atoms as
9675 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
9676 do that, so adapt the recent XCB code to behave properly on 64-bit
9677 platforms. Also, fix what appears to be a bug in the interpretation
9678 of xcb_get_property_value_length, at least on my Fedora platform
9679 which is running libxcb-1.11-5.fc21.
9680 * src/xfns.c (x_real_pos_and_offsets):
9681 * src/xterm.c (get_current_wm_state):
9682 xcb_get_property_value_length returns a byte count, not a word count.
9683 For 32-bit quantities, xcb_get_property_value returns a vector
9684 of 32-bit words, not of (possibly 64-bit) long int.
9685
9686 Backport.
9687
9688 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
9689
9690 * src/undo.c (run_undoable_change): Now static.
9691
9692 Backport.
9693
9694 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9695
9696 Remove support for ':timeout' from w32 tray notifications
9697
9698 * src/w32fns.c (Fw32_notification_notify): Delete the code that
9699 supports ':timeout'.
9700 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
9701 with dbusbind.c when D-Bus is compiled in.
9702
9703 * doc/lispref/os.texi (Desktop Notifications): Don't mention
9704 ':timeout'.
9705
9706 Backport.
9707
9708 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
9709
9710 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
9711
9712 (simple-test--transpositions): New macro.
9713 (simple-transpose-subr): New test.
9714
9715 Backport.
9716
9717 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
9718
9719 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
9720
9721 Backport.
9722
9723 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
9724
9725 * src/undo.c: Small fixes for previous change
9726
9727 (run_undoable_change): Mark void argument list.
9728 (record_property_change): Remove unused variable `boundary'.
9729
9730 Backport.
9731
9732 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9733
9734 Add a few more variables to redisplay--variables
9735
9736 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
9737 and bidi-display-reordering to the list.
9738
9739 Backport.
9740
9741 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9742
9743 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
9744
9745 Backport.
9746
9747 2015-11-13 Eli Barzilay <eli@barzilay.org>
9748
9749 Fix point positioning after transposing with negative arg
9750
9751 * lisp/simple.el (transpose-subr): When invoked with a negative
9752 argument, move point to after the transposed text, like we do
9753 when invoked with a positive argument. (Bug#21885)
9754
9755 Backport.
9756
9757 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9758
9759 Fix last change in shr.el
9760
9761 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
9762 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
9763
9764 Backport.
9765
9766 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9767
9768 Fix last change
9769
9770 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
9771 Don't DEFSYM tray notification symbols if D-Bus is being used.
9772
9773 Backport.
9774
9775 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9776
9777 Another fix for MinGW64 and Cygwin builds due to notifications
9778
9779 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
9780 being compiled into Emacs.
9781 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
9782 Sw32_notification_notify and Sw32_notification_close if the code
9783 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9784
9785 Backport.
9786
9787 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9788
9789 Remove intern calls and XXX comments from Fx_export_frames
9790
9791 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
9792 Qsvg instead of intern calls. Use "postscript" instead of "ps"
9793 for consistency with image types. Remove XXX comments.
9794 (syms_of_xfns) <Qpdf>: DEFSYM it.
9795
9796 Backport.
9797
9798 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
9799
9800 Port recent XCB changes to 64-bit ‘long int’
9801
9802 For historical reasons, libX11 represents 32-bit values like Atoms as
9803 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
9804 do that, so adapt the recent XCB code to behave properly on 64-bit
9805 platforms. Also, fix what appears to be a bug in the interpretation
9806 of xcb_get_property_value_length, at least on my Fedora platform
9807 which is running libxcb-1.11-5.fc21.
9808 * src/xfns.c (x_real_pos_and_offsets):
9809 * src/xterm.c (get_current_wm_state):
9810 xcb_get_property_value_length returns a byte count, not a word count.
9811 For 32-bit quantities, xcb_get_property_value returns a vector
9812 of 32-bit words, not of (possibly 64-bit) long int.
9813
9814 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
9815
9816 * src/undo.c (run_undoable_change): Now static.
9817
9818 2015-11-13 Michael Albinus <michael.albinus@gmx.de>
9819
9820 Adapt Tramp version, do not merge with master
9821
9822 * doc/misc/trampver.texi (trampver):
9823 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
9824
9825 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9826
9827 Remove support for ':timeout' from w32 tray notifications
9828
9829 * src/w32fns.c (Fw32_notification_notify): Delete the code that
9830 supports ':timeout'.
9831 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
9832 with dbusbind.c when D-Bus is compiled in.
9833
9834 * doc/lispref/os.texi (Desktop Notifications): Don't mention
9835 ':timeout'.
9836
9837 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
9838
9839 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
9840
9841 (simple-test--transpositions): New macro.
9842 (simple-transpose-subr): New test.
9843
9844 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
9845
9846 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
9847
9848 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
9849
9850 * src/undo.c: Small fixes for previous change
9851
9852 (run_undoable_change): Mark void argument list.
9853 (record_property_change): Remove unused variable `boundary'.
9854
9855 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9856
9857 Add a few more variables to redisplay--variables
9858
9859 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
9860 and bidi-display-reordering to the list.
9861
9862 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9863
9864 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
9865
9866 2015-11-13 Eli Barzilay <eli@barzilay.org>
9867
9868 Fix point positioning after transposing with negative arg
9869
9870 * lisp/simple.el (transpose-subr): When invoked with a negative
9871 argument, move point to after the transposed text, like we do
9872 when invoked with a positive argument. (Bug#21885)
9873
9874 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9875
9876 Fix last change in shr.el
9877
9878 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
9879 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
9880
9881 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9882
9883 Fix last change
9884
9885 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
9886 Don't DEFSYM tray notification symbols if D-Bus is being used.
9887
9888 2015-11-13 Eli Zaretskii <eliz@gnu.org>
9889
9890 Another fix for MinGW64 and Cygwin builds due to notifications
9891
9892 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
9893 being compiled into Emacs.
9894 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
9895 Sw32_notification_notify and Sw32_notification_close if the code
9896 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9897
9898 2015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9899
9900 Remove intern calls and XXX comments from Fx_export_frames
9901
9902 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
9903 Qsvg instead of intern calls. Use "postscript" instead of "ps"
9904 for consistency with image types. Remove XXX comments.
9905 (syms_of_xfns) <Qpdf>: DEFSYM it.
9906
9907 2015-11-13 Eric Hanchrow <eric.hanchrow@gmail.com>
9908
9909 shr: don't invoke unbound function (Bug#21895)
9910
9911 * lisp/net/shr.el (have-fringes-p): New function.
9912 (shr-insert-document, shr-fill-text): Use it.
9913
9914 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
9915
9916 * test/automated/keymap-tests.el: Fix test to make it repeatable
9917
9918 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
9919 entry to its initial value to make the test repeatable in interactive
9920 sessions (assuming it doesn't fail and crashes Emacs, of course).
9921
9922 2015-11-13 Artur Malabarba <bruce.connor.am@gmail.com>
9923
9924 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
9925
9926 2015-11-12 Phillip Lord <phillip.lord@russet.org.uk>
9927
9928 : Tests for undo-auto functionality.
9929
9930 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
9931
9932 The heuristic that Emacs uses to add an `undo-boundary' has been
9933 reworked, as it interacts poorly with functions on `post-command-hook'
9934 or `after-change-functions'.
9935
9936 * lisp/simple.el: New section added.
9937 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
9938 (self_insert_command): Calls simple.el to amalgamate.
9939 (delete_char): Calls simple.el to amalgamate.
9940 * src/keyboard.c (last_undo_boundary): Removed.
9941 * src/undo.c (run_undoable_change): New function.
9942
9943 2015-11-12 Juri Linkov <juri@linkov.net>
9944
9945 Bind [?\S-\ ] to previous line command in Dired-like modes.
9946
9947 * lisp/arc-mode.el (archive-mode-map):
9948 * lisp/dired.el (dired-mode-map):
9949 * lisp/proced.el (proced-mode-map):
9950 * lisp/vc/vc-dir.el (vc-dir-mode-map):
9951 Bind [?\S-\ ] to previous line command.
9952 (Bug#20790)
9953
9954 2015-11-12 Eli Zaretskii <eliz@gnu.org>
9955
9956 Fix the MinGW64 and Cygwin-w32 builds
9957
9958 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
9959 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
9960 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
9961 which cause trouble with MinGW42 headers. Ifdef away tray
9962 notifications code for Cygwin. Reported by Andy Moreton
9963 <andrewjmoreton@gmail.com>.
9964
9965 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
9966
9967 Enable sorting of JSON object keys when encoding
9968
9969 * lisp/json.el (json-encoding-object-sort-predicate): New variable for
9970 specifying a sorting predicate for JSON objects during encoding.
9971 (json--plist-to-alist): New utility function.
9972 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
9973 are to be sorted.
9974 (json-encode-alist): Sort output by
9975 `json-encoding-object-sort-predicate, when set.
9976 (json-encode-plist): Re-use `json-encode-alist' when object keys are
9977 to be sorted.
9978 (json-pretty-print-buffer-ordered): New command to pretty print the
9979 buffer with object keys sorted alphabetically.
9980 (json-pretty-print-ordered): New command to pretty print the region with
9981 object keys sorted alphabetically.
9982
9983 * test/automated/json-tests.el (test-json-plist-to-alist)
9984 (test-json-encode-plist, test-json-encode-hash-table)
9985 (test-json-encode-alist-with-sort-predicate)
9986 (test-json-encode-plist-with-sort-predicate): New tests.
9987
9988 * etc/NEWS: Add an entry for the new commands.
9989
9990 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
9991
9992 * test/automated/keymap-tests.el: New test file
9993
9994 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
9995
9996 Speed up x_real_pos_and_offsets using XCB
9997
9998 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
9999 all X calls, and pipeline requests when possible, collecting results
10000 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
10001
10002 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
10003
10004 Enable use of XCB for checking window manager state
10005
10006 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
10007 of XGetWindowProperty plus error-catching, since we can explicitly
10008 check for errors in the XCB version. This eliminates 3 XSync calls on
10009 top of the round-trip actually fetching the information.
10010
10011 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
10012
10013 Detect XCB and save a connection handle
10014
10015 * configure.ac: If using X11, check for XCB libraries and header.
10016 * src/Makefile.in (XCB_LIBS): Define.
10017 (LIBX_EXTRA): Include it.
10018
10019 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
10020 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
10021 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
10022
10023 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
10024
10025 Reduce some data dependencies between X calls
10026
10027 Gains nothing in the traditional-Xlib code, but more closely aligns
10028 with how the XCB version will work.
10029
10030 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
10031 send coordinates (0,0) to the X server and add in the real coordinates
10032 after getting the response. Move XGetGeometry for outer window inside
10033 error-trapping block. Use DPY variable more, since it's available.
10034
10035 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
10036
10037 Use color cache for creating bitmap
10038
10039 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]: Set
10040 attributes to use the caching color allocator. Initialize and free
10041 the cache.
10042
10043 2015-11-12 Eli Barzilay <eli@barzilay.org>
10044
10045 Add "^" to the interactive specs of `dired-next/previous-line'
10046
10047 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
10048 to bind these commands to the arrow keys, and that means that they work
10049 better with a "^" in the `interactive' declaration so selection works
10050 as expected.
10051
10052 2015-11-12 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10053
10054 Sync with soap-client repository, version 3.0.2
10055
10056 * lisp/net/soap-client.el: Bump version to 3.0.2.
10057
10058 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
10059
10060 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
10061 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
10062
10063 * lisp/net/soap-client.el: Support Emacs versions that do not have
10064 define-error.
10065
10066 * lisp/net/soap-inspect.el: Remove version header.
10067
10068 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
10069 format.
10070
10071 2015-11-11 Alan Mackenzie <acm@muc.de>
10072
10073 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
10074
10075 lisp/progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments)
10076 (c-invalidate-state-cache-1, c-parse-state-1, c-guess-basic-syntax):
10077 remove bindings of open-paren-in-column-0-is-defun-start to nil.
10078 (c-get-fallback-scan-pos): "New" function (existed several years ago).
10079 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
10080 c-get-fallback-scan-pos.
10081 (c-parse-state-1): Handle 'BOD strategy.
10082
10083 lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
10084 c-font-lock-fontify-region): remove bindings of
10085 open-paren-in-column-0-is-defun-start to nil.
10086
10087 cc-mode.texi (Performance Issues, Limitations and Known Bugs): Fix mix up
10088 between @chapter and @appendix.
10089
10090 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
10091
10092 * lisp/obarray.el: Fix shadowed variables
10093
10094 (obarray-map, obarray-remove, obarray-put, obarray-get):
10095 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
10096
10097 2015-11-11 Eli Zaretskii <eliz@gnu.org>
10098
10099 Avoid error in submitting a form with EWW
10100
10101 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
10102 CHUNK to be nil. (Bug#21881)
10103
10104 2015-11-11 Nicolas Petton <nicolas@petton.fr>
10105
10106 Rename seq-p and map-p to seqp and mapp
10107
10108 * lisp/emacs-lisp/seq.el (seqp): New name.
10109 * lisp/emacs-lisp/map.el (mapp): New name.
10110 * doc/lispref/sequences.texi: Update the documentation for seqp.
10111 * test/automated/map-tests.el: Update the tests for mapp.
10112
10113 2015-11-11 Nicolas Petton <nicolas@petton.fr>
10114
10115 Rename obarray-p to obarrayp
10116
10117 * lisp/obarray.el (obarrayp): New name.
10118 * test/automated/obarray-tests.el: Update the tests.
10119
10120 2015-11-11 Nicolas Petton <nicolas@petton.fr>
10121
10122 Rename obarray-foreach to obarray-map
10123
10124 * lisp/obarray.el (obarray-map): New name.
10125 * test/automated/obarray-tests.el: Update the corresponding tests.
10126
10127 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
10128
10129 New file with obarray functions.
10130
10131 * lisp/obarray.el: basic obarray functions extracted from abbrev.el
10132 * test/automated/obarray-tests.el: new file
10133
10134 2015-11-11 Eli Zaretskii <eliz@gnu.org>
10135
10136 Implement tray notifications for MS-Windows
10137
10138 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
10139 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
10140 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
10141 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
10142 (EMACS_NOTIFICATION_MSG): New macros.
10143 (NI_Severity): New enumeration.
10144 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
10145 (delete_tray_notification, Fw32_notification_notify)
10146 (Fw32_notification_close): New functions.
10147 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
10148 keywords used by w32-notification-notify.
10149
10150 * doc/lispref/os.texi (Desktop Notifications): Describe the native
10151 w32 tray notifications.
10152
10153 2015-11-11 Alan Mackenzie <acm@muc.de>
10154
10155 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
10156
10157 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
10158 Windows" and new @defun selected-window-group.
10159 (Window Start and End): Describe new &optional parameter GROUP and
10160 ...-group-function for window-start, window-end, set-window-start, and
10161 pos-visible-in-window-p.
10162 (Textual Scrolling) Describe the same for recenter.
10163 doc/lispref/positions.texi (Screen Lines): Describe the same for
10164 move-to-window-line.
10165
10166 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
10167 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
10168 new optional parameter "group". At the beginning of each, check whether the
10169 corresponding ...-group-function is set to a function, and if so execute this
10170 function in place of the normal processing.
10171 (syms_of_window): Define symbols for the six new variables below.
10172 (window-start-group-function, window-end-group-function)
10173 (set-window-start-group-function, recenter-group-function)
10174 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
10175 New permanent local buffer local variables.
10176 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
10177 Fpos_visible_in_window_p.
10178
10179 lisp/window.el (selected-window-group-function): New permanent local buffer
10180 local variable.
10181 (selected-window-group): New function.
10182
10183 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
10184 enable, kill them at mode disable. Add/remove follow-after-change to/from
10185 after-change-functions.
10186 (follow-start-end-invalid): New variable.
10187 (follow-redisplay): Manipulate follow-start-end-invalid.
10188 (follow-after-change, follow-window-start, follow-window-end)
10189 (follow-set-window-start, follow-pos-visible-in-window-p)
10190 (follow-move-to-window-line, follow-sit-for): New functions.
10191
10192 lisp/isearch.el (isearch-call-message): New macro.
10193 (isearch-update, with-isearch-suspended, isearch-del-char)
10194 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
10195 (with-isearch-suspended): Rearrange code such that isearch-call-message is
10196 invoked before point is moved.
10197 (isearch-message): Add comment about where point must be at function call.
10198 (isearch-search): Remove call to isearch-message.
10199 (isearch-lazy-highlight-window-group): New variable.
10200 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
10201 the battery of tests to ...
10202 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
10203 Note: (sit-for 0) is still called.
10204 (isearch-lazy-highlight-update): Check membership of
10205 isearch-lazy-highlight-window-group. Don't set the `window' overlay
10206 property.
10207 (isearch-update, isearch-done, isearch-string-out-of-window)
10208 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
10209 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
10210 (isearch-lazy-highlight-update): Call the six amended primitives (see
10211 src/window.c above) with the new `group' argument set to t, to cooperate
10212 with Follow Mode.
10213
10214 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
10215
10216 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
10217
10218 * lisp/net/tramp.el (tramp-handle-file-equal-p)
10219 (tramp-handle-file-in-directory-p): New defuns. Suggested by
10220 Harvey Chapman <hchapman@3gfp.com>
10221
10222 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10223 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10224 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10225 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
10226
10227 2015-11-10 Karl Fogel <kfogel@red-bean.com>
10228
10229 * CONTRIBUTE: Encourage adding tests.
10230
10231 Based on this post from John Wiegley:
10232
10233 From: "John Wiegley" <johnw@newartisans.com>
10234 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
10235 To: Juanma Barranquero <lekktu@gmail.com>
10236 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
10237 emacs-devel <emacs-devel@gnu.org>
10238 Date: Wed, 28 Oct 2015 18:45:29 -0700
10239 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
10240
10241 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
10242
10243 2015-11-10 David Reitter <david.reitter@gmail.com>
10244
10245 Avoid creating notification objects when possible
10246
10247 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:,
10248 windowDidEnterFullScreen, windowDidExitFullScreen): provide
10249 convenience functions that do not require a notification object. When
10250 needed, define NSWindowDidEnterFullScreenNotification to allow for
10251 compilation on OS X 10.6.8.
10252
10253 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
10254
10255 Move INTEGER_TO_CONS body out of .h file
10256
10257 * src/data.c (INTBIG_TO_LISP): New macro, with most
10258 of the contents of the old INTEGER_TO_CONS.
10259 (intbig_to_lisp, uintbig_to_lisp): New functions.
10260 * src/lisp.h (INTEGER_TO_CONS):
10261 Simplify by using EXPR_SIGNED and the new functions.
10262 This shrinks code size a bit, and makes it easier to
10263 put a breakpoint on handling of large integers.
10264
10265 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
10266
10267 Merge from gnulib
10268
10269 This incorporates:
10270 2015-11-10 intprops: new public macro EXPR_SIGNED
10271 2015-11-10 intprops: fix typo in clang port
10272 * lib/intprops.h: Copy from gnulib.
10273
10274 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
10275
10276 Spelling fixes
10277
10278 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
10279 Fix misspelling in output.
10280
10281 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
10282
10283 * doc/lispref/variables.texi (Directory Local Variables):
10284
10285 Document dir-locals wildcards
10286
10287 * lisp/files.el (dir-locals-file): Point to Info node.
10288
10289 * doc/emacs/custom.texi (Directory Variables):
10290 Document dir-locals wildcards.
10291
10292 * etc/NEWS: Document new functionality.
10293
10294 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
10295
10296 * lisp/files.el: Don't allow customization of dir-locals sorting
10297
10298 In retrospect, this is not a good idea for the same reason that
10299 `dir-locals-file' is a defconst, because it is important that this
10300 behaviour be "uniform across different environments and users".
10301 Sure, the user can still change the sorting with a hack, but we
10302 shouldn't encourage them to change it.
10303
10304 (dir-locals--all-files): Return list in the order returned by
10305 `file-expand-wildcards'.
10306 (file-expand-wildcards): Document the sorting predicate used.
10307 (dir-locals-sort-predicate): Delete variable.
10308
10309 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
10310
10311 * lisp/files.el (dir-locals-read-from-file): Better handle errors
10312
10313 * lisp/isearch.el (search-default-regexp-mode): change default value
10314
10315 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
10316
10317 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files
10318
10319 `locate-dominating-file' will now keep looking if the files it finds in
10320 a given directory are unreadable (or not files).
10321
10322 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
10323
10324 * lisp/files.el (dir-locals-file): Allow wildcards
10325
10326 (dir-locals-find-file, dir-locals-collect-variables)
10327 (dir-locals-read-from-file): Update accordingly.
10328 (hack-dir-local-variables): Rename a local variable.
10329
10330 * lisp/files-x.el (modify-dir-local-variable): Update accordingly
10331
10332 * lisp/help-fns.el (describe-variable): Update accordingly
10333
10334 * .gitignore: Add .dir-locals?.el
10335
10336 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
10337
10338 * lisp/emacs-lisp/map.el (map-merge-with): New function
10339
10340 * test/automated/map-tests.el (test-map-merge-with): New test
10341
10342 2015-11-10 Karl Fogel <kfogel@red-bean.com>
10343
10344 Fix some recently-perturbed bookmark autoloads
10345
10346 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
10347 (bookmark-set): Restore autoload.
10348 (bookmark-set-no-overwrite): Add autoload.
10349
10350 Thanks to Juanma Barranquero for noticing the autoload problems
10351 introduced by my recent commit adding/changing the above functions
10352 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
10353
10354 2015-11-10 Noah Friedman <friedman@splode.com>
10355
10356 (ydump-buffer): Handle case where gap is at the start of buffer.
10357 I don't recall if older versions of gdb were less strict but you
10358 cannot dump a 0-length range in gdb 7.9.1.
10359
10360 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
10361
10362 * lisp/progmodes/project.el: Update Commentary.
10363
10364 Merge branch 'project-next'
10365
10366 2015-11-10 Dmitry Gutov <dgutov@yandex.ru>
10367
10368 Fold `project-ask-user' into `project-current'
10369
10370 * lisp/progmodes/project.el (project-find-functions): Remove
10371 `project-ask-user'.
10372 (project-ask-user): Remove function and the corresponding
10373 `project-roots' implementation.
10374 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
10375 user in case there's no project in the current directory. Update
10376 all callers.
10377
10378 2015-11-09 Karl Fogel <kfogel@red-bean.com>
10379
10380 When VC detects a conflict, specify which file
10381
10382 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
10383 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
10384 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
10385 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
10386 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
10387 to display a standard message that specifies the conflicted file.
10388
10389 Before this change, the message VC used for indicating a conflicted
10390 file was just "There are unresolved conflicts in this file" without
10391 naming the file (and this language was duplicated in several places).
10392 After this change, it's "There are unresolved conflicts in file FOO"
10393 (and this language is now centralized in one function in vc.el).
10394
10395 Justification: It's important for the message to name the conflicted
10396 file because the moment when VC realizes a file is conflicted does not
10397 always come interactively. For example, some people automatically
10398 find a set of Org Mode files on startup, and may keep those .org files
10399 under version control. If any of the files are conflicted, the user
10400 just sees some messages fly by, and might later check the "*Messages*"
10401 buffer to find out what files were conflicted. I'm not saying this
10402 happened to me or anything; it's a purely hypothetical example.
10403
10404 2015-11-09 Eli Zaretskii <eliz@gnu.org>
10405
10406 Fix assertion violation in define-key
10407
10408 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
10409 objects. Reported by Drew Adams <drew.adams@oracle.com>
10410 and Juanma Barranquero <lekktu@gmail.com>.
10411
10412 2015-11-09 Dima Kogan <dima@secretsauce.net>
10413
10414 Fix a memory leak in GC of font cache
10415
10416 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
10417 entities if some of the fonts it references are marked. This
10418 plugs a memory leak. (Bug#21556)
10419
10420 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
10421
10422 Use INT_ADD_WRAPV etc. to check integer overflow
10423
10424 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
10425 * src/buffer.c (record_overlay_string, overlay_strings):
10426 * src/casefiddle.c (casify_object):
10427 * src/ccl.c (Fccl_execute_on_string):
10428 * src/character.c (char_width, c_string_width, lisp_string_width)
10429 (count_size_as_multibyte, string_escape_byte8):
10430 * src/coding.c (coding_alloc_by_realloc, produce_chars):
10431 * src/data.c (arith_driver):
10432 * src/dispnew.c (realloc_glyph_pool, init_display):
10433 * src/editfns.c (styled_format):
10434 * src/fns.c (Ffillarray):
10435 * src/ftfont.c (ftfont_shape_by_flt):
10436 * src/gnutls.c (gnutls_hex_string):
10437 * src/gtkutil.c (get_utf8_string):
10438 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
10439 * src/keymap.c (Fkey_description):
10440 * src/lisp.h (SAFE_ALLOCA_LISP):
10441 * src/term.c (encode_terminal_code):
10442 * src/tparam.c (tparam1):
10443 * src/xselect.c (x_property_data_to_lisp):
10444 * src/xsmfns.c (smc_save_yourself_CB):
10445 * src/xterm.c (x_term_init):
10446 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
10447 more-complicated code involving division and/or
10448 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
10449 subtraction and/or INT_ADD_OVERFLOW.
10450 * src/casefiddle.c (casify_object): Simplify multibyte size check.
10451 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
10452 * src/data.c (arith_driver): Also check for division overflow,
10453 as that’s now possible given that the accumulator can now contain
10454 any Emacs integer.
10455 * src/lisp.h (lisp_word_count): Remove; no longer used.
10456
10457 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
10458
10459 Make sure that the ignore file exists
10460
10461 * lisp/vc/vc.el (vc-default-ignore-completion-table):
10462 Make sure that the ignore file exists.
10463
10464 2015-11-09 Michael Sperber <mike@xemacs.org>
10465
10466 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
10467 `gnus-summary-delete-article` in a way that also works on XEmacs.
10468
10469 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
10470
10471 Add support for retrieving paths to JSON elements
10472
10473 Add support for retrieving the path to a JSON element. This can for
10474 instance be useful to retrieve paths in deeply nested JSON
10475 structures.
10476
10477 * lisp/json.el (json-pre-element-read-function)
10478 (json-post-element-read-function): New variables to hold pre- and post
10479 read callback functions for `json-read-array' and `json-read-object'.
10480 (json--path): New variable used internally by `json-path-to-position'.
10481 (json--record-path, json--check-position): New functions used
10482 internally by `json-path-to-position'.
10483 (json-path-to-position): New function for retrieving the path to a
10484 JSON element at a given position.
10485 (json-read-object, json-read-array): Call
10486 `json-pre-element-read-function' and `json-post-element-read-function'
10487 when set.
10488
10489 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
10490 (test-json-path-to-position-with-arrays)
10491 (test-json-path-to-position-no-match): New tests for
10492 `json-path-to-position'.
10493
10494 2015-11-08 Karl Fogel <kfogel@red-bean.com>
10495
10496 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
10497
10498 This really should been part of my previous commit
10499 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
10500
10501 2015-11-08 Karl Fogel <kfogel@red-bean.com>
10502
10503 Offer non-overwrite bookmark setter (Bug#15746)
10504
10505 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
10506 what `bookmark-set' used to do, but with more choices for overwrite
10507 vs push, and with minor changes to the interactive prompt format.
10508 (bookmark-set): Rewrite as wrapper around above.
10509 If overwriting, inform the user of that in the prompt.
10510 (bookmark-set-no-overwrite): New function, also done as wrapper.
10511 Bind to "M" in `ctl-x-r-map' autoloads.
10512 (bookmark-map): Similarly bind "M" here.
10513
10514 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
10515
10516 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
10517
10518 2015-11-08 Alan Modra <amodra@gmail.com>
10519
10520 ELF unexec: Don't insert a new section
10521
10522 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
10523 don't need to mess with symbol st_shndx, or section sh_link and
10524 sh_info.
10525
10526 This does lead to eu-elflint complaints about symbols defined in .bss
10527 with a needed version, because normally it is undefined symbols that
10528 have needed versions; Defined symbols have version definitions.
10529 The exception is symbols defined by the linker in .dynbss for
10530 variables copied from a shared library in order to avoid text
10531 relocations, with copy relocs to copy their initial values from the
10532 shared library. These symbols are both defined and have needed
10533 versions, and eu-elflink only expects to see them in SHT_NOBITS
10534 sections. Of course there is no real problem with having such symbols
10535 in SHT_PROGBITS sections. glibc ld.so handles them fine.
10536
10537 * src/unexelf.c: Delete outdated comments.
10538 (PATCH_INDEX): Delete.
10539 (find_section): Delete.
10540 (unexec): Don't add a new section. Instead reuse the last bss
10541 section, extending it to cover dumped data. Make bss sections
10542 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
10543 st_shndx. Rename bss sections.
10544
10545 2015-11-08 Alan Modra <amodra@gmail.com>
10546
10547 ELF unexec: Drive from PT_LOAD header rather than sections
10548
10549 This rewrites bss handling in the ELF unexec code. Finding bss
10550 sections by name results in complicated code that
10551 - does not account for all names of possible bss sections,
10552 - assumes specific ordering of bss sections,
10553 - can wrongly choose a SHT_NOBITS section not in the bss segment,
10554 - incorrectly calculates bss size (no accounting for alignment gaps),
10555 - assumes .data and .bss are in the same segment.
10556
10557 All of these problems and more are solved by finding the bss segment
10558 in PT_LOAD headers, ie. the address range included in p_memsz but not
10559 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
10560 in that address range.
10561
10562 * src/unexelf.c: Delete old ppc comment.
10563 (OLD_PROGRAM_H): Define.
10564 (round_up): Delete.
10565 (unexec): Don't search for bss style sections by name. Instead,
10566 use the last PT_LOAD header address range covered by p_memsz
10567 but not p_filesz and match any SHT_NOBITS section in that
10568 address range. Simplify initialization of section header vars.
10569 Don't assume that section headers are above bss segment. Move
10570 copying of bss area out of section loop. Align .data2 section
10571 to 1, since it now covers the entire bss area. For SHT_NOBITS
10572 sections in the bss segment, leave sh_addr and sh_addralign
10573 unchanged, but correct sh_offset. Clear memory corresponding
10574 to SHT_NOBITS .plt section. Delete comment and hacks for
10575 sections partly overlapping bss range now that the full range
10576 is properly calculated. Delete now dead .sbss code.
10577 (Bug#20614)
10578
10579 2015-11-08 Alan Modra <amodra@gmail.com>
10580
10581 ELF unexec: R_*_NONE relocs
10582
10583 These should be ignored on all targets.
10584
10585 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
10586 not just Alpha. Comment on reloc size assumption.
10587
10588 2015-11-08 Alan Modra <amodra@gmail.com>
10589
10590 ELF unexec: _OBJC_ symbols in bss sections
10591
10592 This code assumed that there was only one bss section. Rather than
10593 checking for a particular index, check the section type. Also, handle
10594 the possibility that the section was SHT_NOBITS originally and is
10595 unchanged, in which case no clearing is needed (and sh_offset isn't
10596 necessarily valid, which can lead to a wild memset).
10597
10598 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in bss sections.
10599
10600 2015-11-08 Alan Modra <amodra@gmail.com>
10601
10602 ELF unexec: Symbol table patching
10603
10604 No st_shndx value larger than SHN_LORESERVE should be changed.
10605 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
10606 SHN_LORESERVE. Error on SHN_XINDEX.
10607
10608 2015-11-08 Alan Modra <amodra@gmail.com>
10609
10610 ELF unexec: Merge Alpha and MIPS COFF debug handling
10611
10612 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
10613 Don't find .mdebug section index, find the section in the loop.
10614 Allow for unlikely possibility that .mdebug is located at sh_offset
10615 before bss segment, by calculating move from difference in
10616 sh_offset rather than just assuming new_data2_size. Simplify
10617 cbLineOffset handling.
10618
10619 2015-11-08 Alan Modra <amodra@gmail.com>
10620
10621 ELF unexec: Tidy code
10622
10623 Separate out some of the more mechanical changes so following patches
10624 are smaller.
10625
10626 * src/unexelf.c (unexec): Rearrange initialization of program
10627 header vars. Use pointer vars in loops rather than indexing
10628 section header array via macros. Simplify _OBJC_ sym code
10629 and reloc handling code.
10630
10631 2015-11-08 Alan Modra <amodra@gmail.com>
10632
10633 ELF unexec: Correct section header index
10634
10635 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
10636 it should have been using "NEW_SECTION_H (nn)" to find the name of the
10637 section currently being processed. Of course, before the bss
10638 sections, n and nn have the same value, so this doesn't matter except
10639 in the case of .sbss. For .sbss this probably meant .bss (most likely
10640 the next section) was copied from memory. A later patch removes the
10641 bogus .sbss handling anyway.
10642
10643 * src/unexelf.c (unexec): Use correct index to look up names.
10644
10645 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
10646
10647 Fix Bug#21841
10648
10649 * lisp/filenotify.el (file-notify--rm-descriptor):
10650 Use `descriptor' instead of computing its value.
10651 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
10652 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
10653 (Bug#21841)
10654
10655 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
10656
10657 Remove dirs in vc project roots from the the vc project library roots
10658
10659 * lisp/progmodes/project.el (project-library-roots): Remove
10660 directories inside the project roots from the result.
10661 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
10662
10663 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
10664
10665 Move and rename xref-find-regexp to the project package
10666
10667 * lisp/progmodes/project.el (project-find-regexp)
10668 (project--read-regexp)
10669 (project--find-regexp-in): New functions.
10670
10671 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
10672 xref--show-xrefs. Use in existing callers in place of that
10673 function.
10674 (xref--show-xrefs): Only do the "show" part.
10675 (xref-find-regexp): Rename, more or less, to
10676 project-or-libraries-find-regexp.
10677
10678 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
10679
10680 Abolish temporary buffer management for xref
10681
10682 * lisp/progmodes/xref.el (xref--temporary-buffers)
10683 (xref--current)
10684 (xref--inhibit-mark-current)
10685 (xref--mark-selected): Remove. Remove all references.
10686 (xref--show-xrefs): Do not construct the
10687 list of the temporary buffers, nor pass it along.
10688
10689 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
10690
10691 Rename "search path" to "library roots"
10692
10693 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
10694 of the elements from CL-LIST1.
10695
10696 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
10697 Update WRT to the above change.
10698
10699 * lisp/progmodes/project.el (project-search-path-function): Rename
10700 to project-library-roots-function, update the documentation and
10701 references.
10702 (project-search-path): Likewise, to project-library-roots.
10703 (project-roots): Clarify documentation.
10704 (project-vc-search-path): Likewise, to project-vc-library-roots.
10705 (project-library-roots): In addition to the renames, thread the
10706 results through file-name-as-directory.
10707 (project-prune-directories): Accept a variable number of
10708 arguments. Rename to project-combine-directories.
10709 (project-subtract-directories): New function.
10710
10711 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
10712 Append project-roots and project-library-roots together.
10713
10714 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
10715
10716 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
10717
10718 Prefer xpalloc to doubling buffers by hand
10719
10720 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
10721 (read1): Use it for simplicity.
10722 * src/macros.c (store_kbd_macro_char):
10723 * src/minibuf.c (read_minibuf_noninteractive):
10724 * src/term.c (encode_terminal_code):
10725 * src/xrdb.c (magic_db):
10726 Prefer xpalloc to growing buffers by hand.
10727 This doesn’t fix any bugs, but simplifies the code a bit.
10728
10729 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
10730
10731 Merge from gnulib
10732
10733 This incorporates:
10734 2015-11-05 timespec-sub: fix overflow bug; add tests
10735 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
10736 2015-11-03 intprops: add parentheses
10737 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
10738 Copy from gnulib.
10739
10740 2015-11-07 David Reitter <david.reitter@gmail.com>
10741
10742 Provide NS notification objects where required to eliminate warnings
10743
10744 * src/nsterm.m (windowDidResize:, toggleFullScreen:):
10745 Call notification functions with notification objects
10746 as per delegate APIs.
10747
10748 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
10749
10750 Add test for bug #21824
10751
10752 * test/automated/buffer-tests.el: New file.
10753 (overlay-modification-hooks-message-other-buf): New test.
10754
10755 2015-11-07 Kelvin White <kwhite@gnu.org>
10756
10757 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
10758
10759 2015-11-07 David Reitter <david.reitter@gmail.com>
10760
10761 Ignore fullscreen exit notifications on NS when frame is dead
10762
10763 * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
10764 (windowDidExitFullScreen:): Return if frame is dead.
10765 These functions may be called when a fullscreen frame
10766 is closed; they are called before, not after.
10767
10768 May address Bug#21428.
10769
10770 2015-11-07 Eli Zaretskii <eliz@gnu.org>
10771
10772 Speed up lookup in redisplay--variables
10773
10774 * lisp/frame.el (redisplay--variables): Make it a hash-table.
10775
10776 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
10777 as a hash-table. This speeds up this function by an order of
10778 magnitude: where previously a setq was slowed down by 100% by
10779 introducing the maybe_set_redisplay test, it is now only 5%
10780 slower.
10781 (syms_of_xdisp) <redisplay--variables>: Doc fix.
10782
10783 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
10784
10785 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
10786
10787 The defsubst was being created as:
10788 (cl-defsubst name (args) ("DOC") ...)
10789
10790 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
10791 Add test.
10792
10793 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
10794
10795 Update doc string of hexl-mode
10796
10797 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
10798
10799 2015-11-07 Eli Zaretskii <eliz@gnu.org>
10800
10801 Fix error in copy-abbrev-table
10802
10803 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
10804 property of the abbrev-table. (Bug#21828)
10805
10806 * test/automated/abbrev-tests.el: New file.
10807
10808 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
10809
10810 Add test to auto-revert-tests.el for Bug#21841
10811
10812 * test/automated/auto-revert-tests.el
10813 (auto-revert-test01-auto-revert-several-files): New test.
10814 (auto-revert-test02-auto-revert-tail-mode)
10815 (auto-revert-test03-auto-revert-mode-dired): Rename them.
10816
10817 2015-11-07 Martin Rudalics <rudalics@gmx.at>
10818
10819 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
10820
10821 2015-11-07 Martin Rudalics <rudalics@gmx.at>
10822
10823 In x_consider_frame_title don't set title of tooltip frames
10824
10825 * src/xdisp.c (x_consider_frame_title): Return immediately for
10826 tooltip frames to avoid displaying empty tooltips.
10827
10828 2015-11-06 Anders Lindgren <andlind@gmail.com>
10829
10830 Fixed NextStep fullscreen problem (bug#21770).
10831
10832 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
10833 fullscreen frames.
10834
10835 2015-11-06 Eli Zaretskii <eliz@gnu.org>
10836
10837 Ensure redisplay after evaluation
10838
10839 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
10840 Revert last change.
10841 * lisp/frame.el (redisplay--variables): Populate the
10842 redisplay--variables list.
10843 * src/xdisp.c (maybe_set_redisplay): New function.
10844 (syms_of_xdisp) <redisplay--variables>: New variable.
10845 * src/window.h (maybe_set_redisplay): Declare prototype.
10846 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
10847
10848 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
10849
10850 * test/automated/subr-tests.el (subr-test-when): Fix again.
10851
10852 2015-11-06 Eli Zaretskii <eliz@gnu.org>
10853
10854 Don't invoke overlay modification hooks in wrong buffer
10855
10856 * src/buffer.c (report_overlay_modification): When called with
10857 AFTER non-zero, don't invoke overlay modification hooks if the
10858 buffer recorded in last_overlay_modification_hooks is different
10859 from the current buffer. (Bug#21824)
10860
10861 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
10862
10863 * admin/notes/repo: Fix a few obsolete references to Bazaar.
10864
10865 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
10866
10867 * test/automated/subr-tests.el (subr-test-when): Fix test.
10868
10869 2015-11-06 Martin Rudalics <rudalics@gmx.at>
10870
10871 Avoid division by zero crash observed by Yuan MEI
10872
10873 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
10874
10875 * src/dispnew.c (required_matrix_height, required_matrix_width):
10876 Avoid division by zero.
10877 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
10878 dpyinfo->smallest_char_width to 1.
10879
10880 2015-11-06 Eli Zaretskii <eliz@gnu.org>
10881
10882 Ensure redisplay after "C-x C-e"
10883
10884 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
10885 redisplay happens to account for any side effects of the evaluated
10886 sexp. (Bug#21835)
10887
10888 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
10889
10890 Skip some file notification tests for cygwin
10891
10892 * test/automated/file-notify-tests.el (file-notify--test-with-events):
10893 Remove argument TIMEOUT. Adapt all callees.
10894 (file-notify-test02-events, file-notify-test04-file-validity):
10895 Skip for cygwin. (Bug#21804)
10896
10897 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
10898
10899 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
10900
10901 2015-11-05 Daiki Ueno <ueno@gnu.org>
10902
10903 Suppress redundant Pinentry startup messages
10904
10905 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
10906 * lisp/epg.el: Declare `pinentry-start'.
10907 (epg--start): Call `pinentry-start' with QUIET argument set.
10908
10909 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
10910
10911 * doc/emacs/ack.texi (Acknowledgments): Updates.
10912
10913 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
10914
10915 * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
10916 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
10917
10918 2015-11-05 Tassilo Horn <tsdh@gnu.org>
10919
10920 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
10921 Add prettification support for \times.
10922
10923 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
10924
10925 * test/automated/process-tests.el: Skip tests when bash is unavailable.
10926 (process-test-sentinel-accept-process-output)
10927 (process-test-sentinel-sit-for): skip-unless bash executable found.
10928
10929 2015-11-05 Eli Zaretskii <eliz@gnu.org>
10930
10931 Add test for bug #21831
10932
10933 * test/automated/process-tests.el
10934 (start-process-should-not-modify-arguments): New test. (Bug#21831)
10935 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
10936
10937 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
10940
10941 (eieio--generic-static-object-generalizer): Fix typo.
10942 * test/automated/eieio-tests.el: Byte-compile it again. It looks
10943 like the underlying cause of bug#17852 was fixed in the mean time.
10944
10945 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
10946
10947 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
10948
10949 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
10950 It breaks bootstrapping (duh).
10951
10952 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
10953
10954 * lisp/files.el (report-errors): Obsolete.
10955
10956 (normal-mode, hack-local-variables, dir-locals-find-file):
10957 Use `with-demoted-errors' instead.
10958
10959 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
10960
10961 * lisp/subr.el (when): Use `macroexp-progn'.
10962
10963 * test/automated/subr-tests.el (subr-test-when): New test.
10964
10965 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
10966
10967 * lisp/progmodes/xref.el: Doc fixes.
10968 (xref-make-file-location, xref-make-buffer-location, xref-make)
10969 (xref-make-bogus-location, xref-make-match): Add cross-references.
10970 (xref--insert-xrefs): Fix typo in docstring.
10971
10972 2015-11-04 Anders Lindgren <andlind@gmail.com>
10973
10974 Render fringe bitmaps correctly on NextStep (bug#21301)
10975
10976 The fringe bitmaps were inverted, the background was not transparent,
10977 the image data was horizontally mirrored, and periodic fringe bitmaps
10978 were not supported.
10979
10980 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
10981 When both background and foreground colors are 0, set the background
10982 alpha channel to 0 (making the background transparent). When
10983 copying the image data, do this from the most significant bit
10984 (leftmost) to the least (rightmost), to avoid mirroring.
10985 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
10986 Add support for periodic images (e.g. the empty line indicator).
10987
10988 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
10989
10990 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
10991
10992 2015-11-03 Nicolas Petton <nicolas@petton.fr>
10993
10994 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
10995
10996 * admin/MAINTAINERS: Add thunk.el.
10997
10998 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
10999
11000 * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
11001
11002 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
11003
11004 Fix a stupid error in gfilenotify.c
11005
11006 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
11007 if we've got a `deleted' signal AND the file name is the watched one.
11008
11009 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
11010
11011 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
11012
11013 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
11014 Use case-insensitive string compare for file names.
11015 (emacs-test-dir): Add 'downcase' to cause case differences (at
11016 least on my system).
11017
11018 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
11019
11020 flymake-tests.el (warning-predicate-rx-gcc): Fix check
11021
11022 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
11023 Also check that "make" is available, not just "gcc".
11024
11025 2015-11-02 Ken Brown <kbrown@cornell.edu>
11026
11027 Document behavior of collation on Cygwin
11028
11029 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
11030 expected failure on Cygwin.
11031 * doc/lispref/strings.texi (Text Comparison): Document that
11032 punctuation and whitespace are not ignored for sorting on Cygwin.
11033
11034 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
11035
11036 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
11037
11038 2015-11-01 Glenn Morris <rgm@gnu.org>
11039
11040 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
11041 (Bug#21794)
11042 * test/automated/f90.el (f90-test-bug21794): New test.
11043
11044 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
11045
11046 Fix incompatibility with TCC in test for bug#18745
11047
11048 * test/automated/process-tests.el (process-test-quoted-batfile):
11049 Remove spaces unrelated to the bug being tested.
11050
11051 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
11052
11053 Improve completion in tramp-gvfs.el
11054
11055 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
11056 Rename from `tramp-zeroconf-parse-service-device-names'.
11057 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
11058 with `tramp-zeroconf-parse-device-names'.
11059 (tramp-gvfs-parse-device-names): New defun.
11060 (top): Use it when `tramp-zeroconf-parse-device-names' is not
11061 applicable.
11062
11063 * lisp/net/tramp.el (tramp-set-completion-function): The argument
11064 could also be a zeroconf service type.
11065
11066 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11067
11068 * lisp/net/ntlm.el: Change version to 2.0.0.
11069
11070 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
11071
11072 Fix bug#21762
11073 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
11074 `eql' instead of `=' to accommodate the case that (syntax-after (point))
11075 returns nil.
11076 * test/automated/python-tests.el (python-indent-inside-paren-7):
11077 New test.
11078
11079 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
11080
11081 * test/automated/python-tests.el: Avoid warnings.
11082 (python-tests-with-temp-buffer, python-tests-with-temp-file):
11083 Bind `python-indent-guess-indent-offset' to nil.
11084
11085 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
11086
11087 * src/alloc.c: Silence compiler warnings.
11088 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
11089
11090 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
11091
11092 * etc/NEWS: Fix js-jsx-mode entry punctuation.
11093
11094 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
11095
11096 Add JSX indentation via js-jsx-mode (Bug#21799)
11097
11098 * lisp/progmodes/js.el: Add JSX indentation support.
11099 (js--jsx-end-tag-re)
11100 (js--jsx-after-tag-re): New variables.
11101 (js--jsx-find-before-tag)
11102 (js--jsx-indented-element-p)
11103 (js--as-sgml)
11104 (js--expression-in-sgml-indent-line)
11105 (js-jsx-indent-line)
11106 (js-jsx-mode): New functions.
11107 * test/indent/js-jsx.js: New file.
11108 * etc/NEWS: Add information about js-jsx-mode.
11109
11110 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
11111
11112 Minor fix in filenotify.el
11113
11114 * lisp/filenotify.el (file-notify--event-file-name)
11115 (file-notify--event-file1-name): Normalize result with
11116 `directory-file-name'.
11117
11118 2015-10-31 Eli Zaretskii <eliz@gnu.org>
11119
11120 Avoid errors in redisplay--pre-redisplay-functions
11121
11122 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
11123 use 'bobp', instead compare window-point with 1. (Bug#21730)
11124
11125 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
11126
11127 Merge from gnulib
11128
11129 This incorporates:
11130 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
11131 2015-10-25 stdalign: port to Sun C 5.9
11132 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
11133 Copy from gnulib.
11134
11135 2015-10-30 Eli Zaretskii <eliz@gnu.org>
11136
11137 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
11138 (w32_compare_strings): Adjust for the correction.
11139
11140 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
11141
11142 * test/automated/vc-tests.el (vc-test--state)
11143 (vc-test--working-revision, vc-test--checkout-model):
11144 Add result messages.
11145
11146 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
11147
11148 * test/automated/faces-tests.el: Add another test
11149
11150 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
11151
11152 * lisp/faces.el (faces--attribute-at-point): Fix bug
11153 introduced by previous commit.
11154
11155 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
11156
11157 * test/automated/faces-tests.el: New file.
11158
11159 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
11160
11161 * lisp/faces.el: Refactor common code and fix a bug.
11162 (faces--attribute-at-point): New function. Fix a bug when the
11163 face at point is a list of faces and the desired attribute is not
11164 on the first one.
11165 (foreground-color-at-point, background-color-at-point): Use it.
11166
11167 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
11168
11169 * etc/tutorials/TUTORIAL.translators: Fix PL names.
11170
11171 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
11172
11173 * lisp/character-fold.el: Provide `character-fold'.
11174
11175 2015-10-30 Tassilo Horn <tsdh@gnu.org>
11176
11177 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
11178 for Gnus and ivy.
11179
11180 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
11181
11182 Some minor fixes for tramp-gvfs.el
11183
11184 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
11185 An attribute returned by gvfs-info might be empty. In case of
11186 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
11187 (tramp-zeroconf-parse-service-device-names): New defun.
11188 Derived from `tramp-zeroconf-parse-workstation-device-names'.
11189 (top): Add completion functions for "afp" and "smb" methods.
11190
11191 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
11192
11193 * test/automated/character-fold-tests.el: New file
11194
11195 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
11196
11197 * test/automated/sort-tests.el: New file.
11198 Tests in this file are randomly generated and then tested with
11199 regular, reverse, and case-fold sorting.
11200
11201 2015-10-30 Eli Zaretskii <eliz@gnu.org>
11202
11203 Describe known problems with pinning Emacs to taskbar
11204
11205 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
11206 on Windows 10. For the details, see the discussion starting at
11207 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
11208
11209 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
11210
11211 * lisp/isearch.el: Avoid an error that blocks isearch.
11212 (isearch-update): Don't error if `isearch--current-buffer' has
11213 been killed.
11214
11215 * test/automated/isearch-tests.el (isearch--test-update):
11216 New file.
11217
11218 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
11219
11220 Fix documentation of 'beginning/end-of-buffer'
11221
11222 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
11223 conditions under which the mark will be pushed at the previous
11224 position. (Bug#21748)
11225
11226 2015-10-30 Tassilo Horn <tsdh@gnu.org>
11227
11228 Add RefTeX feature idea: editing RefTeX TOC buffers
11229
11230 More face defs for ivy, swiper, ace-window, eshell
11231
11232 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
11235 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
11236 just VAR.
11237 (auth-source-backend-parse): Use make-instance.
11238 (auth-source-search): Remove unused key args.
11239 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
11240 (auth-source-search-backends): Use slot names rather than their initarg.
11241 (auth-source-netrc-create):
11242 (auth-source-delete):
11243 (auth-source-secrets-create, auth-source-plstore-search)
11244 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
11245 (auth-source-plstore-create, auth-source-netrc-search)
11246 (auth-source-netrc-parse): Remove unused key args.
11247 (auth-source-forget+): Simplify the arglist.
11248 (auth-source-macos-keychain-search-items)
11249 (auth-source-token-passphrase-callback-function): Mark unused args.
11250 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
11251 (pp-escape-newlines): Declare.
11252 (auto-source--symbol-keyword): New function.
11253 (auth-source-plstore-create, auth-source-netrc-create)
11254 (auth-source-netrc-normalize): Use it.
11255 (auth-source-netrc-search): Don't pass :delete to
11256 auth-source-netrc-parse since it doesn't use it.
11257 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
11258 symbol-value to index in keyword args.
11259 (auth-source-macos-keychain-result-append): Avoid setq.
11260 (auth-source-netrc-create): Remove unused vars `file' and `add'.
11261 (auth-source-user-or-password): Remove unused var `cname'.
11262
11263 2015-10-29 Juri Linkov <juri@linkov.net>
11264
11265 * lisp/dired.el (dired-unmark-all-files-query): Declare.
11266 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
11267 (Bug#21746)
11268
11269 2015-10-29 Juri Linkov <juri@linkov.net>
11270
11271 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
11272 to go to the beginning of text line instead of command line.
11273 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
11274
11275 2015-10-29 Eli Zaretskii <eliz@gnu.org>
11276
11277 Fix encoding of saving *Help* buffers
11278
11279 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
11280 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
11281
11282 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
11285 (cl--generic-derived-specializers): New function.
11286 (cl--generic-derived-generalizer): New generalizer.
11287 (cl-generic-generalizers): New specializer (derived-mode MODE).
11288 (cl--generic-split-args): Apply the rewriter, if any.
11289 (cl-generic-define-context-rewriter): New macro.
11290 (major-mode): Use it to define a new context-rewriter, so we can write
11291 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
11292
11293 * lisp/frame.el (window-system): New context-rewriter so we can write
11294 `(window-system VAL)' instead of (window-system (eql VAL)).
11295 (cl--generic-split-args): Apply the rewriter, if any.
11296 (frame-creation-function): Use the new syntax.
11297
11298 * lisp/term/x-win.el (window-system-initialization)
11299 (handle-args-function, frame-creation-function)
11300 (gui-backend-set-selection, gui-backend-selection-owner-p)
11301 (gui-backend-selection-exists-p, gui-backend-get-selection):
11302 * lisp/term/w32-win.el (window-system-initialization)
11303 (handle-args-function, frame-creation-function)
11304 (gui-backend-set-selection, gui-backend-get-selection)
11305 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
11306 * lisp/term/pc-win.el (gui-backend-get-selection)
11307 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
11308 (gui-backend-set-selection, window-system-initialization)
11309 (frame-creation-function, handle-args-function):
11310 * lisp/term/ns-win.el (window-system-initialization)
11311 (handle-args-function, frame-creation-function)
11312 (gui-backend-set-selection, gui-backend-selection-exists-p)
11313 (gui-backend-get-selection):
11314 * lisp/startup.el (handle-args-function):
11315 * lisp/term/xterm.el (gui-backend-get-selection)
11316 (gui-backend-set-selection): Use the new syntax.
11317
11318 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * test/indent/css-mode.css: Add tests for url(...) syntax.
11321
11322 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
11325 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
11326 (smie-prec2->grammar): Use `declare'.
11327
11328 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
11329
11330 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
11331 (cl--generic-generalizer): Add `name' field.
11332 (cl-generic-make-generalizer): Add corresponding `name' argument.
11333 (cl-generic-define-generalizer): New macro.
11334 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
11335 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
11336 (cl--generic-t-generalizer): Use it.
11337 (cl-generic-ensure-function): Add `noerror' argument.
11338 (cl-generic-define): Use it so we don't follow aliases.
11339 (cl-generic-define-method): Preserve pre-existing ordering of methods.
11340 (cl--generic-arg-specializer): New function.
11341 (cl--generic-cache-miss): Use it.
11342 (cl-generic-generalizers): Only fset a temporary definition
11343 during bootstrap.
11344 (cl--generic-struct-tag, cl--generic-struct-specializers):
11345 Allow extra arguments.
11346
11347 * lisp/emacs-lisp/eieio-compat.el
11348 (eieio--generic-static-symbol-generalizer)
11349 (eieio--generic-static-object-generalizer):
11350 Use cl-generic-define-generalizer.
11351 (eieio--generic-static-symbol-specializers): Allow extra arguments.
11352
11353 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
11354 (eieio--generic-subclass-generalizer):
11355 Use cl-generic-define-generalizer.
11356 (eieio--generic-subclass-specializers): Allow extra arguments.
11357
11358 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
11361
11362 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
11363
11364 Add "afp" method to Tramp
11365
11366 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
11367
11368 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
11369 (tramp-gvfs-handle-expand-file-name)
11370 (tramp-gvfs-handler-mounted-unmounted)
11371 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
11372 (tramp-gvfs-maybe-open-connection): Support also "afp".
11373 (tramp-gvfs-handle-file-attributes): Handle the case of empty
11374 "owner::user" and "owner::group" entries.
11375
11376 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
11377
11378 Handle negative coordinates in ‘x_calc_absolute_position’
11379
11380 * src/w32term.c (x_calc_absolute_position): Find display origin to
11381 allow for negative coordinates.
11382
11383 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 (internal--syntax-propertize): Save match-data here (bug#21766)
11386
11387 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
11388 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
11389
11390 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
11391
11392 Don't require default-directory to end with a slash
11393
11394 * doc/lispref/files.texi (Magic File Names): Document the change
11395 in unhandled-file-name-directory.
11396
11397 * lisp/url/url-handlers.el
11398 (url-handler-unhandled-file-name-directory): Update accordingly.
11399
11400 * src/buffer.c (default-directory): Update the docsting.
11401
11402 * src/fileio.c (unhandled-file-name-directory): Default to calling
11403 `file-name-as-directory'
11404 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
11405
11406 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11407
11408 * lisp/isearch.el: Delete some outdated comments.
11409
11410 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
11411
11412 Fix eshell/clear not working if the output has a small line count
11413
11414 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
11415 number of newlines to be inserted. This fixes the issue where
11416 eshell/clear wouldn't work if the prompt was not at the bottom of the
11417 window, and the output wasn't too long.
11418
11419 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * lisp/files.el (write-file): Use vc-refresh-state.
11422
11423 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
11424
11425 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
11426
11427 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
11430 (macroexp-unprogn): Make sure we never return an empty list.
11431 (macroexp-if): Remove unused (and unsafe) optimization.
11432 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
11433 occur occasionally.
11434
11435 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
11436
11437 Fix bug#21766 and add test
11438 * lisp/simple.el (delete-trailing-whitespace): Save match data when
11439 calling `skip-syntax-backward'.
11440 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
11441 New test.
11442
11443 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11444
11445 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
11446
11447 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
11448
11449 * src/dispnew.c (init_display): Simplify overflow checking.
11450
11451 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11452
11453 * lisp/character-fold.el (character-fold-to-regexp): Fix case
11454 where string ends in space
11455
11456 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11457
11458 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
11459
11460 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
11461
11462 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11463
11464 * lisp/character-fold.el: Make compatible with lax-whitespace.
11465 (character-fold-to-regexp): Rework internals to play nice with
11466 lax-whitespacing.
11467
11468 When the user types a space, we want to match the table entry for
11469 ?\s, which is generally a regexp like "[ ...]". However, the
11470 `search-spaces-regexp' variable doesn't "see" spaces inside these
11471 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
11472 manually expose a space).
11473
11474 Furthermore, the lax search engine acts on a bunch of spaces, not
11475 on individual spaces, so if the string contains sequential spaces
11476 like " ", we need to keep them grouped together like this:
11477 "\\( \\|[ ...][ ...]\\)".
11478
11479 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11480
11481 * lisp/isearch.el: Refactor momentary messages.
11482 (isearch--momentary-message): New function.
11483 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
11484 (isearch-toggle-invisible): Use it.
11485
11486 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11487
11488 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
11489 (isearch-define-mode-toggle): New macro.
11490 (isearch-toggle-invisible): Rename to
11491 `isearch-define-mode-toggle'.
11492 (isearch-toggle-case-fold, isearch-toggle-invisible)
11493 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
11494 with `isearch-define-mode-toggle'.
11495
11496 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
11497
11498 Avoid using `add-to-list' on a let-local var in tramp-smb.el
11499
11500 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
11501 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
11502
11503 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
11504
11505 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
11506 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
11507 does not exist in XEmacs 21.4.
11508
11509 2015-10-28 Anders Lindgren <andlind@gmail.com>
11510
11511 Fixed OS X startup crash
11512
11513 Input events started to arrive before ns_term_init() was finished.
11514 Solved by blocking input. This also seems to correct the "You
11515 can't open the application "Emacs" because it may be damaged or
11516 incomplete" error issued when double-clicking on the Emacs
11517 application.
11518
11519 * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
11520 * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
11521
11522 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
11523
11524 * src/process.c (Fget_buffer_process): Improve docstring.
11525 Document the fact that it doesn't return dead processes.
11526
11527 2015-10-28 Anders Lindgren <andlind@gmail.com>
11528
11529 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
11530
11531 * src/nsterm.h (struct ns_output): New flag, in_animation.
11532 * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
11533 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
11534 in_animation flag around call to "setVisible". Set new tool bar
11535 height before call to setVisible.
11536 * src/nsterm.m (x_set_window_size): Don't call [view setRow:
11537 andColumns:] as this fools the subsequent call to updateFrameSize
11538 from performing the real resize.
11539 (windowDidResize): Don't update anything when in_animation is
11540 non-zero.
11541
11542 Trace output.
11543
11544 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
11545 (EmacsToolbar):
11546 * src/nsterm.m (x_set_window_size, updateFrameSize)
11547 ([EmacsView setRows: andColumns:])
11548
11549 2015-10-28 Nicolas Petton <nicolas@petton.fr>
11550
11551 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
11552
11553 2015-10-28 Tassilo Horn <tsdh@gnu.org>
11554
11555 Prettify TeX macros not ending in a word char
11556
11557 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
11558 Prettify macros which don't end in a word character.
11559
11560 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
11561
11562 Pipe Hg commit descriptions through 'tabindent'
11563
11564 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
11565 through 'tabindent'.
11566 (vc-hg-log-view-mode): Set tab-width to 2 locally.
11567 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
11568
11569 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
11570
11571 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
11572 (tramp-smb-handle-directory-files): Use `delete-dups'.
11573
11574 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
11575
11576 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * lisp/international/ccl.el: Use lexical-binding.
11579 (ccl-compile-if): Remove unused var `false-ic'.
11580 (ccl-compile-write-repeat): Remove unused var `i'.
11581 (ccl-compile-map-single): Remove unused var `id'.
11582 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
11583 dynamic var `ccl-code'.
11584
11585 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * lisp/json.el (json-new-object): Optimize trivial `list' call.
11588
11589 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 * lisp/help.el: Fix bug with incorrect arglist string.
11592 (help-add-fundoc-usage): Don't mistake a mis-formatted string
11593 for a list.
11594
11595 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * lisp/gnus/gnus-topic.el: Silence some warnings.
11598 (gnus-topic-prepare-topic): Remove unused var `topic'.
11599 (gnus-topic-remove-topic): Mark unused arg `hide'.
11600 (gnus-tmp-header): Declare.
11601 (gnus-topic-goto-missing-group): Remove unused var `entry'.
11602 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
11603 (gnus-topic-copy-matching): Mark unused arg `copyp'.
11604 Move initialization of `topic' into its declaration.
11605
11606 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
11607
11608 Minor CEDET fixes
11609
11610 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
11611 Handle warnings from gtags about invalid options.
11612 (cedet-gnu-global-create/update-database): Do incremental update
11613 properly.
11614
11615 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
11616 Get monotone root right.
11617
11618 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
11619
11620 Fall back to polling in autorevert when needed
11621
11622 * lisp/autorevert.el (auto-revert-notify-handler): When a
11623 `stopped' event arrives from file notification, fall back to polling.
11624
11625 * test/automated/file-notify-tests.el
11626 (file-notify-test03-autorevert): Extend test for polling when file
11627 notification ceases to work.
11628
11629 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
11630
11631 Show full commit messages in 'hg log' when appropriate
11632
11633 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
11634 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
11635 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
11636
11637 2015-10-27 Nicolas Petton <nicolas@petton.fr>
11638
11639 Use a plain SVG file for the icon
11640
11641 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
11642 format instead of the Inkscape SVG format.
11643
11644 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
11645
11646 Fix subtle bug in auto-revert-tests.el
11647
11648 * test/automated/auto-revert-tests.el
11649 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
11650 buffer where it belongs to. (Bug#21668)
11651
11652 2015-10-26 Nicolas Petton <nicolas@petton.fr>
11653
11654 * lisp/emacs-lisp/map.el: Better docstrings.
11655
11656 * lisp/emacs-lisp/seq.el: Better docstrings.
11657
11658 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
11659
11660 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
11661
11662 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
11663
11664 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
11665
11666 Clarify that load-path contents should be directory file names
11667
11668 * doc/lispref/files.texi (Directory Names): Define and use "directory
11669 file name". Recommend `expand-file-name'.
11670
11671 * src/lread.c (load-path): Fix doc string; elements are directory file
11672 names.
11673
11674 2015-10-26 Eli Zaretskii <eliz@gnu.org>
11675
11676 Fix simple-test.el test
11677
11678 * test/automated/simple-test.el (simple-test--dummy-buffer):
11679 Make sure indentation doesn't use TABs, otherwise the 6th test
11680 might fail.
11681
11682 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
11683
11684 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
11685 `substring' does not account for full width characters.
11686
11687 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
11688
11689 Further work on `stopped' events in filenotify.el
11690
11691 * doc/lispref/os.texi (File Notifications): Rework examples.
11692
11693 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
11694 (file-notify--rm-descriptor, file-notify-callback): Improve check
11695 for sending `stopped' event.
11696 (file-notify-add-watch): Check for more events for `inotify'.
11697
11698 * test/automated/file-notify-tests.el
11699 (file-notify--test-expected-events): New defvar.
11700 (file-notify--test-with-events): Use it.
11701 (file-notify--test-cleanup): Make it more robust when deleting
11702 directories.
11703 (file-notify--test-event-test): Check also for watched directories.
11704 (file-notify--test-event-handler): Suppress temporary .#files.
11705 (file-notify-test02-events, file-notify-test04-file-validity):
11706 Rework `stopped' events.
11707 (file-notify-test05-dir-validity): Wait for events when appropriate.
11708
11709 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
11710
11711 * src/keyboard.c (post-command-hook): Shorten docstring.
11712
11713 2015-10-26 Tassilo Horn <tsdh@gnu.org>
11714
11715 Fix infinite loop in sh-script's SMIE code
11716
11717 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
11718 loop (bug#21747).
11719
11720 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
11721
11722 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
11723 Character-fold search _still_ doesn't play well with
11724 lax-whitespace. So disable it by default (again) for now.
11725
11726 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
11727
11728 * lisp/isearch.el: No visual feedback for default search mode.
11729 During an isearch where character-folding is the default, we don't
11730 want to take up minibuffer space just to tell the user that
11731 "Char-fold " is on. The same goes for other modes, if the user
11732 changes the default. In contrast, if the user toggles OFF the
11733 default mode, they should see "Literal", to distinguish it from
11734 the default mode.
11735 (isearch--describe-regexp-mode): Return "" if describing the
11736 default mode, and return "literal " if describing a plain search
11737 and it is not default.
11738
11739 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
11740
11741 * test/automated/simple-test.el: New file.
11742 Define tests for `newline' and `open-line'.
11743
11744 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
11745
11746 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
11747 Also run `post-self-insert-hook' when called interactively.
11748
11749 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
11750
11751 * lisp/simple.el (open-line): Fix docstring.
11752 Also explain apparently redundant line.
11753
11754 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11755 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
11756
11757 Sync with soap-client repository, version 3.0.1
11758
11759 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
11760 Bump version to 3.0.1.
11761
11762 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
11763
11764 2015-10-25 Eli Zaretskii <eliz@gnu.org>
11765
11766 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
11767
11768 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
11769
11770 * src/keyboard.c (post-command-hook): Extend the docstring.
11771 Mainly, explain how to use it without hanging Emacs, or giving the
11772 impression that it is hanging. Also mention `pre-command-hook'.
11773 (pre-command-hook): Mention `post-command-hook'.
11774
11775 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
11776
11777 * lisp/custom.el (custom-declare-variable): Shorten code again.
11778 Without using pcase this time. We can't use pcase because it is
11779 loaded after custom in loadup.el. Also add a comment explaining
11780 this to future dummies like me.
11781
11782 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
11783
11784 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
11785
11786 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
11787
11788 Introduce `stopped' event in file notification
11789
11790 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
11791 (file-notify-rm-watch): Use it.
11792 (file-notify-callback): Implement `stopped' event.
11793 (file-notify-add-watch): Mention `stopped' in the docstring.
11794 Check, that upper directory exists.
11795
11796 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
11797 Add two test cases.
11798 (file-notify-test02-events): Handle also `stopped' event.
11799 (file-notify-test04-file-validity): Add another test case.
11800
11801 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
11802
11803 Revert commit that broke 'make bootstrap'
11804
11805 * lisp/custom.el (custom-declare-variable): Revert commit
11806 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
11807 even when pcase has not been defined yet, when doing bootstrapping.
11808
11809 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
11810
11811 Port recent inline functions fix to Standard C
11812
11813 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
11814 All uses rewritten to define the function directly rather than to
11815 use a macro to define the function. This conforms to Standard C,
11816 which does not allow stray semicolons at the top level. I hope it
11817 also avoids the problems with TAGS. Those macros, though clever,
11818 were pretty confusing anyway, and it wasn’t clear they were worth
11819 the aggravation even without the TAGS problem.
11820
11821 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
11822
11823 * lisp/isearch.el: Make character-fold search the default again.
11824
11825 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
11826
11827 * lisp/character-fold.el: Many improvements.
11828 (character-fold-search-forward, character-fold-search-backward):
11829 New command.
11830 (character-fold-to-regexp): Remove lax-whitespace hack.
11831 (character-fold-search): Remove variable. Only isearch and
11832 query-replace use char-folding, and they both have their own
11833 variables to configure that.
11834
11835 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
11836
11837 * lisp/isearch.el: Generalize definition of regexp-function toggles.
11838 (isearch-specify-regexp-function): New macro for specifying
11839 possible values of `isearch-regexp-function'.
11840 (isearch-toggle-character-fold, isearch-toggle-symbol)
11841 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
11842
11843 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
11844
11845 * lisp/isearch.el (search-default-regexp-mode): New variable.
11846 (isearch-mode): Use it.
11847
11848 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
11849
11850 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
11851 (search-slow-speed, search-upper-case)
11852 (search-nonincremental-instead, search-whitespace-regexp)
11853 (search-invisible, isearch-hide-immediately)
11854 (isearch-resume-in-command-history, search-ring-max)
11855 (regexp-search-ring-max, search-ring-update, search-highlight)
11856 (isearch-fail): Delete :group entries.
11857
11858 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
11859
11860 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
11861
11862 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
11863
11864 addpm.c: Silence some warnings.
11865
11866 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
11867 to LPBYTE.
11868 (add_registry): Pass NULL to optional lpClass argument of
11869 RegCreateKeyEx, not an empty string.
11870
11871 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
11872
11873 addpm.c: Do not add obsolete GTK libraries to the path.
11874
11875 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
11876 (add_registry): Remove variables `size' and `gtk_key'.
11877 Do not add the GTK DLL directory to the library search path; it is
11878 confusing behavior (in particular, the same Emacs version with and
11879 without invoking addpm will use a different path), and the GTK image
11880 libraries are obsolete anyway.
11881
11882 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
11883
11884 addpm.c: Replace existing registry entries, but do not create new ones
11885
11886 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
11887 existing values from previous versions, but do not add new ones; the
11888 key could exist for other reasons unrelated to old Emacsen, like X-style
11889 resources, or to set some environment variables like HOME or LANG, and
11890 in that case we don't want to populate it with obsolete values.
11891
11892 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
11893
11894 * nt/addpm.c (add_registry): Do not compute unused return value.
11895
11896 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
11897
11898 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
11899
11900 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
11901 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
11902 current behavior because REG_OPTION_NON_VOLATILE is defined to
11903 be 0L anyway, but that option is actually documented only for
11904 RegCreateKeyEx.
11905
11906 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
11907
11908 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
11909
11910 2015-10-24 Eli Zaretskii <eliz@gnu.org>
11911
11912 Update frame title when redisplay scrolls selected window
11913
11914 * src/xdisp.c (redisplay_window): Reconsider the frame's title
11915 when the mode-line of the frame's selected window needs to be
11916 updated.
11917
11918 2015-10-24 Eli Zaretskii <eliz@gnu.org>
11919
11920 Update frame title when scrolling the selected window
11921
11922 * src/window.c (wset_update_mode_line): New function, sets either
11923 the window's update_mode_line flag or the global update_mode_lines
11924 variable.
11925 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
11926 (window_scroll_line_based): Call it instead of only setting the
11927 window's update_mode_line flag.
11928
11929 2015-10-24 Eli Zaretskii <eliz@gnu.org>
11930
11931 An even better fix for bug#21739
11932
11933 * src/window.c (set_window_buffer): If the window is the frame's
11934 selected window, set update_mode_lines, not the window's
11935 update_mode_line flag.
11936 * src/buffer.c (Fkill_buffer): Undo last change.
11937 (set_update_modelines_for_buf): Function deleted.
11938
11939 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11940 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
11941
11942 Sync with soap-client repository, version 3.0.0
11943
11944 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
11945 Bump version to 3.0.0.
11946
11947 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
11948
11949 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
11950
11951 * lisp/net/soap-inspect.el: Shorten first line description.
11952
11953 * lisp/net/soap-client.el: Make a small whitespace fix.
11954
11955 * lisp/net/soap-inspect.el: Update copyright years.
11956
11957 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
11958 first use in soap-encode-xs-element.
11959
11960 * lisp/net/soap-client.el (soap-type-is-array?): new defun
11961 (soap-encode-xs-element): handle array elements in this function
11962 (soap-encode-xs-complex-type): flag error if asked to encode an
11963 array type, this is handled in `soap-encode-xs-element'
11964
11965 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
11966 Do not print type for attribute group.
11967
11968 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
11969 New function.
11970 (soap-inspect-xs-attribute-group): Likewise.
11971
11972 * lisp/net/soap-inspect.el
11973 (soap-resolve-references-for-xs-attribute-group): Resolve
11974 references of attributes in an attribute group.
11975
11976 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
11977 type directly, not through soap-wsdl-get.
11978
11979 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
11980 nil if reference attribute is nil.
11981
11982 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
11983 Convert XML schema attributes to xsd:string.
11984
11985 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
11986 New function.
11987 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
11988 (soap-sample-value-for-xs-complex-type): Likewise.
11989 (soap-inspect-xs-attribute): New function.
11990 (soap-inspect-xs-simple-type): Print attributes.
11991 (soap-inspect-xs-complex-type): Likewise.
11992
11993 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
11994 Resolve references for attributes.
11995 (soap-resolve-references-for-xs-complex-type): Likewise.
11996
11997 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
11998 Rename from soap-xml-node-first-child.
11999 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
12000 (soap-xs-parse-simple-type): Likewise.
12001
12002 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
12003
12004 * lisp/net/soap-client.el (soap-invoke-internal): New function.
12005 (soap-invoke-async): Call soap-invoke-internal.
12006 (soap-invoke): Likewise.
12007
12008 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
12009 url-retrieve callback is killed.
12010
12011 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
12012 Rename function.
12013 (soap-parse-wsdl-phase-fetch-imports): Likewise.
12014 (soap-parse-wsdl-phase-parse-schema): Likewise.
12015 (soap-parse-wsdl-phase-fetch-schema): Likewise.
12016 (soap-parse-wsdl-phase-finish-parsing): Likewise.
12017 (soap-parse-wsdl): Update calls.
12018
12019 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
12020
12021 * lisp/net/soap-client.el (soap-invoke-async): New function.
12022 (soap-invoke): Reimplement using soap-invoke-async.
12023
12024 * lisp/net/soap-client.el (soap-parse-server-response):
12025 Improve docstring.
12026 (soap-invoke): Inline call to soap-parse-server-response.
12027
12028 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
12029 Prevent incorrect warning.
12030
12031 * lisp/net/soap-client.el (soap-parse-server-response):
12032 Rename soap-process-url-response. Destroy the mime part.
12033 (soap-invoke): Call soap-parse-server-response.
12034
12035 * lisp/net/soap-client.el: Update copyright date.
12036
12037 * lisp/net/soap-client.el: Fix checkdoc issues.
12038
12039 * lisp/net/soap-client.el: Fix indentation and long lines.
12040
12041 * lisp/net/soap-client.el (soap-time-format): Remove variable.
12042 (soap-encode-xs-basic-type): Simplify date-time format detection.
12043 (soap-decode-xs-basic-type): Remove soap-time-format support.
12044
12045 * lisp/net/soap-client.el (soap-process-url-response): New function.
12046 (soap-fetch-xml-from-url): Call soap-process-url-response.
12047 (soap-parse-wsdl-phase-1): New function.
12048 (soap-parse-wsdl-phase-2): Likewise.
12049 (soap-parse-wsdl-phase-3): Likewise.
12050 (soap-parse-wsdl-phase-4): Likewise.
12051 (soap-parse-wsdl-phase-5): Likewise.
12052 (soap-parse-wsdl): Call phase functions.
12053
12054 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
12055 Remove one-argument and call.
12056
12057 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
12058
12059 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
12060 (soap-parse-schema): Add wsdl argument. Look up XML schema
12061 imports from wsdl.
12062 (soap-load-wsdl): Do not set soap-xmlschema-imports.
12063 (soap-parse-wsdl): Get XML schema imports from wsdl.
12064
12065 * lisp/net/soap-client.el (soap-current-file): Remove variable.
12066 (soap-wsdl): Add current-file slot.
12067 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
12068 file from wsdl.
12069 (soap-fetch-xml-from-file): Likewise.
12070 (soap-fetch-xml): Likewise.
12071 (soap-load-wsdl): Always create wsdl object first.
12072 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
12073
12074 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
12075 (soap-xs-parse-element): Set is-group slot.
12076 (soap-resolve-references-for-xs-element): Skip is-group elements.
12077 (soap-xs-complex-type): Add is-group slot.
12078 (soap-xs-parse-complex-type): Set is-group slot.
12079 (soap-xs-parse-sequence): Parse xsd:group elements.
12080 (soap-resolve-references-for-xs-complex-type): Inline elements
12081 from referenced xsd:group nodes.
12082 (soap-parse-schema): Parse xsd:group nodes.
12083
12084 * lisp/net/soap-client.el (soap-invoke):
12085 Don't set url-http-version to 1.0.
12086
12087 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
12088 Allow choice nodes to accept multiple values.
12089
12090 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
12091 for extra header values.
12092
12093 * lisp/net/soap-client.el (soap-well-known-xmlns):
12094 Add wsa and wsaw tags.
12095 (soap-operation): Add input-action and output-action slots.
12096 (soap-parse-operation): Parse wsaw:Action nodes.
12097 (soap-encode-body): Encode service-url for WS-Addressing.
12098 (soap-create-envelope): Likewise.
12099 (soap-invoke): Update soap-create-envelope call to provide
12100 service-url argument.
12101
12102 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
12103 Support xsi:type override attribute.
12104 (soap-decode-array): Likewise.
12105
12106 * lisp/net/soap-client.el (soap-parse-schema):
12107 Handle location attribute.
12108
12109 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
12110 matched validation regexp.
12111
12112 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
12113 Encode xsd:list nodes.
12114 (soap-decode-xs-simple-type): Decode xsd:list nodes.
12115
12116 * lisp/net/soap-client.el (soap-get-candidate-elements):
12117 Fix reference handling.
12118
12119 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
12120 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
12121 (soap-xs-add-list): New function.
12122
12123 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
12124 expected, interpret nil as "false".
12125
12126 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
12127 gYear, gMonthDay, gDay and gMonth.
12128
12129 * lisp/net/soap-client.el (soap-time-format): New variable.
12130 (soap-encode-xs-basic-type): Handle dateTime, time, date,
12131 gYearMonth, gYear, gMonthDay, gDay and gMonth.
12132 (soap-decode-date-time): New function.
12133 (soap-decode-xs-basic-type): Use soap-decode-date-time.
12134
12135 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
12136 after encoding.
12137 (soap-decode-xs-basic-type): Validate value before decoding.
12138
12139 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
12140 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
12141
12142 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
12143 instead of overwriting it.
12144 (soap-validate-xs-simple-type): Add union support.
12145
12146 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
12147 to Emacs regexp using xsdre-translate.
12148 (soap-validate-xs-simple-type): Validate value against pattern.
12149
12150 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
12151 inline simpleType nodes.
12152 (soap-decode-type): Handle union types.
12153
12154 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
12155 attributes.
12156
12157 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
12158 from soap-xs-attribute-group-consolidate, all callers updated
12159 (soap-get-xs-attributes): Rename from
12160 soap-xs-attributes-consolidate, all callers updated
12161
12162 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
12163 (soap-xs-attribute-group): New type.
12164 (soap-xs-parse-attribute-group): New function.
12165 (soap-resolve-references-for-xs-attribute-group): Likewise.
12166 (soap-xs-add-extension): Handle attribute groups.
12167 (soap-resolve-references-for-xs-simple-type): Likewise.
12168 (soap-xs-parse-complex-type): Likewise.
12169 (soap-xs-parse-extension-or-restriction): Likewise.
12170 (soap-resolve-references-for-xs-complex-type): Likewise.
12171 (soap-xs-attribute-group-consolidate): New function.
12172 (soap-xs-attributes-consolidate): Handle attribute groups.
12173 (soap-parse-schema): Likewise.
12174
12175 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
12176 Fix boolean encoding.
12177
12178 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
12179 element names in warnings.
12180
12181 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
12182
12183 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
12184 Eliminate invalid warnings for choice types.
12185
12186 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
12187 Also encode base type attributes.
12188
12189 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
12190 warning. Print e-name in warnings, or element if e-name is nil.
12191
12192 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
12193 (soap-xs-parse-element): Set substitution-group.
12194 (soap-resolve-references-for-xs-element): Populate alternatives slot.
12195 (soap-get-candidate-elements): New function.
12196 (soap-encode-xs-complex-type): Iterate through all candidate elements.
12197 Handle types with nil type indicator. Fix warning logic.
12198
12199 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
12200 earlier in the file to prevent compiler warning.
12201
12202 * lisp/net/soap-client.el (soap-node-optional): New function.
12203 (soap-node-multiple): Likewise.
12204 (soap-xs-parse-element): Call soap-node-optional and
12205 soap-node-multiple.
12206 (soap-xs-complex-type): Add optional? and multiple? slots.
12207 (soap-xml-get-children-fq): New function.
12208 (soap-xs-element-get-fq-name): Likewise.
12209 (soap-xs-complex-type-optional-p): Likewise.
12210 (soap-xs-complex-type-multiple-p): Likewise.
12211 (soap-xs-attributes-consolidate): Likewise.
12212 (soap-decode-xs-attributes): Likewise.
12213 (soap-decode-xs-complex-type): Decode types with nil type indicator.
12214 Support children that use local namespaces. Decode attributes.
12215 Add type considerations to optional? and multiple? warnings.
12216
12217 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
12218 Store parsed attributes.
12219 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
12220
12221 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
12222 Don't add the xsi:type attribute (Exchange refuses requests which have
12223 this attribute).
12224
12225 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
12226 correct compiler warnings about unused function arguments and
12227 local variables.
12228
12229 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
12230 type indicator.
12231 (soap-parse-envelope): Handle response headers.
12232 (soap-parse-response): Likewise. Only return non-nil decoded values.
12233
12234 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
12235 Return validated value.
12236
12237 * lisp/net/soap-client.el (soap-xs-parse-element)
12238 (soap-xs-parse-simple-type)
12239 (soap-xs-parse-complex-type)
12240 (soap-parse-message)
12241 (soap-parse-operation): Add the current namespace to the element
12242 being created.
12243 (soap-resolve-references-for-xs-element)
12244 (soap-resolve-references-for-xs-simple-type)
12245 (soap-resolve-references-for-xs-complex-type)
12246 (soap-resolve-references-for-operation): Resolve the namespace to
12247 the namespace tag.
12248 (soap-make-wsdl): specify a namespace tag when creating the xsd
12249 and soapenc namespaces
12250 (soap-wsdl-resolve-references): don't update namespace tags in
12251 elements here
12252 (soap-parse-port-type): bind the urn: to soap-target-xmlns
12253 (soap-encode-body): don't add nil namespace tags to
12254 soap-encoded-namespaces
12255
12256 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
12257 for registering the soap-inspect method. Make debbugs tests pass.
12258 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
12259 type name, also skip string only nodes when decoding a structure.
12260 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
12261 types too.
12262 (soap-encode-body): Grab the header value from the param table.
12263
12264 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
12265 New function.
12266 (soap-encode-xs-element): Don't encode nil value unless needed.
12267
12268 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
12269 (soap-parse-binding): Parse the message parts required in the body.
12270 (soap-encode-body): Encode only the parts that are declared to be
12271 part of the body.
12272
12273 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
12274 when writing out the tag.
12275 (soap-encode-body): Remove hack that inserts the xmlns in the
12276 element attributes list.
12277
12278 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
12279 (soap-xs-parse-attribute): Default slot is set from the XML
12280 "fixed" attribute.
12281 (soap-encode-xs-complex-type-attributes): Encode any attributes
12282 that have a default value. Also, don't put the xsi:nil attribute
12283 when the complex type has no content anyway.
12284
12285 * lisp/net/soap-client.el (soap-well-known-xmlns):
12286 Add the xml namespace.
12287 (soap-local-xmlns): Start with the xml namespace.
12288 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
12289 (soap-make-xs-basic-types): More xsd types added.
12290 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
12291 Handle "language", "time", "date", "nonNegativeInteger".
12292 (soap-resolve-references-for-xs-element): Don't signal an error if
12293 the element does not have a type.
12294 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
12295 added stum for xsd:list.
12296 (soap-xs-add-union): Call soap-l2fq on all union members.
12297 (soap-xs-add-extension): Call soap-l2fq on the base member.
12298 (soap-resolve-references-for-xs-simple-type): Don't signal an
12299 error if the simple type has no base.
12300 (soap-resolve-references-for-xs-simple-type): Bugfix, call
12301 soap-wsdl-get on each type of the base.
12302
12303 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
12304 Referenced type can be eiher a simple type or a basic type.
12305 (soap-xs-add-restriction)
12306 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
12307 (soap-make-xs-basic-types)
12308 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
12309 Add support for more XMLSchema basic types.
12310 (soap-current-file, soap-xmlschema-imports): New defvars.
12311 (soap-parse-schema): Add locations from xsd:import tags to
12312 `soap-xmlschema-imports'.
12313 (soap-wsdl): Make destructor private.
12314 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
12315 (soap-wsdl-add-alias): Check if we try to replace aliases.
12316 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
12317 (soap-fetch-xml): New defuns.
12318 (soap-load-wsdl): Update to load the WSDL from either a file or
12319 an url.
12320 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
12321 (soap-parse-wsdl): Process wsdl:import tags and imports from
12322 `soap-xmlschema-imports'.
12323 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
12324 symbol-name.
12325 (soap-l2fq): Make the name part always a string.
12326 (soap-name-p): New defun, used for name tests.
12327
12328 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
12329 Supply sample values for choice types with a special tag.
12330 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
12331 Handle anonymous elements correctly.
12332 (soap-encode-value): Accept nodes that have no namespace tag.
12333
12334 * lisp/net/soap-client.el (soap-invoke): Encode the string for
12335 `url-request-data' as UTF-8. Fixes issue 16.
12336
12337 2015-10-24 Nicolas Petton <nicolas@petton.fr>
12338
12339 Update the new icon
12340
12341 Move the E slightly to the right in the circle.
12342
12343 * etc/images/icons/hicolor/128x128/apps/emacs.png:
12344 * etc/images/icons/hicolor/16x16/apps/emacs.png:
12345 * etc/images/icons/hicolor/24x24/apps/emacs.png:
12346 * etc/images/icons/hicolor/32x32/apps/emacs.png:
12347 * etc/images/icons/hicolor/48x48/apps/emacs.png:
12348 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
12349 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
12350 * nt/icons/emacs.ico: New icom update.
12351
12352 2015-10-24 Eli Zaretskii <eliz@gnu.org>
12353
12354 Avoid missing inline functions from lisp.h in TAGS
12355
12356 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
12357 need to end each invocation with a semi-colon.
12358 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
12359 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
12360 inline functions defined immediately after each invocation, and
12361 also avoid tagging every invocation of these macros.
12362
12363 2015-10-24 Eli Zaretskii <eliz@gnu.org>
12364
12365 A better fix for bug#21739
12366
12367 * src/buffer.c (set_update_modelines_for_buf): New function.
12368 (Fkill_buffer): Use it to set the global variable
12369 update_mode_lines if the killed buffer was displayed in some
12370 window. Don't set windows_or_buffers_changed. This is a better
12371 fix for bug#21739 than the previous fix, since it will cause only
12372 redisplay of mode lines, not of entire windows, but will still
12373 catch attention of x_consider_frame_title in xdisp.c, which
12374 redraws the frame title.
12375
12376 2015-10-24 Tassilo Horn <tsdh@gnu.org>
12377
12378 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
12379 tar.bz2 and tar.xz archives.
12380
12381 2015-10-23 Eli Zaretskii <eliz@gnu.org>
12382
12383 Fix infloop in redisplay introduced by a recent change
12384
12385 * src/xdisp.c (redisplay_internal): Avoid inflooping when
12386 redisplaying the selected window sets the selected frame's
12387 redisplay flag. (Bug#21745)
12388
12389 2015-10-23 Nicolas Petton <nicolas@petton.fr>
12390
12391 * lisp/emacs-lisp/thunk.el: Better documentation.
12392
12393 2015-10-23 Nicolas Petton <nicolas@petton.fr>
12394
12395 Replace the old icon for Windows and Mac OSX
12396
12397 * nt/icons/emacs.ico:
12398 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
12399 Use the new icons.
12400
12401 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
12402
12403 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
12404 `load-path' should contain only directory names.
12405
12406 2015-10-23 Nicolas Petton <nicolas@petton.fr>
12407
12408 New library thunk.el
12409
12410 thunk.el is extracted from stream.el in ELPA, with additional tests.
12411
12412 * lisp/emacs-lisp/thunk.el: New file.
12413 * test/automated/thunk-tests.el: New file.
12414 * etc/NEWS: Add information about thunk.el
12415
12416 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
12417
12418 Fix bug#21669
12419
12420 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
12421 calling low-level functions.
12422
12423 * test/automated/file-notify-tests.el (file-notify--test-timeout):
12424 Decrase to 6 seconds for remote directories.
12425 (file-notify-test02-events): Expect different number of
12426 `attribute-changed' events for the local and remote cases. Apply
12427 short delays between the operations, in order to receive all
12428 events in the remote case. Combine `attribute-change' tests.
12429 (Bug#21669)
12430
12431 2015-10-23 Eli Zaretskii <eliz@gnu.org>
12432
12433 Decode the HTML source when displaying it in EWW
12434
12435 * lisp/net/eww.el (eww-view-source): Decode the HTML source
12436 according to its headers.
12437
12438 2015-10-23 Nicolas Petton <nicolas@petton.fr>
12439
12440 New default icon
12441
12442 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
12443 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
12444 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
12445 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
12446 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
12447 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
12448 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
12449 Move the old logo files to emacs23.*.
12450 * etc/images/icons/hicolor/128x128/apps/emacs.png:
12451 * etc/images/icons/hicolor/16x16/apps/emacs.png:
12452 * etc/images/icons/hicolor/24x24/apps/emacs.png:
12453 * etc/images/icons/hicolor/32x32/apps/emacs.png:
12454 * etc/images/icons/hicolor/48x48/apps/emacs.png:
12455 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
12456 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
12457 New files.
12458 * etc/images/icons/README: Update the copyright information.
12459
12460 2015-10-23 Eli Zaretskii <eliz@gnu.org>
12461
12462 Fix redisplay of frame title when current buffer is killed
12463
12464 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
12465 non-zero value, to redisplay more than just the affected windows.
12466 (Bug#21739)
12467
12468 2015-10-23 Anders Lindgren <andlind@gmail.com>
12469
12470 NextStep maximization and NSTRACE rewrite
12471
12472 Full-height, full-width, and maximized windows now cover the
12473 entire screen (except the menu bar), including the part where the
12474 system dock is placed. The system zoom animation is no longer
12475 used.
12476
12477 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
12478 original size.
12479
12480 * src/nsterm.m (ns_menu_bar_height): New function, return height of
12481 the menu bar, or 0 when it's hidden.
12482 (constrain_frame_rect): New function for constraining a frame.
12483 (ns_constrain_all_frames): Set frame size explicitly rather than
12484 relying on the system doing it for us by writing back the current
12485 frame size.
12486 (windowWillUseStandardFrame): Register non-maximized width or
12487 height as new user size. When entering full width or height,
12488 the other size component is taken from the user size.
12489 (fullscreenState): New method for accessing the fullscreen state.
12490 (constrainFrameRect): Restrict frame to be placed under the menu bar,
12491 if present. The old version, sometimes, restricted the height of a
12492 frame to the screen, this version never does this.
12493 (zoom): Perform zoom by setting the frame to the full size of the
12494 screen (minus the menu bar). The default system function, with the
12495 zoom animation, is no longer used, as the final frame size doesn't
12496 cover the entire screen.
12497
12498 Rework how to constrain resizing to the character grid. The old
12499 system used "resizeIncrements" in NSWindows. However, once a frame
12500 was resized so that it was not aligned to the text grid, it
12501 remained unaligned even after a resize. In addition, it conflicted
12502 when resizing a fullheight window.
12503
12504 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
12505 unless when pixelwise frame resizing is enabled.
12506 (updateFrameSize, initFrameFromEmacs)
12507 (toggleFullScreen, handleFS): Don't set resizeIncrements.
12508
12509 Redesign the NS trace system. The call structure is represented
12510 using indentations and vertical lines. The NSTRACE macro accepts
12511 printf-style arguments. New macros for printing various
12512 information.
12513
12514 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
12515 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
12516 block (typically a function), accept printf-style arguments.
12517 (NSTRACE_MSG): Macro for extra information, accepts
12518 printf-style arguments.
12519 (NSTRACE_what): Macros for printing various types.
12520 (NSTRACE_FMT_what): Macro with printf format string snippets.
12521 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
12522 corresponds to NSTRACE_FMT_what.
12523 (NSTRACE_RETURN): Macro to print return value, accept
12524 printf-style arguments.
12525 (NSTRACE_RETURN_what): Macros to print return value for
12526 various types.
12527
12528 * src/nsterm.m: Remove old NSTRACE macro
12529 * src/nsterm.m (nstrace_num): Trace counter.
12530 (nstrace_depth): Current call depth.
12531 (nstrace_leave): NSTRACE support function, called when the
12532 local variable "nstrace_enabled" goes out of scope using the
12533 "cleanup" extension.
12534 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
12535 (constrain_frame_rect, ns_constrain_all_frames)
12536 (ns_update_auto_hide_menu_bar, ns_update_begin)
12537 (ns_update_window_begin, update_window_end, ns_update_end)
12538 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
12539 (ns_frame_rehighlight, x_make_frame_visible)
12540 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
12541 (x_destroy_window, x_set_offset, x_set_window_size)
12542 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
12543 (ns_defined_color, frame_set_mouse_pixel_position)
12544 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
12545 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
12546 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
12547 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
12548 (dumpcursor, ns_draw_vertical_window_border)
12549 (ns_draw_window_divider, ns_draw_relief)
12550 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
12551 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
12552 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
12553 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
12554 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
12555 (ns_create_terminal, ns_term_init, sendEvent)
12556 (applicationDidFinishLaunching, applicationDidBecomeActive)
12557 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
12558 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
12559 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
12560 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
12561 (mouse_autoselect_window, in_window, mouseDragged)
12562 (rightMouseDragged, otherMouseDragged, windowShouldClose)
12563 (updateFrameSize, windowWillResize, windowDidResize)
12564 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
12565 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
12566 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
12567 (windowDidEnterFullScreen, windowWillExitFullScreen)
12568 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
12569 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
12570 (draggingEntered, performDragOperation, validRequestorForSendType)
12571 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
12572 (EmacsScroller_initFrame, EmacsScroller_setFrame)
12573 (EmacsScroller_dealloc, condemn, reprieve, judge)
12574 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
12575 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
12576
12577 * src/nsfns.m: Remove old NSTRACE macro
12578 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
12579 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
12580 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
12581
12582 * src/nsimage.m: Remove old NSTRACE macro
12583 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
12584 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
12585
12586 * src/nsmenu.m: Remove old NSTRACE macro
12587 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
12588 Use new trace system.
12589
12590 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
12591
12592 No need to use eval-and-compile
12593
12594 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
12595 autoload epg functions.
12596
12597 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
12598
12599 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
12600
12601 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
12602 epg-context-set-passphrase-callback, epg-decrypt-string, and
12603 epg-encrypt-string; require epg when compiling for the setf-method
12604 for epg-context-armor. (bug#21724)
12605
12606 2015-10-22 Eli Zaretskii <eliz@gnu.org>
12607
12608 Include file cleanup for w32 files in src directory
12609
12610 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
12611 fontset.h, blockinput.h.
12612 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
12613 charset.h, fontset.h.
12614 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
12615 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
12616 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
12617 in an ifdef-ed away block.
12618 Include fcntl.h for CYGWIN.
12619 (set_frame_param): Remove unused function.
12620 * src/w32select.c: Don't include charset.h and composite.h.
12621 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
12622 due to pointer signedness mismatches.
12623 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
12624 due to pointer signedness mismatches.
12625 * src/w32proc.c: Include unistd.h. Don't include systime.h,
12626 process.h, dispextern.h.
12627 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
12628 (Fw32_application_type): Avoid compiler warnings due to pointer
12629 signedness mismatches.
12630 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
12631 character.h, charset.h, dispextern.h.
12632 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
12633 to pointer signedness mismatches.
12634 * src/w32inevt.c: Don't include dispextern.h, window.h,
12635 termhooks.h, w32heap.h.
12636 * src/w32font.c: Don't include dispextern.h, character.h,
12637 charset.h, fontset.h, font.h.
12638 (intern_font_name, add_font_entity_to_list)
12639 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
12640 (list_all_matching_fonts): Avoid compiler warnings due to pointer
12641 signedness mismatches.
12642 * src/w32fns.c: Don't include character.h, intervals.h,
12643 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
12644 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
12645 (w32_color_map_lookup, add_system_logical_colors_to_map)
12646 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
12647 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
12648 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
12649 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
12650 compiler warnings, mainly due to pointer signedness mismatches.
12651 (unwind_create_frame_1): Remove unused function.
12652 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
12653 window.h, termhooks.h, dispextern.h.
12654 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
12655 signedness mismatch.
12656 * src/w32.c: Include c-strcase.h and systty.h. Don't include
12657 w32heap.h.
12658
12659 2015-10-22 Tassilo Horn <tsdh@gnu.org>
12660
12661 Improve doc-view wrt. auto-revert-mode
12662
12663 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
12664 is corrupted (bug#21729).
12665 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
12666
12667 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
12668
12669 Describe dired-do-compress-to in the manual
12670
12671 * etc/NEWS: Update.
12672
12673 * lisp/dired-aux.el: Fix typo.
12674
12675 * doc/emacs/dired.texi: Add entry.
12676
12677 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
12678
12679 Further fix for proper locale handling in tramp-gvfs.el
12680
12681 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
12682 Just suppress LC_MESSAGES locale category settings.
12683
12684 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
12685
12686 New lispref section “Security Considerations”
12687
12688 This attempts to document some of the issues recently discussed
12689 on emacs-devel, and to indicate other such issues. The section
12690 could be a lot longer.
12691 * doc/lispref/os.texi (Security Considerations):
12692 New node.
12693 * doc/lispref/elisp.texi (Top):
12694 * doc/lispref/processes.texi (Shell Arguments):
12695 * lisp/subr.el (shell-quote-argument):
12696 * src/callproc.c (syms_of_callproc):
12697 Reference it.
12698
12699 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
12700
12701 Merge from gnulib
12702
12703 This incorporates:
12704 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
12705 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
12706 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
12707 Copy from gnulib.
12708
12709 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
12710
12711 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
12712 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
12713
12714 2015-10-21 Ken Brown <kbrown@cornell.edu>
12715
12716 Further include-file cleanup
12717
12718 * src/sheap.c: Include stdlib.h.
12719 * src/unexcw.c: Include string.h.
12720
12721 2015-10-21 Eli Zaretskii <eliz@gnu.org>
12722
12723 Fix logic in 'server-kill-emacs-query-function'
12724
12725 * lisp/server.el (server-kill-emacs-query-function): Correct the
12726 logic that controls whether the user is asked for confirmation.
12727 (Bug#21723)
12728
12729 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
12730
12731 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
12732 (isearch--lax-regexp-function-p): New function.
12733
12734 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
12735
12736 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
12737 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
12738 around `isearch-regexp-function'.
12739
12740 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
12741
12742 * lisp/isearch.el: Rename word search to regexp-function search.
12743 `isearch-word' went well beyond its original purpose, and the name
12744 no longer makes sense. It is now called
12745 `isearch-regexp-function', and its value should always be a function
12746 that converts a string to a regexp (though setting it to t is still
12747 supported for now).
12748 (isearch-word): Make obsolete.
12749 (isearch-regexp-function): New variable.
12750 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
12751 (with-isearch-suspended, isearch-toggle-regexp)
12752 (isearch-toggle-word, isearch-toggle-symbol)
12753 (isearch-toggle-character-fold, isearch-query-replace)
12754 (isearch-occur, isearch-highlight-regexp)
12755 (isearch-search-and-update, isearch-message-prefix)
12756 (isearch-search-fun-default, isearch-search)
12757 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12758 Use it.
12759 (isearch-lazy-highlight-regexp-function): New var.
12760 (isearch-lazy-highlight-word): Make obsolete.
12761 (isearch--describe-regexp-mode): New function.
12762 (isearch--describe-word-mode): Make obsolete.
12763
12764 * lisp/info.el (Info-isearch-search):
12765 * lisp/replace.el (replace-search, replace-highlight):
12766 * lisp/obsolete/longlines.el (longlines-search-function):
12767 * lisp/hexl.el (hexl-isearch-search-function):
12768 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
12769 Use the new var.
12770
12771 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
12772
12773 Add dired-do-compress-to command bound to "c"
12774
12775 * lisp/dired-aux.el (dired-shell-command): Use the caller's
12776 `default-directory', return the result of `process-file'.
12777 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
12778 used by default.
12779 (dired-compress-files-alist): New defvar.
12780 (dired-do-compress-to): New command.
12781
12782 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
12783 (dired-do-compress-to): Add an autoload entry.
12784
12785 * etc/NEWS: Add two entries.
12786
12787 2015-10-21 Tassilo Horn <tsdh@gnu.org>
12788
12789 Make RefTeX work with LaTeX subfiles package
12790
12791 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
12792 document class argument as master file for referencing purposes.
12793
12794 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
12795
12796 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
12797
12798 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
12799
12800 Include-file cleanup for src directory
12801
12802 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
12803 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
12804 but does not include it directly. As a general rule, a source
12805 file should include foo.h if it needs the interfaces that foo.h
12806 defines.
12807 * src/alloc.c: Don’t include process.h. Include dispextern.h,
12808 systime.h.
12809 * src/atimer.c: Don’t include blockinput.h.
12810 * src/buffer.c: Include coding.h, systime.h. Don’t include
12811 keyboard.h, coding.h.
12812 * src/callint.c: Don’t include commands.h, keymap.h.
12813 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
12814 systty.h, termhooks.h.
12815 * src/casetab.c: Don’t include character.h.
12816 * src/category.c: Don’t include charset.h, keymap.h.
12817 * src/ccl.h: Don’t include character.h.
12818 * src/character.c: Don’t include charset.h.
12819 * src/charset.c: Don’t include disptab.h.
12820 * src/chartab.c: Don’t include ccl.h.
12821 * src/cm.c: Don’t include frame.h, termhooks.h.
12822 * src/cmds.c: Don’t include window.h, dispextern.h.
12823 * src/coding.c: Don’t include window.h, frame.h.
12824 * src/composite.c: Include composite.h. Don’t include window.h,
12825 font.h.
12826 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
12827 * src/dbusbind.c: Don’t include frame.h.
12828 * src/decompress.c: Don’t include character.h.
12829 * src/dired.c: Don’t include character.h, commands.h, charset.h.
12830 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
12831 process.h, timespec.h. Include systime.h.
12832 * src/doc.c: Include coding.h. Don’t include keyboard.h.
12833 * src/editfns.c: Include composite.h. Don’t include frame.h.
12834 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
12835 commands.h, systty.h..
12836 * src/fileio.c: Don’t include intervals.h, dispextern.h.
12837 Include composite.h.
12838 * src/filelock.c: Don’t include character.h, systime.h.
12839 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
12840 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
12841 * src/font.c: Include termhooks.h.
12842 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
12843 struct composition_it, struct face, struct glyph_string.
12844 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
12845 intervals.h, window.h, termhooks.h.
12846 * src/frame.c: Don’t include character.h, commands.h, font.h.
12847 * src/frame.h: Don’t include dispextern.h.
12848 * src/fringe.c: Don’t include character.h.
12849 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
12850 character.h, charset.h, fontset.h.
12851 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
12852 fontset.h.
12853 * src/ftxfont.c: Don’t include dispextern.h, character.h,
12854 charset.h, fontset.h.
12855 * src/gfilenotify.c: Don’t include frame.h, process.h.
12856 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
12857 Don’t include syssignal.h, buffer.h, charset.h, font.h.
12858 * src/gtkutil.h: Don’t include frame.h.
12859 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
12860 Don’t include character.h.
12861 * src/indent.c: Don’t include keyboard.h, termchar.h.
12862 * src/inotify.c: Don’t include character.h, frame.h.
12863 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
12864 * src/intervals.c: Don’t include character.h, keyboard.h.
12865 * src/intervals.h: Don’t include dispextern.h, composite.h.
12866 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
12867 Include coding.h.
12868 * src/keyboard.h: Don’t incldue systime.h.
12869 * src/keymap.c: Don’t include charset.h, frame.h.
12870 * src/lread.c: Include dispextern.h and systime.h.
12871 Don’t include frame.h. Include systime.h.
12872 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
12873 * src/menu.c: Include character.h, coding.h. Don’t include
12874 dispextern.h.
12875 * src/menu.h: Don’t include systime.h.
12876 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
12877 intervals.h, termhooks.h.
12878 * src/print.c: Include coding.h. Don’t include keyboard.h,
12879 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
12880 Add forward decl of struct terminal.
12881 * src/process.c: Don’t include termhooks.h, commands.h,
12882 dispextern.h, composite.h.
12883 * src/region-cache.c: Don’t include character.h.
12884 * src/scroll.c: Don’t include keyboard.h, window.h.
12885 * src/search.c: Don’t include category.h, commands.h.
12886 * src/sound.c: Don’t include dispextern.h.
12887 * src/syntax.c: Don’t include command.h, keymap.h.
12888 * src/sysdep.c: Don’t include window.h, dispextern.h.
12889 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
12890 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
12891 * src/terminal.c: Include character.h.
12892 Don’t include charset.h, coding.h.
12893 * src/textprop.c: Don’t include character.h.
12894 * src/undo.c: Don’t include character.h, commands.h, window.h.
12895 * src/unexsol.c: Don’t include character.h, charset.h.
12896 * src/widget.c: Include widget.h. Don’t include keyboard.h,
12897 window.h, dispextern.h, blockinput.h, character.h, font.h.
12898 * src/widgetprv.h: Don’t include widget.h.
12899 * src/window.c: Don’t include character.h, menu.h, intervals.h.
12900 * src/xdisp.c: Include composite.h, systime.h. Don’t include
12901 macros.h, process.h.
12902 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
12903 intervals.h.
12904 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
12905 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
12906 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
12907 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
12908 * src/xgselect.c: Don’t include timespec.h, frame.h.
12909 Include systime.h.
12910 * src/xgselect.h: Don’t include time.h.
12911 Use a forward decl to struct timespec instead.
12912 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
12913 dispextern.h. Include systime.h.
12914 * src/xml.c: Don’t include character.h.
12915 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
12916 * src/xselect.c: Don’t include dispextern.h, character.h,
12917 buffer.h, process.h.
12918 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
12919 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
12920 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
12921
12922 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
12923
12924 (/ N) now returns the reciprocal of N
12925
12926 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
12927 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
12928 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
12929 (color-xyz-to-srgb, color-xyz-to-lab):
12930 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
12931 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
12932 (shr-color-hsl-to-rgb-fractions):
12933 Exploit the change to simplify the code a bit.
12934 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
12935 Don’t complain about single-argument calls to ‘/’.
12936 * src/data.c (arith_driver, float_arith_driver):
12937 Implement the change.
12938
12939 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
12940
12941 Call vc-dir-refresh after stash operations
12942
12943 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
12944 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
12945
12946 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
12947 since it can be abbreviated (as returned by vc-find-root).
12948
12949 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
12950
12951 * lisp/vc/vc-svn.el:
12952 * lisp/vc/vc-mtn.el:
12953 * lisp/vc/vc-hg.el:
12954 * lisp/vc/vc-cvs.el:
12955 * lisp/vc/vc-git.el:
12956 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
12957 Its usages have been replaced with vc-run-delayed.
12958
12959 2015-10-20 Dima Kogan <dima@secretsauce.net>
12960
12961 Fix memory leak in fontset handling
12962
12963 * src/font.c (copy_font_spec): Make a deep copy of the input
12964 argument FONT. (Bug#21651)
12965
12966 2015-10-20 Michael Sperber <mike@xemacs.org>
12967
12968 * lisp/gnus/mailcap.el (mailcap-mime-data):
12969 Conditonalize `doc-view-mode', which does not exist on XEmacs.
12970
12971 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
12972
12973 Update the way directories are compressed
12974
12975 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
12976 for *.tar.gz decompression to use a pipe.
12977 Add an entry for the default directory compression (to *.tar.g).
12978 (dired-compress-file): Update.
12979
12980 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
12981
12982 2015-10-20 Michael Sperber <mike@xemacs.org>
12983
12984 Unbreak `group' option for `mail-sources'
12985
12986 * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
12987 * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
12988 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
12989
12990 2015-10-19 Nicolas Petton <nicolas@petton.fr>
12991
12992 New function seq-position
12993
12994 * lisp/emacs-lisp/seq.el (seq-position): New function.
12995 * test/automated/seq-tests.el: New tests for seq-position.
12996 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
12997
12998 2015-10-19 Ken Brown <kbrown@cornell.edu>
12999
13000 Enable --with-wide-int build on 32-bit Cygwin
13001
13002 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
13003 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
13004
13005 2015-10-19 Glenn Morris <rgm@gnu.org>
13006
13007 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
13008
13009 2015-10-19 Eli Zaretskii <eliz@gnu.org>
13010
13011 Resurrect image loading under auto-image-file-mode
13012
13013 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
13014 'openp' specially. This special case was lost in the changes on
13015 2015-08-18. (Bug#21685)
13016
13017 2015-10-19 Eli Zaretskii <eliz@gnu.org>
13018
13019 Fix return value of 'set-file-extended-attributes'
13020
13021 * lisp/files.el (set-file-extended-attributes): Return non-nil
13022 when setting either ACLs or SELinux context succeeds. Document
13023 the return value. (Bug#21699)
13024
13025 * doc/lispref/files.texi (Changing Files): Document the return
13026 value of set-file-extended-attributes.
13027
13028 2015-10-19 Eli Zaretskii <eliz@gnu.org>
13029
13030 Improve documentation of functions that change files
13031
13032 * doc/lispref/files.texi (Changing Files): Document that these
13033 functions signal an error on failure.
13034
13035 2015-10-18 Eli Zaretskii <eliz@gnu.org>
13036
13037 Fix doc string of 'shell-quote-argument'
13038
13039 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
13040
13041 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
13042
13043 Some minor Tramp changes
13044
13045 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
13046
13047 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
13048 Expand `tramp-auto-save-directory'.
13049
13050 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
13051
13052 Minor edits in Tramp
13053
13054 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
13055 Declare it.
13056
13057 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
13058 Remove declaration.
13059
13060 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
13061
13062 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
13063
13064 2015-10-17 Eli Zaretskii <eliz@gnu.org>
13065
13066 Avoid crashes when redisplayng a window changes faces or fonts
13067
13068 * src/xdisp.c (redisplay_internal): If redisplaying the selected
13069 window or one of the frames turns on the frame's 'redisplay' flag,
13070 redisplay again. (Bug#21428)
13071
13072 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
13073
13074 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
13075
13076 Solve timimg issues in file-notify-tests.el
13077
13078 * test/automated/file-notify-tests.el (file-notify-test02-events):
13079 Rectify `attribute-change' tests. There are timing issues with
13080 gfilenotify. (Bug#21669)
13081
13082 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
13083
13084 Fix quoting of data within htmlfontify doc
13085
13086 * doc/misc/htmlfontify.texi (Data Structures, Customization):
13087 Fix quoting of data structures. A Lisp quote is needed only
13088 when data appears within Lisp code.
13089
13090 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
13091
13092 * lisp/emacs-lisp/package.el: Reload archive-contents if
13093 priorities change.
13094 (package--old-archive-priorities): New variable.
13095 (package-read-all-archive-contents, package-menu--refresh): Use it
13096 to decide when the `package-archive-contents' needs to be read
13097 again.
13098
13099 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
13100
13101 Make src headers idempotent and standalone
13102
13103 Redo src/*.h so that each include file is idempotent (that is, can
13104 be included multiple times with the latter inclusions having no
13105 effect) and standalone (that is, can be included by itself,
13106 with no include file other than config.h needed as a prerequisite).
13107 This is standard practice in GNU programs nowadays.
13108 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
13109 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
13110 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
13111 * src/regex.h [emacs]:
13112 * src/syntax.h, src/systty.h, src/termhooks.h:
13113 Include lisp.h, for Lisp_Object.
13114 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
13115 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
13116 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
13117 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
13118 * src/termopts.h, src/tparam.h, src/unexec.h:
13119 Protect against multiple inclusion.
13120 * src/buffer.h: Include character.h, for STRING_CHAR.
13121 * src/emacsgtkfixed.h (struct frame):
13122 * src/fontset.h (struct face):
13123 * src/region-cache.h (struct buffer):
13124 * src/termhooks.h (struct glyph):
13125 * src/xsettings.h (struct x_display_info):
13126 Add possibly-forward decl.
13127 * src/syntax.h: Include buffer.h, for BVAR.
13128 * src/sysselect.h: Include lisp.h, for eassume.
13129 * src/termchar.h: Include <stdio.h>, for FILE.
13130 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
13131 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
13132
13133 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
13134
13135 Handle symlink targets containing spaces in tramp-gvfs.el
13136
13137 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
13138 Handle symlink targets containing spaces.
13139
13140 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
13141
13142 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
13143
13144 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
13145 same reason that `load-path' shouldn't. Setting it via the customize
13146 interface is a trap for the user.
13147
13148 Installed themes commonly add themselves to this variable, which means
13149 its value is not fit for being saved (it will permanently remember dirs
13150 that don't exist anymore).
13151
13152 This is aggravated by the fact that Emacs always applies the `user'
13153 theme on top of any theme that's loaded, since this will apply the old
13154 variable value and remove any new directories that had been recently
13155 added by themes themselves.
13156
13157 Not to mention, we already have `custom-theme-directory', which is safe
13158 to customize.
13159
13160 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * lisp/mpc.el: Rename the new toggling commands.
13163 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
13164 (mpc-toggle-shuffle): Add "-toggle" in the name.
13165
13166 2015-10-16 Eli Zaretskii <eliz@gnu.org>
13167
13168 Improve the doc string of 'completion-boundaries'
13169
13170 * lisp/minibuffer.el (completion-boundaries): Rename the argument
13171 TABLE to COLLECTION, for consistency with other high-level
13172 completion functions. Document how COLLECTION is called if it
13173 is a function. (Bug#21644)
13174
13175 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
13176
13177 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
13178
13179 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
13180
13181 Make dired-do-compress work for *.zip files
13182
13183 * lisp/dired-aux.el (dired-check-process): Transform the top-level
13184 comment into a docstring.
13185 (dired-shell-command): New command. This mirrors
13186 `dired-check-process', but is more user-friendly for passing
13187 arguments.
13188 (dired-compress-file-suffixes): Allow to specify the command switches
13189 along with input (%i) and output (%o) inside the PROGRAM part.
13190 Add an entry for *.zip files, and update the entry for *.tar.gz files
13191 to the new style. Update the docstring.
13192 (dired-compress-file): When PROGRAM matches %i or %o, use the new
13193 logic.
13194 (dired-update-file-line): Avoid an error when at end of buffer.
13195
13196 Fixes bug#21637.
13197
13198 2015-10-16 Eli Zaretskii <eliz@gnu.org>
13199
13200 Minor improvement in documentation of internals
13201
13202 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
13203
13204 2015-10-16 Eli Zaretskii <eliz@gnu.org>
13205
13206 Improve documentation of COLLECTION in completion functions
13207
13208 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
13209 cross-reference to "Programmed Completion".
13210
13211 * src/minibuf.c (Fcompleting_read): Improve the doc string.
13212 (Bug#21644)
13213
13214 2015-10-16 Eli Zaretskii <eliz@gnu.org>
13215
13216 Add more release info to etc/HISTORY
13217
13218 * etc/HISTORY: Add more release information about 19.x and 20.x
13219 versions.
13220
13221 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
13222
13223 New file etc/HISTORY
13224
13225 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
13226 * etc/HISTORY: New file.
13227 * etc/NEWS: Mention it.
13228
13229 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
13230
13231 js-mode: Don't misindent generator methods
13232
13233 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
13234 generator methods from multiplication operator
13235 (https://github.com/mooz/js2-mode/issues/275).
13236
13237 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
13238
13239 Fix animation timeout delay calculation
13240
13241 * lisp/image.el (image-animate-timeout):
13242 Don’t assume speed is floating-point.
13243
13244 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
13245
13246 Add commands for controlling MPD modes
13247
13248 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
13249 (mpc-cmd-single): New functions.
13250 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
13251 (mpc-mode-menu): Add new commands as menu items.
13252
13253 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
13254
13255 Refer to `(elisp)Basic Completion' in completing-read docstring
13256
13257 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
13258 Completion' in the docstring (bug#21644).
13259
13260 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
13261
13262 * lisp/mpc.el (mpc-format): Always push form to pred
13263
13264 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
13265
13266 Spelling fixes
13267
13268 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
13269 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
13270 Fix misspelling of nonexistent file name.
13271
13272 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
13273
13274 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
13275
13276 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
13277
13278 Some editing fixes in Tramp
13279
13280 * lisp/net/tramp-gvfs.el:
13281 * doc/misc/tramp.texi: "customer option" -> "custom option".
13282
13283 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
13284
13285 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
13286
13287 Use proper localization in tramp-gvfs.el
13288
13289 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
13290 Suppress localized settings in order to proper parse gfvs output.
13291
13292 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
13293
13294 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13295 Quote argument in proper order. (Bug#21562)
13296
13297 2015-10-14 Nicolas Petton <nicolas@petton.fr>
13298
13299 Fix typos in docstrings
13300
13301 * lisp/emacs-lisp/map.el:
13302 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
13303 macros.
13304
13305 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
13306
13307 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
13308
13309 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
13310
13311 Make dired-jump work with tar-subfile-mode
13312
13313 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
13314 emitting an error, switch to `tar-superior-buffer'.
13315
13316 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
13317
13318 * .gitignore: Add build-aux/ar-lib.
13319
13320 2015-10-14 Nicolas Petton <nicolas@petton.fr>
13321
13322 Better docstrings in seq.el and map.el
13323
13324 * lisp/emacs-lisp/map.el:
13325 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
13326
13327 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
13328
13329 Merge from gnulib
13330
13331 This incorporates:
13332 2015-10-13 binary-io, u64, unistd: port to strict C
13333 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
13334 2015-09-25 c-ctype: port better to z/OS EBCDIC
13335 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
13336 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
13337 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
13338 Copy from gnulib.
13339
13340 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
13341
13342 Take XPNTR private
13343
13344 * src/alloc.c (PURE_POINTER_P): Remove.
13345 All uses replaced with PURE_P.
13346 (XPNTR_OR_SYMBOL_OFFSET): New function.
13347 (XPNTR): Move here from lisp.h.
13348 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
13349 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
13350 Remove unnecessary cast.
13351 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
13352 to avoid an unnecessary runtime test for symbols.
13353 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
13354 Only alloc.c needs XPNTR now.
13355
13356 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
13357
13358 Add MPC play/pause command
13359
13360 * lisp/mpc.el (mpc-toggle-play): New command.
13361 (mpc-mode-map): Bind it to "s".
13362 (mpc-mode-menu): Add corresponding menu item.
13363
13364 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
13365
13366 Add bindings and menu items for prev and next tracks
13367
13368 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
13369 "<" to mpc-prev.
13370 (mpc-mode-menu): Add corresponding menu items
13371
13372 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
13373
13374 Reduce face-related consing during frame creation.
13375
13376 * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
13377 attribute list once.
13378 (face-spec-reset-face): Use it instead of building the list.
13379
13380 2015-10-13 Ken Raeburn <raeburn@permabit.com>
13381
13382 Do process ConfigureNotify events indicating size changes.
13383
13384 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
13385 events don't have the same size, process each one.
13386
13387 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
13388
13389 Derive mpc-mode from special-mode
13390
13391 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
13392 (mpc-mode): Derive from special mode.
13393 (mpc-songs-mode-map): Don't set parent keymap.
13394
13395 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
13396
13397 Fix error messages for when covers are not found.
13398
13399 The last change to mpc-format let the binding to file call
13400 mpc-file-local-copy with nil argument. Instead, employ if-let here
13401 so nil bindings don't result in needless computation and errors.
13402 * lisp/mpc.el: Require 'subr-x at compile time.
13403 * lisp/mpc.el (mpc-format): Use if-let.
13404
13405 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
13406
13407 Make dired-do-compress work for *.tar.gz files
13408
13409 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
13410 "tar -zxvf" to *.tar.gz; update docstring.
13411
13412 (dired-compress-file): Allow to specify switches after the command in
13413 `dired-compress-file-suffixes'.
13414
13415 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
13416
13417 Make dired-do-compress work for directories
13418
13419 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
13420 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
13421 Also convert the top comment into a docstring.
13422
13423 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13424
13425 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
13426
13427 ... since it might come straight from the memoizing table.
13428
13429 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
13430
13431 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
13432
13433 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
13434
13435 Use special-mode in eww list modes
13436
13437 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
13438 (eww-buffers-mode): Derive from special-mode and remove redundant
13439 setting of buffer-read-only.
13440 (eww-mode-map): Remove redundant keymap parent setting.
13441 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
13442 Remove redundant keymap suppressions and mappings.
13443
13444 2015-10-13 Martin Rudalics <rudalics@gmx.at>
13445
13446 Allow setting frame pixel sizes from frame parameters (Bug#21415)
13447
13448 Also fix some misfeatures in frame (re-)sizing code, add more
13449 debugging information and remove some dead code.
13450
13451 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
13452 parameter names when setting `frame-size-history'.
13453 (frame--size-history): New function.
13454
13455 * src/frame.c (frame_inhibit_resize): If frame has not been made
13456 yet, return t if inhibit_horizontal_resize or
13457 inhibit_vertical_resize bit have been set.
13458 (adjust_frame_size): Simplify.
13459 (make_frame): Initialize inhibit_horizontal_resize,
13460 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
13461 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
13462 inhibit_vertical_resize slots.
13463 (x_set_frame_parameters): Handle `text-pixels' specification for
13464 width and height parameters. Don't consider new_height or
13465 new_width changes. Call adjust_frame_size instead of
13466 Fset_frame_size.
13467 (x_figure_window_size): Two new arguments x_width and y_width
13468 returning frame's figures width and height. Calculate tool bar
13469 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
13470 Handle `text-pixels' specification for width and height
13471 parameters.
13472 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
13473 (Qx_set_window_size_1, Qx_set_window_size_2)
13474 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
13475 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
13476 (Qfree_frame_menubar_2): New symbols.
13477 * src/frame.h (structure frame): New booleans
13478 tool_bar_redisplayed, tool_bar_resized,
13479 inhibit_horizontal_resize, inhibit_vertical_resize.
13480 (x_figure_window_size): Update external declaration.
13481 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
13482 calling gtk_window_resize.
13483 (update_frame_tool_bar): Make inhibiting of frame resizing more
13484 discriminative. Set tool_bar_resized bit.
13485 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
13486 resizing more discriminative. Call adjust_frame_size instead of
13487 x_set_window_size.
13488 (Fx_create_frame): Handle x_width and x_height if
13489 set by x_figure_window_size.
13490 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
13491 subtract 3 from tool bar height.
13492 (x_set_window_size): Add frame_size_history_add call.
13493 (x_new_font): Call adjust_frame_size instead of
13494 x_set_window_size.
13495 * src/w32fns.c (x_change_tool_bar_height): Reset
13496 tool_bar_redisplayed and tool_bar_resized bits when adding tool
13497 bar. Make inhibiting of frame resizing more discriminative.
13498 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
13499 (Fx_create_frame): Handle x_width and x_height if set by
13500 x_figure_window_size. Set size hints before adjusting frame size.
13501 (x_create_tip_frame): Adjust x_figure_window_size call.
13502 * src/w32term.c (x_set_window_size): Add frame_size_history_add
13503 call.
13504 * src/widget.c (set_frame_size): Remove dead code. Add
13505 frame_size_history_add call. When frame_resize_pixelwise is t
13506 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
13507 pixel_width and pixel_height.
13508 (update_various_frame_slots): Remove dead code.
13509 (EmacsFrameResize): Add more information in
13510 frame_size_history_add call.
13511 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
13512 is not set.
13513 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
13514 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
13515 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
13516 tool_bar_resized bits when adding tool bar. Make inhibiting of
13517 frame resizing more discriminative.
13518 (Fx_create_frame): Handle x_width and x_height if set by
13519 x_figure_window_size. Set size hints before adjusting frame size.
13520 (x_create_tip_frame): Adjust x_figure_window_size call.
13521 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
13522 (set_frame_menubar): On Lucid never add core-border-width to
13523 avoid that adding XtNinternalBorderWidth adds it again.
13524 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
13525 * src/xterm.c (x_new_font): In non-toolkit case handle size
13526 change of menu bar.
13527 (x_set_window_size_1): Fix calls to frame_size_history_add.
13528 (x_wm_set_size_hint): Remove dead code. Set
13529 size_hints.min_width and size_hints.min_height to base_width and
13530 base_height.
13531
13532 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
13533
13534 * test/automated/file-notify-tests.el (file-notify--test-timeout):
13535 Add docstring. Increase to 10 seconds for remote
13536 directories. (Bug#21669)
13537
13538 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
13539
13540 Unmacroize ebrowse.c and etags.c a bit
13541
13542 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
13543 (streq, filename_eq, set_flag, has_flag): Now inline functions.
13544 (set_flag): First arg is now an address, not an lvalue.
13545 All callers changed.
13546 (filename_eq, set_flag, has_flag):
13547 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
13548 All callers changed.
13549 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
13550 Now inline functions. Remove asserts that are unnecessary these
13551 days (and in some cases were too-generous anyway).
13552
13553 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
13554
13555 Use highlight for current items
13556
13557 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
13558 Apply highlight face instead of region face.
13559
13560 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
13561
13562 Search for more cover image names in MPC
13563
13564 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
13565 case insensitively
13566
13567 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
13568
13569 Remove or comment out unused variables
13570
13571 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
13572 nontext_cursor, mode_cursor, hand_cursor and count.
13573 (x_change_tool_bar_height): Remove variable old_text_height.
13574 (deliver_wm_chars): Remove variable strip_Alt.
13575 (Fw32_shell_execute): Remove variable document_a.
13576 (Fw32_frame_geometry): Remove variable fullboth.
13577 * src/w32term.c (w32_setup_relief_color): Comment out variable
13578 w32_display_info.
13579 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
13580 (w32_read_socket): Comment out variables rows, columns.
13581 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
13582
13583 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
13584
13585 * src/w32proc.c (sys_select): Fix bitwise test.
13586
13587 2015-10-12 Eli Zaretskii <eliz@gnu.org>
13588
13589 Minor typo corrections in doc strings
13590
13591 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
13592 Doc fixes.
13593
13594 2015-10-12 Eli Zaretskii <eliz@gnu.org>
13595
13596 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
13597
13598 2015-10-12 Eli Zaretskii <eliz@gnu.org>
13599
13600 Attempt to avoid crashes in plist-member
13601
13602 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
13603 and a call to XCDR. (Bug#21655)
13604
13605 2015-10-12 Mike FABIAN <mfabian@redhat.com>
13606
13607 * lisp/select.el (gui-get-primary-selection): In
13608 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
13609
13610 2015-10-12 Tassilo Horn <tsdh@gnu.org>
13611
13612 Support RTF in doc-view
13613
13614 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
13615
13616 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
13617
13618 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
13619
13620 2015-10-11 Nicolas Petton <nicolas@petton.fr>
13621
13622 Replace the usage of an obsolete function in auth-source.el
13623
13624 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
13625 Replace an usage of `epg-context-set-armor' with `setf'.
13626
13627 2015-10-11 Nicolas Petton <nicolas@petton.fr>
13628
13629 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
13630
13631 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
13632
13633 Have calc-yank recognize numbers in different bases.
13634
13635 * lisp/calc/calc-yank.el (math-number-regexp): New function.
13636 (calc-yank): Use `math-number-regexp' to recognize numbers.
13637
13638 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
13639
13640 Handle an opaque-move X11 window manager operation more efficiently
13641
13642 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
13643 followed by more ConfigureNotify events for the same window, process
13644 only the last one.
13645
13646 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
13647
13648 Fix cursor setting for tip frame; re-enable cursor generation
13649
13650 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
13651 attributes sent when creating the new X window. Don't skip setting
13652 the pointerColor parameter.
13653
13654 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
13655
13656 Rewrite x_set_mouse_color to sync less
13657
13658 We can track serial numbers of X requests and correlate error events
13659 with the associated requests. This way we can identify errors for
13660 specific calls without having to use XSync after every one.
13661
13662 * src/xfns.c (enum mouse_cursor): New type.
13663 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
13664 (mouse_cursor_types): New array listing the Lisp variables and default
13665 cursor appearances for each cursor type.
13666 (x_set_mouse_color_handler): New function; checks error event serial
13667 number against submitted requests.
13668 (x_set_mouse_color): Updated to use the new error handler callback,
13669 and to be more table-driven, to simplify repetitious code.
13670
13671 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
13672
13673 Add x_catch_errors_with_handler
13674
13675 * src/xterm.c (struct x_error_message_stack): Add new fields for a
13676 callback function and associated data pointer.
13677 (x_error_catcher): If the callback function is set, call it after
13678 saving the error message string.
13679 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
13680 accepts a callback function and data pointer.
13681 (x_catch_errors): Now a wrapper function.
13682 * src/xterm.h (x_special_error_handler): New typedef.
13683 (x_catch_errors_with_handler): Declare.
13684
13685 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
13686
13687 Introduce x_uncatch_errors_after_check to reduce XSync calls
13688
13689 Both x_had_errors_p and x_check_errors call XSync, so if they're
13690 immediately followed by x_uncatch_errors, its XSync call will be
13691 redundant, resulting in a wasted round trip to the X server.
13692
13693 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
13694 x_uncatch_errors without the XSync call.
13695 (XTmouse_position, x_wm_supports):
13696 * src/xfns.c (x_set_mouse_color):
13697 * src/xmenu.c (Fx_menu_bar_open_internal):
13698 * src/xselect.c (x_own_selection, x_get_foreign_selection):
13699 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
13700 * src/xterm.h (x_uncatch_errors_after_check): Declare.
13701
13702 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
13703
13704 Document the optional prefix to `calc-yank'
13705
13706 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
13707 prefix to `calc-yank'.
13708 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
13709 the Calc buffer are yanked back unchanged.
13710
13711 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
13712
13713 * lisp/calendar/calendar.el: Display buffer before executing body.
13714
13715 In each use of this macro, the modeline is derived from a window width
13716 calculation, which will be wrong if (display-buffer) splits the window
13717 horizontally.
13718
13719 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
13720
13721 Use ‘echo’ safely with ‘\’ or leading ‘-’
13722
13723 POSIX says that ‘echo FOO’ produces implementation-defined output
13724 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
13725 behavior in that case.
13726 * Makefile.in (removenullpaths): Remove.
13727 (epaths-force): Rewrite to avoid the need for ‘echo’.
13728 (install-etc): Be clearer about escaping the shell metacharacters
13729 ‘\’ and ‘$’.
13730 * Makefile.in (install-arch-indep, install-etcdoc):
13731 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
13732 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
13733 * configure.ac, lib-src/rcs2log, make-dist:
13734 * src/Makefile.in (lisp.mk):
13735 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
13736 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
13737 if $foo can contain arbitrary characters.
13738 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
13739 * doc/lispref/two-volume.make (vol1.pdf):
13740 * test/etags/make-src/Makefile (web ftp publish):
13741 Use ‘printf’ rather than ‘echo -e’.
13742
13743 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
13744
13745 Allow numbers with different radixes to be yanked.
13746
13747 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
13748 default base 10.
13749
13750 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
13751
13752 Improve CHECK_IMPURE and PURE_P speedup
13753
13754 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
13755
13756 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
13757
13758 Use events instead of chars to keep track of steps.
13759
13760 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
13761 to keep track of steps.
13762
13763 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
13764
13765 Fix --enable-gcc-warnings problem with older GCC
13766
13767 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
13768 This is for building with --enable-gcc-warnings with
13769 GCC 4.6 through 5.0.
13770
13771 2015-10-10 Eli Zaretskii <eliz@gnu.org>
13772
13773 Fix vertical-motion in truncated lines that end in a stretch
13774
13775 * src/indent.c (Fvertical_motion): Expect overshoot when point is
13776 beyond window margin and lines are truncated, even if we have a
13777 stretch at point. (Bug#21468)
13778
13779 2015-10-10 Eli Zaretskii <eliz@gnu.org>
13780
13781 Avoid link-time errors due to inline functions
13782
13783 * src/emacs.c: Include puresize.h, to avoid link-time errors in
13784 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
13785 inline functions.
13786
13787 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
13788
13789 * src/data.c (Faset): Fix last change.
13790
13791 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
13792
13793 CHECK_IMPURE and PURE_P speedup
13794
13795 * src/intervals.c (create_root_interval):
13796 Do CHECK_IMPURE only for strings; not needed for buffers.
13797 Prefer ! STRINGP to BUFFERP, for a tad more speed.
13798 * src/puresize.h (CHECK_IMPURE, PURE_P):
13799 Now inline functions instead of macros.
13800 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
13801 All callers changed.
13802 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
13803 All callers changed.
13804
13805 2015-10-09 Noah Friedman <friedman@splode.com>
13806
13807 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
13808
13809 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
13812
13813 our after-change-function, rather than re-adding it if it was removed.
13814
13815 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * lisp/cedet/ede: Silence some compiler warnings
13818
13819 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
13820 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
13821 (ede-apply-object-keymap, ede-reset-all-buffers)
13822 (ede-auto-add-to-target): Use dolist.
13823 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
13824 Use field names rather than initarg names in `oref'.
13825 (ede-load-project-file): Remove unused var `file'.
13826 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
13827 (ede-set): Remove unused var `a'.
13828
13829 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
13830 (ede-project-autoload): Avoid the old-style "name" argument.
13831 (ede-emacs-find-matching-target): Use field names rather than initarg
13832 names in `oref'.
13833
13834 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
13835 (ede-linux-load, ede-project-autoload): Avoid the old-style
13836 "name" argument.
13837 (ede-linux-find-matching-target): Use field names rather than initarg
13838 names in `oref'.
13839
13840 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
13843
13844 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
13847 indenting too far after ":-".
13848
13849 2015-10-09 Eli Zaretskii <eliz@gnu.org>
13850
13851 Update case-table and categories of recently added characters
13852
13853 * lisp/international/characters.el: Update information about Latin
13854 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
13855 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
13856 blocks. (Byug#21654)
13857
13858 2015-10-09 Martin Rudalics <rudalics@gmx.at>
13859
13860 * src/frame.c (adjust_frame_size): In minibuffer-only windows
13861 don't count minibuffer height twice. (Bug#21643)
13862
13863 2015-10-09 Eli Zaretskii <eliz@gnu.org>
13864
13865 Avoid inflooping in font-lock
13866
13867 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
13868 inhibit-field-text-motion around the call to
13869 line-beginning-position, to avoid inflooping. (Bug#21615)
13870
13871 2015-10-09 Tassilo Horn <tsdh@gnu.org>
13872
13873 Refactor duplicated code; ensure default is in completions
13874
13875 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
13876 New function.
13877 (reftex-extract-bib-entries): Use it.
13878 (reftex-extract-bib-entries-from-thebibliography): Use it.
13879
13880 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
13881
13882 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
13883 in the example.
13884
13885 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 * lisp/calc/calc.el: Silence byte-compiler warnings.
13888 (calc-scan-for-dels): Use ignore-errors.
13889 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
13890 (calc-read-key-sequence): Remove unused var `prompt2'.
13891 (calc-kill-stack-buffer): Remove unused var `buflist'.
13892 (calc): Remove unused var `oldbuf'.
13893 (calc-refresh): Use inhibit-read-only.
13894 (calc-can-abbrev-vectors): Declare.
13895 (calc-record): Remove unused var `mainbuf'.
13896 (math-sub-bignum): Remove unused var `sum'.
13897 (math-svo-c, math-svo-wid, math-svo-off): Declare.
13898
13899 2015-10-08 Daiki Ueno <ueno@gnu.org>
13900
13901 Use g_clear_error instead of g_error_free
13902
13903 * src/image.c: Define g_clear_error instead of g_error_free.
13904 (init_svg_functions): Resolve symbol g_clear_error instead of
13905 g_error_free.
13906 (svg_load_image): Use g_clear_error instead of g_error_free, to
13907 suppress GLib warnings when ERR is not set. See bug#21641.
13908
13909 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
13910
13911 * src/image.c (image_size_error): Simplify.
13912
13913 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
13914
13915 Fix problems caught with --enable-gcc-warnings
13916
13917 * src/image.c (lookup_rgb_color):
13918 * src/xfns.c (x_defined_color):
13919 * src/xterm.c (x_parse_color):
13920 Remove unused locals.
13921
13922 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
13923
13924 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
13925
13926 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
13927
13928 Format initial input uniformly
13929
13930 * lisp/calc/calc.el (calc-digit-start-entry): New function.
13931 * lisp/calc/calc.el (calcDigit-start):
13932 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
13933 Use `calc-digit-start-entry' to format input.
13934
13935 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
13936
13937 Disable non-working pointerColor setting for X tooltip frame
13938
13939 It generates a bunch of server traffic, but there's some bug wherein
13940 the new mouse cursor settings don't seem to get used. In most
13941 situations the cursor isn't likely to be seen anyway, so it's not
13942 urgent to fix.
13943
13944 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
13945
13946 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
13947
13948 Reduce some unnecessary X calls
13949
13950 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
13951 call. If border width is wanted, get it from the XGetGeometry call
13952 instead of calling XGetWindowAttributes on the same window. Skip some
13953 X calls if we've already detected an error from the X server.
13954 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
13955 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
13956
13957 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
13958
13959 Reduce color allocation/query traffic in the TrueColor case
13960
13961 When working with an X visual with TrueColor class, pixel values can
13962 be generated from the RGB values according to mask value provided by
13963 the server on connection. Some of the image-handling code was already
13964 doing this.
13965
13966 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
13967 lookup_rgb_color.
13968 (x_mutable_colormap): New function.
13969 * src/image.c (lookup_rgb_color): Move pixel composition code to
13970 x_make_truecolor_pixel.
13971 (x_kill_gs_process): Call x_mutable_colormap.
13972 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
13973 x_mutable_colormap.
13974 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
13975 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
13976 pixel value into RGB values directly, and don't send a request to the
13977 server.
13978 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
13979 value with x_make_truecolor_pixel.
13980 (x_copy_color): For an immutable color map, just return the provided
13981 pixel value.
13982
13983 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
13984
13985 Cache XParseColor results in the X display info structure
13986
13987 With repeated lookups of foreground and background colors for multiple
13988 faces per frame, we issue a lot of redundant color name lookups to the
13989 X server, waiting every time for the response. On a remote network
13990 with, say, 30ms round-trip time, this can add nearly a full second to
13991 creation of a new frame.
13992
13993 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
13994 * src/image.c (get_spec_bg_or_alpha_as_argb):
13995 (xpm_init_color_cache, xpm_lookup_color):
13996 * src/xfns.c (x_defined_color):
13997 * src/xterm.c (x_parse_color): New function; caches color names not
13998 starting with "#" in the display-info structure.
13999 (x_delete_display): Delete the cache content.
14000 * src/xterm.h (struct color_name_cache_entry): New type.
14001 (x_parse_color): Declare.
14002 (struct x_display_info): Add a new field for the cache.
14003
14004 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
14007
14008 2015-10-07 Eli Zaretskii <eliz@gnu.org>
14009
14010 Fix segfault in image_size_error
14011
14012 * src/image.c (image_size_error): Pass a Lisp string to
14013 image_error, not a C string. (Bug#21641)
14014
14015 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
14016
14017 Highlight CSS variable definitions
14018
14019 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
14020 CSS variables. (Bug#21638)
14021
14022 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
14023
14024 * test/automated/tabulated-list-test.el: New file.
14025 Test bug#21639 and some basic functionality.
14026
14027 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
14028
14029 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
14030 Check if column can be sorted before trying. (Bug#21639)
14031
14032 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
14033
14034 Add test for `self-insert-command' (bug#21633)
14035
14036 * test/automated/cmds-tests.el: New file.
14037
14038 2015-10-07 Martin Rudalics <rudalics@gmx.at>
14039
14040 * src/window.c (resize_frame_windows): Don't set root window's
14041 top position when resizing horizontally.
14042
14043 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
14044
14045 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
14046 Document more possible values.
14047
14048 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
14049
14050 * lisp/textmodes/tex-mode.el: Use lexical-binding.
14051
14052 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * lisp/indent.el (indent--default-inside-comment): New function.
14055 (indent-for-tab-command): Use it for `noindent' indentation.
14056
14057 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
14058
14059 Fix bug in GC_CHECK_MARKED_OBJECTS check
14060
14061 * src/alloc.c (mark_object): Fix bug in checking code.
14062 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
14063 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
14064 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
14065 bucket. The bug did not affect behavior either in the normal case
14066 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
14067 not have an internal error that a properly-written
14068 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
14069
14070 2015-10-06 Tassilo Horn <tsdh@gnu.org>
14071
14072 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
14073 Add prettified version for \\Bbb{Q}.
14074
14075 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
14076
14077 * test/automated/package-test.el (package-test-install-single):
14078 Add a test for bug#21625.
14079
14080 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
14081
14082 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
14083 not a package-desc object. Also clarify documentation. (Bug#21625)
14084
14085 2015-10-06 Eli Zaretskii <eliz@gnu.org>
14086
14087 Fix display of characters adjacent to ZWJ and ZWNJ
14088
14089 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
14090 characters the same as directional formatting controls.
14091 (bidi_level_of_next_char): Include all Bn characters in rule L1,
14092 as mandated by the UBA.
14093
14094 2015-10-06 Andreas Schwab <schwab@suse.de>
14095
14096 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
14097 number. (Bug#21633)
14098
14099 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
14100
14101 * doc/lispref/objects.texi (Window Type): Add a cross reference.
14102
14103 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
14104
14105 2015-10-05 Eli Zaretskii <eliz@gnu.org>
14106
14107 * lisp/language/misc-lang.el (composition-function-table):
14108 Fix entries for Arabic and Syriac.
14109
14110 2015-10-05 Damien Cassou <damien@cassou.me>
14111
14112 Add first unit tests for auth-source.el
14113
14114 * test/automated/auth-source-tests.el: New file.
14115
14116 2015-10-05 Eli Zaretskii <eliz@gnu.org>
14117
14118 Remove redundant redisplay code
14119
14120 * src/xdisp.c (redisplay_internal, try_cursor_movement)
14121 (try_window_reusing_current_matrix, try_window_id): Remove
14122 redundant restrictions on redisplay optimizations based on the
14123 frame's 'redisplay' flag. See
14124 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
14125 discussions.
14126
14127 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
14130
14131 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
14132
14133 Update tutorials/TUTORIAL.cn
14134
14135 * etc/tutorials/TUTORIAL.cn: Improve translation.
14136
14137 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14138
14139 * src/macfont.m (macfont_encode_char, syms_of_macfont):
14140 Remove unused vars.
14141
14142 2015-10-04 Stefan Merten <stefan@merten-home.de>
14143
14144 Pull in version numbers from rst.el upstream release.
14145
14146 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
14147 (rst-svn-timestamp, rst-official-version)
14148 (rst-official-cvs-rev, rst-package-emacs-version-alist):
14149 Update version numbers.
14150
14151 2015-10-04 Eli Zaretskii <eliz@gnu.org>
14152
14153 * test/automated/coding-tests.el: New file.
14154
14155 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
14156
14157 Improve XEmacs compatibility of Tramp
14158
14159 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
14160 Declare if it doesn't exist.
14161 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
14162 (redisplay): Make it an alias if it doesn't exist.
14163
14164 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
14165 `file-remote-p' (due to XEmacs compatibility).
14166
14167 * lisp/net/trampver.el (locate-dominating-file)
14168 (tramp-compat-replace-regexp-in-string): Autoload.
14169 (tramp-repository-get-version): Do not dupe byte-compiler.
14170
14171 2015-09-02 K. Handa <handa@gnu.org>
14172
14173 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
14174
14175 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
14176 Adjusted for the change of type of elements in the array
14177 MFLTGlyphString.glyphs.
14178
14179 2015-10-04 Eli Zaretskii <eliz@gnu.org>
14180 Michael Heerdegen <michael_heerdegen@web.de>
14181
14182 shr: fix too long lines in rendered buffers (Bug#21012)
14183
14184 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
14185 Correct calculation of available width.
14186 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
14187 is nil.
14188
14189 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
14190
14191 Restore blank line before next section, erroneously erased
14192 in my previous commit
14193
14194 * etc/compilation.txt (symbol ant): Add an additional trailing blank
14195 line to this section, so that there are two of them immediately before
14196 the next section.
14197
14198 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
14199
14200 Support MSW filename style for ant compilation error regexp
14201
14202 * etc/compilation.txt (symbol ant):
14203 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
14204 Support MSW filename style.
14205
14206 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
14207
14208 * nt/INSTALL: Minor spelling and quote fixes.
14209
14210 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
14211
14212 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
14213
14214 Maintain ordering of JSON object keys by default
14215
14216 * lisp/json.el (json-object-type): Mention order handling in doc-string.
14217 (json--plist-reverse): New utility function.
14218 (json-read-object): Maintain ordering for alists and plists.
14219 (json-pretty-print): Ensure that ordering is maintained.
14220
14221 * test/automated/json-tests.el (test-json-plist-reverse): New test for
14222 `json--plist-reverse'.
14223 (json-read-simple-alist): Update test to accommodate for changes in
14224 `json-read-object'.
14225
14226 * etc/NEWS: Document the new behavior of the pretty printing functions.
14227
14228 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
14229
14230 * src/coding.c (complement_process_encoding_system): Revert last change.
14231
14232 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
14233
14234 * admin/MAINTAINERS: Add entry for Ulf Jasper.
14235
14236 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
14237
14238 Doc fix for `defmacro'
14239
14240 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
14241
14242 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
14243
14244 More validatation of coding systems
14245
14246 * src/fileio.c (Finsert_file_contents): Remove redundant
14247 coding-system check.
14248 (choose_write_coding_system): Likewise.
14249 * src/coding.c (complement_process_encoding_system): Check argument
14250 for valid coding system.
14251
14252 2015-10-03 Eli Zaretskii <eliz@gnu.org>
14253
14254 Avoid crashes in coding_inherit_eol_type
14255
14256 * src/coding.c (coding_inherit_eol_type): Check the validity of
14257 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
14258 (Bug#21602)
14259
14260 2015-10-03 Eli Zaretskii <eliz@gnu.org>
14261
14262 More validatation of coding system in 'write-region'
14263
14264 * src/coding.c (choose_write_coding_system): More validation of
14265 coding-system from various sources. Suggested by Andreas Schwab
14266 <schwab@linux-m68k.org>. (Bug#21602)
14267
14268 2015-10-03 Eli Zaretskii <eliz@gnu.org>
14269
14270 Avoid crashes due to invalid coding-system
14271
14272 * src/fileio.c (choose_write_coding_system)
14273 (Finsert_file_contents): Check validity of coding-system-for-write
14274 and coding-system-for-read bound by the caller. (Bug#21602)
14275
14276 2015-10-03 Tassilo Horn <tsdh@gnu.org>
14277
14278 Adapt to new prettify-symbols-unprettify-at-point default
14279
14280 * etc/NEWS: Mention that unprettication of symbol at point is off
14281 by default.
14282
14283 2015-10-03 Tassilo Horn <tsdh@gnu.org>
14284
14285 Revert my two recent process.c changes
14286
14287 Revert "Improve last commit to process.c" and "Remove callback-handled
14288 channels from Available set" because they did not fix bug#21313.
14289
14290 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
14291 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
14292
14293 2015-10-02 Markus Triska <triska@metalevel.at>
14294
14295 * lisp/progmodes/prolog.el: Update and extend operator table.
14296 (prolog-smie-grammar): Add multifile, public etc.
14297
14298 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
14299
14300 Allow autogen even when Git is not installed
14301
14302 * autogen.sh: Test ‘git status’ before trying to use Git.
14303
14304 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14305
14306 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
14307 Adjust lto/lfrom when we have uncommitted changes.
14308
14309 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
14310
14311 Fix problems found by clang 3.5.0
14312
14313 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
14314 * src/font.c (font_parse_family_registry):
14315 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
14316
14317 2015-10-02 Eli Zaretskii <eliz@gnu.org>
14318
14319 * nt/INSTALL: Update instructions for running autogen.sh.
14320
14321 * nt/INSTALL: Point to ezwinports for libXpm binaries.
14322
14323 2015-10-02 Daniel Colascione <dancol@dancol.org>
14324
14325 Fix winner in cl-lib not loaded case
14326
14327 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
14328 without requiring CL
14329
14330 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
14331
14332 Fix a few problems with directed quotes
14333
14334 This is in response to a problem report by Kaushal Modi in:
14335 http://bugs.gnu.org/21588#25
14336 * lisp/cedet/mode-local.el (describe-mode-local-overload):
14337 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
14338 * lisp/info-xref.el (info-xref-check-all-custom):
14339 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
14340 Prefer directed to undirected single quotes in diagnostics.
14341
14342 2015-10-01 Eli Zaretskii <eliz@gnu.org>
14343
14344 Revert "Attempt to fix slow redisplay caused by last changes"
14345
14346 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
14347 (try_cursor_movement): Don't relax requirements for redisplay
14348 optimizations for the selected frame. (Bug#21597)
14349
14350 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
14351
14352 2015-10-01 Eli Zaretskii <eliz@gnu.org>
14353
14354 Fix slow redisplay when daemon frame exists
14355
14356 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
14357 when looking for frames that need to be redisplayed. (Bug#21597)
14358
14359 2015-10-01 Eli Zaretskii <eliz@gnu.org>
14360
14361 Attempt to fix slow redisplay caused by last changes
14362
14363 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
14364 (try_cursor_movement): Relax requirements for redisplay
14365 optimizations for the selected frame. (Bug#21597)
14366
14367 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
14368
14369 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
14370 Improve doc string.
14371
14372 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
14373
14374 * lisp/minibuffer.el (minibuffer-completion-help):
14375 Set default base-size, in case completion table does not set it.
14376
14377 2015-10-01 Eli Zaretskii <eliz@gnu.org>
14378
14379 Fix GUD display of GDB output with non-ASCII text
14380
14381 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
14382 (gdb-mi-decode): New function.
14383 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
14384 decode octal escapes in GDB output. (Bug#21572)
14385
14386 2015-10-01 Eli Zaretskii <eliz@gnu.org>
14387
14388 * nt/INSTALL: Document where to find XPM support files.
14389
14390 2015-10-01 Tassilo Horn <tsdh@gnu.org>
14391
14392 Un- and re-prettification are not exclusive
14393
14394 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
14395 Re-apply prettification to previous symbol also when unprettifying
14396 next one.
14397
14398 2015-10-01 Tassilo Horn <tsdh@gnu.org>
14399
14400 Don't unprettify symbol at point by default
14401
14402 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
14403 Default to disabled (nil).
14404
14405 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
14406
14407 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
14408 Support unprettifying when point is after a symbol.
14409
14410 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
14411
14412 2015-09-30 Eli Zaretskii <eliz@gnu.org>
14413
14414 Avoid assertion violations in push_prefix_prop
14415
14416 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
14417 a line that has a line-prefix defined starts with an image. (Bug#21428)
14418
14419 2015-09-30 Eli Zaretskii <eliz@gnu.org>
14420
14421 Disable some display optimizations when frames need redisplay
14422
14423 These optimizations were previously disabled by the
14424 windows_or_buffers_changed flag, which now is not set
14425 when only some frames need to be redrawn.
14426 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
14427 'redisplay' flag is set.
14428 (try_window_reusing_current_matrix, try_window_id)
14429 (try_cursor_movement): Disable these optimizations when the
14430 frame's 'redisplay' flag is set.
14431
14432 2015-09-30 Tassilo Horn <tsdh@gnu.org>
14433
14434 Don't modify buffer by unprettification
14435
14436 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
14437 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
14438 modify buffer when setting/removing custom prettify-symbols-start/end
14439 text properties. Add them to font-lock-extra-managed-props, too.
14440
14441 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
14442
14443 Try to avoid redisplaying all frames when creating a new one
14444
14445 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
14446 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
14447 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
14448 * src/frame.c (x_set_screen_gamma): Set the specific frame's
14449 `redisplay' bit rather than windows_or_buffers_changed.
14450
14451 * src/window.c (apply_window_adjustment): Remove redundant setting of
14452 windows_or_buffers_changed.
14453
14454 * src/xdisp.c (redisplay_internal): Set the specific frame's
14455 `redisplay' bit rather than update_mode_lines in response to
14456 cursor_type_changed.
14457 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
14458 (AINC): Adjust accordingly.
14459
14460 2015-09-30 Tassilo Horn <tsdh@gnu.org>
14461
14462 Implement unprettification of symbol at point
14463
14464 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
14465 symbol at point.
14466 (prettify-symbols--current-symbol-bounds): New variable.
14467 (prettify-symbols--post-command-hook): New function.
14468 (prettify-symbols-unprettify-at-point): New defcustom.
14469 (prettify-symbols-mode): Use it.
14470 (prettify-symbols--compose-symbol): Use them.
14471
14472 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14473
14474 * src/macfont.m (mac_font_descriptor_supports_languages):
14475 Regard "zh" as synonym of "zh-Hans".
14476
14477 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14478
14479 Work around crash when displaying etc/HELLO on OS X 10.11
14480
14481 * src/macfont.m (mac_font_get_weight)
14482 (mac_font_descriptor_get_adjusted_weight): New functions.
14483 (macfont_store_descriptor_attributes): Adjust weight.
14484
14485 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14486
14487 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
14488
14489 2015-09-30 Nicolas Petton <nicolas@petton.fr>
14490
14491 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
14492 of the columns.
14493
14494 2015-09-30 Nicolas Petton <nicolas@petton.fr>
14495
14496 Use unar and lsar to handle RAR archives in arc-mode
14497
14498 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
14499 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
14500
14501 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
14502
14503 Clarify :create in auth-source's docs
14504
14505 * lisp/gnus/auth-source.el (auth-source-search):
14506 Clarify :create's meaning.
14507
14508 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
14509
14510 Avoid empty -path arguments in rgrep
14511
14512 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
14513 the list produced according to grep-find-ignored-directories,
14514 before passing it to Find/Grep invocation. (Bug#21548)
14515
14516 2015-09-30 Eli Zaretskii <eliz@gnu.org>
14517
14518 Clarify documentation of pos-visible-in-window-p
14519
14520 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
14521 t for POS. See
14522 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
14523 for the original report.
14524
14525 * doc/lispref/windows.texi (Window Start and End): Clarify the
14526 meaning of t for the POSITION argument of pos-visible-in-window-p.
14527
14528 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * lisp/progmodes/prolog.el: Fix various indentation cases.
14531 (prolog-operator-chars): New const (add \\).
14532 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
14533 (prolog-smie-rules): Add rules according to bug#21526.
14534
14535 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14536
14537 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
14538 (sh-indent-after-continuation): Add new value `always' (bug#17620)
14539 (sh-smie-sh-rules): Remove old handling of continued lines.
14540 (sh-smie--indent-continuation): New function.
14541 (sh-set-shell): Use it.
14542
14543 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
14546 Remove redundant :group keyword args.
14547 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
14548 Remove variables.
14549 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
14550 turn them into compile-time variables.
14551 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
14552 Add rules for break, continue, return, global, and persistent.
14553 Refine the rule for "until".
14554 (octave-smie--funcall-p, octave-smie--end-index-p)
14555 (octave-smie--in-parens-p): New functions.
14556 (octave-smie-backward-token, octave-smie-forward-token): Use them to
14557 distinguish the "enumeration" function and the "end" index from
14558 their corresponding keywords.
14559 (octave--block-offset-keywords): New constant.
14560 (octave-smie-rules): Use it. Adjust rules for new global/persistent
14561 parsing.
14562 (octave-reserved-words): Redefine using octave-smie-grammar.
14563 (octave-font-lock-keywords): Use octave-smie--funcall-p and
14564 octave-smie--end-index-p.
14565
14566 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14567
14568 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
14569
14570 2015-09-29 Eli Zaretskii <eliz@gnu.org>
14571
14572 * nt/INSTALL: Remove references to GTK site.
14573 That site no longer offers Windows downloads.
14574
14575 2015-09-29 Eli Zaretskii <eliz@gnu.org>
14576
14577 * nt/INSTALL: Add instructions for installing Git.
14578
14579 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
14580
14581 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
14582 use colors. Suggested by Eli Zaretskii.
14583
14584 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
14585
14586 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
14587 not supporting 256 above colors (bug#21557).
14588
14589 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
14590
14591 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
14592
14593 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
14594
14595 2015-09-28 Nicolas Petton <nicolas@petton.fr>
14596
14597 Add documentation for seq.el
14598
14599 * doc/lispref/sequences.texi: Add documentation regarding extending
14600 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
14601 seq-do and seq-map.
14602
14603 2015-09-28 Nicolas Petton <nicolas@petton.fr>
14604
14605 Better documentation for seq-some
14606
14607 * doc/lispref/sequences.texi:
14608 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
14609 guarantee that the returned value is the first non-nil value that
14610 resulted from applying the predicate.
14611
14612 2015-09-28 Nicolas Petton <nicolas@petton.fr>
14613
14614 * lisp/arc-mode.el: Sharp-quote function arguments.
14615
14616 2015-09-28 Eli Zaretskii <eliz@gnu.org>
14617
14618 Avoid redisplay error in ediff-regions-wordwise
14619
14620 * lisp/vc/ediff-util.el
14621 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
14622 set before activating it. (Bug#21567)
14623
14624 2015-09-28 Eli Zaretskii <eliz@gnu.org>
14625
14626 Another attempt to fix crashes due to prematurely freed faces
14627
14628 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
14629 faces for as long as we might have desired matrices that reference
14630 those faces. (Bug#21428)
14631
14632 2015-09-28 Tassilo Horn <tsdh@gnu.org>
14633
14634 Add auctex development list email address
14635
14636 2015-09-28 Tassilo Horn <tsdh@gnu.org>
14637
14638 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
14639
14640 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
14641
14642 Improve wrapfig package support and caption parsing
14643
14644 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
14645 Correct description string and add wraptable environment.
14646 (reftex-default-context-regexps): Improve caption regexp.
14647
14648 2015-09-28 Anders Lindgren <andlind@gmail.com>
14649
14650 Respect value of frame_resize_pixelwise when handling fullscreen state
14651
14652 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
14653 setting size increments.
14654
14655 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
14656
14657 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
14658
14659 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
14660
14661 Add prettify-symbols-alist for js-mode
14662
14663 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
14664 (js-mode): Use it.
14665
14666 2015-09-27 Eli Zaretskii <eliz@gnu.org>
14667
14668 * nt/subdirs.el: File deleted (no longer used).
14669
14670 2015-09-26 Alan Mackenzie <acm@muc.de>
14671
14672 Fix follow-scroll-up/down, making them replacements for scroll-up/down
14673
14674 1. Allow point to move between follow windows in scroll operations.
14675 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
14676 when EOB was isolated in the last follow window.
14677
14678 * lisp/follow.el (follow-fixed-window): New variable.
14679 (follow-get-scrolled-point): New function.
14680 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
14681 Reformulate the code. Put `scroll-command' properties on the functions.
14682 Correct minor errors in ...-down's doc string and code.
14683 (follow-calc-win-end): Amend incomplete doc string. Use
14684 `pos-visible-in-window-p' to check whether EOB is in the window.
14685 (follow-estimate-first-window-start): Correct an off-by-1 error.
14686 (follow-adjust-window): Add handling for explicit scrolling operations.
14687
14688 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
14689
14690 * admin/MAINTAINERS: Add self, plus list some more files
14691 sans maintaners.
14692
14693 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
14694
14695 New DWIM commands for changing letter-case
14696
14697 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
14698 New functions. (Bug#21501)
14699
14700 2015-09-26 Eli Zaretskii <eliz@gnu.org>
14701
14702 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
14703
14704 2015-09-26 Eli Zaretskii <eliz@gnu.org>
14705
14706 Make face realization be more frame-specific
14707
14708 * src/frame.h (struct f): New flag face_change.
14709 * src/xfaces.c (Finternal_make_lisp_face)
14710 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
14711 (update_face_from_frame_parameter): Set the face_change flag only
14712 for the frame whose faces are affected.
14713 * src/xdisp.c (init_iterator): If a frame's face_change flag is
14714 set, free faces only on that frame.
14715 (redisplay_internal): Disable "display optimization 1" if the
14716 frame's face_change flag is set.
14717 (redisplay_window): Don't allow skipping a window's redisplay if
14718 its frame's face_change flag is set.
14719 * src/frame.c (x_set_screen_gamma): Instead of calling
14720 Fclear_face_cache, call clear_face_cache and set
14721 windows_or_buffers_changed to a non-zero value. This avoids
14722 setting the global face_change flag that triggers face realization
14723 on all frames and thorough redisplay of all of them.
14724
14725 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
14726 clear face cache if the selected frame is a GUI frame.
14727
14728 2015-09-26 Tassilo Horn <tsdh@gnu.org>
14729
14730 Remove font-latex specific check
14731
14732 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
14733 Use syntax-ppss data to identify verbatim contents.
14734
14735 2015-09-25 Tassilo Horn <tsdh@gnu.org>
14736
14737 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
14738 Fix some false negatives.
14739
14740 2015-09-25 Eli Zaretskii <eliz@gnu.org>
14741
14742 Reorder Windows version in Emacs manifests
14743
14744 * nt/emacs-x64.manifest:
14745 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
14746 highest.
14747
14748 2015-09-25 Eli Zaretskii <eliz@gnu.org>
14749
14750 Update Emacs manifest files for Windows 10
14751
14752 * nt/emacs-x86.manifest:
14753 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
14754
14755 2015-09-25 Eli Zaretskii <eliz@gnu.org>
14756
14757 Avoid non-ASCII decoding errors in C src files
14758
14759 * src/nsterm.m:
14760 * src/lisp.h:
14761 * src/editfns.c:
14762 * src/doprnt.c: Add 'coding' cookies -- these files include
14763 Unicode characters and should be decoded as UTF-8.
14764
14765 2015-09-25 Alan Mackenzie <acm@muc.de>
14766
14767 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
14768
14769 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
14770 amend to match current modes and functions.
14771 (edebug-set-initial-mode): Uncomment and change from setting a defun's
14772 `edebug-initial-mode''s property to setting the variable
14773 `edebug-initial-mode'.
14774 (top level): Create new binding C-x C-a C-m for
14775 `edebug-set-initial-mode'.
14776
14777 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
14778 `edebug-set-initial-mode' and its new key binding.
14779 (Edebug Options): Mention the new command in the pertinent place.
14780
14781 * etc/NEWS: Write entry for this change.
14782
14783 2015-09-25 Eli Zaretskii <eliz@gnu.org>
14784
14785 Avoid non-ASCII decoding errors in Texinfo files
14786
14787 * doc/misc/tramp.texi:
14788 * doc/lispref/strings.texi:
14789 * doc/lispref/positions.texi:
14790 * doc/lispref/help.texi:
14791 * doc/lispref/functions.texi:
14792 * doc/lispintro/emacs-lisp-intro.texi:
14793 * doc/emacs/text.texi:
14794 * doc/emacs/modes.texi:
14795 * doc/emacs/mini.texi:
14796 * doc/emacs/display.texi:
14797 * doc/emacs/custom.texi:
14798 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
14799 Unicode characters and should be decoded as UTF-8.
14800 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
14801 apostrophe unnecessarily.
14802
14803 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
14804
14805 Merge from gnulib
14806
14807 This incorporates:
14808 2015-09-25 c-ctype: rewrite to use inline functions
14809 2015-09-24 maint: add coding cookies to non-ASCII sources
14810 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
14811 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
14812 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
14813 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
14814 * lib/set-permissions.c:
14815 Copy from gnulib.
14816
14817 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
14818
14819 Update publicsuffix.txt from upstream
14820
14821 * etc/publicsuffix.txt: Update from
14822 https://publicsuffix.org/list/effective_tld_names.dat
14823 dated 2015-09-24 17:29:21 UTC.
14824
14825 2015-09-24 Eli Zaretskii <eliz@gnu.org>
14826
14827 Prevent timers from messing up TTY menus
14828
14829 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
14830 the TTY menu is open. (Bug#21530)
14831
14832 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
14833
14834 No need to mention K&R C in c-mode intro
14835
14836 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14837
14838 Fix recent bootstrap problems
14839
14840 * src/syntax.c (parse_sexp_propertize): Fix last fix.
14841 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
14842 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
14843
14844 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
14845
14846 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
14847
14848 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
14849
14850 Properly quote nested xml comments (Bug#6267) (Bug#20001)
14851
14852 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
14853 (nxml-mode): Set comment-quote-nested-function.
14854
14855 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
14856
14857 Allow major-modes full control over quoting nested comments
14858
14859 * lisp/newcomment.el (comment-quote-nested-function): New variable.
14860 (comment-quote-nested-default): New function.
14861 (comment-quote-nested): Use `comment-quote-nested-function'.
14862
14863 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
14864
14865 Prefer CALLN in a few more places
14866
14867 * src/macfont.m (macfont_set_family_cache):
14868 * src/nsterm.m (append2):
14869 * src/xterm.c (x_cr_export_frames):
14870 Prefer CALLN to allocating the arg arrays by hand.
14871
14872 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
14873
14874 Adapt file-notify-test02-events test case
14875
14876 * test/automated/file-notify-tests.el (file-notify-test02-events):
14877 Create a new watch for every test.
14878
14879 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
14880
14881 Continue gfilenotify.c implementation of missing parts
14882
14883 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
14884 `gfile-add-watch' call.
14885 (file-notify-rm-watch): Modify `file-notify-descriptors' only
14886 after calling the low level functions.
14887
14888 * src/gfilenotify.c (dir_monitor_callback): Check, whether
14889 event_type is expected.
14890 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
14891 (Fgfile_rm_watch): Fix typo.
14892 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
14893
14894 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14895
14896 * src/syntax.c (parse_sexp_propertize): Handle spurious
14897 e_property_truncated flag.
14898 (update_syntax_table_forward): Remove invalid assertion.
14899
14900 2015-09-23 Eli Zaretskii <eliz@gnu.org>
14901
14902 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
14903 space display spec on text-mode terminals, by calling
14904 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
14905 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
14906 test for a GUI frame.
14907
14908 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
14909
14910 Move let-when-compile to lisp-mode.el
14911
14912 This fixes the bootstrapping problem of `let-when-compile' using
14913 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
14914
14915 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14916
14917 * lisp/url/url-http.el (url-http-parse-headers): Do not
14918 automatically include Authorization header in redirect.
14919 (Bug#21350)
14920
14921 2015-09-22 Eli Zaretskii <eliz@gnu.org>
14922
14923 Clarify documentation of ':relative-width'
14924
14925 * doc/lispref/display.texi (Specified Space): Document that
14926 ':relative-width' is only supported on GUI frames.
14927
14928 2015-09-22 Eli Zaretskii <eliz@gnu.org>
14929
14930 Fix 'current-column' in presence of :relative-width
14931
14932 * src/indent.c (check_display_width): Support ':relative-width'
14933 in a display spec that specifies a stretch glyph. (Bug#21533)
14934
14935 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14936
14937 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
14938
14939 ... to conform better to CONTRIBUTE guidelines.
14940
14941 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14942
14943 * lisp/progmodes/prolog.el: Fix indentation of empty line
14944
14945 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
14946 `empty-line-token' element.
14947 (smie-indent-empty-line): New function.
14948 (smie-indent-functions): Add it.
14949
14950 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
14951 behavior and use the new `empty-line-token' element (bug#21526).
14952 (prolog-mode-variables): Fix comment-start-skip setting to match
14953 comment-start.
14954
14955 * test/indent/prolog.prolog: Add nested indentation tests.
14956
14957 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
14958 comment-start-skip not to misuse submatch 1.
14959
14960 2015-09-22 Alan Mackenzie <acm@muc.de>
14961
14962 Make description of `edebug-initial-mode' user friendly
14963
14964 Fixes bug#21365.
14965
14966 * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
14967 description of `edebug-initial-mode' from that of its implementation
14968 to that of its visual effect and use. Move the paragraph higher up.
14969
14970 2015-09-22 Eli Zaretskii <eliz@gnu.org>
14971
14972 lisp/progmodes/gud.el (gud-format-command): Fix last commit
14973
14974 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
14975 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
14976
14977 2015-09-22 Tassilo Horn <tsdh@gnu.org>
14978
14979 Improve last commit to process.c
14980
14981 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
14982
14983 Implement gfile-valid-p
14984
14985 * lisp/filenotify.el (file-notify-callback): Fix typo.
14986 (gfile-valid-p): Remove defalias.
14987
14988 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
14989 the file or directory to be watched is deleted.
14990 (Fgfile_add_watch): Make watch_object a triple.
14991 (Fgfile_rm_watch): Check, whether watch is cancelled already.
14992 (Fgfile_valid_p): New defun.
14993 (syms_of_gfilenotify): Declare Sgfile_valid_p.
14994
14995 2015-09-22 Tassilo Horn <tsdh@gnu.org>
14996
14997 Remove callback-handled channels from Available set
14998
14999 * src/process.c (wait_reading_process_output): Remove channel from
15000 Available set if it is handled by a callback, e.g., dbus or
15001 inotify (bug#21313).
15002
15003 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
15004
15005 Use lunate epsilon for TeX \epsilon
15006
15007 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
15008 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
15009 \epsilon to use GREEK LUNATE EPSILON SYMBOL
15010
15011 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15012
15013 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
15014
15015 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
15016 rather than outermost paren (bug#21526).
15017
15018 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
15019
15020 Improve git diff hunk headers for .el, .texi
15021
15022 Problem reported by Alan Mackenzie in:
15023 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
15024 * .gitattributes (*.el, *.texi): New patterns.
15025 * autogen.sh: Configure diff.elisp.xfuncname and
15026 diff.texinfo.xfuncname if using Git.
15027
15028 2015-09-21 Eli Zaretskii <eliz@gnu.org>
15029
15030 Don't rely on defaults in decoding UTF-8 encoded Lisp files
15031
15032 * lisp/replace.el:
15033 * lisp/textmodes/rst.el:
15034 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
15035
15036 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
15037
15038 Clarify or replace a few \u escapes
15039
15040 * doc/lispref/nonascii.texi (Character Properties)
15041 More-detailed commentary for \u escapes.
15042 * lisp/progmodes/python.el (python--prettify-symbols-alist):
15043 * lisp/replace.el (query-replace-from-to-separator):
15044 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
15045 (rst-mode-syntax-table):
15046 * lisp/whitespace.el (whitespace-display-mappings):
15047 Prefer actual character to \u escape when this makes the code
15048 easier to follow in the usual case where Unicode chars can be
15049 displayed.
15050
15051 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
15052
15053 Pacify GCC -Wmaybe-uninitialized in xdisp.c
15054
15055 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
15056 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
15057 charpos. The loop should always execute at least once anyway.
15058
15059 2015-09-21 Tassilo Horn <tsdh@gnu.org>
15060
15061 Signal error on invalid regexp
15062
15063 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
15064 Signal an error when the user tries searching with a regexp
15065 matching the empty string.
15066
15067 2015-09-21 Eli Zaretskii <eliz@gnu.org>
15068
15069 Another fix of file-notify-tests for w32notify
15070
15071 * test/automated/file-notify-tests.el (file-notify-test02-events):
15072 Further adaptation for w32notify: reduce the number of expected
15073 'changed' events. (Bug#21435)
15074
15075 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
15076
15077 Adapt tests and manual for w32notify
15078
15079 * doc/lispref/os.texi (File Notifications): w32notify does not
15080 send `attribute-changed' events.
15081
15082 * test/automated/file-notify-tests.el (file-notify--test-with-events):
15083 Simplify parameters. Adapt all callees.
15084 (file-notify-test02-events): w32notify does not send
15085 `attribute-changed' events.
15086 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
15087 Do not skip in case of w32notify. Simply ignore this part of the test.
15088
15089 2015-09-21 Dima Kogan <dima@secretsauce.net>
15090
15091 Fix setting breakpoints when remote-debugging
15092
15093 * lisp/progmodes/gud.el (gud-format-command): Send localized file
15094 names to the debugger running on the remote. (Bug#13304)
15095
15096 2015-09-21 Nicolas Petton <nicolas@petton.fr>
15097
15098 Better docstring and parameter name for seq-find
15099
15100 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
15101 the parameter `sentinel' to `default'.
15102
15103 * doc/lispref/sequences.texi (Sequence Functions): Update the
15104 documentation for `seq-find' accordingly.
15105
15106 2015-09-21 Eli Zaretskii <eliz@gnu.org>
15107
15108 Avoid infinite recursion while displaying box face
15109
15110 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
15111 the previous string/buffer character position under bidi
15112 iteration. (Bug#21428)
15113
15114 2015-09-21 Anders Lindgren <andlind@gmail.com>
15115
15116 Keep upper edge unchanged when changing size of NS frame
15117
15118 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
15119 (Bug#21415).
15120
15121 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
15124 (prolog-smie-rules): Accommodate standard if/then/else special
15125 indentation.
15126 (prolog-mode): Add . to electric-indent-chars.
15127 (prolog-electric--if-then-else): Re-indent the line before adding space
15128 after the new char (bug#21526).
15129
15130 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
15131
15132 Add prettify symbols to python-mode
15133
15134 * lisp/progmodes/python.el (python-prettify-symbols-alist):
15135 New variable.
15136 (python-mode): Use it
15137
15138 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15139
15140 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
15141
15142 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
15143
15144 (compilation-error-regexp-alist-alist): Tone down guile-file
15145
15146 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
15147 Make guile-file a bit less enthusiastic (bug#21496).
15148
15149 2015-09-20 Drew Csillag <drew@thecsillags.com>
15150
15151 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
15152 Fix m4_* highlighting.
15153
15154 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
15155 of commands when they have a "m4_" prefix.
15156
15157 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
15158
15159 '.' -> `.' in doc string
15160
15161 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
15162 individual chars with grave quotes instead of straight quotes, as
15163 this works better when they are translated to curved quotes.
15164
15165 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
15166
15167 Improve file notifications, especially for Tramp
15168
15169 * doc/lispref/files.texi (Magic File Names):
15170 Mention `file-notify-valid-p'.
15171
15172 * doc/lispref/os.texi (File Notifications):
15173 Describe `file-notify-valid-p'.
15174
15175 * etc/NEWS: Add `file-notify-valid-p'.
15176
15177 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
15178 Improve implementation.
15179 (tramp-gvfs-monitor-file-process-filter): Rename from
15180 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
15181 process if appropriate.
15182
15183 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15184 Improve implementation.
15185 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
15186 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
15187 if appropriate.
15188 (tramp-sh-inotifywait-process-filter): Rename from
15189 `tramp-sh-file-inotifywait-process-filter'. Delete process if
15190 appropriate.
15191
15192 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
15193 Use `delete-process'.
15194 (tramp-handle-file-notify-valid-p): Check also, that file or
15195 directory to be watched still exists.
15196
15197 * test/automated/file-notify-tests.el (file-notify--test-timeout):
15198 New defun. Use it at all places a timeout is needed.
15199 (file-notify--test-cleanup): Delete directories recursively.
15200 Cleanup also Tramp connections.
15201 (file-notify-test02-events): Add tests for `attribute-change'.
15202 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
15203 Add tests for `file-notify-rm-watch'.
15204
15205 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
15206
15207 Use %s to format strings instead of splicing them
15208
15209 If FOO might contain quotes that are part of a file or variable
15210 name, the quotes should not be translated when showing FOO’s name
15211 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
15212 is not quite right, as it would translate FOO’s quotes.
15213 Change it to (message "%s: bar" FOO) instead.
15214 * lisp/allout.el (allout-process-exposed):
15215 * lisp/calc/calc-ext.el (calc-do-prefix-help):
15216 * lisp/calc/calc-store.el (calc-store-into):
15217 * lisp/calendar/todo-mode.el (todo-category-completions):
15218 * lisp/cedet/semantic/complete.el (semantic-completion-message):
15219 * lisp/org/ob-latex.el (convert-pdf):
15220 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
15221 * lisp/org/ox-latex.el (org-latex-compile):
15222 * lisp/org/ox-man.el (org-man-compile):
15223 * lisp/org/ox-odt.el (org-odt--export-wrap):
15224 * lisp/org/ox-texinfo.el (org-texinfo-compile):
15225 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
15226 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
15227 (verilog-signals-combine-bus, verilog-read-defines)
15228 (verilog-getopt-file, verilog-expand-dirnames)
15229 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
15230 * lisp/term/ns-win.el (ns-spi-service-call):
15231 Use %s to avoid translating quotes of file names etc. in diagnostics.
15232
15233 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15234
15235 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
15236 (js-mode): Don't set syntax-begin-function.
15237
15238 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15239
15240 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
15241 syntax-begin-function is a symbol.
15242
15243 2015-09-20 Eli Zaretskii <eliz@gnu.org>
15244
15245 Improve documentation of 'run-at-time'
15246 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
15247 In particular, don't refer to 'diary-entry-time', because it is
15248 unavailable until diary-lib is loaded. Also, refer to
15249 'timer-duration-words', not 'timer-duration', as the latter's doc
15250 string says nothing about the accepted strings.
15251
15252 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
15253
15254 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
15255
15256 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
15257
15258 Repair pdbtrack remote file tracking
15259 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
15260 Rectify pdbtrack so it follows transitions from one remote source
15261 file to the next.
15262
15263 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
15264
15265 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
15266
15267 2015-09-19 Eli Zaretskii <eliz@gnu.org>
15268
15269 Adapt vc-src to the old-new vc-checkin API
15270 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
15271 additional optional parameter.
15272
15273 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
15274
15275 Add overflow module to CSS property list
15276 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
15277 from CSS Overflow Module Level 3.
15278
15279 2015-09-19 Eli Zaretskii <eliz@gnu.org>
15280
15281 Fix documentation of "C-u C-x v v"
15282 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
15283 documentation of "C-u C-x v v" match what the code does.
15284
15285 Resurrect the ability to specify a revision in vc-next-action
15286 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
15287 * lisp/vc/vc-dav.el (vc-dav-checkin):
15288 * lisp/vc/vc-git.el (vc-git-checkin):
15289 * lisp/vc/vc-hg.el (vc-hg-checkin):
15290 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
15291 an additional optional argument, the revision to checkin.
15292 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
15293 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
15294 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
15295 a revision to checkin.
15296 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
15297 revision when checking in files.
15298 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
15299 for the details.
15300
15301 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
15302
15303 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
15304 (verilog-decls-princ, verilog-modport-princ)
15305 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
15306
15307 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
15308
15309 Fix the routine for help on Calc's prefixes
15310 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
15311 (calc-do-prefix-help): Use `read-char' to determine the next Calc
15312 command.
15313
15314 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15315
15316 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
15317 (font-lock-fontify-block): Don't let-bind it.
15318 (font-lock-compile-keywords): Don't use it.
15319 (font-lock-set-defaults): Don't set it. Allow the variable alist to
15320 start one slot earlier, instead.
15321 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
15322 Don't declare.
15323 (syntax-ppss): Don't use it either.
15324 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
15325 from docstring.
15326 * doc/emacs/display.texi (Font Lock): Don't mention
15327 font-lock-beginning-of-syntax-function.
15328 * doc/lispref/modes.texi (Font Lock Basics): Update description of
15329 font-lock-defaults.
15330 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
15331 * lisp/loadhist.el (unload-feature-special-hooks):
15332 Remove font-lock-beginning-of-syntax-function.
15333 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
15334 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
15335 font-lock-beginning-of-syntax-function.
15336
15337 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
15338
15339 Backslash cleanup in Elisp source files
15340 This patch should not change behavior. It typically omits backslashes
15341 where they are redundant (e.g., in the string literal "^\$").
15342 In a few places, insert backslashes where they make regular
15343 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
15344 "^\\*", which has the same effect as a regular expression.
15345 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
15346 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
15347 RCS IDs, as that makes it clearer that the backslash is intended.
15348
15349 Some more minor backslash fixes
15350 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
15351 * test/automated/info-xref.el (info-xref-test-write-file):
15352 Double backslashes in strings.
15353
15354 Fix several backslash typos in Elisp strings
15355 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
15356 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
15357 (todo-reset-done-string, todo-reset-comment-string)
15358 (todo-reset-highlight-item):
15359 * lisp/erc/erc-networks.el (erc-networks-alist):
15360 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
15361 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
15362 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
15363 (nntp-telnet-shell-prompt):
15364 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
15365 * lisp/image-dired.el (image-dired-rotate-original):
15366 (image-dired-get-exif-file-name):
15367 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
15368 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
15369 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
15370 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
15371 * lisp/net/shr-color.el (shr-color->hexadecimal):
15372 * lisp/org/org-bibtex.el (org-bibtex-fields):
15373 * lisp/org/org-docview.el (org-docview-export):
15374 * lisp/org/org-entities.el (org-entities):
15375 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
15376 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
15377 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
15378 (ebnf-style-database):
15379 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
15380 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
15381 * lisp/progmodes/sql.el (sql-product-alist):
15382 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
15383 (verilog-error-font-lock-keywords)
15384 (verilog-assignment-operator-re):
15385 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
15386 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
15387 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
15388 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
15389 For example, to get the regular expression ‘\.’ use the string
15390 literal "\\.", not "\." (which is equivalent to ".").
15391 * lisp/emulation/viper-util.el (viper-glob-unix-files):
15392 Remove stray ‘\j’ from string.
15393 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
15394 (nntp-telnet-shell-prompt):
15395 Treat > like $ when matching a shell prompt.
15396 * lisp/progmodes/make-mode.el (makefile-browse):
15397 Properly quote a diagnostic.
15398
15399 Fix minor quoting problems in diagnostics
15400 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
15401 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
15402 Follow text-quoting-style in diagnostic, and quote a file name.
15403
15404 2015-09-17 Eli Zaretskii <eliz@gnu.org>
15405
15406 * doc/lispref/frames.texi (Cursor Parameters):
15407 Document 'x-stretch-cursor'.
15408
15409 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
15410
15411 Omit unnecessary \ before paren in C docstrings
15412 Although \( is needed in docstrings in Elisp code, it is not needed in
15413 docstrings in C code, since C function definitiions do not start with
15414 a parenthesis. The backslashes made the docstrings a bit harder to
15415 read and to format in columns. Also, some C docstrings had ( in
15416 column 1 and this did not appear to be causing any problems. So,
15417 simplify C docstrings by replacing \( with ( and \) with ).
15418
15419 A few more minor quoting fixes in a script and a text file
15420
15421 Minor quoting fixes in scripts and doc
15422 Prefer straight quotes in random script files, as they are not
15423 converted. Prefer grave quotes in a couple of places in the manual
15424 that were missed earlier, as these quotes are converted.
15425
15426 Minor backslash fixes in manuals and scripts
15427 * Makefile.in (install-arch-indep):
15428 * admin/charsets/compact.awk:
15429 * admin/charsets/gb180302.awk (gb_to_index):
15430 * admin/charsets/gb180304.awk (gb_to_index):
15431 Avoid undefined behavior in Awk regular expression backslashes.
15432 * doc/misc/efaq.texi (Matching parentheses):
15433 Omit unnecessary backslashes.
15434 * doc/misc/gnus-faq.texi (FAQ 5-8):
15435 Avoid undefined behavior in suggested sed backslash usage.
15436
15437 Add -Wswitch to --enable-gcc-warnings
15438 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
15439 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
15440 * lib-src/etags.c (main, consider_token, C_entries):
15441 * src/coding.c (encode_invocation_designation):
15442 * src/data.c (Ftype_of):
15443 * src/eval.c (Fdefvaralias, default_toplevel_binding)
15444 (Fbacktrace__locals, mark_specpdl):
15445 * src/lisp.h (record_xmalloc):
15446 * src/syntax.c (scan_lists, scan_sexps_forward):
15447 * src/window.c (window_relative_x_coord):
15448 * src/xdisp.c (push_it, pop_it):
15449 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
15450 Error out or do nothing (as appropriate) if a switch statement
15451 with an enum value does not cover all of the enum.
15452 * src/dispextern.h (struct iterator_stack_entry.u.comp):
15453 Remove unused member discovered by using -Wswitch.
15454 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
15455 * src/vm-limit.c (check_memory_limits):
15456 Simplify warning-diagnostic computation by using a table.
15457
15458 etags ‘fatal’ function is now printf-like
15459 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
15460 Also, now static; not clear why it needed to be extern.
15461 (verror): New function, with most of the old contents of ‘error’.
15462 (fatal, error): Use it.
15463
15464 2015-09-16 Eli Zaretskii <eliz@gnu.org>
15465
15466 More adaptations in file-notify-tests.el
15467 * test/automated/file-notify-tests.el
15468 (file-notify-test05-dir-validity): Skip for w32notify in
15469 batch-mode. (Bug#21432)
15470
15471 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
15472
15473 Adapt test in file-notify-tests.el
15474 * test/automated/file-notify-tests.el
15475 (file-notify-test04-file-validity): Skip for w32notify in
15476 batch-mode. Add test lost last commit.
15477
15478 2015-09-16 Dima Kogan <dima@secretsauce.net>
15479
15480 winner no longer holds on to dead frames
15481 * lisp/winner.el (winner-change-fun): Cull dead frames.
15482 This prevents a potentially massive memory leak. See:
15483 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
15484
15485 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
15486
15487 Use common report_file_notify_error function
15488 * src/fileio.c (report_file_notify_error): New function.
15489 * src/inotify.c (report_inotify_error): Remove function.
15490 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
15491 (Finotify_rm_watch): Use report_file_notify_error.
15492 * src/lisp.h (report_file_notify_error): Declare external function.
15493 * src/w32notify.c (report_w32notify_error): Remove function.
15494 (Fw32notify_add_watch, Fw32notify_rm_watch):
15495 Use report_file_notify_error.
15496
15497 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
15498
15499 Fix documentation.
15500 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
15501 the documentation of the root mean square.
15502
15503 2015-09-16 Martin Rudalics <rudalics@gmx.at>
15504
15505 Remove tool_bar_redisplayed_once and associated code.
15506 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
15507 * src/frame.c (make_frame, x_set_font): Remove initialization of
15508 f->tool_bar_redisplayed_once.
15509 * src/w32fns.c (x_change_tool_bar_height):
15510 * src/xfns.c (x_change_tool_bar_height): Don't check for
15511 f->tool_bar_redisplayed_once.
15512 * src/xdisp.c (redisplay_internal): Remove handling of
15513 f->tool_bar_redisplayed_once.
15514
15515 2015-09-16 Eli Zaretskii <eliz@gnu.org>
15516
15517 Restore some of the quoting in the manuals
15518 * doc/lispref/windows.texi (Coordinates and Windows)
15519 (Coordinates and Windows):
15520 * doc/lispref/variables.texi (Lexical Binding)
15521 (File Local Variables):
15522 * doc/lispref/text.texi (Format Properties):
15523 * doc/lispref/symbols.texi (Symbol Components):
15524 * doc/lispref/strings.texi (Creating Strings):
15525 * doc/lispref/sequences.texi (Sequence Functions):
15526 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
15527 (Search and Replace):
15528 * doc/lispref/processes.texi (Bindat Spec):
15529 * doc/lispref/os.texi (Idle Timers):
15530 * doc/lispref/objects.texi (Basic Char Syntax):
15531 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
15532 * doc/lispref/nonascii.texi (Character Properties):
15533 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
15534 (Mode Line Variables):
15535 * doc/lispref/minibuf.texi (Text from Minibuffer):
15536 * doc/lispref/loading.texi (Autoload):
15537 * doc/lispref/keymaps.texi (Controlling Active Maps):
15538 * doc/lispref/frames.texi (Frame Layout, Size and Position)
15539 (Size Parameters, Implied Frame Resizing):
15540 * doc/lispref/files.texi (Changing Files, Magic File Names):
15541 * doc/lispref/eval.texi (Self-Evaluating Forms):
15542 * doc/lispref/display.texi (Progress, Abstract Display)
15543 (Abstract Display Example, Bidirectional Display):
15544 * doc/lispref/commands.texi (Event Mod):
15545 * doc/emacs/windows.texi (Displaying Buffers):
15546 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
15547 * doc/emacs/text.texi (Enriched Text):
15548 * doc/emacs/programs.texi (MixedCase Words):
15549 * doc/emacs/picture-xtra.texi (Insert in Picture)
15550 (Tabs in Picture):
15551 * doc/emacs/misc.texi (Emacs Server, Printing):
15552 * doc/emacs/mini.texi (Minibuffer History):
15553 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
15554 (Pulling / Pushing):
15555 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
15556 * doc/emacs/help.texi (Help, Help Echo):
15557 * doc/emacs/glossary.texi (Glossary):
15558 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
15559 (Frame Commands):
15560 * doc/emacs/files.texi (Reverting, Saving, Directories):
15561 * doc/emacs/entering.texi (Exiting):
15562 * doc/emacs/emacs.texi (Top):
15563 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
15564 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
15565 appropriate or replace quoting with @dfn.
15566 * doc/misc/ediff.texi (Window and Frame Configuration):
15567 * doc/lispref/processes.texi (Network Feature Testing):
15568 * doc/lispref/display.texi (Display Margins): Quote the phrase
15569 after "a.k.a." where appropriate.
15570
15571 2015-09-16 Tassilo Horn <tsdh@gnu.org>
15572
15573 Clarify reftex-extra-bindings docs
15574 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
15575 * doc/misc/reftex.texi (Key Bindings): Document that the variable
15576 only has an effect at load-time.
15577
15578 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
15579
15580 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
15581 search argument. (Bug#21492) (Bug#21493)
15582
15583 2015-09-16 Tassilo Horn <tsdh@gnu.org>
15584
15585 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
15586 Add pretty symbols for \qquad and \varrho.
15587
15588 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
15589
15590 Add new functions for the root mean square of a (Calc) vector
15591 * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
15592 New functions.
15593 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
15594 `calc-vector-rms', add autoloads for `calc-vector-rms' and
15595 `calcFunc-rms'.
15596 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
15597 `calcFunc-rms'.
15598 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
15599 `calc-vector-rms'.
15600 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
15601 command.
15602
15603 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
15604
15605 Add monotone EDE generic project
15606 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
15607 Add monotone generic project.
15608
15609 Revert premature commit
15610 * doc/lispref/files.texi: Revert premature commit of change to
15611 file-name-all-completions.
15612
15613 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
15614 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
15615 with cl-generic defaults.
15616 (elisp--xref-find-references): Add doc string.
15617 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
15618 tests to find bug.
15619
15620 Fix bugs in eieio-oref-default related to class symbols
15621 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
15622 (eieio-oref-default): Handle class properly.
15623
15624 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
15625
15626 Quote “fullboth” when defining it
15627 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
15628 and rewrite the containing paragraph, which was awkward. (Bug#21472).
15629
15630 2015-09-15 Eli Zaretskii <eliz@gnu.org>
15631
15632 Minor doc fix in emacs/ack.texi
15633 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
15634 first argument.
15635
15636 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
15637
15638 Adapt tests in auto-revert-tests.el
15639 * test/automated/auto-revert-tests.el (auto-revert--timeout):
15640 Make it a defconst.
15641 (auto-revert--wait-for-revert): New defun.
15642 (auto-revert-test00-auto-revert-mode)
15643 (auto-revert-test01-auto-revert-tail-mode)
15644 (auto-revert-test02-auto-revert-mode-dired): Use it.
15645
15646 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15647
15648 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
15649 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
15650 (cl-lib-fdefs): Add defgeneric.
15651 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
15652 (eieio-kw, cl-lib-kw, el-kw): Remove.
15653
15654 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
15655
15656 Quote less in manuals
15657 The manuals often used quotes ``...'' when it is better to use @dfn or
15658 @code or capitalized words or no quoting at all. For example, there is
15659 no need for the `` and '' in “if a variable has one effect for
15660 @code{nil} values and another effect for ``non-@code{nil}'' values”.
15661 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
15662 unnecessary quoting like this, and to use @dfn etc. instead when called
15663 for (Bug#21472).
15664
15665 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
15666
15667 * lisp/custom.el (load-theme): Only compute hash when needed.
15668
15669 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
15670
15671 Pacify --enable-gcc-warnings
15672 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
15673
15674 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
15675
15676 Improve error reports in inotify.c
15677 * src/inotify.c (report_inotify_error): New function. Clone of
15678 report_w32notify_error.
15679 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
15680 (Finotify_rm_watch): Use it.
15681
15682 2015-09-15 Eli Zaretskii <eliz@gnu.org>
15683
15684 Fix the file-notify tests for watch validation on w32
15685 * test/automated/file-notify-tests.el
15686 (file-notify-test04-file-validity): Move the directory deletion
15687 out of the file-notify--test-with-events macro.
15688 (file-notify-test04-file-validity)
15689 (file-notify-test05-dir-validity): Enlarge the timeout of
15690 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
15691
15692 2015-09-15 Tassilo Horn <tsdh@gnu.org>
15693
15694 Use OPEN BOX instead of space for \quad.
15695 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
15696 character for \quad instead of a space.
15697
15698 2015-09-15 Eli Zaretskii <eliz@gnu.org>
15699
15700 Add missing *.pbm images
15701 * etc/images/connect.pbm: New file.
15702 * etc/images/custom/down-pushed.pbm: New file.
15703 * etc/images/custom/down.pbm: New file.
15704 * etc/images/custom/right-pushed.pbm: New file.
15705 * etc/images/custom/right.pbm: New file.
15706 * etc/images/describe.pbm: New file.
15707 * etc/images/disconnect.pbm: New file.
15708 * etc/images/ezimage/bits.pbm: New file.
15709 * etc/images/ezimage/bitsbang.pbm: New file.
15710 * etc/images/ezimage/box-minus.pbm: New file.
15711 * etc/images/ezimage/box-plus.pbm: New file.
15712 * etc/images/ezimage/box.pbm: New file.
15713 * etc/images/ezimage/checkmark.pbm: New file.
15714 * etc/images/ezimage/dir-minus.pbm: New file.
15715 * etc/images/ezimage/dir-plus.pbm: New file.
15716 * etc/images/ezimage/dir.pbm: New file.
15717 * etc/images/ezimage/doc-minus.pbm: New file.
15718 * etc/images/ezimage/doc-plus.pbm: New file.
15719 * etc/images/ezimage/doc.pbm: New file.
15720 * etc/images/ezimage/info.pbm: New file.
15721 * etc/images/ezimage/key.pbm: New file.
15722 * etc/images/ezimage/label.pbm: New file.
15723 * etc/images/ezimage/lock.pbm: New file.
15724 * etc/images/ezimage/mail.pbm: New file.
15725 * etc/images/ezimage/page-minus.pbm: New file.
15726 * etc/images/ezimage/page-plus.pbm: New file.
15727 * etc/images/ezimage/page.pbm: New file.
15728 * etc/images/ezimage/tag-gt.pbm: New file.
15729 * etc/images/ezimage/tag-minus.pbm: New file.
15730 * etc/images/ezimage/tag-plus.pbm: New file.
15731 * etc/images/ezimage/tag-type.pbm: New file.
15732 * etc/images/ezimage/tag-v.pbm: New file.
15733 * etc/images/ezimage/tag.pbm: New file.
15734 * etc/images/ezimage/unlock.pbm: New file.
15735 * etc/images/gnus/important.pbm: New file.
15736 * etc/images/gnus/mail-send.pbm: New file.
15737 * etc/images/gnus/receipt.pbm: New file.
15738 * etc/images/gnus/toggle-subscription.pbm: New file.
15739 * etc/images/gnus/unimportant.pbm: New file.
15740 * etc/images/gud/all.pbm: New file.
15741 * etc/images/gud/rcont.pbm: New file.
15742 * etc/images/gud/recstart.pbm: New file.
15743 * etc/images/gud/recstop.pbm: New file.
15744 * etc/images/gud/rfinish.pbm: New file.
15745 * etc/images/gud/rnext.pbm: New file.
15746 * etc/images/gud/rnexti.pbm: New file.
15747 * etc/images/gud/rstep.pbm: New file.
15748 * etc/images/gud/rstepi.pbm: New file.
15749 * etc/images/gud/thread.pbm: New file.
15750 * etc/images/lock-broken.pbm: New file.
15751 * etc/images/lock-ok.pbm: New file.
15752 * etc/images/lock.pbm: New file.
15753 * etc/images/mail/copy.pbm: New file.
15754 * etc/images/mail/forward.pbm: New file.
15755 * etc/images/mail/not-spam.pbm: New file.
15756 * etc/images/mail/outbox.pbm: New file.
15757 * etc/images/mail/preview.pbm: New file.
15758 * etc/images/mail/save-draft.pbm: New file.
15759 * etc/images/mh-logo.pbm: New file.
15760 * etc/images/mpc/add.pbm: New file.
15761 * etc/images/mpc/ffwd.pbm: New file.
15762 * etc/images/mpc/next.pbm: New file.
15763 * etc/images/mpc/pause.pbm: New file.
15764 * etc/images/mpc/play.pbm: New file.
15765 * etc/images/mpc/prev.pbm: New file.
15766 * etc/images/mpc/rewind.pbm: New file.
15767 * etc/images/mpc/stop.pbm: New file.
15768 * etc/images/redo.pbm: New file.
15769 * etc/images/smilies/braindamaged.pbm: New file.
15770 * etc/images/smilies/cry.pbm: New file.
15771 * etc/images/smilies/dead.pbm: New file.
15772 * etc/images/smilies/evil.pbm: New file.
15773 * etc/images/smilies/forced.pbm: New file.
15774 * etc/images/smilies/grin.pbm: New file.
15775 * etc/images/smilies/indifferent.pbm: New file.
15776 * etc/images/sort-ascending.pbm: New file.
15777 * etc/images/sort-column-ascending.pbm: New file.
15778 * etc/images/sort-criteria.pbm: New file.
15779 * etc/images/sort-descending.pbm: New file.
15780 * etc/images/sort-row-ascending.pbm: New file.
15781 * etc/images/unchecked.pbm: New file.
15782 * etc/images/zoom-in.pbm: New file.
15783 * etc/images/README: Update instructions for PBM files.
15784
15785 Add separator.pbm tool-bar image
15786 * etc/images/separator.pbm: New file. Having it avoids the side
15787 effect of changing the tool-bar height when the default font's size
15788 changes and XPM image support is not available, due to the SPC
15789 characters that are left in the Lisp string used to display the tool
15790 bar, because there are no images to display instead of those SPC
15791 characters.
15792
15793 Make show-paren-match face visible on mono-color displays
15794 * lisp/faces.el (show-paren-match): Use the underline face for
15795 mono-color displays. (Bug#21481)
15796
15797 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
15798
15799 Don’t double-encode non-ASCII mail clipboard
15800 * lisp/mail/mailclient.el (mailclient-send-it):
15801 Also fix the case when mailclient-place-body-on-clipboard-flag
15802 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
15803
15804 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
15805
15806 Adapt file-notify-tests.el test cases
15807 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
15808 * src/inotify.c (Finotify_valid_p): Adapt docstring.
15809 * test/automated/file-notify-tests.el
15810 (file-notify-test03-autorevert)
15811 (file-notify-test04-file-validity)
15812 (file-notify-test04-file-validity-remote)
15813 (file-notify-test05-dir-validity)
15814 (file-notify-test05-dir-validity-remote): Adapt docstring.
15815 (file-notify-test04-file-validity): Let events arrive before
15816 calling final `file-notify-valid-p'. Do not ignore errors.
15817 (file-notify-test05-dir-validity): Do not manipulate
15818 `temporary-file-directory', it isn't necessary. Let events arrive
15819 before calling final `file-notify-valid-p'. Do not ignore errors.
15820
15821 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
15822
15823 Don’t double-encode non-ASCII for mail client
15824 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
15825 Use RFC 6068’s list of unreserved characters.
15826 (mailclient-send-it): When encoding the body as a URL,
15827 first decode it as per Content-Type: and Content-Transfer-Encoding:,
15828 as URLs must use percent-encoded UTF-8 (Bug#21471).
15829 * doc/misc/url.texi (mailto): Update RFC number.
15830
15831 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15832
15833 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
15834
15835 2015-09-14 Alan Mackenzie <acm@muc.de>
15836
15837 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
15838 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
15839 `cadr/car'.
15840
15841 2015-09-14 Eli Zaretskii <eliz@gnu.org>
15842
15843 Clarify documentation of char-table extra slots
15844 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
15845 slot numbers are zero-based. (Bug#21467)
15846
15847 2015-09-14 Alan Mackenzie <acm@muc.de>
15848
15849 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
15850 Fixes bug#21449.
15851 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
15852 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
15853 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
15854 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
15855 Insert "\\|\\\\." into regexps which match symbols.
15856
15857 2015-09-14 Eli Zaretskii <eliz@gnu.org>
15858
15859 Improve the doc string of w32notify-valid-p
15860 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
15861 that removing a watch makes its object invalid.
15862
15863 2015-09-14 Tassilo Horn <tsdh@gnu.org>
15864
15865 Fix tests for file-notify-valid-p
15866 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
15867 Use delete-directory to delete file-notify--test-tmpfile if it is
15868 a directory. Likewise for file-notify--test-tmpfile1.
15869 (file-notify-test04-file-validity)
15870 (file-notify-test05-dir-validity): Delete the parent directory of
15871 the test. Ignore errors when cleaning up after the test.
15872
15873 2015-09-14 Eli Zaretskii <eliz@gnu.org>
15874
15875 Report file-notify-error in w32notify.c
15876 * src/w32notify.c (report_w32notify_error): New function.
15877 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
15878 errors, instead of calling report_file_error. (Bug#21432)
15879
15880 Implement w32notify-valid-p
15881 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
15882 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
15883 'identity'.
15884
15885 2015-09-14 Tassilo Horn <tsdh@gnu.org>
15886
15887 Test file-notify-valid-p
15888 * test/automated/file-notify-tests.el
15889 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
15890 New tests.
15891
15892 2015-09-13 Eli Zaretskii <eliz@gnu.org>
15893
15894 Fix markup in ELisp manual
15895 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
15896 of the 'alpha' parameter value. (Bug#21470)
15897
15898 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
15899
15900 Introduce `file-notify-valid-p'
15901 * lisp/filenotify.el (file-notify-valid-p): New defun.
15902 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
15903 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
15904 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15905 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
15906 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15907 <file-notify-valid-p>: Add handler.
15908 * lisp/net/tramp.el (tramp-file-name-for-operation):
15909 Add `file-notify-valid-p'.
15910 (tramp-handle-file-notify-valid-p): New defun.
15911 * src/inotify.c (Finotify_valid_p): New defun.
15912 (syms_of_inotify): Declare Sinotify_valid_p.
15913
15914 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
15915
15916 Port Unicode char detection to FreeBSD+svgalib
15917 Problem reported by Ashish SHUKLA in:
15918 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
15919 * configure.ac: Check for struct unipair.unicode instead of for
15920 <linux/kd.h>, since that’s more specific to what the code
15921 actually needs.
15922 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
15923
15924 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
15925
15926 2015-09-13 Eli Zaretskii <eliz@gnu.org>
15927
15928 Fix vertical cursor motion across overlay strings with newlines
15929 * src/indent.c (Fvertical_motion): Don't leave point in the middle
15930 of an overlay string with newlines, as that will position the
15931 cursor after the string at whatever column is there. (Bug#21468)
15932
15933 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
15934
15935 Fix tests in file-notify-tests.el
15936 * test/automated/file-notify-tests.el: Remove Tramp declarations.
15937 (file-notify-test00-availability): Print remote command w/o Tramp
15938 internal functions.
15939 (file-notify-test02-events, file-notify-test02-events-remote):
15940 Adapt docstring.
15941 (file-notify-test03-autorevert): Use `format-message' when
15942 inspecting *Messages* buffer.
15943
15944 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15945
15946 Bind inhibit-modification-hooks rather than a/b-c-f
15947 * lisp/wid-edit.el (widget-editable-list-insert-before)
15948 (widget-editable-list-delete-at):
15949 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
15950 (cperl-font-lock-unfontify-region-function):
15951 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
15952 * lisp/obsolete/longlines.el (longlines-mode):
15953 * lisp/obsolete/fast-lock.el (save-buffer-state):
15954 * lisp/mouse.el (mouse-save-then-kill-delete-region):
15955 * lisp/gnus/message.el (message-hide-headers):
15956 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
15957 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
15958 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
15959 than after/before-change-functions to nil.
15960
15961 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15962
15963 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
15964 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
15965 the buffers, even if the forced redisplay is interrupted.
15966
15967 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
15968
15969 Merge syntax-propertize--done and parse-sexp-propertize-done
15970 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
15971 (syntax-propertize): Set syntax-propertize--done even if
15972 syntax-propertize-function is nil. Avoid recursive invocations.
15973 (syntax-propertize-chunks): New var.
15974 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
15975 Simplify.
15976 (parse-sexp-propertize-function): Don't set any more.
15977 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
15978 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
15979 Call Qinternal__syntax_propertize instead of
15980 Vparse_sexp_propertize_function. Truncate e_property if needed.
15981 (update_syntax_table_forward): Streamline.
15982 (syms_of_syntax): Define Qinternal__syntax_propertize.
15983 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
15984
15985 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
15986
15987 Prefer straight quoting in some text files
15988 Mostly this just changes ` to ' in static text. Some exceptions:
15989 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
15990 typically does that now.
15991 * admin/quick-install-emacs (TRY, top level):
15992 Use straight quoting in diagnostics.
15993 * src/README: Fix working-directory confusion.
15994
15995 * CONTRIBUTE: Move send-email here from git-workflow.
15996
15997 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
15998
15999 Improve file notifications in Tramp
16000 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16001 Set proper events to watch for.
16002 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
16003 watched events.
16004
16005 2015-09-11 Eli Zaretskii <eliz@gnu.org>
16006
16007 Fix NS build with --enable-checking='glyphs'
16008 * src/nsfns.m (unwind_create_frame): Make the preprocessor
16009 conditionals for referencing 'dpyinfo' consistent throughout the
16010 function. (Bug#21426)
16011
16012 2015-09-10 Nicolas Petton <nicolas@petton.fr>
16013
16014 Add seq-find
16015 This function is similar to `seq-some' but returns the found element.
16016 In the cases where nil can be the found element, a sentinel optional
16017 argument can be provided to avoid ambiguities.
16018 * lisp/emacs-lisp/seq.el (seq-find): New function.
16019 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
16020 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
16021 seq-find.
16022
16023 2015-09-10 Tassilo Horn <tsdh@gnu.org>
16024
16025 Document file-notify--test-with-events.
16026 * test/automated/file-notify-tests.el (file-notify--test-with-events):
16027 Add docstring.
16028
16029 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
16030
16031 Report used native library in file-notify-tests.el
16032 * test/automated/file-notify-tests.el
16033 (tramp-get-remote-gvfs-monitor-dir)
16034 (tramp-get-remote-inotifywait): Declare them.
16035 (file-notify-test00-availability): Print used native library.
16036
16037 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
16038
16039 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
16040 (mpc-file-local-copy): Check for absolute path. Check more config
16041 locations.
16042
16043 2015-09-10 Eli Zaretskii <eliz@gnu.org>
16044
16045 Improve documentation of categories
16046 * doc/lispref/syntax.texi (Categories): Clarify the example of
16047 using define-category and modify-category-entry. (Bug#21448)
16048
16049 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
16050
16051 Revert some stray curved quotes I missed earlier
16052 Problem reported by David Kastrup in:
16053 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
16054 * lisp/international/mule-cmds.el (leim-list-header):
16055 Use format-message with an ASCII-only format.
16056
16057 Prefer NUMBERP to spelling it out
16058 * src/editfns.c (styled_format):
16059 * src/frame.h (NUMVAL):
16060 * src/image.c (parse_image_spec):
16061 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
16062 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
16063 * src/process.c (Fsignal_process):
16064 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
16065 * src/xfaces.c (check_lface_attrs):
16066 * src/xselect.c (x_fill_property_data, x_send_client_event):
16067 Use NUMBERP rather than INTEGERP || FLOATP.
16068
16069 2015-09-10 Tassilo Horn <tsdh@gnu.org>
16070
16071 Improve file-notify-tests
16072 * test/automated/file-notify-tests.el: Use lexical-binding.
16073 (file-notify--test-cleanup): New function.
16074 (file-notify-test00-availability, file-notify-test01-add-watch)
16075 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
16076 (file-notify--test-with-events): New macro.
16077 (file-notify-test02-events): Use it.
16078
16079 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
16080
16081 Add patch-sending instructions to git-workflow
16082 From a suggestion by Mitchel Humpherys in:
16083 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
16084 * admin/notes/git-workflow (Sending patches): New section.
16085
16086 Port to GIFLIB 5.0.6 and later
16087 Problem reported by Mitchel Humpherys in:
16088 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
16089 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
16090 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
16091 (gif_load) [HAVE_GIF]: Use it.
16092
16093 2015-09-10 Glenn Morris <rgm@gnu.org>
16094
16095 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
16096
16097 2015-09-09 Glenn Morris <rgm@gnu.org>
16098
16099 * test/automated/file-notify-tests.el (file-notify-test02-events):
16100 Fix recent change.
16101
16102 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
16103
16104 Refix movemail GCC pacification
16105 Problem reported by Ken Brown in:
16106 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
16107 * lib-src/movemail.c (main): Fix previous change.
16108
16109 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16110
16111 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
16112 Mark unused vars with underscore.
16113
16114 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
16115 (parse_sexp_propertize): ...from here.
16116
16117 * lisp/filenotify.el: Use lexical-binding
16118 (file-notify-add-watch): Avoid add-to-list.
16119
16120 2015-09-09 Tassilo Horn <tsdh@gnu.org>
16121
16122 Start checking event types in file-notify tests
16123 * test/automated/file-notify-tests.el (file-notify--test-events):
16124 New variable.
16125 (file-notify--test-event-handler): Append received event to
16126 file-notify--test-events for later analysis.
16127 (file-notify-test02-events): Assert that the expected notifications have
16128 arrived in the expected order.
16129
16130 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
16131
16132 Merge from gnulib and texinfo
16133 This incorporates:
16134 2015-08-03 Improve port of stdalign to C++11
16135 * lib/stdalign.in.h: Copy from gnulib.
16136 * doc/misc/texinfo.tex: Copy from texinfo.
16137
16138 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16139
16140 Make syntax.c call syntax-propertize on demand
16141 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
16142 (parse-sexp-propertize-function): Use it.
16143 (syntax-propertize): Disable parse-sexp-propertize-function.
16144 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
16145 New functions.
16146 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
16147 `parse-sexp-propertize-function'.
16148 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
16149 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
16150 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
16151 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
16152 Don't assume `point' is set.
16153
16154 2015-09-09 Eli Zaretskii <eliz@gnu.org>
16155
16156 Fix indentation of an @example in ELisp manual
16157 * doc/lispref/syntax.texi (Categories): Untabify the example.
16158 (Bug#21448)
16159
16160 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
16161
16162 Define internal-char-font even if --without-x
16163 The function is used now even in non-graphical environments.
16164 Problem reported by Glenn Morris in:
16165 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
16166 * src/font.c (Finternal_char_font): Move here ...
16167 * src/fontset.c (Finternal_char_font): ... from here.
16168
16169 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16170
16171 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
16172 Remove warning.
16173
16174 2015-09-09 Eli Zaretskii <eliz@gnu.org>
16175
16176 Fix display of complex local data types in GDB-MI
16177 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
16178 variable has no value, display "<complex data type>" as a
16179 placeholder, instead of a confusing "nil". (Bug#21438)
16180
16181 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
16182
16183 Remove redundant redefinition of seq-drop-while from seq.el
16184 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
16185
16186 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
16187
16188 * lisp/emacs-lisp/package.el (package--ensure-init-file):
16189 More robust check for `package-initialize' calls in init file.
16190 This function accepts an optional argument, but calls passing
16191 an argument would not have been detected.
16192
16193 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
16194
16195 Port movemail to RHEL 6 with --enable-gcc-warnings
16196 * lib-src/movemail.c (main): Declare local only if needed.
16197
16198 Port recent Linux console changes to RHEL 6
16199 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
16200
16201 Improvements for curved quotes on Linux consule
16202 This should help Emacs work better out-of-the-box on Linux consoles,
16203 which have only limited support for displaying Unicode characters.
16204 Also, undo the recent change that caused text-quoting-style to
16205 affect quote display on terminals, so that the two features are
16206 independent. See Alan Mackenzie in:
16207 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
16208 Finally, add a style parameter to startup--setup-quote-display,
16209 so that this function can also be invoked after startup, with
16210 different styles depending on user preference at the time.
16211 * configure.ac: Check for linux/kd.h header.
16212 * doc/emacs/display.texi (Text Display): Document quote display.
16213 * doc/lispref/display.texi (Active Display Table):
16214 * etc/NEWS:
16215 * lisp/startup.el (startup--setup-quote-display, command-line):
16216 text-quoting-style no longer affects quote display.
16217 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
16218 * lisp/international/mule-util.el (char-displayable-p):
16219 * lisp/startup.el (startup--setup-quote-display):
16220 On a text terminal supporting glyph codes, use the reported
16221 glyph codes instead of the terminal coding system, as this
16222 is more accurate on the Linux console.
16223 * lisp/startup.el (startup--setup-quote-display):
16224 New optional arg STYLE.
16225 * src/fontset.c (Finternal_char_font):
16226 Report glyph codes for a text terminal, if they are available.
16227 Currently this is supported only for the Linux console.
16228 * src/termhooks.h (struct terminal): New member glyph-code-table.
16229 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
16230 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
16231 (terminal_glyph_code): New function.
16232
16233 2015-09-08 Juri Linkov <juri@linkov.net>
16234
16235 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
16236 underline. (Bug#21433)
16237
16238 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16239
16240 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
16241
16242 2015-09-08 Tassilo Horn <tsdh@gnu.org>
16243
16244 Fix double-reporting of rename events with inotify
16245 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
16246 of rename events with inotify (bug#21435).
16247
16248 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
16249
16250 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
16251 (tetris-mode-map): Use it.
16252
16253 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16254
16255 Remove a few simple cases of global redisplay
16256 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
16257 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
16258 rather than returning a "resized_p" boolean.
16259 (redisplay_internal): Adjust call accordingly.
16260 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
16261 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
16262 tracking of this undesirable situation.
16263
16264 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
16265 * src/process.c (status_notify): Only set the update_mode_line on the
16266 relevant buffers rather than setting it globally.
16267
16268 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16269
16270 * lisp/electric.el (electric-quote-post-self-insert-function):
16271 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
16272 (electric-quote-mode): Activate everywhere in message-mode.
16273
16274 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
16275
16276 Go back to grave quoting in source-code docstrings etc.
16277 This reverts almost all my recent changes to use curved quotes
16278 in docstrings and/or strings used for error diagnostics.
16279 There are a few exceptions, e.g., Bahá’í proper names.
16280 * admin/unidata/unidata-gen.el (unidata-gen-table):
16281 * lisp/abbrev.el (expand-region-abbrevs):
16282 * lisp/align.el (align-region):
16283 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
16284 (outlineify-sticky):
16285 * lisp/apropos.el (apropos-library):
16286 * lisp/bookmark.el (bookmark-default-annotation-text):
16287 * lisp/button.el (button-category-symbol, button-put)
16288 (make-text-button):
16289 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
16290 * lisp/calc/calc-embed.el (calc-do-embedded):
16291 * lisp/calc/calc-ext.el (calc-user-function-list):
16292 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
16293 * lisp/calc/calc-help.el (calc-describe-key)
16294 (calc-describe-thing, calc-full-help):
16295 * lisp/calc/calc-lang.el (calc-c-language)
16296 (math-parse-fortran-vector-end, math-parse-tex-sum)
16297 (math-parse-eqn-matrix, math-parse-eqn-prime)
16298 (calc-yacas-language, calc-maxima-language, calc-giac-language)
16299 (math-read-giac-subscr, math-read-math-subscr)
16300 (math-read-big-rec, math-read-big-balance):
16301 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
16302 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
16303 (calc-auto-recompute):
16304 * lisp/calc/calc-prog.el (calc-fix-token-name)
16305 (calc-read-parse-table-part, calc-user-define-invocation)
16306 (math-do-arg-check):
16307 * lisp/calc/calc-store.el (calc-edit-variable):
16308 * lisp/calc/calc-units.el (math-build-units-table-buffer):
16309 * lisp/calc/calc-vec.el (math-read-brackets):
16310 * lisp/calc/calc-yank.el (calc-edit-mode):
16311 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
16312 * lisp/calendar/appt.el (appt-display-message):
16313 * lisp/calendar/diary-lib.el (diary-check-diary-file)
16314 (diary-mail-entries, diary-from-outlook):
16315 * lisp/calendar/icalendar.el (icalendar-export-region)
16316 (icalendar--convert-float-to-ical)
16317 (icalendar--convert-date-to-ical)
16318 (icalendar--convert-ical-to-diary)
16319 (icalendar--convert-recurring-to-diary)
16320 (icalendar--add-diary-entry):
16321 * lisp/calendar/time-date.el (format-seconds):
16322 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
16323 (timeclock-make-hours-explicit, timeclock-log-data):
16324 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
16325 (todo-item-mark, todo-check-format)
16326 (todo-insert-item--next-param, todo-edit-item--next-key)
16327 (todo-mode):
16328 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
16329 * lisp/cedet/mode-local.el (describe-mode-local-overload)
16330 (mode-local-print-binding, mode-local-describe-bindings-2):
16331 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
16332 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
16333 * lisp/cus-start.el (standard):
16334 * lisp/cus-theme.el (describe-theme-1):
16335 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
16336 (custom--sort-vars-1, load-theme):
16337 * lisp/descr-text.el (describe-text-properties-1, describe-char):
16338 * lisp/dired-x.el (dired-do-run-mail):
16339 * lisp/dired.el (dired-log):
16340 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
16341 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
16342 (ad-disable-advice, ad-remove-advice, ad-set-argument)
16343 (ad-set-arguments, ad--defalias-fset, ad-activate)
16344 (ad-deactivate):
16345 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
16346 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
16347 (byte-optimize-while, byte-optimize-apply):
16348 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
16349 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
16350 (byte-compile-log-file, byte-compile-format-warn)
16351 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
16352 (byte-compile-cl-warn)
16353 (byte-compile-warn-about-unresolved-functions)
16354 (byte-compile-file, byte-compile--declare-var)
16355 (byte-compile-file-form-defmumble, byte-compile-form)
16356 (byte-compile-normal-call, byte-compile-check-variable)
16357 (byte-compile-variable-ref, byte-compile-variable-set)
16358 (byte-compile-subr-wrong-args, byte-compile-setq-default)
16359 (byte-compile-negation-optimizer)
16360 (byte-compile-condition-case--old)
16361 (byte-compile-condition-case--new, byte-compile-save-excursion)
16362 (byte-compile-defvar, byte-compile-autoload)
16363 (byte-compile-lambda-form)
16364 (byte-compile-make-variable-buffer-local, display-call-tree)
16365 (batch-byte-compile):
16366 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
16367 * lisp/emacs-lisp/chart.el (chart-space-usage):
16368 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
16369 (check-declare-warn, check-declare-file)
16370 (check-declare-directory):
16371 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
16372 (checkdoc-message-text-engine):
16373 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
16374 (cl--describe-class):
16375 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
16376 (cl--generic-describe, cl-generic-generalizers):
16377 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
16378 (cl-symbol-macrolet):
16379 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
16380 * lisp/emacs-lisp/copyright.el (copyright)
16381 (copyright-update-directory):
16382 * lisp/emacs-lisp/edebug.el (edebug-read-list):
16383 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
16384 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
16385 (eieio-oref):
16386 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
16387 * lisp/emacs-lisp/eieio-speedbar.el:
16388 (eieio-speedbar-child-make-tag-lines)
16389 (eieio-speedbar-child-description):
16390 * lisp/emacs-lisp/eieio.el (defclass, change-class):
16391 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
16392 (elint-init-form, elint-check-defalias-form)
16393 (elint-check-let-form):
16394 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
16395 (ert-results-pop-to-backtrace-for-test-at-point)
16396 (ert-results-pop-to-messages-for-test-at-point)
16397 (ert-results-pop-to-should-forms-for-test-at-point)
16398 (ert-describe-test):
16399 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
16400 (find-function-library):
16401 * lisp/emacs-lisp/generator.el (iter-yield):
16402 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
16403 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
16404 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
16405 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
16406 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
16407 (advice--make, define-advice):
16408 * lisp/emacs-lisp/package-x.el (package-upload-file):
16409 * lisp/emacs-lisp/package.el (package-version-join)
16410 (package-disabled-p, package-activate-1, package-activate)
16411 (package--download-one-archive)
16412 (package--download-and-read-archives)
16413 (package-compute-transaction, package-install-from-archive)
16414 (package-install, package-install-selected-packages)
16415 (package-delete, package-autoremove, describe-package-1)
16416 (package-install-button-action, package-delete-button-action)
16417 (package-menu-hide-package, package-menu--list-to-prompt)
16418 (package-menu--perform-transaction)
16419 (package-menu--find-and-notify-upgrades):
16420 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
16421 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
16422 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
16423 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
16424 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
16425 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
16426 (rx-form):
16427 * lisp/emacs-lisp/smie.el (smie-config-save):
16428 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
16429 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
16430 * lisp/emacs-lisp/testcover.el (testcover-1value):
16431 * lisp/emacs-lisp/timer.el (timer-event-handler):
16432 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
16433 (viper-toggle-search-style, viper-kill-buffer)
16434 (viper-brac-function):
16435 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
16436 * lisp/env.el (setenv):
16437 * lisp/erc/erc-button.el (erc-nick-popup):
16438 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
16439 * lisp/eshell/em-dirs.el (eshell/cd):
16440 * lisp/eshell/em-glob.el (eshell-glob-regexp)
16441 (eshell-glob-entries):
16442 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
16443 * lisp/eshell/esh-opt.el (eshell-show-usage):
16444 * lisp/facemenu.el (facemenu-add-new-face)
16445 (facemenu-add-new-color):
16446 * lisp/faces.el (read-face-name, read-face-font, describe-face)
16447 (x-resolve-font-name):
16448 * lisp/files-x.el (modify-file-local-variable):
16449 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
16450 (set-auto-mode, hack-one-local-variable--obsolete)
16451 (dir-locals-set-directory-class, write-file, basic-save-buffer)
16452 (delete-directory, copy-directory, recover-session)
16453 (recover-session-finish, insert-directory)
16454 (file-modes-char-to-who, file-modes-symbolic-to-number)
16455 (move-file-to-trash):
16456 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
16457 * lisp/find-cmd.el (find-generic, find-to-string):
16458 * lisp/finder.el (finder-commentary):
16459 * lisp/font-lock.el (font-lock-fontify-buffer):
16460 * lisp/format.el (format-write-file, format-find-file)
16461 (format-insert-file):
16462 * lisp/frame.el (get-device-terminal, select-frame-by-name):
16463 * lisp/fringe.el (fringe--check-style):
16464 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
16465 * lisp/help-fns.el (help-fns--key-bindings)
16466 (help-fns--compiler-macro, help-fns--parent-mode)
16467 (help-fns--obsolete, help-fns--interactive-only)
16468 (describe-function-1, describe-variable):
16469 * lisp/help.el (describe-mode)
16470 (describe-minor-mode-from-indicator):
16471 * lisp/image.el (image-type):
16472 * lisp/international/ccl.el (ccl-dump):
16473 * lisp/international/fontset.el (x-must-resolve-font-name):
16474 * lisp/international/mule-cmds.el (prefer-coding-system)
16475 (select-safe-coding-system-interactively)
16476 (select-safe-coding-system, activate-input-method)
16477 (toggle-input-method, describe-current-input-method)
16478 (describe-language-environment):
16479 * lisp/international/mule-conf.el (code-offset):
16480 * lisp/international/mule-diag.el (describe-character-set)
16481 (list-input-methods-1):
16482 * lisp/mail/feedmail.el (feedmail-run-the-queue):
16483 * lisp/mouse.el (minor-mode-menu-from-indicator):
16484 * lisp/mpc.el (mpc-playlist-rename):
16485 * lisp/msb.el (msb--choose-menu):
16486 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
16487 * lisp/net/imap.el (imap-interactive-login):
16488 * lisp/net/mairix.el (mairix-widget-create-query):
16489 * lisp/net/newst-backend.el (newsticker--sentinel-work):
16490 * lisp/net/newst-treeview.el (newsticker--treeview-load):
16491 * lisp/net/rlogin.el (rlogin):
16492 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
16493 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
16494 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
16495 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
16496 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
16497 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
16498 (org-babel-goto-named-result):
16499 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
16500 * lisp/org/ob-ref.el (org-babel-ref-resolve):
16501 * lisp/org/org-agenda.el (org-agenda-prepare):
16502 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
16503 (org-clock-resolve):
16504 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
16505 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
16506 * lisp/org/org-habit.el (org-habit-parse-todo):
16507 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
16508 (org-mouse-context-menu):
16509 * lisp/org/org-table.el (org-table-edit-formulas):
16510 * lisp/org/ox.el (org-export-async-start):
16511 * lisp/proced.el (proced-log):
16512 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
16513 (ada-check-matching-start, ada-goto-matching-start):
16514 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
16515 * lisp/progmodes/ada-xref.el (ada-find-executable):
16516 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
16517 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
16518 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
16519 (flymake-start-syntax-check-process):
16520 * lisp/progmodes/python.el (python-shell-get-process-or-error)
16521 (python-define-auxiliary-skeleton):
16522 * lisp/progmodes/sql.el (sql-comint):
16523 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
16524 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
16525 * lisp/recentf.el (recentf-open-files):
16526 * lisp/replace.el (query-replace-read-from)
16527 (occur-after-change-function, occur-1):
16528 * lisp/scroll-bar.el (scroll-bar-columns):
16529 * lisp/server.el (server-get-auth-key):
16530 * lisp/simple.el (execute-extended-command)
16531 (undo-outer-limit-truncate, list-processes--refresh)
16532 (compose-mail, set-variable, choose-completion-string)
16533 (define-alternatives):
16534 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
16535 (command-line-1):
16536 * lisp/subr.el (noreturn, define-error, add-to-list)
16537 (read-char-choice, version-to-list):
16538 * lisp/term/common-win.el (x-handle-xrm-switch)
16539 (x-handle-name-switch, x-handle-args):
16540 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
16541 * lisp/textmodes/reftex-ref.el (reftex-label):
16542 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
16543 * lisp/textmodes/two-column.el (2C-split):
16544 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
16545 (tutorial--find-changed-keys):
16546 * lisp/type-break.el (type-break-noninteractive-query):
16547 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
16548 (wdired-do-perm-changes):
16549 * lisp/whitespace.el (whitespace-report-region):
16550 Prefer grave quoting in source-code strings used to generate help
16551 and diagnostics.
16552 * lisp/faces.el (face-documentation):
16553 No need to convert quotes, since the result is a docstring.
16554 * lisp/info.el (Info-virtual-index-find-node)
16555 (Info-virtual-index, info-apropos):
16556 Simplify by generating only curved quotes, since info files are
16557 typically that ways nowadays anyway.
16558 * lisp/international/mule-diag.el (list-input-methods):
16559 Don’t assume text quoting style is curved.
16560 * lisp/org/org-bibtex.el (org-bibtex-fields):
16561 Revert my recent changes, going back to the old quoting style.
16562
16563 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
16564
16565 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
16566 (package--autoloads-file-name)
16567 (package--activate-autoloads-and-load-path): New function.
16568 (package-activate-1): Delegate autoloading and load-path
16569 configuration to `package--activate-autoloads-and-load-path'.
16570 (package--compile): Before compilation, call
16571 `package--activate-autoloads-and-load-path' instead of
16572 `package-activate-1'.
16573
16574 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16575
16576 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
16577
16578 2015-09-07 Eli Zaretskii <eliz@gnu.org>
16579
16580 Fix deletion of symlinks to directories on MS-Windows
16581 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
16582 symlink to a directory, try again with 'rmdir'.
16583 (is_symlink): If the argument is a symlink to a directory, set a
16584 bit in the return value to indicate that fact.
16585
16586 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
16587
16588 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
16589 When `package-initialize' is called as part of loading the init file,
16590 the user probably doesn't want it to be called again afterwards.
16591 In this situation, `package-initialize' now sets
16592 `package-enable-at-startup' to nil to prevent that. The user can have
16593 the old behavior by setting this variable to t after the call to
16594 `package-initialize'. (Bug#21423)
16595 * doc/emacs/package.texi (Package Installation): Document it.
16596 * doc/lispref/package.texi (Packaging Basics): Document it.
16597 * etc/NEWS: Document it.
16598
16599 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
16600
16601 Bump version of ntlm.el to 2.00
16602 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
16603 Add comm keyword.
16604
16605 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
16606
16607 * doc/misc/gnus.texi (Mail Source Specifiers):
16608 Allow :mailbox to be a list.
16609
16610 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
16611
16612 * lisp/progmodes/etags.el (etags-tags-completion-table):
16613 Allow even one non-regular character before the implicit tag name.
16614 Reported at http://emacs.stackexchange.com/questions/15269/.
16615
16616 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
16617
16618 Add support for NTLMv2 authentication
16619 * lisp/net/ntlm.el (ntlm): New customization group.
16620 (ntlm-compatibility-level): New defcustom.
16621 (ntlm-compute-timestamp): New function.
16622 (ntlm-generate-nonce): Likewise.
16623 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
16624
16625 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
16626
16627 * lisp/emacs-lisp/package.el: Rename custom faces.
16628 All of the recently introduced faces, like `package-name-face', have
16629 been renamed to no end in `-face' to comply with the convention
16630 described in (info "(elisp) Defining Faces").
16631 (package-name, package-description)
16632 (package-status-built-in, package-status-external)
16633 (package-status-available, package-status-new)
16634 (package-status-held, package-status-disabled)
16635 (package-status-installed, package-status-dependency)
16636 (package-status-unsigned, package-status-incompat)
16637 (package-status-avail-obso): New faces.
16638 (package-menu--print-info-simple): Use them.
16639
16640 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
16641
16642 mail-source.el: Make the imap mail-source's :mailbox handle a list
16643 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
16644 Allow :mailbox to be a list.
16645
16646 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
16647
16648 nnimap.el: Handle nil arg to nnimap-request-group
16649 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
16650 This arg isn't always passed in, check it's not nil before making it
16651 into a list. The active arg will also be nil if the group is new,
16652 check for that.
16653
16654 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
16655
16656 File notifications: Support renaming over directory boundaries
16657 * lisp/filenotify.el (file-notify-handle-event):
16658 (file-notify--pending-event): Adapt docstring.
16659 (file-notify--descriptor, file-notify-callback): Reimplement in
16660 order to support renaming over directory boundaries.
16661 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
16662 * doc/lispref/os.texi (File Notifications): Remove limitation of
16663 file renaming to the same directory.
16664
16665 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
16666
16667 Spelling fix (Bug#21420)
16668
16669 2015-09-05 Nicolas Petton <nicolas@petton.fr>
16670
16671 Improve the semantic of map-some
16672 Update map-some to return the returned by the predicate, similar to
16673 seq-some.
16674 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
16675 return value of the predicate.
16676 * test/automated/map-tests.el (test-map-some): Update the test to check
16677 for non-nil values only.
16678
16679 Rename map-contains-key-p and map-some-p
16680 Remove the "-p" suffix from both function names.
16681 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
16682 Rename the functions.
16683 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
16684 Update both test functions.
16685
16686 Improve the semantic of seq-some
16687 Update seq-some to return non-nil if the predicate returns non-nil for
16688 any element of the seq, in which case the returned value is the one
16689 returned by the predicate.
16690 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
16691 docstring.
16692 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
16693 * doc/lispref/sequences.texi (Sequence Functions): Update the
16694 documentation for seq-some.
16695
16696 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
16697 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
16698 without the "-p" prefix.
16699 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
16700 the tests accordingly.
16701 * doc/lispref/sequences.texi (Sequence Functions): Update the
16702 documentation for seq.el.
16703
16704 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
16705
16706 text-quoting-style for usage of fn names with ‘’
16707 * lisp/help.el (help--docstring-quote): Don’t assume
16708 text-quoting-style is ‘curve’ when generating usage strings for
16709 functions whose names contain curved quotes.
16710
16711 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
16712
16713 Fix fix for describe-function keybinding confusion
16714 This fixes a bug introduced by the previous patch.
16715 * lisp/help-fns.el (help-fns--signature):
16716 Last arg of help-fns--signature is now a buffer, or nil if a
16717 raw signature is wanted. All callers changed.
16718 (describe-function-1): Use this to do the right thing with signatures.
16719
16720 2015-09-05 Johan Bockgård <bojohan@gnu.org>
16721
16722 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
16723
16724 Use PAT rather than UPAT in pcase macros
16725 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
16726 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
16727 than UPAT.
16728
16729 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
16730
16731 Fix describe-function keybinding confusion
16732 * lisp/help-fns.el (describe-function-1): Compute signature
16733 in the original buffer, not in standard-output, so that
16734 substitute-command-keys uses the proper keybindings.
16735 This fixes Bug#21412, introduced in commit
16736 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
16737
16738 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
16739
16740 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
16741
16742 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
16743
16744 Avoid read error messages from 'inotify'
16745 * src/process.c (wait_reading_process_output): Add a
16746 'tls_available' set and manipulate it instead of 'Available' when
16747 checking TLS inputs. Assign the value to 'Available' only if we
16748 find any TLS data waiting to be read. This avoids error messages
16749 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
16750
16751 2015-09-05 Eli Zaretskii <eliz@gnu.org>
16752
16753 Avoid errors in thing-at-point with 2nd argument non-nil
16754 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
16755 sequences. (Bug#21391)
16756
16757 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
16758
16759 Fix segfaults due to using a stale face ID
16760 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
16761 (display_echo_area_1, redisplay_internal): Call it to avoid
16762 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
16763 faces, which could case a segfault if the frame's face cache was
16764 freed since the last redisplay. (Bug#21394)
16765 * src/xfaces.c (free_realized_faces):
16766 Call forget_escape_and_glyphless_faces.
16767 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
16768
16769 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
16770
16771 Fix minor problems with " in manual
16772
16773 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
16774
16775 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
16776 multi-hop files.
16777
16778 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
16779
16780 Support automated ‘make check’ in non-C locale
16781 This lets the builder optionally test Emacs behavior in other locales.
16782 The C locale is still the default for tests.
16783 * test/automated/Makefile.in (TEST_LOCALE): New macro.
16784 (emacs): Use it.
16785 * test/automated/flymake-tests.el (flymake-tests--current-face):
16786 Use C locale for subprocesses so that tests behave as expected.
16787 * test/automated/python-tests.el:
16788 (python-shell-prompt-validate-regexps-1)
16789 (python-shell-prompt-validate-regexps-2)
16790 (python-shell-prompt-validate-regexps-3)
16791 (python-shell-prompt-validate-regexps-4)
16792 (python-shell-prompt-validate-regexps-5)
16793 (python-shell-prompt-validate-regexps-6)
16794 (python-shell-prompt-set-calculated-regexps-1):
16795 Adjust expected output to match locale.
16796 * test/automated/tildify-tests.el (tildify-test--test)
16797 (tildify-space-test--test, tildify-space-undo-test--test):
16798 This test assumes UTF-8 encoding.
16799
16800 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
16801
16802 Fix some more docstring etc. quoting problems
16803 Mostly these fixes prevent the transliteration of apostrophes
16804 that should stay apostrophes. Also, prefer curved quotes in
16805 Bahá’í proper names, as that’s the preferred Bahá’í style and
16806 these names are chock-full of non-ASCII characters anyway.
16807 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
16808 (eieio-defclass-internal):
16809 * lisp/emacs-lisp/eieio.el (defclass):
16810 * lisp/hi-lock.el (hi-lock-mode):
16811 Don’t transliterate Lisp apostrophes when generating a
16812 doc string or diagnostic.
16813 * lisp/international/mule-diag.el (list-coding-systems-1):
16814 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
16815 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
16816 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
16817 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
16818 Substitute quotes before putting them in the help buffer.
16819
16820 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
16821
16822 Re-add the notion of echo_prompt lost in the translation
16823 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
16824 echo_prompt which contains the actual string. Update all uses.
16825 * src/keyboard.c (kset_echo_prompt): New function.
16826 (echo_update): Add echo_prompt at the very beginning.
16827 (read_char): Remove workaround for bug#19875, not needed any more.
16828 (read_key_sequence): Set echo_prompt rather than echo_string
16829 (bug#21403).
16830 (mark_kboards): Mark echo_prompt.
16831
16832 Fix disassembly of non-compiled lexical functions (bug#21377)
16833 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
16834 * lisp/emacs-lisp/disass.el: Use lexical-binding.
16835 (disassemble): Recognize `closure's as well.
16836 (disassemble-internal): Use indirect-function and
16837 help-function-arglist, and accept `closure's.
16838 (disassemble-internal): Use interactive-form.
16839 (disassemble-1): Use functionp.
16840
16841 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
16842 Don't compose inside verbatim blocks!
16843
16844 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
16845
16846 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
16847 (bug#19441).
16848
16849 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
16850
16851 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
16852
16853 vc-git-mode-line-string: Explicitly re-apply the face
16854 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
16855 the face (bug#21404).
16856
16857 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
16858
16859 Treat initial-scratch-message as a doc string
16860 * doc/emacs/building.texi (Lisp Interaction):
16861 * doc/lispref/os.texi (Startup Summary):
16862 * etc/NEWS: Document this.
16863 * lisp/startup.el (initial-scratch-message):
16864 Look up find-file’s key rather than hardcoding it.
16865 (command-line-1): Substitute the doc string.
16866 This also substitutes the quotes, which will help test display
16867 quoting at startup.
16868
16869 Fix describe-char bug with glyphs on terminals
16870 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
16871 buffers too, so don’t treat them differently from graphic displays.
16872 Without this fix, describe-char would throw an error on a terminal
16873 if given a glyph with a non-default face.
16874
16875 Follow text-quoting-style in display table init
16876 This attempts to fix a problem reported by Alan Mackenzie in:
16877 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
16878 * doc/lispref/display.texi (Active Display Table):
16879 Mention how text-quoting-style affects it.
16880 * doc/lispref/help.texi (Keys in Documentation):
16881 Say how to set text-quoting-style in ~/.emacs.
16882 * etc/NEWS: Document the change.
16883 * lisp/startup.el (startup--setup-quote-display):
16884 Follow user preference if text-quoting-style is set.
16885 (command-line): Setup quote display again if user expresses
16886 a preference in .emacs.
16887
16888 2015-09-02 K. Handa <handa@gnu.org>
16889
16890 Fix typo
16891 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
16892 -> OTF_positioning_type_components_mask.
16893
16894 Fix previous change
16895 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
16896 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
16897
16898 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
16899
16900 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
16901 Rename from vc-find-file-hook and make interactive.
16902 (vc-find-file-hook): Redefine as obsolete alias.
16903
16904 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
16905
16906 Escape ` and ' in doc
16907 Escape apostrophes and grave accents in docstrings if they are
16908 are supposed to stand for themselves and are not quotes. Remove
16909 apostrophes from docstring examples like ‘'(calendar-nth-named-day
16910 -1 0 10 year)’ that confuse source code with data. Do some other
16911 minor docstring fixups as well, e.g., insert a missing close quote.
16912
16913 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16914
16915 Generalize the prefix-command machinery of C-u
16916 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
16917 (prefix-command-preserve-state-hook): New hooks.
16918 (internal-echo-keystrokes-prefix): New function.
16919 (prefix-command--needs-update, prefix-command--last-echo): New vars.
16920 (prefix-command-update, prefix-command-preserve): New functions.
16921 (reset-this-command-lengths): New compatibility definition.
16922 (universal-argument--mode): Call prefix-command-update.
16923 (universal-argument, universal-argument-more, negative-argument)
16924 (digit-argument): Call prefix-command-preserve-state.
16925 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
16926 the "prefix argument" to echo.
16927 (this_command_key_count_reset, before_command_key_count)
16928 (before_command_echo_length): Delete variables.
16929 (echo_add_key): Always add a space.
16930 (echo_char): Remove.
16931 (echo_dash): Don't give up when this_command_key_count is 0, since that
16932 is now the case after a prefix command.
16933 (echo_update): New function, extracted from echo_now.
16934 (echo_now): Use it.
16935 (add_command_key, read_char, record_menu_key): Remove old disabled code.
16936 (command_loop_1): Don't refrain from pushing an undo boundary when
16937 prefix-arg is set. Remove other prefix-arg special case, now handled
16938 directly in the prefix commands instead. But call echo_now if there's
16939 a prefix state to echo.
16940 (read_char, record_menu_key): Use echo_update instead of echo_char.
16941 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
16942 (Freset_this_command_lengths): Delete function.
16943 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
16944 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
16945 * lisp/simple.el: Use those new hooks for C-u.
16946 (universal-argument--description): New function.
16947 (prefix-command-echo-keystrokes-functions): Use it.
16948 (universal-argument--preserve): New function.
16949 (prefix-command-preserve-state-hook): Use it.
16950 (command-execute): Call prefix-command-update if needed.
16951 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
16952 (kmacro-step-edit-prefix-index): Delete variables.
16953 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
16954 support for prefix arg commands.
16955 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
16956 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
16957 (cua--shift-control-prefix): Use prefix-command-preserve-state.
16958 Remove now unused arg `arg'.
16959 (cua--prefix-override-handler, cua--prefix-repeat-handler)
16960 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
16961 Update accordingly.
16962 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
16963 any more.
16964 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
16965 if the mark is not set.
16966
16967 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
16968
16969 Rework quoting in Emacs Lisp Introduction
16970 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
16971 (if in more detail, type-of-animal in detail, else): Rework the
16972 early example to use " rather than ' so that we don’t burden
16973 complete novices with the low-priority detail of text quoting style.
16974 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
16975 (kill-new function, kill-ring-yank-pointer)
16976 (Complete forward-sentence, Loading Files)
16977 (Code for current-kill, Code for current-kill, yank):
16978 Resurrect the Emacs 22 versions of the code, which uses grave
16979 quoting style in doc strings.
16980 (Complete zap-to-char): Mention how quoting works in doc strings.
16981
16982 Setup quote display only if interactive
16983 * lisp/startup.el (command-line):
16984 Skip call to startup--setup-quote-display if noninteractive.
16985 Without this change, python-shell-prompt-validate-regexps-1
16986 fails in test/automated/python-tests.el when run in an
16987 en_US.utf8 locale on Fedora.
16988
16989 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
16990
16991 Use defalias at the top level
16992 * lisp/gnus/gnus-util.el (gnus-format-message):
16993 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
16994 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
16995
16996 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
16997
16998 terminal-init-w32console mimicks command-line
16999 Problem reported by Eli Zaretskii.
17000 * lisp/startup.el (startup--setup-quote-display):
17001 New function, refactored from a part of ‘command-line’.
17002 (command-line): Use it.
17003 * lisp/term/w32console.el (terminal-init-w32console):
17004 Use it, so that this function stays consistent with ‘command-line’.
17005
17006 Display replacement quotes with shadow glyphs
17007 * lisp/startup.el (command-line): When displaying ASCII
17008 replacements for curved quotes, use a shadow glyph instead of a
17009 regular one, to avoid ambiguity.
17010
17011 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
17012
17013 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
17014
17015 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
17016
17017 Docstring fixes re quotes in C code
17018 Fix some docstring quoting problems, mostly by escaping apostrophe.
17019
17020 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
17021
17022 Some Tramp password fixes
17023 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
17024 of the hops.
17025 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
17026 at the beginning of the command. Otherwise, it could be
17027 interpreted as password prompt if the remote host echoes the
17028 command.
17029 (tramp-remote-coding-commands): Add "openssl enc -base64".
17030
17031 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
17032
17033 Make vc-git-working-revision always return the commit hash
17034 * lisp/vc/vc-git.el (vc-git-working-revision):
17035 Return the commit hash (bug#21383).
17036 (vc-git--symbolic-ref): New function, extracted from above.
17037 (vc-git-mode-line-string): Use it.
17038
17039 2015-09-01 K. Handa <handa@gnu.org>
17040
17041 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
17042 * src/ftfont.c (MFLTGlyphFT): New type.
17043 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
17044 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
17045 elements in the array MFLTGlyphString.glyphs.
17046
17047 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
17048
17049 Improve comments in elisp-mode.el, elisp-mode-tests.el
17050 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
17051
17052 Delete Emacs 25 test in mode-local.el
17053 * lisp/cedet/mode-local.el (describe-mode-local-overload):
17054 Fix missed an edit in previous commit.
17055
17056 Show all known mode-local overrides in *Help*
17057 * lisp/cedet/mode-local.el (describe-mode-local-overload):
17058 Assume Emacs 25. Add all known mode-local overrides.
17059
17060 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
17061
17062 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
17063 Ensure that the article where the search word is found is displayed
17064 and pointed to in the summary buffer.
17065
17066 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
17067
17068 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
17069 When the region is active, but is empty (length 0), act as though
17070 the region was not active; that is, put a comment at the end of
17071 the line. (Bug#21119)
17072
17073 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
17074
17075 Port tls.el to older Emacs
17076 * lisp/net/tls.el (tls-format-message):
17077 Alias to format-message, or format if not available.
17078 (open-tls-stream): Use it.
17079
17080 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
17081
17082 hideif.el: Recognize .h++ as C++ header
17083 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
17084
17085 isearch: Document character folding mode
17086 * lisp/isearch.el (isearch-forward):
17087 Mention `isearch-toggle-character-fold' in doc string.
17088
17089 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
17090
17091 Quoting fixes in ERC and Eshell
17092 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
17093 * lisp/erc/erc-backend.el (define-erc-response-handler):
17094 * lisp/erc/erc-fill.el (erc-fill-static-center):
17095 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
17096 * lisp/eshell/em-glob.el (eshell-glob-entries):
17097 * lisp/eshell/em-hist.el (eshell-save-some-history):
17098 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
17099 (eshell-shuffle-files):
17100 * lisp/eshell/esh-cmd.el (eshell-do-eval):
17101 * lisp/eshell/esh-proc.el (eshell-process-interact)
17102 (eshell-query-kill-processes):
17103 Respect ‘text-quoting-style’ in diagnostics and doc strings.
17104
17105 Quoting fixes in Gnus
17106 * lisp/gnus/gnus-agent.el:
17107 (gnus-agent-possibly-synchronize-flags-server):
17108 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
17109 * lisp/gnus/gnus-eform.el (gnus-edit-form):
17110 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
17111 (gnus-group-nnimap-edit-acl):
17112 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
17113 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
17114 * lisp/gnus/message.el (message-strip-subject-encoded-words)
17115 (message-check-recipients, message-send-form-letter):
17116 * lisp/gnus/mm-decode.el (mm-display-part):
17117 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
17118 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
17119 (mml-smime-get-ldap-cert):
17120 * lisp/gnus/spam-report.el (spam-report-process-queue):
17121 Respect ‘text-quoting-style’ in diagnostics.
17122 * lisp/gnus/gnus-art.el (article-display-face)
17123 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
17124 Use straight quoting in email.
17125 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
17126 Escape apostrophes in doc strings.
17127
17128 Quoting fixes in lisp mail, mh-e, net, url
17129 * lisp/mail/emacsbug.el (report-emacs-bug)
17130 (report-emacs-bug-hook): Use straight quotes in outgoing email,
17131 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
17132 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
17133 * lisp/mail/rmailout.el (rmail-output-read-file-name):
17134 * lisp/net/imap.el (imap-interactive-login):
17135 * lisp/net/tls.el (open-tls-stream):
17136 * lisp/url/url-auth.el (url-register-auth-scheme):
17137 Respect ‘text-quoting-style’ in diagnostics.
17138 * lisp/mh-e/mh-e.el (mh-sortm-args):
17139 Quote docstring example using text quotes, not as a Lisp quote.
17140
17141 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
17142
17143 Fix some byte-compiler warnings in EDE
17144 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
17145 existing autoloader list, rather than add to it.
17146 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
17147 argument to eieio class constructor.
17148 (ede-show-supported-projects): New.
17149 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
17150 with (oref ... name).
17151 (ede-auto-load-project): Use slot name, not initarg key.
17152 * lisp/cedet/ede/generic.el (ede-generic-load)
17153 (ede-generic-find-matching-target): Use slot name, not initarg key.
17154 (ede-find-target): Use oref-default on class name.
17155 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
17156 class constructor.
17157 (ede-enable-generic-projects): Make project type names unique.
17158
17159 2015-08-31 Eli Zaretskii <eliz@gnu.org>
17160
17161 Fix directory accessibility tests for w32 network volumes
17162 * src/w32.c (faccessat): Don't fail with network volumes without a
17163 share.
17164 (w32_accessible_directory_p): Handle network volumes without a
17165 share.
17166
17167 Fix handling long file names in readdir on MS-Windows
17168 * src/w32.c (sys_readdir): Append "\*" to the directory after
17169 converting it to UTF-16/ANSI, not before, to avoid overflowing the
17170 260-character limit on file names in filename_to_utf16/ansi.
17171
17172 Make file-accessible-directory-p reliable on MS-Windows
17173 * src/w32.c (w32_accessible_directory_p): New function.
17174 * src/w32.h (w32_accessible_directory_p): Add prototype.
17175 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
17176 w32_accessible_directory_p to test a directory for accessibility
17177 by the current user. (Bug#21346)
17178 (Ffile_accessible_directory_p): Remove the w32 specific caveat
17179 from the doc string.
17180
17181 2015-08-31 Martin Rudalics <rudalics@gmx.at>
17182
17183 Don't call do_pending_window_change in signal handlers (Bug#21380)
17184 * src/gtkutil.c (xg_frame_resized):
17185 * src/xterm.c (x_set_window_size):
17186 * src/w32term.c (x_set_window_size): Don't call
17187 do_pending_window_change.
17188
17189 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
17190
17191 Quoting fixes in lisp/org
17192 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
17193 (org-tags-view):
17194 * lisp/org/org-capture.el (org-capture-mode)
17195 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
17196 (org-ctags-ask-append-topic):
17197 * lisp/org/org.el (org-time-string-to-time)
17198 (org-time-string-to-absolute):
17199 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
17200 (org-ctags-ask-append-topic):
17201 * lisp/org/org.el (org-time-string-to-time)
17202 (org-time-string-to-absolute):
17203 Respect ‘text-quoting-style’ in diagnostics.
17204 * lisp/org/org-agenda.el (org-agenda-custom-commands)
17205 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
17206 * lisp/org/org-capture.el (org-capture-fill-template):
17207 Avoid contraction in output file that might be ASCII.
17208 * lisp/org/org-compat.el (format-message):
17209 Define if not already defined, for backward compatibility.
17210 * lisp/org/org-src.el (org-edit-src-save):
17211 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
17212 Escape apostrophes in diagnostics.
17213
17214 Treat “instead” strings as docstrings
17215 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
17216 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
17217 Substitute quotes in instead strings.
17218
17219 2015-08-31 Nicolas Petton <nicolas@petton.fr>
17220
17221 Better documentation of seq-let
17222 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
17223 documentation of seq-let.
17224
17225 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
17226
17227 * lisp/international/ccl.el: Fix quoting.
17228
17229 Quoting fixes in lisp/international and lisp/leim
17230 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
17231 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
17232 * lisp/international/mule-cmds.el:
17233 (select-safe-coding-system-interactively, leim-list-file-name):
17234 * lisp/international/quail.el (quail-use-package, quail-help):
17235 * lisp/international/titdic-cnv.el (tit-process-header)
17236 (miscdic-convert):
17237 Respect text quoting style in doc strings and diagnostics.
17238 * lisp/international/quail.el (lisp/international/quail.el):
17239 * lisp/leim/quail/ethiopic.el ("ethiopic"):
17240 Escape apostrophes in doc strings.
17241
17242 Make ‘text-quoting-style’ a plain defvar
17243 It doesn’t need customization, as it’s likely useful only by experts.
17244 Suggested by Stefan Monnier in:
17245 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
17246 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
17247
17248 Quoting fixes in lisp/textmodes
17249 * lisp/textmodes/bibtex.el (bibtex-validate)
17250 (bibtex-validate-globally, bibtex-search-entries):
17251 * lisp/textmodes/ispell.el (ispell-command-loop):
17252 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
17253 * lisp/textmodes/texinfmt.el (texinfmt-version)
17254 (texinfo-format-region, texinfo-format-buffer-1):
17255 * lisp/textmodes/two-column.el (2C-split):
17256 Respect text quoting style in doc strings and diagnostics.
17257 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
17258 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
17259 Escape apostrophes in doc strings.
17260
17261 Documentation fixes re quotes
17262 Prefer curved quotes in examples if users will typically see
17263 curved quotes when the examples run.
17264 Mention format-message when appropriate.
17265 Don’t use @code in examples.
17266 Quote an apostrophe with @kbd.
17267
17268 Quoting fixes in lisp/progmodes
17269 * lisp/progmodes/cc-engine.el (c-bos-report-error):
17270 * lisp/progmodes/cpp.el (cpp-edit-reset):
17271 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
17272 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
17273 (etags-tags-apropos, list-tags, tags-apropos):
17274 * lisp/progmodes/executable.el (executable-set-magic):
17275 * lisp/progmodes/octave.el (octave-sync-function-file-names)
17276 (octave-help, octave-find-definition-default-filename)
17277 (octave-find-definition):
17278 Respect text quoting style in doc strings and diagnostics.
17279 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
17280 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
17281 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
17282 Escape apostrophes in doc strings.
17283 * lisp/progmodes/cmacexp.el (c-macro-expansion):
17284 Use straight quoting in ASCII comment.
17285 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
17286 (idlwave-pad-keyword):
17287 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
17288 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
17289 (vhdl-electric-semicolon, vhdl-electric-comma)
17290 (vhdl-electric-period, vhdl-electric-equal):
17291 Use directed quotes in diagnostics and doc strings.
17292
17293 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
17294
17295 Minor documentation and NEWS tweak
17296 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
17297 Add an index entry.
17298 * etc/NEWS: Fix a typo in character-fold-to-regexp.
17299
17300 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
17301
17302 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
17303 Revert patch from 2015-08-24. Tramp shall behave like for local files.
17304 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
17305 Adapt test.
17306
17307 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
17308
17309 Text quoting fixes in cedet, emulation, emacs-lisp
17310 * lisp/cedet/ede.el (ede-check-project-directory):
17311 * lisp/cedet/semantic/analyze/debug.el
17312 (semantic-analyzer-debug-insert-include-summary):
17313 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
17314 * lisp/cedet/semantic/decorate/include.el
17315 (semantic-decoration-unknown-include-describe)
17316 (semantic-decoration-all-include-summary):
17317 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
17318 * lisp/emulation/edt.el (edt-load-keys):
17319 * lisp/emulation/viper-cmd.el
17320 (viper-display-current-destructive-command)
17321 (viper-query-replace, viper-brac-function):
17322 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
17323 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
17324 Respect text quoting style in doc string or diagnostic.
17325 * lisp/cedet/mode-local.el (describe-mode-local-overload):
17326 Use format-message to avoid overtranslating quotes.
17327 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
17328 Escape an apostrophe in a docstring.
17329 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
17330
17331 2015-08-29 Daniel Colascione <dancol@dancol.org>
17332
17333 Fix which-func for curly quotes: look for symbol, not message
17334 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
17335 imenu-unavailable error symbol instead of trying to match message
17336 exactly.
17337 * lisp/imenu.el (imenu-unavailable): New error.
17338 (imenu-unavailable-error): New function.
17339
17340 2015-08-29 Eli Zaretskii <eliz@gnu.org>
17341
17342 Fix Python tests on MS-Windows
17343 * test/automated/python-tests.el
17344 (python-shell-calculate-command-1): Run python-shell-interpreter
17345 through shell-quote-argument before comparing with what
17346 python-shell-calculate-command returns.
17347 (python-shell-calculate-pythonpath-1)
17348 (python-shell-calculate-pythonpath-2)
17349 (python-shell-calculate-process-environment-2): Use path-separator
17350 instead of a literal ':'.
17351 (python-shell-calculate-exec-path-2)
17352 (python-shell-calculate-exec-path-3)
17353 (python-shell-calculate-exec-path-4)
17354 (python-shell-with-environment-1)
17355 (python-shell-with-environment-2): Run "/env/bin" through
17356 expand-file-name before comparing with exec-path. (Bug#21375)
17357
17358 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17359
17360 Use Core Text types/functions/variables/enumerators directly
17361 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
17362 (CharacterCollection): Remove typedefs. All uses replaced with
17363 definitions.
17364 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
17365 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
17366 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
17367 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
17368 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
17369 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
17370 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
17371 definitions.
17372 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
17373 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
17374 (MAC_FONT_FORMAT_BITMAP)
17375 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
17376 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
17377 All uses replaced with definitions.
17378 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
17379 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
17380 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
17381 Add compatibility enumerators for older versions.
17382 (mac_font_descriptor_create_with_attributes)
17383 (mac_font_descriptor_create_matching_font_descriptors)
17384 (mac_font_descriptor_create_matching_font_descriptor)
17385 (mac_font_descriptor_copy_attribute)
17386 (mac_font_descriptor_supports_languages)
17387 (mac_font_create_with_name, mac_font_get_size)
17388 (mac_font_copy_family_name, mac_font_copy_character_set)
17389 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
17390 (mac_font_get_descent, mac_font_get_leading)
17391 (mac_font_get_underline_position)
17392 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
17393 (mac_font_copy_non_synthetic_table): Remove macros. All uses
17394 replaced with definitions.
17395 (mac_font_create_preferred_family_for_attributes)
17396 (mac_font_get_advance_width_for_glyph)
17397 (mac_font_get_bounding_rect_for_glyph)
17398 (mac_font_create_available_families, mac_font_shape):
17399 Remove macros for renamed functions.
17400 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
17401 * src/macfont.m (mac_font_descriptor_supports_languages):
17402 Rename from mac_ctfont_descriptor_supports_languages.
17403 (mac_font_create_preferred_family_for_attributes): Rename from
17404 mac_ctfont_create_preferred_family_for_attributes.
17405 (mac_font_get_advance_width_for_glyph): Rename from
17406 mac_ctfont_get_advance_width_for_glyph.
17407 Use kCTFontOrientationDefault also for older versions.
17408 (mac_font_get_bounding_rect_for_glyph): Rename from
17409 mac_ctfont_get_bounding_rect_for_glyph.
17410 Use kCTFontOrientationDefault also for older versions.
17411 (mac_font_create_available_families): Rename from
17412 mac_ctfont_create_available_families.
17413 (mac_font_equal_in_postscript_name): Rename from
17414 mac_ctfont_equal_in_postscript_name. All uses changed.
17415 (mac_font_create_line_with_string_and_font): Rename from
17416 mac_ctfont_create_line_with_string_and_font. All uses changed.
17417 (mac_font_shape): Rename from mac_ctfont_shape.
17418 (mac_font_family_compare): Remove unused declaration.
17419
17420 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
17421
17422 Fix minor text quoting in calc, calendar, vc
17423 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
17424 * lisp/calc/calc-help.el (calc-j-prefix-help):
17425 * lisp/calc/calc-misc.el (calc-help):
17426 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
17427 Escape an apostrophe in a docstring.
17428 * lisp/calc/calc-forms.el (calc-hms-notation):
17429 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
17430 Escape an apostrophe in a diagnostic.
17431 * lisp/calc/calc-misc.el (calc-help):
17432 * lisp/calendar/diary-lib.el (diary-include-files):
17433 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
17434 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
17435 * lisp/vc/ediff-diff.el (ediff-same-contents):
17436 * lisp/vc/ediff-merg.el (ediff-re-merge):
17437 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
17438 * lisp/vc/ediff-util.el (ediff-test-save-region)
17439 (ediff-status-info):
17440 * lisp/vc/ediff.el (ediff-merge-revisions)
17441 (ediff-merge-revisions-with-ancestor):
17442 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
17443 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
17444 Respect text quoting style in doc string or diagnostic.
17445 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
17446 * lisp/vc/add-log.el (change-log-goto-source):
17447 Avoid double-formatting.
17448 * lisp/vc/ediff-init.el (format-message):
17449 New backward-compatibility alias.
17450
17451 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
17452
17453 Fix minor text quoting problems in lisp top level
17454 * lisp/apropos.el (apropos-describe-plist):
17455 * lisp/cus-theme.el (customize-themes):
17456 * lisp/dired.el (dired-log):
17457 * lisp/help-fns.el (describe-variable):
17458 * lisp/hexl.el (hexl-insert-multibyte-char):
17459 * lisp/info.el (Info-finder-find-node):
17460 * lisp/json.el (json-read-string):
17461 * lisp/novice.el (disabled-command-function)
17462 (disabled-command-function):
17463 * lisp/startup.el (normal-mouse-startup-screen):
17464 * lisp/woman.el (WoMan-log, WoMan-warn):
17465 Respect text quoting style in doc string or diagnostic.
17466 * lisp/replace.el (replace-character-fold):
17467 * src/syntax.c (Fmodify_syntax_entry):
17468 Escape an apostrophe in a docstring.
17469 * lisp/tempo.el (tempo-define-template):
17470 Remove confusing apostrophe from docstring.
17471 * lisp/whitespace.el (whitespace-mark-x):
17472 Use directed quotes in docstring.
17473
17474 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
17475
17476 Fix indentation rule in css-mode
17477 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
17478 brackets in presence of pseudo-selectors. (Bug#21328)
17479
17480 2015-08-28 Eli Zaretskii <eliz@gnu.org>
17481
17482 Fix a bug in recording a macro while flyspell-mode is active
17483 * lisp/subr.el (sit-for): Don't call read-event when recording a
17484 macro. (Bug#21329)
17485
17486 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
17487
17488 Tweak startup screen quoting
17489 * lisp/startup.el (normal-splash-screen): Use standard
17490 "M-" abbrevation rather than a confusingly-different one.
17491 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
17492
17493 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
17494
17495 Add test case for ‘format’ bug and refactor
17496 * src/editfns.c (styled_format): Refactor internally, mostly by
17497 moving declarations closer to uses. This should not affect behavior.
17498 * test/automated/textprop-tests.el (textprop-tests-format): New test.
17499
17500 Fix ‘format’ bug with property offsets
17501 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
17502 bug in calculating string property offsets (Bug#21351).
17503
17504 Use straight quotes in lib-src diagnostics
17505 These auxiliary programs can’t use Emacs’s text-quoting-style,
17506 and it’s too much trouble to redo that mechanism by hand.
17507 So just use straight quotes for now.
17508 * lib-src/ebrowse.c (main):
17509 * lib-src/emacsclient.c (decode_options, main):
17510 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
17511 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
17512 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
17513 (none_help, print_language_names, print_help, add_regex)
17514 (suggest_asking_for_help):
17515 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
17516 Use straight quotes in diagnostics.
17517
17518 ‘text-quoting-style’ fixes for admin
17519 * admin/admin.el (cusver-scan, cusver-check):
17520 * admin/authors.el (authors-canonical-file-name):
17521 * admin/bzrmerge.el (bzrmerge-missing):
17522 Respect ‘text-quoting-style’ in diagnostics.
17523
17524 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
17525
17526 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
17527 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
17528 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
17529 * doc/lispref/internals.texi (Writing Emacs Primitives):
17530 * etc/NEWS:
17531 Document the change.
17532 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
17533 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
17534 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
17535 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
17536 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
17537 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
17538 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
17539 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
17540 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
17541 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
17542 Remove. All uses removed. The code now assumes
17543 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
17544 * src/bytecode.c (relocate_byte_stack):
17545 Rename from unmark_byte_stack, since it now only relocates.
17546 All callers changed.
17547 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
17548 with GCPROs removed.
17549 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
17550 * test/automated/finalizer-tests.el (finalizer-basic)
17551 (finalizer-circular-reference, finalizer-cross-reference)
17552 (finalizer-error):
17553 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
17554 Remove tests, as they depend on gc-precise.
17555
17556 2015-08-26 Nicolas Petton <nicolas@petton.fr>
17557
17558 Improve seq-concatenate for new sequence types
17559 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
17560 ensure that concatenation happens on sequences only. This makes it
17561 possible to use `seq-concatenate' for new types of seqs.
17562 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
17563 New function used in `seq-concatenate'.
17564 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
17565 for seq-into-sequence.
17566
17567 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
17568
17569 Add mode local overrides to xref-find-definitions
17570 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
17571 (xref-mode-local-overload): New; add mode local overrides to
17572 xref-find-definitions.
17573 * test/automated/elisp-mode-tests.el: Add mode local override tests.
17574 (xref-elisp-test-run): Handle indented defuns.
17575 (xref-elisp-generic-*): Improve doc strings.
17576 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
17577 (elisp--xref-find-definitions): Use it.
17578
17579 Add mode local overrides to describe-function
17580 * lisp/cedet/mode-local.el (describe-mode-local-overload):
17581 New; add mode local overrides to describe-function.
17582 * etc/NEWS: Document change.
17583
17584 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
17585
17586 Prefer straight quoting in some etc text files
17587 These files are plain text and might be used by non-Emacs apps.
17588 They’re mostly ASCII, so just use straight quotes.
17589
17590 Fix quoting in ‘message_with_string’
17591 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
17592 should work now.
17593 * src/xdisp.c (message_to_stderr): New function, refactored from
17594 part of ‘message3_nolog’.
17595 (message3_nolog): Use it.
17596 (message_with_string): Use it. Don’t mishandle NUL bytes when
17597 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
17598 Use ‘format-message’, not ‘format’, so that quotes are translated.
17599
17600 2015-08-26 Eli Zaretskii <eliz@gnu.org>
17601
17602 Mention false positives of file-accessible-directory on w32
17603 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
17604 (Bug#21346)
17605
17606 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
17607
17608 Treat error strings as help
17609 * src/print.c (print_error_message): Translate quotes and command
17610 keys in errmsg so that users see, e.g., "Symbol’s value as
17611 variable is void: foo" when text-quoting-style is curved.
17612
17613 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
17614
17615 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
17616
17617 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
17618
17619 Top-level elisp files respect ‘text-quoting-style’
17620 In top-level elisp files, use format-message in diagnostic formats,
17621 so that they follow user preference as per ‘text-quoting-style’
17622 rather than being hard-coded to quote `like this'.
17623 * lisp/allout.el (allout-get-configvar-values):
17624 * lisp/apropos.el (apropos-symbols-internal):
17625 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
17626 (dired-do-create-files-regexp, dired-create-files-non-directory):
17627 * lisp/dired-x.el (dired-do-run-mail):
17628 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
17629 * lisp/disp-table.el (standard-display-european):
17630 * lisp/find-dired.el (find-dired):
17631 * lisp/forms.el (forms-mode):
17632 * lisp/ido.el (ido-buffer-internal):
17633 * lisp/info.el (Info-index-next):
17634 * lisp/outline.el (outline-invent-heading):
17635 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
17636 * lisp/proced.el (proced-log):
17637 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
17638 * lisp/recentf.el (recentf-open-files, recentf-save-list):
17639 * lisp/savehist.el (savehist-save):
17640 * lisp/server.el (server-ensure-safe-dir):
17641 * lisp/ses.el (ses-rename-cell):
17642 * lisp/simple.el (list-processes--refresh):
17643 * lisp/startup.el (command-line):
17644 * lisp/strokes.el (strokes-unset-last-stroke)
17645 (strokes-execute-stroke):
17646 Use format-message so that quotes are restyled.
17647 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
17648 Don’t quote ‘raised’.
17649 * lisp/descr-text.el (describe-char):
17650 * lisp/dirtrack.el (dirtrack-debug-message):
17651 * lisp/hexl.el (hexl-insert-multibyte-char):
17652 Apply substitute-command-keys to help string.
17653 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
17654 (wdired-do-perm-changes):
17655 Let dired-log do the formatting.
17656
17657 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
17658
17659 Go back to grave quoting in Tramp
17660 * lisp/net/tramp-adb.el:
17661 * lisp/net/tramp-cache.el:
17662 * lisp/net/tramp-compat.el:
17663 * lisp/net/tramp-gvfs.el:
17664 * lisp/net/tramp-gw.el:
17665 * lisp/net/tramp-sh.el:
17666 * lisp/net/tramp-smb.el:
17667 * lisp/net/tramp.el:
17668 Stick with grave quoting in diagnostics strings. This is more
17669 portable to older Emacs, desirable for Tramp.
17670 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
17671 for diagnostic that needs requoting.
17672 * lisp/net/tramp-compat.el (format-message):
17673 Fall back on simple ‘format’, since that’s good enough now.
17674
17675 Go back to grave quoting in Gnus
17676 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
17677 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
17678 (gnus-agent-fetch-headers):
17679 * lisp/gnus/gnus-int.el (gnus-start-news-server):
17680 * lisp/gnus/gnus-registry.el:
17681 (gnus-registry--split-fancy-with-parent-internal)
17682 (gnus-registry-post-process-groups):
17683 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
17684 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
17685 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
17686 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
17687 * lisp/gnus/spam.el (spam-check-blackholes):
17688 Stick with grave quoting in diagnostics strings. This is more
17689 portable to older Emacs, desirable for Gnus.
17690
17691 Fix customization of text-quoting-style
17692 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
17693 * lisp/wid-edit.el (widget-docstring):
17694 Get raw docstring here since it’s cooked later and should not be
17695 cooked twice.
17696 * lisp/cus-edit.el (custom-group-value-create):
17697 Cook the docstring before inserting it.
17698 * lisp/cus-start.el (text-quoting-style): Quote the customization
17699 docstrings according to the new rules. Give curved examples.
17700
17701 format-message now curves ` and '
17702 That way, the caller doesn’t have to use curved quotes to
17703 get diagnostics that match the text-quoting-style preferences.
17704 Suggested by Dmitry Gutov in:
17705 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
17706 This means we no longer need %qs, so remove that format.
17707 While we’re at it, fix an unlikely bug and lessen the pressure
17708 on the garbage collector by processing the string once rather
17709 than twice in the usual case.
17710 * doc/lispref/strings.texi (Formatting Strings):
17711 * etc/NEWS: Document this.
17712 * lisp/subr.el (format-message): Remove; now done in C.
17713 * src/callint.c (Fcall_interactively):
17714 * src/editfns.c (Fmessage, Fmessage_box):
17715 Use Fformat_message instead of Finternal__text_restyle
17716 followed by Fformat.
17717 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
17718 uLSQM and uRSQM.
17719 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
17720 when pure ASCII now suffices. Fix unlikely bug when parsing
17721 unibyte string containing non-ASCII bytes. Use inline code
17722 rather than memcpy, as it’s a tiny number of bytes.
17723 (Finternal__text_restyle): Remove; no longer used.
17724 (syms_of_doc): Don’t declare it.
17725 * src/editfns.c (Fformat): Rewrite in terms of new function
17726 ‘styled_format’.
17727 (Fformat_message): New function, moved here from subr.el.
17728 (styled_format): New function, with the old guts of Fformat,
17729 except it now optionally transliterates quotes, and it transliterates
17730 traditional grave accent and apostrophe quoting as well.
17731 Remove recently-added q flag; no longer needed or used.
17732 (syms_of_editfns): Define format-message.
17733 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
17734 Remove; no longer need to be global symbols.
17735 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
17736 so that callers can use `%s'.
17737 * src/image.c (image_size_error, xbm_load_image, xbm_load)
17738 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
17739 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
17740 (svg_load_image, gs_load, x_kill_gs_process):
17741 * src/lread.c (load_warn_old_style_backquotes):
17742 * src/xfaces.c (load_pixmap):
17743 * src/xselect.c (x_clipboard_manager_error_1):
17744 Use `%s' instead of %qs in formats.
17745
17746 2015-08-25 Eli Zaretskii <eliz@gnu.org>
17747
17748 Minor fixes in doc/emacs/search.texi
17749 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
17750 (Special Isearch): Use @w{} to generate several consecutive spaces
17751 with Texinfo 6. (Bug#21345)
17752
17753 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
17754
17755 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
17756 (tramp-awk-coding-test): New defconsts.
17757 (tramp-remote-coding-commands): Use them.
17758 (tramp-find-inline-encoding): Check for Perl only if necessary.
17759
17760 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
17761
17762 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
17763 index entries for the special form `quote'.
17764
17765 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
17766
17767 Spelling fixes
17768
17769 Gnus format-message typo fix
17770 * lisp/gnus/gnus-util.el (gnus-format-message):
17771 Fix typo when running in older Emacs.
17772
17773 Prefer directed to neutral quotes in docstings and diagnostics.
17774 In docstrings, escape apostrophes that would otherwise be translated
17775 to curved quotes using the newer, simpler rules.
17776 * admin/unidata/unidata-gen.el (unidata-gen-table):
17777 * lisp/align.el (align-region):
17778 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
17779 * lisp/bookmark.el (bookmark-default-annotation-text):
17780 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
17781 * lisp/calc/calc-lang.el (math-read-giac-subscr)
17782 (math-read-math-subscr):
17783 * lisp/calc/calc-misc.el (report-calc-bug):
17784 * lisp/calc/calc-prog.el (calc-fix-token-name)
17785 (calc-read-parse-table-part):
17786 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
17787 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
17788 * lisp/dabbrev.el (dabbrev-expand):
17789 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
17790 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
17791 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
17792 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
17793 * lisp/erc/erc-button.el (erc-nick-popup):
17794 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
17795 * lisp/eshell/em-dirs.el (eshell/cd):
17796 * lisp/eshell/em-glob.el (eshell-glob-regexp):
17797 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
17798 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
17799 * lisp/eshell/esh-opt.el (eshell-show-usage):
17800 * lisp/files-x.el (modify-file-local-variable):
17801 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
17802 (filesets-update-pre010505):
17803 * lisp/find-cmd.el (find-generic, find-to-string):
17804 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
17805 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
17806 (gnus-agent-fetch-headers):
17807 * lisp/gnus/gnus-int.el (gnus-start-news-server):
17808 * lisp/gnus/gnus-registry.el:
17809 (gnus-registry--split-fancy-with-parent-internal):
17810 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
17811 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
17812 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
17813 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
17814 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
17815 * lisp/gnus/spam.el (spam-check-blackholes):
17816 * lisp/mail/feedmail.el (feedmail-run-the-queue):
17817 * lisp/mpc.el (mpc-playlist-rename):
17818 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
17819 * lisp/net/mairix.el (mairix-widget-create-query):
17820 * lisp/net/tramp-cache.el:
17821 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
17822 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
17823 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
17824 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
17825 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
17826 (org-babel-goto-named-result):
17827 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
17828 * lisp/org/ob-ref.el (org-babel-ref-resolve):
17829 * lisp/org/org-agenda.el (org-agenda-prepare):
17830 * lisp/org/org-bibtex.el (org-bibtex-fields):
17831 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
17832 (org-clock-resolve):
17833 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
17834 * lisp/org/org-habit.el (org-habit-parse-todo):
17835 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
17836 (org-mouse-context-menu):
17837 * lisp/org/org-table.el (org-table-edit-formulas):
17838 * lisp/org/ox.el (org-export-async-start):
17839 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
17840 (dun-rooms, dun-endgame-questions):
17841 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
17842 * lisp/progmodes/ada-xref.el (ada-find-executable):
17843 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
17844 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
17845 (flymake-start-syntax-check-process):
17846 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
17847 * lisp/progmodes/sql.el (sql-comint):
17848 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
17849 * lisp/server.el (server-get-auth-key):
17850 * lisp/subr.el (version-to-list):
17851 * lisp/textmodes/reftex-ref.el (reftex-label):
17852 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
17853 * lisp/vc/ediff-diff.el (ediff-same-contents):
17854 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
17855 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
17856 Use directed rather than neutral quotes in diagnostics.
17857
17858 Treat ' like ’ even when not matching `
17859 This is simpler and easier to explain, and should encourage better
17860 typography. Do this in Electric Quote mode and when translating
17861 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
17862 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
17863 * doc/emacs/text.texi (Quotation Marks):
17864 * doc/lispref/help.texi (Keys in Documentation):
17865 * etc/NEWS:
17866 Document this.
17867 * lisp/electric.el (electric-quote-post-self-insert-function):
17868 * src/doc.c (Fsubstitute_command_keys):
17869 Always treat ' like ’ even when not matched by an open quote.
17870
17871 2015-08-25 Glenn Morris <rgm@gnu.org>
17872
17873 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
17874 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
17875
17876 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17877
17878 * src/macfont.m (macfont_create_family_with_symbol):
17879 Accept localized names.
17880
17881 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
17882
17883 Tramp diagnostics as per ‘text-quoting-style’
17884 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
17885 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
17886 (tramp-adb-handle-delete-directory)
17887 (tramp-adb-handle-delete-file)
17888 (tramp-adb-handle-file-local-copy)
17889 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
17890 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
17891 (tramp-adb-maybe-open-connection):
17892 * lisp/net/tramp-cache.el:
17893 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
17894 (tramp-compat-octal-to-decimal)
17895 (tramp-compat-coding-system-change-eol-conversion):
17896 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
17897 (tramp-gvfs-do-copy-or-rename-file)
17898 (tramp-gvfs-handle-delete-directory)
17899 (tramp-gvfs-handle-delete-file)
17900 (tramp-gvfs-handle-expand-file-name)
17901 (tramp-gvfs-handle-file-local-copy)
17902 (tramp-gvfs-handle-file-notify-add-watch)
17903 (tramp-gvfs-handle-make-directory)
17904 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
17905 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17906 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
17907 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
17908 (tramp-sh-handle-set-visited-file-modtime)
17909 (tramp-sh-handle-set-file-modes)
17910 (tramp-sh-handle-file-name-all-completions)
17911 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
17912 (tramp-do-copy-or-rename-file-directly)
17913 (tramp-do-copy-or-rename-file-out-of-band)
17914 (tramp-sh-handle-make-directory)
17915 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
17916 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
17917 (tramp-sh-handle-start-file-process)
17918 (tramp-sh-handle-file-local-copy)
17919 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
17920 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
17921 (tramp-find-file-exists-command, tramp-open-shell)
17922 (tramp-find-shell)
17923 (tramp-open-connection-setup-interactive-shell)
17924 (tramp-find-inline-encoding, tramp-find-inline-compress)
17925 (tramp-compute-multi-hops, tramp-maybe-open-connection)
17926 (tramp-wait-for-output, tramp-send-command-and-check)
17927 (tramp-send-command-and-read, tramp-get-remote-path)
17928 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
17929 (tramp-get-ls-command-with-quoting-style)
17930 (tramp-get-test-command, tramp-get-remote-ln)
17931 (tramp-get-remote-perl, tramp-get-remote-stat)
17932 (tramp-get-remote-readlink, tramp-get-remote-trash)
17933 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
17934 (tramp-get-remote-inotifywait, tramp-get-remote-id)
17935 (tramp-get-remote-python):
17936 * lisp/net/tramp-smb.el (tramp-smb-errors)
17937 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
17938 (tramp-smb-handle-delete-directory)
17939 (tramp-smb-handle-delete-file)
17940 (tramp-smb-handle-file-local-copy)
17941 (tramp-smb-handle-make-directory)
17942 (tramp-smb-handle-make-directory-internal)
17943 (tramp-smb-handle-make-symbolic-link)
17944 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
17945 (tramp-smb-handle-set-file-modes)
17946 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
17947 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
17948 (tramp-process-actions):
17949 Generate diagnostics according to ‘text-quoting-style’, by
17950 using curved quotes in format strings and ‘format-message’
17951 when appropriate.
17952 * lisp/net/tramp-compat.el (format-message):
17953 Define a replacement, if it’s an older version of Emacs
17954 that doesn’t have it already.
17955
17956 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
17957
17958 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
17959
17960 Fix documentation for `save-excursion'
17961 * doc/lispref/positions.texi (Excursions):
17962 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
17963 (Template for save-excursion, Point and mark): `save-excursion'
17964 does not save&restore the mark any more.
17965
17966 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
17967
17968 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
17969 New defconsts.
17970 (tramp-do-file-attributes-with-stat)
17971 (tramp-do-directory-files-and-attributes-with-stat): Use them.
17972 (tramp-convert-file-attributes): Remove double slashes in symlinks.
17973 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
17974 Handle symlinks with "//" in the file name.
17975
17976 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
17977
17978 2015-08-24 Nicolas Petton <nicolas@petton.fr>
17979
17980 Fix cl-subseq and cl-concatenate
17981 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
17982 seq functions.
17983 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
17984 seq-concatenate.
17985
17986 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
17987
17988 Fix full-screen code when there is no window manager (Bug#21317)
17989 * src/xterm.h (x_wm_supports): Declare external.
17990 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
17991 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
17992 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
17993 `fullscreen' frame parameter.
17994 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
17995 without a window manager.
17996
17997 2015-08-24 Glenn Morris <rgm@gnu.org>
17998
17999 * lisp/version.el (emacs-version): No longer include build host.
18000 * doc/lispref/intro.texi (Version Info): Update example.
18001
18002 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
18003
18004 * doc/lispref/elisp.texi: Fix typo in previous change.
18005
18006 More-conservative ‘format’ quote restyling
18007 Instead of restyling curved quotes for every call to ‘format’,
18008 create a new function ‘format-message’ that does the restyling,
18009 and using the new function instead of ‘format’ only in contexts
18010 where this seems appropriate.
18011 Problem reported by Dmitry Gutov and Andreas Schwab in:
18012 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
18013 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
18014 * doc/lispref/commands.texi (Using Interactive):
18015 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
18016 * doc/lispref/display.texi (Displaying Messages, Progress):
18017 * doc/lispref/elisp.texi:
18018 * doc/lispref/help.texi (Keys in Documentation):
18019 * doc/lispref/minibuf.texi (Minibuffer Misc):
18020 * doc/lispref/strings.texi (Formatting Strings):
18021 * etc/NEWS:
18022 Document the changes.
18023 * lisp/abbrev.el (expand-region-abbrevs):
18024 * lisp/apropos.el (apropos-library):
18025 * lisp/calc/calc-ext.el (calc-record-message)
18026 (calc-user-function-list):
18027 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
18028 * lisp/calc/calc-lang.el (math-read-big-balance):
18029 * lisp/calc/calc-store.el (calc-edit-variable):
18030 * lisp/calc/calc-units.el (math-build-units-table-buffer):
18031 * lisp/calc/calc-yank.el (calc-edit-mode):
18032 * lisp/calendar/icalendar.el (icalendar-export-region)
18033 (icalendar--add-diary-entry):
18034 * lisp/cedet/mode-local.el (mode-local-print-binding)
18035 (mode-local-describe-bindings-2):
18036 * lisp/cedet/semantic/complete.el (semantic-completion-message):
18037 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
18038 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
18039 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
18040 * lisp/descr-text.el (describe-text-properties-1, describe-char):
18041 * lisp/dframe.el (dframe-message):
18042 * lisp/dired-aux.el (dired-query):
18043 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
18044 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
18045 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
18046 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
18047 (cconv-analyze-form):
18048 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
18049 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
18050 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
18051 * lisp/emacs-lisp/edebug.el (edebug-format):
18052 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
18053 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
18054 (eldoc-message):
18055 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
18056 * lisp/emacs-lisp/find-func.el (find-function-library):
18057 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
18058 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
18059 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
18060 * lisp/emacs-lisp/package.el (package-compute-transaction)
18061 (package-install-button-action, package-delete-button-action)
18062 (package-menu--list-to-prompt):
18063 * lisp/emacs-lisp/timer.el (timer-event-handler):
18064 * lisp/emacs-lisp/warnings.el (lwarn, warn):
18065 * lisp/emulation/viper-cmd.el:
18066 (viper-toggle-parse-sexp-ignore-comments)
18067 (viper-kill-buffer, viper-brac-function):
18068 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
18069 * lisp/facemenu.el (facemenu-add-new-face):
18070 * lisp/faces.el (face-documentation, read-face-name)
18071 (face-read-string, read-face-font, describe-face):
18072 * lisp/files.el (find-alternate-file, hack-local-variables)
18073 (hack-one-local-variable--obsolete, write-file)
18074 (basic-save-buffer, delete-directory):
18075 * lisp/format.el (format-write-file, format-find-file)
18076 (format-insert-file):
18077 * lisp/help-fns.el (help-fns--key-bindings)
18078 (help-fns--compiler-macro, help-fns--obsolete)
18079 (help-fns--interactive-only, describe-function-1)
18080 (describe-variable):
18081 * lisp/help.el (describe-mode):
18082 * lisp/info-xref.el (info-xref-output):
18083 * lisp/info.el (Info-virtual-index-find-node)
18084 (Info-virtual-index, info-apropos):
18085 * lisp/international/kkc.el (kkc-error):
18086 * lisp/international/mule-cmds.el:
18087 (select-safe-coding-system-interactively)
18088 (select-safe-coding-system, describe-input-method):
18089 * lisp/international/mule-conf.el (code-offset):
18090 * lisp/international/mule-diag.el (describe-character-set)
18091 (list-input-methods-1):
18092 * lisp/international/quail.el (quail-error):
18093 * lisp/minibuffer.el (minibuffer-message):
18094 * lisp/mpc.el (mpc--debug):
18095 * lisp/msb.el (msb--choose-menu):
18096 * lisp/net/ange-ftp.el (ange-ftp-message):
18097 * lisp/net/gnutls.el (gnutls-message-maybe):
18098 * lisp/net/newst-backend.el (newsticker--sentinel-work):
18099 * lisp/net/newst-treeview.el (newsticker--treeview-load):
18100 * lisp/net/nsm.el (nsm-query-user):
18101 * lisp/net/rlogin.el (rlogin):
18102 * lisp/net/soap-client.el (soap-warning):
18103 * lisp/net/tramp.el (tramp-debug-message):
18104 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
18105 * lisp/nxml/nxml-parse.el (nxml-parse-error):
18106 * lisp/nxml/rng-cmpct.el (rng-c-error):
18107 * lisp/nxml/rng-match.el (rng-compile-error):
18108 * lisp/nxml/rng-uri.el (rng-uri-error):
18109 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
18110 * lisp/org/org-ctags.el:
18111 (org-ctags-ask-rebuild-tags-file-then-find-tag):
18112 * lisp/proced.el (proced-log):
18113 * lisp/progmodes/ebnf2ps.el (ebnf-log):
18114 * lisp/progmodes/flymake.el (flymake-log):
18115 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
18116 * lisp/replace.el (occur-1):
18117 * lisp/simple.el (execute-extended-command)
18118 (undo-outer-limit-truncate, define-alternatives):
18119 * lisp/startup.el (command-line):
18120 * lisp/subr.el (error, user-error, add-to-list):
18121 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
18122 (tutorial--find-changed-keys):
18123 * src/callint.c (Fcall_interactively):
18124 * src/editfns.c (Fmessage, Fmessage_box):
18125 Restyle the quotes of format strings intended for use as a
18126 diagnostic, when restyling seems appropriate.
18127 * lisp/subr.el (format-message): New function.
18128 * src/doc.c (Finternal__text_restyle): New function.
18129 (syms_of_doc): Define it.
18130
18131 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
18132
18133 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
18134
18135 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
18136
18137 python.el: Fix python-shell-buffer-substring on indented code
18138 (Bug#21086)
18139 * lisp/progmodes/python.el (python-shell-buffer-substring):
18140 Respect current line indentation when calculating string.
18141 * test/automated/python-tests.el
18142 (python-shell-buffer-substring-10)
18143 (python-shell-buffer-substring-11)
18144 (python-shell-buffer-substring-12): New tests.
18145
18146 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
18147
18148 Fix minor glitches from ‘format’ reversion
18149 * doc/lispref/strings.texi (Formatting Strings):
18150 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
18151 Documentation’, not below.
18152 * src/syntax.c (Finternal_describe_syntax_value):
18153 Prefer AUTO_STRING to build_string where either will do, as
18154 AUTO_STRING is a bit faster.
18155
18156 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
18157
18158 python.el: Defer shell setup code until first interactive prompt
18159 * lisp/progmodes/python.el
18160 (python-shell-comint-watch-for-first-prompt-output-filter):
18161 New function.
18162 (inferior-python-mode): Use it.
18163 (python-shell-first-prompt-hook): New hook.
18164 (python-shell-send-setup-code)
18165 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
18166 this hook instead of inferior-python-hook.
18167
18168 2015-08-23 Nicolas Petton <nicolas@petton.fr>
18169
18170 Remove the calls to `seq-into` from `seq-concatenate`
18171 Since most new types of seq would have to be defined as sequences (cons
18172 cells or CL structs, mostly), there is no need to convert the seqs to
18173 sequences (which can be a fairly expensive operation).
18174 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
18175 sequences.
18176
18177 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
18178
18179 python.el: Fix completion for pdb interactions
18180 * lisp/progmodes/python.el (python-shell-completion-setup-code):
18181 Simplify. Toggle print_mode for native wrapped completer.
18182 (python-shell-completion-native-setup): Ensure process buffer.
18183 Add print_mode attribute to completer wrapper to toggle returning
18184 or printing candidates.
18185 (python-shell-completion-native-get-completions): Cleanup.
18186 (python-shell-completion-get-completions): Cleanup.
18187 (python-shell-completion-at-point): Perform prompt checks.
18188 Force fallback completion in pdb interactions.
18189
18190 2015-08-23 Nicolas Petton <nicolas@petton.fr>
18191
18192 Make seq.el more extensible by using cl-defmethod
18193 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
18194 make it easier to extend seq.el with new "seq types".
18195 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
18196 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
18197 subseq in cl-extra.el, and use it in seq.el.
18198
18199 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
18200
18201 python.el: Fix prompt detection with user overridden interpreter
18202 * lisp/progmodes/python.el (python-shell-prompt-detect):
18203 Honor buffer local python-shell-interpreter and
18204 python-shell-interpreter-interactive-arg.
18205
18206 2015-08-23 Eli Zaretskii <eliz@gnu.org>
18207
18208 Support exec-directory with non-ASCII characters on Windows
18209 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
18210 in the system's ANSI codepage, when it is used for invoking
18211 cmdproxy.
18212
18213 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
18214
18215 Revert "Extend ‘format’ to translate curved quotes"
18216 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
18217
18218 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
18219 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
18220
18221 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
18222
18223 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
18224 Clarify "invisible window".
18225
18226 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
18227
18228 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
18229 magic-fallback-mode-alist.
18230
18231 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
18232
18233 python.el: fallback completion, ffap and eldoc setup enhancements
18234 Setup codes are now sent continuously so that the current frame is
18235 always taken into account. This allows working within debuggers
18236 and always keeping a fresh version of setup codes that will return
18237 proper results.
18238 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
18239 (python-shell-send-setup-code): Send code only when
18240 python-shell-setup-codes is non-nil.
18241 (python-shell-completion-string-code): Cleanup trailing newline.
18242 (python-shell-completion-get-completions): Always use
18243 python-shell-completion-setup-code.
18244 (python-ffap-setup-code): Work with any object, not only modules.
18245 (python-ffap-string-code): Cleanup trailing newline.
18246 (python-ffap-module-path): Always use python-ffap-setup-code.
18247 (python-eldoc-string-code): Cleanup trailing newline.
18248 (python-eldoc--get-doc-at-point): Always use
18249 python-eldoc-setup-code. Return non-nil only if docstring is
18250 found.
18251
18252 python.el: Increase native completion robustness
18253 * lisp/progmodes/python.el (python-shell-completion-native-setup):
18254 Make completer print real candidates and just return dummy ones to
18255 avoid input modification.
18256 (python-shell-completion-native-get-completions): Set
18257 comint-redirect-insert-matching-regexp to non-nil and make
18258 comint-redirect-finished-regexp match the last dummy candidate.
18259 Use python-shell-accept-process-output to wait for the full list
18260 of candidates.
18261
18262 2015-08-22 Eli Zaretskii <eliz@gnu.org>
18263
18264 Fix invocation of programs via cmdproxy.exe
18265 * src/w32proc.c (sys_spawnve): Use exec-directory, not
18266 invocation-directory, for finding cmdproxy.exe. When Emacs is
18267 run from the source tree, look for cmdproxy.exe in the same source
18268 tree. (Bug#21323)
18269
18270 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
18271
18272 Handle comments inside unquoted URIs in css-mode
18273 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
18274 (css-syntax-propertize-function): New defconst.
18275 (css--font-lock-keywords): Handle parens around unquoted URIs.
18276 (css-mode): Set `syntax-propertize-function'.
18277
18278 2015-08-22 Eli Zaretskii <eliz@gnu.org>
18279
18280 Support invocation of Hunspell with multiple dictionaries
18281 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
18282 Support lists of dictionaries of the form "DICT1,DICT2,...".
18283 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
18284
18285 Minor formatting changes in ispell.el
18286 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
18287 (ispell-print-if-debug, ispell-aspell-find-dictionary)
18288 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
18289 (ispell-hunspell-dictionary-alist)
18290 (ispell-hunspell-fill-dictionary-entry)
18291 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
18292 (ispell-buffer-with-debug, ispell-complete-word)
18293 (ispell-current-dictionary, ispell-current-personal-dictionary)
18294 (ispell-accept-output, ispell-minor-mode)
18295 (ispell-personal-dictionary, ispell-dictionary-alist)
18296 (ispell-really-aspell, ispell-really-hunspell)
18297 (ispell-encoding8-command, ispell-aspell-supports-utf8)
18298 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
18299 Fix whitespace, inconsistent capitalization, and arguments in doc
18300 strings.
18301
18302 2015-08-22 Martin Rudalics <rudalics@gmx.at>
18303
18304 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
18305 function refused to resize a size-preserved window.
18306
18307 2015-08-22 Eli Zaretskii <eliz@gnu.org>
18308
18309 * doc/lispref/windows.texi (Selecting Windows): Improve
18310 documentation and indexing of 'window-use-time'.
18311
18312 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18313
18314 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
18315 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
18316 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
18317 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
18318 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
18319 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
18320 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
18321 Fix up commenting style.
18322
18323 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
18324
18325 text-quoting-style in emacs-lisp diagnostics
18326 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
18327 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
18328 (ad-disable-advice, ad-remove-advice, ad-set-argument)
18329 (ad-set-arguments):
18330 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
18331 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
18332 (byte-optimize-while, byte-optimize-apply):
18333 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
18334 (byte-compile-log-file, byte-compile-format-warn)
18335 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
18336 (byte-compile-cl-warn)
18337 (byte-compile-warn-about-unresolved-functions)
18338 (byte-compile-file, byte-compile-fix-header)
18339 (byte-compile--declare-var, byte-compile-file-form-defmumble)
18340 (byte-compile-form, byte-compile-normal-call)
18341 (byte-compile-variable-ref, byte-compile-variable-set)
18342 (byte-compile-subr-wrong-args, byte-compile-setq-default)
18343 (byte-compile-negation-optimizer)
18344 (byte-compile-condition-case--old)
18345 (byte-compile-condition-case--new, byte-compile-save-excursion)
18346 (byte-compile-defvar, byte-compile-autoload)
18347 (byte-compile-lambda-form)
18348 (byte-compile-make-variable-buffer-local, display-call-tree)
18349 (batch-byte-compile):
18350 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
18351 (cconv-analyze-form):
18352 * lisp/emacs-lisp/chart.el (chart-space-usage):
18353 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
18354 (check-declare-warn, check-declare-file)
18355 (check-declare-directory):
18356 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
18357 (checkdoc-message-text-engine):
18358 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
18359 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
18360 (cl-symbol-macrolet):
18361 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
18362 * lisp/emacs-lisp/copyright.el (copyright)
18363 (copyright-update-directory):
18364 * lisp/emacs-lisp/edebug.el (edebug-read-list):
18365 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
18366 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
18367 (eieio-oref, eieio-oset-default):
18368 * lisp/emacs-lisp/eieio-speedbar.el:
18369 (eieio-speedbar-child-make-tag-lines)
18370 (eieio-speedbar-child-description):
18371 * lisp/emacs-lisp/eieio.el (defclass, change-class):
18372 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
18373 (elint-init-form, elint-check-defalias-form)
18374 (elint-check-let-form):
18375 * lisp/emacs-lisp/ert.el (ert-get-test):
18376 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
18377 (find-function-library):
18378 * lisp/emacs-lisp/generator.el (iter-yield):
18379 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
18380 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
18381 * lisp/emacs-lisp/package-x.el (package-upload-file):
18382 * lisp/emacs-lisp/package.el (package-version-join)
18383 (package-disabled-p, package-activate-1, package-activate)
18384 (package--download-one-archive)
18385 (package--download-and-read-archives)
18386 (package-compute-transaction, package-install-from-archive)
18387 (package-install, package-install-selected-packages)
18388 (package-delete, package-autoremove)
18389 (package-install-button-action, package-delete-button-action)
18390 (package-menu-hide-package, package-menu--list-to-prompt)
18391 (package-menu--perform-transaction)
18392 (package-menu--find-and-notify-upgrades):
18393 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
18394 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
18395 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
18396 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
18397 * lisp/emacs-lisp/smie.el (smie-config-save):
18398 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
18399 * lisp/emacs-lisp/testcover.el (testcover-1value):
18400 Use curved quotes in diagnostic format strings.
18401
18402 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
18403
18404 python.el: Ensure remote process-environment on non-interactive processes
18405 * lisp/progmodes/python.el
18406 (python-shell-tramp-refresh-process-environment): New function.
18407 (python-shell-with-environment): Use it.
18408 * test/automated/python-tests.el (python-shell-with-environment-2):
18409 Update.
18410
18411 python.el: Enhancements to process environment setup.
18412 * lisp/progmodes/python.el (python-shell-process-environment)
18413 (python-shell-extra-pythonpaths, python-shell-exec-path)
18414 (python-shell-virtualenv-root): Update docstring. Remove :safe.
18415 (python-shell-setup-codes): Remove :safe.
18416 (python-shell-remote-exec-path): New defcustom.
18417 (python-shell--add-to-path-with-priority): New macro.
18418 (python-shell-calculate-pythonpath): Give priority to
18419 python-shell-extra-pythonpaths. Update docstring.
18420 (python-shell-calculate-process-environment): Give priority to
18421 python-shell-process-environment. Update docstring.
18422 (python-shell-calculate-exec-path): Give priority to
18423 python-shell-exec-path and calculated virtualenv bin directory.
18424 Update docstring.
18425 (python-shell-tramp-refresh-remote-path): New function.
18426 (python-shell-with-environment): Use it when working remotely and
18427 do not modify tramp-remote-path. Allow nesting.
18428 (python-shell-calculate-command): Remove useless
18429 python-shell-with-environment call.
18430 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
18431 (python-shell-calculate-pythonpath-2)
18432 (python-shell-calculate-process-environment-6)
18433 (python-shell-calculate-process-environment-7)
18434 (python-shell-calculate-process-environment-8)
18435 (python-shell-calculate-exec-path-3)
18436 (python-shell-calculate-exec-path-4)
18437 (python-shell-calculate-exec-path-5)
18438 (python-shell-calculate-exec-path-6)
18439 (python-shell-with-environment-3): New tests.
18440 (python-shell-calculate-process-environment-2)
18441 (python-shell-calculate-process-environment-3)
18442 (python-shell-calculate-process-environment-4)
18443 (python-shell-calculate-process-environment-5)
18444 (python-shell-calculate-exec-path-1)
18445 (python-shell-calculate-exec-path-2)
18446 (python-shell-with-environment-1)
18447 (python-shell-with-environment-2): Update and simplify.
18448
18449 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
18450
18451 Avoid hard-coding "M-x command" in docstrings
18452 * lisp/calendar/todo-mode.el (todo-mode):
18453 * lisp/desktop.el (desktop-save-mode):
18454 * lisp/edmacro.el (edit-kbd-macro):
18455 * lisp/emacs-lisp/package.el (package-menu-execute):
18456 * lisp/emulation/viper-cmd.el (viper-ask-level):
18457 * lisp/emulation/viper-init.el (viper-expert-level):
18458 * lisp/filesets.el (filesets-add-buffer):
18459 * lisp/follow.el (follow-mode):
18460 * lisp/gnus/auth-source.el (auth-sources):
18461 * lisp/international/ogonek.el (ogonek-informacja)
18462 (ogonek-information):
18463 * lisp/net/tramp.el (tramp-process-actions):
18464 * lisp/org/org-gnus.el (org-gnus-no-new-news):
18465 * lisp/org/org.el (org-ellipsis):
18466 * lisp/progmodes/python.el (python-shell-get-process-or-error):
18467 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
18468 * lisp/server.el (server-start):
18469 * lisp/type-break.el (type-break-noninteractive-query):
18470 * lisp/userlock.el (ask-user-about-supersession-help):
18471 * lisp/whitespace.el (whitespace-report-region):
18472 Prefer (substitute-command-keys "`\\[foo-command]'")
18473 to "`M-x foo-command'" in docstrings and the like.
18474
18475 2015-08-21 Tassilo Horn <tsdh@gnu.org>
18476
18477 Use add-function for prettify-symbols-compose-predicate
18478 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
18479 prettify-symbols-compose-predicate in terms of add-function.
18480 * etc/NEWS: Mention prettify-symbols-compose-predicate and
18481 prettify-symbols-mode support in tex-mode.
18482
18483 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18484
18485 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
18486 (smie-indent-exps, smie-indent-keyword): Use it.
18487 * test/indent/css-mode.css: Test alignment with leading comment.
18488
18489 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
18490
18491 Respect text-quoting-style in (*Finder*) menus
18492 * lisp/info.el (info--prettify-description):
18493 Treat description as a docstring, so that it's requoted as
18494 per text-quoting-style.
18495
18496 2015-08-21 Martin Rudalics <rudalics@gmx.at>
18497
18498 Document `window-use-time' in Elisp manual
18499 * doc/lispref/windows.texi (Selecting Windows): Document
18500 `window-use-time'.
18501
18502 2015-08-21 Eli Zaretskii <eliz@gnu.org>
18503
18504 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
18505 This is a cleaner fix for Bug#21260 than the previous change.
18506
18507 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
18508
18509 Respect text-quoting-style in calc
18510 In calc, tespect text-quoting-style preference in diagnostic
18511 formats and fix a few similar problems in docstrings.
18512 * lisp/calc/calc-aent.el (math-read-factor):
18513 * lisp/calc/calc-embed.el (calc-do-embedded):
18514 * lisp/calc/calc-ext.el (calc-user-function-list)
18515 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
18516 * lisp/calc/calc-help.el (calc-describe-key)
18517 (calc-describe-thing):
18518 * lisp/calc/calc-lang.el (calc-c-language)
18519 (math-parse-fortran-vector-end, math-parse-tex-sum)
18520 (math-parse-eqn-matrix, math-parse-eqn-prime)
18521 (calc-yacas-language, calc-maxima-language, calc-giac-language)
18522 (math-read-big-rec, math-read-big-balance):
18523 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
18524 (calc-auto-recompute):
18525 * lisp/calc/calc-prog.el (calc-user-define-invocation)
18526 (math-do-arg-check):
18527 * lisp/calc/calc-store.el (calc-edit-variable):
18528 * lisp/calc/calc-units.el (math-build-units-table-buffer):
18529 * lisp/calc/calc-vec.el (math-read-brackets):
18530 * lisp/calc/calc-yank.el (calc-edit-mode):
18531 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
18532 Use curved quotes in diagnostic format strings.
18533 * lisp/calc/calc-help.el (calc-describe-thing):
18534 Format docstrings with substitute-command-keys.
18535 * lisp/calc/calc-help.el (calc-j-prefix-help):
18536 * lisp/calc/calc-misc.el (calc-help):
18537 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
18538 Escape a docstring "`".
18539
18540 2015-08-21 Eli Zaretskii <eliz@gnu.org>
18541
18542 Fix documentation of 'menu-set-font' and 'set-frame-font'
18543 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
18544 * doc/lispref/frames.texi (Frame Font): Document that
18545 set-frame-font with the last argument 't' will also make the font
18546 the default for the future GUI frames.
18547
18548 Document '--create-frame' option to emacsclient
18549 * doc/emacs/misc.texi (emacsclient Options): Document the
18550 '--create-frame' option. (Bug#21308)
18551
18552 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18553
18554 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
18555
18556 2015-08-21 Eli Zaretskii <eliz@gnu.org>
18557
18558 Document 'get-mru-window' in the ELisp manual
18559 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
18560 'get-mru-window'. (Bug#21306)
18561
18562 Clarify documentation of 'get-buffer-window-list'
18563 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
18564 current window, if relevant, will be the first in the list
18565 returned by 'get-buffer-window-list'.
18566 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
18567
18568 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
18569
18570 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
18571 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
18572 `switch-to-buffer'.
18573
18574 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
18575
18576 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
18577 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
18578 `display-buffer' instead of `switch-to-buffer'.
18579
18580 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
18581
18582 Follow user preference in calendar diagnostics
18583 Respect text-quoting-style preference in diagnostic formats by
18584 using curved quotes (which are translated as per text-quoting-style)
18585 instead of grave accent and apostrophe (which are not).
18586 * lisp/calendar/appt.el (appt-display-message):
18587 * lisp/calendar/diary-lib.el (diary-check-diary-file)
18588 (diary-mail-entries, diary-from-outlook):
18589 * lisp/calendar/icalendar.el (icalendar-export-region)
18590 (icalendar--convert-float-to-ical)
18591 (icalendar--convert-date-to-ical)
18592 (icalendar--convert-ical-to-diary)
18593 (icalendar--convert-recurring-to-diary)
18594 (icalendar--add-diary-entry):
18595 * lisp/calendar/time-date.el (format-seconds):
18596 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
18597 (timeclock-make-hours-explicit):
18598 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
18599 (todo-item-mark, todo-check-format)
18600 (todo-insert-item--next-param, todo-edit-item--next-key)
18601 (todo-mode):
18602 Use curved quotes in diagnostic format strings.
18603 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
18604 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
18605 Just use straight quoting for simple test case.
18606
18607 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
18608
18609 * src/gfilenotify.c (Fgfile_add_watch):
18610 Handle errors from g_file_monitor.
18611
18612 2015-08-21 Martin Rudalics <rudalics@gmx.at>
18613
18614 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
18615 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
18616 frame" instead of "non-minibuffer frame".
18617
18618 Fix frame geometry related text
18619 * doc/lispref/frames.texi (Frame Layout):
18620 Rename `x-frame-geometry' to `frame-geometry'.
18621 * doc/lispref/frames.texi (Mouse Position):
18622 * doc/lispref/windows.texi (Coordinates and Windows):
18623 Use `set-mouse-absolute-pixel-position' instead of
18624 `x-set-mouse-absolute-pixel-position'.
18625
18626 Sanitize frame geometry related functions
18627 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
18628 (Fx_frame_edges): Rename to Fns_frame_edges.
18629 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
18630 (Fx_frame_edges): Rename to Fw32_frame_edges.
18631 (Fx_mouse_absolute_pixel_position): Rename to
18632 Fw32_mouse_absolute_pixel_position.
18633 (Fx_set_mouse_absolute_pixel_position): Rename to
18634 Fw32_set_mouse_absolute_pixel_position.
18635 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
18636 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
18637 (ns-frame-edges, w32-mouse-absolute-pixel-position)
18638 (x-mouse-absolute-pixel-position)
18639 (w32-set-mouse-absolute-pixel-position)
18640 (x-set-mouse-absolute-pixel-position): Declare.
18641 (frame-geometry, mouse-absolute-pixel-position)
18642 (set-mouse-absolute-pixel-position): New functions.
18643 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
18644
18645 2015-08-21 Eli Zaretskii <eliz@gnu.org>
18646
18647 Fix MinGW64 build broken by latest w32uniscribe.c changes
18648 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
18649 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
18650 (Bug#21260)
18651
18652 2015-08-21 Tassilo Horn <tsdh@gnu.org>
18653
18654 Add TeX defaults for prettify-symbol-mode
18655 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
18656 Rename from tex-prettify-symbols-alist.
18657 (tex--prettify-symbols-compose-p): New function.
18658 (tex-common-initialization): Use them as prettify-symbols-alist
18659 and prettify-symbols-compose-predicate.
18660
18661 Generalize prettify-symbols to arbitrary modes
18662 * lisp/progmodes/prog-mode.el
18663 (prettify-symbols-default-compose-p): New function.
18664 (prettify-symbols-compose-predicate): New variable.
18665 (prettify-symbols--compose-symbol): Use it.
18666
18667 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
18668
18669 Don't quote symbols 'like-this' in docstrings etc.
18670 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
18671 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
18672 * lisp/allout.el (allout-add-resumptions, allout-mode):
18673 * lisp/calculator.el (calculator-operators):
18674 * lisp/cedet/data-debug.el (dd-propertize):
18675 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
18676 * lisp/cedet/semantic/analyze/debug.el:
18677 (semantic-analyzer-debug-global-miss-text):
18678 * lisp/cedet/semantic/lex-spp.el:
18679 (semantic-lex-spp-replace-or-symbol-or-keyword):
18680 * lisp/cedet/semantic/symref.el:
18681 (semantic-symref-cleanup-recent-buffers-fcn):
18682 * lisp/cedet/semantic/tag.el (semantic-tag-class):
18683 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
18684 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
18685 * lisp/gnus/pop3.el (pop3-authentication-scheme):
18686 * lisp/help-fns.el (describe-function-orig-buffer):
18687 * lisp/imenu.el (imenu--history-list):
18688 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
18689 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
18690 (feedmail-queue-default-file-slug)
18691 (feedmail-queue-buffer-file-name):
18692 * lisp/net/mairix.el (mairix-searches-mode-map):
18693 * lisp/net/newst-backend.el (newsticker-retrieval-method)
18694 (newsticker-auto-mark-filter-list):
18695 * lisp/obsolete/vi.el (vi-mode):
18696 * lisp/progmodes/cc-engine.el (c-literal-type):
18697 * lisp/progmodes/cpp.el (cpp-face):
18698 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
18699 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
18700 * lisp/progmodes/pascal.el (pascal-auto-lineup):
18701 * lisp/progmodes/prog-mode.el (prog-widen):
18702 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
18703 (verilog-auto-lineup, verilog-auto-reset-widths)
18704 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
18705 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
18706 (flyspell-maybe-correct-doubling):
18707 * lisp/textmodes/table.el (table-justify, table-justify-cell)
18708 (table-justify-row, table-justify-column, table-insert-sequence)
18709 (table--justify-cell-contents):
18710 * lisp/url/url-auth.el (url-get-authentication):
18711 * lisp/window.el (display-buffer-record-window):
18712 * lisp/xml.el (xml-parse-file, xml-parse-region):
18713 * src/gfilenotify.c (Fgfile_add_watch):
18714 Don't quote symbols with apostrophes in doc strings.
18715 Use asymmetric quotes instead.
18716 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
18717 Likewise for symbol in diagnostic.
18718 * lisp/image.el (image-extension-data):
18719 * lisp/register.el (frame-configuration-to-register):
18720 * src/buffer.c (syms_of_buffer):
18721 Remove bogus apostrophes after symbols.
18722 * lisp/thumbs.el (thumbs-conversion-program):
18723 Quote Lisp string values using double-quotes, not apostrophes.
18724
18725 2015-08-20 Martin Rudalics <rudalics@gmx.at>
18726
18727 Describe frame geometry and related functions in Elisp manual
18728 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
18729 (Showing Images): Update references.
18730 * doc/lispref/elisp.texi (Top): Update node listing.
18731 * doc/lispref/frames.texi (Frame Geometry): New node.
18732 Move `Size and Position' section here.
18733 (Size Parameters): Update references.
18734 (Mouse Position): Update references and nomenclature.
18735 Describe new functions `x-mouse-absolute-pixel-position' and
18736 `x-set-mouse-absolute-pixel-position'.
18737 * doc/lispref/windows.texi (Window Sizes): Update references.
18738 (Resizing Windows): Update references. Move description of
18739 `fit-frame-to-buffer' here.
18740 (Coordinates and Windows): Update nomenclature and references.
18741 Describe new arguments of `window-edges'. Comment out
18742 descriptions of `window-left-column', `window-top-line',
18743 `window-pixel-left' and `window-pixel-top'. Describe
18744 `window-absolute-pixel-position'.
18745
18746 2015-08-20 Alan Mackenzie <acm@muc.de>
18747
18748 Handling of `c-parse-state'. Fix low level bug.
18749 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18750 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
18751
18752 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
18753
18754 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
18755 window instead of deleting it.
18756
18757 2015-08-20 Martin Rudalics <rudalics@gmx.at>
18758
18759 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
18760 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
18761 determine whether frame has a titlebar.
18762 Suggested by Eli Zaretskii <eliz@gnu.org>
18763
18764 2015-08-20 Tassilo Horn <tsdh@gnu.org>
18765
18766 Add a prettify-symbols-alist for (La)TeX
18767 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
18768 New variable holding an alist suitable as prettify-symbols-alist in
18769 (La)TeX modes.
18770
18771 2015-08-19 Alan Mackenzie <acm@muc.de>
18772
18773 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
18774 Fixes debbugs#21275.
18775 In Emacs >= 25, let electric-pair-mode take precedence over
18776 delete-selection-mode.
18777 * lisp/delsel.el (delete-selection-uses-region-p): New function,
18778 previously a lambda expression in a property value for
18779 `self-insert-command'.
18780 (top-level): Set the `delete-selection' property of
18781 `self-insert-command' to `delete-selection-uses-region-p'.
18782 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
18783 property for c-electric-\(brace\|paren\) the value
18784 `delete-selection-uses-region-p' when the latter function exists.
18785
18786 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
18787
18788 Fix key binding quoting in tutorial *Help*
18789 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
18790 When generating help for custom key bindings, use the user-preferred
18791 quoting style rather than hardcoding the grave style.
18792
18793 2015-08-19 Eli Zaretskii <eliz@gnu.org>
18794
18795 Improve and future-proof OTF fonts support in w32uniscribe.c
18796 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
18797 about the expected results and why the new Uniscribe APIs are not
18798 used in this function.
18799 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
18800 (ScriptGetFontFeatureTags_Proc): New function typedefs.
18801 (uniscribe_new_apis): New static variable.
18802 (uniscribe_check_features): New function, implements OTF features
18803 verification while correctly accounting for features in the list
18804 after the nil member, if any.
18805 (uniscribe_check_otf_1): New function, retrieves the features
18806 supported by the font for the requested script and language using
18807 the Uniscribe APIs available from Windows Vista onwards.
18808 (uniscribe_check_otf): If the new Uniscribe APIs are available,
18809 use them in preference to reading the font data directly. Call
18810 uniscribe_check_features to verify that the requested features are
18811 supported, replacing the original incomplete code.
18812 (syms_of_w32uniscribe): Initialize function pointers for the new
18813 Uniscribe APIs. (Bug#21260)
18814 (otf_features): Scan the script, langsys, and feature arrays back
18815 to front, so that the result we return has them in alphabetical
18816 order, like ftfont.c does.
18817 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
18818 New variable for debugging w32uniscribe.c code.
18819
18820 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
18821
18822 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
18823 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
18824 clause of `isearch-search-fun-default'. That lax variable does not
18825 refer to lax-whitespacing. Related to (bug#21777).
18826 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
18827 * lisp/character-fold.el (character-fold-search): Set to nil.
18828 Default to nil for now, until someone implements proper
18829 lax-whitespacing with char-fold searching.
18830
18831 2015-08-19 Martin Rudalics <rudalics@gmx.at>
18832
18833 Fix doc-string of `help-mode-finish'.
18834 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
18835
18836 In nsimage.m include coding.h (Bug#21292)
18837 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
18838
18839 Move window edge functions to Elisp.
18840 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
18841 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
18842 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
18843 Move to window.el.
18844 (calc_absolute_offset): Remove.
18845 * lisp/frame.el (frame-edges): New function.
18846 * lisp/window.el (window-edges, window-pixel-edges)
18847 (window-absolute-pixel-edges): Move here from window.c.
18848 (window-body-edges, window-body-pixel-edges)
18849 (window-absolute-body-pixel-edges): Move here from window.c and
18850 rename "inside" to "body". Keep old names as aliases.
18851 (window-absolute-pixel-position): New function.
18852
18853 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
18854
18855 [Gnus]: Use overlay functions directly
18856 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
18857 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
18858 (gnus-article-highlight-signature, gnus-article-extend-url-button)
18859 (gnus-article-add-button, gnus-insert-prev-page-button)
18860 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
18861 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
18862 (gnus-cite-add-face):
18863 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
18864 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
18865 (gnus-tree-recenter, gnus-highlight-selected-tree):
18866 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
18867 (gnus-summary-show-thread, gnus-summary-hide-thread)
18868 (gnus-highlight-selected-summary):
18869 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
18870 * lisp/gnus/message.el (message-fix-before-sending)
18871 (message-toggle-image-thumbnails):
18872 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
18873 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
18874 Use overlay functions directly instead of using gnus-overlay-*,
18875 message-overlay-*, and sieve-overlay-*.
18876 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
18877 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
18878 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
18879 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
18880 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
18881 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
18882 (message-overlay-get, message-overlay-put, message-overlays-in):
18883 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
18884 (sieve-overlays-at): Remove.
18885
18886 2015-08-19 Martin Rudalics <rudalics@gmx.at>
18887
18888 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
18889 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
18890 builds can use the declaration from the system headers.
18891 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
18892 definition of TITLEBAR_INFO.
18893 Suggested by Eli Zaretskii <eliz@gnu.org>
18894
18895 2015-08-19 Glenn Morris <rgm@gnu.org>
18896
18897 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
18898
18899 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
18900
18901 Use new q ‘format’ flag when fixing quotes in C
18902 * src/image.c (image_size_error): New function. All uses of
18903 image_error with "Invalid image size ..." changed to use it.
18904 * src/image.c (image_size_error, xbm_load_image, xbm_load)
18905 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
18906 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
18907 (imagemagick_load, svg_load, svg_load_image, gs_load)
18908 (x_kill_gs_process):
18909 * src/lread.c (load_warn_old_style_backquotes):
18910 * src/xfaces.c (load_pixmap):
18911 * src/xselect.c (x_clipboard_manager_error_1):
18912 Use %qs, not uLSQM and uRSQM.
18913 * src/syntax.c (Finternal_describe_syntax_value):
18914 Prefer Fsubstitute_command_keys to Fformat, as this lets
18915 us use AUTO_STRING.
18916 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
18917 as it's now guaranteed to be ASCII.
18918 * src/xselect.c (x_clipboard_manager_error_2):
18919 Avoid grave accent in low-level stderr diagnostic.
18920
18921 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
18922
18923 New q flag for ‘format’
18924 * doc/lispref/processes.texi (Sentinels):
18925 Don't hardwire grave quoting style in example.
18926 * doc/lispref/strings.texi (Formatting Strings):
18927 * etc/NEWS:
18928 Document new q flag.
18929 * src/editfns.c (Fformat): Implement it.
18930
18931 2015-08-18 Daiki Ueno <ueno@gnu.org>
18932
18933 pinentry.el: Add debugging support
18934 * lisp/net/pinentry.el (pinentry-debug): New variable.
18935 (pinentry-debug-buffer): New variable.
18936 (pinentry--process-filter): Send input to the debug buffer, if
18937 `pinentry-debug' is set.
18938
18939 pinentry.el: Improve multiline prompt
18940 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
18941 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
18942 command.
18943
18944 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
18945
18946 Fix multibyte confusion in diagnostics
18947 * src/print.c (print_error_message):
18948 Don't assume that the caller's name is unibyte.
18949 * src/xdisp.c (vadd_to_log):
18950 Don't assume that the formatted diagnostic is unibyte.
18951
18952 Fix file name encodings in diagnostics
18953 Also, close some minor races when opening image files, by opening
18954 them once instead of multiple times.
18955 * src/gtkutil.c (xg_get_image_for_pixmap):
18956 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
18957 (svg_load):
18958 * src/nsimage.m (allocInitFromFile:):
18959 * src/xfns.c (xg_set_icon):
18960 Encode file name, since x_find_image_file no longer does that.
18961 * src/image.c (x_find_image_fd): New function.
18962 (x_find_image_file): Use it. Do not encode resulting file name,
18963 since callers sometimes need it decoded.
18964 (slurp_file): File arg is now a fd, not a file name.
18965 All callers changed. This saves us having to open the file twice.
18966 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
18967 (svg_load):
18968 Use x_find_image_fd and fdopen to save a file-open.
18969 Report file name that failed.
18970 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
18971
18972 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
18973
18974 Allow blink-matching-paren to jump off screen
18975 * doc/emacs/programs.texi (Matching): Mention the
18976 `blink-matching-paren' value `jump-offscreen'.
18977 * lisp/simple.el (blink-matching-paren): New possible value.
18978 (blink-matching-paren-on-screen): Clarify the docstring.
18979 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
18980
18981 Refine the previous change
18982 * lisp/simple.el (blink-matching-open): Use minibuffer-message
18983 outside of save-excursion (bug#21286).
18984
18985 2015-08-18 Martin Rudalics <rudalics@gmx.at>
18986
18987 Rewrite and add frame geometry related functions.
18988 * src/frame.c (Fframe_position): New function.
18989 (Fset_frame_position): Rename parameters and rewrite doc-string.
18990 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
18991 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
18992 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
18993 Qtitle_bar_size.
18994 * src/nsfns.m (frame_geometry): New function.
18995 (Fx_frame_geometry): Call frame_geometry.
18996 (Fx_frame_edges): New function.
18997 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
18998 (GetTitleBarInfo_Proc): Define these so we can use the
18999 GetTitleBarInfo API.
19000 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
19001 (Fx_frame_geometry): Rewrite.
19002 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
19003 (Fx_set_mouse_absolute_pixel_position): New functions.
19004 * src/xfns.c (frame_geometry): New function.
19005 (Fx_frame_geometry): Call frame_geometry.
19006 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
19007 (Fx_set_mouse_absolute_pixel_position): New functions.
19008
19009 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
19010
19011 Improve Tramp's compatibility
19012 * lisp/net/tramp.el (tramp-get-method-parameter):
19013 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
19014 (tramp-adb-get-device):
19015 * lisp/net/trampver.el (tramp-repository-get-version):
19016 Use `tramp-compat-replace-regexp-in-string'.
19017
19018 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
19019
19020 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
19021 Encode/decode string.
19022
19023 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
19024
19025 Clarify what happens to match data on failure
19026 Problem reported by Ernesto Alfonso (Bug#21279).
19027 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
19028 Document more carefully what happens to match data after a failed
19029 search.
19030 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
19031 the return value is undefined if the last search failed.
19032 (Fmatch_data): Simplify doc string line 1.
19033
19034 2015-08-18 Daiki Ueno <ueno@gnu.org>
19035
19036 Revert "pinentry.el: Support external passphrase cache"
19037 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
19038 pinentry.el shouldn't directly interact with the secrets service,
19039 but ask the caller to cache the passphrase.
19040
19041 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
19042
19043 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
19044 Message mode hooks.
19045
19046 2015-08-17 Daiki Ueno <ueno@gnu.org>
19047
19048 epg.el: Make gpgconf output parsing future proof
19049 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
19050 --list-options" output.
19051
19052 pinentry.el: Support external passphrase cache
19053 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
19054 (pinentry--allow-external-password-cache): New local variable.
19055 (pinentry--key-info): New local variable.
19056 (secrets-enabled, secrets-search-items, secrets-get-secret):
19057 Declare.
19058 (pinentry--send-passphrase): New function, split from
19059 `pinentry--process-filter'.
19060 (pinentry--process-filter): Use secrets.el to retrieve passphrase
19061 from login keyring.
19062
19063 pinentry.el: Popup window for multiline prompt
19064 * lisp/net/pinentry.el (pinentry): New custom group.
19065 (pinentry-popup-prompt-window): New user option.
19066 (pinentry-prompt-window-height): New user option.
19067 (pinentry--prompt-buffer): New variable.
19068 (pinentry-prompt-mode-map): New variable.
19069 (pinentry-prompt-mode): New function.
19070 (pinentry--prompt): New function.
19071 (pinentry--process-filter): Use `pinentry--prompt' instead of
19072 `read-passwd' and `y-or-n-p'.
19073
19074 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
19075
19076 message.el: Silent the byte compiler
19077 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
19078 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
19079 (message-delete-overlay, message-window-inside-pixel-edges):
19080 Declare before using.
19081
19082 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
19083 (message-window-inside-pixel-edges): XEmacs compatible functions.
19084
19085 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19086
19087 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
19088
19089 2015-08-17 Noah Friedman <friedman@splode.com>
19090
19091 * lisp/simple.el (blink-matching-open): Restore point before
19092 calling minibuffer-message.
19093
19094 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
19095
19096 * lisp/play/dunnet.el: Update version number in header (now
19097 matches help).
19098
19099 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
19100
19101 Curved quotes in --batch diagnostics in non-UTF-8
19102 When run with --batch, check that curved quotes are compatible with
19103 the system locale before outputting them in diagnostics.
19104 Problem reported by Eli Zaretskii in:
19105 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
19106 * lisp/startup.el (command-line): Set internal--text-quoting-flag
19107 after the standard display table is initialized.
19108 * src/doc.c (default_to_grave_quoting_style): New function.
19109 (text_quoting_style): Use it.
19110 (text_quoting_flag): New static var, visible to Lisp as
19111 internal--text-quoting-flag.
19112 * src/emacs.c: Include <wchar.h> if available.
19113 (using_utf8): New function.
19114 (main): Use it to initialize text_quoting_flag.
19115 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
19116 Don't define, as it's not needed and it clashes with wchar.h.
19117
19118 2015-08-17 Glenn Morris <rgm@gnu.org>
19119
19120 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
19121 from makeinfo about spurious "Note:" cross-reference, and for grammar.
19122
19123 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
19124
19125 Minor change in variable initialization on MS-Windows
19126 * src/w32fns.c <after_dead_key>: Initialize to -1.
19127 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
19128 non-zero.
19129
19130 Fix a bug with LWindow key remapping on MS-Windows
19131 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
19132
19133 2015-08-17 Eli Zaretskii <eliz@gnu.org>
19134
19135 Improve fontset support for latest OTF script tags
19136 * lisp/international/fontset.el (otf-script-alist): Add some
19137 missing script tags.
19138 (setup-default-fontset): Include settings for v2 versions of the
19139 script tags used by some modern OTF/TTF fonts.
19140
19141 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
19142
19143 Spelling fixes
19144
19145 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
19146
19147 Use curved quotes in core elisp diagnostics
19148 In the core elisp files, use curved quotes in diagnostic formats,
19149 so that they follow user preference as per ‘text-quoting-style’
19150 rather than being hard-coded to quote `like this'.
19151 * lisp/abbrev.el (expand-region-abbrevs):
19152 * lisp/button.el (button-category-symbol, button-put)
19153 (make-text-button):
19154 * lisp/cus-start.el:
19155 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
19156 (custom--sort-vars-1, load-theme):
19157 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
19158 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
19159 (cl-generic-generalizers):
19160 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
19161 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
19162 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
19163 (advice--make, define-advice):
19164 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
19165 * lisp/emacs-lisp/timer.el (timer-event-handler):
19166 * lisp/env.el (setenv):
19167 * lisp/facemenu.el (facemenu-add-new-face)
19168 (facemenu-add-new-color):
19169 * lisp/faces.el (face-documentation, read-face-name)
19170 (face-read-string, read-face-font, face-spec-set-match-display)
19171 (read-color, x-resolve-font-name):
19172 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
19173 (set-auto-mode, hack-local-variables)
19174 (hack-one-local-variable--obsolete)
19175 (dir-locals-set-directory-class, write-file)
19176 (basic-save-buffer, delete-directory, copy-directory)
19177 (recover-session, recover-session-finish, insert-directory)
19178 (file-modes-char-to-who, file-modes-symbolic-to-number)
19179 (move-file-to-trash):
19180 * lisp/font-lock.el (font-lock-fontify-buffer):
19181 * lisp/format.el (format-write-file, format-find-file)
19182 (format-insert-file):
19183 * lisp/frame.el (get-device-terminal, select-frame-by-name):
19184 * lisp/fringe.el (fringe--check-style):
19185 * lisp/help.el (describe-minor-mode-from-indicator):
19186 * lisp/image.el (image-type):
19187 * lisp/international/fontset.el (x-must-resolve-font-name):
19188 * lisp/international/mule-cmds.el (prefer-coding-system)
19189 (select-safe-coding-system-interactively)
19190 (select-safe-coding-system, activate-input-method)
19191 (toggle-input-method, describe-current-input-method):
19192 * lisp/international/mule-conf.el (code-offset):
19193 * lisp/mouse.el (minor-mode-menu-from-indicator):
19194 * lisp/replace.el (query-replace-read-from)
19195 (occur-after-change-function, occur-1):
19196 * lisp/scroll-bar.el (scroll-bar-columns):
19197 * lisp/simple.el (execute-extended-command)
19198 (undo-outer-limit-truncate, compose-mail, set-variable)
19199 (choose-completion-string, define-alternatives):
19200 * lisp/startup.el (site-run-file, tty-handle-args)
19201 (command-line, command-line-1):
19202 * lisp/subr.el (noreturn, define-error, add-to-list)
19203 (read-char-choice):
19204 * lisp/term/common-win.el (x-handle-xrm-switch)
19205 (x-handle-name-switch, x-handle-args):
19206 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
19207 Use curved quotes in diagnostics.
19208 * lisp/international/mule.el (find-auto-coding):
19209 Use " to quote in a diagnostic, to be consistent with the rest of
19210 this file.
19211
19212 Convert lisp/term/x-win.el to UTF-8
19213 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
19214 runtime behavior, and the file is multilingual so compile-time
19215 appearance shouldn't be an issue.
19216 * admin/notes/unicode: Document this.
19217
19218 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
19219
19220 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
19221 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
19222 issues and comments, bug#943.
19223 (verilog-type-font-keywords): Cycle delay operators like ##1 and
19224 ##[0:$] are now highlighted in their entirety similarly to the #
19225 delay-control operator. Likewise, the followed-by operators #-#
19226 and #=# are no longer partially highlighed.
19227 (verilog-backward-syntactic-ws-quick)
19228 (verilog-skip-backward-comments): Minor performance improvements
19229 to buffer traversal functions for reduced latency.
19230 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
19231 keyword 'final' follows 'assert/assume/cover', then it is part of
19232 a deferred immediate assertion item and should not be treated as a
19233 final construct for indentation. Reported by Yuri Sugihara.
19234 (verilog-do-indent): Virtual task/function/class definition lines
19235 should not be considered as declarations. Reported by Enzo Chi.
19236 (verilog-do-indent): Do not falsely indent to '=' of
19237 property/sequence operators on subsequent lines of a multi-line
19238 statement.
19239 (verilog-assignment-operator-re): Fix '!==' operator and add
19240 support for '<->', ':/', '#-#', and '#=#' operators.
19241 (verilog-calculate-indent, verilog-label-be): Enable
19242 case-sensitive regular expression parsing when looking for
19243 keywords.
19244 (verilog-calc-1): Detect 'pure virtual method' declarations which
19245 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
19246 (verilog-backward-ws&directives): When moving back to the start of
19247 a line and the preceeding line ended with an escaped-newline, then
19248 jump up one line. This properly consumes a multi-line
19249 pre-processor directive. Reported by Kaushal Modi.
19250 (verilog-dpi-import-export-re, verilog-extended-complete-re)
19251 (verilog-calc-1): Teach verilog-mode to properly indent after a
19252 DPI import/export statement that resides outside of a module.
19253 Reported by Kaushal Modi.
19254 (verilog-extended-complete-re): Update regexp to match both
19255 "DPI-C" and "DPI". Reported by Kaushal Modi.
19256
19257 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
19258
19259 substitute-command-keys a few more doc strings
19260 * lisp/allout.el (outlineify-sticky):
19261 * lisp/files.el (hack-one-local-variable--obsolete):
19262 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
19263 Use substitute-command-keys on some doc strings so that
19264 they don't use hard-coded key bindings or quoting styles.
19265
19266 Fix quoting in Fformat calls
19267 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
19268 (xpm_load, xpm_load_image, pbm_load, png_load_body)
19269 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
19270 (imagemagick_load, svg_load, svg_load_image, gs_load)
19271 (x_kill_gs_process):
19272 * src/lread.c (load_warn_old_style_backquotes):
19273 * src/xfaces.c (load_pixmap):
19274 * src/xselect.c (x_clipboard_manager_error_1):
19275 Quote diagnostics according to user preference when calling
19276 Fformat or its derivatives.
19277
19278 2015-08-15 Glenn Morris <rgm@gnu.org>
19279
19280 * admin/admin.el (set-version, set-copyright): Remove deleted files.
19281
19282 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
19283
19284 Allow describe-function helpers to access buffer-local values
19285 This will be used by cedet/mode-local.el `describe-mode-local-override'
19286 on `help-fns-describe-function-functions' in upstream CEDET.
19287 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
19288 `describe-function'.
19289 (describe-function): Bind it, save it on the help xref stack.
19290
19291 Handle pulse-background being nil
19292 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
19293 pulse-background, handle it being nil.
19294
19295 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
19296
19297 Fix "\`" confusion in Lisp strings
19298 * admin/authors.el (authors-canonical-author-name):
19299 Fix typo by using "\\`" not "\`" in string RE.
19300 * lisp/obsolete/complete.el (PC-complete-as-file-name):
19301 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
19302 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
19303 Use plain "`", not the equivalent-but-confusing "\`", in strings.
19304 * lisp/textmodes/texinfmt.el: Fix comment likewise.
19305
19306 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
19307
19308 * nt/zipdist.bat: Remove -- no longer used.
19309
19310 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
19311
19312 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
19313 rather than "getenforce".
19314 (tramp-sh-handle-set-file-selinux-context): Do not
19315 cache SELinux context if not all context components are given.
19316
19317 2015-08-15 Eli Zaretskii <eliz@gnu.org>
19318
19319 Add doc strings to 2 help-mode.el functions
19320 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
19321 strings. (Bug#21263)
19322
19323 Remove files used by the old MS-Windows specific build procedure
19324 * admin/unidata/makefile.w32-in:
19325 * doc/emacs/makefile.w32-in:
19326 * doc/lispintro/makefile.w32-in:
19327 * doc/lispref/makefile.w32-in:
19328 * doc/misc/makefile.w32-in:
19329 * leim/makefile.w32-in:
19330 * lib-src/makefile.w32-in:
19331 * lib/makefile.w32-in:
19332 * lisp/makefile.w32-in:
19333 * nt/INSTALL.OLD:
19334 * nt/config.nt:
19335 * nt/emacs-src.tags:
19336 * nt/envadd.bat:
19337 * nt/gmake.defs:
19338 * nt/makefile.w32-in:
19339 * nt/multi-install-info.bat:
19340 * nt/nmake.defs:
19341 * nt/paths.h:
19342 * src/makefile.w32-in: Files deleted.
19343 * nt/configure.bat: Remove everything except the blurb about the
19344 new build procedure.
19345 * make-dist: Remove references to makefile.w32-in in various
19346 directories, and to files in nt/ that were deleted.
19347 * etc/NEWS: Mention the fact that the files were dropped.
19348
19349 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
19350
19351 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
19352 (Bug#21248)
19353
19354 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
19355
19356 Default to inotify instead of gfile
19357 * configure.ac (with_file_notification): Fix typo that
19358 prevented suppression of file notification if HAVE_NS.
19359 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
19360 with_file_notification is 'yes' (Bug#21241).
19361 * etc/NEWS: Mention this.
19362
19363 Fix broken URLs for ISO-IR
19364 * doc/emacs/mule.texi (Charsets):
19365 * lisp/international/mule-conf.el:
19366 Fix broken URL (Bug#21248).
19367
19368 Low-level diagnostics now use ‘text-quoting-style’
19369 * src/doprnt.c (doprnt):
19370 Format ` and ' as per ‘text-quoting-style’.
19371 * src/xdisp.c (vmessage, message): Mention that the format should
19372 not contain ` or '.
19373
19374 Prefer ‘format’ to ‘substitute-command-keys’
19375 * src/character.h (uLSQM, uRSQM): Move here ...
19376 * src/doc.c (uLSQM, uRSQM): ... from here.
19377 * src/doc.c (Fsubstitute_command_keys):
19378 * src/syntax.c (Finternal_describe_syntax_value):
19379 * lisp/cedet/mode-local.el (mode-local-print-binding)
19380 (mode-local-describe-bindings-2):
19381 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
19382 * lisp/cus-theme.el (describe-theme-1):
19383 * lisp/descr-text.el (describe-text-properties-1, describe-char):
19384 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
19385 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
19386 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
19387 * lisp/emacs-lisp/package.el (describe-package-1):
19388 * lisp/faces.el (describe-face):
19389 * lisp/help-fns.el (help-fns--key-bindings)
19390 (help-fns--compiler-macro, help-fns--parent-mode)
19391 (help-fns--obsolete, help-fns--interactive-only)
19392 (describe-function-1, describe-variable):
19393 * lisp/help.el (describe-mode):
19394 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
19395 to implement quoting style. This generally makes the code simpler.
19396
19397 Extend ‘format’ to translate curved quotes
19398 This is a followup to the recent doc string change, and deals with
19399 diagnostics and the like. This patch is more conservative than
19400 the doc string change, in that the behavior of ‘format’ changes
19401 only if its first arg contains curved quotes and the user prefers
19402 straight or grave quotes. (Come to think of it, perhaps we should
19403 be similarly conservative with doc strings too, but that can wait.)
19404 The upside of this conservatism is that existing usage is almost
19405 surely unaffected. The downside is that we'll eventually have to
19406 change Emacs's format strings to use curved quotes in places where
19407 the user might want curved quotes, but that's a simple and
19408 mechanical translation that I'm willing to do later. (Bug#21222)
19409 * doc/lispref/help.texi (Keys in Documentation):
19410 Move description of text-quoting-style from here ...
19411 * doc/lispref/strings.texi (Formatting Strings):
19412 ... to here, and describe new behavior of ‘format’.
19413 * etc/NEWS: Describe new behavior.
19414 * lisp/calc/calc-help.el (calc-describe-thing):
19415 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
19416 * lisp/info.el (Info-find-index-name):
19417 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
19418 of recently-added curved quotes.
19419 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
19420 Move from here ...
19421 * src/lisp.h: ... to here.
19422 * src/doc.c (text_quoting_style): New function.
19423 (Fsubstitute_command_keys): Use it.
19424 * src/editfns.c (Fformat): Implement new behavior.
19425 * src/lisp.h (enum text_quoting_style): New enum.
19426
19427 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
19428
19429 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
19430 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
19431
19432 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
19433
19434 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
19435 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
19436
19437 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
19438
19439 Flush file properties in Tramp
19440 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
19441 (tramp-sh-handle-set-file-times):
19442 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
19443 (tramp-adb-handle-set-file-times): Flush the file properties of
19444 the directory.
19445
19446 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
19447
19448 * doc/emacs/misc.texi (Amusements): Fixed typo.
19449
19450 2015-08-14 Eli Zaretskii <eliz@gnu.org>
19451
19452 Don't miss warnings about removing string text properties while dumping
19453 * src/alloc.c (purecopy): Warn about removing a string's text
19454 properties even when the same string was already pure-copied
19455 earlier.
19456 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
19457 (elisp--xref-format-extra): Fix the commentary.
19458
19459 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19460
19461 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
19462
19463 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
19464
19465 * lisp/progmodes/compile.el: Use lexical-binding.
19466 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
19467
19468 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19469
19470 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
19471 * lisp/uniquify.el: Remove redundant `:group's.
19472
19473 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
19474
19475 * lisp/net/tramp-adb.el
19476 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
19477 result to prevent modification of the tramp-cache by side effects.
19478 Use the correct cache key.
19479
19480 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
19481
19482 Make add_to_log varargs
19483 * src/alloc.c (run_finalizer_handler):
19484 * src/charset.c (load_charset_map_from_vector):
19485 * src/nsimage.m (ns_load_image):
19486 * src/xfaces.c (load_pixmap, load_color2):
19487 Simplify, now that add_to_log has a variable number of args.
19488 * src/image.c (image_error): Take a variable number of args.
19489 Callers simplified.
19490 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
19491 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
19492 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
19493 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
19494
19495 Optional args for holiday-greek-orthodox-easter
19496 * etc/NEWS: Document this.
19497 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
19498 Add optional args N and STRING, mimicking the API and code of
19499 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
19500
19501 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
19502
19503 xref-find-definitions: Exclude more generic function items.
19504 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
19505 Add doc string.
19506 (cl--generic-find-defgeneric-regexp): New.
19507 (find-function-regexp-alist): Add it.
19508 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
19509 elisp-mode.el, change to search for ";;; Code:"
19510 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
19511 (find-function-regexp-alist): Add them.
19512 * lisp/progmodes/elisp-mode.el:
19513 (elisp--xref-format, elisp--xref-format-extra): Change back to
19514 defvar due to bug#21237.
19515 (elisp--xref-find-definitions): Exclude co-located default methods for
19516 generic functions. Also exclude implicitly declared defgeneric.
19517 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
19518 mode variables defined by 'define-minor-mode'.
19519 * test/automated/elisp-mode-tests.el: Declare generic functions, add
19520 tests for them.
19521 (xref-elisp-test-run): Fix bug.
19522 (emacs-test-dir): Improve initial value.
19523 (find-defs-defun-defvar-el): Don't expect defvar.
19524 (find-defs-feature-el): Match change to find-feature-regexp.
19525
19526 2015-08-13 Eli Zaretskii <eliz@gnu.org>
19527
19528 Improve warning about purecopy of strings with properties
19529 * src/alloc.c (purecopy): Show the offending string with the
19530 warning about removing its text properties.
19531
19532 2015-08-12 Alan Mackenzie <acm@muc.de>
19533
19534 Introduce new macros to cover Emacs's new names in cl-lib.el
19535 This also eliminates `mapcan' warnings in XEmacs.
19536 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
19537 characterise [X]Emacs versions.
19538 (top-level): Require either 'cl or 'cl-lib, depending on
19539 c--mapcan-status.
19540 Change this back to cc-external-require from an eval-when-compile
19541 require.
19542 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
19543 (c--delete-duplicates): New macros which expand into either old or new
19544 names.
19545 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
19546 rather than the old names.
19547 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
19548 rather than mapcan.
19549 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
19550 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
19551 depending on c--mapcan-status.
19552 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
19553 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
19554 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
19555 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
19556 (c-decl-block-key, c-keywords, c-keywords-obarray)
19557 (c-regular-keywords-regexp, c-primary-expr-regexp)
19558 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
19559 (c-known-type-key, c-nonlabel-token-key)
19560 (c-make-init-lang-vars-fun): Use the new macros rather than the old
19561 names.
19562
19563 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
19564
19565 loadhist.el (read-feature): Conform to completing-read
19566 * lisp/loadhist.el (read-feature): According to `completing-read'
19567 documentation, if collection is a list, then it must be a list of
19568 strings, not a list of symbols like before.
19569
19570 2015-08-12 David Kastrup <dak@gnu.org>
19571
19572 Deal gracefully with up-events (Bug#19746)
19573 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
19574 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
19575 those may easily be injected by user-level Lisp code.
19576 (read_key_sequence): Discard unbound up-events like unbound
19577 down-events: they are even more likely only relevant for special
19578 purposes.
19579 While Emacs will not produce up-events on its own currently (those are
19580 converted to drag or click events before being converted to
19581 Lisp-readable structures), the input queue can be made to contain them
19582 by synthesizing events to `unread-command-events'. Emacs should deal
19583 consistently with such events.
19584
19585 2015-08-12 Eli Zaretskii <eliz@gnu.org>
19586
19587 Fix display of thin lines whose newline has line-height property of t
19588 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
19589 and descent values of non-empty glyph rows, since they could have
19590 forced low values deliberately. (Bug#21243)
19591
19592 2015-08-12 Richard Stallman <rms@gnu.org>
19593
19594 Offer to combine multiple To or CC fields.
19595 * lisp/mail/sendmail.el (mail-combine-fields): New function.
19596 (mail-send): Call 'mail-combine-fields'.
19597
19598 Don't decrypt encrypted files.
19599 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
19600
19601 Handle encrypted mbox files.
19602 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
19603 the mbox file if necessary.
19604
19605 Re-enable mime processing after decryption. Add 'decrypt' keyword.
19606 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
19607 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
19608 In a mime message, reenable Mime and show the parts that
19609 were shown before.
19610 Add keyword "decrypt" if anything decrypted.
19611
19612 epa-inhibit inhibits auto-recognition of .gpg files
19613 * lisp/epa-file.el (epa-inhibit): New variable.
19614 (epa-file-handler): Check epa-inhibit.
19615
19616 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
19617
19618 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
19619
19620 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
19621
19622 Respect python.el imenu when semantic-mode is off
19623 Fixes bug#21220
19624 * lisp/cedet/semantic/wisent/python.el: Do not force
19625 wisent-python-default-setup on python-mode-hook.
19626
19627 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
19628
19629 Give names to Unicode code points in C code
19630 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
19631 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
19632 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
19633 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
19634 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
19635 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
19636 (OBJECT_REPLACEMENT_CHARACTER):
19637 New named constants for Unicode code points.
19638 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
19639 * src/composite.c (char_composable_p):
19640 * src/lread.c (readevalloop, read1):
19641 * src/xdisp.c (get_next_display_element):
19642 Use them.
19643 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
19644 Remove; now in character.h.
19645
19646 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
19647
19648 elisp--xref-find-definitions handle cl-defstuct default constructor
19649 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
19650 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
19651 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
19652 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
19653 from xref-elisp-test for ease of debugging.
19654 (xref-elisp-deftest): Rename from xref-elisp-test.
19655 (find-defs-constructor): New test.
19656 (find-defs-defgeneric-el): Match batch test config.
19657 (compile): Required for find-defs compilation-minor-mode test.
19658 (find-defs-defvar-el): Match code change.
19659 (find-defs-face-el): Match code change.
19660 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
19661 Improve doc string.
19662
19663 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
19664
19665 * lisp/replace.el (perform-replace): Document `replacements'.
19666 (perform-replace): Move the description of the format of `replacements'
19667 from the body's comment to the doc string.
19668
19669 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
19670
19671 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
19672 sequence. Recent adb version send initial escape sequences, even
19673 when terminal type is set to TERM=dumb.
19674
19675 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
19676
19677 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
19678 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
19679 Function deleted.
19680 (elisp--xref-format-cl-defmethod): New defconst.
19681 (find-feature-regexp, find-alias-regexp): New defcustoms.
19682 (elisp--xref-make-xref): New function.
19683 (elisp--xref-find-definitions): Rewrite using the above, handle many
19684 more cases. Always output all available definitions.
19685 (xref-location-marker): No need for special cases.
19686 * test/automated/elisp-mode-tests.el: Add more tests of
19687 elisp--xref-find-definitions, improve current tests.
19688
19689 2015-08-10 Eli Zaretskii <eliz@gnu.org>
19690
19691 Fix recording of events pushed onto unread-command-events
19692 * src/keyboard.c (read_char): Make sure events read from
19693 unread-command-events and unread-post-input-method-events are
19694 always recorded by record_char. Reported by David Kastrup
19695 <dak@gnu.org>, see
19696 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
19697
19698 2015-08-10 Samer Masterson <samer@samertm.com>
19699
19700 Set file buffer as current for "--file"
19701 * lisp/startup.el (command-line-1): Set file buffer as current before
19702 it is displayed so it can be used with options like "--eval".
19703 (Bug#21095)
19704
19705 2015-08-10 Eli Zaretskii <eliz@gnu.org>
19706
19707 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
19708 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
19709 after setting LC_ALL to the desired locale, to avoid affecting how
19710 numbers are read and printed. (Bug#21223)
19711
19712 2015-08-10 Alan Mackenzie <acm@muc.de>
19713
19714 Fix "Invalid search bound (wrong side of point)" in fontification
19715 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
19716 an initialization expression, check point is not beyond the
19717 fontification limit.
19718
19719 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
19720
19721 Fix DPI calculation when Xft/DPI is default
19722 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
19723 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
19724 Remove unnecessary cast while we're in the neighborhood.
19725
19726 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
19727
19728 Add project-vc-search-path and project-vc-ignores
19729 * lisp/progmodes/project.el (project-vc): New group.
19730 (project-vc-search-path, project-vc-ignores): New variables.
19731 (project--value-in-dir): Utility function.
19732 (project-search-path, project-ignores): Use them.
19733 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
19734 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
19735
19736 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
19737
19738 Fix some minor quoting issues with grave accent
19739 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
19740 Remove redundant quotes.
19741 * src/doc.c (uLSQM, uRSQM): New macros.
19742 * src/doc.c (Fsubstitute_command_keys):
19743 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
19744 preference for quotes rather than hardcoding the ‘grave’ style.
19745 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
19746 (re_match_2_internal) [DEBUG]: In debugging output, quote C
19747 strings with "...", not `...'.
19748
19749 ChangeLog.2 ignores remote-tracking merges
19750 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
19751 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
19752 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
19753
19754 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
19755
19756 Use kpsewhich in ffap-latex-mode, if available
19757 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
19758 (ffap-latex-mode): Use kpsewhich if available.
19759
19760 ffap: disallow braces in filenames for tex modes
19761 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
19762 braces in tex-related modes.
19763
19764 Remove useless backslashes from ffap-string-at-point-mode-alist
19765 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
19766 misleading backslashes from default value.
19767
19768 Augment docstring of ffap-string-at-point-mode-alist
19769 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
19770 and END are handled.
19771
19772 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
19773
19774 * lisp/org/org-src.el (org-edit-src-code)
19775 (org-edit-fixed-width-region):
19776 * lisp/simple.el (completion-setup-function):
19777 Remove calls to substitute-command-keys that always just return
19778 their argument.
19779
19780 2015-08-09 Daiki Ueno <ueno@gnu.org>
19781
19782 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
19783 (Bug#21210)
19784
19785 2015-08-09 Ivan Kanis <ivan@kanis.fr>
19786
19787 Fix link to source code in help window
19788 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
19789 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
19790 'No longer include timestamp in header of .elc files'. Add code
19791 that will return .el source file in load-path.
19792
19793 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
19794
19795 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
19796 Respect `isearch-lax-whitespace' when searching through
19797 `isearch-word'.
19798
19799 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19800
19801 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
19802
19803 * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
19804 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
19805 (org-set-regexps-and-options, org-assign-fast-keys)
19806 (org-contextualize-keys, org-contextualize-validate-key)
19807 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
19808 (org-find-olp, org-find-exact-heading-in-directory)
19809 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
19810 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
19811 (org-replace-escapes): Use dolist.
19812 (org-mode): Optimize away XEmacs-only code.
19813 (org-refile-get-targets): Remove unused var `f'.
19814 (org-fast-todo-selection): Remove unused var `e'.
19815 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
19816 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
19817 (org-format-latex): Use dolist. Remove unused var `e'.
19818 (org-toggle-heading): Access vars lexically rather than dynamically.
19819 (org-backward-sentence, org-forward-sentence, org-meta-return)
19820 (org-kill-line): Mark arg as unused.
19821 (org-submit-bug-report): Silence compiler warning.
19822 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
19823 (org-get-cursor-date): Remove unused var `tm'.
19824 (org-comment-or-uncomment-region): Use standard name `_'.
19825 (reftex-docstruct-symbol, reftex-cite-format): Declare to
19826 silence byte-compiler.
19827 (org-reftex-citation): Add `org--' prefix to dynamically scoped
19828 `rds' var.
19829
19830 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
19831
19832 Electric quote if coding is undecided or no conv
19833 * lisp/electric.el (electric--insertable-p): Also say that a
19834 string is insertable if the buffer file coding system is undecided
19835 or uses no conversion, as curved quotes will work in either case.
19836
19837 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
19838
19839 2015-08-08 Eli Zaretskii <eliz@gnu.org>
19840
19841 Fix overlay string display regressions introduced in Emacs 24.5
19842 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
19843 buffer position, if we move the iterator to a new position as
19844 result of jumping over text covered by a "replacing" display
19845 property.
19846 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
19847
19848 Support recovery from C stack overflow on MS-Windows
19849 * src/w32fns.c (w32_reset_stack_overflow_guard)
19850 (stack_overflow_handler): New functions for handling C stack
19851 overflow exceptions.
19852 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
19853 specially, and zero out except_addr if we do.
19854 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
19855 mode.
19856 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
19857 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
19858 the MinGW build, but the code guarded by that is for Posix hosts.
19859 * src/keyboard.c (command_loop) [WINDOWSNT]:
19860 Call w32_reset_stack_overflow_guard.
19861 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
19862 (sigsetjmp): New macro.
19863 (w32_reset_stack_overflow_guard): Declare the prototype.
19864 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
19865
19866 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
19867
19868 Improve error signalling for seq-subseq
19869 * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
19870 when indexes are too large, but to silently ignore numbers which
19871 are too negative for lists. String and vector handling errors in
19872 both cases. This has been regularized. Error signaling behavior
19873 has been explicitly added to the doc string.
19874
19875 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
19876 therefore also impacted by this change. Update the doc string
19877 to reflect this.
19878
19879 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
19880 added for these exceptional cases, as well as one non exceptional
19881 base case.
19882
19883 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
19884
19885 Improve error checking in tramp-adb.el
19886 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
19887 Improve error checking. "ls -l" on Android in Enforcing mode can
19888 print "lstat './FILENAME failed: Permission denied".
19889
19890 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19891
19892 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
19893 non-struct vectors.
19894
19895 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
19896
19897 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
19898 * lisp/window.el: Fix typo that broke build.
19899 (display-buffer--action-function-custom-type):
19900 Add `display-buffer-use-some-frame'.
19901 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
19902
19903 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
19904 * lisp/window.el (display-buffer-use-some-frame): Add support for
19905 'inhibit-same-window in alist.
19906 * doc/lispref/windows.texi (display-buffer-use-some-frame):
19907 Doc support for 'inhibit-same-window in alist.
19908
19909 2015-08-07 Eli Zaretskii <eliz@gnu.org>
19910
19911 Avoid infinite loop in display of invisible text in strings
19912 * src/xdisp.c (handle_invisible_prop): If the next change of
19913 invisibility spec does not mean the beginning of a visible text,
19914 update the string position from which to start the search for the
19915 next invisibility change. This avoids an infinite loop when we
19916 have more than one invisibility spec that are made inactive by
19917 buffer-invisibility-spec. Simplify code. (Bug#21200)
19918 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
19919 for the situation that caused bug #21200.
19920
19921 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
19922
19923 * lisp/emacs-lisp/package.el: Simplify describe-package-1
19924 (package-help-section-name-face): New face.
19925 (package--print-help-section): New function.
19926 (describe-package-1): Refactor section printing.
19927 (package-make-button): Use face instead of font-lock-face, which
19928 doesn't work on buttons.
19929
19930 * lisp/emacs-lisp/package.el: Define custom faces
19931 (package-name-face, package-description-face)
19932 (package-status-built-in-face, package-status-external-face)
19933 (package-status-available-face, package-status-new-face)
19934 (package-status-held-face, package-status-disabled-face)
19935 (package-status-installed-face, package-status-dependency-face)
19936 (package-status-unsigned-face, package-status-incompat-face)
19937 (package-status-avail-obso-face): New faces.
19938 (package-menu--print-info-simple): Use them.
19939
19940 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
19941
19942 Fix some confusion with ‘format’
19943 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
19944 (allout-graphics-modification-handler):
19945 Protect arbitrary string in a format context with "%s" format.
19946 * lisp/avoid.el:
19947 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
19948 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
19949 * lisp/erc/erc-button.el (erc-button-beats-to-time):
19950 * lisp/gnus/message.el (message-send-form-letter):
19951 * lisp/org/ob-core.el (org-babel-check-evaluate)
19952 (org-babel-confirm-evaluate):
19953 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
19954 * lisp/org/ox-latex.el (org-latex-compile):
19955 * lisp/org/ox-man.el (org-man-compile):
19956 * lisp/org/ox-odt.el (org-odt-template):
19957 * lisp/org/ox-texinfo.el (org-texinfo-compile):
19958 * lisp/progmodes/prolog.el (prolog-help-info)
19959 (prolog-view-predspec):
19960 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
19961 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
19962 * lisp/textmodes/rst.el (rst-replace-lines):
19963 Change (message (format ...)) to (message ...), and likewise
19964 for ‘error’. This lessens the probability of confusion when the
19965 output of ‘format’ contains ‘%’.
19966
19967 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
19968
19969 * lisp/replace.el (replace-character-fold): Default to nil.
19970
19971 * lisp/character-fold.el: Fix lax whitespace.
19972 (character-fold-table): Don't make space match other whitespace chars.
19973 (character-fold-to-regexp): Simplify lax behavior.
19974
19975 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
19976
19977 Preserve window point in xref-find-definitions-other-window
19978 Fix the problem reported by Ingo Logmar in
19979 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
19980 * lisp/progmodes/xref.el (xref--goto-char): Extract from
19981 xref--goto-location.
19982 (xref--pop-to-location): Use it. Replace xref--goto-location with
19983 a direct xref-location-marker call.
19984 (xref--show-location): Likewise.
19985 (xref--display-position): Use xref--goto-char.
19986
19987 * lisp/progmodes/project.el: Add a paragraph to the front matter.
19988
19989 2015-08-04 David Kastrup <dak@gnu.org>
19990
19991 * lisp/vc/emerge.el (emerge-show-file-name):
19992 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
19993 (vhdl-comment-insert, vhdl-hooked-abbrev):
19994 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
19995 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
19996 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
19997 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
19998 * lisp/obsolete/vip.el (vip-escape-to-emacs)
19999 (vip-prefix-arg-value, vip-prefix-arg-com):
20000 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
20001 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
20002 (quail-tibkey-update-translation):
20003 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
20004 * lisp/leim/quail/lao.el (quail-lao-update-translation):
20005 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
20006 (quail-japanese-self-insert-and-switch-to-alpha):
20007 * lisp/leim/quail/hangul.el (hangul2-input-method)
20008 (hangul3-input-method, hangul390-input-method):
20009 * lisp/language/hanja-util.el (hangul-to-hanja-char):
20010 * lisp/international/robin.el (robin-input-method):
20011 * lisp/international/quail.el (quail-start-translation)
20012 (quail-start-conversion):
20013 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
20014 (gnus-article-describe-key-briefly):
20015 * lisp/eshell/em-hist.el (eshell-list-history):
20016 * lisp/term.el (term-dynamic-list-input-ring)
20017 (term-dynamic-list-completions):
20018 * lisp/subr.el (momentary-string-display):
20019 * lisp/simple.el (read-quoted-char):
20020 * lisp/pcomplete.el (pcomplete-show-completions):
20021 * lisp/kmacro.el (kmacro-repeat-on-last-key):
20022 * lisp/info.el (Info-summary):
20023 * lisp/ehelp.el (electric-help-command-loop):
20024 * lisp/ebuff-menu.el (electric-buffer-list)
20025 (Electric-buffer-menu-exit):
20026 * lisp/double.el (double-translate-key):
20027 * lisp/comint.el (comint-dynamic-list-input-ring)
20028 (comint-dynamic-list-completions): Do not overwrite preexisting
20029 contents of `unread-command-events' when putting new events into it.
20030
20031 2015-08-04 Daniel Colascione <dancol@dancol.org>
20032
20033 Improve ansi-color filtering of unrecognized escape sequences
20034 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
20035 escape sequences.
20036 (ansi-color-filter-apply, ansi-color-apply): Filter out
20037 unrecognized escape sequences.
20038
20039 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
20040
20041 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
20042 definitions to `easy-menu-define', improve a couple to account for
20043 async, and add a couple of new commands.
20044
20045 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
20046
20047 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
20048
20049 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
20050
20051 Add new 'calendar-weekend-days' option
20052 Make the days receiving the 'calendar-weekend-header' face freely
20053 customizable, as they differ by region/culture.
20054 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
20055 new variable.
20056 * lisp/calendar/calendar.el (calendar-generate-month): New variable
20057 calendar-weekend-days to customize day header fontification.
20058
20059 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
20060
20061 Redo text-quoting-style variable
20062 Rename help-quote-translation to text-quoting-style,
20063 and use symbols rather than characters as values.
20064 This follows suggestions along these lines by Alan Mackenzie in:
20065 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
20066 and by Drew Adams in:
20067 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
20068 * doc/lispref/help.texi (Keys in Documentation)
20069 * etc/NEWS:
20070 * lisp/cus-start.el (standard):
20071 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
20072 Document and/or implement the new behavior instead of the old.
20073 (syms_of_doc): New symbols 'grave' and 'straight'.
20074
20075 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
20076
20077 nnimap.el: Use IMAP MOVE extension if available
20078 * lisp/gnus/nnimap.el (nnimap-request-move-article)
20079 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
20080 Use MOVE extension if available.
20081
20082 nnimap.el: Explicitly ask for server capabilities
20083 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
20084 capabilities will be returned in the login-result.
20085
20086 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
20087
20088 Treat help strings like other doc strings
20089 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
20090 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
20091 substitute-command-keys.
20092 * src/keyboard.c (show_help_echo, parse_menu_item): Call
20093 substitute-command-keys on the help string before displaying it.
20094
20095 Also mention "curly quotes"
20096 See Drew Adams's email in:
20097 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
20098 * doc/lispref/help.texi (Keys in Documentation):
20099 Add index entry "curly quotes".
20100 * etc/NEWS: Use the phrase "curly quotes" too.
20101
20102 ede-proj-target-makefile docstring tweaks
20103 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
20104 Consistently use "all:" to describe the all: target,
20105 replacing three different and confusingly-quoted usages.
20106
20107 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
20108
20109 Don't abort emacsclientw when -a was specified
20110 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
20111 out if we are in emacsclientw and -a was specified.
20112
20113 2015-08-02 Eli Zaretskii <eliz@gnu.org>
20114
20115 Fix handling of 1st keystroke on MS-Windows
20116 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
20117 This is needed to correctly handle the session's first keystroke,
20118 if it has any modifiers. (Bug#19994)
20119
20120 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
20121
20122 Substitute some customization etc. doc strings
20123 These changes apply substitute-command-keys to some
20124 doc strings that were going through untranslated
20125 when creating customization or other widgets.
20126 * lisp/cus-edit.el (custom-group-value-create):
20127 * lisp/wid-edit.el (widget-default-create):
20128 (widget-push-button-value-create):
20129 Treat the widget tag as a doc string.
20130 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
20131 Treat the :documentation value as a doc string.
20132 * lisp/wid-edit.el (widget-choose):
20133 Treat the choice names as doc strings.
20134 (widget-default-create): Treat the :doc value as a doc string.
20135 (widget-toggle-value-create): Treat the :on and :off values
20136 as doc strings.
20137 (widget-documentation-string-value-create):
20138 Substitute the doc string.
20139
20140 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
20141
20142 Add a second argument to project-ignores
20143 * lisp/progmodes/project.el (project-ignores): Add a second
20144 argument DIR.
20145 * lisp/progmodes/project.el (project-ignores): Only include the VC
20146 ignores if DIR is the VC root.
20147 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
20148
20149 2015-08-01 Eli Zaretskii <eliz@gnu.org>
20150
20151 Prevent incorrect display when 'line-spacing' variable is set
20152 * src/xdisp.c (try_window_id): Give up this optimization if the
20153 buffer has its 'line-spacing' variable set non-nil.
20154
20155 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
20156
20157 Don't pass NOVISIT to find-file
20158 * lisp/progmodes/etags.el (next-file):
20159 Don't pass NOVISIT to find-file (bug#21175).
20160
20161 Ignore buffer restriction for tags-loop-eval
20162 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
20163 restriction (bug#21167).
20164
20165 2015-08-01 Eli Zaretskii <eliz@gnu.org>
20166
20167 Fix a thinko in 'ffap-gopher-at-point'
20168 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
20169
20170 Honor 'line-spacing' for empty lines
20171 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
20172 property and 'line-spacing' frame parameter or variable or
20173 property for empty lines, by doing the same processing as in
20174 x_produce_glyph for newline characters. (Bug#21165)
20175
20176 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
20177
20178 Simplify by assuming C99 integer division
20179 * src/floatfns.c (ceiling2, floor2, truncate2):
20180 Assume C99 (i.e., Fortran) semantics for integer division.
20181 This simplifies the code.
20182
20183 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
20184
20185 Don't overflow if computing approximate percentage
20186 * lisp/align.el (align-region):
20187 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
20188 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
20189 * lisp/cus-edit.el (custom-buffer-create-internal):
20190 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
20191 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
20192 (checkdoc-next-message-error):
20193 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
20194 * lisp/epa.el (epa-progress-callback-function):
20195 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
20196 * lisp/ffap.el (ffap-menu-rescan):
20197 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
20198 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
20199 * lisp/gnus/nneething.el (nneething-retrieve-headers):
20200 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
20201 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
20202 * lisp/gnus/nnml.el (nnml-retrieve-headers):
20203 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
20204 * lisp/gnus/nntp.el (nntp-retrieve-headers)
20205 (nntp-retrieve-articles):
20206 * lisp/imenu.el (imenu--relative-position):
20207 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
20208 (skkdic-convert-okuri-nasi):
20209 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
20210 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
20211 * lisp/org/org-list.el (org-update-checkbox-count):
20212 * lisp/org/org.el (org-table-map-tables)
20213 (org-update-parent-todo-statistics):
20214 * lisp/play/decipher.el (decipher-insert-frequency-counts)
20215 (decipher-analyze-buffer):
20216 * lisp/profiler.el (profiler-format-percent):
20217 * lisp/progmodes/cc-cmds.el (c-progress-update):
20218 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
20219 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
20220 (idlwave-list-load-path-shadows):
20221 * lisp/progmodes/opascal.el (opascal-step-progress):
20222 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
20223 (vhdl-scan-directory-contents):
20224 * lisp/textmodes/bibtex.el (bibtex-progress-message):
20225 * lisp/textmodes/flyspell.el (flyspell-small-region)
20226 (flyspell-external-point-words):
20227 * lisp/textmodes/table.el (table-recognize):
20228 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
20229 progress-report percentages and the like. This avoids problems
20230 if (* 100 NUMERATOR) would overflow.
20231 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
20232 * lisp/gnus/registry.el (registry-reindex):
20233 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
20234 * lisp/descr-text.el (describe-char):
20235 * lisp/org/org-colview.el (org-nofm-to-completion):
20236 * lisp/ps-print.el (ps-plot):
20237 * lisp/simple.el (what-cursor-position):
20238 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
20239 more-complicated and less-accurate approximation.
20240
20241 Fix some int overflows in profiler.c
20242 * src/profiler.c (make_log): Make args EMACS_INT, not int,
20243 to avoid unwanted behavior on 'int' overflow.
20244 (make_log, evict_lower_half, record_backtrace):
20245 Use ptrdiff_t, not int, for object indexes.
20246
20247 Port to pedantic memcpy
20248 * src/keyboard.c (menu_bar_items, tool_bar_items):
20249 * src/xrdb.c (magic_db):
20250 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
20251
20252 Merge from gnulib
20253 This incorporates:
20254 2015-07-29 time_rz: port to pedantic memcpy
20255 * lib/time_rz.c: Copy from gnulib.
20256
20257 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
20258
20259 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
20260 When updating the very last entry, tabulated-list-print would
20261 erase it and then try to look at the next one (which obviously
20262 isn't there).
20263
20264 2015-07-31 Eli Zaretskii <eliz@gnu.org>
20265
20266 Allow to use the old key processing code on MS-Windows
20267 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
20268 New variable.
20269 (w32_wnd_proc): Use it to invoke the old code that processed
20270 character keys, as fallback, when this variable is non-nil.
20271 Fix typos in comments. (Bug#19994)
20272
20273 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
20274
20275 Improve handling of Unicode keyboard input on MS-Windows
20276 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
20277 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
20278 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
20279 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
20280 successful, don't call TranslateMessage. (Bug#19994)
20281
20282 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
20283
20284 Fix default-directory in changeset diffs after vc-print-log
20285 * lisp/vc/log-view.el (log-view-diff-common): Move the
20286 revision-granularity check back into log-view-diff-changeset.
20287 (log-view-diff-changeset): Bind default-directory to the current
20288 VC root.
20289
20290 Rename project-directories to project-roots
20291 * lisp/progmodes/project.el (project-search-path-function)
20292 (project-search-path): Update the docstring.
20293 (project-directories): Rename to `project-roots', update all
20294 callers and implementations accordingly.
20295 (project-root): Remove.
20296 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
20297 as the default file mask.
20298
20299 2015-07-30 Eli Zaretskii <eliz@gnu.org>
20300
20301 Support long URLs in w32-shell-execute
20302 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
20303 and filename_to_ansi to convert the DOCUMENT argument, as it could
20304 be a URL that is not limited to MAX_PATH characters. Instead, use
20305 MultiByteToWideChar directly, and allocate heap storage as
20306 required to accommodate the converted string. Likewise with
20307 non-Unicode operation. Ensure OPERATION is null-terminated, even
20308 if it is longer than 32K bytes. (Bug#21158)
20309
20310 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
20311
20312 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
20313
20314 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
20315
20316 Add docs for display-buffer action display-buffer-use-some-frame
20317 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
20318 * doc/lispref/windows.texi (Display Action Functions):
20319 Add display-buffer-use-some-frame.
20320 * etc/NEWS: Mention display-buffer-use-some-frame.
20321
20322 Add display-buffer action display-buffer-use-some-frame
20323 * lisp/window.el (display-buffer-use-some-frame): New.
20324
20325 Handle vc-mtn error more gently
20326 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
20327 branch is nil.
20328
20329 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
20330
20331 Fix Tramp problems with multihops, and nc
20332 * lisp/net/tramp-cache.el (tramp-get-file-property)
20333 (tramp-set-file-property, tramp-flush-file-property)
20334 (tramp-get-connection-property, tramp-set-connection-property)
20335 (tramp-flush-connection-property): Remove hop from vector.
20336 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
20337 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
20338 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
20339 netstat to 60".
20340 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
20341 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
20342 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
20343 Keep hop in result.
20344 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
20345 Add hop tests.
20346
20347 2015-07-29 Eli Zaretskii <eliz@gnu.org>
20348
20349 Resurrect highlighting of repeated words by Flyspell Mode
20350 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
20351 characters between point and the doublon candidate, so that
20352 flyspell-word-search-backward finds it. (Bug#21157)
20353
20354 Fix redisplay of large images on expose events
20355 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
20356 between signed negative values and unsigned values. This
20357 prevented redisplay on expose events when the window showed a very
20358 large image.
20359
20360 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
20361
20362 Remove unnecessary stack overflow dependency
20363 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
20364 Don't worry about $ac_cv_header_sys_resource_h and
20365 $ac_cv_func_getrlimit, as they're no longer needed for this.
20366 Problem reported by Eli Zaretskii in:
20367 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
20368
20369 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
20370
20371 Pacify compilation -Wincompatible-pointer-types warnings
20372 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
20373 warning.
20374 (CompareStringW_Proc): New typedef.
20375 (w32_compare_strings): Use it, to pacify compiler warnings under
20376 "-Wincompatible-pointer-types".
20377 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
20378 (GetDiskFreeSpaceExA_Proc): New typedefs.
20379 (Ffile_system_info): Use them, to pacify compiler warnings under
20380 "-Wincompatible-pointer-types".
20381
20382 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
20383
20384 Fix subscript error in calculate_direct_scrolling
20385 Use slightly-longer cost vectors. Without this change,
20386 calculate_direct_scrolling can have a subscript violation when
20387 FRAME_LINES (frame) <= delta.
20388 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
20389 (line_ins_del, do_line_insertion_deletion_costs):
20390 Allocate and use slightly-larger cost vectors, ones based on
20391 FRAME_TOTAL_LINES instead of FRAME_LINES.
20392
20393 Fix uninitalized value in encode_coding_object
20394 * src/coding.c (encode_coding_object): Also initialize
20395 coding->src_pos and coding->src_pos_byte when NILP (src_object).
20396 This avoids later use of uninitialized storage.
20397
20398 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
20399
20400 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
20401 (Bug#21141)
20402
20403 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
20404
20405 Merge from gnulib
20406 This incorporates:
20407 2015-07-27 time_rz: port better to MinGW
20408 2015-07-27 time: port __need_time_t to MinGW
20409 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
20410 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
20411 * lib/time-internal.h: New file, from gnulib.
20412
20413 2015-07-27 Eli Zaretskii <eliz@gnu.org>
20414
20415 Handle NULL pointers in w32heap.c allocation routines
20416 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
20417 freeable".
20418 (realloc_after_dump, realloc_before_dump, free_before_dump):
20419 Handle NULL pointers gracefully, as Emacs now seems to expect that.
20420
20421 Fix Cairo build without PNG
20422 * src/image.c: Define PNG function when USE_CAIRO is defined, even
20423 if HAVE_PNG is not. (Bug#21133)
20424
20425 MS-Windows follow-up for recent TZ-related changes
20426 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
20427 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
20428 picking up 'struct timespec' from pthread.h, if it is installed on
20429 the user's system. We want either the definitions from MinGW
20430 system headers, if available, or the Gnulib replacements if not.
20431 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
20432 lib/time.h.
20433 * lib/time.in.h: Don't let __need_* symbols affect what happens on
20434 MinGW. These symbols are defined by MinGW system headers, but we
20435 don't want that to affect whether Gnulib portions of the header
20436 are or aren't used.
20437
20438 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
20439
20440 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
20441
20442 New optional ZONE arg for format-time-string etc.
20443 This simplifies time conversions in other time zones.
20444 It also prevents display-time-world tampering with TZ (Bug#21020).
20445 * admin/admin.el (add-release-logs):
20446 Use improved add-log-time-format API.
20447 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
20448 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
20449 * configure.ac (tzalloc): Remove test for this, since
20450 Emacs no longer uses HAVE_TZALLOC directly.
20451 * doc/lispref/os.texi (Time of Day, Time Conversion)
20452 (Time Parsing):
20453 * etc/NEWS: Document the new behavior.
20454 Merge from gnulib, incorporating:
20455 2015-07-25 strftime: fix newly-introduced bug on Solaris
20456 2015-07-23 fprintftime, strftime: use timezone_t args
20457 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
20458 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
20459 * m4/time_h.m4:
20460 Update from gnulib.
20461 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
20462 New files from gnulib.
20463 * lisp/time-stamp.el (time-stamp-string):
20464 * lisp/time.el (display-time-world-list)
20465 (display-time-world-display):
20466 Use new API, with time zone arg.
20467 * lisp/time.el (display-time-world-display):
20468 Fix race when current-time advances while we're running.
20469 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
20470 (add-log-iso8601-time-string): Accept optional time zone arg.
20471 * lisp/vc/add-log.el (add-change-log-entry):
20472 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
20473 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
20474 Add rules for the time module, since they're now needed
20475 for tzalloc etc.
20476 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
20477 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
20478 * src/editfns.c: Include errno.h.
20479 (set_time_zone_rule): Omit unnecessary forward decl.
20480 (initial_tz): Remove, replacing with ...
20481 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
20482 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
20483 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
20484 (tzlookup): New static functions.
20485 (init_editfns): New arg DUMPING. All uses changed.
20486 (init_editfns): Omit most initialization if dumping, not if
20487 !initialized. Initialize wall_clock_tz and local_tz.
20488 (emacs_nmemftime, format_time_string): Time zone argument can now
20489 be any time zone, not just a boolean for UTC or local time. All
20490 callers changed.
20491 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
20492 (Fcurrent_time_zone): New optional arg ZONE.
20493 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
20494 the same form as with the other new additions.
20495 (decode_time_zone): Remove; no longer needed.
20496 (tzvalbuf): Now file-scope.
20497 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
20498 (syms_of_editfns): Define Qwall.
20499 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
20500 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
20501 [!HAVE_TZALLOC]:
20502 Remove; now supplied by gnulib.
20503 * src/emacs.c (main):
20504 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
20505
20506 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
20507
20508 Fix infinite loop in delete-consecutive-dups
20509 * lisp/subr.el (delete-consecutive-dups): Work even if the last
20510 element is nil (Bug#20588). Avoid rescan of a circular list in
20511 deletion of last element.
20512
20513 2015-07-26 Martin Rudalics <rudalics@gmx.at>
20514
20515 Have `x-frame-geometry' return nil for terminal and initial
20516 frames (Bug#21132)
20517 * src/nsfns.m (Fx_frame_geometry):
20518 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
20519 terminal frames.
20520 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
20521 (Fx_frame_geometry): Return nil for terminal frames
20522
20523 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
20524
20525 * etc/tutorials/TUTORIAL.ja: Improve translation.
20526
20527 2015-07-25 Eli Zaretskii <eliz@gnu.org>
20528
20529 Avoid crashes when w32 GUI functions are called in -batch
20530 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
20531 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
20532 FRAME_W32_WINDOW for initial frame. (Bug#21132)
20533
20534 Fix flyspell-check-previous-highlighted-word
20535 * lisp/textmodes/flyspell.el
20536 (flyspell-check-previous-highlighted-word): Really accept a
20537 numeric argument, as the doc string describes. Fix an off-by-one
20538 error in looking up overlays, so invocation with point immediately
20539 after a word would check that word. Clarify the doc string as
20540 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
20541
20542 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
20543
20544 Minor cleanup in tramp-tests.el
20545 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
20546 Implement using the documented interface
20547 `tramp-connection-properties', rather than with internal functions.
20548
20549 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
20550
20551 Pass lambdas to `skeleton-read'
20552 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
20553 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
20554 lambdas to `skeleton-read' (bug#20386).
20555
20556 2015-07-24 Eli Zaretskii <eliz@gnu.org>
20557
20558 * INSTALL (DETAILED BUILDING AND INSTALLATION):
20559 Mention --without-imagemagick.
20560
20561 Don't require GUI frames and mouse for Flyspell menus
20562 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
20563 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
20564 support, since pop-up menus work with text terminals and can be
20565 controlled via the keyboard.
20566
20567 Improve documentation of Flyspell commands
20568 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
20569 can be invoked via the keyboard. Mention those commands by name
20570 and add them to the fn index. (Bug#21125)
20571
20572 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
20573
20574 Fix some Tramp problems with HP-UX
20575 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
20576 Add "tab0" to stty call.
20577 * test/automated/tramp-tests.el (tramp-persistency-file-name):
20578 Set to nil.
20579 (tramp--test-hpux-p): New defun.
20580 (tramp--test-utf8): Use it.
20581
20582 2015-07-22 Glenn Morris <rgm@gnu.org>
20583
20584 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
20585
20586 2015-07-22 Eli Zaretskii <eliz@gnu.org>
20587
20588 Fix point positioning in ffap-next-guess
20589 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
20590 as our callers expect. This was clobbered as part of fixing
20591 bug#5673. (Bug#21107)
20592 (ffap-gopher-at-point): Set ffap-string-at-point-region.
20593
20594 2015-07-22 Martin Rudalics <rudalics@gmx.at>
20595
20596 * lisp/window.el (even-window-sizes): Fix customization type.
20597
20598 Optionally even widths of `display-buffer' windows. (Bug#21100)
20599 * lisp/window.el (quit-restore-window): Restore width if
20600 requested.
20601 (display-buffer-record-window): Record width when window is
20602 reused and horizontally combined.
20603 (even-window-sizes): New option to allow evening window widths.
20604 (even-window-heights): Defalias to `even-window-sizes'.
20605 (window--even-window-heights): Rename to
20606 `window--even-window-sizes'. Handle side-by-side windows.
20607 (display-buffer-use-some-window): Call `window--even-window-sizes'
20608 instead of `window--even-window-heights'.
20609 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
20610 * doc/lispref/windows.texi (Choosing Window Options): Describe
20611 `even-window-sizes'.
20612 (Coordinates and Windows): Fix typo.
20613
20614 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
20615
20616 Add file name to autoload error messages
20617 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
20618 Add condition-case to add file name to error message.
20619
20620 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
20621
20622 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
20623 Use 0.0.0.1 as test host.
20624
20625 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
20626
20627 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
20628 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
20629 Fix inf-loop (bug#21083).
20630
20631 2015-07-21 Glenn Morris <rgm@gnu.org>
20632
20633 * test/automated/package-test.el (package-test-signed):
20634 Update for recent changes.
20635
20636 * test/automated/elisp-mode-tests.el
20637 (elisp-xref-finds-both-function-and-variable)
20638 (elisp-xref-finds-only-function-for-minor-mode):
20639 Update for recent xref name changes.
20640
20641 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
20642
20643 Make eldoc timer non-repeatable
20644 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
20645 non-repeatable. Since it's on post-command hook, that just wasted
20646 CPU cycles.
20647
20648 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
20649
20650 Mention `tramp-connection-properties' in NEWS
20651
20652 Sync with Tramp repository
20653 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
20654 required prior changing its configuration.
20655 (Connection caching, Predefined connection information)
20656 (Remote shell setup): Fix typos.
20657 (Predefined connection information): Describe, how to overwrite
20658 parameters of `tramp-methods'.
20659 (Remote programs, Remote processes, Traces and Profiles):
20660 Simplify example.
20661 (Remote programs): Remove superfluous comment.
20662 * doc/misc/trampver.texi: Update release number.
20663 * lisp/net/tramp-cache.el (tramp-connection-properties):
20664 Adapt docstring.
20665 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
20666 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
20667 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
20668 "gvfs-mkdir -p ..." does not work robust.
20669 (tramp-gvfs-maybe-open-connection):
20670 Adapt `tramp-get-method-parameter' call.
20671 * lisp/net/tramp-sh.el (tramp-methods):
20672 Add `tramp-remote-shell-login' parameter where it fits.
20673 (tramp-get-remote-path): Use it.
20674 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
20675 (all): Adapt `tramp-get-method-parameter' calls.
20676 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
20677 (tramp-get-method-parameter): Replace argument METHOD by VEC.
20678 Check also for hits in `tramp-connection-properties'. Adapt docstring.
20679 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
20680 (all): Adapt `tramp-get-method-parameter' calls.
20681 * lisp/net/trampver.el: Update release number.
20682 * test/automated/tramp-tests.el (tramp--instrument-test-case):
20683 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
20684 (tramp-test13-make-directory, tramp--test-adb-p)
20685 (tramp--test-smb-or-windows-nt-p): Simplify.
20686 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
20687 (tramp--test-special-characters): Fix docstring. Add gvfs and
20688 ftp tests.
20689 (tramp--test-utf8): Fix docstring.
20690
20691 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
20692
20693 Add new xref-query-replace command
20694 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
20695 New function, extracted from xref-pulse-momentarily.
20696 (xref-query-replace): New command.
20697 (xref--query-replace-1): New helper function.
20698 (xref--xref-buffer-mode-map): Add `r' binding.
20699
20700 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
20701
20702 Simplify icalendar decoding of Z dates
20703 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
20704 Simplify calculation of time strings with trailing "Z".
20705
20706 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
20707
20708 Do not corrupt grep-find-ignored-files
20709 * lisp/progmodes/project.el (project-ignores): Change the order of
20710 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
20711
20712 Add xref-match-item, and use it
20713 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
20714 (xref-file-location): Add reader for the column slot.
20715 (xref-match-item): New class.
20716 (xref-match-bounds): A method implementation for it.
20717 (xref-make-match): New constructor function.
20718 (xref--current-item): New private variable.
20719 (xref-pulse-momentarily): Use it.
20720 (xref--pop-to-location): Change the first argument to an xref
20721 item, instead of location, bind xref--current-item.
20722 Update all callers.
20723 (xref-next-line, xref-prev-line, xref--next-error-function)
20724 (xref--mouse-2): Look for the property `xref-item',
20725 instead of `xref-location'.
20726 (xref--item-at-point): Likewise. This function replaces
20727 `xref-location-at-point'. Update all callers.
20728 (xref--insert-xrefs): Add the `xref-item' text property, instead
20729 of `xref-location'.
20730 (xref--collect-match): Use xref-make-match.
20731
20732 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
20733 Update all references.
20734
20735 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
20736 slot to `summary'.
20737
20738 vc-hg: Perform the print-log call asynchronously
20739 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
20740 asynchronously (bug#21067).
20741
20742 Add xref-after-jump-hook and xref-after-return-hook
20743 * lisp/progmodes/xref.el (xref-after-jump-hook)
20744 (xref-after-return-hook): New hooks.
20745 (xref-pulse-on-jump): Remove, in favor of the above.
20746 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
20747 (xref--pop-to-location, xref--display-position)
20748 (xref-pop-marker-stack): Use the new hooks, as requested in
20749 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
20750
20751 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
20752
20753 * lisp/progmodes/js.el (js-mode): Correct the lighter.
20754
20755 2015-07-19 Leo Liu <sdl.web@gmail.com>
20756
20757 Fix a bug in cfengine3-mode
20758 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
20759 eldoc-documentation-function.
20760
20761 2015-07-18 Julien Danjou <julien@danjou.info>
20762
20763 sieve-mode: support "body" test command
20764 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
20765 Add missing "body" test command.
20766
20767 2015-07-18 Eli Zaretskii <eliz@gnu.org>
20768
20769 Fix info-apropos when the default encoding is Latin-N
20770 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
20771 'undecided', so that it is set to the encoding of the Info file we
20772 are about to insert. Otherwise, 'info-apropos' will fail to find
20773 some index nodes in some UTF-8 encoded files, if the buffer's
20774 previous encoding is Latin-N or some such.
20775
20776 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
20777
20778 * lisp/epg.el (epg--start): Check that gpgconf can be found
20779 before calling it.
20780
20781 Expose more file types to OS X that Emacs understands
20782 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
20783 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
20784
20785 2015-07-18 Eli Zaretskii <eliz@gnu.org>
20786
20787 Fix visual-order cursor movement when lines are truncated
20788 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
20789 simulate display in a window of infinite width, to allow move_it_*
20790 functions reach positions outside of normal window dimensions.
20791 Remove code that tried to handle a subset of these situations by
20792 manual iteration of buffer text. (Bug#17777)
20793
20794 Fix following Info cross-references to anchors
20795 * lisp/info.el (Info-read-subfile): Add to the returned value the
20796 length of subfile preamble, after converting it to file's byte
20797 offset, as expected by the caller. Use bufferpos-to-filepos.
20798 (Info-find-node-2): If searching for a node with a
20799 1000-character slop fails, try again with a 10000-character slop,
20800 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
20801 * lisp/international/mule-util.el (bufferpos-to-filepos): New
20802 function.
20803 * etc/NEWS: Mention bufferpos-to-filepos.
20804
20805 Fix scrolling backwards on TTY frames under scroll-conservatively
20806 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
20807 in moving backwards on TTY frames. (Bug#21080)
20808
20809 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
20810
20811 Consider a jsdoc tag to be a beginning of a paragraph as well
20812 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
20813 consider a jsdoc tag to be a beginning of a paragraph as well.
20814
20815 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
20816
20817 * lisp/emacs-lisp/package.el: Fix warnings.
20818
20819 * lisp/emacs-lisp/package.el (package-buffer-info):
20820 Add author and maintainers to `package-buffer-info'.
20821
20822 * lisp/emacs-lisp/package.el: Many small changes.
20823 Replace all instances of 'face with 'font-lock-face.
20824 (describe-package-1): Improve some strings and move the summary
20825 up the list.
20826 (package-install-file): Update docstring.
20827 (package-menu-hide-package): Bind to `H'.
20828
20829 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
20830 Fix error handling.
20831
20832 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
20833
20834 Fix hang with large yanks This should fix the bug fixed by Mike
20835 Crowe's patch in:
20836 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
20837 A problem in this area has been reported by several users; see
20838 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
20839 This fix differs from Mike Crowe's patch in that it should avoid a
20840 race condition that could lose SIGIO signals. ignore_sigio dates
20841 back to the 1980s when some platforms couldn't block signals, and
20842 could only ignore them, which led to races when signals arrived
20843 while being ignored. We shouldn't have to worry about those old
20844 platforms now.
20845 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
20846 * src/emacs.c (shut_down_emacs):
20847 Don't call ignore_sigio; unrequest_sigio should suffice.
20848 * src/keyboard.c (kbd_buffer_store_buffered_event):
20849 Use unrequest_sigio, not ignore_sigio.
20850 (kbd_buffer_get_event):
20851 Call request_sigio when getting the ball rolling again.
20852
20853 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
20854
20855 * lisp/obsolete/longlines.el (longlines-search-function):
20856 Fallback on `isearch-search-fun-default'.
20857
20858 2015-07-17 Tassilo Horn <tsdh@gnu.org>
20859
20860 Support @-mentions
20861 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
20862 of mentions/messages with @nick instead of just nick.
20863
20864 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
20865
20866 Fix bug#20943
20867 * lisp/autorevert.el (auto-revert-handler): Do not check for
20868 `buffer-modified-p'.
20869 * lisp/files.el (buffer-stale--default-function): Check for
20870 `buffer-modified-p'.
20871 * test/automated/auto-revert-tests.el
20872 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
20873
20874 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
20875
20876 Fix delete-dups bug on long lists
20877 * lisp/subr.el (delete-dups):
20878 Don't mistakenly keep some dups when applied to long lists.
20879
20880 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
20881
20882 Better heuristic for C stack overflow
20883 Improve the heuristic for distinguishing stack overflows from
20884 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
20885 the getrlimit method wasn't portable to Cygwin; see:
20886 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
20887 Corinna suggested pthread_getattr_np but this also has problems.
20888 Instead, replace the low-level system stuff with a simple
20889 heuristic based on known good stack addresses.
20890 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
20891 * src/sysdep.c: Don't include <sys/resource.h>.
20892 (stack_direction): Remove. All uses removed.
20893 (stack_overflow): New function.
20894 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
20895 Make SEGV fatal in non-main threads.
20896
20897 2015-07-16 Daiki Ueno <ueno@gnu.org>
20898
20899 epg: Automatically start pinentry server
20900 * lisp/epg-config.el (epg-gpgconf-program): New variable.
20901 * lisp/epg.el (epg--start): Call `pinentry-start' if
20902 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
20903
20904 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
20905
20906 * lisp/gnus/nnimap.el: Fix my last bogus change.
20907 Reinstall Stefan Monnier's change that was made in
20908 <83d824bc4041332f338ad7e5e830f443535aa300>.
20909
20910 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
20911
20912 Merge from gnulib
20913 This incorporates:
20914 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
20915 2015-07-05 acl-permissions: Fix on FreeBSD
20916 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
20917 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
20918 * lib/set-permissions.c: Copy from gnulib.
20919
20920 Port to stricter C99
20921 * src/keyboard.h (kbd_buffer_store_event_hold):
20922 Don't return a void expression.
20923
20924 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
20925
20926 * doc/emacs/frames.texi (Creating Frames):
20927 Fix the command `C-x 5 m' runs.
20928
20929 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
20930
20931 New autorevert tests
20932 * test/automated/auto-revert-tests.el: New file.
20933
20934 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
20935
20936 Clear gcprolist etc. after stack overflow
20937 After stack overflow, command_loop calls init_eval, and this needs to
20938 clear gcprolist and byte_stack_list (Bug#20996).
20939 * src/alloc.c (init_alloc):
20940 Move gcprolist and byte_stack_list initialization from here ...
20941 * src/eval.c (init_eval): ... to here.
20942
20943 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
20944
20945 * doc/emacs/windows.texi (Pop Up Window): Fix the description
20946 of `C-x 4 m'.
20947
20948 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20949
20950 Avoid deprecated enums in mac-ct font backend driver
20951 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
20952 (mac_ctfont_get_advance_width_for_glyph)
20953 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
20954
20955 Cache font family in mac-ct font backend driver
20956 * src/macfont.m (macfont_family_cache): New variable.
20957 (syms_of_macfont): Initialize it.
20958 (macfont_available_families_cache): New variable.
20959 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
20960 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
20961 (macfont_handle_font_change_notification)
20962 (macfont_init_font_change_handler)
20963 (macfont_copy_available_families_cache): New functions.
20964 (macfont_create_family_with_symbol): Use font family caches.
20965 (macfont_list, macfont_list_family):
20966 Use macfont_copy_available_families_cache instead of
20967 mac_font_create_available_families.
20968
20969 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
20970
20971 Show the default value in the prompt
20972 * lisp/progmodes/xref.el: Add `M-?' binding for
20973 xref-find-references. Declare functions `grep-read-files' and
20974 `grep-expand-template'.
20975 (xref--read-identifier): Show the default value in the prompt.
20976
20977 * lisp/progmodes/xref.el (xref-find-regexp): When called with
20978 prefix argument, ask for file patterns to search as well. When
20979 prompting for the directory, require an existing one.
20980 (xref-collect-matches): Add a new argument, FILES. Use it in the
20981 above function.
20982
20983 Add `project-ignores'
20984 * lisp/progmodes/project.el (project-ignores): New generic
20985 function, and an implementation for the VC project type.
20986 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
20987 variant of rgrep-default-command that handles a generic list of
20988 ignores.
20989 (xref-collect-matches): Use it, and pass through to it the value
20990 of the newly added argument.
20991 (xref-find-regexp): Handle ignored paths within the project.
20992 Remove outdated comment.
20993 * lisp/vc/vc.el (vc-default-ignore-completion-table):
20994 Skip the comments and the empty lines.
20995
20996 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
20997
20998 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
20999
21000 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
21001
21002 gnus-registry.el: Correct function argument order
21003 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
21004 Reverse the order of function arguments.
21005
21006 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
21007
21008 Bind grep-highlight-matches to nil
21009 * lisp/progmodes/xref.el (xref-collect-matches):
21010 Bind grep-highlight-matches to nil (bug#20728).
21011
21012 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
21013
21014 nnimap.el: Fix IMAP message size parsing
21015 * lisp/gnus/nnimap.el (nnimap-transform-headers):
21016 Don't assume that UID comes before RFC822.SIZE.
21017
21018 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
21019
21020 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
21021 (auth-source-creation-prompts): Declare.
21022 (nnimap-retrieve-headers, nnimap-status-message)
21023 (nnimap-request-create-group, nnimap-request-delete-group)
21024 (nnimap-close-group, nnimap-request-move-article)
21025 (nnimap-request-accept-article, nnimap-request-newgroups)
21026 (nnimap-request-post, nnimap-dummy-active-number)
21027 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
21028 (nnimap-parse-flags): Remove unused var `p'.
21029 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
21030 (nnimap-flags-to-marks): Remove unused var `totalp'.
21031
21032 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
21033
21034 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
21035
21036 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21037
21038 * src/macfont.m (macfont_list): Ignore font families lacking
21039 font descriptors.
21040
21041 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
21042
21043 Don't check the exit status, it can be misleading
21044 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
21045 exit status, it can be misleading.
21046
21047 Introduce a Project API
21048 * lisp/progmodes/project.el: New file.
21049 * lisp/cedet/ede.el (project-try-ede): New function.
21050 (project-root): New implementation.
21051 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
21052 Set project-search-path-function.
21053 (elisp--xref-find-references): Delegate some logic to
21054 project-search-path.
21055 (elisp-search-path): New function.
21056 (elisp-xref-find): Don't implement `matches' anymore.
21057 * lisp/progmodes/etags.el: Don't implement `matches'.
21058 Delegate some logic to project-search-path.
21059 (etags-search-path): New function.
21060 * lisp/progmodes/xref.el (xref-find-function):
21061 Remove `matches' from the API.
21062 (xref-find-regexp): Move whatever common logic was in elisp and
21063 etags implementations, and search the directories returned by
21064 project-directories and project-search-path.
21065
21066 2015-07-09 Nicolas Petton <nicolas@petton.fr>
21067
21068 * test/automated/map-tests.el (test-map-delete-return-value):
21069 Uncomment test.
21070
21071 Add support for gv.el in map.el
21072 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
21073 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
21074 * test/automated/map-tests.el: Update tests to work with the new
21075 implementations of map-elt and map-put.
21076
21077 2015-07-09 Glenn Morris <rgm@gnu.org>
21078
21079 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
21080
21081 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
21082
21083 Syntax-propertize until the end of the line first
21084 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
21085 until the end of the line first.
21086
21087 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
21088
21089 * doc/emacs/files.texi (File Archives): Add a cross reference.
21090
21091 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
21092
21093 nnimap.el: Handle plain value for nnimap-stream
21094 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
21095 capabilities, so that a 'plain value for the `nnimap-stream' server
21096 variable is handled correctly.
21097 * doc/misc/gnus.texi (Customizing the IMAP Connection):
21098 Document the 'plain option.
21099
21100 2015-07-08 Leo Liu <sdl.web@gmail.com>
21101
21102 Fix bug in thing-at-point--bounds-of-well-formed-url
21103 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
21104 sure boundary contains current point.
21105
21106 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
21107
21108 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
21109 in the end.
21110
21111 Declare whitespace-line-column a safe file-local
21112 * lisp/whitespace.el (whitespace-line-column): Declare to be a
21113 safe file-local when the value is an integer.
21114
21115 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
21116
21117 gnus-group.el: Check if group names are already strings
21118 * lisp/gnus/gnus-group.el (gnus-group-group-name):
21119 The group name may already be a string.
21120 Specifically, in the group list reached from the *Server* buffer,
21121 the 'gnus-group text property returns a string. Everywhere else
21122 it returns a symbol.
21123
21124 nnimap.el: Remove unused let variables
21125 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
21126
21127 2015-07-08 Eli Zaretskii <eliz@gnu.org>
21128
21129 Support "maximized" property of runemacs's shortcut
21130 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
21131 the '--maximized' switch to Emacs.
21132
21133 Support "minimized" property of runemacs's shortcut
21134 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
21135 pass the '--iconic' switch to Emacs. (Bug#20991)
21136
21137 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
21138
21139 Doc fixes
21140 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
21141 C-w' in Diff mode.
21142 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
21143 Add a cross reference.
21144
21145 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
21146
21147 * lisp/obsolete/landmark.el: Add Obsolete-since header.
21148
21149 2015-07-07 Glenn Morris <rgm@gnu.org>
21150
21151 * test/automated/ert-tests.el (ert-test-deftest):
21152 Update for recent changes.
21153
21154 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21155
21156 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
21157 * lisp/emacs-lisp/gv.el (gv-setter): New function.
21158 (gv-invalid-place): New error.
21159 (gv-get): Use them.
21160 (gv-synthetic-place, gv-delay-error): New places.
21161 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
21162 (cl-defgeneric, cl-defmethod): Use gv-setter.
21163
21164 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
21165
21166 Make vc-tests work with MSYS svn program
21167 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
21168 svn is an MSYS program.
21169
21170 2015-07-07 Ken Brown <kbrown@cornell.edu>
21171
21172 Improve recent change to emacsclient on Cygwin
21173 * lisp/server.el (server-process-filter): Remove redundant check
21174 that 'cygwin-convert-file-name-from-windows' is defined as a
21175 function on Cygwin. Don't call that function unless its argument
21176 starts with a drive letter.
21177
21178 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
21179
21180 * lisp/emacs-lisp/package.el (package-compute-transaction):
21181 Fix void variable due to `found-something' being in the wrong `let'.
21182
21183 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
21184
21185 * lisp/play/landmark.el: Move to lisp/obsolete/.
21186
21187 2015-07-07 Martin Rudalics <rudalics@gmx.at>
21188
21189 Have `x-show-tip' handle `right' and `bottom' frame parameters
21190 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
21191 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
21192 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
21193 tooltips also via `right' and `bottom' frame parameters.
21194
21195 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21196
21197 Add online-help support to describe types
21198 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
21199 (describe-symbol): Improve the selection of default.
21200 * lisp/help-mode.el: Require cl-lib.
21201 (describe-symbol-backends): Move from help-fns.el.
21202 (help-make-xrefs): Use it.
21203 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
21204 for types.
21205 (cl--typedef-regexp): New const.
21206 (find-function-regexp-alist): Add entry for types.
21207 (cl-help-type, cl-type-definition): New buttons.
21208 (cl-find-class): New function.
21209 (cl-describe-type): New command.
21210 (cl--describe-class, cl--describe-class-slot)
21211 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
21212 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
21213 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
21214 New functions. Moved from eieio-opt.el.
21215 (cl--generic-class-parents): New function, extracted from
21216 cl--generic-struct-specializers.
21217 (cl--generic-struct-specializers): Use it.
21218 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
21219 Improve constructor's docstrings.
21220 (cl-struct-unknown-slot): New error.
21221 (cl-struct-slot-offset): Use it.
21222 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
21223 definition in current-load-list.
21224 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
21225 (eieio--add-new-slot): Set it.
21226 (eieio-defclass-internal): Use new name for current-load-list.
21227 (eieio-oref): Add compiler-macro to warn about unknown slots.
21228 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
21229 as compile-time as well. Improve constructor docstrings.
21230 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
21231 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
21232 (eieio-class-def): Remove button.
21233 (eieio-help-constructor): Use new name for load-history element.
21234 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
21235 (eieio-method-documentation): Move to cl-generic.el.
21236 (eieio-display-method-list): Use new names.
21237 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
21238 Add "define-linline".
21239 (lisp-fdefs): Remove "defsubst".
21240 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
21241 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
21242 (macroexp--warn-and-return): Use it to avoid inf-loops.
21243 Add `compile-only' argument.
21244
21245 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
21246
21247 python.el: Fix local/remote shell environment setup
21248 * lisp/progmodes/python.el (python-shell-with-environment):
21249 Fix remote/local environment setup.
21250 * test/automated/python-tests.el (python-shell-with-environment-1)
21251 (python-shell-with-environment-2): New tests.
21252
21253 2015-07-06 Glenn Morris <rgm@gnu.org>
21254
21255 * lisp/simple.el (set-variable): Tweak recent doc fix.
21256
21257 2015-07-06 Ken Brown <kbrown@cornell.edu>
21258
21259 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
21260
21261 2015-07-06 Glenn Morris <rgm@gnu.org>
21262
21263 * lisp/simple.el (set-variable): Use user-error for type mismatch.
21264
21265 2015-07-06 Ken Brown <kbrown@cornell.edu>
21266
21267 * src/emacs.c (main): Don't increase the stack size on Cygwin.
21268
21269 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21270
21271 (describe-symbol): Rewrite describe-function-or-variable
21272 * lisp/help-fns.el (describe-symbol-backends): New var.
21273 (help-xref-stack-item): Declare.
21274 (describe-symbol): Rename from describe-function-or-variable.
21275 Rewrite using describe-symbol-backends instead of help-xref-interned.
21276 * lisp/help.el (help-map): Use it.
21277 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
21278 (help-xref-interned): Make it into an obsolete alias.
21279
21280 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
21281 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
21282 and cl-letf.
21283
21284 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
21285
21286 Fix parsing glitches in dired-mark-sexp (bug#13575)
21287 * lisp/dired-x.el (dired-x--string-to-number): New function.
21288 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
21289 of directory-listing-before-filename-regexp. Consider
21290 forward-word harmful and replace it. Add more verbiage in
21291 comments and doc string.
21292
21293 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
21294
21295 python.el: Respect process environment for remote shells
21296 * lisp/progmodes/python.el
21297 (python-shell-calculate-process-environment): Calculate
21298 process-environment or tramp-remote-process-environment depending
21299 whether current file is remote.
21300 (python-shell-calculate-exec-path): Calculate exec-path or
21301 tramp-remote-path depending whether current file is remote.
21302 (python-shell-with-environment): New macro.
21303 (python-shell-prompt-detect, python-shell-calculate-command)
21304 (python-shell-make-comint, python-check): Use it.
21305
21306 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
21307 * lisp/progmodes/python.el (python-shell--interpreter)
21308 (python-shell--interpreter-args): New vars.
21309 (inferior-python-mode, python-shell-make-comint): Use them.
21310
21311 python.el: Fixes for IPython 3.x (Bug#20580)
21312 * lisp/progmodes/python.el:
21313 (python-shell-completion-native-setup): Fix IPython 3.x setup.
21314 (python-shell-completion-native-get-completions): Fix timeout
21315 logic.
21316
21317 python.el: Fix mark-defun behavior (Bug#19665)
21318 * lisp/progmodes/python.el (python-mark-defun): New function.
21319 * test/automated/python-tests.el (python-mark-defun-1)
21320 (python-mark-defun-2, python-mark-defun-3): New tests.
21321
21322 2015-07-05 Glenn Morris <rgm@gnu.org>
21323
21324 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
21325 such as "extends(parent), private". (Bug#20969)
21326 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
21327 New tests.
21328
21329 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
21330
21331 Avoid duplicate calls to current_timespec
21332 * src/process.c (wait_reading_process_output):
21333 Cache current_timespec results as long as we're not waiting.
21334
21335 2015-07-05 Ian Kelling <ian@iankelling.org>
21336
21337 Avoid returning early reading process output due to SIGIO
21338 * src/process.c (wait_reading_process_output): Extend the behavior of
21339 not breaking due to not finding output when a timer has lowered the
21340 timeout to include when SIGIO lowers the timeout.
21341
21342 Don't return as fast reading any process output
21343 * src/process.c (wait_reading_process_output):
21344 The patch for Bug#17647 returns too fast sometimes when reading
21345 from any processes. Revert part of it, and limit the timeout more
21346 sensibly (Bug#20978).
21347
21348 Refactor timeouts in wait_reading_process_output
21349 * src/process.c (wait_reading_process_output):
21350 Simplify timeouts with an enum. Remove a redundant condition.
21351 (Bug#20978)
21352
21353 Remove ADAPTIVE_READ_BUFFERING ifdef
21354 * src/process.c (make-process, make-pipe-process, deactivate_process)
21355 (wait_reading_process_output, read_process_output, send_process)
21356 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
21357 added in case there was an operating system in which it was not
21358 useful. That was 11 years ago and it hasn't happened. Make
21359 development easier by not considering the effect of changes on a
21360 theoretical OS where this is disabled (Bug#20978).
21361
21362 2015-07-05 Glenn Morris <rgm@gnu.org>
21363
21364 * lisp/simple.el (set-variable): Doc fix.
21365
21366 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
21367
21368 2015-07-05 Ian Kelling <ian@iankelling.org>
21369
21370 accept-process-output fix
21371 This is a followon to the fix for bug#17647 (Bug#20976).
21372 * src/process.c (status_notify): Fix too high return in some cases.
21373
21374 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
21375
21376 * lisp/character-fold.el (character-fold-table):
21377 Only fold decompositions if at least one character is non-spacing.
21378 (Bug#20975)
21379
21380 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
21381
21382 Merge from gnulib
21383 This incorporates:
21384 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
21385 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
21386 2015-07-02 update-copyright: fix test failure with perl >= 5.22
21387 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
21388 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
21389 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
21390 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
21391
21392 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
21393
21394 Respect `prog-indentation-context' in python.el
21395 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
21396 (python-indent-context, python-indent--calculate-indentation)
21397 (python-info-current-defun)
21398 (python-info-dedenter-opening-block-message)
21399 (python-info-line-ends-backslash-p)
21400 (python-info-beginning-of-backslash)
21401 (python-info-continuation-line-p): Use `prog-widen'.
21402 (python-indent--calculate-indentation)
21403 (python-indent--calculate-levels)
21404 (python-indent-calculate-indentation): Use `prog-first-column'.
21405 (python-indent--calculate-levels): Simplify.
21406 Ignore also initial empty lines for syntax calculation.
21407 * lisp/progmodes/python.el (python-indent-context): Return
21408 :no-indent for first non-empty line, not just in line 1.
21409 * test/automated/python-tests.el (python-indent-base-case)
21410 (python-indent-inside-paren-1, python-indent-inside-paren-2)
21411 (python-indent-inside-paren-3, python-indent-inside-paren-4)
21412 (python-indent-inside-paren-5, python-indent-inside-paren-6)
21413 (python-indent-after-backslash-1)
21414 (python-indent-after-backslash-2)
21415 (python-indent-after-backslash-3)
21416 (python-indent-after-backslash-4, python-indent-inside-string-1):
21417 Expect :no-indent for first non-empty line.
21418
21419 2015-07-04 Daniel Colascione <dancol@dancol.org>
21420
21421 Factor isearch word description into new function
21422 * lisp/isearch.el (isearch--describe-word-mode): New function.
21423 (isearch-message-prefix, isearch-query-replace): Use it.
21424
21425 2015-07-04 Eli Zaretskii <eliz@gnu.org>
21426
21427 Fix mouse pointer on w32 when a menu is active
21428 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
21429 shape while a menu is in use. This started happening since we now
21430 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
21431
21432 2015-07-04 Martin Rudalics <rudalics@gmx.at>
21433
21434 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
21435 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
21436 parameter. (Bug#17344)
21437
21438 Have `compilation-set-window' use right window for getting fringes
21439 (Bug#20829)
21440 * lisp/progmodes/compile.el (compilation-set-window):
21441 Take `window-fringes' from argument window.
21442
21443 2015-07-03 Glenn Morris <rgm@gnu.org>
21444
21445 Update eieio tests for recent eieio-core change.
21446 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
21447 * test/automated/eieio-tests.el
21448 (eieio-test-32-slot-attribute-override-2):
21449 Replace the deleted eieio--class-v with cl--find-class.
21450
21451 2015-07-03 Martin Rudalics <rudalics@gmx.at>
21452
21453 Fix some issues with `window-divider-mode'
21454 * lisp/frame.el (window-divider-default-places): New option.
21455 (window-divider-mode): Remove option.
21456 (window-divider-mode): Make it a "regular" minor mode.
21457 (window-divider-width-valid-p): Drop frame- prefix.
21458 (window-divider-mode-apply): New argument ENABLE. Drop frame-
21459 prefix. Handle `window-divider-default-places'.
21460 (frame--window-divider-mode-set-and-apply): Remove.
21461 (window-divider-default-bottom-width)
21462 (window-divider-default-right-width): Drop :group entries.
21463 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
21464 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
21465 (menu-bar-no-window-divider): Set `window-divider-default-places'
21466 and call `window-divider-mode'.
21467 * doc/emacs/frames.texi (Window Dividers): Document
21468 `window-divider-default-places'.
21469
21470 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
21471
21472 * doc/emacs/display.texi (Displaying Boundaries):
21473 * doc/emacs/search.texi (Word Search): Add cross references.
21474
21475 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
21476
21477 -batch should not affect ‘’ -> `' display
21478 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
21479 -batch (Bug#20926).
21480
21481 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21482
21483 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
21484 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
21485 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
21486 Use cl--find-class instead.
21487
21488 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
21489
21490 2015-07-02 Martin Rudalics <rudalics@gmx.at>
21491
21492 Some further fixes in Change Window node (Bug#20183)
21493 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
21494 by "resizing" in section title. Add some concept indices.
21495 Suggested by N. Jackson (Bug#20183).
21496
21497 * doc/emacs/windows.texi (Change Window): Reference window
21498 dividers.
21499
21500 Document new `window-divider-mode'.
21501 * lisp/frame.el (window-divider-mode): Fix doc-string.
21502 * doc/emacs/frames.texi (Window Dividers): New section.
21503
21504 Improve accessibility of window dividers (Bug#20183)
21505 * lisp/faces.el (window-divider)
21506 (window-divider-first-pixel, window-divider-last-pixel): Change
21507 membership from `frames' to `window-divider' customization group.
21508 * lisp/frame.el (window-divider): New customization group.
21509 (window-divider-mode): New minor mode.
21510 (window-divider-default-bottom-width)
21511 (window-divider-default-right-width): New options.
21512 (frame--window-divider-previous-mode): New variable.
21513 (frame-window-divider-width-valid-p)
21514 (frame--window-divider-mode-apply)
21515 (frame--window-divider-mode-set-and-apply): New functions.
21516 * lisp/menu-bar.el (menu-bar-options-save): Save
21517 window-divider-mode settings.
21518 (menu-bar-window-divider-customize)
21519 (menu-bar-bottom-and-right-window-divider)
21520 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
21521 (menu-bar-no-window-divider): New functions.
21522 (menu-bar-showhide-window-divider-menu): New variable.
21523 (menu-bar-showhide-menu): Show/hide window divider menu.
21524 * lisp/mouse.el (mouse-split-window-vertically)
21525 (mouse-split-window-horizontally): Replace `error' by
21526 `user-error'. Bind `window-combination-resize' to nil.
21527 (top-level): Add/reorder mouse key bindings on mode- and
21528 vertical-line.
21529
21530 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
21531
21532 Don't display ‘’ as `' under X in en_GB
21533 The curved quote setup code invokes (char-displayable-p ?‘),
21534 but this isn’t reliable until after the X frame replaces the
21535 terminal frame (Bug#20926).
21536 * lisp/international/mule-cmds.el (set-locale-environment):
21537 Move curved quote setup code from here ...
21538 * lisp/startup.el (command-line): ... to here, after creating
21539 the X frame.
21540
21541 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
21542
21543 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
21544
21545 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
21546 to reverse the meaning (Bug#15631).
21547
21548 2015-07-01 Eli Zaretskii <eliz@gnu.org>
21549
21550 Be more tolerant to fonts named "Foobar-12"
21551 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
21552 don't barf; instead, request a new fontset to be generated. This
21553 avoids unnecessarily rejecting fonts named against XLFD rules. See
21554 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
21555 for the description of the original problem.
21556 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
21557 by a hyphen in a font's name.
21558
21559 Fix value of posn-at-pont in R2L lines
21560 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
21561 coordinate of -1, for a newline in a right-to-left line that
21562 overflowed into the left fringe.
21563
21564 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21565
21566 (cl--copy-slot-descriptor): Copy the `props' alist as well
21567 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
21568 Rename from cl--copy-slot-descriptor.
21569 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
21570
21571 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
21572
21573 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
21574 (xterm-query-timeout): New var.
21575 (xterm--query): Use it. Fallback on async method if we timeout before
21576 getting the first byte of the reply (bug#12354).
21577
21578 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
21579
21580 Spelling fixes
21581 * lisp/character-fold.el (character-fold-search):
21582 * lisp/emacs-lisp/package.el (package-hidden-regexps):
21583 Fix typos.
21584
21585 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
21586
21587 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
21588
21589 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
21590
21591 In strings, prefer plain ` and ' to \` and \'
21592 * lisp/allout.el (allout-insert-listified):
21593 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
21594 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
21595 (ls-lisp-string-lessp):
21596 * lisp/menu-bar.el (menu-bar-open):
21597 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
21598 * lisp/progmodes/compile.el (compile):
21599 * lisp/progmodes/etags.el (tags-loop-scan):
21600 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
21601 * lisp/subr.el (posn-actual-col-row):
21602 * lisp/term/pc-win.el (x-list-fonts):
21603 * lisp/textmodes/texinfmt.el (texinfmt-version):
21604 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
21605 * lisp/time.el (display-time-world-list):
21606 * lisp/tmm.el (tmm-menubar):
21607 * src/buffer.c (syms_of_buffer):
21608 * src/fileio.c (syms_of_fileio):
21609 Omit unnecessary and confusing backslash before quote.
21610 * lisp/erc/erc.el (erc-cmd-LASTLOG):
21611 * lisp/progmodes/flymake.el (flymake-fix-file-name):
21612 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
21613 Fix string that was intended to escape a backslash and not a quote.
21614
21615 2015-06-30 Glenn Morris <rgm@gnu.org>
21616
21617 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
21618
21619 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
21620 Replace hard-coded lists with wildcard + filter-out.
21621
21622 * configure.ac (system-configuration-features): Add X11, NS.
21623
21624 Improve reproducibility of generated loaddefs file
21625 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
21626 Make the return value the modtime of the input file (if no autoloads).
21627 (update-directory-autoloads): In the "no autoloads" section,
21628 use "most recent modtime" rather than "current time".
21629
21630 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
21631
21632 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
21633 (Bug#20930)
21634
21635 2015-06-30 Nicolas Petton <nicolas@petton.fr>
21636
21637 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
21638
21639 Add seq-min and seq-max
21640 Bump version number.
21641 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
21642 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
21643
21644 2015-06-30 Eli Zaretskii <eliz@gnu.org>
21645
21646 Make sure sleep-for always delays for as long as it's told
21647 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
21648 a loop, to ensure we always wait exactly the required amount of
21649 time. (Bug#15990)
21650
21651 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
21652
21653 Fix pointer signedness glitch
21654 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
21655
21656 2015-06-30 Eli Zaretskii <eliz@gnu.org>
21657
21658 Don't block changes in mouse pointer inside 'track-mouse'
21659 * etc/NEWS:
21660 * doc/lispref/frames.texi (Mouse Tracking): Document the special
21661 effect of setting 'track-mouse' to 'dragging'.
21662 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
21663 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
21664 * lisp/mouse-drag.el (mouse-drag-throw):
21665 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
21666 to avoid changes in the shape of the mouse pointer.
21667 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
21668 pointer shape when do_mouse_tracking has the value of 'dragging',
21669 not just any non-nil value. (Bug#20934)
21670 (syms_of_xdisp): DEFSYM 'dragging'.
21671
21672 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
21673
21674 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
21675
21676 * lisp/emacs-lisp/package.el (package-compute-transaction):
21677 Don't assume version sorting.
21678
21679 * lisp/emacs-lisp/package.el (package--save-selected-packages):
21680 Don't save before init time, to avoid overwriting configurations.
21681 (Bug#20855)
21682
21683 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
21684
21685 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
21686 references.
21687
21688 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
21689
21690 Update for the upcoming CFEngine 3.7 release: support macros and
21691 quoted context strings; reformat JSON; indent promise attributes 2
21692 units by default; give function parameter descriptions in the eldoc
21693 glue.
21694 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
21695 Autoload `json-pretty-print'. Support new features in 3.7.
21696 (cfengine-parameters-indent): Set default promise attribute indent to
21697 2 more than the promise itself.
21698 (cfengine3-macro-regex): New variable to match the new macro syntax.
21699 (cfengine3-font-lock-keywords): Use it to highlight macros.
21700 (cfengine3-indent-line): Use it to indent macros to column 0.
21701 (cfengine3-class-selector-regex): Update for the new quoted strings
21702 format.
21703 (cfengine3-reformat-json-string): New function to reformat a JSON
21704 string using `json-pretty-print'.
21705 (cfengine3-format-function-docstring): Use function parameter
21706 description if it's provided by the cf-promises syntax dump.
21707
21708 2015-06-29 Michael R. Mauger <michael@mauger.com>
21709
21710 Cygwin emacsclient handles w32 file names
21711 * lisp/server.el (server-process-filter): Allow Cygwin's
21712 emacsclient to be used as a file handler on MS-Windows.
21713
21714 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
21715
21716 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
21717 (bug#20925).
21718
21719 2015-06-29 Eli Zaretskii <eliz@gnu.org>
21720
21721 * doc/lispref/text.texi (Sticky Properties): Improve wording.
21722 (Bug#20924)
21723
21724 Allow font names that end in "-NN", where NN is a number
21725 * src/font.c (font_load_for_lface): If the font-spec didn't match
21726 any available fonts, try again without interpreting trailing "-NN"
21727 as the font size. For the description of the original problem, see
21728 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
21729
21730 .gdbinit followup to changes in !USE_LSB_TAG
21731 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
21732 !USE_LSB_TAG, as Emacs no longer does.
21733
21734 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
21735
21736 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
21737 Otherwise `s p' of f and F will stomp on each other's value.
21738 (Bug#20916)
21739
21740 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
21741
21742 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
21743 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
21744
21745 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
21746
21747 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
21748 as additional guess.
21749
21750 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
21751 to a string.
21752
21753 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
21754
21755 apropos-library quoting fix
21756 * lisp/apropos.el (apropos-library): Quote library consistently
21757 with the rest of the quoting used by apropos.
21758
21759 Clarify interpreter-mode-alist doc
21760 * lisp/files.el (interpreter-mode-alist):
21761 Reword to avoid confusing quoting that wasn't working anyway.
21762
21763 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
21764
21765 Sync with Tramp 2.2.12
21766 * doc/misc/trampver.texi:
21767 * lisp/net/trampver.el: Update release number.
21768 * test/automated/tramp-tests.el (tramp-test13-make-directory):
21769 Fix cleanup.
21770
21771 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
21772
21773 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
21774
21775 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
21776
21777 Bind grep-highlight-matches around the rgrep call
21778 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
21779 around the rgrep call (bug#20728).
21780
21781 Put "--color" before the other options in grep-command
21782 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
21783 before the other options in grep-command (bug#20912).
21784
21785 Add --color Grep option to the command dynamically
21786 * lisp/progmodes/grep.el (grep-template, grep-find-template):
21787 Update the description for <C>. (Bug#20728)
21788 (grep-compute-defaults): Don't add the --color option to
21789 grep-options. Only add it to grep-command.
21790 (grep-expand-keywords): Expand the env value opts into <C>.
21791 (grep-expand-template): Replace cf in the env with the opts list,
21792 that can include -i and --color.
21793 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
21794 "--color=always" from the template, because we don't have to.
21795
21796 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
21797
21798 cl-extra fixes for most-negative-fixnum
21799 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
21800 Don't mishandle an argument equal to most-negative-fixnum,
21801 whose absolute value equals itself.
21802 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
21803
21804 Initialize cl--gensym-counter to 0
21805 Previously it was initialized to a random value, which made it
21806 harder to reproduce earlier Emacs runs. The need for a random
21807 value went away when Emacs introduced and used the #: syntax for
21808 uninterned symbols (Bug#20862).
21809 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
21810 Document that cl--gensym-counter now starts with 0.
21811 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
21812 (cl--random-time): Move to near only remaining use.
21813 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
21814
21815 Improve docstring for macroexp-let2
21816 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
21817 Improve as per suggestion by RMS in:
21818 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
21819 Also, rename args to match new doc string.
21820
21821 2015-06-27 Eli Zaretskii <eliz@gnu.org>
21822
21823 Fix VC test suite on MS-Windows
21824 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
21825 always starts with 3 slashes after the colon.
21826 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
21827 'w32-application-type' to invoke CVS on MS-Windows with properly
21828 formatted CVSROOT directory name.
21829
21830 Add a new function w32-application-type
21831 * src/w32proc.c (Fw32_application_type): New function.
21832
21833 Avoid error in TLS connections due to incorrect format
21834 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
21835 the call to 'error', instead of the unsupported %u. Reported by
21836 lo2net <fangtao0901@gmail.com>. (Bug#20908)
21837
21838 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
21839
21840 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
21841
21842 2015-06-26 Leo Liu <sdl.web@gmail.com>
21843
21844 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
21845 `with-output-to-string' in elisp.
21846
21847 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
21848 with-output-to-string".
21849 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
21850
21851 2015-06-26 Eli Zaretskii <eliz@gnu.org>
21852
21853 Minor corrections in ELisp manual
21854 * doc/lispref/nonascii.texi (Character Properties): Correct
21855 inaccuracies in description of values of the Unicode properties.
21856
21857 Fix invisible mouse pointers on Windows.
21858 * src/w32fns.c: Include windowsx.h.
21859 (w32_wnd_proc): If the mouse moved and the mouse pointer is
21860 invisible, make it visible again even when the main (Lisp)
21861 thread is busy.
21862 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
21863 garbaging the frame have the input thread call SetCursor.
21864
21865 2015-06-26 Martin Rudalics <rudalics@gmx.at>
21866
21867 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
21868 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
21869 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
21870 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
21871 (w32_toggle_invisible_pointer): New function.
21872 (w32_create_terminal): Add w32_toggle_invisible_pointer as
21873 toggle_invisible_pointer_hook for this terminal.
21874
21875 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
21876
21877 Doc fix for deletion commands
21878 'delete-char' does not respect the value of 'delete-active-region'.
21879 * doc/emacs/killing.texi (Deletion):
21880 Fix documentation for some single-char deletion commands.
21881
21882 * doc/emacs/help.texi (Apropos):
21883 Improve documentation of 'apropos-do-all'.
21884
21885 * doc/emacs/help.texi (Help Summary):
21886 Improve documentation of 'describe-mode'.
21887
21888 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
21889
21890 Fix submake dependency bug with .h files
21891 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
21892 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
21893 before the submake in $(libsrc) would spin off a subsubmake
21894 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
21895
21896 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
21897
21898 * lisp/character-fold.el (character-fold-table): Reuse `table'.
21899
21900 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
21901
21902 Translate undisplayable ‘ to `
21903 * doc/lispref/help.texi (Keys in Documentation):
21904 * lisp/international/mule-cmds.el (set-locale-environment):
21905 * lisp/term/w32console.el (terminal-init-w32console):
21906 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
21907 If ‘ is not displayable, transliterate it to `, not to '. See:
21908 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
21909
21910 Fix C99 incompatibilities in Cairo code
21911 * src/image.c (xpm_load) [USE_CAIRO]:
21912 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
21913 Fix pointer signedness problem.
21914
21915 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
21916
21917 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
21918 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
21919 `with-output-to-string' should have the same indent as `progn'.
21920 This is in line with the declaration of `with-output-to-string'.
21921
21922 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
21923
21924 Get ‘./configure; make -C src emacs’ to work
21925 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
21926 * lib-src/Makefile.in (../lib/libgnu.a):
21927 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
21928
21929 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
21930
21931 Fix GC bugs --with-wide-int and Qnil == 0
21932 Use the same alignment for the !USE_LSB_TAG case as for the
21933 more-typical USE_LSB_TAG case. The attempt to support arbitrary
21934 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
21935 once we changed the representation of symbols so that Qnil == 0.
21936 Problem reported by Eli Zaretskii (Bug#20862).
21937 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
21938 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
21939 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
21940 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
21941 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
21942 This optimization in the !USE_LSB_TAG case is no longer valid when
21943 symbols are represented via offsets. Change the only use to
21944 assume that pointers might hide in objects.
21945 * src/lisp.h (alignas) [!USE_LSB_TAG]:
21946 Require support in this case, too.
21947 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
21948 This is OK, because the !USE_LSB_TAG case now applies only when
21949 Lisp_Object is wider than void *, so there's no longer any need
21950 to shift the offset. Not shifting the offset means that
21951 symbol representations have the same alignment as pointers,
21952 which the GC assumes.
21953
21954 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
21955
21956 * doc/lispintro/emacs-lisp-intro.texi (Data types):
21957 Improve documentation of 'substring'.
21958
21959 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
21960
21961 * lisp/character-fold.el (character-fold-table): Fix table generation.
21962
21963 2015-06-24 Glenn Morris <rgm@gnu.org>
21964
21965 * nextstep/Makefile.in (all): Make it the first target.
21966 (../src/emacs${EXEEXT}): Add rule for making it.
21967
21968 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
21969
21970 * etc/NEWS: Fix mention to old function name.
21971
21972 * lisp/character-fold.el: New file (Bug#20887)
21973 (character-fold-to-regexp): New function.
21974 * lisp/replace.el (replace-search): Check value of
21975 `character-fold-search'.
21976 * lisp/isearch.el: Move character-folding code to
21977 character-fold.el
21978 (isearch-toggle-character-fold): New command.
21979 (isearch-mode-map): Bind it to "\M-sf".
21980 (isearch-mode): Check value of `character-fold-search'.
21981
21982 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
21983
21984 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
21985 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
21986 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
21987
21988 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
21989 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
21990
21991 2015-06-24 Glenn Morris <rgm@gnu.org>
21992
21993 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
21994
21995 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
21996
21997 lisp/gnus/nnmaildir.el: Silence lexical warnings
21998 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
21999 functional style.
22000 (nnmaildir--update-nov): Remove unused var `numdir'.
22001 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
22002 (nnmaildir-request-group, nnmaildir-request-create-group)
22003 (nnmaildir-request-post, nnmaildir-request-move-article)
22004 (nnmaildir-request-accept-article, nnmaildir-active-number):
22005 Mark unused args.
22006 (nnmaildir-get-new-mail, nnmaildir-group-alist)
22007 (nnmaildir-active-file): Declare.
22008 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
22009 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
22010 `mark', `end', `new-mark', and `mark-sym'.
22011 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
22012 `nlist2'.
22013 (nnmaildir-request-expire-articles):
22014 Remove unused vars `article', `stop' and `nlist2'.
22015 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
22016 `end'. Use nnmaildir--article when dyn-binding is needed.
22017 Give the value directly in the `let' for `del-mark', `del-action',
22018 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
22019 (nnmaildir-close-server): Declare those local vars that need to be
22020 dyn-bound.
22021
22022 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
22023
22024 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
22025
22026 Port selection info fix to clang
22027 * src/keyboard.h (kbd_buffer_store_event_hold):
22028 Don't assume C11 semantics for alignof (Bug#20756).
22029
22030 Fix bug that munged selection info
22031 On some optimizing C compilers, copying a structure did not
22032 copy the padding bytes between elements, and the type punning
22033 between struct input_data and struct selection_input_data did
22034 not work. Change the C code to use a proper union type instead.
22035 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
22036 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
22037 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
22038 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
22039 (mark_kboards):
22040 Use union buffered_input_event, not struct input_event.
22041 (clear_event, deliver_input_available_signal, process_special_events):
22042 Remove unnecessary forward decls.
22043 (kbd_buffer_store_buffered_event): New function, mostly just the
22044 old kbd_buffer_store_event_hold, except its argument is of type
22045 union buffered_input_event, not struct input_event.
22046 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
22047 not needed otherwise. Argument is now of type
22048 struct selection_input_event *, not struct input_event *.
22049 All callers changed.
22050 (clear_event): Arg is now of type union buffered_input_event *,
22051 not struct input_event *. All callers changed.
22052 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
22053 (union buffered_input_event): New type.
22054 (kbd_buffer_store_event_hold): Now an inline function,
22055 defined here.
22056 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
22057 (struct input_event): Use it.
22058 * src/xselect.c (struct selection_event_queue):
22059 Make elements be of type struct selection_input_event,
22060 not struct input_event.
22061 (selection_input_event_equal): New static function.
22062 (x_queue_event): Use it.
22063 (x_queue_event, x_decline_selection_request)
22064 (x_selection_current_request, x_reply_selection_request)
22065 (x_handle_selection_request, x_handle_selection_clear)
22066 (x_handle_selection_event): Use struct selection_input_event,
22067 not struct input_event. All callers changed.
22068 (x_convert_selection): Omit unused first arg. All callers changed.
22069 (Fx_disown_selection_internal): Omit unnecessary union.
22070 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
22071 rather than rolling our own equivalent. Prefer sie.kind when
22072 setting up that kind of structure.
22073 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
22074 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
22075 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
22076 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
22077 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
22078 (SELECTION_EVENT_TIME, x_handle_selection_event):
22079 Arg is now of type struct selection_input_event *)
22080 not struct input_event *. All callers changed.
22081
22082 2015-06-23 Glenn Morris <rgm@gnu.org>
22083
22084 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
22085
22086 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
22087
22088 * lisp/isearch.el: Fold many unicode characters to ASCII.
22089 (isearch-character-fold-search, isearch--character-fold-extras)
22090 (isearch--character-fold-table): New variable.
22091 (isearch--character-folded-regexp): New function.
22092 (isearch-search-fun-default): Use them.
22093 * lisp/replace.el (replace-character-fold): New variable.
22094 (replace-search): Use it.
22095 * etc/NEWS: Document it.
22096
22097 2015-06-23 Glenn Morris <rgm@gnu.org>
22098
22099 Check for an input event before showing a dialog box. (Bug#20813)
22100 * lisp/subr.el (y-or-n-p):
22101 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
22102 as last-nonmenu-event.
22103
22104 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
22105
22106 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
22107 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
22108 (switch-to-prev-buffer, switch-to-next-buffer): Respect
22109 switch-to-visible-buffer independent of the windows history.
22110
22111 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
22112
22113 * src/keyboard.c (last_timer_event): Remove unused var.
22114
22115 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
22116
22117 * test/automated/package-test.el (package-test-update-listing):
22118 Fix test.
22119
22120 2015-06-23 Glenn Morris <rgm@gnu.org>
22121
22122 Revert 2014-06-25 nextstep/Makefile change.
22123 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
22124 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
22125 not as an order-only prerequisite.
22126
22127 * configure.ac (--with-ns): Enable by default on OS X.
22128
22129 2015-06-23 Leo Liu <sdl.web@gmail.com>
22130
22131 Fix shell-for/backward-command to exclude spaces
22132 * lisp/shell.el (shell-forward-command, shell-backward-command):
22133 Handle the 'move case from re-search-forward/backward.
22134 fixes debbugs:20873
22135
22136 2015-06-22 Juri Linkov <juri@linkov.net>
22137
22138 * lisp/replace.el (query-replace-read-from): Add separator to
22139 the local binding of text-property-default-nonsticky. (Bug#20690)
22140
22141 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
22142 (Bug#20785)
22143
22144 2015-06-22 Ken Brown <kbrown@cornell.edu>
22145
22146 Enable CPU profiling on Cygwin
22147 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
22148 change that undefined this.
22149 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
22150 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
22151 Cygwin.
22152
22153 Improve diagnostics of profiler-cpu-start
22154 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
22155 return -1 if the sampling interval is invalid.
22156 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
22157 fails. (Bug#20843)
22158
22159 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
22160
22161 * lisp/emacs-lisp/package.el: Exclude packages by name.
22162 (package-hidden-regexps): New variable.
22163 (package-menu--refresh): Use it.
22164 (package-menu-hide-package): New command.
22165
22166 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
22167
22168 2015-06-22 Eli Zaretskii <eliz@gnu.org>
22169
22170 Fix debug-timer-check on systems without HAVE_TIMERFD
22171 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
22172 the expired timers, since wait_reading_process_output doesn't.
22173 (debug_timer_callback): Enlarge the tolerance to 20 msec.
22174
22175 Fix RCS crashes in vc-test
22176 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
22177 ports of 'ci' on MS-Windows by always passing the -t- switch.
22178
22179 2015-06-22 Glenn Morris <rgm@gnu.org>
22180
22181 * doc/emacs/package.texi (Packages):
22182 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
22183
22184 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
22185
22186 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
22187
22188 Port tests to help-quote-translation
22189 * test/automated/ert-x-tests.el (ert-test-describe-test):
22190 * test/automated/package-test.el (package-test-describe-package)
22191 (package-test-signed): Allow straight quotes, too.
22192
22193 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
22194
22195 Make find-function-on-key use the current window
22196 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
22197 Extract from `find-function-on-key', add a second argument.
22198 (find-function-on-key): Use it (bug#19679).
22199 (find-function-on-key-other-window)
22200 (find-function-on-key-other-frame): New commands.
22201
22202 2015-06-21 Nicolas Petton <nicolas@petton.fr>
22203
22204 Revert "Define `map-elt' as a generalized variable"
22205 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
22206
22207 2015-06-21 Ken Brown <kbrown@cornell.edu>
22208
22209 Drop support for CPU profiling on Cygwin
22210 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
22211 (Bug#20843)
22212
22213 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
22214
22215 Fix some “nested” quoting confusion in doc strings
22216 * lisp/emacs-lisp/advice.el (ad-map-arglists):
22217 * lisp/kermit.el (kermit-clean-on):
22218 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
22219 * src/keyboard.c (Frecursive_edit):
22220 Use curved quotes when quoting text containing apostrophe,
22221 so that the apostrophe isn't curved in the output.
22222
22223 2015-06-21 Nicolas Petton <nicolas@petton.fr>
22224
22225 Define `map-elt' as a generalized variable
22226 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
22227 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
22228 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
22229 `setf' with `map-elt'.
22230 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
22231
22232 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
22233
22234 Improve error handling in tramp-adb.el
22235 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
22236 Improve error handling.
22237
22238 2015-06-21 Nicolas Petton <nicolas@petton.fr>
22239
22240 Reuse `alist-get' in map.el
22241 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
22242 elements.
22243
22244 2015-06-21 Eli Zaretskii <eliz@gnu.org>
22245
22246 Fix bytecomp-tests--warnings when $TMPDIR has a long name
22247 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
22248 Allow the warning to begin on the 3rd, not only 2nd line, which
22249 happens if temporary-file-directory has a very long name.
22250
22251 Expect 2 icalendar tests to fail on MS-Windows
22252 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
22253 (icalendar-real-world): Make them expected failures on MS-Windows.
22254
22255 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
22256
22257 Improve port of settings UI to older displays
22258 * lisp/cus-start.el (standard): Don't assume curved quotes are
22259 easily distinguishable when users are tinkering with a setting
22260 that affects how curved quotes are generated.
22261
22262 Fix quoting in electric-quote-mode doc string
22263 * lisp/electric.el (electric-quote-mode): Fix quoting.
22264 This is a fallout from the recent change introducing
22265 ‘help-quote-translation’.
22266
22267 Spelling fix
22268
22269 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
22270
22271 * src/doc.c (syms_of_doc): Remove unused symbols.
22272
22273 2015-06-20 Martin Rudalics <rudalics@gmx.at>
22274
22275 * lisp/window.el (window-state-put): Undedicate target window
22276 before putting STATE into it. (Bug#20848)
22277
22278 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
22279
22280 Merge from origin/emacs-24
22281 a5e6f33 Fixes: debbugs:20832
22282 b9f02cf Fixes: debbugs:20832
22283
22284 2015-06-19 Eli Zaretskii <eliz@gnu.org>
22285
22286 Fix file-in-directory-p when the directory is UNC
22287 * lisp/files.el (file-in-directory-p): Support files and
22288 directories that begin with "//". (Bug#20844)
22289
22290 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
22291
22292 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
22293 in the minibuffer. (Bug#20832)
22294
22295 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
22296
22297 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
22298 for adding new todo file is empty but modified. (Bug#20832)
22299
22300 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22301
22302 (filepos-to-bufferpos): Further tweaks to the utf-16 code
22303 * lisp/international/mule-util.el (filepos-to-bufferpos):
22304 Fix typo. Move non-exact check to the utf-16 branch (the only one
22305 affected). Don't use byte-to-position for the utf-16 case.
22306
22307 2015-06-19 Eli Zaretskii <eliz@gnu.org>
22308
22309 Minor fixes in filepos-to-bufferpos
22310 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
22311 test for utf-8-emacs. Exempt single-byte encodings from the
22312 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
22313 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
22314 UTF-16 encoded files for CR-LF EOLs.
22315
22316 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
22317
22318 Improve the optional translation of quotes
22319 Fix several problems with the recently-added custom variable
22320 help-quote-translation where the code would quote inconsistently
22321 in help buffers. Add support for quoting 'like this', which
22322 is common in other GNU programs in ASCII environments. Change
22323 help-quote-translation to use more mnemonic values: values are now the
22324 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
22325 traditional Emacs help-buffer quoting style `like this'. Change the
22326 default behavior of substitute-command-keys to match what's done in
22327 set-locale-environment, i.e., quote ‘like this’ if displayable,
22328 'like this' otherwise.
22329 * doc/lispref/help.texi (Keys in Documentation): Document
22330 new behavior of substitute-command-keys, and document
22331 help-quote-translation.
22332 * doc/lispref/tips.texi (Documentation Tips):
22333 Mention the effect of help-quote-translation.
22334 * etc/NEWS: Mention new behavior of substitute-command-keys,
22335 and merge help-quote-translation news into it.
22336 When talking about doc strings, mention new ways to type quotes.
22337 * lisp/cedet/mode-local.el (overload-docstring-extension):
22338 Revert my recent change to this function, which shouldn't be
22339 needed as the result is a doc string.
22340 * lisp/cedet/mode-local.el (mode-local-print-binding)
22341 (mode-local-describe-bindings-2):
22342 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
22343 * lisp/cus-theme.el (describe-theme-1):
22344 * lisp/descr-text.el (describe-text-properties-1, describe-char):
22345 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
22346 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
22347 (eieio-help-constructor):
22348 * lisp/emacs-lisp/package.el (describe-package-1):
22349 * lisp/faces.el (describe-face):
22350 * lisp/help-fns.el (help-fns--key-bindings)
22351 (help-fns--compiler-macro, help-fns--parent-mode)
22352 (help-fns--obsolete, help-fns--interactive-only)
22353 (describe-function-1, describe-variable):
22354 * lisp/help.el (describe-mode):
22355 Use substitute-command-keys to ensure a more-consistent quoting
22356 style in help buffers.
22357 * lisp/cus-start.el (standard):
22358 Document new help-quote-translation behavior.
22359 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
22360 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
22361 (help-xref-url-regexp):
22362 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
22363 * lisp/wid-edit.el (widget-documentation-link-regexp):
22364 Also match 'foo', in case we're in a help buffer generated when
22365 help-quote-translation is ?'.
22366 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
22367 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
22368 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
22369 (Fsubstitute_command_keys): Document and implement new behavior.
22370 (Vhelp_quote_translation): Document new behavior.
22371
22372 2015-06-18 Glenn Morris <rgm@gnu.org>
22373
22374 * lisp/cus-start.el (help-quote-translation): Add :version.
22375
22376 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
22377
22378 2015-06-18 Alan Mackenzie <acm@muc.de>
22379
22380 Make translation of quotes to curly in doc strings optional.
22381 * src/doc.c (traditional, prefer-unicode): New symbols.
22382 (help-quote-translation): New variable.
22383 (Fsubstitute_command_keys): Make translation of quotes dependent on
22384 `help-quote-translation'; also translate curly quotes back to ASCII
22385 ones.
22386 * lisp/cus-start.el (top-level): Add a customization entry for
22387 `help-quote-translation'.
22388
22389 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
22390
22391 * lisp/emacs-lisp/package.el: Don't always propagate async errors
22392 (package--with-work-buffer-async): Only propagate the error if the
22393 callback returns non-nil.
22394 (package--download-one-archive): Return nil on the signature
22395 checking callback if we accept unsigned.
22396 (package--download-and-read-archives): Return non-nil on the
22397 archive download callback.
22398
22399 2015-06-18 Martin Rudalics <rudalics@gmx.at>
22400
22401 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
22402 * src/nsfns.m (Fx_create_frame):
22403 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
22404 image_cache_refcount before first x_default_parameter call.
22405
22406 2015-06-18 Eli Zaretskii <eliz@gnu.org>
22407
22408 Improve and extend filepos-to-bufferpos
22409 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
22410 Don't barf if F returns nil for some argument.
22411 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
22412 that every encoding of type 'charset' is single-byte.
22413
22414 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
22415
22416 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
22417 Properly delete packages. (Bug#20836)
22418
22419 2015-06-18 Eli Zaretskii <eliz@gnu.org>
22420
22421 Update data files from just-released Unicode 8.0
22422 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
22423 status.
22424 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
22425 * admin/unidata/BidiMirroring.txt:
22426 * admin/unidata/BidiBrackets.txt:
22427 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
22428
22429 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
22430
22431 Document curved quotes a bit better
22432 * doc/emacs/basic.texi (Inserting Text):
22433 Mention C-x 8. Change example to use curved quote rather
22434 than infinity, as this lets us give more ways to do it.
22435 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
22436 and quotation marks.
22437 * doc/emacs/text.texi (Quotation Marks):
22438 * doc/lispref/tips.texi (Documentation Tips):
22439 Add "curly quotes" and "curved quotes" to the index.
22440 * doc/emacs/text.texi (Quotation Marks):
22441 Give the C-x 8 shorthands for curved quotes.
22442 Cross-reference to "Quotation Marks".
22443
22444 2015-06-17 Daiki Ueno <ueno@gnu.org>
22445
22446 Add pinentry.el for better GnuPG integration
22447 * lisp/pinentry.el: New file.
22448 * etc/NEWS: Add entry about pinentry.el.
22449 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
22450 (Bug#20550)
22451
22452 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
22453
22454 * lisp/emacs-lisp/package.el: Slightly better error reporting.
22455
22456 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22457
22458 (define-minor-mode): Use setq-default for :global minor modes
22459 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
22460 Use setq-default for :global minor modes (bug#20712).
22461
22462 2015-06-17 Eli Zaretskii <eliz@gnu.org>
22463
22464 Avoid infloop in redisplay with tall images
22465 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
22466 down near ZV. (Bug#20808)
22467 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
22468 instead of CHARPOS.
22469
22470 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
22471
22472 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
22473 Fix error reporting.
22474
22475 * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
22476
22477 * lisp/emacs-lisp/package.el: Revert buffer after any operation
22478 Call `package-menu--post-refresh' after any operation that changes
22479 the package database (`package-install' and `package-delete'). To
22480 avoid performance issues in large transactions, these functions
22481 add `post-refresh' to `post-command-hook' instead of calling it
22482 immediately.
22483 (package-menu--mark-or-notify-upgrades): New function.
22484 (list-packages): Add it to `package--post-download-archives-hook'.
22485 (package-menu--post-refresh): Lose the upgrade-checking code, add
22486 code to remove itself from `post-command-hook'.
22487 (package-install, package-delete): Add it to `post-command-hook'.
22488 (package-menu-execute): Don't call `package-menu--post-refresh'.
22489
22490 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
22491
22492 Add missing function xref-location-group for elisp-mode.
22493 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
22494
22495 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
22496
22497 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
22498 The behavior now matches the description in the manual. (Bug#20783)
22499
22500 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
22501
22502 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
22503
22504 2015-06-17 Glenn Morris <rgm@gnu.org>
22505
22506 Generate char-script-table from Unicode source. (Bug#20789)
22507 * admin/unidata/Makefile.in (AWK): New, set by configure.
22508 (all): Add charscript.el.
22509 (blocks): New variable.
22510 (charscript.el, ${unidir}/charscript.el): New targets.
22511 (extraclean): Also remove generated charscript.el.
22512 * admin/unidata/blocks.awk: New script.
22513 * admin/unidata/Blocks.txt: New data file, from unicode.org.
22514 * lisp/international/characters.el: Load charscript.
22515 * src/Makefile.in (charscript): New variable.
22516 (${charscript}): New target.
22517 (${lispintdir}/characters.elc): Depend on charscript.elc.
22518 (temacs$(EXEEXT)): Depend on charscript.
22519
22520 * lisp/international/characters.el (char-script-table): Tweak
22521 some ranges to better match the source. (Bug#20789#17)
22522
22523 Remove "no-byte-compile: t" from a few files.
22524 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
22525 * lisp/obsolete/patcomp.el: No reason not to compile these.
22526
22527 2015-06-16 Glenn Morris <rgm@gnu.org>
22528
22529 Fix some typos in copied Unicode data. (Bug#20789)
22530 * lisp/international/characters.el (char-script-table):
22531 * lisp/international/fontset.el (script-representative-chars)
22532 (setup-default-fontset): Fix typos.
22533
22534 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
22535 Don't print filename twice (it's in the prefix now).
22536
22537 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
22538 No longer needed.
22539
22540 Address a compilation warning.
22541 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
22542 Replace 't' with '_' in pcase.
22543
22544 Address some check-declare warnings.
22545 * lisp/simple.el (tabulated-list-print):
22546 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
22547 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
22548 (ns-get-selection): Update declarations.
22549
22550 Address some compilation warnings.
22551 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
22552 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
22553 Replace 't' with '_' in pcase.
22554
22555 Address some compilation warnings.
22556 * lisp/face-remap.el (text-scale-adjust):
22557 * lisp/menu-bar.el (popup-menu-normalize-position):
22558 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
22559 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22560 * lisp/emacs-lisp/generator.el (cps--transform-1):
22561 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
22562 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
22563 * lisp/progmodes/octave.el (octave-goto-function-definition)
22564 (octave-find-definition-default-filename):
22565 Replace 't' with '_' in pcase.
22566
22567 * lisp/emacs-lisp/pcase.el (pcase--u1):
22568 Paper-over today's bootstrap failure.
22569
22570 2015-06-16 Nicolas Petton <nicolas@petton.fr>
22571
22572 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
22573
22574 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
22575
22576 Better confirmation message in `find-alternate-file' (Bug#20830)
22577 * lisp/files.el (find-alternate-file'): Improve the confirmation
22578 message to show the buffer name.
22579
22580 Better docstring for null. (Bug#20815)
22581 * src/data.c (null): Improves the docstring, saying what null returns
22582 when OBJECT is non-nil.
22583
22584 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
22585
22586 * lisp/net/newst-treeview.el: Use lexical-binding.
22587
22588 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
22589 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
22590 New auxiliary function, extracted from filepos-to-bufferpos.
22591 Make sure it terminates.
22592 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
22593 Add support for the `exact' quality.
22594
22595 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
22596
22597 Identify feeds in newsticker treeview with :nt-feed property
22598 * lisp/net/newst-treeview.el:
22599 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
22600
22601 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
22602
22603 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
22604 (pcase--self-quoting-p): Floats aren't self-quoting.
22605 (pcase): Tweak docstring.
22606 (pcase--u1): Deprecate the t pattern. Improve error detection for
22607 the nil pattern.
22608 (\`): Tweak docstring. Signal an error for unrecognized cases.
22609 (bug#20784)
22610
22611 2015-06-16 Eli Zaretskii <eliz@gnu.org>
22612
22613 Fix infloop in filepos-to-bufferpos
22614 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
22615 offset calculation, and make it conditional on the eol-type of the
22616 file's encoding. (Bug#20825)
22617
22618 2015-06-16 Martin Rudalics <rudalics@gmx.at>
22619
22620 Fix handling of image cache refcounts. (Bug#20802)
22621 This backports Eli Zaretskii's solution of this problem for W32
22622 to X and NS.
22623 * src/nsfns.m (image_cache_refcount): Define unconditionally.
22624 (unwind_create_frame): If the image cache's reference count
22625 hasn't been updated yet, do that now.
22626 (Fx_create_frame): Set image_cache_refcount unconditionally.
22627 * src/xfns.c (image_cache_refcount): Define unconditionally.
22628 (unwind_create_frame): If the image cache's reference count
22629 hasn't been updated yet, do that now.
22630 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
22631 unconditionally.
22632 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
22633 X and NS.
22634
22635 2015-06-16 Nils Ackermann <nils@ackermath.info>
22636
22637 Improve reftex-label-regexps default value
22638 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
22639 keyvals label regexp more strict to better cope with unbalanced
22640 brackets common in math documents.
22641
22642 2015-06-16 Glenn Morris <rgm@gnu.org>
22643
22644 * doc/emacs/calendar.texi (Format of Diary File):
22645 Move "nonmarking" from here...
22646 (Displaying the Diary): ... to here.
22647
22648 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
22649 Swap the order of these nodes.
22650 * doc/emacs/emacs.texi: Update detailed menu for the above change.
22651
22652 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
22653 Update date of examples.
22654 (Diary, Format of Diary File): Move example from former to latter.
22655 Reduce duplication.
22656
22657 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
22658 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
22659 Don't set no-byte-compile in the outputs.
22660 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
22661
22662 2015-06-15 Glenn Morris <rgm@gnu.org>
22663
22664 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
22665 * doc/emacs/calendar.texi (Diary, Format of Diary File):
22666 Update for above diary-file change.
22667
22668 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
22669 (apply-macro-to-region-lines): Use user-error.
22670
22671 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
22672 (pages-directory-for-addresses): Doc fixes.
22673
22674 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22675
22676 * lisp/info.el: Cleanup bytepos/charpos issues
22677 * lisp/international/mule-util.el: Use lexical-binding.
22678 (filepos-to-bufferpos): New function.
22679 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
22680 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
22681 (Info-read-subfile, Info-search): Use 0-based file positions.
22682
22683 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
22684 (perl--syntax-exp-intro-keywords): New var.
22685 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
22686 (bug#20800).
22687
22688 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
22689
22690 Fix quoting when making derived mode docstring
22691 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
22692 Nest regexp-quote inside format, not the reverse.
22693 Problem reported by Artur Malabarba in:
22694 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
22695
22696 2015-06-15 Eli Zaretskii <eliz@gnu.org>
22697
22698 Fix current-iso639-language on MS-Windows
22699 * lisp/international/mule-cmds.el (set-locale-environment):
22700 Downcase the locale name before interning it. This is so the
22701 'current-iso639-language' on MS-Windows matches the ':lang'
22702 property of font-spec objects.
22703
22704 Limit Symbola usage some more
22705 * lisp/international/fontset.el (setup-default-fontset): Limit
22706 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
22707 (Bug#20727)
22708
22709 2015-06-15 Nicolas Petton <nicolas@petton.fr>
22710
22711 * lisp/emacs-lisp/map.el (map-let): Better docstring.
22712
22713 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
22714
22715 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
22716 (help-fns-test-funny-names): Spelling fixes.
22717
22718 2015-06-14 Glenn Morris <rgm@gnu.org>
22719
22720 * lisp/version.el (emacs-repository-version-git): Demote errors.
22721 Check result is a hash.
22722
22723 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
22724
22725 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
22726 Catch errors that happen before going async. (Bug#20809)
22727
22728 2015-06-14 Eli Zaretskii <eliz@gnu.org>
22729
22730 Another improvement of documentation of set-fontset-font
22731 * doc/lispref/display.texi (Fontsets): Say explicitly that
22732 CHARACTER can be a single codepoint.
22733 * src/fontset.c (Fset_fontset_font): Doc fix.
22734
22735 Another improvement for symbol and punctuation characters
22736 * lisp/international/fontset.el (setup-default-fontset): Exclude
22737 from Symbola character ranges for symbols and punctuation covered
22738 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
22739 installed and where its coverage of symbols and punctuation is
22740 known to be good. (Bug#20727)
22741
22742 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
22743
22744 Some generic support for multi-mode indentation.
22745 * lisp/progmodes/prog-mode.el (prog-indentation-context):
22746 New variable.
22747 (prog-first-column, prog-widen): New convenience functions.
22748
22749 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
22750
22751 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
22752 Don't assume that `tabulated-list-printer' will leave point at the
22753 end of the buffer. (Bug#20810)
22754
22755 2015-06-13 Glenn Morris <rgm@gnu.org>
22756
22757 Tweaks for getting repository version; a bit more like it was for bzr
22758 * lisp/version.el (emacs-repository-version-git)
22759 (emacs-repository--version-git-1): New functions,
22760 split from emacs-repository-get-version.
22761 (emacs-repository-get-version): Make the second argument meaningful.
22762
22763 * lisp/startup.el (command-line-1): Inform if skipping relative
22764 file names due to deleted PWD.
22765
22766 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
22767 when starup directory is missing. (Bug#18851)
22768 (errno.h): Include it.
22769
22770 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
22771
22772 Better fix for documenting `X as "`X"
22773 Fix suggested by Stefan Monnier.
22774 * lisp/help-fns.el (help-fns--signature):
22775 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
22776 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
22777 Don't treat `X specially, as help-fns--signature now handles this.
22778
22779 2015-06-13 Eli Zaretskii <eliz@gnu.org>
22780
22781 Improve the default fontset when Symbola is not installed
22782 * lisp/international/fontset.el (setup-default-fontset): Only
22783 prepend Symbola and FreeMono font specs for symbols and
22784 punctuation; do not replace the default spec for them. This
22785 should have better results when Symbola/FreeMono are not
22786 installed. (Bug#20727)
22787
22788 Improve documentation of ':lang' in font specs
22789 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
22790 use of the ':lang' property of the font spec.
22791 * doc/emacs/frames.texi (Fonts): Document the language names that
22792 can be in the STYLE part of XLFD.
22793 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
22794 property.
22795
22796 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
22797
22798 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
22799
22800 Revert last change in fontset.el
22801 * lisp/international/fontset.el (setup-default-fontset): Revert
22802 the change "Configure Symbola font only if installed", since font
22803 search is evidently not yet set up when this function is called.
22804 (Bug#20727)
22805
22806 2015-06-12 Glenn Morris <rgm@gnu.org>
22807
22808 Ensure early startup warnings are visible at the end. (Bug#20792)
22809 * lisp/emacs-lisp/warnings.el (display-warning):
22810 If startup isn't complete, delay the warning.
22811 * lisp/startup.el (normal-top-level, command-line):
22812 Let display-warning automatically handle the needed delays.
22813 Run delayed-warnings-hook.
22814
22815 * lisp/version.el (emacs-repository-get-version):
22816 Avoid calling external executable if possible. (Bug#20799)
22817
22818 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
22819
22820 Document `X as "`X", not as "(` X)"
22821 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
22822 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
22823
22824 * src/print.c (print_object): Minor simplification.
22825
22826 2015-06-12 Glenn Morris <rgm@gnu.org>
22827
22828 * src/buffer.c (init_buffer): Add final newline to message.
22829
22830 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
22831
22832 Configure Symbola font only if installed
22833 * lisp/international/fontset.el (setup-default-fontset):
22834 Don't specify the Symbola font if it's not installed.
22835 Likewise for FreeMono. (Bug#20727)
22836
22837 2015-06-12 Eli Zaretskii <eliz@gnu.org>
22838
22839 Configure Symbola font only for symbols and punctuation
22840 * lisp/international/fontset.el (setup-default-fontset): Leave
22841 only symbols and punctuation in the fontset setup for Symbola
22842 font; remove "Greek and Coptic" and "Cyrillic Supplement".
22843 (Bug#20798)
22844
22845 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
22846
22847 Fix crash in fontset-info
22848 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
22849 non-nil.
22850
22851 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
22852
22853 Port to Solaris 10 sparc + Sun C 5.13
22854 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
22855 Adjust to process.c change.
22856 * src/process.c (create_process): Declare volatile variables at
22857 top level of this function, so that they're less likely to be
22858 reused later in the function in the code executed by the vforked
22859 child. Do not declare locals used only in the vforked child, as
22860 they might share memory with locals still live in the parent.
22861 Instead, use the same variables in the child as in the parent.
22862 This works around a subtle bug that causes a garbage collector
22863 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
22864
22865 2015-06-12 Glenn Morris <rgm@gnu.org>
22866
22867 * lisp/startup.el (normal-top-level): Don't let *Messages* get
22868 a nil default-directory.
22869
22870 2015-06-11 Glenn Morris <rgm@gnu.org>
22871
22872 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
22873
22874 Some progress towards starting with PWD deleted. (Bug#18851)
22875 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
22876 * lisp/startup.el (normal-top-level, command-line-1):
22877 * lisp/minibuffer.el (read-file-name-default):
22878 Handle default-directory being nil.
22879
22880 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
22881
22882 Fix "not a tty" bug on Solaris 10
22883 * configure.ac (PTY_OPEN): Define to plain 'open'
22884 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
22885 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
22886 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
22887 hosts that call grantpt which does its work via a setuid subcommand
22888 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
22889 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
22890 seems relevant in that case too.
22891
22892 2015-06-11 Juri Linkov <juri@linkov.net>
22893
22894 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
22895 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
22896 (Bug#20785)
22897
22898 2015-06-11 Glenn Morris <rgm@gnu.org>
22899
22900 * lisp/international/characters.el (char-script-table): Fix typo.
22901
22902 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
22903
22904 Fix quoting of help for functions with odd names
22905 While investigating Bug#20759, I discovered other quoting problems:
22906 C-h f mishandled characters like backslash and quote in function names.
22907 This fix changes the behavior so that 'C-h f pcase RET' now
22908 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
22909 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
22910 in src/lread.c's read1 function says that the backslash will be
22911 needed starting in Emacs 25, which implies that 'format' is
22912 correct and the old pcase documention was wrong to omit the backslash.
22913 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
22914 * lisp/help-fns.el (help-fns--signature):
22915 * lisp/help.el (help-add-fundoc-usage):
22916 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
22917 Use help--make-usage-docstring rather than formatting
22918 help-make-usage.
22919 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
22920 Return raw docstring.
22921 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
22922 raw docstring. Take more care to distinguish raw from cooked dstrings.
22923 (describe-function-1): Let help-fns--signature substitute
22924 command keys.
22925 * lisp/help.el (help--docstring-quote): New function.
22926 (help-split-fundoc): Use it, to quote funny characters more
22927 systematically.
22928 (help--make-usage): Rename from help-make-usage, since this
22929 should be private. Leave an obsolete alias for the old name.
22930 (help--make-usage-docstring): New function.
22931 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
22932
22933 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22934
22935 * lisp/thingatpt.el (in-string-p): Revert last change,
22936 since in-string-p is not used in thingatpt.el but only from outside.
22937 Also, use lexical binding.
22938
22939 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
22940
22941 * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
22942 * test/automated/let-alist.el (let-alist-cons): Test it.
22943
22944 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
22945
22946 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
22947
22948 2015-06-10 Glenn Morris <rgm@gnu.org>
22949
22950 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
22951
22952 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
22953 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
22954 * admin/gitmerge.el (gitmerge-commit-message):
22955 Exclude "skipped" messages from ChangeLog once again.
22956
22957 Slight namespace cleanup for thingatpt.el.
22958 * lisp/thingatpt.el (thing-at-point--in-string-p)
22959 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
22960 (thing-at-point--read-from-whole-string): Rename from
22961 old versions without "thing-at-point--" prefix.
22962 Keep old versions as obsolete aliases. Update all uses.
22963
22964 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
22965 Move requiring of finder from here...
22966 (checkdoc-package-keywords): ... to here.
22967
22968 Use 'user-error' in a few calendar files.
22969 * lisp/calendar/appt.el (appt-add):
22970 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
22971 (calendar-generate):
22972 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
22973 Replace 'error' with 'user-error'.
22974
22975 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
22976
22977 * lisp/files-x.el (add-file-local-variable):
22978 Special-case 'lexical-binding'. (Bug#20641)
22979
22980 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
22981 No longer autoload.
22982 * doc/misc/autotype.texi (Executables):
22983 Undocument executable-self-display.
22984
22985 * lisp/progmodes/executable.el (executable-self-display):
22986 Use non-obsolete tail syntax. (Bug#20779)
22987 (executable-self-display): Doc update.
22988
22989 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
22990
22991 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
22992 (finder-known-keywords): Silence byte-compiler.
22993
22994 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
22995
22996 * lisp/simple.el (eval-expression): Macroexpand before evaluating
22997 (bug#20730).
22998
22999 * lisp/progmodes/sh-script.el: Better handle nested quotes.
23000 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
23001 (sh-font-lock-quoted-subshell): Make sure double quotes within single
23002 quotes don't mistakenly end prematurely the surrounding string.
23003
23004 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
23005
23006 2015-06-09 Glenn Morris <rgm@gnu.org>
23007
23008 * test/automated/Makefile.in (ELFILES): Sort.
23009
23010 * Makefile.in (SUBDIR_MAKEFILES):
23011 * lwlib/Makefile.in (WARN_CFLAGS):
23012 Use built-in Make functions rather than echo+sed.
23013
23014 2015-06-09 Eli Zaretskii <eliz@gnu.org>
23015
23016 Update char-script-table
23017 * lisp/international/characters.el (char-script-table): Update
23018 from Unicode 8.0 Draft.
23019
23020 Improve font selection for punctuation and other symbols
23021 * src/fontset.c (face_for_char): If the character's script is
23022 'symbol', and the font used for ASCII face has a glyph for it, use
23023 the font for the ASCII face instead of searching the fontsets.
23024 This comes instead of NS-specific code that used the current
23025 face's font instead, which is now disabled due to undesirable
23026 consequences. (Bug#20727)
23027
23028 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
23029
23030 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
23031 Skip past `#' to find BEG (bug#20771).
23032 * test/automated/elisp-mode-tests.el
23033 (elisp-completes-functions-after-hash-quote): New test.
23034
23035 2015-06-08 Eli Zaretskii <eliz@gnu.org>
23036
23037 Fix compilation warning/error in --without-x builds
23038 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
23039 code on HAVE_WINDOW_SYSTEM.
23040
23041 Improve the default fontset wrt symbols
23042 * lisp/international/fontset.el (setup-default-fontset): Better
23043 setup of fontset-default for symbols: use Symbola and FreeMono.
23044 (Bug#20727)
23045
23046 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
23047
23048 Add new command checkdoc-package-keywords
23049 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
23050 New defcustom.
23051 (checkdoc-list-of-strings-p): Add doc.
23052 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
23053 non-nil, call `checkdoc-package-keywords'.
23054 (checkdoc-get-keywords): New defun.
23055 (checkdoc-package-keywords): New command. Warns if the current file
23056 has package.el-style keywords that aren't in `finder-known-keywords'.
23057 * etc/NEWS: Add entry.
23058
23059 2015-06-08 Eli Zaretskii <eliz@gnu.org>
23060
23061 Avoid crashes when key-binding is called from a timer
23062 * src/keymap.c (Fkey_binding): Don't segfault if called with an
23063 empty vector as KEY. (Bug#20705)
23064
23065 Fix a thinko in arc-mode.el
23066 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
23067 non-Zip64 case. (Bug#20769)
23068
23069 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
23070
23071 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
23072
23073 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
23074
23075 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
23076 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
23077 "*warn*", print the warning to the standard output. (bug#20754)
23078
23079 2015-06-07 Glenn Morris <rgm@gnu.org>
23080
23081 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
23082
23083 * src/font.c (syms_of_font) <font-log>: Doc fix.
23084
23085 Remove the obsolete leading "*" from some C doc strings.
23086 * src/coding.c (syms_of_coding):
23087 * src/font.c (syms_of_font): Remove leading "*" from docs.
23088 * lisp/cus-start.el (enable-character-translation): Add it.
23089
23090 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
23091
23092 Move gen_origin from program to data
23093 That way, 'make change-history' needs to change only ChangeLog.2,
23094 instead of having to change two files.
23095 * ChangeLog.2: Add commit info for range that this file covers.
23096 * Makefile.in (new_commit_regexp): New macro.
23097 (change-history-nocommit): Simplify, by putting what used to be
23098 the gen_origin value into the data (ChangeLog.2) rather than
23099 into the program (gitlog-to-emacslog).
23100 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
23101 the input file (e.g., ChangeLog.2) rather than by having a
23102 constant in the program. Substitute it into the output.
23103
23104 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
23105
23106 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
23107 function name (bug#20759).
23108
23109 2015-06-07 Eli Zaretskii <eliz@gnu.org>
23110
23111 Adapt 'struct timespec' to next release of MinGW runtime
23112 * nt/inc/ms-w32.h (struct timespec): Don't declare if
23113 __struct_timespec_defined is defined.
23114
23115 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
23116
23117 Merge from gnulib
23118 This incorporates:
23119 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
23120 2015-06-05 stdio: Don't redefine gets when using C++
23121 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
23122 2015-06-02 file-has-acl: fix build on Mac OS X 10
23123 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
23124 2015-06-01 pthread_sigmask: discount system version if a simple macro
23125 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
23126 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
23127 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
23128 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
23129 * lib/gnulib.mk: Regenerate.
23130
23131 2015-06-06 Juri Linkov <juri@linkov.net>
23132
23133 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
23134 before calling grep-compute-defaults because now it affects the
23135 command lines computed in grep-compute-defaults. (Bug#20728)
23136
23137 2015-06-06 Glenn Morris <rgm@gnu.org>
23138
23139 Address some compilation warnings.
23140 * lisp/international/mule-cmds.el (w32-get-console-codepage)
23141 (w32-get-console-output-codepage):
23142 * lisp/progmodes/elisp-mode.el (xref-collect-references):
23143 * lisp/version.el (cairo-version-string): Declare.
23144 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
23145
23146 2015-06-06 Eli Zaretskii <eliz@gnu.org>
23147
23148 Fix display when a font claims large values of ascent and descent
23149 This fixes bug#20628.
23150 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
23151 coordinate of a hollow cursor glyph when the original glyph's
23152 ascent is too small.
23153 (get_font_ascent_descent, normal_char_ascent_descent)
23154 (normal_char_height): New functions.
23155 (handle_single_display_spec, append_space_for_newline)
23156 (calc_pixel_width_or_height, produce_stretch_glyph)
23157 (calc_line_height_property): Use normal_char_ascent_descent and
23158 normal_char_height.
23159 (x_produce_glyphs): When font-global values of ascent and descent
23160 are too large, use per-character glyph metrics instead, if
23161 possible. But don't allow the glyph row's ascent and descent
23162 values become smaller than the values from the metrics of the
23163 font's "normal" character.
23164 * src/xftfont.c (xftfont_draw):
23165 * src/w32font.c (w32font_draw): Correct the values of ascent and
23166 descent used to draw glyphless characters' hex code in a box.
23167 * src/xterm.c (x_draw_glyph_string_background):
23168 * src/xdisp.c (x_produce_glyphs):
23169 * src/w32term.c (x_draw_glyph_string_background):
23170 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
23171 to detect fonts whose global ascent and descent values are too
23172 large to be used in layout decision, and redraw the background
23173 when that happens.
23174 * src/dispextern.h (FONT_TOO_HIGH): New macro.
23175 (get_font_ascent_descent): Add prototype.
23176 * src/xterm.c (x_new_font):
23177 * src/w32term.c (x_new_font):
23178 * src/nsterm.m (x_new_font):
23179 * src/font.c (font_open_entity):
23180 * src/composite.c (composition_gstring_width):
23181 Use get_font_ascent_descent to obtain reasonable values for ascent
23182 and descent of a font.
23183
23184 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
23185
23186 Add assertion in adjust_point_for_property
23187 * src/keyboard.c (adjust_point_for_property): Add eassert for
23188 current buffer being shown in selected window.
23189
23190 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
23191
23192 Replace uses of in-string-p; make it obsolete
23193 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
23194 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
23195
23196 2015-06-06 Eli Zaretskii <eliz@gnu.org>
23197
23198 Fix Dired display of an explicit list of files by ls-lisp.el
23199 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
23200 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
23201 correct for when displaying individual files separately, not as
23202 part of listing a directory, in which case these values are not
23203 recomputed by 'ls-lisp-insert-directory', but used verbatim.
23204
23205 * lisp/dired.el (dired): Doc fix. (Bug#20739)
23206
23207 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
23208
23209 Do not adjust point in a non-selected window
23210 * src/keyboard.c (command_loop_1): Do not adjust point when
23211 current buffer is not shown in selected window (Bug#20590).
23212
23213 * etc/DEBUG: Mention 'maybe_call_debugger'
23214
23215 2015-06-05 Nicolas Petton <nicolas@petton.fr>
23216
23217 Fix a unit test for map.el
23218 * test/automated/map-tests.el (test-map-let): Fix the test to work
23219 with the new syntax of `map-let'.
23220
23221 * lisp/emacs-lisp/map.el (map-let): Better docstring.
23222
23223 Better syntax for the map pcase pattern
23224 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
23225 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
23226
23227 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
23228
23229 Fix a byte-compiler error in map-put and map-delete
23230 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
23231 called with a symbol.
23232
23233 2015-06-05 Glenn Morris <rgm@gnu.org>
23234
23235 * admin/gitmerge.el (gitmerge-commit-message):
23236 Revert to including "skipped" messages in ChangeLog once again.
23237
23238 2015-06-05 Tassilo Horn <tsdh@gnu.org>
23239
23240 Use string> instead of equiv lambda with string<
23241 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
23242 lambda with string<.
23243
23244 2015-06-05 Glenn Morris <rgm@gnu.org>
23245
23246 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
23247 (map--delete-array): Fix typo.
23248
23249 * test/automated/map-tests.el: Replace "assert" with "should".
23250
23251 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
23252 (SUBDIRS_REL): Derive from SUBDIRS.
23253
23254 Tweak some build messages.
23255 * lisp/Makefile.in ($(lisp)/loaddefs.el):
23256 * lisp/cus-dep.el (custom-make-dependencies):
23257 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
23258 * lisp/international/titdic-cnv.el (batch-titdic-convert):
23259 Don't say how to compile.
23260
23261 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
23262
23263 Omit U+0332 COMBINING LOW LINE in previous change
23264 It turns out that it does not work on Ubuntu 15.04.
23265
23266 Fix transliteration of Bahá'í months
23267 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
23268 Improve quality of Latin transliteration of Bahá'í month names.
23269
23270 Fix curved quotes in a few places
23271 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
23272 The strings in question are not doc strings, so this partially
23273 undoes the recent change that assumed they were doc strings.
23274 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
23275 * lisp/info.el (Info-finder-find-node):
23276 Use curved quotes.
23277 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
23278 Also allow curved quotes in doc strings.
23279
23280 2015-06-04 Glenn Morris <rgm@gnu.org>
23281
23282 * lisp/Makefile.in (AM_V_at): Add missing definition.
23283
23284 * lisp/Makefile.in: Quieten output a bit.
23285 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
23286 Don't echo directories, since the commands we invoke print them.
23287
23288 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
23289 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
23290 (SUBDIRS_SUBDIRS): New variables.
23291 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
23292 Remove.
23293 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
23294 (update-subdirs, compile-main, compile-clean):
23295 Replace "setwins" usage with new "SUBDIRS" variables.
23296
23297 * lisp/vc/compare-w.el (compare-windows-get-window-function):
23298 Fix :version tag.
23299
23300 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23301
23302 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
23303
23304 Undo removal of x_clear_area call on expose for GTK3 or cairo
23305 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
23306 Clear exposed area. (Bug#20677)
23307
23308 2015-06-04 Glenn Morris <rgm@gnu.org>
23309
23310 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
23311
23312 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
23313
23314 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
23315 Rename from quail-lao-update-translation, since lao.el defines that.
23316
23317 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
23318
23319 Handle new-style advice in find-funct
23320 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
23321 Handle new-style advice. Return the symbol's function definition.
23322 (Bug#20718)
23323 (find-function-library): Update accordingly.
23324
23325 2015-06-04 Nicolas Petton <nicolas@petton.fr>
23326
23327 Merge branch 'map'
23328
23329 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
23330
23331 Add new function string-greaterp
23332 * lisp/subr.el (string-greaterp): New function. Also aliased to
23333 `string>'.
23334 * test/automated/subr-tests.el (string-comparison-test): Add unit
23335 tests for `string>'and `string<'.
23336 * src/fns.c (string-lessp): Better docstring.
23337
23338 2015-06-04 Eli Zaretskii <eliz@gnu.org>
23339
23340 Fix timezone-related functions on MS-Windows
23341 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
23342 'xputenv', even if no reallocation of tzvalbuf was necessary.
23343 This fixes a bug in timezone-related functions on MS-Windows.
23344 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
23345
23346 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
23347
23348 Don't pass raw directory name to 'error'
23349 * lisp/files.el (basic-save-buffer-2): Avoid format error if
23350 a directory name contains a string like "%s".
23351
23352 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
23353
23354 Override 'grep --color=always'
23355 * lisp/progmodes/xref.el (xref-collect-matches):
23356 Override --color=always in grep-find-template.
23357
23358 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
23359
23360 Fix error introduced recently in file-notify-tests.el
23361 * test/automated/file-notify-tests.el
23362 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
23363 (file-notify--deftest-remote): Revert previous patch, not
23364 necessary anymore.
23365
23366 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
23367
23368 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
23369 Starting from a display string after a newline, point went to the
23370 previous line. Also, fix an inadvertent use of a buffer position
23371 with FETCH_BYTE. (Bug#20701)
23372
23373 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
23374
23375 Instrument file-notify-test.el in order to catch hydra error
23376 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
23377 Wrap body by `ignore-case', in order to trap non-local errors.
23378
23379 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23380
23381 Undo previous changes in non-toolkit scroll bar drawing
23382 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
23383 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
23384
23385 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
23386
23387 * .gitignore: Also ignore doc/*/*/*.html and .ps.
23388
23389 Support quotes 'like this' in info files
23390 This is possible when 'makeinfo --disable-encoding' is used
23391 in Texinfo 5.
23392 * lisp/calc/calc-help.el (calc-describe-thing):
23393 * lisp/gnus/gnus-art.el (gnus-button-alist):
23394 * lisp/info.el (Info-find-index-name):
23395 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
23396 Also support quotes 'like this'.
23397 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
23398 * lisp/finder.el (finder-font-lock-keywords): Remove var that
23399 hasn't been used in years, instead of bothering to fix its quoting.
23400
23401 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
23402
23403 * .gitignore: Remove !test/etags/html-src/*.html.
23404 It's no longer needed, since *.html was removed. Sort.
23405
23406 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
23407
23408 Restore <D> instead of '.' in grep-find-template
23409 * lisp/cedet/semantic/symref/grep.el
23410 (semantic-symref-grep-use-template): Update a comment.
23411 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
23412 instead of '.' in grep-find-template (bug#20719).
23413 (rgrep): Pass nil as the directory to rgrep-default-command.
23414 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
23415 default value for DIR.
23416 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
23417 workaround.
23418
23419 2015-06-02 Glenn Morris <rgm@gnu.org>
23420
23421 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
23422
23423 * configure.ac (emacs_config_features): Add Cairo.
23424
23425 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
23426
23427 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
23428
23429 Ensure that autorevert works for remote files in file-notify-tests.el
23430 * test/automated/file-notify-tests.el (file-notify--test-desc):
23431 New defvar.
23432 (file-notify--test-remote-enabled)
23433 (file-notify-test00-availability, file-notify-test01-add-watch)
23434 (file-notify-test02-events): Use it.
23435 (file-notify--test-event-test): Check proper descriptor.
23436 (file-notify-test03-autorevert): Ensure that
23437 `visited-file-modtime' has changed. (Bug#20392)
23438
23439 2015-06-02 Nicolas Petton <nicolas@petton.fr>
23440
23441 Add a pcase pattern for maps and `map-let' based on it
23442 * lisp/emacs-lisp/map.el (map-let): New macro.
23443 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
23444 * test/automated/map-tests.el: New test for `map-let'.
23445
23446 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
23447
23448 Reuse rgrep mechanics in xref-find-regexp
23449 * lisp/progmodes/grep.el (rgrep-default-command):
23450 Extract from `rgrep'.
23451 * lisp/progmodes/xref.el (xref-collect-references): Split from
23452 `xref-collect-matches'. Only handle the case of symbol search.
23453 (xref-collect-matches): Instead of Semantic Symref, use
23454 `rgrep-default-command', to take advantage of its directory and
23455 file ignore settings.
23456 (xref--collect-match): Remove the last argument, leaving the
23457 regexp construction up to the caller.
23458 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
23459 Change to take the xref-collect- function to use as an argument.
23460 (elisp-xref-find): Update accordingly.
23461 * lisp/progmodes/etags.el (etags--xref-find-matches)
23462 (etags-xref-find): Same.
23463
23464 Move xref-elisp-location to elisp-mode.el
23465 * lisp/progmodes/xref.el (xref-elisp-location)
23466 (xref-make-elisp-location, xref-location-marker): Remove here.
23467 (xref--xref): Don't limit the type of the location slot.
23468 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
23469 Define as a cl-struct here.
23470 (xref-location-marker): Move here.
23471
23472 2015-06-02 Eli Zaretskii <eliz@gnu.org>
23473
23474 Minor tweaks for .gitignore
23475 * .gitignore: Don't ignore versioned *.html and *.ps files.
23476 Don't ignore admin/notes/tags that might be ignored as TAGS
23477 on case-insensitive filesystems. (Bug#20710)
23478
23479 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
23480
23481 Generate curved quotes in ert doc
23482 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
23483 (ert-results-mode-menu)
23484 (ert-results-pop-to-backtrace-for-test-at-point)
23485 (ert-results-pop-to-messages-for-test-at-point)
23486 (ert-results-pop-to-should-forms-for-test-at-point)
23487 (ert-describe-test):
23488 Quote ‘like this’, not `like this', when generating doc strings
23489 and the like.
23490 * test/automated/ert-x-tests.el (ert-test-describe-test):
23491 Allow quoting ‘like this’.
23492
23493 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
23494
23495 Add test for previous commit
23496 * test/automated/replace-tests.el: New file.
23497 (query-replace--split-string-tests): Add test for previous commit.
23498
23499 Avoid confusion in query-replace history when replacing NUL chars
23500 * lisp/replace.el (query-replace--split-string): New function.
23501 (query-replace-read-from): Rely on the 'separator' property
23502 instead of searching for the NUL character (Bug#20690).
23503
23504 2015-06-02 Glenn Morris <rgm@gnu.org>
23505
23506 Merge from origin/emacs-24
23507 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
23508
23509 * admin/gitmerge.el (gitmerge-commit-message):
23510 Exclude "skipped" messages from ChangeLog.
23511
23512 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
23513
23514 Sync with Tramp repository
23515 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
23516 messages.
23517 (tramp-handle-make-auto-save-file-name): When calling
23518 `make-auto-save-file-name' internally, make sure it uses Unix-like
23519 behavior, not Windows-like behavior.
23520 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
23521 the local case, because "chown" might fail on w32.
23522 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
23523 for XEmacs.
23524
23525 2015-06-01 Eli Zaretskii <eliz@gnu.org>
23526
23527 MS-Windows followup for batch stdout/stderr output changes
23528 * lisp/international/mule-cmds.el (set-locale-environment):
23529 In batch mode, use console codepages for keyboard and terminal
23530 encoding. (Bug#20545)
23531
23532 Update .gitattributes for DOS EOL files
23533 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
23534 CRLF end-of-line format.
23535
23536 NS equivalents of xterm.c and w32term.c changes
23537 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
23538 glyph string background also when the font in use claims
23539 preposterously large global height value. Helps to remove
23540 artifacts left from previous displays when glyphless characters
23541 are displayed as hex code in a box.
23542 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
23543 value for FRAME_LINE_HEIGHT, even when a font claims very large
23544 value for its height.
23545
23546 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
23547
23548 Avoid grave accent quoting in stderr diagnostics
23549 A few Emacs diagnostics go directly to stderr, and so can't easily
23550 contain curved quotes (as non-UTF-8 locales might mishandle them).
23551 Instead of bothering to add support for this rarity, reword the
23552 diagnostics so that they don't use grave accent to quote.
23553 * src/alloc.c (mark_memory): Fix comment.
23554 * src/buffer.c (init_buffer):
23555 * src/dispnew.c (init_display):
23556 * src/emacs.c (main, sort_args):
23557 * src/lread.c (dir_warning):
23558 * src/term.c (init_tty):
23559 * src/unexmacosx.c (unexec):
23560 * src/xfns.c (select_visual):
23561 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
23562 Reword stderr diagnostics to avoid quoting `like this'.
23563 * src/unexmacosx.c: Include errno.h.
23564 * src/xfns.c (select_visual): Encode value for locale.
23565
23566 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
23567
23568 Treat batch stdout/stderr like standard display
23569 Calls like (print FOO) could generate improperly encoded or
23570 hard-to-read output if FOO contains characters outside the system
23571 locale. Fix this by treating batch stdout and stderr like
23572 interactive standard display, when it comes to transliterating and
23573 encoding characters (Bug#20545).
23574 * doc/emacs/mule.texi (Communication Coding):
23575 * doc/lispref/display.texi (Active Display Table):
23576 * doc/lispref/nonascii.texi (Locales):
23577 * etc/NEWS:
23578 * src/coding.c (syms_of_coding):
23579 * src/dispnew.c (syms_of_display):
23580 Document this.
23581 * src/print.c: Include disptab.h.
23582 (printchar_to_stream): New function, with much of the guts of the
23583 old Fexternal_debugging_output, except this one also uses the
23584 standard display table.
23585 (printchar, strout, Fexternal_debugging_output): Use it.
23586
23587 2015-05-31 Glenn Morris <rgm@gnu.org>
23588
23589 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
23590
23591 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
23592
23593 Remove DEFSYMs that aren't used at the C level. Also:
23594 * src/decompress.c (Qzlib_dll):
23595 * src/font.c (Qunicode_sip):
23596 * src/frame.c (Qtip_frame):
23597 * src/ftfont.c (Qserif):
23598 * src/gnutls.c (Qgnutls_dll):
23599 * src/xml.c (Qlibxml2_dll):
23600 Move from here ...
23601 * src/w32fns.c (syms_of_w32fns): ... to here,
23602 as these are used only on MS-Windows.
23603
23604 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
23605
23606 Use another default value for tramp-histfile-override
23607 * lisp/net/tramp-sh.el (tramp-histfile-override):
23608 Use ".tramp_history" as default.
23609 Fixes bug#20446
23610
23611 2015-05-29 Nicolas Petton <nicolas@petton.fr>
23612
23613 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
23614
23615 2015-05-16 Nicolas Petton <nicolas@petton.fr>
23616
23617 * etc/NEWS: Add an entry about map.el.
23618
23619 Improve the docstring of functions in map.el
23620 Since a map is not a data structure but a concept, adding information
23621 about the possible types of maps can be useful information.
23622 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
23623 each public function.
23624
23625 2015-04-29 Nicolas Petton <nicolas@petton.fr>
23626
23627 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
23628 specific tests depending on the type of the map.
23629
23630 * lisp/emacs-lisp/map.el: Better docstrings.
23631
23632 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
23633
23634 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
23635
23636 2015-04-25 Nicolas Petton <nicolas@petton.fr>
23637
23638 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
23639
23640 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
23641
23642 Fix a false negative in `map-elt' with alists and values being nil
23643 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
23644 found but its associated value is nil, do not return the default
23645 value.
23646 * test/automated/map-tests.el: Add a regression test.
23647
23648 2015-04-24 Nicolas Petton <nicolas@petton.fr>
23649
23650 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
23651
23652 Do not signal an error when trying to delete a key from an array
23653 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
23654 the key is present to avoid signaling an error.
23655 * test/automated/map-tests.el: Add a test for deleting non-existing
23656 keys from maps.
23657
23658 * lisp/emacs-lisp/map.el: Better docstring.
23659
23660 Minor improvement in map-elt
23661 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
23662 doing a lookup in arrays, but check the boundaries of the array
23663 instead.
23664 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
23665 and a negative integer as key.
23666
23667 2015-04-21 Nicolas Petton <nicolas@petton.fr>
23668
23669 * test/automated/map-tests.el: Refactoring of test methods.
23670
23671 * test/automated/map-tests.el: Renamed from map-test.el.
23672
23673 2015-04-18 Nicolas Petton <nicolas@petton.fr>
23674
23675 * lisp/emacs-lisp/map.el (map-into): Better error message.
23676
23677 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
23678
23679 Throw an error when converting a map into an unknown map type
23680 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
23681 not valid.
23682 * test/automated/map-tests.el: Add a regression test.
23683
23684 New library map.el similar to seq.el but for mapping data structures.
23685 * test/automated/map-tests.el: New file.
23686 * lisp/emacs-lisp/map.el: New file.
23687
23688 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
23689
23690 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
23691 there's no explicit tag name (bug#20629).
23692
23693 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
23694
23695 Remove format2
23696 * src/editfns.c, src/lisp.h (format2): Remove.
23697 It is more trouble than it's worth, now that we have CALLN.
23698 This is just a minor refactoring.
23699 * src/buffer.c (Fkill_buffer):
23700 * src/dbusbind.c (XD_OBJECT_TO_STRING):
23701 * src/fileio.c (barf_or_query_if_file_exists):
23702 Adjust to format2 going away.
23703
23704 Don't misencode C-generated messages
23705 Also, be more consistent about calls to 'Fmessage' vs 'message'.
23706 * src/alloc.c (Fgc_status):
23707 Prefer AUTO_STRING to build_string for Fmessage call.
23708 * src/data.c (Fmake_variable_buffer_local)
23709 (Fmake_local_variable, Fmake_variable_frame_local):
23710 * src/doc.c (store_function_docstring):
23711 Use Fmessage, not message, since the argument can contain
23712 non-ASCII characters, and this can cause the resulting message
23713 to be incorrectly encoded for the current environment.
23714 * src/fns.c (maybe_resize_hash_table):
23715 * src/xselect.c (x_clipboard_manager_save_all):
23716 Use message, not Fmessage, since Fmessage's power isn't needed here.
23717 * src/process.c (Fmake_network_process): Reword message to avoid %s.
23718 * src/xdisp.c (vmessage): Document restrictions on message contents.
23719 (message_nolog) [false]: Remove unused code.
23720
23721 Use \r rather than ^M in string literals
23722 This is less likely to cause problems on platforms that
23723 use CRLF (or CR!) termination for lines.
23724
23725 Update .gitattributes to match current sources
23726 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
23727 * .gitattributes: Accommodate tests that insist on DOS format.
23728 Remove test/automated/data/decompress/foo-gzipped.
23729 Add etc/e/eterm-color.
23730
23731 2015-05-30 Eli Zaretskii <eliz@gnu.org>
23732
23733 * doc/emacs/mule.texi (Modifying Fontsets):
23734 Document face-ignored-fonts. (Bug#20628)
23735
23736 Add etags test for the new -Q option
23737 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
23738 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
23739 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
23740 test-case changes below.
23741 * test/etags/ETAGS.good_6: New file.
23742 * test/etags/cp-src/x.cc: New file.
23743 * test/etags/Makefile (CPSRC): Add x.cc.
23744 (check): Add one more test, for -Q.
23745
23746 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
23747
23748 Use list for the tags completion table, not obarray
23749 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
23750 list instead of an obarray
23751 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
23752 (tags-completion-table): Combine those lists.
23753 (tags-completion-table): Update the docstring.
23754
23755 2015-05-30 Eli Zaretskii <eliz@gnu.org>
23756
23757 Restore EOL format testing in etags
23758 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
23759 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
23760 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
23761 test-case changes below.
23762 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
23763 * test/etags/cp-src/c.C (B): Add back stray CR character.
23764 * test/etags/c-src/dostorture.c: Add back.
23765 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
23766
23767 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
23768
23769 Declare Emacs on MS-Windows to be DPI-aware
23770 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
23771 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
23772 This avoids Windows entering compatibility mode for Emacs,
23773 which causes fonts to look less nice.
23774
23775 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
23776
23777 Improve Tramp traces
23778 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
23779 * lisp/net/tramp.el (tramp-debug-message): Use it.
23780
23781 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
23782
23783 backup-buffer minor reworking of internals
23784 * lisp/files.el (backup-buffer): Rework to avoid a couple of
23785 unused locals inadvertently introduced in the previous change.
23786
23787 backup-buffer now reports .emacs.d/%backup% ills
23788 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
23789 fails due to disk space exhaustion or whatever, do not pretend
23790 that it succeeded. More generally, do a better job of checking
23791 for I/O failures, and limit the scope of the condition-case to
23792 just the operations where file errors should be caught and ignored
23793 (Bug#20595). Also, don't bother trying to delete later backups if
23794 an earlier deletion fails, as this is a sign of trouble and it's
23795 better to stop when there's trouble.
23796
23797 copy-file now truncates output after writing
23798 * src/fileio.c (Fcopy_file): Truncate output after writing rather
23799 than before. This is more likely to work than truncation before
23800 writing, if the file system is out of space or the user is over
23801 disk quota (Bug#20595). Also, check for read errors.
23802
23803 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
23804
23805 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
23806 Don't load descriptors from directories above the package directories.
23807
23808 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
23809
23810 Merge from gnulib
23811 This incorporates the following (Bug#20681):
23812 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
23813 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
23814 * lib/set-permissions.c: Copy from gnulib.
23815
23816 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
23817
23818 Improve Tramp traces
23819 * lisp/net/tramp.el (tramp-call-process-region): New defun.
23820 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
23821
23822 2015-05-29 Glenn Morris <rgm@gnu.org>
23823
23824 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
23825
23826 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
23827
23828 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
23829 The signature was changed in the cairo branch, merged on 2015-05-23.
23830 This oversight broke compiling only the non-toolkit X version.
23831
23832 2015-05-29 Samer Masterson <samer@samertm.com>
23833
23834 * doc/lispref/os.texi: Update initial-buffer-choice docs.
23835
23836 2015-05-29 Glenn Morris <rgm@gnu.org>
23837
23838 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
23839 Mark as an expected failure.
23840
23841 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
23842
23843 Change package test to look for curved quotes
23844 * test/automated/package-test.el (package-test-describe-package)
23845 (package-test-signed): Search for curved single quotes as well as
23846 for grave accent and apostrophe.
23847
23848 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
23849
23850 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
23851 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
23852
23853 2015-05-28 Samer Masterson <samer@samertm.com>
23854
23855 Show files when `initial-buffer-choice' is non-nil
23856 * lisp/startup.el (command-line-1): When Emacs is given a file as an
23857 argument and `initial-buffer-choice' is non-nil, display both the file
23858 and `initial-buffer-choice'. For more than one file, show
23859 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
23860 commands out of the command line arg parser.
23861 (initial-buffer-choice): Clarify docstring.
23862
23863 2015-05-28 Eli Zaretskii <eliz@gnu.org>
23864
23865 Fix last commit
23866 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
23867 (gnulib module qcopy-acl): Add back, as it is harmless. This
23868 minimizes differences wrt lib/gnulib.mk.
23869
23870 Fix the MS-Windows build as followup to gnulib update
23871 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
23872 set-permissions.c, as they don't compile on MinGW.
23873 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
23874
23875 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
23876
23877 Revert my change to gnus-art.el
23878 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
23879 It wasn't that important, and it caused a Gnus build to fail. See:
23880 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
23881
23882 New minor mode Electric Quote
23883 This lets you easily insert quotes ‘like this’ by typing
23884 quotes `like this', and similarly you can easily insert
23885 quotes “like this” by typing quotes ``like this'' (Bug#20545).
23886 * doc/emacs/basic.texi (Inserting Text):
23887 * doc/emacs/modes.texi (Minor Modes):
23888 * etc/NEWS: Document it.
23889 * doc/emacs/text.texi (Quotation Marks): New section.
23890 * lisp/electric.el (electric-quote-comment)
23891 (electric-quote-string, electric-quote-paragraph):
23892 New custom vars.
23893 (electric--insertable-p)
23894 (electric-quote-post-self-insert-function): New functions.
23895 (electric-quote-mode, electric-quote-local-mode): New minor modes.
23896 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
23897 Add curved single quotes to electric-pair-text-pairs.
23898 Set electric-quote-string in this buffer.
23899
23900 A few more doc string fixes (Bug#20385)
23901
23902 Accept curved quotes in doc strings
23903 * lisp/info-look.el (info-lookup-guess-custom-symbol):
23904 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
23905
23906 Generate curved quotes in pseudo-info nodes
23907 * lisp/info.el (Info-virtual-index-find-node)
23908 (Info-virtual-index, Info-apropos-find-node, info-apropos):
23909 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
23910
23911 Fix minor quoting problems in doc strings
23912 Most of these fixes involve escaping grave accents that are
23913 actually intended to be grave accents, not left quotes.
23914 (Bug#20385)
23915
23916 Support curved quotes in doc strings
23917 Emacs's traditional doc string style has been to quote symbols
23918 `like this'. This worked well on now-obsolete terminals where
23919 ` and ' were symmetric quotes, but nowadays curved quotes
23920 ‘like this’ look better. Support quoting the new way too.
23921 (Bug#20385)
23922 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
23923 ‘like-this’ as well as `like-this'.
23924 * etc/NEWS: Mention this.
23925 * lisp/cedet/mode-local.el (overload-docstring-extension)
23926 (mode-local-print-binding, mode-local-describe-bindings-2):
23927 * lisp/cus-theme.el (describe-theme-1):
23928 * lisp/descr-text.el (describe-text-properties-1, describe-char):
23929 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
23930 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
23931 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
23932 (eieio-help-constructor):
23933 * lisp/emacs-lisp/package.el (describe-package-1):
23934 * lisp/faces.el (describe-face):
23935 * lisp/help-fns.el (help-fns--key-bindings)
23936 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
23937 (help-fns--interactive-only, describe-function-1):
23938 (describe-variable):
23939 * lisp/help.el (describe-mode):
23940 * lisp/international/mule-cmds.el (describe-input-method)
23941 (describe-language-environment):
23942 * lisp/international/mule-diag.el (describe-character-set)
23943 (print-coding-system-briefly, list-input-methods)
23944 (list-input-methods-1):
23945 Insert curved quotes rather than grave accent and apostrophe.
23946 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
23947 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
23948 (checkdoc-proper-noun-region-engine):
23949 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
23950 (lisp-cl-font-lock-keywords-2):
23951 * lisp/finder.el (finder-font-lock-keywords):
23952 * lisp/gnus/gnus-art.el (gnus-button-alist):
23953 * lisp/help-fns.el (help-do-arg-highlight)
23954 (describe-function-1, describe-variable):
23955 * lisp/help-mode.el (help-xref-symbol-regexp)
23956 (help-xref-info-regexp, help-xref-url-regexp):
23957 * lisp/help.el (describe-mode):
23958 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
23959 * lisp/wid-edit.el (widget-documentation-link-regexp):
23960 Parse symbols quoted ‘like-this’ as well as `like-this'.
23961 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
23962 Add "‘" and "’" to electric-pair-text-pairs.
23963 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
23964 (elisp-completion-at-point, elisp--preceding-sexp):
23965 Also treat "‘" and "’" as quoting chars.
23966
23967 substitute-command-keys now curves quotes
23968 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
23969 * doc/lispref/help.texi (Keys in Documentation):
23970 * etc/NEWS: Document this.
23971 * src/doc.c (Fsubstitute_command_keys): Implement it.
23972
23973 2015-05-28 Glenn Morris <rgm@gnu.org>
23974
23975 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
23976 (rmail-summary-by-topic, rmail-summary-by-senders):
23977 No longer strip leading/trailing whitespace.
23978
23979 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
23980 (f90-no-block-limit): Add "enum". (Bug#20680)
23981 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
23982 New tests.
23983
23984 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23985
23986 * lisp/isearch.el (isearch--current-buffer): Give a default value.
23987 Un-revert changes mistakenly dropped by f9fabb2b.
23988
23989 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
23990
23991 Merge from gnulib
23992 This incorporates:
23993 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
23994 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
23995 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
23996 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
23997 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
23998 2015-05-26 stdio: fix probe on mingw under gcc 5.1
23999 * admin/merge-gnulib (GNULIB_MODULES):
24000 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
24001 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
24002 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
24003 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
24004 Get latest versions from gnulib.
24005 * lib/get-permissions.c, lib/set-permissions.c: New files.
24006 * lib/gnulib.mk, m4/gnulib-comp.m4:
24007 Regenerate.
24008 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
24009
24010 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
24011
24012 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
24013 process here.
24014 (vc-do-command): Rather than here (bug#20608).
24015
24016 2015-05-27 Ivan Shmakov <ivan@siamics.net>
24017
24018 Avoid gratuitous delete-dups in face-at-point
24019 * lisp/faces.el (face-at-point): Do not compute the properly
24020 ordered, duplicate-free list if only a single value is
24021 requested anyway. (Bug#20519)
24022
24023 Show the exact C-x 8 RET invocation in describe-char
24024 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
24025 invocation instead of a template. (Bug#20522)
24026
24027 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
24028
24029 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
24030 (package-menu--post-refresh): Call `tabulated-list-print' with the
24031 UPDATE argument. This only affects the refresh action, the revert
24032 action still erases tags.
24033 (package-menu-get-status): Change `assq' to `assoc'.
24034 (package-menu--mark-upgrades-1): New function.
24035 (package-menu--mark-upgrades-pending): New variable.
24036 (package-menu-mark-upgrades): Use them to delay marking until
24037 after refresh is done.
24038 (package-menu--post-refresh): Call mark-upgrades-1 if
24039 mark-upgrades-pending is non-nil.
24040
24041 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
24042
24043 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
24044 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
24045 (commit 3953c4be2816537be95520605d45b866dc731f4b).
24046
24047 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
24048
24049 * lisp/isearch.el (isearch--current-buffer): New var.
24050 (isearch-update): Set cursor-sensor-inhibit here.
24051 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
24052 (bug#20532).
24053
24054 Change inhibit-point-motion-hooks to t
24055 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
24056 to t and document it as obsolete.
24057
24058 2015-05-27 Eli Zaretskii <eliz@gnu.org>
24059
24060 Support ZIP files that use Zip64 extensions
24061 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
24062 format of central directory offsets used by Zip64 extensions.
24063 (Bug#20665)
24064
24065 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
24066
24067 New test tramp-test30-make-auto-save-file-name
24068 * test/automated/tramp-tests.el
24069 (tramp-test30-make-auto-save-file-name): New test.
24070 (tramp-test31-special-characters)
24071 (tramp-test31-special-characters-with-stat)
24072 (tramp-test31-special-characters-with-perl)
24073 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
24074 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
24075 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
24076 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
24077
24078 Improve tramp-handle-make-auto-save-file-name
24079 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
24080 (tramp-handle-make-auto-save-file-name): Let native
24081 `make-auto-save-file-name' use `auto-save-file-name-transforms',
24082 if `tramp-auto-save-directory' is not set.
24083
24084 2015-05-27 Glenn Morris <rgm@gnu.org>
24085
24086 No longer set dired-directory in eshell. (Bug#16477)
24087 * lisp/eshell/esh-mode.el (eshell-mode):
24088 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
24089
24090 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
24091
24092 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
24093 * lisp/progmodes/cc-mode.el (c-mode-help-address):
24094 Change to submit@debbugs.
24095 (c-mode-bug-package): New constant.
24096 (mail-position-on-field): Declare.
24097 (c-submit-bug-report): Insert X-Debbugs-Package header.
24098 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
24099 Mention debbugs.gnu.org.
24100
24101 2015-05-26 Glenn Morris <rgm@gnu.org>
24102
24103 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
24104 (rmail-summary-by-recipients, rmail-summary-by-topic)
24105 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
24106 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
24107
24108 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
24109
24110 Handle curved quotes in info files
24111 * lisp/calc/calc-help.el (calc-describe-thing):
24112 * lisp/info.el (Info-find-index-name)
24113 (Info-try-follow-nearest-node, Info-fontify-node):
24114 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
24115 In info files, process quotes ‘like this’ the same way we process
24116 quotes `like this'. This catches a few places we missed earlier.
24117
24118 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
24119
24120 xref-prompt-for-identifier: Use a list value
24121 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
24122 value, to be interpreted as a list of commands.
24123 (xref--prompt-p): New function.
24124 (xref--read-identifier): Use it.
24125
24126 2015-05-26 Eli Zaretskii <eliz@gnu.org>
24127
24128 Teach MS-Windows font back-end return per-glyph ascent/descent
24129 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
24130 values.
24131 * src/w32font.c (w32font_text_extents): Compute, cache, and
24132 accumulate per-glyph ascent and descent values, instead of copying
24133 global values from the font. If the values are not available from
24134 the font data, i.e., non-TTF fonts, fall back on font-global values.
24135 (compute_metrics): Compute and return per-glyph ascent and descent
24136 values, if returned by GetGlyphOutlineW, falling back on
24137 font-global values. (Bug#20628)
24138 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
24139 height of rectangle to be drawn, to be compatible with
24140 XDrawRectangle. Fixes glyphless-char display as hex codes in a
24141 box, when per-glyph ascent/descent values are used.
24142
24143 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
24144
24145 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
24146 Don't sort if sorter is nil.
24147
24148 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
24149
24150 Fix Bug#20621
24151 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
24152 are major modes which set `auto-save-mode' on their own rules;
24153 Tramp shall not overwrite such settings.
24154
24155 2015-05-26 Glenn Morris <rgm@gnu.org>
24156
24157 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
24158 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
24159 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
24160 Doc updates.
24161 (vc-dir-mode): Remove unnecessary autoload.
24162
24163 2015-05-25 Philipp Stephani <phst@google.com>
24164
24165 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
24166 (xterm--extra-capabilities-type): Add `getSelection'.
24167 (xterm--query): Add `no-async' argument.
24168 (xterm--init-activate-get-selection): New function.
24169 (terminal-init-xterm): Use it.
24170 (xterm--init-modify-other-keys): Rename from
24171 terminal-init-xterm-modify-other-keys.
24172 (xterm--init-bracketed-paste-mode): Rename from
24173 terminal-init-xterm-bracketed-paste-mode.
24174 (xterm--init-activate-set-selection): Rename from
24175 terminal-init-xterm-activate-set-selection.
24176 (xterm--selection-char): New function.
24177 (gui-backend-set-selection): Use it. Use the &context to only apply
24178 this method in terminals where we enabled the feature.
24179 (gui-backend-get-selection): New method.
24180
24181 2015-05-25 Daniel Colascione <dancol@dancol.org>
24182
24183 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
24184 keyword constants to C++.
24185
24186 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
24187
24188 Make TAGS files more portable to MS-Windows
24189 * etc/NEWS: Document this.
24190 * lib-src/etags.c (readline_internal) [DOS_NT]:
24191 Don't treat CRs differently from GNUish hosts.
24192 * lisp/progmodes/etags.el (etags-goto-tag-location):
24193 Adjust STARTPOS to account for the skipped CRs in dos-style files.
24194
24195 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
24196
24197 Improve fix of bug#20634 in tramp-sh.el
24198
24199 2015-05-25 Eli Zaretskii <eliz@gnu.org>
24200
24201 Fix a typo in last commit
24202 * lib-src/etags.c (C_entries): Fix a typo.
24203 * test/etags/ETAGS.good_1:
24204 * test/etags/ETAGS.good_2:
24205 * test/etags/ETAGS.good_3:
24206 * test/etags/ETAGS.good_4:
24207 * test/etags/ETAGS.good_5:
24208 * test/etags/CTAGS.good: Update due to the change in etags.c.
24209
24210 Fix tagging of class members in C-like OO languages
24211 * lib-src/etags.c (longopts): Add new option --class-qualify and
24212 its shorthand -Q.
24213 (print_help): Add help text for --class-qualify.
24214 (main): Add handling of -Q.
24215 (consider_token, C_entries) <omethodparm>: Append argument types
24216 to Objective C methods only if --class-qualify was specified.
24217 Qualify C++, Objective C, and Java class members with their class
24218 names only if --class-qualify was specified.
24219 (C_entries): If --class-qualify was not specified, remove the
24220 namespace and class qualifiers from tag names of C++ methods.
24221 This allows to use etags.el as xref back-end without the
24222 tag-symbol-match-p method, which greatly increases the number of
24223 potentially false positives. (Bug#20629)
24224 * doc/man/etags.1: Update to document the new --class-qualify
24225 option.
24226 * test/etags/ETAGS.good_1:
24227 * test/etags/ETAGS.good_2:
24228 * test/etags/ETAGS.good_3:
24229 * test/etags/ETAGS.good_4:
24230 * test/etags/ETAGS.good_5:
24231 * test/etags/CTAGS.good: Update due to changes in etags.c.
24232
24233 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
24234
24235 (cl-generic-define-method): Side effects are evil (bug#20644)
24236 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
24237 cons-cells that might be used as keys in an `equal' hash-table.
24238
24239 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
24240
24241 Make erc timestamps visible again
24242 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
24243 Make timestamps visible again (if requested).
24244
24245 2015-05-25 Eli Zaretskii <eliz@gnu.org>
24246
24247 Fix last change in etags.c that broke tagging compresed files
24248 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
24249 quoting of decompression shell command for MS-Windows/MS-DOS.
24250
24251 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
24252
24253 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
24254 (Bug#20639)
24255
24256 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
24257
24258 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
24259 Fix typo in "Inhibit `epa-file-handler' in Tramp"
24260 (commit 89035e247591c8d688fce922b7079881aa110f33).
24261
24262 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
24263
24264 Fix IPv6 addresses in Tramp
24265 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
24266 Add square brackets around host name.
24267
24268 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
24269
24270 Inhibit `epa-file-handler' in Tramp (Bug#20634)
24271 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
24272 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
24273 `epa-file-handler'.
24274
24275 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24276
24277 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
24278 (pcase-let): Document the behavior in case the pattern doesn't match.
24279
24280 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
24281
24282 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
24283 (tabulated-list-print): New optional argument, UPDATE. If
24284 non-nil, the list is printed by only adding and deleting the
24285 changed entries, instead of erasing the whole buffer. This method
24286 is much faster when few or no entries have changed.
24287 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
24288 * etc/NEWS: Document it.
24289
24290 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
24291 (tabulated-list--get-sorter): New function.
24292 (tabulated-list-print): Restore window-line when remember-pos is
24293 passed and optimize away the `nreverse'.
24294
24295 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
24296
24297 Simpilify etags TEX mode scanning
24298 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
24299 Remove static vars.
24300 (TeX_commands): Deduce escapes here instead.
24301 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
24302 This removes the need for a reset_input call.
24303
24304 Improve etags I/O error reporting
24305 * lib-src/etags.c:
24306 Don't include sys/types.h and sys/stat.h; no longer needed.
24307 (infilename): New static var.
24308 (process_file_name): Don't call 'stat'. Instead, just open the
24309 file for reading and report any errors. Don't bother making
24310 a copy of the file argument; it's not needed. Be more careful to
24311 use the failing errno when reporting an error.
24312 Quote the real name better (though no perfectly)
24313 when passing it to the shell.
24314 (reset_input): New function, which reports I/O errors.
24315 All uses of 'rewind' changed to use this function.
24316 (perhaps_more_input): New function, which also checks for
24317 I/O errors. All uses of 'feof' changed to use this function.
24318 (analyze_regex): Report an error if fclose fails.
24319 (readline_internal): Report an error if getc fails.
24320 (etags_mktmp): Return an error if close fails.
24321
24322 etags.c: avoid side effects in 'if'
24323 * lib-src/etags.c (process_file_name, Perl_functions)
24324 (TEX_decode_env): Hoist side effects into previous statement.
24325
24326 .gitignore tweaks
24327 * .gitignore: Ignore all *.stamp files. Sort.
24328 Ignore [0-9]*.txt (commonly used name for git patches)
24329 and /vc-dwim-log-* (vc-dwim temporary).
24330
24331 2015-05-24 Eli Zaretskii <eliz@gnu.org>
24332
24333 Fix last change in etags.c, which failed the test suite
24334 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
24335 before the last change.
24336
24337 2015-05-23 Glenn Morris <rgm@gnu.org>
24338
24339 Remove charset map files from repository, generate in first bootstrap
24340 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
24341 (all): Create the stamp file.
24342 (extraclean): Delete the stamp file.
24343 * src/Makefile.in (lispintdir, charsets): New variables.
24344 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
24345 New rules.
24346 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
24347 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
24348 * etc/charsets/*.map: Remove from repository.
24349
24350 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
24351
24352 Cleanup etags.c to use locale-independent code
24353 Although this doesn't alter behavior (as etags doesn't use
24354 setlocale), the new version is more clearly locale-independent and
24355 the executable is a bit smaller on my platform.
24356 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
24357 Include <c-ctype.h> instead of <ctype.h>.
24358 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
24359 (begtk, midtk):
24360 Remove; no longer needed.
24361 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
24362 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
24363 c_islower, c_tolower, respectively.
24364 (notinname, begtoken, intoken, endtoken): Rewrite as functions
24365 instead of macros, and initialize the tables at compile-time
24366 rather than at run-time.
24367
24368 Put default action first in src/Makefile
24369 * src/Makefile.in (all): Put this rule before lisp.mk.
24370 That way, plain 'make' works in the src directory again.
24371
24372 2015-05-23 Glenn Morris <rgm@gnu.org>
24373
24374 * Makefile.in: Fix extraclean rule.
24375 (extraclean_dirs): New.
24376 (extraclean): Use it.
24377
24378 2015-05-23 Eli Zaretskii <eliz@gnu.org>
24379
24380 Avoid compiler warning in image.c on MS-Windows
24381 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
24382 warning in image.c.
24383
24384 2015-05-23 Glenn Morris <rgm@gnu.org>
24385
24386 Fix --without-toolkit-scroll-bars builds.
24387 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
24388 Add new argument to x_clear_area1.
24389 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
24390 Update x_clear_area arguments.
24391
24392 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
24393 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
24394 Change to included version.
24395 (LOCAL, local, totalclean): Remove.
24396 (extraclean): Delete all generated files.
24397
24398 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24399
24400 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
24401 CVS/Entries exists.
24402
24403 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
24404
24405 * lisp/progmodes/etags.el (tags-completion-at-point-function):
24406 Don't trust the find-tag function.
24407
24408 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
24409
24410 Pacify --enable-gcc-warnings
24411 * src/frame.h (x_query_color): Remove redundant extern decl.
24412 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
24413 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
24414 (ftcrfont_text_extents, ftcrfont_draw):
24415 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
24416 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
24417 (x_ins_del_lines, frame_highlight, frame_unhighlight)
24418 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
24419 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
24420 (x_update_window_begin, x_connection_closed)
24421 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
24422 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
24423 (*x_gc_get_ext_data, x_extension_initialize)
24424 (x_cr_accumulate_data):
24425 Remove redundant static decl. Many of these GCC doesn't complain
24426 about, but we might as well clean out the duplication while we're
24427 in the neighborhood.
24428 * src/xterm.c (x_fill_trapezoid_for_relief):
24429 Remove decl of nonexistent function.
24430
24431 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24432
24433 Replace gui-method macros with cl-generic with &context
24434 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
24435 (gui-method-declare, gui-call): Remove.
24436 (frame-creation-function): Use cl-defgeneric.
24437 (make-frame): Adjust callers.
24438 * lisp/menu-bar.el (menu-bar-edit-menu):
24439 Use gui-backend-selection-exists-p.
24440 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
24441 (gui-backend-get-selection): New cl-generic to replace
24442 gui-get-selection method.
24443 (gui-backend-set-selection): New cl-generic to replace
24444 gui-set-selection method.
24445 (gui-selection-owner-p): New cl-generic to replace
24446 gui-selection-owner-p method.
24447 (gui-backend-selection-exists-p): New cl-generic to replace
24448 gui-selection-exists-p method. Adjust all callers.
24449 * lisp/server.el (server-create-window-system-frame): Don't ignore
24450 window-system spec even when unsupported.
24451 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
24452 * lisp/startup.el (handle-args-function, window-system-initialization):
24453 Use cl-defgeneric.
24454 (command-line): Adjust calls accordingly.
24455 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
24456 a window-system-initialization method.
24457 (handle-args-function, frame-creation-function): Use cl-defmethod.
24458 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
24459 (gui-get-selection): Use cl-defmethod on the new functions instead.
24460 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
24461 a gui-backend-get-selection method.
24462 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
24463 Use cl-defmethod on the new functions instead.
24464 (msdos-window-system-initialization): Turn into
24465 a window-system-initialization method.
24466 (frame-creation-function, handle-args-function): Use cl-defmethod.
24467 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
24468 a window-system-initialization method.
24469 (handle-args-function, frame-creation-function): Use cl-defmethod.
24470 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
24471 (gui-get-selection): Use cl-defmethod on the new functions instead.
24472 * lisp/term/x-win.el (x-window-system-initialization): Turn into
24473 a window-system-initialization method.
24474 (handle-args-function, frame-creation-function): Use cl-defmethod.
24475 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
24476 (gui-get-selection): Use cl-defmethod on the new functions instead.
24477 * lisp/term/xterm.el (xterm--set-selection): Turn into
24478 a gui-backend-set-selection method.
24479 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
24480 (Fns_selection_owner_p): Remove unused arg `terminal'.
24481 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
24482
24483 2015-05-23 Eli Zaretskii <eliz@gnu.org>
24484
24485 Revert "Fix etags Bug#20629 that broke C++ support"
24486 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
24487
24488 2015-05-23 Jan D <jan.h.d@swipnet.se>
24489
24490 Fix etags Bug#20629 that broke C++ support
24491 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
24492 Revert commit from Sun May 10 (Bug#20629).
24493
24494 Merge branch 'cairo'.
24495 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
24496 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
24497
24498 Merge branch 'master' into cairo
24499
24500 Fixes to compile cairo branch without cairo
24501 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
24502 first argument.
24503 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
24504 USE_CAIRO.
24505
24506 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
24507
24508 * lisp/emacs-lisp/package.el: Always update selected-packages.
24509 (package--update-selected-packages): New function.
24510 (package-menu-execute): Use it before starting the transaction,
24511 this way the list of selected packages is updated even when the
24512 transaction fails.
24513 (package-menu--perform-transaction): Don't edit selected-packages.
24514
24515 2015-05-23 Eli Zaretskii <eliz@gnu.org>
24516
24517 Fix etags reading of compressed files
24518 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
24519 Include fcntl.h, for O_CLOEXEC.
24520 (process_file_name): Don't use 'popen', whose streams cannot be
24521 rewound. Instead, uncompress the file to a temporary file,
24522 created by 'etags_mktmp', and read from that as usual.
24523 (etags_mktmp): New function.
24524 * test/etags/ETAGS.good_1:
24525 * test/etags/ETAGS.good_2:
24526 * test/etags/ETAGS.good_3:
24527 * test/etags/ETAGS.good_4:
24528 * test/etags/ETAGS.good_5: Update to be consistent with latest
24529 changes in etags.c regarding reading compressed files.
24530
24531 Improve documentation of 'set-fontset-font'
24532 * doc/lispref/display.texi (Fontsets): Document the value of nil
24533 for the 3rd argument of 'set-fontset-font'.
24534
24535 Fix documentation of forward-line
24536 * src/cmds.c (Fforward_line): Clarify the return value if the line
24537 at end of accessible portion of the buffer has no newline.
24538 * doc/lispref/positions.texi (Text Lines): Document what happens
24539 if the line at end of accessible portion of buffer has no newline.
24540 (Bug#20587)
24541
24542 2015-05-22 Glenn Morris <rgm@gnu.org>
24543
24544 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
24545
24546 * admin/charsets/mapconv (LC_ALL): Set to C.
24547
24548 * Makefile.in: Add admin/charsets into top-level clean rules.
24549 (clean): Add admin/charsets.
24550 (maybeclean_dirs): New variable.
24551 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
24552
24553 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
24554
24555 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
24556
24557 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
24558
24559 2015-05-22 Glenn Morris <rgm@gnu.org>
24560
24561 Generate admin/charsets Makefile via configure, and make more portable
24562 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
24563 (admin/charsets/Makefile): Generate it.
24564 * admin/charsets/Makefile.in: Rename from Makefile.
24565 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
24566 New variables, set by configure.
24567 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
24568 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
24569 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
24570 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
24571 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
24572 (all): Declare PHONY.
24573 (local): New PHONY target.
24574 (map_template): New template. Use to define short PHONY aliases.
24575 (*.map): Add directory prefixes to targets and prerequisites.
24576 Respect make verbosity.
24577 (JISC6226.map): Replace non-portable sed append without newline.
24578 (install): Remove rule.
24579 (clean): Only delete temporary sedscript.
24580 (bootstrap-clean, distclean, maintainer-clean, extraclean)
24581 (totalclean): New PHONY rules.
24582 * admin/charsets/mapconv (BASE): Replace basename with expr.
24583 (FILE): Add "mapfiles" subdirectory.
24584 (AWK): New variable. Use throughout in place of "awk".
24585 (main): Use "gunzip -c" in place of "zcat".
24586 Don't leave whitespace before "p", for older sed.
24587 * admin/charsets/mapfiles/PTCP154: Add final newline,
24588 to make older sed versions happy.
24589
24590 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24591
24592 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
24593 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
24594 (auto-revert-notify-watch-descriptor): Use defvar-local.
24595 (find-file-hook, auto-revert-tail-mode)
24596 (auto-revert-notify-add-watch): Use setq-local.
24597 (auto-revert-notify-add-watch): Don't call make-local-variable on
24598 kill-buffer-hook (bug#20601).
24599
24600 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24601
24602 Change defgeneric so it doesn't completely redefine the function
24603 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
24604 previously defined methods.
24605 (cl-generic-define-method): Let-bind purify-flag instead of
24606 using `fset'.
24607 (cl--generic-prefill-dispatchers): Only define during compilation.
24608 (cl-method-qualifiers): Remove redundant alias.
24609 (help-fns-short-filename): Silence byte-compiler.
24610 * test/automated/cl-generic-tests.el:
24611 Adjust to new defgeneric semantics.
24612
24613 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
24614
24615 * lisp/emacs-lisp/package.el (package-menu-execute):
24616 Remove reference to remove-dups.
24617
24618 2015-05-21 kwhite <kwhite@gnu.org>
24619
24620 * lisp/erc/erc.el: Hide network/channel messages.
24621 (erc-network-hide-list, erc-channel-hide-list): New lists to define
24622 message types per network/channel.
24623 (erc-add-targets): New function to parse list of targets.
24624 (erc-hide-current-message-p): Modify to check for new targets.
24625
24626 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
24627
24628 Don't quote nil and t in doc strings
24629 This is as per "Tips for Documentation Strings" in the elisp manual.
24630 For consistency, do the same in diagnostics and comments.
24631
24632 2015-05-21 Eli Zaretskii <eliz@gnu.org>
24633
24634 Fix a minor problem with mouse-face on mode line
24635 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
24636 mouse face also if the mouse pointer hovers above mode-line glyphs
24637 that don't come from any Lisp string. (Bug#20620)
24638
24639 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
24640
24641 * lisp/emacs-lisp/package.el: Fix selected-package logic.
24642 (package-menu-execute): Mark as selected all non-upgrade packages
24643 being installed.
24644 (package-menu--perform-transaction): Don't mark anything.
24645
24646 * lisp/emacs-lisp/package.el: Mode-line progress report.
24647 (package-menu--transaction-status): New variable.
24648 (package-menu-mode, package-menu--perform-transaction): Use it.
24649
24650 * lisp/emacs-lisp/package.el: Better transaction messages.
24651 (package-menu--partition-transaction): New function.
24652 (package-menu--prompt-transaction-p, package-menu-execute):
24653 Use it.
24654 (package-menu--perform-transaction): Don't do any messaging.
24655
24656 * lisp/emacs-lisp/package.el: Revert async package transactions.
24657 (package-menu-async): Update doc.
24658 (package-install-from-archive, package-download-transaction)
24659 (package-install, package-menu--perform-transaction)
24660 (package-menu-execute): Remove asynchronous functionality.
24661
24662 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
24663
24664 Revert doc string changes to f90.el
24665 Problem reported by Glenn Morris in:
24666 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
24667 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
24668 Revert recent changes to doc strings, as it's intended that they
24669 use grave accent, not quote.
24670
24671 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
24672
24673 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
24674 Improve parameter name.
24675
24676 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
24677
24678 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
24679
24680 Don't require help-fns when not needed
24681 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
24682 * lisp/emacs-lisp/elint.el:
24683 Don't require help-fns at the top level
24684 * lisp/emacs-lisp/advice.el (ad-arglist):
24685 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
24686 Don't require help-fns. (Bug#17001)
24687
24688 2015-05-20 Eli Zaretskii <eliz@gnu.org>
24689
24690 Fix slash collapsing in etags on MS-Windows
24691 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
24692 MS-Windows code from the Posix code, and support collapsing both
24693 forward- and back-slashes on MS-Windows. Fixes a regression found
24694 by the test suite.
24695
24696 Improve documentation of glyphless-char-display
24697 * doc/lispref/display.texi (Glyphless Chars): Improve
24698 documentation of glyphless character display.
24699
24700 Fix "acronym" display of glyphless characters on w32
24701 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
24702 ignore "acronym" substitutes of 1 character for glyphless characters.
24703
24704 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
24705
24706 Add an automated test for let-when-compile
24707 * test/automated/subr-tests.el (let-when-compile): New test.
24708
24709 Add let-when-compile macro instead of using pcase-let
24710 * lisp/subr.el (let-when-compile): New let-like macro that makes its
24711 bindings known to macros like `eval-when-compile' in the body.
24712 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
24713 a `let-when-compile'. Also comment out the unused lexical var
24714 `el-kws-re'.
24715 The change greatly improves readability, while providing almost the
24716 same (even shorter) byte code: instead of pre-evaluating 10 variables,
24717 tossing them into a list, and destructuring that list a full screen
24718 page later, the variables are simply bound as they are evaluated,
24719 wrapped individually in `eval-when-compile'.
24720
24721 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
24722
24723 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
24724 (package-delete-button-action): New function.
24725 (describe-package-1): Add Delete button.
24726
24727 * lisp/emacs-lisp/package.el: Better dependency description.
24728 (package--used-elsewhere-p): New optional arg, ALL, and return
24729 package-desc objects instead of names.
24730 (package-delete): Update accordingly.
24731 (describe-package-1): Describe which packages require the package.
24732
24733 2015-05-20 Martin Rudalics <rudalics@gmx.at>
24734
24735 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
24736 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
24737 Fix doc-string.
24738
24739 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
24740 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
24741 (switch-to-buffer): If the selected window is strongly dedicated
24742 to its buffer, signal error before prompting for buffer name.
24743 Handle `switch-to-buffer-in-dedicated-window'.
24744 * doc/lispref/windows.texi (Switching Buffers):
24745 Document `switch-to-buffer-in-dedicated-window'.
24746
24747 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
24748
24749 Prefer "this" to “this” in doc strings
24750 This mostly just straightens quotes introduced in my previous patch.
24751 Suggested by Dmitry Gutov in:
24752 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
24753 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
24754 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
24755 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
24756 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
24757 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
24758 Prefer straight double quotes to curved double quotes in doc strings.
24759
24760 Fix minor quoting problems in doc strings
24761 These were glitches regardless of how or whether we tackle the
24762 problem of grave accent in doc strings.
24763 * lisp/calc/calc-aent.el (math-restore-placeholders):
24764 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
24765 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
24766 * lisp/leim/quail/hebrew.el ("hebrew-new")
24767 ("hebrew-biblical-sil"):
24768 * lisp/leim/quail/thai.el ("thai-kesmanee"):
24769 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
24770 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
24771 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
24772 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
24773 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
24774 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
24775 (semantic-tag-components):
24776 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
24777 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
24778 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
24779 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
24780 * lisp/emacs-lisp/generator.el (iter-next):
24781 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
24782 (gnus-article-mode-syntax-table):
24783 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
24784 * lisp/net/soap-client.el (soap-wsdl-get):
24785 * lisp/net/telnet.el (telnet-mode):
24786 * lisp/org/org-compat.el (org-number-sequence):
24787 * lisp/org/org.el (org-remove-highlights-with-change)
24788 (org-structure-template-alist):
24789 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
24790 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
24791 (handwrite-12pt, handwrite-13pt):
24792 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
24793 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
24794 * lisp/progmodes/verilog-mode.el (verilog-tool)
24795 (verilog-string-replace-matches, verilog-preprocess)
24796 (verilog-auto-insert-lisp, verilog-auto-insert-last):
24797 * lisp/textmodes/makeinfo.el (makeinfo-options):
24798 * src/font.c (Ffont_spec):
24799 Fix minor quoting problems in doc strings, e.g., missing quote,
24800 ``x'' where `x' was meant, etc.
24801 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
24802 Fix minor quoting problem in other string.
24803 * lisp/leim/quail/ethiopic.el ("ethiopic"):
24804 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
24805 Omit unnecessary quotes.
24806 * lisp/faces.el (set-face-attribute, set-face-underline)
24807 (set-face-inverse-video, x-create-frame-with-faces):
24808 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
24809 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
24810 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
24811 * lisp/net/tramp.el (tramp-methods):
24812 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
24813 * lisp/textmodes/artist.el (artist-ellipse-right-char)
24814 (artist-ellipse-left-char, artist-vaporize-fuzziness)
24815 (artist-spray-chars, artist-mode, artist-replace-string)
24816 (artist-put-pixel, artist-text-see-thru):
24817 * lisp/vc/ediff-util.el (ediff-submit-report):
24818 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
24819 Use double-quotes rather than TeX markup in doc strings.
24820 * lisp/skeleton.el (skeleton-pair-insert-maybe):
24821 Reword to avoid the need for grave accent and apostrophe.
24822 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
24823 Don't use grave and acute accents to quote.
24824
24825 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
24826
24827 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
24828 Silence compiler.
24829
24830 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
24831
24832 Try to port new etags tests to MS-Windows
24833 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
24834 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
24835 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
24836 Adjust to test-case changes below.
24837 * test/etags/Makefile (CSRC): Remove dostorture.c.
24838 Whatever it was trying to test, wasn't working portably.
24839 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
24840 just a line-ending problem.
24841 * test/etags/c-src/dostorture.c: Remove.
24842 * test/etags/cp-src/c.C: Remove stray CR.
24843 * test/etags/html-src/algrthms.html: Remove trailing CRs.
24844 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
24845 but if someone edits it later it should stay UTF-8-compatible.
24846
24847 2015-05-19 Eli Zaretskii <eliz@gnu.org>
24848
24849 Fix display of overlapping window-specific overlays
24850 * src/keyboard.c (adjust_point_for_property): When adjusting point
24851 due to display strings, ignore overlays that are specific to
24852 windows other than the currently selected one.
24853 * src/xdisp.c (handle_single_display_spec): If the display
24854 property comes from an overlay, arrange for buffer iteration to
24855 resume only after the end of that overlay. (Bug#20607)
24856
24857 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
24858
24859 New command icomplete-force-complete-and-exit
24860 * lisp/icomplete.el (icomplete-force-complete-and-exit):
24861 New command
24862 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
24863 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
24864 (icomplete-minibuffer-map): Bind C-j to it.
24865 (icomplete-forward-completions, icomplete-backward-completions):
24866 Mention the new command in the docstring.
24867 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
24868 Revert the previous fix for bug#17545.
24869
24870 2015-05-19 Martin Rudalics <rudalics@gmx.at>
24871
24872 Fix last commit
24873
24874 In Elisp manual explain how to override window manager positioning
24875 (Bug#20552)
24876 * doc/lispref/frames.texi (Position Parameters): Give example of
24877 how to override a window manager positioning decision.
24878
24879 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
24880 * src/frame.c (Fdelete_frame): In doc-string mention that frame
24881 can't be deleted if it has a surrogate minibuffer.
24882 * doc/lispref/frames.texi (Minibuffers and Frames)
24883 (Deleting Frames): Explain "surrogate minibuffer frames".
24884
24885 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
24886
24887 2015-05-18 Glenn Morris <rgm@gnu.org>
24888
24889 Add option to ignore commit lines matching a pattern in ChangeLog
24890 * build-aux/gitlog-to-changelog: Add --ignore-line option.
24891 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
24892
24893 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
24894
24895 Don't skip new etags tests on non-UTF-8 hosts
24896 Problem reported by Eli Zaretskii for MS-Windows.
24897 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
24898 (LC_ALL): Set to C if the current locale isn't UTF-8.
24899 (.PHONY): Remove ediff_1 thru ediff_5.
24900 (check): Always run.
24901
24902 2015-05-18 Glenn Morris <rgm@gnu.org>
24903
24904 * lisp/calculator.el (calculator-funcall):
24905 * lisp/textmodes/artist.el (artist-spray-random-points):
24906 Use standard degree/radian conversion utilities.
24907
24908 Further lisp-complete-symbol related cleanup.
24909 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
24910 Unadvertise non-functional argument. Replace obsolete alias.
24911
24912 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
24913
24914 Add a test case for Maven warning ouput
24915 * test/automated/compile-tests.el
24916 (compile-tests--test-regexps-data): Add a case for Maven warning
24917 ouput.
24918 (compile--test-error-line): Check the compilation message type, if
24919 it's specified in the test data.
24920
24921 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
24922
24923 Update Maven compilation-mode entry to distinguish warnings
24924 * lisp/progmodes/compile.el
24925 (compilation-error-regexp-alist-alist): Update Maven entry to
24926 distinguish warnings (bug#20556).
24927
24928 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
24929
24930 * test/automated/sgml-mode-tests.el: New file.
24931
24932 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
24933
24934 Improve handling of the first Git revision
24935 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
24936 there's no next entry, delete until the end of the buffer.
24937 (log-view-end-of-defun-1): Stop at eob.
24938 * lisp/vc/vc-annotate.el
24939 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
24940 when previous-revision is nil.
24941 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
24942 with `--' to avoid ambiguity.
24943 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
24944 returned revision string.
24945 (vc-git-annotate-time): Expect `^' before the first revision.
24946 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
24947 REV1 is nil, and REV2 is not.
24948 * lisp/vc/vc.el: Update the description of the `diff' function.
24949
24950 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
24951
24952 Allow checkdoc to be called in batch
24953 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
24954 is non-nil, echo the error with `warn'.
24955 How it can be used in -batch:
24956 (with-current-buffer (find-file "checkdoc.el")
24957 (checkdoc-current-buffer t))
24958
24959 2015-05-18 Glenn Morris <rgm@gnu.org>
24960
24961 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
24962
24963 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
24964
24965 * admin/notes/unicode: New section "binary files".
24966
24967 Change new etags test to use UTF-8 encoding
24968 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
24969 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
24970 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
24971 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
24972 * test/etags/html-src/softwarelibero.html:
24973 Switch to UTF-8 encoding.
24974 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
24975 Remove Makefile, as it's too incestuous to have the test input
24976 include the build procedure.
24977 (UTF8_LOCALE, UTF_ENCODING): New macros.
24978 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
24979 (check): Skip if not UTF-8.
24980 (.PHONY): New rule.
24981 (FRC): Remove, as superseded by .PHONY. All uses removed.
24982 (regexfile): Prefer printf to echo when outputting oddball chars.
24983 (.PRECIOUS): Remove, as these files are not built.
24984
24985 Rename 'foo-gzipped' to 'foo.gz'
24986 * test/automated/data/decompress/foo.gz:
24987 Rename from test/automated/data/decompress/foo-gzipped,
24988 to make it easier for other tools to tell that it's compressed.
24989 * test/automated/zlib-tests.el (zlib--decompress):
24990 Adjust to renamed file.
24991
24992 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
24993
24994 Set up default-directory
24995 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
24996 binding for `v'.
24997 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
24998 appropriate value for default-directory.
24999
25000 2015-05-17 Samer Masterson <samer@samertm.com>
25001
25002 * lisp/eshell/em-term.el (eshell-term-sentinel):
25003 No-op by default, only kills term buffer if
25004 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
25005 (eshell-destroy-buffer-when-process-dies): New custom to preserve
25006 previous behavior.
25007
25008 eshell: Introduce new buffer syntax
25009 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
25010 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
25011 needed (Bug#19319).
25012 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
25013 (eshell-get-target): Remove shorthand-specific code.
25014 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
25015 '#<buffer-name>'.
25016
25017 2015-05-17 Jan D <jan.h.d@swipnet.se>
25018
25019 Merge branch 'master' into cairo
25020
25021 2015-04-26 Jan D <jan.h.d@swipnet.se>
25022
25023 Merge branch 'master' into cairo
25024
25025 Add PBM support for cairo
25026 * src/image.c (xcolor_to_argb32): New function.
25027 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
25028 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
25029 XImagePtr if ! USE_CAIRO.
25030 (pbm_load): Add cairo support.
25031
25032 2015-04-12 Jan D <jan.h.d@swipnet.se>
25033
25034 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
25035 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
25036 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
25037 x_free_cr_resources.
25038
25039 Handle specified bg in images. Use generic libpng code for PNGs.
25040 * src/image.c (get_spec_bg_or_alpha_as_argb)
25041 (create_cairo_image_surface): New functions when USE_CAIRO.
25042 (xpm_load): Call the above functions. Handle XPM without mask
25043 when USE_CAIRO.
25044 (png_load_body): Handle USE_CAIRO case.
25045 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
25046 instead.
25047 (jpeg_load_body): Call create_cairo_image_surface.
25048 (gif_load, svg_load_image): Handle specified background, call
25049 create_cairo_image_surface.
25050 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
25051
25052 2015-04-11 Jan D <jan.h.d@swipnet.se>
25053
25054 Support GIF and TIFF with cairo
25055 * configure.ac: Allow jpeg with cairo.
25056 Allow tiff and gif with cairo.
25057 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
25058 (tiff_load): Create cairo image surface if USE_CAIRO.
25059 (gif_load): Ditto.
25060
25061 Support JPEG with USE_CAIRO
25062 * configure.ac: Allow jpeg with cairo.
25063 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
25064
25065 2015-04-05 Jan D <jan.h.d@swipnet.se>
25066
25067 Support RSVG and cairo
25068 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
25069 * src/dispextern.h (struct image): Add cr_data2 if cairo.
25070 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
25071 (x_clear_image): Free cr_data and cr_data2 if set.
25072 (xpm_load): Assign data to cr_data2.
25073 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
25074
25075 2015-04-03 Jan D <jan.h.d@swipnet.se>
25076
25077 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
25078 * configure.ac (HAVE_RSVG): Move after cairo.
25079 (USE_CAIRO): Disable rsvg, don't disable Xpm.
25080 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
25081 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
25082 don't return early.
25083 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
25084 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
25085 and create a surface.
25086
25087 Tool tips for menus did not show any text.
25088 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
25089 tip frames, the geometry may be wrong.
25090
25091 Merge branch 'master' into cairo, fixes tooltips not shown.
25092
25093 Merge branch 'master' into cairo
25094
25095 Add CAIRO_CFLAGS to lwlib/Makefile.in
25096 * Makefile.in (CAIRO_CFLAGS): Add.
25097
25098 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
25099
25100 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
25101
25102 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
25103
25104 Draw outermost line using black relief and erase corners also for cairo.
25105 * src/xterm.c [USE_CAIRO]: Include math.h.
25106 (enum corners) [USE_CAIRO]: New enum.
25107 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
25108 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
25109 than 1, draw the outermost line using the black relief.
25110
25111 * src/xterm.c (x_fill_trapezoid_for_relief):
25112 Remove unnecessary cairo_close_path.
25113
25114 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
25115
25116 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
25117
25118 * src/xterm.c (x_draw_stretch_glyph_string):
25119 Call x_reset_clip_rectangles instead of XSetClipMask.
25120
25121 Use int instead of unsigned int for width and height args.
25122 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
25123 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
25124 width and height args.
25125
25126 Modernize k&r cairo-related function declarations.
25127 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
25128 (xg_print_frames_dialog): Modernize k&r declarations.
25129 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
25130 (Fx_print_frames_dialog): Modernize k&r declarations.
25131 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
25132 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
25133 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
25134 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
25135 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
25136 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
25137 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
25138 (x_clear_area): Modernize k&r declarations.
25139
25140 Implement wave-style variant of underlining for cairo.
25141 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
25142 (x_draw_underwave) [USE_CAIRO]: Use it.
25143
25144 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
25145 instead of XFillRectangle.
25146
25147 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
25148
25149 Fix fringe bitmap initialization for cairo
25150 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
25151 data for cairo image surface.
25152 * src/xterm.c (x_cr_define_fringe_bitmap):
25153 Call cairo_surface_mark_dirty.
25154
25155 2015-02-11 Jan D <jan.h.d@swipnet.se>
25156
25157 Add cairo drawing
25158 * configure.ac (with-cairo): New option.
25159 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
25160 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
25161 Output "Does Emacs use cairo?".
25162 * lisp/version.el (emacs-version): Add cairo version.
25163 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
25164 (FONT_OBJ): Add comment about ftcrfont.
25165 (ALL_CFLAGS): Add CAIRO_CFLAGS.
25166 (LIBES): Add CAIRO_LIBS.
25167 * src/dispextern.h (struct image): Add cr_data for cairo.
25168 (x_cr_init_fringe): Declare.
25169 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
25170 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
25171 * src/fringe.c (x_cr_init_fringe): New function name that shares code
25172 with w32_init_fringe.
25173 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
25174 * src/ftfont.c (ftfont_info_size); New global variable.
25175 (ftfont_open2): New extern function almost the same as old ftfont_open,
25176 but takes the font_object as argument.
25177 (ftfont_open): Build font object and call ftfont_open2.
25178 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
25179 * src/gtkutil.c (xg_clear_under_internal_border)
25180 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
25181 Only queue_draw if not cairo. Change args to x_clear_area.
25182 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
25183 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
25184 (xg_print_frames_dialog): New functions for printing.
25185 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
25186 (xg_print_frames_dialog): Declare.
25187 * src/image.c: Add defined (USE_CAIRO) for PNG.
25188 Add !defined USE_CAIRO for W32 PNG code.
25189 (x_clear_image): If cairo, destroy the surface in cr_data.
25190 (png_load): Add new cairo compatible implementation.
25191 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
25192 * src/xfns.c: New section Printing.
25193 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
25194 (x-print-frames-dialog): New printing functions.
25195 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
25196 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
25197 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
25198 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
25199 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
25200 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
25201 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
25202 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
25203 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
25204 Declare.
25205 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
25206 (max_fringe_bmp, fringe_bmp): New variables.
25207 (x_gc_get_ext_data, x_extension_initialize)
25208 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
25209 (x_set_cr_source_with_gc_foreground)
25210 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
25211 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
25212 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
25213 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
25214 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
25215 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
25216 (x_update_begin): Create cairo surface if needed.
25217 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
25218 (x_update_end): Paint cairo drawing surface to xlib surface.
25219 (x_clear_under_internal_border, x_after_update_window_line): Adjust
25220 arguments to x_clear_area.
25221 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
25222 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
25223 of XSetClipMask.
25224 (x_set_glyph_string_clipping)
25225 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
25226 instead of XSetClipRectangles.
25227 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
25228 Use x_fill_rectangle instead of XFillRectangle.
25229 (x_draw_glyph_string_foreground)
25230 (x_draw_composite_glyph_string_foreground)
25231 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
25232 instead of XDrawRectangle.
25233 (x_draw_relief_rect): Add code for USE_CAIRO.
25234 Call x_reset_clip_rectangles instead of XSetClipMask.
25235 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
25236 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
25237 instead of XSetClipMask.
25238 (x_draw_image_foreground, x_draw_image_foreground_1):
25239 x_draw_rectangle instead of XDrawRectangle.
25240 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
25241 XFillRectangle.
25242 (x_draw_image_glyph_string): If img has cr_data, use it as
25243 a cairo surface.
25244 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
25245 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
25246 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
25247 x_reset_clip_rectangles instead of XSetClipMask.
25248 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
25249 (x_clear_area1): New function that calls XClearArea.
25250 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
25251 non-cairo.
25252 (x_clear_frame): x_clear_window instead of XClearWindow.
25253 (x_scroll_run): Set frame garbaged if cairo.
25254 (XTmouse_position): Initialize *part to 0.
25255 (x_scroll_bar_create): Adjust arguments to x_clear_area.
25256 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
25257 x_fill_rectangle instead of XFillRectangle.
25258 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
25259 arguments to x_clear_area.
25260 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
25261 (handle_one_xevent): Adjust arguments to x_clear_area.
25262 Destroy cairo surface for frame if ConfigureNotify.
25263 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
25264 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
25265 x_reset_clip_rectangles instead of XSetClipMask.
25266 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
25267 x_reset_clip_rectangles instead of XSetClipMask.
25268 (x_clear_frame_area): Adjust arguments to x_clear_area.
25269 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
25270 (x_term_init): Call x_extension_initialize if cairo.
25271 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
25272 x_cr_destroy_fringe_bitmap for cairo.
25273 (x_initialize): Call x_cr_init_fringe for cairo.
25274 * src/xterm.h: Add include of cairo header files.
25275 (x_bitmap_record): Add img if cairo.
25276 (x_gc_ext_data): New struct for cairo.
25277 (x_display_info): Add ext_codes for cairo.
25278 (x_output): Add cr_context and cr_surface for cairo.
25279 (x_clear_area): Change arguments from Display*/Window to frame pointer.
25280 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
25281 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
25282 (x_cr_draw_frame, x_cr_export_frames): Declare.
25283
25284 2015-05-17 Johan Bockgård <bojohan@gnu.org>
25285
25286 Fix integer-valued `mouse-highlight' (Bug#20590)
25287 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
25288
25289 2015-05-17 Eli Zaretskii <eliz@gnu.org>
25290
25291 MS-Windows followup for ASCIIfication of curved quotes
25292 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
25293 test for curved quotes being displayable, after switching the
25294 terminal encoding. (Bug#20545)
25295
25296 2015-05-17 Jan D <jan.h.d@swipnet.se>
25297
25298 Add comment that x_shift_glyphs_for_insert is never called
25299 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
25300 Add comment that this function is never called.
25301
25302 2015-05-16 Glenn Morris <rgm@gnu.org>
25303
25304 * src/lisp.mk: Remove from repository and generate at build-time.
25305 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
25306 (shortlisp_filter): New variable.
25307 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
25308 (distclean): Remove lisp.mk.
25309 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
25310 * lisp/loadup.el: Tweak layout to make it easier to parse.
25311 * make-dist: Do not distribute src/lisp.mk.
25312
25313 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
25314
25315 Display shorter dates in Git annotate output
25316 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
25317 format (when not overridden with vc-git-annotate-switches).
25318 (vc-git-annotate-time): Support the short format, as well as ISO
25319 8601 that has been used until now (bug#5428).
25320
25321 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
25322
25323 ASCIIfy curved quotes on displays lacking them
25324 * lisp/international/mule-cmds.el (set-locale-environment):
25325 If curved quotes don't work, display straight ASCII approximations
25326 (Bug#20545).
25327
25328 2015-05-16 Glenn Morris <rgm@gnu.org>
25329
25330 Small src/Makefile simplification
25331 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
25332 * src/Makefile.in (lisp): Derive from shortlisp.
25333 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
25334
25335 2015-05-16 Eli Zaretskii <eliz@gnu.org>
25336
25337 * lisp/help-mode.el (help-go-forward): Doc fix.
25338 (Bug#20577)
25339
25340 * doc/lispref/debugging.texi (Profiling): Improve indexing.
25341 (Bug#20576)
25342
25343 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
25344
25345 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
25346 have one fewer `not'.
25347
25348 * lisp/vc/vc-git.el (vc-git-diff-switches)
25349 (vc-git-annotate-switches, vc-git-resolve-conflicts)
25350 (vc-git-program, vc-git-root-log-format): Remove the redundant
25351 :group declarations.
25352
25353 2015-05-16 Nicolas Petton <nicolas@petton.fr>
25354
25355 Removes the predicate from lisp-complete-symbol (Bug#20456)
25356 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
25357 and remove it from the docstring.
25358
25359 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
25360
25361 Add new option vc-git-resolve-conflicts
25362 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
25363 (vc-git-find-file-hook): Add to after-save-hook only when the
25364 above is non-nil.
25365 (vc-git-resolve-when-done): Update to honor the new variable.
25366 (Bug#20292)
25367
25368 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
25369
25370 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
25371 (tabulated-list-init-header): Document new behavior.
25372 (tabulated-list-print-fake-header): Do nothing if
25373 `tabulated-list--header-string' is nil.
25374 (tabulated-list--header-string): Add a docstring.
25375 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
25376 * etc/NEWS: Document it.
25377
25378 2015-05-15 Leo Liu <sdl.web@gmail.com>
25379
25380 Revert "Fix cps--gensym"
25381 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
25382 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
25383
25384 2015-05-15 Glenn Morris <rgm@gnu.org>
25385
25386 Replace AC_SUBST_FILE in configure with include in Makefiles
25387 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
25388 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
25389 (AUTO_DEPEND): New output variable.
25390 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
25391 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
25392 (lwlib_deps_frag): Replace by conditional include.
25393 * lwlib/autodeps.mk: Remove file.
25394 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
25395 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
25396 (oldxmenu_deps_frag): Replace by conditional include.
25397 * oldXMenu/autodeps.mk: Remove file.
25398 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
25399 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
25400 (lisp_frag): Replace by an include.
25401 (deps_frag): Replace by conditional include.
25402 * src/autodeps.mk: Remove file.
25403
25404 Tweak japanese.el's loading of dependencies
25405 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
25406 * lisp/language/japanese.el: Use require rather than load.
25407 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
25408 Provide a feature.
25409 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
25410 Provide a feature in the generated file.
25411
25412 2015-05-15 Jan D <jan.h.d@swipnet.se>
25413
25414 Fix NS warnings
25415 * src/nsmenu.m (ns_popup_dialog)
25416 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
25417 * src/nsfns.m (Fx_create_frame): Remove unused variables.
25418 (Fns_read_file_name): Initialize fname, remove ret.
25419 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
25420 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
25421 Remove unused variable.
25422 (init): Add parantesis in if.
25423 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
25424
25425 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
25426
25427 Fix a enum conversion warning in macfont.m
25428 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
25429 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
25430
25431 2015-05-15 Eli Zaretskii <eliz@gnu.org>
25432
25433 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
25434 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
25435
25436 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
25437
25438 * lisp/cus-start.el: Add ns-confirm-quit.
25439
25440 Fix warnings on OSX 10.10
25441 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
25442 OSX versions.
25443 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
25444 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
25445 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
25446 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
25447 setScalesWhenResized for OSX < 10.6.
25448 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
25449 * src/nsterm.m (ns_copy_bits): New function that does not use
25450 deprecated NSCopyBits.
25451 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
25452 (runAlertPanel): New function.
25453 (applicationShouldTerminate:): Call runAlertPanel.
25454 (initFrameFromEmacs, toggleFullScreen:): Only call
25455 useOptimizedDrawing for OSX < 10.10.
25456 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
25457 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
25458 (draggingEntered:): Returns NSDragOperation.
25459 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
25460
25461 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
25462
25463 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
25464 (package--init-file-ensured): New variable.
25465 (package-initialize, package--ensure-init-file): Use it.
25466
25467 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
25468
25469 Honor :fore/background for XBM on NS (Bug#14969)
25470 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
25471 initFromXBM takes bg, fg args, remove flip arg.
25472 (ns_image_from_XBM): Add bg, fg args.
25473 * src/image.c (x_create_bitmap_from_data)
25474 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
25475 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
25476 initFromXBM. Remove flip arg.
25477 (initFromSkipXBM): Move code to initFromXBM.
25478 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
25479 Use fg, bg from args (Bug#14969). Remove if (length) section, was
25480 always false.
25481 Remove bit flipping (bitPat, swt), generated incorrect images when
25482 width/height wasn't a multiple of 8.
25483 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
25484 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
25485 remove flip arg.
25486
25487 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
25488
25489 * lisp/emacs-lisp/package.el: Be more careful with the init file.
25490 (package--ensure-init-file): Check that user-init-file is set,
25491 exists, is readable, and is writable. (Bug#20584)
25492 Also expand the docstring.
25493
25494 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
25495
25496 Sync with upstream verilog-mode revision 6232468
25497 * lisp/progmodes/verilog-mode.el
25498 (verilog-font-lock-grouping-keywords-face)
25499 (verilog-highlight-grouping-keywords): Fix use of face when
25500 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
25501 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
25502 parent is reset, bug906. Reported by Ken Schmidt.
25503 (verilog-auto-inout-module): Add fourth regexp argument to
25504 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
25505 Reported by John Tillema.
25506 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
25507 modport if signal attachment is itself a modport. Reported by
25508 Matthew Lovell.
25509 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
25510 always_comb and always_latch, bug844. Reported by Greg Hilton.
25511 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
25512 with many curly-bracket pairs, bug663.
25513 (verilog-set-auto-endcomments): Fix end comments for functions of
25514 type void, etc. Reported by Alex Reed.
25515 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
25516 caused by indent-line-to deleting tabls pre 24.5.
25517 (verilog-nameable-item-re): Fix nameable items that can have an
25518 end-identifier to include endchecker, endgroup, endprogram,
25519 endproperty, and endsequence. Reported by Alex Reed.
25520 (verilog-label-be): When auto-commenting a buffer, consider
25521 auto-comments on all known keywords (not just a subset thereof).
25522 Reported by Alex Reed.
25523 (verilog-auto-end-comment-lines-re)
25524 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
25525 Automatically comment property/endproperty blocks to match other
25526 similar blocks like sequence/endsequence, function/endfunction, etc.
25527 Reported by Alex Reed.
25528 (verilog-set-auto-endcomments): Detect the function- or task-name
25529 when auto-commenting blocks that lack an explicit portlist.
25530 Reported by Alex Reed.
25531 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
25532 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
25533 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
25534 is nil, fix indenting initial/final to match always statements,
25535 bug825. Reported by Tim Clapp.
25536 (verilog-extended-complete-re): Fix indentation of DPI-C imports
25537 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
25538 Mao and Jason Forkey.
25539 (verilog-read-decls): Fix parsing typed interfaces. Fix
25540 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
25541 Fix localparam not being ignored in AUTOINSTPARAM,
25542 bug889. Reported by Shannon Hill.
25543 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
25544 bug793. Reported by Pierre-David Pfister.
25545 (verilog-auto-arg-format, verilog-auto-arg-ports):
25546 Add verilog-auto-arg-format to support newlines in AUTOARG.
25547 Reported by Jie Xiao.
25548 (verilog-batch-execute-func): Do not batch re-auto files loaded by
25549 Local Variables. Fix printing "no changes to be saved" with
25550 verilog-batch. Reported by Dan Dever.
25551 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
25552 interface-only modules, bug721. Reported by Dean Hoyt.
25553 Author: Alex Reed <acreed4@gmail.com>
25554 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
25555 Don't treat '<keyword>:<identifier>' as the start of a labeled
25556 statement, bug905. Reported by Enzo Chi.
25557 (verilog-directive-re, verilog-compiler-directives)
25558 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
25559 directives (plus some extras) when determining indentation, bug
25560 901. Reported by Bernd Beuster.
25561 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
25562 iff expression doesn't start with word-character, bug900.
25563 (verilog-optional-signed-range-re, verilog-optional-signed-re):
25564 Fix incorrect indentation/alignment of unsigned declarations,
25565 bug897.
25566 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
25567 always constructs, bug895.
25568 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
25569 Reported by Eric Mastromarchi.
25570 (verilog-beg-of-statement): Fix indenting for some forms of
25571 constraintsm bug433. Reported by Brad Parker. Fix indentation of
25572 continued assignment incorrect if first line ends with ']', bug437.
25573 Reported by Dan Dever. Fix indention of cover inside an
25574 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
25575 blocks, bug842.
25576 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
25577 Reported by Kaushal Modi.
25578 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
25579 (verilog-backward-token): Fix indenting sensitivity lists with
25580 named events, bug840. Reed.
25581 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
25582 nil not honoring 'forever', 'foreach', and 'do' keywords.
25583
25584 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
25585
25586 Check for invalid GTK+ monitor scales
25587 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
25588 INT_MAX for too-large scales. All callers changed to assume the
25589 result is valid (Bug#20432).
25590 (xg_frame_set_char_size, xg_update_scrollbar_pos):
25591 Calculate scale only if needed.
25592 Show ASCII approximations instead.
25593
25594 2015-05-14 Eli Zaretskii <eliz@gnu.org>
25595
25596 Fix daemon crashes when linum-mode is turned on early on
25597 * src/window.c (Fwindow_end): Don't try calling display engine
25598 functions on initial-frame frame. (Bug#20565)
25599
25600 Fix selective diff browsing in Ediff
25601 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
25602 Go to the beginning of the region before searching for the
25603 ediff-regexp-focus-* regexps. (Bug#20568)
25604
25605 2015-05-14 Jan D <jan.h.d@swipnet.se>
25606
25607 Fixes bug#20142
25608 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
25609 arrive in the main loop, even for Gtk 3 (Bug#20142).
25610
25611 Don't access display after i/o error (Bug#19147).
25612 * src/xterm.c (x_connection_closed): Add third arg ioerror.
25613 If ioerror, set display to 0 (Bug#19147).
25614 (x_error_quitter): Call x_connection_closed with third arg false.
25615 (x_io_error_quitter): Call x_connection_closed with third arg true.
25616
25617 Handle GTK_SCALE, fixes Bug#20432.
25618 * src/gtkutil.c (xg_get_gdk_scale): New function.
25619 (xg_frame_set_char_size)
25620 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
25621 (xg_get_default_scrollbar_height)
25622 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
25623 when setting sizes (Bug#20432).
25624
25625 2015-05-13 Leo Liu <sdl.web@gmail.com>
25626
25627 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
25628
25629 2015-05-13 Glenn Morris <rgm@gnu.org>
25630
25631 Fix bootstrap (void function cl-member).
25632 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
25633 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
25634
25635 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25636
25637 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
25638 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
25639 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
25640 Avoid defalias for closures which are not immutable.
25641 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
25642 the dispatchers table with various entries.
25643 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
25644 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
25645
25646 2015-05-13 Eli Zaretskii <eliz@gnu.org>
25647
25648 Improve tagging of C bindings in DEFVAR_*
25649 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
25650 from DEFVAR_*.
25651
25652 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
25653
25654 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
25655
25656 2015-05-12 Glenn Morris <rgm@gnu.org>
25657
25658 * lisp/progmodes/tcl.el (tcl-filter):
25659 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
25660
25661 Add basic VC push support
25662 * lisp/vc/vc.el (vc-push): New autoloaded command.
25663 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
25664 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
25665 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
25666 (vc-bzr-push): New.
25667 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
25668 (vc-git-pull): Reimplement using vc-git--pushpull.
25669 (vc-git-push): New.
25670 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
25671 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
25672 * doc/emacs/maintaining.texi (Pulling / Pushing):
25673 Rename from "VC Pull". Mention pushing.
25674 (VC With A Merging VCS, VC Change Log): Update xrefs.
25675 (Branches): Update menu.
25676 * doc/emacs/emacs.texi: Update menu.
25677 * etc/NEWS: Mention this.
25678
25679 2015-05-12 Nicolas Petton <nicolas@petton.fr>
25680
25681 Improve the seq pcase pattern and the `seq-let' macro
25682 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
25683 object is a sequence, and binds each element of ARGS to the
25684 corresponding element of the sequence.
25685
25686 2015-05-12 Eli Zaretskii <eliz@gnu.org>
25687
25688 Fix tags created from DEFVAR_* declarations in C
25689 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
25690 to make tags extracted from DEFVAR_* declarations more accurate.
25691
25692 Add a test suite for etags
25693 * test/etags/: New test suite, adapted from
25694 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
25695 whose original author is Francesco Potortì <pot@gnu.org>.
25696
25697 Fix tagging of symbols in C enumerations
25698 * lib-src/etags.c (consider_token): Don't tag symbols in
25699 expressions that assign values to enum constants. See
25700 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
25701 for details.
25702 (C_entries): Reset fvdef to fvnone after processing a preprocessor
25703 conditional and after a comma outside of parentheses.
25704
25705 2015-05-12 Glenn Morris <rgm@gnu.org>
25706
25707 * lisp/url/url-handlers.el (url-file-name-completion)
25708 (url-file-name-all-completions): Silence compiler.
25709
25710 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
25711
25712 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
25713
25714 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25715
25716 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
25717 (cl--generic-mandatory-args): Remove.
25718 (cl--generic-split-args): New function.
25719 (cl-generic-define, cl--generic-lambda): Use it.
25720 (cl-generic-define-method): Use it as well, and add support for
25721 context args.
25722 (cl--generic-get-dispatcher): Handle &context dispatch.
25723 (cl--generic-cache-miss): `dispatch-arg' can now be a
25724 context expression.
25725 (cl--generic-dispatchers): Pre-fill.
25726 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
25727 New test.
25728
25729 2015-05-11 Glenn Morris <rgm@gnu.org>
25730
25731 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
25732
25733 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
25734
25735 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
25736 * lisp/term/rxvt.el: Require term/xterm.
25737 (rxvt-function-map): Use xterm-rxvt-function-map.
25738 (rxvt-standard-colors): Move before first use.
25739 (terminal-init-rxvt): Use xterm--push-map and
25740 xterm-register-default-colors.
25741 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
25742 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
25743 Move shared bindings between rxvt and xterm to it.
25744 (xterm-function-map): Use it. Move the xterm-paste binding to
25745 xterm-rxvt-function-map (bug#20444).
25746 (xterm-standard-colors): Move before first use.
25747 (xterm--push-map): New function.
25748 (xterm-register-default-colors): Take standard colors as argument.
25749 (terminal-init-xterm): Use it. Adjust call to
25750 xterm-register-default-colors.
25751
25752 2015-05-11 Glenn Morris <rgm@gnu.org>
25753
25754 * lisp/term/x-win.el: Quieten --without-x compilation.
25755 (x-own-selection-internal, x-disown-selection-internal)
25756 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
25757 Declare.
25758
25759 * Makefile.in (emacslog): Remove srcdir.
25760 (ChangeLog): Update for the above.
25761
25762 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
25763
25764 python.el: better limit for looking-back calls
25765 * lisp/progmodes/python.el (python-shell-accept-process-output):
25766 Use last comint prompt start as limit for looking-back.
25767
25768 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
25769
25770 CEDET (srecode-insert-fcn): Fix use of oref on a class
25771 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
25772 on a class. Reported by Pierre Lorenzon.
25773 (srecode-template-inserter-point): Remove declaration.
25774
25775 CEDET (srecode-create-dictionary): Avoid obsolete object name
25776 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
25777 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
25778
25779 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
25780
25781 C-x 8 shorthands for curved quotes, Euro, etc.
25782 Although C-x 8 lets you insert arbitrary Unicode characters,
25783 it's awkward to use this to insert commonly used symbols such as curved
25784 quotes, the Euro symbol, etc. This patch adds simpler sequences for
25785 characters commonly found in English text and in basic math.
25786 For example, assuming the Alt key works on your keyboard and iso-transl
25787 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
25788 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
25789 (Bug#20499)
25790 * doc/emacs/mule.texi (Unibyte Mode):
25791 A few other printing characters now work too.
25792 * etc/NEWS: Document this.
25793 * lisp/international/iso-transl.el (iso-transl-char-map):
25794 Also support the following characters:
25795 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
25796
25797 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
25798
25799 Add xref-find-regexp
25800 * lisp/progmodes/xref.el (xref-find-function): Describe the
25801 `matches' action.
25802 (xref-find-regexp): New command, using it.
25803 (xref-collect-references): Rename to xref-collect-matches.
25804 (xref--collect-reference): Rename to xref--collect-match.
25805 (xref-collect-matches, xref--collect-match): Accept new argument,
25806 KIND. Update accordingly.
25807 (xref--regexp-to-extended): New function.
25808 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
25809 `matches' action.
25810 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
25811 * lisp/progmodes/etags.el (etags-xref-find):
25812 Support the `matches' action.
25813 (etags--xref-find-matches): New function.
25814
25815 2015-05-10 Glenn Morris <rgm@gnu.org>
25816
25817 * Makefile.in: Fixes for recent change-history changes.
25818 (change-history-nocommit): Update footer regexp.
25819 Ensure output script stays executable.
25820
25821 2015-05-10 Nicolas Petton <nicolas@petton.fr>
25822
25823 New version of `seq-let' based on a pcase pattern
25824 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
25825 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
25826
25827 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
25828
25829 Add basic HTML5 tags and a template
25830 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
25831 (html-tag-alist): Add HTML5 tags.
25832 (html-tag-help): Add new tags descriptions.
25833 (html-navigational-links): Template for nav links.
25834 (html-html5-template): Template for a HTML5 page.
25835
25836 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
25837
25838 semantic/symref/grep: Don't use word boundaries
25839 * lisp/cedet/semantic/symref/grep.el
25840 (semantic-symref-perform-search): Instead of wrapping input in
25841 word boundaries, check that the characters before and after are
25842 not word constituents.
25843
25844 semantic/symref/grep: Support regexp search
25845 * lisp/cedet/semantic/symref.el
25846 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
25847 the search type is regexp.
25848 * lisp/cedet/semantic/symref/grep.el
25849 (semantic-symref-perform-search): Support the regexp search type.
25850 Pass -E to Grep when it's used.
25851
25852 semantic-symref-regexp: Allow to input an arbitrary string
25853 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
25854 Allow to input an arbitrary string interactively.
25855
25856 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
25857 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
25858 Remove tag-symbol-match-p from the default value
25859 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
25860
25861 Declare find-tag obsolete
25862 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
25863 xref-find-definitions.
25864
25865 2015-05-10 Jan D <jan.h.d@swipnet.se>
25866
25867 Draw composite string correctly (Bug#20537)
25868 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
25869 New function.
25870 (ns_draw_glyph_string): Call it.
25871
25872 2015-05-09 Eli Zaretskii <eliz@gnu.org>
25873
25874 Avoid infloop in ERC
25875 * lisp/simple.el (line-move-to-column): Ignore field boundaries
25876 while computing line beginning position. (Bug#20498)
25877
25878 2015-05-08 Glenn Morris <rgm@gnu.org>
25879
25880 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
25881 * build-aux/gitlog-to-emacslog: Check called from right directory.
25882 (srcprefix): Remove.
25883
25884 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
25885 * Makefile.in (ChangeLog): No longer pass "distprefix".
25886 * make-dist: Update "make ChangeLog" syntax for the above change.
25887
25888 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
25889 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
25890
25891 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
25892
25893 Add command-line option-parsing to gitlog-to-emacslog
25894 * build-aux/gitlog-to-emacslog: Add command-line options.
25895 By default, refuse to remove an existing output file.
25896 * Makefile.in (CHANGELOG): Update default.
25897 (ChangeLog): Do not test for existing file.
25898 (change-history-nocommit): Ensure temp file does not exist.
25899
25900 Quieten --without-x compilation
25901 * lisp/term/common-win.el: Provide a feature.
25902 * lisp/term/x-win.el (term/common-win): Require it.
25903
25904 * lisp/dired-aux.el (dired-do-print): Require lpr.
25905
25906 Quieten compilation, eg in --without-x builds
25907 * lisp/dired-aux.el (lpr-printer-switch):
25908 * lisp/frame.el (tool-bar-height):
25909 * lisp/linum.el (font-info):
25910 * lisp/window.el (font-info, overflow-newline-into-fringe)
25911 (tool-bar-height):
25912 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
25913 * lisp/gnus/gnus-util.el (iswitchb-mode):
25914 * lisp/mail/rmailmm.el (libxml-parse-html-region):
25915 * lisp/net/nsm.el (gnutls-peer-status)
25916 (gnutls-peer-status-warning-describe):
25917 * lisp/net/shr.el (libxml-parse-xml-region):
25918 * lisp/url/url-http.el (gnutls-peer-status): Declare.
25919
25920 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25921
25922 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
25923 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
25924 `subclass' since they're never called with a class.
25925 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
25926 srecode-dictionary-child-p.
25927
25928 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
25929
25930 * lisp/help.el (help--binding-locus): Document argument POSITION.
25931 (Bug#20530)
25932
25933 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
25934
25935 Merge from gnulib
25936 * doc/misc/texinfo.tex: Get latest version.
25937
25938 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
25939
25940 ffap.el (ffap-read-file-or-url): Fix completing-read call
25941 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
25942 `completing-read' should be a symbol.
25943
25944 2015-05-08 Eli Zaretskii <eliz@gnu.org>
25945
25946 Verify file modifications by other programs
25947 * src/filelock.c (lock_file): Check whether the file was modified
25948 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
25949
25950 Fix keyboard macros that include function keys
25951 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
25952 keys in the macro before returning. (Bug#20454)
25953
25954 2015-05-08 Glenn Morris <rgm@gnu.org>
25955
25956 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
25957 "Copyright-paperwork-exempt". (Bug#20324)
25958
25959 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
25960 (log-edit-rewrite-tiny-change): New variable.
25961 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
25962 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
25963 * etc/NEWS: Mention this.
25964
25965 * lisp/calc/calc.el (math-zerop): Declare.
25966
25967 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
25968
25969 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
25970
25971 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
25972 Support the case when BINDINGS is a single tuple. (Bug#20525)
25973
25974 * etc/NEWS: Fix typo in previous commit
25975 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
25976
25977 2015-05-07 Jan D <jan.h.d@swipnet.se>
25978
25979 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
25980 Output URL to Gtk+ bug (Bug#20452).
25981
25982 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
25983
25984 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
25985
25986 * lisp/emacs-lisp/package.el: New "external" package status.
25987 An external package is any installed package that's not built-in
25988 and not from `package-user-dir', which usually means it's from an
25989 entry in `package-directory-list'. They are treated much like
25990 built-in packages, in that they cannot be through the Package Menu
25991 deleted and are not considered for upgrades.
25992 (package-desc-status): Identify if a package is installed outside
25993 `package-user-dir'.
25994 (package-menu--print-info-simple)
25995 (package-menu--status-predicate): Add support for it.
25996 * etc/NEWS: Document it.
25997
25998 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25999
26000 * lisp/mail/rmail.el: Use lexical-binding.
26001 (rmail-bury): Remove unused var `buffer-to-bury'.
26002 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
26003 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
26004 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
26005 (rmail-insert-inbox-text): Remove unused var `movemail'.
26006 (rmail-add-mbox-headers): Remove unused var `limit'.
26007 (rmail-undelete-previous-message): Remove unused var `value'.
26008 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
26009 `resent-reply-to'.
26010 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
26011 (rmail-restore-desktop-buffer): Rename arguments.
26012
26013 2015-05-06 Glenn Morris <rgm@gnu.org>
26014
26015 * Makefile.in (change-history-commit): Add missing piece of previous.
26016
26017 Avoid unnecessary bumping of Makefile.in's timestamp
26018 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
26019 (emacslog): New variable.
26020 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
26021 (unchanged-history-files): Use $emacslog rather than Makefile.in.
26022 (change-history-nocommit): Store hash in $emacslog.
26023 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
26024 * admin/update_autogen (changelog_files): Update for the above.
26025
26026 * Makefile.in: Don't always insist on removing existing "ChangeLog".
26027 (CHANGELOG): New variable.
26028 (no-ChangeLog): Remove.
26029 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
26030 (change-history-nocommit): Use a temp file rather than insisting
26031 on deletion of any existing "ChangeLog".
26032
26033 * build-aux/gitlog-to-emacslog: Allow specification of output.
26034
26035 * admin/update_autogen: Add option to update ChangeLog.
26036 (usage): Mention -H.
26037 (changelog_flag, changelog_n, changelog_files): New variables.
26038 (main): Check for -H, and maybe run change-history-nocommit.
26039
26040 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26041
26042 * lisp/subr.el (delete-dups): Pre-size the hashtable.
26043
26044 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
26045 cl--arglist-args is defined (bug#20517).
26046
26047 2015-05-06 Glenn Morris <rgm@gnu.org>
26048
26049 * Makefile.in (change-history-nocommit): New.
26050
26051 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
26052
26053 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
26054 timer when it is non-nil
26055 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
26056
26057 2015-05-06 Glenn Morris <rgm@gnu.org>
26058
26059 Quieten CEDET compilation
26060 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
26061 Invert fboundp test to quieten on current Emacs.
26062 * lisp/cedet/ede/config.el (ede-shell-run-something)
26063 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
26064 (semanticdb-refresh-table): Declare.
26065 (ede-preprocessor-map): Require semantic/db.
26066
26067 Quieten cc-mode compilation
26068 * lisp/progmodes/cc-awk.el (c-forward-sws):
26069 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
26070 Declare.
26071
26072 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
26073
26074 * lisp/subr.el (delete-dups): Avoid nreverse.
26075
26076 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
26077
26078 * lisp/subr.el (delete-dups): Make it destructive again.
26079
26080 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
26081
26082 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
26083
26084 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26085
26086 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
26087 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
26088 (testcover--read): Rename from testcover-read. Change calling
26089 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
26090 is gone.
26091 (testcover-start): Use add-function. Move edebug-all-defs binding to
26092 testcover--read.
26093 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
26094 (testcover-mark): Remove unused var `item'.
26095 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
26096
26097 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
26098
26099 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
26100 use a hash table. This can result in ~500 times speed-up for typical
26101 collections of size 5000, like that of `load-library'.
26102
26103 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
26104
26105 CEDET: Avoid `oref' on classes in a few more cases
26106 * lisp/cedet/ede/generic.el (ede-find-target):
26107 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
26108 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
26109 var `prefix'.
26110
26111 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
26112 (grepflags, greppattern): Declare.
26113 (semantic-symref-perform-search): Remove unused var `pat'.
26114
26115 CEDET (srecode-compile-inserter): Avoid `oref' on classes
26116 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
26117 Avoid `oref' on classes (bug#20491).
26118 (srecode-compile-split-code): Remove unused var `key'.
26119
26120 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
26121
26122 Clean up pulse.el a little
26123 * lisp/cedet/pulse.el (pulse): Remove.
26124 (pulse-momentary-timer): Save instead of the stop time.
26125 (pulse-momentary-highlight-overlay):
26126 Call pulse-momentary-unhighlight first thing.
26127 Treat pulse-momentary-overlay as a single value, not a list.
26128 Save the created timer. Only pass the stop time to the timer.
26129 (pulse-tick): Update accordingly.
26130 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
26131 single value. Cancel the timer.
26132
26133 2015-05-06 Tassilo Horn <tsdh@gnu.org>
26134
26135 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
26136 Support the biblatex journaltitle field.
26137
26138 2015-05-05 Glenn Morris <rgm@gnu.org>
26139
26140 Minor declare-function improvement
26141 * lisp/emacs-lisp/bytecomp.el
26142 (byte-compile-macroexpand-declare-function):
26143 Handle declarations after calls. (Bug#20509)
26144
26145 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
26146
26147 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
26148
26149 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
26150
26151 Pulse using a timer
26152 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
26153 (pulse-momentary-highlight-overlay): Set up the timer instead of
26154 calling `pulse'
26155 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
26156 (pulse-tick): New function.
26157 (pulse-momentary-unhighlight): Cut off the stop time.
26158 (pulse-delay): Update the docstring WRT to not using sit-for.
26159
26160 Add semantic/symref/grep file patterns for ruby-mode
26161 * lisp/cedet/semantic/symref/grep.el
26162 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
26163 Clarify the docstring.
26164
26165 Don't require match
26166 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
26167 match. That doesn't work for every command, and some identifier
26168 completion tables are bound to be imperfect anyway.
26169
26170 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
26171
26172 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
26173 (semantic-grammar--template-expand): New function.
26174 (semantic-grammar-header, semantic-grammar-footer): Use it.
26175 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
26176 (semantic-grammar-file-regexp): Refine regexp.
26177 (semantic-grammar-eldoc-get-macro-docstring):
26178 Use elisp-get-fnsym-args-string when available.
26179 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
26180 instead of the old eldoc-* names.
26181 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
26182 from elisp-mode.el. Tweak calling convention.
26183 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
26184 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
26185 elisp--get-fnsym-args-string.
26186 (elisp--highlight-function-argument): Add `prefix' arg.
26187 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
26188 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
26189
26190 2015-05-05 Glenn Morris <rgm@gnu.org>
26191
26192 * lisp/help-fns.el (describe-function-1):
26193 Handle builtins with advertised calling conventions. (Bug#20479)
26194
26195 2015-05-05 Nicolas Petton <nicolas@petton.fr>
26196
26197 Merge branch 'seq-let'
26198
26199 Update `seq-let' documentation
26200 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
26201 with the support of `&rest'.
26202
26203 Add support for &rest in `seq-let'
26204 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
26205 in the argument list.
26206 * test/automated/seq-tests.el: Add a test for parsing and binding
26207 `&rest' in `seq-let'.
26208
26209 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
26210
26211 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
26212 Add missing increment (Bug#20467).
26213 (eieio-object-value-create): Adjust to new slots representation
26214 (Bug#20467).
26215 (eieio-object-value-create): Fix missed adjustment to new
26216 representation of slots metadata.
26217
26218 2015-05-05 Nicolas Petton <nicolas@petton.fr>
26219
26220 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
26221
26222 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
26223
26224 Work around "Attempt to modify read-only object"
26225 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
26226 elisp--xref-find-definitions, to work around "Attempt to modify
26227 read-only object" error.
26228
26229 Only skip some variables that have function counterparts
26230 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
26231 Only skip minor-mode-named variable if it's defined in a Lisp
26232 file, and it's in minor-mode-list (bug#20506).
26233 * test/automated/elisp-mode-tests.el
26234 (elisp-xref-finds-both-function-and-variable)
26235 (elisp-xref-finds-only-function-for-minor-mode): New tests.
26236
26237 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
26238
26239 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
26240 previous change.
26241 (xref--insert-xrefs): Buttonize the whole line, including the
26242 number at the beginning.
26243
26244 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
26245 Make sure we're inside the let bindings.
26246 * test/automated/elisp-mode-tests.el
26247 (elisp-completes-functions-after-let-bindings): New test.
26248
26249 2015-05-04 Glenn Morris <rgm@gnu.org>
26250
26251 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
26252 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
26253 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
26254 Remove outdated declarations.
26255
26256 Replace instances of "(eval-when-compile (autoload ...))"
26257 * lisp/gnus/gnus-art.el (nneething-get-file-name):
26258 Declare rather than autoload.
26259 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
26260 Remove pointless autoload.
26261 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
26262 (gnus-topic-create-topic, gnus-topic-enter-dribble):
26263 Declare rather than autoload.
26264 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
26265 (mailcap-extension-to-mime): Autoload at run-time.
26266 * lisp/gnus/mm-util.el (latin-unity-massage-name)
26267 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
26268 (latin-unity-representations-present-region):
26269 Declare rather than autoload.
26270 * lisp/gnus/mml-smime.el (epg-make-context)
26271 (epg-passphrase-callback-function): Autoload at run-time.
26272 (epg-context-set-signers, epg-context-result-for)
26273 (epg-new-signature-digest-algorithm)
26274 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
26275 (epg-sign-string, epg-encrypt-string)
26276 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
26277 (epg-configuration, epg-expand-group, epa-select-keys):
26278 Declare rather than autoload.
26279 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
26280 Autoload at run-time.
26281 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
26282 (gnus-registry-get-id-key, gnus-registry-action):
26283 Declare rather than autoload.
26284 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
26285 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
26286 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
26287 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
26288 (spam-stat-split-fancy): Remove pointless autoloads.
26289 * lisp/net/mairix.el: Load gnus-util when compiling.
26290 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
26291 (message-field-value): Declare rather than autoload.
26292 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
26293 Check gnus-alive-p is fbound.
26294 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
26295 (vm-check-for-killed-summary, vm-error-if-folder-empty)
26296 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
26297 Declare rather than autoload.
26298
26299 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
26300
26301 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
26302 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
26303
26304 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
26305
26306 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
26307
26308 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
26309 * lisp/emacs-lisp/package.el (epg-signature-status):
26310 Fix declarations.
26311
26312 * lisp/play/gametree.el (gametree-show-children-and-entry)
26313 (gametree-apply-layout, gametree-mouse-show-subtree)
26314 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
26315
26316 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
26317 Handle cl-defgeneric, cl-defmethod.
26318
26319 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
26320
26321 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
26322 Highlight both type and symbol name.
26323
26324 Insert, highlight and align line numbers in xref output
26325 * lisp/progmodes/etags.el (xref-location-line): Specialize for
26326 xref-etags-location.
26327 * lisp/progmodes/xref.el (xref-location-line): New generic method.
26328 (xref-file-location): Add reader for the line slot.
26329 (xref--location-at-point): Skip to the `xref-location' property.
26330 (xref--collect-reference): Drop the line number from description.
26331 (xref--insert-xrefs): Insert, highlight and align line numbers.
26332
26333 2015-05-04 Daniel Colascione <dancol@dancol.org>
26334
26335 * lisp/simple.el (save-mark-and-excursion--save)
26336 (save-mark-and-excursion--restore): Fix previous commit
26337 (255a011f0ecf004b31c59945b10154b10fac3af1).
26338
26339 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
26340
26341 Don't pulse the indentation, or the newline
26342 * lisp/cedet/pulse.el (pulse-lighten-highlight)
26343 (pulse-reset-face): Fall back to the inherited background
26344 attribute in FACE.
26345 (pulse-momentary-highlight-region): Add autoload cookie.
26346 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
26347 indentation, or the newline, if the line's non-empty
26348 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
26349
26350 2015-05-04 Daniel Colascione <dancol@dancol.org>
26351
26352 Add `save-mark-and-excursion', which has the old
26353 `save-excursion' behavior
26354 * doc/lispref/positions.texi (Excursions):
26355 Document `save-mark-and-excursion'.
26356 * lisp/font-lock.el (font-lock-fontify-block):
26357 Use `save-mark-and-excursion' instead of `save-excursion',
26358 restoring Emacs 24 behavior.
26359 * lisp/simple.el (save-mark-and-excursion--save)
26360 (save-mark-and-excursion--restore): New functions.
26361 (save-mark-and-excursion): New user macro.
26362 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
26363 in `save-excursion' documentation.
26364
26365 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
26366
26367 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
26368 Classify lone symbol inside let varlist as variable.
26369 * test/automated/elisp-mode-tests.el
26370 (completest-variables-in-let-bindings): New test.
26371
26372 Add xref-pulse-on-jump
26373 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
26374 Add autoload cookie.
26375 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
26376 (xref--maybe-pulse): New function.
26377 (xref-pop-marker-stack, xref--pop-to-location)
26378 (xref--display-position): Use it.
26379 (xref--location-at-point): Use back-to-indentation.
26380
26381 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
26382
26383 lisp/org/org-{macs,list}.el: Fix lexical warnings
26384 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
26385 (org-list-get-next-item, org-list-get-prev-item)
26386 (org-list-get-children): Mark unused arg `struct'.
26387 (org-list-use-alpha-bul-p): Remove unused var `bul'.
26388 (org-toggle-checkbox): Mark unused var.
26389 (org-update-checkbox-count): Remove unused var `box-num'.
26390 (org-adapt-indentation): Declare.
26391 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
26392 (org-list-send-list): Remove unused var `txt'.
26393 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
26394 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
26395 * lisp/org/org-macs.el: Use `declare'.
26396 (org-with-limited-levels): Declare dyn-bound vars.
26397
26398 2015-05-04 Eli Zaretskii <eliz@gnu.org>
26399
26400 Fix minor issues with CEDET on MS-Windows
26401 * lisp/cedet/semantic/symref/idutils.el
26402 (semantic-symref-parse-tool-output-one-line): Fix the search
26403 regexp to match MS-Windows file names with drive letters.
26404 (Bug#19468)
26405 * lisp/cedet/semantic/symref/grep.el
26406 (semantic-symref-grep-use-template): Remove "--color=always" from
26407 Grep switches on MS-Windows.
26408 (semantic-symref-grep-shell): Use shell-file-name as the default
26409 value, so this works not only on Posix platforms.
26410 (semantic-symref-perform-search): Use shell-quote-argument instead
26411 of literal '..' for portable quoting of Grep command-line
26412 argument. Use shell-command-switch instead of a literal "-c".
26413 * lisp/cedet/semantic/bovine/gcc.el
26414 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
26415 for an absolute file name in a portable way.
26416
26417 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
26418
26419 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
26420 (package-import-keyring, package-refresh-contents)
26421 (package-compute-transaction, package--save-selected-packages)
26422 (package-install-from-archive, package-delete)
26423 (package-menu--perform-transaction): Use `inhibit-message' instead.
26424 (package--compile): Set `warning-minimum-level' to :error.
26425
26426 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
26427
26428 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
26429 (terminal-init-screen): Use it (bug#20356).
26430 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
26431 (xterm--extra-capabilities-type): New const.
26432 (xterm-extra-capabilities): Use it.
26433 (xterm--version-handler): Lower the pseudo-version for `screen'.
26434
26435 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
26436
26437 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
26438 Always insert a newline at the end (to avoid mouse-face background
26439 tail at the last line).
26440
26441 elisp-completion-at-point: Prioritize being quoted over funpos
26442 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
26443 Only consider function position when not inside quoted form
26444 (bug#20425).
26445 * test/automated/elisp-mode-tests.el: New file.
26446
26447 Stop vc-print-log from jumping to the top
26448 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
26449 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
26450 is not specified.
26451 (vc-incoming-outgoing-internal): Always pass nil.
26452 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
26453 call it, and don't set vc-sentinel-movepoint (bug#15322).
26454 (vc-print-root-log): Don't fetch the root working revision, nor
26455 pass it to vc-print-log-internal.
26456
26457 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
26458
26459 Fix display of keyboard layouts for right-to-left scripts
26460 * lisp/international/quail.el (quail-insert-kbd-layout):
26461 Force left-to-right paragraph direction.
26462
26463 2015-05-02 K. Handa <handa@gnu.org>
26464
26465 * src/cmds.c (internal_self_insert): When we insert spaces for
26466 padding, set point before the padding spaces, not after them.
26467
26468 2015-05-02 Nicolas Petton <nicolas@petton.fr>
26469
26470 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
26471
26472 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
26473
26474 Fix etags-xref-find for references
26475 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
26476 Use `cl-mapcan'.
26477 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
26478 directory if no tags tables are loaded (bug#19468).
26479
26480 2015-05-02 Philipp Stephani <phst@google.com>
26481
26482 Update the options in whitespace-style defcustom
26483 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
26484 `repeat' because the option is really set-like. Add missing
26485 options. Reorder options to match the order in the
26486 documentation. (Bug#20346)
26487
26488 2015-05-02 Eli Zaretskii <eliz@gnu.org>
26489
26490 Fix error diagnostics of c-macro-expand
26491 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
26492 too early if no start-marker string was found -- that generally
26493 means cpp exited abnormally, and we still want to show its error
26494 messages to the user.
26495
26496 Don't require Texinfo 5.0 for Emacs documentation
26497 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
26498 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
26499 "@codequoteundirected on", respectively, to avoid requiring
26500 Texinfo 5.x for Emacs documentation.
26501
26502 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
26503
26504 * lisp/files.el (pwd):
26505 When called with a prefix argument, insert the current default
26506 directory at point.
26507
26508 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
26509
26510 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
26511 * lisp/isearch.el (isearch-mode-map): Don't inhibit
26512 function-key-map remapping for backspace (bug#20466).
26513
26514 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
26515
26516 Implement xref-find-references in etags and elisp-mode
26517 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
26518 (elisp-xref-find): Use it.
26519 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
26520 * lisp/progmodes/xref.el (xref-collect-references):
26521 (xref--collect-reference): New functions.
26522
26523 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
26524
26525 Prefer plain characters to Texinfo circumlocutions
26526 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
26527 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
26528
26529 Fix single-quoting style in PDF manuals
26530 The PDF versions of the GNU manuals used curved single quotes to
26531 represent grave accent and apostrophe, which made it a pain to cut
26532 and paste code examples from them. Fix the PDF versions to use
26533 grave accent and apostrophe for Lisp source code, keystrokes, etc.
26534 This change does not affect the info files, nor does it affect
26535 ordinary uses of curved single quotes in PDF.
26536 * doc/emacs/docstyle.texi: New file, which specifies treatment for
26537 grave accent and apostrophe, as well as the document encoding.
26538 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
26539 * doc/lispintro/emacs-lisp-intro.texi:
26540 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
26541 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
26542 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
26543 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
26544 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
26545 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
26546 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
26547 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
26548 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
26549 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
26550 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
26551 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
26552 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
26553 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
26554 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
26555 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
26556 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
26557 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
26558 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
26559 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
26560 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
26561 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
26562 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
26563 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
26564 * doc/misc/woman.texi:
26565 Use it instead of '@documentencoding UTF-8', to lessen the need for
26566 global changes like this in the future.
26567 * doc/emacs/Makefile.in (EMACS_XTRA):
26568 * doc/lispintro/Makefile.in (srcs):
26569 * doc/lispref/Makefile.in (srcs):
26570 Add dependency on docstyle.texi.
26571 * doc/misc/Makefile.in (style): New macro.
26572 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
26573 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
26574 Use it.
26575
26576 2015-05-01 Glenn Morris <rgm@gnu.org>
26577
26578 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
26579
26580 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
26581 (help-fns--signature): Declare.
26582
26583 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
26584
26585 2015-05-01 Nicolas Petton <nicolas@petton.fr>
26586
26587 New macro seq-let, providing destructuring support to seq.el
26588 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
26589 to `cl-destructuring-bind' but works on all sequence types supported
26590 by `seq.el'. Bump version number to 1.6.
26591 * test/automated/seq-tests.el: Add tests for seq-let.
26592 * doc/lispref/sequences.texi: Add documentation for seq-let.
26593
26594 2015-05-01 Pontus Michael <m.pontus@gmail.com>
26595
26596 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
26597
26598 2015-05-01 Glenn Morris <rgm@gnu.org>
26599
26600 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
26601
26602 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
26603
26604 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
26605 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
26606 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
26607 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
26608 (Bug#20445).
26609
26610 2015-05-01 K. Handa <handa@gnu.org>
26611
26612 * lisp/international/mule-cmds.el (input-method-use-echo-area):
26613 Change :type to 'boolean.
26614
26615 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
26616
26617 Start using proportional fonts in eww by default
26618 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
26619 it seems to work well.
26620
26621 Fix links in tables in shr
26622 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
26623 makes (some) links in tables not work.
26624
26625 2015-05-01 Jan D <jan.h.d@swipnet.se>
26626
26627 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
26628
26629 2015-04-30 Glenn Morris <rgm@gnu.org>
26630
26631 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
26632 Update for 2015-02-08 change to indirect-function.
26633
26634 * lisp/term/ns-win.el (ns-get-selection-internal):
26635 Remove declaration for function deleted 2014-10-21.
26636
26637 * lisp/dom.el: Load subr-x when compiling, for when-let.
26638
26639 Silence some compilation warnings
26640 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
26641 * lisp/emulation/cua-base.el (delete-active-region):
26642 * lisp/net/net-utils.el (w32-get-console-output-codepage):
26643 * lisp/term/ns-win.el (ns-own-selection-internal)
26644 (ns-disown-selection-internal, ns-selection-owner-p)
26645 (ns-selection-exists-p, ns-get-selection):
26646 Declare for compiler.
26647
26648 Function declaration updates prompted by 'make check-declare'
26649 * lisp/emacs-lisp/package.el (lm-homepage):
26650 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
26651 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
26652 * lisp/gnus/mml.el (libxml-parse-html-region):
26653 * lisp/gnus/nnrss.el (libxml-parse-html-region):
26654 * lisp/net/eww.el (libxml-parse-html-region):
26655 * lisp/net/shr.el (libxml-parse-html-region):
26656 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
26657 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
26658 * lisp/vc/vc-git.el (vc-annotate-convert-time):
26659 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
26660 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
26661 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
26662 Update declaration.
26663
26664 Remove compatibility code for 20-year old function renaming
26665 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
26666 Make it an obsolete alias.
26667 (idlwave-shell-filter): Change all uses to comint-output-filter.
26668
26669 2015-04-30 Tassilo Horn <tsdh@gnu.org>
26670
26671 Add ace-window face config
26672 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
26673 configuration.
26674
26675 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
26676
26677 Unclutter 'make doc' output a bit
26678 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
26679 Use make subst rather than sh IFS to split target string apart.
26680 This makes 'make' output easier to follow.
26681
26682 Merge from gnulib
26683 * doc/misc/texinfo.tex: Update from gnulib.
26684
26685 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
26686
26687 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
26688 (package-menu--print-info): Obsolete.
26689 (package-menu--print-info-simple): New function.
26690 (package-menu--refresh): Use it, simplify code, and improve
26691 performance.
26692 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26693 Tiny performance improvement.
26694
26695 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
26696
26697 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
26698
26699 Omit -Wstrict-overflow workaround in GCC 5
26700 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
26701 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
26702
26703 Merge from gnulib
26704 This incorporates:
26705 2015-04-29 extern-inline: no need for workaround in GCC 5.1
26706 2015-04-26 file-has-acl: port to CentOS 6
26707 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
26708
26709 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
26710
26711 Set next-error-* in xref--xref-buffer-mode
26712 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
26713 Set `next-error-function' and `next-error-last-buffer'.
26714 (xref--next-error-function): New function.
26715 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
26716
26717 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
26718
26719 python.el: Fix warnings on looking-back calls missing LIMIT
26720 * lisp/progmodes/python.el (python-shell-accept-process-output):
26721 Pass LIMIT arg to looking-back.
26722
26723 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
26724
26725 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
26726 (package--download-and-read-archives): Use pushnew instead of
26727 append. If something terrible happened during a previous
26728 download, simply refreshing should now make things work again.
26729
26730 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
26731
26732 Introduce etags-xref-find-definitions-tag-order
26733 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
26734 New variable.
26735 (etags--xref-find-definitions): Use it (bug#19468).
26736
26737 2015-04-29 Eli Zaretskii <eliz@gnu.org>
26738
26739 PATH- and completion-related fixes in Eshell on MS-Windows
26740 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
26741 MS-Windows, prepend "." to list of directories produced from PATH,
26742 as Windows always implicitly searches the current directory first.
26743 (eshell-force-execution): Make it have a non-nil default value on
26744 MS-Windows and MS-DOS.
26745 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
26746 eshell-force-execution is non-nil, complete on readable files and
26747 directories, not only executables. When running on MS-Windows,
26748 prepend "." to list of directories produced from PATH, as Windows
26749 always implicitly searches the current directory first.
26750
26751 2015-04-29 Sam Steingold <sds@gnu.org>
26752
26753 Bury RCIRC buffers when there is no activity
26754 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
26755 (rcirc-bury-buffers): New function.
26756 (rcirc-next-active-buffer): When there is no new activity, use
26757 `rcirc-bury-buffers' to hide all RCIRC buffers.
26758
26759 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
26760
26761 Fix DBUS query result parsing for secrets-search-items
26762 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
26763 parsing. The function assumed that return value of the
26764 SearchItems method called on a collection is a list of two lists,
26765 however this is true only when no collection is specified. GNOME
26766 had used to incorrectly return a list of two lists in both cases,
26767 but this was already fixed:
26768 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
26769 incorrect information in the secrets-search-items’ docstring.
26770 (Bug#20449)
26771
26772 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
26773
26774 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
26775 Use `inhibit-message' instead of hiding the previous message
26776 with (message nil).
26777
26778 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
26779
26780 Remove the deprecated INTERNAL_FIELD macro by expanding it
26781 * src/lisp.h (INTERNAL_FIELD): Remove.
26782 (DEFVAR_KBOARD): Modify accordingly.
26783 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
26784 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
26785 * src/buffer.c (compact_buffer): Use BVAR.
26786
26787 2015-04-29 Glenn Morris <rgm@gnu.org>
26788
26789 Replace an obsolete function alias
26790 * lisp/isearch.el (isearch-yank-x-selection):
26791 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
26792 (mouse-drag-secondary-moving):
26793 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
26794 Replace obsolete alias x-get-selection with gui-get-selection.
26795
26796 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
26797
26798 * lisp/mail/rmailsum.el: Use lexical-binding.
26799
26800 2015-04-29 Glenn Morris <rgm@gnu.org>
26801
26802 * test/automated/package-test.el (package-test-update-archives-async):
26803 Skip test on hydra.nixos.org.
26804
26805 2015-04-28 Glenn Morris <rgm@gnu.org>
26806
26807 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
26808 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
26809 (foldout-mouse-hide-or-exit): Use new names for outline functions.
26810
26811 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
26812 Update for 2014-06-26 hideif.el change.
26813
26814 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
26815 (rmail--decode-and-apply): New function.
26816 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
26817
26818 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
26819
26820 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
26821
26822 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
26823 (package-menu--refresh): Delegate obsolete-hiding to
26824 `package--remove-hidden'.
26825 (package--remove-hidden): Disregard high-priority package if it is
26826 older than the installed one.
26827
26828 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
26829
26830 Update source file encoding list
26831 Update admin/notes/unicode, along with coding system cookies in
26832 other files, so that the two match each other better.
26833 * admin/notes/unicode: lisp/language/ethio-util.el and
26834 lisp/language/ethiopic.el also use utf-8-emacs.
26835 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
26836 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
26837 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
26838 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
26839 * etc/refcards/sk-survival.tex:
26840 Add "coding: utf-8" so that this file is not mishandled in a
26841 Latin-1 or Big-5 locale.
26842 * lisp/international/robin.el, lisp/org/ox-ascii.el:
26843 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
26844 * lisp/language/ethio-util.el: Fix trailer.
26845
26846 2015-04-28 Eli Zaretskii <eliz@gnu.org>
26847
26848 Fix synchronous invocation of Ispell
26849 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
26850 value to ispell-process-directory before calling ispell-init-process.
26851 Don't call set-process-coding-system if ispell-async-processp is nil.
26852 (Bug#20448)
26853
26854 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
26855
26856 * lisp/emacs-lisp/package.el: Skip space and comments in init file
26857 (package--ensure-init-file): Insert snippet at first
26858 non-whitespace non-comments line. Respects local-vars at the top
26859 of the file.
26860
26861 2015-04-28 Glenn Morris <rgm@gnu.org>
26862
26863 * lisp/mail/rmail.el (rmail-copy-headers):
26864 Handle rmail-nonignored-headers being nil. (Bug#18878)
26865
26866 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
26867
26868 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
26869 Don't get confused by a bzrlib version mismatch warning.
26870
26871 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
26872
26873 Change default location of EUDC options file
26874 * etc/NEWS: Document change to EUDC options file's default location.
26875 * lisp/net/eudc-vars.el (eudc-options-file): Use
26876 `locate-user-emacs-file' to change default options file location.
26877
26878 2015-04-27 Glenn Morris <rgm@gnu.org>
26879
26880 * test/automated/package-test.el (package-test-update-archives-async):
26881 Try to handle the test server script dying.
26882
26883 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
26884
26885 * lisp/saveplace.el (save-place-mode): New minor mode.
26886 (save-place): Redefine as an obsolete alias.
26887
26888 * lisp/midnight.el: Make it a minor mode. Allow predicates.
26889 * lisp/midnight.el: Use lexical-binding.
26890 (midnight-mode): Make it a proper minor mode.
26891 (midnight-buffer-display-time): Make arg non-optional.
26892 (midnight-find): Remove.
26893 (clean-buffer-list-kill-never-regexps)
26894 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
26895 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
26896 contain functions.
26897 (clean-buffer-list): Use cl-find.
26898 Allow clean-buffer-list-kill-never-regexps to contain functions.
26899
26900 2015-04-27 Nicolas Petton <nicolas@petton.fr>
26901
26902 Bump version of seq.el to 1.5
26903 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
26904 from seq-doseq. Bump version number of seq.el.
26905
26906 2015-04-27 Glenn Morris <rgm@gnu.org>
26907
26908 * lisp/mail/rmail.el (rmail-reply):
26909 Decode subject before matching "Re:" prefix. (Bug#20396)
26910
26911 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
26912
26913 * lisp/emacs-lisp/package.el: Small improvements
26914 (package--with-work-buffer-async): More informative error.
26915 (package-install-user-selected-packages): Rename to
26916 `package-install-selected-packages'.
26917
26918 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
26919
26920 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
26921 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
26922 (eieio--class-make): Remove leftover `tag'.
26923
26924 2015-04-27 Glenn Morris <rgm@gnu.org>
26925
26926 * lisp/gnus/message.el (gnus-extract-address-components):
26927 Remove bogus declaration that was masking previous problem.
26928
26929 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
26930
26931 * lisp/gnus/message.el (message-insert-formatted-citation-line):
26932 Fix typo. (Bug#20318)
26933
26934 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
26935
26936 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
26937
26938 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
26939 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
26940 the buffer in yet another frame.
26941 (reftex-toc-visit-location): Make sure toc-window has focus at the end
26942 when `final' is nil.
26943 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
26944 silence warnings. Use `--' to clarify that it's internal.
26945 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
26946 (reftex-toc-promote): Clarify unused argument.
26947 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
26948 Add `reftex--' prefix. Fix all users.
26949 (reftex-toc-promote-prepare): Use _ for dummy variable.
26950 (reftex-toc-restore-region): Rename `m.
26951
26952 2015-04-27 Eli Zaretskii <eliz@gnu.org>
26953
26954 Fix a typo in bibtex.el
26955 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
26956 last change. (Bug#20429)
26957
26958 Fix redisplay of frame after loading new fonts
26959 * src/xdisp.c (redisplay_internal): When retrying redisplay of
26960 a frame because new fonts were loaded, disable all redisplay
26961 optimizations on that frame by calling SET_FRAME_GARBAGED.
26962 (Bug#20410)
26963
26964 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
26965
26966 * lisp/info.el (Info-menu): Properly provide the `default'
26967 (Bug#20391)
26968
26969 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
26970 Catch errors from documentation (bug#20418).
26971 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
26972
26973 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
26974
26975 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
26976 Remove redundant ":group 'package".
26977
26978 2015-04-26 Eli Zaretskii <eliz@gnu.org>
26979
26980 Fix a typo in rmail.el
26981 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
26982 last commit. (Bug#20429)
26983
26984 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
26985
26986 Introduce xref-prompt-for-identifier
26987 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
26988 (xref--read-identifier): Use it
26989 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
26990
26991 2015-04-26 João Távora <joaotavora@gmail.com>
26992
26993 `tex-insert-quote' after single `'' opens quotes instead of closing
26994 Without this, it's very hard to precede double quotes with the
26995 apostrophe character, i.e. insert the sequence '``
26996 (quote-backquote-backquote), commonly useful in portuguese, for
26997 instance.
26998 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
26999 preceding chars making `tex-insert-quote' be in the "opening" context.
27000
27001 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
27002
27003 Pass `id' to `completing-read' as def instead of initial input
27004 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
27005 `completing-read' as the default value instead of initial input
27006 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
27007
27008 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
27009
27010 Don't freeze with unreadable processes
27011 Don't freeze if an exiting process can't be read from. (Bug#19860).
27012 This fixes a bug I introduced in
27013 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
27014 "* process.c: Add sanity checks for file descriptors."
27015 Dmitry Gutov did most of the legwork in finding the problem.
27016 * src/process.c (wait_reading_process_output):
27017 Treat non-running processes that can't be read from
27018 the same as other non-running processes.
27019
27020 2015-04-25 Alan Mackenzie <acm@muc.de>
27021
27022 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
27023 * lisp/subr.el (remove-yank-excluded-properties): Put
27024 `with-silent-modifications' around only the last three lines of code.
27025
27026 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
27027
27028 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
27029 (package--all-keywords): Deleted variable.
27030
27031 * etc/NEWS: Document package-hiding functionality.
27032
27033 2015-04-25 Eli Zaretskii <eliz@gnu.org>
27034
27035 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
27036
27037 Clarify the doc string of 'replace-regexp-in-string'
27038 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
27039
27040 Improve doc string of 'insert-buffer-substring'
27041 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
27042
27043 MS-Windows followup for the recent gnulib update
27044 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
27045 acl-internal.c.
27046
27047 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
27048
27049 Spelling fixes
27050
27051 Merge from gnulib
27052 This incorporates:
27053 2015-04-24 file-has-acl: new module, split from acl
27054 2015-04-24 manywarnings: add GCC 5.1 warnings
27055 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
27056 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
27057 2015-04-15 acl: On Linux, check for acls without libacl
27058 2015-04-14 tempname: avoid unused parameter warnings (trivial)
27059 * lib/acl-internal.c: New file, from gnulib.
27060 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
27061 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
27062 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
27063 Update from gnulib.
27064
27065 Port --enable-gcc-warnings to GCC 5.1 x86-64
27066 * lib-src/ebrowse.c (dump_sym):
27067 * lib-src/hexl.c (main):
27068 * src/ccl.c (ccl_driver):
27069 * src/character.c (string_escape_byte8):
27070 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
27071 * src/gnutls.c (Fgnutls_boot):
27072 * src/gtkutil.c (xg_check_special_colors):
27073 * src/image.c (x_build_heuristic_mask):
27074 * src/print.c (safe_debug_print, print_object):
27075 * src/term.c (produce_glyphless_glyph):
27076 * src/xdisp.c (get_next_display_element)
27077 (produce_glyphless_glyph):
27078 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
27079 Don't use a signed format to print an unsigned integer, or vice
27080 versa. GCC 5.1's new -Wformat-signedness option warns about this.
27081 * src/image.c (png_load_body, jpeg_load_body):
27082 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
27083
27084 2015-04-24 Tassilo Horn <tsdh@gnu.org>
27085
27086 Add new faces to tsdh-light-theme
27087 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
27088 definitions for Info-quoted, ace-jump-face-foreground,
27089 hl-paren-face, show-paren-match, and show-paren-mismatch.
27090
27091 2015-04-24 Nicolas Petton <nicolas@petton.fr>
27092
27093 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
27094
27095 2015-04-24 Glenn Morris <rgm@gnu.org>
27096
27097 * build-aux/gitlog-to-emacslog:
27098 Use raw log format rather than wrapped one.
27099
27100 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
27101
27102 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
27103 (seq-doseq): Fix out-of-scope binding.
27104 Don't call `seq-length at every iteration.
27105 Reduce `if's from 3 to 2 per iteration.
27106 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
27107
27108 2015-04-24 Glenn Morris <rgm@gnu.org>
27109
27110 * lisp/textmodes/text-mode.el (text-mode-hook):
27111 Move text-mode-hook-identify to default.
27112
27113 * lisp/mouse.el (minor-mode-menu-from-indicator):
27114 Handle non-function members of minor-mode-map-alist. (Bug#20201)
27115
27116 * lisp/help-fns.el (describe-function): More type checking.
27117 (describe-function-1): Handle changed symbol-function. (Bug#20201)
27118
27119 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
27120 (Bug#20325)
27121
27122 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
27123
27124 shr: strip leading whitespace when expanding URLs
27125 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
27126
27127 2015-04-24 Eli Zaretskii <eliz@gnu.org>
27128
27129 Clarify "co-authored" some more
27130
27131 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
27132
27133 Clarify doc strings of functions that search for properties
27134 * src/textprop.c (Fnext_char_property_change)
27135 (Fprevious_char_property_change)
27136 (Fnext_single_char_property_change)
27137 (Fprevious_single_char_property_change, Fnext_property_change)
27138 (Fnext_single_property_change, Fprevious_property_change)
27139 (Fprevious_single_property_change): Clarify doc strings wrt return
27140 value and the optional LIMIT argument. (Bug#20411)
27141
27142 2015-04-24 Glenn Morris <rgm@gnu.org>
27143
27144 * test/automated/message-mode-tests.el (message-mode-propertize):
27145 Handle non-writable HOME; eg on hydra.nixos.org.
27146
27147 2015-04-23 Eli Zaretskii <eliz@gnu.org>
27148
27149 Avoid starting threads by w32-shell-execute
27150 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
27151 local file names, before invoking ShellExecute. (Bug#20220)
27152
27153 2015-04-23 Martin Rudalics <rudalics@gmx.at>
27154
27155 Fix following doc-links in `widget-documentation-link-action'
27156 * lisp/wid-edit.el (widget-documentation-link-action): Make
27157 following doc-links less simplistic (Bug#20398).
27158
27159 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
27160
27161 Improve EUDC manual
27162 * doc/misc/eudc.texi (Troubleshooting):
27163 New LDAP troubleshooting subsection.
27164
27165 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
27166
27167 Omit needless "\ " after multibyte then newline
27168 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
27169 (print_object): When print-escape-multibyte is non-nil and a
27170 multibyte character is followed by a newline or formfeed, followed
27171 by a hex digit, don't output a needless "\ " before the hex digit.
27172 * test/automated/print-tests.el (print-hex-backslash): New test.
27173
27174 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
27175
27176 Add a new `inhibit-message' variable
27177 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
27178 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
27179 `inhibit_message' is non-zero.
27180 * etc/NEWS: Add an entry.
27181 * doc/lispref/display.texi: Add an entry for `inhibit-message',
27182 mention it in `message'.
27183
27184 2015-04-22 Martin Rudalics <rudalics@gmx.at>
27185
27186 Fix last fix in `display-buffer-record-window'.
27187 * lisp/window.el (display-buffer-record-window): Fix last fix.
27188
27189 2015-04-22 Eli Zaretskii <eliz@gnu.org>
27190
27191 Minor edits in CONTRIBUTE
27192 * CONTRIBUTE: Rearrange instructions about log messages.
27193 Use "Git" capitalized all over.
27194 Use 2 spaces between sentences.
27195
27196 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
27197
27198 * lisp/files.el (basic-save-buffer): Fix argument.
27199
27200 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
27201 In case `(and (null custom-file) init-file-had-error)' do the same
27202 thing we'd do if `(null user-init-file)', which is to either error out
27203 or return nil. This is in line with `custom-save-all' which would
27204 throw an error in that situation. (Bug#20355)
27205
27206 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
27207 (package-menu-hide-low-priority): New variable, see its doc.
27208 (package-archive-priorities): Update doc.
27209 (package-desc-priority): New function.
27210 (package-desc-priority-version): Use it.
27211 (package--remove-hidden): New function.
27212 (package-menu--refresh): Use it.
27213
27214 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
27215 (package-menu--hide-obsolete): New variable.
27216 (package--remove-hidden): Use it.
27217 (package-menu-hide-obsolete): New interactive function to toggle
27218 the variable.
27219 (package--quick-help-keys): Document it.
27220 (package-menu-async): Add :version tag.
27221 (package-menu-mode-map): Bind package-menu-hide-obsolete.
27222 (package-desc-status): Indicate non-installed obsolete packages as
27223 avail-obso.
27224 (package-menu-mark-install): Allow installation of avail-obso.
27225 (package-menu--status-predicate): Sort avail-obso with available.
27226
27227 2015-04-22 Alan Mackenzie <acm@muc.de>
27228
27229 On C-y, stop some text property entries being written into buffer-undo-list
27230 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
27231 `with-silent-modifications'.
27232
27233 2015-04-22 Martin Rudalics <rudalics@gmx.at>
27234
27235 In display-buffer-record-window record selected window if necessary
27236 * lisp/window.el (display-buffer-record-window): Store selected window
27237 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
27238
27239 2015-04-22 Tassilo Horn <tsdh@gnu.org>
27240
27241 Fix reftex-citation bug
27242 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
27243 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
27244 integration is enabled and there are no citations in the document
27245 so far.
27246
27247 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
27248
27249 Add or reset based on the presence of MERGE_HEAD
27250 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
27251 `vc-git-resolve-when-done' to `after-save-hook' in either case.
27252 (vc-git-conflicted-files): Add a TODO.
27253 (vc-git-resolve-when-done): Depending on the presence of
27254 MERGE_HEAD, either update the resolved file in the index, or
27255 remove it from there. (Bug#20292)
27256
27257 2015-04-21 Glenn Morris <rgm@gnu.org>
27258
27259 * lisp/custom.el (custom-declare-group): No need to purecopy
27260 custom-current-group-alist members following recent change to set
27261 it to nil before dumping.
27262
27263 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
27264 (Bug#20399)
27265
27266 2015-04-21 Daniel Colascione <dancol@dancol.org>
27267
27268 Unbreak no-op buffer save message
27269 * lisp/files.el (basic-save-buffer): Accept called-interactively as
27270 an argument instead of directly invoking called-interactively-p,
27271 which will always yield nil in that context.
27272
27273 2015-04-21 Alan Mackenzie <acm@muc.de>
27274
27275 CC Mode: Do nothing in before/after-change-functions for text
27276 property changes
27277 Fixes bug#20266.
27278 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
27279 yank-handled-properties buffer local, and remove 'category from it.
27280 (c-called-from-text-property-change-p): New function.
27281 (c-before-change): Don't do anything if a call of the new function
27282 returns non-nil.
27283 (c-after-change): Don't do much if a call of the new function returns
27284 non-nil.
27285 (c-extend-after-change-region): Put changes to text property 'fontified
27286 inside c-save-buffer-state.
27287
27288 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
27289
27290 Fix byte-compiler warnings about looking-back
27291 * lisp/vc/log-view.el (log-view-end-of-defun-1):
27292 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
27293 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
27294 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
27295 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
27296 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
27297 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
27298 * lisp/org/org.el (org-insert-heading, org-sort-entries):
27299 * lisp/org/org-mouse.el (org-mouse-end-headline)
27300 (org-mouse-context-menu):
27301 * lisp/org/org-clock.el (org-clock-cancel):
27302 * lisp/man.el (Man-default-man-entry):
27303 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
27304 (rmail-ensure-blank-line):
27305 * lisp/mail/footnote.el (Footnote-delete-footnote):
27306 * lisp/mail/emacsbug.el (report-emacs-bug):
27307 * lisp/info.el (Info-follow-reference, Info-fontify-node):
27308 * lisp/info-look.el (info-lookup-guess-custom-symbol):
27309 * lisp/help-fns.el (help-fns--key-bindings):
27310 * lisp/files.el (hack-local-variables):
27311 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
27312 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
27313 (viper-complete-filename-or-exit):
27314 * lisp/emulation/viper-cmd.el (viper-backward-indent):
27315 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
27316 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
27317 * lisp/cus-edit.el (custom-face-edit-value-create):
27318 * lisp/calendar/todo-mode.el (todo-set-item-priority)
27319 (todo-filter-items-1, todo-convert-legacy-files)
27320 (todo-prefix-overlays): Add explicit second arg to looking-back.
27321
27322 2015-04-20 Glenn Morris <rgm@gnu.org>
27323
27324 Avoid non-nil current-load-list at startup
27325 * src/process.c (init_process_emacs): Move Fprovide statement...
27326 (syms_of_process): ... to here.
27327
27328 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
27329
27330 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
27331 in emacs -Q.
27332
27333 2015-04-20 Ludovic Courtès <ludo@gnu.org>
27334
27335 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
27336 (Bug#20330)
27337
27338 2015-04-20 Glenn Morris <rgm@gnu.org>
27339
27340 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
27341
27342 Tweak exec-path in uninstalled case
27343 * src/callproc.c (init_callproc): If running uninstalled, do not
27344 include eventual installation libexec directory in exec-path.
27345
27346 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
27347
27348 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
27349 cache keywords.
27350 (package-menu-filter): Accept a list of keywords.
27351 (package--all-keywords): New variable to cache known keywords.
27352 (package-all-keywords): Populate it if necessary.
27353 (package-refresh-contents): Reset it.
27354
27355 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
27356 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
27357 as special keywords which match agains package archive and status
27358 respectively.
27359 * etc/NEWS: Document it.
27360
27361 2015-04-20 Eli Zaretskii <eliz@gnu.org>
27362
27363 Describe and index "empty overlays".
27364 * doc/lispref/display.texi (Overlays): Improve indexing.
27365 (Managing Overlays): Describe "empty" overlays.
27366 (Overlay Properties, Finding Overlays): Add cross-reference to
27367 where empty overlays are described.
27368
27369 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27370
27371 Spelling fixes
27372
27373 Quote 'like this' in top-level files
27374 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
27375 Prefer to single-quote 'like this' (instead of the older style
27376 `like this').
27377 * configure.ac: Fix some space-before-tab problems that 'git commit'
27378 complained about.
27379
27380 Use bool for boolean in textprop.c, undo.c
27381 * src/textprop.c (soft, hard): Now constants instead of macros.
27382 (validate_plist): Rewrite to avoid need for boolean local.
27383 (interval_has_all_properties, interval_has_some_properties)
27384 (interval_has_some_properties_list, add_properties)
27385 (remove_properties, get_char_property_and_overlay)
27386 (Fnext_single_char_property_change)
27387 (Fprevious_single_char_property_change, add_text_properties_1)
27388 (Fremove_text_properties, Fremove_list_of_text_properties)
27389 (copy_text_properties):
27390 * src/tparam.c (tparam1):
27391 * src/undo.c (record_change, record_property_change)
27392 (syms_of_undo):
27393 Use 'true' and 'false' for booleans.
27394
27395 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
27396
27397 * lisp/vc/vc-git.el (vc-git-find-file-hook):
27398 Call `smerge-start-session' even when dealing with a stash
27399 conflict (bug#20292).
27400
27401 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
27402
27403 Add option to eshell/clear to clear scrollback.
27404 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
27405 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
27406 scrollback contents are cleared.
27407 * etc/NEWS: Describe change.
27408 * doc/misc/eshell.texi: Add entry for `clear'.
27409
27410 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27411
27412 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
27413 where either will do.
27414
27415 2015-04-19 Steve Purcell <steve@sanityinc.com>
27416
27417 Assume package archive-contents are UTF8-encoded
27418 * lisp/emacs-lisp/package.el (package--read-archive-file):
27419 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
27420 downloaded and cached archive-contents files, so that non-ASCII
27421 characters in package descriptions are displayed correctly in the
27422 `list-packages' menu. (Bug#20231)
27423
27424 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
27425
27426 Abort when looking at stashed changes
27427 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
27428 stashed changes (bug#20292).
27429
27430 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27431
27432 Refactor low-level printing for simplicity
27433 * src/print.c (PRINTDECLARE): Remove. Move its contents into
27434 PRINTPREPARE; doable now that we assume C99. All callers changed.
27435 (PRINTCHAR): Remove, as it adds more mystery than clarity.
27436 All callers changed.
27437 (strout): Assume that caller computes length. All callers changed.
27438 (print_c_string): New function.
27439 (write_string, write_string_1): Compute length instead of asking
27440 the caller to compute it. All callers changed.
27441 (write_string): Simplify by using write_string_1.
27442 (write_string_1): Simplify by using print_c_string.
27443 (Fterpri): Compute default val more clearly.
27444 (Fprin1_to_string, print_object):
27445 Assume C99 to avoid unnecessary nesting.
27446 (print_object): Prefer print_c_string to multiple printchar, or
27447 to calling strout with -1 length. Coalesce into sprintf when
27448 this is easy.
27449
27450 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
27451
27452 Prefer "Bug#1234" in commit messages (Bug#20325)
27453 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
27454 as this isn't useful for Git.
27455 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
27456
27457 2015-04-18 Glenn Morris <rgm@gnu.org>
27458
27459 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
27460 (Bug#19506)
27461
27462 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
27463
27464 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
27465 Do not use `chomp' as a function. (Bug#19505)
27466
27467 2015-04-18 Glenn Morris <rgm@gnu.org>
27468
27469 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
27470
27471 * doc/emacs/misc.texi (Sorting): Small edit.
27472 (Bug#19896)
27473
27474 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
27475
27476 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
27477
27478 css-mode.el: Support multi-line comment filling
27479 (Bug#20256)
27480 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
27481 comment filling.
27482 (css-adaptive-fill): New function.
27483 (css-mode): Set `adaptive-fill-function'.
27484 (scss-mode): Set `comment-continue'.
27485
27486 2015-04-18 Nicolas Petton <nicolas@petton.fr>
27487
27488 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
27489 Better error messages.
27490
27491 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
27492
27493 Minor improvements in Bulgarian input methods
27494 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
27495 Replace U+042C with U+045D, as the former character is not used in
27496 the modern Bulgarian language.
27497 (Bug#20350)
27498
27499 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
27500
27501 Improve EUDC manual
27502 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
27503 authentication schemes. Add index items. Shorten example server
27504 name.
27505
27506 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
27507
27508 Don't show both feature and function with the same name
27509 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
27510 Don't show both feature and function with the same name.
27511
27512 (elisp--xref-identifier-location): Skip variable, if it's also
27513 a function
27514 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
27515 Avoid returning both the variable and the function for the same
27516 minor mode.
27517
27518 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
27519
27520 Fix fontification of keywords clobbered by the prompt
27521 * lisp/comint.el (comint-output-filter): Remove the uses of
27522 with-silent-modifications I introduced as part of the last change.
27523 This fixes, e.g., erratically missing highlighting when running
27524 ./configure --help; ./configure in a shell-mode buffer with
27525 compilation-shell-minor-mode turned on.
27526
27527 2015-04-17 Glenn Morris <rgm@gnu.org>
27528
27529 * admin/authors.el (authors-valid-file-names)
27530 (authors-renamed-files-alist): Additions.
27531
27532 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
27533
27534 * lisp/indent.el (indent-region): Don't deactivate the mark.
27535 (Bug#20357)
27536
27537 2015-04-17 Sam Steingold <sds@gnu.org>
27538
27539 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
27540
27541 2015-04-16 Leo Liu <sdl.web@gmail.com>
27542
27543 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
27544
27545 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
27546
27547 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
27548 Don't use `pcomplete' any more.
27549
27550 2015-04-16 Glenn Morris <rgm@gnu.org>
27551
27552 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
27553
27554 2015-04-16 Eli Zaretskii <eliz@gnu.org>
27555
27556 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
27557 * configure.ac (LIBJPEG): Leave it empty for MinGW.
27558
27559 2015-04-16 Glenn Morris <rgm@gnu.org>
27560
27561 * lisp/replace.el (query-replace-from-to-separator):
27562 Delay initialization to avoid rogue setting after startup.
27563
27564 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
27565
27566 Pre-4.6 GCC succeeds with unknown option
27567 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
27568 (Bug#20338)
27569
27570 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
27571
27572 '[:graph:]' now excludes whitespace, not just ' '
27573 * doc/lispref/searching.texi (Char Classes):
27574 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
27575 sans whitespace (not sans space).
27576 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
27577 not just space.
27578 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
27579
27580 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27581
27582 * lisp/subr.el (substitute-key-definition-key, special-form-p)
27583 (macrop): Drop deprecated second arg to indirect-function.
27584 (looking-back): Make the second arg non-optional.
27585
27586 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
27587 command is actually sent to the shell.
27588
27589 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
27590
27591 Port jpeg configuration to Solaris 10 with Sun C
27592 * configure.ac: Check for jpeglib 6b by trying to link it, instead
27593 of relying on cpp magic that has problems in practice. Check for
27594 both jpeglib.h and jerror.h features. Remove special case for
27595 mingw32, which should no longer be needed (and if it were needed,
27596 should now be addressable by hotwiring emacs_cv_jpeglib).
27597 (Bug#20332)
27598
27599 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27600
27601 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
27602 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
27603 Move to elisp-mode.el.
27604 (lisp-mode-variables): (Re)move elisp-specific settings.
27605 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
27606 from lisp-mode-variables.
27607 (elisp--font-lock-flush-elisp-buffers): New function, moved from
27608 lisp-mode.el.
27609
27610 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
27611 Avoid pathological slowdown at top-level in large file.
27612
27613 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
27614
27615 Standardize names of ChangeLog history files
27616 Suggested by Glenn Morris in:
27617 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
27618 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
27619 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
27620 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
27621 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
27622 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
27623 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
27624 Remove.
27625
27626 Split top-level entries into pre- and post-April 7
27627 This more clearly distingiushes pre-April-7 ChangeLog entries (which
27628 are for top-level files only) from post-April-7 entries (which are
27629 about files at all levels. Problem reported by Glenn Morris in:
27630 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
27631 * ChangeLog.1: Move post-April-7 entries from here ...
27632 * ChangeLog.2: ... to this new file.
27633 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
27634
27635 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27636
27637 Fix recent cus-start changes that added customize-rogues
27638 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
27639 vars early.
27640 * lisp/loadup.el ("cus-start"): Move to the end to reduce
27641 customize-rogue.
27642
27643 2015-04-15 Nicolas Petton <nicolas@petton.fr>
27644
27645 Define cl-concatenate as an alias to seq-concatenate
27646 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
27647 code by making cl-concatenate an alias to seq-concatenate.
27648
27649 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
27650
27651 * src/lread.c (intern_1): Make sure we'd find the symbol we add
27652 (Bug#20334)
27653 * src/xfaces.c (resolve_face_name): Don't use `intern' with
27654 Lisp_Strings.
27655
27656 2015-04-15 Glenn Morris <rgm@gnu.org>
27657
27658 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
27659
27660 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
27661
27662 Clean up gnus-uu saving code slightly
27663 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
27664 save-restriction/widen calls make more sense.
27665
27666 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
27667
27668 Make [:graph:] act like [:print:] sans space
27669 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
27670 [:graph:] so that it matches everything that [:print:] does,
27671 except for space.
27672 * doc/lispref/searching.texi (Char Classes):
27673 * etc/NEWS:
27674 * lisp/emacs-lisp/rx.el (rx):
27675 Document [:graph:] to be [:print:] sans ' '.
27676 * src/character.c, src/character.h (graphicp): New function.
27677 * src/regex.c (ISGRAPH) [emacs]: Use it.
27678 (BIT_GRAPH): New macro.
27679 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
27680 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
27681 Return BIT_GRAPH for RECC_GRAPH.
27682 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
27683 and ISPRINT if BIT_PRINT.
27684
27685 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27686
27687 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
27688 Don't use call-next-method in a cl-defmethod.
27689
27690 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
27691 (eieio--class-p): Remove, provided by cl-defstruct.
27692
27693 2015-04-14 Nicolas Petton <nicolas@petton.fr>
27694
27695 Add seq-intersection and seq-difference to the seq library
27696 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
27697 New functions.
27698 * test/automated/seq-tests.el: Add tests for seq-intersection and
27699 seq-difference.
27700 * doc/lispref/sequences.texi: Add documentation for seq-intersection
27701 and seq-difference.
27702
27703 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27704
27705 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
27706 to avoid leaking internals.
27707
27708 2015-04-14 Sam Steingold <sds@gnu.org>
27709
27710 package--ensure-init-file: widen requires save-restriction
27711
27712 2015-04-14 Eli Zaretskii <eliz@gnu.org>
27713
27714 Improve the commit-msg Git hook for unibyte environments
27715 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
27716 in unibyte environments. (Suggested by Paul Eggert
27717 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
27718 [:print:], based on UTF-8 sequences of the unprintable characters.
27719
27720 Describe problems with cursor caused by Windows Magnifier
27721 * etc/PROBLEMS: Describe the problem with cursor shape on
27722 MS-Windows due to Windows Magnifier.
27723 (Bug#20271)
27724
27725 Make [:print:] support non-ASCII characters correctly
27726 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
27727 (BIT_PRINT): New bit mask.
27728 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
27729 * src/character.c (printablep): New function.
27730 * src/character.h (printablep): Add prototype.
27731 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
27732 of 'print', 'alnum', and 'alphabetic'.
27733 * doc/lispref/searching.texi (Char Classes): Document the new
27734 behavior of [:print:].
27735 * etc/NEWS: Mention the new behavior of [:print:].
27736
27737 Assign correct general-category and names to surrogates
27738 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
27739 surrogates. This avoids assigning them the default
27740 general-category of 'Cn', i.e. unassigned codepoints.
27741 (unidata-get-name): Give surrogates synthetic names.
27742
27743 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
27744
27745 Assume C89 offsetof in xterm.c, xlwmenu.c
27746 * lwlib/xlwmenu.c (offset):
27747 * src/xterm.c (cvt_string_to_pixel_args):
27748 Use offsetof, not XtOffset.
27749
27750 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
27751
27752 Assume C89 offsetof in widget.c
27753 * src/widget.c (XtOffset): Remove; no longer needed.
27754 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
27755
27756 Fix think-o in previous patch
27757 * src/window.c (count_windows, get_leaf_windows):
27758 Don't optimize count_windows incorrectly.
27759
27760 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
27761
27762 Avoid some int overflows in window.c
27763 * src/print.c (print_object):
27764 * src/window.c (sequence_number):
27765 * src/window.h (struct window.sequence_number):
27766 Don't assume window sequence number fits in int.
27767 * src/window.c (window_select_count):
27768 * src/window.h (struct window.use_time, window_select_count):
27769 Don't assume window use time fits in int.
27770 * src/window.c (Fsplit_window_internal):
27771 Don't assume user-supplied integer, or sum, fits in int.
27772 (Fset_window_configuration, count_windows, get_leaf_windows)
27773 (save_window_save, Fcurrent_window_configuration):
27774 Use ptrdiff_t for object counts.
27775 (Fset_window_configuration): Omit unused local 'n'.
27776 (count_windows): Simplify by writing in terms of get_leaf_windows.
27777 (get_leaf_windows): Don't store through FLAT if it's null.
27778 (extract_dimension): New static function.
27779 (set_window_margins, set_window_fringes, set_window_scroll_bars):
27780 Use it to avoid undefined behavior when converting user-supplied
27781 integer to 'int'.
27782
27783 2015-04-13 Glenn Morris <rgm@gnu.org>
27784
27785 Minor doc copyedits
27786 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
27787 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
27788
27789 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
27790
27791 [Gnus] Catch the invalid-operation that idna.el will issue
27792 * lisp/gnus/gnus-art.el (gnus-use-idna):
27793 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
27794 * lisp/gnus/message.el (message-use-idna):
27795 Catch the invalid-operation that idna.el will issue.
27796
27797 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
27798
27799 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
27800
27801 2015-04-13 Sam Steingold <sds@gnu.org>
27802
27803 package--ensure-init-file: widen before looking for
27804 "(package-initialize)"
27805
27806 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
27807
27808 Change diff-switches default to `-u' (Bug#20290)
27809 * doc/emacs/files.texi (Comparing Files): Document the new default
27810 value of `diff-switches'.
27811 * doc/emacs/trouble.texi (Sending Patches): Document the preference
27812 for unified diff format. Escape the plus in the suggested `-F' regexp
27813 value.
27814 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
27815
27816 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
27817
27818 (gnus-group--setup-tool-bar-update): Fix last change
27819 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
27820 cursor-sensor-functions should be a list of functions.
27821
27822 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
27823
27824 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
27825 Use gmm-called-interactively-p.
27826
27827 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
27828
27829 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
27830 (Bug#20321)
27831 * lisp/cus-start.el (read-buffer-function): Don't advertise
27832 iswitchb-read-buffer any more.
27833 (iswitchb): Don't tweak this obsolete group any more.
27834
27835 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
27836
27837 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
27838
27839 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
27840 Adding a string after a constructor's argument list will use
27841 that string as the constructor function docstring. If this string
27842 is absent but the struct itself was given a docstring, use that as
27843 the constructor's docstring.
27844 Fixes bug#17284.
27845
27846 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
27847
27848 Deprecate `intangible' and `point-entered' properties
27849 * lisp/emacs-lisp/cursor-sensor.el: New file.
27850 * lisp/simple.el (pre-redisplay-functions): New hook.
27851 (redisplay--pre-redisplay-functions): New function.
27852 (pre-redisplay-function): Use it.
27853 (minibuffer-avoid-prompt): Mark obsolete.
27854 (redisplay--update-region-highlight): Adapt it to work as a function on
27855 pre-redisplay-functions.
27856 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
27857 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
27858 than point-entered to make the prompt intangible.
27859 * lisp/forms.el: Move `provide' calls to the end.
27860 (forms-mode): Don't use `run-hooks' on a local var.
27861 (forms--make-format, forms--make-format-elt-using-text-properties):
27862 Use cursor-intangible rather than `intangible'.
27863 (forms-mode): Enable cursor-intangible-mode.
27864 * lisp/isearch.el (isearch-mode): Use defvar-local.
27865 (cursor-sensor-inhibit): Declare.
27866 (isearch-mode): Set cursor-sensor-inhibit.
27867 (isearch-done): Set it back.
27868 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
27869 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
27870 any more.
27871 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
27872 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
27873 Add Edebug spec.
27874 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
27875 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
27876 inhibit-point-motion-hooks any more.
27877 (ses--cell-at-pos, ses--curcell): New functions, extracted from
27878 ses-set-curcell.
27879 (ses-set-curcell): Use them.
27880 (ses-print-cell, ses-setup): Use cursor-intangible instead of
27881 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
27882 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
27883 Use ses--cell-at-pos.
27884 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
27885 extracted from ses-command-hook. Make them work with multiple windows
27886 displaying the same buffer.
27887 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
27888 Enable cursor-intangible-mode.
27889 (ses-command-hook): Remove cell highlight and mode-line update code.
27890 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
27891 Update for new name of text-property holding the cell name.
27892 (ses-rename-cell): Don't mess with mode-line-process.
27893 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
27894 cursor-sensor-functions property instead of point-entered.
27895 (erc-insert-timestamp-right, erc-format-timestamp):
27896 Use cursor-intangible rather than `intangible'.
27897 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
27898 remove-from-invisibility-spec. Enable cursor-intangible-mode and
27899 cursor-sensor-mode if needed.
27900 (erc-echo-timestamp): Adapt to calling convention of
27901 cursor-sensor-functions.
27902 (erc-insert-timestamp-right): Remove unused vars `current-window' and
27903 `indent'.
27904 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
27905 (gnus-update-group-mark-positions): Remove unused `topic' var.
27906 (gnus-group-insert-group-line): Remove unused var `header'.
27907 (gnus-group--setup-tool-bar-update): New function.
27908 (gnus-group-insert-group-line): Use it.
27909 (gnus-group-update-eval-form): Declare local
27910 dynamically-bound variables.
27911 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
27912 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
27913 (gnus-group-prepare-topics, gnus-topic-update-topic)
27914 (gnus-topic-change-level, gnus-topic-catchup-articles)
27915 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
27916 Use inhibit-read-only.
27917 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
27918 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
27919 * lisp/textmodes/reftex-index.el (reftex-display-index):
27920 Use cursor-intangible-mode if available.
27921 (reftex-index-post-command-hook): Check cursor-intangible.
27922 * lisp/textmodes/reftex-toc.el (reftex-toc):
27923 Use cursor-intangible-mode if available.
27924 (reftex-toc-recenter, reftex-toc-post-command-hook):
27925 Check cursor-intangible.
27926 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
27927 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
27928 (sgml-tags-invisible): Use with-silent-modifications and
27929 inhibit-read-only. Enable cursor-sensor-mode.
27930 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
27931 calling convention of cursor-sensor-functions.
27932 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
27933 (table-point-entered-cell-hook, table-point-left-cell-hook):
27934 Don't autoload.
27935 (table-cell-entered-state): Remove var.
27936 (table--put-cell-point-entered/left-property)
27937 (table--remove-cell-properties):
27938 Use cursor-sensor-functions rather than point-entered/left.
27939 (table--point-entered/left-cell-function): Merge
27940 table--point-entered-cell-function and table--point-left-cell-function
27941 and adjust to calling convention of cursor-sensor-functions.
27942
27943 Update ldef-boots.el
27944
27945 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
27946
27947 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
27948
27949 Collapse successive char deletions in the undo log
27950 * src/cmds.c (remove_excessive_undo_boundaries): New function,
27951 extracted from Fself_insert_command.
27952 (Fdelete_char, Fself_insert_command): Use it.
27953 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
27954 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
27955
27956 xterm and OSC 52: Add NEWS entry, and tweak the code
27957 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
27958 to top-level.
27959 (terminal-init-xterm-activate-set-selection): Set a terminal property.
27960 (xterm--set-selection): Use it instead of checking the value of
27961 `terminal-initted'. Don't use string-bytes.
27962
27963 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
27964
27965 xterm.el: Implement OSC-52 functionality for setting the X selection
27966 * lisp/term/xterm.el (xterm-max-cut-length): New var.
27967 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
27968 New funs.
27969 (terminal-init-xterm, xterm--version-handler): Use them.
27970
27971 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
27972
27973 Remove left over code from when we used an obsolete/loaddefs.el file
27974 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
27975 when we used an obsolete/loaddefs.el file.
27976
27977 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
27978 (semanticdb-without-unloaded-file-searches): Use declare.
27979 (semantic-fw-add-edebug-spec): Remove.
27980
27981 * lisp/completion.el (completion-lisp-mode-hook):
27982 Use completion-separator-chars rather than local key binding.
27983
27984 * src/*.c: Set deactivate_mark buffer-locally
27985 (Bug#20260)
27986 * src/insdel.c (prepare_to_modify_buffer_1):
27987 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
27988 buffer-locally.
27989
27990 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
27991
27992 python.el: Keep symmetry on sexp navigation with parens
27993 (Bug#19954)
27994 * lisp/progmodes/python.el
27995 (python-nav--forward-sexp): Add argument skip-parens-p.
27996 (python-nav-forward-sexp, python-nav-backward-sexp)
27997 (python-nav-forward-sexp-safe)
27998 (python-nav-backward-sexp-safe): Use it.
27999 * test/automated/python-tests.el
28000 (python-nav-forward-sexp-1): Fix test.
28001
28002 2015-04-12 João Távora <joaotavora@gmail.com>
28003
28004 Don't use `setq-local' in Gnus code
28005 This might break upstream builds with older Emacsen
28006 * lisp/gnus/message.el (message-mode): Use `set' and
28007 `make-local-variable' instead of `setq-local'.
28008
28009 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
28010
28011 Update Makefile.in's .PHONY dependencies
28012 * Makefile.in (change-history-commit, master-branch-is-current)
28013 (no-ChangeLog): Now phony.
28014
28015 Remove configure's --with-mmdf option
28016 * configure.ac (MAIL_USE_MMDF): Remove.
28017 * etc/NEWS: Document this.
28018 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
28019 (Bug#20308)
28020
28021 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
28022 That way, 'make install' won't think it's a man page.
28023 Reported by Ashish SHUKLA in:
28024 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
28025
28026 Improve 'make change-history' prereq tests
28027 * Makefile.in (gen_origin): Fix to match what's in the master branch.
28028 (no-ChangeLog, master-branch-is-current): New rules.
28029 (change-history): Depend on them, to avoid similar future problems.
28030 Escape the local-variables string to pacify Emacs when editing
28031 Makefile.in.
28032
28033 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
28034
28035 * test/automated/package-test.el (with-package-test):
28036 Kill Packages buffer.
28037
28038 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
28039 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
28040 "Upgrade" last, and use capitalized instead of all-caps.
28041
28042 * lisp/emacs-lisp/package.el: Completely silence async operations.
28043 (package--make-autoloads-and-stuff): Silence autoloads.
28044 (package--save-selected-packages): New function, silences
28045 `customize-save-variable'.
28046 (package--user-selected-p, package-install-from-buffer)
28047 (package-delete, package-install): Use it.
28048 (package-install-from-archive)
28049 (package-menu--perform-transaction): Silence.
28050 (package-menu-execute): Feedback when operation starts.
28051
28052 Use delay-mode-hooks when visiting the init-file
28053 * lisp/emacs-lisp/package.el (package--ensure-init-file):
28054 delay-mode-hooks.
28055 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
28056
28057 * lisp/files.el: Only message when saving if save-silently is nil.
28058 (save-silently): New variable.
28059 (files--message): New function.
28060 (find-file-noselect, save-buffer, basic-save-buffer)
28061 (basic-save-buffer-2, save-some-buffers, not-modified)
28062 (append-to-file): Use them.
28063
28064 2015-04-12 Johan Bockgård <bojohan@gnu.org>
28065
28066 Support debug declarations in pcase macros
28067 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
28068 (pcase-UPAT): Use it. Remove "`".
28069 (pcase--edebug-match-macro): New function.
28070 (pcase-defmacro): Support debug declarations.
28071 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
28072 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
28073 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
28074 Add debug declaration.
28075
28076 pcase.el: Edebug support for `app' and vector patterns
28077 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
28078 (pcase-UPAT): Use it. Support `app' patterns.
28079 (pcase-QPAT): Support vector patterns.
28080
28081 edebug.el: Disambiguate vector specifications
28082 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
28083 `(vector ...)' as a vector specification, not as a sublist.
28084
28085 (gnus-summary-refer-thread): Don't clobber unread articles
28086 This fixes a bug where `A T' causes "random" articles to become marked
28087 as read.
28088 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
28089 gnus-newsgroup-unreads remains sorted.
28090
28091 mouse-sel.el: Fix mouse-sel-get-selection-function
28092 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
28093 Use gui--last-selected-text-primary instead of no longer existing
28094 gui-last-selected-text.
28095
28096 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
28097
28098 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
28099
28100 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
28101
28102 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
28103
28104 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
28105 right buffer.
28106
28107 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
28108 (byte-compile--interactive): New var.
28109 (byte-compile--message): New function.
28110 (byte-compile-log-1, byte-force-recompile)
28111 (byte-recompile-directory, byte-recompile-file)
28112 (byte-compile-file, compile-defun)
28113 (byte-compile-file-form-defmumble, byte-compile)
28114 (byte-compile-file-form-defalias, display-call-tree): Use it.
28115
28116 * lisp/files.el: Don't message when nothing happened.
28117 (save-some-buffers, basic-save-buffer): Before messaging to say
28118 "nothing was saved" check if (called-interactively-p 'any).
28119
28120 2015-04-12 João Távora <joaotavora@gmail.com>
28121
28122 Summary: Improve sexp-based movement in message-mode
28123 Works by giving citations and smileys a different syntax. This helps
28124 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
28125 sexp-based movement.
28126 * lisp/gnus/message.el (message--syntax-propertize): New function.
28127 (message-mode): Set syntax-related vars.
28128 (message-smileys): New variable.
28129 * test/automated/message-mode-tests.el: New file
28130
28131 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
28132
28133 Use bool for boolean in window.c
28134 * src/window.c: Omit unnecessary static function decls.
28135 (adjust_window_count, select_window, Fselect_window)
28136 (window_body_width, Fwindow_body_height, Fwindow_body_width)
28137 (set_window_hscroll, check_window_containing, Fwindow_at)
28138 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
28139 (unshow_buffer, replace_window, recombine_windows)
28140 (add_window_to_list, candidate_window_p, next_window)
28141 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
28142 (Fget_buffer_window, Fdelete_other_windows_internal)
28143 (replace_buffer_in_windows_safely, set_window_buffer)
28144 (Fset_window_buffer, Fforce_window_update)
28145 (temp_output_buffer_show, make_parent_window)
28146 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
28147 (resize_frame_windows, Fsplit_window_internal)
28148 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
28149 (Fresize_mini_window_internal, mark_window_cursors_off)
28150 (window_scroll, window_scroll_pixel_based)
28151 (window_scroll_line_based, scroll_command, Fscroll_other_window)
28152 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
28153 (Fmove_to_window_line, Fset_window_configuration)
28154 (delete_all_child_windows, apply_window_adjustment)
28155 (set_window_fringes, set_window_scroll_bars)
28156 (Fset_window_vscroll, foreach_window, foreach_window_1)
28157 (compare_window_configurations, Fcompare_window_configurations):
28158 Prefer 'bool', 'true', and 'false' for booleans.
28159 * src/window.h (WINDOW_MODE_LINE_LINES)
28160 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
28161
28162 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
28163
28164 Speed up byte-compilation and autoload generation by avoiding mode-hooks
28165 This prevents emacs-lisp-mode-hook from being run everytime an
28166 autoload file is generated, which can account for a fraction of
28167 package installation time depending on the hooks the user has
28168 configured.
28169 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
28170 * lisp/emacs-lisp/autoload.el (autoload-find-file)
28171 (autoload-find-generated-file): Use delay-mode-hooks.
28172
28173 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
28174 (package-menu-refresh): Respect async and do new package checking.
28175 (list-packages): Use `package-menu-refresh' instead of repeating code.
28176
28177 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
28178 (package--quick-help-keys): New variable.
28179 (package--prettify-quick-help-key): New function.
28180 (package-menu-quick-help): Use it.
28181
28182 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
28183 (package--build-compatibility-table): Require finder.
28184
28185 * test/automated/package-test.el: Fix new test.
28186
28187 * lisp/emacs-lisp/package.el: Silence async operations.
28188 (package--silence): New variable.
28189 (package--message): New function.
28190 (package-import-keyring, package-refresh-contents)
28191 (package-compute-transaction, package-install, package-delete)
28192 (package-menu--perform-transaction, package-menu-execute): Use it.
28193
28194 * test/automated/package-test.el: Test async functionality.
28195 (package-test-update-archives-async): New test.
28196
28197 2015-04-11 Daiki Ueno <ueno@gnu.org>
28198
28199 Utilize `make-process' in epg.el
28200 * lisp/epg.el (epg-error-output): Abolish.
28201 (epg-context): New slot `error-buffer'.
28202 (epg--start): Use `make-process' and `make-pipe-process'.
28203 (epg--process-filter): Remove code separating stderr from stdout.
28204 (epg-wait-for-completion): Simplify `error-output' handling.
28205 (epg-reset): Dispose error buffer.
28206
28207 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
28208
28209 * .gitignore: Ignore doc temps and outputs.
28210
28211 Port commit-msg to MSYS Bash+Gawk
28212 See Eli Zaretskii in:
28213 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
28214 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
28215 (cent_sign, print_at_sign, at_sign): Revert previous change.
28216 (print_at_sign): Prepend "BEGIN".
28217 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
28218
28219 Port commit-msg to broken MS-Windows shell
28220 * build-aux/git-hooks/commit-msg (cent_sign):
28221 Just use UTF-8 here rather than ASCII + printf, as the latter fails
28222 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
28223 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
28224
28225 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
28226
28227 Support GnuTLS v3.4 and later on MS-Windows
28228 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
28229 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
28230 GnuTLS DLL to load according to value of libgnutls-version.
28231 (Bug#20294)
28232
28233 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
28234
28235 Minor quoting etc. fixes to misc manuals
28236 Fix some minor quoting and spacing issues. Distinguish more
28237 clearly among grave accent and apostrophe (which are ASCII) and
28238 single quote (which is not). Prefer the standard terms
28239 "apostrophe" and "grave accent" to alternative names that can be
28240 confusing. Use apostrophes to single-quote ASCII text.
28241 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
28242 rather than approximating it in ASCII with grave accent.
28243
28244 2015-04-11 Daiki Ueno <ueno@gnu.org>
28245
28246 Respect more keyword args in `make-process'
28247 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
28248 keywords as documented.
28249
28250 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
28251
28252 Extract ChangeLog entries when committing a directory
28253 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
28254 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
28255 Add a FIXME comment.
28256 (log-edit-changelog-entries): Extract from
28257 `log-edit-changelog-entries', handle FILE being a directory
28258 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
28259
28260 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
28261
28262 Fix problems found by --enable-gcc-warnings
28263 * src/process.c (create_process, Fmake_pipe_process)
28264 (Fmake_network_process): Omit unused locals.
28265
28266 Fix commit-msg to handle scissors lines
28267 * build-aux/git-hooks/commit-msg:
28268 Ignore every line after a scissors line, such as a line generated
28269 by 'git commit -v'. Problem reported by Johan Bockgård in:
28270 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
28271
28272 port commit-msg to Gawk 3.0.4 (1999)
28273 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
28274 (print_at_sign, at_sign): New vars. Use them to avoid problems
28275 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
28276 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
28277
28278 Have commit-msg report commit failure
28279 * build-aux/git-hooks/commit-msg: If the commit is aborted,
28280 say so. Simplify by doing this at the end. Problem reported
28281 by Eli Zaretskii in:
28282 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
28283
28284 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
28285
28286 Clean up LDAP Configuration section of EUDC manual
28287 * doc/misc/eudc.texi: Combine indices.
28288 (LDAP Configuration): Use command markup. Add index entries.
28289 Change formatting. Wrap long lines. Add noindent markup.
28290
28291 2015-04-10 Daiki Ueno <ueno@gnu.org>
28292
28293 Add facility to collect stderr of async subprocess
28294 * src/w32.h (register_aux_fd): New function declaration.
28295 * src/w32.c (register_aux_fd): New function.
28296 * src/process.h (struct Lisp_Process): New member stderrproc.
28297 * src/process.c (PIPECONN_P): New macro.
28298 (PIPECONN1_P): New macro.
28299 (Fdelete_process, Fprocess_status, Fset_process_buffer)
28300 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
28301 (Fcontinue_process): Handle pipe process specially.
28302 (create_process): Respect p->stderrproc.
28303 (Fmake_pipe_process): New function.
28304 (Fmake_process): Add new keyword argument :stderr.
28305 (wait_reading_process_output): Specially handle a pipe process when
28306 it gets an EOF.
28307 (syms_of_process): Register Qpipe and Smake_pipe_process.
28308 * doc/lispref/processes.texi (Asynchronous Processes): Document
28309 `make-pipe-process' and `:stderr' keyword of `make-process'.
28310 * lisp/subr.el (start-process): Suggest to use `make-process' handle
28311 standard error separately.
28312 * test/automated/process-tests.el (process-test-stderr-buffer)
28313 (process-test-stderr-filter): New tests.
28314 * etc/NEWS: Mention new process type `pipe' and its usage with the
28315 `:stderr' keyword of `make-process'.
28316
28317 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
28318
28319 Minor quoting etc. fixes to lispref manual
28320 * doc/lispref/tips.texi (Documentation Tips):
28321 Distinguish more clearly among grave accent, apostrophe,
28322 and single quote.
28323 * doc/lispref/README, doc/lispref/buffers.texi:
28324 * doc/lispref/commands.texi, doc/lispref/control.texi:
28325 * doc/lispref/customize.texi, doc/lispref/display.texi:
28326 * doc/lispref/elisp.texi, doc/lispref/files.texi:
28327 * doc/lispref/frames.texi, doc/lispref/hash.texi:
28328 * doc/lispref/help.texi, doc/lispref/internals.texi:
28329 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
28330 * doc/lispref/markers.texi, doc/lispref/modes.texi:
28331 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
28332 * doc/lispref/os.texi, doc/lispref/positions.texi:
28333 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
28334 * doc/lispref/text.texi, doc/lispref/tips.texi:
28335 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
28336 Use American-style double quoting in ordinary text,
28337 and quote 'like this' when single-quoting in ASCII text.
28338 Also, fix some minor spacing issues.
28339
28340 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
28341
28342 Handle symlinked test directory in tramp-tests.el
28343 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
28344 (tramp--test-check-files): Use `file-truename' for directories.
28345
28346 2015-04-10 Eli Zaretskii <eliz@gnu.org>
28347
28348 Fix 'recenter' when visual-line-mode is turned on
28349 * src/window.c (Frecenter): Use the same code for GUI and TTY
28350 frames alike; use vmotion only for "initial" frames. This is
28351 because vmotion doesn't support visual-line-mode. Rewrite the
28352 'iarg >= 0' case to use move_it_* functions instead of using
28353 vmotion, for the same reason. Fix the clipping of the argument
28354 value to support scroll-margin in all cases and avoid unwarranted
28355 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
28356 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
28357 which see.
28358
28359 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
28360
28361 * lisp/abbrev.el (define-abbrev-table): Refine last change.
28362
28363 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
28364 use of c[ad]+r", so as to keep the "cl-" prefix on all
28365 cl-lib definitions.
28366
28367 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
28368 Use inhibit-point-motion-hooks.
28369
28370 * lisp/cedet/semantic: Remove some dead code.
28371 * lisp/cedet/semantic/util-modes.el
28372 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
28373 any more.
28374 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
28375 not supported any more.
28376 (semantic-safe): Use `declare'.
28377 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
28378 (semantic-tag-intangible-p): Remove unused functions.
28379 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
28380 Remove unused function.
28381
28382 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
28383 (gnus-article-hide-text, gnus-article-unhide-text)
28384 (gnus-article-unhide-text-type): Remove special handling of
28385 `intangible' since that property is not used any more.
28386 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
28387
28388 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
28389
28390 Use the VC root in `log-edit-listfun'
28391 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
28392 `log-edit-listfun'.
28393
28394 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
28395
28396 Fix description of Unix time, mention new function.
28397 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
28398 Unix time.
28399 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
28400 (Basic Operations on Units): Mention `calc-convert-exact-units'.
28401
28402 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
28403
28404 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
28405
28406 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
28407
28408 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
28409 Don't add newline after the last entry.
28410
28411 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
28412
28413 css-mode.el: Add "not" pseudo-class
28414 (Bug#20267)
28415 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
28416 list of CSS pseudo-classes.
28417
28418 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
28419
28420 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
28421
28422 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
28423
28424 Stop messing with the EMACS env var
28425 * doc/emacs/misc.texi (Interactive Shell): Remove description of
28426 EMACS env var.
28427
28428 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
28429
28430 Adapt 'make change-history' to coding cookie
28431 * Makefile.in (change-history): Adjust to change of format of
28432 ChangeLog file, which now has a coding cookie before an indented
28433 copyright notice.
28434
28435 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
28436
28437 Adapt 'make change-history' to coding cookie
28438 * Makefile.in (change-history): Adjust to change of format of
28439 ChangeLog file, which now has a coding cookie before an indented
28440 copyright notice.
28441
28442 gitlog-to-changelog coding cookie and mv -i
28443 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
28444 for copyright notice prototype, so that we get a proper "coding:"
28445 cookie. Use 'mv -i' to avoid unconditionally overwriting an
28446 existing ChangeLog. Problems reported by Eli Zaretskii in:
28447 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
28448
28449 Merge from gnulib
28450 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
28451 2015-04-09 gitlog-to-changelog: port to MS-Windows
28452
28453 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
28454
28455 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
28456 (Bug#20212)
28457
28458 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
28459
28460 Stop messing with the EMACS env var
28461 (Bug#20202)
28462 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
28463 * lisp/comint.el (comint-exec-1):
28464 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
28465 * lisp/progmodes/compile.el (compilation-start): Same and bring
28466 INSIDE_EMACS's format in line with other users.
28467
28468 css-mode.el (css-smie-rules): Fix indentation after complex selectors
28469 (Bug#20282)
28470 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
28471 inner structure of selectors.
28472
28473 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
28474
28475 python.el: Indent docstring lines to base-indent
28476 (Bug#19595)
28477 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
28478 an initial patch.
28479 * lisp/progmodes/python.el
28480 (python-indent-context): Add :inside-docstring context.
28481 (python-indent--calculate-indentation): Handle :inside-docstring.
28482 (python-indent-region): Re-indent docstrings.
28483 * test/automated/python-tests.el (python-indent-region-5)
28484 (python-indent-inside-string-2): Fix tests.
28485
28486 python.el: Increase native completion robustness
28487 (Bug#19755)
28488 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
28489 this and providing useful ideas.
28490 * lisp/progmodes/python.el
28491 (python-shell-completion-native-output-timeout): Increase value.
28492 (python-shell-completion-native-try-output-timeout): New var.
28493 (python-shell-completion-native-try): Use it.
28494 (python-shell-completion-native-setup): New readline setup avoids
28495 polluting current context, ensures output when no-completions are
28496 available and includes output end marker.
28497 (python-shell-completion-native-get-completions): Trigger with one
28498 tab only. Call accept-process-output until output end is found or
28499 python-shell-completion-native-output-timeout is exceeded.
28500
28501 2015-04-08 Samer Masterson <samer@samertm.com>
28502
28503 * lisp/eshell: Make backslash a no-op in front of normal chars
28504 (Bug#8531)
28505 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
28506 (eshell-parse-backslash): Return escaped character after backslash
28507 if it is special. Otherwise, if the backslash is not in a quoted
28508 string, ignore the backslash and return the character after; if
28509 the backslash is in a quoted string, return the backslash and the
28510 character after.
28511 * test/automated/eshell.el (eshell-test/escape-nonspecial)
28512 (eshell-test/escape-nonspecial-unicode)
28513 (eshell-test/escape-nonspecial-quoted)
28514 (eshell-test/escape-special-quoted): Add tests for new
28515 `eshell-parse-backslash' behavior.
28516
28517 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
28518
28519 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
28520 after the file name.
28521 (Bug#20276)
28522
28523 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
28524
28525 Minor quoting etc. fixes to Emacs manual
28526 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
28527 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
28528 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
28529 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
28530 * doc/emacs/indent.texi, doc/emacs/macos.texi:
28531 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
28532 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
28533 * doc/emacs/search.texi, doc/emacs/trouble.texi:
28534 * doc/emacs/vc1-xtra.texi:
28535 Use American-style double quoting in ordinary text,
28536 and quote 'like this' when single-quoting in ASCII text.
28537 Also, fix some minor spacing issues.
28538
28539 Minor quoting etc. fixes to elisp intro
28540 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
28541 American-style double quoting in ordinary text. In ASCII text,
28542 consistently quote 'like this' instead of `like this', unless
28543 Emacs requires the latter.
28544
28545 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
28546
28547 * CONTRIBUTE: Mention log-edit-insert-changelog.
28548
28549 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
28550
28551 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
28552
28553 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
28554
28555 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
28556
28557 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
28558 Fix inheritance of initargs. (Bug#20270)
28559
28560 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
28561
28562 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
28563 while dowloading information.
28564
28565 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
28566 (package--ensure-init-file): Check file contents before visiting.
28567 (package-initialize): Call it.
28568 (package-install-from-buffer, package-install): Don't call it.
28569
28570 2015-04-08 Eli Zaretskii <eliz@gnu.org>
28571
28572 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
28573 (Bug#17517)
28574
28575 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
28576
28577 * lisp/net/tramp-cache.el (tramp-flush-file-property):
28578 Fix nasty scoping bug.
28579
28580 2015-04-08 Tassilo Horn <tsdh@gnu.org>
28581
28582 Add notice to visual commands section
28583 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
28584 such as git call less with its -F option which omits pagination if
28585 the contents is less than one page long. This interferes with
28586 eshell's visual (sub-)commands.
28587
28588 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
28589
28590 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
28591 environment variable expansion in file names. (Bug#19839)
28592
28593 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
28594
28595 Prefer double-quote to accent-grave in man pages
28596
28597 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
28598
28599 (Bug#20257)
28600 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
28601
28602 2015-04-07 Ivan Shmakov <ivan@siamics.net>
28603
28604 Update etc/PROBLEMS.
28605 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
28606 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
28607 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
28608 respectively); other minor updates and tweaks. (Bug#20011)
28609
28610 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
28611
28612 Add doc strings for some Isearch state vars
28613 * lisp/misearch.el (multi-isearch-buffer-list)
28614 (multi-isearch-file-list): Add doc strings.
28615 (Bug#20232)
28616
28617 2015-04-07 Alan Mackenzie <acm@muc.de>
28618
28619 Always mark "<" and ">" in #include directives with text properties.
28620 * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
28621 "anchored matcher" with an invocation of
28622 c-make-font-lock-search-function to allow fontification when there's
28623 no trailing space on an "#include <..>" line.
28624
28625 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
28626
28627 Generate a ChangeLog file from commit logs
28628 * .gitignore: Add 'ChangeLog'.
28629 * build-aux/gitlog-to-changelog: New file, from Gnulib.
28630 * build-aux/gitlog-to-emacslog: New file.
28631 * CONTRIBUTE: Document the revised workflow.
28632 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
28633 instead of just special cases.
28634 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
28635 (ChangeLog, unchanged-history-files, change-history)
28636 (change-history-commit): New rules.
28637 * admin/admin.el (make-manuals-dist--1):
28638 Don't worry about doc/ChangeLog.
28639 * admin/authors.el: Add a FIXME.
28640 * admin/make-tarball.txt:
28641 * lisp/calendar/icalendar.el:
28642 * lisp/gnus/deuglify.el:
28643 * lisp/obsolete/gulp.el:
28644 * lwlib/README:
28645 Adjust to renamed ChangeLog history files.
28646 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
28647 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
28648 Remove obsolete discussion of merging ChangeLog files.
28649 New section "Maintaining ChangeLog history".
28650 * build-aux/git-hooks/pre-commit:
28651 Reject attempts to commit files named 'ChangeLog'.
28652 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
28653 * make-dist: Make and distribute top-level ChangeLog if there's a
28654 .git directory. Distribute the new ChangeLog history files
28655 instead of scattered ChangeLog files. Distribute the new files
28656 gitlog-to-changelog and gitlog-to-emacslog.
28657 (Bug#19113)
28658
28659 Rename ChangeLogs for gitlog-to-changelog
28660 This patch was implemented via the following shell commands:
28661 find * -name ChangeLog |
28662 sed 's,.*,git mv & &.1,
28663 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
28664 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
28665 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
28666 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
28667 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
28668 sh
28669 git commit -am"[this commit message]"
28670
28671 This file records repository revisions from
28672 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
28673 commit 06da00c6cfb5f3cafbad92bd4584a0f50343a568 (inclusive).
28674 See ChangeLog.1 for earlier changes.
28675
28676 ;; Local Variables:
28677 ;; coding: utf-8
28678 ;; End:
28679
28680 Copyright (C) 2015-2016 Free Software Foundation, Inc.
28681
28682 This file is part of GNU Emacs.
28683
28684 GNU Emacs is free software: you can redistribute it and/or modify
28685 it under the terms of the GNU General Public License as published by
28686 the Free Software Foundation, either version 3 of the License, or
28687 (at your option) any later version.
28688
28689 GNU Emacs is distributed in the hope that it will be useful,
28690 but WITHOUT ANY WARRANTY; without even the implied warranty of
28691 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28692 GNU General Public License for more details.
28693
28694 You should have received a copy of the GNU General Public License
28695 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.