]> code.delx.au - gnu-emacs/blob - ChangeLog.2
Merge from origin/emacs-25
[gnu-emacs] / ChangeLog.2
1 2016-02-14 Nicolas Petton <nicolas@petton.fr>
2
3 * doc/lispref/sequences.texi: Add documentation for seq-map-indexed
4
5 2016-02-14 Nicolas Petton <nicolas@petton.fr>
6
7 New function seq-map-indexed
8
9 * lisp/emacs-lisp/seq.el (seq-map-indexed): New function.
10 * test/lisp/emacs-lisp/seq-tests.el: Add tests for seq-map-indexed.
11
12 2016-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13
14 * lisp/gnus/mm-util.el: Remove the mm-string-as-multibyte alias.
15
16 2016-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17
18 Fix problem with wrong encoding of non-ASCII message bodies
19
20 * lisp/gnus/mml.el (mml-generate-mime-1): Disable
21 multibyteness before encoding the data.
22
23 2016-02-14 Lars Ingebrigtsen <larsi@gnus.org>
24
25 Remove codepage setup code from mm-util
26
27 * lisp/gnus/mm-util.el (mm-codepage-setup): Remove.
28 (mm-codepage-iso-8859-list): Remove.
29 (mm-codepage-ibm-list, mm-setup-codepage-iso-8859)
30 (mm-setup-codepage-ibm): Remove.
31 (mm-charset-eval-alist): Remove the code pages from the
32 default value.
33
34 2016-02-14 Lars Ingebrigtsen <larsi@gnus.org>
35
36 Remove compat code for older Emacsen
37
38 * lisp/gnus/gnus-art.el (gnus-button-url-regexp): Remove
39 XEmacs compat code.
40
41 * lisp/gnus/gnus-sync.el (gnus-sync-json-alist-p): Remove
42 unused compat function.
43 (gnus-sync-json-plist-p): Ditto.
44
45 * lisp/gnus/message.el (message-default-charset): Make obsolete.
46 (message-info): Remove compat code.
47 (message-setup-fill-variables): Remove kludge needed earlier
48 to not overwrite `normal-auto-fill-function'.
49 (message-split-line): Remove compat code.
50
51 * lisp/gnus/mm-view.el (mm-display-inline-fontify): Remove
52 compat code.
53
54 2016-02-14 Lars Ingebrigtsen <larsi@gnus.org>
55
56 Remove some compat functions from gmm-utils.el
57
58 * lisp/gnus/gmm-utils.el (gmm-tool-bar-from-list): Remove
59 compat code.
60 (gmm-image-search-load-path): Remove.
61 (gmm-image-load-path-for-library): Remove.
62
63 2016-02-14 Lars Ingebrigtsen <larsi@gnus.org>
64
65 Remove the gmm-lazy and nnmail-lazy compat widgets
66
67 * lisp/gnus/gmm-utils.el (gmm-lazy): Remove.
68
69 * lisp/gnus/nnmail.el (nnmail-lazy): Remove.
70
71 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
72
73 Clean up nnimap-request-move-article slightly
74
75 * lisp/gnus/nnheader.el (subr-x): Require.
76
77 * lisp/gnus/nnimap.el (nnimap-request-move-article): Clean up
78 the code slightly.
79
80 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
81
82 Use open-network-stream instead of open-protocol-stream
83
84 * lisp/gnus/nnimap.el: Use open-network-stream instead of
85 open-protocol-stream.
86
87 * lisp/gnus/nntp.el: Ditto.
88
89 * lisp/gnus/pop3.el: Ditto.
90
91 * lisp/gnus/sieve-manage.el: Ditto.
92
93 * lisp/net/network-stream.el (open-protocol-stream): Make obsolete.
94
95 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
96
97 Remove compat code that relies on (featurep 'mule)
98
99 * lisp/gnus/gnus-group.el (gnus-group-name-decode): Remove
100 compat code.
101
102 * lisp/gnus/gnus-start.el (gnus-read-descriptions-file):
103 Remove compat code.
104
105 * lisp/gnus/mm-bodies.el (mm-decode-body, mm-decode-string):
106 Remove compat code.
107
108 * lisp/gnus/mm-view.el (mm-w3m-standalone-supports-m17n-p):
109 Remove compat code.
110 (mm-w3m-standalone-supports-m17n-p): Ditto.
111
112 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
113
114 Remove compat functions from starttls.el
115
116 * lisp/gnus/starttls.el
117 (starttls-set-process-query-on-exit-flag): Remove.
118
119 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
120
121 Remove compat functions from smime.el
122
123 * lisp/gnus/smime.el (smime-replace-in-string): Remove.
124 (smime-make-temp-file): Remove.
125
126 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
127
128 Remove compat code from smiley
129
130 * lisp/gnus/smiley.el (smiley-style): Remove compat code.
131
132 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
133
134 Remove compat code from rfc2047
135
136 * lisp/gnus/rfc2047.el (rfc2047-encode-message-header): Remove
137 compat code.
138 (rfc2047-decode-string): Ditto.
139
140 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
141
142 Remove compat function from pop3
143
144 * lisp/gnus/pop3.el (pop3-set-process-query-on-exit-flag): Remove.
145
146 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
147
148 Remove compat code in Gnus backends
149
150 * lisp/gnus/nndiary.el (nndiary-error): Remove.
151
152 * lisp/gnus/nndraft.el (nndraft-request-associate-buffer): Ditto.
153
154 * lisp/gnus/nnfolder.el (nnfolder-read-folder): Ditto.
155
156 * lisp/gnus/nnheader.el (nnheader-find-file-noselect): Ditto.
157
158 * lisp/gnus/nnimap.el (nnimap-log-buffer): Remove compat code.
159
160 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
161
162 Remove compat code from some mml files
163
164 * lisp/gnus/mml-sec.el (mml-secure-passphrase-cache-expiry):
165 Remove compat code.
166
167 * lisp/gnus/mml-smime.el (mml-smime-openssl-sign-query):
168 Always use `mail-extract-address-components', since this isn't
169 time critical.
170 (mml-smime-get-dns-cert): Ditto.
171
172 * lisp/gnus/mml.el (mml-preview): Remove compat code.
173
174 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
175
176 Remove compat code and compat functions from mm-util.el
177
178 * lisp/gnus/mm-util.el (mm-mime-mule-charset-alist): Remove
179 compat code.
180 (mm-coding-system-priorities)
181 (mm-mule-charset-to-mime-charset, mm-charset-after)
182 (mm-mime-charset, mm-iso-8859-x-to-15-region): Remove compat code.
183 (mm-detect-coding-region): Define unconditionally.
184 (mm-detect-mime-charset-region): Ditto.
185 (mm-coding-system-to-mime-charset): It's 'mime-charset now.
186 (coding-system-name)
187 (find-file-coding-system-for-read-from-filename)
188 (find-operation-coding-system): Remove aliases.
189
190 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
191
192 Remove some compat code from mm-*.el
193
194 * lisp/gnus/mm-bodies.el (mm-decode-body): Ditto.
195
196 * lisp/gnus/mm-decode.el (mm-tmp-directory)
197 (mm-valid-image-format-p): Remove compat code.
198
199 * lisp/gnus/mm-url.el (mm-url-insert-file-contents): Remove
200 "Connection" "Close" workaround for older Emacsen.
201
202 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
203
204 Remove compat code and functions from message.el
205
206 * lisp/gnus/message.el (message-send-mail-function): Remove
207 compat code.
208 (message-dont-reply-to-names, message-mode)
209 (message-setup-fill-variables, message-fill-paragraph)
210 (message-remove-blank-cited-lines, message-make-from)
211 (message-forward-rmail-make-body, message-tool-bar-gnome)
212 (message-tab): Remove compat code.
213 (message-completion-in-region): Remove.
214 (message-read-from-minibuffer): Remove compat code.
215
216 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
217
218 Declare rfc1843 instead of autoloading
219
220 * lisp/gnus/gnus-art.el (rfc1843-decode-region): Declare
221 instead of autoload.
222
223 2016-02-13 Eli Zaretskii <eliz@gnu.org>
224
225 Avoid signaling an error in 'dired-do-find-regexp-and-replace'
226
227 * lisp/dired-aux.el: Require cl-lib, so that 'cl-mapcan' is
228 autoloaded correctly. (Bug#22613)
229
230 2016-02-13 Eli Zaretskii <eliz@gnu.org>
231
232 Fix network-stream-tests.el for MS-Windows
233
234 * test/lisp/net/network-stream-tests.el
235 (connect-to-tls-ipv6-nowait): Skip for MS-Windows builds.
236 (connect-to-tls-ipv4-wait): Add a 0.1 sleep-for.
237
238 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
239
240 Remove some Message compat functions
241
242 * lisp/gnus/message.el (message-kill-all-overlays): Define
243 unconditionally.
244 (message-window-inside-pixel-edges): Remove.
245 (mail-dont-reply-to): Remove.
246
247 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
248
249 Remove some Gnus compat code
250
251 * lisp/gnus/gnus-art.el (gnus-mime-inline-part): Remove compat code.
252 (gnus-mm-display-part): Ditto.
253
254 * lisp/gnus/gnus-start.el (gnus-dribble-read-file): Remove
255 compat code.
256
257 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
258
259 Sort groups before inserting them into the group buffer
260
261 * lisp/gnus/gnus-group.el (gnus-group-describe-all-groups):
262 Sort groups before inserting them.
263
264 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
265
266 Make "unseen" tracking work again in Gnus
267
268 * lisp/gnus/gnus-sum.el (gnus-update-marks): Make "unseen"
269 tracking work again.
270
271 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
272
273 Remove Gnus compat functions defined in gnus.el
274
275 * lisp/gnus/gnus.el (gnus-extent-detached-p): Remove.
276 (gnus-extent-start-open, gnus-character-to-event)
277 (gnus-assq-delete-all, gnus-add-text-properties)
278 (gnus-put-text-property, gnus-key-press-event-p):
279
280 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
281
282 Remove compat code from gnus-uu and win
283
284 * lisp/gnus/gnus-util.el (gnus-image-type-available-p): Remove
285 compat code.
286
287 * lisp/gnus/gnus-uu.el (gnus-uu-tmp-dir): Remove compat code.
288
289 * lisp/gnus/gnus-win.el (gnus-frames-on-display-list): Remove.
290
291 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
292
293 Remove several gnus-util compat functions
294
295 * lisp/gnus/gnus-util.el (gnus-set-process-query-on-exit-flag): Remove.
296 (gnus-read-shell-command): Remove.
297 (gnus-match-substitute-replacement): Remove.
298 (gnus-string-match-p): Remove.
299 (gnus-string-prefix-p): Remove.
300
301 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
302
303 Remove the gnus-merge alias
304
305 * lisp/gnus/gnus-util.el (gnus-merge): Remove.
306
307 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
308
309 Remove the gnus-union alias
310
311 * lisp/gnus/gnus-util.el (gnus-union): Remove.
312
313 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
314
315 Remove the gnus-delete-alist alias
316
317 * lisp/gnus/gnus-util.el (gnus-run-mode-hooks): Remove compat code.
318 (gnus-delete-alist): Remove.
319
320 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
321
322 Remove the gnus-float-time alias
323
324 * lisp/gnus/gnus-util.el (gnus-completion-styles): Remove
325 compat code.
326 (gnus-float-time): Remove.
327
328 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
329
330 Remove compat code from gnus-srvr, start and sum
331
332 * lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): Remove
333 compat code.
334
335 * lisp/gnus/gnus-start.el (gnus-check-reasonable-setup):
336 Remove compat code.
337
338 * lisp/gnus/gnus-sum.el (gnus-summary-display-arrow)
339 (gnus-summary-make-menu-bar, gnus-summary-make-tool-bar)
340 (gnus-recenter)
341 (gnus-summary-limit-strange-charsets-predicate)
342 (gnus-summary-show-thread): Remove compat code.
343
344 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
345
346 Remove compat code from gnus-spec.el
347
348 * lisp/gnus/gnus-spec.el (gnus-lrm-string-p): Remove compat code.
349 (gnus-balloon-face-function): Remove compat code.
350
351 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
352
353 Fix compat change in last check-in
354
355 * lisp/gnus/gnus-group.el
356 (gnus-group-name-charset-group-alist): `find-coding-system'
357 doesn't exist in Emacs.
358
359 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
360
361 Always use url-queue
362
363 * lisp/gnus/gnus-html.el (gnus-html-schedule-image-fetching):
364 Always use url-queue.
365
366 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
367
368 Remove compat functions from gnus-html.el
369
370 * lisp/gnus/gnus-html.el (gnus-html-encode-url-chars): Remove.
371
372 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
373
374 Remove compat code from gnus-group.el
375
376 * lisp/gnus/gnus-group.el (gnus-group-name-charset-group-alist)
377 (gnus-group-make-tool-bar, gnus-group-update-tool-bar): Remove compat code.
378
379 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
380
381 Define gnus-diary-kill-entire-line unconditionally
382
383 * lisp/gnus/gnus-diary.el (gnus-diary-kill-entire-line):
384 Define unconditionally.
385
386 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
387
388 Remove compat code from gnus-cache and gnus-bookmark
389
390 * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): Ditto.
391
392 * lisp/gnus/gnus-cache.el (gnus-cache-decoded-group-name):
393 Remove compat code.
394
395 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
396
397 Remove compat code from gnus-art.el
398
399 * lisp/gnus/gnus-art.el (gnus-article-prepare)
400 (gnus-mime-copy-part, gnus-output-to-file)
401 (gnus-article-reply-with-original)
402 (gnus-button-handle-apropos-variable)
403 (gnus-button-handle-apropos-documentation):
404
405 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
406
407 Remove compat code from gnus-agent.el
408
409 * lisp/gnus/gnus-agent.el (gnus-agent-make-mode-line-string):
410 Remove compat code.
411
412 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
413
414 Rewrite gmm-labels usage to use cl-labels
415
416 * lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Remove compat code.
417 (gmm-labels): Remove.
418
419 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
420
421 Remove compat code from canlock.el
422
423 * lisp/gnus/canlock.el (defmacro): Remove
424
425 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
426
427 Remove compat code from auth-source
428
429 * lisp/gnus/auth-source.el (auth-source-read-char-choice):
430 Remove compat code.
431
432 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
433
434 Fix gnus-group.el compilation warnings about unprefixed variables
435
436 * lisp/gnus/gnus-group.el (gnus-group-update-eval-form): Avoid
437 compilation warnings by passing in the dynamic variables as
438 explicit lexical parameters to `eval'.
439
440 2016-02-13 Lars Ingebrigtsen <larsi@gnus.org>
441
442 Fix the :tracker slot name
443
444 * lisp/gnus/registry.el (registry-lookup-secondary): The
445 `tracker' slot is called `tracker', not `:tracker'.
446
447 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
448
449 Fix compilation warnings in gnus-art.el
450
451 * lisp/gnus/gnus-art.el (rfc1843-decode-region): Autoload.
452 (gnus-article-hide): Avoid compilation warnings.
453
454 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
455
456 Fix compilation warning in gnus-score.el
457
458 * lisp/gnus/gnus-score.el (gnus-art): Require to silence byte
459 compiler.
460
461 2016-02-12 Andreas Schwab <schwab@linux-m68k.org>
462
463 Revert "Fix gnus-group-get-new-news-this-group on group with closed server"
464
465 This reverts commit 9dc77e37aa84c6df9b3ddb4609f3c09201b0580e.
466
467 This makes nnimap groups not be activated.
468
469 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
470
471 Fix encoding problem introduced by previous patch series
472
473 * lisp/gnus/rfc2047.el: Ditto (bug#22648).
474
475 * lisp/gnus/rfc2231.el: Fix problem created by the
476 mm-replace-in-string conversion.
477
478 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
479
480 Revert "Avoid defvarring prefix-less variables"
481
482 This reverts commit 303390bda34f98b400798d5383cf0d722e35ba19.
483
484 The defvars are needed if we're doing lexical-binding
485
486 2016-02-12 Glenn Morris <rgm@gnu.org>
487
488 * test/lisp/url/url-auth-tests.el (url-auth-test-digest-auth):
489 Make it pass.
490
491 * test/lisp/url/url-auth-tests.el
492 (url-auth-test-digest-auth-retrieve-cache): Fix obvious typo.
493
494 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
495
496 Finish up cl-defmethoding registry,el
497
498 * lisp/gnus/registry.el (initialize-instance): Use cl-defmethod.
499
500 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
501
502 Revert the gnus-replace-in-string change, fix arguments, reapply
503
504 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
505
506 Silence more message.el compilation warnings
507
508 * lisp/gnus/message.el (message-generate-headers): Don't use
509 variable values directly to get the header values, because
510 that breaks with lexical binding (without unprefixed defvars).
511
512 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
513
514 Fix various compilation warnings in message.el
515
516 * lisp/gnus/message.el (message-fix-before-sending): Use
517 read-multiple-choice instead of gnus-multiple-choice.
518 (mm-util): Require.
519 (rfc2047): Require.
520 (message-remove-blank-cited-lines): Use message instead of
521 gnus-message.
522 (message-send): Use y-or-n-p instead of gnus-y-or-n-p.
523
524 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
525
526 Silence compilation warning in mm-view
527
528 * lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence
529 compilation warning.
530
531 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
532
533 Fix epg-related compilation warnings in mml-sec
534
535 * lisp/gnus/mml-sec.el: Fix compilation warnings from the epg
536 library.
537
538 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
539
540 rmail-dont-reply-to-names is obsolete
541
542 * lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): Don't bind
543 the obsolete `rmail-dont-reply-to-names' variable.
544
545 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
546
547 Partially revert the defmethod->cl-defmethod change in registry.el
548
549 * lisp/gnus/registry.el (initialize-instance): Use defmethod,
550 since cl-defmethod doesn't work with :after.
551 (initialize-instance): Ditto, but with :before.
552
553 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
554
555 Avoid obsolete function in plstore
556
557 * lisp/gnus/plstore.el (plstore--insert-buffer): Use setf
558 instead of the obsolete epg-context-set-armor.
559
560 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
561
562 Use cl-defmethod in registry.el
563
564 * lisp/gnus/registry.el: Use cl-defmethod instead of the
565 obsolete defmethod.
566
567 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
568
569 Make sieve-manage require sasl
570
571 * lisp/gnus/sieve-manage.el: Fix compilation warning by
572 requiring sasl.
573
574 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
575
576 Avoid defvarring prefix-less variable
577
578 * lisp/gnus/mm-uu.el (mm-uu-entry): Rename from `entry'.
579
580 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
581
582 * lisp/gnus/mailcap.el: Remove usage of mailcap-delete-duplicates.
583
584 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
585
586 Don't use the obsolete char-valid-p function
587
588 * lisp/gnus/mm-url.el (mm-url-decode-entities): Don't use the
589 obsolete char-valid-p function.
590
591 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
592
593 Fix missed translation in a previous commit
594
595 * lisp/gnus/mailcap.el (mailcap-mime-types): Fix missed
596 translation of mailcap-delete-duplicates.
597
598 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
599
600 Avoid using mm-make-temp-file
601
602 * lisp/gnus/mail-source.el (mail-source-delete-crash-box): Ditto.
603
604 * lisp/gnus/mm-decode.el (mm-display-external): Ditto.
605
606 * lisp/gnus/mml-smime.el (mml-smime-openssl-encrypt): Ditto.
607
608 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
609
610 Fix compilation warning in gnus-start
611
612 * lisp/gnus/gnus-start.el (gnus-slave-save-newsrc): Avoid
613 mm-make-temp-file.
614
615 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
616
617 Avoid the obsoleted defmethod
618
619 * lisp/gnus/gnus-icalendar.el: Use cl-defmethod instead of
620 defmethod.
621
622 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
623
624 Avoid defvarring prefix-less variables
625
626 * lisp/gnus/gnus-group.el (gnus-group-update-eval-form): We
627 don't need to `defvar' the short variables to allow `eval' to
628 use them.
629
630 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
631
632 nnweb doesn't need unibyte buffers
633
634 * lisp/gnus/nnweb.el (nnweb-retrieve-headers)
635 (nnweb-read-overview, nnweb-request-article)
636 (nnweb-google-reference): Unibyte buffers are not needed here.
637
638 2016-02-12 Lars Ingebrigtsen <larsi@gnus.org>
639
640 Encode before sending from nnspool
641
642 * lisp/gnus/nnspool.el (nnspool-request-post): Encode data
643 before sending it to the news server.
644
645 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
646
647 nnrss buffers don't have to be unibyte
648
649 * lisp/gnus/nnrss.el (nnrss-insert): The buffer doesn't have
650 to be unibyte just to receive data, I think.
651
652 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
653
654 Don't use mm-with-unibyte-current-buffer in mml2015
655
656 * lisp/gnus/mml2015.el (mml2015-mailcrypt-encrypt): Don't use
657 mm-with-unibyte-current-buffer.
658
659 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
660
661 Don't use mm-with-unibyte-current in mml1991
662
663 * lisp/gnus/mml1991.el (mml1991-epg-sign): Don't use
664 mm-with-unibyte-current.
665
666 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
667
668 Don't use mm-with-unibyte-current in mml1991
669
670 * lisp/gnus/mml1991.el (mml1991-pgg-sign): Don't use
671 mm-with-unibyte-current.
672
673 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
674
675 Don't use mm-with-unibyte-buffer in utf7
676
677 * lisp/gnus/utf7.el (utf7-fragment-encode): Don't use
678 mm-with-unibyte-buffer.
679
680 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
681
682 Remove XEmacs compat code from Gnus helper libraries
683
684 * lisp/gnus/plstore.el (plstore-called-interactively-p): Remove.
685
686 * lisp/gnus/pop3.el (pop3-make-date): Remove XEmacs compat.
687
688 * lisp/gnus/sieve-mode.el: Remove XEmacs compat.
689
690 * lisp/gnus/spam-stat.el (spam-stat-called-interactively-p): Remove.
691
692 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
693
694 Remove XEmacs compat code from Gnus backends
695
696 * lisp/gnus/mm-view.el (mm-inline-image-xemacs): Remove.
697 (mm-inline-image): Rename from mm-inline-image-emacs.
698
699 * lisp/gnus/mml.el: Remove XEmacs compat code.
700
701 * lisp/gnus/nnheader.el: Remove XEmacs compat code.
702
703 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Remove
704 XEmacs compat code.
705
706 * lisp/gnus/nnir.el (nnir-run-gmane): Remove XEmacs compat code.
707
708 * lisp/gnus/nnmail.el (nnmail-pathname-coding-system): Remove
709 XEmacs compat code.
710
711 * lisp/gnus/nnmairix.el: Remove XEmacs compat code.
712
713 * lisp/gnus/nnrss.el: Remove XEmacs compat code.
714
715 * lisp/gnus/nntp.el: Remove XEmacs compat code.
716
717 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
718
719 Remove XEmacs compat functions from mm-util.el
720
721 * lisp/gnus/mm-util.el (mm-special-display-p): Remove.
722 (mm-decode-coding-string, mm-encode-coding-string)
723 (mm-decode-coding-region, mm-encode-coding-region): Remove.
724 (mm-string-to-multibyte): Remove.
725 (mm-char-or-char-int-p): Remove.
726 (mm-ucs-to-char): Remove compat versions of the function.
727 (mm-read-coding-system): Remove.
728 (mm-coding-system-p): Remove compat code.
729 (mm-enrich-utf-8-by-mule-ucs): Remove.
730 (mm-enable-multibyte, mm-disable-multibyte): Remove compat versions.
731 (mm-delete-duplicates): Remove.
732 (mm-multibyte-p): Remove compat versions.
733 (mm-xemacs-find-mime-charset-1): Remove.
734 (mm-xemacs-find-mime-charset): Remove.
735 (mm-make-temp-file): Made obsolete.
736 (mm-find-buffer-file-coding-system): Remove XEmacs compat.
737
738 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
739
740 Remove Message and mm-decode XEmacs compat code
741
742 * lisp/gnus/message.el: Remove XEmacs compat code.
743
744 * lisp/gnus/mm-decode.el (mm-create-image-xemacs): Remove.
745
746 * lisp/gnus/mm-util.el: Remove some XEmacs compat code.
747
748 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
749
750 Remove som XEmacs compat code from message.el
751
752 * lisp/gnus/message.el: Remove some XEmacs compat code.
753
754 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
755
756 Remove XEmacs compat code from ietf-drums.el
757
758 * lisp/gnus/ietf-drums.el (ietf-drums-syntax-table): Drop
759 XEmacs compat.
760
761 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
762
763 Remove XEmacs compat code from gravatar.el
764
765 * lisp/gnus/gravatar.el: Remove XEmacs compat code from
766 gravatar.el.
767
768 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
769
770 Remove more XEmacs compat code from Gnus
771
772 * lisp/gnus/gnus-util.el (gnus-bound-and-true-p): Remove.
773 (gnus-timer--function): Remove.
774
775 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Remove XEmacs
776 19.2 compat.
777
778 * lisp/gnus/gnus-win.el: Remove XEmacs compat code.
779
780 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
781
782 Remove more XEmacs compat functions from gnus-util.el
783
784 * lisp/gnus/gnus-util.el (gnus-put-display-table): Remove.
785 (gnus-get-display-table): Remove.
786 (gnus-format-message): Remove.
787
788 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
789
790 Remove more XEmacs compat functions from Gnus
791
792 * lisp/gnus/gnus-util.el (gnus-next-char-property-change): Remove.
793 (gnus-previous-char-property-change): Remove.
794 (gnus-graphic-display-p): Remove.
795 (gnus-select-frame-set-input-focus): Remove.
796
797 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
798
799 Remove more XEmacs compat code from gnus-util
800
801 * lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
802 all its usages).
803 (gnus-invisible-p): Remove.
804
805 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
806
807 Remove gnus-make-local-hook
808
809 * lisp/gnus/gnus-util.el (gnus-make-local-hook): Remove (and
810 all its usages).
811
812 2016-02-11 Lars Ingebrigtsen <larsi@gnus.org>
813
814 gnus-replace-in-string -> replace-regexp-in-string
815
816 * lisp/gnus/gnus-util.el (gnus-replace-in-string): Declare
817 obsolete. Transform all usages of it into
818 replace-regexp-in-string.
819
820 * lisp/gnus/mailcap.el (mailcap-replace-in-string): Remove.
821
822 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
823
824 Remove Gnus XEmacs compat
825
826 * lisp/gnus/gnus-start.el (gnus-dribble-enter): Remove comment
827 about code that doesn't work in XEmacs.
828
829 * lisp/gnus/gnus-sum.el: Remove XEmacs compat.
830
831 * lisp/gnus/gnus-topic.el: Remove XEmacs compat.
832
833 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
834
835 Remove compat functions in gnus-spec.el
836
837 * lisp/gnus/gnus-spec.el (gnus-string-width-function): Remove.
838 (gnus-substring-function): Remove.
839 (gnus-use-correct-string-widths): Remove.
840 (gnus-make-format-preserve-properties): Remove.
841 (gnus-xmas-format): Remove.
842
843 * lisp/gnus/gnus-srvr.el (gnus-server-mode): Remove XEmacs compat.
844
845 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
846
847 Remove Gnus XEmacs compat functions
848
849 * lisp/gnus/gnus-registry.el: Remove XEmacs compat.
850
851 * lisp/gnus/gnus-salt.el: Remove XEmacs compat.
852
853 * lisp/gnus/gnus-score.el (gnus-decay-score): Remove XEmacs compat.
854
855 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
856
857 Remove Gnus XEmacs compatibility
858
859 * lisp/gnus/gnus-demon.el (gnus-demon-idle-since): Remove
860 XEmacs compat.
861
862 * lisp/gnus/gnus-dired.el: Remove XEmacs compat.
863
864 * lisp/gnus/gnus-draft.el: Remove XEmacs compat.
865
866 * lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): Remove
867 XEmacs compat.
868
869 * lisp/gnus/gnus-group.el: Remove XEmacs compat.
870
871 * lisp/gnus/gnus-html.el: Remove XEmacs compat.
872
873 * lisp/gnus/gnus-ml.el: Remove XEmacs compat.
874
875 * lisp/gnus/gnus-picon.el (gnus-picon-style): Remove XEmacs comment.
876
877 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
878
879 Don't use image-map if it isn't defined
880
881 * lisp/net/shr.el (shr-image-map): Only use image-map as a
882 parent if it's defined (bug#22614).
883
884 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
885
886 Check for MagickAutoOrientImage
887
888 * configure.ac: Check for MagickAutoOrientImage.
889
890 * src/image.c (imagemagick_load_image): Don't use
891 MagickAutoOrientImage unless it's available.
892
893 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
894
895 Document EXIF image rotation
896
897 * doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
898
899 2016-02-10 Dima Kogan <dima@secretsauce.net>
900
901 Support integer image rotation and respect EXIF rotations
902
903 * src/image.c (imagemagick_load_image): Allow integer rotations in
904 addition to floating point rotations (bug#22591).
905 * src/image.c (imagemagick_load_image): Images that have an
906 orientation given in EXIF and have no explicit :rotation tag are now
907 pre-rotated. All information such as width/height is reported for the
908 rotated image.
909
910 2016-02-10 Wolfgang Jenkner <wjenkner@inode.at>
911
912 * lisp/net/shr.el (image-map): Defvar it. (Bug#22614)
913
914 2016-02-10 Lars Ingebrigtsen <larsi@gnus.org>
915
916 * lisp/gnus/gnus-cite.el: Remove XEmacs compat code.
917
918 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
919
920 Remove compat code from gnus-bookmark.el
921
922 * lisp/gnus/gnus-bookmark.el (gnus-bookmark-mouse-available-p): Remove.
923 (gnus-bookmark-remove-properties): Remove.
924
925 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
926
927 Remove XEmacs compat code from gnus-a*.el
928
929 * lisp/gnus/gnus-agent.el: Remove compat code.
930
931 * lisp/gnus/gnus-art.el: Remove compat code.
932
933 * lisp/gnus/gnus-async.el: Remove compat code.
934
935 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
936
937 Remove gmm compat functions
938
939 * lisp/gnus/gmm-utils.el (gmm-image-search-load-path): Remove.
940 (gmm-write-region): Remove.
941 (gmm-called-interactively-p): Remove.
942
943 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
944
945 * lisp/gnus/ecomplete.el: Remove XEmacs compat code.
946
947 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
948
949 Remove compat code from compface.el
950
951 * lisp/gnus/compface.el: Remove XEmacs compat code throughout.
952
953 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
954
955 Remove the now empty gnus-ems.el and references to it
956
957 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
958
959 Remove Gnus compat names for mouse bindings
960
961 * lisp/gnus/gnus-ems.el (gnus-widget-button-keymap): Remove.
962 (gnus-down-mouse-2): Remove.
963 (gnus-down-mouse-3): Remove.
964
965 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
966
967 Drop Gnus compat functions
968
969 * lisp/gnus/gnus-ems.el (gnus-mule-max-width-function): Remove.
970
971 * lisp/gnus/gnus-util.el (gnus-kill-all-overlays): Move here.
972
973 * lisp/gnus/gnus.el (gnus-mode-line-modified): Remove.
974
975 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
976
977 Get rid of gnus-ems-redefine
978
979 * lisp/gnus/gnus-ems.el (gnus-mouse-face-prop): Remove.
980
981 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
982
983 * lisp/gnus/gnus-spec.el: Move definition here from gnus-ems.el.
984
985 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
986
987 Remove Gnus compat code
988
989 * lisp/gnus/gnus-ems.el (gnus-ems-redefine): Remove
990 transitional code from ten years ago.
991
992 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
993
994 Allow interactively scaling past :max-width etc
995
996 * lisp/image.el (image--current-scaling)
997 (image--image-without-parameters): New functions.
998 (image--change-size): Use them to allow changing the size of a
999 image even if it has :width/:max-width (etc.) already set.
1000
1001 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1002
1003 * lisp/gnus/mm-decode.el (shr-image-map): Compilation fix.
1004
1005 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1006
1007 Allow accessing the image commands via shr
1008
1009 * lisp/gnus/mm-decode.el (mm-convert-shr-links): Allow
1010 accessing the image commands.
1011
1012 * lisp/net/shr.el (shr-image-map): New map used for images.
1013 (shr-urlify): Don't overwrite image maps when applying URL maps.
1014
1015 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1016
1017 Use a sparse image keymap
1018
1019 * lisp/image.el (image-map): Use a sparse keymap.
1020
1021 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1022
1023 Put a keymap on images created with insert-image and friends
1024
1025 * lisp/image.el (image-save): New command.
1026 (image-rotate): Ditto.
1027 (image-map): New keymap.
1028 (insert-image): Put the image-map on all images.
1029 (insert-sliced-image): Ditto.
1030 * doc/lispref/display.texi (Showing Images): Document the
1031 image map.
1032
1033 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1034
1035 Fix some folding issues in read-multiple-choice
1036
1037 * lisp/subr.el (read-multiple-choice): Fix folding when you
1038 have many items.
1039
1040 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1041
1042 Fix typo in last checkin
1043
1044 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1045
1046 Remove Gnus compat functions
1047
1048 * lisp/gnus/gnus-ems.el (gnus-mark-active-p)
1049 (gnus-region-active-p, gnus-select-lowest-window)
1050 (gnus-summary-display-table, gnus-max-width-function): Remove
1051 compat functions.
1052
1053 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1054
1055 Move non-compat Gnus functions to gnus-util.el
1056
1057 * lisp/gnus/gnus-util.el (gnus-remove-image, gnus-put-image)
1058 (gnus-create-image, gnus-image-type-available-p): Move here
1059 from gnus-ems.el, since these aren't compat functions.
1060
1061 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1062
1063 Omit valloc decl if redundant
1064
1065 * src/gmalloc.c (valloc): Omit decl if malloc.h is included,
1066 to pacify --enable-gcc-warnings.
1067
1068 2016-02-09 Wolfgang Jenkner <wjenkner@inode.at>
1069
1070 Restore the calloc family.
1071
1072 * src/gmalloc.c (calloc, gcalloc, hybrid_calloc): Restore definitions.
1073 They were lost in a4817d8 but calloc is still (marginally) used in
1074 code statically liked with emacs, so hybrid_calloc is needed.
1075 Also, in the non-hybrid case, we can't get rid of calloc anyway as
1076 other libraries liked with emacs may need it.
1077 * src/conf_post.h: Restore redefinition of calloc to hybrid_calloc.
1078
1079 2016-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1080
1081 Remove some Gnus compat functions
1082
1083 * lisp/gnus/gnus-ems.el (gnus-string-mark-left-to-right)
1084 (gnus-window-inside-pixel-edges, gnus-set-process-plist)
1085 (gnus-process-plist, gnus-process-get, gnus-process-put): Remove.
1086
1087 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1088
1089 -
1090
1091 -
1092
1093 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1094
1095 Merge from origin/emacs-25
1096
1097 4feb962 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
1098 cc419fb Don't inloop gnus-uu-mark-thread on the last thread
1099 51c77a2 Display non-ASCII group names better in prompts
1100 f93d669 Default to gpg2 instead of gpg
1101
1102 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1103
1104 Merge from origin/emacs-25
1105
1106 9ffe7dd * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
1107 16140f7 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
1108 3db6adb * lisp/isearch.el (search-default-mode)
1109 4ea1ea7 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
1110 c77ffc8 Use monitor's resolution for positioning tooltips
1111 49e5749 Fix file-notify-test on MS-Windows
1112 be1d874 Fix issues found by auditing w32notify code
1113 87ae218 Extend etags Ruby support for accessors
1114 aa35257 Update publicsuffix.txt.
1115 6816bff Ensure that Gnus dribble handling allows removing entries
1116 691feae Be consistent when using encoded strings in nnimap data
1117 3ed423b Display the decoded Gnus group name
1118 5428b5b Use completion-ignore-case instead of defining command
1119
1120 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1121
1122 Merge from origin/emacs-25
1123
1124 1eaf68f * test/automated/file-notify-tests.el (file-notify-test06-many-events):
1125 d333716 ; * etc/NEWS: Expand news entry for scss-mode
1126 c32c16f ; Better document changes in ls-lisp default behavior
1127 dc6eed2 Fix doc string of tls-program
1128
1129 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1130
1131 Merge from origin/emacs-25
1132
1133 2c117fc * etc/NEWS: Document new mpc.el features
1134 71a0496 * lisp/custom.el (defface): Revert indentation change. (Bug#22524)
1135 9dfece1 Correctly fontify C++ initializations which "look like" functions.
1136 4485222 Improve newsticker-treeview-selection-face
1137 4236944 Minor fix in tagging Ruby accessors by etags
1138 35fc77d Spelling fixes
1139 3dda110 Remove 'def X' from the example
1140
1141 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1142
1143 Minor alignas cleanup
1144
1145 * src/lisp.h (alignas): Remove now-redundant #ifdef that was left
1146 over from the old way of doing things, before Bug#20862 was fixed.
1147
1148 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1149
1150 Add lmalloc commentary and tweak laligned
1151
1152 * src/alloc.c (laligned): Help compiler in a tiny way by putting
1153 the more-commonly-failing disjunct first.
1154
1155 2016-02-09 Eli Zaretskii <eliz@gnu.org>
1156
1157 Clarify documentation of key binding conventions
1158
1159 * doc/lispref/tips.texi (Key Binding Conventions): Clarify which
1160 "punctuation characters" are reserved after "C-c". (Bug#22604)
1161
1162 2016-02-09 Oscar Fuentes <ofv@wanadoo.es>
1163
1164 * etc/NEWS: mention the `vc-faces' customization group
1165
1166 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1167
1168 Sync with gnulib
1169
1170 This incorporates:
1171 2016-02-09 stdalign: port to clang 3.7.0
1172 2016-02-06 misc: port better to gcc -fsanitize=address
1173 * doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
1174 Copy from gnulib.
1175
1176 2016-02-09 Michael Albinus <michael.albinus@gmx.de>
1177
1178 * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
1179
1180 2016-02-09 Katsumi Yamaoka <yamaoka@jpl.org>
1181
1182 Make mm-html-inhibit-images and mm-html-blocked-images default to nil
1183
1184 * lisp/gnus/mm-decode.el (mm-html-inhibit-images)
1185 (mm-html-blocked-images): Default to nil.
1186
1187 * doc/misc/emacs-mime.texi (Display Customization): Mention that
1188 mm-html-inhibit-images and mm-html-blocked-images default to nil.
1189
1190 * etc/NEWS (Gnus): Document mm-html-inhibit-images and
1191 mm-html-blocked-images.
1192
1193 2016-02-08 Paul Eggert <eggert@cs.ucla.edu>
1194
1195 Increase success rate of fallback lmalloc
1196
1197 * src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
1198 larger and larger sizes, to increase the probability that
1199 the allocator will return a Lisp-aligned pointer.
1200
1201 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1202
1203 Make backgrounds extend to the end of the lines in shr
1204
1205 * lisp/net/shr.el (shr-face-background): Faces can also be on
1206 the form `(:background "#fff)' (bug#22547).
1207
1208 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1209
1210 Make the `R' command get the correct relative <img>s
1211
1212 * lisp/net/eww.el (eww-readable): Preserve the base URL so
1213 that image expansions are fetched from the right place (bug#22605).
1214
1215 (cherry picked from commit 8722e849f75ceafb82a1c17105e8ab76077a8ebc)
1216
1217 Backport:
1218
1219 2016-02-08 Mike Kupfer <m.kupfer@acm.org>
1220
1221 Fix typos in emacs-mime.texi and gnus.texi
1222
1223 * doc/misc/emacs-mime.texi (Display Customization):
1224 * doc/misc/gnus.texi (HTML): Fix typo.
1225
1226 2016-02-08 Katsumi Yamaoka <yamaoka@jpl.org>
1227
1228 * doc/misc/emacs-mime.texi (Display Customization):
1229 Doc fix for mm-html-inhibit-images.
1230
1231 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1232
1233 Fix message-cross-post-followup-to group names
1234
1235 * lisp/gnus/message.el (message-cross-post-followup-to): Don't
1236 insert group names like "nntp+foo:zot", because those aren't valid.
1237
1238 2016-02-08 David Edmondson <dme@dme.org>
1239
1240 Compare recipient and keys case-insensitively
1241
1242 * lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
1243 recipient address with that from a key, do so in a case insensitive
1244 manner (bug#22603).
1245
1246 2016-02-08 Glenn Morris <rgm@gnu.org>
1247
1248 * lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
1249
1250 2016-02-08 Katsumi Yamaoka <yamaoka@jpl.org>
1251
1252 Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
1253
1254 * doc/misc/emacs-mime.texi (Display Customization):
1255 Remove mm-inline-text-html-with-images; add documentations for
1256 mm-html-inhibit-images and mm-html-blocked-images.
1257
1258 * lisp/gnus/gnus-art.el (gnus-article-show-images):
1259 No need to bind mm-inline-text-html-with-images.
1260 (gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
1261 (gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
1262 bind mm-html-inhibit-images and mm-html-blocked-images.
1263 (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
1264 (gnus-mm-display-part, gnus-mime-display-single)
1265 (gnus-mime-display-alternative): Use gnus-bind-mm-vars.
1266
1267 * lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
1268 (mm-html-inhibit-images, mm-html-blocked-images): New user options.
1269 (mm-shr): Bind shr-inhibit-images and shr-blocked-images with
1270 mm-html-inhibit-images and mm-html-blocked-images respectively
1271 instead of gnus-inhibit-images and gnus-blocked-images.
1272
1273 * lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
1274 instead of mm-inline-text-html-with-images.
1275
1276 2016-02-08 Paul Eggert <eggert@cs.ucla.edu>
1277
1278 Port to FreeBSD 11-CURRENT i386
1279
1280 Problem reported by Herbert J. Skuhra in:
1281 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
1282 Instead of trying
1283 * src/alloc.c (lmalloc, lrealloc, laligned): New functions.
1284 (xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
1285 (__alignof__) [!__GNUC__ && !__alignof__]: New macro.
1286 (MALLOC_IS_GC_ALIGNED): New macro.
1287 * src/lisp.h (NONPOINTER_BITS): Remove. All uses removed.
1288 No longer needed now that alloc.c uses lmalloc and lrealloc.
1289
1290 2016-02-08 Michael Albinus <michael.albinus@gmx.de>
1291
1292 Some fixes in file-notify-tests.el
1293
1294 * test/automated/file-notify-tests.el
1295 (file-notify--test-with-events-check)
1296 (file-notify--test-with-events-explainer): New defuns.
1297 (file-notify--test-with-events): Use it.
1298 (file-notify-test07-backup): Fix docstring. Some of the
1299 backends fire two `changed' events. Backup by rename doesn't
1300 work for kqueue.
1301
1302 2016-02-07 Michael Albinus <michael.albinus@gmx.de>
1303
1304 Fix Bug#22557
1305
1306 * lisp/filenotify.el (file-notify-callback): Do not send a
1307 `stopped' event in case of backup by renaming. (Bug#22557)
1308
1309 * test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
1310 all targets but check and check-maybe.
1311
1312 * test/automated/file-notify-tests.el
1313 (file-notify--test-read-event-timeout): New defconst.
1314 (file-notify--deftest-remote, file-notify--wait-for-events)
1315 (file-notify-test02-events)
1316 (file-notify-test04-file-validity)
1317 (file-notify-test06-many-events): Use it.
1318 (file-notify--test-cleanup): Make it more robust. Delete also
1319 backup file.
1320 (file-notify-test07-backup): New test.
1321
1322 2016-02-07 Paul Eggert <eggert@cs.ucla.edu>
1323
1324 Fix test for dladdr
1325
1326 Problem reported by Andreas Schwab in:
1327 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
1328 * configure.ac (dladdr): Link with LIBMODULES when checking for
1329 this function.
1330
1331 2016-02-07 Andreas Schwab <schwab@linux-m68k.org>
1332
1333 Fix gnus-group-get-new-news-this-group on group with closed server
1334
1335 * lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
1336 method and pass to nnimap-open-server.
1337
1338 2016-02-07 Artur Malabarba <bruce.connor.am@gmail.com>
1339
1340 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
1341
1342 While tabs in code are mostly fine because the Emacs sources have a
1343 .dir-locals file specifying tab-width, the same is not true of tabs in
1344 code examples inside docstrings. The docstring is printed on a *Help*
1345 buffer, which can be created on any directory and won't necessarily have
1346 the same tab-width set.
1347
1348 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1349
1350 Don't inloop gnus-uu-mark-thread on the last thread
1351
1352 * lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
1353 final thread in the summary buffer (bug#16666).
1354
1355 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1356
1357 Display non-ASCII group names better in prompts
1358
1359 * lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
1360 group name, we have to do that before we remove the prefix.
1361
1362 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1363
1364 Default to gpg2 instead of gpg
1365
1366 * lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
1367 it exists. This fixes many problems with using the GPG
1368 authentication agent.
1369
1370 2016-02-06 David Edmondson <dme@dme.org>
1371
1372 src/process.c Correctly convert AF_INET6 addresses
1373
1374 * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
1375 converted to a list of 16 bit quantities by
1376 conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
1377 same scheme rather than expecting a (longer) list of 8 bit
1378 quantities.
1379
1380 Backport:
1381
1382 (cherry picked from commit 55ce3c30d617c38eb086d5ad4ffbd881c20c559c)
1383
1384 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1385
1386 * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
1387
1388 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1389
1390 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
1391
1392 (menu-bar-search-options-menu): New variable
1393
1394 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1395
1396 * lisp/isearch.el (search-default-mode)
1397
1398 (isearch-regexp-function): Improve docstrings.
1399
1400 2016-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1401
1402 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
1403
1404 (search-default-mode): New variable.
1405 (isearch-mode, isearch-define-mode-toggle)
1406 (isearch--describe-regexp-mode): Update accordingly.
1407 * lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
1408 * etc/NEWS: Update accordingly.
1409 * doc/emacs/search.texi: Update accordingly.
1410
1411 2016-02-06 Oscar Fuentes <ofv@wanadoo.es>
1412
1413 Use monitor's resolution for positioning tooltips
1414
1415 * src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
1416 the mouse pointer is to avoid placing the tooltip over the border of
1417 the monitor on multi-head displays. Fixes bug#22549.
1418
1419 2016-02-06 Eli Zaretskii <eliz@gnu.org>
1420
1421 Fix file-notify-test on MS-Windows
1422
1423 * test/automated/file-notify-tests.el (file-notify--test-timeout):
1424 Reduce w32notify timeout to 10 sec.
1425 (file-notify-test06-many-events): Call read-event after each
1426 rename, to keep the w32notify backend happy in batch mode.
1427 (Bug#22534)
1428
1429 2016-02-06 Eli Zaretskii <eliz@gnu.org>
1430
1431 Fix issues found by auditing w32notify code
1432
1433 * src/w32inevt.c (handle_file_notifications): Count the number of
1434 events to be returned.
1435 * src/w32notify.c (send_notifications): Don't copy to the file
1436 notification buffer more than it can hold. (Bug#22534)
1437
1438 2016-02-06 Eli Zaretskii <eliz@gnu.org>
1439
1440 Extend etags Ruby support for accessors
1441
1442 * lib-src/etags.c (Ruby_functions): Support accessors defined with
1443 parentheses. (Bug#22563)
1444
1445 * test/etags/ruby-src/test1.ru (A::B): Add tests for accessors
1446 defined with parentheses.
1447 * test/etags/ETAGS.good_1:
1448 * test/etags/ETAGS.good_2:
1449 * test/etags/ETAGS.good_3:
1450 * test/etags/ETAGS.good_4:
1451 * test/etags/ETAGS.good_5:
1452 * test/etags/ETAGS.good_6:
1453 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
1454
1455 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1456
1457 Update publicsuffix.txt.
1458
1459 * etc/publicsuffix.txt: Updated from
1460 https://publicsuffix.org/list/public_suffix_list.dat.
1461
1462 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1463
1464 Ensure that Gnus dribble handling allows removing entries
1465
1466 * lisp/gnus/gnus-start.el (gnus-dribble-enter): Ensure that each
1467 entry is on a single line.
1468
1469 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
1470
1471 Be consistent when using encoded strings in nnimap data
1472
1473 * lisp/gnus/nnimap.el (nnimap-encode-gnus-group): New function
1474 (nnimap-request-list): Use it.
1475 (nnimap-request-newgroups): Ditto.
1476
1477 2016-02-05 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
1478
1479 Display the decoded Gnus group name
1480
1481 * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Use the
1482 decoded group name in the message.
1483
1484 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
1485
1486 Use completion-ignore-case instead of defining command
1487
1488 * lisp/erc/erc.el (erc-mode): Set completion-ignore-case so
1489 that we get case-insensitive completion.
1490 (erc-completion-at-point): Remove.
1491
1492 2016-02-05 Eli Zaretskii <eliz@gnu.org>
1493
1494 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
1495
1496 2016-02-05 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
1499
1500 Reduce the number of iterations to 250 in case of w32notify.
1501
1502 2016-02-05 Eli Zaretskii <eliz@gnu.org>
1503
1504 Fix problems caused by new implementation of sub-word mode
1505
1506 * lisp/subr.el (forward-word-strictly, backward-word-strictly):
1507 New functions.
1508 (word-move-empty-char-table): New variable.
1509
1510 * etc/NEWS: Mention 'forward-word-strictly' and
1511 'backward-word-strictly'.
1512
1513 * doc/lispref/positions.texi (Word Motion): Document
1514 'find-word-boundary-function-table', 'forward-word-strictly', and
1515 'backward-word-strictly'. (Bug#22560)
1516
1517 * src/syntax.c (syms_of_syntax)
1518 <find-word-boundary-function-table>: Doc fix.
1519
1520 * lisp/wdired.el (wdired-xcase-word):
1521 * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
1522 (texinfo-copy-section-title, texinfo-start-menu-description)
1523 (texinfo-copy-menu-title, texinfo-specific-section-type)
1524 (texinfo-insert-node-lines, texinfo-copy-next-section-title):
1525 * lisp/textmodes/texinfo.el (texinfo-clone-environment)
1526 (texinfo-insert-@end):
1527 * lisp/textmodes/texinfmt.el (texinfo-format-scan)
1528 (texinfo-anchor, texinfo-multitable-widths)
1529 (texinfo-multitable-item):
1530 * lisp/textmodes/tex-mode.el (latex-env-before-change):
1531 * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
1532 * lisp/skeleton.el (skeleton-insert):
1533 * lisp/simple.el (count-words):
1534 * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
1535 (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
1536 (vhdl-update-sensitivity-list, vhdl-template-block)
1537 (vhdl-template-break, vhdl-template-case, vhdl-template-default)
1538 (vhdl-template-default-indent, vhdl-template-for-loop)
1539 (vhdl-template-if-then-use, vhdl-template-bare-loop)
1540 (vhdl-template-nature, vhdl-template-procedural)
1541 (vhdl-template-process, vhdl-template-selected-signal-asst)
1542 (vhdl-template-type, vhdl-template-variable)
1543 (vhdl-template-while-loop, vhdl-beginning-of-block)
1544 (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
1545 * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
1546 (verilog-forward-sexp, verilog-beg-of-statement)
1547 (verilog-set-auto-endcomments, verilog-backward-token)
1548 (verilog-do-indent):
1549 * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
1550 (vera-indent-block-closing):
1551 * lisp/progmodes/simula.el (simula-context)
1552 (simula-backward-up-level, simula-forward-down-level)
1553 (simula-previous-statement, simula-next-statement)
1554 (simula-skip-comment-backward, simula-calculate-indent)
1555 (simula-find-if, simula-electric-keyword):
1556 * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
1557 * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
1558 (ruby-smie--forward-token, ruby-smie--backward-token)
1559 (ruby-singleton-class-p, ruby-calculate-indent)
1560 (ruby-forward-sexp, ruby-backward-sexp):
1561 * lisp/progmodes/ps-mode.el (ps-run-goto-error):
1562 * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
1563 (perl-syntax-propertize-special-constructs)
1564 (perl-backward-to-start-of-continued-exp):
1565 * lisp/progmodes/pascal.el (pascal-indent-declaration):
1566 * lisp/progmodes/octave.el (octave-function-file-p):
1567 * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
1568 * lisp/progmodes/js.el (js--forward-function-decl):
1569 * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
1570 (idlwave-beginning-of-block, idlwave-end-of-block)
1571 (idlwave-block-jump-out, idlwave-determine-class):
1572 * lisp/progmodes/icon.el (icon-is-continuation-line)
1573 (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
1574 * lisp/progmodes/hideif.el (hide-ifdef-define):
1575 * lisp/progmodes/f90.el (f90-change-keywords):
1576 * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
1577 (cperl-linefeed, cperl-electric-terminator)
1578 (cperl-find-pods-heres, cperl-fix-line-spacing)
1579 (cperl-invert-if-unless):
1580 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1581 * lisp/progmodes/cc-align.el (c-lineup-java-inher):
1582 * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
1583 (ada-adjust-case-skeleton, ada-create-case-exception)
1584 (ada-create-case-exception-substring)
1585 (ada-case-read-exceptions-from-file, ada-after-keyword-p)
1586 (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
1587 (ada-get-indent-if, ada-get-indent-block-start)
1588 (ada-get-indent-loop, ada-get-indent-type)
1589 (ada-search-prev-end-stmt, ada-check-defun-name)
1590 (ada-goto-decl-start, ada-goto-matching-start)
1591 (ada-goto-matching-end, ada-looking-at-semi-or)
1592 (ada-looking-at-semi-private, ada-in-paramlist-p)
1593 (ada-search-ignore-complex-boolean, ada-move-to-start)
1594 (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
1595 * lisp/net/quickurl.el (quickurl-grab-url):
1596 * lisp/mail/sendmail.el (mail-do-fcc):
1597 * lisp/mail/rmail.el (rmail-resend):
1598 * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
1599 * lisp/mail/mail-extr.el (mail-extract-address-components):
1600 * lisp/json.el (json-read-keyword):
1601 * lisp/files.el (insert-directory):
1602 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1603 * lisp/completion.el (symbol-under-point, symbol-before-point)
1604 (symbol-before-point-for-complete, next-cdabbrev)
1605 (add-completions-from-c-buffer):
1606 * lisp/cedet/semantic/texi.el (semantic-up-context)
1607 (semantic-beginning-of-context):
1608 * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
1609 use 'forward-word-strictly' and 'backward-word-strictly' instead
1610 of 'forward-word' and 'backward-word'.
1611
1612 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
1613
1614 Fix doc string of tls-program
1615
1616 * lisp/net/tls.el (tls-program): Document the %t parameter (bug#22559).
1617
1618 2016-02-05 Mark Oteiza <mvoteiza@udel.edu>
1619
1620 * etc/NEWS: Document new mpc.el features
1621
1622 2016-02-04 Leo Liu <sdl.web@gmail.com>
1623
1624 * lisp/custom.el (defface): Revert indentation change. (Bug#22524)
1625
1626 2016-02-04 Alan Mackenzie <acm@muc.de>
1627
1628 Correctly fontify C++ initializations which "look like" functions.
1629
1630 Fixes bug#7579.
1631
1632 lisp/progmodes/cc-engine.el (c-forward-declarator): Add extra optional
1633 parameter to enable handling of "anonymous" declarators in declarations.
1634
1635 lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Check more rigorously
1636 whether a "(" opens a parameter list of a function, or an initialization of a
1637 variable.
1638
1639 2016-02-04 Ulf Jasper <ulf.jasper@web.de>
1640
1641 Improve newsticker-treeview-selection-face
1642
1643 * newst-treeview.el (newsticker-treeview-selection-face): Improve
1644 readability for dark background.
1645
1646 2016-02-04 Eli Zaretskii <eliz@gnu.org>
1647
1648 Minor fix in tagging Ruby accessors by etags
1649
1650 * lib-src/etags.c (Ruby_functions): Don't tag accessors whose
1651 names are not literal symbols. (Bug#22241)
1652
1653 2016-02-04 Paul Eggert <eggert@cs.ucla.edu>
1654
1655 Spelling fixes
1656
1657 2016-02-04 Dmitry Gutov <dgutov@yandex.ru>
1658
1659 Remove 'def X' from the example
1660
1661 * test/etags/ruby-src/test1.ru (A::B): Remove 'def X'
1662 (http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00167.html).
1663 * test/etags/CTAGS.good:
1664 * test/etags/ETAGS.good_1:
1665 * test/etags/ETAGS.good_2:
1666 * test/etags/ETAGS.good_3:
1667 * test/etags/ETAGS.good_4:
1668 * test/etags/ETAGS.good_5:
1669 * test/etags/ETAGS.good_6: Adjust accordingly.
1670
1671 2016-02-09 Eli Zaretskii <eliz@gnu.org>
1672
1673 Fix network-stream-tests on MS-Windows
1674
1675 * test/lisp/net/network-stream-tests.el (make-local-unix-server):
1676 Skip if local sockets are not supported.
1677
1678 2016-02-09 Michael Albinus <michael.albinus@gmx.de>
1679
1680 * admin/notes/bug-triage: Fix bug priorities. Explain colors in debbugs-gnu.
1681
1682 2016-02-09 Eli Zaretskii <eliz@gnu.org>
1683
1684 Disable 'timer-list'
1685
1686 * lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled
1687 command.
1688
1689 2016-02-09 Paul Eggert <eggert@cs.ucla.edu>
1690
1691 Avoid aligned_alloc static/extern collision
1692
1693 * src/alloc.c (aligned_alloc): Define to private name when a
1694 static function, to avoid collision with lisp.h extern decl.
1695 Reported by John Yates in:
1696 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00439.html
1697
1698 2016-02-08 Michal Nazarewicz <mina86@mina86.com>
1699
1700 Make `message-beginning-of-line' aware of folded headers
1701
1702 * lisp/gnus/message.pl (message-beginning-of-header): New function which
1703 moves point to the beginning of a mail header. The function is aware of
1704 folded headers and with non-nil argument looks for the true beginning of
1705 a header while with nil argument moves to the indented text of header's
1706 value.
1707 (message-beginning-of-line): Function is now aware of folded headers and
1708 either moves point to the indention of a header or, in visual-line-mode,
1709 searches for the beginning of the header.
1710
1711 2016-02-08 Michal Nazarewicz <mina86@mina86.com>
1712
1713 Optimise ‘point in message header’ check
1714
1715 * lisp/gnus/message.el (message-point-in-header-p): Replace two unbound
1716 regular expression matches with a single bound string match thus
1717 reducing amount of work the function is doing.
1718
1719 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1720
1721 Make the `R' command get the correct relative <img>s
1722
1723 * lisp/net/eww.el (eww-readable): Preserve the base URL so
1724 that image expansions are fetched from the right place (bug#22605).
1725
1726 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1727
1728 Add a mode to list and cancel timers
1729
1730 * doc/lispref/os.texi (Timers): Menton `timer-list'.
1731
1732 * lisp/emacs-lisp/timer-list.el: New file.
1733
1734 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1735
1736 Add new commands to allow changing the size of images
1737
1738 * lisp/image.el (image-increase-size, image-decrease-size):
1739 New commands.
1740 (image-change-size): New function.
1741
1742 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1743
1744 Allow the image scale to be a floating point number
1745
1746 * src/image.c (compute_image_size): The scale can be a
1747 floating point number.
1748
1749 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1750
1751 Add an IPv6 test
1752
1753 * test/lisp/net/network-stream-tests.el
1754 (connect-to-tls-ipv6-nowait): Add an ipv6 test, too.
1755
1756 2016-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1757
1758 Use gnutls-serv instead of openssh
1759
1760 * test/lisp/net/network-stream-tests.el (make-tls-server): Use
1761 gnutls-serv instead of openssh.
1762
1763 2016-02-08 Daniel Colascione <dancol@dancol.org>
1764
1765 Performance improvements for vc-hg
1766
1767 Teach vc-hg how to read some Mercurial internal data structures,
1768 allowing us to avoid the need to run hg status -A, which is very slow
1769 for large repositories. Fall back to running hg if anything looks
1770 funny. vc-hg now puts the _working directory_ revision in the
1771 modeline instead of the file revision, which greatly improves
1772 performance and which allows us to again skip running hg in the case
1773 that we have an active bookmark.
1774
1775 * lisp/vc/vc-hg.el (vc-hg-state): Try calling `vc-hg-statefast'
1776 (vc-hg-symbolic-revision-styles)
1777 (vc-hg-use-file-version-for-mode-line-version)
1778 (vc-hg-parse-hg-data-structures): New user preferences
1779 (vc-hg--active-bookmark-internal, vc-hg--run-log)
1780 (vc-hg--symbolic-revision, vc-hg-mode-line-string)
1781 (vc-hg--read-u8, vc-hg--read-u32-be)
1782 (vc-hg--raw-dirstate-search, vc-hg--cached-dirstate-search)
1783 (vc-hg--parts-to-string, vc-hg--pcre-to-elisp-re)
1784 (vc-hg--glob-to-pcre, vc-hg--hgignore-add-pcre)
1785 (vc-hg--hgignore-add-glob, vc-hg--hgignore-add-path)
1786 (vc-hg--slurp-hgignore-1, vc-hg--slurp-hgignore)
1787 (vc-hg--ignore-patterns-valid-p)
1788 (vc-hg--ignore-patterns-ignored-p, vc-hg--time-to-fixnum)
1789 (vc-hg--file-ignored-p, vc-hg--read-repo-requirements)
1790 (vc-hg--requirements-understood-p, vc-hg--dirstate-scan-cache)
1791 (vc-hg-state-fast): New functions.
1792 (vc-hg--hgignore-patterns, vc-hg--hgignore-filenames)
1793 (vc-hg--cached-ignore-patterns, vc-hg--dirstate-scan-cache)
1794 (vc-hg--dirstate-scan-cache): New internal variables.
1795 * lisp/vc/vc-hooks.el (vc-refresh-state): Invoke vc find-file-hook
1796 before updating modeline.
1797
1798 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1799
1800 Skip TLS tests if we don't have openssl
1801
1802 * test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
1803 TLS tests if we don't have openssl and GnuTLS.
1804
1805 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1806
1807 Automatically scale images up on high-density screens
1808
1809 * doc/lispref/display.texi (ImageMagick Images): Mention :scale.
1810 (Defining Images): Mention image-scaling-factor.
1811
1812 * lisp/image.el (image-compute-scaling-factor): New function
1813 (bug#22172).
1814 (create-image): Use it.
1815 (image-scaling-factor): New variable.
1816
1817 * src/image.c (compute_image_size): Take :scale into account.
1818
1819 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1820
1821 Ensure progress when fetching from the queue
1822
1823 * lisp/url/url-queue.el (url-queue-check-progress): Ensure
1824 that we have progress when fetching queued requests (bug#22576).
1825
1826 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1827
1828 Make mail-extract-address-components return the user name more
1829
1830 * lisp/mail/mail-extr.el (mail-extract-address-components):
1831 Return the name even if it's the same as the mailbox name (if
1832 `mail-extr-ignore-single-names' isn't set) (bug#22594).
1833
1834 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1835
1836 Message no longer warns about unknown top level domains
1837
1838 2016-02-07 Jarno Malmari <jarno@malmari.fi>
1839
1840 Add tests for url-auth
1841
1842 * test/lisp/url/url-auth-tests.el: New file.
1843
1844 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1845
1846 Add a TLS connection test
1847
1848 * test/lisp/net/network-stream-tests.el (connect-to-tls): Add
1849 a TLS connection test.
1850
1851 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1852
1853 Add more network tests
1854
1855 * test/lisp/net/network-stream-tests.el (echo-server-nowait):
1856 New test.
1857
1858 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1859
1860 Add network tests
1861
1862 * test/lisp/net/network-stream-tests.el: New suite of network tests.
1863
1864 2016-02-07 Foo <rasmus@gmx.us>
1865
1866 Allow various Gnus and Message address variables to be functions
1867
1868 * doc/misc/gnus.texi (To From Newsgroups):
1869 gnus-ignored-from-addresses can be a function.
1870
1871 * doc/misc/message.texi (Wide Reply):
1872 message-dont-reply-to-names can be a function.
1873
1874 * lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities):
1875 message-alternative-emails can be a function.
1876
1877 * lisp/gnus/gnus-notifications.el (gnus-notifications):
1878 message-alternative-emails can be a function (bug#22315).
1879
1880 * lisp/gnus/gnus-sum.el
1881 (gnus-summary-from-or-to-or-newsgroups):
1882 gnus-ignored-from-addresses can be a function (bug#22315).
1883
1884 2016-02-07 Lars Ingebrigtsen <larsi@gnus.org>
1885
1886 Fix typo in Gnus regexp
1887
1888 * lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Fix
1889 typo in last change to this regexp (bug#22592).
1890
1891 2016-02-07 Paul Eggert <eggert@cs.ucla.edu>
1892
1893 Port to FreeBSD x86
1894
1895 Reported by Herbert J. Skuhra in:
1896 http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00336.html
1897 * src/lisp.h (NONPOINTER_BITS) [__FreeBSD__]: Zero in this case too,
1898 since malloc always returns a multiple of 8 in FreeBSD.
1899
1900 2016-02-07 Alan Mackenzie <acm@muc.de>
1901
1902 On leaving CC Mode, clean up by removing character properties.
1903
1904 * lisp/progmodes/cc-mode.el (c-leave-cc-mode-mode): Remove from the buffer
1905 all instances of the text properties/extents category, syntax-table,
1906 c-is-sws, c-in-sws, c-type, and c-awk-NL-prop.
1907
1908 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1909
1910 * lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Don't use
1911 the no-longer-existing message-valid-fqdn-regexp variable.
1912
1913 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1914
1915 Remove message-valid-fqdn-regexp, since it changes too much now
1916 * lisp/gnus/message.el (message-valid-fqdn-regexp): Remove.
1917 (message-bogus-recipient-p): Don't use it any more.
1918 (message-make-fqdn): Ditto. Suggested by Lars-Johan Liman.
1919
1920 2016-02-06 Paul van der Walt <paul@denknerd.org> (tiny change)
1921
1922 * lisp/gnus/message.el (message-subject-re-regexp): Also match
1923 "Re :" as a "Re:" prefix (commonly used in France).
1924
1925 2016-02-06 Adam Sjøgren <asjo@koldfront.dk>
1926
1927 * lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.
1928
1929 2016-02-06 David Edmondson <dme@dme.org>
1930
1931 src/process.c Correctly convert AF_INET6 addresses
1932 * src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
1933 converted to a list of 16 bit quantities by
1934 conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
1935 same scheme rather than expecting a (longer) list of 8 bit
1936 quantities.
1937
1938 2016-02-06 Martin Jesper Low Madsen <martin@martinjlowm.dk> (tiny change)
1939
1940 * lisp/gnus/auth-source.el (auth-source-macos-keychain-search):
1941 Search for all host/port (or protocol) combinations for a match in
1942 the OS X keychain.
1943
1944 2016-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1945
1946 Remove nonsensical setting of gnus-newsgroup-unseen
1947
1948 * lisp/gnus/gnus-sum.el (gnus-update-marks): Remove nonsensical
1949 setting of gnus-newsgroup-unseen.
1950
1951 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
1952
1953 Use underline on all terminals that support it
1954
1955 * lisp/subr.el (read-multiple-choice): Use
1956 display-supports-face-attributes-p instead of
1957 display-graphic-p to determine whether we can use underlining.
1958
1959 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
1960
1961 Make the nsm query say what it did after the user interaction
1962
1963 * lisp/net/nsm.el (nsm-query): Issue a message about
1964 aborting/accepting messages (suggested by N. Jackson)
1965 (bug#22531).
1966
1967 2016-02-05 Paul Eggert <eggert@cs.ucla.edu>
1968
1969 Omit XLI (init) == 0 optimization in make-vector
1970
1971 * src/alloc.c (Fmake_vector): Simplify by omitting the (XLI (init)
1972 == 0) case, as this optimization is probably not worth the hassle.
1973 Just for the record, the test for that case could have been
1974 (XLI (init) % ((EMACS_UINT) -1 / UCHAR_MAX) == 0) (!),
1975 assuming the typical platform with no padding bits and where
1976 conversion to int omits the most significant bits.
1977
1978 2016-02-05 Paul Eggert <eggert@cs.ucla.edu>
1979
1980 * autogen.sh: Port to dash (Bug#22556).
1981
1982 2016-02-05 Michael Albinus <michael.albinus@gmx.de>
1983
1984 Minor cleanup for Tramp "doas".
1985
1986 * doc/misc/tramp.texi (Inline methods): Add "doas" method.
1987
1988 * etc/NEWS: Add Tramp connection method "doas".
1989
1990 * lisp/net/tramp-sh.el (tramp-methods) <doas>:
1991 Add `tramp-remote-shell-args'.
1992
1993 2016-02-05 Xi Lu <lx@shellcodes.org>
1994
1995 * lisp/net/tramp-sh.el (tramp-methods) <doas>: Add. (Bug#22542)
1996
1997 (tramp-default-user-alist): Add rule for "doas".
1998 (top): Completion function for "doas" is
1999 `tramp-completion-function-alist-su'.
2000
2001 2016-02-05 Lars Ingebrigtsen <larsi@gnus.org>
2002
2003 Restore the window configuration
2004
2005 * lisp/net/nsm.el (nsm-query-user): Restore the window
2006 configuration (bug#22532).
2007
2008 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2009
2010 Use an X popup in read-multiple-choice if running from a mouse command
2011
2012 * lisp/subr.el (read-multiple-choice): Use an X popup if
2013 called from a mouse action (bug#19368).
2014
2015 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2016
2017 Display cursor in echo area when prompting
2018
2019 * lisp/subr.el (read-multiple-choice): Display the cursor in
2020 the echo area when prompting (bug#19368).
2021
2022 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2023
2024 Make NSM prompting clearer
2025
2026 * lisp/net/nsm.el (nsm-query-user): Use read-multiple-choice
2027 to prompt in a nicer way (bug#19368).
2028
2029 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2030
2031 Underline read-multiple-choice-face
2032
2033 * lisp/faces.el (read-multiple-choice-face): Also underline
2034 the choice.
2035
2036 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2037
2038 Make the read-multiple-choice prompt a bit prettier
2039
2040 * doc/lispref/commands.texi (Reading One Event): Mention
2041 read-multiple-choice-face.
2042
2043 * lisp/subr.el (read-multiple-choice): Make the prompting a bit
2044 prettier.
2045
2046 2016-02-04 Paul Eggert <eggert@cs.ucla.edu>
2047
2048 Prefer memcpy and memset to doing it by hand
2049
2050 * src/alloc.c (Fmake_vector):
2051 * src/ccl.c (setup_ccl_program):
2052 Use memset to clear array.
2053 * src/alloc.c (Fvector, Fmake_byte_code):
2054 * src/charset.c (Fdefine_charset_internal):
2055 Use memcpy to copy array.
2056
2057 2016-02-04 Nicolas Petton <nicolas@petton.fr>
2058
2059 Do not ignore redirections of 301, 302 and 307 status codes
2060
2061 The current version of HTTP/1.1 (RFC 7231) no longer requires
2062 confirmation on 301, 302 or 307 status codes, therefore we do not have
2063 to ignore redirects for other requests than GET and HEAD.
2064
2065 * lisp/url/url-http.el (url-http-parse-headers): Do not ignore 301, 302
2066 and 307 redirects for other requests than GET and HEAD.
2067
2068 2016-02-04 Mark Oteiza <mvoteiza@udel.edu>
2069
2070 * lisp/net/eww.el (eww-switch-to-buffer): Use pop-to-buffer-same-window instead.
2071
2072 2016-02-04 Paul Eggert <eggert@cs.ucla.edu>
2073
2074 Simplify USE_ALIGNED_ALLOC
2075
2076 * src/alloc.c (USE_ALIGNED_ALLOC): Simplify, now that we’ve merged
2077 in the emacs-25 changes. Omit no-longer-needed decl for aligned_alloc.
2078
2079 2016-02-04 Eric Abrahamsen <eric@ericabrahamsen.net>
2080
2081 Honor docstring of gnus-group-get-new-news
2082
2083 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg
2084 is t, but non-numeric, unconditionally consider all groups to need
2085 updating.
2086
2087 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2088
2089 New function read-multiple-choice
2090
2091 * doc/lispref/commands.texi (Reading One Event): Document
2092 read-multiple-choice.
2093
2094 * lisp/faces.el (read-multiple-choice-face): New face.
2095
2096 * lisp/subr.el (read-multiple-choice): New function.
2097
2098 2016-02-04 John Wiegley <johnw@newartisans.com>
2099
2100 Merge from origin/emacs-25
2101
2102 ee73997 Make erc work better when encountering unknown prefix chars
2103 b99141d Make erc completion case-insensitive again
2104 66c4620 Make complection in erc use consistent casing
2105 8c562b2 Make /QUIT in erc more robust
2106 d93d2c5 Make tracking faces in Emacs work more reliably
2107 af6ab7e Make shr not bug out on images on non-graphical displays
2108 3311f40 Fix bookmark display widths
2109 d90ab1e Fix typo in eww-make-unique-file-name
2110 7f81825 Make it possible to TAB to input fields
2111 a43a1dc Insert complete alt texts when images are disabled
2112 56ed4e1 Allow eww text fields to grow
2113 66b315c Make erc work when subword-mode is switched on
2114 255b68f Fix IMAP doc example
2115 91557f5 Quoting fixes in doc strings and diagnostics
2116 2c0dc9f Fix warning message in hack-local-variables
2117 504696d Etags: yet another improvement in Ruby tags
2118 8784ebf Fix x-popup-menu on TTYs without a mouse
2119 8b87ecb * lisp/emacs-lisp/map.el: Improvements to the docstring of the
2120 pcase macro
2121 6191003 Use pop-to-buffer-same-window in eww
2122 fe321fd * autogen.sh: Revert all recent changes.
2123 74ebd4a * make-dist: Updates related to nt/.
2124 737193a * make-dist: Add modules/.
2125 3696bf2 * make-dist: Update for super-special file that can't live in etc/.
2126 a4278e2 Fix failure to compile ns-win.el in parallel builds
2127 860da4d Fix names of tags generated for Ruby accessors
2128 f6213ce Fix file-name recognition in 'etags'
2129 e42e662 Change Ruby file names and extensions recognized by 'etags'
2130 58bfb6a More improvements for Ruby support in 'etags'
2131 c04e911 Add --git-config option to autogen.sh
2132 5713466 Fix editing undo changes in eww fields
2133 51362d6 Allow the user more control of popping up the eww window
2134 ee0fbd8 Make eww-browse-url with new-window parameter work again
2135 9c3142d Clean up eww code slightly
2136 cb035f3 Don't insert nil faces in shr
2137 4c3fae3 ; * lisp/progmodes/prolog.el: Remove some obsolete commentary.
2138 93f2153 Improve the custom type of some user options.
2139 9f60d7e Mark some risky calendar variables.
2140 1d07dcd Highlight two additional SCSS keywords
2141 ee8b466 Recommend enabling integrity-checking in git
2142 e639e10 Some corrections in Elisp manual
2143 d766ca8 Chatter when autogen.sh changes Git configuration
2144 3b734e1 * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
2145 43cb9f8 Omit unnecessary history from Lisp intro
2146 2fbd1da * etc/HISTORY: Add some more history, plus git tags.
2147 c90e1b4 Improve elisp “Security Considerations” doc
2148 cedd7ca autogen.sh now arranges for git to check hashes
2149 86ce76b ; Fix ChangeLog.2 commit ID.
2150 7b1d2b1 Fix (c & 040) typo in emergency escapes
2151 a8273da Fix display of overlay strings with 'display' and 'box' property
2152 fc48106 Fix imap-starttls-open
2153 cdecbed Fix return value of imap-starttls-open
2154 20c7e34 ; * etc/NEWS: Fix renamed command name
2155 98bdbdb Correct reference to DARWIN_OS preprocessor symbol
2156 b250d29 Spelling fix
2157 b920a0e Spelling fixes
2158 93b144b Pacify GCC on C library without glibc API
2159
2160 2016-02-04 John Wiegley <johnw@newartisans.com>
2161
2162 Merge from origin/emacs-25
2163
2164 ea26c8a * lisp/net/browse-url.el (browse-url-default-browser): Lower
2165 priority of non-free Chrome.
2166 0fac75f Improve the custom type of some user options.
2167 2df0e04 Highlight CSS variables with variable name face
2168 3cf5e81 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not
2169 user-serviceable.
2170 2a5233c Mark some user options that can get evalled as risky.
2171 39b166f Disable DebPrint in sys_read on MS-Windows
2172 9fd0189 ;Fix ChangeLog entry
2173 4bb7233 Fix typos in Introduction to Emacs Lisp manual
2174
2175 2016-02-04 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
2176
2177 Allow sending empty hidden values in eww
2178
2179 * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
2180 values (bug#22388).
2181
2182 (cherry picked from commit 5898da8210af7953e638ddf7821c05260979c3f0)
2183
2184 Backport:
2185
2186 2016-02-04 David Edmondson <dme@dme.org>
2187
2188 Make erc work better when encountering unknown prefix chars
2189
2190 * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
2191 instead of erroring out on unknown prefix chars (bug#22380).
2192
2193 2016-02-04 Mark Oteiza <mvoteiza@udel.edu>
2194
2195 Add a new command to switch between erc buffers
2196
2197 * doc/misc/eww.texi: Document eww-switch-to-buffer and its keybinding
2198 * etc/NEWS: Mention new command
2199 * lisp/net/eww.el (eww-mode-map): Bind eww-switch-to-buffer to "s"
2200 (eww-mode-map): Add menu item
2201 (eww-switch-to-buffer): New command
2202
2203 2016-02-04 David Edmondson <dme@dme.org>
2204
2205 Make erc work better when encountering unknown prefix chars
2206
2207 * lisp/erc/erc.el (erc-channel-receive-names): Output a warning
2208 instead of erroring out on unknown prefix chars (bug#22380).
2209
2210 2016-02-04 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
2211
2212 Allow sending empty hidden values in eww
2213
2214 * lisp/net/eww.el (eww-tag-input): Allow sending empty hidden
2215 values (bug#22388).
2216
2217 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2218
2219 Make erc completion case-insensitive again
2220
2221 * lisp/erc/erc.el (erc-completion-at-point): Make erc completion
2222 case-insensitive again (bug#11360).
2223
2224 2016-02-04 Carlos Pita <carlosjosepita@gmail.com> (tiny change)
2225
2226 Make complection in erc use consistent casing
2227
2228 * lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make
2229 case in the complection consistent (bug#18509).
2230
2231 2016-02-04 Francis Litterio <flitterio@gmail.com>
2232
2233 Make /QUIT in erc more robust
2234
2235 * lisp/erc/erc.el (erc-kill-query-buffers): Don't bug out if we're
2236 issuing /QUIT to disconnected servers (bug#22099).
2237
2238 2016-02-04 Kevin Brubeck Unhammer <unhammer@fsfe.org> (tiny change)
2239
2240 Make tracking faces in Emacs work more reliably
2241
2242 * lisp/erc/erc-track.el (erc-faces-in): Always return lists of
2243 faces to avoid later ambiguity (bug#22424).
2244
2245 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2246
2247 Make shr not bug out on images on non-graphical displays
2248
2249 * lisp/net/shr.el (shr-put-image): Don't bug out on alt-less
2250 images on non-graphical displays (bug#22327).
2251
2252 2016-02-04 Andrew Hyatt <ahyatt@gmail.com>
2253
2254 Remove packages obsoleted before Emacs 24.
2255
2256 In accordance with the policy discussed in the emacs-devel list,
2257 packages that have been obsoleted for a full major release cycle are up
2258 for deletion.
2259
2260 This removes almost all packages that are now eligible for deletion,
2261 with the exception of "cl-compat", which seems it is likely to still be
2262 used, and "optional", which offers some functionality that doesn't have
2263 a replacement yet.
2264
2265 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2266
2267 Fix bookmark display widths
2268
2269 * lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
2270 preparing it so that the widths are computed correctly (bug#22328).
2271
2272 2016-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2273
2274 Fix typo in eww-make-unique-file-name
2275
2276 * lisp/net/eww.el (eww-make-unique-file-name): Make this function
2277 actually work.
2278
2279 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
2280
2281 Make it possible to TAB to input fields
2282
2283 * lisp/net/eww.el (eww-tag-input): Make it possible to TAB to
2284 input fields (bug#22540).
2285
2286 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
2287
2288 Insert complete alt texts when images are disabled
2289
2290 * lisp/net/shr.el (shr-tag-img): When images are disabled, insert
2291 the complete alt/title string (bug#22293).
2292
2293 2016-02-03 Lars Ingebrigtsen <larsi@gnus.org>
2294
2295 Allow eww text fields to grow
2296
2297 * lisp/net/eww.el (eww-process-text-input): Allow text fields to
2298 grow when typing in stuff that's longer than the original width.
2299
2300 2016-02-03 Dima Kogan <dima@secretsauce.net>
2301
2302 Make erc work when subword-mode is switched on
2303
2304 * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
2305 (erc-bounds-of-word-at-point): New functions to do word-based
2306 things when subword-mode is switched on.
2307
2308 * lisp/erc/erc-button.el (erc-button-add-nickname-buttons): Use them
2309 (bug#17558).
2310
2311 2016-02-03 Teemu Likonen <tlikonen@iki.fi>
2312
2313 Fix IMAP doc example
2314
2315 * doc/misc/gnus.texi (Client-Side IMAP Splitting): Fix example.
2316
2317 2016-02-03 Paul Eggert <eggert@cs.ucla.edu>
2318
2319 Quoting fixes in doc strings and diagnostics
2320
2321 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
2322 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
2323 (mml-smime-get-ldap-cert):
2324 Follow user style preference when quoting diagnostics.
2325
2326 2016-02-03 Paul Eggert <eggert@cs.ucla.edu>
2327
2328 Mention context when resume from emergency escape
2329
2330 That way, if the user has been doing something else for a while,
2331 they are reminded of the situation when restarting Emacs,
2332 and are more likely to understand the two questions.
2333 * doc/emacs/trouble.texi (Emergency Escape): Document this.
2334 * src/keyboard.c (handle_interrupt): Implement this.
2335
2336 2016-02-03 Noam Postavsky <npostavs@gmail.com>
2337
2338 Fix warning message in hack-local-variables
2339
2340 * lisp/files.el (hack-local-variables): use 'thisbuf' to reference
2341 the original buffer name in the warning message. (Bug#21681)
2342
2343 2016-02-03 Eli Zaretskii <eliz@gnu.org>
2344
2345 Etags: yet another improvement in Ruby tags
2346
2347 * lib-src/etags.c (Ruby_functions): Handle continuation lines in
2348 Ruby accessor definitions. (Bug#22241)
2349
2350 * test/etags/ruby-src/test1.ru (A::B#X): Add some more tests for
2351 accessors and multiline definitions.
2352 * test/etags/ETAGS.good_1:
2353 * test/etags/ETAGS.good_2:
2354 * test/etags/ETAGS.good_3:
2355 * test/etags/ETAGS.good_4:
2356 * test/etags/ETAGS.good_5:
2357 * test/etags/ETAGS.good_6:
2358 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
2359
2360 2016-02-03 Eli Zaretskii <eliz@gnu.org>
2361
2362 Fix x-popup-menu on TTYs without a mouse
2363
2364 * src/menu.c (Fx_popup_menu): Be sure to initialize 'x' and 'y'
2365 for the TTY case without a mouse. (Bug#22538)
2366
2367 2016-02-03 Nicolas Petton <nicolas@petton.fr>
2368
2369 * lisp/emacs-lisp/map.el: Improvements to the docstring of the pcase macro
2370
2371 2016-02-03 Paul Eggert <eggert@cs.ucla.edu>
2372
2373 Port aligned_alloc decl to Cygwin.
2374
2375 Problem reported by Ken Brown (Bug#22522#38).
2376 * configure.ac (aligned_alloc): Check for decl too.
2377 * src/lisp.h (aligned_alloc): Declare if not already declared.
2378
2379 2016-02-03 Paul Eggert <eggert@cs.ucla.edu>
2380
2381 autogen.sh now configures git only on request
2382
2383 * autogen.sh (do_autoconf, do_git): New vars.
2384 Support new arguments --help, all, autoconf, git.
2385 By default, just do autoconf-related configuration, not git.
2386 Prefer 'echo' to 'cat <<EOF ...', as this tends to avoid temp files.
2387 If GNU cp is available, use it to backup .git/config before
2388 changing it. When configuring git, chatter about what is being
2389 done, and configure git to check hashes. Avoid some duplicate
2390 file name specification when creating git hooks.
2391
2392 * GNUmakefile (ALL_IF_GIT): New macro.
2393 (configure): Use it.
2394 * INSTALL.REPO: Suggest './autogen.sh all'.
2395
2396 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
2397
2398 Use pop-to-buffer-same-window in eww
2399
2400 * lisp/net/eww.el: pop-to-buffer-same-window throughout instead of
2401 switch-to-buffer (bug#22244).
2402
2403 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
2404
2405 * autogen.sh: Revert all recent changes.
2406
2407 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
2408
2409 Build with C11 if available
2410
2411 * admin/merge-gnulib (GNULIB_MODULES): Add std-gnu11.
2412 * m4/std-gnu11.m4: New file, from gnulib.
2413 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2414
2415 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
2416
2417 Update gnulib copy
2418
2419 * doc/misc/texinfo.tex: Copy from gnulib.
2420
2421 2016-02-02 Glenn Morris <rgm@gnu.org>
2422
2423 * make-dist: Updates related to nt/.
2424
2425 * make-dist: Add modules/.
2426
2427 * make-dist: Update for super-special file that can't live in etc/.
2428
2429 2016-02-02 Eli Zaretskii <eliz@gnu.org>
2430
2431 Fix failure to compile ns-win.el in parallel builds
2432
2433 * src/Makefile.in ($(lispsource)/term/ns-win.elc): Add order-only
2434 dependency on $(lispsource)/international/charprop.el.
2435 (Bug#22501)
2436
2437 2016-02-02 Eli Zaretskii <eliz@gnu.org>
2438
2439 Fix names of tags generated for Ruby accessors
2440
2441 * lib-src/etags.c (Ruby_functions): Don't include the leading
2442 colon ':' in tags for Ruby accessors and aliases. (Bug#22241)
2443
2444 * test/etags/ETAGS.good_1:
2445 * test/etags/ETAGS.good_2:
2446 * test/etags/ETAGS.good_3:
2447 * test/etags/ETAGS.good_4:
2448 * test/etags/ETAGS.good_5:
2449 * test/etags/ETAGS.good_6:
2450 * test/etags/CTAGS.good: Adapt to changes in Ruby tags.
2451
2452 2016-02-02 Glenn Morris <rgm@gnu.org>
2453
2454 * lisp/vc/add-log.el (change-log-directory-files, find-change-log):
2455 Doc tweaks.
2456
2457 2016-02-02 Eli Zaretskii <eliz@gnu.org>
2458
2459 Fix file-name recognition in 'etags'
2460
2461 * lib-src/etags.c (get_language_from_filename): If FILE includes a
2462 leading directory, compare only its basename to the known file
2463 names in lang_names[].
2464
2465 * test/etags/Makefile (RBSRC): Adapt to recent test1.ruby
2466 renaming.
2467 * test/etags/ETAGS.good_1:
2468 * test/etags/ETAGS.good_2:
2469 * test/etags/ETAGS.good_3:
2470 * test/etags/ETAGS.good_4:
2471 * test/etags/ETAGS.good_5:
2472 * test/etags/ETAGS.good_6:
2473 * test/etags/CTAGS.good: Adapt to changes in Ruby file names and
2474 to the results in Makefile due to the above etags.c fix.
2475
2476 2016-02-02 Eli Zaretskii <eliz@gnu.org>
2477
2478 Change Ruby file names and extensions recognized by 'etags'
2479
2480 * lib-src/etags.c <Ruby_filenames>: New variable, holds names
2481 of Ruby files.
2482 <Ruby_suffixes>: Treat .rb, .ru, and .rbw as Ruby extensions.
2483 <lang_names>: Add Ruby_filenames to the Ruby entry.
2484 * test/etags/ruby-src/test1.ru: Renamed from test1.ruby.
2485 (Bug#22241)
2486
2487 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
2488
2489 Port better to platforms lacking aligned_alloc
2490
2491 Problem reported by Ken Brown (Bug#22522).
2492 * src/lisp.h (hybrid_aligned_alloc)
2493 [HYBRID_MALLOC && !HAVE_ALIGNED_ALLOC]: New decl.
2494
2495 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
2496
2497 Port malloc.h hygiene fix to LTO
2498
2499 * src/alloc.c (__malloc_initialize_hook):
2500 Make it externally visible (Bug#22522).
2501
2502 2016-02-02 Eli Zaretskii <eliz@gnu.org>
2503
2504 More improvements for Ruby support in 'etags'
2505
2506 * lib-src/etags.c (Ruby_functions): Tag Ruby accessors and
2507 alias_method. Identify constants even if the assignment is not
2508 followed by whitespace. (Bug#22241)
2509
2510 * test/etags/ruby-src/test1.ruby: Add tests for constants,
2511 accessors, and alias_method.
2512 * test/etags/ETAGS.good_1:
2513 * test/etags/ETAGS.good_2:
2514 * test/etags/ETAGS.good_3:
2515 * test/etags/ETAGS.good_4:
2516 * test/etags/ETAGS.good_5:
2517 * test/etags/ETAGS.good_6:
2518 * test/etags/CTAGS.good: Adapt to changes in Ruby tests.
2519
2520 2016-02-02 Paul Eggert <eggert@cs.ucla.edu>
2521
2522 Add --git-config option to autogen.sh
2523
2524 * autogen.sh: New options --git-config, --help.
2525 (git_config): New shell var. Alter function to respect this var.
2526
2527 2016-02-02 Lars Ingebrigtsen <larsi@gnus.org>
2528
2529 Fix editing undo changes in eww fields
2530
2531 * eww.el (eww-tag-form): Don't overwrite initial form data in text
2532 fields.
2533 (eww-process-text-input): Make `M-t' at the end of text fields work
2534 better (bug#19085).
2535
2536 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2537
2538 Allow the user more control of popping up the eww window
2539
2540 * eww.el (eww): Use pop-to-buffer-same-window (suggested by
2541 Michael Heerdegen) (bug#22244).
2542
2543 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2544
2545 Make eww-browse-url with new-window parameter work again
2546
2547 * eww.el (eww-browse-url): Stay in the same buffer if we're
2548 already in a eww mode buffer so that eww-browse-url with a
2549 new-window parameter works (bug#22244).
2550
2551 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2552
2553 Clean up eww code slightly
2554
2555 * eww.el (eww-browse-url): Clean up code slightly.
2556
2557 2016-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2558
2559 Don't insert nil faces in shr
2560
2561 * shr.el (shr-insert-table): Don't add nil faces, because that
2562 will show up in *Messages* as "Invalid face reference: nil [32
2563 times]".
2564
2565 2016-02-01 Glenn Morris <rgm@gnu.org>
2566
2567 Make find-change-log prefer a VCS root, if no ChangeLog exists.
2568
2569 * lisp/vc/add-log.el (change-log-directory-files): New option.
2570 (find-change-log): Respect change-log-directory-files.
2571 * doc/emacs/maintaining.texi (Change Log Commands):
2572 Mention change-log-directory-files.
2573
2574 2016-02-01 Glenn Morris <rgm@gnu.org>
2575
2576 Improve the custom type of some user options.
2577
2578 * lisp/autoinsert.el (auto-insert-alist):
2579 * lisp/replace.el (query-replace-from-to-separator):
2580 * lisp/gnus/gnus-art.el (gnus-hidden-properties):
2581 * lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties):
2582 * lisp/gnus/gnus-picon.el (gnus-picon-properties):
2583 * lisp/progmodes/prolog.el (prolog-keywords, prolog-types)
2584 (prolog-mode-specificators, prolog-determinism-specificators)
2585 (prolog-directives, prolog-program-name, prolog-program-switches)
2586 (prolog-consult-string, prolog-compile-string, prolog-eof-string)
2587 (prolog-prompt-regexp): Improve custom type.
2588
2589 2016-02-01 Glenn Morris <rgm@gnu.org>
2590
2591 Mark some risky calendar variables.
2592
2593 * lisp/calendar/cal-china.el (chinese-calendar-time-zone):
2594 Remove risky setting for deleted obsolete alias.
2595 (calendar-chinese-standard-time-zone-name)
2596 (calendar-chinese-daylight-saving-start)
2597 (calendar-chinese-daylight-saving-end):
2598 * lisp/calendar/calendar.el (calendar-iso-date-display-form)
2599 (calendar-european-date-display-form)
2600 (calendar-american-date-display-form, calendar-date-display-form):
2601 * lisp/calendar/diary-lib.el (diary-remind-message)
2602 (diary-header-line-format):
2603 * lisp/calendar/solar.el (calendar-time-display-form)
2604 (calendar-location-name): Mark as risky.
2605
2606 2016-02-01 Simen Heggestøyl <simenheg@gmail.com>
2607
2608 Highlight two additional SCSS keywords
2609
2610 * lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
2611 identifiers on the form !foo.
2612 (scss-bang-ids): New defconst holding SCSS identifiers on the form
2613 !foo.
2614 (css--font-lock-keywords): Highlight the new SCSS bang identifiers in
2615 `font-lock-builtin-face'.
2616
2617 * test/indent/css-mode.css: Add bang rule test case.
2618
2619 * test/indent/scss-mode.css: Add test cases for the introduced bang
2620 rules.
2621
2622 2016-02-01 Karl Fogel <kfogel@red-bean.com>
2623
2624 Recommend enabling integrity-checking in git
2625
2626 * admin/notes/git-workflow: Recommend setting transfer.fsckObjects.
2627
2628 This is related to the autogen.sh changes made by Paul Eggert in
2629 commit d766ca8f (2016-02-01) and commit cedd7cad (2016-02-01), and to
2630 my edits today to http://www.emacswiki.org/emacs/GitForEmacsDevs and
2631 to emacswiki.org/emacs/GitQuickStartForEmacsDevs. See also the thread
2632 "Recommend these .gitconfig settings for git integrity." at
2633 https://lists.gnu.org/archive/html/emacs-devel/2016-01/threads.html#01802.
2634
2635 2016-02-01 Martin Rudalics <rudalics@gmx.at>
2636
2637 Some corrections in Elisp manual
2638
2639 * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
2640 argument POSITION.
2641 * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
2642 is an option.
2643 * doc/lispref/display.texi (Refresh Screen): Describe optional
2644 argument FRAME of `redraw-frame'.
2645 (Attribute Functions): Describe optional argument CHARACTER of
2646 `face-font'.
2647 (Defining Images): `image-load-path' is an option.
2648 (Beeping): `ring-bell-function' is an option.
2649 * doc/lispref/frames.texi (Size and Position): The PIXELWISE
2650 argument of `set-frame-size' is optional.
2651 (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
2652 is optional.
2653 * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
2654 `set-transient-map'.
2655 * doc/lispref/minibuf.texi (Text from Minibuffer):
2656 `read-regexp-defaults-function' is an option.
2657 (Minibuffer Contents): `delete-minibuffer-contents' is a command.
2658 * doc/lispref/modes.texi (Mode Line Variables):
2659 `mode-line-position' and `mode-line-modes' are variables, not
2660 options.
2661 * doc/lispref/strings.texi (Creating Strings): The START argument
2662 of `substring' is optional.
2663 * doc/lispref/text.texi (Buffer Contents): Describe optional
2664 argument NO-PROPERTIES of `thing-at-point'.
2665 (User-Level Deletion): Both arguments of
2666 `delete-trailing-whitespace' are optional.
2667 (Margins): Use @key{RET} instead of @kbd{RET}.
2668 * doc/lispref/windows.texi (Display Action Functions): Write
2669 non-@code{nil} instead of non-nil.
2670 (Choosing Window Options): The WINDOW arg of
2671 `split-window-sensibly' is optional.
2672 (Choosing Window Options): Write non-@code{nil} instead of
2673 non-nil.
2674 (Window Start and End): Both args of `window-group-end' are
2675 optional.
2676
2677 * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
2678 to POSITION to keep consisteny with doc-string.
2679
2680 2016-02-01 Paul Eggert <eggert@cs.ucla.edu>
2681
2682 Double static heap size.
2683
2684 * src/sheap.h (STATIC_HEAP_SIZE): Double it, since it was too
2685 small on FreeBSD (Bug#22086).
2686
2687 2016-02-01 Paul Eggert <eggert@cs.ucla.edu>
2688
2689 Chatter when autogen.sh changes Git configuration
2690
2691 * autogen.sh (git_config): New function. Use it instead of ‘git config’.
2692
2693 2016-02-01 Kyle Meyer <kyle@kyleam.com>
2694
2695 * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
2696
2697 2016-02-01 Michael Albinus <michael.albinus@gmx.de>
2698
2699 Fix Bug#20821
2700
2701 * lisp/net/tramp.el (tramp-file-name-handler):
2702 * lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
2703 Use `tramp-drop-volume-letter'. (Bug#20821)
2704
2705 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2706
2707 Omit unnecessary history from Lisp intro
2708
2709 * doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
2710 (Conclusion): Reword so as not to talk about earlier versions
2711 of Emacs in what should be an intro.
2712
2713 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2714
2715 * etc/HISTORY: Add some more history, plus git tags.
2716
2717 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2718
2719 Improve elisp “Security Considerations” doc
2720
2721 * doc/lispref/os.texi (Security Considerations):
2722 Mention call-process and rename-file as opposed to shell commands.
2723 Add some more cross-references.
2724
2725 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2726
2727 autogen.sh now arranges for git to check hashes
2728
2729 Suggested by Karl Fogel in:
2730 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
2731 * autogen.sh: Do "git config transfer.fsckObjects true".
2732
2733 2016-01-31 Dave Barker <kzar@kzar.co.uk>
2734
2735 Add ability to give rcirc servers an alias name
2736
2737 * lisp/net/rcirc.el (rcirc-server-alist): Add :server-alias
2738 customization option.
2739 (rcirc, rcirc-connect): Take server alias into account.
2740
2741 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2742
2743 Fix (c & 040) typo in emergency escapes
2744
2745 * src/keyboard.c (handle_interrupt): Fix recently-introduced
2746 typo (040 should have been ~040) that silently suppressed
2747 auto-saves after emergency escapes. Redo comparison to avoid
2748 similar problems.
2749
2750 2016-01-31 Paul Eggert <eggert@cs.ucla.edu>
2751
2752 Port new hybrid malloc to FreeBSD
2753
2754 Problem reported by Wolfgang Jenkner in: http://bugs.gnu.org/22086#118
2755 * src/gmalloc.c (__malloc_initialize_hook, __after_morecore_hook)
2756 (__morecore) [HYBRID_MALLOC]: Define in this case too.
2757
2758 2016-01-31 Wolfgang Jenkner <wjenkner@inode.at>
2759
2760 * configure.ac: Stop using mmap for buffers for FreeBSD.
2761
2762 2016-01-31 Eli Zaretskii <eliz@gnu.org>
2763
2764 Fix display of overlay strings with 'display' and 'box' property
2765
2766 * src/xdisp.c (get_next_display_element): Take the box face from
2767 display stack level that comes from a buffer, not an overlay
2768 string. (Bug#22499)
2769
2770 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
2771
2772 Fix imap-starttls-open
2773
2774 * lisp/net/imap.el (imap-starttls-open): Log imap process
2775 output. Call imap-parse-greeting. (Bug#22500)
2776
2777 2016-01-31 Michael Albinus <michael.albinus@gmx.de>
2778
2779 Merge changes from Tramp repository
2780
2781 * doc/misc/Makefile.in (${buildinfodir}/tramp.info tramp.html):
2782 No EXTRA_OPTS needed.
2783
2784 * doc/misc/tramp.texi: Merge changes from Emacsemacs-25
2785 branch, especially for @trampfn{}.
2786 (Top): Move @ifnottex down.
2787 (History): XEmacs support has been removed.
2788 (GVFS based methods, Remote processes): Do not use emacsgvfs flag.
2789 (Auto-save and Backup): Use both syntax versions.
2790 (File name Syntax): Remark on IPv6 adresses is valid for
2791 unified syntax only.
2792
2793 * doc/misc/trampver.texi: Do not set emacsgvfs flag.
2794
2795 2016-01-31 Andreas Schwab <schwab@linux-m68k.org>
2796
2797 Fix return value of imap-starttls-open
2798
2799 * lisp/net/imap.el (imap-starttls-open): Fix return value.
2800
2801 2016-01-31 John Wiegley <johnw@newartisans.com>
2802
2803 Correct reference to DARWIN_OS preprocessor symbol
2804
2805 * src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
2806 not be defined.
2807
2808 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2809
2810 Spelling fixes
2811
2812 Spelling fix
2813
2814 Spelling fixes
2815
2816 2016-01-30 Glenn Morris <rgm@gnu.org>
2817
2818 * lisp/vc/add-log.el (find-change-log): Use locate-dominating-file.
2819
2820 2016-01-30 Matthew Carter <m@ahungry.com>
2821
2822 Quote table names for postgres listings (sql-mode)
2823
2824 * lisp/progmodes/sql.el (sql-postgres-completion-object): Avoid passing
2825 unquoted table names to the completion list.
2826
2827 2016-01-30 Glenn Morris <rgm@gnu.org>
2828
2829 Change Smerge "Mine" and "Other" for "Upper" and "Lower. (Bug#20878)
2830
2831 * lisp/vc/smerge-mode.el (smerge-diff-switches)
2832 (smerge-context-menu, smerge-match-conflict, smerge-swap): Doc fixes.
2833 (smerge-upper, smerge-upper-face, smerge-keep-upper)
2834 (smerge-diff-base-upper): Rename from smerge-mine, smerge-mine-face,
2835 smerge-keep-mine, smerge-diff-base-mine. Update all uses.
2836 (smerge-mine-face, smerge-other-face): Remove obsolete face aliases.
2837 (smerge-lower, smerge-lower-face, smerge-lower-re, smerge-keep-lower)
2838 (smerge-diff-base-lower): Rename from smerge-other, smerge-other-face,
2839 smerge-other-re, smerge-keep-other, smerge-diff-base-lower.
2840 Update all uses.
2841 (smerge-basic-map): Add "l" and "u" bindings.
2842 (smerge-mode-menu): Update menu bindings for renaming.
2843 (smerge-font-lock-keywords): Update face names.
2844 (smerge-match-names): Update names.
2845 (smerge-diff-upper-lower): Rename from smerge-diff-mine-other.
2846 (smerge-match-conflict, smerge-ediff): Rename local variables.
2847 (smerge-makeup-conflict): Relabel markers.
2848 (smerge-parsep-re): Use renamed variables.
2849
2850 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2851
2852 Port recent my_edata change to MS-Windows
2853
2854 * src/lastfile.c (my_edata): Also define if WINDOWSNT.
2855
2856 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2857
2858 Pacify GCC on C library without glibc API
2859
2860 Without this change, with --enable-gcc-warnings GCC would complain
2861 “error: redundant redeclaration of ‘aligned_alloc’”.
2862 * configure.ac: Simplify aligned_alloc testing.
2863 * src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
2864 since the simplified configure.ac no longer checks for that.
2865 Don’t declare if HAVE_ALIGNED_ALLOC.
2866 Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
2867
2868 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2869
2870 Tell Automake the new lib/Makefile.am is OK
2871
2872 * lib/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
2873
2874 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2875
2876 Make it easy to override preferred-branch test
2877
2878 * Makefile.in (preferred-branch-is-current):
2879 Rename from emacs-25-branch-is-current. All uses changed.
2880 (PREFERRED_BRANCH): New macro.
2881
2882 2016-01-30 Glenn Morris <rgm@gnu.org>
2883
2884 * lisp/net/browse-url.el (browse-url-default-browser):
2885 Lower priority of non-free Chrome.
2886
2887 2016-01-30 Glenn Morris <rgm@gnu.org>
2888
2889 Improve the custom type of some user options.
2890
2891 * lisp/desktop.el (desktop-minor-mode-table):
2892 * lisp/man.el (Man-frame-parameters):
2893 * lisp/midnight.el (midnight-delay):
2894 * lisp/speedbar.el (speedbar-select-frame-method):
2895 * lisp/tooltip.el (tooltip-frame-parameters):
2896 * lisp/tree-widget.el (tree-widget-space-width):
2897 * lisp/type-break.el (type-break-keystroke-threshold):
2898 * lisp/woman.el (woman-imenu-generic-expression):
2899 * lisp/cedet/ede.el (ede-debug-program-function):
2900 * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
2901 * lisp/emulation/viper-keym.el (viper-toggle-key):
2902 * lisp/erc/erc-networks.el (erc-server-alist):
2903 * lisp/gnus/message.el (message-deletable-headers, message-signature):
2904 * lisp/mail/mailalias.el (mail-directory-stream):
2905 * lisp/play/tetris.el (tetris-x-colors):
2906 * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
2907
2908 2016-01-30 Simen Heggestøyl <simenheg@gmail.com>
2909
2910 Highlight CSS variables with variable name face
2911
2912 * lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
2913 (css--font-lock-keywords): Highlight variables in
2914 `font-lock-variable-name-face'.
2915
2916 2016-01-30 Glenn Morris <rgm@gnu.org>
2917
2918 * lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
2919
2920 2016-01-30 Glenn Morris <rgm@gnu.org>
2921
2922 Mark some user options that can get evalled as risky.
2923
2924 * lisp/allout.el (allout-title):
2925 * lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
2926 * lisp/gnus/message.el (message-mailer-swallows-blank-line):
2927 * lisp/progmodes/gud.el (gud-tooltip-display):
2928 * lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
2929 Mark as risky.
2930
2931 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2932
2933 Disable DebPrint in sys_read on MS-Windows
2934
2935 * src/w32.c (sys_read): Disable a debugging print that is normal
2936 when non-blocking reads are retried.
2937
2938 2016-01-30 Martin Rudalics <rudalics@gmx.at>
2939
2940 ;Fix ChangeLog entry
2941
2942 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2943
2944 Fix typos in Introduction to Emacs Lisp manual
2945
2946 * doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
2947 (kill-new function, Digression into C)
2948 (Complete forward-sentence, Divide and Conquer, Find a File)
2949 (lengths-list-many-files, Columns of a graph, defcustom)
2950 (recursive-count-words): Fix typos. Reported by Daniel Bastos
2951 <dbastos@toledo.com>.
2952
2953 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2954
2955 Shrink static heap a bit
2956
2957 * src/sheap.h: Include lisp.h, for Lisp_Object.
2958 (STATIC_HEAP_SIZE): Now an enum constant, not a macro.
2959 Make it 2 MiB * sizeof (Lisp_Object), which is a bit more
2960 conservative than the old value.
2961 (Bug#22086)
2962
2963 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2964
2965 Fix extern symbols defined and not used
2966
2967 * src/alloc.c: Always include <signal.h>.
2968 (malloc_warning) [!SIGDANGER && (SYSTEM_MALLOC || HYBRID_MALLOC)]:
2969 Do not define; unused.
2970 * src/emacs.c, src/lisp.h (might_dump) [!DOUG_LEA_MALLOC]: Now static.
2971 * src/gmalloc.c (gdefault_morecore): Rename from __default_morecore,
2972 to avoid collision with glibc. Now static. All uses changed.
2973 * src/lastfile.c (my_edata): Define only if
2974 ((!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC && !defined
2975 WINDOWSNT) \ || defined CYGWIN || defined DARWIN_OS).
2976 (Bug#22086)
2977
2978 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2979
2980 Build lib/e-*.o only on platforms that need it
2981
2982 * configure.ac (hybrid malloc): Simplify configuration.
2983 (SHEAP_OBJ): Remove; no longer needed.
2984 (HYBRID_MALLOC): New var. Subst it.
2985 (HYBRID_MALLOC_LIB): New Automake conditional.
2986 * lib/Makefile.am (noinst_LIBRARIES): Add libegnu.a only if
2987 HYBRID_MALLOC_LIB.
2988 (libegnu_a_CPPFLAGS): Omit AM_CPPFLAGS; not needed.
2989 (MOSTLYCLEANFILES): Add libegnu.a.
2990 * src/Makefile.in (SHEAP_OBJ): Remove.
2991 (HYBRID_MALLOC): New macro.
2992 (base_obj): Use it to conditionally add sheap.o.
2993 (LIBEGNU_ARCHIVE): New macro.
2994 ($(LIBEGNU_ARCHIVE)): New rule, replacing $(lib)/libegnu.a.
2995 All uses of the latter replaced by the former.
2996 * src/alloc.c (USE_ALIGNED_ALLOC): Simplify configuration.
2997 Correct misspelling ALIGNED_ALLOC to HAVE_ALIGNED_ALLOC.
2998 * src/gmalloc.c: Update comment.
2999 * src/lisp.h (aligned_alloc)
3000 [!DOUG_LEA_MALLOC && !HYBRID_MALLOC && !SYSTEM_MALLOC]:
3001 New decl.
3002 (Bug#22086)
3003
3004 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3005
3006 Include <malloc.h> when advisable
3007
3008 This should help insulate us better from future glibc changes.
3009 It is good hygiene to include .h files for APIs that Emacs uses.
3010 Fix type clashes between Emacs and GNU <malloc.h> (Bug#22086).
3011 * configure.ac: Check for malloc.h.
3012 * src/alloc.c: Include <malloc.h> depending on HAVE_MALLOC_H,
3013 not on DOUG_LEA_MALLOC.
3014 * src/emacs.c, src/gmalloc.c (malloc_enable_thread):
3015 Remove decl (now in lisp.h).
3016 * src/gmalloc.c: Include stddef.h earlier, for ptrdiff_t.
3017 [emacs]: Include lisp.h.
3018 [HAVE_MALLOC_H]: Include <malloc.h>.
3019 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
3020 (__after_morecore_hook, __malloc_initialize_hook, __morecore)
3021 (__default_morecore):
3022 [!HAVE_MALLOC_H]: New decls near non-inclusion of <malloc.h>.
3023 (calloc): Make it clear that the macro should not be used.
3024 Remove unused decl.
3025 (malloc_info): New macro, to avoid clash with glibc <malloc.h>.
3026 (__morecore, __default_morecore, __after_morecore_hook)
3027 (__malloc_extra_blocks, __malloc_initialize_hook, __free_hook)
3028 (__malloc_hook, __realloc_hook, __memalign_hook, memory_warnings):
3029 Remove later decls.
3030 (gmalloc_hook, gfree_hook, grealloc_hook):
3031 Rename from __malloc_hook, __free_hook, __realloc_hook to
3032 avoid type collision with glibc <malloc.h>. All uses changed.
3033 (gmalloc_hook):
3034 (__malloc_extra_blocks) [DOUG_LEA_MALLOC||HYBRID_MALLOC||SYSTEM_MALLOC]:
3035 Now static.
3036 (gmalloc_hook, __malloc_extra_blocks): Define even if [!HYBRID_MALLOC].
3037 (__malloc_initialize_hook, __after_morecore_hook):
3038 Declare with types compatible with glibc.
3039 (__memalign_hook, hybrid_calloc) [HYBRID_MALLOC]:
3040 Remove. All uses removed.
3041 * src/lisp.h (__malloc_extra_blocks, malloc_enable_thread): New decls.
3042 * src/ralloc.c, src/vm-limit.c:
3043 Simplify includes and include <malloc.h> if available.
3044
3045 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3046
3047 * src/alloc.c: Include "sheap.h".
3048
3049 (alloc_unexec_pre, alloc_unexec_post) [HYBRID_MALLOC]:
3050 Set and clear bss_sbrk_did_unexec, on all platforms not just Cygwin.
3051 * src/lisp.h (alloc_unexec_pre, alloc_unexec_post) [!DOUG_LEA_MALLOC]:
3052 Declare unconditionally.
3053 * src/unexcw.c, src/unexelf.c (bss_sbrk_did_unexec): Remove decl.
3054 (unexec): Don’t set or clear bss_sbrk_did_unexec;
3055 the caller now does this.
3056 (Bug#22086)
3057
3058 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3059
3060 Pacify --enable-gcc-warnings when HYBRID_MALLOC
3061
3062 * src/buffer.c (init_buffer):
3063 * src/emacs.c (main):
3064 * src/xsmfns.c (smc_save_yourself_CB, x_session_initialize):
3065 Use emacs_get_current_dir_name, not get_current_dir_name.
3066 * src/conf_post.h (aligned_alloc) [HYBRID_MALLOC && emacs]: New macro.
3067 (HYBRID_GET_CURRENT_DIR_NAME, get_current_dir_name): Remove.
3068 * src/emacs.c: Include "sheap.h".
3069 (report_sheap_usage): Remove decl.
3070 (Fdump_emacs) [HYBRID_MALLOC]: Report usage directly.
3071 Don't assume ptrdiff_t can be printed as int.
3072 * src/gmalloc.c [HYBRID_MALLOC]:
3073 Include "sheap.h" rather than declaring its contents by hand.
3074 (get_current_dir_name, gget_current_dir_name)
3075 (hybrid_get_current_dir_name): Remove.
3076 (emacs_abort): Remove duplicate decl.
3077 (aligned_alloc): Undef, like malloc etc.
3078 (ALLOCATED_BEFORE_DUMPING): Now a static function, not a macro.
3079 Make it a bit more efficient.
3080 (malloc_find_object_address): Remove unused decl.
3081 (enum mcheck_status, mcheck, mprobe, mtrace, muntrace, struct mstats)
3082 (mstats, memory_warnings): Declare only if GC_MCHECK.
3083 * src/lisp.h (emacs_get_current_dir_name):
3084 New decl, replacing get_current_dir_name.
3085 * src/sheap.c: Include sheap.h first.
3086 (STATIC_HEAP_SIZE): Remove; now in sheap.h.
3087 (debug_sheap): Now static.
3088 (bss_sbrk_buffer_end): Remove; no longer used.
3089 (bss_sbrk_ptr): Now static and private.
3090 (bss_sbrk_did_unexec): Now bool.
3091 (BLOCKSIZE): Remove, to avoid GCC warning about its not being used.
3092 (bss_sbrk): Don't treat request_size 0 as special, since the code
3093 works without this being a special case.
3094 Avoid overflow if request size exceeds INT_MAX.
3095 (report_sheap_usage): Remove; now done in emacs.c.
3096 * src/sheap.h: New file.
3097 * src/sysdep.c (get_current_dir_name): Remove macro.
3098 Include "sheap.h".
3099 (emacs_get_current_dir_name): Rename function from
3100 get_current_dir_name. Handle HYBRID_MALLOC here;
3101 this is simpler.
3102 (Bug#22086)
3103
3104 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3105
3106 Report static heap usage on non-Cygwin, too
3107
3108 * src/emacs.c (Fdump_emacs) [HYBRID_MALLOC]: Report sheap usage here ...
3109 * src/unexcw.c (unexec): ... instead of here, since sheap can be used
3110 on platforms other than Cygwin (Bug#22086).
3111
3112 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3113
3114 Pacify GCC on extern decls
3115
3116 * src/unexelf.c (bss_sbrk_did_unexec): Move decl to top level
3117 to pacify recent GCC (Bug#22086).
3118
3119 2016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
3120
3121 Add musl patch to support HYBRID_MALLOC on elf systems
3122
3123 * src/gmalloc.c: Adjust for HYBRID_MALLOC in the non CYGWIN case.
3124 (__default_morecore): Here, in particular.
3125 * configure.ac: Define HYBRID_MALLOC when unexelf.o is used.
3126 New variable SHEAP_OBJ.
3127 * src/Makefile.in: Use it.
3128 (Bug#22086)
3129
3130 2016-01-30 Rich Felker <dalias@libc.org> (tiny change)
3131
3132 unexelf.c hook to support HYBRID_MALLOC on ELF
3133
3134 * src/unexelf.c (unexec) [HYBRID_MALLOC]:
3135 Define bss_sbrk_did_unexec (Bug#22086).
3136
3137 2016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
3138
3139 Link temacs with gnulib compiled with -Demacs
3140
3141 This is done to support HYBRID_MALLOC, since some static variables
3142 (e.g., last_environ in putenv.c) hold pointers to memory malloced
3143 before dumping (Bug#22086).
3144 * lib/Makefile.am: Add incantation to install libegnu.a.
3145 * src/Makefile.in ($(lib)/libgnu.a): Replace with libegnu.a
3146 (temacs$(EXEEXT)): Use it.
3147
3148 2016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
3149
3150 Internal linkage for gmalloc etc. if HYBRID_MALLOC
3151
3152 This avoids clashes with symbols if the after-dump malloc is
3153 derived from Doug Lea's implementation (Bug#22086).
3154
3155 * src/gmalloc.c (emacs_abort, __morecore, __default_morecore):
3156 Move declarations up. For HYBRID_MALLOC, turn all `extern'
3157 declarations below to `static' ones.
3158 (aligned_alloc): Declare for !MSDOS as well.
3159 (heapsize, _fraghead): Move resp. copy declaration downwards.
3160 For HYBRID_MALLOC, conditionalize out the other definitions,
3161 since the previous `static' declarations double as tentative
3162 definitions, anyway.
3163 (_malloc, _free, _realloc, __free_hook, _aligned_blocks)
3164 (__realloc_hook, __memalign_hook): Conditionalize out.
3165 (cfree, memalign, valloc): Ditto.
3166
3167 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3168
3169 Merge from origin/emacs-25
3170
3171 3f481ad Rename xref-query-replace to xref-query-replace-in-results
3172 62f4ed4 Update cl-defgeneric and cl-defmethod docstrings
3173 2111e0e Comment out next-error-function integration in xref
3174 4e11ad3 Correct a use of "which" in intro.texi
3175 a1865bc Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
3176 76045f7 Don't operate on menu bar of nonexistent frame
3177 c32f3bc Unbreak the GNUstep build.
3178
3179 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
3180
3181 Re-enable checks in member, memql, delete to complain about non-lists
3182
3183 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
3184
3185 2016-02-04 Martin Rudalics <rudalics@gmx.at>
3186
3187 Minor doc(-string) tweaks
3188
3189 * lisp/window.el (window-in-direction): Fix doc-string typo.
3190 * doc/lispref/frames.texi (Frame Font): Mention canonical
3191 character width/height.
3192 * doc/lispref/windows.texi (Windows and Frames): Clarify
3193 handling of minibuffer window for `window-in-direction'.
3194 (Window Sizes): Minor tweaks in descriptions of
3195 `window-max-chars-per-line', `window-min-width' and
3196 `window-min-size'.
3197 (Deleting Windows): Minor tweak in `delete-window' description.
3198 (Selecting Windows): Clarify window use time description.
3199 (Cyclic Window Ordering): Minor tweak.
3200 (Switching Buffers): Clarify description of
3201 `switch-to-buffer-in-dedicated-window'.
3202
3203 2016-02-04 Eli Zaretskii <eliz@gnu.org>
3204
3205 Remove some useless-use-of eval.
3206
3207 * lisp/gnus/gnus.el (gnus-load-hook): Don't use eval.
3208 * lisp/gnus/nnrss.el (xml): Simply require it.
3209 (xml-rpc-method-call): Use declare-function.
3210
3211 2016-01-28 Glenn Morris <rgm@gnu.org>
3212
3213 Don't use eval to quieten prolog.el compilation.
3214
3215 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
3216 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
3217
3218 2016-01-28 Glenn Morris <rgm@gnu.org>
3219
3220 Mark some risky prolog variables.
3221
3222 * lisp/progmodes/prolog.el (prolog-system-version)
3223 (prolog-keywords, prolog-types, prolog-mode-specificators)
3224 (prolog-determinism-specificators, prolog-directives)
3225 (prolog-program-name, prolog-program-switches)
3226 (prolog-consult-string, prolog-compile-string)
3227 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
3228 Mark anything processed by prolog-find-value-by-system as risky.
3229
3230 2016-01-28 Glenn Morris <rgm@gnu.org>
3231
3232 * lisp/custom.el (defcustom): Doc fix.
3233
3234 * doc/lispref/customize.texi (Variable Definitions):
3235 Defcustom should always have a type.
3236
3237 2016-01-28 Glenn Morris <rgm@gnu.org>
3238
3239 * lisp/emacs-lisp/bytecomp.el (byte-compile-nogroup-warn):
3240 Warn if defcustom has no type. (Bug#16276)
3241
3242 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
3243 Fix :type.
3244
3245 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
3246
3247 2016-01-28 Michael Albinus <michael.albinus@gmx.de>
3248
3249 Fix Bug#22452
3250
3251 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
3252 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3253 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
3254 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
3255 Mark it as connected.
3256
3257 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
3258 connection property "connected" is set. (Bug#22452)
3259
3260 2016-01-27 Glenn Morris <rgm@gnu.org>
3261
3262 * test/lisp/vc/vc-hg.el: Move from test/automated/.
3263
3264 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
3265
3266 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
3267 if not compiled with xwidgets.
3268
3269 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
3270
3271 C-u C-x = example doc fix
3272
3273 * doc/emacs/mule.texi (International Chars):
3274 Adjust example to match current behavior of C-u C-x =.
3275
3276 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
3277
3278 malloc.h hygiene
3279
3280 This attempts to future-proof Emacs a bit against possible glibc
3281 changes, by having Emacs use <malloc.h> declarations rather than
3282 coding them up by hand. Problem noted by Florian Weimer in:
3283 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
3284 Implement this mainly by moving malloc.h-related functions from
3285 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
3286 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
3287 New function.
3288 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
3289 (alloc_unexec_pre, alloc_unexec_post): New functions.
3290 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
3291 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
3292 (__malloc_initialize_hook): Use it.
3293 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
3294 Move here from ...
3295 * src/emacs.c: ... here.
3296 (malloc_get_state, malloc_set_state): Remove extern decls.
3297 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
3298 All uses changed to similarly-named new function.
3299 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
3300 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
3301 New decls.
3302
3303 2016-01-26 Eli Zaretskii <eliz@gnu.org>
3304
3305 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
3306
3307 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
3308
3309 Remove never-set var handle_user_signal_hook
3310
3311 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
3312 Remove never-set var. All uses removed.
3313
3314 2016-01-26 Anders Lindgren <andlind@gmail.com>
3315
3316 Fixed NextStep fullscreen issue (bug#22468)
3317
3318 When in fullscreen mode, `[screen visibleFrame]' sometimes
3319 includes, sometimes excludes the menu bar. This could cause
3320 a frame to be placed too low when in fullscreen mode.
3321
3322 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
3323 (constrain_frame_rect): New parameter, isFullscreen, when true don't
3324 query the height of the menu bar.
3325 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
3326 `constrain_frame_rect'.
3327 ([EmacsView initFrameFromEmacs:]): Trace.
3328 ([EmacsView isFullscreen]): Trace.
3329 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
3330 state to `constrain_frame_rect'.
3331
3332 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
3333
3334 * lisp/files.el: Use a fixed file name for the second dir-locals file
3335
3336 (dir-locals-file): Revert to its original fixed value.
3337 (dir-locals-file-2): New const.
3338 (dir-locals--all-files): Don't use `file-name-all-completions'.
3339 Instead, just check for the 2 dir-locals files and return a list
3340 of the ones that exit (if any).
3341
3342 * etc/NEWS: Document the change.
3343
3344 * doc/emacs/custom.texi (Directory Variables): Document the change.
3345
3346 * doc/lispref/variables.texi (Directory Local Variables): Update
3347 accordingly.
3348
3349 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
3350
3351 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
3352
3353 Change a variable name to be more meaningful, and reorder some of
3354 the code with no change in behaviour.
3355
3356 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
3357
3358 * lisp/files.el (dir-locals-find-file): Refactor return values
3359
3360 Returning a cache remains unchanged, but the case of returning a
3361 file (or pattern) is now changed to return the contaning
3362 directory.
3363
3364 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
3365 and make obsolete.
3366 (dir-locals-read-from-dir): Simplify accordingly.
3367 (hack-dir-local-variables): Simplify accordingly and rename a
3368 variable.
3369
3370 2016-01-25 Glenn Morris <rgm@gnu.org>
3371
3372 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
3373 Declare.
3374
3375 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
3376
3377 * configure.ac (--with-cairo): Say it's experimental.
3378
3379 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
3380 Rename using American spelling. Update all uses.
3381
3382 2016-01-25 Glenn Morris <rgm@gnu.org>
3383
3384 Yet more xwidget doc fixes.
3385
3386 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
3387 (xwidget-insert, xwidget-webkit-browse-url)
3388 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
3389 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
3390 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
3391 (xwidget-webkit-show-id-element)
3392 (xwidget-webkit-show-id-or-named-element)
3393 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
3394 (xwidget-webkit-execute-script-rv)
3395 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
3396 (xwidget-put): Doc fixes.
3397 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
3398 (xwidget-webkit-show-id-element)
3399 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
3400
3401 2016-01-25 Ted Zlatanov <tzz@lifelogs.com>
3402
3403 * lisp/gnus/gnus-art.el (gnus-blocked-images):
3404 Add explicit nil choice and tags.
3405
3406 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
3407
3408 Spelling fixes
3409
3410 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 (rng-c-fix-escaped-newlines): Use subst-char-in-string
3413
3414 * lisp/nxml/rng-cmpct.el (rng-c-fix-escaped-newlines):
3415 Use subst-char-in-string.
3416
3417 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * lisp/textmodes/sgml-mode.el (sgml-forward-sexp): New function
3420
3421 (sgml-cursor-sensor, sgml-pretty-print, sgml-parse-tag-backward)
3422 (sgml-calculate-indent): Use it.
3423
3424 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * lisp/org: Fix some compiler warnings
3427
3428 * lisp/org/ob-core.el (org-babel-check-confirm-evaluate)
3429 (org-babel-map-src-blocks): Don't emit warnings if added vars are not used.
3430 (*this*): Declare as dyn-bound.
3431 (org-babel-expand-src-block, org-babel-load-in-session)
3432 (org-babel-switch-to-session-with-code, org-babel-get-rownames):
3433 Mark unused args.
3434 (org-babel-combine-header-arg-lists): Remove unused var `args'.
3435 (org-babel-find-named-block): Remove unused var `msg'.
3436
3437 * lisp/org/org-src.el (org-inhibit-startup, org-src-fontify-natively):
3438 Declare as dyn-bound.
3439 (org-edit-src-code): Remove unused var `lfmt'.
3440 (org-edit-fixed-width-region): Remove unused var `preserve-indentation'.
3441
3442 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * lisp/font-lock.el: Use #' to quote function symbols
3445
3446 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 (font-lock-ensure-function): Fix bug#22399
3449
3450 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
3451 font-lock-mode is not enabled (bug#22399).
3452
3453 2016-01-25 Alan Mackenzie <acm@muc.de>
3454
3455 Expunge "allow" + infinitive from source and doc, part 2.
3456
3457 Do the same for "permit", "enable", "prevent", and (where appropriate)
3458 "require".
3459
3460 doc/misc/reftex.texi:
3461 doc/misc/url.texi:
3462 lib/get-permissions.c:
3463 lib/strftime.c:
3464 lisp/org/org-element.el:
3465 lisp/org/org-mobile.el:
3466 lisp/textmodes/reftex-vars.el:
3467 src/bidi.c:
3468 src/emacs.c:
3469 src/xdisp.c:
3470 test/etags/c-src/emacs/src/lisp.h:
3471
3472 Expunge the likes of "This allows to do something" from the above files.
3473
3474 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
3475
3476 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
3477
3478 `special-mode' is already read-only.
3479
3480 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
3481
3482 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
3483
3484 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
3485
3486 Port "$@" to OpenIndiana ksh93
3487
3488 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
3489 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
3490 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
3491 bug in long-dead shells, so remove the workaround.
3492 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
3493 Use plain "$@" rather than ${1+"$@"}.
3494
3495 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
3496
3497 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
3498
3499 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
3500
3501 Improve wording for SMB support
3502
3503 * doc/misc/tramp.texi (External methods): Improve and modernize
3504 wording for discussion of smbclient. There is no longer any
3505 need to mention the laundry list of old MS Windows implementations
3506 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
3507
3508 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
3509
3510 Merge from gnulib
3511
3512 This incorporates:
3513 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
3514 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
3515 2016-01-15 detect utimes() correctly on OS/2 kLIBC
3516 2016-01-15 openat_proc_name: port to OS/2 kLIBC
3517 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
3518 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
3519 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
3520 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
3521 2016-01-14 sig2str: list all signals on FreeBSD >= 7
3522 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
3523 2016-01-12 mktime: rename macro to avoid glibc clash
3524 2016-01-12 Port "$@" to OpenIndiana ksh93
3525 2016-01-12 Port Universal Time settings to strict POSIX
3526 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
3527 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
3528 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
3529 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
3530 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
3531 * m4/fcntl.m4, m4/utimes.m4:
3532 Copy from gnulib.
3533 * m4/gnulib-comp.m4: Regenerate.
3534
3535 2016-01-24 Alan Mackenzie <acm@muc.de>
3536
3537 Expunge "allow" + infinitive without direct object from source and doc.
3538
3539 Do the same for "permit", "enable", and "prevent".
3540
3541 * doc/emacs/mule.texi:
3542 * doc/lispref/control.texi:
3543 * doc/lispref/display.texi:
3544 * doc/lispref/frames.texi:
3545 * doc/lispref/functions.texi:
3546 * doc/lispref/nonascii.texi:
3547 * doc/lispref/streams.texi:
3548 * doc/lispref/windows.texi:
3549 * doc/misc/dbus.texi:
3550 * doc/misc/eww.texi:
3551 * doc/misc/flymake.texi:
3552 * doc/misc/octave-mode.texi:
3553 * doc/misc/org.texi:
3554 * doc/misc/reftex.texi:
3555 * doc/misc/tramp.texi:
3556 * doc/misc/wisent.texi:
3557 * etc/NEWS:
3558 * lisp/autorevert.el:
3559 * lisp/cedet/mode-local.el:
3560 * lisp/cedet/semantic/senator.el:
3561 * lisp/cedet/semantic/wisent.el:
3562 * lisp/dos-fns.el:
3563 * lisp/frameset.el:
3564 * lisp/gnus/gnus-agent.el:
3565 * lisp/gnus/mm-util.el:
3566 * lisp/international/characters.el:
3567 * lisp/ldefs-boot.el:
3568 * lisp/mail/mailclient.el:
3569 * lisp/man.el:
3570 * lisp/mh-e/mh-search.el:
3571 * lisp/net/tramp-cmds.el:
3572 * lisp/net/tramp-gvfs.el:
3573 * lisp/org/org-crypt.el:
3574 * lisp/org/org-element.el:
3575 * lisp/org/org-feed.el:
3576 * lisp/org/org.el:
3577 * lisp/org/ox-ascii.el:
3578 * lisp/org/ox-icalendar.el:
3579 * lisp/org/ox-publish.el:
3580 * lisp/org/ox.el:
3581 * lisp/play/gamegrid.el:
3582 * lisp/play/gomoku.el:
3583 * lisp/progmodes/antlr-mode.el:
3584 * lisp/progmodes/python.el:
3585 * lisp/progmodes/vhdl-mode.el:
3586 * lisp/strokes.el:
3587 * lisp/textmodes/ispell.el:
3588 * lisp/tree-widget.el:
3589 * lisp/vc/pcvs.el:
3590 * lisp/window.el:
3591 * src/lisp.h:
3592 * src/w32.c:
3593 * src/w32heap.c:
3594 * src/w32term.c:
3595 * src/window.c:
3596 * src/xfaces.c:
3597
3598 Replace solecisms like "This allow to do something" with a correct
3599 alternative, such as "This allow you to do something", "This allows
3600 something to be done" or "This allows the doing of something".
3601
3602 2016-01-24 l3thal <kwhite@gnu.org>
3603
3604 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
3605
3606 2016-01-24 Kelvin White <kwhite@gnu.org>
3607
3608 Add NEWS entry for asynchronous reconnect in ERC
3609
3610 2016-01-24 l3thal <kwhite@gnu.org>
3611
3612 Add NEWS entry for asynchronous reconnect in ERC
3613
3614 2016-01-24 Kelvin White <kwhite@gnu.org>
3615
3616 browse-url.el: Add 'google-chrome' to supported browsers.
3617
3618 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
3619
3620 Port Tramp manual to latest Texinfo
3621
3622 Otherwise, 'make pdf' did not work (Bug#22416).
3623 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
3624 (trampfn): Specialize to the case where METHOD is nonempty.
3625 The 2nd argument is now user@host, not 2nd user and 3rd host args.
3626 All uses changed.
3627 (trampf): New macro.
3628
3629 2016-01-24 Lars Ingebrigtsen <larsi@gnus.org>
3630
3631 * eww.el (eww-render): Protect against empty content-types.
3632
3633 2016-01-24 Nicolas Petton <nicolas@petton.fr>
3634
3635 authors.el updates
3636
3637 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
3638 Additions.
3639
3640 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
3641
3642 Rename xref-query-replace to xref-query-replace-in-results
3643
3644 * lisp/progmodes/xref.el(xref-query-replace):
3645 Rename to xref-query-replace-in-results.
3646 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
3647
3648 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
3649 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
3650 * doc/emacs/dired.texi (Operating on Files):
3651 * doc/emacs/maintaining.texi (Xref Commands)
3652 (Identifier Search, Identifier Search): Update accordingly.
3653
3654 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
3655
3656 Update cl-defgeneric and cl-defmethod docstrings
3657
3658 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
3659 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
3660 (cl-defmethod): Mention that multiple dispatch arguments are
3661 allowed. Document supported types. (Bug#22336)
3662
3663 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
3664
3665 Comment out next-error-function integration in xref
3666
3667 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
3668 Comment out next-error-function integration
3669 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
3670
3671 2016-01-23 John Wiegley <johnw@newartisans.com>
3672
3673 Correct a use of "which" in intro.texi
3674
3675 2016-01-23 Alan Mackenzie <acm@muc.de>
3676
3677 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
3678
3679 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
3680 context of case labels (including "default") more rigorously.
3681 (c-guess-basic-syntax CASE 15): Consequential amendment.
3682
3683 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
3684
3685 2016-01-23 Oscar Fuentes <ofv@wanadoo.es>
3686
3687 Don't operate on menu bar of nonexistent frame
3688
3689 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
3690 is valid before redisplaying its menu. Fixes bug#22438.
3691
3692 2016-01-23 Anders Lindgren <andlind@gmail.com>
3693
3694 Unbreak the GNUstep build.
3695
3696 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
3697 predefined "caution" image. Add trace.
3698 (x_set_window_size): Remove unused variables `cols' and `rows'.
3699 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
3700 GNUstep is used.
3701 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
3702 ([EmacsWindow zoom:]): Remove unused variable `f'.
3703
3704 2016-01-23 Eli Zaretskii <eliz@gnu.org>
3705 John Wiegley <johnw@gnu.org>
3706 Michael Heerdegen <michael_heerdegen@web.de>
3707
3708 Improve documentation of 'pcase'
3709
3710 * doc/lispref/control.texi (Pattern matching case statement):
3711 Reorganize, expand, and improve wording.
3712
3713 * etc/NEWS: Mention that 'pcase' changes are documented.
3714
3715 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
3716
3717 * etc/NEWS: Say that Cairo is experimental.
3718
3719 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
3720
3721 Report error for PNG under Cairo
3722
3723 * src/image.c (lookup_rgb_color): Signal a file error instead
3724 of dumping core when mishandling an image.
3725
3726 2016-01-23 Arash Esbati <esbati@gmx.de>
3727
3728 Delete a spurious backquote (tiny change)
3729
3730 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
3731 spurious backquote which raises an error with emacs 25.
3732
3733 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
3734
3735 Pacify --enable-gcc-warnings --with-cairo
3736
3737 Problem reported by Alexander Kuleshov in:
3738 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
3739 * src/gtkutil.c (xg_get_page_setup):
3740 Use switch rather than if-then-else.
3741 * src/image.c (COLOR_TABLE_SUPPORT):
3742 Define directly rather than via #define and optional later #undef.
3743 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
3744 Crash when the pixel is undefined, as there is a genuine bug
3745 here (Bug#22442).
3746 * src/image.c (tiff_load, gif_load, svg_load_image)
3747 (x_kill_gs_process) [USE_CAIRO]:
3748 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
3749 Omit unused locals, or move them to where they’re needed.
3750 (x_clear_area1): Now ATTRIBUTE_UNUSED.
3751
3752 2016-01-22 Eli Zaretskii <eliz@gnu.org>
3753
3754 Update documentation for Dired search and replace
3755
3756 * doc/emacs/dired.texi (Operating on Files): Update descriptions
3757 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
3758 'dired-do-find-regexp-and-replace'.
3759
3760 * etc/NEWS: Mention xref-related changes in Dired.
3761
3762 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
3763
3764 Port recent xdisp.c fix to picky C compilers
3765
3766 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
3767 putting #if inside the arguments to a standard function, which
3768 the C standard says has undefined behavior.
3769
3770 2016-01-22 Alan Mackenzie <acm@muc.de>
3771
3772 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
3773
3774 * cc-engine.el (c-forward-declarator): New function.
3775 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
3776 contained in the preceding arg list.
3777
3778 * cc-fonts.el (c-font-lock-declarators): Use the new function
3779 `c-forward-declarator' in place of inline code.
3780
3781 2016-01-22 Eli Zaretskii <eliz@gnu.org>
3782
3783 Fix the build with --enable-checking=glyphs
3784
3785 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
3786 build without xwidget support.
3787
3788 2016-01-22 Eli Zaretskii <eliz@gnu.org>
3789
3790 Document cl-generic.el
3791
3792 * doc/lispref/functions.texi (Generic Functions): New section.
3793 (Bug#22336)
3794 (Functions): Update the chapter menu.
3795 * doc/lispref/elisp.texi: Update the master menu.
3796
3797 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
3798
3799 xwidgets style cleanup
3800
3801 Adjust the newly-added Xwidgets code so that it uses a more-typical
3802 Emacs style. This should not affect behavior, except that in
3803 a few places it adds runtime checks that Lisp arguments are of
3804 the proper type, and in one place it uses more-precise arithmetic.
3805 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
3806 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
3807 Include xwidget.h unconditionally.
3808 * src/buffer.c (Fkill_buffer):
3809 * src/dispnew.c (update_window):
3810 * src/emacs.c (main):
3811 * src/print.c (print_object):
3812 * src/window.c (Fdelete_window_internal):
3813 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
3814 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
3815 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
3816 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
3817 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
3818 Call xwidget functions and macros without worrying about
3819 HAVE_XWIDGETS when the code is a no-op on non-xwidget
3820 platforms.
3821 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
3822 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
3823 (struct it.xwidget):
3824 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
3825 Always define.
3826 * src/emacsgtkfixed.h: Omit unnecessary comment.
3827 * src/keyboard.c: Fix spacing.
3828 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
3829 Define to be a no-op if not HAVE_XWIDGETS.
3830 * src/xwidget.c: Include xwidget.h first (after config.h)
3831 to make sure that it can stand by itself.
3832 (Fmake_xwidget, Fxwidget_webkit_execute_script):
3833 Fix typo in doc string.
3834 (Fmake_xwidget): Check type of args.
3835 (Fmake_xwidget, offscreen_damage_event)
3836 (webkit_document_load_finished_cb, webkit_download_cb)
3837 (webkit_new_window_policy_decision_requested_cb)
3838 (webkit_navigation_policy_decision_requested_cb)
3839 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
3840 (xwidget_osr_event_set_embedder, xwidget_init_view):
3841 Omit unnecessary casts.
3842 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
3843 (xwidget_show_view, xwidget_hide_view)
3844 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
3845 (xwidget_touched):
3846 * src/xwidget.h (struct xwidget.kill_without_query)
3847 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
3848 Use bool for boolean.
3849 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
3850 Simplify by using list functions.
3851 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
3852 (Fxwidget_resize): Check type of integer args
3853 before doing any work. Check that they are nonnegative.
3854 (Fxwidget_set_adjustment): Check type of integer arg.
3855 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
3856 Simplify. Use double, not float.
3857 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
3858 (valid_xwidget_spec_p): Simplify.
3859 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
3860 * src/xwidget.h: Include lisp.h first, so that includers do
3861 not need to worry about doing that before including this file.
3862 Make this .h file safe to include even on non-HAVE_XWIDGETS
3863 configurations, to simplify the includers.
3864 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
3865 (xwidget_end_redisplay, lookup_xwidget)
3866 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
3867 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
3868 (struct glyph_matrix, struct glyph_string, struct xwidget)
3869 (struct xwidget_view, struct window):
3870 New forward or incomplete decls, so that includers need not
3871 assume the corresponding .h files are already included, or that
3872 HAVE_XWIDGETS is defined.
3873 (struct xwidget_type, xwidget_from_id): Remove; unused.
3874
3875 2016-01-22 John Wiegley <johnw@newartisans.com>
3876
3877 Further corrections to the pcase docstring
3878
3879 2016-01-22 Eli Zaretskii <eliz@gnu.org>
3880
3881 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
3882
3883 2016-01-21 Stephen Leake <stephen_leake@stephe-leake.org>
3884
3885 In xref-collect-references, force backends to respect the 'dir' arg
3886
3887 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
3888 to use `default-directory'.
3889
3890 2016-01-21 John Wiegley <johnw@newartisans.com>
3891
3892 Minor correction to pcase docstring
3893
3894 2016-01-21 John Wiegley <johnw@newartisans.com>
3895
3896 Write a new docstring for the pcase macro
3897
3898 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
3899
3900 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
3901
3902 Avoid byte-compiler warning in todo-mode (bug#21953)
3903
3904 * todo-mode.el (todo-convert-legacy-files): Add limit argument
3905 to looking-back to comply with advertised-calling-convention.
3906
3907 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
3908
3909 Fix desktop support in todo-mode and doc-view (bug#22377)
3910
3911 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
3912 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
3913
3914 * lisp/calendar/todo-mode.el (todo-modes-set-2):
3915 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
3916
3917 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
3918
3919 No need to configure gobject-introspection
3920
3921 It wasn’t needed for the recently-installed xwidget_mvp code; see:
3922 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
3923 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
3924 (HAVE_GIR):
3925 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
3926 Remove. All uses removed.
3927 * configure.ac (emacs_config_features): Don’t worry about GIR.
3928
3929 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
3930
3931 Don’t export C symbols not used elsewhere
3932
3933 These were recently added, mostly as part of xwidget code.
3934 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
3935 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
3936 Now static functions here, not macros in emacsgtkfixed.h.
3937 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
3938 Remove. All uses replaced by definiens.
3939 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
3940 Remove; these are now static functions in emacsgtkfixed.c.
3941 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
3942 Remove; unused.
3943 (emacs_fixed_get_type): Remove decl; no longer extern.
3944 * src/xwidget.c (offscreen_damage_event)
3945 (webkit_mime_type_policy_typedecision_requested_cb)
3946 (webkit_new_window_policy_decision_requested_cb)
3947 (webkit_navigation_policy_decision_requested_cb)
3948 (xwidget_spec_value, xwidget_view_lookup)
3949 (xwidget_start_redisplay, xwidget_touch):
3950 Now static.
3951 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
3952 Remove decls.
3953
3954 2016-01-20 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 Support squiggly heredocs in ruby-mode
3957
3958 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3959 Support squiggly heredocs added in Ruby 2.3.
3960
3961 * test/indent/ruby.rb: Add squiggly example.
3962
3963 2016-01-20 Glenn Morris <rgm@gnu.org>
3964
3965 * configure.ac (emacs_config_features): Remove WEBKIT.
3966
3967 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
3968
3969 Port to platforms with gtk3 but not webkitgtk3
3970
3971 I ran into this problem on my Fedora 23 installation;
3972 Emacs configured but did not build when --with-xwidgets was specified.
3973 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
3974 (DOES_XWIDGETS_USE_GIR): New var.
3975 If --with-xwidgets is specified, report an error if not
3976 doable, to be consistent with the other --with options.
3977 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
3978 not work at all without webkitgtk3. Simplify use of
3979 EMACS_CHECK_MODULES. Output message about gobject
3980 introspection only if xwidgets are used.
3981 * etc/NEWS: Users need webkitgtk3, not merely webkit.
3982 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
3983 since this file is no longer compiled if webkitgtk3 is not available.
3984
3985 2016-01-20 Eli Zaretskii <eliz@gnu.org>
3986
3987 Fix doc string of 'isearch-search-fun-function'
3988
3989 * lisp/isearch.el (isearch-search-fun-function)
3990 (isearch-search-string): Doc fixes. (Bug#22411)
3991
3992 2016-01-19 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * lisp/xwidget.el: Nitpicks
3995
3996 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
3997 Use with-current-buffer rather than save-excursion + set-buffer.
3998
3999 2016-01-19 Glenn Morris <rgm@gnu.org>
4000
4001 Don't hard-code 1 as point-min.
4002
4003 * lisp/image-mode.el (image-display-size):
4004 * lisp/xwidget.el (xwidget-webkit-last-session)
4005 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
4006
4007 2016-01-19 Glenn Morris <rgm@gnu.org>
4008
4009 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
4010
4011 2016-01-19 Glenn Morris <rgm@gnu.org>
4012
4013 Trivial doc copyedits.
4014
4015 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
4016 (Fxwidget_webkit_get_title, Fxwidget_resize)
4017 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
4018 (Fxwidget_info, Fxwidget_view_lookup)
4019 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
4020
4021 2016-01-19 Glenn Morris <rgm@gnu.org>
4022
4023 Avoid advising image-display-size for xwidgets.
4024
4025 * lisp/xwidget.el (xwidget-image-display-size): Remove.
4026 (image-display-size): Remove advice.
4027 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
4028 (image-display-size): Incorporate xwidget code directly.
4029
4030 2016-01-19 Glenn Morris <rgm@gnu.org>
4031
4032 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
4033
4034 * lisp/xwidget.el (window-configuration-change-hook)
4035 (kill-buffer-query-functions): Only modify these hooks if
4036 compiled with xwidget support.
4037
4038 2016-01-19 Glenn Morris <rgm@gnu.org>
4039
4040 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
4041
4042 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
4043
4044 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
4045
4046 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
4047
4048 2016-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
4049
4050 * lisp/gnus/nnir.el (nnir-request-update-mark):
4051 Default to the original mark.
4052 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
4053 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
4054
4055 2016-01-19 Glenn Morris <rgm@gnu.org>
4056
4057 * lisp/xwidget.el (report-xwidget-bug): Remove.
4058
4059 (top-level): No longer require reporter.
4060
4061 2016-01-19 Joakim Verona <joakim@verona.se>
4062 Grégoire Jadi <daimrod@gmail.com>
4063
4064 Support for the new Xwidget feature.
4065
4066 * configure.ac:
4067 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
4068 * xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
4069 * xdisp.c:
4070 (handle_display_spec, handle_single_display_spec, push_it)
4071 (pop_it, set_iterator_to_next, dump_glyph)
4072 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
4073 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
4074 (produce_xwidget_glyph, x_produce_glyphs)
4075 (get_window_cursor_type):
4076 * window.c (Fdelete_window_internal):
4077 * termhooks.h (e):
4078 * print.c (print_object):
4079 * lisp.h (ptrdiff_t):
4080 * keyboard.c (kbd_buffer_get_event, make_lispy_event)
4081 (syms_of_keyboard):
4082 * emacs.c (main):
4083 * dispnew.c (update_window, scrolling_window):
4084 * dispextern.h (g, i):
4085 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
4086 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
4087 * keyboard.c (kbd_buffer_get_event):
4088 * emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
4089 (emacs_fixed_class_init): Add case for an xwidget view.
4090
4091 * xwidget.c, xwidget.h, xwidget.el: New files for xwidgets
4092
4093
4094 Various improvements to the Xwidget feature.
4095 * xwidgets.c:
4096 * emacsgtkfixed.c:
4097 * xwidget.el:
4098
4099 2016-01-19 Eli Zaretskii <eliz@gnu.org>
4100
4101 Improve documentation of 'alist-get'
4102
4103 * doc/lispref/variables.texi (Setting Generalized Variables): Add
4104 'alist-get' to the list of functions that can appear in PLACE
4105 argument of 'setf'.
4106
4107 2016-01-19 Eli Zaretskii <eliz@gnu.org>
4108
4109 Minor copyedits of doc/emacs/maintaining.texi
4110
4111 * doc/emacs/maintaining.texi (List Identifiers): More accurate
4112 description of "C-M-i" wrt tags tables.
4113 (Tags Tables): Move the definition of "tag" to a footnote.
4114
4115 2016-01-19 Eli Zaretskii <eliz@gnu.org>
4116
4117 Unbreak the Cygwin-w32 build
4118
4119 * src/w32fns.c (globals_of_w32fns): Move the initialization of
4120 resetstkoflw into a part that isn't compiled on Cygwin.
4121 (Bug#22403)
4122
4123 2016-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4124
4125 * shr.el (shr-table-body): Allow tables to have text children.
4126
4127 2016-01-19 Phillip Lord <phillip.lord@russet.org.uk>
4128
4129 Cope with multiple overlapping faces.
4130
4131 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
4132 left.
4133 (hfy-face-resolve-face): Handle font specification as well as font
4134 name. Documentation update. (Bug#21990)
4135
4136 2016-01-18 Paul Eggert <eggert@cs.ucla.edu>
4137
4138 Fix spurious escapes in describe-input-method
4139
4140 Problem reported by Vincent Belaïche (Bug#22309).
4141 * lisp/international/mule-cmds.el (describe-language-environment):
4142 * lisp/international/quail.el (quail-help):
4143 Apply substitute-command-keys to doc strings before displaying them.
4144
4145 2016-01-30 Nicolas Petton <nicolas@petton.fr>
4146
4147 Bump version to 25.0.90
4148
4149 * README:
4150 * configure.ac:
4151 * msdos/sed2v2.inp: Bump version to 25.0.90.
4152
4153 2016-01-30 Nicolas Petton <nicolas@petton.fr>
4154
4155 * etc/AUTHORS: Update the AUTHORS file
4156
4157 2016-01-30 Nicolas Petton <nicolas@petton.fr>
4158
4159 authors.el updates
4160
4161 * admin/authors.el (authors-renamed-files-alist): Additions.
4162
4163 2016-01-30 Nicolas Petton <nicolas@petton.fr>
4164
4165 Make it possible to run make change-history on emacs-25
4166
4167 * Makefile.in: Check if the current branch is emacs-25 instead of
4168 master.
4169
4170 2016-01-30 lu4nx <lx@shellcodes.org>
4171
4172 Support Go language in 'etags'
4173
4174 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
4175 <Go_help>: New help.
4176 <Go_suffixes>: New variable.
4177 (Go_functions): New function.
4178 <lang_names>: Add entry for Go. (Bug#22370)
4179
4180 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
4181 * doc/man/etags.1: Mention Go support.
4182
4183 * etc/NEWS: Mention Go support.
4184
4185 * test/etags/go-src/test.go:
4186 * test/etags/go-src/test1.go: New test files.
4187 * test/etags/Makefile (GOSRC): New variable.
4188 (SRCS): Add $(GOSRC).
4189 * test/etags/ETAGS.good_1:
4190 * test/etags/ETAGS.good_2:
4191 * test/etags/ETAGS.good_3:
4192 * test/etags/ETAGS.good_4:
4193 * test/etags/ETAGS.good_5:
4194 * test/etags/ETAGS.good_6:
4195 * test/etags/CTAGS.good: Adapt to addition of Go tests.
4196
4197 2016-01-30 Eli Zaretskii <eliz@gnu.org>
4198
4199 Improve Ruby support in 'etags'
4200
4201 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
4202 singleton classes. Remove class qualifiers from tags generated
4203 for method and constant names. (Bug#22241)
4204
4205 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
4206 are tagged by etags in Ruby.
4207
4208 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
4209
4210 * test/etags/ruby-src/test1.ruby: Add more tests.
4211 * test/etags/ETAGS.good_1:
4212 * test/etags/ETAGS.good_2:
4213 * test/etags/ETAGS.good_3:
4214 * test/etags/ETAGS.good_4:
4215 * test/etags/ETAGS.good_5:
4216 * test/etags/ETAGS.good_6:
4217 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
4218 tests.
4219
4220 2016-01-30 Eli Zaretskii <eliz@gnu.org>
4221
4222 Adjust etags test results to changes in copyright years
4223
4224 * test/etags/CTAGS.good:
4225 * test/etags/ETAGS.good_1:
4226 * test/etags/ETAGS.good_2:
4227 * test/etags/ETAGS.good_3:
4228 * test/etags/ETAGS.good_4:
4229 * test/etags/ETAGS.good_5:
4230 * test/etags/ETAGS.good_6: Adjust to shift in characters and
4231 in line numbers.
4232
4233 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
4234
4235 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
4236
4237 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
4238
4239 2016-01-30 Nicolas Petton <nicolas@petton.fr>
4240
4241 Make it possible to run make change-history on emacs-25
4242
4243 * Makefile.in: Check if the current branch is emacs-25 instead of
4244 master.
4245
4246 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
4247
4248 Don't fiddle with DEFAULT
4249
4250 * lisp/progmodes/project.el (project--completing-read-strict):
4251 Don't change DEFAULT, whether is has any matches in
4252 COLLECTION, or not.
4253
4254 2016-01-30 Eli Zaretskii <eliz@gnu.org>
4255
4256 Document xwidget commands and functions
4257
4258 * doc/lispref/display.texi (Xwidgets): New section, describes some
4259 of the xwidget primitives.
4260 * doc/lispref/display.texi (Display): Update the chapter menu.
4261 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
4262 * doc/emacs/emacs.texi (Top): Update the master menu to include
4263 the xwidget node.
4264
4265 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
4266
4267 Build fix for shr.el
4268
4269 * shr.el (seq): Require.
4270
4271 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
4272
4273 Improve project-find-file yet again!
4274
4275 * lisp/progmodes/project.el (project--completing-read-strict):
4276 New function.
4277 (project-find-file-in): Use it.
4278 (project-file-completion-table): Move the default
4279 implementation inside the cl-defgeneric form.
4280 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
4281
4282 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
4283
4284 Don't pass DIR to 'hg status'
4285
4286 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
4287 Don't pass DIR to 'hg status' (bug#22481).
4288
4289 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
4290
4291 Fix typo in previous commits
4292
4293 * lisp/progmodes/project.el (project-find-file-in):
4294 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
4295 commit.
4296
4297 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
4298
4299 Improve project-find-file
4300
4301 * lisp/progmodes/project.el (project-file-completion-table): New.
4302 (project-find-file, project-or-external-find-file): Default to filename
4303 at point.
4304 (project-file-completion-table): New, split out from
4305 project--find-file-in.
4306 (project-find-file-in): Renamed from project--find-file-in, use
4307 project-file-completion-table.
4308
4309 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
4310 (xref--find-ignores-arguments): Add doc string.
4311
4312 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
4313
4314 Implement vc-mtn-find-ignore-file, fix some doc strings
4315
4316 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
4317
4318 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
4319
4320 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
4321
4322 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
4323
4324 2016-01-23 Michael Albinus <michael.albinus@gmx.de>
4325
4326 Improve user name completion in Tramp
4327
4328 * lisp/net/tramp.el (tramp-parse-passwd, tramp-parse-etc-group):
4329 Call also "getent passwd" or "getent group", if possible.
4330 (tramp-parse-putty): Cache the result.
4331
4332 2016-01-22 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * etc/NEWS: Move kqueue entries to Emacs 25.1 sections.
4335
4336 2016-01-20 Glenn Morris <rgm@gnu.org>
4337
4338 Remove handling of non-string time-stamp formats, obsolete for 20 years.
4339
4340 * lisp/time-stamp.el (time-stamp-format): Doc fix.
4341 (time-stamp-old-format-warn, time-stamp-fconcat): Remove.
4342 (time-stamp-string): Ignore non-string formats.
4343
4344 2016-01-20 Eli Zaretskii <eliz@gnu.org>
4345
4346 Anoter fix for problematic merge from emacs-25
4347
4348 * src/w32fns.c (globals_of_w32fns): Move initialization of
4349 resetstkoflw to a non-Cygwin part.
4350
4351 2016-01-20 Michael Albinus <michael.albinus@gmx.de>
4352
4353 * test/Makefile.in (mostlyclean): Use ${LOGFILES}.
4354
4355 2016-01-20 Eli Zaretskii <eliz@gnu.org>
4356
4357 Fix MS-Windows build broken by a botched merge from emacs-25
4358
4359 * src/w32.c (w32_crypto_hprov): New static variable.
4360 (globals_of_w32): Initialize w32_crypto_hprov.
4361 (w32_init_crypt_random, w32_init_random): New functions.
4362 Include wincrypt.h.
4363 * src/w32.h (w32_init_random): Add prototype.
4364
4365 2016-01-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4366
4367 Correct a whole bunch of bugs coming with renamed cell relocation.
4368
4369 * lisp/ses.el (ses-localvars): rename variable
4370 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
4371 and adjust the comment about it.
4372 (ses-plist-delq): new defun.
4373 (ses--ses-buffer-list): new defvar.
4374 (ses--unbind-cell-name): new defun.
4375 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
4376 (ses-relocate-formula): Undo change of
4377 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
4378 preventing relocation for named cell --- now doing this is delegated
4379 to function `ses-relocate-symbol'.
4380 (ses-relocate-range): In docstring, undo change of
4381 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
4382 lower case as it is not a variable.
4383 (ses-relocate-all): Cell name relocation : 1) check that cell is a
4384 renamed cell by testing `ses-cell' property to :ses-named, rather than
4385 comparing name to corresponding standard name. Set rowcol of renamed
4386 cell into the hashmap --- `ses-cell' property must not be used for
4387 that as the same name can be used for different locations in different
4388 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
4389 `local-variable-p' to check if cell name is already in use in this
4390 sheet or needs initialisation.
4391 (ses-relocate-all): Cell value relocation : 1) like for name
4392 relocation use the `ses-cell' property rather than comparing actual
4393 name to corresponding standard name. 2) Correct bug introduced in
4394 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
4395 made the other way round than the intention --- ie value relocation
4396 was disabled for standard cell, not for renamed cell as was the
4397 intention.
4398 (ses-relocate-all): Add loop for unbinding deleted renamed cells
4399 names.
4400 (ses-killbuffer-hook): new defun.
4401 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
4402 kill buffer hook, plus pushing current buffer if new in list.
4403 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
4404 into `ses--in-killing-named-cell-list'.
4405 (ses-rename-cell): Remove update of variable
4406 `ses--renamed-cell-symb-list', this variable is renamed to
4407 `ses--in-killing-named-cell-list', and its setting is done in
4408 functions `ses-delete-row' and , `ses-delete-column' now.
4409 (ses-rename-cell): Make cell new name a buffer local variable.
4410 (ses-rename-cell): Change correction of
4411 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
4412 computation of the range over which `cursor-intangible' property was
4413 to be updated. This correction was ok for non spilling cells, but not
4414 for cells spilling over following blank cells. Simply use
4415 `next-single-property-change' rather than computing the end column
4416 from column widths.
4417
4418 2016-01-19 John Wiegley <johnw@newartisans.com>
4419
4420 Merge from origin/emacs-25
4421
4422 3ae7934 ; * etc/NEWS: Mark entries that don't need further treatment.
4423 6165c36 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
4424 2ffdf15 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
4425 71ecd62 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
4426 f0b82b3 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
4427 86e4513 Fix incompatbilities with MS-Windows 2000 and older
4428 4e96521 Mention in PROBLEMS an issue with MS-Windows NT4
4429 15c23aa Ensure 8-byte aligned memory allocation on MS-Windows 9X
4430 39afa42 Fix tests for active region in hideif.el
4431 05df666 Fix interactive specs in some hideif.el commands
4432
4433 2016-01-19 John Wiegley <johnw@newartisans.com>
4434
4435 -
4436
4437 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
4438
4439 Avoid stdio in SIGINT handler
4440
4441 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
4442 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
4443 * lib/ignore-value.h: New file, from gnulib.
4444 * src/keyboard.c: Include it.
4445 (write_stdout, read_stdin): New functions.
4446 (handle_interrupt): Use them instead of printf and getchar,
4447 and avoid fflush when handling signals.
4448
4449 2016-01-19 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
4450
4451 Refactor mml-smime.el, mml1991.el, mml2015.el
4452
4453 (Maybe this is the last merge from Gnus git to Emacs git)
4454
4455 Cf. discussion on ding mailing list, messages in
4456 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
4457 Common code from the three files mml-smime.el, mml1991.el, and
4458 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
4459 to gnus-util.el.
4460
4461 The code is supported by test cases with necessary test keys.
4462
4463 Documentation in message.texi is updated.
4464
4465 * doc/misc/message.texi (Security, Using S/MIME):
4466 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
4467 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
4468 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
4469
4470 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
4471 New functions.
4472
4473 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
4474 (epa--select-keys): Autoload.
4475 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
4476 (mml-secure-openpgp-signers): New user option;
4477 make mml1991-signers and mml2015-signers obsolete aliases to it.
4478 (mml-secure-smime-signers): New user option;
4479 make mml-smime-signers an obsolete alias to it.
4480 (mml-secure-openpgp-encrypt-to-self): New user option;
4481 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
4482 aliases to it.
4483 (mml-secure-smime-encrypt-to-self): New user option;
4484 make mml-smime-encrypt-to-self an obsolete alias to it.
4485 (mml-secure-openpgp-sign-with-sender): New user option;
4486 make mml2015-sign-with-sender an obsolete alias to it.
4487 (mml-secure-smime-sign-with-sender): New user option;
4488 make mml-smime-sign-with-sender an obsolete alias to it.
4489 (mml-secure-openpgp-always-trust): New user option;
4490 make mml2015-always-trust an obsolete alias to it.
4491 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
4492 New user options.
4493 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
4494 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
4495 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
4496 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
4497 (mml-secure-passphrase-callback, mml-secure-check-user-id)
4498 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
4499 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
4500 (mml-secure-fingerprint, mml-secure-filter-keys)
4501 (mml-secure-normalize-cust-name, mml-secure-select-keys)
4502 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
4503 (mml-secure-self-recipients, mml-secure-recipients)
4504 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
4505
4506 * lisp/gnus/mml-smime.el: Require epg;
4507 refactor declaration and autoloading of epg functions.
4508 (mml-smime-use): Doc fix.
4509 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
4510 Obsolete.
4511 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
4512 Use format instead of gnus-format-message.
4513 (mml-smime-epg-secret-key-id-list): Remove variable.
4514 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
4515 (mml-smime-epg-find-usable-secret-key): Remove functions.
4516 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
4517
4518 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
4519 (mml1991-passphrase-cache-expiry): Obsolete.
4520 (mml1991-epg-secret-key-id-list): Remove variable.
4521 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
4522 (mml1991-epg-find-usable-secret-key): Remove functions.
4523 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
4524
4525 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
4526 (mml2015-passphrase-cache-expiry): Obsolete.
4527 (mml2015-epg-secret-key-id-list): Remove variable.
4528 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
4529 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
4530 (mml2015-epg-find-usable-secret-key): Remove functions.
4531 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
4532 (mml2015-epg-encrypt): Refactor.
4533
4534 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
4535
4536 Merge from gnulib
4537
4538 This mostly just updates copyright dates of gnulib files.
4539 It also updates to the latest version of texinfo.tex.
4540
4541 2016-01-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4542
4543 Move variables to inner loop, preparing for Mac port merge
4544
4545 * src/keyboard.c (command_loop_1): Move variables `cmd',
4546 `keybuf', and `i' to inner loop.
4547
4548 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
4549
4550 Minor improvements to (random t) documentation
4551
4552 * doc/lispref/numbers.texi (Random Numbers):
4553 * src/fns.c (Frandom):
4554 Omit unnecessary details about randomness fallback.
4555 Say that it is a fallback.
4556
4557 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
4558
4559 Rename methods in Ruby etags example file
4560
4561 * test/etags/ruby-src/test.rb: Rename the example methods to
4562 correspond to the common terminology used in Ruby.
4563 * test/etags/CTAGS.good:
4564 * test/etags/ETAGS.good_1:
4565 * test/etags/ETAGS.good_2:
4566 * test/etags/ETAGS.good_3:
4567 * test/etags/ETAGS.good_4:
4568 * test/etags/ETAGS.good_5:
4569 * test/etags/ETAGS.good_6: Adjust accordingly.
4570
4571 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
4572
4573 Propertize backtick in 'def `(abc)' as symbol constituent
4574
4575 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
4576 Propertize backtick in 'def `(abc)' as symbol constituent.
4577 (ruby-syntax-propertize-function):
4578 Rename to ruby-syntax-propertize.
4579
4580 2016-01-18 Eli Zaretskii <eliz@gnu.org>
4581
4582 Fix scrolling under scroll-preserve-screen-position on TTY
4583
4584 * src/window.c (window_scroll_line_based): When setting point to
4585 preserve screen coordinates, don't let cursor enter either of the
4586 two scroll margins. (Bug#22395)
4587
4588 2016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4589
4590 Fix shr table rendering of nested tables
4591
4592 * shr.el (shr-table-body): Don't include all tbodies in nested
4593 tables in the levels above.
4594
4595 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
4596
4597 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
4598
4599 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
4600
4601 Add xref-based replacements for Dired search commands
4602
4603 * lisp/dired-aux.el (dired-do-find-regexp)
4604 (dired-do-find-regexp-and-replace): New commands.
4605 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
4606
4607 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
4608 `Q' to the new commands.
4609
4610 * lisp/progmodes/xref.el (xref-query-replace)
4611 (xref-collect-matches): Add progress reporters.
4612 (xref--find-ignores-arguments): Return nil for zero ignores.
4613 (xref--show-xrefs): Add an optional argument.
4614 (xref-collect-matches): Drop the assert. 'find' accepts a
4615 regular file in place of directory argument, too.
4616
4617 2016-01-18 Alan Mackenzie <acm@muc.de>
4618
4619 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
4620
4621 2016-01-18 Eli Zaretskii <eliz@gnu.org>
4622
4623 Improve user documentation of Xref
4624
4625 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
4626 (Looking Up Identifiers, Identifier Search, List Identifiers):
4627 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
4628 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
4629 for the details.
4630
4631 2016-01-18 Eli Zaretskii <eliz@gnu.org>
4632
4633 Fix scrolling under scroll-preserve-screen-position and margins
4634
4635 * src/window.c (window_scroll_pixel_based): When setting point to
4636 preserve screen coordinates, don't let cursor enter either of the
4637 two scroll margins. Fix incorrect usage of
4638 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
4639 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
4640
4641 2016-01-18 Eli Zaretskii <eliz@gnu.org>
4642
4643 Unbreak the MS-Windows build
4644
4645 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
4646 WINDOWSNT, to avoid link failure. (Bug#22202)
4647
4648 2016-01-18 Alan Mackenzie <acm@muc.de>
4649
4650 Desktop: protect users against inadvertant upgrading of desktop file.
4651
4652 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
4653
4654 * etc/NEWS: Add an entry about upgrading a desktop file.
4655
4656 * lisp/desktop.el (desktop-file-version): Amend doc string.
4657 (desktop-native-file-version, desktop-io-file-version): new variables.
4658 (desktop-clear): Set desktop-io-file-version to nil.
4659 (desktop-buffer-info): make the presence of the last item on the list
4660 conditional on (>= desktop-io-file-version 208).
4661 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
4662 Amend the doc string. Add code to determine the output file version.
4663 (desktop-create-buffer): Set desktop-io-file-version to the input file's
4664 version.
4665
4666 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
4667
4668 Initialize GnuTLS before calling gnutls_rnd
4669
4670 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
4671 Don’t set gnutls_global_initialized if gnutls_global_init fails.
4672 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
4673 if 2.12 or later, which has gnutls_rnd.
4674 (emacs_gnutls_global_init, gnutls_rnd): New fallback
4675 placeholder macros if before 2.12.
4676 (init_random): Initialize gnutls globals before trying to
4677 use gnutls_rnd.
4678
4679 2016-01-17 Andreas Schwab <schwab@linux-m68k.org>
4680
4681 Don't use GnuTLS before it is initialized
4682
4683 * src/sysdep.c (init_random): Don't use gnutls_rnd.
4684
4685 2016-01-17 Bill Wohler <wohler@newt.com>
4686
4687 * mh-e.el (mh-version): Add +git to version.
4688
4689 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
4690
4691 Port cleanup attribute to OpenBSD
4692
4693 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
4694 sprintf, and this messes up 'configure' when it tests for the cleanup
4695 attribute. Work around the problem by using __has_attribute directly.
4696 Problem reported by Joakim Jalap (Bug#22385).
4697 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
4698 * m4/ax_gcc_var_attribute.m4: Remove.
4699 * src/conf_post.h (__has_attribute): Provide a substitute, for
4700 non-GCC or older GCC compilers. All uses changed to assume
4701 the substitute. Check for the cleanup attribute.
4702 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
4703
4704 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
4705
4706 Prefer GnuTLS when acquiring random seed
4707
4708 This attempts to improve on the fix for Bug#22202.
4709 * configure.ac (HAVE_DEV_URANDOM): Remove.
4710 Check /dev/urandom existence at run time, not at build time,
4711 since the device could exist in the former but not the latter.
4712 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
4713 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
4714 (random_seed): New typedef.
4715 (set_random_seed): New static function.
4716 (seed_random): Use them.
4717 (init_random): Use random_seed instead of uintmax_t, so as to
4718 not consume more entropy than needed. Prefer gnutls_rnd if it
4719 works; this avoids a redundant open of /dev/urandom on
4720 GNU/Linux with modern GnuTLS.
4721
4722 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4723
4724 Improve documentation of dynamic modules
4725
4726 * doc/lispref/loading.texi (How Programs Do Loading): Update the
4727 description of searching for files in 'load' when Emacs was built
4728 with support for dynamic modules.
4729
4730 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4731
4732 * INSTALL: Document --with-modules.
4733
4734 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4735
4736 Document 'function-put'
4737
4738 * doc/lispref/symbols.texi (Symbol Plists): Document
4739 'function-put'. Update documentation of 'function-get'.
4740
4741 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4742
4743 Document 'funcall-interactively'
4744
4745 * doc/lispref/commands.texi (Interactive Call): Document
4746 'funcall-interactively'.
4747 * doc/lispref/functions.texi (Calling Functions): Mention
4748 'funcall-interactively' and provide a cross-reference.
4749
4750 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4751
4752 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
4753
4754 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
4755
4756 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4757
4758 Document renaming of selection-related functions
4759
4760 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
4761 functions into the corresponding "gui-*" functions. Make the
4762 description slightly less X-centric.
4763
4764 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4765
4766 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
4767
4768 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4769
4770 Document 'define-inline'
4771
4772 * doc/lispref/functions.texi (Defining Functions): Document
4773 'define-inline' and related macros.
4774
4775 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
4776
4777 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
4778
4779 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
4780
4781 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
4782
4783 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
4784
4785 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
4786
4787 instead of manually writing a dir-locals file.
4788
4789 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
4790
4791 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
4792
4793 (dir-locals-file)
4794 * lisp/files-x.el (modify-dir-local-variable)
4795 * lisp/dos-fns.el (dosified-file-name)
4796 * lisp/help-fns.el (describe-variable): Change accordingly.
4797
4798 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
4799
4800 Fix incompatbilities with MS-Windows 2000 and older
4801
4802 * src/w32.c <multiByteToWideCharFlags>: New global variable.
4803 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
4804 Use it instead of the literal MB_ERR_INVALID_CHARS.
4805 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
4806 appropriate for the underlying OS version. For details, see
4807 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
4808 * src/w32.h: Declare multiByteToWideCharFlags.
4809 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
4810 (add_tray_notification): Use multiByteToWideCharFlags instead of
4811 the literal MB_ERR_INVALID_CHARS.
4812 (_resetstkoflw_proc): New typedef.
4813 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
4814 pointer, as this function is absent in msvcrt.dll shipped with W2K
4815 and older systems.
4816
4817 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4818
4819 Mention in PROBLEMS an issue with MS-Windows NT4
4820
4821 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
4822 on Windows NT4. For the details, see
4823 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
4824
4825 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
4826
4827 Ensure 8-byte aligned memory allocation on MS-Windows 9X
4828
4829 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
4830 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
4831 (malloc_after_dump_9x, realloc_after_dump_9x)
4832 (free_after_dump_9x): New functions. (Bug#22379) See also
4833 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
4834 for more details about the original problem.
4835
4836 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
4837 (free_after_dump_9x): Add prototypes.
4838
4839 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4840
4841 Fix tests for active region in hideif.el
4842
4843 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
4844 'use-region-p' to test whether to operate on region, instead of
4845 testing 'mark-active'.
4846
4847 2016-01-16 Eli Zaretskii <eliz@gnu.org>
4848
4849 Fix interactive specs in some hideif.el commands
4850
4851 * lisp/progmodes/hideif.el (hif-evaluate-macro)
4852 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
4853 in commands that should only act on the region if it's active.
4854
4855 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
4856
4857 Enable test selector from command line
4858
4859 * test/automated/Makefile.in: Change variable manipulation to avoid
4860 over-writing selector.
4861
4862 2016-01-15 Alan Mackenzie <acm@muc.de>
4863
4864 Don't confuse "::" with ":" when trying to parse member initializers.
4865
4866 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
4867 more robustly for ":" token when searching backwards for it.
4868
4869 * lisp/progmodes/cc-langs (c-:$-multichar-token-regexp): New language
4870 variable.
4871
4872 2016-01-15 Eli Zaretskii <eliz@gnu.org>
4873
4874 Ensure positive number of glyphs for margins of positive width
4875
4876 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
4877 positive value when a non-zero width of the marginal area was
4878 requested. (Bug#22356)
4879
4880 2016-01-15 Eli Zaretskii <eliz@gnu.org>
4881
4882 Fix crashes when mini-window has non-zero margins
4883
4884 * src/window.c (resize_frame_windows): Use 'new_size' to set
4885 minibuffer window's 'total_cols' value, as 'size' might be in
4886 pixels. (Bug#22356)
4887
4888 2016-01-15 Alan Mackenzie <acm@muc.de>
4889
4890 In comment-dwim with style `extra-line', respect indent-tabs-mode.
4891
4892 This fixes bug #22369.
4893
4894 * lisp/newcomment.el (comment-make-bol-ws): New function.
4895 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
4896
4897 2016-01-15 Eli Zaretskii <eliz@gnu.org>
4898
4899 Make 'random' seeds cryptographically secure if possible
4900
4901 * configure.ac: Check for "/dev/urandom".
4902
4903 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
4904 for the seed from "/dev/urandom".
4905 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
4906 * src/fns.c (Frandom): Update the doc string to indicate that
4907 system entropy is used when available.
4908 * src/w32.c: Include wincrypt.h.
4909 (w32_init_crypt_random, w32_init_random): New functions, use the
4910 CryptGenRandom API.
4911 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
4912 * src/w32.h (w32_init_random): Add prototype.
4913
4914 * doc/lispref/numbers.texi (Random Numbers): Document more details
4915 about 't' as the argument to 'random'.
4916
4917 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
4918 strong seed if possible.
4919
4920 (Bug#22202)
4921
4922 2016-01-15 Eli Zaretskii <eliz@gnu.org>
4923
4924 Unhide the --no-line-directive option to 'etags'
4925
4926 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
4927 option. (Bug#22306)
4928
4929 * doc/man/etags.1: Document the --no-line-directive option.
4930
4931 2016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
4932
4933 Fix picture-mode wrt double-width characters
4934
4935 * lisp/textmodes/picture.el (picture-insert): Check the width of
4936 the character being replaced, not just that of the replacement.
4937 (Bug#1808)
4938
4939 2016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
4940
4941 Honor docstring of gnus-group-get-new-news
4942
4943 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
4944 but non-numeric, unconditionally consider all groups to need updating.
4945
4946 2016-01-14 Simen Heggestøyl <simenheg@gmail.com>
4947
4948 Disallow parenthesis in non-pseudo CSS selectors
4949
4950 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
4951 parenthesis in selectors except for in the function notation that
4952 might appear right after a pseudo-class.
4953 * test/indent/scss-mode.scss: Add a test for it.
4954
4955 2016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
4956
4957 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
4958
4959 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
4960
4961 check-maybe shall run only default tests
4962
4963 * test/automated/Makefile.in (check, check-expensive): Depend on
4964 mostlyclean.
4965 (check-maybe): Re-run only default tests.
4966 (check-doit): Use code of check-maybe.
4967 (mostlyclean): Move *.log files away.
4968
4969 2016-01-13 Mark Oteiza <mvoteiza@udel.edu>
4970
4971 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
4972
4973 2016-01-13 Dmitry Gutov <dgutov@yandex.ru>
4974
4975 Un-obsolete tags-loop-continue
4976
4977 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
4978 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
4979
4980 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4981
4982 Document obsoletion of 'intangible' and 'point-entered/left'
4983
4984 * doc/lispref/text.texi (Special Properties): Document the new
4985 properties 'cursor-intangible' and 'cursor-sensor-functions'.
4986 Document the obsolete status of 'intangible', 'pointer-left',
4987 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
4988 * doc/lispref/display.texi (Overlay Properties): Document that
4989 'intangible' overlay property is obsolete.
4990
4991 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
4992
4993 2016-01-13 Eli Zaretskii <eliz@gnu.org>
4994
4995 Updater documentation of 'looking-back'
4996
4997 * doc/lispref/searching.texi (Regexp Search): Update documentation
4998 of 'looking-back'. Fix markup.
4999
5000 2016-01-13 Eli Zaretskii <eliz@gnu.org>
5001
5002 Document 'pre-redisplay-functions'
5003
5004 * doc/lispref/hooks.texi (Standard Hooks):
5005 * doc/lispref/display.texi (Forcing Redisplay): Document
5006 'pre-redisplay-functions'.
5007
5008 2016-01-13 Eli Zaretskii <eliz@gnu.org>
5009
5010 Document the new deafault value of 'load-read-function'
5011
5012 * doc/lispref/loading.texi (How Programs Do Loading): Document the
5013 change in the default value of 'load-read-function'.
5014
5015 2016-01-13 Eli Zaretskii <eliz@gnu.org>
5016
5017 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
5018
5019 * doc/lispref/nonascii.texi (Text Representations): Document
5020 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
5021
5022 2016-01-13 Eli Zaretskii <eliz@gnu.org>
5023
5024 Document the new prefix-command hooks
5025
5026 * doc/lispref/hooks.texi (Standard Hooks): Document
5027 `prefix-command-echo-keystrokes-functions' and
5028 `prefix-command-preserve-state-hook'.
5029
5030 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
5031
5032 Fix one more misuse of time-stamp-time-zone
5033
5034 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
5035 than the unportable "GMT" for time zone.
5036
5037 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
5038
5039 Fix NNTP NEWGROUPS off-by-a-few-hours bug
5040
5041 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
5042 in Universal Time, since we’re telling the server “GMT”.
5043
5044 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
5045
5046 Update publicsuffix.txt from upstream
5047
5048 * etc/publicsuffix.txt: Update from
5049 https://publicsuffix.org/list/effective_tld_names.dat
5050 dated 2016-01-12 11:52:01 UTC.
5051
5052 2016-01-12 Glenn Morris <rgm@gnu.org>
5053
5054 Fix some declarations.
5055
5056 * lisp/descr-text.el (internal-char-font):
5057 * lisp/cedet/mode-local.el (xref-item-location):
5058 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
5059 (epg-sub-key-capability, epg-sub-key-validity):
5060 * lisp/international/mule-util.el (internal-char-font):
5061 Fix declarations.
5062
5063 2016-01-12 Glenn Morris <rgm@gnu.org>
5064
5065 Fix some custom types.
5066
5067 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
5068 * lisp/gnus/gnus.el (gnus-valid-select-methods):
5069 * lisp/mail/rmail.el (rmail-get-coding-function):
5070 * lisp/net/newst-treeview.el (newsticker-groups-filename):
5071 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
5072 * lisp/textmodes/tildify.el (tildify-space-predicates):
5073 * lisp/url/url-tramp.el (url-tramp-protocols):
5074 Fix custom types.
5075
5076 2016-01-12 Glenn Morris <rgm@gnu.org>
5077
5078 Add some missing version tags.
5079
5080 * lisp/electric.el (electric-quote-comment)
5081 (electric-quote-string, electric-quote-paragraph):
5082 * lisp/epg-config.el (epg-gpgconf-program):
5083 * lisp/rect.el (rectangle-preview):
5084 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
5085 * lisp/emacs-lisp/package.el (package-selected-packages)
5086 (package-hidden-regexps):
5087 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
5088 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
5089 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
5090 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
5091 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
5092 (mml-smime-sign-with-sender, mml2015-always-trust)
5093 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
5094 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
5095 (browse-url-conkeror-arguments):
5096 * lisp/net/newst-reader.el (newsticker-download-logos):
5097 * lisp/progmodes/gud.el (gud-guiler-command-name):
5098 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
5099 * lisp/progmodes/project.el (project-vc):
5100 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
5101 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
5102 (python-shell-completion-native-disabled-interpreters)
5103 (python-shell-completion-native-enable)
5104 (python-shell-completion-native-output-timeout)
5105 (python-shell-completion-native-try-output-timeout):
5106 * lisp/progmodes/xref.el (xref):
5107 * lisp/term/screen.el (xterm-screen-extra-capabilities):
5108 * lisp/term/xterm.el (xterm-max-cut-length):
5109 Add missing version tags.
5110
5111 2016-01-12 Glenn Morris <rgm@gnu.org>
5112
5113 * test/automated/core-elisp-tests.el
5114 (core-elisp-tests-1-defvar-in-let): Add a custom type.
5115
5116 2016-01-12 Glenn Morris <rgm@gnu.org>
5117
5118 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
5119
5120 Remove comments that do not apply since 2005-08-09. (Bug#22349)
5121
5122 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
5123
5124 Merge from gnulib
5125
5126 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
5127 It also updates to the latest version of texinfo.tex.
5128 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
5129 * build-aux/update-copyright, doc/misc/texinfo.tex:
5130 Update from gnulib.
5131
5132 2016-01-12 Eli Zaretskii <eliz@gnu.org>
5133
5134 Update documentation of 'process-running-child-p'
5135
5136 * doc/lispref/processes.texi (Input to Processes): Document the
5137 changes in return value of 'process-running-child-p'.
5138
5139 2016-01-12 Eli Zaretskii <eliz@gnu.org>
5140
5141 Update documentation of 'deactivate-mark'.
5142
5143 * doc/lispref/markers.texi (The Mark): Document that
5144 'deactivate-mark' is now buffer-local when set.
5145
5146 2016-01-12 Eli Zaretskii <eliz@gnu.org>
5147
5148 Update documentation of 'completion-table-dynamic'
5149
5150 * doc/lispref/minibuf.texi (Programmed Completion): Document the
5151 new optional argument to 'completion-table-dynamic'.
5152
5153 2016-01-12 Eli Zaretskii <eliz@gnu.org>
5154
5155 Document changes in 'read-buffer' and 'read-buffer-function'
5156
5157 * doc/lispref/minibuf.texi (High-Level Completion): Document the
5158 4th argument to 'read-buffer' and 'read-buffer-function'.
5159
5160 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
5161
5162 Fix time-stamp-time-zone bugs introduced in July
5163
5164 This fixes a bug introduced when the July changes to
5165 format-time-string installed, as the changes were not
5166 correctly handled in this module (Bug#22302).
5167 Also, document time stamp time zones.
5168 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
5169 (time-stamp--format): New private function.
5170 (time-stamp-string, time-stamp-string-preprocess)
5171 (time-stamp-do-number): Use it.
5172 * doc/emacs/files.texi (Time Stamps): Mention time zones.
5173 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
5174
5175 2016-01-12 Eli Zaretskii <eliz@gnu.org>
5176
5177 Make piping to subprocesses more robust on MS-Windows
5178
5179 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
5180 buffer can hold. Don't return -1 if something has been written to
5181 the pipe. Zero out 'errno' before calling '_write', to avoid
5182 returning a stale value. (Bug#22344)
5183 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
5184 * src/w32.c (pipe2): Use it to request a user-defined size for the
5185 pipe being created.
5186
5187 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
5188
5189 * doc/emacs/msdos.texi (Windows Processes): Document
5190 'w32-pipe-buffer-size'.
5191
5192 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * lisp/emacs-lisp/syntax.el (syntax-ppss-table): New var
5195
5196 (syntax-ppss):
5197 * lisp/font-lock.el (font-lock-fontify-syntactically-region): Use it.
5198
5199 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 lisp/nxml: Use syntax-tables for comments
5202
5203 * lisp/nxml/nxml-mode.el (nxml-set-face): Prepend.
5204 (nxml-mode): Set syntax-ppss-table.
5205 Use sgml-syntax-propertize-function for syntax-propertize-function.
5206 Let font-lock highlight strings and comments.
5207 (nxml-degrade): Don't touch "nxml-inside" property any more.
5208 (nxml-after-change, nxml-after-change1): Remove functions.
5209 (comment): Don't set fontify rule any more.
5210 (nxml-fontify-attribute): Don't highlight the value any more.
5211 (nxml-namespace-attribute-value-delimiter, nxml-namespace-attribute-value)
5212 (nxml-comment-delimiter, nxml-comment-content): Remove faces.
5213
5214 * lisp/nxml/nxml-rap.el (nxml-scan-end): Remove.
5215 (nxml-get-inside, nxml-inside-start, nxml-inside-end): Use syntax-ppss.
5216 (nxml-clear-inside, nxml-set-inside): Remove.
5217 (nxml-scan-after-change): Remove function.
5218 (nxml-scan-prolog, nxml-tokenize-forward): Simplify.
5219 (nxml-ensure-scan-up-to-date): Use syntax-propertize.
5220 (nxml-move-outside-backwards):
5221 * lisp/nxml/nxml-outln.el (nxml-section-tag-backward): Adjust to new
5222 nxml-inside-start behavior.
5223
5224 * lisp/nxml/nxml-util.el (nxml-debug-set-inside)
5225 (nxml-debug-clear-inside): Remove macros.
5226
5227 * lisp/nxml/xmltok.el (xmltok-forward-special): Remove function.
5228 (xmltok-scan-after-comment-open): Simplify.
5229
5230 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment
5233
5234 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * lisp/nxml: Use standard completion; it also works for company-mode
5237
5238 * lisp/nxml/nxml-mode.el (nxml-complete): Obsolete.
5239 (nxml-completion-at-point-function): Remove.
5240 (nxml-mode): Don't set completion-at-point-functions.
5241 * lisp/nxml/rng-nxml.el (rng-nxml-mode-init): Set it here instead.
5242 (rng-completion-at-point): Rename from rng-complete and mark it
5243 non-interactive. It is now to be used as completion-at-point-function.
5244 (rng-complete-tag, rng-complete-end-tag, rng-complete-attribute-name)
5245 (rng-complete-attribute-value): Don't perform completion, but return
5246 completion data instead.
5247 (rng-complete-qname-function, rng-generate-qname-list): Add a few
5248 arguments, previously passed via dynamic coping.
5249 (rng-strings-to-completion-table): Rename from
5250 rng-strings-to-completion-alist. Don't return an alist. Don't both
5251 sorting and uniquifying.
5252
5253 * lisp/nxml/rng-util.el (rng-complete-before-point): Delete function.
5254 (rng-completion-exact-p, rng-quote-string): Delete functions.
5255
5256 * lisp/nxml/rng-valid.el (rng-recover-start-tag-open)
5257 (rng-missing-attributes-message, rng-missing-element-message)
5258 (rng-mark-missing-end-tags): Use explicit ".." in formats rather than
5259 calling rng-quote-string everywhere.
5260
5261 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 Use sgml-electric-tag-pair-mode also in nxml-mode
5264
5265 * lisp/nxml/rng-nxml.el: Require sgml-mode.
5266 (rng-nxml-easy-menu): Add entry for sgml-electric-tag-pair-mode.
5267 (rng-complete-qname-function): Use complete-with-action.
5268
5269 * lisp/textmodes/sgml-mode.el (sgml-electric-tag-pair-before-change-function):
5270 Let-bind forward-sexp-function, since nxml-mode binds it to
5271 something incompatible.
5272
5273 * lisp/nxml/nxml-mode.el: Use setq-local and defvar-local.
5274
5275 2016-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 * xmltok.el: Mark the "sole --" rather than the comment opener
5278
5279 * lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Put the error
5280 marker on the "sole --" rather than on the comment opener.
5281
5282 2016-01-15 Sam Steingold <sds@gnu.org>
5283
5284 replace `tramp-compat-split-string' (removed) with `split-string'
5285
5286 (python-shell-tramp-refresh-process-environment)
5287 (python-shell-calculate-pythonpath): use `split-string'
5288 instead of defunct `tramp-compat-split-string'
5289
5290 2016-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 Update nXML to use Emacs's Unicode support, and lexical-binding
5293
5294 * etc/nxml/*.el: Remove obsolete char-name files.
5295 * lisp/nxml/xsd-regexp.el (xsdre-range-list-difference): Remove unused
5296 var `next'.
5297 * lisp/nxml/rng-nxml.el (rng-set-state-after): Don't assume point-min==1.
5298 * lisp/nxml/rng-match.el (rng-update-match-state): Simplify.
5299 * lisp/nxml/nxml-outln.el (nxml-outline-state-transform-exceptions)
5300 (nxml-target-section-pos, nxml-depth-in-target-section)
5301 (nxml-outline-state-transform-alist)
5302 (nxml-outline-display-section-tag-function): Move decl before first use.
5303 * lisp/nxml/nxml-mode.el (nxml-char-name-ignore-case)
5304 (nxml-char-name-alist, nxml-char-name-table)
5305 (nxml-autoload-char-name-set-list, nxml-named-char-history): Remove vars.
5306 (nxml-enable-char-name-set, nxml-disable-char-name-set)
5307 (nxml-char-name-set-enabled-p, nxml-autoload-char-name-set)
5308 (nxml-define-char-name-set, nxml-get-char-name): Remove functions.
5309 (nxml-insert-named-char): Use read-char-by-name instead.
5310 (nxml-char-ref-display-extra): Use get-char-code-property.
5311 * lisp/nxml/nxml-maint.el (nxml-create-unicode-char-name-sets):
5312 Remove function.
5313 * lisp/nxml/nxml-glyph.el, lisp/nxml/nxml-uchnm.el: Remove files.
5314
5315 2016-01-15 Michael Albinus <michael.albinus@gmx.de>
5316
5317 Add "sg" method to Tramp
5318
5319 * doc/misc/tramp.texi (Inline methods): Add "sg" method.
5320 (Customizing Completion): Add function `tramp-parse-etc-group'.
5321
5322 * lisp/net/tramp-sh.el (tramp-methods) <sg>: Add. (Bug#22329)
5323 (tramp-completion-function-alist-sg): New defconst.
5324 (top): Completion function for "sg" is
5325 `tramp-completion-function-alist-sg'.
5326
5327 * lisp/net/tramp.el (tramp-completion-function-alist): Adapt docstring.
5328 (tramp-parse-etc-group, tramp-parse-etc-group-group): New defuns.
5329
5330 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
5331
5332 Remove XEmacs compatibility in Tramp
5333
5334 * doc/misc/tramp.texi: Replace flags by their hard coded name.
5335 Remove unused flags and the enclosed alternative text for XEmacs.
5336
5337 * doc/misc/trampver.texi: Use "Tramp" CamelCase. Rename "emacs"
5338 and "xemacs" flags to "unified" and "separate". Remove flags
5339 "emacsgw", "emacsname", "emacsdir", "ftppackagename",
5340 "emacsothername", "emacsotherdir" and "emacsotherfilename".
5341 (trampver):
5342 * lisp/net/trampver.el (tramp-version): Set to "2.3.0-pre".
5343
5344 * lisp/net/tramp.el (bkup-backup-directory-info)
5345 (directory-sep-char, ls-lisp-use-insert-directory-program)
5346 (outline-regexp, tramp-backup-directory-alist)
5347 (tramp-default-method, tramp-shell-prompt-pattern, tramp-syntax)
5348 (tramp-file-name-regexp-unified)
5349 (tramp-file-name-regexp-separate)
5350 (tramp-completion-file-name-regexp-unified)
5351 (tramp-completion-file-name-regexp-separate, tramp-chunksize)
5352 (tramp-get-method-parameter, tramp-find-method, tramp-find-user)
5353 (tramp-debug-message, tramp-progress-reporter-update)
5354 (with-tramp-progress-reporter)
5355 (tramp-rfn-eshadow-setup-minibuffer)
5356 (rfn-eshadow-setup-minibuffer-hook, tramp-unload-hook)
5357 (tramp-rfn-eshadow-update-overlay)
5358 (rfn-eshadow-update-overlay-hook, tramp-default-file-modes)
5359 (tramp-file-name-for-operation)
5360 (tramp-completion-file-name-handler)
5361 (tramp-autoload-file-name-handler, tramp-completion-mode-p)
5362 (tramp-handle-directory-files)
5363 (tramp-handle-directory-files-and-attributes)
5364 (tramp-handle-dired-uncache, tramp-handle-find-backup-file-name)
5365 (tramp-handle-insert-file-contents, tramp-handle-load)
5366 (tramp-handle-shell-command)
5367 (tramp-handle-verify-visited-file-modtime)
5368 (tramp-handle-file-notify-valid-p, tramp-accept-process-output)
5369 (tramp-check-for-regexp, tramp-wait-for-regexp)
5370 (tramp-send-string, tramp-mode-string-to-int)
5371 (tramp-get-local-gid, tramp-check-cached-permissions)
5372 (tramp-get-remote-tmpdir, tramp-make-tramp-temp-file)
5373 (auto-save-file-name-transforms)
5374 (tramp-handle-make-auto-save-file-name, tramp-read-passwd)
5375 (tramp-clear-passwd, tramp-time-diff):
5376 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp)
5377 (directory-sep-char, tramp-adb-file-name-handler-alist)
5378 (tramp-adb-parse-device-names)
5379 (tramp-adb-handle-expand-file-name)
5380 (tramp-adb-handle-file-truename, tramp-adb--gnu-switches-to-ash)
5381 (tramp-adb-handle-file-local-copy)
5382 (tramp-adb-handle-write-region, tramp-adb-handle-set-file-modes)
5383 (tramp-adb-handle-rename-file, tramp-adb-handle-process-file)
5384 (tramp-adb-handle-shell-command)
5385 (tramp-adb-handle-start-file-process, tramp-adb-get-device)
5386 (tramp-adb-maybe-open-connection):
5387 * lisp/net/tramp-cache.el (tramp-persistency-file-name)
5388 (tramp-cache-print):
5389 * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections)
5390 (tramp-bug, tramp-reporter-dump-variable)
5391 (tramp-load-report-modules, tramp-append-tramp-buffers):
5392 * lisp/net/tramp-compat.el (tramp-compat-funcall)
5393 (tramp-advice-file-expand-wildcards)
5394 (tramp-compat-temporary-file-directory)
5395 (tramp-compat-make-temp-file, tramp-compat-copy-file)
5396 (tramp-compat-delete-directory, )
5397 (tramp-compat-process-running-p):
5398 * lisp/net/tramp-ftp.el (tramp-methods) <ftp>:
5399 (tramp-default-method-alist, tramp-foreign-file-name-handler-alist):
5400 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5401 (tramp-gvfs-do-copy-or-rename-file, tramp-gvfs-handle-copy-file)
5402 (tramp-gvfs-handle-file-local-copy)
5403 (tramp-gvfs-handle-file-name-all-completions)
5404 (tramp-gvfs-handle-file-notify-add-watch)
5405 (tramp-gvfs-monitor-file-process-filter)
5406 (tramp-gvfs-handle-file-readable-p)
5407 (tramp-gvfs-handle-rename-file, tramp-gvfs-handle-write-region)
5408 (tramp-gvfs-file-name, tramp-gvfs-handler-askquestion)
5409 (tramp-gvfs-maybe-open-connection)
5410 (tramp-gvfs-parse-device-names):
5411 * lisp/net/tramp-gw.el (tramp-gw-aux-proc-sentinel)
5412 (tramp-gw-open-connection, tramp-gw-open-network-stream):
5413 * lisp/net/tramp-sh.el (directory-sep-char)
5414 (tramp-sh-file-name-handler-alist)
5415 (tramp-sh-handle-file-truename)
5416 (tramp-sh-handle-set-visited-file-modtime)
5417 (tramp-sh-handle-verify-visited-file-modtime)
5418 (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
5419 (tramp-sh-handle-file-acl)
5420 (tramp-sh-handle-file-name-all-completions)
5421 (tramp-sh-handle-copy-file, tramp-sh-handle-rename-file)
5422 (tramp-do-copy-or-rename-file-directly)
5423 (tramp-do-copy-or-rename-file-out-of-band)
5424 (dired-compress-file-suffixes, dired-remove-file)
5425 (tramp-sh-handle-dired-compress-file)
5426 (tramp-sh-handle-insert-directory)
5427 (tramp-sh-handle-expand-file-name)
5428 (tramp-sh-handle-start-file-process)
5429 (tramp-sh-handle-process-file, tramp-sh-handle-file-local-copy)
5430 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5431 (tramp-sh-handle-file-notify-add-watch)
5432 (tramp-sh-gvfs-monitor-dir-process-filter)
5433 (tramp-sh-inotifywait-process-filter, tramp-maybe-send-script)
5434 (tramp-find-executable)
5435 (tramp-open-connection-setup-interactive-shell)
5436 (tramp-find-inline-encoding, tramp-compute-multi-hops)
5437 (tramp-maybe-open-connection, tramp-convert-file-attributes)
5438 (tramp-get-remote-path, tramp-get-remote-touch):
5439 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5440 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
5441 (tramp-smb-handle-delete-directory)
5442 (tramp-smb-handle-directory-files, tramp-smb-handle-file-acl)
5443 (tramp-smb-handle-make-directory-internal)
5444 (tramp-smb-handle-process-file, tramp-smb-handle-rename-file)
5445 (tramp-smb-handle-set-file-acl, tramp-smb-handle-set-file-modes)
5446 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
5447 (tramp-smb-get-cifs-capabilities)
5448 (tramp-smb-maybe-open-connection):
5449 * lisp/net/trampver.el (tramp-repository-get-version):
5450 Remove XEmacs compat code.
5451
5452 * lisp/net/tramp-cmds.el (mml-mode, mml-insert-empty-tag)
5453 (reporter-dump-variable): Declare functions.
5454
5455 * lisp/net/tramp.el (tramp-bkup-backup-directory-info)
5456 (tramp-advice-minibuffer-electric-separator)
5457 (tramp-advice-minibuffer-electric-tilde)
5458 (tramp-handle-unhandled-file-name-directory):
5459 * lisp/net/tramp-compat.el (tramp-compat-with-temp-message)
5460 (tramp-compat-font-lock-add-keywords)
5461 (tramp-compat-load, tramp-compat-number-sequence)
5462 (tramp-compat-split-string, tramp-compat-delete-dups):
5463 * lisp/net/tramp-sh.el (tramp-sh-handle-insert-file-contents-literally):
5464 Remove.
5465
5466 * lisp/net/tramp-sh.el (tramp-methods) <psftp>: This does not work
5467 recursively.
5468
5469 2016-01-14 K. Handa <handa@gnu.org>
5470
5471 fix previous change of src/ftfont.c (ftfont_shape_by_flt)
5472
5473 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
5474 second glyph only when there are enough glyphs.
5475
5476 2016-01-13 Glenn Morris <rgm@gnu.org>
5477
5478 * src/buffer.c (Fset_buffer_major_mode): Allow default major-mode,
5479
5480 or its hook, to move point. (Bug#22348)
5481
5482 2016-01-12 Michael Albinus <michael.albinus@gmx.de>
5483
5484 Merge missing commit from emacs-25 branch
5485
5486 * test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE, SELECTOR):
5487 New variables.
5488 (check-expensive, check-doit): New targets.
5489
5490 * Makefile.in (check-expensive): New target.
5491
5492 * test/lisp/autorevert-tests.el
5493 (auto-revert-test01-auto-revert-several-files):
5494 * test/lisp/filenotify-tests.el (file-notify--deftest-remote)
5495 (file-notify-test06-many-events):
5496 * test/lisp/net/tramp-tests.el (tramp-test26-process-file)
5497 (tramp-test27-start-file-process, tramp-test28-shell-command)
5498 (tramp-test29-vc-registered)
5499 (tramp-test31-special-characters-with-stat)
5500 (tramp-test31-special-characters-with-perl)
5501 (tramp-test31-special-characters-with-ls)
5502 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
5503 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
5504 (tramp-test35-unload): Tag the tests as :expensive-test.
5505
5506 2016-01-12 John Wiegley <johnw@newartisans.com>
5507
5508 Merge from origin/emacs-25
5509
5510 1f6898d test/automated/vc-hg.el: Support out-of-tree build
5511 3adb56e Minor change in tramp-tests.el
5512 2b535ba ; * etc/NEWS: Update the js.el entry.
5513 76b518c * etc/HELLO: Add Armenian and Mongolian greetings.
5514 b51f1ef Java Mode: Fontify identifiers in the presence of annotations.
5515 36b9539 Avoid an infloop when we run out of memory
5516 2006752 Avoid unnecessary failures of auto-saving after fatal error
5517 eef6784 Simplify HAVE_MODULES use in mark_maybe_pointer
5518 552694a Revert attempt to use 'noexcept' in typedef
5519 6ad0d39 Update documentation of 'indirect-function'
5520 c6a5314 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.
5521 303141a Update documentation for obsoleting 'syntax-begin-function'
5522 4e6f61c ; * etc/NEWS: Mark documented and not-to-be-documented entries.
5523 e667bbb Document new features if Eshell
5524 9c4e4e0 ; * etc/NEWS: Update EUDC entries.
5525 1089dc9 Handle too long commands in Tramp
5526 684eb58 * .gitattributes: *.cur and *.pif are binary files too.
5527 d2c7fda * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
5528 bd3f53d * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
5529 09b2b8a * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
5530 cca0f93 ; Account for spaces before the filename
5531 c71e1e8 Use short date for 'hg annotate', and output the author
5532 f50027b Spelling fix
5533 c7dff67 ; * etc/NEWS: Fix the Xref entries that got separated.
5534 cc140bc Document user-level functions in project.el
5535 f8208b6 Document the user-level features of the Xref package
5536 b131fb8 * loading.texi: Add `define-type' entry for load-history
5537 db3c2a8 Improve doc strings and prompts in xref.el
5538 f6117ef Allow the use of `font-lock-extend-region-multiline' in CC Mode.
5539 90fd798 Fix coding system for Tramp on OS X.
5540 e985a0e ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.
5541 9dfcbf0 Update 'load-history' docs
5542 207e191 Fix (error ...) error
5543 457738f Correctly analyze brace arguments in templated C++ function declarations.
5544 d57724a * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
5545 2a9532d * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
5546 1a6b084 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
5547 8be046f Respect fontification region calculated by major mode. Fixes bug #22316.
5548 4b37cba Improve documentation of Delete Selection mode
5549 a034dd3 Fix two project-find-file issues
5550 30abf29 Clarify doc string of 'dired-current-directory'
5551 e990bb2 Use the face of preceding text for displaying the ellipsis
5552 5810ac3 Suppress Chinese file name test for OSX in tramp-tests.el
5553 eeb710a ; * lisp/startup.el: Sentences end with two spaces.
5554 428b3de * admin/admin.el (set-version): Also handle the NEWS file.
5555 648de81 ; Add NEWS entry for project.el
5556 671862f apropos-library: Skip obvious duplicates; don't error on generics
5557 51668a5 ; Grammar fix
5558 ed41d11 Add project-find-file and project-or-external-find-file
5559 056da45 ; Improve commentary in 'setup_for_ellipsis'
5560 269d008 ; Improve docstring for `inhibit-startup-echo-area-message'
5561
5562 2016-01-12 John Wiegley <johnw@newartisans.com>
5563
5564 Merge from origin/emacs-25
5565
5566 ce4a052 Add defvar-local to lisp-imenu-generic-expression
5567 a0121bc Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
5568 76fe2d5 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
5569 1ae088f * lisp/emacs-lisp/autoload.el (autoload-find-destination):
5570 b6b47af Properly encode/decode base64Binary data in SOAP
5571 c632466 Obey coding-system-for-write when writing stdout/stderr in batch
5572 2f32cb5 * doc/misc/efaq.texi (Packages that do not come with Emacs):
5573 Update the URI of MELPA and marmalade-repo.
5574 Reported by CHENG Goa <chenggao@royau.me> in
5575 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
5576 d2937aa * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
5577 5330c25 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
5578 7380990 Remove function wrongly on AWK Mode value of context
5579 fontification hook.
5580 d400753 * src/buffer.c: Stick with ASCII in doc string.
5581 221240c Reword transient-mark-mode doc string
5582 977d3ea Update doc string of 'selective-display'
5583 229c3fa Make C++ buffers writeable when writing their initial text
5584 properties.
5585 f5c762c Additional changes for "make check-expensive"
5586 1729cf3 ; * admin/MAINTAINERS: Remove myself.
5587 33219d3 Apply text properties for <, > in new after-change function
5588 (C++ Java Modes).
5589
5590 2016-01-12 John Wiegley <johnw@newartisans.com>
5591
5592 Merge from origin/emacs-25
5593
5594 9fb185a shr-tag-video bug fix
5595 6300655 Minor fixes in tramp-tests.el
5596 50575b1 Ensure redisplay when 'truncate-lines' is set
5597 0d9e80d Fix a doc string of 'transient-mark-mode'
5598 0000ae5 MS-Windows followup to latest gnulib update
5599 4bc5e02 Spelling fix
5600 f1093f7 Do secure signed Bcc handling
5601
5602 2016-01-12 John Wiegley <johnw@newartisans.com>
5603
5604 Merge from origin/emacs-25
5605
5606 861022f * doc/misc/texinfo.tex: Revert unwanted copyright change.
5607 46e47a5 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
5608 71ea138 * lisp/align.el (align): Simplify a lambda
5609 5618a50 * lisp/align.el (align): Fix arg order in call to `align-region'
5610 1f680db Fix compilation next-error in buffers with selective-display
5611 d20a948 * nsm.el (nsm-check-protocol): Fix typo in the message.
5612 1da116f Add SHA1 warnings for high network security settings
5613 e48bacd ; * etc/NEWS: Typo fix.
5614
5615 2016-01-12 John Wiegley <johnw@newartisans.com>
5616
5617 Merge from origin/emacs-25
5618
5619 43662a2 ; Clarify that xref is still experimental
5620 0a6e6ca ; * admin/release-process: Remove some obsolete records.
5621 c2e9e3d * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
5622 8637f3d (semantic-symref-derive-find-filepatterns): Return a list
5623 0a7ad07 ; Re-arrange xref-related entries in NEWS.
5624 fe903ef Fix xref-find-references on MS-Windows
5625 55a28d8 ; Fixed visual bell artifact problem on NextStep.
5626 d064034 Document new features of tildify-mode
5627 964bea7 Document new features of Whitespace mode
5628 cd68f47 Improve documentation of new Hide-IfDef features
5629 723b8bf Fix regression in font-locking cl-assert and cl-check-type
5630
5631 2016-01-12 John Wiegley <johnw@newartisans.com>
5632
5633 Merge from origin/emacs-25
5634
5635 ef33bc7 Spelling and grammar fixes
5636 9c3dbab Fix copyright years by hand
5637 0e96320 Update copyright year to 2016
5638
5639 2016-01-12 John Wiegley <johnw@newartisans.com>
5640
5641 Merge from origin/emacs-25
5642
5643 9ee6ecb lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
5644 526d80c Port chart.el methods to cl-generic.
5645 410bb69 Add nt/INSTALL.W64 build instructions
5646 8f5b524 Add new input method 'programmer-dvorak'
5647 6d11f6e Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
5648 bb83bb1 Fix EWW rendering of long RTL lines
5649 b1a8509 fix bug#21054
5650 ce5ad12 Clean up cairo printing code
5651
5652 2016-01-12 John Wiegley <johnw@newartisans.com>
5653
5654 Merge from origin/emacs-25
5655
5656 6ee327d Add handle_user_signal_hook
5657 47580e0 Avoid writing to purespace
5658 0588be7 Remove unused variable
5659 89e7483 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
5660 3b95e9c Use posix_openpt instead of openpty on Darwin
5661 86312ff Document support for ':documentation' in Lisp mode
5662 c930e75b Document new features of TeX mode
5663 7c83d84 Clarify docs of hscroll in RTL text
5664 4c8f8db Fix rendering of HTML pages that use character composition
5665 a8d37ca Avoid some compiler warnings in w32.c
5666 ce106f3de Undo ill-advised change
5667 be0bba4 Unbreak completion in python-mode buffers
5668
5669 2016-01-11 Dmitry Gutov <dgutov@yandex.ru>
5670
5671 test/automated/vc-hg.el: Support out-of-tree build
5672
5673 * test/automated/vc-hg.el
5674 (vc-hg-annotate-extract-revision-at-line-with-filename)
5675 (vc-hg-annotate-extract-revision-at-line-with-both):
5676 Don't refer to source-directory.
5677 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
5678
5679 2016-01-11 Michael Albinus <michael.albinus@gmx.de>
5680
5681 Minor change in tramp-tests.el
5682
5683 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
5684 Use `dired-uncache' instead of a Tramp internal function.
5685
5686 2016-01-11 Peter Feigl <peter.feigl@nexoid.at>
5687
5688 * etc/HELLO: Add Armenian and Mongolian greetings.
5689
5690 (Bug#22346)
5691
5692 2016-01-11 Alan Mackenzie <acm@muc.de>
5693
5694 Java Mode: Fontify identifiers in the presence of annotations.
5695
5696 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
5697 Don't move point when the defun fails.
5698 (c-forward-decl-or-cast-1): Correct a usage of match data.
5699
5700 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
5701 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
5702 removed variable.
5703
5704 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
5705
5706 2016-01-11 Eli Zaretskii <eliz@gnu.org>
5707
5708 Avoid an infloop when we run out of memory
5709
5710 * src/alloc.c (garbage_collect_1): Don't bother saving and
5711 restoring the echo-area message if we are GC'ing after running out
5712 of memory. This avoids an infloop due to repeated attempts to
5713 allocate memory for the cons cell needed to save the message,
5714 which signals the memory-full error, which attempts to save the
5715 echo-area message, which signals memory-full again, etc.
5716
5717 2016-01-11 Eli Zaretskii <eliz@gnu.org>
5718
5719 Avoid unnecessary failures of auto-saving after fatal error
5720
5721 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
5722 the benefit of FAT volumes if we are called as part of shutting
5723 down due to a fatal error, which probably means we are trying to
5724 auto-save the session.
5725 * src/lread.c (check_obarray): Don't bother making the obarray
5726 valid if we are shutting down due to a fatal error. This avoids
5727 interfering with auto-saving the crashed session.
5728
5729 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
5730
5731 Simplify HAVE_MODULES use in mark_maybe_pointer
5732
5733 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
5734 so that later code can use 'if' rather than '#ifdef'.
5735 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
5736 always working.
5737
5738 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
5739
5740 Revert attempt to use 'noexcept' in typedef
5741
5742 This use of 'noexcept' runs afoul of the C++11 standard.
5743 Problem reported by Philipp Stephani in:
5744 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
5745 * src/emacs-module.c (emacs_finalizer_function):
5746 Move this typedef here ...
5747 * src/emacs-module.h: ... from here, and use only the C
5748 version of the typedef. The typedef is now private since it
5749 is never used in the .h file now and anyway it seemed to be
5750 causing more confusion than it cured.
5751 (make_user_ptr, get_user_finalizer, set_user_finalizer):
5752 Open-code the type instead.
5753
5754 2016-01-10 Eli Zaretskii <eliz@gnu.org>
5755
5756 Update documentation of 'indirect-function'
5757
5758 * doc/lispref/eval.texi (Function Indirection): Update the
5759 documentation of 'indirect-function'.
5760
5761 2016-01-10 Eli Zaretskii <eliz@gnu.org>
5762
5763 Update documentation for obsoleting 'syntax-begin-function'
5764
5765 * doc/lispref/syntax.texi (Position Parse): Undocument
5766 'syntax-begin-function' that is now obsolete.
5767
5768 2016-01-10 Eli Zaretskii <eliz@gnu.org>
5769
5770 Document new features if Eshell
5771
5772 * doc/misc/eshell.texi (Input/Output): Document the new
5773 '#<bufname>' syntax.
5774 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
5775 Disable "Key Index" generation, as there are no @kindex entries in
5776 this manual.
5777
5778 2016-01-10 Michael Albinus <michael.albinus@gmx.de>
5779
5780 Handle too long commands in Tramp
5781
5782 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
5783 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
5784 order to not exceed shell command line limit.
5785
5786 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
5787 (tramp--test-utf8): Include Arabic file name, again.
5788
5789 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
5790
5791 * .gitattributes: *.cur and *.pif are binary files too.
5792
5793 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
5796
5797 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
5800
5801 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
5802 within $(...).
5803 * test/indent/shell.sh: Add corresponding test.
5804
5805 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
5808
5809 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
5810 cast to Lisp_Object.
5811
5812 2016-01-09 Dmitry Gutov <dgutov@yandex.ru>
5813
5814 Use short date for 'hg annotate', and output the author
5815
5816 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
5817 Change '-d' to '-dq'. (Bug#21805)
5818 (vc-hg-annotate-switches): Default to "-u" "--follow".
5819 (vc-hg-annotate-re): Update to recognize the short date format
5820 and the optional username.
5821 (vc-hg-annotate-time)
5822 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
5823
5824 * test/automated/vc-hg.el: New file.
5825
5826 2016-01-09 Paul Eggert <eggert@cs.ucla.edu>
5827
5828 Spelling fix
5829
5830 2016-01-09 Eli Zaretskii <eliz@gnu.org>
5831
5832 Document user-level functions in project.el
5833
5834 * lisp/progmodes/project.el (project-find-file)
5835 (project-or-external-find-file): Add doc strings.
5836
5837 2016-01-09 Eli Zaretskii <eliz@gnu.org>
5838
5839 Document the user-level features of the Xref package
5840
5841 * doc/emacs/maintaining.texi (Maintaining): Add a list of
5842 described features.
5843 (Xref): New section, made out of thoroughly rewritten "Tags"
5844 section.
5845 (Find Identifiers, Looking Up Identifiers, Xref Commands)
5846 (Identifier Search, List Identifiers): New subsections,
5847 incorporating the old tags commands and the new xref commands.
5848 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
5849 Section and subsections demoted to a lower level.
5850 * doc/emacs/search.texi (Search):
5851 * doc/emacs/windows.texi (Pop Up Window):
5852 * doc/emacs/frames.texi (Creating Frames):
5853 * doc/emacs/programs.texi (Imenu, Symbol Completion):
5854 * doc/emacs/building.texi (Grep Searching):
5855 * doc/emacs/dired.texi (Operating on Files):
5856 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
5857
5858 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * loading.texi: Add `define-type' entry for load-history
5861
5862 * doc/lispref/loading.texi (Where Defined): Remove incorrect
5863 cl-defmethod description, and add missing define-type entry.
5864
5865 2016-01-09 Eli Zaretskii <eliz@gnu.org>
5866
5867 Improve doc strings and prompts in xref.el
5868
5869 * lisp/progmodes/xref.el (xref-backend-functions)
5870 (xref-find-definitions): Doc fixes.
5871 (xref-query-replace): Doc fix. Improve prompts for arguments.
5872
5873 2016-01-09 Alan Mackenzie <acm@muc.de>
5874
5875 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
5876
5877 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
5878 `font-lock-extend-regions-wholelines' from
5879 `font-lock-extend-region-functions' rather than setting the latter to
5880 nil.
5881
5882 2016-01-09 Michael Albinus <michael.albinus@gmx.de>
5883
5884 Fix coding system for Tramp on OS X.
5885
5886 * lisp/net/tramp-compat.el: Require ucs-normalize.
5887
5888 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5889 Set coding system to `utf-8-hfs' for Mac OS X.
5890
5891 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
5892 Flush directory properties when needed.
5893 (tramp--test-utf8): Include Chinese file name, again.
5894
5895 2016-01-09 Eli Zaretskii <eliz@gnu.org>
5896
5897 Update 'load-history' docs
5898
5899 * doc/lispref/loading.texi (Where Defined): Update the list of
5900 forms in 'load-history' by adding the forms created for the
5901 'cl-generic' generics. (Bug#21422)
5902
5903 2016-01-08 Paul Eggert <eggert@cs.ucla.edu>
5904
5905 Fix (error ...) error
5906
5907 Problem reported by Glenn Morris in:
5908 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
5909 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
5910 introduced in my Aug 28 change, where I got confused by the
5911 two meanings of (error ...).
5912
5913 2016-01-08 Alan Mackenzie <acm@muc.de>
5914
5915 Correctly analyze brace arguments in templated C++ function declarations.
5916
5917 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
5918 POS and LIMIT parameters, like the other c-go-list-* functions have.
5919
5920 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
5921 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
5922 followed by template specifiers.
5923
5924 2016-01-08 Glenn Morris <rgm@gnu.org>
5925
5926 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
5927
5928 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
5929
5930 2016-01-08 Mark Oteiza <mvoteiza@udel.edu>
5931
5932 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
5933
5934 2016-01-08 Alan Mackenzie <acm@muc.de>
5935
5936 Respect fontification region calculated by major mode. Fixes bug #22316.
5937
5938 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
5939 fontification region has been calculated by a function on
5940 font-lock-extend-after-change-region-function use this region rather than
5941 changing the end position to somewhere else.
5942
5943 2016-01-08 Eli Zaretskii <eliz@gnu.org>
5944
5945 Improve documentation of Delete Selection mode
5946
5947 * lisp/delsel.el (delete-selection-mode)
5948 (delete-selection-helper): Update and expand the doc strings.
5949 (Bug#22296)
5950
5951 * doc/emacs/mark.texi (Using Region): Document the behavior of
5952 delete commands in Delete Selection mode. (Bug#22296)
5953
5954 * doc/lispref/markers.texi (The Mark): Document how to add the
5955 support for Delete Selection mode to Lisp programs. (Bug#22296)
5956
5957 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
5958
5959 Fix two project-find-file issues
5960
5961 * lisp/progmodes/project.el (project--value-in-dir):
5962 Temporarily set enable-local-variables to :all.
5963 (project-find-file, project-or-external-find-file):
5964 All autoloads.
5965 (project--find-file-in): Require xref.
5966
5967 2016-01-08 Eli Zaretskii <eliz@gnu.org>
5968
5969 Clarify doc string of 'dired-current-directory'
5970
5971 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
5972 the return value might not end in a slash when called with the
5973 optional argument non-nil. (Bug#6273)
5974
5975 2016-01-08 Eli Zaretskii <eliz@gnu.org>
5976
5977 Use the face of preceding text for displaying the ellipsis
5978
5979 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
5980 text in it->saved_face_id for displaying the ellipsis, and ignore
5981 the face, if any, of the invisible text. (Bug#22320)
5982
5983 2016-01-08 Michael Albinus <michael.albinus@gmx.de>
5984
5985 Suppress Chinese file name test for OSX in tramp-tests.el
5986
5987 * test/automated/tramp-tests.el (tramp--test-utf8):
5988 Remove instrumentation. Suppress Chinese file name test for OSX.
5989
5990 2016-01-07 Glenn Morris <rgm@gnu.org>
5991
5992 * admin/admin.el (set-version): Also handle the NEWS file.
5993
5994 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
5995
5996 apropos-library: Skip obvious duplicates; don't error on generics
5997
5998 * lisp/apropos.el (apropos-library): Skip "was an autoload"
5999 entries, to avoid obvious duplicates. For each cl-defmethod
6000 entry, take just its function symbol (bug#21422).
6001
6002 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
6003
6004 Add project-find-file and project-or-external-find-file
6005
6006 * lisp/minibuffer.el (completion-category-defaults):
6007 Add `project-file' category.
6008
6009 * lisp/progmodes/project.el (project-find-file)
6010 (project-or-external-find-file): New commands.
6011 (project--find-file-in): New private function.
6012
6013 * lisp/progmodes/xref.el (xref-collect-matches): Use
6014 `expand-file-name' on DIR, to expand the tildes.
6015 (xref--find-ignores-arguments): Extract from
6016 `xref--rgrep-command'.
6017
6018 2016-01-06 Leo Liu <sdl.web@gmail.com>
6019
6020 Add defvar-local to lisp-imenu-generic-expression
6021
6022 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
6023 defvar-local.
6024
6025 2016-01-06 Leo Liu <sdl.web@gmail.com>
6026
6027 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
6028
6029 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
6030 Don't declare (indent 1).
6031
6032 2016-01-06 Glenn Morris <rgm@gnu.org>
6033
6034 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
6035
6036 2016-01-06 Glenn Morris <rgm@gnu.org>
6037
6038 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
6039
6040 Avoid specifying the length of a time object (it has not been "2"
6041 for some time).
6042
6043 2016-01-06 Andreas Schwab <schwab@linux-m68k.org>
6044
6045 Properly encode/decode base64Binary data in SOAP
6046
6047 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
6048 base64Binary value as utf-8.
6049 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
6050
6051 2016-01-06 Eli Zaretskii <eliz@gnu.org>
6052
6053 Obey coding-system-for-write when writing stdout/stderr in batch
6054
6055 * src/print.c (printchar_to_stream):
6056 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
6057 a non-nil value, use it to encode output in preference to
6058 locale-coding-system. See the discussions in
6059 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
6060 for the details.
6061
6062 * doc/lispref/os.texi (Terminal Output): Document how to send
6063 non-ASCII text via 'send-string-to-terminal'.
6064 (Batch Mode): Document how text written to standard streams is
6065 encoded. Fix inaccuracy regarding which output streams are used
6066 by output functions in batch mode.
6067
6068 2016-01-06 Xue Fuqiao <xfq.free@gmail.com>
6069
6070 * doc/misc/efaq.texi (Packages that do not come with Emacs):
6071 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
6072 <chenggao@royau.me> in
6073 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
6074
6075 2016-01-05 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
6076
6077 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
6078
6079 Fix backslash. (Bug#22224)
6080
6081 2016-01-05 Federico Beffa <beffa@ieee.org> (tiny change)
6082
6083 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
6084
6085 Make it actually work. (Bug#22265)
6086
6087 2016-01-05 Alan Mackenzie <acm@muc.de>
6088
6089 Remove function wrongly on AWK Mode value of context fontification hook.
6090
6091 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
6092 swap order of entries so that awk's entry isn't superseded by the default.
6093
6094 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
6095 to handle nil value of c-before-context-fontification-functions.
6096
6097 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
6098
6099 * src/buffer.c: Stick with ASCII in doc string.
6100
6101 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
6102
6103 Reword transient-mark-mode doc string
6104
6105 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
6106 The value 'lambda (literally) can be interpreted as (quote lambda),
6107 which is not intended here; we want just the lambda symbol.
6108
6109 2016-01-05 Eli Zaretskii <eliz@gnu.org>
6110
6111 Update doc string of 'selective-display'
6112
6113 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
6114 using it with the value of 't' is obsolete. (Bug#1092)
6115
6116 2016-01-05 Alan Mackenzie <acm@muc.de>
6117
6118 Make C++ buffers writeable when writing their initial text properties.
6119
6120 This is a correction to yesterday's CC Mode patch.
6121
6122 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
6123 c-save-buffer-state around the function rather than a mere `let'.
6124
6125 2016-01-05 Michael Albinus <michael.albinus@gmx.de>
6126
6127 Additional changes for "make check-expensive"
6128
6129 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
6130 Explain make target `check-expensive'.
6131
6132 * etc/NEWS: Mention new make target `check-expensive'.
6133
6134 * test/automated/Makefile.in (check-doit): New target.
6135 (check, check-expensive): Use it.
6136
6137 2016-01-04 Alan Mackenzie <acm@muc.de>
6138
6139 Apply text properties for <, > in new after-change function (C++ Java Modes).
6140
6141 These are category/syntax-table properties to give < and > paren syntax.
6142 Also apply certain `c-type' text properties to the insides of <..> constructs
6143 to ensure that identifiers contained by them get fontified. This patch fixes
6144 bug #681.
6145
6146 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
6147 after-change action.
6148
6149 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
6150 change region to include <s and >s which might not be already marked as
6151 parens, rather than just when paren text properties are removed.
6152 (c-restore-<>-properties): New after-change function, which applies text
6153 properties marking < and > with paren syntax.
6154
6155 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
6156 properties are applied to the interiors of <...> constructs, to ensure
6157 fontification of identifiers there.
6158
6159 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
6160 c-restore-<>-properties to this list for C++ and Java.
6161
6162 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
6163 c-before-font-lock-functions, exclude c-restore-<>-properties from the
6164 functions invoked.
6165 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
6166 to allow modification by before-change functions.
6167 (c-after-change): Amend c-new-END here, rather than initializing it and
6168 c-new-BEG.
6169
6170 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
6171
6172 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
6173
6174 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
6175
6176 Introduce check-expensive tests.
6177
6178 * Makefile.in (check-expensive):
6179 * test/automated/Makefile.in (check-expensive): New target.
6180
6181 * test/automated/auto-revert-tests.el
6182 (auto-revert-test01-auto-revert-several-files):
6183 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
6184 * test/automated/tramp-tests.el (tramp-test26-process-file)
6185 (tramp-test27-start-file-process, tramp-test28-shell-command)
6186 (tramp-test29-vc-registered)
6187 (tramp-test31-special-characters-with-stat)
6188 (tramp-test31-special-characters-with-perl)
6189 (tramp-test31-special-characters-with-ls)
6190 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
6191 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
6192 (tramp-test35-unload): Tag the tests as :expensive-test.
6193
6194 2016-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6195
6196 shr-tag-video bug fix
6197
6198 * shr.el (shr-tag-video): Protect against the `poster' being
6199 empty.
6200
6201 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
6202
6203 Minor fixes in tramp-tests.el
6204
6205 * test/automated/tramp-tests.el (tramp-test26-process-file):
6206 Move point properly.
6207 (tramp-test29-vc-registered): Work with relative file names.
6208
6209 2016-01-04 Eli Zaretskii <eliz@gnu.org>
6210
6211 Ensure redisplay when 'truncate-lines' is set
6212
6213 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
6214 (Bug#22303)
6215
6216 2016-01-04 Eli Zaretskii <eliz@gnu.org>
6217
6218 Fix a doc string of 'transient-mark-mode'
6219
6220 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
6221 "lambda" in doc string from becoming a link to lambda expressions.
6222
6223 2016-01-04 Eli Zaretskii <eliz@gnu.org>
6224
6225 MS-Windows followup to latest gnulib update
6226
6227 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
6228
6229 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
6230
6231 Spelling fix
6232
6233 2016-01-03 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
6234
6235 Do secure signed Bcc handling
6236
6237 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
6238 (bug#18718).
6239
6240 2016-01-03 Paul Eggert <eggert@cs.ucla.edu>
6241
6242 Avoid stdio in SIGINT handler
6243
6244 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
6245 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
6246 * lib/ignore-value.h: New file, from gnulib.
6247 * src/keyboard.c: Include it.
6248 (write_stdout, read_stdin): New functions.
6249 (handle_interrupt): Use them instead of printf and getchar,
6250 and avoid fflush when handling signals.
6251
6252 2016-01-03 Paul Eggert <eggert@cs.ucla.edu>
6253
6254 * doc/misc/texinfo.tex: Revert unwanted copyright change.
6255
6256 2016-01-03 Artur Malabarba <bruce.connor.am@gmail.com>
6257
6258 * lisp/align.el (align): Simplify a lambda
6259
6260 * lisp/align.el (align): Fix arg order in call to `align-region'
6261
6262 2016-01-03 Eli Zaretskii <eliz@gnu.org>
6263
6264 Fix compilation next-error in buffers with selective-display
6265
6266 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
6267 function.
6268 (compilation-internal-error-properties)
6269 (compilation-next-error-function, compilation-set-window): Use
6270 it. (Bug#1092)
6271
6272 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6273
6274 * nsm.el (nsm-check-protocol): Fix typo in the message.
6275
6276 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6277
6278 Add SHA1 warnings for high network security settings
6279
6280 * nsm.el (nsm-check-protocol): When using high security, warn
6281 about SHA1 certificates, which are now believed to be open to
6282 spoofing.
6283
6284 2016-01-02 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
6285
6286 Refactor mml-smime.el, mml1991.el, mml2015.el
6287
6288 (Maybe this is the last merge from Gnus git to Emacs git)
6289
6290 Cf. discussion on ding mailing list, messages in
6291 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
6292 Common code from the three files mml-smime.el, mml1991.el, and
6293 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
6294 to gnus-util.el.
6295
6296 The code is supported by test cases with necessary test keys.
6297
6298 Documentation in message.texi is updated.
6299
6300 * doc/misc/message.texi (Security, Using S/MIME):
6301 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
6302 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
6303 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
6304
6305 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
6306 New functions.
6307
6308 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
6309 (epa--select-keys): Autoload.
6310 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
6311 (mml-secure-openpgp-signers): New user option;
6312 make mml1991-signers and mml2015-signers obsolete aliases to it.
6313 (mml-secure-smime-signers): New user option;
6314 make mml-smime-signers an obsolete alias to it.
6315 (mml-secure-openpgp-encrypt-to-self): New user option;
6316 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
6317 aliases to it.
6318 (mml-secure-smime-encrypt-to-self): New user option;
6319 make mml-smime-encrypt-to-self an obsolete alias to it.
6320 (mml-secure-openpgp-sign-with-sender): New user option;
6321 make mml2015-sign-with-sender an obsolete alias to it.
6322 (mml-secure-smime-sign-with-sender): New user option;
6323 make mml-smime-sign-with-sender an obsolete alias to it.
6324 (mml-secure-openpgp-always-trust): New user option;
6325 make mml2015-always-trust an obsolete alias to it.
6326 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
6327 New user options.
6328 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
6329 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
6330 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
6331 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
6332 (mml-secure-passphrase-callback, mml-secure-check-user-id)
6333 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
6334 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
6335 (mml-secure-fingerprint, mml-secure-filter-keys)
6336 (mml-secure-normalize-cust-name, mml-secure-select-keys)
6337 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
6338 (mml-secure-self-recipients, mml-secure-recipients)
6339 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
6340
6341 * lisp/gnus/mml-smime.el: Require epg;
6342 refactor declaration and autoloading of epg functions.
6343 (mml-smime-use): Doc fix.
6344 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
6345 Obsolete.
6346 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
6347 Use format instead of gnus-format-message.
6348 (mml-smime-epg-secret-key-id-list): Remove variable.
6349 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
6350 (mml-smime-epg-find-usable-secret-key): Remove functions.
6351 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
6352
6353 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
6354 (mml1991-passphrase-cache-expiry): Obsolete.
6355 (mml1991-epg-secret-key-id-list): Remove variable.
6356 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
6357 (mml1991-epg-find-usable-secret-key): Remove functions.
6358 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
6359
6360 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
6361 (mml2015-passphrase-cache-expiry): Obsolete.
6362 (mml2015-epg-secret-key-id-list): Remove variable.
6363 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
6364 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
6365 (mml2015-epg-find-usable-secret-key): Remove functions.
6366 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
6367 (mml2015-epg-encrypt): Refactor.
6368
6369 2016-01-02 Glenn Morris <rgm@gnu.org>
6370
6371 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
6372
6373 Explicitly ignore case. (Bug#22262)
6374
6375 2016-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 (semantic-symref-derive-find-filepatterns): Return a list
6378
6379 * lisp/cedet/semantic/symref/grep.el
6380 (semantic-symref-derive-find-filepatterns): Return a list.
6381 (semantic-symref-perform-search): Quote the result here once and for all.
6382
6383 2016-01-02 Eli Zaretskii <eliz@gnu.org>
6384
6385 Fix xref-find-references on MS-Windows
6386
6387 * lisp/cedet/semantic/symref/grep.el
6388 (semantic-symref-derive-find-filepatterns): Use
6389 'shell-quote-argument' instead of manually quoting in a way that
6390 only works with Posix shells. (Bug#22289)
6391
6392 2016-01-02 Eli Zaretskii <eliz@gnu.org>
6393
6394 Document new features of tildify-mode
6395
6396 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
6397 (tildify-mode): Spelling fixes in doc strings.
6398
6399 * etc/NEWS: Reformat the tildify-mode entry.
6400
6401 2016-01-02 Eli Zaretskii <eliz@gnu.org>
6402
6403 Document new features of Whitespace mode
6404
6405 * doc/emacs/display.texi (Useless Whitespace): Document
6406 'whitespace-toggle-options' and the new 'big-indent' style.
6407 Document 'whitespace-big-indent-regexp'. Document the Global
6408 Whitespace mode.
6409
6410 2016-01-02 Eli Zaretskii <eliz@gnu.org>
6411
6412 Improve documentation of new Hide-IfDef features
6413
6414 * etc/NEWS: Expand and reword Hide-IfDef section.
6415
6416 2016-01-02 Leo Liu <sdl.web@gmail.com>
6417
6418 Fix regression in font-locking cl-assert and cl-check-type
6419
6420 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
6421 el-errs-re.
6422
6423 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
6424
6425 Spelling and grammar fixes
6426
6427 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
6428
6429 Fix copyright years by hand
6430
6431 These are dates that admin/update-copyright did not update, or
6432 updated incorrectly.
6433
6434 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
6435
6436 Update copyright year to 2016
6437
6438 Run admin/update-copyright.
6439
6440 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
6441
6442 Merge from gnulib
6443
6444 This mostly just updates copyright dates of gnulib files.
6445 It also updates to the latest version of texinfo.tex.
6446
6447 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
6448
6449 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
6450
6451 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
6452
6453 Port chart.el methods to cl-generic.
6454
6455 cl-call-next-method cannot be used inside EIEIO's defmethod.
6456 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
6457 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
6458 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
6459 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
6460 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
6461 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
6462
6463 2015-12-31 Brian Burns <bburns.km@gmail.com>
6464
6465 Add nt/INSTALL.W64 build instructions
6466
6467 * nt/INSTALL.W64: New file.
6468 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
6469
6470 2015-12-31 Joakim Jalap <joakim.jalap@fastmail.com>
6471
6472 Add new input method 'programmer-dvorak'
6473
6474 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
6475 input method.
6476
6477 * etc/NEWS: Mention it.
6478
6479 2015-12-31 Eli Zaretskii <eliz@gnu.org>
6480
6481 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
6482
6483 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
6484 original M-TAB binding in a buffer-local variable.
6485 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
6486 if that is recorded, when point is in a place where flyspell
6487 should not be active (e.g., because the user turned on
6488 'flyspell-prog-mode'). (Bug#18533)
6489
6490 2015-12-31 Eli Zaretskii <eliz@gnu.org>
6491
6492 Fix EWW rendering of long RTL lines
6493
6494 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
6495 of the selected window before filling its lines. (Bug#22250)
6496
6497 2015-12-31 Vincent Belaïche <vincentb1@users.sourceforge.net>
6498
6499 fix bug#21054
6500
6501 * ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
6502
6503 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6504
6505 Clean up cairo printing code
6506
6507 * src/gtkutil.c (xg_get_page_setup): Use listn.
6508 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
6509 decode_window_system_frame and FRAME_VISIBLE_P.
6510 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
6511 of Fdisplay.
6512 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
6513 instead of Fdisplay. Temporarily unblock_input around QUIT.
6514
6515 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6516
6517 Add handle_user_signal_hook
6518
6519 * src/keyboard.h (handle_user_signal_hook): New declaration.
6520 * src/keyboard.c (handle_user_signal_hook): New variable.
6521 (handle_user_signal): Call it.
6522
6523 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6524
6525 Avoid writing to purespace
6526
6527 * src/alloc.c (Fmake_string): Don't write to empty string contents.
6528 (allocate_vector): Don't write to empty vector size.
6529 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
6530 Don't call unnecessary XSETCAR or XSETCDR.
6531 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
6532 write to empty string size_byte.
6533
6534 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6535
6536 Remove unused variable
6537
6538 * lisp/international/mule-cmds.el: Remove unused variable
6539 `mac-system-coding-system'.
6540
6541 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6542
6543 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
6544
6545 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6546
6547 Use posix_openpt instead of openpty on Darwin
6548
6549 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
6550 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
6551 Darwin-specific definitions. Use posix_openpt instead.
6552
6553 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
6554
6555 Document support for ':documentation' in Lisp mode
6556
6557 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
6558 (lisp-string-after-doc-keyword-p)
6559 (lisp-font-lock-syntactic-face-function): Add doc strings.
6560
6561 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
6562
6563 Document new features of TeX mode
6564
6565 * doc/emacs/text.texi (TeX Print): Document
6566 'tex-print-file-extension'.
6567 * doc/emacs/programs.texi (Misc for Programs): Document support
6568 for Prettify Symbols mode in TeX mode.
6569
6570 2015-12-30 Eli Zaretskii <eliz@gnu.org>
6571
6572 Clarify docs of hscroll in RTL text
6573
6574 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
6575 meaning of a window's horizontal scroll amount for RTL paragraphs.
6576
6577 2015-12-30 Eli Zaretskii <eliz@gnu.org>
6578
6579 Fix rendering of HTML pages that use character composition
6580
6581 * src/indent.c (Fvertical_motion): Fix the case when point starts
6582 in the middle of a composition, as in shr-vertical-motion.
6583 (Bug#22250)
6584
6585 2015-12-30 Eli Zaretskii <eliz@gnu.org>
6586
6587 Avoid some compiler warnings in w32.c
6588
6589 * src/w32.c (codepage_for_filenames, crlf_to_lf)
6590 (ansi_encode_filename, socket_to_fd, sys_write)
6591 (check_windows_init_file): Avoid compiler warnings about
6592 differences in pointer signedness.
6593
6594 2015-12-29 Dmitry Gutov <dgutov@yandex.ru>
6595
6596 Undo ill-advised change
6597
6598 * lisp/progmodes/xref.el (xref-collect-matches): Undo
6599 ill-advised change. The hits come in the order that `find'
6600 produces them in, which isn't alphabetical.
6601
6602 2015-12-29 Dmitry Gutov <dgutov@yandex.ru>
6603
6604 Unbreak completion in python-mode buffers
6605
6606 * lisp/progmodes/python.el (python-shell-completion-at-point):
6607 Unbreak in python-mode buffers.
6608
6609 2016-01-09 Andrew Hyatt <ahyatt@gmail.com>
6610
6611 Adding example replies to bug-triage.
6612
6613 * admin/notes/bug-triage: Added example replies. Also, as requested,
6614 making the process notes into more of a checklist.
6615
6616 2016-01-08 Andrew Hyatt <ahyatt@gmail.com>
6617
6618 Rename the notes/admin/triage file to bug-triage.
6619
6620 * CONTRIBUTE: Change reference to the triage file name.
6621 * admin/notes/triage: Rename file to admin/notes/bug-triage.
6622
6623 2016-01-07 Glenn Morris <rgm@gnu.org>
6624
6625 Allow creation of loaddefs files without timestamps.
6626
6627 * lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable.
6628 (autoload-generate-file-autoloads, update-directory-autoloads):
6629 If autoload-timestamps is nil, write "t" instead of file timestamp.
6630 (autoload-find-destination, update-directory-autoloads):
6631 If timestamp is "t", use the modtime of the output file instead.
6632
6633 2016-01-06 Glenn Morris <rgm@gnu.org>
6634
6635 Doc tweaks.
6636
6637 * lisp/calendar/cal-hebrew.el (diary-hebrew-list-entries):
6638 * lisp/calendar/cal-iso.el (calendar-iso-to-absolute)
6639 (calendar-iso-from-absolute):
6640 * lisp/calendar/cal-tex.el (cal-tex-comment):
6641 * lisp/calendar/solar.el (calendar-time-display-form): Doc tweaks.
6642
6643 2016-01-06 Glenn Morris <rgm@gnu.org>
6644
6645 Build tweaks related to tags files.
6646
6647 * lib-src/Makefile.in (tagsfiles): New variable.
6648 (TAGS): Also depend on the source files. Use our own etags program.
6649 * lisp/Makefile.in (ETAGS): Add EXEEXT.
6650 (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
6651 Remove.
6652 (tagsfiles): New, replacing lisptagsfiles1 etc.
6653 Remove irrelevant source files here rather than in the TAGS rule.
6654 (${ETAGS}): New rule.
6655 (TAGS): Also depend on the etags executable.
6656 * lwlib/Makefile.in (EXEEXT): New, set by configure.
6657 (ETAGS): Add EXEEXT.
6658 (${ETAGS}): New rule.
6659 (ctagsfiles): Use "wildcard".
6660 (TAGS): Also depend on the etags executable.
6661 * nt/Makefile.in (ETAGS, tagsfiles): New variables.
6662 (${ETAGS}): New rule.
6663 (TAGS): Fix dependencies.
6664 * oldXMenu/Makefile.in (EXEEXT): New, set by configure.
6665 (ETAGS): New variable, replacing $TAGS. Use our own etags program.
6666 Remove "-t" argument.
6667 (${ETAGS}): New rule.
6668 (tagsfiles): New variable.
6669 (TAGS): New rule, with proper dependencies.
6670 * src/Makefile.in (ETAGS): Add EXEEXT. Add a build rule.
6671 (ctagsfiles1, ctagsfiles2): Use "wildcard".
6672 (ctagsfiles3): Remove.
6673 (TAGS): Depend on etags.
6674 (../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
6675 directories decide if updates are needed.
6676
6677 2016-01-06 Glenn Morris <rgm@gnu.org>
6678
6679 * lisp/Makefile.in (CAL_SRC): Skip calendar.el.
6680
6681 2016-01-06 Glenn Morris <rgm@gnu.org>
6682
6683 * test/lisp/emacs-lisp/package-tests.el
6684
6685 (package-test-macro-compilation): Fixup branch merge.
6686
6687 2016-01-05 Eli Zaretskii <eliz@gnu.org>
6688
6689 Fix fallout from merging emacs-25 branch in test/
6690
6691 * .gitignore: Update for the new place of biditest.txt.
6692 * test/automated/: Directory removed. All files moved to their
6693 proper places.
6694 * test/etags/: Directory removed. All files moved to their proper
6695 places.
6696 * test/automated/url-parse-tests.el: File removed; it was an exact
6697 copy of the same file in test/lisp/url/.
6698 * test/automated/url-expand-tests.el: Moved to test/lisp/url/.
6699
6700 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
6701
6702 Spelling fixes.
6703
6704 2016-01-04 Daniel Colascione <dancol@dancol.org>
6705
6706 Let users disable unsafe signal handling code
6707
6708 * src/keyboard.c (syms_of_keyboard): New user variables
6709 `attempt-stack-overflow-recovery' and
6710 `attempt-orderly-shutdown-on-fatal-signal'.
6711 * src/sysdep.c (stack_overflow): Check
6712 `attempt-stack-overflow-recovery'.
6713 * src/emacs.c (terminate_due_to_signal): Check
6714 `attempt-orderly-shutdown-on-fatal-signal'.
6715
6716 2016-01-03 Michael Albinus <michael.albinus@gmx.de>
6717
6718 * configure.ac: Add error message for gfile on Nextstep.
6719
6720 2016-01-03 John Wiegley <johnw@newartisans.com>
6721
6722 Merge branch 'emacs-25-merge'
6723
6724 2016-01-02 Vincent Belaïche <vincentb1@users.sourceforge.net>
6725
6726 Align textually on fix done for emacs-25 branch for bug#21054
6727
6728 * lisp/ses.el (ses-check-curcell): Suppress ``temporary fix'' comment,
6729 and useless `(if t ...)' in order to align textually on fix done for
6730 emacs-25 branch for bug#21054.
6731
6732 2016-01-02 K. Handa <handa@gnu.org>
6733
6734 support rendering of wider range of combinging characters by ftfont backend
6735
6736 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
6737 supports rendering of combining characters, call
6738 font-shape-gstring.
6739
6740 * src/font.c (Ffont_get): Handle `combining-capability' property.
6741 (syms_of_font): New symbol ":combining-capability'.
6742
6743 * src/font.h (struct font_driver): New member combining_capability.
6744
6745 * src/ftfont.c: Include "category.h".
6746 (ftfont_driver): Initialize combining_capability to
6747 ftfont_combining_capability.
6748 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
6749 FLT in advance.
6750 (ftfont_combining_capability): New function.
6751
6752 2016-01-01 Andrew Hyatt <ahyatt@gmail.com>
6753
6754 Add notes on bug triage procedure
6755
6756 * CONTRIBUTE: In section on the issue tracker, point to new triage file.
6757 * admin/notes/triage: New file explaining triage procedure.
6758
6759 2015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6760
6761 Correct ses-rename-cell cursor-intangible text prop updating.
6762
6763 There were two problems:
6764
6765 - First ses-rename-cell has to work when called non interactively
6766 (with non-nil CELL argument), so in this case the start pos of
6767 put-text-property cannot be plainly (point), you need a
6768 ses-goto-print call before
6769
6770 - Second, the range itself was computed erronously, only the first
6771 char was affected instead of the full cell width. This was not
6772 noticeable prior to changes (Deprecate `intangible' and
6773 `point-entered' properties) made by Stefan on 2015-04-13T19:51:15Z
6774
6775 * lisp/ses.el (ses-rename-cell): Correct computation of position range
6776 to which the 'cursor-intangible text property has to be set to cell
6777 new name.
6778
6779 2015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6780
6781 Don't fake empty cells value by "" when printing with a lambda.
6782
6783 When using a lambda expression printer function the user should be
6784 free to format differently a really empty cell, ie. containing nil,
6785 from a cell containing an empty string "".
6786
6787 * ses.el (ses-call-printer): Replace `(or value "")' by just `value'
6788 in the case of a lambda expression printer function.
6789
6790 * ses.texi (Printer functions): Add example and description about
6791 lambda expression printer function handling all the possible values,
6792 including unexpected ones.
6793
6794 2015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6795
6796 Quick temporary hack to fix curcell refreshing.
6797
6798 The problem was caused by change: 2015-04-13 Deprecate `intangible'
6799 and `point-entered' properties. The problem is that this change has
6800 removed the (setq ses--curcell t) setting in the ses-command-hook
6801 function.
6802
6803 * ses.el (ses-check-curcell): replace `(eq ses--curcell t)' by just `t' as
6804 a condition to call function `ses-set-curcell'. Comment this as a quick
6805 temporary hack to make it work, as I don't know yet whether a definite
6806 correction would be to make the ses-set-curcell at every ses-check-curcell,
6807 or to revert to the previous approach, ie marking ses--curcell as out-of-date
6808 at every potentially cursor motion command.
6809
6810 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811
6812 Restrictive URL checking tweaks
6813
6814 * lisp/net/eww.el (eww): Check whether the domain is
6815 restrictive instead of the string
6816 (http://македонија.icom.museum is restrictive even if each
6817 part is from a different script).
6818
6819 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6820
6821 New function `puny-highly-restrictive-domain-p'
6822
6823 * lisp/net/puny.el (puny-highly-restrictive-string-p): Rename.
6824 (puny-highly-restrictive-domain-p): New function.
6825
6826 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827
6828 eww build fix (require puny)
6829
6830 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6831
6832 Transform non-restrictive domains to punycode for display
6833
6834 * lisp/net/eww.el (eww): Check whether the domain is Highly
6835 Restrictive in the Unicode IDNA sense.
6836
6837 2015-12-30 John Wiegley <johnw@newartisans.com>
6838
6839 Merge emacs-25 into master (using imerge)
6840
6841 2015-12-29 Eli Zaretskii <eliz@gnu.org>
6842
6843 Fix typos in CC Mode manual
6844
6845 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
6846 typos. (Bug#22267)
6847
6848 2015-12-29 Eli Zaretskii <eliz@gnu.org>
6849
6850 Avoid assertion violations in compact_font_cache_entry
6851
6852 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
6853 avoid assertion violation in ASIZE. (Bug#22263)
6854
6855 2015-12-29 Eli Zaretskii <eliz@gnu.org>
6856
6857 Fix filling text with bidirectional characters in shr.el
6858
6859 * lisp/net/shr.el (shr-insert-document): Bind
6860 bidi-display-reordering to nil while filling lines. This is
6861 required for when a line includes characters whose bidi
6862 directionality is opposite to the base paragraph direction,
6863 because columns are counted in the logical order. (Bug#22250)
6864
6865 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
6866
6867 Further Unicode restrictive fixups
6868
6869 * puny.el (puny-highly-restrictive-p): Include the extra
6870 identifier characters from table 3.
6871
6872 2015-12-29 Martin Rudalics <rudalics@gmx.at>
6873
6874 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
6875
6876 2015-12-29 Michael Albinus <michael.albinus@gmx.de>
6877
6878 Sync with Tramp 2.2.13
6879
6880 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
6881
6882 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
6883 Use `tramp-compat-funcall'.
6884
6885 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
6886 Make `split-string' call compatible with older Emacsen.
6887
6888 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
6889
6890 2015-12-29 Lambda Coder <sjLambda@gmail.com>
6891
6892 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
6893
6894 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
6895
6896 Mention that tls.el is secure by default, and will fail
6897
6898 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
6899
6900 Make tls.el use trustfiles by default
6901
6902 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
6903 (open-tls-stream): Insert the trustfile by looking at
6904 `gnutls-trustfiles'.
6905
6906 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
6907
6908 Refactor out gnutls-trustfiles
6909
6910 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
6911
6912 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
6913
6914 Remove --insecure from gnutls-cli invocation
6915
6916 * tls.el (tls-program): Default to using secure TLS
6917 connections (bug#19284).
6918
6919 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
6920
6921 Add a new function to say whether a string is restrictive
6922
6923 * puny.el (puny-highly-restrictive-p): New function.
6924
6925 2015-12-28 Paul Eggert <eggert@cs.ucla.edu>
6926
6927 Spelling fix
6928
6929 2015-12-28 Paul Eggert <eggert@cs.ucla.edu>
6930
6931 Port report-emacs-bug to deterministic builds
6932
6933 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
6934 recent "built on" change to deterministic builds where
6935 emacs-build-system will be nil. See:
6936 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
6937
6938 2015-12-28 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
6939
6940 Fix URL auth error message
6941
6942 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
6943 message more correct (bug#20069).
6944
6945 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
6946
6947 Mention the new puny.el library
6948
6949 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
6950
6951 IDNA-related fixes for the URL library
6952
6953 * lisp/url/url-http.el (url-http-create-request): IDNA-encode
6954 the Host: header.
6955
6956 * lisp/url/url-util.el (url-encode-url): Don't hex-encode
6957 domain names, but leave them as UTF-8, so that they can be
6958 IDNA-encoded later when contacting the host.
6959
6960 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
6961
6962 IDNA-encode all domain names in `open-network-stream'
6963
6964 * network-stream.el (open-network-stream)
6965 (network-stream-open-plain, network-stream-open-starttls):
6966 IDNA-encode all domain names, if needed.
6967
6968 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
6969
6970 Fix puny-encoding all-non-ASCII domains
6971
6972 * puny.el (puny-encode-string): Fix the all-non-ASCII encoding case.
6973
6974 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
6975
6976 * lisp/net/shr.el (shr-next-link): Don't bug out on adjacent links.
6977
6978 2015-12-28 Tom Tromey <tom@tromey.com>
6979
6980 set :safe on css-indent-offset
6981
6982 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
6983
6984 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
6985
6986 * eww.el (eww-mode): Remove superfluous bidi reset.
6987
6988 2015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
6989
6990 Make chunked encoding trailer detection more compliant
6991
6992 * lisp/url/url-http.el
6993 (url-http-chunked-encoding-after-change-function): Make
6994 trailer detection more compliant (bug#16345).
6995
6996 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
6997
6998 Reconnect erc even on server errors
6999
7000 * lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to
7001 reconnect even if a server error has occurred (bug#18527).
7002
7003 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
7004
7005 Fix punycode short circuit logic
7006
7007 * puny.el (puny-encode-domain): Fix short-circuit logic.
7008
7009 2015-12-28 Martin Rudalics <rudalics@gmx.at>
7010
7011 Fix Bug#10873 in `report-emacs-bug'
7012
7013 * lisp/mail/emacsbug.el (report-emacs-bug): If
7014 `report-emacs-bug-no-explanations' is nil, make sure we can show
7015 mail and warnings buffer on this frame (Bug#10873).
7016
7017 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
7018
7019 IDNA speed up
7020
7021 * puny.el (puny-encode-domain): Make the common non-IDNA case faster
7022
7023 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
7024
7025 Add IDNA domain encode/decode functions
7026
7027 * puny.el (puny-decode-domain): New function.
7028 (puny-encode-domain): Ditto.
7029 (puny-decode-digit): Fix digit decoding error.
7030
7031 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
7032
7033 Rename idna.el to puny.el
7034
7035 * puny.el: Renamed from idna.el to avoid name collisions with
7036 the external idna.el library.
7037
7038 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
7039
7040 Always reset the bidi direction
7041
7042 * eww.el (eww-display-html): Always reset the bidi direction
7043 to `left-to-right' (bug#22257).
7044
7045 2015-12-28 Alan Mackenzie <acm@muc.de>
7046
7047 Allow line comments ending with escaped NL to be continued to the next line.
7048
7049 Use this in C, C++, and Objective C Modes. Fixes bug#22246
7050
7051 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
7052 (forw-comment, back-comment): On encountering an end of comment character,
7053 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
7054
7055 * doc/lispref/syntax.texi (Control Parsing): Describe
7056 `comment-end-can-be-escaped'.
7057
7058 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
7059
7060 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
7061
7062 2015-12-28 Katsumi Yamaoka <yamaoka@jpl.org>
7063
7064 lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility
7065
7066 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe):
7067 Don't use split-string with 4th arg for old Emacsen compatibility.
7068
7069 2015-12-27 Dmitry Gutov <dgutov@yandex.ru>
7070
7071 Rename project-library-roots to project-external-roots
7072
7073 * lisp/progmodes/project.el (project-library-roots): Rename to
7074 project-external-roots.
7075 (project-library-roots-function): Rename to
7076 project-vc-external-roots-function. Only use it in the VC
7077 backend, for now. Update project-external-roots accordingly.
7078 (project-vc-library-roots): Remove.
7079 (project-or-libraries-find-regexp):
7080 Rename to project-or-external-find-regexp.
7081
7082 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
7083 Rename to elisp-load-path-roots.
7084
7085 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
7086 an anonymous function for the default value of
7087 project-vc-external-roots-function.
7088
7089 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7090
7091 * idna.el (idna-decode-string-internal): Implement decoding.
7092
7093 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7094
7095 Further IDNA tweaks
7096
7097 (idna-encode-string): Make idna-encode-string safe for
7098 non-ASCII use.
7099
7100 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7101
7102 Clean up the code slightly
7103
7104 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7105
7106 Added basic idna encoding support
7107
7108 * lisp/net/idna.el: New file.
7109
7110 2015-12-27 Vivek Dasmohapatra <vivek@etla.org>
7111
7112 Disconnection fixes for erc
7113
7114 * lisp/erc/erc-backend.el (erc-server-reconnect-p): Don't
7115 reconnect if the user has disconnected explicitly (bug#4589).
7116
7117 2015-12-27 Thomas Riccardi <riccardi.thomas@gmail.com> (tiny change)
7118
7119 Further erc asynch fixes
7120
7121 * lisp/erc/erc-backend.el (erc-process-sentinel-2): Make
7122 erc-server-connect to return even if the connection is not
7123 ready. Then erc-open and erc-server-reconnect do the
7124 same. (bug#5650).
7125
7126 2015-12-27 Vivek Dasmohapatra <vivek@etla.org>
7127
7128 Make erc connect asynchronously
7129
7130 * lisp/erc/erc-backend.el (erc-server-reconnect): Use it to
7131 reconnect asynchronously.
7132
7133 * lisp/erc/erc-backend.el (erc-open-network-stream): New function (bug#5650).
7134
7135 2015-12-27 Deniz Dogan <deniz@dogan.se>
7136
7137 Clear erc user list upon disconnection
7138
7139 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
7140 lists upon disconnection. This prevents invalid channel
7141 user lists when reconnecting (bug#10947).
7142
7143 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7144
7145 Don't bug out in erc after waking from sleep
7146
7147 * erc-backend.el (erc-server-send-ping): If the server has
7148 closed connection, this may already have been detected and
7149 `erc-server-last-received-time' has been set to nil (bug#13608).
7150
7151 2015-12-27 David Edmondson <dme@dme.org>
7152
7153 Proxy error in erc with multiple clients
7154
7155 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
7156 generated when multiple IRC clients talk to a single IRC proxy
7157 (bug#19034).
7158
7159 2015-12-27 Dima Kogan <dima@secretsauce.net>
7160
7161 Ensure that we don't have several timers in erc
7162
7163 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
7164 for existing timers in the alist before adding new ones. If a
7165 timer already exists, it is cancelled and
7166 overwritten. (bug#19292).
7167
7168 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
7169
7170 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
7171 (bug#18718).
7172
7173 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7174
7175 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
7176 at the start of the buffer, not at the end (bug#20496).
7177
7178 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7179
7180 * lisp/net/eww.el (eww-setup-buffer): Restore left-to-right defaults.
7181
7182 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7183
7184 Don't join erc channels doubly
7185
7186 * erc-join.el (erc-autojoin-channels): Don't join channels
7187 more than once (if you have several nicks) (bug#20695).
7188
7189 2015-12-27 Eli Zaretskii <eliz@gnu.org>
7190
7191 Avoid leaving "ghost" of mouse pointer on MS-Windows
7192
7193 * src/w32term.c (frame_set_mouse_pixel_position):
7194 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
7195 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
7196 * src/w32term.c (frame_set_mouse_pixel_position): Include
7197 w32common.h.
7198
7199 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7200
7201 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Fix typo in last check-in.
7202
7203 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
7204
7205 Identify unsafe combinations of Bcc and encryption
7206
7207 * lisp/gnus/gnus-util.el (gnus-subsetp): New function
7208 * lisp/gnus/mml-sec.el (mml-secure-safe-bcc-list): New variable
7209 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): New function
7210
7211 2015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
7212
7213 Fix auth source lookups from erc with port numbers
7214
7215 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
7216 numbers (bug#20541).
7217
7218 2015-12-27 Fran Litterio <flitterio@gmail.com>
7219
7220 Run erc-kill-channel-hook always on exit
7221
7222 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
7223 when erc-kill-queries-on-quit is set (bug#21187).
7224
7225 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
7226
7227 Spelling fix
7228
7229 * test/automated/url-parse-tests.el:
7230 (url-generic-parse-url/same-document-reference):
7231 Rename from url-generic-parse-url/same-decument-reference.
7232
7233 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
7234
7235 Reword initial *scratch* for brevity, appearance
7236
7237 * lisp/startup.el (initial-scratch-message):
7238 Reword to avoid apostrophes, and to make it shorter.
7239 See the thread starting in:
7240 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
7241
7242 2015-12-26 Leo Liu <sdl.web@gmail.com>
7243
7244 Add ert-deftest to lisp-mode.el
7245
7246 * lisp-mode.el (lisp-imenu-generic-expression,
7247 lisp-el-font-lock-keywords-1): Add ert-deftest.
7248
7249 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
7250
7251 Mark imap changes as not needing doc changes
7252
7253 * imap.el (imap-ssl-open): Remove
7254
7255 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
7256
7257 Use built-in encryption in imap.el
7258
7259 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
7260 (imap-starttls-open): Use open-network-stream instead of starttls.el.
7261 (imap-tls-open): Use open-network-stream instead of tls.el.
7262
7263 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7264
7265 Don't try using /bin/sh in artist.el on MS-Windows
7266
7267 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
7268 New function.
7269 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
7270 (Bug#20167)
7271
7272 2015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
7273
7274 Always define gmalloc etc. in src/gmalloc.c
7275
7276 This is a work-around to prevent the compiler from using semantic
7277 knowledge about malloc for optimization purposes. E.g., gcc 5.2
7278 with -O2 replaces most of calloc's definition by a call to calloc;
7279 see Bug#22085.
7280 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
7281 (aligned_alloc, free): Do not undef. Instead, define these as
7282 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
7283
7284 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7285
7286 Fix documentation of browse-url browser-related functions
7287
7288 * lisp/net/browse-url.el (browse-url)
7289 (browse-url-default-browser, browse-url-default-windows-browser)
7290 (browse-url-default-macosx-browser, browse-url-chromium)
7291 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
7292 and NEW-WINDOW arguments in these functions. (Bug#19421)
7293
7294 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
7295
7296 Propagate Bug#14412 fix to backtrace_eval_unrewind
7297
7298 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
7299 becomes accurate again. This shouldn’t affect behavior.
7300 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
7301
7302 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7303
7304 Don't produce non-ASCII characters in *scratch*
7305
7306 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
7307 avoid producing non-ASCII characters in the *scratch* buffer's
7308 commentary.
7309
7310 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7311
7312 Document changes in 'compare-windows'
7313
7314 * lisp/vc/compare-w.el (compare-windows-removed)
7315 (compare-windows-added): Doc fix.
7316
7317 * doc/emacs/files.texi (Comparing Files): Document the changes in
7318 window selection by 'compare-windows'.
7319
7320 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7321
7322 Document 'vc-annotate-background-mode'
7323
7324 * doc/emacs/maintaining.texi (Old Revisions): Document
7325 'vc-annotate-background-mode'.
7326
7327 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7328
7329 Document 'vc-region-history'
7330
7331 * doc/emacs/maintaining.texi (VC Change Log): Document
7332 'vc-region-history'.
7333
7334 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7335
7336 Improve documentation of 'vc-push'
7337
7338 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
7339 improve the documentation of 'vc-push'.
7340
7341 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
7342
7343 2015-12-26 Alain Schneble <a.s@realize.ch>
7344
7345 Include the tests for the URL parsing fixes
7346
7347 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7348
7349 Document 'url-user-agent'.
7350
7351 * lisp/url/url-http.el (url-user-agent): Move from here...
7352 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
7353 keep all the URL defcustoms in one place, and also have it defined
7354 whenever the URL library is loaded.
7355
7356 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
7357
7358 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7359
7360 Document protocols supported by URL library via Tramp
7361
7362 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
7363 supported via Tramp.
7364 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
7365 Tramp.
7366
7367 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7368
7369 Document changes in Shell-script mode
7370
7371 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
7372 the 'sh-shell' file-local variable.
7373 (top level): Add an auto-load form to avoid byte-compiler warning
7374 about 'comint-send-string'.
7375
7376 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7377
7378 Fix documentation of 'ses-define-local-printer'
7379
7380 * doc/misc/ses.texi (Printer functions): Fix whitespace between
7381 sentences and punctuation. Add an index entry for
7382 'ses-define-local-printer'.
7383
7384 2015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
7385
7386 Document 'ert-summarize-tests-batch-and-exit'
7387
7388 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
7389 'ert-summarize-tests-batch-and-exit'.
7390
7391 2015-12-26 Eli Zaretskii <eliz@gnu.org>
7392
7393 Avoid assertion violation in unbind_to
7394
7395 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
7396 if we get here with an object that is not a symbol. (Bug#14412)
7397
7398 2015-12-25 Andreas Schwab <schwab@linux-m68k.org>
7399
7400 Don't treat /foo/bar:mumble as ange-ftp address
7401 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
7402 only in the first component. (bug#5362)
7403
7404 2015-12-25 Eli Zaretskii <eliz@gnu.org>
7405
7406 Make sure *scratch* etc. use forward slashes in its default-directory
7407
7408 * lisp/startup.el (normal-top-level): On MS-Windows, convert
7409 backslashes to forward slashes while decoding default-directory
7410 of the initially-created buffers.
7411
7412 2015-12-25 Eli Zaretskii <eliz@gnu.org>
7413
7414 Restore info about the build host in bug reports
7415
7416 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
7417 which Emacs was built. This is important information for
7418 investigating bug reports reported by users who don't build their
7419 Emacs.
7420
7421 2015-12-25 Eli Zaretskii <eliz@gnu.org>
7422
7423 Fix bootstrap broken by changes related to OS X file-name encoding
7424
7425 * lisp/international/ucs-normalize.el (eval-when-compile): Make
7426 sure char-code-property-alist includes elements that allow access
7427 to 'decomposition' and 'canonical-combining-class' Unicode
7428 properties, as compiling ucs-normalize.el requires that.
7429 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
7430 only of charprop.el was already loaded.
7431
7432 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
7433 New order-only dependency.
7434
7435 2015-12-25 Leo Liu <sdl.web@gmail.com>
7436
7437 * lisp/ido.el (ido-add-virtual-buffers-to-list):
7438 Use bookmark-get-filename.
7439
7440 2015-12-25 Michael Albinus <michael.albinus@gmx.de>
7441
7442 Make tramp-test29-vc-registered more robust
7443
7444 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
7445 Move `bzr' case down. Skip test when `vc-create-repo' fails.
7446 Remove instrumentation.
7447
7448 2015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7449
7450 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
7451
7452 2015-12-23 Katsumi Yamaoka <yamaoka@jpl.org>
7453
7454 Fix `gnus-union' so as to behave like `cl-union'
7455
7456 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
7457 Make gnus-union use `equal' to compare items in lists.
7458
7459 * lisp/gnus/gnus-util.el (gnus-union):
7460 Make it behave like cl-union partially.
7461
7462 2015-12-23 Paul Eggert <eggert@cs.ucla.edu>
7463
7464 Fix dired.c typo with ptrdiff_t vs Lisp_Object
7465
7466 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
7467 an integer type, fixing a problem introduced in the recent fix for
7468 Bug#22169.
7469
7470 2015-12-23 Eli Zaretskii <eliz@gnu.org>
7471
7472 Document default process sentinel more prominently
7473
7474 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
7475 defaults for process filter and sentinel. Provide cross-references.
7476 (Process Information): Provide cross-references to where filters
7477 and sentinels are described.
7478 (Filter Functions): Add an index entry for "default filter".
7479 (Sentinels): Add a few status messages not documented previously.
7480 Resolve the "killed" confusion. Document and describe the default
7481 sentinel. (Bug#22220)
7482
7483 2015-12-23 Eli Zaretskii <eliz@gnu.org>
7484
7485 Fix file-name completion on OS X
7486
7487 * src/dired.c (file_name_completion): Reject false matches due to
7488 file-name-coding-systems that decompose characters when encoding
7489 file names, by comparing decoded file names as well. (Bug#22169)
7490 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
7491
7492 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
7493 non-nil 'decomposed-characters' property.
7494
7495 2015-12-23 Anders Lindgren <andlind@gmail.com>
7496
7497 File-name completion of non-ASCII characters on OS X (bug#22169)
7498
7499 The coding system `utf-8-nfd', locally defined in ns-win.el,
7500 didn't provide a :pre-write-conversion method, causing file name
7501 completion of non-ASCII characters to fail. Solved by using the
7502 `utf-8-hfs' coding system provided by `ucs-normalize'.
7503
7504 * lisp/loadup.el: Load international/ucs-normalize (when building
7505 for ns).
7506
7507 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
7508 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
7509 as the file name coding system.
7510
7511 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
7512
7513 2015-12-22 Tom Tromey <tom@tromey.com>
7514
7515 Fix bug #18588 by making bug-reference-bug-regexp more lenient
7516
7517 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
7518 "bug NNNN". (Bug #18588)
7519
7520 2015-12-22 Tom Tromey <tom@tromey.com>
7521
7522 add some cl-* aliases to lisp-mode imenu
7523
7524 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
7525 cl-defgeneric, and cl-defmethod.
7526
7527 2015-12-22 Tom Tromey <tom@tromey.com>
7528
7529 Make a variable buffer-local
7530
7531 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
7532 font-lock-syntax-table buffer-local. (Bug #21627)
7533
7534 2015-12-22 Eli Zaretskii <eliz@gnu.org>
7535
7536 Fix decoding of text in URLs retrieved by EWW
7537
7538 * lisp/net/eww.el (eww-render): Pass 'charset' to
7539 'eww-display-raw'. Use the value of 'last-coding-system-used', if
7540 non-nil, to set 'buffer-file-coding-system' of the buffer where we
7541 show the URL.
7542 (eww-display-html, eww-display-raw): Decode the text correctly,
7543 using the charset found in the headers, and defaulting to UTF-8.
7544 If the user told us to use a specific encoding, override the
7545 charset from the headers. (Bug#22222)
7546
7547 2015-12-22 Alan Mackenzie <acm@muc.de>
7548
7549 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
7550
7551 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
7552 variable `tmp'.
7553 After a failed search for a matching ">", restore point before continuing.
7554
7555 2015-12-22 Michael Albinus <michael.albinus@gmx.de>
7556
7557 Instrument Tramp tests
7558
7559 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
7560 (tramp--test-utf8): Instrument tests.
7561
7562 2015-12-22 Martin Rudalics <rudalics@gmx.at>
7563
7564 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
7565
7566 * lisp/simple.el (display-message-or-buffer): Call
7567 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
7568 (Bug#22221).
7569
7570 2015-12-21 Juri Linkov <juri@linkov.net>
7571
7572 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
7573
7574 (save-places-to-alist, save-place-dired-hook):
7575 Check for dired-subdir-alist. (Bug#19851)
7576
7577 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
7578
7579 Add FIXME comment re stack overflow and modules
7580
7581 2015-12-20 Paul Eggert <eggert@cs.ucla.edu>
7582
7583 Revert some recent emacs-module commentary
7584
7585 Most of the recently-added commentary was incorrect, due to the
7586 possibility of stack overflow.
7587
7588 2015-12-20 Paul Eggert <eggert@cs.ucla.edu>
7589
7590 Spelling fix: prefer "cooperate" to "co-operate"
7591
7592 2015-12-20 Paul Eggert <eggert@cs.ucla.edu>
7593
7594 Port undo fixes to -fno-common
7595
7596 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
7597 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
7598 (buffer_before_last_command_or_undo):
7599 Declare in keyboard.h, and define in keyboard.c,
7600 instead of assuming the traditional Unix relaxed ref-def linkage.
7601
7602 2015-12-20 Philipp Stephani <phst@google.com>
7603
7604 Improve commentary for emacs-module.c
7605
7606 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
7607 * src/emacs-module.c (module_non_local_exit_get): Document that we
7608 cannot use the current implementation.
7609 (module_is_not_nil, module_eq): Document assumptions about EQ and
7610 NILP.
7611
7612 2015-12-20 Michael Albinus <michael.albinus@gmx.de>
7613
7614 Suppress test on Mac OS X
7615
7616 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
7617 (tramp--test-utf8): Use it.
7618
7619 2015-12-20 Alan Mackenzie <acm@muc.de>
7620
7621 Merge branch 'scratch/follow' into emacs-25
7622
7623 This allows Isearch, etc., to work well when Follow Mode is active.
7624
7625 2015-12-19 Michael Albinus <michael.albinus@gmx.de>
7626
7627 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option):
7628 Improve check.
7629
7630 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7631
7632 Fix last commit
7633
7634 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
7635 with numeric argument.
7636
7637 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7638
7639 Document new features of Rmail
7640
7641 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
7642 Document new behavior of 'd' and 'C-d' with numeric argument.
7643 (Rmail Display): Document the rendering of HTML MIME parts.
7644
7645 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7646
7647 Improve documentation of new cl-lib functions
7648
7649 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
7650 Fix wording.
7651
7652 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7653
7654 Document the new feature of 'minibuffer-with-setup-hook'
7655
7656 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
7657 added to `minibuffer-setup-hook'.
7658
7659 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7660
7661 Document new features of Font Lock
7662
7663 * doc/lispref/modes.texi (Other Font Lock Variables): Document
7664 'font-lock-flush-function' and 'font-lock-ensure-function'.
7665 (Font Lock Basics): Document the basic fontification functions
7666 referenced in "Other Font Lock Variables".
7667
7668 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
7669
7670 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7671
7672 Document new features of Rectangle mode
7673
7674 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
7675 rectangle-mark-mode.
7676
7677 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7678
7679 Manual followup to last change
7680
7681 * doc/lispref/display.texi (Displaying Messages): Sync with the
7682 doc string. (Bug#22210)
7683
7684 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7685
7686 Clarify doc string of 'display-message-or-buffer'
7687
7688 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
7689 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
7690
7691 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7692
7693 * doc/emacs/emacs.texi (Top): Update top-level menus.
7694
7695 * doc/lispref/elisp.texi (Top): Update top-level menus.
7696
7697 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7698
7699 Document how to avoid file-local variables that aren't
7700
7701 * doc/emacs/custom.texi (Specifying File Variables): Describe how
7702 to prevent Emacs from interpreting unrelated text as file-local
7703 variables. (Bug#22166)
7704
7705 2015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
7706
7707 Fix a typo in eterm-color's termcap entry
7708
7709 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
7710 entry. (Bug#22184)
7711
7712 2015-12-19 Eli Zaretskii <eliz@gnu.org>
7713
7714 Allow 'browse-url-emacs' visit non-existent URLs
7715
7716 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
7717 signal an error if VISIT is non-nil, to more faithfully emulate
7718 the behavior of 'insert-file-contents'. (Bug#22160)
7719
7720 2015-12-18 Paul Eggert <eggert@cs.ucla.edu>
7721
7722 Remove SunOS 4.x cruft
7723
7724 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
7725 * lib-src/pop.c [sun]: Remove no-longer-needed include.
7726 * lwlib/xlwmenu.c (SUNSO41): Remove.
7727
7728 2015-12-18 Paul Eggert <eggert@cs.ucla.edu>
7729
7730 Merge from gnulib
7731
7732 This mostly commentary fixes.
7733 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
7734 * lib/gnulib.mk: Regenerate with new gnulib-tool.
7735
7736 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
7737
7738 Minor fixes in Tramp
7739
7740 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
7741 Reorder ls arguments.
7742
7743 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
7744
7745 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
7746
7747 Make tramp a built-in package
7748
7749 * lisp/finder.el (finder-compile-keywords): Update
7750 `package--builtins' also when Version: keyword is available.
7751
7752 * lisp/net/trampver.el: Add Version: keyword.
7753 (tramp-version): Change it to "2.2.13.25.1", in order to be
7754 compatible with `version-to-list'.
7755
7756 2015-12-18 Lele Gaifax <lele@metapensiero.it>
7757
7758 * etc/tutorials/TUTORIAL.it: Update and fix typos. (Bug#22187)
7759
7760 2015-12-18 Alan Mackenzie <acm@muc.de>
7761
7762 Rename `recenter-group' to `recenter-window-group'
7763
7764 * doc/lispref/windows.texi (Textual Scrolling)
7765 * lisp/window.el (top level, recenter-group)
7766 * lisp/follow.el (follow-mode)
7767 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
7768 `recenter-window-group' and `recenter-group-function' to
7769 `recenter-window-group-function'.
7770
7771 2015-12-18 Eli Zaretskii <eliz@gnu.org>
7772
7773 Fix vertical-motion in tabulated-list mode
7774
7775 * src/indent.c (Fvertical_motion): When moving from line beginning
7776 to point under line truncation, assume overshoot by one line only
7777 if point actually lies beyond the window's right margin.
7778 (Bug#22194)
7779
7780 2015-12-18 Martin Rudalics <rudalics@gmx.at>
7781
7782 Don't have help functions call x-display-pixel-width/-height on ttys
7783
7784 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
7785 Don't call x-display-pixel-width/-height on ttys.
7786
7787 2015-12-17 Dmitry Gutov <dgutov@yandex.ru>
7788
7789 Use 'hg id' in vc-hg-previous-revision
7790
7791 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
7792 Use 'hg id' to retrieve it (bug#22032).
7793
7794 2015-12-17 Alan Mackenzie <acm@muc.de>
7795
7796 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
7797
7798 2015-12-17 Eli Zaretskii <eliz@gnu.org>
7799
7800 Fix a typo in the Emacs manual
7801
7802 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
7803 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
7804
7805 2015-12-17 Eli Zaretskii <eliz@gnu.org>
7806
7807 Fix parsing netrc entries with ports
7808
7809 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
7810 make a list out of 't'. (Bug#22188)
7811
7812 * test/automated/auth-source-tests.el
7813 (auth-source-test-netrc-parse-entry): New test.
7814
7815 2015-12-17 Paul Eggert <eggert@cs.ucla.edu>
7816
7817 Fix typo in Doug Lea malloc configure log
7818
7819 * configure.ac (emacs_cv_var_doug_lea_malloc):
7820 Fix typo that confused the log output of 'configure'.
7821
7822 2015-12-16 Nicolas Petton <nicolas@petton.fr>
7823
7824 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
7825
7826 2015-12-16 Alan Mackenzie <acm@muc.de>
7827
7828 * etc/NEWS: Move entry on pcase to correct section
7829
7830 (Accidentally omitted from previous commit)
7831
7832 2015-12-16 Alan Mackenzie <acm@muc.de>
7833
7834 Add documentation for changes to Show Paren mode.
7835
7836 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
7837
7838 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
7839 options, including the new show-paren-when-point-inside-paren and
7840 show-paren-when-point-in-periphery.
7841
7842 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
7843 Move an entry on pcase to the Lisp Changes section.
7844
7845 2015-12-16 Eli Zaretskii <eliz@gnu.org>
7846
7847 Document Eldoc changes
7848
7849 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
7850
7851 2015-12-16 Eli Zaretskii <eliz@gnu.org>
7852
7853 Fix invocation of Python and Guile interpreters from gdb-mi
7854
7855 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
7856 commands for interactive Python and Guile interpreters.
7857 (gdb-send): Recognize various ways of exiting from Python and
7858 Guile interpreters and returning to GDB. For details, see
7859 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
7860 and http://stackoverflow.com/questions/31514741.
7861
7862 2015-12-16 Paul Eggert <eggert@cs.ucla.edu>
7863
7864 Remove attempt to use C11 threads
7865
7866 C11 threads are not needed for Emacs now, and their use is causing
7867 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
7868 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
7869 * configure.ac: Do not check for C11 threads. Remove unnecessary
7870 fiddling with CPPFLAGS when configuring pthreads.
7871 * src/emacs-module.c (main_thread, check_main_thread)
7872 (module_init): Do not worry about C11 threads.
7873
7874 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
7875
7876 Set utf8 encoding with stty in Tramp
7877
7878 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7879 Move up uname check. Handle Mac OS X eol encoding. Set utf8
7880 encoding with stty.
7881
7882 2015-12-15 Alan Mackenzie <acm@muc.de>
7883
7884 Tidy up documentation associated with window groups.
7885
7886 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
7887 Groups". Correct example function to `window-group-start'.
7888 (Window Start and End, Textual scrolling): Point to the new anchor. State
7889 that (most of) the args in window group functions have the same meaning as for
7890 the corresponding window primitives.
7891
7892 * doc/lispref/positions.texi (Screen Lines). Same as above.
7893
7894 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
7895
7896 Complete last commit
7897
7898 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7899 Move uname check up. Handle Mac OS X eol encoding.
7900
7901 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
7902
7903 Handle Mac OS X eol encoding in Tramp
7904
7905 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7906 Handle Mac OS X eol encoding.
7907
7908 2015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7909
7910 Fix variable name typo in compute_tip_xy
7911
7912 * src/w32fns.c (compute_tip_xy):
7913 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
7914 when `right' is integer.
7915
7916 2015-12-14 foudfou <foudil.newbie+git@gmail.com> (tiny change)
7917
7918 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
7919
7920 2015-12-14 Tassilo Horn <tsdh@gnu.org>
7921
7922 Revert "Fix rx matcher overflow without limiting"
7923
7924 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
7925
7926 2015-12-14 Alan Mackenzie <acm@muc.de>
7927
7928 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
7929
7930 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
7931 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
7932
7933 2015-12-14 Tassilo Horn <tsdh@gnu.org>
7934
7935 Fix rx matcher overflow without limiting
7936
7937 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
7938 change to the regexp without imposing a limit on the length of the
7939 options.
7940
7941 2015-12-14 Alan Mackenzie <acm@muc.de>
7942
7943 Enhance ispell-skip-region-alist by generating part of it at runtime.
7944
7945 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
7946 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
7947 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
7948 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
7949 Include the result of ispell--make-filename-or-URL-re in regexps.
7950
7951 2015-12-14 Glenn Morris <rgm@gnu.org>
7952
7953 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
7954
7955 2015-12-14 Alan Mackenzie <acm@muc.de>
7956
7957 Replace GROUP argument in six window primitives by new functions.
7958
7959 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
7960 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
7961 from description of six window functions. Add in description of new functions
7962 window-group-start, window-group-end, set-window-group-start,
7963 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
7964 together with the six variables indirecting to the pertinent group
7965 functions.
7966
7967 * src/window.c
7968 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
7969 applies to these two files, which added the GROUP argument to six window
7970 primitives.
7971
7972 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
7973 functions.
7974
7975 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
7976 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
7977 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
7978 to window primitives (e.g. window-start) with a GROUP argument by calls to
7979 new functions (e.g. window-group-start).
7980
7981 * lisp/ispell.el (ispell-command-loop): Replace call to
7982 pos-visible-in-window-p with pos-visible-in-window-group-p.
7983
7984 * lisp/window.el (window-group-start, window-group-end)
7985 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
7986 (selected-window-group, move-to-window-group-line): New functions.
7987 (window-group-start-function, window-group-end-function)
7988 (set-window-group-start-function, recenter-group-function)
7989 (pos-visible-in-window-group-p-function, selected-window-group-function)
7990 (move-to-window-group-line-function): New variables.
7991
7992 2015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
7993
7994 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
7995
7996 2015-12-13 Eli Zaretskii <eliz@gnu.org>
7997
7998 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
7999
8000 2015-12-13 Tassilo Horn <tsdh@gnu.org>
8001
8002 Improve regex to not trigger stack overflow
8003
8004 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
8005 order not to trigger a stack overflow in regex matcher with unbalanced
8006 brackets (bug#22146).
8007
8008 2015-12-13 Eli Zaretskii <eliz@gnu.org>
8009
8010 Fix visiting files with raw-text
8011
8012 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
8013 when some stuff was actually read. (Bug#22162)
8014
8015 2015-12-13 Tassilo Horn <tsdh@gnu.org>
8016
8017 Fix regex matching keyval labels
8018
8019 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
8020 matching keyval labels.
8021
8022 2015-12-13 Michael Albinus <michael.albinus@gmx.de>
8023
8024 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
8025
8026 ... in case of Tramp. (Bug#20821)
8027
8028 2015-12-12 Paul Eggert <eggert@cs.ucla.edu>
8029
8030 Fix performance regression with gcc -O0
8031
8032 This fixes the smaller performance hit that I noted in:
8033 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
8034 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
8035 * src/puresize.h (puresize_h_PURE_P)
8036 (puresize_h_CHECK_IMPURE):
8037 New macros, with the old contents of the functions.
8038 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
8039 * src/puresize.h (PURE_P, CHECK_IMPURE):
8040 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
8041 * src/conf_post.h (ATTRIBUTE_UNUSED):
8042 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
8043
8044 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
8045
8046 * lisp/emacs-lisp/package.el (package-unpack): Security check
8047
8048 Check that we received the package we were offered.
8049
8050 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
8051
8052 * lisp/emacs-lisp/package.el (package--compile): Don't activate
8053
8054 `package-unpack' takes care of all activations now (other than
8055 `package-initialize). `package--compile' now only compiles.
8056
8057 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8058
8059 Document the new bindings of <UP> and <DOWN> in the minibuffer
8060
8061 * doc/emacs/mini.texi (Minibuffer History): Describe the new
8062 bindings of <UP> and <DOWN> in the minibuffer.
8063
8064 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8065
8066 Document new features of Ido
8067
8068 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
8069
8070 2015-12-12 Martin Rudalics <rudalics@gmx.at>
8071
8072 Fix frame height calculations with added menu bar on Windows (Bug#22105)
8073
8074 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
8075 when simultaneously specifying multiple parameters for
8076 `modify-frame-parameters' that all may change the frame's size.
8077 * src/w32fns.c (x_set_menu_bar_lines): Don't set
8078 windows_or_buffers_changed here.
8079 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
8080 with third argument false.
8081 * src/w32menu.c (set_frame_menubar): Set
8082 windows_or_buffers_changed here.
8083 * src/w32term.c (x_set_window_size): Determine third argument of
8084 AdjustWindowRect from whether the frame has a menu bar and not
8085 from whether it wants one.
8086
8087 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8088
8089 Document the change in interactive shell mode
8090
8091 * doc/emacs/misc.texi (Interactive Shell): Document that the
8092 '*shell*' buffer by default displays in a new window.
8093
8094 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8095
8096 Document new features of package.el
8097
8098 * doc/emacs/package.texi (Package Menu): Document the 'external'
8099 status and the new menu commands.
8100 (Package Installation): Document archive priorities.
8101
8102 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
8103 (package-menu-hide-low-priority): Doc fix.
8104
8105 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8106
8107 Update and document new features of xterm support
8108
8109 * doc/emacs/frames.texi (Text-Only Mouse): Document that
8110 track-mouse is supported by newer xterm versions.
8111
8112 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8113
8114 Document new features of Prettify Mode
8115
8116 * doc/emacs/programs.texi (Misc for Programs): Document
8117 'prettify-symbols-compose-predicate' and
8118 'prettify-symbols-unprettify-at-point'.
8119
8120 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
8121 (prettify-symbols-default-compose-p)
8122 (prettify-symbols-compose-predicate)
8123 (prettify-symbols--compose-symbol): Doc fixes.
8124
8125 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8126
8127 Document multi-mode indentation facilities
8128
8129 * doc/lispref/text.texi (Mode-Specific Indent): Document
8130 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
8131
8132 * lisp/progmodes/prog-mode.el (prog-indentation-context)
8133 (prog-widen): Doc fixes.
8134
8135 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8136
8137 Document 'vc-refresh-state'
8138
8139 * doc/emacs/maintaining.texi (Version Control): Document
8140 'vc-refresh-state'.
8141
8142 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
8143
8144 2015-12-12 Eli Zaretskii <eliz@gnu.org>
8145
8146 Fix echo for "C-u"
8147
8148 * src/keyboard.c (command_loop_1): Undo last change. It caused
8149 duplicate echo of C-u. (Bug#22107)
8150
8151 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8152
8153 Avoid errors when creating files under SVN in new directory
8154
8155 * lisp/vc/vc-svn.el (vc-svn-registered): Use
8156 file-accessible-directory-p, to avoid cd'ing to a non-existing
8157 directory, which signals an error on some systems. (Bug#21984)
8158 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
8159 Use declare-function to avoid byte-compiler warnings.
8160
8161 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8162
8163 Improve Lua support in etags
8164
8165 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
8166 "function".
8167
8168 * etc/NEWS: Mention improved Lua support by 'etags'.
8169
8170 * test/etags/lua-src/test.lua (test): Add tests for indented
8171 function definitions.
8172 * test/etags/ETAGS.good_1:
8173 * test/etags/ETAGS.good_2:
8174 * test/etags/ETAGS.good_3:
8175 * test/etags/ETAGS.good_4:
8176 * test/etags/ETAGS.good_5:
8177 * test/etags/ETAGS.good_6:
8178 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
8179
8180 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8181
8182 Fix 'this-command-keys' wrt prefix argument
8183
8184 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
8185 was part of this-command-keys, but not of this-single-command-keys.
8186 (Bug#22107)
8187
8188 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
8189 commentary about the function's return value.
8190
8191 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8192
8193 * lisp/files.el (load-library): Doc fix. (Bug#22140)
8194
8195 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8196
8197 Improve and document Ruby support in 'etags'
8198
8199 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
8200 (Ruby_functions): Support "module" and overloaded operators.
8201 (Ruby_help): Mention "module".
8202
8203 * test/etags/ruby-src/test.rb:
8204 * test/etags/ruby-src/test1.ruby: New files.
8205 * test/etags/Makefile (RBSRC): New tests.
8206 (SRCS): Add ${RBSRC}.
8207 * test/etags/ETAGS.good_1:
8208 * test/etags/ETAGS.good_2:
8209 * test/etags/ETAGS.good_3:
8210 * test/etags/ETAGS.good_4:
8211 * test/etags/ETAGS.good_5:
8212 * test/etags/ETAGS.good_6:
8213 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
8214
8215 * doc/man/etags.1: Mention Ruby support.
8216 * etc/NEWS: Mention Ruby support.
8217
8218 2015-12-11 Xi Lu <lx@shellcodes.org>
8219
8220 Initial support for Ruby in 'etags'
8221
8222 * lib-src/etags.c <Ruby_suffixes>: New variable.
8223 (lang_names): Add an entry for Ruby.
8224 (Ruby_functions): New function. (Bug#22116)
8225
8226 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8227
8228 Clarify documentation of 'modify-frame-parameters'
8229
8230 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
8231 PARMs" mean for 'modify-frame-parameters'.
8232
8233 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
8234 PARMs" mean for this function. (Bug#22104)
8235
8236 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8237
8238 Fix setting buffer unibyte when reading from a device
8239
8240 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
8241 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
8242
8243 2015-12-11 Eli Zaretskii <eliz@gnu.org>
8244
8245 Clarify documentation of 'values'
8246
8247 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
8248 updated by any evaluation commands in 'lisp-interaction-mode'.
8249 (Bug#22056)
8250
8251 2015-12-11 Anders Lindgren <andlind@gmail.com>
8252
8253 Fixed subversion vc error when opening file in new directory (bug#21984).
8254
8255 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
8256
8257 2015-12-09 Eli Zaretskii <eliz@gnu.org>
8258
8259 Yet another fix for when point ends up in invisible text
8260
8261 * src/xdisp.c (redisplay_window): When someone forced
8262 window-start, and honoring that failed to show the cursor, try
8263 moving out of invisible text, before falling back to the middle of
8264 the window. (Bug#22098)
8265
8266 2015-12-09 Michael Albinus <michael.albinus@gmx.de>
8267
8268 Fix error in Tramp perl script for cygwin
8269
8270 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
8271 error if file doesn't exist.
8272
8273 2015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8274
8275 Remove font workaround for limited outdated versions
8276
8277 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
8278 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
8279
8280 2015-12-09 Anders Lindgren <andlind@gmail.com>
8281
8282 Don't add "." to load path (bug#21104)
8283
8284 When configured with --enable-locallisppath=no, which is the
8285 default for OS X, the load-path incorrectly was populated with ".".
8286
8287 * src/lread.c (init_lread): Don't call `decode_env_path' when
8288 PATH_SITELOADSEARCH is empty.
8289
8290 2015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
8291
8292 * lisp/emacs-lisp/package.el (package--with-response-buffer):
8293
8294 Search for the blank-line in the right buffer.
8295
8296 2015-12-08 Glenn Morris <rgm@gnu.org>
8297
8298 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
8299 for recent change.
8300
8301 2015-12-08 Glenn Morris <rgm@gnu.org>
8302
8303 Fix some display-warning usage.
8304
8305 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
8306 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8307 * lisp/calendar/holidays.el (calendar-holiday-list):
8308 * lisp/mail/rmailout.el (rmail-output-read-file-name):
8309 Fix display-warning usage.
8310
8311 2015-12-07 Glenn Morris <rgm@gnu.org>
8312
8313 * lisp/calendar/cal-html.el: Require diary-lib.
8314
8315 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
8316
8317 2015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8318
8319 Add Obsolete-since header to eudcb-ph.el
8320
8321 * eudcb-ph.el: Add Obsolete-since header.
8322
8323 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
8324
8325 Spelling fixes
8326
8327 * doc/misc/calc.texi (Predefined Units): Use the bland modern
8328 scientific style for spelling the units “ampere” and
8329 “angstrom” rather than the older style “Ampere” and
8330 “Ångstrom”. The latter spelling was wrong anyway (it should
8331 have been “Ångström”).
8332 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
8333 Fix misspelling of ‘atom’ in code.
8334
8335 2015-12-07 Eli Zaretskii <eliz@gnu.org>
8336
8337 Improve documentation of kill commands
8338
8339 * lisp/simple.el (region-extract-function, delete-backward-char)
8340 (delete-forward-char, kill-region, copy-region-as-kill)
8341 (kill-ring-save): Better document the optional argument REGION in
8342 the doc strings. Mention in the doc strings that text put in the
8343 kill-ring can be filtered by 'filter-buffer-substring'.
8344
8345 * doc/lispref/text.texi (Kill Functions): Mention that functions
8346 described in this subsection can filter text they put in the
8347 kill-ring. Add a cross-reference to "Buffer Contents" and an
8348 index entry. Document the optional argument 'region' and its
8349 effect.
8350 (Bug#21315)
8351
8352 2015-12-07 Alan Mackenzie <acm@muc.de>
8353
8354 Further progress making Isearch, Ispell, Replace work with Follow Mode.
8355
8356 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
8357 no longer exists. Add follow-post-command-hook to three special purpose
8358 hooks at setup, and remove them at tear down.
8359
8360 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
8361 isearch-lazy-highlight-new-loop.
8362 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
8363 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
8364 it.
8365 (isearch-lazy-highlight-maybe-new-loop): function removed.
8366
8367 * lisp/replace.el: (replace-update-post-hook): New hook variable.
8368 (perform-replace): Add second (nil) argument to looking-back. Invoke
8369 replace-update-post-hook before calling replace-highlight.
8370
8371 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
8372 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
8373 call of pos-visible-in-window-p.
8374 (ispell-display-buffer): Place *Choices* window at the top of the last window
8375 in a window group.
8376
8377 2015-12-07 Alan Mackenzie <acm@muc.de>
8378
8379 Amend doc of `mapconcat': it can take sequences, not merely strings.
8380
8381 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
8382 to say that SEPARATOR and the results from FUNCTION may be any character
8383 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
8384
8385 2015-12-07 Michael Albinus <michael.albinus@gmx.de>
8386
8387 Fix an utf8 problem for Tramp on BSD
8388
8389 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8390 Make lax check for utf8.
8391 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
8392
8393 2015-12-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8394
8395 Make eudcb-ph.el obsolete
8396
8397 * doc/misc/eudc.texi: Bump version to 1.40.0.
8398 Remove PH/QI sections and mentions.
8399 * lisp/obsolete/eudcb-ph.el: Make obsolete.
8400 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
8401 (eudc-ph-bbdb-conversion-alist): Make obsolete.
8402 * etc/NEWS: Mention this. (Bug#21191)
8403
8404 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
8405
8406 Remove overenthusiastic eassert
8407
8408 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
8409 previous change. It breaks on MS-Windows --with-wide-int.
8410 Problem reported by Eli Zaretskii in:
8411 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
8412
8413 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
8414
8415 Pacify gcc -Wparentheses
8416
8417 * src/xdisp.c (row_containing_pos): Reparenthesize.
8418
8419 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
8420
8421 Port mod-test to 32-bit Emacs --without-wide-int
8422
8423 * modules/mod-test/test.el (mod-test-sum-test):
8424 Bring back the 2**29 tests, but port them to 32-bit Emacs
8425 --without-wide-int.
8426
8427 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
8428
8429 Fix minor Tramp problems found on BSD
8430
8431 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
8432 trailing slash. Quote apostrophes.
8433 (tramp-sh-handle-file-truename): Do not append trailing slash in
8434 the "ls" case.
8435 (tramp-get-ls-command-with-w-option): New defun.
8436 (tramp-do-file-attributes-with-ls)
8437 (tramp-do-directory-files-and-attributes-with-stat): Use it.
8438
8439 * test/automated/tramp-tests.el
8440 (tramp-test31-special-characters-with-perl)
8441 (tramp-test31-special-characters-with-ls)
8442 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
8443 Suppress also readlink.
8444
8445 2015-12-06 Eli Zaretskii <eliz@gnu.org>
8446
8447 Fix cursor display when invisible text is at line beginning
8448
8449 * src/xdisp.c (redisplay_window): When scrolling fails to show
8450 point, prefer using the desired matrix if possible for finding the
8451 fallback glyph row for displaying the cursor. (Bug#22098)
8452 (row_containing_pos): Exit the loop as soon as we hit the first
8453 disabled glyph row. Otherwise we risk accessing garbled data and
8454 departing to the no-no land.
8455
8456 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
8457
8458 Improve module interface when WIDE_EMACS_INT
8459
8460 * src/emacs-module.c (plain_values): New constant.
8461 (module_nil): Now a constant.
8462 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
8463 (syms_of_module): Use if, not #ifdef, so that both sides are
8464 checked at compile-time, and so that GCC doesn’t complain
8465 about an unused var in the typical case. Also, depend on
8466 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
8467 that WIDE_EMACS_INT implies !USE_LSB_TAG.
8468 (value_to_lisp_bits, lisp_to_value_bits): New functions.
8469 Sign-extend integers rather than zero-extending them, as small
8470 negative integers are more likely.
8471 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
8472 functions.
8473 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
8474 (mark_modules): Remove. All uses removed.
8475 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
8476 to GCALIGNMENT.
8477 (syms_of_module): Check that module_nil converts to Qnil.
8478 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
8479 we prefer signed to unsigned when either will do.
8480 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
8481 a bit better for emacs-module.c.
8482
8483 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
8484
8485 Port mod-test to x86-64 GNU/Linux running 32-bit
8486
8487 * modules/mod-test/test.el (mod-test-sum-test):
8488 Don’t attempt to match descriptions to operating systems.
8489 It didn’t work on Fedora x86-64 running a 32-bit executable,
8490 and it’s not worth the trouble anyway.
8491 Port to 32-bit platforms by removing an assumption about
8492 fixnum widths.
8493
8494 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
8495
8496 Fix auto-revert-tests.el when filenotify isn't used
8497
8498 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
8499 Make it working also when filenotify isn't used.
8500
8501 2015-12-05 Juri Linkov <juri@linkov.net>
8502
8503 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
8504
8505 Let-bind isearch-regexp-function to nil. (Bug#22097)
8506
8507 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
8508
8509 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
8510
8511 (package--with-response-buffer): NOERROR and ERROR-FORM only
8512 handle connection errors.
8513 (bad-signature): New error type.
8514 (package--check-signature-content): Use it.
8515 (package--check-signature): Properly distinguish connection errors
8516 from bad-signature errors. Do the check for
8517 `package-check-signature' `allow-unsigned' here instead of forcing
8518 the callbacks to do it. Add a new argument, UNWIND.
8519 (package--download-one-archive, package-install-from-archive):
8520 Update usage of `package--check-signature'.
8521
8522 2015-12-05 Ulf Jasper <ulf.jasper@web.de>
8523
8524 Fix Bug#22092.
8525
8526 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
8527 Clean up inconsistent line endings. (Bug#22092)
8528 (icalendar--clean-up-line-endings): New.
8529 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
8530 for Bug#22092.
8531
8532 2015-12-05 Eli Zaretskii <eliz@gnu.org>
8533
8534 Document 'bookmark-set-no-overwrite'
8535
8536 * doc/emacs/regs.texi (Bookmarks): Document the new command
8537 'bookmark-set-no-overwrite' and its keybinding.
8538
8539 2015-12-05 Eli Zaretskii <eliz@gnu.org>
8540
8541 Document new binding of 'mouse-buffer-menu'
8542
8543 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
8544 now also on C-F10.
8545
8546 2015-12-05 Eli Zaretskii <eliz@gnu.org>
8547
8548 Initial documentation of dynamic modules
8549
8550 * doc/lispref/loading.texi (Dynamic Modules): New section with
8551 initial documentation for dynamic modules.
8552 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
8553 detailed menu
8554
8555 * etc/NEWS: Fix typos in dynamic modules' entry.
8556
8557 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
8558
8559 Remove copyright statements from trivial test files
8560
8561 2015-12-05 Eli Zaretskii <eliz@gnu.org>
8562
8563 Add "Preliminaries" section to etc/DEBUG
8564
8565 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
8566 Most of the content was suggested by Phillip Lord
8567 <phillip.lord@russet.org.uk>. Remove the section about debugging
8568 with the Visual Studio, as building Emacs with the Microsoft
8569 compilers is no longer supported. Minor fixes in some other
8570 sections.
8571
8572 2015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
8573
8574 Improve parsing of version strings
8575
8576 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
8577 (version-to-list): More helpful error messages.
8578 (version-to-list): ".5" is valid (update docstring). Make
8579 "22.8X3" invalid, as the doc string says.
8580
8581 * test/automated/subr-tests.el (ert-test-version-parsing): New
8582 tests for version string processing.
8583
8584 2015-12-05 Eli Zaretskii <eliz@gnu.org>
8585
8586 Fix documentation of 'undo' changes
8587
8588 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
8589 English conventions for spelling and whitespace between sentences.
8590
8591 * etc/NEWS: Fix wording and spelling of undo-related entries.
8592 Mark them as documented.
8593
8594 2015-12-04 Glenn Morris <rgm@gnu.org>
8595
8596 * lisp/net/net-utils.el: Small improvements.
8597
8598 (net-utils--executable-find-sbin): New function.
8599 (ifconfig-program): Check sbin directories.
8600 Fallback to "ip". (Bug#22091)
8601 (ifconfig-program-options): Check the actual program in use.
8602 (arp-program): Check sbin directories.
8603
8604 2015-12-04 Arash Esbati <esbati@gmx.de> (tiny change)
8605
8606 Fix wrong-type-argument integer-or-marker-p nil error
8607
8608 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
8609 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
8610
8611 2015-12-04 Alan Mackenzie <acm@muc.de>
8612
8613 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
8614
8615 Merge necessitated by a rebase operation.
8616
8617 2015-12-04 Alan Mackenzie <acm@muc.de>
8618
8619 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
8620
8621 2015-12-04 Alan Mackenzie <acm@muc.de>
8622
8623 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
8624
8625 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
8626 Windows" and new @defun selected-window-group.
8627 (Window Start and End): Describe new &optional parameter GROUP and
8628 ...-group-function for window-start, window-end, set-window-start, and
8629 pos-visible-in-window-p.
8630 (Textual Scrolling) Describe the same for recenter.
8631 doc/lispref/positions.texi (Screen Lines): Describe the same for
8632 move-to-window-line.
8633
8634 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
8635 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
8636 new optional parameter "group". At the beginning of each, check whether the
8637 corresponding ...-group-function is set to a function, and if so execute this
8638 function in place of the normal processing.
8639 (syms_of_window): Define symbols for the six new variables below.
8640 (window-start-group-function, window-end-group-function)
8641 (set-window-start-group-function, recenter-group-function)
8642 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
8643 New permanent local buffer local variables.
8644 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
8645 Fpos_visible_in_window_p.
8646
8647 lisp/window.el (selected-window-group-function): New permanent local buffer
8648 local variable.
8649 (selected-window-group): New function.
8650
8651 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
8652 enable, kill them at mode disable. Add/remove follow-after-change to/from
8653 after-change-functions.
8654 (follow-start-end-invalid): New variable.
8655 (follow-redisplay): Manipulate follow-start-end-invalid.
8656 (follow-after-change, follow-window-start, follow-window-end)
8657 (follow-set-window-start, follow-pos-visible-in-window-p)
8658 (follow-move-to-window-line, follow-sit-for): New functions.
8659
8660 lisp/isearch.el (isearch-call-message): New macro.
8661 (isearch-update, with-isearch-suspended, isearch-del-char)
8662 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
8663 (with-isearch-suspended): Rearrange code such that isearch-call-message is
8664 invoked before point is moved.
8665 (isearch-message): Add comment about where point must be at function call.
8666 (isearch-search): Remove call to isearch-message.
8667 (isearch-lazy-highlight-window-group): New variable.
8668 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
8669 the battery of tests to ...
8670 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
8671 Note: (sit-for 0) is still called.
8672 (isearch-lazy-highlight-update): Check membership of
8673 isearch-lazy-highlight-window-group. Don't set the `window' overlay
8674 property.
8675 (isearch-update, isearch-done, isearch-string-out-of-window)
8676 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
8677 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
8678 (isearch-lazy-highlight-update): Call the six amended primitives (see
8679 src/window.c above) with the new `group' argument set to t, to cooperate
8680 with Follow Mode.
8681
8682 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
8685
8686 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
8687 (ert--explain-format-atom, ert--explain-equal-rec)
8688 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
8689 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
8690
8691 2015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
8692
8693 * lisp/character-fold.el: Remove special case-folding support
8694
8695 (character-fold-to-regexp): Remove special code for
8696 case-folding. Char-fold search still respects the
8697 `case-fold-search' variable (i.e., f matches F). This only
8698 removes the code that was added to ensure that f also matched
8699 all chars that F matched. For instance, after this commit, f
8700 no longer matches 𝔽.
8701
8702 This was necessary because the logic created a regexp with
8703 2^(length of the string) redundant paths. So, when a very
8704 long string "almost" matched, Emacs took a very long time to
8705 figure out that it didn't. This became particularly relevant
8706 because isearch's lazy-highlight does a search bounded by (1-
8707 match-end) (which, in most circumstances, is a search that
8708 almost matches). A recipe for this can be found in bug#22090.
8709
8710 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
8713 Fixes (bug#21701)
8714
8715 2015-12-04 Daiki Ueno <ueno@gnu.org>
8716
8717 lisp/gnus/qp.el: Don't replace "from " at bol
8718
8719 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
8720 to nil when looking for "^From ". Problem reported by Simon Josefsson.
8721
8722 2015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
8723
8724 Externalize some symbols in undo-auto
8725
8726 * doc/lispref/text.texi: Update symbols.
8727 * lisp/simple.el (undo-auto--amalgamate,
8728 undo-auto--current-boundary-timer): Make symbols public.
8729 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
8730 updated symbol.
8731
8732 2015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
8735
8736 2015-12-03 Michael Albinus <michael.albinus@gmx.de>
8737
8738 Some error message improvements in tramp-sh.el
8739
8740 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8741 Suppress error messages for "mesg" and "biff" calls.
8742 (tramp-get-remote-path): Ignore errors when expanding
8743 `tramp-own-remote-path'. Raise a warning instead.
8744
8745 2015-12-03 Eli Zaretskii <eliz@gnu.org>
8746
8747 Document 'nacl' value for 'system-type'
8748
8749 * doc/lispref/os.texi (System Environment): Document the 'nacl'
8750 value of 'system-type'.
8751
8752 2015-12-03 Eli Zaretskii <eliz@gnu.org>
8753
8754 Document 'window-max-chars-per-line'
8755
8756 * doc/lispref/windows.texi (Window Sizes): Document
8757 'window-max-chars-per-line'.
8758
8759 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
8760
8761 Fix some file headers for the purpose of `package--builtins'
8762
8763 * lisp/emacs-lisp/cl-preloaded.el
8764 * lisp/emacs-lisp/eieio-compat.el
8765 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
8766
8767 * lisp/ielm.el: Fix summary line.
8768
8769 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
8770
8771 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
8772
8773 Reload any previously loaded package files before compiling
8774 the package (also reload the same files after compiling).
8775 This ensures that we have the most recent definitions during
8776 compilation, and avoids generating bad elc files when a macro
8777 changes and it is used in a different file from the one it's
8778 defined in.
8779
8780 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
8781
8782 * lisp/emacs-lisp/package.el: Refactor package activation code
8783
8784 (package-activate): Move code that activates dependencies into
8785 package-activate-1.
8786 (package--load-files-for-activation): New function.
8787 (package-activate-1): Add code for (optionally) activating
8788 dependencies, and move file-loading code into
8789 `package--load-files-for-activation'.
8790
8791 2015-12-03 Eli Zaretskii <eliz@gnu.org>
8792
8793 Document new font-related functionality
8794
8795 * doc/lispref/display.texi (Low-Level Font): Document
8796 'default-font-width', 'default-font-height', 'window-font-width',
8797 and 'window-font-height'.
8798
8799 * etc/NEWS: Move entries for 'default-font-width',
8800 'default-font-height', 'window-font-width', and 'window-font-height'
8801 to their place and mark them documented.
8802
8803 2015-12-03 Eli Zaretskii <eliz@gnu.org>
8804
8805 Fix documentation and implementation of 'directory-name-p'
8806
8807 * lisp/files.el (directory-name-p): Modify to recognize
8808 backslashes on MS-Windows and MS-DOS. Adjust the doc string
8809 accordingly. Use '=', not char-equal, for comparison, as
8810 letter-case cannot possibly be an issue here.
8811
8812 * doc/lispref/files.texi (Directory Names): Move the documentation
8813 of directory-name-p here from "Relative File Names". Update the
8814 description per the changes in implementation.
8815
8816 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
8817 place and mark it documented.
8818
8819 2015-12-02 Eli Zaretskii <eliz@gnu.org>
8820
8821 Minor copyedit in Emacs manual
8822
8823 * doc/emacs/search.texi (Lax Search): Make wording about character
8824 folding by default less definitive. (Bug#22043)
8825
8826 2015-12-02 Eli Zaretskii <eliz@gnu.org>
8827
8828 More emacs-module.c fixes for wide ints
8829
8830 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
8831 unsigned data types to manipulate pointers, to avoid sign
8832 extension coming after us with a vengeance.
8833
8834 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
8835 Emacs with wide ints that verify integer values near the critical
8836 value that requires us to switch to a cons cell.
8837
8838 2015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
8839
8840 Fix bug#22069 in cl-generic.el
8841
8842 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
8843 not run thru `format'.
8844
8845 2015-12-01 Dmitry Gutov <dgutov@yandex.ru>
8846
8847 APPEND etags--xref-backend to xref-backend-functions
8848
8849 * lisp/progmodes/xref.el (xref-backend-functions):
8850 Use APPEND when adding the default element
8851 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
8852
8853 2015-12-01 Eli Zaretskii <eliz@gnu.org>
8854
8855 More accurate documentation of lax whitespace matching
8856
8857 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
8858 (word-search-backward, word-search-forward)
8859 (word-search-backward-lax, word-search-forward-lax): Mention in
8860 doc strings that toggling lax whitespace matching has no effect on
8861 these commands.
8862
8863 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
8864 lax whitespace matching has no effect on these commands.
8865
8866 2015-12-01 Eli Zaretskii <eliz@gnu.org>
8867
8868 Fix emacs-module.c for wide ints
8869
8870 * src/emacs-module.c (lisp_to_value): Compare the produced value
8871 with the original Lisp object, not with the one potentially
8872 converted into a Lisp_Cons. Fixes assertion violations when
8873 working with integers larger than fit into a 32-bit value.
8874
8875 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
8876 large integers, to test --with-wide-int.
8877
8878 2015-12-01 Eli Zaretskii <eliz@gnu.org>
8879
8880 Document 'directory-files-recursively'
8881
8882 * lisp/files.el (directory-files-recursively): Doc fix. Rename
8883 the argument MATCH to REGEXP, to be more explicit about its form.
8884
8885 * doc/lispref/files.texi (Contents of Directories): Improve the
8886 documentation of 'directory-files-recursively'. Add
8887 cross-references.
8888
8889 * etc/NEWS: Move the entry for 'directory-files-recursively' to
8890 its place and mark it documented.
8891
8892 2015-12-01 Eli Zaretskii <eliz@gnu.org>
8893
8894 Document 'inhibit-read-only' property
8895
8896 * doc/lispref/text.texi (Special Properties): Describe the new
8897 'inhibit-read-only' text property. Add cross-reference to where
8898 read-only buffers are described.
8899 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
8900 'inhibit-read-only' property exempts text from being read-only.
8901 Add cross-reference to "Special Properties".
8902
8903 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
8904 its place and mark it documented.
8905
8906 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
8907
8908 * lisp/emacs-lisp/package.el: Update header comments
8909
8910 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
8911
8912 * lisp/character-fold.el: Add back multi-char matching
8913
8914 (character-fold-to-regexp): Uncomment recently commented code
8915 and make the algorithm "dummer" by not checking every possible
8916 combination. This will miss some possible matches, but it
8917 greatly reduces regexp size.
8918
8919 * test/automated/character-fold-tests.el
8920 (character-fold--test-fold-to-regexp): Comment out test of
8921 functionality no longer supported.
8922
8923 2015-12-01 Xue Fuqiao <xfq.free@gmail.com>
8924
8925 * doc/emacs/ack.texi (Acknowledgments): Update.
8926
8927 2015-12-01 Michael Albinus <michael.albinus@gmx.de>
8928
8929 Check `file-remote-p' over absolute files names in files.el
8930
8931 * lisp/files.el (directory-files-recursively)
8932 (get-free-disk-space): Check `file-remote-p' over absolute files names.
8933
8934 2015-12-01 Andreas Schwab <schwab@linux-m68k.org>
8935
8936 * src/lread.c (syms_of_lread): Doc fix.
8937
8938 2015-11-30 Dmitry Gutov <dgutov@yandex.ru>
8939
8940 Don't mistake certain JS method calls for keywords
8941
8942 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
8943 Braceless keyword can't come after a period (bug#22063).
8944
8945 2015-11-30 David Reitter <david.reitter@gmail.com>
8946
8947 Read frame_title_format from buffer-local variable for NS port
8948
8949 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
8950 icon-title-format variables from buffer in appropriate window.
8951 (Bug#22048)
8952
8953 2015-11-30 Juri Linkov <juri@linkov.net>
8954
8955 * lisp/replace.el (occur-engine): Count matches in empty lines.
8956
8957 (Bug#22062)
8958
8959 2015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
8960
8961 * src/emacs-module.h: Fix finalizer typedef for C++11
8962
8963 C++11 standard doesn't allow exception-specification in typedef.
8964 The workaround is to declare a dummy function prototype and use
8965 decltype on it.
8966
8967 2015-11-30 Eli Zaretskii <eliz@gnu.org>
8968
8969 Fix last change
8970
8971 * src/emacs-module.c (lisp_to_value, value_to_lisp)
8972 [WIDE_EMACS_INT]: Avoid compiler warnings.
8973
8974 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 Rely on conservative stack scanning to find "emacs_value"s
8977
8978 * src/emacs-module.c (struct emacs_value_tag)
8979 (struct emacs_value_frame, struct emacs_value_storage): Remove.
8980 (value_frame_size): Remove constant.
8981 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
8982 (lisp_to_value): Remove first arg.
8983 (module_nil): New constant.
8984 Use it instead of NULL when returning an emacs_value.
8985 (module_make_function): Adjust to new calling convention of
8986 Qinternal_module_call.
8987 (DEFUN): Receive args in an array rather than a list.
8988 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
8989 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
8990 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
8991 Adjust to new type of non_local_exit info.
8992 (ltv_mark) [WIDE_EMACS_INT]: New constant.
8993 (value_to_lisp, lisp_to_value): Rewrite.
8994 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
8995 (allocate_emacs_value): Remove function.
8996 (mark_modules): Gut it.
8997 (initialize_environment): Don't initialize storage any more.
8998 Keep the actual env object on Vmodule_environments.
8999 (finalize_environment): Don't finalize storage any more.
9000 (syms_of_module): Initialize ltv_mark and module_nil.
9001
9002 * src/emacs-module.h (emacs_value): Make it more clear that this type
9003 is really opaque, including the fact that NULL may not be valid.
9004
9005 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
9006 Don't assume that NULL is a valid emacs_value.
9007
9008 2015-11-30 Eli Zaretskii <eliz@gnu.org>
9009
9010 Yet another doc improvement for search commands
9011
9012 * doc/emacs/search.texi (Word Search, Symbol Search)
9013 (Regexp Search): Document commands that don't support lax
9014 whitespace matching or character folding.
9015 (Nonincremental Search): Mention the search commands that can be
9016 invoked from the menu bar.
9017
9018 * lisp/isearch.el (isearch-define-mode-toggle-word)
9019 (isearch-define-mode-toggle-symbol)
9020 (isearch-define-mode-toggle-character-fold): Note in the doc
9021 string that turning these on exits the regexp mode.
9022 (isearch-forward-regexp, isearch-forward-word)
9023 (isearch-forward-symbol, isearch-backward-regexp)
9024 (word-search-backward, word-search-forward)
9025 (word-search-backward-lax, word-search-forward-lax): State in the
9026 doc string which commands don't support character folding and/or
9027 lax-whitespace matching.
9028
9029 2015-11-30 Martin Rudalics <rudalics@gmx.at>
9030
9031 Run `window-size-change-functions' also when reading from minibuffer
9032
9033 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
9034 also when reading from minibuffer.
9035
9036 2015-11-30 Ulf Jasper <ulf.jasper@web.de>
9037
9038 Fix scrambling of html-rendered item buffers
9039
9040 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
9041 scrambling of contents by wrapping call to html-renderer in
9042 save-selected-window.
9043
9044 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
9045
9046 Fix font typo in previous doc fix.
9047
9048 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
9049
9050 A bit more security doc, esp. file local vars
9051
9052 * doc/emacs/emacs.texi (Top):
9053 * doc/emacs/misc.texi (Miscellaneous Commands):
9054 Refer to new Host Security section.
9055 (Host Security): New section.
9056 * doc/lispref/os.texi (Security Considerations):
9057 Mention file local variables.
9058
9059 2015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
9060
9061 * lisp/character-fold.el: Comment out branching code
9062
9063 (character-fold-to-regexp): Comment out code that uses multi-char
9064 table. The branching caused by this induces absurdly long regexps,
9065 up to 10k chars for as little as 25 input characters.
9066
9067 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
9068
9069 Spelling and grammar fixes
9070
9071 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
9072
9073 Make lisp-completion-at-point a wrapper instead of an alias
9074
9075 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
9076 Turn into an obsolete wrapper around elisp-completion-at-point
9077 (bug#20455).
9078
9079 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
9080
9081 * lisp/isearch.el (isearch-search-fun-default): Nicer error
9082
9083 message when the search fails.
9084
9085 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
9086
9087 Update menu-bar-goto-uses-etags-p for the current xref API
9088
9089 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
9090 xref-backend-functions, instead of now-nonexistent
9091 xref-find-function.
9092
9093 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
9094
9095 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
9096
9097 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
9098
9099 * lisp/menu-bar.el: Use folding in searches
9100
9101 (nonincremental-search-forward): Use `isearch-search-fun-default'
9102 to determine the search function.
9103 (nonincremental-search-backward)
9104 (nonincremental-repeat-search-forward)
9105 (nonincremental-repeat-search-backward): Use it.
9106
9107 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
9108
9109 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
9110
9111 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
9112
9113 * lisp/character-fold.el (character-fold-to-regexp): Be careful
9114
9115 not to return huge regexps.
9116
9117 2015-11-29 Eli Zaretskii <eliz@gnu.org>
9118
9119 Improve documentation of string-collate-* functions
9120
9121 * doc/lispref/strings.texi (Text Comparison): Improve wording and
9122 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
9123
9124 * etc/NEWS: Move the entry of 'string-collate-equalp' and
9125 'string-collate-lessp' to "Lisp Changes" section and mark it as
9126 documented.
9127
9128 2015-11-29 Eli Zaretskii <eliz@gnu.org>
9129
9130 Document truncate-string-ellipsis
9131
9132 * doc/lispref/display.texi (Size of Displayed Text): Document
9133 'truncate-string-ellipsis'.
9134
9135 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
9136 (truncate-string-to-width): Mention in the doc string that the
9137 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
9138
9139 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
9140 Changes" section.
9141
9142 2015-11-29 Eli Zaretskii <eliz@gnu.org>
9143
9144 Fix confusion wrt character folding in the Emacs manual
9145
9146 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
9147 Document that invoking search-forward/backward and
9148 re-search-forward/backward supports only case folding, but not the
9149 rest of the lax-search features. Reported by Mike Kupfer
9150 <m.kupfer@acm.org>.
9151
9152 2015-11-29 Ken Brown <kbrown@cornell.edu>
9153
9154 Update mod-test-sum-test
9155
9156 * modules/mod-test/test.el (mod-test-sum-test): Update to
9157 accommodate the lack of dladdr on Cygwin.
9158
9159 2015-11-29 Alan Mackenzie <acm@muc.de>
9160
9161 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
9162
9163 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
9164 to `funcall', (i) Output an error message; (ii) Generate code to signal a
9165 `wrong-number-of-arguments' error.
9166
9167 2015-11-29 Martin Rudalics <rudalics@gmx.at>
9168
9169 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
9170
9171 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
9172
9173 * lisp/character-fold.el (character-fold-to-regexp)
9174
9175 Warn about using long strings.
9176
9177 * test/automated/character-fold-tests.el
9178 (character-fold--test-lax-whitespace)
9179 (character-fold--test-consistency): Reduce string size for tests.
9180
9181 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9182
9183 Document renaming of x-select-enable-* variables
9184
9185 * doc/emacs/killing.texi (Clipboard): Rename
9186 x-select-enable-clipboard to select-enable-clipboard and
9187 x-select-enable-primary to select-enable-primary. Update index
9188 entries.
9189
9190 * etc/NEWS: Mark entry as documented.
9191
9192 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9193
9194 Document the shorthand hints displayed by M-x
9195
9196 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
9197 suggest-key-bindings. Document the shorthand hints for commands
9198 that have no key bindings. Document that M-x completion ignores
9199 obsolete commands.
9200
9201 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
9202 documented.
9203
9204 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9205
9206 Update docs of character folding
9207
9208 * doc/emacs/search.texi (Lax Search): Update the description of
9209 character folding for the latest changes.
9210
9211 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
9212
9213 * lisp/character-fold.el: Also play nice with case-folding
9214
9215 (character-fold-to-regexp): Take `case-fold-search' into account.
9216
9217 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
9218
9219 * lisp/character-fold.el: Add support for multi-char matches
9220
9221 (character-fold-table): Now has an extra-slot. This is a second
9222 char-table that holds multi-character matches. See docstring for
9223 details.
9224 (character-fold-to-regexp): Can build branching regexps when a
9225 character's entry the extra slot of `character-fold-table' matches the
9226 characters that succeed it.
9227
9228 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
9229
9230 * lisp/character-fold.el: Code simplifications
9231
9232 (character-fold-table): Reduce the scope of a variable.
9233 (character-fold-to-regexp): Change logic to work directly on the
9234 input string. It's a little easier to understand, probably
9235 faster, and sets us up for implementing multi-char matches.
9236
9237 * test/automated/character-fold-tests.el
9238 (character-fold--test-fold-to-regexp): New test.
9239
9240 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9241
9242 Document changes in "C-h l"
9243
9244 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
9245
9246 * etc/NEWS: mark "C-h l" changes as documented.
9247
9248 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9249
9250 Finalize documentation of 'custom-prompt-customize-unsaved-options'
9251
9252 * doc/emacs/custom.texi (Saving Customizations): Index the new
9253 function 'custom-prompt-customize-unsaved-options'.
9254
9255 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
9256 is useful.
9257
9258 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9259
9260 Document 'comment-line'
9261
9262 * doc/emacs/programs.texi (Comment Commands): Document
9263 'comment-line'.
9264
9265 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
9266
9267 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9268
9269 Document new checkdoc features
9270
9271 * doc/lispref/tips.texi (Tips, Library Headers): Document the
9272 keyword-checking features of checkdoc and the commands
9273 'checkdoc-file' and 'checkdoc-current-buffer'.
9274
9275 * etc/NEWS: Move the checkdoc-related entries to their own
9276 section.
9277
9278 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
9279
9280 Simplify the prologue of emacs-module.c functions
9281
9282 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
9283 (module_make_global_ref)
9284 (module_free_global_ref, module_make_function, module_funcall)
9285 (module_intern, module_type_of, module_extract_integer)
9286 (module_make_integer, module_extract_float, module_make_float)
9287 (module_copy_string_contents, module_make_string)
9288 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
9289 (module_get_user_finalizer, module_set_user_finalizer)
9290 (module_vec_set, module_vec_get, module_vec_size): Use new helper
9291 macro MODULE_FUNCTION_BEGIN.
9292
9293 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9294
9295 Don't reject module calls with no arguments
9296
9297 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
9298
9299 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
9300
9301 Make module-call be visible from Lisp
9302
9303 * src/emacs-module.c (module_make_function): Use internal--module-call.
9304 (Finternal_module_call): Renamed from Fmodule_call. Add safety
9305 checks.
9306 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
9307 defsubr internal--module-call.
9308
9309 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9310
9311 Add etags tests for the recent Lua-related bugfix
9312
9313 * test/etags/lua-src/test.lua: New file, tests the issues raised
9314 by bug#21934.
9315 * test/etags/Makefile (LUASRC): Add test.lua.
9316 * test/etags/ETAGS.good_1:
9317 * test/etags/ETAGS.good_2:
9318 * test/etags/ETAGS.good_3:
9319 * test/etags/ETAGS.good_4:
9320 * test/etags/ETAGS.good_5:
9321 * test/etags/ETAGS.good_6:
9322 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
9323 regression fix, resolved around 25 May 2015, required changes to
9324 the "good" ETAGS files.
9325
9326 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9327
9328 Fix Lua tags when a function name includes '.' or ':'
9329
9330 * lib-src/etags.c (Lua_functions): Add a tag for the last element
9331 of a function name after a dot or a colon. (Bug#21934)
9332
9333 2015-11-28 Eli Zaretskii <eliz@gnu.org>
9334
9335 Improve documentation of search and replace commands
9336
9337 * doc/emacs/search.texi (Replacement and Lax Matches): Document
9338 which commands are affected by 'replace-character-fold'.
9339 (Lax Search): Add a cross reference to "Replacement and Lax
9340 Matches". Improve wording. Fix lost extra whitespace.
9341 (Search Customizations): Improve wording. (Bug#22036)
9342 See also comments in
9343 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
9344
9345 * lisp/replace.el (query-replace, query-replace-regexp)
9346 (query-replace-regexp-eval, replace-string, replace-regexp):
9347 Mention 'replace-character-fold' in the doc strings.
9348
9349 2015-11-28 Paul Eggert <eggert@cs.ucla.edu>
9350
9351 Fix minor problems found by static checking
9352
9353 * src/undo.c (prepare_record): Add proper prototype for C.
9354
9355 2015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * src/emacs-module.c (struct env_storage): Delete
9358
9359 (struct emacs_runtime_private): Keep an emacs_env instead.
9360 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
9361 (initialize_environment): Split the arg in two. Adjust all callers.
9362 Only store the private part in Vmodule_environments.
9363 (finalize_environment): Change the arg to only be the private env.
9364 Adjust all callers.
9365
9366 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9367
9368 Improve documentation of 'replace-character-fold'
9369
9370 * lisp/replace.el (replace-character-fold): Clarify which commands
9371 are affected by this variable.
9372
9373 2015-11-27 Dmitry Gutov <dgutov@yandex.ru>
9374
9375 Autoload etags when using its xref backend
9376
9377 * lisp/progmodes/xref.el (xref--etags-backend):
9378 Rename to etags--xref-backend. Move to etags.el. Autoload.
9379 (Bug#22026)
9380
9381 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
9382
9383 * lisp/character-fold.el: Allow complex chars to match their decomposition
9384
9385 (character-fold-table): When a character's decomposition does not
9386 involve a formatting tag (i.e., if it has an "exact" description via
9387 other characters), then this character is allowed to match the
9388 decomposition.
9389
9390 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
9391
9392 * lisp/character-fold.el: More descriptive variable names
9393
9394 (character-fold-table): Rename a lot of the lexical variables to
9395 make the code easier to read.
9396
9397 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
9398
9399 * lisp/isearch.el: Ensure we still support `isearch-new-word'
9400
9401 (isearch-new-regexp-function): Define variable.
9402 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
9403
9404 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9405
9406 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
9407
9408 2015-11-27 Lee Bochicchio <lboc.home@gmail.com>
9409
9410 * test/lisp/abbrev-tests.el: Define more tests
9411
9412 (abbrev-table-name-test, kill-all-abbrevs-test)
9413 (clear-abbrev-table-test): New tests.
9414
9415 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9416
9417 Add module tests for wrong-type-argument
9418
9419 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
9420 wrong-type-argument.
9421
9422 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9423
9424 Improve handling of signals and 'throw' in modules
9425
9426 * src/emacs-module.c: Add commentary explaining how to write
9427 functions in this file.
9428 (module_make_global_ref, module_free_global_ref)
9429 (module_non_local_exit_signal, module_non_local_exit_throw)
9430 (module_make_function, module_funcall, module_intern)
9431 (module_type_of, module_is_not_nil, module_eq)
9432 (module_extract_integer, module_make_integer)
9433 (module_extract_float, module_make_float)
9434 (module_copy_string_contents, module_make_string)
9435 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
9436 (module_get_user_finalizer, module_set_user_finalizer)
9437 (module_vec_set, module_vec_get, module_vec_size)
9438 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
9439 Do nothing and return with failure indication immediately, if some
9440 previous module call signaled an error or wants to throw. See
9441 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
9442 for the relevant discussions.
9443
9444 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9445
9446 Add ':version' tag to 'checkdoc-package-keywords-flag'
9447
9448 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
9449 Add a ':version' tag.
9450
9451 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9452
9453 Improve documentation of 'eval-buffer' and 'eval-region'
9454
9455 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
9456
9457 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
9458 "accessible portion of buffer".
9459
9460 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9461
9462 Unbreak the Cygwin w32 build
9463
9464 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
9465 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9466
9467 2015-11-27 Eli Zaretskii <eliz@gnu.org>
9468
9469 Improve commentary in character-fold.el
9470
9471 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
9472 description from commit log message to comments. (Bug#22019)
9473
9474 2015-11-26 Alan Mackenzie <acm@muc.de>
9475
9476 Byte Compiler: generate code to adjust stack count after call to `signal'.
9477
9478 Corrects change from earlier today.
9479
9480 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
9481 `byte-compile--for-effect' as argument to `byte-compile-form'.
9482
9483 2015-11-26 Eli Zaretskii <eliz@gnu.org>
9484
9485 Improve commentary of prepare_to_modify_buffer_1
9486
9487 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
9488 that this function runs Lisp. Suggested by Richard Stallman
9489 <rms@gnu.org>.
9490
9491 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
9492
9493 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
9494
9495 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
9496
9497 Fix regression after merge.
9498
9499 * src/undo.c (prepare_record): Remove call to run_undoable_change.
9500
9501 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
9502
9503 After delete, record point location in undo.
9504
9505 Addresses Bug #21968.
9506
9507 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
9508 better support intercalating calls.
9509 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
9510 point and current buffer before each command.
9511 * src/undo.c (record_point): Now only record the point.
9512 * src/undo.c (prepare_record): Functionality removed form
9513 record_point.
9514 * src/undo.c (record_delete): Check if point needs recording.
9515 * src/undo.c (undo-boundary): Record value of point before each
9516 boundary.
9517 * test/automated/simple-test.el: New tests.
9518
9519 Conflicts:
9520 src/undo.c
9521
9522 2015-11-26 Eli Zaretskii <eliz@gnu.org>
9523
9524 Fix compiler warnings in w32.c
9525
9526 * src/w32.c (sys_socket): In case of error, use -1 as return
9527 value, not INVALID_SOCKET, which causes compiler warnings.
9528 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
9529 to the appropriate function signature, to avoid compiler errors.
9530 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
9531
9532 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
9533
9534 Check if the file exists on disk before producing the revert diff
9535
9536 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
9537 exists on disk (bug#20558).
9538
9539 2015-11-26 Alan Mackenzie <acm@muc.de>
9540
9541 Byte compiler: on setq with an odd number of arguments, generate a `signal'
9542
9543 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
9544 it has an odd number of arguments, to allow bytecomp to handle the error.
9545
9546 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
9547 odd number of arguments, generate a `signal' instead of the normal code.
9548
9549 2015-11-25 Dmitry Gutov <dgutov@yandex.ru>
9550
9551 Use find-tag-default for xref-backend-identifier-at-point
9552
9553 * lisp/progmodes/etags.el (find-tag-tag)
9554 (tags-completion-at-point-function): Extract common code as
9555 find-tag--default.
9556 (xref-backend-identifier-at-point): Define in terms of the new
9557 function.
9558
9559 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
9560
9561 * src/undo.c (record_property_change): Remove now-unused local.
9562
9563 2015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
9564
9565 run_undoable_changes now called from insdel.
9566
9567 The original calls from inside undo.c are not always at a safe position
9568 to call lisp, as they originate in varied positions within insdel.c.
9569 Calling them directly from prepare_to_modify_buffer_1 ensures that they
9570 are always run at the same point.
9571
9572 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
9573 and symbol used.
9574 * src/insdel.c (run_undoable_changes): Add function and symbol.
9575
9576 2015-11-25 Eli Zaretskii <eliz@gnu.org>
9577
9578 Improve and update documentation of search commands
9579
9580 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
9581 all references changed. Move the description of lax-whitespace
9582 here. Add description of the new character folding features and
9583 additional customizable options.
9584 (Isearch Yank): Move before "Error in Search".
9585 (Basic Isearch): Improve wording. Add index entries. Add short
9586 description of how to abandon search, making this subsection a
9587 complete introduction to search basics.
9588 (Repeat Isearch): Add index entries. Describe additional
9589 customizable options. Describe mouse clicks.
9590 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
9591 area. Describe more customizable options.
9592 (Error in Isearch): Add index entries.
9593 (Special Isearch): Move actual description of some isearch
9594 commands to other sections, leaving here just the summary of the
9595 commands. Add command that toggles character folding. Describe
9596 commands, like "C-h C-h", that were previously omitted for some
9597 reason.
9598 (Not Exiting Isearch): Describe search-exit-option. Add index
9599 entries.
9600 (Word Search): Describe eww-search-word and eww-search-prefix.
9601 (Symbol Search): Add index entries.
9602 (Regexp Search): Describe regexp-search-ring-max.
9603 (Replacement and Lax Matches): Renamed from "Replacement and
9604 Case"; all references changed. Describe lax-whitespace matching
9605 in replace commands and related options. Describe character
9606 folding in replace commands and related options.
9607 (Query Replace): Describe query-replace-from-to-separator and the
9608 new history features. Add index entries for highlighted text.
9609 Describe query-replace-skip-read-only. Describe more keys
9610 accepted by query-replace.
9611 (Other Repeating Search): More index entries for Occur. Describe
9612 list-matching-lines-default-context-lines.
9613 (Search Customizations): New section, documents customizable
9614 options that were not documented until now.
9615 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
9616 "Character Folding".
9617
9618 * etc/NEWS: Move search- and replace-related entries to a single
9619 parent section.
9620
9621 * lisp/replace.el (query-replace-show-replacement): Doc fix.
9622 * lisp/isearch.el (search-nonincremental-instead)
9623 (isearch-hide-immediately): Doc fixes.
9624
9625 2015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
9626
9627 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
9628
9629 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
9630 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
9631 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
9632
9633 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
9634
9635 Fix module_format_fun_env when dynlib_addr fails
9636
9637 * src/emacs-module.c (module_format_fun_env):
9638 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
9639 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
9640
9641 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
9642
9643 Disambiguate variable help a bit better
9644
9645 * lisp/help-fns.el (describe-variable): Quote the
9646 variable’s value if it is a symbol other than t or nil.
9647 See: T.V Raman in:
9648 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
9649
9650 2015-11-24 Dmitry Gutov <dgutov@yandex.ru>
9651
9652 Pass SVN commit message through log-edit-extract-headers
9653
9654 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
9655 log-edit-extract-headers (bug#18954).
9656
9657 2015-11-24 Alan Mackenzie <acm@muc.de>
9658
9659 CC Mode: Eliminate compiler warning messages.
9660
9661 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
9662 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
9663 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
9664 (c-awk-set-syntax-table-properties): Clarify comments about
9665 `font-lock-syntactic-keywords'.
9666
9667 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
9668 of this before the real (interpreted) one, to satisfy the byte compiler.
9669
9670 2015-11-24 Simen Heggestøyl <simenheg@gmail.com>
9671
9672 Extend the test suite for json.el
9673
9674 * lisp/json.el (json-plist-p): Clarify docstring.
9675
9676 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
9677 macro.
9678 (test-json-join, test-json-alist-p)
9679 (test-json-plist-p, test-json-advance, test-json-peek)
9680 (test-json-pop, test-json-skip-whitespace)
9681 (test-json-read-keyword, test-json-encode-keyword)
9682 (test-json-read-number, test-json-encode-number)
9683 (test-json-read-escaped-char, test-json-read-string)
9684 (test-json-encode-string, test-json-encode-key)
9685 (test-json-new-object, test-json-add-to-object)
9686 (test-json-read-object, test-json-encode-list)
9687 (test-json-read-array, test-json-encode-array)
9688 (test-json-read, test-json-read-from-string)
9689 (test-json-encode): New tests.
9690 (json-read-simple-alist): Merged into `test-json-read-object'.
9691 (json-encode-string-with-special-chars): Merged into
9692 `test-json-encode-string'.
9693 (json-read-string-with-special-chars): Split into
9694 `test-json-encode-string' and `test-json-read-from-string'.
9695
9696 2015-11-24 Anders Lindgren <andlind@gmail.com>
9697
9698 Fixed bug#18283: Enable applescript in NextStep.
9699
9700 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
9701
9702 2015-11-24 Eli Zaretskii <eliz@gnu.org>
9703
9704 Allow completion on dynamic module files in load-library
9705
9706 * lisp/files.el (load-library): Bind completion-ignored-extensions
9707 to nil, to allow completion on dynamic modules typed as file
9708 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9709
9710 2015-11-24 Alan Mackenzie <acm@muc.de>
9711
9712 CC Mode: eliminate almost all byte compilation warnings
9713
9714 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
9715 (cc-require): Remove the crude hack that saved and restored
9716 byte-compile-noruntime-functions.
9717 (cc-conditional-require, cc-conditional-require-after-load): New macros.
9718
9719 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
9720 cc-fix.el using the new macros in cc-bytecomp.el.
9721
9722 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
9723 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
9724 forms to remove the superflous quotes.
9725
9726 2015-11-24 Eli Zaretskii <eliz@gnu.org>
9727
9728 Add one more mod-test test
9729
9730 * modules/mod-test/test.el (mod-test-sum-test): Test the error
9731 signaled when the function is invoked with a wrong number of
9732 arguments.
9733
9734 2015-11-24 Philipp Stephani <phst@google.com>
9735
9736 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
9737
9738 2015-11-24 Eli Zaretskii <eliz@gnu.org>
9739
9740 Implement dynlib_addr for MS-Windows
9741
9742 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
9743 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
9744 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
9745 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
9746 if undefined.
9747 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
9748 zero.
9749 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
9750 the full file name of the module for a given address.
9751
9752 2015-11-24 Alan Mackenzie <acm@muc.de>
9753
9754 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
9755
9756 2015-11-24 Alan Mackenzie <acm@muc.de>
9757
9758 Squashed commit of the following:
9759
9760 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
9761 Author: Alan Mackenzie <acm@muc.de>
9762 Date: Tue Nov 24 16:50:09 2015 +0000
9763
9764 Byte compile: minor amendments.
9765
9766 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
9767 add a comment to explain the binding of variables around a subsidiary
9768 compilation.
9769 (byte-compile-new-defuns): Amend the doc string.
9770
9771 commit c537bfed1dda1593d218956ff00c6105a3ff0316
9772 Author: Alan Mackenzie <acm@muc.de>
9773 Date: Sat Nov 21 18:43:57 2015 +0000
9774
9775 Byte compiler: fix spurious warnings "might not be defined at runtime".
9776
9777 Also initialize byte-compile-noruntime-functions between runs.
9778
9779 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
9780 (byte-compile-initial-macro-environment): For eval-when-compile: bind
9781 byte-compile-unresolved-functions and byte-compile-new-defuns around
9782 byte-compile-top-level, to prevent spurious entries being made.
9783 (byte-compile-warn-about-unresolved-functions): Check whether function is
9784 in byte-compile-new-defuns before emitting a warning about it.
9785 (byte-compile-from-buffer): Initialize new variable and
9786 byte-compile-noruntime-functions to nil.
9787 (byte-compile-file-form-require): record all new functions defined by a
9788 `require' in byte-compile-new-defuns.
9789 (byte-compile-file-form-defmumble): record the new alias in
9790 byte-compile-new-defuns.
9791
9792 2015-11-24 Eli Zaretskii <eliz@gnu.org>
9793
9794 Fix crash at startup related to GC of font entities
9795
9796 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
9797 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
9798 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
9799 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
9800 Don't ifdef away font cache compaction on NT_GUI, as the problems
9801 which led to that seem to have been solved.
9802 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
9803 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
9804 cousins. (Bug#21999)
9805
9806 2015-11-24 Alan Mackenzie <acm@muc.de>
9807
9808 Byte compile: Output an error, not a warning, for odd number of args to setq
9809
9810 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
9811
9812 2015-11-24 Ken Raeburn <raeburn@raeburn.org>
9813
9814 Fix kbd_buffer iteration loop in readable_events
9815
9816 * src/keyboard.c (readable_events): Wrap the event pointer back to the
9817 start of the kbd_buffer array inside the top of the loop instead of
9818 right before checking the loop condition, since kbd_fetch_ptr and
9819 kbd_store_ptr point past the end of the array to mean that element 0
9820 is next. (bug#21935)
9821
9822 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
9823
9824 Improve text-quoting-style doc again
9825
9826 * doc/lispref/help.texi (Keys in Documentation):
9827 Omit overkill discussion of ‘setq’. Mention Emacs versions
9828 where ‘grave’ style was standard.
9829
9830 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
9831
9832 Improve text-quoting-style doc
9833
9834 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
9835
9836 Simplify module_make_function
9837
9838 * src/emacs-module.c (module_make_function):
9839 Simplify by calling build_unibyte_string.
9840
9841 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
9842
9843 Port better to FreeBSD’s dlfunc vs dlsym
9844
9845 This avoids warnings when converting between void * and
9846 function pointers, which strict C11 does not allow.
9847 * configure.ac (dlfunc): Check for existence.
9848 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
9849 (dynlib_func): New function.
9850 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
9851 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
9852 dynlib_sym, for function pointers.
9853
9854 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
9855
9856 Simplify use of emacs_finalizer_function type
9857
9858 * src/emacs-module.h (emacs_finalizer_function):
9859 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
9860 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
9861
9862 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
9863
9864 module_format_fun_env fixes
9865
9866 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
9867 * src/emacs-module.c (module_format_fun_env):
9868 Convert path and sym to UTF-8.
9869 Don’t use VLAs, as the C11 standard says they’re optional,
9870 and anyway they can cause core dumps with large allocations.
9871 Use exprintf rather than snprintf, as exprintf handles arbitrarily
9872 long strings. Simplify the code a bit.
9873
9874 2015-11-23 Dmitry Gutov <dgutov@yandex.ru>
9875
9876 Don't use package-user-dir in elisp-library-roots if it's not bound
9877
9878 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
9879 use package-user-dir if it's not bound (bug#19759).
9880
9881 2015-11-23 Anders Lindgren <andlind@gmail.com>
9882
9883 New visible-bell for NextStep (OS X El Capitan compatible).
9884
9885 Instead of inverting a rectangle in the middle of the frame, use
9886 the standard NextStep image "caution", represented using an
9887 warning sign with an exclamation mark. (Bug#21662)
9888
9889 Implemented based on a suggestion drafted by Mustafa Kocaturk.
9890
9891 * src/nsterm.m (EmacsBell): New class for managing the caution
9892 image. Support multiple active bells, the image is removed once
9893 all bells have timed out.
9894 (ns_timeout): Removed, no longer used.
9895 (ns_ring_bell): Reimplemented to use EmacsBell.
9896
9897 2015-11-23 Johan Bockgård <bojohan@gnu.org>
9898
9899 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
9900
9901 (remove-function): Ditto. (Bug#20376)
9902
9903 2015-11-23 Mark Oteiza <mvoteiza@udel.edu>
9904
9905 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
9906
9907 2015-11-23 Eli Zaretskii <eliz@gnu.org>
9908
9909 Improve how non-ASCII strings are accepted from modules
9910
9911 * src/emacs-module.c (module_make_function, module_make_string):
9912 Build a unibyte Lisp string and then decode it by UTF-8, instead
9913 of building a multibyte string without decoding. This is more
9914 tolerant to deviations from UTF-8.
9915
9916 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
9917
9918 Port recent module changes to pickier compilers
9919
9920 * src/emacs-module.c (module_make_function)
9921 (module_make_string): Add casts to fix pointer signedness issues.
9922
9923 2015-11-23 Philipp Stephani <phst@google.com>
9924
9925 Fix how strings are accepted from modules
9926
9927 * emacs-module.c (module_make_function, module_make_string): Use
9928 make_multibyte_string.
9929 (module_copy_string_contents): Encode before reading the byte
9930 size. Return false if and only if an error occurred.
9931
9932 2015-11-23 Eli Zaretskii <eliz@gnu.org>
9933
9934 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
9935
9936 2015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
9937
9938 Add the tamil-dvorak input method
9939
9940 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
9941
9942 * etc/NEWS: Mention the new input method.
9943
9944 2015-11-23 Martin Rudalics <rudalics@gmx.at>
9945
9946 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
9947
9948 * src/frame.c (adjust_frame_size): Don't set
9949 FRAME_WINDOW_SIZES_CHANGED here ...
9950 * src/window.c (resize_frame_windows): ... but here, as suggested
9951 by Stefan Monnier. Also remove some dead code along the way.
9952
9953 2015-11-23 Alan Mackenzie <acm@muc.de>
9954
9955 * /etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
9956
9957 2015-11-23 Alan Mackenzie <acm@muc.de>
9958
9959 Signal an error when `setf' gets an odd number of arguments.
9960
9961 * lisp/emacs-lisp/gv.el (setf): Amend.
9962
9963 2015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
9966
9967 2015-11-23 Alan Mackenzie <acm@muc.de>
9968
9969 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
9970
9971 2015-11-23 Alan Mackenzie <acm@muc.de>
9972
9973 Expunge occurrences of `setq' with an odd number of arguments.
9974
9975 * lisp/apropos.el (apropos-documentation):
9976 * lisp/obsolete/complete.el (PC-include-file-all-completions):
9977 * lisp/progmodes/compile.el (compilation-goto-locus):
9978 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
9979 Insert missing nil at end of `setq' forms.
9980
9981 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
9982 erroneous trailing variable name from a setq, thus allowing a compilation
9983 properly to track functions not defined at runtime.
9984
9985 2015-11-23 John Wiegley <johnw@newartisans.com>
9986
9987 Add a note about a questionable use of bool in xdisp.c
9988
9989 2015-11-23 Alan Mackenzie <acm@muc.de>
9990
9991 Issue a warning from the byte compiler on a malformed `setq' form.
9992
9993 Partly fixes bug#20241.
9994 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
9995 `setq' form with an odd number of arguments is compiled.
9996
9997 2015-11-23 Alan Mackenzie <acm@muc.de>
9998
9999 Don't let cconv_convert insert a nil argument into a `setq' form.
10000
10001 Fixes bug#21983.
10002 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
10003 argument into a `setq' when there're an odd number of args. This enables the
10004 byte compiler to issue a message in this case.
10005
10006 2015-11-23 Alan Mackenzie <acm@muc.de>
10007
10008 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
10009
10010 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
10011 (syms_of_eval): Add a DEFSYM for Qsetq.
10012
10013 2015-11-23 Martin Rudalics <rudalics@gmx.at>
10014
10015 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
10016
10017 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
10018
10019 2015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10020
10021 Add EUDC BBDB 3 entry in NEWS
10022
10023 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
10024
10025 2015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10026
10027 Improve EUDC to BBDB 3 export
10028
10029 * eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
10030 entry to single item. Add company conversion.
10031 * eudc-export.el (eudc-bbdbify-company): New function.
10032 (bbdb-parse-phone): Declare function.
10033 (eudc-bbdbify-phone): Add BBDB 3 support.
10034 (Bug#21971)
10035
10036 2015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10037
10038 Add BBDB 3 support for EUDC export
10039
10040 * eudc.el: Add bbdb-version defvar.
10041 (eudc--using-bbdb-3-or-newer-p): New function.
10042 * eudc-export.el (eudc-create-bbdb-record): Add support for
10043 bbdb-create-internal argument list changes introduced in BBDB 3.
10044 * eudcb-bbdb.el: Remove bbdb-version defvar.
10045 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
10046 (Bug#21971)
10047
10048 2015-11-22 Eli Zaretskii <eliz@gnu.org>
10049
10050 Allow loading modules by 'load-file'
10051
10052 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
10053 2nd arg, to avoid the "binding stack not balanced" error.
10054 (syms_of_lread) <module-file-suffix>: New Lisp variable.
10055
10056 * lisp/files.el (module-file-suffix): Declare.
10057 (load-file): Remove 'module-file-suffix' from
10058 'completion-ignored-extensions', to allow completion on modules.
10059
10060 * etc/NEWS: Mention 'module-file-suffix'.
10061
10062 2015-11-22 Eli Zaretskii <eliz@gnu.org>
10063
10064 Fix unoptimized builds
10065
10066 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
10067 builds.
10068
10069 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
10070
10071 Work around the asynchronous-empty-diff problem
10072
10073 * lisp/vc/vc-rcs.el (vc-rcs-diff):
10074 * lisp/vc/vc-mtn.el (vc-mtn-diff):
10075 * lisp/vc/vc-hg.el (vc-hg-diff):
10076 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
10077 do a synchronous process call (bug#21969).
10078
10079 2015-11-21 Karl Fogel <kfogel@red-bean.com>
10080
10081 Finish excising electric indent from `open-line'
10082
10083 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
10084
10085 * test/automated/simple-test.el (open-line-indent, open-line-hook):
10086 Adjust accordingly.
10087
10088 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
10089 (git commit c59353896) started. It turns out that having INTERACTIVE
10090 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
10091 still had the electric indent behavior, as `post-self-insert-hook'
10092 normally contains `electric-indent-post-self-insert-function' ever
10093 since `electric-indent-mode' has been on by default. Tracing the code
10094 change in `open-line' is mildly twisty, because Artur Malabarba's
10095 earliest two commits of 24 Oct 2015 first removed the `interactive'
10096 form entirely (git commit 6939896e2) and then restored it with the new
10097 extra "p" already added (git commit bd4f04f86), such that there is no
10098 single-commit diff in which one sees the second "p" appear. Thus this
10099 change is effectively a reversion of parts of each of those commits.
10100
10101 This could close bug#21884, at least until further discussion.
10102
10103 2015-11-21 Dmitry Gutov <dgutov@yandex.ru>
10104
10105 Adhere closer to the "implicit tag name" definition
10106
10107 * lisp/progmodes/etags.el (etags-tags-completion-table):
10108 Adhere closer to the "implicit tag name" definition. Simplify
10109 the regexp. Search for the explicit tag name first, and when
10110 not found, search locally for the implicit one. (Bug#21934)
10111
10112 2015-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 Unrevert most of regexp reentrancy abort patch
10115
10116 The problem was in:
10117 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
10118 which is hence not unreverted.
10119 The rest is:
10120 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
10121 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
10122 All callers in regex.c changed back to the _FAST versions.
10123
10124 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
10125 propertization in backward-sexp.
10126
10127 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
10128
10129 Revert regexp reentrancy abort patch
10130
10131 Although the patch does fix Bug#21688 and prevents a core dump,
10132 it also makes the message-mode-propertize test fail; see:
10133 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
10134 Perhaps someone else can come up with a better fix some day.
10135 * src/syntax.c (update_syntax_table_forward):
10136 Propertize even when truncated.
10137 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
10138 (UPDATE_SYNTAX_TABLE_FAST): Remove.
10139 All callers changed back to the non-_FAST versions.
10140
10141 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
10142
10143 Add a few safety checks when ENABLE_CHECKING
10144
10145 This was motivated by the recent addition of module code,
10146 which added some ENABLE_CHECKING-enabled checks that are
10147 useful elsewhere too.
10148 * src/alloc.c (compact_font_cache_entry):
10149 * src/fns.c (sweep_weak_table):
10150 * src/lread.c (oblookup):
10151 Use gc_asize rather than doing it by hand.
10152 * src/emacs-module.c (module_make_global_ref)
10153 (module_free_global_ref, module_vec_size):
10154 Omit assertions that lisp.h now checks.
10155 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
10156 check that the result is nonnegative. Use eassume, as this
10157 info can help a bit when optimizing production code.
10158 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
10159 to be consistent with the USE_LSB_TAG case.
10160 (gc_asize): New function, when ASIZE is needed in the gc.
10161 (gc_aset): Use it.
10162 (HASH_TABLE_P): Move definition up, so that it can be used ...
10163 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
10164
10165 2015-11-21 Eli Zaretskii <eliz@gnu.org>
10166
10167 Simplify recording of main thread's ID on MS-Windows
10168
10169 * src/w32term.c (w32_initialize):
10170 * src/w32console.c (initialize_w32_display):
10171 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
10172 ID independently for each type of session (GUI, TTY, batch).
10173 * src/w32term.c (w32_init_main_thread): New function, records the
10174 main thread's thread ID.
10175 * src/w32term.h: Add prototype for w32_init_main_thread.
10176 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
10177
10178 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
10179 main_thread, for consistency with other threading libraries. All
10180 users changed. Include w32term.h.
10181 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
10182 make sure the main thread is alive, as we hold a handle on it
10183 opened by w32_init_main_thread.
10184 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
10185 w32_init_main_thread, instead of calling the requisite APIs once
10186 more.
10187
10188 2015-11-21 Eli Zaretskii <eliz@gnu.org>
10189
10190 Call 'window-size-change-functions' for mini-windows
10191
10192 * src/window.c (grow_mini_window, shrink_mini_window): Set the
10193 frame's 'window_sizes_changed' flag.
10194 * src/xdisp.c (redisplay_internal): Call the hooks on
10195 'window-size-change-functions' if the call to 'echo_area_display'
10196 sets the frame's 'window_sizes_changed' flag.
10197 (syms_of_xdisp) <window-size-change-functions>:
10198 Update doc string to indicate the mini-window resizes trigger a
10199 call to the hooks, and don't promise that will happen "before
10200 redisplay". (Bug#19576, Bug#21333)
10201
10202 * doc/lispref/windows.texi (Window Hooks): Update the description
10203 of 'window-size-change-functions'.
10204
10205 2015-11-21 Eli Zaretskii <eliz@gnu.org>
10206
10207 Improve documentation of dynamic modules
10208
10209 * src/fns.c (Frequire): Doc fix to include the dynamic module
10210 support.
10211 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
10212 dynamic module support.
10213 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
10214 wrt the MUST-SUFFIX argument.
10215
10216 * etc/NEWS: Expand documentation of dynamically loaded modules.
10217
10218 2015-11-21 Philipp Stephani <phst@google.com> (tiny change)
10219
10220 Initial documentation for dynamic modules
10221
10222 * etc/NEWS: Mention the new support for dynamically loaded modules.
10223
10224 2015-11-20 Dmitry Gutov <dgutov@yandex.ru>
10225
10226 Add xref--etags-backend to xref-backing-functions using add-hook
10227
10228 * lisp/progmodes/xref.el (xref-backend-functions): Move the
10229 default value into a separate `add-hook' call (bug#21964).
10230
10231 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
10232 Don't declare the xref-backend-functions variable.
10233 It doesn't make any difference.
10234
10235 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10236
10237 Fix double-decrement bug when freeing global refs
10238
10239 * src/emacs-module.c (module_free_global_ref): Add a FIXME
10240 comment about error reporting. Fix a recently-introduced typo
10241 that double-decremented the refcount.
10242
10243 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10244
10245 Declare emacs_module_init in the module API
10246
10247 * src/emacs-module.h (emacs_module_init): New decl.
10248 Without it, GCC might complain about a module that defines
10249 emacs_module_init without using it. This also checks the
10250 API better.
10251
10252 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10253
10254 Fix module test to use ptrdiff_t nargs too
10255
10256 * modules/mod-test/mod-test.c (Fmod_test_return_t)
10257 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
10258 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
10259 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
10260 (Fmod_test_userptr_get, Fmod_test_vector_fill)
10261 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
10262 (finalizer): Remove; no longer used.
10263
10264 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10265
10266 Fix reindent-introduced typo in module code
10267
10268 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
10269 introduced while reindenting the code earlier, and add a
10270 comment explaining the unusual use of do-while here.
10271
10272 2015-11-20 Anders Lindgren <andlind@gmail.com>
10273
10274 Fixed bug#19576: `write-file' saves wrong buffer.
10275
10276 If a function on the hook `window-size-change-functions' doesn't
10277 restore the current buffer, functions that save and restore the
10278 current window configuration (like `y-or-no-p') could silently
10279 change the current buffer. When `write-file' asked the user
10280 confirmation to overwrite a file, `y-or-no-p' changed the current
10281 buffer, and the wrong buffer was saved to the file.
10282
10283 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
10284 using the `norecord' parameter.
10285 (follow-window-size-change): Restore current buffer. Call
10286 `select-frame' using the `norecord' parameter. Cleanup.
10287
10288 2015-11-20 John Wiegley <johnw@newartisans.com>
10289
10290 Correct a documentation error in frames.texi
10291
10292 2015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
10293
10294 * lisp/cedet/mode-local.el: Delete obsolete comment
10295
10296 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10297
10298 Module function arg counts are ptrdiff_t, not int
10299
10300 * src/emacs-module.c (struct module_fun_env)
10301 (module_make_function, module_funcall, Fmodule_call):
10302 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
10303 Use ptrdiff_t, not int, for arg counts.
10304 * src/emacs-module.c (module_make_function): Don’t bother
10305 checking arity against MOST_POSITIVE_FIXNUM, as that’s
10306 unnecessary here. Make the checking clearer by negating it.
10307 (module_make_function, Fmodule_call): No need to use xzalloc
10308 since the storage doesn’t need to be cleared.
10309 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
10310 for it, and many implementations are buggy with large VLAs anyway.
10311 Use SAFE_ALLOCA_LISP instead.
10312 (module_vec_set): Don’t crash if i < 0.
10313 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
10314 (module_vec_set, module_vec_get): Do fixnum checks only when
10315 i is out of array bounds, for efficiency in the usual case.
10316 (Fmodule_load): Simplify fixnum range check.
10317 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
10318 integer overflow in array allocation size.
10319
10320 2015-11-20 Eli Zaretskii <eliz@gnu.org>
10321
10322 Minor improvements in module test
10323
10324 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
10325 about missing prototype of malloc.
10326 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
10327 compiler warnings.
10328
10329 2015-11-20 Eli Zaretskii <eliz@gnu.org>
10330
10331 Improve MS-Windows implementation in dynlib.c
10332
10333 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
10334 No need to include windows.h, as w32.h already does that.
10335 <dynlib_last_err>: New static variable.
10336 (dynlib_reset_last_error): New function.
10337 (dynlib_open): Convert forward slashes to backslashes. Convert
10338 file names from UTF-8 to either UTF-16 or the current ANSI
10339 codepage, and call either LoadLibraryW or LoadLibraryA. If the
10340 argument is NULL, return a handle to the main module, like
10341 'dlopen' does. Record the error, if any, for use by dynlib_error.
10342 (dynlib_sym): Check the handle for validity. Record the error, if
10343 any, for use by dynlib_error.
10344 (dynlib_error): Call w32_strerror to produce the error string, and
10345 zero out the last error code, like dlerror does.
10346 (dynlib_close): Check the handle for validity. Record the error,
10347 if any, for use by dynlib_error. Don't call FreeLibrary with a
10348 handle for the main module.
10349 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
10350
10351 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10352
10353 Include-file tweaks for modules
10354
10355 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
10356 * src/dynlib.h: Do not include config.h.
10357 It’s every .c file’s responsibility to include config.h first.
10358 * src/emacs-module.c: Include emacs-module.h immediately after
10359 config.h, to test that emacs-module.h doesn’t depend on
10360 include files other than config.h.
10361
10362 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10363
10364 Simplify push_handler and profile its malloc
10365
10366 * src/lisp.h (PUSH_HANDLER): Remove.
10367 All callers changed to use push_handler directly.
10368 * src/eval.c (internal_condition_case)
10369 (internal_condition_case_1, internal_condition_case_2)
10370 (internal_condition_case_n):
10371 Use same pattern as for other invokers of push_handler.
10372 (push_handler, push_handler_nosignal): Use call-by-value
10373 instead of call-by-reference. All uses changed.
10374 (push_handler): Simplify by rewriting in terms of
10375 push_handler_nosignal.
10376 (push_handler_nosignal): Profile any newly allocated memory.
10377
10378 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10379
10380 * src/emacs-module.h: Include stddef.h, not stdlib.h.
10381
10382 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
10383
10384 Discover repository version in linked worktrees (bug#21930)
10385
10386 * lisp/version.el (emacs-repository--version-git-1): Do not assume
10387 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
10388 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
10389 is nil too.
10390
10391 2015-11-19 Juri Linkov <juri@linkov.net>
10392
10393 * lisp/replace.el (occur-regexp-descr): New function.
10394 (occur-1, occur-engine): Use it.
10395
10396 * lisp/isearch.el (isearch-occur): Propertize regexp with
10397 isearch-string and isearch-regexp-function-descr for
10398 occur-regexp-descr to display the correct description
10399 message in the header (bug#21176, bug#21180).
10400
10401 2015-11-19 Karl Fogel <kfogel@red-bean.com>
10402
10403 Revert `open-line' electric-indent sensitivity
10404
10405 * lisp/simple.el (open-line): Remove electric indent code.
10406 (electric-indent-just-newline): Don't declare.
10407
10408 * test/automated/simple-test.el (open-line-indent): Adjust test.
10409
10410 This partly reverts Artur Malabarba's change that added electric
10411 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
10412 commit bd4f04f86), and adjusts a new test he added right afterwards
10413 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
10414 However, the new INTERACTIVE argument to `open-line', which he also
10415 added in the first commit, is not reverted here.
10416
10417 See the thread "Questioning the new behavior of `open-line'." on the
10418 Emacs Devel mailing list, and in particular this message:
10419
10420 From: Artur Malabarba
10421 Subject: Re: Questioning the new behavior of `open-line'.
10422 To: Karl Fogel
10423 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
10424 Date: Wed, 18 Nov 2015 21:03:58 +0000
10425 Message-ID: \
10426 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
10427
10428 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
10429
10430 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10431
10432 Omit unnecessary clear in Fmodule_load
10433
10434 * src/emacs-module.c (Fmodule_load):
10435 Simplify and avoid unnecessary initialization of priv member to 0.
10436
10437 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
10438
10439 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10440
10441 Prefer signed integer types in module code
10442
10443 Generally speaking, at the C level the Emacs source code prefers
10444 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
10445 partly to avoid the usual signedness confusion when comparing values.
10446 Change the module API to follow this convention.
10447 Use ‘int’ for small values that can’t exceed INT_MAX.
10448 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
10449 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
10450 (Fmod_test_vector_eq):
10451 * src/emacs-module.c (struct emacs_value_frame)
10452 (module_make_global_ref, module_free_global_ref)
10453 (module_copy_string_contents, module_make_string)
10454 (module_vec_set, module_vec_get, module_vec_size):
10455 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
10456 * src/lread.c (suffix_p):
10457 Prefer signed to unsigned integer types.
10458
10459 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10460
10461 Omit ‘const’ on locals
10462
10463 Remove ‘const’ qualifier from locals that were newly added.
10464 We don’t normally bother declaring locals with ‘const’ even
10465 though they are not modified, for the same reason we don’t
10466 bother declaring them with ‘register’ even though their
10467 addresses are not taken; the advantage in compile-time
10468 checking isn’t worth the loss of readability.
10469 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
10470 (Fmod_test_vector_fill, Fmod_test_vector_eq):
10471 * src/emacs-module.c (MODULE_SETJMP_1)
10472 (module_make_global_ref, module_free_global_ref)
10473 (module_non_local_exit_get, module_make_function)
10474 (module_extract_integer, module_extract_float)
10475 (module_get_user_ptr, module_set_user_ptr)
10476 (module_get_user_finalizer, module_set_user_finalizer)
10477 (module_vec_get, Fmodule_call)
10478 (module_non_local_exit_signal_1)
10479 (module_non_local_exit_throw_1, lisp_to_value)
10480 (finalize_storage, allocate_emacs_value, mark_modules)
10481 (module_handle_signal, module_handle_throw)
10482 (module_format_fun_env):
10483 * src/eval.c (push_handler, push_handler_nosignal)
10484 (init_handler):
10485 * src/lread.c (suffix_p):
10486 Omit unnecessary ‘const’.
10487
10488 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10489
10490 Prefer intmax_t to int64_t in module code
10491
10492 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
10493 * src/emacs-module.c (module_extract_integer)
10494 (module_make_integer):
10495 * src/emacs-module.h (struct emacs_env_25):
10496 Prefer intmax_t to int64_t. This doesn’t change the generated
10497 code on any of the machines Emacs currently ports to, but it’s
10498 at least in theory more future-proof as C99 doesn’t guarantee
10499 that int64_t exists.
10500
10501 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10502
10503 Rename module.c to emacs-module.c, etc.
10504
10505 * src/emacs-module.c: Rename from src/module.c.
10506 * src/emacs-module.h: Rename from src/module.h.
10507 All uses changed.
10508
10509 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10510
10511 Fix minor module problems found by static checking
10512
10513 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
10514 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
10515 * src/module.c (Fmodule_load): Fix pointer signedness bug.
10516 (Fmodule_call): Tell GCC that the default case is unreachable.
10517
10518 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10519
10520 Style fixes for indenting etc. in module code
10521
10522 This is mostly indenting and spacing changes. Also, remove
10523 some unnecessary static decls instead of bothering to reindent them.
10524 * src/module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
10525 as most other Emacs files do for this sort of thing.
10526
10527 2015-11-19 Eli Zaretskii <eliz@gnu.org>
10528
10529 Minor improvements in modules testing Makefile
10530
10531 * modules/mod-test/Makefile (EMACS, SO): New variables.
10532 (CFLAGS): When SO = dll, don't use -fPIC.
10533 (check): New target, runs the test.
10534
10535 2015-11-19 Eli Zaretskii <eliz@gnu.org>
10536
10537 * .gitignore: Add "*.dll".
10538
10539 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10540
10541 Migrate modules/.gitignore into .gitignore
10542
10543 * .gitignore: Add former contents of modules/.gitignore.
10544 * modules/.gitignore: Remove.
10545
10546 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10547
10548 Add copyright notices to module code
10549
10550 Put them in the usual format for GNU Emacs copyright notices.
10551
10552 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10553
10554 Rename emacs_module.h to module.h
10555
10556 * src/module.h: Rename from src/emacs_module.h.
10557 All uses changed.
10558
10559 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
10562
10563 * src/lread.c (Fload): Remove unused variable `size'
10564
10565 2015-11-19 Alan Mackenzie <acm@muc.de>
10566
10567 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
10568
10569 2015-11-18 Dmitry Gutov <dgutov@yandex.ru>
10570
10571 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
10572
10573 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
10574 vc-parent-buffer over log-view-mode fallback (bug#21955).
10575
10576 2015-11-18 Alan Mackenzie <acm@muc.de>
10577
10578 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
10579
10580 2015-11-18 Ken Brown <kbrown@cornell.edu>
10581
10582 * configure.ac (LIBMODULES): Don’t define on Cygwin
10583
10584 2015-11-18 Eli Zaretskii <eliz@gnu.org>
10585
10586 Fix MS-Windows build --with-modules
10587
10588 * src/module.c: Reformat copyright commentary.
10589 (module_vec_get): Use explicit cast to size_t to avoid compiler
10590 warning in 32-bit builds.
10591 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
10592 Compare thread IDs directly, as GetThreadId is not available
10593 before Windows Vista.
10594 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
10595 without using APIs and constants not available on XP and older
10596 systems. Obtain and store the thread ID as well.
10597
10598 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10599 Philipp Stephani <phst@google.com>
10600
10601 Add dynamic module test and helper script
10602
10603 Add 'modhelp.py' script (python2) to automate module testing and
10604 module generation.
10605
10606 To build and test all modules in the modules/ dir
10607 $ ./modhelp.py test
10608
10609 To generate a module from template code (good starting point)
10610 $ ./modhelp init mynewtestmodule
10611
10612 See the script -h option for more documentation.
10613
10614 * modules/modhelp.py: New module helper script.
10615 * modules/mod-test/Makefile: New file. Makefile for the test module.
10616 * modules/mod-test/mod-test.c: New file. Test module source file.
10617 * modules/mod-test/test.el: New file. ert test suite for the test module.
10618 * modules/.gitignore: New file. Local .gitignore file.
10619
10620 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10621
10622 Make 'Fload' look for modules
10623
10624 'Fload' can now load dynamic modules. This also makes 'require' work.
10625
10626 * src/lread.c:
10627 (suffix_p): New function.
10628 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
10629 with a module suffix.
10630 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
10631
10632 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10633 Philipp Stephani <phst@google.com>
10634
10635 Add dynamic module module support
10636
10637 * configure.ac: Add '--with-modules' option. Conditionally add
10638 dynlib.o and module.o to the list of objects. Add any system
10639 specific flags to the linker flags to support dynamic libraries.
10640 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
10641 attributes.
10642 * src/Makefile.in: Conditionally add module objects and linker flags.
10643 * src/alloc.c (garbage_collect_1): protect module local values from
10644 GC.
10645 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
10646 * src/emacs_module.h: New header file included by modules. Public
10647 module API.
10648 * src/module.c: New module implementation file.
10649
10650 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10651
10652 Add new User Pointer (User_Ptr) type
10653
10654 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
10655 (XUSER_PTR): New User_Ptr accessor.
10656 * src/alloc.c (make_user_ptr): New function.
10657 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
10658 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
10659 (Fuser-ptrp): New user pointer type predicate function.
10660 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
10661 subr.
10662 * src/print.c (print_object): Add printer for User_Ptr type.
10663
10664 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10665 Philipp Stephani <phst@google.com>
10666
10667 Add portable layer for dynamic loading
10668
10669 * src/dynlib.h: New file.
10670 * src/dynlib.c: New file.
10671
10672 2015-11-18 Philipp Stephani <phst@google.com>
10673
10674 Add catch-all & no-signal version of PUSH_HANDLER
10675
10676 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
10677 a new "catch-all" handler type.
10678
10679 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
10680 functions.
10681 * src/fns.c (hash_remove_from_table): Expose function public.
10682 * src/lisp.h: New handler type, define macro to push_handler call.
10683
10684 2015-11-18 Ken Brown <kbrown@cornell.edu>
10685
10686 Silence byte-compiler warning
10687
10688 * lisp/server.el (server-process-filter): Silence byte-compiler
10689 warning.
10690
10691 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
10692
10693 Quote symbols in docstrings using `'
10694
10695 Be more systematic about quoting symbols `like-this' rather than
10696 `like-this or 'like-this' in docstrings. This follows up Artur
10697 Malabarba's email in:
10698 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
10699
10700 2015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
10701
10702 Fix savegames in dunnet
10703
10704 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
10705 of separate implementation.
10706
10707 2015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
10708
10709 * lisp/emacs-lisp/package.el (package--with-response-buffer):
10710
10711 Ensure we're at the start of the buffer before searching for
10712 the end of headers.
10713
10714 2015-11-17 Xue Fuqiao <xfq.free@gmail.com>
10715
10716 * admin/release-process: Improve wording.
10717
10718 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
10719
10720 Fix docstring quoting problems with ‘ '’
10721
10722 Problem reported by Artur Malabarba in:
10723 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
10724 Most of these fixes are to documentation; many involve fixing
10725 longstanding quoting glitches that are independent of the
10726 recent substitute-command-keys changes. The changes to code are:
10727 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
10728 (describe-mode-local-overload):
10729 Substitute docstrings before displaying them.
10730 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
10731 Quote the generated docstring for later substitution.
10732
10733 2015-11-17 Eli Zaretskii <eliz@gnu.org>
10734
10735 Improve configure --help text for wide ints
10736
10737 * configure.ac (wide-int): Clarify user-level advantages and
10738 disadvantages.
10739
10740 2015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
10741
10742 Improve doc string
10743
10744 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
10745
10746 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
10747
10748 eval_sub followed dangling pointer when debugging
10749
10750 Problem reported by Pip Cet (Bug#21245).
10751 This bug could occur in eval_sub if the C compiler reused
10752 storage associated with the ‘argvals’ local after ‘argvals’
10753 went out of scope, and if the Elisp debugger stopped on Elisp
10754 function exit and accessed ‘argvals’. It could also occur if
10755 a variadic function was called with so many arguments (over
10756 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
10757 SAFE_FREE freed the arguments, then the memory manager used
10758 the storage for other purposes, then the debugger accessed the
10759 arguments.
10760 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
10761 function body. Simplify local decls.
10762 When allocating args via SAFE_ALLOCA, call
10763 debugger before invoking SAFE_FREE, as the debugger needs
10764 access to the args.
10765 (eval_sub, apply_lambda): Rework to avoid need for
10766 set_backtrace_debug_on_exit hack. This is cleaner,
10767 and should work better with buggy custom debuggers.
10768
10769 2015-11-16 Daiki Ueno <ueno@gnu.org>
10770
10771 * lisp/image-mode.el: Support encrypted file
10772
10773 (image-toggle-display-image): Read content from the buffer instead
10774 of the file, if the buffer holds a decrypted data. (Bug#21870)
10775
10776 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
10777
10778 ELF unexec: align section header
10779
10780 This ports the recent unexelf.c changes to Fedora x86-64
10781 when configured with GCC’s -fsanitize=undefined option.
10782 * src/unexelf.c (unexec): Align new_data2_size to a multiple
10783 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
10784 pointer aligned appropriately for its type.
10785
10786 2015-11-16 Andreas Schwab <schwab@linux-m68k.org>
10787
10788 Do more checks on bytecode objects (Bug#21929)
10789
10790 * src/eval.c (funcall_lambda): Check size of compiled function
10791 object.
10792 (Ffetch_bytecode): Likewise.
10793
10794 2015-11-16 Johan Bockgård <bojohan@gnu.org>
10795
10796 pcase.el: Fix edebugging of backquoted cons patterns
10797
10798 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
10799 cons patterns. (Bug#21920)
10800
10801 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
10802
10803 Improve fix for regex reentrancy abort
10804
10805 Suggested by Stefan Monnier (Bug#21688).
10806 * src/syntax.c (update_syntax_table_forward):
10807 Remove recently-added PROPERTIZE arg, and assume it is true.
10808 All callers changed.
10809 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
10810 Invoke update_syntax_table directly.
10811
10812 2015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
10813
10814 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
10815
10816 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
10817
10818 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
10819
10820 2015-11-15 Vasily Korytov <vasily.korytov@yahoo.com>
10821
10822 Recognize .rbw and .pyw files (bug#18753)
10823
10824 * lisp/progmodes/python.el (auto-mode-alist):
10825 Recognize .pyw files.
10826
10827 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
10828 Recognize .rbw files.
10829
10830 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
10831
10832 Fix ruby-mode auto-mode-alist entry
10833
10834 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
10835 around the extensions (bug#21257).
10836
10837 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
10838
10839 Fix etags completion near eob
10840
10841 * lisp/progmodes/etags.el (tags-completion-at-point-function):
10842 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
10843
10844 2015-11-15 Alan Mackenzie <acm@muc.de>
10845
10846 De-pessimize detection of C++ member initialization lists.
10847
10848 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
10849 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
10850 is only called when a construct "looks right" rather than continually.
10851 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
10852
10853 2015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
10854
10855 Improve a few doc strings, comments
10856
10857 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
10858 * lisp/cedet/ede/locate.el (ede-locate-base):
10859 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
10860 * src/fns.c (Fdelq): Improve doc string.
10861
10862 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
10863
10864 2015-11-15 Anders Lindgren <andlind@gmail.com>
10865
10866 Enhance NSTRACE (trace output for NextStep).
10867
10868 Trace can be disabled for groups of functions. By default, event
10869 functions and functions that generate lots of output are disabled.
10870
10871 Trace output of Objective-C functions now use the "[ClassName
10872 parameter:]" form.
10873
10874 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
10875 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
10876 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
10877 controlling in which function groups trace should be active.
10878 (NSTRACE_WHEN): Support for silencing a function, this also
10879 silencing all called functions.
10880 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
10881 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
10882 print the full screen state in NSTRACE functions.
10883
10884 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
10885 can be accessed from multiple threads.
10886 (nstrace_enabled_global): New variable, when FALSE, trace is
10887 silenced.
10888 (nstrace_restore_global_trace_state): New function, used to
10889 restore `nstrace_enabled_global' at end of block.
10890 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
10891 ([EmacsWindow setFrame:display:animation:])
10892 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
10893 and call corresponding super function.
10894 (Many functions): Add or enhance trace output.
10895
10896 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
10897
10898 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
10899
10900 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
10901 and call corresponding super function.
10902
10903 2015-11-15 Anders Lindgren <andlind@gmail.com>
10904
10905 Fixed a toolbar related issue on OS X.
10906
10907 Earlier, when toggling the tool-bar in a maximized frame, the
10908 frame size didn't match the number of text lines, leaving an
10909 unused area at the bottom of the frame.
10910
10911 * nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
10912 fullscreen modes when tool bar is disabled.
10913
10914 2015-11-15 Anders Lindgren <andlind@gmail.com>
10915
10916 Fixed OS X 10.6.8 build issue (bug#21862).
10917
10918 * src/nsterm.h (EmacsView): Add missing declarations.
10919 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
10920 the standard method but without the notification parameter.
10921 Intended to be used for direct calls.
10922 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
10923 version of `windowDidBecomeKey'. Made the notification method call
10924 the non-notification method instead of the vice versa.
10925 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
10926 needed.
10927
10928 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
10929
10930 * lisp/faces.el (faces--attribute-at-point): Fix an issue
10931
10932 Previous code would signal an error when the face at point was
10933 a manually built list of attributes such as '(:foregroud "white").
10934
10935 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
10936
10937 2015-11-15 Paul Eggert <eggert@cs.ucla.edu>
10938
10939 Fix regex abort when it tries to reenter itself
10940
10941 Problem reported by Ken Raeburn.
10942 Solution suggested by Stefan Monnier (Bug#21688).
10943 * src/regex.c (re_match_2_internal):
10944 Use new _FAST functions to avoid regex code reentering itself.
10945 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
10946 All callers changed.
10947 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
10948 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
10949
10950 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
10951
10952 Improve Ruby 1.9-style keyword keys highlighting
10953
10954 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
10955 Handle required keyword arguments (bug#21367).
10956 And highlight the colon together with the name.
10957
10958 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
10959
10960 Unify the absolutely equal xref-backend-references implementations
10961
10962 * lisp/progmodes/elisp-mode.el (xref-backend-references):
10963 Remove.
10964
10965 * lisp/progmodes/etags.el (xref-backend-references):
10966 Remove.
10967
10968 * lisp/progmodes/xref.el (xref-backend-references):
10969 Define the default implementation.
10970
10971 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
10972
10973 Update project-find-regexp for the new xref API
10974
10975 * lisp/progmodes/project.el (project--read-regexp):
10976 Update to use the new xref API methods.
10977
10978 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
10979
10980 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
10981
10982 Fix replacing a match with a shorter string
10983
10984 In effect, partially reverting fe973fc.
10985
10986 * lisp/progmodes/xref.el (xref-query-replace): Store the end
10987 of each match as a marker again, instead of length.
10988 (xref--query-replace-1): Update accordingly.
10989
10990 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
10991
10992 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
10993
10994 Signal user-errors instead.
10995
10996 2015-11-14 Eli Zaretskii <eliz@gnu.org>
10997
10998 Document 'describe-symbol'
10999
11000 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
11001 (Name Help): Document "C-h o" and describe-symbol.
11002
11003 * lisp/help-fns.el (describe-symbol): Doc fix.
11004
11005 2015-11-14 Paul Eggert <eggert@cs.ucla.edu>
11006
11007 Change test name to avoid spellcheck issue.
11008
11009 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11010
11011 Avoid signaling an error in 'describe-symbol'
11012
11013 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
11014 exists as a function/variable/face/etc., but is undocumented.
11015
11016 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
11017 test.
11018
11019 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11020
11021 * INSTALL (--with-cairo): Document this new configure option.
11022
11023 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11024
11025 Document that GNU Make >= 3.81 is required to build Emacs
11026
11027 * doc/lispref/internals.texi (Building Emacs): Document that GNU
11028 Make 3.81 or later is now required.
11029
11030 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11031
11032 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
11033
11034 2015-11-13 l3thal <kwhite@gnu.org>
11035
11036 Merge branch 'erc-async-reconnect' into emacs-25
11037
11038 Reconnect asynchronously.
11039
11040 2015-11-11 Alan Mackenzie <acm@muc.de>
11041
11042 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
11043
11044 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
11045 Windows" and new @defun selected-window-group.
11046 (Window Start and End): Describe new &optional parameter GROUP and
11047 ...-group-function for window-start, window-end, set-window-start, and
11048 pos-visible-in-window-p.
11049 (Textual Scrolling) Describe the same for recenter.
11050 doc/lispref/positions.texi (Screen Lines): Describe the same for
11051 move-to-window-line.
11052
11053 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
11054 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
11055 new optional parameter "group". At the beginning of each, check whether the
11056 corresponding ...-group-function is set to a function, and if so execute this
11057 function in place of the normal processing.
11058 (syms_of_window): Define symbols for the six new variables below.
11059 (window-start-group-function, window-end-group-function)
11060 (set-window-start-group-function, recenter-group-function)
11061 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
11062 New permanent local buffer local variables.
11063 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
11064 Fpos_visible_in_window_p.
11065
11066 lisp/window.el (selected-window-group-function): New permanent local buffer
11067 local variable.
11068 (selected-window-group): New function.
11069
11070 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
11071 enable, kill them at mode disable. Add/remove follow-after-change to/from
11072 after-change-functions.
11073 (follow-start-end-invalid): New variable.
11074 (follow-redisplay): Manipulate follow-start-end-invalid.
11075 (follow-after-change, follow-window-start, follow-window-end)
11076 (follow-set-window-start, follow-pos-visible-in-window-p)
11077 (follow-move-to-window-line, follow-sit-for): New functions.
11078
11079 lisp/isearch.el (isearch-call-message): New macro.
11080 (isearch-update, with-isearch-suspended, isearch-del-char)
11081 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
11082 (with-isearch-suspended): Rearrange code such that isearch-call-message is
11083 invoked before point is moved.
11084 (isearch-message): Add comment about where point must be at function call.
11085 (isearch-search): Remove call to isearch-message.
11086 (isearch-lazy-highlight-window-group): New variable.
11087 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
11088 the battery of tests to ...
11089 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
11090 Note: (sit-for 0) is still called.
11091 (isearch-lazy-highlight-update): Check membership of
11092 isearch-lazy-highlight-window-group. Don't set the `window' overlay
11093 property.
11094 (isearch-update, isearch-done, isearch-string-out-of-window)
11095 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
11096 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
11097 (isearch-lazy-highlight-update): Call the six amended primitives (see
11098 src/window.c above) with the new `group' argument set to t, to cooperate
11099 with Follow Mode.
11100
11101 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11102
11103 * shr.el (shr-descend): Allow using lambdas in external functions.
11104
11105 2015-12-25 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * admin/gitmerge.el: Tweaks that seemed necessary
11108
11109 * admin/gitmerge.el (gitmerge-skip-regexp): Remove "sync".
11110 (gitmerge-maybe-resume): Provide explicit empty commit message.
11111
11112 2015-12-25 Łukasz Stelmach <stlman@poczta.fm> (tiny change)
11113
11114 Use a different port for TLS erc
11115
11116 * lisp/erc/erc.el (erc-default-port-tls): New variable
11117 (bug#19497).
11118 * lisp/erc/erc.el (erc-tls): Use it.
11119
11120 2015-12-25 Alain Schneble <a.s@realize.ch>
11121
11122 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
11123
11124 * test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
11125 * test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
11126 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
11127 information in URL-struct.
11128 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
11129 path and query into nil path and query, respectively.
11130 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
11131 empty path into an absolute ("/") path.
11132 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
11133 fragment-only URIs. Do not just return them unchanged.
11134 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
11135 reference URI should not drop the last segment.
11136
11137 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11138
11139 Let url use default file modes when copying files
11140
11141 * lisp/url/url-handlers.el (url-copy-file): Use default file
11142 modes when copying files (bug#11400).
11143
11144 2015-12-25 Devon Sean McCullough <Emacs-Hacker2012@jovi.net>
11145
11146 Doc fix for url-http
11147
11148 * lisp/url/url-http.el (url-http): Document better return values
11149 (bug#13187) (tiny change)
11150
11151 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11152
11153 * eww.el (eww-display-html): Support <button> tags (bug#20485).
11154
11155 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11156
11157 Made ffap-url-p a defun instead of a defsubst
11158
11159 * lisp/ffap.el (ffap-url-p): Change from defsusbt to defun,
11160 since there doesn't seem to be much of a reason for it to be a
11161 defsubst (bug#18203).
11162
11163 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11164
11165 Add a command to view files in the browser to dired
11166
11167 * lisp/dired.el (dired-mode-map): Add the `W' command
11168 (bug#18810).
11169
11170 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11171
11172 Allow http://user:pass@foo/ URLs again
11173
11174 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
11175 user/passwords in URLs (bug#19046).
11176
11177 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11178
11179 * eww.el (eww-mode-map): Fix command name of eww-toggle-colors.
11180
11181 2015-12-25 Samer Masterson <samer@samertm.com>
11182
11183 Autoload url-insert-buffer-contents
11184
11185 * lisp/url/url-handlers.el: Add autoload cookie so that
11186 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
11187
11188 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11189
11190 Allow toggling colors in eww
11191
11192 * doc/misc/eww.texi (Basics): Mention "C".
11193
11194 * lisp/net/eww.el (eww-toggle-colors): New command and keystroke.
11195
11196 * lisp/net/shr.el (shr-use-colors): New variable.
11197 (shr-colorize-region): Use it.
11198
11199 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11200
11201 Follow meta refresh tags in eww
11202
11203 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
11204
11205 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11206
11207 More eww file name coding fixes
11208
11209 * eww.el (eww-decode-url-file-name): Use the base coding
11210 system to check for encodability.
11211
11212 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11213
11214 Always save eww history
11215
11216 * eww.el (eww-setup-buffer): Always save history, even when
11217 called from outside the eww buffer (bug#19638).
11218
11219 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11220
11221 Default web pages to right-to-left
11222
11223 * eww.el (eww-mode): Most web pages are left-to-right, so make
11224 that the default (bug#19801).
11225
11226 * shr.el (shr-tag-html): Respect "dir" attributes
11227 (left-to-right, right-to-left).
11228
11229 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11230
11231 Make toggling checkboxes work again
11232
11233 * eww.el (eww-update-field): Make toggling checkboxes work
11234 again (bug#21881).
11235
11236 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11237
11238 Don't store cookies with empty names
11239
11240 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
11241 cookies with empty names (bug#21936).
11242
11243 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11244
11245 * shr.el (shr-descend): Stop rendering before we run out of
11246 specpdl room (bug#22117).
11247
11248 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11249
11250 Use cl-reduce, not reduce.
11251
11252 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11253
11254 Allow several <tbody> tags in shr
11255
11256 * shr.el (shr-table-body): New function to find the real body
11257 of a table.
11258 (shr-tag-table): Use it to render several <tbody> tags in a
11259 table (bug#22170).
11260
11261 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11262
11263 Make prettier unique file names in eww
11264
11265 (eww-make-unique-file-name): Make unique file names by making
11266 files like foo(2).jpg instead of foo(1)(2).jpg.
11267
11268 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11269
11270 Decode hex-encoded URLs before using them as file names
11271
11272 * eww.el (eww-decode-url-file-name): New function.
11273 (eww-download-callback): Use it to decode file names before
11274 saving them.
11275
11276 2015-12-24 Ashish SHUKLA <ashish.is@lostca.se> (tiny change)
11277
11278 * doc/misc/emacs-gnutls.texi (Help For Users): Document FreeBSD bundle.
11279 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
11280
11281 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11282
11283 Allow overriding shr functions from eww
11284
11285 * eww.el (eww-display-html): Allow overriding elements in
11286 `shr-external-rendering-functions'.
11287
11288 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11289
11290 Ignore invalid SVG images
11291
11292 * shr.el (shr-tag-svg): Ignore SVG images that have no width
11293 or height, because these can't be displayed by ImageMagick,
11294 anyway.
11295
11296 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11297
11298 shr table rendering fix
11299
11300 * shr.el (shr-tag-table): Allow rendering body-less tables
11301 that have headers.
11302
11303 2015-12-22 Sam Steingold <sds@gnu.org>
11304
11305 clipboard should still work even if interprogram-* is disabled
11306
11307 (clipboard-yank): When `interprogram-cut-function' is nil,
11308 bind it to `gui-selection-value' - the default value.
11309 (clipboard-kill-region, clipboard-kill-ring-save): When
11310 `interprogram-paste-function' is nil, bind it to `gui-select-text' -
11311 the default value.
11312
11313 2015-12-18 Phillip Lord <phillip.lord@russet.org.uk>
11314
11315 Fix bootstrap issue with dired-loaddefs
11316
11317 * lisp/dired.el: Autoloads for secondary files loaded optionally.
11318
11319 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11320
11321 dired generate autoloads to non-versioned file.
11322
11323 * lisp/dired.el: Remove autoloads.
11324 * lisp/Makefile.in: Add dired to autogenel.
11325 * lisp/dired-aux.el,lisp/dired-x.el: Update file local.
11326 * test/lisp/dired-tests.el: Add new test.
11327
11328 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11329
11330 eieio generate autoloads to non-versioned file.
11331
11332 * lisp/Makefile.in: eieio-loaddefs add to autogenel.
11333 * lisp/emacs-lisp/eieio.el,lisp/emacs-lisp/eieio-core.el:
11334 Remove autoloads.
11335 * lisp/emacs-lisp/eieio-compat.el,lisp/emacs-lisp/eieio-custom.el,
11336 lisp/emacs-lisp/eieio-opt.el: Update file local.
11337 * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: New test.
11338
11339 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11340
11341 htmlfontify generate autoload to non-versioned file.
11342
11343 * lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel.
11344 * lisp/hfy-cmap.el: Update file local.
11345 * lisp/htmlfontify.el: Remove autoloads, add require.
11346 * test/lisp/htmlfontify-tests.el: Test autoload functionality.
11347
11348 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11349
11350 ibuffer generate autoloads to non-versioned file.
11351
11352 * lisp/Makefile.in: Add ibuffer-loaddefs to autogenel.
11353 * lisp/ibuf-ext.el: Update file local.
11354 * lisp/ibuffer.el: Remove autoloads and add a require.
11355 * test/lisp/ibuffer-tests.el: Test that autoload is working.
11356
11357 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11358
11359 rmail generate autoloads to non-versioned file.
11360
11361 * lisp/Makefile.in: Add rmail-loaddefs.el to autogenel.
11362 * lisp/mail/rmail.el: Remove autoloads, add require.
11363 * lisp/mail/rmailedit.el,lisp/mail/rmailkwd.el,
11364 lisp/mail/rmailmm.el,lisp/mail/rmailmsc.el,
11365 lisp/mail/rmailsort.el,lisp/mail/rmailsum.el,
11366 lisp/mail/undigest.el: Update file-local.
11367 * test/lisp/mail/rmail-tests.el:
11368
11369 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11370
11371 Add autoload-force target.
11372
11373 * lisp/Makefile.in (autoload-force): New target.
11374
11375 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11376
11377 ps-print generate autoloads to non versioned file.
11378
11379 * lisp/Makefile.in: Add ps-print-loaddefs.el to autogen list.
11380 * lisp/ps-print.el: Remove autoloads.
11381 * lisp/ps-mule.el: Update file-local.
11382 * test/lisp/ps-print-tests.el: Test autoload functionality.
11383
11384 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11385
11386 reftex generate autoloads to non versioned file.
11387
11388 * lisp/Makefile.in: Add reftex-loaddefs to autogen files
11389 * lisp/textmodes/reftex.el: Remove autoloads.
11390 * lisp/textmodes/reftex-auc.el,lisp/textmodes/reftex-cite.el,
11391 lisp/textmodes/reftex-dcr.el,lisp/textmodes/reftex-global.el,
11392 lisp/textmodes/reftex-index.el,lisp/textmodes/reftex-parse.el,
11393 lisp/textmodes/reftex-ref.el,lisp/textmodes/reftex-sel.el,
11394 lisp/textmodes/reftex-toc.el: Update autoload file-local.
11395 * test/lisp/textmodes/reftex-tests.el: Add test of an autoloaded
11396 function.
11397
11398 2015-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * lisp/calculator.el (calculator-define-key): Undo last change
11401
11402 Make map argument mandatory instead (bug#22106).
11403 (calculator-add-operators): Pass the argument that's not optional any more.
11404
11405 2015-12-03 Glenn Morris <rgm@gnu.org>
11406
11407 * Makefile.in: Avoid duplication.
11408
11409 (have-tests): New rule.
11410 (check, check-maybe): Use it.
11411
11412 2015-12-02 Phillip Lord <phillip.lord@russet.org.uk>
11413
11414 make check unconditional, check-maybe top-level.
11415
11416 * Makefile.in: Add check-maybe target.
11417 * test/Makefile.in: Restore unconditional behaviour to make check.
11418
11419 2015-12-01 Phillip Lord <phillip.lord@russet.org.uk>
11420
11421 Tests now support out-of-source-build.
11422
11423 * tests/Makefile.in,test/make-test-deps.emacs-lisp: Remove assumptions
11424 about current working directory.
11425
11426 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
11427
11428 * lisp/emacs-lisp/let-alist.el: Now an Elpa :core package
11429
11430 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11431
11432 Improve documentation and clean up.
11433
11434 * test/Makefile.in: Improve documentation, use EMACS variable
11435 correctly, and clean up makefile rules.
11436
11437 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11438
11439 Update file headers for name change.
11440
11441 * (test/src/decompress-tests.el, test/src/alloc-tests.el): Update headers.
11442
11443 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11444
11445 Test files renamed to new scheme.
11446
11447 * (finalizer-tests.el): Now renamed alloc-tests.el
11448 * (zlib-tests.el): Now renamed decompress-tests.el.
11449
11450 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11451
11452 Tests now depend on source files
11453
11454 * test/Makefile.in: Include dependences from tests to source files.
11455 * test/make-test-deps.emacs-lisp: New file
11456 * .gitignore: Ignore generated make include file
11457
11458 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * lisp/progmodes/which-func.el: Improve disabling the mode
11461
11462 Use lexical-binding.
11463 (which-func-modes, which-func-non-auto-modes, which-func-maxout)
11464 (which-func, which-func-format): Remove redundant :group arg.
11465 (which-func-try-to-enable): New function.
11466 (which-func-ff-hook, which-function-mode): Use it.
11467 (mode-line-misc-info): Add ourselves here instead of in bindings.el.
11468 * lisp/bindings.el (mode-line-misc-info): Remove which-func-mode entry.
11469
11470 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * lisp/calculator.el (calculator-define-key): Silence warning
11473
11474 ...about unknown calculator-mode-map.
11475
11476 2015-11-29 Eli Barzilay <eli@barzilay.org>
11477
11478 * lisp/calculator.el: more improvements and bugfixes.
11479
11480 - Mark `calculator-paste-decimals' as obsolete. (It wasn't having an
11481 effect anyway.)
11482
11483 - Simplify `calculator-number-to-string' by throwing most of the work
11484 onto `number-to-string', leaving just some tweaks for decimal inputs.
11485 This leads to some minor changes, for example, pasting "1x1" in hex
11486 mode would warn that "x" is ignored and result in "11" (and it wasn't
11487 done in decimal mode), whereas now it just ignores everything from the
11488 "x" and on and result in a "1" just like in decimal input mode. Also,
11489 overflows are left for `number-to-string' to deal with.
11490
11491 - `calculator-paste' is very simple as a result.
11492
11493 - Extend the simplified `calculator-paste': with a prefix argument it
11494 pastes a string as if the characters were entered. This can be used
11495 to reduce expressions, but note that it's a simple literal operation,
11496 so precedence can be messed, a number can be paster while entering a
11497 number, spaces and newlines matter, etc.
11498
11499 - Fix a minor bug where "e+" in hex mode wouldn't use "+" as an
11500 operator.
11501
11502 - Fix a bug in `calculator-put-value': avoid grouping in the display
11503 that is used to construct `calculator-curnum'. This would trigger
11504 when pasting or getting a value from a register in some radix mode
11505 with a large enough value. Another fix: make the output radix equal
11506 the input one, otherwise numbers could be converted twice.
11507
11508 2015-11-29 Eli Barzilay <eli@barzilay.org>
11509
11510 * lisp/calculator.el: Re-do key bindings.
11511
11512 Use a helper function that arranges a parent keymap that binds alternate
11513 case keys so if some letter key is unbound and it's un/shifted version
11514 is, it will get used. This makes the global-map trickery unnecessary.
11515
11516 Also switch to passing strings that name keys through `kbd'.
11517
11518 2015-11-29 Eli Barzilay <eli@barzilay.org>
11519
11520 * lisp/calculator.el: improve radix modes
11521
11522 Fix prompt for some input radix with decimal output (eg, "BD" instead of
11523 the incorrect "B="); also, some minor docstring tweaks for these.
11524
11525 2015-11-29 Eli Barzilay <eli@barzilay.org>
11526
11527 * lisp/calculator.el: better reading of register names
11528
11529 Use `register-read-with-preview' with a dynamically bound
11530 `register-alist' and a proper preview function to read register names.
11531
11532 2015-11-29 Eli Barzilay <eli@barzilay.org>
11533
11534 * lisp/calculator.el: General improvements
11535
11536 Use things like `when', `unless', and `push'.
11537
11538 Improve `calculator-last-input' so it doesn't barf when hitting `F1' in
11539 non-electric mode.
11540
11541 2015-11-28 Michael Albinus <michael.albinus@gmx.de>
11542
11543 Fix a problem with gfilenotify in filenotify-tests.el
11544
11545 * test/lisp/filenotify-tests.el
11546 (file-notify--test-expected-events): Remove.
11547 (file-notify--test-cleanup): Do not set that variable.
11548 (file-notify--test-with-events): EVENTS can also be a list of lists.
11549 (file-notify-test02-events, file-notify-test04-file-validity):
11550 Adapt expected result.
11551
11552 2015-11-28 Eli Zaretskii <eliz@gnu.org>
11553
11554 * .gitignore: Adjust to changes in 'test' directory structure.
11555
11556 2015-11-28 Eli Zaretskii <eliz@gnu.org>
11557
11558 Fix test/manual/etags/Makefile
11559
11560 * test/manual/etags/Makefile (ETAGS_PROG, CTAGS_PROG): Adjust to
11561 changes in 'test' directory structure.
11562
11563 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
11564
11565 Exclude resource dirs from search for tests.
11566
11567 * test/Makefile.in: Test file locations are now found with find
11568 rather than using finds native functions.
11569
11570 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
11571
11572 Add test targets without directory names.
11573
11574 * (test/Makefile.in): Extend test_template to add two targets for each
11575 file.
11576
11577 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
11578
11579 * lisp/emacs-lisp/package.el: Require url-handlers
11580
11581 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
11582
11583 Move elisp-mode-tests to new function names.
11584
11585 * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
11586 find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.
11587
11588 2015-11-27 Juanma Barranquero <lekktu@gmail.com>
11589
11590 * lisp/emacs-lisp/package.el: Declare `url-insert-buffer-contents'
11591
11592 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
11593
11594 Merge branch 'feature/standard-test-location'
11595
11596 2015-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * lisp/emacs-lisp/eieio.el: Add some default implementations
11599
11600 (standard-class): Mark it obsolete.
11601 (slot-missing): Give it a default implementation.
11602 (destructor): Simplify and mark it obsolete.
11603 (object-print): Give it a default implementation.
11604 (eieio-change-class): Rename from change-class.
11605 (change-class): Redefine as obsolete alias.
11606
11607 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11608
11609 Some final fixes in file notification before merging with master
11610
11611 * lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
11612 (file-notify-callback): Improve check for `stopped' event. Call
11613 `file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
11614 (file-notify-add-watch): In case FILE is not a directory, call the
11615 file monitor for the kqueue backend. Otherwise, call the
11616 directory monitor for the upper directory.
11617
11618 * src/inotify.c (inotifyevent_to_event): Extract file name from
11619 watch_object if the event doesn't provide it.
11620 (Finotify_add_watch): Add file name to watch_object.
11621
11622 * test/automated/file-notify-tests.el (file-notify--test-timeout):
11623 Use different timeouts for different libraries.
11624 (file-notify--test-with-events): Suppress lock files. Flush
11625 outstanding events before running the body.
11626 (file-notify-test02-events, file-notify-test04-file-validity): Do
11627 not skip cygwin tests. Add additional test for file creation.
11628 Adapt expected result for different backends.
11629 (file-notify-test03-autorevert): Some of the tests don't work for
11630 w32notify.
11631 (file-notify-test06-many-events): Rename into both directions.
11632
11633 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11634
11635 Rework file notifications, kqueue has problems with directory monitors
11636
11637 * lisp/filenotify.el (file-notify-add-watch): Call the native
11638 add-watch function on the file, not on the dir.
11639
11640 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
11641 about already deleted entries.
11642
11643 * test/automated/auto-revert-tests.el
11644 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
11645 since this deletes the target file first.
11646
11647 * test/automated/file-notify-tests.el (file-notify--test-event-test):
11648 Make stronger checks.
11649 (file-notify-test01-add-watch, file-notify-test02-events)
11650 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
11651 Rewrite in order to call file monitors but directory monitors.
11652 (file-notify-test06-many-events): Ler rename work in both directions.
11653
11654 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11655
11656 Continue with pending events
11657
11658 * src/kqueue.c (pending_events): Remove global variable.
11659 (kqueue_compare_dir_list): Create `write' event for not used
11660 pending events.
11661 (globals_of_kqueue): Remove initialization of pending_events.
11662
11663 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11664
11665 Improve loops in file-notify-test06-many-events
11666
11667 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
11668 Use `read-event' pauses for the `write-file' loops; otherwise
11669 events are lost in inotify and gfilenotify cases.
11670
11671 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11672
11673 Handle more complex rename operation in kqueue
11674
11675 * src/kqueue.c (pending_events): New variable.
11676 (kqueue_compare_dir_list): Handle more complex rename operation.
11677 (globals_of_kqueue): Initialize pending_events.
11678
11679 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
11680 Adapt expected events in the `rename-file' case.
11681 (file-notify-test06-many-events-remote): Declare.
11682
11683 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
11684
11685 New test with a larger number of events
11686
11687 * test/automated/file-notify-tests.el (file-notify--test-with-events):
11688 Make timeout heuristically depend on the number of events.
11689
11690 (file-notify-test06-many-events): Use it for new test.
11691
11692 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11693
11694 Further fixes for kqueue
11695
11696 * lisp/filenotify.el (file-notify-callback): Raise also event if
11697 directory name matches.
11698 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
11699
11700 * src/kqueue.c (kqueue_generate_event): Use watch_object as
11701 argument instead of ident. Remove callback argument. Adapt
11702 callees. Check actions whether they are monitored flags.
11703
11704 * test/automated/file-notify-tests.el (file-notify--test-library):
11705 New defun.
11706 (file-notify-test00-availability, file-notify-test02-events)
11707 (file-notify-test04-file-validity)
11708 (file-notify-test05-dir-validity): Use it.
11709 (file-notify-test02-events, file-notify-test04-file-validity): Add
11710 `read-event' calls between different file actions, in order to
11711 give the backends a chance to rais an event. Needed especially
11712 for kqueue. In case of deleting a directory, there are two
11713 `deleted' events.
11714
11715 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11716
11717 Code cleanup of kqueue.c
11718
11719 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
11720 (kqueue_compare_dir_list): Do not loop when calling
11721 directory_files_internal. Remove checks for "." and "..", this is
11722 done in kqueue_directory_listing now.
11723 (Fkqueue_add_watch): Check for proper emacs_open flags.
11724
11725 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11726
11727 Doc changes for kqueue
11728
11729 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
11730 Fix some glitches in the example.
11731
11732 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11733
11734 Finish implementation in kqueue.c
11735
11736 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
11737 Simplify access to list.
11738 (kqueue_compare_dir_list): Simplify access to list. Raise
11739 `delete' event if directory does not exist any longer. Otherwise,
11740 wait until directory contents has changed. Fix error in check.
11741
11742 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11743
11744 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
11745
11746 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11747
11748 More work on kqueue
11749
11750 * lisp/filenotify.el (file-notify-callback): Handle also the
11751 `rename' event from kqueue.
11752 (file-notify-add-watch): Do not register an entry twice.
11753
11754 * src/kqueue.c (kqueue_directory_listing): New function.
11755 (kqueue_generate_event): New argument FILE1. Adapt callees.
11756 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
11757
11758 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11759
11760 Implement directory events
11761
11762 * lisp/filenotify.el (file-notify-handle-event)
11763 (file-notify-callback): Remove traces.
11764
11765 * src/kqueue.c: Include <sys/time.h>.
11766 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
11767 (kqueue_callback): Use them. Call kevent() with a zero timeout.
11768 (Fkqueue_add_watch): Adapt docstring. Support directory events.
11769 Compute initial directory listing. Close file descriptor in case
11770 of errors.
11771 (syms_of_kqueue): Declare Qcreate.
11772
11773 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
11774
11775 Build fixes for kqueue support
11776
11777 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
11778 flag.
11779
11780 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
11781 kqueue on *BSD.
11782
11783 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11784
11785 Continue kqueue implementation
11786
11787 * lisp/filenotify.el (file-notify-handle-event)
11788 (file-notify-callback): Enable trace messages.
11789
11790 * src/kqueue.c: Include also <sys/types.h>.
11791 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
11792 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
11793 (syms_of_kqueue): Add them.
11794
11795 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11796
11797 Work on kqueue
11798
11799 * lisp/filenotify.el (file-notify--library)
11800 (file-notify-descriptors, file-notify-callback)
11801 (file-notify-add-watch, file-notify-rm-watch)
11802 (file-notify-valid-p): Add kqueue support.
11803
11804 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
11805
11806 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11807
11808 Add kqueue support
11809
11810 * configure.ac (--with-file-notification): Add kqueue.
11811 (top): Remove special test for "${HAVE_NS}" and
11812 ${with_file_notification}, this is handled inside gfilenotify
11813 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
11814 instead of library specific variables.
11815
11816 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
11817
11818 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
11819
11820 * src/kqueue.c: New file.
11821
11822 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
11823
11824 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
11825
11826 Update elisp-mode-tests for changed file location.
11827
11828 * test/lisp/progmodes/elisp-mode-tests.el:
11829
11830 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
11831
11832 Exclude manual tests from Makefile
11833
11834 * test/Makefile.in:
11835
11836 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
11837
11838 Move package test files to new directory.
11839
11840 * test/lisp/emacs-lisp/package-tests.el: Update resoruce file location.
11841 * test/data/package: Moved to test/lisp/emacs-lisp/package-resources
11842
11843 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
11844
11845 Restore delete Makefiles and fix .gitignore.
11846
11847 * .gitignore: Update Makefiles to changed locations
11848 * test/lisp/progmodes/flymake-resources/Makefile,
11849 test/manual/etags/Makefile,
11850 test/manual/etags/make-src/Makefile,
11851 test/manual/indent/Makefile: Restored and moved to new location.
11852
11853 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
11854
11855 Test infrastructure: updates after directory move
11856
11857 * (test/Makefile.in): Support directories several levels deep.
11858 * (test/data/flymake): Rename to test/lisp/progmodes/flymake-resources.
11859 * (test/lisp/progmodes/flymake-tests.el): Support renamed resource directory.
11860
11861 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
11862
11863 Rename all test files to reflect source layout.
11864
11865 * CONTRIBUTE,Makefile.in,configure.ac: Update to reflect
11866 test directory moves.
11867 * test/file-organisation.org: New file.
11868 * test/automated/Makefile.in
11869 test/automated/data/decompress/foo.gz
11870 test/automated/data/epg/pubkey.asc
11871 test/automated/data/epg/seckey.asc
11872 test/automated/data/files-bug18141.el.gz
11873 test/automated/data/flymake/test.c
11874 test/automated/data/flymake/test.pl
11875 test/automated/data/package/archive-contents
11876 test/automated/data/package/key.pub
11877 test/automated/data/package/key.sec
11878 test/automated/data/package/multi-file-0.2.3.tar
11879 test/automated/data/package/multi-file-readme.txt
11880 test/automated/data/package/newer-versions/archive-contents
11881 test/automated/data/package/newer-versions/new-pkg-1.0.el
11882 test/automated/data/package/newer-versions/simple-single-1.4.el
11883 test/automated/data/package/package-test-server.py
11884 test/automated/data/package/signed/archive-contents
11885 test/automated/data/package/signed/archive-contents.sig
11886 test/automated/data/package/signed/signed-bad-1.0.el
11887 test/automated/data/package/signed/signed-bad-1.0.el.sig
11888 test/automated/data/package/signed/signed-good-1.0.el
11889 test/automated/data/package/signed/signed-good-1.0.el.sig
11890 test/automated/data/package/simple-depend-1.0.el
11891 test/automated/data/package/simple-single-1.3.el
11892 test/automated/data/package/simple-single-readme.txt
11893 test/automated/data/package/simple-two-depend-1.1.el
11894 test/automated/abbrev-tests.el
11895 test/automated/auto-revert-tests.el
11896 test/automated/calc-tests.el
11897 test/automated/icalendar-tests.el
11898 test/automated/character-fold-tests.el
11899 test/automated/comint-testsuite.el
11900 test/automated/descr-text-test.el
11901 test/automated/electric-tests.el
11902 test/automated/cl-generic-tests.el
11903 test/automated/cl-lib-tests.el
11904 test/automated/eieio-test-methodinvoke.el
11905 test/automated/eieio-test-persist.el
11906 test/automated/eieio-tests.el
11907 test/automated/ert-tests.el
11908 test/automated/ert-x-tests.el
11909 test/automated/generator-tests.el
11910 test/automated/let-alist.el
11911 test/automated/map-tests.el
11912 test/automated/advice-tests.el
11913 test/automated/package-test.el
11914 test/automated/pcase-tests.el
11915 test/automated/regexp-tests.el
11916 test/automated/seq-tests.el
11917 test/automated/subr-x-tests.el
11918 test/automated/tabulated-list-test.el
11919 test/automated/thunk-tests.el
11920 test/automated/timer-tests.el
11921 test/automated/epg-tests.el
11922 test/automated/eshell.el
11923 test/automated/faces-tests.el
11924 test/automated/file-notify-tests.el
11925 test/automated/auth-source-tests.el
11926 test/automated/gnus-tests.el
11927 test/automated/message-mode-tests.el
11928 test/automated/help-fns.el
11929 test/automated/imenu-test.el
11930 test/automated/info-xref.el
11931 test/automated/mule-util.el
11932 test/automated/isearch-tests.el
11933 test/automated/json-tests.el
11934 test/automated/bytecomp-tests.el
11935 test/automated/coding-tests.el
11936 test/automated/core-elisp-tests.el
11937 test/automated/decoder-tests.el
11938 test/automated/files.el
11939 test/automated/font-parse-tests.el
11940 test/automated/lexbind-tests.el
11941 test/automated/occur-tests.el
11942 test/automated/process-tests.el
11943 test/automated/syntax-tests.el
11944 test/automated/textprop-tests.el
11945 test/automated/undo-tests.el
11946 test/automated/man-tests.el
11947 test/automated/completion-tests.el
11948 test/automated/dbus-tests.el
11949 test/automated/newsticker-tests.el
11950 test/automated/sasl-scram-rfc-tests.el
11951 test/automated/tramp-tests.el
11952 test/automated/obarray-tests.el
11953 test/automated/compile-tests.el
11954 test/automated/elisp-mode-tests.el
11955 test/automated/f90.el
11956 test/automated/flymake-tests.el
11957 test/automated/python-tests.el
11958 test/automated/ruby-mode-tests.el
11959 test/automated/subword-tests.el
11960 test/automated/replace-tests.el
11961 test/automated/simple-test.el
11962 test/automated/sort-tests.el
11963 test/automated/subr-tests.el
11964 test/automated/reftex-tests.el
11965 test/automated/sgml-mode-tests.el
11966 test/automated/tildify-tests.el
11967 test/automated/thingatpt.el
11968 test/automated/url-future-tests.el
11969 test/automated/url-util-tests.el
11970 test/automated/add-log-tests.el
11971 test/automated/vc-bzr.el
11972 test/automated/vc-tests.el
11973 test/automated/xml-parse-tests.el
11974 test/BidiCharacterTest.txt
11975 test/biditest.el
11976 test/cedet/cedet-utests.el
11977 test/cedet/ede-tests.el
11978 test/cedet/semantic-ia-utest.el
11979 test/cedet/semantic-tests.el
11980 test/cedet/semantic-utest-c.el
11981 test/cedet/semantic-utest.el
11982 test/cedet/srecode-tests.el
11983 test/cedet/tests/test.c
11984 test/cedet/tests/test.el
11985 test/cedet/tests/test.make
11986 test/cedet/tests/testdoublens.cpp
11987 test/cedet/tests/testdoublens.hpp
11988 test/cedet/tests/testfriends.cpp
11989 test/cedet/tests/testjavacomp.java
11990 test/cedet/tests/testnsp.cpp
11991 test/cedet/tests/testpolymorph.cpp
11992 test/cedet/tests/testspp.c
11993 test/cedet/tests/testsppcomplete.c
11994 test/cedet/tests/testsppreplace.c
11995 test/cedet/tests/testsppreplaced.c
11996 test/cedet/tests/testsubclass.cpp
11997 test/cedet/tests/testsubclass.hh
11998 test/cedet/tests/testtypedefs.cpp
11999 test/cedet/tests/testvarnames.c
12000 test/etags/CTAGS.good
12001 test/etags/ETAGS.good_1
12002 test/etags/ETAGS.good_2
12003 test/etags/ETAGS.good_3
12004 test/etags/ETAGS.good_4
12005 test/etags/ETAGS.good_5
12006 test/etags/ETAGS.good_6
12007 test/etags/a-src/empty.zz
12008 test/etags/a-src/empty.zz.gz
12009 test/etags/ada-src/2ataspri.adb
12010 test/etags/ada-src/2ataspri.ads
12011 test/etags/ada-src/etags-test-for.ada
12012 test/etags/ada-src/waroquiers.ada
12013 test/etags/c-src/a/b/b.c
12014 test/etags/c-src/abbrev.c
12015 test/etags/c-src/c.c
12016 test/etags/c-src/dostorture.c
12017 test/etags/c-src/emacs/src/gmalloc.c
12018 test/etags/c-src/emacs/src/keyboard.c
12019 test/etags/c-src/emacs/src/lisp.h
12020 test/etags/c-src/emacs/src/regex.h
12021 test/etags/c-src/etags.c
12022 test/etags/c-src/exit.c
12023 test/etags/c-src/exit.strange_suffix
12024 test/etags/c-src/fail.c
12025 test/etags/c-src/getopt.h
12026 test/etags/c-src/h.h
12027 test/etags/c-src/machsyscalls.c
12028 test/etags/c-src/machsyscalls.h
12029 test/etags/c-src/sysdep.h
12030 test/etags/c-src/tab.c
12031 test/etags/c-src/torture.c
12032 test/etags/cp-src/MDiagArray2.h
12033 test/etags/cp-src/Range.h
12034 test/etags/cp-src/burton.cpp
12035 test/etags/cp-src/c.C
12036 test/etags/cp-src/clheir.cpp.gz
12037 test/etags/cp-src/clheir.hpp
12038 test/etags/cp-src/conway.cpp
12039 test/etags/cp-src/conway.hpp
12040 test/etags/cp-src/fail.C
12041 test/etags/cp-src/functions.cpp
12042 test/etags/cp-src/screen.cpp
12043 test/etags/cp-src/screen.hpp
12044 test/etags/cp-src/x.cc
12045 test/etags/el-src/TAGTEST.EL
12046 test/etags/el-src/emacs/lisp/progmodes/etags.el
12047 test/etags/erl-src/gs_dialog.erl
12048 test/etags/f-src/entry.for
12049 test/etags/f-src/entry.strange.gz
12050 test/etags/f-src/entry.strange_suffix
12051 test/etags/forth-src/test-forth.fth
12052 test/etags/html-src/algrthms.html
12053 test/etags/html-src/index.shtml
12054 test/etags/html-src/software.html
12055 test/etags/html-src/softwarelibero.html
12056 test/etags/lua-src/allegro.lua
12057 test/etags/objc-src/PackInsp.h
12058 test/etags/objc-src/PackInsp.m
12059 test/etags/objc-src/Subprocess.h
12060 test/etags/objc-src/Subprocess.m
12061 test/etags/objcpp-src/SimpleCalc.H
12062 test/etags/objcpp-src/SimpleCalc.M
12063 test/etags/pas-src/common.pas
12064 test/etags/perl-src/htlmify-cystic
12065 test/etags/perl-src/kai-test.pl
12066 test/etags/perl-src/yagrip.pl
12067 test/etags/php-src/lce_functions.php
12068 test/etags/php-src/ptest.php
12069 test/etags/php-src/sendmail.php
12070 test/etags/prol-src/natded.prolog
12071 test/etags/prol-src/ordsets.prolog
12072 test/etags/ps-src/rfc1245.ps
12073 test/etags/pyt-src/server.py
12074 test/etags/tex-src/gzip.texi
12075 test/etags/tex-src/nonewline.tex
12076 test/etags/tex-src/testenv.tex
12077 test/etags/tex-src/texinfo.tex
12078 test/etags/y-src/atest.y
12079 test/etags/y-src/cccp.c
12080 test/etags/y-src/cccp.y
12081 test/etags/y-src/parse.c
12082 test/etags/y-src/parse.y
12083 test/indent/css-mode.css
12084 test/indent/js-indent-init-dynamic.js
12085 test/indent/js-indent-init-t.js
12086 test/indent/js-jsx.js
12087 test/indent/js.js
12088 test/indent/latex-mode.tex
12089 test/indent/modula2.mod
12090 test/indent/nxml.xml
12091 test/indent/octave.m
12092 test/indent/pascal.pas
12093 test/indent/perl.perl
12094 test/indent/prolog.prolog
12095 test/indent/ps-mode.ps
12096 test/indent/ruby.rb
12097 test/indent/scheme.scm
12098 test/indent/scss-mode.scss
12099 test/indent/sgml-mode-attribute.html
12100 test/indent/shell.rc
12101 test/indent/shell.sh
12102 test/redisplay-testsuite.el
12103 test/rmailmm.el
12104 test/automated/buffer-tests.el
12105 test/automated/cmds-tests.el
12106 test/automated/data-tests.el
12107 test/automated/finalizer-tests.el
12108 test/automated/fns-tests.el
12109 test/automated/inotify-test.el
12110 test/automated/keymap-tests.el
12111 test/automated/print-tests.el
12112 test/automated/libxml-tests.el
12113 test/automated/zlib-tests.el: Files Moved.
12114
12115 2015-11-20 Michael Albinus <michael.albinus@gmx.de>
12116
12117 Rework file notifications, kqueue has problems with directory monitors
12118
12119 * lisp/filenotify.el (file-notify-add-watch): Call the native
12120 add-watch function on the file, not on the dir.
12121
12122 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
12123 about already deleted entries.
12124
12125 * test/automated/auto-revert-tests.el
12126 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
12127 since this deletes the target file first.
12128
12129 * test/automated/file-notify-tests.el (file-notify--test-event-test):
12130 Make stronger checks.
12131 (file-notify-test01-add-watch, file-notify-test02-events)
12132 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
12133 Rewrite in order to call file monitors but directory monitors.
12134 (file-notify-test06-many-events): Ler rename work in both directions.
12135
12136 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
12137
12138 Continie with pending events
12139
12140 * src/kqueue.c (pending_events): Remove global variable.
12141 (kqueue_compare_dir_list): Create `write' event for not used
12142 pending events.
12143 (globals_of_kqueue): Remove initialization of pending_events.
12144
12145 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
12146
12147 Improve loops in file-notify-test06-many-events
12148
12149 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
12150 Use `read-event' pauses for the `write-file' loops; otherwise
12151 events are lost in inotify and gfilenotify cases.
12152
12153 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
12154
12155 Handle more complex rename operation in kqueue
12156
12157 * src/kqueue.c (pending_events): New variable.
12158 (kqueue_compare_dir_list): Handle more complex rename operation.
12159 (globals_of_kqueue): Initialize pending_events.
12160
12161 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
12162 Adapt expected events in the `rename-file' case.
12163 (file-notify-test06-many-events-remote): Declare.
12164
12165 2015-11-18 Wolfgang Jenkner <wjenkner@inode.at>
12166
12167 New test with a larger number of events.
12168
12169 * test/automated/file-notify-tests.el (file-notify--test-with-events):
12170 Make timeout heuristically depend on the number of events.
12171
12172 (file-notify-test06-many-events): Use it for new test.
12173
12174 2015-11-18 Michael Albinus <michael.albinus@gmx.de>
12175
12176 Further fixes for kqueue.
12177
12178 * lisp/filenotify.el (file-notify-callback): Raise also event if
12179 directory name matches.
12180 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
12181
12182 * src/kqueue.c (kqueue_generate_event): Use watch_object as
12183 argument instead of ident. Remove callback argument. Adapt
12184 callees. Check actions whether they are monitored flags.
12185
12186 * test/automated/file-notify-tests.el (file-notify--test-library):
12187 New defun.
12188 (file-notify-test00-availability, file-notify-test02-events)
12189 (file-notify-test04-file-validity)
12190 (file-notify-test05-dir-validity): Use it.
12191 (file-notify-test02-events, file-notify-test04-file-validity): Add
12192 `read-event' calls between different file actions, in order to
12193 give the backends a chance to rais an event. Needed especially
12194 for kqueue. In case of deleting a directory, there are two
12195 `deleted' events.
12196
12197 2015-11-17 Michael Albinus <michael.albinus@gmx.de>
12198
12199 Code cleanup of kqueue.c
12200
12201 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
12202 (kqueue_compare_dir_list): Do not loop when calling
12203 directory_files_internal. Remove checks for "." and "..", this is
12204 done in kqueue_directory_listing now.
12205 (Fkqueue_add_watch): Check for proper emacs_open flags.
12206
12207 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
12208
12209 Doc changes for kqueue
12210
12211 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
12212 Fix some glitches in the example.
12213
12214 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
12215
12216 Finish implementation in kqueue.c
12217
12218 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
12219 Simplify access to list.
12220 (kqueue_compare_dir_list): Simplify access to list. Raise
12221 `delete' event if directory does not exist any longer. Otherwise,
12222 wait until directory contents has changed. Fix error in check.
12223
12224 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
12225
12226 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
12227
12228 2015-11-15 Michael Albinus <michael.albinus@gmx.de>
12229
12230 More work on kqueue
12231
12232 * lisp/filenotify.el (file-notify-callback): Handle also the
12233 `rename' event from kqueue.
12234 (file-notify-add-watch): Do not register an entry twice.
12235
12236 * src/kqueue.c (kqueue_directory_listing): New function.
12237 (kqueue_generate_event): New argument FILE1. Adapt callees.
12238 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
12239
12240 2015-11-14 Michael Albinus <michael.albinus@gmx.de>
12241
12242 Implement directory events
12243
12244 * lisp/filenotify.el (file-notify-handle-event)
12245 (file-notify-callback): Remove traces.
12246
12247 * src/kqueue.c: Include <sys/time.h>.
12248 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
12249 (kqueue_callback): Use them. Call kevent() with a zero timeout.
12250 (Fkqueue_add_watch): Adapt docstring. Support directory events.
12251 Compute initial directory listing. Close file descriptor in case
12252 of errors.
12253 (syms_of_kqueue): Declare Qcreate.
12254
12255 2015-11-11 Wolfgang Jenkner <wjenkner@inode.at>
12256
12257 Build fixes for kqueue support.
12258
12259 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
12260 flag.
12261
12262 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
12263 kqueue on *BSD.
12264
12265 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
12266
12267 Continue kqueue implementation
12268
12269 * lisp/filenotify.el (file-notify-handle-event)
12270 (file-notify-callback): Enable trace messages.
12271
12272 * src/kqueue.c: Include also <sys/types.h>.
12273 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
12274 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
12275 (syms_of_kqueue): Add them.
12276
12277 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
12278
12279 Work on kqueue
12280
12281 * lisp/filenotify.el (file-notify--library)
12282 (file-notify-descriptors, file-notify-callback)
12283 (file-notify-add-watch, file-notify-rm-watch)
12284 (file-notify-valid-p): Add kqueue support.
12285
12286 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
12287
12288 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
12289
12290 Add kqueue support
12291
12292 * configure.ac (--with-file-notification): Add kqueue.
12293 (top): Remove special test for "${HAVE_NS}" and
12294 ${with_file_notification}, this is handled inside gfilenotify
12295 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
12296 instead of library specific variables.
12297
12298 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
12299
12300 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
12301
12302 * src/kqueue.c: New file.
12303
12304 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
12305
12306 2015-11-21 Wilson Snyder <wsnyder@wsnyder.org>
12307
12308 verilog-mode.el: Commentary and fix pre-Emacs 21 behavior.
12309
12310 * verilog-mode.el (verilog-save-font-no-change-functions):
12311 Commentary and fix pre-Emacs 21 behavior.
12312
12313 2015-11-19 Przemysław Wojnowski <esperanto@cumego.com>
12314
12315 Use obarray functions from obarray.
12316
12317 * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
12318 abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
12319 clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
12320 delegate to obarray.el functions.
12321 * lisp/loadup.el: load obarray before abbrev
12322 * test/automated/abbrev-tests.el: new tests
12323
12324 2015-11-18 Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com> (tiny change)
12325
12326 epa.el: Add option to replace original text
12327
12328 * lisp/epa.el (epa-replace-original-text): New user option.
12329 (Bug#21947)
12330
12331 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
12332
12333 Add interactive seek command.
12334
12335 * lisp/mpc.el (mpc-cmd-seekcur): New function.
12336 (mpc-seek-current): New command.
12337 (mpc-mode-menu): Add entry for mpc-seek-current
12338 (mpc-mode-map): Bind mpc-seek-current to "g"
12339
12340 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
12341
12342 Fix issue where a new tempfile was created every refresh
12343
12344 * lisp/mpc.el (mpc-format): Leave dir as relative path
12345
12346 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * lisp/progmodes/cc-defs.el: Use with-silent-modifications
12349
12350 (c-save-buffer-state): Use with-silent-modifications when available.
12351 (c--macroexpand-all): Check macroexpand-all directly rather than
12352 c--mapcan-status.
12353
12354 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * lisp/loadup.el: Set max-lisp-eval-depth here
12357
12358 * lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
12359 (BYTE_COMPILE_FLAGS): Adjust accordingly.
12360
12361 2015-11-17 João Távora <joaotavora@gmail.com>
12362
12363 Minor fix to comment indentation and typo in last commit
12364
12365 * linum.el (linum-update-window): Fix comment indentation and a
12366 typo.
12367
12368 2015-11-17 João Távora <joaotavora@gmail.com>
12369
12370 linum-mode plays more nicely with other margin-setting extensions
12371
12372 linum.el will only modify the left margin if it needs to, and will
12373 only reset the it back to 0 if it guesses that no-one has touched that
12374 margin in the meantime.
12375
12376 As such, this is a more of a workaround than an actual fix, but fixes
12377 the problems described in bug#20674 regarding the interaction with
12378 modes such as darkroom-mode and olivetti-mode.
12379
12380 A similar fix was commited to nlinum.el in ELPA.git's
12381 e7f5f549fbfb740b911fb7f33b42381ecece56d8
12382
12383 * linum.el (linum-delete-overlays): Restore margins more
12384 criteriously.
12385 (linum-update-window): Set margins more criteriously.
12386
12387 2015-11-16 Daiki Ueno <ueno@gnu.org>
12388
12389 * lisp/image-mode.el: Support encrypted file
12390
12391 (image-toggle-display-image): Read content from the buffer instead
12392 of the file, if the buffer holds a decrypted data. (Bug#21870)
12393
12394 2015-11-15 Juanma Barranquero <lekktu@gmail.com>
12395
12396 * lisp/progmodes/verilog-mode.el (verilog-save-buffer-state): Add backquote
12397
12398 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
12399
12400 * lisp/emacs-lisp/package.el: Fix a decoding issue
12401
12402 (package--with-response-buffer): Use `url-insert-buffer-contents'.
12403 The previous code had some issues with decoding. Refactoring that
12404 function allows us to use the decoding from url-handlers while still
12405 treating both sync and async requests the same.
12406
12407 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
12408 `url-insert-buffer-contents'.
12409 (url-insert-buffer-contents): New function
12410
12411 2015-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * lisp/progmodes/verilog-mode.el: Use with-silent-modifications
12414
12415 (verilog-save-buffer-state): Use with-silent-modifications when available.
12416 (verilog-save-font-no-change-functions): Don't bind
12417 before/after-change-functions if it's not needed.
12418
12419 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12420
12421 * CONTRIBUTE: Remove information about feature freeze.
12422
12423 Merge branch 'release-process-lowercase'
12424
12425 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12426
12427 Document the release process
12428
12429 * admin/notes/versioning: Add information about RC releases.
12430 * admin/release-process: Document the release process.
12431 * admin/authors.el (authors-ignored-files):
12432 * admin/README: Change FOR-RELEASE to release-process.
12433 * CONTRIBUTE:
12434 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
12435
12436 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12437
12438 * admin/release-process: Rename from admin/FOR-RELEASE.
12439
12440 2015-11-14 David Engster <deng@randomsample.de>
12441
12442 gitmerge: Fix git log command
12443
12444 * admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we
12445 only want commits from the branch that is to be merged.
12446 (gitmerge-setup-log-buffer): Use the same symmetric range as in
12447 `gitmerge-missing'.
12448
12449 2015-11-14 David Engster <deng@randomsample.de>
12450
12451 gitmerge: Try to detect cherry-picks
12452
12453 * admin/gitmerge.el (gitmerge-default-branch): Change to
12454 origin/emacs-25.
12455 (gitmerge-missing): Use symmetric difference ('...') between
12456 branch and master so that cherry-picks can be detected.
12457
12458 2015-11-14 Eli Zaretskii <eliz@gnu.org>
12459
12460 Increment Emacs version on master branch
12461
12462 * lisp/cus-edit.el (customize-changed-options-previous-release):
12463 Increase previous version to 24.5.
12464
12465 * configure.ac:
12466 * msdos/sed2v2.inp: Bump version to 25.1.50.
12467
12468 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12469
12470 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
12471 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
12472 * README: Mention CONTRIBUTE.
12473
12474 2015-11-13 Wilson Snyder <wsnyder@wsnyder.org>
12475
12476 Update verilog-mode.el to 2015-11-09-b121d60-vpo
12477
12478 * verilog-mode.el (verilog-auto, verilog-delete-auto)
12479 (verilog-modi-cache-results, verilog-save-buffer-state)
12480 (verilog-save-font-no-change-functions): When internally suppressing
12481 change functions, use `inhibit-modification-hooks' and call
12482 `after-change-funtions' to more nicely work with user hooks.
12483 Reported by Stefan Monnier.
12484 (verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer):
12485 Create `verilog-delete-auto-buffer' to avoid double-calling
12486 fontification hooks.
12487 (verilog-restore-buffer-modified-p, verilog-auto)
12488 (verilog-save-buffer-state): Prefer restore-buffer-modified-p over
12489 set-buffer-modified-p. Reported by Stefan Monnier.
12490 (verilog-diff-auto, verilog-diff-buffers-p)
12491 (verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'.
12492 (verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix
12493 AUTOINST with unpacked dimensional parameters, bug981. Reported by
12494 by Amol Nagapurkar.
12495 (verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded
12496 properties inside internal structures. No functional change
12497 intended.
12498
12499 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
12500
12501 Use generic dispatch for xref backends
12502
12503 * lisp/progmodes/xref.el (xref-backend-functions):
12504 New variable.
12505 (xref-find-function): Remove.
12506 (xref-find-backend)
12507 (xref--etags-backend): New functions.
12508 (xref-identifier-at-point-function)
12509 (xref-identifier-completion-table-function): Remove.
12510 (xref-backend-definitions, xref-backend-references)
12511 (xref-backend-apropos, xref-backend-identifier-at-point)
12512 (xref-backend-identifier-completion-table):
12513 New generic functions.
12514
12515 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
12516 Add `elisp--xref-backend' to the beginning of
12517 `xref-backend-functions', locally. Delete references to
12518 removed functions and vars.
12519 (elisp-xref-find): Remove.
12520 (elisp--xref-backend): New function.
12521 (elisp--xref-find-references, elisp--xref-find-apropos)
12522 (elisp--xref-identifier-completion-table):
12523 Turn into appropriately named generic methods.
12524
12525 * lisp/progmodes/etags.el (etags-xref-find): Remove.
12526 (xref-backend-identifier-completion-table)
12527 (xref-backend-references, xref-backend-definitions)
12528 (xref-backend-apropos): New generic methods.
12529
12530 2015-11-13 Juri Linkov <juri@linkov.net>
12531
12532 Support rectangular regions for more commands
12533
12534 * lisp/simple.el (region-extract-function): Handle the arg
12535 value ‘bounds’.
12536 (region-insert-function): New function.
12537 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
12538 If non-nil, operate on multiple chunks.
12539 (region-noncontiguous-p): New function.
12540
12541 * lisp/rect.el: Add function rectangle--insert-region
12542 around region-insert-function.
12543 (extract-rectangle-bounds): New function.
12544 (rectangle--extract-region): Handle the arg value ‘bounds’.
12545 (rectangle--insert-region): New function.
12546
12547 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
12548 around region-insert-function.
12549 (cua--extract-rectangle-bounds): New function.
12550 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
12551
12552 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
12553 ‘region-noncontiguous-p’. Use ‘use-region-p’.
12554 (query-replace-regexp-eval, map-query-replace-regexp)
12555 (replace-string, replace-regexp): Use ‘use-region-p’.
12556 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
12557 (perform-replace): Add arg ‘region-noncontiguous-p’.
12558 If non-nil, operate on multiple chunks.
12559
12560 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
12561 If non-nil, operate on multiple chunks. (Bug#19829)
12562
12563 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
12564
12565 Handle multiple matches on the same line; add highlighting
12566
12567 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
12568 column value in characters.
12569 (xref--collect-matches): Rename from `xref--collect-match'.
12570 Search for all matches in the hit line. Add `highlight' face to
12571 the matched region in the summary. Update both callers.
12572
12573 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
12574
12575 Replace xref-match-bounds with xref-match-length
12576
12577 Relying on xref-location-marker to point to the beginning of the match
12578
12579 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
12580 (xref-match-length): Add.
12581 (xref-make-match): Change the arguments.
12582 (xref--match-buffer-bounds): Remove.
12583 (xref-match-item): Store length, instead of end-column.
12584 (xref-pulse-momentarily)
12585 (xref--collect-match)
12586 (xref--query-replace-1): Update accordingly.
12587 (xref-query-replace): Ditto. And check that the search results
12588 are up-to-date.
12589
12590 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
12591
12592 Merge from gnulib
12593
12594 This incorporates:
12595 2015-11-13 xalloc-oversized: improve performance with GCC 5
12596 * lib/xalloc-oversized.h: Copy from gnulib.
12597
12598 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
12599
12600 Spruce up ftfont.c memory allocation
12601
12602 * src/ftfont.c (setup_otf_gstring):
12603 Avoid O(N**2) behavior when reallocating.
12604 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
12605 reallocating buffers; this simplifies the code. Do not trust
12606 mflt_run to leave the output areas unchanged on failure, as
12607 this isn’t part of its interface spec.
12608
12609 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
12610
12611 Port recent XCB changes to 64-bit ‘long int’
12612
12613 For historical reasons, libX11 represents 32-bit values like Atoms as
12614 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
12615 do that, so adapt the recent XCB code to behave properly on 64-bit
12616 platforms. Also, fix what appears to be a bug in the interpretation
12617 of xcb_get_property_value_length, at least on my Fedora platform
12618 which is running libxcb-1.11-5.fc21.
12619 * src/xfns.c (x_real_pos_and_offsets):
12620 * src/xterm.c (get_current_wm_state):
12621 xcb_get_property_value_length returns a byte count, not a word count.
12622 For 32-bit quantities, xcb_get_property_value returns a vector
12623 of 32-bit words, not of (possibly 64-bit) long int.
12624
12625 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
12626
12627 * src/undo.c (run_undoable_change): Now static.
12628
12629 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
12630
12631 Adapt Tramp version, do not merge with master
12632
12633 * doc/misc/trampver.texi (trampver):
12634 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
12635
12636 2015-11-13 Eli Zaretskii <eliz@gnu.org>
12637
12638 Remove support for ':timeout' from w32 tray notifications
12639
12640 * src/w32fns.c (Fw32_notification_notify): Delete the code that
12641 supports ':timeout'.
12642 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
12643 with dbusbind.c when D-Bus is compiled in.
12644
12645 * doc/lispref/os.texi (Desktop Notifications): Don't mention
12646 ':timeout'.
12647
12648 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
12649
12650 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
12651 (simple-test--transpositions): New macro.
12652 (simple-transpose-subr): New test.
12653
12654 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
12655
12656 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
12657
12658 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
12659
12660 * src/undo.c: Small fixes for previous change
12661 (run_undoable_change): Mark void argument list.
12662 (record_property_change): Remove unused variable `boundary'.
12663
12664 2015-11-13 Eli Zaretskii <eliz@gnu.org>
12665
12666 Add a few more variables to redisplay--variables
12667
12668 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
12669 and bidi-display-reordering to the list.
12670
12671 2015-11-13 Eli Zaretskii <eliz@gnu.org>
12672
12673 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
12674
12675 2015-11-13 Eli Barzilay <eli@barzilay.org>
12676
12677 Fix point positioning after transposing with negative arg
12678
12679 * lisp/simple.el (transpose-subr): When invoked with a negative
12680 argument, move point to after the transposed text, like we do
12681 when invoked with a positive argument. (Bug#21885)
12682
12683 2015-11-13 Eli Zaretskii <eliz@gnu.org>
12684
12685 Fix last change in shr.el
12686
12687 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
12688 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
12689
12690 2015-11-13 Eli Zaretskii <eliz@gnu.org>
12691
12692 Fix last change
12693
12694 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
12695 Don't DEFSYM tray notification symbols if D-Bus is being used.
12696
12697 2015-11-13 Eli Zaretskii <eliz@gnu.org>
12698
12699 Another fix for MinGW64 and Cygwin builds due to notifications
12700
12701 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
12702 being compiled into Emacs.
12703 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
12704 Sw32_notification_notify and Sw32_notification_close if the code
12705 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12706
12707 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12708 2015-11-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12709
12710 Remove intern calls and XXX comments from Fx_export_frames
12711
12712 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
12713 Qsvg instead of intern calls. Use "postscript" instead of "ps"
12714 for consistency with image types. Remove XXX comments.
12715 (syms_of_xfns) <Qpdf>: DEFSYM it.
12716
12717 2016-01-30 Eric Hanchrow <eric.hanchrow@gmail.com>
12718 2015-11-12 Eric Hanchrow <eric.hanchrow@gmail.com>
12719
12720 shr: don't invoke unbound function (Bug#21895)
12721
12722 * lisp/net/shr.el (have-fringes-p): New function.
12723 (shr-insert-document, shr-fill-text): Use it.
12724
12725 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
12726
12727 * test/automated/keymap-tests.el: Fix test to make it repeatable
12728
12729 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
12730 entry to its initial value to make the test repeatable in interactive
12731 sessions (assuming it doesn't fail and crashes Emacs, of course).
12732
12733 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
12734
12735 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
12736
12737 2016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
12738
12739 : Tests for undo-auto functionality.
12740 2015-11-12 Artur Malabarba <bruce.connor.am@gmail.com>
12741
12742 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
12743 Small fix.
12744
12745 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
12746
12747 The heuristic that Emacs uses to add an `undo-boundary' has been
12748 reworked, as it interacts poorly with functions on `post-command-hook'
12749 or `after-change-functions'.
12750
12751 * lisp/simple.el: New section added.
12752 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
12753 (self_insert_command): Calls simple.el to amalgamate.
12754 (delete_char): Calls simple.el to amalgamate.
12755 * src/keyboard.c (last_undo_boundary): Removed.
12756 * src/undo.c (run_undoable_change): New function.
12757
12758 2015-11-12 Juri Linkov <juri@linkov.net>
12759
12760 Bind [?\S-\ ] to previous line command in Dired-like modes.
12761
12762 * lisp/arc-mode.el (archive-mode-map):
12763 * lisp/dired.el (dired-mode-map):
12764 * lisp/proced.el (proced-mode-map):
12765 * lisp/vc/vc-dir.el (vc-dir-mode-map):
12766 Bind [?\S-\ ] to previous line command.
12767 (Bug#20790)
12768
12769 2015-11-12 Eli Zaretskii <eliz@gnu.org>
12770
12771 Fix the MinGW64 and Cygwin-w32 builds
12772
12773 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
12774 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
12775 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
12776 which cause trouble with MinGW42 headers. Ifdef away tray
12777 notifications code for Cygwin. Reported by Andy Moreton
12778 <andrewjmoreton@gmail.com>.
12779
12780 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
12781
12782 Enable sorting of JSON object keys when encoding
12783
12784 * lisp/json.el (json-encoding-object-sort-predicate): New variable
12785 for specifying a sorting predicate for JSON objects during encoding.
12786 (json--plist-to-alist): New utility function.
12787 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
12788 are to be sorted.
12789 (json-encode-alist): Sort output by
12790 `json-encoding-object-sort-predicate, when set.
12791 (json-encode-plist): Re-use `json-encode-alist' when object keys are
12792 to be sorted.
12793 (json-pretty-print-buffer-ordered): New command to pretty print the
12794 buffer with object keys sorted alphabetically.
12795 (json-pretty-print-ordered): New command to pretty print the region
12796 with object keys sorted alphabetically.
12797
12798 * test/automated/json-tests.el (test-json-plist-to-alist)
12799 (test-json-encode-plist, test-json-encode-hash-table)
12800 (test-json-encode-alist-with-sort-predicate)
12801 (test-json-encode-plist-with-sort-predicate): New tests.
12802
12803 * etc/NEWS: Add an entry for the new commands.
12804
12805 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
12806
12807 * test/automated/keymap-tests.el: New test file.
12808
12809 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
12810
12811 Speed up x_real_pos_and_offsets using XCB
12812
12813 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
12814 all X calls, and pipeline requests when possible, collecting results
12815 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
12816
12817 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
12818
12819 Enable use of XCB for checking window manager state
12820
12821 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
12822 of XGetWindowProperty plus error-catching, since we can explicitly
12823 check for errors in the XCB version. This eliminates 3 XSync calls on
12824 top of the round-trip actually fetching the information.
12825
12826 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
12827
12828 Detect XCB and save a connection handle
12829
12830 * configure.ac: If using X11, check for XCB libraries and header.
12831 * src/Makefile.in (XCB_LIBS): Define.
12832 (LIBX_EXTRA): Include it.
12833
12834 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
12835 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
12836 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
12837
12838 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
12839
12840 Reduce some data dependencies between X calls
12841
12842 Gains nothing in the traditional-Xlib code, but more closely aligns
12843 with how the XCB version will work.
12844
12845 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
12846 send coordinates (0,0) to the X server and add in the real coordinates
12847 after getting the response. Move XGetGeometry for outer window inside
12848 error-trapping block. Use DPY variable more, since it's available.
12849
12850 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
12851
12852 Use color cache for creating bitmap
12853
12854 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
12855 Set attributes to use the caching color allocator. Initialize and
12856 free the cache.
12857
12858 2015-11-12 Eli Barzilay <eli@barzilay.org>
12859
12860 Add "^" to the interactive specs of `dired-next/previous-line'
12861
12862 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
12863 to bind these commands to the arrow keys, and that means that they work
12864 better with a "^" in the `interactive' declaration so selection works
12865 as expected.
12866
12867 2016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
12868
12869 Sync with soap-client repository, version 3.0.2
12870
12871 * lisp/net/soap-client.el: Bump version to 3.0.2.
12872
12873 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
12874
12875 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
12876 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
12877
12878 * lisp/net/soap-client.el: Support Emacs versions that do not have
12879 define-error.
12880
12881 * lisp/net/soap-inspect.el: Remove version header.
12882
12883 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
12884 2015-11-11 Thomas Fitzsimmons <fitzsim@fitzsim.org>
12885
12886 Sync with soap-client repository, version 3.0.2
12887
12888 * soap-client.el: Bump version to 3.0.2.
12889
12890 * soap-client.el (soap-warning): Use format, not format-message.
12891
12892 * soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
12893 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
12894
12895 * soap-client.el: Support Emacs versions that do not have
12896 define-error.
12897
12898 * soap-inspect.el: Remove version header.
12899
12900 * soap-client.el, soap-inspect.el, jira2.el: Fix first line header
12901 format.
12902
12903 2015-11-11 Alan Mackenzie <acm@muc.de>
12904
12905 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
12906
12907 * lisp/progmodes/cc-engine.el (c-backward-single-comment)
12908 (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
12909 (c-guess-basic-syntax):
12910 Remove bindings of open-paren-in-column-0-is-defun-start to nil.
12911 (c-get-fallback-scan-pos): "New" function (existed several years ago).
12912 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
12913 c-get-fallback-scan-pos.
12914 (c-parse-state-1): Handle 'BOD strategy.
12915
12916 * lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
12917 (c-font-lock-fontify-region): Remove bindings of
12918 open-paren-in-column-0-is-defun-start to nil.
12919
12920 * doc/misc/cc-mode.texi (Performance Issues)
12921 (Limitations and Known Bugs): Fix mix up between @chapter and @appendix.
12922
12923 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
12924
12925 * lisp/obarray.el: Fix shadowed variables.
12926 (obarray-map, obarray-remove, obarray-put, obarray-get):
12927 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
12928
12929 2015-11-11 Eli Zaretskii <eliz@gnu.org>
12930
12931 Avoid error in submitting a form with EWW
12932
12933 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
12934 CHUNK to be nil. (Bug#21881)
12935
12936 2015-11-11 Nicolas Petton <nicolas@petton.fr>
12937
12938 Rename seq-p and map-p to seqp and mapp
12939
12940 * lisp/emacs-lisp/seq.el (seqp): New name.
12941 * lisp/emacs-lisp/map.el (mapp): New name.
12942 * doc/lispref/sequences.texi: Update the documentation for seqp.
12943 * test/automated/map-tests.el: Update the tests for mapp.
12944
12945 2015-11-11 Nicolas Petton <nicolas@petton.fr>
12946
12947 Rename obarray-p to obarrayp
12948
12949 * lisp/obarray.el (obarrayp): New name.
12950 * test/automated/obarray-tests.el: Update the tests.
12951
12952 2015-11-11 Nicolas Petton <nicolas@petton.fr>
12953
12954 Rename obarray-foreach to obarray-map
12955
12956 * lisp/obarray.el (obarray-map): New name.
12957 * test/automated/obarray-tests.el: Update the corresponding tests.
12958
12959 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
12960
12961 New file with obarray functions.
12962
12963 * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
12964 * test/automated/obarray-tests.el: New file.
12965
12966 2015-11-11 Eli Zaretskii <eliz@gnu.org>
12967
12968 Implement tray notifications for MS-Windows
12969
12970 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
12971 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
12972 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
12973 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
12974 (EMACS_NOTIFICATION_MSG): New macros.
12975 (NI_Severity): New enumeration.
12976 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
12977 (delete_tray_notification, Fw32_notification_notify)
12978 (Fw32_notification_close): New functions.
12979 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
12980 keywords used by w32-notification-notify.
12981
12982 * doc/lispref/os.texi (Desktop Notifications): Describe the native
12983 w32 tray notifications.
12984
12985 2016-01-30 Alan Mackenzie <acm@muc.de>
12986
12987 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
12988
12989 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
12990 Windows" and new @defun selected-window-group.
12991 (Window Start and End): Describe new &optional parameter GROUP and
12992 ...-group-function for window-start, window-end, set-window-start, and
12993 pos-visible-in-window-p.
12994 (Textual Scrolling) Describe the same for recenter.
12995 doc/lispref/positions.texi (Screen Lines): Describe the same for
12996 move-to-window-line.
12997
12998 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
12999 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
13000 new optional parameter "group". At the beginning of each, check whether the
13001 corresponding ...-group-function is set to a function, and if so execute this
13002 function in place of the normal processing.
13003 (syms_of_window): Define symbols for the six new variables below.
13004 (window-start-group-function, window-end-group-function)
13005 (set-window-start-group-function, recenter-group-function)
13006 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
13007 New permanent local buffer local variables.
13008 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
13009 Fpos_visible_in_window_p.
13010
13011 lisp/window.el (selected-window-group-function): New permanent local buffer
13012 local variable.
13013 (selected-window-group): New function.
13014
13015 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
13016 enable, kill them at mode disable. Add/remove follow-after-change to/from
13017 after-change-functions.
13018 (follow-start-end-invalid): New variable.
13019 (follow-redisplay): Manipulate follow-start-end-invalid.
13020 (follow-after-change, follow-window-start, follow-window-end)
13021 (follow-set-window-start, follow-pos-visible-in-window-p)
13022 (follow-move-to-window-line, follow-sit-for): New functions.
13023
13024 lisp/isearch.el (isearch-call-message): New macro.
13025 (isearch-update, with-isearch-suspended, isearch-del-char)
13026 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
13027 (with-isearch-suspended): Rearrange code such that isearch-call-message is
13028 invoked before point is moved.
13029 (isearch-message): Add comment about where point must be at function call.
13030 (isearch-search): Remove call to isearch-message.
13031 (isearch-lazy-highlight-window-group): New variable.
13032 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
13033 the battery of tests to ...
13034 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
13035 Note: (sit-for 0) is still called.
13036 (isearch-lazy-highlight-update): Check membership of
13037 isearch-lazy-highlight-window-group. Don't set the `window' overlay
13038 property.
13039 (isearch-update, isearch-done, isearch-string-out-of-window)
13040 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
13041 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
13042 (isearch-lazy-highlight-update): Call the six amended primitives (see
13043 src/window.c above) with the new `group' argument set to t, to cooperate
13044 with Follow Mode.
13045
13046 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
13047
13048 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
13049
13050 * lisp/net/tramp.el (tramp-handle-file-equal-p)
13051 (tramp-handle-file-in-directory-p): New defuns. Suggested by
13052 Harvey Chapman <hchapman@3gfp.com>.
13053
13054 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13055 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13056 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13057 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
13058
13059 2015-11-10 Karl Fogel <kfogel@red-bean.com>
13060
13061 * CONTRIBUTE: Encourage adding tests.
13062
13063 Based on this post from John Wiegley:
13064
13065 From: "John Wiegley" <johnw@newartisans.com>
13066 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
13067 To: Juanma Barranquero <lekktu@gmail.com>
13068 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
13069 emacs-devel <emacs-devel@gnu.org>
13070 Date: Wed, 28 Oct 2015 18:45:29 -0700
13071 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
13072
13073 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
13074
13075 2015-11-10 David Reitter <david.reitter@gmail.com>
13076
13077 Avoid creating notification objects when possible
13078
13079 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
13080 (windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
13081 functions that do not require a notification object. When needed,
13082 define NSWindowDidEnterFullScreenNotification to allow for compilation
13083 on OS X 10.6.8.
13084
13085 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
13086
13087 Move INTEGER_TO_CONS body out of .h file
13088
13089 * src/data.c (INTBIG_TO_LISP): New macro, with most
13090 of the contents of the old INTEGER_TO_CONS.
13091 (intbig_to_lisp, uintbig_to_lisp): New functions.
13092 * src/lisp.h (INTEGER_TO_CONS):
13093 Simplify by using EXPR_SIGNED and the new functions.
13094 This shrinks code size a bit, and makes it easier to
13095 put a breakpoint on handling of large integers.
13096
13097 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
13098
13099 Merge from gnulib
13100
13101 This incorporates:
13102 2015-11-10 intprops: new public macro EXPR_SIGNED
13103 2015-11-10 intprops: fix typo in clang port
13104 * lib/intprops.h: Copy from gnulib.
13105
13106 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
13107
13108 Spelling fixes
13109
13110 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
13111 Fix misspelling in output.
13112
13113 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13114
13115 * doc/lispref/variables.texi (Directory Local Variables):
13116 Document dir-locals wildcards.
13117
13118 * lisp/files.el (dir-locals-file): Point to Info node.
13119
13120 * doc/emacs/custom.texi (Directory Variables):
13121 Document dir-locals wildcards.
13122
13123 * etc/NEWS: Document new functionality.
13124
13125 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13126
13127 * lisp/files.el: Don't allow customization of dir-locals sorting.
13128 In retrospect, this is not a good idea for the same reason that
13129 `dir-locals-file' is a defconst, because it is important that this
13130 behaviour be "uniform across different environments and users".
13131 Sure, the user can still change the sorting with a hack, but we
13132 shouldn't encourage them to change it.
13133 (dir-locals--all-files): Return list in the order returned by
13134 `file-expand-wildcards'.
13135 (file-expand-wildcards): Document the sorting predicate used.
13136 (dir-locals-sort-predicate): Delete variable.
13137
13138 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13139
13140 * lisp/files.el (dir-locals-read-from-file): Better handle errors.
13141
13142 * lisp/isearch.el (search-default-regexp-mode): Change default value.
13143
13144 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13145
13146 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
13147 `locate-dominating-file' will now keep looking if the files it finds in
13148 a given directory are unreadable (or not files).
13149
13150 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13151
13152 * lisp/files.el (dir-locals-file): Allow wildcards.
13153 (dir-locals-find-file, dir-locals-collect-variables)
13154 (dir-locals-read-from-file): Update accordingly.
13155 (hack-dir-local-variables): Rename a local variable.
13156
13157 * lisp/files-x.el (modify-dir-local-variable): Update accordingly.
13158
13159 * lisp/help-fns.el (describe-variable): Update accordingly.
13160
13161 * .gitignore: Add .dir-locals?.el.
13162
13163 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13164
13165 * lisp/emacs-lisp/map.el (map-merge-with): New function.
13166
13167 * test/automated/map-tests.el (test-map-merge-with): New test.
13168
13169 2015-11-09 Karl Fogel <kfogel@red-bean.com>
13170
13171 Fix some recently-perturbed bookmark autoloads
13172
13173 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
13174 (bookmark-set): Restore autoload.
13175 (bookmark-set-no-overwrite): Add autoload.
13176
13177 Thanks to Juanma Barranquero for noticing the autoload problems
13178 introduced by my recent commit adding/changing the above functions
13179 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
13180
13181 2016-01-30 Noah Friedman <friedman@splode.com>
13182
13183 (ydump-buffer): Handle case where gap is at the start of buffer.
13184 I don't recall if older versions of gdb were less strict but you
13185 cannot dump a 0-length range in gdb 7.9.1.
13186
13187 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
13188 2015-11-09 Noah Friedman <friedman@splode.com>
13189
13190 * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
13191 the start of buffer. I don't recall if older versions of gdb were
13192 less strict but you cannot dump a 0-length range in gdb 7.9.1.
13193
13194 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
13195
13196 * lisp/progmodes/project.el: Update Commentary.
13197
13198 Merge branch 'project-next'
13199
13200 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
13201
13202 Fold `project-ask-user' into `project-current'
13203
13204 * lisp/progmodes/project.el (project-find-functions): Remove
13205 `project-ask-user'.
13206 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
13207
13208 Fold `project-ask-user' into `project-current'
13209
13210 * lisp/progmodes/project.el (project-find-functions):
13211 Remove `project-ask-user'.
13212 (project-ask-user): Remove function and the corresponding
13213 `project-roots' implementation.
13214 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
13215 user in case there's no project in the current directory. Update
13216 all callers.
13217
13218 2015-11-09 Karl Fogel <kfogel@red-bean.com>
13219
13220 When VC detects a conflict, specify which file
13221
13222 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
13223 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
13224 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
13225 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
13226 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
13227 to display a standard message that specifies the conflicted file.
13228
13229 Before this change, the message VC used for indicating a conflicted
13230 file was just "There are unresolved conflicts in this file" without
13231 naming the file (and this language was duplicated in several places).
13232 After this change, it's "There are unresolved conflicts in file FOO"
13233 (and this language is now centralized in one function in vc.el).
13234
13235 Justification: It's important for the message to name the conflicted
13236 file because the moment when VC realizes a file is conflicted does not
13237 always come interactively. For example, some people automatically
13238 find a set of Org Mode files on startup, and may keep those .org files
13239 under version control. If any of the files are conflicted, the user
13240 just sees some messages fly by, and might later check the "*Messages*"
13241 buffer to find out what files were conflicted. I'm not saying this
13242 happened to me or anything; it's a purely hypothetical example.
13243
13244 2015-11-09 Eli Zaretskii <eliz@gnu.org>
13245
13246 Fix assertion violation in define-key
13247
13248 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
13249 objects. Reported by Drew Adams <drew.adams@oracle.com>
13250 and Juanma Barranquero <lekktu@gmail.com>.
13251
13252 2015-11-09 Dima Kogan <dima@secretsauce.net>
13253
13254 Fix a memory leak in GC of font cache
13255
13256 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
13257 entities if some of the fonts it references are marked. This
13258 plugs a memory leak. (Bug#21556)
13259
13260 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
13261
13262 Use INT_ADD_WRAPV etc. to check integer overflow
13263
13264 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
13265 * src/buffer.c (record_overlay_string, overlay_strings):
13266 * src/casefiddle.c (casify_object):
13267 * src/ccl.c (Fccl_execute_on_string):
13268 * src/character.c (char_width, c_string_width, lisp_string_width)
13269 (count_size_as_multibyte, string_escape_byte8):
13270 * src/coding.c (coding_alloc_by_realloc, produce_chars):
13271 * src/data.c (arith_driver):
13272 * src/dispnew.c (realloc_glyph_pool, init_display):
13273 * src/editfns.c (styled_format):
13274 * src/fns.c (Ffillarray):
13275 * src/ftfont.c (ftfont_shape_by_flt):
13276 * src/gnutls.c (gnutls_hex_string):
13277 * src/gtkutil.c (get_utf8_string):
13278 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
13279 * src/keymap.c (Fkey_description):
13280 * src/lisp.h (SAFE_ALLOCA_LISP):
13281 * src/term.c (encode_terminal_code):
13282 * src/tparam.c (tparam1):
13283 * src/xselect.c (x_property_data_to_lisp):
13284 * src/xsmfns.c (smc_save_yourself_CB):
13285 * src/xterm.c (x_term_init):
13286 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
13287 more-complicated code involving division and/or
13288 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
13289 subtraction and/or INT_ADD_OVERFLOW.
13290 * src/casefiddle.c (casify_object): Simplify multibyte size check.
13291 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
13292 * src/data.c (arith_driver): Also check for division overflow,
13293 as that’s now possible given that the accumulator can now contain
13294 any Emacs integer.
13295 * src/lisp.h (lisp_word_count): Remove; no longer used.
13296
13297 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
13298 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
13299
13300 Make sure that the ignore file exists
13301
13302 * lisp/vc/vc.el (vc-default-ignore-completion-table):
13303 Make sure that the ignore file exists.
13304
13305 2016-01-30 Michael Sperber <mike@xemacs.org>
13306
13307 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
13308 2015-11-08 Michael Sperber <mike@xemacs.org>
13309
13310 * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
13311 `gnus-summary-delete-article` in a way that also works on XEmacs.
13312
13313 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
13314
13315 Add support for retrieving paths to JSON elements
13316
13317 Add support for retrieving the path to a JSON element. This can for
13318 instance be useful to retrieve paths in deeply nested JSON
13319 structures.
13320
13321 * lisp/json.el (json-pre-element-read-function)
13322 (json-post-element-read-function): New variables to hold pre- and post
13323 read callback functions for `json-read-array' and `json-read-object'.
13324 (json--path): New variable used internally by `json-path-to-position'.
13325 (json--record-path, json--check-position): New functions used
13326 internally by `json-path-to-position'.
13327 (json-path-to-position): New function for retrieving the path to a
13328 JSON element at a given position.
13329 (json-read-object, json-read-array): Call
13330 `json-pre-element-read-function' and `json-post-element-read-function'
13331 when set.
13332
13333 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
13334 (test-json-path-to-position-with-arrays)
13335 (test-json-path-to-position-no-match): New tests for
13336 `json-path-to-position'.
13337
13338 2015-11-08 Karl Fogel <kfogel@red-bean.com>
13339
13340 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
13341
13342 This really should been part of my previous commit
13343 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
13344
13345 2015-11-08 Karl Fogel <kfogel@red-bean.com>
13346
13347 Offer non-overwrite bookmark setter (Bug#15746)
13348
13349 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
13350 what `bookmark-set' used to do, but with more choices for overwrite
13351 vs push, and with minor changes to the interactive prompt format.
13352 (bookmark-set): Rewrite as wrapper around above.
13353 If overwriting, inform the user of that in the prompt.
13354 (bookmark-set-no-overwrite): New function, also done as wrapper.
13355 Bind to "M" in `ctl-x-r-map' autoloads.
13356 (bookmark-map): Similarly bind "M" here.
13357
13358 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
13359
13360 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
13361
13362 2015-11-08 Alan Modra <amodra@gmail.com>
13363
13364 ELF unexec: Don't insert a new section
13365
13366 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
13367 don't need to mess with symbol st_shndx, or section sh_link and
13368 sh_info.
13369
13370 This does lead to eu-elflint complaints about symbols defined in .bss
13371 with a needed version, because normally it is undefined symbols that
13372 have needed versions; Defined symbols have version definitions.
13373 The exception is symbols defined by the linker in .dynbss for
13374 variables copied from a shared library in order to avoid text
13375 relocations, with copy relocs to copy their initial values from the
13376 shared library. These symbols are both defined and have needed
13377 versions, and eu-elflink only expects to see them in SHT_NOBITS
13378 sections. Of course there is no real problem with having such symbols
13379 in SHT_PROGBITS sections. glibc ld.so handles them fine.
13380
13381 * src/unexelf.c: Delete outdated comments.
13382 (PATCH_INDEX): Delete.
13383 (find_section): Delete.
13384 (unexec): Don't add a new section. Instead reuse the last bss
13385 section, extending it to cover dumped data. Make bss sections
13386 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
13387 st_shndx. Rename bss sections.
13388
13389 2015-11-08 Alan Modra <amodra@gmail.com>
13390
13391 ELF unexec: Drive from PT_LOAD header rather than sections
13392
13393 This rewrites bss handling in the ELF unexec code. Finding bss
13394 sections by name results in complicated code that
13395 - does not account for all names of possible bss sections,
13396 - assumes specific ordering of bss sections,
13397 - can wrongly choose a SHT_NOBITS section not in the bss segment,
13398 - incorrectly calculates bss size (no accounting for alignment gaps),
13399 - assumes .data and .bss are in the same segment.
13400
13401 All of these problems and more are solved by finding the bss segment
13402 in PT_LOAD headers, ie. the address range included in p_memsz but not
13403 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
13404 in that address range.
13405
13406 * src/unexelf.c: Delete old ppc comment.
13407 (OLD_PROGRAM_H): Define.
13408 (round_up): Delete.
13409 (unexec): Don't search for bss style sections by name. Instead,
13410 use the last PT_LOAD header address range covered by p_memsz
13411 but not p_filesz and match any SHT_NOBITS section in that
13412 address range. Simplify initialisation of section header vars.
13413 Don't assume that section headers are above bss segment. Move
13414 copying of bss area out of section loop. Align .data2 section
13415 to 1, since it now covers the entire bss area. For SHT_NOBITS
13416 sections in the bss segment, leave sh_addr and sh_addralign
13417 unchanged, but correct sh_offset. Clear memory corresponding
13418 to SHT_NOBITS .plt section. Delete comment and hacks for
13419 sections partly overlapping bss range now that the full range
13420 is properly calculated. Delete now dead .sbss code.
13421 (Bug#20614)
13422
13423 2015-11-08 Alan Modra <amodra@gmail.com>
13424
13425 ELF unexec: R_*_NONE relocs
13426
13427 These should be ignored on all targets.
13428
13429 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
13430 not just Alpha. Comment on reloc size assumption.
13431
13432 2015-11-08 Alan Modra <amodra@gmail.com>
13433
13434 ELF unexec: _OBJC_ symbols in bss sections
13435
13436 This code assumed that there was only one bss section. Rather than
13437 checking for a particular index, check the section type. Also, handle
13438 the possibility that the section was SHT_NOBITS originally and is
13439 unchanged, in which case no clearing is needed (and sh_offset isn't
13440 necessarily valid, which can lead to a wild memset).
13441
13442 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
13443 bss sections.
13444
13445 2015-11-08 Alan Modra <amodra@gmail.com>
13446
13447 ELF unexec: Symbol table patching
13448
13449 No st_shndx value larger than SHN_LORESERVE should be changed.
13450 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
13451 SHN_LORESERVE. Error on SHN_XINDEX.
13452
13453 2015-11-08 Alan Modra <amodra@gmail.com>
13454
13455 ELF unexec: Merge Alpha and MIPS COFF debug handling
13456
13457 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
13458 Don't find .mdebug section index, find the section in the loop.
13459 Allow for unlikely possibility that .mdebug is located at sh_offset
13460 before bss segment, by calculating move from difference in
13461 sh_offset rather than just assuming new_data2_size. Simplify
13462 cbLineOffset handling.
13463
13464 2015-11-08 Alan Modra <amodra@gmail.com>
13465
13466 ELF unexec: Tidy code
13467
13468 Separate out some of the more mechanical changes so following patches
13469 are smaller.
13470
13471 * src/unexelf.c (unexec): Rearrange initialisation of program
13472 header vars. Use pointer vars in loops rather than indexing
13473 section header array via macros. Simplify _OBJC_ sym code
13474 and reloc handling code.
13475
13476 2015-11-08 Alan Modra <amodra@gmail.com>
13477
13478 ELF unexec: Correct section header index
13479
13480 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
13481 it should have been using "NEW_SECTION_H (nn)" to find the name of the
13482 section currently being processed. Of course, before the bss
13483 sections, n and nn have the same value, so this doesn't matter except
13484 in the case of .sbss. For .sbss this probably meant .bss (most likely
13485 the next section) was copied from memory. A later patch removes the
13486 bogus .sbss handling anyway.
13487
13488 * src/unexelf.c (unexec): Use correct index to look up names.
13489
13490 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
13491
13492 Fix Bug#21841
13493
13494 * lisp/filenotify.el (file-notify--rm-descriptor):
13495 Use `descriptor' instead of computing its value.
13496 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
13497 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
13498 (Bug#21841)
13499
13500 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
13501
13502 Remove dirs in vc project roots from the the vc project library roots
13503
13504 * lisp/progmodes/project.el (project-library-roots):
13505 Remove directories inside the project roots from the result.
13506 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
13507
13508 2015-11-07 Dmitry Gutov <dgutov@yandex.ru>
13509
13510 Move and rename xref-find-regexp to the project package
13511
13512 * lisp/progmodes/project.el (project-find-regexp)
13513 (project--read-regexp)
13514 (project--find-regexp-in): New functions.
13515
13516 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
13517 xref--show-xrefs. Use in existing callers in place of that
13518 function.
13519 (xref--show-xrefs): Only do the "show" part.
13520 (xref-find-regexp): Rename, more or less, to
13521 project-or-libraries-find-regexp.
13522
13523 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
13524
13525 Abolish temporary buffer management for xref
13526
13527 * lisp/progmodes/xref.el (xref--temporary-buffers)
13528 (xref--current)
13529 (xref--inhibit-mark-current)
13530 (xref--mark-selected): Remove. Remove all references.
13531 (xref--show-xrefs): Do not construct the
13532 list of the temporary buffers, nor pass it along.
13533
13534 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
13535
13536 Rename "search path" to "library roots"
13537
13538 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
13539 of the elements from CL-LIST1.
13540
13541 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
13542 Update WRT to the above change.
13543
13544 * lisp/progmodes/project.el (project-search-path-function): Rename
13545 to project-library-roots-function, update the documentation and
13546 references.
13547 (project-search-path): Likewise, to project-library-roots.
13548 (project-roots): Clarify documentation.
13549 (project-vc-search-path): Likewise, to project-vc-library-roots.
13550 (project-library-roots): In addition to the renames, thread the
13551 results through file-name-as-directory.
13552 (project-prune-directories): Accept a variable number of
13553 arguments. Rename to project-combine-directories.
13554 (project-subtract-directories): New function.
13555
13556 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
13557 Append project-roots and project-library-roots together.
13558
13559 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
13560
13561 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
13562
13563 Prefer xpalloc to doubling buffers by hand
13564
13565 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
13566 (read1): Use it for simplicity.
13567 * src/macros.c (store_kbd_macro_char):
13568 * src/minibuf.c (read_minibuf_noninteractive):
13569 * src/term.c (encode_terminal_code):
13570 * src/xrdb.c (magic_db):
13571 Prefer xpalloc to growing buffers by hand.
13572 This doesn’t fix any bugs, but simplifies the code a bit.
13573
13574 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
13575
13576 Merge from gnulib
13577
13578 This incorporates:
13579 2015-11-05 timespec-sub: fix overflow bug; add tests
13580 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
13581 2015-11-03 intprops: add parentheses
13582 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
13583 Copy from gnulib.
13584
13585 2015-11-07 David Reitter <david.reitter@gmail.com>
13586
13587 Provide NS notification objects where required to eliminate warnings
13588
13589 * src/nsterm.m (windowDidResize:, toggleFullScreen:):
13590 Call notification functions with notification objects
13591 as per delegate APIs.
13592
13593 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
13594
13595 Add test for bug #21824
13596
13597 * test/automated/buffer-tests.el: New file.
13598 (overlay-modification-hooks-message-other-buf): New test.
13599
13600 2015-11-07 Kelvin White <kwhite@gnu.org>
13601
13602 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
13603
13604 2015-11-07 David Reitter <david.reitter@gmail.com>
13605
13606 Ignore fullscreen exit notifications on NS when frame is dead
13607
13608 * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
13609 (windowDidExitFullScreen:): Return if frame is dead.
13610 These functions may be called when a fullscreen frame
13611 is closed; they are called before, not after.
13612
13613 May address Bug#21428.
13614
13615 2015-11-07 Eli Zaretskii <eliz@gnu.org>
13616
13617 Speed up lookup in redisplay--variables
13618
13619 * lisp/frame.el (redisplay--variables): Make it a hash-table.
13620
13621 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
13622 as a hash-table. This speeds up this function by an order of
13623 magnitude: where previously a setq was slowed down by 100% by
13624 introducing the maybe_set_redisplay test, it is now only 5%
13625 slower.
13626 (syms_of_xdisp) <redisplay--variables>: Doc fix.
13627
13628 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
13629
13630 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
13631
13632 The defsubst was being created as:
13633 (cl-defsubst name (args) ("DOC") ...)
13634
13635 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
13636 Add test.
13637
13638 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
13639
13640 Update doc string of hexl-mode
13641
13642 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
13643
13644 2015-11-07 Eli Zaretskii <eliz@gnu.org>
13645
13646 Fix error in copy-abbrev-table
13647
13648 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
13649 property of the abbrev-table. (Bug#21828)
13650
13651 * test/automated/abbrev-tests.el: New file.
13652
13653 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
13654
13655 Add test to auto-revert-tests.el for Bug#21841
13656
13657 * test/automated/auto-revert-tests.el
13658 (auto-revert-test01-auto-revert-several-files): New test.
13659 (auto-revert-test02-auto-revert-tail-mode)
13660 (auto-revert-test03-auto-revert-mode-dired): Rename them.
13661
13662 2015-11-07 Martin Rudalics <rudalics@gmx.at>
13663
13664 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
13665
13666 2015-11-07 Martin Rudalics <rudalics@gmx.at>
13667
13668 In x_consider_frame_title don't set title of tooltip frames
13669
13670 * src/xdisp.c (x_consider_frame_title): Return immediately for
13671 tooltip frames to avoid displaying empty tooltips.
13672
13673 2015-11-06 Anders Lindgren <andlind@gmail.com>
13674
13675 Fixed NextStep fullscreen problem (bug#21770).
13676
13677 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
13678 fullscreen frames.
13679
13680 2015-11-06 Eli Zaretskii <eliz@gnu.org>
13681
13682 Ensure redisplay after evaluation
13683
13684 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
13685 Revert last change.
13686 * lisp/frame.el (redisplay--variables): Populate the
13687 redisplay--variables list.
13688 * src/xdisp.c (maybe_set_redisplay): New function.
13689 (syms_of_xdisp) <redisplay--variables>: New variable.
13690 * src/window.h (maybe_set_redisplay): Declare prototype.
13691 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
13692
13693 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
13694
13695 * test/automated/subr-tests.el (subr-test-when): Fix again.
13696
13697 2015-11-06 Eli Zaretskii <eliz@gnu.org>
13698
13699 Don't invoke overlay modification hooks in wrong buffer
13700
13701 * src/buffer.c (report_overlay_modification): When called with
13702 AFTER non-zero, don't invoke overlay modification hooks if the
13703 buffer recorded in last_overlay_modification_hooks is different
13704 from the current buffer. (Bug#21824)
13705
13706 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
13707
13708 * admin/notes/repo: Fix a few obsolete references to Bazaar.
13709
13710 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
13711
13712 * test/automated/subr-tests.el (subr-test-when): Fix test.
13713
13714 2015-11-06 Martin Rudalics <rudalics@gmx.at>
13715
13716 Avoid division by zero crash observed by Yuan MEI
13717
13718 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
13719
13720 * src/dispnew.c (required_matrix_height, required_matrix_width):
13721 Avoid division by zero.
13722 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
13723 dpyinfo->smallest_char_width to 1.
13724
13725 2015-11-06 Eli Zaretskii <eliz@gnu.org>
13726
13727 Ensure redisplay after "C-x C-e"
13728
13729 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
13730 redisplay happens to account for any side effects of the evaluated
13731 sexp. (Bug#21835)
13732
13733 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
13734
13735 Skip some file notification tests for cygwin
13736
13737 * test/automated/file-notify-tests.el (file-notify--test-with-events):
13738 Remove argument TIMEOUT. Adapt all callees.
13739 (file-notify-test02-events, file-notify-test04-file-validity):
13740 Skip for cygwin. (Bug#21804)
13741
13742 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
13743
13744 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
13745
13746 2015-11-05 Daiki Ueno <ueno@gnu.org>
13747
13748 Suppress redundant Pinentry startup messages
13749
13750 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
13751 * lisp/epg.el: Declare `pinentry-start'.
13752 (epg--start): Call `pinentry-start' with QUIET argument set.
13753
13754 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
13755
13756 * doc/emacs/ack.texi (Acknowledgments): Updates.
13757
13758 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
13759
13760 * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
13761 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
13762
13763 2015-11-05 Tassilo Horn <tsdh@gnu.org>
13764
13765 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
13766 Add prettification support for \times.
13767
13768 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
13769
13770 * test/automated/process-tests.el: Skip tests when bash is unavailable.
13771 (process-test-sentinel-accept-process-output)
13772 (process-test-sentinel-sit-for): skip-unless bash executable found.
13773
13774 2015-11-05 Eli Zaretskii <eliz@gnu.org>
13775
13776 Add test for bug #21831
13777
13778 * test/automated/process-tests.el
13779 (start-process-should-not-modify-arguments): New test. (Bug#21831)
13780 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
13781
13782 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
13785
13786 (eieio--generic-static-object-generalizer): Fix typo.
13787 * test/automated/eieio-tests.el: Byte-compile it again. It looks
13788 like the underlying cause of bug#17852 was fixed in the mean time.
13789
13790 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
13791
13792 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
13793
13794 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
13795 It breaks bootstrapping (duh).
13796
13797 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
13798
13799 * lisp/files.el (report-errors): Obsolete.
13800
13801 (normal-mode, hack-local-variables, dir-locals-find-file):
13802 Use `with-demoted-errors' instead.
13803
13804 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
13805
13806 * lisp/subr.el (when): Use `macroexp-progn'.
13807
13808 * test/automated/subr-tests.el (subr-test-when): New test.
13809
13810 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
13811
13812 * lisp/progmodes/xref.el: Doc fixes.
13813 (xref-make-file-location, xref-make-buffer-location, xref-make)
13814 (xref-make-bogus-location, xref-make-match): Add cross-references.
13815 (xref--insert-xrefs): Fix typo in docstring.
13816
13817 2015-11-04 Anders Lindgren <andlind@gmail.com>
13818
13819 Render fringe bitmaps correctly on NextStep (bug#21301)
13820
13821 The fringe bitmaps were inverted, the background was not transparent,
13822 the image data was horizontally mirrored, and periodic fringe bitmaps
13823 were not supported.
13824
13825 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
13826 When both background and foreground colors are 0, set the background
13827 alpha channel to 0 (making the background transparent). When
13828 copying the image data, do this from the most significant bit
13829 (leftmost) to the least (rightmost), to avoid mirroring.
13830 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
13831 Add support for periodic images (e.g. the empty line indicator).
13832
13833 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
13834
13835 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
13836
13837 2015-11-03 Nicolas Petton <nicolas@petton.fr>
13838
13839 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
13840
13841 * admin/MAINTAINERS: Add thunk.el.
13842
13843 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
13844
13845 * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
13846
13847 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
13848
13849 Fix a stupid error in gfilenotify.c
13850
13851 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
13852 if we've got a `deleted' signal AND the file name is the watched one.
13853
13854 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
13855
13856 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
13857
13858 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
13859 Use case-insensitive string compare for file names.
13860 (emacs-test-dir): Add 'downcase' to cause case differences (at
13861 least on my system).
13862
13863 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
13864
13865 flymake-tests.el (warning-predicate-rx-gcc): Fix check
13866
13867 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
13868 Also check that "make" is available, not just "gcc".
13869
13870 2015-11-02 Ken Brown <kbrown@cornell.edu>
13871
13872 Document behavior of collation on Cygwin
13873
13874 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
13875 expected failure on Cygwin.
13876 * doc/lispref/strings.texi (Text Comparison): Document that
13877 punctuation and whitespace are not ignored for sorting on Cygwin.
13878
13879 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
13880
13881 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
13882
13883 2015-11-01 Glenn Morris <rgm@gnu.org>
13884
13885 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
13886 (Bug#21794)
13887 * test/automated/f90.el (f90-test-bug21794): New test.
13888
13889 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
13890
13891 Fix incompatibility with TCC in test for bug#18745
13892
13893 * test/automated/process-tests.el (process-test-quoted-batfile):
13894 Remove spaces unrelated to the bug being tested.
13895
13896 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
13897
13898 Improve completion in tramp-gvfs.el
13899
13900 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
13901 Rename from `tramp-zeroconf-parse-service-device-names'.
13902 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
13903 with `tramp-zeroconf-parse-device-names'.
13904 (tramp-gvfs-parse-device-names): New defun.
13905 (top): Use it when `tramp-zeroconf-parse-device-names' is not
13906 applicable.
13907
13908 * lisp/net/tramp.el (tramp-set-completion-function): The argument
13909 could also be a zeroconf service type.
13910
13911 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
13912
13913 * lisp/net/ntlm.el: Change version to 2.0.0.
13914
13915 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
13916
13917 Fix bug#21762
13918 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
13919 `eql' instead of `=' to accommodate the case that (syntax-after (point))
13920 returns nil.
13921 * test/automated/python-tests.el (python-indent-inside-paren-7):
13922 New test.
13923
13924 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
13925
13926 * test/automated/python-tests.el: Avoid warnings.
13927 (python-tests-with-temp-buffer, python-tests-with-temp-file):
13928 Bind `python-indent-guess-indent-offset' to nil.
13929
13930 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
13931
13932 * src/alloc.c: Silence compiler warnings.
13933 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
13934
13935 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
13936
13937 * etc/NEWS: Fix js-jsx-mode entry punctuation.
13938
13939 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
13940
13941 Add JSX indentation via js-jsx-mode (Bug#21799)
13942
13943 * lisp/progmodes/js.el: Add JSX indentation support.
13944 (js--jsx-end-tag-re)
13945 (js--jsx-after-tag-re): New variables.
13946 (js--jsx-find-before-tag)
13947 (js--jsx-indented-element-p)
13948 (js--as-sgml)
13949 (js--expression-in-sgml-indent-line)
13950 (js-jsx-indent-line)
13951 (js-jsx-mode): New functions.
13952 * test/indent/js-jsx.js: New file.
13953 * etc/NEWS: Add information about js-jsx-mode.
13954
13955 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
13956
13957 Minor fix in filenotify.el
13958
13959 * lisp/filenotify.el (file-notify--event-file-name)
13960 (file-notify--event-file1-name): Normalize result with
13961 `directory-file-name'.
13962
13963 2015-10-31 Eli Zaretskii <eliz@gnu.org>
13964
13965 Avoid errors in redisplay--pre-redisplay-functions
13966
13967 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
13968 use 'bobp', instead compare window-point with 1. (Bug#21730)
13969
13970 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
13971
13972 Merge from gnulib
13973
13974 This incorporates:
13975 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
13976 2015-10-25 stdalign: port to Sun C 5.9
13977 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
13978 Copy from gnulib.
13979
13980 2015-10-30 Eli Zaretskii <eliz@gnu.org>
13981
13982 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
13983 (w32_compare_strings): Adjust for the correction.
13984
13985 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
13986
13987 * test/automated/vc-tests.el (vc-test--state)
13988 (vc-test--working-revision, vc-test--checkout-model):
13989 Add result messages.
13990
13991 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
13992
13993 * test/automated/faces-tests.el: Add another test
13994
13995 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
13996
13997 * lisp/faces.el (faces--attribute-at-point): Fix bug
13998 introduced by previous commit.
13999
14000 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14001
14002 * test/automated/faces-tests.el: New file.
14003
14004 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14005
14006 * lisp/faces.el: Refactor common code and fix a bug.
14007 (faces--attribute-at-point): New function. Fix a bug when the
14008 face at point is a list of faces and the desired attribute is not
14009 on the first one.
14010 (foreground-color-at-point, background-color-at-point): Use it.
14011
14012 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
14013
14014 * etc/tutorials/TUTORIAL.translators: Fix PL names.
14015
14016 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
14017
14018 * lisp/character-fold.el: Provide `character-fold'.
14019
14020 2015-10-30 Tassilo Horn <tsdh@gnu.org>
14021
14022 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
14023 for Gnus and ivy.
14024
14025 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
14026
14027 Some minor fixes for tramp-gvfs.el
14028
14029 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
14030 An attribute returned by gvfs-info might be empty. In case of
14031 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
14032 (tramp-zeroconf-parse-service-device-names): New defun.
14033 Derived from `tramp-zeroconf-parse-workstation-device-names'.
14034 (top): Add completion functions for "afp" and "smb" methods.
14035
14036 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14037
14038 * test/automated/character-fold-tests.el: New file
14039
14040 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14041
14042 * test/automated/sort-tests.el: New file.
14043 Tests in this file are randomly generated and then tested with
14044 regular, reverse, and case-fold sorting.
14045
14046 2015-10-30 Eli Zaretskii <eliz@gnu.org>
14047
14048 Describe known problems with pinning Emacs to taskbar
14049
14050 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
14051 on Windows 10. For the details, see the discussion starting at
14052 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
14053
14054 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14055
14056 * lisp/isearch.el: Avoid an error that blocks isearch.
14057 (isearch-update): Don't error if `isearch--current-buffer' has
14058 been killed.
14059
14060 * test/automated/isearch-tests.el (isearch--test-update):
14061 New file.
14062
14063 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
14064
14065 Fix documentation of 'beginning/end-of-buffer'
14066
14067 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
14068 conditions under which the mark will be pushed at the previous
14069 position. (Bug#21748)
14070
14071 2015-10-30 Tassilo Horn <tsdh@gnu.org>
14072
14073 Add RefTeX feature idea: editing RefTeX TOC buffers
14074
14075 More face defs for ivy, swiper, ace-window, eshell
14076
14077 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14078
14079 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
14080 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
14081 just VAR.
14082 (auth-source-backend-parse): Use make-instance.
14083 (auth-source-search): Remove unused key args.
14084 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
14085 (auth-source-search-backends): Use slot names rather than their initarg.
14086 (auth-source-netrc-create):
14087 (auth-source-delete):
14088 (auth-source-secrets-create, auth-source-plstore-search)
14089 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
14090 (auth-source-plstore-create, auth-source-netrc-search)
14091 (auth-source-netrc-parse): Remove unused key args.
14092 (auth-source-forget+): Simplify the arglist.
14093 (auth-source-macos-keychain-search-items)
14094 (auth-source-token-passphrase-callback-function): Mark unused args.
14095 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
14096 (pp-escape-newlines): Declare.
14097 (auto-source--symbol-keyword): New function.
14098 (auth-source-plstore-create, auth-source-netrc-create)
14099 (auth-source-netrc-normalize): Use it.
14100 (auth-source-netrc-search): Don't pass :delete to
14101 auth-source-netrc-parse since it doesn't use it.
14102 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
14103 symbol-value to index in keyword args.
14104 (auth-source-macos-keychain-result-append): Avoid setq.
14105 (auth-source-netrc-create): Remove unused vars `file' and `add'.
14106 (auth-source-user-or-password): Remove unused var `cname'.
14107
14108 2015-10-29 Juri Linkov <juri@linkov.net>
14109
14110 * lisp/dired.el (dired-unmark-all-files-query): Declare.
14111 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
14112 (Bug#21746)
14113
14114 2015-10-29 Juri Linkov <juri@linkov.net>
14115
14116 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
14117 to go to the beginning of text line instead of command line.
14118 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
14119
14120 2015-10-29 Eli Zaretskii <eliz@gnu.org>
14121
14122 Fix encoding of saving *Help* buffers
14123
14124 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
14125 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
14126
14127 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
14130 (cl--generic-derived-specializers): New function.
14131 (cl--generic-derived-generalizer): New generalizer.
14132 (cl-generic-generalizers): New specializer (derived-mode MODE).
14133 (cl--generic-split-args): Apply the rewriter, if any.
14134 (cl-generic-define-context-rewriter): New macro.
14135 (major-mode): Use it to define a new context-rewriter, so we can write
14136 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
14137
14138 * lisp/frame.el (window-system): New context-rewriter so we can write
14139 `(window-system VAL)' instead of (window-system (eql VAL)).
14140 (cl--generic-split-args): Apply the rewriter, if any.
14141 (frame-creation-function): Use the new syntax.
14142
14143 * lisp/term/x-win.el (window-system-initialization)
14144 (handle-args-function, frame-creation-function)
14145 (gui-backend-set-selection, gui-backend-selection-owner-p)
14146 (gui-backend-selection-exists-p, gui-backend-get-selection):
14147 * lisp/term/w32-win.el (window-system-initialization)
14148 (handle-args-function, frame-creation-function)
14149 (gui-backend-set-selection, gui-backend-get-selection)
14150 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
14151 * lisp/term/pc-win.el (gui-backend-get-selection)
14152 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
14153 (gui-backend-set-selection, window-system-initialization)
14154 (frame-creation-function, handle-args-function):
14155 * lisp/term/ns-win.el (window-system-initialization)
14156 (handle-args-function, frame-creation-function)
14157 (gui-backend-set-selection, gui-backend-selection-exists-p)
14158 (gui-backend-get-selection):
14159 * lisp/startup.el (handle-args-function):
14160 * lisp/term/xterm.el (gui-backend-get-selection)
14161 (gui-backend-set-selection): Use the new syntax.
14162
14163 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * test/indent/css-mode.css: Add tests for url(...) syntax.
14166
14167 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
14170 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
14171 (smie-prec2->grammar): Use `declare'.
14172
14173 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14174
14175 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
14176 (cl--generic-generalizer): Add `name' field.
14177 (cl-generic-make-generalizer): Add corresponding `name' argument.
14178 (cl-generic-define-generalizer): New macro.
14179 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
14180 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
14181 (cl--generic-t-generalizer): Use it.
14182 (cl-generic-ensure-function): Add `noerror' argument.
14183 (cl-generic-define): Use it so we don't follow aliases.
14184 (cl-generic-define-method): Preserve pre-existing ordering of methods.
14185 (cl--generic-arg-specializer): New function.
14186 (cl--generic-cache-miss): Use it.
14187 (cl-generic-generalizers): Only fset a temporary definition
14188 during bootstrap.
14189 (cl--generic-struct-tag, cl--generic-struct-specializers):
14190 Allow extra arguments.
14191
14192 * lisp/emacs-lisp/eieio-compat.el
14193 (eieio--generic-static-symbol-generalizer)
14194 (eieio--generic-static-object-generalizer):
14195 Use cl-generic-define-generalizer.
14196 (eieio--generic-static-symbol-specializers): Allow extra arguments.
14197
14198 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
14199 (eieio--generic-subclass-generalizer):
14200 Use cl-generic-define-generalizer.
14201 (eieio--generic-subclass-specializers): Allow extra arguments.
14202
14203 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
14206
14207 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
14208
14209 Add "afp" method to Tramp
14210
14211 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
14212
14213 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
14214 (tramp-gvfs-handle-expand-file-name)
14215 (tramp-gvfs-handler-mounted-unmounted)
14216 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
14217 (tramp-gvfs-maybe-open-connection): Support also "afp".
14218 (tramp-gvfs-handle-file-attributes): Handle the case of empty
14219 "owner::user" and "owner::group" entries.
14220
14221 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
14222
14223 Handle negative coordinates in ‘x_calc_absolute_position’
14224
14225 * src/w32term.c (x_calc_absolute_position): Find display origin to
14226 allow for negative coordinates.
14227
14228 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 (internal--syntax-propertize): Save match-data here (bug#21766)
14231
14232 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
14233 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
14234
14235 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
14236
14237 Don't require default-directory to end with a slash
14238
14239 * doc/lispref/files.texi (Magic File Names): Document the change
14240 in unhandled-file-name-directory.
14241
14242 * lisp/url/url-handlers.el
14243 (url-handler-unhandled-file-name-directory): Update accordingly.
14244
14245 * src/buffer.c (default-directory): Update the docsting.
14246
14247 * src/fileio.c (unhandled-file-name-directory): Default to calling
14248 `file-name-as-directory'
14249 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
14250
14251 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14252
14253 * lisp/isearch.el: Delete some outdated comments.
14254
14255 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
14256
14257 Fix eshell/clear not working if the output has a small line count
14258
14259 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
14260 number of newlines to be inserted. This fixes the issue where
14261 eshell/clear wouldn't work if the prompt was not at the bottom of the
14262 window, and the output wasn't too long.
14263
14264 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 * lisp/files.el (write-file): Use vc-refresh-state.
14267
14268 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
14269
14270 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
14271
14272 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14273
14274 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
14275 (macroexp-unprogn): Make sure we never return an empty list.
14276 (macroexp-if): Remove unused (and unsafe) optimization.
14277 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
14278 occur occasionally.
14279
14280 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
14281
14282 Fix bug#21766 and add test
14283 * lisp/simple.el (delete-trailing-whitespace): Save match data when
14284 calling `skip-syntax-backward'.
14285 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
14286 New test.
14287
14288 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14289
14290 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
14291
14292 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
14293
14294 * src/dispnew.c (init_display): Simplify overflow checking.
14295
14296 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14297
14298 * lisp/character-fold.el (character-fold-to-regexp): Fix case
14299 where string ends in space
14300
14301 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14302
14303 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
14304
14305 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
14306
14307 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14308
14309 * lisp/character-fold.el: Make compatible with lax-whitespace.
14310 (character-fold-to-regexp): Rework internals to play nice with
14311 lax-whitespacing.
14312
14313 When the user types a space, we want to match the table entry for
14314 ?\s, which is generally a regexp like "[ ...]". However, the
14315 `search-spaces-regexp' variable doesn't "see" spaces inside these
14316 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
14317 manually expose a space).
14318
14319 Furthermore, the lax search engine acts on a bunch of spaces, not
14320 on individual spaces, so if the string contains sequential spaces
14321 like " ", we need to keep them grouped together like this:
14322 "\\( \\|[ ...][ ...]\\)".
14323
14324 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14325
14326 * lisp/isearch.el: Refactor momentary messages.
14327 (isearch--momentary-message): New function.
14328 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
14329 (isearch-toggle-invisible): Use it.
14330
14331 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14332
14333 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
14334 (isearch-define-mode-toggle): New macro.
14335 (isearch-toggle-invisible): Rename to
14336 `isearch-define-mode-toggle'.
14337 (isearch-toggle-case-fold, isearch-toggle-invisible)
14338 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
14339 with `isearch-define-mode-toggle'.
14340
14341 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
14342
14343 Avoid using `add-to-list' on a let-local var in tramp-smb.el
14344
14345 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
14346 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
14347
14348 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
14349
14350 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
14351 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
14352 does not exist in XEmacs 21.4.
14353
14354 2015-10-28 Anders Lindgren <andlind@gmail.com>
14355
14356 Fixed OS X startup crash
14357
14358 Input events started to arrive before ns_term_init() was finished.
14359 Solved by blocking input. This also seems to correct the "You
14360 can't open the application "Emacs" because it may be damaged or
14361 incomplete" error issued when double-clicking on the Emacs
14362 application.
14363
14364 * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
14365 * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
14366
14367 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14368
14369 * src/process.c (Fget_buffer_process): Improve docstring.
14370 Document the fact that it doesn't return dead processes.
14371
14372 2015-10-28 Anders Lindgren <andlind@gmail.com>
14373
14374 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
14375
14376 * src/nsterm.h (struct ns_output): New flag, in_animation.
14377 * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
14378 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
14379 in_animation flag around call to "setVisible". Set new tool bar
14380 height before call to setVisible.
14381 * src/nsterm.m (x_set_window_size): Don't call [view setRow:
14382 andColumns:] as this fools the subsequent call to updateFrameSize
14383 from performing the real resize.
14384 (windowDidResize): Don't update anything when in_animation is
14385 non-zero.
14386
14387 Trace output.
14388
14389 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
14390 (EmacsToolbar):
14391 * src/nsterm.m (x_set_window_size, updateFrameSize)
14392 ([EmacsView setRows: andColumns:])
14393
14394 2015-10-28 Nicolas Petton <nicolas@petton.fr>
14395
14396 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
14397
14398 2015-10-28 Tassilo Horn <tsdh@gnu.org>
14399
14400 Prettify TeX macros not ending in a word char
14401
14402 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
14403 Prettify macros which don't end in a word character.
14404
14405 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
14406
14407 Pipe Hg commit descriptions through 'tabindent'
14408
14409 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
14410 through 'tabindent'.
14411 (vc-hg-log-view-mode): Set tab-width to 2 locally.
14412 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
14413
14414 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14415
14416 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
14417 (tramp-smb-handle-directory-files): Use `delete-dups'.
14418
14419 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
14420
14421 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 * lisp/international/ccl.el: Use lexical-binding.
14424 (ccl-compile-if): Remove unused var `false-ic'.
14425 (ccl-compile-write-repeat): Remove unused var `i'.
14426 (ccl-compile-map-single): Remove unused var `id'.
14427 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
14428 dynamic var `ccl-code'.
14429
14430 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * lisp/json.el (json-new-object): Optimize trivial `list' call.
14433
14434 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14435
14436 * lisp/help.el: Fix bug with incorrect arglist string.
14437 (help-add-fundoc-usage): Don't mistake a mis-formatted string
14438 for a list.
14439
14440 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14441
14442 * lisp/gnus/gnus-topic.el: Silence some warnings.
14443 (gnus-topic-prepare-topic): Remove unused var `topic'.
14444 (gnus-topic-remove-topic): Mark unused arg `hide'.
14445 (gnus-tmp-header): Declare.
14446 (gnus-topic-goto-missing-group): Remove unused var `entry'.
14447 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
14448 (gnus-topic-copy-matching): Mark unused arg `copyp'.
14449 Move initialization of `topic' into its declaration.
14450
14451 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
14452
14453 Minor CEDET fixes
14454
14455 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
14456 Handle warnings from gtags about invalid options.
14457 (cedet-gnu-global-create/update-database): Do incremental update
14458 properly.
14459
14460 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
14461 Get monotone root right.
14462
14463 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
14464
14465 Fall back to polling in autorevert when needed
14466
14467 * lisp/autorevert.el (auto-revert-notify-handler): When a
14468 `stopped' event arrives from file notification, fall back to polling.
14469
14470 * test/automated/file-notify-tests.el
14471 (file-notify-test03-autorevert): Extend test for polling when file
14472 notification ceases to work.
14473
14474 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
14475
14476 Show full commit messages in 'hg log' when appropriate
14477
14478 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
14479 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
14480 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
14481
14482 2015-10-27 Nicolas Petton <nicolas@petton.fr>
14483
14484 Use a plain SVG file for the icon
14485
14486 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
14487 format instead of the Inkscape SVG format.
14488
14489 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
14490
14491 Fix subtle bug in auto-revert-tests.el
14492
14493 * test/automated/auto-revert-tests.el
14494 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
14495 buffer where it belongs to. (Bug#21668)
14496
14497 2015-10-26 Nicolas Petton <nicolas@petton.fr>
14498
14499 * lisp/emacs-lisp/map.el: Better docstrings.
14500
14501 * lisp/emacs-lisp/seq.el: Better docstrings.
14502
14503 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
14504
14505 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
14506
14507 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
14508
14509 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
14510
14511 Clarify that load-path contents should be directory file names
14512
14513 * doc/lispref/files.texi (Directory Names): Define and use "directory
14514 file name". Recommend `expand-file-name'.
14515
14516 * src/lread.c (load-path): Fix doc string; elements are directory file
14517 names.
14518
14519 2015-10-26 Eli Zaretskii <eliz@gnu.org>
14520
14521 Fix simple-test.el test
14522
14523 * test/automated/simple-test.el (simple-test--dummy-buffer):
14524 Make sure indentation doesn't use TABs, otherwise the 6th test
14525 might fail.
14526
14527 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
14528
14529 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
14530 `substring' does not account for full width characters.
14531
14532 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
14533
14534 Further work on `stopped' events in filenotify.el
14535
14536 * doc/lispref/os.texi (File Notifications): Rework examples.
14537
14538 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
14539 (file-notify--rm-descriptor, file-notify-callback): Improve check
14540 for sending `stopped' event.
14541 (file-notify-add-watch): Check for more events for `inotify'.
14542
14543 * test/automated/file-notify-tests.el
14544 (file-notify--test-expected-events): New defvar.
14545 (file-notify--test-with-events): Use it.
14546 (file-notify--test-cleanup): Make it more robust when deleting
14547 directories.
14548 (file-notify--test-event-test): Check also for watched directories.
14549 (file-notify--test-event-handler): Suppress temporary .#files.
14550 (file-notify-test02-events, file-notify-test04-file-validity):
14551 Rework `stopped' events.
14552 (file-notify-test05-dir-validity): Wait for events when appropriate.
14553
14554 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
14555
14556 * src/keyboard.c (post-command-hook): Shorten docstring.
14557
14558 2015-10-26 Tassilo Horn <tsdh@gnu.org>
14559
14560 Fix infinite loop in sh-script's SMIE code
14561
14562 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
14563 loop (bug#21747).
14564
14565 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
14566
14567 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
14568 Character-fold search _still_ doesn't play well with
14569 lax-whitespace. So disable it by default (again) for now.
14570
14571 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
14572
14573 * lisp/isearch.el: No visual feedback for default search mode.
14574 During an isearch where character-folding is the default, we don't
14575 want to take up minibuffer space just to tell the user that
14576 "Char-fold " is on. The same goes for other modes, if the user
14577 changes the default. In contrast, if the user toggles OFF the
14578 default mode, they should see "Literal", to distinguish it from
14579 the default mode.
14580 (isearch--describe-regexp-mode): Return "" if describing the
14581 default mode, and return "literal " if describing a plain search
14582 and it is not default.
14583
14584 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
14585
14586 * test/automated/simple-test.el: New file.
14587 Define tests for `newline' and `open-line'.
14588
14589 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
14590
14591 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
14592 Also run `post-self-insert-hook' when called interactively.
14593
14594 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
14595
14596 * lisp/simple.el (open-line): Fix docstring.
14597 Also explain apparently redundant line.
14598
14599 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14600 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
14601
14602 Sync with soap-client repository, version 3.0.1
14603
14604 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
14605 Bump version to 3.0.1.
14606
14607 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
14608
14609 2015-10-25 Eli Zaretskii <eliz@gnu.org>
14610
14611 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
14612
14613 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
14614
14615 * src/keyboard.c (post-command-hook): Extend the docstring.
14616 Mainly, explain how to use it without hanging Emacs, or giving the
14617 impression that it is hanging. Also mention `pre-command-hook'.
14618 (pre-command-hook): Mention `post-command-hook'.
14619
14620 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
14621
14622 * lisp/custom.el (custom-declare-variable): Shorten code again.
14623 Without using pcase this time. We can't use pcase because it is
14624 loaded after custom in loadup.el. Also add a comment explaining
14625 this to future dummies like me.
14626
14627 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
14628
14629 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
14630
14631 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
14632
14633 Introduce `stopped' event in file notification
14634
14635 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
14636 (file-notify-rm-watch): Use it.
14637 (file-notify-callback): Implement `stopped' event.
14638 (file-notify-add-watch): Mention `stopped' in the docstring.
14639 Check, that upper directory exists.
14640
14641 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
14642 Add two test cases.
14643 (file-notify-test02-events): Handle also `stopped' event.
14644 (file-notify-test04-file-validity): Add another test case.
14645
14646 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
14647
14648 Revert commit that broke 'make bootstrap'
14649
14650 * lisp/custom.el (custom-declare-variable): Revert commit
14651 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
14652 even when pcase has not been defined yet, when doing bootstrapping.
14653
14654 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
14655
14656 Port recent inline functions fix to Standard C
14657
14658 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
14659 All uses rewritten to define the function directly rather than to
14660 use a macro to define the function. This conforms to Standard C,
14661 which does not allow stray semicolons at the top level. I hope it
14662 also avoids the problems with TAGS. Those macros, though clever,
14663 were pretty confusing anyway, and it wasn’t clear they were worth
14664 the aggravation even without the TAGS problem.
14665
14666 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
14667
14668 * lisp/isearch.el: Make character-fold search the default again.
14669
14670 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
14671
14672 * lisp/character-fold.el: Many improvements.
14673 (character-fold-search-forward, character-fold-search-backward):
14674 New command.
14675 (character-fold-to-regexp): Remove lax-whitespace hack.
14676 (character-fold-search): Remove variable. Only isearch and
14677 query-replace use char-folding, and they both have their own
14678 variables to configure that.
14679
14680 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
14681
14682 * lisp/isearch.el: Generalize definition of regexp-function toggles.
14683 (isearch-specify-regexp-function): New macro for specifying
14684 possible values of `isearch-regexp-function'.
14685 (isearch-toggle-character-fold, isearch-toggle-symbol)
14686 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
14687
14688 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
14689
14690 * lisp/isearch.el (search-default-regexp-mode): New variable.
14691 (isearch-mode): Use it.
14692
14693 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
14694
14695 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
14696 (search-slow-speed, search-upper-case)
14697 (search-nonincremental-instead, search-whitespace-regexp)
14698 (search-invisible, isearch-hide-immediately)
14699 (isearch-resume-in-command-history, search-ring-max)
14700 (regexp-search-ring-max, search-ring-update, search-highlight)
14701 (isearch-fail): Delete :group entries.
14702
14703 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
14704
14705 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
14706
14707 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
14708
14709 addpm.c: Silence some warnings.
14710
14711 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
14712 to LPBYTE.
14713 (add_registry): Pass NULL to optional lpClass argument of
14714 RegCreateKeyEx, not an empty string.
14715
14716 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
14717
14718 addpm.c: Do not add obsolete GTK libraries to the path.
14719
14720 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
14721 (add_registry): Remove variables `size' and `gtk_key'.
14722 Do not add the GTK DLL directory to the library search path; it is
14723 confusing behavior (in particular, the same Emacs version with and
14724 without invoking addpm will use a different path), and the GTK image
14725 libraries are obsolete anyway.
14726
14727 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
14728
14729 addpm.c: Replace existing registry entries, but do not create new ones
14730
14731 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
14732 existing values from previous versions, but do not add new ones; the
14733 key could exist for other reasons unrelated to old Emacsen, like X-style
14734 resources, or to set some environment variables like HOME or LANG, and
14735 in that case we don't want to populate it with obsolete values.
14736
14737 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
14738
14739 * nt/addpm.c (add_registry): Do not compute unused return value.
14740
14741 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
14742
14743 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
14744
14745 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
14746 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
14747 current behavior because REG_OPTION_NON_VOLATILE is defined to
14748 be 0L anyway, but that option is actually documented only for
14749 RegCreateKeyEx.
14750
14751 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
14752
14753 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
14754
14755 2015-10-24 Eli Zaretskii <eliz@gnu.org>
14756
14757 Update frame title when redisplay scrolls selected window
14758
14759 * src/xdisp.c (redisplay_window): Reconsider the frame's title
14760 when the mode-line of the frame's selected window needs to be
14761 updated.
14762
14763 2015-10-24 Eli Zaretskii <eliz@gnu.org>
14764
14765 Update frame title when scrolling the selected window
14766
14767 * src/window.c (wset_update_mode_line): New function, sets either
14768 the window's update_mode_line flag or the global update_mode_lines
14769 variable.
14770 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
14771 (window_scroll_line_based): Call it instead of only setting the
14772 window's update_mode_line flag.
14773
14774 2015-10-24 Eli Zaretskii <eliz@gnu.org>
14775
14776 An even better fix for bug#21739
14777
14778 * src/window.c (set_window_buffer): If the window is the frame's
14779 selected window, set update_mode_lines, not the window's
14780 update_mode_line flag.
14781 * src/buffer.c (Fkill_buffer): Undo last change.
14782 (set_update_modelines_for_buf): Function deleted.
14783
14784 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14785 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
14786
14787 Sync with soap-client repository, version 3.0.0
14788
14789 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
14790 Bump version to 3.0.0.
14791
14792 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
14793
14794 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
14795
14796 * lisp/net/soap-inspect.el: Shorten first line description.
14797
14798 * lisp/net/soap-client.el: Make a small whitespace fix.
14799
14800 * lisp/net/soap-inspect.el: Update copyright years.
14801
14802 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
14803 first use in soap-encode-xs-element.
14804
14805 * lisp/net/soap-client.el (soap-type-is-array?): new defun
14806 (soap-encode-xs-element): handle array elements in this function
14807 (soap-encode-xs-complex-type): flag error if asked to encode an
14808 array type, this is handled in `soap-encode-xs-element'
14809
14810 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
14811 Do not print type for attribute group.
14812
14813 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
14814 New function.
14815 (soap-inspect-xs-attribute-group): Likewise.
14816
14817 * lisp/net/soap-inspect.el
14818 (soap-resolve-references-for-xs-attribute-group): Resolve
14819 references of attributes in an attribute group.
14820
14821 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
14822 type directly, not through soap-wsdl-get.
14823
14824 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
14825 nil if reference attribute is nil.
14826
14827 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
14828 Convert XML schema attributes to xsd:string.
14829
14830 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
14831 New function.
14832 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
14833 (soap-sample-value-for-xs-complex-type): Likewise.
14834 (soap-inspect-xs-attribute): New function.
14835 (soap-inspect-xs-simple-type): Print attributes.
14836 (soap-inspect-xs-complex-type): Likewise.
14837
14838 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
14839 Resolve references for attributes.
14840 (soap-resolve-references-for-xs-complex-type): Likewise.
14841
14842 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
14843 Rename from soap-xml-node-first-child.
14844 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
14845 (soap-xs-parse-simple-type): Likewise.
14846
14847 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
14848
14849 * lisp/net/soap-client.el (soap-invoke-internal): New function.
14850 (soap-invoke-async): Call soap-invoke-internal.
14851 (soap-invoke): Likewise.
14852
14853 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
14854 url-retrieve callback is killed.
14855
14856 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
14857 Rename function.
14858 (soap-parse-wsdl-phase-fetch-imports): Likewise.
14859 (soap-parse-wsdl-phase-parse-schema): Likewise.
14860 (soap-parse-wsdl-phase-fetch-schema): Likewise.
14861 (soap-parse-wsdl-phase-finish-parsing): Likewise.
14862 (soap-parse-wsdl): Update calls.
14863
14864 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
14865
14866 * lisp/net/soap-client.el (soap-invoke-async): New function.
14867 (soap-invoke): Reimplement using soap-invoke-async.
14868
14869 * lisp/net/soap-client.el (soap-parse-server-response):
14870 Improve docstring.
14871 (soap-invoke): Inline call to soap-parse-server-response.
14872
14873 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
14874 Prevent incorrect warning.
14875
14876 * lisp/net/soap-client.el (soap-parse-server-response):
14877 Rename soap-process-url-response. Destroy the mime part.
14878 (soap-invoke): Call soap-parse-server-response.
14879
14880 * lisp/net/soap-client.el: Update copyright date.
14881
14882 * lisp/net/soap-client.el: Fix checkdoc issues.
14883
14884 * lisp/net/soap-client.el: Fix indentation and long lines.
14885
14886 * lisp/net/soap-client.el (soap-time-format): Remove variable.
14887 (soap-encode-xs-basic-type): Simplify date-time format detection.
14888 (soap-decode-xs-basic-type): Remove soap-time-format support.
14889
14890 * lisp/net/soap-client.el (soap-process-url-response): New function.
14891 (soap-fetch-xml-from-url): Call soap-process-url-response.
14892 (soap-parse-wsdl-phase-1): New function.
14893 (soap-parse-wsdl-phase-2): Likewise.
14894 (soap-parse-wsdl-phase-3): Likewise.
14895 (soap-parse-wsdl-phase-4): Likewise.
14896 (soap-parse-wsdl-phase-5): Likewise.
14897 (soap-parse-wsdl): Call phase functions.
14898
14899 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
14900 Remove one-argument and call.
14901
14902 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
14903
14904 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
14905 (soap-parse-schema): Add wsdl argument. Look up XML schema
14906 imports from wsdl.
14907 (soap-load-wsdl): Do not set soap-xmlschema-imports.
14908 (soap-parse-wsdl): Get XML schema imports from wsdl.
14909
14910 * lisp/net/soap-client.el (soap-current-file): Remove variable.
14911 (soap-wsdl): Add current-file slot.
14912 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
14913 file from wsdl.
14914 (soap-fetch-xml-from-file): Likewise.
14915 (soap-fetch-xml): Likewise.
14916 (soap-load-wsdl): Always create wsdl object first.
14917 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
14918
14919 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
14920 (soap-xs-parse-element): Set is-group slot.
14921 (soap-resolve-references-for-xs-element): Skip is-group elements.
14922 (soap-xs-complex-type): Add is-group slot.
14923 (soap-xs-parse-complex-type): Set is-group slot.
14924 (soap-xs-parse-sequence): Parse xsd:group elements.
14925 (soap-resolve-references-for-xs-complex-type): Inline elements
14926 from referenced xsd:group nodes.
14927 (soap-parse-schema): Parse xsd:group nodes.
14928
14929 * lisp/net/soap-client.el (soap-invoke):
14930 Don't set url-http-version to 1.0.
14931
14932 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
14933 Allow choice nodes to accept multiple values.
14934
14935 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
14936 for extra header values.
14937
14938 * lisp/net/soap-client.el (soap-well-known-xmlns):
14939 Add wsa and wsaw tags.
14940 (soap-operation): Add input-action and output-action slots.
14941 (soap-parse-operation): Parse wsaw:Action nodes.
14942 (soap-encode-body): Encode service-url for WS-Addressing.
14943 (soap-create-envelope): Likewise.
14944 (soap-invoke): Update soap-create-envelope call to provide
14945 service-url argument.
14946
14947 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
14948 Support xsi:type override attribute.
14949 (soap-decode-array): Likewise.
14950
14951 * lisp/net/soap-client.el (soap-parse-schema):
14952 Handle location attribute.
14953
14954 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
14955 matched validation regexp.
14956
14957 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
14958 Encode xsd:list nodes.
14959 (soap-decode-xs-simple-type): Decode xsd:list nodes.
14960
14961 * lisp/net/soap-client.el (soap-get-candidate-elements):
14962 Fix reference handling.
14963
14964 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
14965 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
14966 (soap-xs-add-list): New function.
14967
14968 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
14969 expected, interpret nil as "false".
14970
14971 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
14972 gYear, gMonthDay, gDay and gMonth.
14973
14974 * lisp/net/soap-client.el (soap-time-format): New variable.
14975 (soap-encode-xs-basic-type): Handle dateTime, time, date,
14976 gYearMonth, gYear, gMonthDay, gDay and gMonth.
14977 (soap-decode-date-time): New function.
14978 (soap-decode-xs-basic-type): Use soap-decode-date-time.
14979
14980 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
14981 after encoding.
14982 (soap-decode-xs-basic-type): Validate value before decoding.
14983
14984 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
14985 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
14986
14987 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
14988 instead of overwriting it.
14989 (soap-validate-xs-simple-type): Add union support.
14990
14991 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
14992 to Emacs regexp using xsdre-translate.
14993 (soap-validate-xs-simple-type): Validate value against pattern.
14994
14995 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
14996 inline simpleType nodes.
14997 (soap-decode-type): Handle union types.
14998
14999 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
15000 attributes.
15001
15002 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
15003 from soap-xs-attribute-group-consolidate, all callers updated
15004 (soap-get-xs-attributes): Rename from
15005 soap-xs-attributes-consolidate, all callers updated
15006
15007 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
15008 (soap-xs-attribute-group): New type.
15009 (soap-xs-parse-attribute-group): New function.
15010 (soap-resolve-references-for-xs-attribute-group): Likewise.
15011 (soap-xs-add-extension): Handle attribute groups.
15012 (soap-resolve-references-for-xs-simple-type): Likewise.
15013 (soap-xs-parse-complex-type): Likewise.
15014 (soap-xs-parse-extension-or-restriction): Likewise.
15015 (soap-resolve-references-for-xs-complex-type): Likewise.
15016 (soap-xs-attribute-group-consolidate): New function.
15017 (soap-xs-attributes-consolidate): Handle attribute groups.
15018 (soap-parse-schema): Likewise.
15019
15020 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
15021 Fix boolean encoding.
15022
15023 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
15024 element names in warnings.
15025
15026 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
15027
15028 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
15029 Eliminate invalid warnings for choice types.
15030
15031 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
15032 Also encode base type attributes.
15033
15034 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
15035 warning. Print e-name in warnings, or element if e-name is nil.
15036
15037 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
15038 (soap-xs-parse-element): Set substitution-group.
15039 (soap-resolve-references-for-xs-element): Populate alternatives slot.
15040 (soap-get-candidate-elements): New function.
15041 (soap-encode-xs-complex-type): Iterate through all candidate elements.
15042 Handle types with nil type indicator. Fix warning logic.
15043
15044 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
15045 earlier in the file to prevent compiler warning.
15046
15047 * lisp/net/soap-client.el (soap-node-optional): New function.
15048 (soap-node-multiple): Likewise.
15049 (soap-xs-parse-element): Call soap-node-optional and
15050 soap-node-multiple.
15051 (soap-xs-complex-type): Add optional? and multiple? slots.
15052 (soap-xml-get-children-fq): New function.
15053 (soap-xs-element-get-fq-name): Likewise.
15054 (soap-xs-complex-type-optional-p): Likewise.
15055 (soap-xs-complex-type-multiple-p): Likewise.
15056 (soap-xs-attributes-consolidate): Likewise.
15057 (soap-decode-xs-attributes): Likewise.
15058 (soap-decode-xs-complex-type): Decode types with nil type indicator.
15059 Support children that use local namespaces. Decode attributes.
15060 Add type considerations to optional? and multiple? warnings.
15061
15062 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
15063 Store parsed attributes.
15064 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
15065
15066 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
15067 Don't add the xsi:type attribute (Exchange refuses requests which have
15068 this attribute).
15069
15070 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
15071 correct compiler warnings about unused function arguments and
15072 local variables.
15073
15074 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
15075 type indicator.
15076 (soap-parse-envelope): Handle response headers.
15077 (soap-parse-response): Likewise. Only return non-nil decoded values.
15078
15079 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
15080 Return validated value.
15081
15082 * lisp/net/soap-client.el (soap-xs-parse-element)
15083 (soap-xs-parse-simple-type)
15084 (soap-xs-parse-complex-type)
15085 (soap-parse-message)
15086 (soap-parse-operation): Add the current namespace to the element
15087 being created.
15088 (soap-resolve-references-for-xs-element)
15089 (soap-resolve-references-for-xs-simple-type)
15090 (soap-resolve-references-for-xs-complex-type)
15091 (soap-resolve-references-for-operation): Resolve the namespace to
15092 the namespace tag.
15093 (soap-make-wsdl): specify a namespace tag when creating the xsd
15094 and soapenc namespaces
15095 (soap-wsdl-resolve-references): don't update namespace tags in
15096 elements here
15097 (soap-parse-port-type): bind the urn: to soap-target-xmlns
15098 (soap-encode-body): don't add nil namespace tags to
15099 soap-encoded-namespaces
15100
15101 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
15102 for registering the soap-inspect method. Make debbugs tests pass.
15103 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
15104 type name, also skip string only nodes when decoding a structure.
15105 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
15106 types too.
15107 (soap-encode-body): Grab the header value from the param table.
15108
15109 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
15110 New function.
15111 (soap-encode-xs-element): Don't encode nil value unless needed.
15112
15113 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
15114 (soap-parse-binding): Parse the message parts required in the body.
15115 (soap-encode-body): Encode only the parts that are declared to be
15116 part of the body.
15117
15118 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
15119 when writing out the tag.
15120 (soap-encode-body): Remove hack that inserts the xmlns in the
15121 element attributes list.
15122
15123 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
15124 (soap-xs-parse-attribute): Default slot is set from the XML
15125 "fixed" attribute.
15126 (soap-encode-xs-complex-type-attributes): Encode any attributes
15127 that have a default value. Also, don't put the xsi:nil attribute
15128 when the complex type has no content anyway.
15129
15130 * lisp/net/soap-client.el (soap-well-known-xmlns):
15131 Add the xml namespace.
15132 (soap-local-xmlns): Start with the xml namespace.
15133 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
15134 (soap-make-xs-basic-types): More xsd types added.
15135 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
15136 Handle "language", "time", "date", "nonNegativeInteger".
15137 (soap-resolve-references-for-xs-element): Don't signal an error if
15138 the element does not have a type.
15139 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
15140 added stum for xsd:list.
15141 (soap-xs-add-union): Call soap-l2fq on all union members.
15142 (soap-xs-add-extension): Call soap-l2fq on the base member.
15143 (soap-resolve-references-for-xs-simple-type): Don't signal an
15144 error if the simple type has no base.
15145 (soap-resolve-references-for-xs-simple-type): Bugfix, call
15146 soap-wsdl-get on each type of the base.
15147
15148 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
15149 Referenced type can be eiher a simple type or a basic type.
15150 (soap-xs-add-restriction)
15151 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
15152 (soap-make-xs-basic-types)
15153 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
15154 Add support for more XMLSchema basic types.
15155 (soap-current-file, soap-xmlschema-imports): New defvars.
15156 (soap-parse-schema): Add locations from xsd:import tags to
15157 `soap-xmlschema-imports'.
15158 (soap-wsdl): Make destructor private.
15159 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
15160 (soap-wsdl-add-alias): Check if we try to replace aliases.
15161 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
15162 (soap-fetch-xml): New defuns.
15163 (soap-load-wsdl): Update to load the WSDL from either a file or
15164 an url.
15165 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
15166 (soap-parse-wsdl): Process wsdl:import tags and imports from
15167 `soap-xmlschema-imports'.
15168 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
15169 symbol-name.
15170 (soap-l2fq): Make the name part always a string.
15171 (soap-name-p): New defun, used for name tests.
15172
15173 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
15174 Supply sample values for choice types with a special tag.
15175 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
15176 Handle anonymous elements correctly.
15177 (soap-encode-value): Accept nodes that have no namespace tag.
15178
15179 * lisp/net/soap-client.el (soap-invoke): Encode the string for
15180 `url-request-data' as UTF-8. Fixes issue 16.
15181
15182 2015-10-24 Nicolas Petton <nicolas@petton.fr>
15183
15184 Update the new icon
15185
15186 Move the E slightly to the right in the circle.
15187
15188 * etc/images/icons/hicolor/128x128/apps/emacs.png:
15189 * etc/images/icons/hicolor/16x16/apps/emacs.png:
15190 * etc/images/icons/hicolor/24x24/apps/emacs.png:
15191 * etc/images/icons/hicolor/32x32/apps/emacs.png:
15192 * etc/images/icons/hicolor/48x48/apps/emacs.png:
15193 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
15194 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
15195 * nt/icons/emacs.ico: New icom update.
15196
15197 2015-10-24 Eli Zaretskii <eliz@gnu.org>
15198
15199 Avoid missing inline functions from lisp.h in TAGS
15200
15201 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
15202 need to end each invocation with a semi-colon.
15203 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
15204 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
15205 inline functions defined immediately after each invocation, and
15206 also avoid tagging every invocation of these macros.
15207
15208 2015-10-24 Eli Zaretskii <eliz@gnu.org>
15209
15210 A better fix for bug#21739
15211
15212 * src/buffer.c (set_update_modelines_for_buf): New function.
15213 (Fkill_buffer): Use it to set the global variable
15214 update_mode_lines if the killed buffer was displayed in some
15215 window. Don't set windows_or_buffers_changed. This is a better
15216 fix for bug#21739 than the previous fix, since it will cause only
15217 redisplay of mode lines, not of entire windows, but will still
15218 catch attention of x_consider_frame_title in xdisp.c, which
15219 redraws the frame title.
15220
15221 2015-10-24 Tassilo Horn <tsdh@gnu.org>
15222
15223 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
15224 tar.bz2 and tar.xz archives.
15225
15226 2015-10-23 Eli Zaretskii <eliz@gnu.org>
15227
15228 Fix infloop in redisplay introduced by a recent change
15229
15230 * src/xdisp.c (redisplay_internal): Avoid inflooping when
15231 redisplaying the selected window sets the selected frame's
15232 redisplay flag. (Bug#21745)
15233
15234 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15235
15236 * lisp/emacs-lisp/thunk.el: Better documentation.
15237
15238 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15239
15240 Replace the old icon for Windows and Mac OSX
15241
15242 * nt/icons/emacs.ico:
15243 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
15244 Use the new icons.
15245
15246 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
15247
15248 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
15249 `load-path' should contain only directory names.
15250
15251 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15252
15253 New library thunk.el
15254
15255 thunk.el is extracted from stream.el in ELPA, with additional tests.
15256
15257 * lisp/emacs-lisp/thunk.el: New file.
15258 * test/automated/thunk-tests.el: New file.
15259 * etc/NEWS: Add information about thunk.el
15260
15261 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
15262
15263 Fix bug#21669
15264
15265 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
15266 calling low-level functions.
15267
15268 * test/automated/file-notify-tests.el (file-notify--test-timeout):
15269 Decrase to 6 seconds for remote directories.
15270 (file-notify-test02-events): Expect different number of
15271 `attribute-changed' events for the local and remote cases. Apply
15272 short delays between the operations, in order to receive all
15273 events in the remote case. Combine `attribute-change' tests.
15274 (Bug#21669)
15275
15276 2015-10-23 Eli Zaretskii <eliz@gnu.org>
15277
15278 Decode the HTML source when displaying it in EWW
15279
15280 * lisp/net/eww.el (eww-view-source): Decode the HTML source
15281 according to its headers.
15282
15283 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15284
15285 New default icon
15286
15287 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
15288 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
15289 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
15290 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
15291 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
15292 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
15293 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
15294 Move the old logo files to emacs23.*.
15295 * etc/images/icons/hicolor/128x128/apps/emacs.png:
15296 * etc/images/icons/hicolor/16x16/apps/emacs.png:
15297 * etc/images/icons/hicolor/24x24/apps/emacs.png:
15298 * etc/images/icons/hicolor/32x32/apps/emacs.png:
15299 * etc/images/icons/hicolor/48x48/apps/emacs.png:
15300 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
15301 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
15302 New files.
15303 * etc/images/icons/README: Update the copyright information.
15304
15305 2015-10-23 Eli Zaretskii <eliz@gnu.org>
15306
15307 Fix redisplay of frame title when current buffer is killed
15308
15309 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
15310 non-zero value, to redisplay more than just the affected windows.
15311 (Bug#21739)
15312
15313 2015-10-23 Anders Lindgren <andlind@gmail.com>
15314
15315 NextStep maximization and NSTRACE rewrite
15316
15317 Full-height, full-width, and maximized windows now cover the
15318 entire screen (except the menu bar), including the part where the
15319 system dock is placed. The system zoom animation is no longer
15320 used.
15321
15322 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
15323 original size.
15324
15325 * src/nsterm.m (ns_menu_bar_height): New function, return height of
15326 the menu bar, or 0 when it's hidden.
15327 (constrain_frame_rect): New function for constraining a frame.
15328 (ns_constrain_all_frames): Set frame size explicitly rather than
15329 relying on the system doing it for us by writing back the current
15330 frame size.
15331 (windowWillUseStandardFrame): Register non-maximized width or
15332 height as new user size. When entering full width or height,
15333 the other size component is taken from the user size.
15334 (fullscreenState): New method for accessing the fullscreen state.
15335 (constrainFrameRect): Restrict frame to be placed under the menu bar,
15336 if present. The old version, sometimes, restricted the height of a
15337 frame to the screen, this version never does this.
15338 (zoom): Perform zoom by setting the frame to the full size of the
15339 screen (minus the menu bar). The default system function, with the
15340 zoom animation, is no longer used, as the final frame size doesn't
15341 cover the entire screen.
15342
15343 Rework how to constrain resizing to the character grid. The old
15344 system used "resizeIncrements" in NSWindows. However, once a frame
15345 was resized so that it was not aligned to the text grid, it
15346 remained unaligned even after a resize. In addition, it conflicted
15347 when resizing a fullheight window.
15348
15349 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
15350 unless when pixelwise frame resizing is enabled.
15351 (updateFrameSize, initFrameFromEmacs)
15352 (toggleFullScreen, handleFS): Don't set resizeIncrements.
15353
15354 Redesign the NS trace system. The call structure is represented
15355 using indentations and vertical lines. The NSTRACE macro accepts
15356 printf-style arguments. New macros for printing various
15357 information.
15358
15359 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
15360 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
15361 block (typically a function), accept printf-style arguments.
15362 (NSTRACE_MSG): Macro for extra information, accepts
15363 printf-style arguments.
15364 (NSTRACE_what): Macros for printing various types.
15365 (NSTRACE_FMT_what): Macro with printf format string snippets.
15366 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
15367 corresponds to NSTRACE_FMT_what.
15368 (NSTRACE_RETURN): Macro to print return value, accept
15369 printf-style arguments.
15370 (NSTRACE_RETURN_what): Macros to print return value for
15371 various types.
15372
15373 * src/nsterm.m: Remove old NSTRACE macro
15374 * src/nsterm.m (nstrace_num): Trace counter.
15375 (nstrace_depth): Current call depth.
15376 (nstrace_leave): NSTRACE support function, called when the
15377 local variable "nstrace_enabled" goes out of scope using the
15378 "cleanup" extension.
15379 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
15380 (constrain_frame_rect, ns_constrain_all_frames)
15381 (ns_update_auto_hide_menu_bar, ns_update_begin)
15382 (ns_update_window_begin, update_window_end, ns_update_end)
15383 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
15384 (ns_frame_rehighlight, x_make_frame_visible)
15385 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
15386 (x_destroy_window, x_set_offset, x_set_window_size)
15387 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
15388 (ns_defined_color, frame_set_mouse_pixel_position)
15389 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
15390 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
15391 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
15392 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
15393 (dumpcursor, ns_draw_vertical_window_border)
15394 (ns_draw_window_divider, ns_draw_relief)
15395 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
15396 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
15397 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
15398 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
15399 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
15400 (ns_create_terminal, ns_term_init, sendEvent)
15401 (applicationDidFinishLaunching, applicationDidBecomeActive)
15402 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
15403 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
15404 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
15405 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
15406 (mouse_autoselect_window, in_window, mouseDragged)
15407 (rightMouseDragged, otherMouseDragged, windowShouldClose)
15408 (updateFrameSize, windowWillResize, windowDidResize)
15409 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
15410 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
15411 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
15412 (windowDidEnterFullScreen, windowWillExitFullScreen)
15413 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
15414 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
15415 (draggingEntered, performDragOperation, validRequestorForSendType)
15416 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
15417 (EmacsScroller_initFrame, EmacsScroller_setFrame)
15418 (EmacsScroller_dealloc, condemn, reprieve, judge)
15419 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
15420 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
15421
15422 * src/nsfns.m: Remove old NSTRACE macro
15423 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
15424 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
15425 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
15426
15427 * src/nsimage.m: Remove old NSTRACE macro
15428 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
15429 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
15430
15431 * src/nsmenu.m: Remove old NSTRACE macro
15432 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
15433 Use new trace system.
15434
15435 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
15436
15437 No need to use eval-and-compile
15438
15439 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
15440 autoload epg functions.
15441
15442 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
15443
15444 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
15445
15446 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
15447 epg-context-set-passphrase-callback, epg-decrypt-string, and
15448 epg-encrypt-string; require epg when compiling for the setf-method
15449 for epg-context-armor. (bug#21724)
15450
15451 2015-10-22 Eli Zaretskii <eliz@gnu.org>
15452
15453 Include file cleanup for w32 files in src directory
15454
15455 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
15456 fontset.h, blockinput.h.
15457 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
15458 charset.h, fontset.h.
15459 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
15460 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
15461 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
15462 in an ifdef-ed away block.
15463 Include fcntl.h for CYGWIN.
15464 (set_frame_param): Remove unused function.
15465 * src/w32select.c: Don't include charset.h and composite.h.
15466 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
15467 due to pointer signedness mismatches.
15468 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
15469 due to pointer signedness mismatches.
15470 * src/w32proc.c: Include unistd.h. Don't include systime.h,
15471 process.h, dispextern.h.
15472 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
15473 (Fw32_application_type): Avoid compiler warnings due to pointer
15474 signedness mismatches.
15475 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
15476 character.h, charset.h, dispextern.h.
15477 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
15478 to pointer signedness mismatches.
15479 * src/w32inevt.c: Don't include dispextern.h, window.h,
15480 termhooks.h, w32heap.h.
15481 * src/w32font.c: Don't include dispextern.h, character.h,
15482 charset.h, fontset.h, font.h.
15483 (intern_font_name, add_font_entity_to_list)
15484 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
15485 (list_all_matching_fonts): Avoid compiler warnings due to pointer
15486 signedness mismatches.
15487 * src/w32fns.c: Don't include character.h, intervals.h,
15488 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
15489 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
15490 (w32_color_map_lookup, add_system_logical_colors_to_map)
15491 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
15492 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
15493 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
15494 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
15495 compiler warnings, mainly due to pointer signedness mismatches.
15496 (unwind_create_frame_1): Remove unused function.
15497 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
15498 window.h, termhooks.h, dispextern.h.
15499 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
15500 signedness mismatch.
15501 * src/w32.c: Include c-strcase.h and systty.h. Don't include
15502 w32heap.h.
15503
15504 2015-10-22 Tassilo Horn <tsdh@gnu.org>
15505
15506 Improve doc-view wrt. auto-revert-mode
15507
15508 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
15509 is corrupted (bug#21729).
15510 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
15511
15512 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
15513
15514 Describe dired-do-compress-to in the manual
15515
15516 * etc/NEWS: Update.
15517
15518 * lisp/dired-aux.el: Fix typo.
15519
15520 * doc/emacs/dired.texi: Add entry.
15521
15522 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
15523
15524 Further fix for proper locale handling in tramp-gvfs.el
15525
15526 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
15527 Just suppress LC_MESSAGES locale category settings.
15528
15529 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
15530
15531 New lispref section “Security Considerations”
15532
15533 This attempts to document some of the issues recently discussed
15534 on emacs-devel, and to indicate other such issues. The section
15535 could be a lot longer.
15536 * doc/lispref/os.texi (Security Considerations):
15537 New node.
15538 * doc/lispref/elisp.texi (Top):
15539 * doc/lispref/processes.texi (Shell Arguments):
15540 * lisp/subr.el (shell-quote-argument):
15541 * src/callproc.c (syms_of_callproc):
15542 Reference it.
15543
15544 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
15545
15546 Merge from gnulib
15547
15548 This incorporates:
15549 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
15550 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
15551 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
15552 Copy from gnulib.
15553
15554 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
15555
15556 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
15557 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
15558
15559 2015-10-21 Ken Brown <kbrown@cornell.edu>
15560
15561 Further include-file cleanup
15562
15563 * src/sheap.c: Include stdlib.h.
15564 * src/unexcw.c: Include string.h.
15565
15566 2015-10-21 Eli Zaretskii <eliz@gnu.org>
15567
15568 Fix logic in 'server-kill-emacs-query-function'
15569
15570 * lisp/server.el (server-kill-emacs-query-function): Correct the
15571 logic that controls whether the user is asked for confirmation.
15572 (Bug#21723)
15573
15574 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
15575
15576 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
15577 (isearch--lax-regexp-function-p): New function.
15578
15579 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
15580
15581 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
15582 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
15583 around `isearch-regexp-function'.
15584
15585 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
15586
15587 * lisp/isearch.el: Rename word search to regexp-function search.
15588 `isearch-word' went well beyond its original purpose, and the name
15589 no longer makes sense. It is now called
15590 `isearch-regexp-function', and its value should always be a function
15591 that converts a string to a regexp (though setting it to t is still
15592 supported for now).
15593 (isearch-word): Make obsolete.
15594 (isearch-regexp-function): New variable.
15595 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
15596 (with-isearch-suspended, isearch-toggle-regexp)
15597 (isearch-toggle-word, isearch-toggle-symbol)
15598 (isearch-toggle-character-fold, isearch-query-replace)
15599 (isearch-occur, isearch-highlight-regexp)
15600 (isearch-search-and-update, isearch-message-prefix)
15601 (isearch-search-fun-default, isearch-search)
15602 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15603 Use it.
15604 (isearch-lazy-highlight-regexp-function): New var.
15605 (isearch-lazy-highlight-word): Make obsolete.
15606 (isearch--describe-regexp-mode): New function.
15607 (isearch--describe-word-mode): Make obsolete.
15608
15609 * lisp/info.el (Info-isearch-search):
15610 * lisp/replace.el (replace-search, replace-highlight):
15611 * lisp/obsolete/longlines.el (longlines-search-function):
15612 * lisp/hexl.el (hexl-isearch-search-function):
15613 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
15614 Use the new var.
15615
15616 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
15617
15618 Add dired-do-compress-to command bound to "c"
15619
15620 * lisp/dired-aux.el (dired-shell-command): Use the caller's
15621 `default-directory', return the result of `process-file'.
15622 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
15623 used by default.
15624 (dired-compress-files-alist): New defvar.
15625 (dired-do-compress-to): New command.
15626
15627 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
15628 (dired-do-compress-to): Add an autoload entry.
15629
15630 * etc/NEWS: Add two entries.
15631
15632 2015-10-21 Tassilo Horn <tsdh@gnu.org>
15633
15634 Make RefTeX work with LaTeX subfiles package
15635
15636 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
15637 document class argument as master file for referencing purposes.
15638
15639 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
15640
15641 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
15642
15643 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
15644
15645 Include-file cleanup for src directory
15646
15647 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
15648 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
15649 but does not include it directly. As a general rule, a source
15650 file should include foo.h if it needs the interfaces that foo.h
15651 defines.
15652 * src/alloc.c: Don’t include process.h. Include dispextern.h,
15653 systime.h.
15654 * src/atimer.c: Don’t include blockinput.h.
15655 * src/buffer.c: Include coding.h, systime.h. Don’t include
15656 keyboard.h, coding.h.
15657 * src/callint.c: Don’t include commands.h, keymap.h.
15658 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
15659 systty.h, termhooks.h.
15660 * src/casetab.c: Don’t include character.h.
15661 * src/category.c: Don’t include charset.h, keymap.h.
15662 * src/ccl.h: Don’t include character.h.
15663 * src/character.c: Don’t include charset.h.
15664 * src/charset.c: Don’t include disptab.h.
15665 * src/chartab.c: Don’t include ccl.h.
15666 * src/cm.c: Don’t include frame.h, termhooks.h.
15667 * src/cmds.c: Don’t include window.h, dispextern.h.
15668 * src/coding.c: Don’t include window.h, frame.h.
15669 * src/composite.c: Include composite.h. Don’t include window.h,
15670 font.h.
15671 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
15672 * src/dbusbind.c: Don’t include frame.h.
15673 * src/decompress.c: Don’t include character.h.
15674 * src/dired.c: Don’t include character.h, commands.h, charset.h.
15675 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
15676 process.h, timespec.h. Include systime.h.
15677 * src/doc.c: Include coding.h. Don’t include keyboard.h.
15678 * src/editfns.c: Include composite.h. Don’t include frame.h.
15679 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
15680 commands.h, systty.h..
15681 * src/fileio.c: Don’t include intervals.h, dispextern.h.
15682 Include composite.h.
15683 * src/filelock.c: Don’t include character.h, systime.h.
15684 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
15685 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
15686 * src/font.c: Include termhooks.h.
15687 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
15688 struct composition_it, struct face, struct glyph_string.
15689 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
15690 intervals.h, window.h, termhooks.h.
15691 * src/frame.c: Don’t include character.h, commands.h, font.h.
15692 * src/frame.h: Don’t include dispextern.h.
15693 * src/fringe.c: Don’t include character.h.
15694 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
15695 character.h, charset.h, fontset.h.
15696 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
15697 fontset.h.
15698 * src/ftxfont.c: Don’t include dispextern.h, character.h,
15699 charset.h, fontset.h.
15700 * src/gfilenotify.c: Don’t include frame.h, process.h.
15701 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
15702 Don’t include syssignal.h, buffer.h, charset.h, font.h.
15703 * src/gtkutil.h: Don’t include frame.h.
15704 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
15705 Don’t include character.h.
15706 * src/indent.c: Don’t include keyboard.h, termchar.h.
15707 * src/inotify.c: Don’t include character.h, frame.h.
15708 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
15709 * src/intervals.c: Don’t include character.h, keyboard.h.
15710 * src/intervals.h: Don’t include dispextern.h, composite.h.
15711 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
15712 Include coding.h.
15713 * src/keyboard.h: Don’t incldue systime.h.
15714 * src/keymap.c: Don’t include charset.h, frame.h.
15715 * src/lread.c: Include dispextern.h and systime.h.
15716 Don’t include frame.h. Include systime.h.
15717 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
15718 * src/menu.c: Include character.h, coding.h. Don’t include
15719 dispextern.h.
15720 * src/menu.h: Don’t include systime.h.
15721 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
15722 intervals.h, termhooks.h.
15723 * src/print.c: Include coding.h. Don’t include keyboard.h,
15724 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
15725 Add forward decl of struct terminal.
15726 * src/process.c: Don’t include termhooks.h, commands.h,
15727 dispextern.h, composite.h.
15728 * src/region-cache.c: Don’t include character.h.
15729 * src/scroll.c: Don’t include keyboard.h, window.h.
15730 * src/search.c: Don’t include category.h, commands.h.
15731 * src/sound.c: Don’t include dispextern.h.
15732 * src/syntax.c: Don’t include command.h, keymap.h.
15733 * src/sysdep.c: Don’t include window.h, dispextern.h.
15734 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
15735 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
15736 * src/terminal.c: Include character.h.
15737 Don’t include charset.h, coding.h.
15738 * src/textprop.c: Don’t include character.h.
15739 * src/undo.c: Don’t include character.h, commands.h, window.h.
15740 * src/unexsol.c: Don’t include character.h, charset.h.
15741 * src/widget.c: Include widget.h. Don’t include keyboard.h,
15742 window.h, dispextern.h, blockinput.h, character.h, font.h.
15743 * src/widgetprv.h: Don’t include widget.h.
15744 * src/window.c: Don’t include character.h, menu.h, intervals.h.
15745 * src/xdisp.c: Include composite.h, systime.h. Don’t include
15746 macros.h, process.h.
15747 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
15748 intervals.h.
15749 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
15750 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
15751 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
15752 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
15753 * src/xgselect.c: Don’t include timespec.h, frame.h.
15754 Include systime.h.
15755 * src/xgselect.h: Don’t include time.h.
15756 Use a forward decl to struct timespec instead.
15757 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
15758 dispextern.h. Include systime.h.
15759 * src/xml.c: Don’t include character.h.
15760 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
15761 * src/xselect.c: Don’t include dispextern.h, character.h,
15762 buffer.h, process.h.
15763 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
15764 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
15765 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
15766
15767 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
15768
15769 (/ N) now returns the reciprocal of N
15770
15771 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
15772 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
15773 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
15774 (color-xyz-to-srgb, color-xyz-to-lab):
15775 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
15776 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
15777 (shr-color-hsl-to-rgb-fractions):
15778 Exploit the change to simplify the code a bit.
15779 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
15780 Don’t complain about single-argument calls to ‘/’.
15781 * src/data.c (arith_driver, float_arith_driver):
15782 Implement the change.
15783
15784 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
15785
15786 Call vc-dir-refresh after stash operations
15787
15788 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
15789 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
15790
15791 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
15792 since it can be abbreviated (as returned by vc-find-root).
15793
15794 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
15795
15796 * lisp/vc/vc-svn.el:
15797 * lisp/vc/vc-mtn.el:
15798 * lisp/vc/vc-hg.el:
15799 * lisp/vc/vc-cvs.el:
15800 * lisp/vc/vc-git.el:
15801 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
15802 Its usages have been replaced with vc-run-delayed.
15803
15804 2015-10-20 Dima Kogan <dima@secretsauce.net>
15805
15806 Fix memory leak in fontset handling
15807
15808 * src/font.c (copy_font_spec): Make a deep copy of the input
15809 argument FONT. (Bug#21651)
15810
15811 2015-10-20 Michael Sperber <mike@xemacs.org>
15812
15813 * lisp/gnus/mailcap.el (mailcap-mime-data):
15814 Conditonalize `doc-view-mode', which does not exist on XEmacs.
15815
15816 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
15817
15818 Update the way directories are compressed
15819
15820 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
15821 for *.tar.gz decompression to use a pipe.
15822 Add an entry for the default directory compression (to *.tar.g).
15823 (dired-compress-file): Update.
15824
15825 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
15826
15827 2015-10-20 Michael Sperber <mike@xemacs.org>
15828
15829 Unbreak `group' option for `mail-sources'
15830
15831 * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
15832 * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
15833 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
15834
15835 2015-10-19 Nicolas Petton <nicolas@petton.fr>
15836
15837 New function seq-position
15838
15839 * lisp/emacs-lisp/seq.el (seq-position): New function.
15840 * test/automated/seq-tests.el: New tests for seq-position.
15841 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
15842
15843 2015-10-19 Ken Brown <kbrown@cornell.edu>
15844
15845 Enable --with-wide-int build on 32-bit Cygwin
15846
15847 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
15848 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
15849
15850 2015-10-19 Glenn Morris <rgm@gnu.org>
15851
15852 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
15853
15854 2015-10-19 Eli Zaretskii <eliz@gnu.org>
15855
15856 Resurrect image loading under auto-image-file-mode
15857
15858 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
15859 'openp' specially. This special case was lost in the changes on
15860 2015-08-18. (Bug#21685)
15861
15862 2015-10-19 Eli Zaretskii <eliz@gnu.org>
15863
15864 Fix return value of 'set-file-extended-attributes'
15865
15866 * lisp/files.el (set-file-extended-attributes): Return non-nil
15867 when setting either ACLs or SELinux context succeeds. Document
15868 the return value. (Bug#21699)
15869
15870 * doc/lispref/files.texi (Changing Files): Document the return
15871 value of set-file-extended-attributes.
15872
15873 2015-10-19 Eli Zaretskii <eliz@gnu.org>
15874
15875 Improve documentation of functions that change files
15876
15877 * doc/lispref/files.texi (Changing Files): Document that these
15878 functions signal an error on failure.
15879
15880 2015-10-18 Eli Zaretskii <eliz@gnu.org>
15881
15882 Fix doc string of 'shell-quote-argument'
15883
15884 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
15885
15886 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
15887
15888 Some minor Tramp changes
15889
15890 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
15891
15892 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
15893 Expand `tramp-auto-save-directory'.
15894
15895 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
15896
15897 Minor edits in Tramp
15898
15899 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
15900 Declare it.
15901
15902 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
15903 Remove declaration.
15904
15905 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
15906
15907 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
15908
15909 2015-10-17 Eli Zaretskii <eliz@gnu.org>
15910
15911 Avoid crashes when redisplayng a window changes faces or fonts
15912
15913 * src/xdisp.c (redisplay_internal): If redisplaying the selected
15914 window or one of the frames turns on the frame's 'redisplay' flag,
15915 redisplay again. (Bug#21428)
15916
15917 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
15918
15919 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
15920
15921 Solve timimg issues in file-notify-tests.el
15922
15923 * test/automated/file-notify-tests.el (file-notify-test02-events):
15924 Rectify `attribute-change' tests. There are timing issues with
15925 gfilenotify. (Bug#21669)
15926
15927 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
15928
15929 Fix quoting of data within htmlfontify doc
15930
15931 * doc/misc/htmlfontify.texi (Data Structures, Customization):
15932 Fix quoting of data structures. A Lisp quote is needed only
15933 when data appears within Lisp code.
15934
15935 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
15936
15937 * lisp/emacs-lisp/package.el: Reload archive-contents if
15938 priorities change.
15939 (package--old-archive-priorities): New variable.
15940 (package-read-all-archive-contents, package-menu--refresh): Use it
15941 to decide when the `package-archive-contents' needs to be read
15942 again.
15943
15944 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
15945
15946 Make src headers idempotent and standalone
15947
15948 Redo src/*.h so that each include file is idempotent (that is, can
15949 be included multiple times with the latter inclusions having no
15950 effect) and standalone (that is, can be included by itself,
15951 with no include file other than config.h needed as a prerequisite).
15952 This is standard practice in GNU programs nowadays.
15953 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
15954 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
15955 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
15956 * src/regex.h [emacs]:
15957 * src/syntax.h, src/systty.h, src/termhooks.h:
15958 Include lisp.h, for Lisp_Object.
15959 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
15960 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
15961 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
15962 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
15963 * src/termopts.h, src/tparam.h, src/unexec.h:
15964 Protect against multiple inclusion.
15965 * src/buffer.h: Include character.h, for STRING_CHAR.
15966 * src/emacsgtkfixed.h (struct frame):
15967 * src/fontset.h (struct face):
15968 * src/region-cache.h (struct buffer):
15969 * src/termhooks.h (struct glyph):
15970 * src/xsettings.h (struct x_display_info):
15971 Add possibly-forward decl.
15972 * src/syntax.h: Include buffer.h, for BVAR.
15973 * src/sysselect.h: Include lisp.h, for eassume.
15974 * src/termchar.h: Include <stdio.h>, for FILE.
15975 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
15976 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
15977
15978 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
15979
15980 Handle symlink targets containing spaces in tramp-gvfs.el
15981
15982 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
15983 Handle symlink targets containing spaces.
15984
15985 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
15986
15987 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
15988
15989 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
15990 same reason that `load-path' shouldn't. Setting it via the customize
15991 interface is a trap for the user.
15992
15993 Installed themes commonly add themselves to this variable, which means
15994 its value is not fit for being saved (it will permanently remember dirs
15995 that don't exist anymore).
15996
15997 This is aggravated by the fact that Emacs always applies the `user'
15998 theme on top of any theme that's loaded, since this will apply the old
15999 variable value and remove any new directories that had been recently
16000 added by themes themselves.
16001
16002 Not to mention, we already have `custom-theme-directory', which is safe
16003 to customize.
16004
16005 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16006
16007 * lisp/mpc.el: Rename the new toggling commands.
16008 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
16009 (mpc-toggle-shuffle): Add "-toggle" in the name.
16010
16011 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16012
16013 Improve the doc string of 'completion-boundaries'
16014
16015 * lisp/minibuffer.el (completion-boundaries): Rename the argument
16016 TABLE to COLLECTION, for consistency with other high-level
16017 completion functions. Document how COLLECTION is called if it
16018 is a function. (Bug#21644)
16019
16020 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
16021
16022 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
16023
16024 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
16025
16026 Make dired-do-compress work for *.zip files
16027
16028 * lisp/dired-aux.el (dired-check-process): Transform the top-level
16029 comment into a docstring.
16030 (dired-shell-command): New command. This mirrors
16031 `dired-check-process', but is more user-friendly for passing
16032 arguments.
16033 (dired-compress-file-suffixes): Allow to specify the command switches
16034 along with input (%i) and output (%o) inside the PROGRAM part.
16035 Add an entry for *.zip files, and update the entry for *.tar.gz files
16036 to the new style. Update the docstring.
16037 (dired-compress-file): When PROGRAM matches %i or %o, use the new
16038 logic.
16039 (dired-update-file-line): Avoid an error when at end of buffer.
16040
16041 Fixes bug#21637.
16042
16043 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16044
16045 Minor improvement in documentation of internals
16046
16047 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
16048
16049 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16050
16051 Improve documentation of COLLECTION in completion functions
16052
16053 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
16054 cross-reference to "Programmed Completion".
16055
16056 * src/minibuf.c (Fcompleting_read): Improve the doc string.
16057 (Bug#21644)
16058
16059 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16060
16061 Add more release info to etc/HISTORY
16062
16063 * etc/HISTORY: Add more release information about 19.x and 20.x
16064 versions.
16065
16066 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
16067
16068 New file etc/HISTORY
16069
16070 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
16071 * etc/HISTORY: New file.
16072 * etc/NEWS: Mention it.
16073
16074 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
16075
16076 js-mode: Don't misindent generator methods
16077
16078 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
16079 generator methods from multiplication operator
16080 (https://github.com/mooz/js2-mode/issues/275).
16081
16082 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
16083
16084 Fix animation timeout delay calculation
16085
16086 * lisp/image.el (image-animate-timeout):
16087 Don’t assume speed is floating-point.
16088
16089 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
16090
16091 Add commands for controlling MPD modes
16092
16093 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
16094 (mpc-cmd-single): New functions.
16095 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
16096 (mpc-mode-menu): Add new commands as menu items.
16097
16098 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
16099
16100 Refer to `(elisp)Basic Completion' in completing-read docstring
16101
16102 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
16103 Completion' in the docstring (bug#21644).
16104
16105 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
16106
16107 * lisp/mpc.el (mpc-format): Always push form to pred
16108
16109 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
16110
16111 Spelling fixes
16112
16113 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
16114 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
16115 Fix misspelling of nonexistent file name.
16116
16117 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
16118
16119 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
16120
16121 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
16122
16123 Some editing fixes in Tramp
16124
16125 * lisp/net/tramp-gvfs.el:
16126 * doc/misc/tramp.texi: "customer option" -> "custom option".
16127
16128 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
16129
16130 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
16131
16132 Use proper localization in tramp-gvfs.el
16133
16134 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
16135 Suppress localized settings in order to proper parse gfvs output.
16136
16137 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
16138
16139 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16140 Quote argument in proper order. (Bug#21562)
16141
16142 2015-10-14 Nicolas Petton <nicolas@petton.fr>
16143
16144 Fix typos in docstrings
16145
16146 * lisp/emacs-lisp/map.el:
16147 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
16148 macros.
16149
16150 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
16151
16152 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
16153
16154 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
16155
16156 Make dired-jump work with tar-subfile-mode
16157
16158 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
16159 emitting an error, switch to `tar-superior-buffer'.
16160
16161 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
16162
16163 * .gitignore: Add build-aux/ar-lib.
16164
16165 2015-10-14 Nicolas Petton <nicolas@petton.fr>
16166
16167 Better docstrings in seq.el and map.el
16168
16169 * lisp/emacs-lisp/map.el:
16170 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
16171
16172 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
16173
16174 Merge from gnulib
16175
16176 This incorporates:
16177 2015-10-13 binary-io, u64, unistd: port to strict C
16178 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
16179 2015-09-25 c-ctype: port better to z/OS EBCDIC
16180 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
16181 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
16182 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
16183 Copy from gnulib.
16184
16185 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
16186
16187 Take XPNTR private
16188
16189 * src/alloc.c (PURE_POINTER_P): Remove.
16190 All uses replaced with PURE_P.
16191 (XPNTR_OR_SYMBOL_OFFSET): New function.
16192 (XPNTR): Move here from lisp.h.
16193 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
16194 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
16195 Remove unnecessary cast.
16196 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
16197 to avoid an unnecessary runtime test for symbols.
16198 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
16199 Only alloc.c needs XPNTR now.
16200
16201 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16202
16203 Add MPC play/pause command
16204
16205 * lisp/mpc.el (mpc-toggle-play): New command.
16206 (mpc-mode-map): Bind it to "s".
16207 (mpc-mode-menu): Add corresponding menu item.
16208
16209 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16210
16211 Add bindings and menu items for prev and next tracks
16212
16213 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
16214 "<" to mpc-prev.
16215 (mpc-mode-menu): Add corresponding menu items
16216
16217 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
16218
16219 Reduce face-related consing during frame creation.
16220
16221 * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
16222 attribute list once.
16223 (face-spec-reset-face): Use it instead of building the list.
16224
16225 2015-10-13 Ken Raeburn <raeburn@permabit.com>
16226
16227 Do process ConfigureNotify events indicating size changes.
16228
16229 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
16230 events don't have the same size, process each one.
16231
16232 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16233
16234 Derive mpc-mode from special-mode
16235
16236 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
16237 (mpc-mode): Derive from special mode.
16238 (mpc-songs-mode-map): Don't set parent keymap.
16239
16240 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16241
16242 Fix error messages for when covers are not found.
16243
16244 The last change to mpc-format let the binding to file call
16245 mpc-file-local-copy with nil argument. Instead, employ if-let here
16246 so nil bindings don't result in needless computation and errors.
16247 * lisp/mpc.el: Require 'subr-x at compile time.
16248 * lisp/mpc.el (mpc-format): Use if-let.
16249
16250 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16251
16252 Make dired-do-compress work for *.tar.gz files
16253
16254 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
16255 "tar -zxvf" to *.tar.gz; update docstring.
16256
16257 (dired-compress-file): Allow to specify switches after the command in
16258 `dired-compress-file-suffixes'.
16259
16260 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16261
16262 Make dired-do-compress work for directories
16263
16264 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
16265 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
16266 Also convert the top comment into a docstring.
16267
16268 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16269
16270 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
16271
16272 ... since it might come straight from the memoizing table.
16273
16274 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
16275
16276 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
16277
16278 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16279
16280 Use special-mode in eww list modes
16281
16282 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
16283 (eww-buffers-mode): Derive from special-mode and remove redundant
16284 setting of buffer-read-only.
16285 (eww-mode-map): Remove redundant keymap parent setting.
16286 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
16287 Remove redundant keymap suppressions and mappings.
16288
16289 2015-10-13 Martin Rudalics <rudalics@gmx.at>
16290
16291 Allow setting frame pixel sizes from frame parameters (Bug#21415)
16292
16293 Also fix some misfeatures in frame (re-)sizing code, add more
16294 debugging information and remove some dead code.
16295
16296 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
16297 parameter names when setting `frame-size-history'.
16298 (frame--size-history): New function.
16299
16300 * src/frame.c (frame_inhibit_resize): If frame has not been made
16301 yet, return t if inhibit_horizontal_resize or
16302 inhibit_vertical_resize bit have been set.
16303 (adjust_frame_size): Simplify.
16304 (make_frame): Initialize inhibit_horizontal_resize,
16305 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
16306 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
16307 inhibit_vertical_resize slots.
16308 (x_set_frame_parameters): Handle `text-pixels' specification for
16309 width and height parameters. Don't consider new_height or
16310 new_width changes. Call adjust_frame_size instead of
16311 Fset_frame_size.
16312 (x_figure_window_size): Two new arguments x_width and y_width
16313 returning frame's figures width and height. Calculate tool bar
16314 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
16315 Handle `text-pixels' specification for width and height
16316 parameters.
16317 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
16318 (Qx_set_window_size_1, Qx_set_window_size_2)
16319 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
16320 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
16321 (Qfree_frame_menubar_2): New symbols.
16322 * src/frame.h (structure frame): New booleans
16323 tool_bar_redisplayed, tool_bar_resized,
16324 inhibit_horizontal_resize, inhibit_vertical_resize.
16325 (x_figure_window_size): Update external declaration.
16326 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
16327 calling gtk_window_resize.
16328 (update_frame_tool_bar): Make inhibiting of frame resizing more
16329 discriminative. Set tool_bar_resized bit.
16330 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
16331 resizing more discriminative. Call adjust_frame_size instead of
16332 x_set_window_size.
16333 (Fx_create_frame): Handle x_width and x_height if
16334 set by x_figure_window_size.
16335 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
16336 subtract 3 from tool bar height.
16337 (x_set_window_size): Add frame_size_history_add call.
16338 (x_new_font): Call adjust_frame_size instead of
16339 x_set_window_size.
16340 * src/w32fns.c (x_change_tool_bar_height): Reset
16341 tool_bar_redisplayed and tool_bar_resized bits when adding tool
16342 bar. Make inhibiting of frame resizing more discriminative.
16343 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
16344 (Fx_create_frame): Handle x_width and x_height if set by
16345 x_figure_window_size. Set size hints before adjusting frame size.
16346 (x_create_tip_frame): Adjust x_figure_window_size call.
16347 * src/w32term.c (x_set_window_size): Add frame_size_history_add
16348 call.
16349 * src/widget.c (set_frame_size): Remove dead code. Add
16350 frame_size_history_add call. When frame_resize_pixelwise is t
16351 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
16352 pixel_width and pixel_height.
16353 (update_various_frame_slots): Remove dead code.
16354 (EmacsFrameResize): Add more information in
16355 frame_size_history_add call.
16356 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
16357 is not set.
16358 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
16359 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
16360 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
16361 tool_bar_resized bits when adding tool bar. Make inhibiting of
16362 frame resizing more discriminative.
16363 (Fx_create_frame): Handle x_width and x_height if set by
16364 x_figure_window_size. Set size hints before adjusting frame size.
16365 (x_create_tip_frame): Adjust x_figure_window_size call.
16366 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
16367 (set_frame_menubar): On Lucid never add core-border-width to
16368 avoid that adding XtNinternalBorderWidth adds it again.
16369 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
16370 * src/xterm.c (x_new_font): In non-toolkit case handle size
16371 change of menu bar.
16372 (x_set_window_size_1): Fix calls to frame_size_history_add.
16373 (x_wm_set_size_hint): Remove dead code. Set
16374 size_hints.min_width and size_hints.min_height to base_width and
16375 base_height.
16376
16377 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
16378
16379 * test/automated/file-notify-tests.el (file-notify--test-timeout):
16380 Add docstring. Increase to 10 seconds for remote
16381 directories. (Bug#21669)
16382
16383 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
16384
16385 Unmacroize ebrowse.c and etags.c a bit
16386
16387 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
16388 (streq, filename_eq, set_flag, has_flag): Now inline functions.
16389 (set_flag): First arg is now an address, not an lvalue.
16390 All callers changed.
16391 (filename_eq, set_flag, has_flag):
16392 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
16393 All callers changed.
16394 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
16395 Now inline functions. Remove asserts that are unnecessary these
16396 days (and in some cases were too-generous anyway).
16397
16398 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
16399
16400 Use highlight for current items
16401
16402 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
16403 Apply highlight face instead of region face.
16404
16405 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
16406
16407 Search for more cover image names in MPC
16408
16409 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
16410 case insensitively
16411
16412 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
16413
16414 Remove or comment out unused variables
16415
16416 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
16417 nontext_cursor, mode_cursor, hand_cursor and count.
16418 (x_change_tool_bar_height): Remove variable old_text_height.
16419 (deliver_wm_chars): Remove variable strip_Alt.
16420 (Fw32_shell_execute): Remove variable document_a.
16421 (Fw32_frame_geometry): Remove variable fullboth.
16422 * src/w32term.c (w32_setup_relief_color): Comment out variable
16423 w32_display_info.
16424 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
16425 (w32_read_socket): Comment out variables rows, columns.
16426 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
16427
16428 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
16429
16430 * src/w32proc.c (sys_select): Fix bitwise test.
16431
16432 2015-10-12 Eli Zaretskii <eliz@gnu.org>
16433
16434 Minor typo corrections in doc strings
16435
16436 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
16437 Doc fixes.
16438
16439 2015-10-12 Eli Zaretskii <eliz@gnu.org>
16440
16441 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
16442
16443 2015-10-12 Eli Zaretskii <eliz@gnu.org>
16444
16445 Attempt to avoid crashes in plist-member
16446
16447 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
16448 and a call to XCDR. (Bug#21655)
16449
16450 2015-10-12 Mike FABIAN <mfabian@redhat.com>
16451
16452 * lisp/select.el (gui-get-primary-selection): In
16453 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
16454
16455 2015-10-12 Tassilo Horn <tsdh@gnu.org>
16456
16457 Support RTF in doc-view
16458
16459 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
16460
16461 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
16462
16463 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
16464
16465 2015-10-11 Nicolas Petton <nicolas@petton.fr>
16466
16467 Replace the usage of an obsolete function in auth-source.el
16468
16469 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
16470 Replace an usage of `epg-context-set-armor' with `setf'.
16471
16472 2015-10-11 Nicolas Petton <nicolas@petton.fr>
16473
16474 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
16475
16476 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
16477
16478 Have calc-yank recognize numbers in different bases.
16479
16480 * lisp/calc/calc-yank.el (math-number-regexp): New function.
16481 (calc-yank): Use `math-number-regexp' to recognize numbers.
16482
16483 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16484
16485 Handle an opaque-move X11 window manager operation more efficiently
16486
16487 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
16488 followed by more ConfigureNotify events for the same window, process
16489 only the last one.
16490
16491 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16492
16493 Fix cursor setting for tip frame; re-enable cursor generation
16494
16495 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
16496 attributes sent when creating the new X window. Don't skip setting
16497 the pointerColor parameter.
16498
16499 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16500
16501 Rewrite x_set_mouse_color to sync less
16502
16503 We can track serial numbers of X requests and correlate error events
16504 with the associated requests. This way we can identify errors for
16505 specific calls without having to use XSync after every one.
16506
16507 * src/xfns.c (enum mouse_cursor): New type.
16508 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
16509 (mouse_cursor_types): New array listing the Lisp variables and default
16510 cursor appearances for each cursor type.
16511 (x_set_mouse_color_handler): New function; checks error event serial
16512 number against submitted requests.
16513 (x_set_mouse_color): Updated to use the new error handler callback,
16514 and to be more table-driven, to simplify repetitious code.
16515
16516 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16517
16518 Add x_catch_errors_with_handler
16519
16520 * src/xterm.c (struct x_error_message_stack): Add new fields for a
16521 callback function and associated data pointer.
16522 (x_error_catcher): If the callback function is set, call it after
16523 saving the error message string.
16524 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
16525 accepts a callback function and data pointer.
16526 (x_catch_errors): Now a wrapper function.
16527 * src/xterm.h (x_special_error_handler): New typedef.
16528 (x_catch_errors_with_handler): Declare.
16529
16530 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16531
16532 Introduce x_uncatch_errors_after_check to reduce XSync calls
16533
16534 Both x_had_errors_p and x_check_errors call XSync, so if they're
16535 immediately followed by x_uncatch_errors, its XSync call will be
16536 redundant, resulting in a wasted round trip to the X server.
16537
16538 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
16539 x_uncatch_errors without the XSync call.
16540 (XTmouse_position, x_wm_supports):
16541 * src/xfns.c (x_set_mouse_color):
16542 * src/xmenu.c (Fx_menu_bar_open_internal):
16543 * src/xselect.c (x_own_selection, x_get_foreign_selection):
16544 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
16545 * src/xterm.h (x_uncatch_errors_after_check): Declare.
16546
16547 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
16548
16549 Document the optional prefix to `calc-yank'
16550
16551 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
16552 prefix to `calc-yank'.
16553 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
16554 the Calc buffer are yanked back unchanged.
16555
16556 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
16557
16558 * lisp/calendar/calendar.el: Display buffer before executing body.
16559
16560 In each use of this macro, the modeline is derived from a window width
16561 calculation, which will be wrong if (display-buffer) splits the window
16562 horizontally.
16563
16564 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
16565
16566 Use ‘echo’ safely with ‘\’ or leading ‘-’
16567
16568 POSIX says that ‘echo FOO’ produces implementation-defined output
16569 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
16570 behavior in that case.
16571 * Makefile.in (removenullpaths): Remove.
16572 (epaths-force): Rewrite to avoid the need for ‘echo’.
16573 (install-etc): Be clearer about escaping the shell metacharacters
16574 ‘\’ and ‘$’.
16575 * Makefile.in (install-arch-indep, install-etcdoc):
16576 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
16577 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
16578 * configure.ac, lib-src/rcs2log, make-dist:
16579 * src/Makefile.in (lisp.mk):
16580 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
16581 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
16582 if $foo can contain arbitrary characters.
16583 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
16584 * doc/lispref/two-volume.make (vol1.pdf):
16585 * test/etags/make-src/Makefile (web ftp publish):
16586 Use ‘printf’ rather than ‘echo -e’.
16587
16588 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
16589
16590 Allow numbers with different radixes to be yanked.
16591
16592 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
16593 default base 10.
16594
16595 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
16596
16597 Improve CHECK_IMPURE and PURE_P speedup
16598
16599 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
16600
16601 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
16602
16603 Use events instead of chars to keep track of steps.
16604
16605 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
16606 to keep track of steps.
16607
16608 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
16609
16610 Fix --enable-gcc-warnings problem with older GCC
16611
16612 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
16613 This is for building with --enable-gcc-warnings with
16614 GCC 4.6 through 5.0.
16615
16616 2015-10-10 Eli Zaretskii <eliz@gnu.org>
16617
16618 Fix vertical-motion in truncated lines that end in a stretch
16619
16620 * src/indent.c (Fvertical_motion): Expect overshoot when point is
16621 beyond window margin and lines are truncated, even if we have a
16622 stretch at point. (Bug#21468)
16623
16624 2015-10-10 Eli Zaretskii <eliz@gnu.org>
16625
16626 Avoid link-time errors due to inline functions
16627
16628 * src/emacs.c: Include puresize.h, to avoid link-time errors in
16629 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
16630 inline functions.
16631
16632 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
16633
16634 * src/data.c (Faset): Fix last change.
16635
16636 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
16637
16638 CHECK_IMPURE and PURE_P speedup
16639
16640 * src/intervals.c (create_root_interval):
16641 Do CHECK_IMPURE only for strings; not needed for buffers.
16642 Prefer ! STRINGP to BUFFERP, for a tad more speed.
16643 * src/puresize.h (CHECK_IMPURE, PURE_P):
16644 Now inline functions instead of macros.
16645 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
16646 All callers changed.
16647 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
16648 All callers changed.
16649
16650 2015-10-09 Noah Friedman <friedman@splode.com>
16651
16652 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
16653
16654 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
16655
16656 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
16657
16658 our after-change-function, rather than re-adding it if it was removed.
16659
16660 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
16661
16662 * lisp/cedet/ede: Silence some compiler warnings
16663
16664 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
16665 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
16666 (ede-apply-object-keymap, ede-reset-all-buffers)
16667 (ede-auto-add-to-target): Use dolist.
16668 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
16669 Use field names rather than initarg names in `oref'.
16670 (ede-load-project-file): Remove unused var `file'.
16671 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
16672 (ede-set): Remove unused var `a'.
16673
16674 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
16675 (ede-project-autoload): Avoid the old-style "name" argument.
16676 (ede-emacs-find-matching-target): Use field names rather than initarg
16677 names in `oref'.
16678
16679 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
16680 (ede-linux-load, ede-project-autoload): Avoid the old-style
16681 "name" argument.
16682 (ede-linux-find-matching-target): Use field names rather than initarg
16683 names in `oref'.
16684
16685 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
16686
16687 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
16688
16689 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
16690
16691 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
16692 indenting too far after ":-".
16693
16694 2015-10-09 Eli Zaretskii <eliz@gnu.org>
16695
16696 Update case-table and categories of recently added characters
16697
16698 * lisp/international/characters.el: Update information about Latin
16699 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
16700 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
16701 blocks. (Byug#21654)
16702
16703 2015-10-09 Martin Rudalics <rudalics@gmx.at>
16704
16705 * src/frame.c (adjust_frame_size): In minibuffer-only windows
16706 don't count minibuffer height twice. (Bug#21643)
16707
16708 2015-10-09 Eli Zaretskii <eliz@gnu.org>
16709
16710 Avoid inflooping in font-lock
16711
16712 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
16713 inhibit-field-text-motion around the call to
16714 line-beginning-position, to avoid inflooping. (Bug#21615)
16715
16716 2015-10-09 Tassilo Horn <tsdh@gnu.org>
16717
16718 Refactor duplicated code; ensure default is in completions
16719
16720 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
16721 New function.
16722 (reftex-extract-bib-entries): Use it.
16723 (reftex-extract-bib-entries-from-thebibliography): Use it.
16724
16725 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
16726
16727 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
16728 in the example.
16729
16730 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
16731
16732 * lisp/calc/calc.el: Silence byte-compiler warnings.
16733 (calc-scan-for-dels): Use ignore-errors.
16734 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
16735 (calc-read-key-sequence): Remove unused var `prompt2'.
16736 (calc-kill-stack-buffer): Remove unused var `buflist'.
16737 (calc): Remove unused var `oldbuf'.
16738 (calc-refresh): Use inhibit-read-only.
16739 (calc-can-abbrev-vectors): Declare.
16740 (calc-record): Remove unused var `mainbuf'.
16741 (math-sub-bignum): Remove unused var `sum'.
16742 (math-svo-c, math-svo-wid, math-svo-off): Declare.
16743
16744 2015-10-08 Daiki Ueno <ueno@gnu.org>
16745
16746 Use g_clear_error instead of g_error_free
16747
16748 * src/image.c: Define g_clear_error instead of g_error_free.
16749 (init_svg_functions): Resolve symbol g_clear_error instead of
16750 g_error_free.
16751 (svg_load_image): Use g_clear_error instead of g_error_free, to
16752 suppress GLib warnings when ERR is not set. See bug#21641.
16753
16754 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
16755
16756 * src/image.c (image_size_error): Simplify.
16757
16758 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
16759
16760 Fix problems caught with --enable-gcc-warnings
16761
16762 * src/image.c (lookup_rgb_color):
16763 * src/xfns.c (x_defined_color):
16764 * src/xterm.c (x_parse_color):
16765 Remove unused locals.
16766
16767 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
16768
16769 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
16770
16771 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
16772
16773 Format initial input uniformly
16774
16775 * lisp/calc/calc.el (calc-digit-start-entry): New function.
16776 * lisp/calc/calc.el (calcDigit-start):
16777 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
16778 Use `calc-digit-start-entry' to format input.
16779
16780 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
16781
16782 Disable non-working pointerColor setting for X tooltip frame
16783
16784 It generates a bunch of server traffic, but there's some bug wherein
16785 the new mouse cursor settings don't seem to get used. In most
16786 situations the cursor isn't likely to be seen anyway, so it's not
16787 urgent to fix.
16788
16789 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
16790
16791 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
16792
16793 Reduce some unnecessary X calls
16794
16795 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
16796 call. If border width is wanted, get it from the XGetGeometry call
16797 instead of calling XGetWindowAttributes on the same window. Skip some
16798 X calls if we've already detected an error from the X server.
16799 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
16800 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
16801
16802 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
16803
16804 Reduce color allocation/query traffic in the TrueColor case
16805
16806 When working with an X visual with TrueColor class, pixel values can
16807 be generated from the RGB values according to mask value provided by
16808 the server on connection. Some of the image-handling code was already
16809 doing this.
16810
16811 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
16812 lookup_rgb_color.
16813 (x_mutable_colormap): New function.
16814 * src/image.c (lookup_rgb_color): Move pixel composition code to
16815 x_make_truecolor_pixel.
16816 (x_kill_gs_process): Call x_mutable_colormap.
16817 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
16818 x_mutable_colormap.
16819 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
16820 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
16821 pixel value into RGB values directly, and don't send a request to the
16822 server.
16823 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
16824 value with x_make_truecolor_pixel.
16825 (x_copy_color): For an immutable color map, just return the provided
16826 pixel value.
16827
16828 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
16829
16830 Cache XParseColor results in the X display info structure
16831
16832 With repeated lookups of foreground and background colors for multiple
16833 faces per frame, we issue a lot of redundant color name lookups to the
16834 X server, waiting every time for the response. On a remote network
16835 with, say, 30ms round-trip time, this can add nearly a full second to
16836 creation of a new frame.
16837
16838 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
16839 * src/image.c (get_spec_bg_or_alpha_as_argb):
16840 (xpm_init_color_cache, xpm_lookup_color):
16841 * src/xfns.c (x_defined_color):
16842 * src/xterm.c (x_parse_color): New function; caches color names not
16843 starting with "#" in the display-info structure.
16844 (x_delete_display): Delete the cache content.
16845 * src/xterm.h (struct color_name_cache_entry): New type.
16846 (x_parse_color): Declare.
16847 (struct x_display_info): Add a new field for the cache.
16848
16849 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16850
16851 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
16852
16853 2015-10-07 Eli Zaretskii <eliz@gnu.org>
16854
16855 Fix segfault in image_size_error
16856
16857 * src/image.c (image_size_error): Pass a Lisp string to
16858 image_error, not a C string. (Bug#21641)
16859
16860 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
16861
16862 Highlight CSS variable definitions
16863
16864 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
16865 CSS variables. (Bug#21638)
16866
16867 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
16868
16869 * test/automated/tabulated-list-test.el: New file.
16870 Test bug#21639 and some basic functionality.
16871
16872 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
16873
16874 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
16875 Check if column can be sorted before trying. (Bug#21639)
16876
16877 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
16878
16879 Add test for `self-insert-command' (bug#21633)
16880
16881 * test/automated/cmds-tests.el: New file.
16882
16883 2015-10-07 Martin Rudalics <rudalics@gmx.at>
16884
16885 * src/window.c (resize_frame_windows): Don't set root window's
16886 top position when resizing horizontally.
16887
16888 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
16889
16890 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
16891 Document more possible values.
16892
16893 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
16894
16895 * lisp/textmodes/tex-mode.el: Use lexical-binding.
16896
16897 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
16898
16899 * lisp/indent.el (indent--default-inside-comment): New function.
16900 (indent-for-tab-command): Use it for `noindent' indentation.
16901
16902 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
16903
16904 Fix bug in GC_CHECK_MARKED_OBJECTS check
16905
16906 * src/alloc.c (mark_object): Fix bug in checking code.
16907 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
16908 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
16909 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
16910 bucket. The bug did not affect behavior either in the normal case
16911 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
16912 not have an internal error that a properly-written
16913 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
16914
16915 2015-10-06 Tassilo Horn <tsdh@gnu.org>
16916
16917 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
16918 Add prettified version for \\Bbb{Q}.
16919
16920 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
16921
16922 * test/automated/package-test.el (package-test-install-single):
16923 Add a test for bug#21625.
16924
16925 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
16926
16927 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
16928 not a package-desc object. Also clarify documentation. (Bug#21625)
16929
16930 2015-10-06 Eli Zaretskii <eliz@gnu.org>
16931
16932 Fix display of characters adjacent to ZWJ and ZWNJ
16933
16934 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
16935 characters the same as directional formatting controls.
16936 (bidi_level_of_next_char): Include all Bn characters in rule L1,
16937 as mandated by the UBA.
16938
16939 2015-10-06 Andreas Schwab <schwab@suse.de>
16940
16941 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
16942 number. (Bug#21633)
16943
16944 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
16945
16946 * doc/lispref/objects.texi (Window Type): Add a cross reference.
16947
16948 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
16949
16950 2015-10-05 Eli Zaretskii <eliz@gnu.org>
16951
16952 * lisp/language/misc-lang.el (composition-function-table):
16953 Fix entries for Arabic and Syriac.
16954
16955 2015-10-05 Damien Cassou <damien@cassou.me>
16956
16957 Add first unit tests for auth-source.el
16958
16959 * test/automated/auth-source-tests.el: New file.
16960
16961 2015-10-05 Eli Zaretskii <eliz@gnu.org>
16962
16963 Remove redundant redisplay code
16964
16965 * src/xdisp.c (redisplay_internal, try_cursor_movement)
16966 (try_window_reusing_current_matrix, try_window_id): Remove
16967 redundant restrictions on redisplay optimizations based on the
16968 frame's 'redisplay' flag. See
16969 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
16970 discussions.
16971
16972 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16973
16974 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
16975
16976 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
16977
16978 Update tutorials/TUTORIAL.cn
16979
16980 * etc/tutorials/TUTORIAL.cn: Improve translation.
16981
16982 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16983
16984 * src/macfont.m (macfont_encode_char, syms_of_macfont):
16985 Remove unused vars.
16986
16987 2015-10-04 Stefan Merten <stefan@merten-home.de>
16988
16989 Pull in version numbers from rst.el upstream release.
16990
16991 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
16992 (rst-svn-timestamp, rst-official-version)
16993 (rst-official-cvs-rev, rst-package-emacs-version-alist):
16994 Update version numbers.
16995
16996 2015-10-04 Eli Zaretskii <eliz@gnu.org>
16997
16998 * test/automated/coding-tests.el: New file.
16999
17000 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
17001
17002 Improve XEmacs compatibility of Tramp
17003
17004 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
17005 Declare if it doesn't exist.
17006 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
17007 (redisplay): Make it an alias if it doesn't exist.
17008
17009 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
17010 `file-remote-p' (due to XEmacs compatibility).
17011
17012 * lisp/net/trampver.el (locate-dominating-file)
17013 (tramp-compat-replace-regexp-in-string): Autoload.
17014 (tramp-repository-get-version): Do not dupe byte-compiler.
17015
17016 2015-09-02 K. Handa <handa@gnu.org>
17017
17018 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
17019
17020 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
17021 Adjusted for the change of type of elements in the array
17022 MFLTGlyphString.glyphs.
17023
17024 2015-10-04 Eli Zaretskii <eliz@gnu.org>
17025 Michael Heerdegen <michael_heerdegen@web.de>
17026
17027 shr: fix too long lines in rendered buffers (Bug#21012)
17028
17029 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
17030 Correct calculation of available width.
17031 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
17032 is nil.
17033
17034 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
17035
17036 Restore blank line before next section, erroneously erased
17037 in my previous commit
17038
17039 * etc/compilation.txt (symbol ant): Add an additional trailing blank
17040 line to this section, so that there are two of them immediately before
17041 the next section.
17042
17043 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
17044
17045 Support MSW filename style for ant compilation error regexp
17046
17047 * etc/compilation.txt (symbol ant):
17048 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
17049 Support MSW filename style.
17050
17051 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
17052
17053 * nt/INSTALL: Minor spelling and quote fixes.
17054
17055 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
17056
17057 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
17058
17059 Maintain ordering of JSON object keys by default
17060
17061 * lisp/json.el (json-object-type): Mention order handling in doc-string.
17062 (json--plist-reverse): New utility function.
17063 (json-read-object): Maintain ordering for alists and plists.
17064 (json-pretty-print): Ensure that ordering is maintained.
17065
17066 * test/automated/json-tests.el (test-json-plist-reverse): New test for
17067 `json--plist-reverse'.
17068 (json-read-simple-alist): Update test to accommodate for changes in
17069 `json-read-object'.
17070
17071 * etc/NEWS: Document the new behavior of the pretty printing functions.
17072
17073 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
17074
17075 * src/coding.c (complement_process_encoding_system): Revert last change.
17076
17077 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
17078
17079 * admin/MAINTAINERS: Add entry for Ulf Jasper.
17080
17081 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
17082
17083 Doc fix for `defmacro'
17084
17085 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
17086
17087 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
17088
17089 More validatation of coding systems
17090
17091 * src/fileio.c (Finsert_file_contents): Remove redundant
17092 coding-system check.
17093 (choose_write_coding_system): Likewise.
17094 * src/coding.c (complement_process_encoding_system): Check argument
17095 for valid coding system.
17096
17097 2015-10-03 Eli Zaretskii <eliz@gnu.org>
17098
17099 Avoid crashes in coding_inherit_eol_type
17100
17101 * src/coding.c (coding_inherit_eol_type): Check the validity of
17102 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
17103 (Bug#21602)
17104
17105 2015-10-03 Eli Zaretskii <eliz@gnu.org>
17106
17107 More validatation of coding system in 'write-region'
17108
17109 * src/coding.c (choose_write_coding_system): More validation of
17110 coding-system from various sources. Suggested by Andreas Schwab
17111 <schwab@linux-m68k.org>. (Bug#21602)
17112
17113 2015-10-03 Eli Zaretskii <eliz@gnu.org>
17114
17115 Avoid crashes due to invalid coding-system
17116
17117 * src/fileio.c (choose_write_coding_system)
17118 (Finsert_file_contents): Check validity of coding-system-for-write
17119 and coding-system-for-read bound by the caller. (Bug#21602)
17120
17121 2015-10-03 Tassilo Horn <tsdh@gnu.org>
17122
17123 Adapt to new prettify-symbols-unprettify-at-point default
17124
17125 * etc/NEWS: Mention that unprettication of symbol at point is off
17126 by default.
17127
17128 2015-10-03 Tassilo Horn <tsdh@gnu.org>
17129
17130 Revert my two recent process.c changes
17131
17132 Revert "Improve last commit to process.c" and "Remove callback-handled
17133 channels from Available set" because they did not fix bug#21313.
17134
17135 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
17136 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
17137
17138 2015-10-02 Markus Triska <triska@metalevel.at>
17139
17140 * lisp/progmodes/prolog.el: Update and extend operator table.
17141 (prolog-smie-grammar): Add multifile, public etc.
17142
17143 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
17144
17145 Allow autogen even when Git is not installed
17146
17147 * autogen.sh: Test ‘git status’ before trying to use Git.
17148
17149 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17150
17151 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
17152 Adjust lto/lfrom when we have uncommitted changes.
17153
17154 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
17155
17156 Fix problems found by clang 3.5.0
17157
17158 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
17159 * src/font.c (font_parse_family_registry):
17160 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
17161
17162 2015-10-02 Eli Zaretskii <eliz@gnu.org>
17163
17164 * nt/INSTALL: Update instructions for running autogen.sh.
17165
17166 * nt/INSTALL: Point to ezwinports for libXpm binaries.
17167
17168 2015-10-02 Daniel Colascione <dancol@dancol.org>
17169
17170 Fix winner in cl-lib not loaded case
17171
17172 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
17173 without requiring CL
17174
17175 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
17176
17177 Fix a few problems with directed quotes
17178
17179 This is in response to a problem report by Kaushal Modi in:
17180 http://bugs.gnu.org/21588#25
17181 * lisp/cedet/mode-local.el (describe-mode-local-overload):
17182 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
17183 * lisp/info-xref.el (info-xref-check-all-custom):
17184 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
17185 Prefer directed to undirected single quotes in diagnostics.
17186
17187 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17188
17189 Revert "Attempt to fix slow redisplay caused by last changes"
17190
17191 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
17192 (try_cursor_movement): Don't relax requirements for redisplay
17193 optimizations for the selected frame. (Bug#21597)
17194
17195 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
17196
17197 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17198
17199 Fix slow redisplay when daemon frame exists
17200
17201 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
17202 when looking for frames that need to be redisplayed. (Bug#21597)
17203
17204 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17205
17206 Attempt to fix slow redisplay caused by last changes
17207
17208 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
17209 (try_cursor_movement): Relax requirements for redisplay
17210 optimizations for the selected frame. (Bug#21597)
17211
17212 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
17213
17214 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
17215 Improve doc string.
17216
17217 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
17218
17219 * lisp/minibuffer.el (minibuffer-completion-help):
17220 Set default base-size, in case completion table does not set it.
17221
17222 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17223
17224 Fix GUD display of GDB output with non-ASCII text
17225
17226 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
17227 (gdb-mi-decode): New function.
17228 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
17229 decode octal escapes in GDB output. (Bug#21572)
17230
17231 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17232
17233 * nt/INSTALL: Document where to find XPM support files.
17234
17235 2015-10-01 Tassilo Horn <tsdh@gnu.org>
17236
17237 Un- and re-prettification are not exclusive
17238
17239 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
17240 Re-apply prettification to previous symbol also when unprettifying
17241 next one.
17242
17243 2015-10-01 Tassilo Horn <tsdh@gnu.org>
17244
17245 Don't unprettify symbol at point by default
17246
17247 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
17248 Default to disabled (nil).
17249
17250 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
17251
17252 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
17253 Support unprettifying when point is after a symbol.
17254
17255 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
17256
17257 2015-09-30 Eli Zaretskii <eliz@gnu.org>
17258
17259 Avoid assertion violations in push_prefix_prop
17260
17261 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
17262 a line that has a line-prefix defined starts with an image. (Bug#21428)
17263
17264 2015-09-30 Eli Zaretskii <eliz@gnu.org>
17265
17266 Disable some display optimizations when frames need redisplay
17267
17268 These optimizations were previously disabled by the
17269 windows_or_buffers_changed flag, which now is not set
17270 when only some frames need to be redrawn.
17271 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
17272 'redisplay' flag is set.
17273 (try_window_reusing_current_matrix, try_window_id)
17274 (try_cursor_movement): Disable these optimizations when the
17275 frame's 'redisplay' flag is set.
17276
17277 2015-09-30 Tassilo Horn <tsdh@gnu.org>
17278
17279 Don't modify buffer by unprettification
17280
17281 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
17282 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
17283 modify buffer when setting/removing custom prettify-symbols-start/end
17284 text properties. Add them to font-lock-extra-managed-props, too.
17285
17286 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
17287
17288 Try to avoid redisplaying all frames when creating a new one
17289
17290 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
17291 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
17292 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
17293 * src/frame.c (x_set_screen_gamma): Set the specific frame's
17294 `redisplay' bit rather than windows_or_buffers_changed.
17295
17296 * src/window.c (apply_window_adjustment): Remove redundant setting of
17297 windows_or_buffers_changed.
17298
17299 * src/xdisp.c (redisplay_internal): Set the specific frame's
17300 `redisplay' bit rather than update_mode_lines in response to
17301 cursor_type_changed.
17302 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
17303 (AINC): Adjust accordingly.
17304
17305 2015-09-30 Tassilo Horn <tsdh@gnu.org>
17306
17307 Implement unprettification of symbol at point
17308
17309 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
17310 symbol at point.
17311 (prettify-symbols--current-symbol-bounds): New variable.
17312 (prettify-symbols--post-command-hook): New function.
17313 (prettify-symbols-unprettify-at-point): New defcustom.
17314 (prettify-symbols-mode): Use it.
17315 (prettify-symbols--compose-symbol): Use them.
17316
17317 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17318
17319 * src/macfont.m (mac_font_descriptor_supports_languages):
17320 Regard "zh" as synonym of "zh-Hans".
17321
17322 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17323
17324 Work around crash when displaying etc/HELLO on OS X 10.11
17325
17326 * src/macfont.m (mac_font_get_weight)
17327 (mac_font_descriptor_get_adjusted_weight): New functions.
17328 (macfont_store_descriptor_attributes): Adjust weight.
17329
17330 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17331
17332 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
17333
17334 2015-09-30 Nicolas Petton <nicolas@petton.fr>
17335
17336 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
17337 of the columns.
17338
17339 2015-09-30 Nicolas Petton <nicolas@petton.fr>
17340
17341 Use unar and lsar to handle RAR archives in arc-mode
17342
17343 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
17344 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
17345
17346 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
17347
17348 Clarify :create in auth-source's docs
17349
17350 * lisp/gnus/auth-source.el (auth-source-search):
17351 Clarify :create's meaning.
17352
17353 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
17354
17355 Avoid empty -path arguments in rgrep
17356
17357 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
17358 the list produced according to grep-find-ignored-directories,
17359 before passing it to Find/Grep invocation. (Bug#21548)
17360
17361 2015-09-30 Eli Zaretskii <eliz@gnu.org>
17362
17363 Clarify documentation of pos-visible-in-window-p
17364
17365 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
17366 t for POS. See
17367 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
17368 for the original report.
17369
17370 * doc/lispref/windows.texi (Window Start and End): Clarify the
17371 meaning of t for the POSITION argument of pos-visible-in-window-p.
17372
17373 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17374
17375 * lisp/progmodes/prolog.el: Fix various indentation cases.
17376 (prolog-operator-chars): New const (add \\).
17377 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
17378 (prolog-smie-rules): Add rules according to bug#21526.
17379
17380 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17381
17382 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
17383 (sh-indent-after-continuation): Add new value `always' (bug#17620)
17384 (sh-smie-sh-rules): Remove old handling of continued lines.
17385 (sh-smie--indent-continuation): New function.
17386 (sh-set-shell): Use it.
17387
17388 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17389
17390 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
17391 Remove redundant :group keyword args.
17392 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
17393 Remove variables.
17394 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
17395 turn them into compile-time variables.
17396 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
17397 Add rules for break, continue, return, global, and persistent.
17398 Refine the rule for "until".
17399 (octave-smie--funcall-p, octave-smie--end-index-p)
17400 (octave-smie--in-parens-p): New functions.
17401 (octave-smie-backward-token, octave-smie-forward-token): Use them to
17402 distinguish the "enumeration" function and the "end" index from
17403 their corresponding keywords.
17404 (octave--block-offset-keywords): New constant.
17405 (octave-smie-rules): Use it. Adjust rules for new global/persistent
17406 parsing.
17407 (octave-reserved-words): Redefine using octave-smie-grammar.
17408 (octave-font-lock-keywords): Use octave-smie--funcall-p and
17409 octave-smie--end-index-p.
17410
17411 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
17414
17415 2015-09-29 Eli Zaretskii <eliz@gnu.org>
17416
17417 * nt/INSTALL: Remove references to GTK site.
17418 That site no longer offers Windows downloads.
17419
17420 2015-09-29 Eli Zaretskii <eliz@gnu.org>
17421
17422 * nt/INSTALL: Add instructions for installing Git.
17423
17424 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
17425
17426 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
17427 use colors. Suggested by Eli Zaretskii.
17428
17429 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
17430
17431 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
17432 not supporting 256 above colors (bug#21557).
17433
17434 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
17435
17436 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
17437
17438 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
17439
17440 2015-09-28 Nicolas Petton <nicolas@petton.fr>
17441
17442 Add documentation for seq.el
17443
17444 * doc/lispref/sequences.texi: Add documentation regarding extending
17445 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
17446 seq-do and seq-map.
17447
17448 2015-09-28 Nicolas Petton <nicolas@petton.fr>
17449
17450 Better documentation for seq-some
17451
17452 * doc/lispref/sequences.texi:
17453 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
17454 guarantee that the returned value is the first non-nil value that
17455 resulted from applying the predicate.
17456
17457 2015-09-28 Nicolas Petton <nicolas@petton.fr>
17458
17459 * lisp/arc-mode.el: Sharp-quote function arguments.
17460
17461 2015-09-28 Eli Zaretskii <eliz@gnu.org>
17462
17463 Avoid redisplay error in ediff-regions-wordwise
17464
17465 * lisp/vc/ediff-util.el
17466 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
17467 set before activating it. (Bug#21567)
17468
17469 2015-09-28 Eli Zaretskii <eliz@gnu.org>
17470
17471 Another attempt to fix crashes due to prematurely freed faces
17472
17473 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
17474 faces for as long as we might have desired matrices that reference
17475 those faces. (Bug#21428)
17476
17477 2015-09-28 Tassilo Horn <tsdh@gnu.org>
17478
17479 Add auctex development list email address
17480
17481 2015-09-28 Tassilo Horn <tsdh@gnu.org>
17482
17483 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
17484
17485 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
17486
17487 Improve wrapfig package support and caption parsing
17488
17489 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
17490 Correct description string and add wraptable environment.
17491 (reftex-default-context-regexps): Improve caption regexp.
17492
17493 2015-09-28 Anders Lindgren <andlind@gmail.com>
17494
17495 Respect value of frame_resize_pixelwise when handling fullscreen state
17496
17497 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
17498 setting size increments.
17499
17500 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
17501
17502 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
17503
17504 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
17505
17506 Add prettify-symbols-alist for js-mode
17507
17508 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
17509 (js-mode): Use it.
17510
17511 2015-09-27 Eli Zaretskii <eliz@gnu.org>
17512
17513 * nt/subdirs.el: File deleted (no longer used).
17514
17515 2015-09-26 Alan Mackenzie <acm@muc.de>
17516
17517 Fix follow-scroll-up/down, making them replacements for scroll-up/down
17518
17519 1. Allow point to move between follow windows in scroll operations.
17520 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
17521 when EOB was isolated in the last follow window.
17522
17523 * lisp/follow.el (follow-fixed-window): New variable.
17524 (follow-get-scrolled-point): New function.
17525 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
17526 Reformulate the code. Put `scroll-command' properties on the functions.
17527 Correct minor errors in ...-down's doc string and code.
17528 (follow-calc-win-end): Amend incomplete doc string. Use
17529 `pos-visible-in-window-p' to check whether EOB is in the window.
17530 (follow-estimate-first-window-start): Correct an off-by-1 error.
17531 (follow-adjust-window): Add handling for explicit scrolling operations.
17532
17533 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
17534
17535 * admin/MAINTAINERS: Add self, plus list some more files
17536 sans maintaners.
17537
17538 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
17539
17540 New DWIM commands for changing letter-case
17541
17542 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
17543 New functions. (Bug#21501)
17544
17545 2015-09-26 Eli Zaretskii <eliz@gnu.org>
17546
17547 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
17548
17549 2015-09-26 Eli Zaretskii <eliz@gnu.org>
17550
17551 Make face realization be more frame-specific
17552
17553 * src/frame.h (struct f): New flag face_change.
17554 * src/xfaces.c (Finternal_make_lisp_face)
17555 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
17556 (update_face_from_frame_parameter): Set the face_change flag only
17557 for the frame whose faces are affected.
17558 * src/xdisp.c (init_iterator): If a frame's face_change flag is
17559 set, free faces only on that frame.
17560 (redisplay_internal): Disable "display optimization 1" if the
17561 frame's face_change flag is set.
17562 (redisplay_window): Don't allow skipping a window's redisplay if
17563 its frame's face_change flag is set.
17564 * src/frame.c (x_set_screen_gamma): Instead of calling
17565 Fclear_face_cache, call clear_face_cache and set
17566 windows_or_buffers_changed to a non-zero value. This avoids
17567 setting the global face_change flag that triggers face realization
17568 on all frames and thorough redisplay of all of them.
17569
17570 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
17571 clear face cache if the selected frame is a GUI frame.
17572
17573 2015-09-26 Tassilo Horn <tsdh@gnu.org>
17574
17575 Remove font-latex specific check
17576
17577 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
17578 Use syntax-ppss data to identify verbatim contents.
17579
17580 2015-09-25 Tassilo Horn <tsdh@gnu.org>
17581
17582 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
17583 Fix some false negatives.
17584
17585 2015-09-25 Eli Zaretskii <eliz@gnu.org>
17586
17587 Reorder Windows version in Emacs manifests
17588
17589 * nt/emacs-x64.manifest:
17590 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
17591 highest.
17592
17593 2015-09-25 Eli Zaretskii <eliz@gnu.org>
17594
17595 Update Emacs manifest files for Windows 10
17596
17597 * nt/emacs-x86.manifest:
17598 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
17599
17600 2015-09-25 Eli Zaretskii <eliz@gnu.org>
17601
17602 Avoid non-ASCII decoding errors in C src files
17603
17604 * src/nsterm.m:
17605 * src/lisp.h:
17606 * src/editfns.c:
17607 * src/doprnt.c: Add 'coding' cookies -- these files include
17608 Unicode characters and should be decoded as UTF-8.
17609
17610 2015-09-25 Alan Mackenzie <acm@muc.de>
17611
17612 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
17613
17614 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
17615 amend to match current modes and functions.
17616 (edebug-set-initial-mode): Uncomment and change from setting a defun's
17617 `edebug-initial-mode''s property to setting the variable
17618 `edebug-initial-mode'.
17619 (top level): Create new binding C-x C-a C-m for
17620 `edebug-set-initial-mode'.
17621
17622 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
17623 `edebug-set-initial-mode' and its new key binding.
17624 (Edebug Options): Mention the new command in the pertinent place.
17625
17626 * etc/NEWS: Write entry for this change.
17627
17628 2015-09-25 Eli Zaretskii <eliz@gnu.org>
17629
17630 Avoid non-ASCII decoding errors in Texinfo files
17631
17632 * doc/misc/tramp.texi:
17633 * doc/lispref/strings.texi:
17634 * doc/lispref/positions.texi:
17635 * doc/lispref/help.texi:
17636 * doc/lispref/functions.texi:
17637 * doc/lispintro/emacs-lisp-intro.texi:
17638 * doc/emacs/text.texi:
17639 * doc/emacs/modes.texi:
17640 * doc/emacs/mini.texi:
17641 * doc/emacs/display.texi:
17642 * doc/emacs/custom.texi:
17643 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
17644 Unicode characters and should be decoded as UTF-8.
17645 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
17646 apostrophe unnecessarily.
17647
17648 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
17649
17650 Merge from gnulib
17651
17652 This incorporates:
17653 2015-09-25 c-ctype: rewrite to use inline functions
17654 2015-09-24 maint: add coding cookies to non-ASCII sources
17655 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
17656 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
17657 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
17658 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
17659 * lib/set-permissions.c:
17660 Copy from gnulib.
17661
17662 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
17663
17664 Update publicsuffix.txt from upstream
17665
17666 * etc/publicsuffix.txt: Update from
17667 https://publicsuffix.org/list/effective_tld_names.dat
17668 dated 2015-09-24 17:29:21 UTC.
17669
17670 2015-09-24 Eli Zaretskii <eliz@gnu.org>
17671
17672 Prevent timers from messing up TTY menus
17673
17674 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
17675 the TTY menu is open. (Bug#21530)
17676
17677 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
17678
17679 No need to mention K&R C in c-mode intro
17680
17681 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17682
17683 Fix recent bootstrap problems
17684
17685 * src/syntax.c (parse_sexp_propertize): Fix last fix.
17686 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
17687 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
17688
17689 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
17690
17691 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
17692
17693 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
17694
17695 Properly quote nested xml comments (Bug#6267) (Bug#20001)
17696
17697 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
17698 (nxml-mode): Set comment-quote-nested-function.
17699
17700 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
17701
17702 Allow major-modes full control over quoting nested comments
17703
17704 * lisp/newcomment.el (comment-quote-nested-function): New variable.
17705 (comment-quote-nested-default): New function.
17706 (comment-quote-nested): Use `comment-quote-nested-function'.
17707
17708 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
17709
17710 Prefer CALLN in a few more places
17711
17712 * src/macfont.m (macfont_set_family_cache):
17713 * src/nsterm.m (append2):
17714 * src/xterm.c (x_cr_export_frames):
17715 Prefer CALLN to allocating the arg arrays by hand.
17716
17717 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
17718
17719 Adapt file-notify-test02-events test case
17720
17721 * test/automated/file-notify-tests.el (file-notify-test02-events):
17722 Create a new watch for every test.
17723
17724 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
17725
17726 Continue gfilenotify.c implementation of missing parts
17727
17728 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
17729 `gfile-add-watch' call.
17730 (file-notify-rm-watch): Modify `file-notify-descriptors' only
17731 after calling the low level functions.
17732
17733 * src/gfilenotify.c (dir_monitor_callback): Check, whether
17734 event_type is expected.
17735 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
17736 (Fgfile_rm_watch): Fix typo.
17737 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
17738
17739 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17740
17741 * src/syntax.c (parse_sexp_propertize): Handle spurious
17742 e_property_truncated flag.
17743 (update_syntax_table_forward): Remove invalid assertion.
17744
17745 2015-09-23 Eli Zaretskii <eliz@gnu.org>
17746
17747 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
17748 space display spec on text-mode terminals, by calling
17749 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
17750 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
17751 test for a GUI frame.
17752
17753 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
17754
17755 Move let-when-compile to lisp-mode.el
17756
17757 This fixes the bootstrapping problem of `let-when-compile' using
17758 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
17759
17760 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
17761
17762 * lisp/url/url-http.el (url-http-parse-headers): Do not
17763 automatically include Authorization header in redirect.
17764 (Bug#21350)
17765
17766 2015-09-22 Eli Zaretskii <eliz@gnu.org>
17767
17768 Clarify documentation of ':relative-width'
17769
17770 * doc/lispref/display.texi (Specified Space): Document that
17771 ':relative-width' is only supported on GUI frames.
17772
17773 2015-09-22 Eli Zaretskii <eliz@gnu.org>
17774
17775 Fix 'current-column' in presence of :relative-width
17776
17777 * src/indent.c (check_display_width): Support ':relative-width'
17778 in a display spec that specifies a stretch glyph. (Bug#21533)
17779
17780 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17781
17782 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
17783
17784 ... to conform better to CONTRIBUTE guidelines.
17785
17786 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17787
17788 * lisp/progmodes/prolog.el: Fix indentation of empty line
17789
17790 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
17791 `empty-line-token' element.
17792 (smie-indent-empty-line): New function.
17793 (smie-indent-functions): Add it.
17794
17795 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
17796 behavior and use the new `empty-line-token' element (bug#21526).
17797 (prolog-mode-variables): Fix comment-start-skip setting to match
17798 comment-start.
17799
17800 * test/indent/prolog.prolog: Add nested indentation tests.
17801
17802 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
17803 comment-start-skip not to misuse submatch 1.
17804
17805 2015-09-22 Alan Mackenzie <acm@muc.de>
17806
17807 Make description of `edebug-initial-mode' user friendly
17808
17809 Fixes bug#21365.
17810
17811 * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
17812 description of `edebug-initial-mode' from that of its implementation
17813 to that of its visual effect and use. Move the paragraph higher up.
17814
17815 2015-09-22 Eli Zaretskii <eliz@gnu.org>
17816
17817 lisp/progmodes/gud.el (gud-format-command): Fix last commit
17818
17819 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
17820 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
17821
17822 2015-09-22 Tassilo Horn <tsdh@gnu.org>
17823
17824 Improve last commit to process.c
17825
17826 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
17827
17828 Implement gfile-valid-p
17829
17830 * lisp/filenotify.el (file-notify-callback): Fix typo.
17831 (gfile-valid-p): Remove defalias.
17832
17833 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
17834 the file or directory to be watched is deleted.
17835 (Fgfile_add_watch): Make watch_object a triple.
17836 (Fgfile_rm_watch): Check, whether watch is cancelled already.
17837 (Fgfile_valid_p): New defun.
17838 (syms_of_gfilenotify): Declare Sgfile_valid_p.
17839
17840 2015-09-22 Tassilo Horn <tsdh@gnu.org>
17841
17842 Remove callback-handled channels from Available set
17843
17844 * src/process.c (wait_reading_process_output): Remove channel from
17845 Available set if it is handled by a callback, e.g., dbus or
17846 inotify (bug#21313).
17847
17848 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
17849
17850 Use lunate epsilon for TeX \epsilon
17851
17852 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
17853 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
17854 \epsilon to use GREEK LUNATE EPSILON SYMBOL
17855
17856 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17857
17858 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
17859
17860 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
17861 rather than outermost paren (bug#21526).
17862
17863 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
17864
17865 Improve git diff hunk headers for .el, .texi
17866
17867 Problem reported by Alan Mackenzie in:
17868 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
17869 * .gitattributes (*.el, *.texi): New patterns.
17870 * autogen.sh: Configure diff.elisp.xfuncname and
17871 diff.texinfo.xfuncname if using Git.
17872
17873 2015-09-21 Eli Zaretskii <eliz@gnu.org>
17874
17875 Don't rely on defaults in decoding UTF-8 encoded Lisp files
17876
17877 * lisp/replace.el:
17878 * lisp/textmodes/rst.el:
17879 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
17880
17881 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
17882
17883 Clarify or replace a few \u escapes
17884
17885 * doc/lispref/nonascii.texi (Character Properties)
17886 More-detailed commentary for \u escapes.
17887 * lisp/progmodes/python.el (python--prettify-symbols-alist):
17888 * lisp/replace.el (query-replace-from-to-separator):
17889 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
17890 (rst-mode-syntax-table):
17891 * lisp/whitespace.el (whitespace-display-mappings):
17892 Prefer actual character to \u escape when this makes the code
17893 easier to follow in the usual case where Unicode chars can be
17894 displayed.
17895
17896 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
17897
17898 Pacify GCC -Wmaybe-uninitialized in xdisp.c
17899
17900 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
17901 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
17902 charpos. The loop should always execute at least once anyway.
17903
17904 2015-09-21 Tassilo Horn <tsdh@gnu.org>
17905
17906 Signal error on invalid regexp
17907
17908 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
17909 Signal an error when the user tries searching with a regexp
17910 matching the empty string.
17911
17912 2015-09-21 Eli Zaretskii <eliz@gnu.org>
17913
17914 Another fix of file-notify-tests for w32notify
17915
17916 * test/automated/file-notify-tests.el (file-notify-test02-events):
17917 Further adaptation for w32notify: reduce the number of expected
17918 'changed' events. (Bug#21435)
17919
17920 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
17921
17922 Adapt tests and manual for w32notify
17923
17924 * doc/lispref/os.texi (File Notifications): w32notify does not
17925 send `attribute-changed' events.
17926
17927 * test/automated/file-notify-tests.el (file-notify--test-with-events):
17928 Simplify parameters. Adapt all callees.
17929 (file-notify-test02-events): w32notify does not send
17930 `attribute-changed' events.
17931 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
17932 Do not skip in case of w32notify. Simply ignore this part of the test.
17933
17934 2015-09-21 Dima Kogan <dima@secretsauce.net>
17935
17936 Fix setting breakpoints when remote-debugging
17937
17938 * lisp/progmodes/gud.el (gud-format-command): Send localized file
17939 names to the debugger running on the remote. (Bug#13304)
17940
17941 2015-09-21 Nicolas Petton <nicolas@petton.fr>
17942
17943 Better docstring and parameter name for seq-find
17944
17945 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
17946 the parameter `sentinel' to `default'.
17947
17948 * doc/lispref/sequences.texi (Sequence Functions): Update the
17949 documentation for `seq-find' accordingly.
17950
17951 2015-09-21 Eli Zaretskii <eliz@gnu.org>
17952
17953 Avoid infinite recursion while displaying box face
17954
17955 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
17956 the previous string/buffer character position under bidi
17957 iteration. (Bug#21428)
17958
17959 2015-09-21 Anders Lindgren <andlind@gmail.com>
17960
17961 Keep upper edge unchanged when changing size of NS frame
17962
17963 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
17964 (Bug#21415).
17965
17966 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17967
17968 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
17969 (prolog-smie-rules): Accommodate standard if/then/else special
17970 indentation.
17971 (prolog-mode): Add . to electric-indent-chars.
17972 (prolog-electric--if-then-else): Re-indent the line before adding space
17973 after the new char (bug#21526).
17974
17975 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
17976
17977 Add prettify symbols to python-mode
17978
17979 * lisp/progmodes/python.el (python-prettify-symbols-alist):
17980 New variable.
17981 (python-mode): Use it
17982
17983 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17984
17985 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
17986
17987 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
17988
17989 (compilation-error-regexp-alist-alist): Tone down guile-file
17990
17991 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
17992 Make guile-file a bit less enthusiastic (bug#21496).
17993
17994 2015-09-20 Drew Csillag <drew@thecsillags.com>
17995
17996 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
17997 Fix m4_* highlighting.
17998
17999 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
18000 of commands when they have a "m4_" prefix.
18001
18002 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
18003
18004 '.' -> `.' in doc string
18005
18006 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
18007 individual chars with grave quotes instead of straight quotes, as
18008 this works better when they are translated to curved quotes.
18009
18010 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
18011
18012 Improve file notifications, especially for Tramp
18013
18014 * doc/lispref/files.texi (Magic File Names):
18015 Mention `file-notify-valid-p'.
18016
18017 * doc/lispref/os.texi (File Notifications):
18018 Describe `file-notify-valid-p'.
18019
18020 * etc/NEWS: Add `file-notify-valid-p'.
18021
18022 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
18023 Improve implementation.
18024 (tramp-gvfs-monitor-file-process-filter): Rename from
18025 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
18026 process if appropriate.
18027
18028 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
18029 Improve implementation.
18030 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
18031 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
18032 if appropriate.
18033 (tramp-sh-inotifywait-process-filter): Rename from
18034 `tramp-sh-file-inotifywait-process-filter'. Delete process if
18035 appropriate.
18036
18037 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
18038 Use `delete-process'.
18039 (tramp-handle-file-notify-valid-p): Check also, that file or
18040 directory to be watched still exists.
18041
18042 * test/automated/file-notify-tests.el (file-notify--test-timeout):
18043 New defun. Use it at all places a timeout is needed.
18044 (file-notify--test-cleanup): Delete directories recursively.
18045 Cleanup also Tramp connections.
18046 (file-notify-test02-events): Add tests for `attribute-change'.
18047 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
18048 Add tests for `file-notify-rm-watch'.
18049
18050 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
18051
18052 Use %s to format strings instead of splicing them
18053
18054 If FOO might contain quotes that are part of a file or variable
18055 name, the quotes should not be translated when showing FOO’s name
18056 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
18057 is not quite right, as it would translate FOO’s quotes.
18058 Change it to (message "%s: bar" FOO) instead.
18059 * lisp/allout.el (allout-process-exposed):
18060 * lisp/calc/calc-ext.el (calc-do-prefix-help):
18061 * lisp/calc/calc-store.el (calc-store-into):
18062 * lisp/calendar/todo-mode.el (todo-category-completions):
18063 * lisp/cedet/semantic/complete.el (semantic-completion-message):
18064 * lisp/org/ob-latex.el (convert-pdf):
18065 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
18066 * lisp/org/ox-latex.el (org-latex-compile):
18067 * lisp/org/ox-man.el (org-man-compile):
18068 * lisp/org/ox-odt.el (org-odt--export-wrap):
18069 * lisp/org/ox-texinfo.el (org-texinfo-compile):
18070 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
18071 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
18072 (verilog-signals-combine-bus, verilog-read-defines)
18073 (verilog-getopt-file, verilog-expand-dirnames)
18074 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
18075 * lisp/term/ns-win.el (ns-spi-service-call):
18076 Use %s to avoid translating quotes of file names etc. in diagnostics.
18077
18078 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18079
18080 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
18081 (js-mode): Don't set syntax-begin-function.
18082
18083 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18084
18085 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
18086 syntax-begin-function is a symbol.
18087
18088 2015-09-20 Eli Zaretskii <eliz@gnu.org>
18089
18090 Improve documentation of 'run-at-time'
18091 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
18092 In particular, don't refer to 'diary-entry-time', because it is
18093 unavailable until diary-lib is loaded. Also, refer to
18094 'timer-duration-words', not 'timer-duration', as the latter's doc
18095 string says nothing about the accepted strings.
18096
18097 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
18098
18099 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
18100
18101 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
18102
18103 Repair pdbtrack remote file tracking
18104 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
18105 Rectify pdbtrack so it follows transitions from one remote source
18106 file to the next.
18107
18108 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
18109
18110 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
18111
18112 2015-09-19 Eli Zaretskii <eliz@gnu.org>
18113
18114 Adapt vc-src to the old-new vc-checkin API
18115 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
18116 additional optional parameter.
18117
18118 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
18119
18120 Add overflow module to CSS property list
18121 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
18122 from CSS Overflow Module Level 3.
18123
18124 2015-09-19 Eli Zaretskii <eliz@gnu.org>
18125
18126 Fix documentation of "C-u C-x v v"
18127 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
18128 documentation of "C-u C-x v v" match what the code does.
18129
18130 Resurrect the ability to specify a revision in vc-next-action
18131 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
18132 * lisp/vc/vc-dav.el (vc-dav-checkin):
18133 * lisp/vc/vc-git.el (vc-git-checkin):
18134 * lisp/vc/vc-hg.el (vc-hg-checkin):
18135 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
18136 an additional optional argument, the revision to checkin.
18137 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
18138 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
18139 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
18140 a revision to checkin.
18141 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
18142 revision when checking in files.
18143 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
18144 for the details.
18145
18146 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
18147
18148 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
18149 (verilog-decls-princ, verilog-modport-princ)
18150 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
18151
18152 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
18153
18154 Fix the routine for help on Calc's prefixes
18155 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
18156 (calc-do-prefix-help): Use `read-char' to determine the next Calc
18157 command.
18158
18159 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18160
18161 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
18162 (font-lock-fontify-block): Don't let-bind it.
18163 (font-lock-compile-keywords): Don't use it.
18164 (font-lock-set-defaults): Don't set it. Allow the variable alist to
18165 start one slot earlier, instead.
18166 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
18167 Don't declare.
18168 (syntax-ppss): Don't use it either.
18169 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
18170 from docstring.
18171 * doc/emacs/display.texi (Font Lock): Don't mention
18172 font-lock-beginning-of-syntax-function.
18173 * doc/lispref/modes.texi (Font Lock Basics): Update description of
18174 font-lock-defaults.
18175 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
18176 * lisp/loadhist.el (unload-feature-special-hooks):
18177 Remove font-lock-beginning-of-syntax-function.
18178 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
18179 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
18180 font-lock-beginning-of-syntax-function.
18181
18182 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
18183
18184 Backslash cleanup in Elisp source files
18185 This patch should not change behavior. It typically omits backslashes
18186 where they are redundant (e.g., in the string literal "^\$").
18187 In a few places, insert backslashes where they make regular
18188 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
18189 "^\\*", which has the same effect as a regular expression.
18190 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
18191 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
18192 RCS IDs, as that makes it clearer that the backslash is intended.
18193
18194 Some more minor backslash fixes
18195 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
18196 * test/automated/info-xref.el (info-xref-test-write-file):
18197 Double backslashes in strings.
18198
18199 Fix several backslash typos in Elisp strings
18200 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
18201 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
18202 (todo-reset-done-string, todo-reset-comment-string)
18203 (todo-reset-highlight-item):
18204 * lisp/erc/erc-networks.el (erc-networks-alist):
18205 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
18206 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
18207 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
18208 (nntp-telnet-shell-prompt):
18209 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
18210 * lisp/image-dired.el (image-dired-rotate-original):
18211 (image-dired-get-exif-file-name):
18212 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
18213 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
18214 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
18215 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
18216 * lisp/net/shr-color.el (shr-color->hexadecimal):
18217 * lisp/org/org-bibtex.el (org-bibtex-fields):
18218 * lisp/org/org-docview.el (org-docview-export):
18219 * lisp/org/org-entities.el (org-entities):
18220 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
18221 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
18222 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
18223 (ebnf-style-database):
18224 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
18225 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
18226 * lisp/progmodes/sql.el (sql-product-alist):
18227 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
18228 (verilog-error-font-lock-keywords)
18229 (verilog-assignment-operator-re):
18230 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
18231 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
18232 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
18233 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
18234 For example, to get the regular expression ‘\.’ use the string
18235 literal "\\.", not "\." (which is equivalent to ".").
18236 * lisp/emulation/viper-util.el (viper-glob-unix-files):
18237 Remove stray ‘\j’ from string.
18238 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
18239 (nntp-telnet-shell-prompt):
18240 Treat > like $ when matching a shell prompt.
18241 * lisp/progmodes/make-mode.el (makefile-browse):
18242 Properly quote a diagnostic.
18243
18244 Fix minor quoting problems in diagnostics
18245 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
18246 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
18247 Follow text-quoting-style in diagnostic, and quote a file name.
18248
18249 2015-09-17 Eli Zaretskii <eliz@gnu.org>
18250
18251 * doc/lispref/frames.texi (Cursor Parameters):
18252 Document 'x-stretch-cursor'.
18253
18254 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
18255
18256 Omit unnecessary \ before paren in C docstrings
18257 Although \( is needed in docstrings in Elisp code, it is not needed in
18258 docstrings in C code, since C function definitiions do not start with
18259 a parenthesis. The backslashes made the docstrings a bit harder to
18260 read and to format in columns. Also, some C docstrings had ( in
18261 column 1 and this did not appear to be causing any problems. So,
18262 simplify C docstrings by replacing \( with ( and \) with ).
18263
18264 A few more minor quoting fixes in a script and a text file
18265
18266 Minor quoting fixes in scripts and doc
18267 Prefer straight quotes in random script files, as they are not
18268 converted. Prefer grave quotes in a couple of places in the manual
18269 that were missed earlier, as these quotes are converted.
18270
18271 Minor backslash fixes in manuals and scripts
18272 * Makefile.in (install-arch-indep):
18273 * admin/charsets/compact.awk:
18274 * admin/charsets/gb180302.awk (gb_to_index):
18275 * admin/charsets/gb180304.awk (gb_to_index):
18276 Avoid undefined behavior in Awk regular expression backslashes.
18277 * doc/misc/efaq.texi (Matching parentheses):
18278 Omit unnecessary backslashes.
18279 * doc/misc/gnus-faq.texi (FAQ 5-8):
18280 Avoid undefined behavior in suggested sed backslash usage.
18281
18282 Add -Wswitch to --enable-gcc-warnings
18283 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
18284 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
18285 * lib-src/etags.c (main, consider_token, C_entries):
18286 * src/coding.c (encode_invocation_designation):
18287 * src/data.c (Ftype_of):
18288 * src/eval.c (Fdefvaralias, default_toplevel_binding)
18289 (Fbacktrace__locals, mark_specpdl):
18290 * src/lisp.h (record_xmalloc):
18291 * src/syntax.c (scan_lists, scan_sexps_forward):
18292 * src/window.c (window_relative_x_coord):
18293 * src/xdisp.c (push_it, pop_it):
18294 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
18295 Error out or do nothing (as appropriate) if a switch statement
18296 with an enum value does not cover all of the enum.
18297 * src/dispextern.h (struct iterator_stack_entry.u.comp):
18298 Remove unused member discovered by using -Wswitch.
18299 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
18300 * src/vm-limit.c (check_memory_limits):
18301 Simplify warning-diagnostic computation by using a table.
18302
18303 etags ‘fatal’ function is now printf-like
18304 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
18305 Also, now static; not clear why it needed to be extern.
18306 (verror): New function, with most of the old contents of ‘error’.
18307 (fatal, error): Use it.
18308
18309 2015-09-16 Eli Zaretskii <eliz@gnu.org>
18310
18311 More adaptations in file-notify-tests.el
18312 * test/automated/file-notify-tests.el
18313 (file-notify-test05-dir-validity): Skip for w32notify in
18314 batch-mode. (Bug#21432)
18315
18316 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
18317
18318 Adapt test in file-notify-tests.el
18319 * test/automated/file-notify-tests.el
18320 (file-notify-test04-file-validity): Skip for w32notify in
18321 batch-mode. Add test lost last commit.
18322
18323 2015-09-16 Dima Kogan <dima@secretsauce.net>
18324
18325 winner no longer holds on to dead frames
18326 * lisp/winner.el (winner-change-fun): Cull dead frames.
18327 This prevents a potentially massive memory leak. See:
18328 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
18329
18330 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
18331
18332 Use common report_file_notify_error function
18333 * src/fileio.c (report_file_notify_error): New function.
18334 * src/inotify.c (report_inotify_error): Remove function.
18335 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
18336 (Finotify_rm_watch): Use report_file_notify_error.
18337 * src/lisp.h (report_file_notify_error): Declare external function.
18338 * src/w32notify.c (report_w32notify_error): Remove function.
18339 (Fw32notify_add_watch, Fw32notify_rm_watch):
18340 Use report_file_notify_error.
18341
18342 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
18343
18344 Fix documentation.
18345 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
18346 the documentation of the root mean square.
18347
18348 2015-09-16 Martin Rudalics <rudalics@gmx.at>
18349
18350 Remove tool_bar_redisplayed_once and associated code.
18351 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
18352 * src/frame.c (make_frame, x_set_font): Remove initialization of
18353 f->tool_bar_redisplayed_once.
18354 * src/w32fns.c (x_change_tool_bar_height):
18355 * src/xfns.c (x_change_tool_bar_height): Don't check for
18356 f->tool_bar_redisplayed_once.
18357 * src/xdisp.c (redisplay_internal): Remove handling of
18358 f->tool_bar_redisplayed_once.
18359
18360 2015-09-16 Eli Zaretskii <eliz@gnu.org>
18361
18362 Restore some of the quoting in the manuals
18363 * doc/lispref/windows.texi (Coordinates and Windows)
18364 (Coordinates and Windows):
18365 * doc/lispref/variables.texi (Lexical Binding)
18366 (File Local Variables):
18367 * doc/lispref/text.texi (Format Properties):
18368 * doc/lispref/symbols.texi (Symbol Components):
18369 * doc/lispref/strings.texi (Creating Strings):
18370 * doc/lispref/sequences.texi (Sequence Functions):
18371 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
18372 (Search and Replace):
18373 * doc/lispref/processes.texi (Bindat Spec):
18374 * doc/lispref/os.texi (Idle Timers):
18375 * doc/lispref/objects.texi (Basic Char Syntax):
18376 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
18377 * doc/lispref/nonascii.texi (Character Properties):
18378 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
18379 (Mode Line Variables):
18380 * doc/lispref/minibuf.texi (Text from Minibuffer):
18381 * doc/lispref/loading.texi (Autoload):
18382 * doc/lispref/keymaps.texi (Controlling Active Maps):
18383 * doc/lispref/frames.texi (Frame Layout, Size and Position)
18384 (Size Parameters, Implied Frame Resizing):
18385 * doc/lispref/files.texi (Changing Files, Magic File Names):
18386 * doc/lispref/eval.texi (Self-Evaluating Forms):
18387 * doc/lispref/display.texi (Progress, Abstract Display)
18388 (Abstract Display Example, Bidirectional Display):
18389 * doc/lispref/commands.texi (Event Mod):
18390 * doc/emacs/windows.texi (Displaying Buffers):
18391 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
18392 * doc/emacs/text.texi (Enriched Text):
18393 * doc/emacs/programs.texi (MixedCase Words):
18394 * doc/emacs/picture-xtra.texi (Insert in Picture)
18395 (Tabs in Picture):
18396 * doc/emacs/misc.texi (Emacs Server, Printing):
18397 * doc/emacs/mini.texi (Minibuffer History):
18398 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
18399 (Pulling / Pushing):
18400 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
18401 * doc/emacs/help.texi (Help, Help Echo):
18402 * doc/emacs/glossary.texi (Glossary):
18403 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
18404 (Frame Commands):
18405 * doc/emacs/files.texi (Reverting, Saving, Directories):
18406 * doc/emacs/entering.texi (Exiting):
18407 * doc/emacs/emacs.texi (Top):
18408 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
18409 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
18410 appropriate or replace quoting with @dfn.
18411 * doc/misc/ediff.texi (Window and Frame Configuration):
18412 * doc/lispref/processes.texi (Network Feature Testing):
18413 * doc/lispref/display.texi (Display Margins): Quote the phrase
18414 after "a.k.a." where appropriate.
18415
18416 2015-09-16 Tassilo Horn <tsdh@gnu.org>
18417
18418 Clarify reftex-extra-bindings docs
18419 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
18420 * doc/misc/reftex.texi (Key Bindings): Document that the variable
18421 only has an effect at load-time.
18422
18423 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
18424
18425 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
18426 search argument. (Bug#21492) (Bug#21493)
18427
18428 2015-09-16 Tassilo Horn <tsdh@gnu.org>
18429
18430 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
18431 Add pretty symbols for \qquad and \varrho.
18432
18433 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
18434
18435 Add new functions for the root mean square of a (Calc) vector
18436 * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
18437 New functions.
18438 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
18439 `calc-vector-rms', add autoloads for `calc-vector-rms' and
18440 `calcFunc-rms'.
18441 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
18442 `calcFunc-rms'.
18443 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
18444 `calc-vector-rms'.
18445 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
18446 command.
18447
18448 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
18449
18450 Add monotone EDE generic project
18451 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
18452 Add monotone generic project.
18453
18454 Revert premature commit
18455 * doc/lispref/files.texi: Revert premature commit of change to
18456 file-name-all-completions.
18457
18458 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
18459 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
18460 with cl-generic defaults.
18461 (elisp--xref-find-references): Add doc string.
18462 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
18463 tests to find bug.
18464
18465 Fix bugs in eieio-oref-default related to class symbols
18466 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
18467 (eieio-oref-default): Handle class properly.
18468
18469 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
18470
18471 Quote “fullboth” when defining it
18472 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
18473 and rewrite the containing paragraph, which was awkward. (Bug#21472).
18474
18475 2015-09-15 Eli Zaretskii <eliz@gnu.org>
18476
18477 Minor doc fix in emacs/ack.texi
18478 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
18479 first argument.
18480
18481 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
18482
18483 Adapt tests in auto-revert-tests.el
18484 * test/automated/auto-revert-tests.el (auto-revert--timeout):
18485 Make it a defconst.
18486 (auto-revert--wait-for-revert): New defun.
18487 (auto-revert-test00-auto-revert-mode)
18488 (auto-revert-test01-auto-revert-tail-mode)
18489 (auto-revert-test02-auto-revert-mode-dired): Use it.
18490
18491 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18492
18493 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
18494 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
18495 (cl-lib-fdefs): Add defgeneric.
18496 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
18497 (eieio-kw, cl-lib-kw, el-kw): Remove.
18498
18499 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
18500
18501 Quote less in manuals
18502 The manuals often used quotes ``...'' when it is better to use @dfn or
18503 @code or capitalized words or no quoting at all. For example, there is
18504 no need for the `` and '' in “if a variable has one effect for
18505 @code{nil} values and another effect for ``non-@code{nil}'' values”.
18506 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
18507 unnecessary quoting like this, and to use @dfn etc. instead when called
18508 for (Bug#21472).
18509
18510 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
18511
18512 * lisp/custom.el (load-theme): Only compute hash when needed.
18513
18514 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
18515
18516 Pacify --enable-gcc-warnings
18517 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
18518
18519 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
18520
18521 Improve error reports in inotify.c
18522 * src/inotify.c (report_inotify_error): New function. Clone of
18523 report_w32notify_error.
18524 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
18525 (Finotify_rm_watch): Use it.
18526
18527 2015-09-15 Eli Zaretskii <eliz@gnu.org>
18528
18529 Fix the file-notify tests for watch validation on w32
18530 * test/automated/file-notify-tests.el
18531 (file-notify-test04-file-validity): Move the directory deletion
18532 out of the file-notify--test-with-events macro.
18533 (file-notify-test04-file-validity)
18534 (file-notify-test05-dir-validity): Enlarge the timeout of
18535 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
18536
18537 2015-09-15 Tassilo Horn <tsdh@gnu.org>
18538
18539 Use OPEN BOX instead of space for \quad.
18540 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
18541 character for \quad instead of a space.
18542
18543 2015-09-15 Eli Zaretskii <eliz@gnu.org>
18544
18545 Add missing *.pbm images
18546 * etc/images/connect.pbm: New file.
18547 * etc/images/custom/down-pushed.pbm: New file.
18548 * etc/images/custom/down.pbm: New file.
18549 * etc/images/custom/right-pushed.pbm: New file.
18550 * etc/images/custom/right.pbm: New file.
18551 * etc/images/describe.pbm: New file.
18552 * etc/images/disconnect.pbm: New file.
18553 * etc/images/ezimage/bits.pbm: New file.
18554 * etc/images/ezimage/bitsbang.pbm: New file.
18555 * etc/images/ezimage/box-minus.pbm: New file.
18556 * etc/images/ezimage/box-plus.pbm: New file.
18557 * etc/images/ezimage/box.pbm: New file.
18558 * etc/images/ezimage/checkmark.pbm: New file.
18559 * etc/images/ezimage/dir-minus.pbm: New file.
18560 * etc/images/ezimage/dir-plus.pbm: New file.
18561 * etc/images/ezimage/dir.pbm: New file.
18562 * etc/images/ezimage/doc-minus.pbm: New file.
18563 * etc/images/ezimage/doc-plus.pbm: New file.
18564 * etc/images/ezimage/doc.pbm: New file.
18565 * etc/images/ezimage/info.pbm: New file.
18566 * etc/images/ezimage/key.pbm: New file.
18567 * etc/images/ezimage/label.pbm: New file.
18568 * etc/images/ezimage/lock.pbm: New file.
18569 * etc/images/ezimage/mail.pbm: New file.
18570 * etc/images/ezimage/page-minus.pbm: New file.
18571 * etc/images/ezimage/page-plus.pbm: New file.
18572 * etc/images/ezimage/page.pbm: New file.
18573 * etc/images/ezimage/tag-gt.pbm: New file.
18574 * etc/images/ezimage/tag-minus.pbm: New file.
18575 * etc/images/ezimage/tag-plus.pbm: New file.
18576 * etc/images/ezimage/tag-type.pbm: New file.
18577 * etc/images/ezimage/tag-v.pbm: New file.
18578 * etc/images/ezimage/tag.pbm: New file.
18579 * etc/images/ezimage/unlock.pbm: New file.
18580 * etc/images/gnus/important.pbm: New file.
18581 * etc/images/gnus/mail-send.pbm: New file.
18582 * etc/images/gnus/receipt.pbm: New file.
18583 * etc/images/gnus/toggle-subscription.pbm: New file.
18584 * etc/images/gnus/unimportant.pbm: New file.
18585 * etc/images/gud/all.pbm: New file.
18586 * etc/images/gud/rcont.pbm: New file.
18587 * etc/images/gud/recstart.pbm: New file.
18588 * etc/images/gud/recstop.pbm: New file.
18589 * etc/images/gud/rfinish.pbm: New file.
18590 * etc/images/gud/rnext.pbm: New file.
18591 * etc/images/gud/rnexti.pbm: New file.
18592 * etc/images/gud/rstep.pbm: New file.
18593 * etc/images/gud/rstepi.pbm: New file.
18594 * etc/images/gud/thread.pbm: New file.
18595 * etc/images/lock-broken.pbm: New file.
18596 * etc/images/lock-ok.pbm: New file.
18597 * etc/images/lock.pbm: New file.
18598 * etc/images/mail/copy.pbm: New file.
18599 * etc/images/mail/forward.pbm: New file.
18600 * etc/images/mail/not-spam.pbm: New file.
18601 * etc/images/mail/outbox.pbm: New file.
18602 * etc/images/mail/preview.pbm: New file.
18603 * etc/images/mail/save-draft.pbm: New file.
18604 * etc/images/mh-logo.pbm: New file.
18605 * etc/images/mpc/add.pbm: New file.
18606 * etc/images/mpc/ffwd.pbm: New file.
18607 * etc/images/mpc/next.pbm: New file.
18608 * etc/images/mpc/pause.pbm: New file.
18609 * etc/images/mpc/play.pbm: New file.
18610 * etc/images/mpc/prev.pbm: New file.
18611 * etc/images/mpc/rewind.pbm: New file.
18612 * etc/images/mpc/stop.pbm: New file.
18613 * etc/images/redo.pbm: New file.
18614 * etc/images/smilies/braindamaged.pbm: New file.
18615 * etc/images/smilies/cry.pbm: New file.
18616 * etc/images/smilies/dead.pbm: New file.
18617 * etc/images/smilies/evil.pbm: New file.
18618 * etc/images/smilies/forced.pbm: New file.
18619 * etc/images/smilies/grin.pbm: New file.
18620 * etc/images/smilies/indifferent.pbm: New file.
18621 * etc/images/sort-ascending.pbm: New file.
18622 * etc/images/sort-column-ascending.pbm: New file.
18623 * etc/images/sort-criteria.pbm: New file.
18624 * etc/images/sort-descending.pbm: New file.
18625 * etc/images/sort-row-ascending.pbm: New file.
18626 * etc/images/unchecked.pbm: New file.
18627 * etc/images/zoom-in.pbm: New file.
18628 * etc/images/README: Update instructions for PBM files.
18629
18630 Add separator.pbm tool-bar image
18631 * etc/images/separator.pbm: New file. Having it avoids the side
18632 effect of changing the tool-bar height when the default font's size
18633 changes and XPM image support is not available, due to the SPC
18634 characters that are left in the Lisp string used to display the tool
18635 bar, because there are no images to display instead of those SPC
18636 characters.
18637
18638 Make show-paren-match face visible on mono-color displays
18639 * lisp/faces.el (show-paren-match): Use the underline face for
18640 mono-color displays. (Bug#21481)
18641
18642 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
18643
18644 Don’t double-encode non-ASCII mail clipboard
18645 * lisp/mail/mailclient.el (mailclient-send-it):
18646 Also fix the case when mailclient-place-body-on-clipboard-flag
18647 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
18648
18649 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
18650
18651 Adapt file-notify-tests.el test cases
18652 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
18653 * src/inotify.c (Finotify_valid_p): Adapt docstring.
18654 * test/automated/file-notify-tests.el
18655 (file-notify-test03-autorevert)
18656 (file-notify-test04-file-validity)
18657 (file-notify-test04-file-validity-remote)
18658 (file-notify-test05-dir-validity)
18659 (file-notify-test05-dir-validity-remote): Adapt docstring.
18660 (file-notify-test04-file-validity): Let events arrive before
18661 calling final `file-notify-valid-p'. Do not ignore errors.
18662 (file-notify-test05-dir-validity): Do not manipulate
18663 `temporary-file-directory', it isn't necessary. Let events arrive
18664 before calling final `file-notify-valid-p'. Do not ignore errors.
18665
18666 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
18667
18668 Don’t double-encode non-ASCII for mail client
18669 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
18670 Use RFC 6068’s list of unreserved characters.
18671 (mailclient-send-it): When encoding the body as a URL,
18672 first decode it as per Content-Type: and Content-Transfer-Encoding:,
18673 as URLs must use percent-encoded UTF-8 (Bug#21471).
18674 * doc/misc/url.texi (mailto): Update RFC number.
18675
18676 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18677
18678 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
18679
18680 2015-09-14 Alan Mackenzie <acm@muc.de>
18681
18682 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
18683 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
18684 `cadr/car'.
18685
18686 2015-09-14 Eli Zaretskii <eliz@gnu.org>
18687
18688 Clarify documentation of char-table extra slots
18689 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
18690 slot numbers are zero-based. (Bug#21467)
18691
18692 2015-09-14 Alan Mackenzie <acm@muc.de>
18693
18694 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
18695 Fixes bug#21449.
18696 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
18697 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
18698 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
18699 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
18700 Insert "\\|\\\\." into regexps which match symbols.
18701
18702 2015-09-14 Eli Zaretskii <eliz@gnu.org>
18703
18704 Improve the doc string of w32notify-valid-p
18705 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
18706 that removing a watch makes its object invalid.
18707
18708 2015-09-14 Tassilo Horn <tsdh@gnu.org>
18709
18710 Fix tests for file-notify-valid-p
18711 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
18712 Use delete-directory to delete file-notify--test-tmpfile if it is
18713 a directory. Likewise for file-notify--test-tmpfile1.
18714 (file-notify-test04-file-validity)
18715 (file-notify-test05-dir-validity): Delete the parent directory of
18716 the test. Ignore errors when cleaning up after the test.
18717
18718 2015-09-14 Eli Zaretskii <eliz@gnu.org>
18719
18720 Report file-notify-error in w32notify.c
18721 * src/w32notify.c (report_w32notify_error): New function.
18722 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
18723 errors, instead of calling report_file_error. (Bug#21432)
18724
18725 Implement w32notify-valid-p
18726 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
18727 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
18728 'identity'.
18729
18730 2015-09-14 Tassilo Horn <tsdh@gnu.org>
18731
18732 Test file-notify-valid-p
18733 * test/automated/file-notify-tests.el
18734 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
18735 New tests.
18736
18737 2015-09-13 Eli Zaretskii <eliz@gnu.org>
18738
18739 Fix markup in ELisp manual
18740 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
18741 of the 'alpha' parameter value. (Bug#21470)
18742
18743 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
18744
18745 Introduce `file-notify-valid-p'
18746 * lisp/filenotify.el (file-notify-valid-p): New defun.
18747 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
18748 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
18749 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18750 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
18751 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
18752 <file-notify-valid-p>: Add handler.
18753 * lisp/net/tramp.el (tramp-file-name-for-operation):
18754 Add `file-notify-valid-p'.
18755 (tramp-handle-file-notify-valid-p): New defun.
18756 * src/inotify.c (Finotify_valid_p): New defun.
18757 (syms_of_inotify): Declare Sinotify_valid_p.
18758
18759 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
18760
18761 Port Unicode char detection to FreeBSD+svgalib
18762 Problem reported by Ashish SHUKLA in:
18763 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
18764 * configure.ac: Check for struct unipair.unicode instead of for
18765 <linux/kd.h>, since that’s more specific to what the code
18766 actually needs.
18767 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
18768
18769 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
18770
18771 2015-09-13 Eli Zaretskii <eliz@gnu.org>
18772
18773 Fix vertical cursor motion across overlay strings with newlines
18774 * src/indent.c (Fvertical_motion): Don't leave point in the middle
18775 of an overlay string with newlines, as that will position the
18776 cursor after the string at whatever column is there. (Bug#21468)
18777
18778 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
18779
18780 Fix tests in file-notify-tests.el
18781 * test/automated/file-notify-tests.el: Remove Tramp declarations.
18782 (file-notify-test00-availability): Print remote command w/o Tramp
18783 internal functions.
18784 (file-notify-test02-events, file-notify-test02-events-remote):
18785 Adapt docstring.
18786 (file-notify-test03-autorevert): Use `format-message' when
18787 inspecting *Messages* buffer.
18788
18789 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18790
18791 Bind inhibit-modification-hooks rather than a/b-c-f
18792 * lisp/wid-edit.el (widget-editable-list-insert-before)
18793 (widget-editable-list-delete-at):
18794 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
18795 (cperl-font-lock-unfontify-region-function):
18796 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
18797 * lisp/obsolete/longlines.el (longlines-mode):
18798 * lisp/obsolete/fast-lock.el (save-buffer-state):
18799 * lisp/mouse.el (mouse-save-then-kill-delete-region):
18800 * lisp/gnus/message.el (message-hide-headers):
18801 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
18802 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
18803 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
18804 than after/before-change-functions to nil.
18805
18806 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18807
18808 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
18809 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
18810 the buffers, even if the forced redisplay is interrupted.
18811
18812 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
18813
18814 Merge syntax-propertize--done and parse-sexp-propertize-done
18815 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
18816 (syntax-propertize): Set syntax-propertize--done even if
18817 syntax-propertize-function is nil. Avoid recursive invocations.
18818 (syntax-propertize-chunks): New var.
18819 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
18820 Simplify.
18821 (parse-sexp-propertize-function): Don't set any more.
18822 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
18823 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
18824 Call Qinternal__syntax_propertize instead of
18825 Vparse_sexp_propertize_function. Truncate e_property if needed.
18826 (update_syntax_table_forward): Streamline.
18827 (syms_of_syntax): Define Qinternal__syntax_propertize.
18828 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
18829
18830 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
18831
18832 Prefer straight quoting in some text files
18833 Mostly this just changes ` to ' in static text. Some exceptions:
18834 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
18835 typically does that now.
18836 * admin/quick-install-emacs (TRY, top level):
18837 Use straight quoting in diagnostics.
18838 * src/README: Fix working-directory confusion.
18839
18840 * CONTRIBUTE: Move send-email here from git-workflow.
18841
18842 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
18843
18844 Improve file notifications in Tramp
18845 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
18846 Set proper events to watch for.
18847 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
18848 watched events.
18849
18850 2015-09-11 Eli Zaretskii <eliz@gnu.org>
18851
18852 Fix NS build with --enable-checking='glyphs'
18853 * src/nsfns.m (unwind_create_frame): Make the preprocessor
18854 conditionals for referencing 'dpyinfo' consistent throughout the
18855 function. (Bug#21426)
18856
18857 2015-09-10 Nicolas Petton <nicolas@petton.fr>
18858
18859 Add seq-find
18860 This function is similar to `seq-some' but returns the found element.
18861 In the cases where nil can be the found element, a sentinel optional
18862 argument can be provided to avoid ambiguities.
18863 * lisp/emacs-lisp/seq.el (seq-find): New function.
18864 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
18865 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
18866 seq-find.
18867
18868 2015-09-10 Tassilo Horn <tsdh@gnu.org>
18869
18870 Document file-notify--test-with-events.
18871 * test/automated/file-notify-tests.el (file-notify--test-with-events):
18872 Add docstring.
18873
18874 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
18875
18876 Report used native library in file-notify-tests.el
18877 * test/automated/file-notify-tests.el
18878 (tramp-get-remote-gvfs-monitor-dir)
18879 (tramp-get-remote-inotifywait): Declare them.
18880 (file-notify-test00-availability): Print used native library.
18881
18882 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
18883
18884 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
18885 (mpc-file-local-copy): Check for absolute path. Check more config
18886 locations.
18887
18888 2015-09-10 Eli Zaretskii <eliz@gnu.org>
18889
18890 Improve documentation of categories
18891 * doc/lispref/syntax.texi (Categories): Clarify the example of
18892 using define-category and modify-category-entry. (Bug#21448)
18893
18894 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
18895
18896 Revert some stray curved quotes I missed earlier
18897 Problem reported by David Kastrup in:
18898 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
18899 * lisp/international/mule-cmds.el (leim-list-header):
18900 Use format-message with an ASCII-only format.
18901
18902 Prefer NUMBERP to spelling it out
18903 * src/editfns.c (styled_format):
18904 * src/frame.h (NUMVAL):
18905 * src/image.c (parse_image_spec):
18906 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
18907 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
18908 * src/process.c (Fsignal_process):
18909 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
18910 * src/xfaces.c (check_lface_attrs):
18911 * src/xselect.c (x_fill_property_data, x_send_client_event):
18912 Use NUMBERP rather than INTEGERP || FLOATP.
18913
18914 2015-09-10 Tassilo Horn <tsdh@gnu.org>
18915
18916 Improve file-notify-tests
18917 * test/automated/file-notify-tests.el: Use lexical-binding.
18918 (file-notify--test-cleanup): New function.
18919 (file-notify-test00-availability, file-notify-test01-add-watch)
18920 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
18921 (file-notify--test-with-events): New macro.
18922 (file-notify-test02-events): Use it.
18923
18924 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
18925
18926 Add patch-sending instructions to git-workflow
18927 From a suggestion by Mitchel Humpherys in:
18928 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
18929 * admin/notes/git-workflow (Sending patches): New section.
18930
18931 Port to GIFLIB 5.0.6 and later
18932 Problem reported by Mitchel Humpherys in:
18933 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
18934 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
18935 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
18936 (gif_load) [HAVE_GIF]: Use it.
18937
18938 2015-09-10 Glenn Morris <rgm@gnu.org>
18939
18940 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
18941
18942 2015-09-09 Glenn Morris <rgm@gnu.org>
18943
18944 * test/automated/file-notify-tests.el (file-notify-test02-events):
18945 Fix recent change.
18946
18947 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
18948
18949 Refix movemail GCC pacification
18950 Problem reported by Ken Brown in:
18951 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
18952 * lib-src/movemail.c (main): Fix previous change.
18953
18954 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18955
18956 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
18957 Mark unused vars with underscore.
18958
18959 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
18960 (parse_sexp_propertize): ...from here.
18961
18962 * lisp/filenotify.el: Use lexical-binding
18963 (file-notify-add-watch): Avoid add-to-list.
18964
18965 2015-09-09 Tassilo Horn <tsdh@gnu.org>
18966
18967 Start checking event types in file-notify tests
18968 * test/automated/file-notify-tests.el (file-notify--test-events):
18969 New variable.
18970 (file-notify--test-event-handler): Append received event to
18971 file-notify--test-events for later analysis.
18972 (file-notify-test02-events): Assert that the expected notifications have
18973 arrived in the expected order.
18974
18975 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
18976
18977 Merge from gnulib and texinfo
18978 This incorporates:
18979 2015-08-03 Improve port of stdalign to C++11
18980 * lib/stdalign.in.h: Copy from gnulib.
18981 * doc/misc/texinfo.tex: Copy from texinfo.
18982
18983 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18984
18985 Make syntax.c call syntax-propertize on demand
18986 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
18987 (parse-sexp-propertize-function): Use it.
18988 (syntax-propertize): Disable parse-sexp-propertize-function.
18989 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
18990 New functions.
18991 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
18992 `parse-sexp-propertize-function'.
18993 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
18994 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
18995 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
18996 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
18997 Don't assume `point' is set.
18998
18999 2015-09-09 Eli Zaretskii <eliz@gnu.org>
19000
19001 Fix indentation of an @example in ELisp manual
19002 * doc/lispref/syntax.texi (Categories): Untabify the example.
19003 (Bug#21448)
19004
19005 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
19006
19007 Define internal-char-font even if --without-x
19008 The function is used now even in non-graphical environments.
19009 Problem reported by Glenn Morris in:
19010 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
19011 * src/font.c (Finternal_char_font): Move here ...
19012 * src/fontset.c (Finternal_char_font): ... from here.
19013
19014 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19015
19016 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
19017 Remove warning.
19018
19019 2015-09-09 Eli Zaretskii <eliz@gnu.org>
19020
19021 Fix display of complex local data types in GDB-MI
19022 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
19023 variable has no value, display "<complex data type>" as a
19024 placeholder, instead of a confusing "nil". (Bug#21438)
19025
19026 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
19027
19028 Remove redundant redefinition of seq-drop-while from seq.el
19029 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
19030
19031 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
19032
19033 * lisp/emacs-lisp/package.el (package--ensure-init-file):
19034 More robust check for `package-initialize' calls in init file.
19035 This function accepts an optional argument, but calls passing
19036 an argument would not have been detected.
19037
19038 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
19039
19040 Port movemail to RHEL 6 with --enable-gcc-warnings
19041 * lib-src/movemail.c (main): Declare local only if needed.
19042
19043 Port recent Linux console changes to RHEL 6
19044 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
19045
19046 Improvements for curved quotes on Linux consule
19047 This should help Emacs work better out-of-the-box on Linux consoles,
19048 which have only limited support for displaying Unicode characters.
19049 Also, undo the recent change that caused text-quoting-style to
19050 affect quote display on terminals, so that the two features are
19051 independent. See Alan Mackenzie in:
19052 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
19053 Finally, add a style parameter to startup--setup-quote-display,
19054 so that this function can also be invoked after startup, with
19055 different styles depending on user preference at the time.
19056 * configure.ac: Check for linux/kd.h header.
19057 * doc/emacs/display.texi (Text Display): Document quote display.
19058 * doc/lispref/display.texi (Active Display Table):
19059 * etc/NEWS:
19060 * lisp/startup.el (startup--setup-quote-display, command-line):
19061 text-quoting-style no longer affects quote display.
19062 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
19063 * lisp/international/mule-util.el (char-displayable-p):
19064 * lisp/startup.el (startup--setup-quote-display):
19065 On a text terminal supporting glyph codes, use the reported
19066 glyph codes instead of the terminal coding system, as this
19067 is more accurate on the Linux console.
19068 * lisp/startup.el (startup--setup-quote-display):
19069 New optional arg STYLE.
19070 * src/fontset.c (Finternal_char_font):
19071 Report glyph codes for a text terminal, if they are available.
19072 Currently this is supported only for the Linux console.
19073 * src/termhooks.h (struct terminal): New member glyph-code-table.
19074 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
19075 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
19076 (terminal_glyph_code): New function.
19077
19078 2015-09-08 Juri Linkov <juri@linkov.net>
19079
19080 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
19081 underline. (Bug#21433)
19082
19083 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19084
19085 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
19086
19087 2015-09-08 Tassilo Horn <tsdh@gnu.org>
19088
19089 Fix double-reporting of rename events with inotify
19090 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
19091 of rename events with inotify (bug#21435).
19092
19093 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
19094
19095 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
19096 (tetris-mode-map): Use it.
19097
19098 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19099
19100 Remove a few simple cases of global redisplay
19101 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
19102 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
19103 rather than returning a "resized_p" boolean.
19104 (redisplay_internal): Adjust call accordingly.
19105 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
19106 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
19107 tracking of this undesirable situation.
19108
19109 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
19110 * src/process.c (status_notify): Only set the update_mode_line on the
19111 relevant buffers rather than setting it globally.
19112
19113 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19114
19115 * lisp/electric.el (electric-quote-post-self-insert-function):
19116 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
19117 (electric-quote-mode): Activate everywhere in message-mode.
19118
19119 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
19120
19121 Go back to grave quoting in source-code docstrings etc.
19122 This reverts almost all my recent changes to use curved quotes
19123 in docstrings and/or strings used for error diagnostics.
19124 There are a few exceptions, e.g., Bahá’í proper names.
19125 * admin/unidata/unidata-gen.el (unidata-gen-table):
19126 * lisp/abbrev.el (expand-region-abbrevs):
19127 * lisp/align.el (align-region):
19128 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
19129 (outlineify-sticky):
19130 * lisp/apropos.el (apropos-library):
19131 * lisp/bookmark.el (bookmark-default-annotation-text):
19132 * lisp/button.el (button-category-symbol, button-put)
19133 (make-text-button):
19134 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
19135 * lisp/calc/calc-embed.el (calc-do-embedded):
19136 * lisp/calc/calc-ext.el (calc-user-function-list):
19137 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
19138 * lisp/calc/calc-help.el (calc-describe-key)
19139 (calc-describe-thing, calc-full-help):
19140 * lisp/calc/calc-lang.el (calc-c-language)
19141 (math-parse-fortran-vector-end, math-parse-tex-sum)
19142 (math-parse-eqn-matrix, math-parse-eqn-prime)
19143 (calc-yacas-language, calc-maxima-language, calc-giac-language)
19144 (math-read-giac-subscr, math-read-math-subscr)
19145 (math-read-big-rec, math-read-big-balance):
19146 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
19147 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
19148 (calc-auto-recompute):
19149 * lisp/calc/calc-prog.el (calc-fix-token-name)
19150 (calc-read-parse-table-part, calc-user-define-invocation)
19151 (math-do-arg-check):
19152 * lisp/calc/calc-store.el (calc-edit-variable):
19153 * lisp/calc/calc-units.el (math-build-units-table-buffer):
19154 * lisp/calc/calc-vec.el (math-read-brackets):
19155 * lisp/calc/calc-yank.el (calc-edit-mode):
19156 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
19157 * lisp/calendar/appt.el (appt-display-message):
19158 * lisp/calendar/diary-lib.el (diary-check-diary-file)
19159 (diary-mail-entries, diary-from-outlook):
19160 * lisp/calendar/icalendar.el (icalendar-export-region)
19161 (icalendar--convert-float-to-ical)
19162 (icalendar--convert-date-to-ical)
19163 (icalendar--convert-ical-to-diary)
19164 (icalendar--convert-recurring-to-diary)
19165 (icalendar--add-diary-entry):
19166 * lisp/calendar/time-date.el (format-seconds):
19167 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
19168 (timeclock-make-hours-explicit, timeclock-log-data):
19169 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
19170 (todo-item-mark, todo-check-format)
19171 (todo-insert-item--next-param, todo-edit-item--next-key)
19172 (todo-mode):
19173 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
19174 * lisp/cedet/mode-local.el (describe-mode-local-overload)
19175 (mode-local-print-binding, mode-local-describe-bindings-2):
19176 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
19177 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
19178 * lisp/cus-start.el (standard):
19179 * lisp/cus-theme.el (describe-theme-1):
19180 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
19181 (custom--sort-vars-1, load-theme):
19182 * lisp/descr-text.el (describe-text-properties-1, describe-char):
19183 * lisp/dired-x.el (dired-do-run-mail):
19184 * lisp/dired.el (dired-log):
19185 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
19186 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
19187 (ad-disable-advice, ad-remove-advice, ad-set-argument)
19188 (ad-set-arguments, ad--defalias-fset, ad-activate)
19189 (ad-deactivate):
19190 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
19191 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
19192 (byte-optimize-while, byte-optimize-apply):
19193 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
19194 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
19195 (byte-compile-log-file, byte-compile-format-warn)
19196 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
19197 (byte-compile-cl-warn)
19198 (byte-compile-warn-about-unresolved-functions)
19199 (byte-compile-file, byte-compile--declare-var)
19200 (byte-compile-file-form-defmumble, byte-compile-form)
19201 (byte-compile-normal-call, byte-compile-check-variable)
19202 (byte-compile-variable-ref, byte-compile-variable-set)
19203 (byte-compile-subr-wrong-args, byte-compile-setq-default)
19204 (byte-compile-negation-optimizer)
19205 (byte-compile-condition-case--old)
19206 (byte-compile-condition-case--new, byte-compile-save-excursion)
19207 (byte-compile-defvar, byte-compile-autoload)
19208 (byte-compile-lambda-form)
19209 (byte-compile-make-variable-buffer-local, display-call-tree)
19210 (batch-byte-compile):
19211 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
19212 * lisp/emacs-lisp/chart.el (chart-space-usage):
19213 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
19214 (check-declare-warn, check-declare-file)
19215 (check-declare-directory):
19216 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
19217 (checkdoc-message-text-engine):
19218 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
19219 (cl--describe-class):
19220 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
19221 (cl--generic-describe, cl-generic-generalizers):
19222 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
19223 (cl-symbol-macrolet):
19224 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
19225 * lisp/emacs-lisp/copyright.el (copyright)
19226 (copyright-update-directory):
19227 * lisp/emacs-lisp/edebug.el (edebug-read-list):
19228 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
19229 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
19230 (eieio-oref):
19231 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
19232 * lisp/emacs-lisp/eieio-speedbar.el:
19233 (eieio-speedbar-child-make-tag-lines)
19234 (eieio-speedbar-child-description):
19235 * lisp/emacs-lisp/eieio.el (defclass, change-class):
19236 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
19237 (elint-init-form, elint-check-defalias-form)
19238 (elint-check-let-form):
19239 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
19240 (ert-results-pop-to-backtrace-for-test-at-point)
19241 (ert-results-pop-to-messages-for-test-at-point)
19242 (ert-results-pop-to-should-forms-for-test-at-point)
19243 (ert-describe-test):
19244 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
19245 (find-function-library):
19246 * lisp/emacs-lisp/generator.el (iter-yield):
19247 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
19248 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
19249 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
19250 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
19251 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
19252 (advice--make, define-advice):
19253 * lisp/emacs-lisp/package-x.el (package-upload-file):
19254 * lisp/emacs-lisp/package.el (package-version-join)
19255 (package-disabled-p, package-activate-1, package-activate)
19256 (package--download-one-archive)
19257 (package--download-and-read-archives)
19258 (package-compute-transaction, package-install-from-archive)
19259 (package-install, package-install-selected-packages)
19260 (package-delete, package-autoremove, describe-package-1)
19261 (package-install-button-action, package-delete-button-action)
19262 (package-menu-hide-package, package-menu--list-to-prompt)
19263 (package-menu--perform-transaction)
19264 (package-menu--find-and-notify-upgrades):
19265 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
19266 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
19267 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
19268 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
19269 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
19270 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
19271 (rx-form):
19272 * lisp/emacs-lisp/smie.el (smie-config-save):
19273 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
19274 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
19275 * lisp/emacs-lisp/testcover.el (testcover-1value):
19276 * lisp/emacs-lisp/timer.el (timer-event-handler):
19277 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
19278 (viper-toggle-search-style, viper-kill-buffer)
19279 (viper-brac-function):
19280 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
19281 * lisp/env.el (setenv):
19282 * lisp/erc/erc-button.el (erc-nick-popup):
19283 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
19284 * lisp/eshell/em-dirs.el (eshell/cd):
19285 * lisp/eshell/em-glob.el (eshell-glob-regexp)
19286 (eshell-glob-entries):
19287 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
19288 * lisp/eshell/esh-opt.el (eshell-show-usage):
19289 * lisp/facemenu.el (facemenu-add-new-face)
19290 (facemenu-add-new-color):
19291 * lisp/faces.el (read-face-name, read-face-font, describe-face)
19292 (x-resolve-font-name):
19293 * lisp/files-x.el (modify-file-local-variable):
19294 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
19295 (set-auto-mode, hack-one-local-variable--obsolete)
19296 (dir-locals-set-directory-class, write-file, basic-save-buffer)
19297 (delete-directory, copy-directory, recover-session)
19298 (recover-session-finish, insert-directory)
19299 (file-modes-char-to-who, file-modes-symbolic-to-number)
19300 (move-file-to-trash):
19301 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
19302 * lisp/find-cmd.el (find-generic, find-to-string):
19303 * lisp/finder.el (finder-commentary):
19304 * lisp/font-lock.el (font-lock-fontify-buffer):
19305 * lisp/format.el (format-write-file, format-find-file)
19306 (format-insert-file):
19307 * lisp/frame.el (get-device-terminal, select-frame-by-name):
19308 * lisp/fringe.el (fringe--check-style):
19309 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
19310 * lisp/help-fns.el (help-fns--key-bindings)
19311 (help-fns--compiler-macro, help-fns--parent-mode)
19312 (help-fns--obsolete, help-fns--interactive-only)
19313 (describe-function-1, describe-variable):
19314 * lisp/help.el (describe-mode)
19315 (describe-minor-mode-from-indicator):
19316 * lisp/image.el (image-type):
19317 * lisp/international/ccl.el (ccl-dump):
19318 * lisp/international/fontset.el (x-must-resolve-font-name):
19319 * lisp/international/mule-cmds.el (prefer-coding-system)
19320 (select-safe-coding-system-interactively)
19321 (select-safe-coding-system, activate-input-method)
19322 (toggle-input-method, describe-current-input-method)
19323 (describe-language-environment):
19324 * lisp/international/mule-conf.el (code-offset):
19325 * lisp/international/mule-diag.el (describe-character-set)
19326 (list-input-methods-1):
19327 * lisp/mail/feedmail.el (feedmail-run-the-queue):
19328 * lisp/mouse.el (minor-mode-menu-from-indicator):
19329 * lisp/mpc.el (mpc-playlist-rename):
19330 * lisp/msb.el (msb--choose-menu):
19331 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
19332 * lisp/net/imap.el (imap-interactive-login):
19333 * lisp/net/mairix.el (mairix-widget-create-query):
19334 * lisp/net/newst-backend.el (newsticker--sentinel-work):
19335 * lisp/net/newst-treeview.el (newsticker--treeview-load):
19336 * lisp/net/rlogin.el (rlogin):
19337 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
19338 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
19339 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
19340 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
19341 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
19342 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
19343 (org-babel-goto-named-result):
19344 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
19345 * lisp/org/ob-ref.el (org-babel-ref-resolve):
19346 * lisp/org/org-agenda.el (org-agenda-prepare):
19347 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
19348 (org-clock-resolve):
19349 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
19350 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
19351 * lisp/org/org-habit.el (org-habit-parse-todo):
19352 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
19353 (org-mouse-context-menu):
19354 * lisp/org/org-table.el (org-table-edit-formulas):
19355 * lisp/org/ox.el (org-export-async-start):
19356 * lisp/proced.el (proced-log):
19357 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
19358 (ada-check-matching-start, ada-goto-matching-start):
19359 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
19360 * lisp/progmodes/ada-xref.el (ada-find-executable):
19361 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
19362 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
19363 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
19364 (flymake-start-syntax-check-process):
19365 * lisp/progmodes/python.el (python-shell-get-process-or-error)
19366 (python-define-auxiliary-skeleton):
19367 * lisp/progmodes/sql.el (sql-comint):
19368 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
19369 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
19370 * lisp/recentf.el (recentf-open-files):
19371 * lisp/replace.el (query-replace-read-from)
19372 (occur-after-change-function, occur-1):
19373 * lisp/scroll-bar.el (scroll-bar-columns):
19374 * lisp/server.el (server-get-auth-key):
19375 * lisp/simple.el (execute-extended-command)
19376 (undo-outer-limit-truncate, list-processes--refresh)
19377 (compose-mail, set-variable, choose-completion-string)
19378 (define-alternatives):
19379 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
19380 (command-line-1):
19381 * lisp/subr.el (noreturn, define-error, add-to-list)
19382 (read-char-choice, version-to-list):
19383 * lisp/term/common-win.el (x-handle-xrm-switch)
19384 (x-handle-name-switch, x-handle-args):
19385 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
19386 * lisp/textmodes/reftex-ref.el (reftex-label):
19387 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
19388 * lisp/textmodes/two-column.el (2C-split):
19389 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
19390 (tutorial--find-changed-keys):
19391 * lisp/type-break.el (type-break-noninteractive-query):
19392 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
19393 (wdired-do-perm-changes):
19394 * lisp/whitespace.el (whitespace-report-region):
19395 Prefer grave quoting in source-code strings used to generate help
19396 and diagnostics.
19397 * lisp/faces.el (face-documentation):
19398 No need to convert quotes, since the result is a docstring.
19399 * lisp/info.el (Info-virtual-index-find-node)
19400 (Info-virtual-index, info-apropos):
19401 Simplify by generating only curved quotes, since info files are
19402 typically that ways nowadays anyway.
19403 * lisp/international/mule-diag.el (list-input-methods):
19404 Don’t assume text quoting style is curved.
19405 * lisp/org/org-bibtex.el (org-bibtex-fields):
19406 Revert my recent changes, going back to the old quoting style.
19407
19408 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
19409
19410 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
19411 (package--autoloads-file-name)
19412 (package--activate-autoloads-and-load-path): New function.
19413 (package-activate-1): Delegate autoloading and load-path
19414 configuration to `package--activate-autoloads-and-load-path'.
19415 (package--compile): Before compilation, call
19416 `package--activate-autoloads-and-load-path' instead of
19417 `package-activate-1'.
19418
19419 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19420
19421 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
19422
19423 2015-09-07 Eli Zaretskii <eliz@gnu.org>
19424
19425 Fix deletion of symlinks to directories on MS-Windows
19426 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
19427 symlink to a directory, try again with 'rmdir'.
19428 (is_symlink): If the argument is a symlink to a directory, set a
19429 bit in the return value to indicate that fact.
19430
19431 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
19432
19433 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
19434 When `package-initialize' is called as part of loading the init file,
19435 the user probably doesn't want it to be called again afterwards.
19436 In this situation, `package-initialize' now sets
19437 `package-enable-at-startup' to nil to prevent that. The user can have
19438 the old behavior by setting this variable to t after the call to
19439 `package-initialize'. (Bug#21423)
19440 * doc/emacs/package.texi (Package Installation): Document it.
19441 * doc/lispref/package.texi (Packaging Basics): Document it.
19442 * etc/NEWS: Document it.
19443
19444 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
19445
19446 Bump version of ntlm.el to 2.00
19447 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
19448 Add comm keyword.
19449
19450 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
19451
19452 * doc/misc/gnus.texi (Mail Source Specifiers):
19453 Allow :mailbox to be a list.
19454
19455 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
19456
19457 * lisp/progmodes/etags.el (etags-tags-completion-table):
19458 Allow even one non-regular character before the implicit tag name.
19459 Reported at http://emacs.stackexchange.com/questions/15269/.
19460
19461 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
19462
19463 Add support for NTLMv2 authentication
19464 * lisp/net/ntlm.el (ntlm): New customization group.
19465 (ntlm-compatibility-level): New defcustom.
19466 (ntlm-compute-timestamp): New function.
19467 (ntlm-generate-nonce): Likewise.
19468 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
19469
19470 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
19471
19472 * lisp/emacs-lisp/package.el: Rename custom faces.
19473 All of the recently introduced faces, like `package-name-face', have
19474 been renamed to no end in `-face' to comply with the convention
19475 described in (info "(elisp) Defining Faces").
19476 (package-name, package-description)
19477 (package-status-built-in, package-status-external)
19478 (package-status-available, package-status-new)
19479 (package-status-held, package-status-disabled)
19480 (package-status-installed, package-status-dependency)
19481 (package-status-unsigned, package-status-incompat)
19482 (package-status-avail-obso): New faces.
19483 (package-menu--print-info-simple): Use them.
19484
19485 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
19486
19487 mail-source.el: Make the imap mail-source's :mailbox handle a list
19488 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
19489 Allow :mailbox to be a list.
19490
19491 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
19492
19493 nnimap.el: Handle nil arg to nnimap-request-group
19494 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
19495 This arg isn't always passed in, check it's not nil before making it
19496 into a list. The active arg will also be nil if the group is new,
19497 check for that.
19498
19499 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
19500
19501 File notifications: Support renaming over directory boundaries
19502 * lisp/filenotify.el (file-notify-handle-event):
19503 (file-notify--pending-event): Adapt docstring.
19504 (file-notify--descriptor, file-notify-callback): Reimplement in
19505 order to support renaming over directory boundaries.
19506 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
19507 * doc/lispref/os.texi (File Notifications): Remove limitation of
19508 file renaming to the same directory.
19509
19510 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
19511
19512 Spelling fix (Bug#21420)
19513
19514 2015-09-05 Nicolas Petton <nicolas@petton.fr>
19515
19516 Improve the semantic of map-some
19517 Update map-some to return the returned by the predicate, similar to
19518 seq-some.
19519 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
19520 return value of the predicate.
19521 * test/automated/map-tests.el (test-map-some): Update the test to check
19522 for non-nil values only.
19523
19524 Rename map-contains-key-p and map-some-p
19525 Remove the "-p" suffix from both function names.
19526 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
19527 Rename the functions.
19528 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
19529 Update both test functions.
19530
19531 Improve the semantic of seq-some
19532 Update seq-some to return non-nil if the predicate returns non-nil for
19533 any element of the seq, in which case the returned value is the one
19534 returned by the predicate.
19535 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
19536 docstring.
19537 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
19538 * doc/lispref/sequences.texi (Sequence Functions): Update the
19539 documentation for seq-some.
19540
19541 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
19542 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
19543 without the "-p" prefix.
19544 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
19545 the tests accordingly.
19546 * doc/lispref/sequences.texi (Sequence Functions): Update the
19547 documentation for seq.el.
19548
19549 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
19550
19551 text-quoting-style for usage of fn names with ‘’
19552 * lisp/help.el (help--docstring-quote): Don’t assume
19553 text-quoting-style is ‘curve’ when generating usage strings for
19554 functions whose names contain curved quotes.
19555
19556 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
19557
19558 Fix fix for describe-function keybinding confusion
19559 This fixes a bug introduced by the previous patch.
19560 * lisp/help-fns.el (help-fns--signature):
19561 Last arg of help-fns--signature is now a buffer, or nil if a
19562 raw signature is wanted. All callers changed.
19563 (describe-function-1): Use this to do the right thing with signatures.
19564
19565 2015-09-05 Johan Bockgård <bojohan@gnu.org>
19566
19567 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
19568
19569 Use PAT rather than UPAT in pcase macros
19570 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
19571 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
19572 than UPAT.
19573
19574 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
19575
19576 Fix describe-function keybinding confusion
19577 * lisp/help-fns.el (describe-function-1): Compute signature
19578 in the original buffer, not in standard-output, so that
19579 substitute-command-keys uses the proper keybindings.
19580 This fixes Bug#21412, introduced in commit
19581 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
19582
19583 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
19584
19585 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
19586
19587 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
19588
19589 Avoid read error messages from 'inotify'
19590 * src/process.c (wait_reading_process_output): Add a
19591 'tls_available' set and manipulate it instead of 'Available' when
19592 checking TLS inputs. Assign the value to 'Available' only if we
19593 find any TLS data waiting to be read. This avoids error messages
19594 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
19595
19596 2015-09-05 Eli Zaretskii <eliz@gnu.org>
19597
19598 Avoid errors in thing-at-point with 2nd argument non-nil
19599 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
19600 sequences. (Bug#21391)
19601
19602 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
19603
19604 Fix segfaults due to using a stale face ID
19605 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
19606 (display_echo_area_1, redisplay_internal): Call it to avoid
19607 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
19608 faces, which could case a segfault if the frame's face cache was
19609 freed since the last redisplay. (Bug#21394)
19610 * src/xfaces.c (free_realized_faces):
19611 Call forget_escape_and_glyphless_faces.
19612 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
19613
19614 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
19615
19616 Fix minor problems with " in manual
19617
19618 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
19619
19620 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
19621 multi-hop files.
19622
19623 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
19624
19625 Support automated ‘make check’ in non-C locale
19626 This lets the builder optionally test Emacs behavior in other locales.
19627 The C locale is still the default for tests.
19628 * test/automated/Makefile.in (TEST_LOCALE): New macro.
19629 (emacs): Use it.
19630 * test/automated/flymake-tests.el (flymake-tests--current-face):
19631 Use C locale for subprocesses so that tests behave as expected.
19632 * test/automated/python-tests.el:
19633 (python-shell-prompt-validate-regexps-1)
19634 (python-shell-prompt-validate-regexps-2)
19635 (python-shell-prompt-validate-regexps-3)
19636 (python-shell-prompt-validate-regexps-4)
19637 (python-shell-prompt-validate-regexps-5)
19638 (python-shell-prompt-validate-regexps-6)
19639 (python-shell-prompt-set-calculated-regexps-1):
19640 Adjust expected output to match locale.
19641 * test/automated/tildify-tests.el (tildify-test--test)
19642 (tildify-space-test--test, tildify-space-undo-test--test):
19643 This test assumes UTF-8 encoding.
19644
19645 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
19646
19647 Fix some more docstring etc. quoting problems
19648 Mostly these fixes prevent the transliteration of apostrophes
19649 that should stay apostrophes. Also, prefer curved quotes in
19650 Bahá’í proper names, as that’s the preferred Bahá’í style and
19651 these names are chock-full of non-ASCII characters anyway.
19652 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
19653 (eieio-defclass-internal):
19654 * lisp/emacs-lisp/eieio.el (defclass):
19655 * lisp/hi-lock.el (hi-lock-mode):
19656 Don’t transliterate Lisp apostrophes when generating a
19657 doc string or diagnostic.
19658 * lisp/international/mule-diag.el (list-coding-systems-1):
19659 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
19660 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
19661 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
19662 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
19663 Substitute quotes before putting them in the help buffer.
19664
19665 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
19666
19667 Re-add the notion of echo_prompt lost in the translation
19668 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
19669 echo_prompt which contains the actual string. Update all uses.
19670 * src/keyboard.c (kset_echo_prompt): New function.
19671 (echo_update): Add echo_prompt at the very beginning.
19672 (read_char): Remove workaround for bug#19875, not needed any more.
19673 (read_key_sequence): Set echo_prompt rather than echo_string
19674 (bug#21403).
19675 (mark_kboards): Mark echo_prompt.
19676
19677 Fix disassembly of non-compiled lexical functions (bug#21377)
19678 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
19679 * lisp/emacs-lisp/disass.el: Use lexical-binding.
19680 (disassemble): Recognize `closure's as well.
19681 (disassemble-internal): Use indirect-function and
19682 help-function-arglist, and accept `closure's.
19683 (disassemble-internal): Use interactive-form.
19684 (disassemble-1): Use functionp.
19685
19686 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
19687 Don't compose inside verbatim blocks!
19688
19689 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
19690
19691 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
19692 (bug#19441).
19693
19694 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
19695
19696 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
19697
19698 vc-git-mode-line-string: Explicitly re-apply the face
19699 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
19700 the face (bug#21404).
19701
19702 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
19703
19704 Treat initial-scratch-message as a doc string
19705 * doc/emacs/building.texi (Lisp Interaction):
19706 * doc/lispref/os.texi (Startup Summary):
19707 * etc/NEWS: Document this.
19708 * lisp/startup.el (initial-scratch-message):
19709 Look up find-file’s key rather than hardcoding it.
19710 (command-line-1): Substitute the doc string.
19711 This also substitutes the quotes, which will help test display
19712 quoting at startup.
19713
19714 Fix describe-char bug with glyphs on terminals
19715 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
19716 buffers too, so don’t treat them differently from graphic displays.
19717 Without this fix, describe-char would throw an error on a terminal
19718 if given a glyph with a non-default face.
19719
19720 Follow text-quoting-style in display table init
19721 This attempts to fix a problem reported by Alan Mackenzie in:
19722 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
19723 * doc/lispref/display.texi (Active Display Table):
19724 Mention how text-quoting-style affects it.
19725 * doc/lispref/help.texi (Keys in Documentation):
19726 Say how to set text-quoting-style in ~/.emacs.
19727 * etc/NEWS: Document the change.
19728 * lisp/startup.el (startup--setup-quote-display):
19729 Follow user preference if text-quoting-style is set.
19730 (command-line): Setup quote display again if user expresses
19731 a preference in .emacs.
19732
19733 2015-09-02 K. Handa <handa@gnu.org>
19734
19735 Fix typo
19736 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
19737 -> OTF_positioning_type_components_mask.
19738
19739 Fix previous change
19740 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
19741 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
19742
19743 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
19744
19745 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
19746 Rename from vc-find-file-hook and make interactive.
19747 (vc-find-file-hook): Redefine as obsolete alias.
19748
19749 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
19750
19751 Escape ` and ' in doc
19752 Escape apostrophes and grave accents in docstrings if they are
19753 are supposed to stand for themselves and are not quotes. Remove
19754 apostrophes from docstring examples like ‘'(calendar-nth-named-day
19755 -1 0 10 year)’ that confuse source code with data. Do some other
19756 minor docstring fixups as well, e.g., insert a missing close quote.
19757
19758 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19759
19760 Generalize the prefix-command machinery of C-u
19761 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
19762 (prefix-command-preserve-state-hook): New hooks.
19763 (internal-echo-keystrokes-prefix): New function.
19764 (prefix-command--needs-update, prefix-command--last-echo): New vars.
19765 (prefix-command-update, prefix-command-preserve): New functions.
19766 (reset-this-command-lengths): New compatibility definition.
19767 (universal-argument--mode): Call prefix-command-update.
19768 (universal-argument, universal-argument-more, negative-argument)
19769 (digit-argument): Call prefix-command-preserve-state.
19770 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
19771 the "prefix argument" to echo.
19772 (this_command_key_count_reset, before_command_key_count)
19773 (before_command_echo_length): Delete variables.
19774 (echo_add_key): Always add a space.
19775 (echo_char): Remove.
19776 (echo_dash): Don't give up when this_command_key_count is 0, since that
19777 is now the case after a prefix command.
19778 (echo_update): New function, extracted from echo_now.
19779 (echo_now): Use it.
19780 (add_command_key, read_char, record_menu_key): Remove old disabled code.
19781 (command_loop_1): Don't refrain from pushing an undo boundary when
19782 prefix-arg is set. Remove other prefix-arg special case, now handled
19783 directly in the prefix commands instead. But call echo_now if there's
19784 a prefix state to echo.
19785 (read_char, record_menu_key): Use echo_update instead of echo_char.
19786 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
19787 (Freset_this_command_lengths): Delete function.
19788 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
19789 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
19790 * lisp/simple.el: Use those new hooks for C-u.
19791 (universal-argument--description): New function.
19792 (prefix-command-echo-keystrokes-functions): Use it.
19793 (universal-argument--preserve): New function.
19794 (prefix-command-preserve-state-hook): Use it.
19795 (command-execute): Call prefix-command-update if needed.
19796 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
19797 (kmacro-step-edit-prefix-index): Delete variables.
19798 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
19799 support for prefix arg commands.
19800 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
19801 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
19802 (cua--shift-control-prefix): Use prefix-command-preserve-state.
19803 Remove now unused arg `arg'.
19804 (cua--prefix-override-handler, cua--prefix-repeat-handler)
19805 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
19806 Update accordingly.
19807 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
19808 any more.
19809 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
19810 if the mark is not set.
19811
19812 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
19813
19814 Rework quoting in Emacs Lisp Introduction
19815 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
19816 (if in more detail, type-of-animal in detail, else): Rework the
19817 early example to use " rather than ' so that we don’t burden
19818 complete novices with the low-priority detail of text quoting style.
19819 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
19820 (kill-new function, kill-ring-yank-pointer)
19821 (Complete forward-sentence, Loading Files)
19822 (Code for current-kill, Code for current-kill, yank):
19823 Resurrect the Emacs 22 versions of the code, which uses grave
19824 quoting style in doc strings.
19825 (Complete zap-to-char): Mention how quoting works in doc strings.
19826
19827 Setup quote display only if interactive
19828 * lisp/startup.el (command-line):
19829 Skip call to startup--setup-quote-display if noninteractive.
19830 Without this change, python-shell-prompt-validate-regexps-1
19831 fails in test/automated/python-tests.el when run in an
19832 en_US.utf8 locale on Fedora.
19833
19834 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
19835
19836 Use defalias at the top level
19837 * lisp/gnus/gnus-util.el (gnus-format-message):
19838 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
19839 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
19840
19841 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
19842
19843 terminal-init-w32console mimicks command-line
19844 Problem reported by Eli Zaretskii.
19845 * lisp/startup.el (startup--setup-quote-display):
19846 New function, refactored from a part of ‘command-line’.
19847 (command-line): Use it.
19848 * lisp/term/w32console.el (terminal-init-w32console):
19849 Use it, so that this function stays consistent with ‘command-line’.
19850
19851 Display replacement quotes with shadow glyphs
19852 * lisp/startup.el (command-line): When displaying ASCII
19853 replacements for curved quotes, use a shadow glyph instead of a
19854 regular one, to avoid ambiguity.
19855
19856 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
19857
19858 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
19859
19860 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
19861
19862 Docstring fixes re quotes in C code
19863 Fix some docstring quoting problems, mostly by escaping apostrophe.
19864
19865 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
19866
19867 Some Tramp password fixes
19868 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
19869 of the hops.
19870 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
19871 at the beginning of the command. Otherwise, it could be
19872 interpreted as password prompt if the remote host echoes the
19873 command.
19874 (tramp-remote-coding-commands): Add "openssl enc -base64".
19875
19876 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
19877
19878 Make vc-git-working-revision always return the commit hash
19879 * lisp/vc/vc-git.el (vc-git-working-revision):
19880 Return the commit hash (bug#21383).
19881 (vc-git--symbolic-ref): New function, extracted from above.
19882 (vc-git-mode-line-string): Use it.
19883
19884 2015-09-01 K. Handa <handa@gnu.org>
19885
19886 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
19887 * src/ftfont.c (MFLTGlyphFT): New type.
19888 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
19889 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
19890 elements in the array MFLTGlyphString.glyphs.
19891
19892 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
19893
19894 Improve comments in elisp-mode.el, elisp-mode-tests.el
19895 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
19896
19897 Delete Emacs 25 test in mode-local.el
19898 * lisp/cedet/mode-local.el (describe-mode-local-overload):
19899 Fix missed an edit in previous commit.
19900
19901 Show all known mode-local overrides in *Help*
19902 * lisp/cedet/mode-local.el (describe-mode-local-overload):
19903 Assume Emacs 25. Add all known mode-local overrides.
19904
19905 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
19906
19907 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
19908 Ensure that the article where the search word is found is displayed
19909 and pointed to in the summary buffer.
19910
19911 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
19912
19913 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
19914 When the region is active, but is empty (length 0), act as though
19915 the region was not active; that is, put a comment at the end of
19916 the line. (Bug#21119)
19917
19918 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
19919
19920 Port tls.el to older Emacs
19921 * lisp/net/tls.el (tls-format-message):
19922 Alias to format-message, or format if not available.
19923 (open-tls-stream): Use it.
19924
19925 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
19926
19927 hideif.el: Recognize .h++ as C++ header
19928 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
19929
19930 isearch: Document character folding mode
19931 * lisp/isearch.el (isearch-forward):
19932 Mention `isearch-toggle-character-fold' in doc string.
19933
19934 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
19935
19936 Quoting fixes in ERC and Eshell
19937 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
19938 * lisp/erc/erc-backend.el (define-erc-response-handler):
19939 * lisp/erc/erc-fill.el (erc-fill-static-center):
19940 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
19941 * lisp/eshell/em-glob.el (eshell-glob-entries):
19942 * lisp/eshell/em-hist.el (eshell-save-some-history):
19943 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
19944 (eshell-shuffle-files):
19945 * lisp/eshell/esh-cmd.el (eshell-do-eval):
19946 * lisp/eshell/esh-proc.el (eshell-process-interact)
19947 (eshell-query-kill-processes):
19948 Respect ‘text-quoting-style’ in diagnostics and doc strings.
19949
19950 Quoting fixes in Gnus
19951 * lisp/gnus/gnus-agent.el:
19952 (gnus-agent-possibly-synchronize-flags-server):
19953 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
19954 * lisp/gnus/gnus-eform.el (gnus-edit-form):
19955 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
19956 (gnus-group-nnimap-edit-acl):
19957 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
19958 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
19959 * lisp/gnus/message.el (message-strip-subject-encoded-words)
19960 (message-check-recipients, message-send-form-letter):
19961 * lisp/gnus/mm-decode.el (mm-display-part):
19962 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
19963 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
19964 (mml-smime-get-ldap-cert):
19965 * lisp/gnus/spam-report.el (spam-report-process-queue):
19966 Respect ‘text-quoting-style’ in diagnostics.
19967 * lisp/gnus/gnus-art.el (article-display-face)
19968 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
19969 Use straight quoting in email.
19970 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
19971 Escape apostrophes in doc strings.
19972
19973 Quoting fixes in lisp mail, mh-e, net, url
19974 * lisp/mail/emacsbug.el (report-emacs-bug)
19975 (report-emacs-bug-hook): Use straight quotes in outgoing email,
19976 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
19977 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
19978 * lisp/mail/rmailout.el (rmail-output-read-file-name):
19979 * lisp/net/imap.el (imap-interactive-login):
19980 * lisp/net/tls.el (open-tls-stream):
19981 * lisp/url/url-auth.el (url-register-auth-scheme):
19982 Respect ‘text-quoting-style’ in diagnostics.
19983 * lisp/mh-e/mh-e.el (mh-sortm-args):
19984 Quote docstring example using text quotes, not as a Lisp quote.
19985
19986 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
19987
19988 Fix some byte-compiler warnings in EDE
19989 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
19990 existing autoloader list, rather than add to it.
19991 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
19992 argument to eieio class constructor.
19993 (ede-show-supported-projects): New.
19994 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
19995 with (oref ... name).
19996 (ede-auto-load-project): Use slot name, not initarg key.
19997 * lisp/cedet/ede/generic.el (ede-generic-load)
19998 (ede-generic-find-matching-target): Use slot name, not initarg key.
19999 (ede-find-target): Use oref-default on class name.
20000 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
20001 class constructor.
20002 (ede-enable-generic-projects): Make project type names unique.
20003
20004 2015-08-31 Eli Zaretskii <eliz@gnu.org>
20005
20006 Fix directory accessibility tests for w32 network volumes
20007 * src/w32.c (faccessat): Don't fail with network volumes without a
20008 share.
20009 (w32_accessible_directory_p): Handle network volumes without a
20010 share.
20011
20012 Fix handling long file names in readdir on MS-Windows
20013 * src/w32.c (sys_readdir): Append "\*" to the directory after
20014 converting it to UTF-16/ANSI, not before, to avoid overflowing the
20015 260-character limit on file names in filename_to_utf16/ansi.
20016
20017 Make file-accessible-directory-p reliable on MS-Windows
20018 * src/w32.c (w32_accessible_directory_p): New function.
20019 * src/w32.h (w32_accessible_directory_p): Add prototype.
20020 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
20021 w32_accessible_directory_p to test a directory for accessibility
20022 by the current user. (Bug#21346)
20023 (Ffile_accessible_directory_p): Remove the w32 specific caveat
20024 from the doc string.
20025
20026 2015-08-31 Martin Rudalics <rudalics@gmx.at>
20027
20028 Don't call do_pending_window_change in signal handlers (Bug#21380)
20029 * src/gtkutil.c (xg_frame_resized):
20030 * src/xterm.c (x_set_window_size):
20031 * src/w32term.c (x_set_window_size): Don't call
20032 do_pending_window_change.
20033
20034 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20035
20036 Quoting fixes in lisp/org
20037 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
20038 (org-tags-view):
20039 * lisp/org/org-capture.el (org-capture-mode)
20040 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
20041 (org-ctags-ask-append-topic):
20042 * lisp/org/org.el (org-time-string-to-time)
20043 (org-time-string-to-absolute):
20044 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
20045 (org-ctags-ask-append-topic):
20046 * lisp/org/org.el (org-time-string-to-time)
20047 (org-time-string-to-absolute):
20048 Respect ‘text-quoting-style’ in diagnostics.
20049 * lisp/org/org-agenda.el (org-agenda-custom-commands)
20050 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
20051 * lisp/org/org-capture.el (org-capture-fill-template):
20052 Avoid contraction in output file that might be ASCII.
20053 * lisp/org/org-compat.el (format-message):
20054 Define if not already defined, for backward compatibility.
20055 * lisp/org/org-src.el (org-edit-src-save):
20056 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
20057 Escape apostrophes in diagnostics.
20058
20059 Treat “instead” strings as docstrings
20060 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
20061 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
20062 Substitute quotes in instead strings.
20063
20064 2015-08-31 Nicolas Petton <nicolas@petton.fr>
20065
20066 Better documentation of seq-let
20067 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
20068 documentation of seq-let.
20069
20070 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20071
20072 * lisp/international/ccl.el: Fix quoting.
20073
20074 Quoting fixes in lisp/international and lisp/leim
20075 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
20076 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
20077 * lisp/international/mule-cmds.el:
20078 (select-safe-coding-system-interactively, leim-list-file-name):
20079 * lisp/international/quail.el (quail-use-package, quail-help):
20080 * lisp/international/titdic-cnv.el (tit-process-header)
20081 (miscdic-convert):
20082 Respect text quoting style in doc strings and diagnostics.
20083 * lisp/international/quail.el (lisp/international/quail.el):
20084 * lisp/leim/quail/ethiopic.el ("ethiopic"):
20085 Escape apostrophes in doc strings.
20086
20087 Make ‘text-quoting-style’ a plain defvar
20088 It doesn’t need customization, as it’s likely useful only by experts.
20089 Suggested by Stefan Monnier in:
20090 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
20091 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
20092
20093 Quoting fixes in lisp/textmodes
20094 * lisp/textmodes/bibtex.el (bibtex-validate)
20095 (bibtex-validate-globally, bibtex-search-entries):
20096 * lisp/textmodes/ispell.el (ispell-command-loop):
20097 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
20098 * lisp/textmodes/texinfmt.el (texinfmt-version)
20099 (texinfo-format-region, texinfo-format-buffer-1):
20100 * lisp/textmodes/two-column.el (2C-split):
20101 Respect text quoting style in doc strings and diagnostics.
20102 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
20103 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
20104 Escape apostrophes in doc strings.
20105
20106 Documentation fixes re quotes
20107 Prefer curved quotes in examples if users will typically see
20108 curved quotes when the examples run.
20109 Mention format-message when appropriate.
20110 Don’t use @code in examples.
20111 Quote an apostrophe with @kbd.
20112
20113 Quoting fixes in lisp/progmodes
20114 * lisp/progmodes/cc-engine.el (c-bos-report-error):
20115 * lisp/progmodes/cpp.el (cpp-edit-reset):
20116 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
20117 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
20118 (etags-tags-apropos, list-tags, tags-apropos):
20119 * lisp/progmodes/executable.el (executable-set-magic):
20120 * lisp/progmodes/octave.el (octave-sync-function-file-names)
20121 (octave-help, octave-find-definition-default-filename)
20122 (octave-find-definition):
20123 Respect text quoting style in doc strings and diagnostics.
20124 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
20125 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
20126 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
20127 Escape apostrophes in doc strings.
20128 * lisp/progmodes/cmacexp.el (c-macro-expansion):
20129 Use straight quoting in ASCII comment.
20130 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
20131 (idlwave-pad-keyword):
20132 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
20133 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
20134 (vhdl-electric-semicolon, vhdl-electric-comma)
20135 (vhdl-electric-period, vhdl-electric-equal):
20136 Use directed quotes in diagnostics and doc strings.
20137
20138 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
20139
20140 Minor documentation and NEWS tweak
20141 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
20142 Add an index entry.
20143 * etc/NEWS: Fix a typo in character-fold-to-regexp.
20144
20145 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
20146
20147 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
20148 Revert patch from 2015-08-24. Tramp shall behave like for local files.
20149 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
20150 Adapt test.
20151
20152 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
20153
20154 Text quoting fixes in cedet, emulation, emacs-lisp
20155 * lisp/cedet/ede.el (ede-check-project-directory):
20156 * lisp/cedet/semantic/analyze/debug.el
20157 (semantic-analyzer-debug-insert-include-summary):
20158 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
20159 * lisp/cedet/semantic/decorate/include.el
20160 (semantic-decoration-unknown-include-describe)
20161 (semantic-decoration-all-include-summary):
20162 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
20163 * lisp/emulation/edt.el (edt-load-keys):
20164 * lisp/emulation/viper-cmd.el
20165 (viper-display-current-destructive-command)
20166 (viper-query-replace, viper-brac-function):
20167 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
20168 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
20169 Respect text quoting style in doc string or diagnostic.
20170 * lisp/cedet/mode-local.el (describe-mode-local-overload):
20171 Use format-message to avoid overtranslating quotes.
20172 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
20173 Escape an apostrophe in a docstring.
20174 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
20175
20176 2015-08-29 Daniel Colascione <dancol@dancol.org>
20177
20178 Fix which-func for curly quotes: look for symbol, not message
20179 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
20180 imenu-unavailable error symbol instead of trying to match message
20181 exactly.
20182 * lisp/imenu.el (imenu-unavailable): New error.
20183 (imenu-unavailable-error): New function.
20184
20185 2015-08-29 Eli Zaretskii <eliz@gnu.org>
20186
20187 Fix Python tests on MS-Windows
20188 * test/automated/python-tests.el
20189 (python-shell-calculate-command-1): Run python-shell-interpreter
20190 through shell-quote-argument before comparing with what
20191 python-shell-calculate-command returns.
20192 (python-shell-calculate-pythonpath-1)
20193 (python-shell-calculate-pythonpath-2)
20194 (python-shell-calculate-process-environment-2): Use path-separator
20195 instead of a literal ':'.
20196 (python-shell-calculate-exec-path-2)
20197 (python-shell-calculate-exec-path-3)
20198 (python-shell-calculate-exec-path-4)
20199 (python-shell-with-environment-1)
20200 (python-shell-with-environment-2): Run "/env/bin" through
20201 expand-file-name before comparing with exec-path. (Bug#21375)
20202
20203 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20204
20205 Use Core Text types/functions/variables/enumerators directly
20206 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
20207 (CharacterCollection): Remove typedefs. All uses replaced with
20208 definitions.
20209 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
20210 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
20211 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
20212 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
20213 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
20214 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
20215 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
20216 definitions.
20217 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
20218 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
20219 (MAC_FONT_FORMAT_BITMAP)
20220 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
20221 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
20222 All uses replaced with definitions.
20223 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
20224 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
20225 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
20226 Add compatibility enumerators for older versions.
20227 (mac_font_descriptor_create_with_attributes)
20228 (mac_font_descriptor_create_matching_font_descriptors)
20229 (mac_font_descriptor_create_matching_font_descriptor)
20230 (mac_font_descriptor_copy_attribute)
20231 (mac_font_descriptor_supports_languages)
20232 (mac_font_create_with_name, mac_font_get_size)
20233 (mac_font_copy_family_name, mac_font_copy_character_set)
20234 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
20235 (mac_font_get_descent, mac_font_get_leading)
20236 (mac_font_get_underline_position)
20237 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
20238 (mac_font_copy_non_synthetic_table): Remove macros. All uses
20239 replaced with definitions.
20240 (mac_font_create_preferred_family_for_attributes)
20241 (mac_font_get_advance_width_for_glyph)
20242 (mac_font_get_bounding_rect_for_glyph)
20243 (mac_font_create_available_families, mac_font_shape):
20244 Remove macros for renamed functions.
20245 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
20246 * src/macfont.m (mac_font_descriptor_supports_languages):
20247 Rename from mac_ctfont_descriptor_supports_languages.
20248 (mac_font_create_preferred_family_for_attributes): Rename from
20249 mac_ctfont_create_preferred_family_for_attributes.
20250 (mac_font_get_advance_width_for_glyph): Rename from
20251 mac_ctfont_get_advance_width_for_glyph.
20252 Use kCTFontOrientationDefault also for older versions.
20253 (mac_font_get_bounding_rect_for_glyph): Rename from
20254 mac_ctfont_get_bounding_rect_for_glyph.
20255 Use kCTFontOrientationDefault also for older versions.
20256 (mac_font_create_available_families): Rename from
20257 mac_ctfont_create_available_families.
20258 (mac_font_equal_in_postscript_name): Rename from
20259 mac_ctfont_equal_in_postscript_name. All uses changed.
20260 (mac_font_create_line_with_string_and_font): Rename from
20261 mac_ctfont_create_line_with_string_and_font. All uses changed.
20262 (mac_font_shape): Rename from mac_ctfont_shape.
20263 (mac_font_family_compare): Remove unused declaration.
20264
20265 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
20266
20267 Fix minor text quoting in calc, calendar, vc
20268 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
20269 * lisp/calc/calc-help.el (calc-j-prefix-help):
20270 * lisp/calc/calc-misc.el (calc-help):
20271 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
20272 Escape an apostrophe in a docstring.
20273 * lisp/calc/calc-forms.el (calc-hms-notation):
20274 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
20275 Escape an apostrophe in a diagnostic.
20276 * lisp/calc/calc-misc.el (calc-help):
20277 * lisp/calendar/diary-lib.el (diary-include-files):
20278 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
20279 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
20280 * lisp/vc/ediff-diff.el (ediff-same-contents):
20281 * lisp/vc/ediff-merg.el (ediff-re-merge):
20282 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
20283 * lisp/vc/ediff-util.el (ediff-test-save-region)
20284 (ediff-status-info):
20285 * lisp/vc/ediff.el (ediff-merge-revisions)
20286 (ediff-merge-revisions-with-ancestor):
20287 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
20288 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
20289 Respect text quoting style in doc string or diagnostic.
20290 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
20291 * lisp/vc/add-log.el (change-log-goto-source):
20292 Avoid double-formatting.
20293 * lisp/vc/ediff-init.el (format-message):
20294 New backward-compatibility alias.
20295
20296 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
20297
20298 Fix minor text quoting problems in lisp top level
20299 * lisp/apropos.el (apropos-describe-plist):
20300 * lisp/cus-theme.el (customize-themes):
20301 * lisp/dired.el (dired-log):
20302 * lisp/help-fns.el (describe-variable):
20303 * lisp/hexl.el (hexl-insert-multibyte-char):
20304 * lisp/info.el (Info-finder-find-node):
20305 * lisp/json.el (json-read-string):
20306 * lisp/novice.el (disabled-command-function)
20307 (disabled-command-function):
20308 * lisp/startup.el (normal-mouse-startup-screen):
20309 * lisp/woman.el (WoMan-log, WoMan-warn):
20310 Respect text quoting style in doc string or diagnostic.
20311 * lisp/replace.el (replace-character-fold):
20312 * src/syntax.c (Fmodify_syntax_entry):
20313 Escape an apostrophe in a docstring.
20314 * lisp/tempo.el (tempo-define-template):
20315 Remove confusing apostrophe from docstring.
20316 * lisp/whitespace.el (whitespace-mark-x):
20317 Use directed quotes in docstring.
20318
20319 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
20320
20321 Fix indentation rule in css-mode
20322 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
20323 brackets in presence of pseudo-selectors. (Bug#21328)
20324
20325 2015-08-28 Eli Zaretskii <eliz@gnu.org>
20326
20327 Fix a bug in recording a macro while flyspell-mode is active
20328 * lisp/subr.el (sit-for): Don't call read-event when recording a
20329 macro. (Bug#21329)
20330
20331 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
20332
20333 Tweak startup screen quoting
20334 * lisp/startup.el (normal-splash-screen): Use standard
20335 "M-" abbrevation rather than a confusingly-different one.
20336 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
20337
20338 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
20339
20340 Add test case for ‘format’ bug and refactor
20341 * src/editfns.c (styled_format): Refactor internally, mostly by
20342 moving declarations closer to uses. This should not affect behavior.
20343 * test/automated/textprop-tests.el (textprop-tests-format): New test.
20344
20345 Fix ‘format’ bug with property offsets
20346 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
20347 bug in calculating string property offsets (Bug#21351).
20348
20349 Use straight quotes in lib-src diagnostics
20350 These auxiliary programs can’t use Emacs’s text-quoting-style,
20351 and it’s too much trouble to redo that mechanism by hand.
20352 So just use straight quotes for now.
20353 * lib-src/ebrowse.c (main):
20354 * lib-src/emacsclient.c (decode_options, main):
20355 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
20356 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
20357 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
20358 (none_help, print_language_names, print_help, add_regex)
20359 (suggest_asking_for_help):
20360 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
20361 Use straight quotes in diagnostics.
20362
20363 ‘text-quoting-style’ fixes for admin
20364 * admin/admin.el (cusver-scan, cusver-check):
20365 * admin/authors.el (authors-canonical-file-name):
20366 * admin/bzrmerge.el (bzrmerge-missing):
20367 Respect ‘text-quoting-style’ in diagnostics.
20368
20369 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20370
20371 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
20372 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
20373 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
20374 * doc/lispref/internals.texi (Writing Emacs Primitives):
20375 * etc/NEWS:
20376 Document the change.
20377 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
20378 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
20379 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
20380 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
20381 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
20382 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
20383 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
20384 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
20385 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
20386 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
20387 Remove. All uses removed. The code now assumes
20388 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
20389 * src/bytecode.c (relocate_byte_stack):
20390 Rename from unmark_byte_stack, since it now only relocates.
20391 All callers changed.
20392 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
20393 with GCPROs removed.
20394 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
20395 * test/automated/finalizer-tests.el (finalizer-basic)
20396 (finalizer-circular-reference, finalizer-cross-reference)
20397 (finalizer-error):
20398 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
20399 Remove tests, as they depend on gc-precise.
20400
20401 2015-08-26 Nicolas Petton <nicolas@petton.fr>
20402
20403 Improve seq-concatenate for new sequence types
20404 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
20405 ensure that concatenation happens on sequences only. This makes it
20406 possible to use `seq-concatenate' for new types of seqs.
20407 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
20408 New function used in `seq-concatenate'.
20409 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
20410 for seq-into-sequence.
20411
20412 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
20413
20414 Add mode local overrides to xref-find-definitions
20415 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
20416 (xref-mode-local-overload): New; add mode local overrides to
20417 xref-find-definitions.
20418 * test/automated/elisp-mode-tests.el: Add mode local override tests.
20419 (xref-elisp-test-run): Handle indented defuns.
20420 (xref-elisp-generic-*): Improve doc strings.
20421 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
20422 (elisp--xref-find-definitions): Use it.
20423
20424 Add mode local overrides to describe-function
20425 * lisp/cedet/mode-local.el (describe-mode-local-overload):
20426 New; add mode local overrides to describe-function.
20427 * etc/NEWS: Document change.
20428
20429 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20430
20431 Prefer straight quoting in some etc text files
20432 These files are plain text and might be used by non-Emacs apps.
20433 They’re mostly ASCII, so just use straight quotes.
20434
20435 Fix quoting in ‘message_with_string’
20436 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
20437 should work now.
20438 * src/xdisp.c (message_to_stderr): New function, refactored from
20439 part of ‘message3_nolog’.
20440 (message3_nolog): Use it.
20441 (message_with_string): Use it. Don’t mishandle NUL bytes when
20442 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
20443 Use ‘format-message’, not ‘format’, so that quotes are translated.
20444
20445 2015-08-26 Eli Zaretskii <eliz@gnu.org>
20446
20447 Mention false positives of file-accessible-directory on w32
20448 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
20449 (Bug#21346)
20450
20451 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20452
20453 Treat error strings as help
20454 * src/print.c (print_error_message): Translate quotes and command
20455 keys in errmsg so that users see, e.g., "Symbol’s value as
20456 variable is void: foo" when text-quoting-style is curved.
20457
20458 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
20459
20460 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
20461
20462 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20463
20464 Top-level elisp files respect ‘text-quoting-style’
20465 In top-level elisp files, use format-message in diagnostic formats,
20466 so that they follow user preference as per ‘text-quoting-style’
20467 rather than being hard-coded to quote `like this'.
20468 * lisp/allout.el (allout-get-configvar-values):
20469 * lisp/apropos.el (apropos-symbols-internal):
20470 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
20471 (dired-do-create-files-regexp, dired-create-files-non-directory):
20472 * lisp/dired-x.el (dired-do-run-mail):
20473 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
20474 * lisp/disp-table.el (standard-display-european):
20475 * lisp/find-dired.el (find-dired):
20476 * lisp/forms.el (forms-mode):
20477 * lisp/ido.el (ido-buffer-internal):
20478 * lisp/info.el (Info-index-next):
20479 * lisp/outline.el (outline-invent-heading):
20480 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
20481 * lisp/proced.el (proced-log):
20482 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
20483 * lisp/recentf.el (recentf-open-files, recentf-save-list):
20484 * lisp/savehist.el (savehist-save):
20485 * lisp/server.el (server-ensure-safe-dir):
20486 * lisp/ses.el (ses-rename-cell):
20487 * lisp/simple.el (list-processes--refresh):
20488 * lisp/startup.el (command-line):
20489 * lisp/strokes.el (strokes-unset-last-stroke)
20490 (strokes-execute-stroke):
20491 Use format-message so that quotes are restyled.
20492 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
20493 Don’t quote ‘raised’.
20494 * lisp/descr-text.el (describe-char):
20495 * lisp/dirtrack.el (dirtrack-debug-message):
20496 * lisp/hexl.el (hexl-insert-multibyte-char):
20497 Apply substitute-command-keys to help string.
20498 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
20499 (wdired-do-perm-changes):
20500 Let dired-log do the formatting.
20501
20502 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
20503
20504 Go back to grave quoting in Tramp
20505 * lisp/net/tramp-adb.el:
20506 * lisp/net/tramp-cache.el:
20507 * lisp/net/tramp-compat.el:
20508 * lisp/net/tramp-gvfs.el:
20509 * lisp/net/tramp-gw.el:
20510 * lisp/net/tramp-sh.el:
20511 * lisp/net/tramp-smb.el:
20512 * lisp/net/tramp.el:
20513 Stick with grave quoting in diagnostics strings. This is more
20514 portable to older Emacs, desirable for Tramp.
20515 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
20516 for diagnostic that needs requoting.
20517 * lisp/net/tramp-compat.el (format-message):
20518 Fall back on simple ‘format’, since that’s good enough now.
20519
20520 Go back to grave quoting in Gnus
20521 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
20522 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
20523 (gnus-agent-fetch-headers):
20524 * lisp/gnus/gnus-int.el (gnus-start-news-server):
20525 * lisp/gnus/gnus-registry.el:
20526 (gnus-registry--split-fancy-with-parent-internal)
20527 (gnus-registry-post-process-groups):
20528 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
20529 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
20530 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
20531 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
20532 * lisp/gnus/spam.el (spam-check-blackholes):
20533 Stick with grave quoting in diagnostics strings. This is more
20534 portable to older Emacs, desirable for Gnus.
20535
20536 Fix customization of text-quoting-style
20537 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
20538 * lisp/wid-edit.el (widget-docstring):
20539 Get raw docstring here since it’s cooked later and should not be
20540 cooked twice.
20541 * lisp/cus-edit.el (custom-group-value-create):
20542 Cook the docstring before inserting it.
20543 * lisp/cus-start.el (text-quoting-style): Quote the customization
20544 docstrings according to the new rules. Give curved examples.
20545
20546 format-message now curves ` and '
20547 That way, the caller doesn’t have to use curved quotes to
20548 get diagnostics that match the text-quoting-style preferences.
20549 Suggested by Dmitry Gutov in:
20550 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
20551 This means we no longer need %qs, so remove that format.
20552 While we’re at it, fix an unlikely bug and lessen the pressure
20553 on the garbage collector by processing the string once rather
20554 than twice in the usual case.
20555 * doc/lispref/strings.texi (Formatting Strings):
20556 * etc/NEWS: Document this.
20557 * lisp/subr.el (format-message): Remove; now done in C.
20558 * src/callint.c (Fcall_interactively):
20559 * src/editfns.c (Fmessage, Fmessage_box):
20560 Use Fformat_message instead of Finternal__text_restyle
20561 followed by Fformat.
20562 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
20563 uLSQM and uRSQM.
20564 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
20565 when pure ASCII now suffices. Fix unlikely bug when parsing
20566 unibyte string containing non-ASCII bytes. Use inline code
20567 rather than memcpy, as it’s a tiny number of bytes.
20568 (Finternal__text_restyle): Remove; no longer used.
20569 (syms_of_doc): Don’t declare it.
20570 * src/editfns.c (Fformat): Rewrite in terms of new function
20571 ‘styled_format’.
20572 (Fformat_message): New function, moved here from subr.el.
20573 (styled_format): New function, with the old guts of Fformat,
20574 except it now optionally transliterates quotes, and it transliterates
20575 traditional grave accent and apostrophe quoting as well.
20576 Remove recently-added q flag; no longer needed or used.
20577 (syms_of_editfns): Define format-message.
20578 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
20579 Remove; no longer need to be global symbols.
20580 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
20581 so that callers can use `%s'.
20582 * src/image.c (image_size_error, xbm_load_image, xbm_load)
20583 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
20584 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
20585 (svg_load_image, gs_load, x_kill_gs_process):
20586 * src/lread.c (load_warn_old_style_backquotes):
20587 * src/xfaces.c (load_pixmap):
20588 * src/xselect.c (x_clipboard_manager_error_1):
20589 Use `%s' instead of %qs in formats.
20590
20591 2015-08-25 Eli Zaretskii <eliz@gnu.org>
20592
20593 Minor fixes in doc/emacs/search.texi
20594 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
20595 (Special Isearch): Use @w{} to generate several consecutive spaces
20596 with Texinfo 6. (Bug#21345)
20597
20598 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
20599
20600 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
20601 (tramp-awk-coding-test): New defconsts.
20602 (tramp-remote-coding-commands): Use them.
20603 (tramp-find-inline-encoding): Check for Perl only if necessary.
20604
20605 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
20606
20607 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
20608 index entries for the special form `quote'.
20609
20610 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
20611
20612 Spelling fixes
20613
20614 Gnus format-message typo fix
20615 * lisp/gnus/gnus-util.el (gnus-format-message):
20616 Fix typo when running in older Emacs.
20617
20618 Prefer directed to neutral quotes in docstings and diagnostics.
20619 In docstrings, escape apostrophes that would otherwise be translated
20620 to curved quotes using the newer, simpler rules.
20621 * admin/unidata/unidata-gen.el (unidata-gen-table):
20622 * lisp/align.el (align-region):
20623 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
20624 * lisp/bookmark.el (bookmark-default-annotation-text):
20625 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
20626 * lisp/calc/calc-lang.el (math-read-giac-subscr)
20627 (math-read-math-subscr):
20628 * lisp/calc/calc-misc.el (report-calc-bug):
20629 * lisp/calc/calc-prog.el (calc-fix-token-name)
20630 (calc-read-parse-table-part):
20631 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
20632 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
20633 * lisp/dabbrev.el (dabbrev-expand):
20634 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
20635 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
20636 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
20637 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
20638 * lisp/erc/erc-button.el (erc-nick-popup):
20639 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
20640 * lisp/eshell/em-dirs.el (eshell/cd):
20641 * lisp/eshell/em-glob.el (eshell-glob-regexp):
20642 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
20643 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
20644 * lisp/eshell/esh-opt.el (eshell-show-usage):
20645 * lisp/files-x.el (modify-file-local-variable):
20646 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
20647 (filesets-update-pre010505):
20648 * lisp/find-cmd.el (find-generic, find-to-string):
20649 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
20650 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
20651 (gnus-agent-fetch-headers):
20652 * lisp/gnus/gnus-int.el (gnus-start-news-server):
20653 * lisp/gnus/gnus-registry.el:
20654 (gnus-registry--split-fancy-with-parent-internal):
20655 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
20656 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
20657 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
20658 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
20659 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
20660 * lisp/gnus/spam.el (spam-check-blackholes):
20661 * lisp/mail/feedmail.el (feedmail-run-the-queue):
20662 * lisp/mpc.el (mpc-playlist-rename):
20663 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
20664 * lisp/net/mairix.el (mairix-widget-create-query):
20665 * lisp/net/tramp-cache.el:
20666 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
20667 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
20668 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
20669 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
20670 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
20671 (org-babel-goto-named-result):
20672 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
20673 * lisp/org/ob-ref.el (org-babel-ref-resolve):
20674 * lisp/org/org-agenda.el (org-agenda-prepare):
20675 * lisp/org/org-bibtex.el (org-bibtex-fields):
20676 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
20677 (org-clock-resolve):
20678 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
20679 * lisp/org/org-habit.el (org-habit-parse-todo):
20680 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
20681 (org-mouse-context-menu):
20682 * lisp/org/org-table.el (org-table-edit-formulas):
20683 * lisp/org/ox.el (org-export-async-start):
20684 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
20685 (dun-rooms, dun-endgame-questions):
20686 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
20687 * lisp/progmodes/ada-xref.el (ada-find-executable):
20688 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
20689 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
20690 (flymake-start-syntax-check-process):
20691 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
20692 * lisp/progmodes/sql.el (sql-comint):
20693 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
20694 * lisp/server.el (server-get-auth-key):
20695 * lisp/subr.el (version-to-list):
20696 * lisp/textmodes/reftex-ref.el (reftex-label):
20697 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
20698 * lisp/vc/ediff-diff.el (ediff-same-contents):
20699 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
20700 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
20701 Use directed rather than neutral quotes in diagnostics.
20702
20703 Treat ' like ’ even when not matching `
20704 This is simpler and easier to explain, and should encourage better
20705 typography. Do this in Electric Quote mode and when translating
20706 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
20707 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
20708 * doc/emacs/text.texi (Quotation Marks):
20709 * doc/lispref/help.texi (Keys in Documentation):
20710 * etc/NEWS:
20711 Document this.
20712 * lisp/electric.el (electric-quote-post-self-insert-function):
20713 * src/doc.c (Fsubstitute_command_keys):
20714 Always treat ' like ’ even when not matched by an open quote.
20715
20716 2015-08-25 Glenn Morris <rgm@gnu.org>
20717
20718 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
20719 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
20720
20721 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20722
20723 * src/macfont.m (macfont_create_family_with_symbol):
20724 Accept localized names.
20725
20726 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
20727
20728 Tramp diagnostics as per ‘text-quoting-style’
20729 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
20730 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
20731 (tramp-adb-handle-delete-directory)
20732 (tramp-adb-handle-delete-file)
20733 (tramp-adb-handle-file-local-copy)
20734 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
20735 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
20736 (tramp-adb-maybe-open-connection):
20737 * lisp/net/tramp-cache.el:
20738 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
20739 (tramp-compat-octal-to-decimal)
20740 (tramp-compat-coding-system-change-eol-conversion):
20741 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
20742 (tramp-gvfs-do-copy-or-rename-file)
20743 (tramp-gvfs-handle-delete-directory)
20744 (tramp-gvfs-handle-delete-file)
20745 (tramp-gvfs-handle-expand-file-name)
20746 (tramp-gvfs-handle-file-local-copy)
20747 (tramp-gvfs-handle-file-notify-add-watch)
20748 (tramp-gvfs-handle-make-directory)
20749 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
20750 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
20751 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
20752 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
20753 (tramp-sh-handle-set-visited-file-modtime)
20754 (tramp-sh-handle-set-file-modes)
20755 (tramp-sh-handle-file-name-all-completions)
20756 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
20757 (tramp-do-copy-or-rename-file-directly)
20758 (tramp-do-copy-or-rename-file-out-of-band)
20759 (tramp-sh-handle-make-directory)
20760 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
20761 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
20762 (tramp-sh-handle-start-file-process)
20763 (tramp-sh-handle-file-local-copy)
20764 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
20765 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
20766 (tramp-find-file-exists-command, tramp-open-shell)
20767 (tramp-find-shell)
20768 (tramp-open-connection-setup-interactive-shell)
20769 (tramp-find-inline-encoding, tramp-find-inline-compress)
20770 (tramp-compute-multi-hops, tramp-maybe-open-connection)
20771 (tramp-wait-for-output, tramp-send-command-and-check)
20772 (tramp-send-command-and-read, tramp-get-remote-path)
20773 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
20774 (tramp-get-ls-command-with-quoting-style)
20775 (tramp-get-test-command, tramp-get-remote-ln)
20776 (tramp-get-remote-perl, tramp-get-remote-stat)
20777 (tramp-get-remote-readlink, tramp-get-remote-trash)
20778 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
20779 (tramp-get-remote-inotifywait, tramp-get-remote-id)
20780 (tramp-get-remote-python):
20781 * lisp/net/tramp-smb.el (tramp-smb-errors)
20782 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
20783 (tramp-smb-handle-delete-directory)
20784 (tramp-smb-handle-delete-file)
20785 (tramp-smb-handle-file-local-copy)
20786 (tramp-smb-handle-make-directory)
20787 (tramp-smb-handle-make-directory-internal)
20788 (tramp-smb-handle-make-symbolic-link)
20789 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
20790 (tramp-smb-handle-set-file-modes)
20791 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
20792 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
20793 (tramp-process-actions):
20794 Generate diagnostics according to ‘text-quoting-style’, by
20795 using curved quotes in format strings and ‘format-message’
20796 when appropriate.
20797 * lisp/net/tramp-compat.el (format-message):
20798 Define a replacement, if it’s an older version of Emacs
20799 that doesn’t have it already.
20800
20801 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
20802
20803 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
20804
20805 Fix documentation for `save-excursion'
20806 * doc/lispref/positions.texi (Excursions):
20807 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
20808 (Template for save-excursion, Point and mark): `save-excursion'
20809 does not save&restore the mark any more.
20810
20811 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
20812
20813 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
20814 New defconsts.
20815 (tramp-do-file-attributes-with-stat)
20816 (tramp-do-directory-files-and-attributes-with-stat): Use them.
20817 (tramp-convert-file-attributes): Remove double slashes in symlinks.
20818 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
20819 Handle symlinks with "//" in the file name.
20820
20821 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
20822
20823 2015-08-24 Nicolas Petton <nicolas@petton.fr>
20824
20825 Fix cl-subseq and cl-concatenate
20826 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
20827 seq functions.
20828 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
20829 seq-concatenate.
20830
20831 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
20832
20833 Fix full-screen code when there is no window manager (Bug#21317)
20834 * src/xterm.h (x_wm_supports): Declare external.
20835 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
20836 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
20837 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
20838 `fullscreen' frame parameter.
20839 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
20840 without a window manager.
20841
20842 2015-08-24 Glenn Morris <rgm@gnu.org>
20843
20844 * lisp/version.el (emacs-version): No longer include build host.
20845 * doc/lispref/intro.texi (Version Info): Update example.
20846
20847 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
20848
20849 * doc/lispref/elisp.texi: Fix typo in previous change.
20850
20851 More-conservative ‘format’ quote restyling
20852 Instead of restyling curved quotes for every call to ‘format’,
20853 create a new function ‘format-message’ that does the restyling,
20854 and using the new function instead of ‘format’ only in contexts
20855 where this seems appropriate.
20856 Problem reported by Dmitry Gutov and Andreas Schwab in:
20857 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
20858 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
20859 * doc/lispref/commands.texi (Using Interactive):
20860 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
20861 * doc/lispref/display.texi (Displaying Messages, Progress):
20862 * doc/lispref/elisp.texi:
20863 * doc/lispref/help.texi (Keys in Documentation):
20864 * doc/lispref/minibuf.texi (Minibuffer Misc):
20865 * doc/lispref/strings.texi (Formatting Strings):
20866 * etc/NEWS:
20867 Document the changes.
20868 * lisp/abbrev.el (expand-region-abbrevs):
20869 * lisp/apropos.el (apropos-library):
20870 * lisp/calc/calc-ext.el (calc-record-message)
20871 (calc-user-function-list):
20872 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
20873 * lisp/calc/calc-lang.el (math-read-big-balance):
20874 * lisp/calc/calc-store.el (calc-edit-variable):
20875 * lisp/calc/calc-units.el (math-build-units-table-buffer):
20876 * lisp/calc/calc-yank.el (calc-edit-mode):
20877 * lisp/calendar/icalendar.el (icalendar-export-region)
20878 (icalendar--add-diary-entry):
20879 * lisp/cedet/mode-local.el (mode-local-print-binding)
20880 (mode-local-describe-bindings-2):
20881 * lisp/cedet/semantic/complete.el (semantic-completion-message):
20882 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
20883 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
20884 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
20885 * lisp/descr-text.el (describe-text-properties-1, describe-char):
20886 * lisp/dframe.el (dframe-message):
20887 * lisp/dired-aux.el (dired-query):
20888 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
20889 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
20890 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
20891 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
20892 (cconv-analyze-form):
20893 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
20894 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
20895 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
20896 * lisp/emacs-lisp/edebug.el (edebug-format):
20897 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
20898 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
20899 (eldoc-message):
20900 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
20901 * lisp/emacs-lisp/find-func.el (find-function-library):
20902 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
20903 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
20904 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
20905 * lisp/emacs-lisp/package.el (package-compute-transaction)
20906 (package-install-button-action, package-delete-button-action)
20907 (package-menu--list-to-prompt):
20908 * lisp/emacs-lisp/timer.el (timer-event-handler):
20909 * lisp/emacs-lisp/warnings.el (lwarn, warn):
20910 * lisp/emulation/viper-cmd.el:
20911 (viper-toggle-parse-sexp-ignore-comments)
20912 (viper-kill-buffer, viper-brac-function):
20913 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
20914 * lisp/facemenu.el (facemenu-add-new-face):
20915 * lisp/faces.el (face-documentation, read-face-name)
20916 (face-read-string, read-face-font, describe-face):
20917 * lisp/files.el (find-alternate-file, hack-local-variables)
20918 (hack-one-local-variable--obsolete, write-file)
20919 (basic-save-buffer, delete-directory):
20920 * lisp/format.el (format-write-file, format-find-file)
20921 (format-insert-file):
20922 * lisp/help-fns.el (help-fns--key-bindings)
20923 (help-fns--compiler-macro, help-fns--obsolete)
20924 (help-fns--interactive-only, describe-function-1)
20925 (describe-variable):
20926 * lisp/help.el (describe-mode):
20927 * lisp/info-xref.el (info-xref-output):
20928 * lisp/info.el (Info-virtual-index-find-node)
20929 (Info-virtual-index, info-apropos):
20930 * lisp/international/kkc.el (kkc-error):
20931 * lisp/international/mule-cmds.el:
20932 (select-safe-coding-system-interactively)
20933 (select-safe-coding-system, describe-input-method):
20934 * lisp/international/mule-conf.el (code-offset):
20935 * lisp/international/mule-diag.el (describe-character-set)
20936 (list-input-methods-1):
20937 * lisp/international/quail.el (quail-error):
20938 * lisp/minibuffer.el (minibuffer-message):
20939 * lisp/mpc.el (mpc--debug):
20940 * lisp/msb.el (msb--choose-menu):
20941 * lisp/net/ange-ftp.el (ange-ftp-message):
20942 * lisp/net/gnutls.el (gnutls-message-maybe):
20943 * lisp/net/newst-backend.el (newsticker--sentinel-work):
20944 * lisp/net/newst-treeview.el (newsticker--treeview-load):
20945 * lisp/net/nsm.el (nsm-query-user):
20946 * lisp/net/rlogin.el (rlogin):
20947 * lisp/net/soap-client.el (soap-warning):
20948 * lisp/net/tramp.el (tramp-debug-message):
20949 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
20950 * lisp/nxml/nxml-parse.el (nxml-parse-error):
20951 * lisp/nxml/rng-cmpct.el (rng-c-error):
20952 * lisp/nxml/rng-match.el (rng-compile-error):
20953 * lisp/nxml/rng-uri.el (rng-uri-error):
20954 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
20955 * lisp/org/org-ctags.el:
20956 (org-ctags-ask-rebuild-tags-file-then-find-tag):
20957 * lisp/proced.el (proced-log):
20958 * lisp/progmodes/ebnf2ps.el (ebnf-log):
20959 * lisp/progmodes/flymake.el (flymake-log):
20960 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
20961 * lisp/replace.el (occur-1):
20962 * lisp/simple.el (execute-extended-command)
20963 (undo-outer-limit-truncate, define-alternatives):
20964 * lisp/startup.el (command-line):
20965 * lisp/subr.el (error, user-error, add-to-list):
20966 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
20967 (tutorial--find-changed-keys):
20968 * src/callint.c (Fcall_interactively):
20969 * src/editfns.c (Fmessage, Fmessage_box):
20970 Restyle the quotes of format strings intended for use as a
20971 diagnostic, when restyling seems appropriate.
20972 * lisp/subr.el (format-message): New function.
20973 * src/doc.c (Finternal__text_restyle): New function.
20974 (syms_of_doc): Define it.
20975
20976 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
20977
20978 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
20979
20980 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
20981
20982 python.el: Fix python-shell-buffer-substring on indented code
20983 (Bug#21086)
20984 * lisp/progmodes/python.el (python-shell-buffer-substring):
20985 Respect current line indentation when calculating string.
20986 * test/automated/python-tests.el
20987 (python-shell-buffer-substring-10)
20988 (python-shell-buffer-substring-11)
20989 (python-shell-buffer-substring-12): New tests.
20990
20991 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
20992
20993 Fix minor glitches from ‘format’ reversion
20994 * doc/lispref/strings.texi (Formatting Strings):
20995 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
20996 Documentation’, not below.
20997 * src/syntax.c (Finternal_describe_syntax_value):
20998 Prefer AUTO_STRING to build_string where either will do, as
20999 AUTO_STRING is a bit faster.
21000
21001 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
21002
21003 python.el: Defer shell setup code until first interactive prompt
21004 * lisp/progmodes/python.el
21005 (python-shell-comint-watch-for-first-prompt-output-filter):
21006 New function.
21007 (inferior-python-mode): Use it.
21008 (python-shell-first-prompt-hook): New hook.
21009 (python-shell-send-setup-code)
21010 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
21011 this hook instead of inferior-python-hook.
21012
21013 2015-08-23 Nicolas Petton <nicolas@petton.fr>
21014
21015 Remove the calls to `seq-into` from `seq-concatenate`
21016 Since most new types of seq would have to be defined as sequences (cons
21017 cells or CL structs, mostly), there is no need to convert the seqs to
21018 sequences (which can be a fairly expensive operation).
21019 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
21020 sequences.
21021
21022 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
21023
21024 python.el: Fix completion for pdb interactions
21025 * lisp/progmodes/python.el (python-shell-completion-setup-code):
21026 Simplify. Toggle print_mode for native wrapped completer.
21027 (python-shell-completion-native-setup): Ensure process buffer.
21028 Add print_mode attribute to completer wrapper to toggle returning
21029 or printing candidates.
21030 (python-shell-completion-native-get-completions): Cleanup.
21031 (python-shell-completion-get-completions): Cleanup.
21032 (python-shell-completion-at-point): Perform prompt checks.
21033 Force fallback completion in pdb interactions.
21034
21035 2015-08-23 Nicolas Petton <nicolas@petton.fr>
21036
21037 Make seq.el more extensible by using cl-defmethod
21038 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
21039 make it easier to extend seq.el with new "seq types".
21040 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
21041 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
21042 subseq in cl-extra.el, and use it in seq.el.
21043
21044 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
21045
21046 python.el: Fix prompt detection with user overridden interpreter
21047 * lisp/progmodes/python.el (python-shell-prompt-detect):
21048 Honor buffer local python-shell-interpreter and
21049 python-shell-interpreter-interactive-arg.
21050
21051 2015-08-23 Eli Zaretskii <eliz@gnu.org>
21052
21053 Support exec-directory with non-ASCII characters on Windows
21054 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
21055 in the system's ANSI codepage, when it is used for invoking
21056 cmdproxy.
21057
21058 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
21059
21060 Revert "Extend ‘format’ to translate curved quotes"
21061 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
21062
21063 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
21064 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
21065
21066 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
21067
21068 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
21069 Clarify "invisible window".
21070
21071 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
21072
21073 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
21074 magic-fallback-mode-alist.
21075
21076 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
21077
21078 python.el: fallback completion, ffap and eldoc setup enhancements
21079 Setup codes are now sent continuously so that the current frame is
21080 always taken into account. This allows working within debuggers
21081 and always keeping a fresh version of setup codes that will return
21082 proper results.
21083 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
21084 (python-shell-send-setup-code): Send code only when
21085 python-shell-setup-codes is non-nil.
21086 (python-shell-completion-string-code): Cleanup trailing newline.
21087 (python-shell-completion-get-completions): Always use
21088 python-shell-completion-setup-code.
21089 (python-ffap-setup-code): Work with any object, not only modules.
21090 (python-ffap-string-code): Cleanup trailing newline.
21091 (python-ffap-module-path): Always use python-ffap-setup-code.
21092 (python-eldoc-string-code): Cleanup trailing newline.
21093 (python-eldoc--get-doc-at-point): Always use
21094 python-eldoc-setup-code. Return non-nil only if docstring is
21095 found.
21096
21097 python.el: Increase native completion robustness
21098 * lisp/progmodes/python.el (python-shell-completion-native-setup):
21099 Make completer print real candidates and just return dummy ones to
21100 avoid input modification.
21101 (python-shell-completion-native-get-completions): Set
21102 comint-redirect-insert-matching-regexp to non-nil and make
21103 comint-redirect-finished-regexp match the last dummy candidate.
21104 Use python-shell-accept-process-output to wait for the full list
21105 of candidates.
21106
21107 2015-08-22 Eli Zaretskii <eliz@gnu.org>
21108
21109 Fix invocation of programs via cmdproxy.exe
21110 * src/w32proc.c (sys_spawnve): Use exec-directory, not
21111 invocation-directory, for finding cmdproxy.exe. When Emacs is
21112 run from the source tree, look for cmdproxy.exe in the same source
21113 tree. (Bug#21323)
21114
21115 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
21116
21117 Handle comments inside unquoted URIs in css-mode
21118 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
21119 (css-syntax-propertize-function): New defconst.
21120 (css--font-lock-keywords): Handle parens around unquoted URIs.
21121 (css-mode): Set `syntax-propertize-function'.
21122
21123 2015-08-22 Eli Zaretskii <eliz@gnu.org>
21124
21125 Support invocation of Hunspell with multiple dictionaries
21126 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
21127 Support lists of dictionaries of the form "DICT1,DICT2,...".
21128 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
21129
21130 Minor formatting changes in ispell.el
21131 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
21132 (ispell-print-if-debug, ispell-aspell-find-dictionary)
21133 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
21134 (ispell-hunspell-dictionary-alist)
21135 (ispell-hunspell-fill-dictionary-entry)
21136 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
21137 (ispell-buffer-with-debug, ispell-complete-word)
21138 (ispell-current-dictionary, ispell-current-personal-dictionary)
21139 (ispell-accept-output, ispell-minor-mode)
21140 (ispell-personal-dictionary, ispell-dictionary-alist)
21141 (ispell-really-aspell, ispell-really-hunspell)
21142 (ispell-encoding8-command, ispell-aspell-supports-utf8)
21143 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
21144 Fix whitespace, inconsistent capitalization, and arguments in doc
21145 strings.
21146
21147 2015-08-22 Martin Rudalics <rudalics@gmx.at>
21148
21149 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
21150 function refused to resize a size-preserved window.
21151
21152 2015-08-22 Eli Zaretskii <eliz@gnu.org>
21153
21154 * doc/lispref/windows.texi (Selecting Windows): Improve
21155 documentation and indexing of 'window-use-time'.
21156
21157 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21158
21159 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
21160 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
21161 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
21162 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
21163 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
21164 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
21165 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
21166 Fix up commenting style.
21167
21168 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21169
21170 text-quoting-style in emacs-lisp diagnostics
21171 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
21172 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
21173 (ad-disable-advice, ad-remove-advice, ad-set-argument)
21174 (ad-set-arguments):
21175 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
21176 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
21177 (byte-optimize-while, byte-optimize-apply):
21178 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
21179 (byte-compile-log-file, byte-compile-format-warn)
21180 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
21181 (byte-compile-cl-warn)
21182 (byte-compile-warn-about-unresolved-functions)
21183 (byte-compile-file, byte-compile-fix-header)
21184 (byte-compile--declare-var, byte-compile-file-form-defmumble)
21185 (byte-compile-form, byte-compile-normal-call)
21186 (byte-compile-variable-ref, byte-compile-variable-set)
21187 (byte-compile-subr-wrong-args, byte-compile-setq-default)
21188 (byte-compile-negation-optimizer)
21189 (byte-compile-condition-case--old)
21190 (byte-compile-condition-case--new, byte-compile-save-excursion)
21191 (byte-compile-defvar, byte-compile-autoload)
21192 (byte-compile-lambda-form)
21193 (byte-compile-make-variable-buffer-local, display-call-tree)
21194 (batch-byte-compile):
21195 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
21196 (cconv-analyze-form):
21197 * lisp/emacs-lisp/chart.el (chart-space-usage):
21198 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
21199 (check-declare-warn, check-declare-file)
21200 (check-declare-directory):
21201 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
21202 (checkdoc-message-text-engine):
21203 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
21204 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
21205 (cl-symbol-macrolet):
21206 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
21207 * lisp/emacs-lisp/copyright.el (copyright)
21208 (copyright-update-directory):
21209 * lisp/emacs-lisp/edebug.el (edebug-read-list):
21210 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
21211 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
21212 (eieio-oref, eieio-oset-default):
21213 * lisp/emacs-lisp/eieio-speedbar.el:
21214 (eieio-speedbar-child-make-tag-lines)
21215 (eieio-speedbar-child-description):
21216 * lisp/emacs-lisp/eieio.el (defclass, change-class):
21217 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
21218 (elint-init-form, elint-check-defalias-form)
21219 (elint-check-let-form):
21220 * lisp/emacs-lisp/ert.el (ert-get-test):
21221 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
21222 (find-function-library):
21223 * lisp/emacs-lisp/generator.el (iter-yield):
21224 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
21225 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
21226 * lisp/emacs-lisp/package-x.el (package-upload-file):
21227 * lisp/emacs-lisp/package.el (package-version-join)
21228 (package-disabled-p, package-activate-1, package-activate)
21229 (package--download-one-archive)
21230 (package--download-and-read-archives)
21231 (package-compute-transaction, package-install-from-archive)
21232 (package-install, package-install-selected-packages)
21233 (package-delete, package-autoremove)
21234 (package-install-button-action, package-delete-button-action)
21235 (package-menu-hide-package, package-menu--list-to-prompt)
21236 (package-menu--perform-transaction)
21237 (package-menu--find-and-notify-upgrades):
21238 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
21239 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
21240 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
21241 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
21242 * lisp/emacs-lisp/smie.el (smie-config-save):
21243 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
21244 * lisp/emacs-lisp/testcover.el (testcover-1value):
21245 Use curved quotes in diagnostic format strings.
21246
21247 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
21248
21249 python.el: Ensure remote process-environment on non-interactive processes
21250 * lisp/progmodes/python.el
21251 (python-shell-tramp-refresh-process-environment): New function.
21252 (python-shell-with-environment): Use it.
21253 * test/automated/python-tests.el (python-shell-with-environment-2):
21254 Update.
21255
21256 python.el: Enhancements to process environment setup.
21257 * lisp/progmodes/python.el (python-shell-process-environment)
21258 (python-shell-extra-pythonpaths, python-shell-exec-path)
21259 (python-shell-virtualenv-root): Update docstring. Remove :safe.
21260 (python-shell-setup-codes): Remove :safe.
21261 (python-shell-remote-exec-path): New defcustom.
21262 (python-shell--add-to-path-with-priority): New macro.
21263 (python-shell-calculate-pythonpath): Give priority to
21264 python-shell-extra-pythonpaths. Update docstring.
21265 (python-shell-calculate-process-environment): Give priority to
21266 python-shell-process-environment. Update docstring.
21267 (python-shell-calculate-exec-path): Give priority to
21268 python-shell-exec-path and calculated virtualenv bin directory.
21269 Update docstring.
21270 (python-shell-tramp-refresh-remote-path): New function.
21271 (python-shell-with-environment): Use it when working remotely and
21272 do not modify tramp-remote-path. Allow nesting.
21273 (python-shell-calculate-command): Remove useless
21274 python-shell-with-environment call.
21275 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
21276 (python-shell-calculate-pythonpath-2)
21277 (python-shell-calculate-process-environment-6)
21278 (python-shell-calculate-process-environment-7)
21279 (python-shell-calculate-process-environment-8)
21280 (python-shell-calculate-exec-path-3)
21281 (python-shell-calculate-exec-path-4)
21282 (python-shell-calculate-exec-path-5)
21283 (python-shell-calculate-exec-path-6)
21284 (python-shell-with-environment-3): New tests.
21285 (python-shell-calculate-process-environment-2)
21286 (python-shell-calculate-process-environment-3)
21287 (python-shell-calculate-process-environment-4)
21288 (python-shell-calculate-process-environment-5)
21289 (python-shell-calculate-exec-path-1)
21290 (python-shell-calculate-exec-path-2)
21291 (python-shell-with-environment-1)
21292 (python-shell-with-environment-2): Update and simplify.
21293
21294 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21295
21296 Avoid hard-coding "M-x command" in docstrings
21297 * lisp/calendar/todo-mode.el (todo-mode):
21298 * lisp/desktop.el (desktop-save-mode):
21299 * lisp/edmacro.el (edit-kbd-macro):
21300 * lisp/emacs-lisp/package.el (package-menu-execute):
21301 * lisp/emulation/viper-cmd.el (viper-ask-level):
21302 * lisp/emulation/viper-init.el (viper-expert-level):
21303 * lisp/filesets.el (filesets-add-buffer):
21304 * lisp/follow.el (follow-mode):
21305 * lisp/gnus/auth-source.el (auth-sources):
21306 * lisp/international/ogonek.el (ogonek-informacja)
21307 (ogonek-information):
21308 * lisp/net/tramp.el (tramp-process-actions):
21309 * lisp/org/org-gnus.el (org-gnus-no-new-news):
21310 * lisp/org/org.el (org-ellipsis):
21311 * lisp/progmodes/python.el (python-shell-get-process-or-error):
21312 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
21313 * lisp/server.el (server-start):
21314 * lisp/type-break.el (type-break-noninteractive-query):
21315 * lisp/userlock.el (ask-user-about-supersession-help):
21316 * lisp/whitespace.el (whitespace-report-region):
21317 Prefer (substitute-command-keys "`\\[foo-command]'")
21318 to "`M-x foo-command'" in docstrings and the like.
21319
21320 2015-08-21 Tassilo Horn <tsdh@gnu.org>
21321
21322 Use add-function for prettify-symbols-compose-predicate
21323 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
21324 prettify-symbols-compose-predicate in terms of add-function.
21325 * etc/NEWS: Mention prettify-symbols-compose-predicate and
21326 prettify-symbols-mode support in tex-mode.
21327
21328 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21329
21330 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
21331 (smie-indent-exps, smie-indent-keyword): Use it.
21332 * test/indent/css-mode.css: Test alignment with leading comment.
21333
21334 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21335
21336 Respect text-quoting-style in (*Finder*) menus
21337 * lisp/info.el (info--prettify-description):
21338 Treat description as a docstring, so that it's requoted as
21339 per text-quoting-style.
21340
21341 2015-08-21 Martin Rudalics <rudalics@gmx.at>
21342
21343 Document `window-use-time' in Elisp manual
21344 * doc/lispref/windows.texi (Selecting Windows): Document
21345 `window-use-time'.
21346
21347 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21348
21349 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
21350 This is a cleaner fix for Bug#21260 than the previous change.
21351
21352 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21353
21354 Respect text-quoting-style in calc
21355 In calc, tespect text-quoting-style preference in diagnostic
21356 formats and fix a few similar problems in docstrings.
21357 * lisp/calc/calc-aent.el (math-read-factor):
21358 * lisp/calc/calc-embed.el (calc-do-embedded):
21359 * lisp/calc/calc-ext.el (calc-user-function-list)
21360 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
21361 * lisp/calc/calc-help.el (calc-describe-key)
21362 (calc-describe-thing):
21363 * lisp/calc/calc-lang.el (calc-c-language)
21364 (math-parse-fortran-vector-end, math-parse-tex-sum)
21365 (math-parse-eqn-matrix, math-parse-eqn-prime)
21366 (calc-yacas-language, calc-maxima-language, calc-giac-language)
21367 (math-read-big-rec, math-read-big-balance):
21368 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
21369 (calc-auto-recompute):
21370 * lisp/calc/calc-prog.el (calc-user-define-invocation)
21371 (math-do-arg-check):
21372 * lisp/calc/calc-store.el (calc-edit-variable):
21373 * lisp/calc/calc-units.el (math-build-units-table-buffer):
21374 * lisp/calc/calc-vec.el (math-read-brackets):
21375 * lisp/calc/calc-yank.el (calc-edit-mode):
21376 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
21377 Use curved quotes in diagnostic format strings.
21378 * lisp/calc/calc-help.el (calc-describe-thing):
21379 Format docstrings with substitute-command-keys.
21380 * lisp/calc/calc-help.el (calc-j-prefix-help):
21381 * lisp/calc/calc-misc.el (calc-help):
21382 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
21383 Escape a docstring "`".
21384
21385 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21386
21387 Fix documentation of 'menu-set-font' and 'set-frame-font'
21388 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
21389 * doc/lispref/frames.texi (Frame Font): Document that
21390 set-frame-font with the last argument 't' will also make the font
21391 the default for the future GUI frames.
21392
21393 Document '--create-frame' option to emacsclient
21394 * doc/emacs/misc.texi (emacsclient Options): Document the
21395 '--create-frame' option. (Bug#21308)
21396
21397 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21398
21399 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
21400
21401 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21402
21403 Document 'get-mru-window' in the ELisp manual
21404 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
21405 'get-mru-window'. (Bug#21306)
21406
21407 Clarify documentation of 'get-buffer-window-list'
21408 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
21409 current window, if relevant, will be the first in the list
21410 returned by 'get-buffer-window-list'.
21411 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
21412
21413 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
21414
21415 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
21416 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
21417 `switch-to-buffer'.
21418
21419 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
21420
21421 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
21422 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
21423 `display-buffer' instead of `switch-to-buffer'.
21424
21425 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21426
21427 Follow user preference in calendar diagnostics
21428 Respect text-quoting-style preference in diagnostic formats by
21429 using curved quotes (which are translated as per text-quoting-style)
21430 instead of grave accent and apostrophe (which are not).
21431 * lisp/calendar/appt.el (appt-display-message):
21432 * lisp/calendar/diary-lib.el (diary-check-diary-file)
21433 (diary-mail-entries, diary-from-outlook):
21434 * lisp/calendar/icalendar.el (icalendar-export-region)
21435 (icalendar--convert-float-to-ical)
21436 (icalendar--convert-date-to-ical)
21437 (icalendar--convert-ical-to-diary)
21438 (icalendar--convert-recurring-to-diary)
21439 (icalendar--add-diary-entry):
21440 * lisp/calendar/time-date.el (format-seconds):
21441 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
21442 (timeclock-make-hours-explicit):
21443 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
21444 (todo-item-mark, todo-check-format)
21445 (todo-insert-item--next-param, todo-edit-item--next-key)
21446 (todo-mode):
21447 Use curved quotes in diagnostic format strings.
21448 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
21449 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
21450 Just use straight quoting for simple test case.
21451
21452 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
21453
21454 * src/gfilenotify.c (Fgfile_add_watch):
21455 Handle errors from g_file_monitor.
21456
21457 2015-08-21 Martin Rudalics <rudalics@gmx.at>
21458
21459 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
21460 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
21461 frame" instead of "non-minibuffer frame".
21462
21463 Fix frame geometry related text
21464 * doc/lispref/frames.texi (Frame Layout):
21465 Rename `x-frame-geometry' to `frame-geometry'.
21466 * doc/lispref/frames.texi (Mouse Position):
21467 * doc/lispref/windows.texi (Coordinates and Windows):
21468 Use `set-mouse-absolute-pixel-position' instead of
21469 `x-set-mouse-absolute-pixel-position'.
21470
21471 Sanitize frame geometry related functions
21472 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
21473 (Fx_frame_edges): Rename to Fns_frame_edges.
21474 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
21475 (Fx_frame_edges): Rename to Fw32_frame_edges.
21476 (Fx_mouse_absolute_pixel_position): Rename to
21477 Fw32_mouse_absolute_pixel_position.
21478 (Fx_set_mouse_absolute_pixel_position): Rename to
21479 Fw32_set_mouse_absolute_pixel_position.
21480 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
21481 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
21482 (ns-frame-edges, w32-mouse-absolute-pixel-position)
21483 (x-mouse-absolute-pixel-position)
21484 (w32-set-mouse-absolute-pixel-position)
21485 (x-set-mouse-absolute-pixel-position): Declare.
21486 (frame-geometry, mouse-absolute-pixel-position)
21487 (set-mouse-absolute-pixel-position): New functions.
21488 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
21489
21490 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21491
21492 Fix MinGW64 build broken by latest w32uniscribe.c changes
21493 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
21494 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
21495 (Bug#21260)
21496
21497 2015-08-21 Tassilo Horn <tsdh@gnu.org>
21498
21499 Add TeX defaults for prettify-symbol-mode
21500 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
21501 Rename from tex-prettify-symbols-alist.
21502 (tex--prettify-symbols-compose-p): New function.
21503 (tex-common-initialization): Use them as prettify-symbols-alist
21504 and prettify-symbols-compose-predicate.
21505
21506 Generalize prettify-symbols to arbitrary modes
21507 * lisp/progmodes/prog-mode.el
21508 (prettify-symbols-default-compose-p): New function.
21509 (prettify-symbols-compose-predicate): New variable.
21510 (prettify-symbols--compose-symbol): Use it.
21511
21512 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
21513
21514 Don't quote symbols 'like-this' in docstrings etc.
21515 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
21516 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
21517 * lisp/allout.el (allout-add-resumptions, allout-mode):
21518 * lisp/calculator.el (calculator-operators):
21519 * lisp/cedet/data-debug.el (dd-propertize):
21520 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
21521 * lisp/cedet/semantic/analyze/debug.el:
21522 (semantic-analyzer-debug-global-miss-text):
21523 * lisp/cedet/semantic/lex-spp.el:
21524 (semantic-lex-spp-replace-or-symbol-or-keyword):
21525 * lisp/cedet/semantic/symref.el:
21526 (semantic-symref-cleanup-recent-buffers-fcn):
21527 * lisp/cedet/semantic/tag.el (semantic-tag-class):
21528 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
21529 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
21530 * lisp/gnus/pop3.el (pop3-authentication-scheme):
21531 * lisp/help-fns.el (describe-function-orig-buffer):
21532 * lisp/imenu.el (imenu--history-list):
21533 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
21534 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
21535 (feedmail-queue-default-file-slug)
21536 (feedmail-queue-buffer-file-name):
21537 * lisp/net/mairix.el (mairix-searches-mode-map):
21538 * lisp/net/newst-backend.el (newsticker-retrieval-method)
21539 (newsticker-auto-mark-filter-list):
21540 * lisp/obsolete/vi.el (vi-mode):
21541 * lisp/progmodes/cc-engine.el (c-literal-type):
21542 * lisp/progmodes/cpp.el (cpp-face):
21543 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
21544 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
21545 * lisp/progmodes/pascal.el (pascal-auto-lineup):
21546 * lisp/progmodes/prog-mode.el (prog-widen):
21547 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
21548 (verilog-auto-lineup, verilog-auto-reset-widths)
21549 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
21550 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
21551 (flyspell-maybe-correct-doubling):
21552 * lisp/textmodes/table.el (table-justify, table-justify-cell)
21553 (table-justify-row, table-justify-column, table-insert-sequence)
21554 (table--justify-cell-contents):
21555 * lisp/url/url-auth.el (url-get-authentication):
21556 * lisp/window.el (display-buffer-record-window):
21557 * lisp/xml.el (xml-parse-file, xml-parse-region):
21558 * src/gfilenotify.c (Fgfile_add_watch):
21559 Don't quote symbols with apostrophes in doc strings.
21560 Use asymmetric quotes instead.
21561 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
21562 Likewise for symbol in diagnostic.
21563 * lisp/image.el (image-extension-data):
21564 * lisp/register.el (frame-configuration-to-register):
21565 * src/buffer.c (syms_of_buffer):
21566 Remove bogus apostrophes after symbols.
21567 * lisp/thumbs.el (thumbs-conversion-program):
21568 Quote Lisp string values using double-quotes, not apostrophes.
21569
21570 2015-08-20 Martin Rudalics <rudalics@gmx.at>
21571
21572 Describe frame geometry and related functions in Elisp manual
21573 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
21574 (Showing Images): Update references.
21575 * doc/lispref/elisp.texi (Top): Update node listing.
21576 * doc/lispref/frames.texi (Frame Geometry): New node.
21577 Move `Size and Position' section here.
21578 (Size Parameters): Update references.
21579 (Mouse Position): Update references and nomenclature.
21580 Describe new functions `x-mouse-absolute-pixel-position' and
21581 `x-set-mouse-absolute-pixel-position'.
21582 * doc/lispref/windows.texi (Window Sizes): Update references.
21583 (Resizing Windows): Update references. Move description of
21584 `fit-frame-to-buffer' here.
21585 (Coordinates and Windows): Update nomenclature and references.
21586 Describe new arguments of `window-edges'. Comment out
21587 descriptions of `window-left-column', `window-top-line',
21588 `window-pixel-left' and `window-pixel-top'. Describe
21589 `window-absolute-pixel-position'.
21590
21591 2015-08-20 Alan Mackenzie <acm@muc.de>
21592
21593 Handling of `c-parse-state'. Fix low level bug.
21594 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
21595 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
21596
21597 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
21598
21599 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
21600 window instead of deleting it.
21601
21602 2015-08-20 Martin Rudalics <rudalics@gmx.at>
21603
21604 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
21605 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
21606 determine whether frame has a titlebar.
21607 Suggested by Eli Zaretskii <eliz@gnu.org>
21608
21609 2015-08-20 Tassilo Horn <tsdh@gnu.org>
21610
21611 Add a prettify-symbols-alist for (La)TeX
21612 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
21613 New variable holding an alist suitable as prettify-symbols-alist in
21614 (La)TeX modes.
21615
21616 2015-08-19 Alan Mackenzie <acm@muc.de>
21617
21618 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
21619 Fixes debbugs#21275.
21620 In Emacs >= 25, let electric-pair-mode take precedence over
21621 delete-selection-mode.
21622 * lisp/delsel.el (delete-selection-uses-region-p): New function,
21623 previously a lambda expression in a property value for
21624 `self-insert-command'.
21625 (top-level): Set the `delete-selection' property of
21626 `self-insert-command' to `delete-selection-uses-region-p'.
21627 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
21628 property for c-electric-\(brace\|paren\) the value
21629 `delete-selection-uses-region-p' when the latter function exists.
21630
21631 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
21632
21633 Fix key binding quoting in tutorial *Help*
21634 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
21635 When generating help for custom key bindings, use the user-preferred
21636 quoting style rather than hardcoding the grave style.
21637
21638 2015-08-19 Eli Zaretskii <eliz@gnu.org>
21639
21640 Improve and future-proof OTF fonts support in w32uniscribe.c
21641 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
21642 about the expected results and why the new Uniscribe APIs are not
21643 used in this function.
21644 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
21645 (ScriptGetFontFeatureTags_Proc): New function typedefs.
21646 (uniscribe_new_apis): New static variable.
21647 (uniscribe_check_features): New function, implements OTF features
21648 verification while correctly accounting for features in the list
21649 after the nil member, if any.
21650 (uniscribe_check_otf_1): New function, retrieves the features
21651 supported by the font for the requested script and language using
21652 the Uniscribe APIs available from Windows Vista onwards.
21653 (uniscribe_check_otf): If the new Uniscribe APIs are available,
21654 use them in preference to reading the font data directly. Call
21655 uniscribe_check_features to verify that the requested features are
21656 supported, replacing the original incomplete code.
21657 (syms_of_w32uniscribe): Initialize function pointers for the new
21658 Uniscribe APIs. (Bug#21260)
21659 (otf_features): Scan the script, langsys, and feature arrays back
21660 to front, so that the result we return has them in alphabetical
21661 order, like ftfont.c does.
21662 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
21663 New variable for debugging w32uniscribe.c code.
21664
21665 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
21666
21667 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
21668 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
21669 clause of `isearch-search-fun-default'. That lax variable does not
21670 refer to lax-whitespacing. Related to (bug#21777).
21671 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
21672 * lisp/character-fold.el (character-fold-search): Set to nil.
21673 Default to nil for now, until someone implements proper
21674 lax-whitespacing with char-fold searching.
21675
21676 2015-08-19 Martin Rudalics <rudalics@gmx.at>
21677
21678 Fix doc-string of `help-mode-finish'.
21679 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
21680
21681 In nsimage.m include coding.h (Bug#21292)
21682 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
21683
21684 Move window edge functions to Elisp.
21685 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
21686 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
21687 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
21688 Move to window.el.
21689 (calc_absolute_offset): Remove.
21690 * lisp/frame.el (frame-edges): New function.
21691 * lisp/window.el (window-edges, window-pixel-edges)
21692 (window-absolute-pixel-edges): Move here from window.c.
21693 (window-body-edges, window-body-pixel-edges)
21694 (window-absolute-body-pixel-edges): Move here from window.c and
21695 rename "inside" to "body". Keep old names as aliases.
21696 (window-absolute-pixel-position): New function.
21697
21698 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
21699
21700 [Gnus]: Use overlay functions directly
21701 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
21702 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
21703 (gnus-article-highlight-signature, gnus-article-extend-url-button)
21704 (gnus-article-add-button, gnus-insert-prev-page-button)
21705 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
21706 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
21707 (gnus-cite-add-face):
21708 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
21709 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
21710 (gnus-tree-recenter, gnus-highlight-selected-tree):
21711 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
21712 (gnus-summary-show-thread, gnus-summary-hide-thread)
21713 (gnus-highlight-selected-summary):
21714 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
21715 * lisp/gnus/message.el (message-fix-before-sending)
21716 (message-toggle-image-thumbnails):
21717 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
21718 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
21719 Use overlay functions directly instead of using gnus-overlay-*,
21720 message-overlay-*, and sieve-overlay-*.
21721 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
21722 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
21723 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
21724 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
21725 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
21726 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
21727 (message-overlay-get, message-overlay-put, message-overlays-in):
21728 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
21729 (sieve-overlays-at): Remove.
21730
21731 2015-08-19 Martin Rudalics <rudalics@gmx.at>
21732
21733 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
21734 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
21735 builds can use the declaration from the system headers.
21736 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
21737 definition of TITLEBAR_INFO.
21738 Suggested by Eli Zaretskii <eliz@gnu.org>
21739
21740 2015-08-19 Glenn Morris <rgm@gnu.org>
21741
21742 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
21743
21744 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
21745
21746 Use new q ‘format’ flag when fixing quotes in C
21747 * src/image.c (image_size_error): New function. All uses of
21748 image_error with "Invalid image size ..." changed to use it.
21749 * src/image.c (image_size_error, xbm_load_image, xbm_load)
21750 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
21751 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
21752 (imagemagick_load, svg_load, svg_load_image, gs_load)
21753 (x_kill_gs_process):
21754 * src/lread.c (load_warn_old_style_backquotes):
21755 * src/xfaces.c (load_pixmap):
21756 * src/xselect.c (x_clipboard_manager_error_1):
21757 Use %qs, not uLSQM and uRSQM.
21758 * src/syntax.c (Finternal_describe_syntax_value):
21759 Prefer Fsubstitute_command_keys to Fformat, as this lets
21760 us use AUTO_STRING.
21761 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
21762 as it's now guaranteed to be ASCII.
21763 * src/xselect.c (x_clipboard_manager_error_2):
21764 Avoid grave accent in low-level stderr diagnostic.
21765
21766 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
21767
21768 New q flag for ‘format’
21769 * doc/lispref/processes.texi (Sentinels):
21770 Don't hardwire grave quoting style in example.
21771 * doc/lispref/strings.texi (Formatting Strings):
21772 * etc/NEWS:
21773 Document new q flag.
21774 * src/editfns.c (Fformat): Implement it.
21775
21776 2015-08-18 Daiki Ueno <ueno@gnu.org>
21777
21778 pinentry.el: Add debugging support
21779 * lisp/net/pinentry.el (pinentry-debug): New variable.
21780 (pinentry-debug-buffer): New variable.
21781 (pinentry--process-filter): Send input to the debug buffer, if
21782 `pinentry-debug' is set.
21783
21784 pinentry.el: Improve multiline prompt
21785 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
21786 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
21787 command.
21788
21789 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21790
21791 Fix multibyte confusion in diagnostics
21792 * src/print.c (print_error_message):
21793 Don't assume that the caller's name is unibyte.
21794 * src/xdisp.c (vadd_to_log):
21795 Don't assume that the formatted diagnostic is unibyte.
21796
21797 Fix file name encodings in diagnostics
21798 Also, close some minor races when opening image files, by opening
21799 them once instead of multiple times.
21800 * src/gtkutil.c (xg_get_image_for_pixmap):
21801 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
21802 (svg_load):
21803 * src/nsimage.m (allocInitFromFile:):
21804 * src/xfns.c (xg_set_icon):
21805 Encode file name, since x_find_image_file no longer does that.
21806 * src/image.c (x_find_image_fd): New function.
21807 (x_find_image_file): Use it. Do not encode resulting file name,
21808 since callers sometimes need it decoded.
21809 (slurp_file): File arg is now a fd, not a file name.
21810 All callers changed. This saves us having to open the file twice.
21811 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
21812 (svg_load):
21813 Use x_find_image_fd and fdopen to save a file-open.
21814 Report file name that failed.
21815 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
21816
21817 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
21818
21819 Allow blink-matching-paren to jump off screen
21820 * doc/emacs/programs.texi (Matching): Mention the
21821 `blink-matching-paren' value `jump-offscreen'.
21822 * lisp/simple.el (blink-matching-paren): New possible value.
21823 (blink-matching-paren-on-screen): Clarify the docstring.
21824 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
21825
21826 Refine the previous change
21827 * lisp/simple.el (blink-matching-open): Use minibuffer-message
21828 outside of save-excursion (bug#21286).
21829
21830 2015-08-18 Martin Rudalics <rudalics@gmx.at>
21831
21832 Rewrite and add frame geometry related functions.
21833 * src/frame.c (Fframe_position): New function.
21834 (Fset_frame_position): Rename parameters and rewrite doc-string.
21835 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
21836 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
21837 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
21838 Qtitle_bar_size.
21839 * src/nsfns.m (frame_geometry): New function.
21840 (Fx_frame_geometry): Call frame_geometry.
21841 (Fx_frame_edges): New function.
21842 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
21843 (GetTitleBarInfo_Proc): Define these so we can use the
21844 GetTitleBarInfo API.
21845 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
21846 (Fx_frame_geometry): Rewrite.
21847 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
21848 (Fx_set_mouse_absolute_pixel_position): New functions.
21849 * src/xfns.c (frame_geometry): New function.
21850 (Fx_frame_geometry): Call frame_geometry.
21851 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
21852 (Fx_set_mouse_absolute_pixel_position): New functions.
21853
21854 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
21855
21856 Improve Tramp's compatibility
21857 * lisp/net/tramp.el (tramp-get-method-parameter):
21858 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
21859 (tramp-adb-get-device):
21860 * lisp/net/trampver.el (tramp-repository-get-version):
21861 Use `tramp-compat-replace-regexp-in-string'.
21862
21863 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
21864
21865 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
21866 Encode/decode string.
21867
21868 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21869
21870 Clarify what happens to match data on failure
21871 Problem reported by Ernesto Alfonso (Bug#21279).
21872 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
21873 Document more carefully what happens to match data after a failed
21874 search.
21875 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
21876 the return value is undefined if the last search failed.
21877 (Fmatch_data): Simplify doc string line 1.
21878
21879 2015-08-18 Daiki Ueno <ueno@gnu.org>
21880
21881 Revert "pinentry.el: Support external passphrase cache"
21882 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
21883 pinentry.el shouldn't directly interact with the secrets service,
21884 but ask the caller to cache the passphrase.
21885
21886 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
21887
21888 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
21889 Message mode hooks.
21890
21891 2015-08-17 Daiki Ueno <ueno@gnu.org>
21892
21893 epg.el: Make gpgconf output parsing future proof
21894 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
21895 --list-options" output.
21896
21897 pinentry.el: Support external passphrase cache
21898 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
21899 (pinentry--allow-external-password-cache): New local variable.
21900 (pinentry--key-info): New local variable.
21901 (secrets-enabled, secrets-search-items, secrets-get-secret):
21902 Declare.
21903 (pinentry--send-passphrase): New function, split from
21904 `pinentry--process-filter'.
21905 (pinentry--process-filter): Use secrets.el to retrieve passphrase
21906 from login keyring.
21907
21908 pinentry.el: Popup window for multiline prompt
21909 * lisp/net/pinentry.el (pinentry): New custom group.
21910 (pinentry-popup-prompt-window): New user option.
21911 (pinentry-prompt-window-height): New user option.
21912 (pinentry--prompt-buffer): New variable.
21913 (pinentry-prompt-mode-map): New variable.
21914 (pinentry-prompt-mode): New function.
21915 (pinentry--prompt): New function.
21916 (pinentry--process-filter): Use `pinentry--prompt' instead of
21917 `read-passwd' and `y-or-n-p'.
21918
21919 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
21920
21921 message.el: Silent the byte compiler
21922 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
21923 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
21924 (message-delete-overlay, message-window-inside-pixel-edges):
21925 Declare before using.
21926
21927 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
21928 (message-window-inside-pixel-edges): XEmacs compatible functions.
21929
21930 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21931
21932 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
21933
21934 2015-08-17 Noah Friedman <friedman@splode.com>
21935
21936 * lisp/simple.el (blink-matching-open): Restore point before
21937 calling minibuffer-message.
21938
21939 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
21940
21941 * lisp/play/dunnet.el: Update version number in header (now
21942 matches help).
21943
21944 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
21945
21946 Curved quotes in --batch diagnostics in non-UTF-8
21947 When run with --batch, check that curved quotes are compatible with
21948 the system locale before outputting them in diagnostics.
21949 Problem reported by Eli Zaretskii in:
21950 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
21951 * lisp/startup.el (command-line): Set internal--text-quoting-flag
21952 after the standard display table is initialized.
21953 * src/doc.c (default_to_grave_quoting_style): New function.
21954 (text_quoting_style): Use it.
21955 (text_quoting_flag): New static var, visible to Lisp as
21956 internal--text-quoting-flag.
21957 * src/emacs.c: Include <wchar.h> if available.
21958 (using_utf8): New function.
21959 (main): Use it to initialize text_quoting_flag.
21960 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
21961 Don't define, as it's not needed and it clashes with wchar.h.
21962
21963 2015-08-17 Glenn Morris <rgm@gnu.org>
21964
21965 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
21966 from makeinfo about spurious "Note:" cross-reference, and for grammar.
21967
21968 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
21969
21970 Minor change in variable initialization on MS-Windows
21971 * src/w32fns.c <after_dead_key>: Initialize to -1.
21972 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
21973 non-zero.
21974
21975 Fix a bug with LWindow key remapping on MS-Windows
21976 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
21977
21978 2015-08-17 Eli Zaretskii <eliz@gnu.org>
21979
21980 Improve fontset support for latest OTF script tags
21981 * lisp/international/fontset.el (otf-script-alist): Add some
21982 missing script tags.
21983 (setup-default-fontset): Include settings for v2 versions of the
21984 script tags used by some modern OTF/TTF fonts.
21985
21986 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
21987
21988 Spelling fixes
21989
21990 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
21991
21992 Use curved quotes in core elisp diagnostics
21993 In the core elisp files, use curved quotes in diagnostic formats,
21994 so that they follow user preference as per ‘text-quoting-style’
21995 rather than being hard-coded to quote `like this'.
21996 * lisp/abbrev.el (expand-region-abbrevs):
21997 * lisp/button.el (button-category-symbol, button-put)
21998 (make-text-button):
21999 * lisp/cus-start.el:
22000 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
22001 (custom--sort-vars-1, load-theme):
22002 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
22003 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
22004 (cl-generic-generalizers):
22005 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
22006 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
22007 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
22008 (advice--make, define-advice):
22009 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
22010 * lisp/emacs-lisp/timer.el (timer-event-handler):
22011 * lisp/env.el (setenv):
22012 * lisp/facemenu.el (facemenu-add-new-face)
22013 (facemenu-add-new-color):
22014 * lisp/faces.el (face-documentation, read-face-name)
22015 (face-read-string, read-face-font, face-spec-set-match-display)
22016 (read-color, x-resolve-font-name):
22017 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
22018 (set-auto-mode, hack-local-variables)
22019 (hack-one-local-variable--obsolete)
22020 (dir-locals-set-directory-class, write-file)
22021 (basic-save-buffer, delete-directory, copy-directory)
22022 (recover-session, recover-session-finish, insert-directory)
22023 (file-modes-char-to-who, file-modes-symbolic-to-number)
22024 (move-file-to-trash):
22025 * lisp/font-lock.el (font-lock-fontify-buffer):
22026 * lisp/format.el (format-write-file, format-find-file)
22027 (format-insert-file):
22028 * lisp/frame.el (get-device-terminal, select-frame-by-name):
22029 * lisp/fringe.el (fringe--check-style):
22030 * lisp/help.el (describe-minor-mode-from-indicator):
22031 * lisp/image.el (image-type):
22032 * lisp/international/fontset.el (x-must-resolve-font-name):
22033 * lisp/international/mule-cmds.el (prefer-coding-system)
22034 (select-safe-coding-system-interactively)
22035 (select-safe-coding-system, activate-input-method)
22036 (toggle-input-method, describe-current-input-method):
22037 * lisp/international/mule-conf.el (code-offset):
22038 * lisp/mouse.el (minor-mode-menu-from-indicator):
22039 * lisp/replace.el (query-replace-read-from)
22040 (occur-after-change-function, occur-1):
22041 * lisp/scroll-bar.el (scroll-bar-columns):
22042 * lisp/simple.el (execute-extended-command)
22043 (undo-outer-limit-truncate, compose-mail, set-variable)
22044 (choose-completion-string, define-alternatives):
22045 * lisp/startup.el (site-run-file, tty-handle-args)
22046 (command-line, command-line-1):
22047 * lisp/subr.el (noreturn, define-error, add-to-list)
22048 (read-char-choice):
22049 * lisp/term/common-win.el (x-handle-xrm-switch)
22050 (x-handle-name-switch, x-handle-args):
22051 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
22052 Use curved quotes in diagnostics.
22053 * lisp/international/mule.el (find-auto-coding):
22054 Use " to quote in a diagnostic, to be consistent with the rest of
22055 this file.
22056
22057 Convert lisp/term/x-win.el to UTF-8
22058 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
22059 runtime behavior, and the file is multilingual so compile-time
22060 appearance shouldn't be an issue.
22061 * admin/notes/unicode: Document this.
22062
22063 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
22064
22065 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
22066 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
22067 issues and comments, bug#943.
22068 (verilog-type-font-keywords): Cycle delay operators like ##1 and
22069 ##[0:$] are now highlighted in their entirety similarly to the #
22070 delay-control operator. Likewise, the followed-by operators #-#
22071 and #=# are no longer partially highlighed.
22072 (verilog-backward-syntactic-ws-quick)
22073 (verilog-skip-backward-comments): Minor performance improvements
22074 to buffer traversal functions for reduced latency.
22075 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
22076 keyword 'final' follows 'assert/assume/cover', then it is part of
22077 a deferred immediate assertion item and should not be treated as a
22078 final construct for indentation. Reported by Yuri Sugihara.
22079 (verilog-do-indent): Virtual task/function/class definition lines
22080 should not be considered as declarations. Reported by Enzo Chi.
22081 (verilog-do-indent): Do not falsely indent to '=' of
22082 property/sequence operators on subsequent lines of a multi-line
22083 statement.
22084 (verilog-assignment-operator-re): Fix '!==' operator and add
22085 support for '<->', ':/', '#-#', and '#=#' operators.
22086 (verilog-calculate-indent, verilog-label-be): Enable
22087 case-sensitive regular expression parsing when looking for
22088 keywords.
22089 (verilog-calc-1): Detect 'pure virtual method' declarations which
22090 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
22091 (verilog-backward-ws&directives): When moving back to the start of
22092 a line and the preceeding line ended with an escaped-newline, then
22093 jump up one line. This properly consumes a multi-line
22094 pre-processor directive. Reported by Kaushal Modi.
22095 (verilog-dpi-import-export-re, verilog-extended-complete-re)
22096 (verilog-calc-1): Teach verilog-mode to properly indent after a
22097 DPI import/export statement that resides outside of a module.
22098 Reported by Kaushal Modi.
22099 (verilog-extended-complete-re): Update regexp to match both
22100 "DPI-C" and "DPI". Reported by Kaushal Modi.
22101
22102 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
22103
22104 substitute-command-keys a few more doc strings
22105 * lisp/allout.el (outlineify-sticky):
22106 * lisp/files.el (hack-one-local-variable--obsolete):
22107 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
22108 Use substitute-command-keys on some doc strings so that
22109 they don't use hard-coded key bindings or quoting styles.
22110
22111 Fix quoting in Fformat calls
22112 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
22113 (xpm_load, xpm_load_image, pbm_load, png_load_body)
22114 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
22115 (imagemagick_load, svg_load, svg_load_image, gs_load)
22116 (x_kill_gs_process):
22117 * src/lread.c (load_warn_old_style_backquotes):
22118 * src/xfaces.c (load_pixmap):
22119 * src/xselect.c (x_clipboard_manager_error_1):
22120 Quote diagnostics according to user preference when calling
22121 Fformat or its derivatives.
22122
22123 2015-08-15 Glenn Morris <rgm@gnu.org>
22124
22125 * admin/admin.el (set-version, set-copyright): Remove deleted files.
22126
22127 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
22128
22129 Allow describe-function helpers to access buffer-local values
22130 This will be used by cedet/mode-local.el `describe-mode-local-override'
22131 on `help-fns-describe-function-functions' in upstream CEDET.
22132 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
22133 `describe-function'.
22134 (describe-function): Bind it, save it on the help xref stack.
22135
22136 Handle pulse-background being nil
22137 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
22138 pulse-background, handle it being nil.
22139
22140 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
22141
22142 Fix "\`" confusion in Lisp strings
22143 * admin/authors.el (authors-canonical-author-name):
22144 Fix typo by using "\\`" not "\`" in string RE.
22145 * lisp/obsolete/complete.el (PC-complete-as-file-name):
22146 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
22147 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
22148 Use plain "`", not the equivalent-but-confusing "\`", in strings.
22149 * lisp/textmodes/texinfmt.el: Fix comment likewise.
22150
22151 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
22152
22153 * nt/zipdist.bat: Remove -- no longer used.
22154
22155 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
22156
22157 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
22158 rather than "getenforce".
22159 (tramp-sh-handle-set-file-selinux-context): Do not
22160 cache SELinux context if not all context components are given.
22161
22162 2015-08-15 Eli Zaretskii <eliz@gnu.org>
22163
22164 Add doc strings to 2 help-mode.el functions
22165 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
22166 strings. (Bug#21263)
22167
22168 Remove files used by the old MS-Windows specific build procedure
22169 * admin/unidata/makefile.w32-in:
22170 * doc/emacs/makefile.w32-in:
22171 * doc/lispintro/makefile.w32-in:
22172 * doc/lispref/makefile.w32-in:
22173 * doc/misc/makefile.w32-in:
22174 * leim/makefile.w32-in:
22175 * lib-src/makefile.w32-in:
22176 * lib/makefile.w32-in:
22177 * lisp/makefile.w32-in:
22178 * nt/INSTALL.OLD:
22179 * nt/config.nt:
22180 * nt/emacs-src.tags:
22181 * nt/envadd.bat:
22182 * nt/gmake.defs:
22183 * nt/makefile.w32-in:
22184 * nt/multi-install-info.bat:
22185 * nt/nmake.defs:
22186 * nt/paths.h:
22187 * src/makefile.w32-in: Files deleted.
22188 * nt/configure.bat: Remove everything except the blurb about the
22189 new build procedure.
22190 * make-dist: Remove references to makefile.w32-in in various
22191 directories, and to files in nt/ that were deleted.
22192 * etc/NEWS: Mention the fact that the files were dropped.
22193
22194 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
22195
22196 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
22197 (Bug#21248)
22198
22199 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
22200
22201 Default to inotify instead of gfile
22202 * configure.ac (with_file_notification): Fix typo that
22203 prevented suppression of file notification if HAVE_NS.
22204 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
22205 with_file_notification is 'yes' (Bug#21241).
22206 * etc/NEWS: Mention this.
22207
22208 Fix broken URLs for ISO-IR
22209 * doc/emacs/mule.texi (Charsets):
22210 * lisp/international/mule-conf.el:
22211 Fix broken URL (Bug#21248).
22212
22213 Low-level diagnostics now use ‘text-quoting-style’
22214 * src/doprnt.c (doprnt):
22215 Format ` and ' as per ‘text-quoting-style’.
22216 * src/xdisp.c (vmessage, message): Mention that the format should
22217 not contain ` or '.
22218
22219 Prefer ‘format’ to ‘substitute-command-keys’
22220 * src/character.h (uLSQM, uRSQM): Move here ...
22221 * src/doc.c (uLSQM, uRSQM): ... from here.
22222 * src/doc.c (Fsubstitute_command_keys):
22223 * src/syntax.c (Finternal_describe_syntax_value):
22224 * lisp/cedet/mode-local.el (mode-local-print-binding)
22225 (mode-local-describe-bindings-2):
22226 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
22227 * lisp/cus-theme.el (describe-theme-1):
22228 * lisp/descr-text.el (describe-text-properties-1, describe-char):
22229 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
22230 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
22231 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
22232 * lisp/emacs-lisp/package.el (describe-package-1):
22233 * lisp/faces.el (describe-face):
22234 * lisp/help-fns.el (help-fns--key-bindings)
22235 (help-fns--compiler-macro, help-fns--parent-mode)
22236 (help-fns--obsolete, help-fns--interactive-only)
22237 (describe-function-1, describe-variable):
22238 * lisp/help.el (describe-mode):
22239 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
22240 to implement quoting style. This generally makes the code simpler.
22241
22242 Extend ‘format’ to translate curved quotes
22243 This is a followup to the recent doc string change, and deals with
22244 diagnostics and the like. This patch is more conservative than
22245 the doc string change, in that the behavior of ‘format’ changes
22246 only if its first arg contains curved quotes and the user prefers
22247 straight or grave quotes. (Come to think of it, perhaps we should
22248 be similarly conservative with doc strings too, but that can wait.)
22249 The upside of this conservatism is that existing usage is almost
22250 surely unaffected. The downside is that we'll eventually have to
22251 change Emacs's format strings to use curved quotes in places where
22252 the user might want curved quotes, but that's a simple and
22253 mechanical translation that I'm willing to do later. (Bug#21222)
22254 * doc/lispref/help.texi (Keys in Documentation):
22255 Move description of text-quoting-style from here ...
22256 * doc/lispref/strings.texi (Formatting Strings):
22257 ... to here, and describe new behavior of ‘format’.
22258 * etc/NEWS: Describe new behavior.
22259 * lisp/calc/calc-help.el (calc-describe-thing):
22260 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
22261 * lisp/info.el (Info-find-index-name):
22262 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
22263 of recently-added curved quotes.
22264 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
22265 Move from here ...
22266 * src/lisp.h: ... to here.
22267 * src/doc.c (text_quoting_style): New function.
22268 (Fsubstitute_command_keys): Use it.
22269 * src/editfns.c (Fformat): Implement new behavior.
22270 * src/lisp.h (enum text_quoting_style): New enum.
22271
22272 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
22273
22274 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
22275 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
22276
22277 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
22278
22279 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
22280 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
22281
22282 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
22283
22284 Flush file properties in Tramp
22285 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
22286 (tramp-sh-handle-set-file-times):
22287 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
22288 (tramp-adb-handle-set-file-times): Flush the file properties of
22289 the directory.
22290
22291 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
22292
22293 * doc/emacs/misc.texi (Amusements): Fixed typo.
22294
22295 2015-08-14 Eli Zaretskii <eliz@gnu.org>
22296
22297 Don't miss warnings about removing string text properties while dumping
22298 * src/alloc.c (purecopy): Warn about removing a string's text
22299 properties even when the same string was already pure-copied
22300 earlier.
22301 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
22302 (elisp--xref-format-extra): Fix the commentary.
22303
22304 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
22305
22306 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
22307
22308 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
22309
22310 * lisp/progmodes/compile.el: Use lexical-binding.
22311 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
22312
22313 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
22314
22315 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
22316 * lisp/uniquify.el: Remove redundant `:group's.
22317
22318 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
22319
22320 * lisp/net/tramp-adb.el
22321 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
22322 result to prevent modification of the tramp-cache by side effects.
22323 Use the correct cache key.
22324
22325 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
22326
22327 Make add_to_log varargs
22328 * src/alloc.c (run_finalizer_handler):
22329 * src/charset.c (load_charset_map_from_vector):
22330 * src/nsimage.m (ns_load_image):
22331 * src/xfaces.c (load_pixmap, load_color2):
22332 Simplify, now that add_to_log has a variable number of args.
22333 * src/image.c (image_error): Take a variable number of args.
22334 Callers simplified.
22335 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
22336 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
22337 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
22338 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
22339
22340 Optional args for holiday-greek-orthodox-easter
22341 * etc/NEWS: Document this.
22342 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
22343 Add optional args N and STRING, mimicking the API and code of
22344 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
22345
22346 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
22347
22348 xref-find-definitions: Exclude more generic function items.
22349 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
22350 Add doc string.
22351 (cl--generic-find-defgeneric-regexp): New.
22352 (find-function-regexp-alist): Add it.
22353 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
22354 elisp-mode.el, change to search for ";;; Code:"
22355 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
22356 (find-function-regexp-alist): Add them.
22357 * lisp/progmodes/elisp-mode.el:
22358 (elisp--xref-format, elisp--xref-format-extra): Change back to
22359 defvar due to bug#21237.
22360 (elisp--xref-find-definitions): Exclude co-located default methods for
22361 generic functions. Also exclude implicitly declared defgeneric.
22362 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
22363 mode variables defined by 'define-minor-mode'.
22364 * test/automated/elisp-mode-tests.el: Declare generic functions, add
22365 tests for them.
22366 (xref-elisp-test-run): Fix bug.
22367 (emacs-test-dir): Improve initial value.
22368 (find-defs-defun-defvar-el): Don't expect defvar.
22369 (find-defs-feature-el): Match change to find-feature-regexp.
22370
22371 2015-08-13 Eli Zaretskii <eliz@gnu.org>
22372
22373 Improve warning about purecopy of strings with properties
22374 * src/alloc.c (purecopy): Show the offending string with the
22375 warning about removing its text properties.
22376
22377 2015-08-12 Alan Mackenzie <acm@muc.de>
22378
22379 Introduce new macros to cover Emacs's new names in cl-lib.el
22380 This also eliminates `mapcan' warnings in XEmacs.
22381 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
22382 characterise [X]Emacs versions.
22383 (top-level): Require either 'cl or 'cl-lib, depending on
22384 c--mapcan-status.
22385 Change this back to cc-external-require from an eval-when-compile
22386 require.
22387 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
22388 (c--delete-duplicates): New macros which expand into either old or new
22389 names.
22390 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
22391 rather than the old names.
22392 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
22393 rather than mapcan.
22394 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
22395 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
22396 depending on c--mapcan-status.
22397 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
22398 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
22399 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
22400 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
22401 (c-decl-block-key, c-keywords, c-keywords-obarray)
22402 (c-regular-keywords-regexp, c-primary-expr-regexp)
22403 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
22404 (c-known-type-key, c-nonlabel-token-key)
22405 (c-make-init-lang-vars-fun): Use the new macros rather than the old
22406 names.
22407
22408 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
22409
22410 loadhist.el (read-feature): Conform to completing-read
22411 * lisp/loadhist.el (read-feature): According to `completing-read'
22412 documentation, if collection is a list, then it must be a list of
22413 strings, not a list of symbols like before.
22414
22415 2015-08-12 David Kastrup <dak@gnu.org>
22416
22417 Deal gracefully with up-events (Bug#19746)
22418 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
22419 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
22420 those may easily be injected by user-level Lisp code.
22421 (read_key_sequence): Discard unbound up-events like unbound
22422 down-events: they are even more likely only relevant for special
22423 purposes.
22424 While Emacs will not produce up-events on its own currently (those are
22425 converted to drag or click events before being converted to
22426 Lisp-readable structures), the input queue can be made to contain them
22427 by synthesizing events to `unread-command-events'. Emacs should deal
22428 consistently with such events.
22429
22430 2015-08-12 Eli Zaretskii <eliz@gnu.org>
22431
22432 Fix display of thin lines whose newline has line-height property of t
22433 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
22434 and descent values of non-empty glyph rows, since they could have
22435 forced low values deliberately. (Bug#21243)
22436
22437 2015-08-12 Richard Stallman <rms@gnu.org>
22438
22439 Offer to combine multiple To or CC fields.
22440 * lisp/mail/sendmail.el (mail-combine-fields): New function.
22441 (mail-send): Call 'mail-combine-fields'.
22442
22443 Don't decrypt encrypted files.
22444 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
22445
22446 Handle encrypted mbox files.
22447 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
22448 the mbox file if necessary.
22449
22450 Re-enable mime processing after decryption. Add 'decrypt' keyword.
22451 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
22452 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
22453 In a mime message, reenable Mime and show the parts that
22454 were shown before.
22455 Add keyword "decrypt" if anything decrypted.
22456
22457 epa-inhibit inhibits auto-recognition of .gpg files
22458 * lisp/epa-file.el (epa-inhibit): New variable.
22459 (epa-file-handler): Check epa-inhibit.
22460
22461 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
22462
22463 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
22464
22465 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
22466
22467 Respect python.el imenu when semantic-mode is off
22468 Fixes bug#21220
22469 * lisp/cedet/semantic/wisent/python.el: Do not force
22470 wisent-python-default-setup on python-mode-hook.
22471
22472 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
22473
22474 Give names to Unicode code points in C code
22475 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
22476 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
22477 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
22478 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
22479 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
22480 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
22481 (OBJECT_REPLACEMENT_CHARACTER):
22482 New named constants for Unicode code points.
22483 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
22484 * src/composite.c (char_composable_p):
22485 * src/lread.c (readevalloop, read1):
22486 * src/xdisp.c (get_next_display_element):
22487 Use them.
22488 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
22489 Remove; now in character.h.
22490
22491 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
22492
22493 elisp--xref-find-definitions handle cl-defstuct default constructor
22494 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
22495 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
22496 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
22497 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
22498 from xref-elisp-test for ease of debugging.
22499 (xref-elisp-deftest): Rename from xref-elisp-test.
22500 (find-defs-constructor): New test.
22501 (find-defs-defgeneric-el): Match batch test config.
22502 (compile): Required for find-defs compilation-minor-mode test.
22503 (find-defs-defvar-el): Match code change.
22504 (find-defs-face-el): Match code change.
22505 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
22506 Improve doc string.
22507
22508 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
22509
22510 * lisp/replace.el (perform-replace): Document `replacements'.
22511 (perform-replace): Move the description of the format of `replacements'
22512 from the body's comment to the doc string.
22513
22514 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
22515
22516 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
22517 sequence. Recent adb version send initial escape sequences, even
22518 when terminal type is set to TERM=dumb.
22519
22520 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
22521
22522 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
22523 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
22524 Function deleted.
22525 (elisp--xref-format-cl-defmethod): New defconst.
22526 (find-feature-regexp, find-alias-regexp): New defcustoms.
22527 (elisp--xref-make-xref): New function.
22528 (elisp--xref-find-definitions): Rewrite using the above, handle many
22529 more cases. Always output all available definitions.
22530 (xref-location-marker): No need for special cases.
22531 * test/automated/elisp-mode-tests.el: Add more tests of
22532 elisp--xref-find-definitions, improve current tests.
22533
22534 2015-08-10 Eli Zaretskii <eliz@gnu.org>
22535
22536 Fix recording of events pushed onto unread-command-events
22537 * src/keyboard.c (read_char): Make sure events read from
22538 unread-command-events and unread-post-input-method-events are
22539 always recorded by record_char. Reported by David Kastrup
22540 <dak@gnu.org>, see
22541 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
22542
22543 2015-08-10 Samer Masterson <samer@samertm.com>
22544
22545 Set file buffer as current for "--file"
22546 * lisp/startup.el (command-line-1): Set file buffer as current before
22547 it is displayed so it can be used with options like "--eval".
22548 (Bug#21095)
22549
22550 2015-08-10 Eli Zaretskii <eliz@gnu.org>
22551
22552 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
22553 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
22554 after setting LC_ALL to the desired locale, to avoid affecting how
22555 numbers are read and printed. (Bug#21223)
22556
22557 2015-08-10 Alan Mackenzie <acm@muc.de>
22558
22559 Fix "Invalid search bound (wrong side of point)" in fontification
22560 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
22561 an initialization expression, check point is not beyond the
22562 fontification limit.
22563
22564 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
22565
22566 Fix DPI calculation when Xft/DPI is default
22567 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
22568 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
22569 Remove unnecessary cast while we're in the neighborhood.
22570
22571 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
22572
22573 Add project-vc-search-path and project-vc-ignores
22574 * lisp/progmodes/project.el (project-vc): New group.
22575 (project-vc-search-path, project-vc-ignores): New variables.
22576 (project--value-in-dir): Utility function.
22577 (project-search-path, project-ignores): Use them.
22578 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
22579 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
22580
22581 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
22582
22583 Fix some minor quoting issues with grave accent
22584 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
22585 Remove redundant quotes.
22586 * src/doc.c (uLSQM, uRSQM): New macros.
22587 * src/doc.c (Fsubstitute_command_keys):
22588 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
22589 preference for quotes rather than hardcoding the ‘grave’ style.
22590 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
22591 (re_match_2_internal) [DEBUG]: In debugging output, quote C
22592 strings with "...", not `...'.
22593
22594 ChangeLog.2 ignores remote-tracking merges
22595 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
22596 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
22597 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
22598
22599 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
22600
22601 Use kpsewhich in ffap-latex-mode, if available
22602 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
22603 (ffap-latex-mode): Use kpsewhich if available.
22604
22605 ffap: disallow braces in filenames for tex modes
22606 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
22607 braces in tex-related modes.
22608
22609 Remove useless backslashes from ffap-string-at-point-mode-alist
22610 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
22611 misleading backslashes from default value.
22612
22613 Augment docstring of ffap-string-at-point-mode-alist
22614 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
22615 and END are handled.
22616
22617 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
22618
22619 * lisp/org/org-src.el (org-edit-src-code)
22620 (org-edit-fixed-width-region):
22621 * lisp/simple.el (completion-setup-function):
22622 Remove calls to substitute-command-keys that always just return
22623 their argument.
22624
22625 2015-08-09 Daiki Ueno <ueno@gnu.org>
22626
22627 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
22628 (Bug#21210)
22629
22630 2015-08-09 Ivan Kanis <ivan@kanis.fr>
22631
22632 Fix link to source code in help window
22633 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
22634 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
22635 'No longer include timestamp in header of .elc files'. Add code
22636 that will return .el source file in load-path.
22637
22638 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
22639
22640 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
22641 Respect `isearch-lax-whitespace' when searching through
22642 `isearch-word'.
22643
22644 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
22645
22646 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
22647
22648 * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
22649 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
22650 (org-set-regexps-and-options, org-assign-fast-keys)
22651 (org-contextualize-keys, org-contextualize-validate-key)
22652 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
22653 (org-find-olp, org-find-exact-heading-in-directory)
22654 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
22655 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
22656 (org-replace-escapes): Use dolist.
22657 (org-mode): Optimize away XEmacs-only code.
22658 (org-refile-get-targets): Remove unused var `f'.
22659 (org-fast-todo-selection): Remove unused var `e'.
22660 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
22661 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
22662 (org-format-latex): Use dolist. Remove unused var `e'.
22663 (org-toggle-heading): Access vars lexically rather than dynamically.
22664 (org-backward-sentence, org-forward-sentence, org-meta-return)
22665 (org-kill-line): Mark arg as unused.
22666 (org-submit-bug-report): Silence compiler warning.
22667 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
22668 (org-get-cursor-date): Remove unused var `tm'.
22669 (org-comment-or-uncomment-region): Use standard name `_'.
22670 (reftex-docstruct-symbol, reftex-cite-format): Declare to
22671 silence byte-compiler.
22672 (org-reftex-citation): Add `org--' prefix to dynamically scoped
22673 `rds' var.
22674
22675 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
22676
22677 Electric quote if coding is undecided or no conv
22678 * lisp/electric.el (electric--insertable-p): Also say that a
22679 string is insertable if the buffer file coding system is undecided
22680 or uses no conversion, as curved quotes will work in either case.
22681
22682 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
22683
22684 2015-08-08 Eli Zaretskii <eliz@gnu.org>
22685
22686 Fix overlay string display regressions introduced in Emacs 24.5
22687 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
22688 buffer position, if we move the iterator to a new position as
22689 result of jumping over text covered by a "replacing" display
22690 property.
22691 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
22692
22693 Support recovery from C stack overflow on MS-Windows
22694 * src/w32fns.c (w32_reset_stack_overflow_guard)
22695 (stack_overflow_handler): New functions for handling C stack
22696 overflow exceptions.
22697 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
22698 specially, and zero out except_addr if we do.
22699 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
22700 mode.
22701 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
22702 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
22703 the MinGW build, but the code guarded by that is for Posix hosts.
22704 * src/keyboard.c (command_loop) [WINDOWSNT]:
22705 Call w32_reset_stack_overflow_guard.
22706 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
22707 (sigsetjmp): New macro.
22708 (w32_reset_stack_overflow_guard): Declare the prototype.
22709 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
22710
22711 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
22712
22713 Improve error signalling for seq-subseq
22714 * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
22715 when indexes are too large, but to silently ignore numbers which
22716 are too negative for lists. String and vector handling errors in
22717 both cases. This has been regularized. Error signaling behavior
22718 has been explicitly added to the doc string.
22719
22720 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
22721 therefore also impacted by this change. Update the doc string
22722 to reflect this.
22723
22724 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
22725 added for these exceptional cases, as well as one non exceptional
22726 base case.
22727
22728 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
22729
22730 Improve error checking in tramp-adb.el
22731 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
22732 Improve error checking. "ls -l" on Android in Enforcing mode can
22733 print "lstat './FILENAME failed: Permission denied".
22734
22735 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
22736
22737 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
22738 non-struct vectors.
22739
22740 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
22741
22742 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
22743 * lisp/window.el: Fix typo that broke build.
22744 (display-buffer--action-function-custom-type):
22745 Add `display-buffer-use-some-frame'.
22746 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
22747
22748 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
22749 * lisp/window.el (display-buffer-use-some-frame): Add support for
22750 'inhibit-same-window in alist.
22751 * doc/lispref/windows.texi (display-buffer-use-some-frame):
22752 Doc support for 'inhibit-same-window in alist.
22753
22754 2015-08-07 Eli Zaretskii <eliz@gnu.org>
22755
22756 Avoid infinite loop in display of invisible text in strings
22757 * src/xdisp.c (handle_invisible_prop): If the next change of
22758 invisibility spec does not mean the beginning of a visible text,
22759 update the string position from which to start the search for the
22760 next invisibility change. This avoids an infinite loop when we
22761 have more than one invisibility spec that are made inactive by
22762 buffer-invisibility-spec. Simplify code. (Bug#21200)
22763 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
22764 for the situation that caused bug #21200.
22765
22766 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
22767
22768 * lisp/emacs-lisp/package.el: Simplify describe-package-1
22769 (package-help-section-name-face): New face.
22770 (package--print-help-section): New function.
22771 (describe-package-1): Refactor section printing.
22772 (package-make-button): Use face instead of font-lock-face, which
22773 doesn't work on buttons.
22774
22775 * lisp/emacs-lisp/package.el: Define custom faces
22776 (package-name-face, package-description-face)
22777 (package-status-built-in-face, package-status-external-face)
22778 (package-status-available-face, package-status-new-face)
22779 (package-status-held-face, package-status-disabled-face)
22780 (package-status-installed-face, package-status-dependency-face)
22781 (package-status-unsigned-face, package-status-incompat-face)
22782 (package-status-avail-obso-face): New faces.
22783 (package-menu--print-info-simple): Use them.
22784
22785 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
22786
22787 Fix some confusion with ‘format’
22788 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
22789 (allout-graphics-modification-handler):
22790 Protect arbitrary string in a format context with "%s" format.
22791 * lisp/avoid.el:
22792 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
22793 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
22794 * lisp/erc/erc-button.el (erc-button-beats-to-time):
22795 * lisp/gnus/message.el (message-send-form-letter):
22796 * lisp/org/ob-core.el (org-babel-check-evaluate)
22797 (org-babel-confirm-evaluate):
22798 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
22799 * lisp/org/ox-latex.el (org-latex-compile):
22800 * lisp/org/ox-man.el (org-man-compile):
22801 * lisp/org/ox-odt.el (org-odt-template):
22802 * lisp/org/ox-texinfo.el (org-texinfo-compile):
22803 * lisp/progmodes/prolog.el (prolog-help-info)
22804 (prolog-view-predspec):
22805 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
22806 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
22807 * lisp/textmodes/rst.el (rst-replace-lines):
22808 Change (message (format ...)) to (message ...), and likewise
22809 for ‘error’. This lessens the probability of confusion when the
22810 output of ‘format’ contains ‘%’.
22811
22812 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
22813
22814 * lisp/replace.el (replace-character-fold): Default to nil.
22815
22816 * lisp/character-fold.el: Fix lax whitespace.
22817 (character-fold-table): Don't make space match other whitespace chars.
22818 (character-fold-to-regexp): Simplify lax behavior.
22819
22820 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
22821
22822 Preserve window point in xref-find-definitions-other-window
22823 Fix the problem reported by Ingo Logmar in
22824 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
22825 * lisp/progmodes/xref.el (xref--goto-char): Extract from
22826 xref--goto-location.
22827 (xref--pop-to-location): Use it. Replace xref--goto-location with
22828 a direct xref-location-marker call.
22829 (xref--show-location): Likewise.
22830 (xref--display-position): Use xref--goto-char.
22831
22832 * lisp/progmodes/project.el: Add a paragraph to the front matter.
22833
22834 2015-08-04 David Kastrup <dak@gnu.org>
22835
22836 * lisp/vc/emerge.el (emerge-show-file-name):
22837 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
22838 (vhdl-comment-insert, vhdl-hooked-abbrev):
22839 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
22840 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
22841 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
22842 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
22843 * lisp/obsolete/vip.el (vip-escape-to-emacs)
22844 (vip-prefix-arg-value, vip-prefix-arg-com):
22845 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
22846 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
22847 (quail-tibkey-update-translation):
22848 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
22849 * lisp/leim/quail/lao.el (quail-lao-update-translation):
22850 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
22851 (quail-japanese-self-insert-and-switch-to-alpha):
22852 * lisp/leim/quail/hangul.el (hangul2-input-method)
22853 (hangul3-input-method, hangul390-input-method):
22854 * lisp/language/hanja-util.el (hangul-to-hanja-char):
22855 * lisp/international/robin.el (robin-input-method):
22856 * lisp/international/quail.el (quail-start-translation)
22857 (quail-start-conversion):
22858 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
22859 (gnus-article-describe-key-briefly):
22860 * lisp/eshell/em-hist.el (eshell-list-history):
22861 * lisp/term.el (term-dynamic-list-input-ring)
22862 (term-dynamic-list-completions):
22863 * lisp/subr.el (momentary-string-display):
22864 * lisp/simple.el (read-quoted-char):
22865 * lisp/pcomplete.el (pcomplete-show-completions):
22866 * lisp/kmacro.el (kmacro-repeat-on-last-key):
22867 * lisp/info.el (Info-summary):
22868 * lisp/ehelp.el (electric-help-command-loop):
22869 * lisp/ebuff-menu.el (electric-buffer-list)
22870 (Electric-buffer-menu-exit):
22871 * lisp/double.el (double-translate-key):
22872 * lisp/comint.el (comint-dynamic-list-input-ring)
22873 (comint-dynamic-list-completions): Do not overwrite preexisting
22874 contents of `unread-command-events' when putting new events into it.
22875
22876 2015-08-04 Daniel Colascione <dancol@dancol.org>
22877
22878 Improve ansi-color filtering of unrecognized escape sequences
22879 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
22880 escape sequences.
22881 (ansi-color-filter-apply, ansi-color-apply): Filter out
22882 unrecognized escape sequences.
22883
22884 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
22885
22886 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
22887 definitions to `easy-menu-define', improve a couple to account for
22888 async, and add a couple of new commands.
22889
22890 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
22891
22892 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
22893
22894 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
22895
22896 Add new 'calendar-weekend-days' option
22897 Make the days receiving the 'calendar-weekend-header' face freely
22898 customizable, as they differ by region/culture.
22899 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
22900 new variable.
22901 * lisp/calendar/calendar.el (calendar-generate-month): New variable
22902 calendar-weekend-days to customize day header fontification.
22903
22904 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
22905
22906 Redo text-quoting-style variable
22907 Rename help-quote-translation to text-quoting-style,
22908 and use symbols rather than characters as values.
22909 This follows suggestions along these lines by Alan Mackenzie in:
22910 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
22911 and by Drew Adams in:
22912 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
22913 * doc/lispref/help.texi (Keys in Documentation)
22914 * etc/NEWS:
22915 * lisp/cus-start.el (standard):
22916 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
22917 Document and/or implement the new behavior instead of the old.
22918 (syms_of_doc): New symbols 'grave' and 'straight'.
22919
22920 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
22921
22922 nnimap.el: Use IMAP MOVE extension if available
22923 * lisp/gnus/nnimap.el (nnimap-request-move-article)
22924 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
22925 Use MOVE extension if available.
22926
22927 nnimap.el: Explicitly ask for server capabilities
22928 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
22929 capabilities will be returned in the login-result.
22930
22931 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
22932
22933 Treat help strings like other doc strings
22934 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
22935 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
22936 substitute-command-keys.
22937 * src/keyboard.c (show_help_echo, parse_menu_item): Call
22938 substitute-command-keys on the help string before displaying it.
22939
22940 Also mention "curly quotes"
22941 See Drew Adams's email in:
22942 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
22943 * doc/lispref/help.texi (Keys in Documentation):
22944 Add index entry "curly quotes".
22945 * etc/NEWS: Use the phrase "curly quotes" too.
22946
22947 ede-proj-target-makefile docstring tweaks
22948 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
22949 Consistently use "all:" to describe the all: target,
22950 replacing three different and confusingly-quoted usages.
22951
22952 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
22953
22954 Don't abort emacsclientw when -a was specified
22955 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
22956 out if we are in emacsclientw and -a was specified.
22957
22958 2015-08-02 Eli Zaretskii <eliz@gnu.org>
22959
22960 Fix handling of 1st keystroke on MS-Windows
22961 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
22962 This is needed to correctly handle the session's first keystroke,
22963 if it has any modifiers. (Bug#19994)
22964
22965 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
22966
22967 Substitute some customization etc. doc strings
22968 These changes apply substitute-command-keys to some
22969 doc strings that were going through untranslated
22970 when creating customization or other widgets.
22971 * lisp/cus-edit.el (custom-group-value-create):
22972 * lisp/wid-edit.el (widget-default-create):
22973 (widget-push-button-value-create):
22974 Treat the widget tag as a doc string.
22975 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
22976 Treat the :documentation value as a doc string.
22977 * lisp/wid-edit.el (widget-choose):
22978 Treat the choice names as doc strings.
22979 (widget-default-create): Treat the :doc value as a doc string.
22980 (widget-toggle-value-create): Treat the :on and :off values
22981 as doc strings.
22982 (widget-documentation-string-value-create):
22983 Substitute the doc string.
22984
22985 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
22986
22987 Add a second argument to project-ignores
22988 * lisp/progmodes/project.el (project-ignores): Add a second
22989 argument DIR.
22990 * lisp/progmodes/project.el (project-ignores): Only include the VC
22991 ignores if DIR is the VC root.
22992 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
22993
22994 2015-08-01 Eli Zaretskii <eliz@gnu.org>
22995
22996 Prevent incorrect display when 'line-spacing' variable is set
22997 * src/xdisp.c (try_window_id): Give up this optimization if the
22998 buffer has its 'line-spacing' variable set non-nil.
22999
23000 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
23001
23002 Don't pass NOVISIT to find-file
23003 * lisp/progmodes/etags.el (next-file):
23004 Don't pass NOVISIT to find-file (bug#21175).
23005
23006 Ignore buffer restriction for tags-loop-eval
23007 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
23008 restriction (bug#21167).
23009
23010 2015-08-01 Eli Zaretskii <eliz@gnu.org>
23011
23012 Fix a thinko in 'ffap-gopher-at-point'
23013 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
23014
23015 Honor 'line-spacing' for empty lines
23016 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
23017 property and 'line-spacing' frame parameter or variable or
23018 property for empty lines, by doing the same processing as in
23019 x_produce_glyph for newline characters. (Bug#21165)
23020
23021 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
23022
23023 Simplify by assuming C99 integer division
23024 * src/floatfns.c (ceiling2, floor2, truncate2):
23025 Assume C99 (i.e., Fortran) semantics for integer division.
23026 This simplifies the code.
23027
23028 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
23029
23030 Don't overflow if computing approximate percentage
23031 * lisp/align.el (align-region):
23032 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
23033 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
23034 * lisp/cus-edit.el (custom-buffer-create-internal):
23035 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
23036 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
23037 (checkdoc-next-message-error):
23038 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
23039 * lisp/epa.el (epa-progress-callback-function):
23040 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
23041 * lisp/ffap.el (ffap-menu-rescan):
23042 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
23043 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
23044 * lisp/gnus/nneething.el (nneething-retrieve-headers):
23045 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
23046 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
23047 * lisp/gnus/nnml.el (nnml-retrieve-headers):
23048 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
23049 * lisp/gnus/nntp.el (nntp-retrieve-headers)
23050 (nntp-retrieve-articles):
23051 * lisp/imenu.el (imenu--relative-position):
23052 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23053 (skkdic-convert-okuri-nasi):
23054 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
23055 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
23056 * lisp/org/org-list.el (org-update-checkbox-count):
23057 * lisp/org/org.el (org-table-map-tables)
23058 (org-update-parent-todo-statistics):
23059 * lisp/play/decipher.el (decipher-insert-frequency-counts)
23060 (decipher-analyze-buffer):
23061 * lisp/profiler.el (profiler-format-percent):
23062 * lisp/progmodes/cc-cmds.el (c-progress-update):
23063 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
23064 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
23065 (idlwave-list-load-path-shadows):
23066 * lisp/progmodes/opascal.el (opascal-step-progress):
23067 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
23068 (vhdl-scan-directory-contents):
23069 * lisp/textmodes/bibtex.el (bibtex-progress-message):
23070 * lisp/textmodes/flyspell.el (flyspell-small-region)
23071 (flyspell-external-point-words):
23072 * lisp/textmodes/table.el (table-recognize):
23073 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
23074 progress-report percentages and the like. This avoids problems
23075 if (* 100 NUMERATOR) would overflow.
23076 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
23077 * lisp/gnus/registry.el (registry-reindex):
23078 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
23079 * lisp/descr-text.el (describe-char):
23080 * lisp/org/org-colview.el (org-nofm-to-completion):
23081 * lisp/ps-print.el (ps-plot):
23082 * lisp/simple.el (what-cursor-position):
23083 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
23084 more-complicated and less-accurate approximation.
23085
23086 Fix some int overflows in profiler.c
23087 * src/profiler.c (make_log): Make args EMACS_INT, not int,
23088 to avoid unwanted behavior on 'int' overflow.
23089 (make_log, evict_lower_half, record_backtrace):
23090 Use ptrdiff_t, not int, for object indexes.
23091
23092 Port to pedantic memcpy
23093 * src/keyboard.c (menu_bar_items, tool_bar_items):
23094 * src/xrdb.c (magic_db):
23095 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
23096
23097 Merge from gnulib
23098 This incorporates:
23099 2015-07-29 time_rz: port to pedantic memcpy
23100 * lib/time_rz.c: Copy from gnulib.
23101
23102 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
23103
23104 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
23105 When updating the very last entry, tabulated-list-print would
23106 erase it and then try to look at the next one (which obviously
23107 isn't there).
23108
23109 2015-07-31 Eli Zaretskii <eliz@gnu.org>
23110
23111 Allow to use the old key processing code on MS-Windows
23112 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
23113 New variable.
23114 (w32_wnd_proc): Use it to invoke the old code that processed
23115 character keys, as fallback, when this variable is non-nil.
23116 Fix typos in comments. (Bug#19994)
23117
23118 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
23119
23120 Improve handling of Unicode keyboard input on MS-Windows
23121 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
23122 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
23123 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
23124 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
23125 successful, don't call TranslateMessage. (Bug#19994)
23126
23127 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
23128
23129 Fix default-directory in changeset diffs after vc-print-log
23130 * lisp/vc/log-view.el (log-view-diff-common): Move the
23131 revision-granularity check back into log-view-diff-changeset.
23132 (log-view-diff-changeset): Bind default-directory to the current
23133 VC root.
23134
23135 Rename project-directories to project-roots
23136 * lisp/progmodes/project.el (project-search-path-function)
23137 (project-search-path): Update the docstring.
23138 (project-directories): Rename to `project-roots', update all
23139 callers and implementations accordingly.
23140 (project-root): Remove.
23141 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
23142 as the default file mask.
23143
23144 2015-07-30 Eli Zaretskii <eliz@gnu.org>
23145
23146 Support long URLs in w32-shell-execute
23147 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
23148 and filename_to_ansi to convert the DOCUMENT argument, as it could
23149 be a URL that is not limited to MAX_PATH characters. Instead, use
23150 MultiByteToWideChar directly, and allocate heap storage as
23151 required to accommodate the converted string. Likewise with
23152 non-Unicode operation. Ensure OPERATION is null-terminated, even
23153 if it is longer than 32K bytes. (Bug#21158)
23154
23155 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
23156
23157 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
23158
23159 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
23160
23161 Add docs for display-buffer action display-buffer-use-some-frame
23162 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
23163 * doc/lispref/windows.texi (Display Action Functions):
23164 Add display-buffer-use-some-frame.
23165 * etc/NEWS: Mention display-buffer-use-some-frame.
23166
23167 Add display-buffer action display-buffer-use-some-frame
23168 * lisp/window.el (display-buffer-use-some-frame): New.
23169
23170 Handle vc-mtn error more gently
23171 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
23172 branch is nil.
23173
23174 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
23175
23176 Fix Tramp problems with multihops, and nc
23177 * lisp/net/tramp-cache.el (tramp-get-file-property)
23178 (tramp-set-file-property, tramp-flush-file-property)
23179 (tramp-get-connection-property, tramp-set-connection-property)
23180 (tramp-flush-connection-property): Remove hop from vector.
23181 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
23182 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
23183 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
23184 netstat to 60".
23185 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
23186 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
23187 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
23188 Keep hop in result.
23189 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
23190 Add hop tests.
23191
23192 2015-07-29 Eli Zaretskii <eliz@gnu.org>
23193
23194 Resurrect highlighting of repeated words by Flyspell Mode
23195 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
23196 characters between point and the doublon candidate, so that
23197 flyspell-word-search-backward finds it. (Bug#21157)
23198
23199 Fix redisplay of large images on expose events
23200 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
23201 between signed negative values and unsigned values. This
23202 prevented redisplay on expose events when the window showed a very
23203 large image.
23204
23205 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
23206
23207 Remove unnecessary stack overflow dependency
23208 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
23209 Don't worry about $ac_cv_header_sys_resource_h and
23210 $ac_cv_func_getrlimit, as they're no longer needed for this.
23211 Problem reported by Eli Zaretskii in:
23212 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
23213
23214 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
23215
23216 Pacify compilation -Wincompatible-pointer-types warnings
23217 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
23218 warning.
23219 (CompareStringW_Proc): New typedef.
23220 (w32_compare_strings): Use it, to pacify compiler warnings under
23221 "-Wincompatible-pointer-types".
23222 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
23223 (GetDiskFreeSpaceExA_Proc): New typedefs.
23224 (Ffile_system_info): Use them, to pacify compiler warnings under
23225 "-Wincompatible-pointer-types".
23226
23227 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
23228
23229 Fix subscript error in calculate_direct_scrolling
23230 Use slightly-longer cost vectors. Without this change,
23231 calculate_direct_scrolling can have a subscript violation when
23232 FRAME_LINES (frame) <= delta.
23233 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
23234 (line_ins_del, do_line_insertion_deletion_costs):
23235 Allocate and use slightly-larger cost vectors, ones based on
23236 FRAME_TOTAL_LINES instead of FRAME_LINES.
23237
23238 Fix uninitalized value in encode_coding_object
23239 * src/coding.c (encode_coding_object): Also initialize
23240 coding->src_pos and coding->src_pos_byte when NILP (src_object).
23241 This avoids later use of uninitialized storage.
23242
23243 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
23244
23245 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
23246 (Bug#21141)
23247
23248 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
23249
23250 Merge from gnulib
23251 This incorporates:
23252 2015-07-27 time_rz: port better to MinGW
23253 2015-07-27 time: port __need_time_t to MinGW
23254 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
23255 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
23256 * lib/time-internal.h: New file, from gnulib.
23257
23258 2015-07-27 Eli Zaretskii <eliz@gnu.org>
23259
23260 Handle NULL pointers in w32heap.c allocation routines
23261 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
23262 freeable".
23263 (realloc_after_dump, realloc_before_dump, free_before_dump):
23264 Handle NULL pointers gracefully, as Emacs now seems to expect that.
23265
23266 Fix Cairo build without PNG
23267 * src/image.c: Define PNG function when USE_CAIRO is defined, even
23268 if HAVE_PNG is not. (Bug#21133)
23269
23270 MS-Windows follow-up for recent TZ-related changes
23271 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
23272 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
23273 picking up 'struct timespec' from pthread.h, if it is installed on
23274 the user's system. We want either the definitions from MinGW
23275 system headers, if available, or the Gnulib replacements if not.
23276 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
23277 lib/time.h.
23278 * lib/time.in.h: Don't let __need_* symbols affect what happens on
23279 MinGW. These symbols are defined by MinGW system headers, but we
23280 don't want that to affect whether Gnulib portions of the header
23281 are or aren't used.
23282
23283 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
23284
23285 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
23286
23287 New optional ZONE arg for format-time-string etc.
23288 This simplifies time conversions in other time zones.
23289 It also prevents display-time-world tampering with TZ (Bug#21020).
23290 * admin/admin.el (add-release-logs):
23291 Use improved add-log-time-format API.
23292 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
23293 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
23294 * configure.ac (tzalloc): Remove test for this, since
23295 Emacs no longer uses HAVE_TZALLOC directly.
23296 * doc/lispref/os.texi (Time of Day, Time Conversion)
23297 (Time Parsing):
23298 * etc/NEWS: Document the new behavior.
23299 Merge from gnulib, incorporating:
23300 2015-07-25 strftime: fix newly-introduced bug on Solaris
23301 2015-07-23 fprintftime, strftime: use timezone_t args
23302 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
23303 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
23304 * m4/time_h.m4:
23305 Update from gnulib.
23306 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
23307 New files from gnulib.
23308 * lisp/time-stamp.el (time-stamp-string):
23309 * lisp/time.el (display-time-world-list)
23310 (display-time-world-display):
23311 Use new API, with time zone arg.
23312 * lisp/time.el (display-time-world-display):
23313 Fix race when current-time advances while we're running.
23314 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
23315 (add-log-iso8601-time-string): Accept optional time zone arg.
23316 * lisp/vc/add-log.el (add-change-log-entry):
23317 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
23318 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
23319 Add rules for the time module, since they're now needed
23320 for tzalloc etc.
23321 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
23322 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
23323 * src/editfns.c: Include errno.h.
23324 (set_time_zone_rule): Omit unnecessary forward decl.
23325 (initial_tz): Remove, replacing with ...
23326 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
23327 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
23328 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
23329 (tzlookup): New static functions.
23330 (init_editfns): New arg DUMPING. All uses changed.
23331 (init_editfns): Omit most initialization if dumping, not if
23332 !initialized. Initialize wall_clock_tz and local_tz.
23333 (emacs_nmemftime, format_time_string): Time zone argument can now
23334 be any time zone, not just a boolean for UTC or local time. All
23335 callers changed.
23336 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
23337 (Fcurrent_time_zone): New optional arg ZONE.
23338 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
23339 the same form as with the other new additions.
23340 (decode_time_zone): Remove; no longer needed.
23341 (tzvalbuf): Now file-scope.
23342 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
23343 (syms_of_editfns): Define Qwall.
23344 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
23345 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
23346 [!HAVE_TZALLOC]:
23347 Remove; now supplied by gnulib.
23348 * src/emacs.c (main):
23349 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
23350
23351 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
23352
23353 Fix infinite loop in delete-consecutive-dups
23354 * lisp/subr.el (delete-consecutive-dups): Work even if the last
23355 element is nil (Bug#20588). Avoid rescan of a circular list in
23356 deletion of last element.
23357
23358 2015-07-26 Martin Rudalics <rudalics@gmx.at>
23359
23360 Have `x-frame-geometry' return nil for terminal and initial
23361 frames (Bug#21132)
23362 * src/nsfns.m (Fx_frame_geometry):
23363 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
23364 terminal frames.
23365 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
23366 (Fx_frame_geometry): Return nil for terminal frames
23367
23368 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
23369
23370 * etc/tutorials/TUTORIAL.ja: Improve translation.
23371
23372 2015-07-25 Eli Zaretskii <eliz@gnu.org>
23373
23374 Avoid crashes when w32 GUI functions are called in -batch
23375 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
23376 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
23377 FRAME_W32_WINDOW for initial frame. (Bug#21132)
23378
23379 Fix flyspell-check-previous-highlighted-word
23380 * lisp/textmodes/flyspell.el
23381 (flyspell-check-previous-highlighted-word): Really accept a
23382 numeric argument, as the doc string describes. Fix an off-by-one
23383 error in looking up overlays, so invocation with point immediately
23384 after a word would check that word. Clarify the doc string as
23385 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
23386
23387 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
23388
23389 Minor cleanup in tramp-tests.el
23390 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
23391 Implement using the documented interface
23392 `tramp-connection-properties', rather than with internal functions.
23393
23394 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
23395
23396 Pass lambdas to `skeleton-read'
23397 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
23398 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
23399 lambdas to `skeleton-read' (bug#20386).
23400
23401 2015-07-24 Eli Zaretskii <eliz@gnu.org>
23402
23403 * INSTALL (DETAILED BUILDING AND INSTALLATION):
23404 Mention --without-imagemagick.
23405
23406 Don't require GUI frames and mouse for Flyspell menus
23407 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
23408 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
23409 support, since pop-up menus work with text terminals and can be
23410 controlled via the keyboard.
23411
23412 Improve documentation of Flyspell commands
23413 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
23414 can be invoked via the keyboard. Mention those commands by name
23415 and add them to the fn index. (Bug#21125)
23416
23417 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
23418
23419 Fix some Tramp problems with HP-UX
23420 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
23421 Add "tab0" to stty call.
23422 * test/automated/tramp-tests.el (tramp-persistency-file-name):
23423 Set to nil.
23424 (tramp--test-hpux-p): New defun.
23425 (tramp--test-utf8): Use it.
23426
23427 2015-07-22 Glenn Morris <rgm@gnu.org>
23428
23429 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
23430
23431 2015-07-22 Eli Zaretskii <eliz@gnu.org>
23432
23433 Fix point positioning in ffap-next-guess
23434 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
23435 as our callers expect. This was clobbered as part of fixing
23436 bug#5673. (Bug#21107)
23437 (ffap-gopher-at-point): Set ffap-string-at-point-region.
23438
23439 2015-07-22 Martin Rudalics <rudalics@gmx.at>
23440
23441 * lisp/window.el (even-window-sizes): Fix customization type.
23442
23443 Optionally even widths of `display-buffer' windows. (Bug#21100)
23444 * lisp/window.el (quit-restore-window): Restore width if
23445 requested.
23446 (display-buffer-record-window): Record width when window is
23447 reused and horizontally combined.
23448 (even-window-sizes): New option to allow evening window widths.
23449 (even-window-heights): Defalias to `even-window-sizes'.
23450 (window--even-window-heights): Rename to
23451 `window--even-window-sizes'. Handle side-by-side windows.
23452 (display-buffer-use-some-window): Call `window--even-window-sizes'
23453 instead of `window--even-window-heights'.
23454 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
23455 * doc/lispref/windows.texi (Choosing Window Options): Describe
23456 `even-window-sizes'.
23457 (Coordinates and Windows): Fix typo.
23458
23459 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
23460
23461 Add file name to autoload error messages
23462 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
23463 Add condition-case to add file name to error message.
23464
23465 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
23466
23467 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
23468 Use 0.0.0.1 as test host.
23469
23470 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
23471
23472 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
23473 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
23474 Fix inf-loop (bug#21083).
23475
23476 2015-07-21 Glenn Morris <rgm@gnu.org>
23477
23478 * test/automated/package-test.el (package-test-signed):
23479 Update for recent changes.
23480
23481 * test/automated/elisp-mode-tests.el
23482 (elisp-xref-finds-both-function-and-variable)
23483 (elisp-xref-finds-only-function-for-minor-mode):
23484 Update for recent xref name changes.
23485
23486 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
23487
23488 Make eldoc timer non-repeatable
23489 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
23490 non-repeatable. Since it's on post-command hook, that just wasted
23491 CPU cycles.
23492
23493 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
23494
23495 Mention `tramp-connection-properties' in NEWS
23496
23497 Sync with Tramp repository
23498 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
23499 required prior changing its configuration.
23500 (Connection caching, Predefined connection information)
23501 (Remote shell setup): Fix typos.
23502 (Predefined connection information): Describe, how to overwrite
23503 parameters of `tramp-methods'.
23504 (Remote programs, Remote processes, Traces and Profiles):
23505 Simplify example.
23506 (Remote programs): Remove superfluous comment.
23507 * doc/misc/trampver.texi: Update release number.
23508 * lisp/net/tramp-cache.el (tramp-connection-properties):
23509 Adapt docstring.
23510 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
23511 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
23512 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
23513 "gvfs-mkdir -p ..." does not work robust.
23514 (tramp-gvfs-maybe-open-connection):
23515 Adapt `tramp-get-method-parameter' call.
23516 * lisp/net/tramp-sh.el (tramp-methods):
23517 Add `tramp-remote-shell-login' parameter where it fits.
23518 (tramp-get-remote-path): Use it.
23519 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
23520 (all): Adapt `tramp-get-method-parameter' calls.
23521 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
23522 (tramp-get-method-parameter): Replace argument METHOD by VEC.
23523 Check also for hits in `tramp-connection-properties'. Adapt docstring.
23524 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
23525 (all): Adapt `tramp-get-method-parameter' calls.
23526 * lisp/net/trampver.el: Update release number.
23527 * test/automated/tramp-tests.el (tramp--instrument-test-case):
23528 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
23529 (tramp-test13-make-directory, tramp--test-adb-p)
23530 (tramp--test-smb-or-windows-nt-p): Simplify.
23531 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
23532 (tramp--test-special-characters): Fix docstring. Add gvfs and
23533 ftp tests.
23534 (tramp--test-utf8): Fix docstring.
23535
23536 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
23537
23538 Add new xref-query-replace command
23539 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
23540 New function, extracted from xref-pulse-momentarily.
23541 (xref-query-replace): New command.
23542 (xref--query-replace-1): New helper function.
23543 (xref--xref-buffer-mode-map): Add `r' binding.
23544
23545 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
23546
23547 Simplify icalendar decoding of Z dates
23548 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
23549 Simplify calculation of time strings with trailing "Z".
23550
23551 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
23552
23553 Do not corrupt grep-find-ignored-files
23554 * lisp/progmodes/project.el (project-ignores): Change the order of
23555 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
23556
23557 Add xref-match-item, and use it
23558 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
23559 (xref-file-location): Add reader for the column slot.
23560 (xref-match-item): New class.
23561 (xref-match-bounds): A method implementation for it.
23562 (xref-make-match): New constructor function.
23563 (xref--current-item): New private variable.
23564 (xref-pulse-momentarily): Use it.
23565 (xref--pop-to-location): Change the first argument to an xref
23566 item, instead of location, bind xref--current-item.
23567 Update all callers.
23568 (xref-next-line, xref-prev-line, xref--next-error-function)
23569 (xref--mouse-2): Look for the property `xref-item',
23570 instead of `xref-location'.
23571 (xref--item-at-point): Likewise. This function replaces
23572 `xref-location-at-point'. Update all callers.
23573 (xref--insert-xrefs): Add the `xref-item' text property, instead
23574 of `xref-location'.
23575 (xref--collect-match): Use xref-make-match.
23576
23577 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
23578 Update all references.
23579
23580 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
23581 slot to `summary'.
23582
23583 vc-hg: Perform the print-log call asynchronously
23584 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
23585 asynchronously (bug#21067).
23586
23587 Add xref-after-jump-hook and xref-after-return-hook
23588 * lisp/progmodes/xref.el (xref-after-jump-hook)
23589 (xref-after-return-hook): New hooks.
23590 (xref-pulse-on-jump): Remove, in favor of the above.
23591 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
23592 (xref--pop-to-location, xref--display-position)
23593 (xref-pop-marker-stack): Use the new hooks, as requested in
23594 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
23595
23596 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
23597
23598 * lisp/progmodes/js.el (js-mode): Correct the lighter.
23599
23600 2015-07-19 Leo Liu <sdl.web@gmail.com>
23601
23602 Fix a bug in cfengine3-mode
23603 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
23604 eldoc-documentation-function.
23605
23606 2015-07-18 Julien Danjou <julien@danjou.info>
23607
23608 sieve-mode: support "body" test command
23609 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
23610 Add missing "body" test command.
23611
23612 2015-07-18 Eli Zaretskii <eliz@gnu.org>
23613
23614 Fix info-apropos when the default encoding is Latin-N
23615 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
23616 'undecided', so that it is set to the encoding of the Info file we
23617 are about to insert. Otherwise, 'info-apropos' will fail to find
23618 some index nodes in some UTF-8 encoded files, if the buffer's
23619 previous encoding is Latin-N or some such.
23620
23621 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
23622
23623 * lisp/epg.el (epg--start): Check that gpgconf can be found
23624 before calling it.
23625
23626 Expose more file types to OS X that Emacs understands
23627 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
23628 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
23629
23630 2015-07-18 Eli Zaretskii <eliz@gnu.org>
23631
23632 Fix visual-order cursor movement when lines are truncated
23633 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
23634 simulate display in a window of infinite width, to allow move_it_*
23635 functions reach positions outside of normal window dimensions.
23636 Remove code that tried to handle a subset of these situations by
23637 manual iteration of buffer text. (Bug#17777)
23638
23639 Fix following Info cross-references to anchors
23640 * lisp/info.el (Info-read-subfile): Add to the returned value the
23641 length of subfile preamble, after converting it to file's byte
23642 offset, as expected by the caller. Use bufferpos-to-filepos.
23643 (Info-find-node-2): If searching for a node with a
23644 1000-character slop fails, try again with a 10000-character slop,
23645 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
23646 * lisp/international/mule-util.el (bufferpos-to-filepos): New
23647 function.
23648 * etc/NEWS: Mention bufferpos-to-filepos.
23649
23650 Fix scrolling backwards on TTY frames under scroll-conservatively
23651 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
23652 in moving backwards on TTY frames. (Bug#21080)
23653
23654 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
23655
23656 Consider a jsdoc tag to be a beginning of a paragraph as well
23657 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
23658 consider a jsdoc tag to be a beginning of a paragraph as well.
23659
23660 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
23661
23662 * lisp/emacs-lisp/package.el: Fix warnings.
23663
23664 * lisp/emacs-lisp/package.el (package-buffer-info):
23665 Add author and maintainers to `package-buffer-info'.
23666
23667 * lisp/emacs-lisp/package.el: Many small changes.
23668 Replace all instances of 'face with 'font-lock-face.
23669 (describe-package-1): Improve some strings and move the summary
23670 up the list.
23671 (package-install-file): Update docstring.
23672 (package-menu-hide-package): Bind to `H'.
23673
23674 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
23675 Fix error handling.
23676
23677 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
23678
23679 Fix hang with large yanks This should fix the bug fixed by Mike
23680 Crowe's patch in:
23681 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
23682 A problem in this area has been reported by several users; see
23683 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
23684 This fix differs from Mike Crowe's patch in that it should avoid a
23685 race condition that could lose SIGIO signals. ignore_sigio dates
23686 back to the 1980s when some platforms couldn't block signals, and
23687 could only ignore them, which led to races when signals arrived
23688 while being ignored. We shouldn't have to worry about those old
23689 platforms now.
23690 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
23691 * src/emacs.c (shut_down_emacs):
23692 Don't call ignore_sigio; unrequest_sigio should suffice.
23693 * src/keyboard.c (kbd_buffer_store_buffered_event):
23694 Use unrequest_sigio, not ignore_sigio.
23695 (kbd_buffer_get_event):
23696 Call request_sigio when getting the ball rolling again.
23697
23698 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
23699
23700 * lisp/obsolete/longlines.el (longlines-search-function):
23701 Fallback on `isearch-search-fun-default'.
23702
23703 2015-07-17 Tassilo Horn <tsdh@gnu.org>
23704
23705 Support @-mentions
23706 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
23707 of mentions/messages with @nick instead of just nick.
23708
23709 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
23710
23711 Fix bug#20943
23712 * lisp/autorevert.el (auto-revert-handler): Do not check for
23713 `buffer-modified-p'.
23714 * lisp/files.el (buffer-stale--default-function): Check for
23715 `buffer-modified-p'.
23716 * test/automated/auto-revert-tests.el
23717 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
23718
23719 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
23720
23721 Fix delete-dups bug on long lists
23722 * lisp/subr.el (delete-dups):
23723 Don't mistakenly keep some dups when applied to long lists.
23724
23725 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
23726
23727 Better heuristic for C stack overflow
23728 Improve the heuristic for distinguishing stack overflows from
23729 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
23730 the getrlimit method wasn't portable to Cygwin; see:
23731 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
23732 Corinna suggested pthread_getattr_np but this also has problems.
23733 Instead, replace the low-level system stuff with a simple
23734 heuristic based on known good stack addresses.
23735 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
23736 * src/sysdep.c: Don't include <sys/resource.h>.
23737 (stack_direction): Remove. All uses removed.
23738 (stack_overflow): New function.
23739 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
23740 Make SEGV fatal in non-main threads.
23741
23742 2015-07-16 Daiki Ueno <ueno@gnu.org>
23743
23744 epg: Automatically start pinentry server
23745 * lisp/epg-config.el (epg-gpgconf-program): New variable.
23746 * lisp/epg.el (epg--start): Call `pinentry-start' if
23747 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
23748
23749 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
23750
23751 * lisp/gnus/nnimap.el: Fix my last bogus change.
23752 Reinstall Stefan Monnier's change that was made in
23753 <83d824bc4041332f338ad7e5e830f443535aa300>.
23754
23755 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
23756
23757 Merge from gnulib
23758 This incorporates:
23759 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
23760 2015-07-05 acl-permissions: Fix on FreeBSD
23761 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
23762 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
23763 * lib/set-permissions.c: Copy from gnulib.
23764
23765 Port to stricter C99
23766 * src/keyboard.h (kbd_buffer_store_event_hold):
23767 Don't return a void expression.
23768
23769 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
23770
23771 * doc/emacs/frames.texi (Creating Frames):
23772 Fix the command `C-x 5 m' runs.
23773
23774 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
23775
23776 New autorevert tests
23777 * test/automated/auto-revert-tests.el: New file.
23778
23779 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
23780
23781 Clear gcprolist etc. after stack overflow
23782 After stack overflow, command_loop calls init_eval, and this needs to
23783 clear gcprolist and byte_stack_list (Bug#20996).
23784 * src/alloc.c (init_alloc):
23785 Move gcprolist and byte_stack_list initialization from here ...
23786 * src/eval.c (init_eval): ... to here.
23787
23788 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
23789
23790 * doc/emacs/windows.texi (Pop Up Window): Fix the description
23791 of `C-x 4 m'.
23792
23793 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23794
23795 Avoid deprecated enums in mac-ct font backend driver
23796 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
23797 (mac_ctfont_get_advance_width_for_glyph)
23798 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
23799
23800 Cache font family in mac-ct font backend driver
23801 * src/macfont.m (macfont_family_cache): New variable.
23802 (syms_of_macfont): Initialize it.
23803 (macfont_available_families_cache): New variable.
23804 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
23805 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
23806 (macfont_handle_font_change_notification)
23807 (macfont_init_font_change_handler)
23808 (macfont_copy_available_families_cache): New functions.
23809 (macfont_create_family_with_symbol): Use font family caches.
23810 (macfont_list, macfont_list_family):
23811 Use macfont_copy_available_families_cache instead of
23812 mac_font_create_available_families.
23813
23814 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
23815
23816 Show the default value in the prompt
23817 * lisp/progmodes/xref.el: Add `M-?' binding for
23818 xref-find-references. Declare functions `grep-read-files' and
23819 `grep-expand-template'.
23820 (xref--read-identifier): Show the default value in the prompt.
23821
23822 * lisp/progmodes/xref.el (xref-find-regexp): When called with
23823 prefix argument, ask for file patterns to search as well. When
23824 prompting for the directory, require an existing one.
23825 (xref-collect-matches): Add a new argument, FILES. Use it in the
23826 above function.
23827
23828 Add `project-ignores'
23829 * lisp/progmodes/project.el (project-ignores): New generic
23830 function, and an implementation for the VC project type.
23831 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
23832 variant of rgrep-default-command that handles a generic list of
23833 ignores.
23834 (xref-collect-matches): Use it, and pass through to it the value
23835 of the newly added argument.
23836 (xref-find-regexp): Handle ignored paths within the project.
23837 Remove outdated comment.
23838 * lisp/vc/vc.el (vc-default-ignore-completion-table):
23839 Skip the comments and the empty lines.
23840
23841 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
23842
23843 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
23844
23845 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
23846
23847 gnus-registry.el: Correct function argument order
23848 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
23849 Reverse the order of function arguments.
23850
23851 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
23852
23853 Bind grep-highlight-matches to nil
23854 * lisp/progmodes/xref.el (xref-collect-matches):
23855 Bind grep-highlight-matches to nil (bug#20728).
23856
23857 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
23858
23859 nnimap.el: Fix IMAP message size parsing
23860 * lisp/gnus/nnimap.el (nnimap-transform-headers):
23861 Don't assume that UID comes before RFC822.SIZE.
23862
23863 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
23864
23865 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
23866 (auth-source-creation-prompts): Declare.
23867 (nnimap-retrieve-headers, nnimap-status-message)
23868 (nnimap-request-create-group, nnimap-request-delete-group)
23869 (nnimap-close-group, nnimap-request-move-article)
23870 (nnimap-request-accept-article, nnimap-request-newgroups)
23871 (nnimap-request-post, nnimap-dummy-active-number)
23872 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
23873 (nnimap-parse-flags): Remove unused var `p'.
23874 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
23875 (nnimap-flags-to-marks): Remove unused var `totalp'.
23876
23877 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
23878
23879 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
23880
23881 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23882
23883 * src/macfont.m (macfont_list): Ignore font families lacking
23884 font descriptors.
23885
23886 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
23887
23888 Don't check the exit status, it can be misleading
23889 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
23890 exit status, it can be misleading.
23891
23892 Introduce a Project API
23893 * lisp/progmodes/project.el: New file.
23894 * lisp/cedet/ede.el (project-try-ede): New function.
23895 (project-root): New implementation.
23896 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
23897 Set project-search-path-function.
23898 (elisp--xref-find-references): Delegate some logic to
23899 project-search-path.
23900 (elisp-search-path): New function.
23901 (elisp-xref-find): Don't implement `matches' anymore.
23902 * lisp/progmodes/etags.el: Don't implement `matches'.
23903 Delegate some logic to project-search-path.
23904 (etags-search-path): New function.
23905 * lisp/progmodes/xref.el (xref-find-function):
23906 Remove `matches' from the API.
23907 (xref-find-regexp): Move whatever common logic was in elisp and
23908 etags implementations, and search the directories returned by
23909 project-directories and project-search-path.
23910
23911 2015-07-09 Nicolas Petton <nicolas@petton.fr>
23912
23913 * test/automated/map-tests.el (test-map-delete-return-value):
23914 Uncomment test.
23915
23916 Add support for gv.el in map.el
23917 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
23918 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
23919 * test/automated/map-tests.el: Update tests to work with the new
23920 implementations of map-elt and map-put.
23921
23922 2015-07-09 Glenn Morris <rgm@gnu.org>
23923
23924 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
23925
23926 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
23927
23928 Syntax-propertize until the end of the line first
23929 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
23930 until the end of the line first.
23931
23932 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
23933
23934 * doc/emacs/files.texi (File Archives): Add a cross reference.
23935
23936 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
23937
23938 nnimap.el: Handle plain value for nnimap-stream
23939 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
23940 capabilities, so that a 'plain value for the `nnimap-stream' server
23941 variable is handled correctly.
23942 * doc/misc/gnus.texi (Customizing the IMAP Connection):
23943 Document the 'plain option.
23944
23945 2015-07-08 Leo Liu <sdl.web@gmail.com>
23946
23947 Fix bug in thing-at-point--bounds-of-well-formed-url
23948 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
23949 sure boundary contains current point.
23950
23951 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
23952
23953 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
23954 in the end.
23955
23956 Declare whitespace-line-column a safe file-local
23957 * lisp/whitespace.el (whitespace-line-column): Declare to be a
23958 safe file-local when the value is an integer.
23959
23960 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
23961
23962 gnus-group.el: Check if group names are already strings
23963 * lisp/gnus/gnus-group.el (gnus-group-group-name):
23964 The group name may already be a string.
23965 Specifically, in the group list reached from the *Server* buffer,
23966 the 'gnus-group text property returns a string. Everywhere else
23967 it returns a symbol.
23968
23969 nnimap.el: Remove unused let variables
23970 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
23971
23972 2015-07-08 Eli Zaretskii <eliz@gnu.org>
23973
23974 Support "maximized" property of runemacs's shortcut
23975 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
23976 the '--maximized' switch to Emacs.
23977
23978 Support "minimized" property of runemacs's shortcut
23979 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
23980 pass the '--iconic' switch to Emacs. (Bug#20991)
23981
23982 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
23983
23984 Doc fixes
23985 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
23986 C-w' in Diff mode.
23987 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
23988 Add a cross reference.
23989
23990 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
23991
23992 * lisp/obsolete/landmark.el: Add Obsolete-since header.
23993
23994 2015-07-07 Glenn Morris <rgm@gnu.org>
23995
23996 * test/automated/ert-tests.el (ert-test-deftest):
23997 Update for recent changes.
23998
23999 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
24000
24001 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
24002 * lisp/emacs-lisp/gv.el (gv-setter): New function.
24003 (gv-invalid-place): New error.
24004 (gv-get): Use them.
24005 (gv-synthetic-place, gv-delay-error): New places.
24006 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
24007 (cl-defgeneric, cl-defmethod): Use gv-setter.
24008
24009 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
24010
24011 Make vc-tests work with MSYS svn program
24012 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
24013 svn is an MSYS program.
24014
24015 2015-07-07 Ken Brown <kbrown@cornell.edu>
24016
24017 Improve recent change to emacsclient on Cygwin
24018 * lisp/server.el (server-process-filter): Remove redundant check
24019 that 'cygwin-convert-file-name-from-windows' is defined as a
24020 function on Cygwin. Don't call that function unless its argument
24021 starts with a drive letter.
24022
24023 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
24024
24025 * lisp/emacs-lisp/package.el (package-compute-transaction):
24026 Fix void variable due to `found-something' being in the wrong `let'.
24027
24028 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
24029
24030 * lisp/play/landmark.el: Move to lisp/obsolete/.
24031
24032 2015-07-07 Martin Rudalics <rudalics@gmx.at>
24033
24034 Have `x-show-tip' handle `right' and `bottom' frame parameters
24035 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
24036 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
24037 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
24038 tooltips also via `right' and `bottom' frame parameters.
24039
24040 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
24041
24042 Add online-help support to describe types
24043 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
24044 (describe-symbol): Improve the selection of default.
24045 * lisp/help-mode.el: Require cl-lib.
24046 (describe-symbol-backends): Move from help-fns.el.
24047 (help-make-xrefs): Use it.
24048 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
24049 for types.
24050 (cl--typedef-regexp): New const.
24051 (find-function-regexp-alist): Add entry for types.
24052 (cl-help-type, cl-type-definition): New buttons.
24053 (cl-find-class): New function.
24054 (cl-describe-type): New command.
24055 (cl--describe-class, cl--describe-class-slot)
24056 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
24057 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
24058 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
24059 New functions. Moved from eieio-opt.el.
24060 (cl--generic-class-parents): New function, extracted from
24061 cl--generic-struct-specializers.
24062 (cl--generic-struct-specializers): Use it.
24063 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
24064 Improve constructor's docstrings.
24065 (cl-struct-unknown-slot): New error.
24066 (cl-struct-slot-offset): Use it.
24067 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
24068 definition in current-load-list.
24069 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
24070 (eieio--add-new-slot): Set it.
24071 (eieio-defclass-internal): Use new name for current-load-list.
24072 (eieio-oref): Add compiler-macro to warn about unknown slots.
24073 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
24074 as compile-time as well. Improve constructor docstrings.
24075 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
24076 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
24077 (eieio-class-def): Remove button.
24078 (eieio-help-constructor): Use new name for load-history element.
24079 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
24080 (eieio-method-documentation): Move to cl-generic.el.
24081 (eieio-display-method-list): Use new names.
24082 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
24083 Add "define-linline".
24084 (lisp-fdefs): Remove "defsubst".
24085 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
24086 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
24087 (macroexp--warn-and-return): Use it to avoid inf-loops.
24088 Add `compile-only' argument.
24089
24090 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
24091
24092 python.el: Fix local/remote shell environment setup
24093 * lisp/progmodes/python.el (python-shell-with-environment):
24094 Fix remote/local environment setup.
24095 * test/automated/python-tests.el (python-shell-with-environment-1)
24096 (python-shell-with-environment-2): New tests.
24097
24098 2015-07-06 Glenn Morris <rgm@gnu.org>
24099
24100 * lisp/simple.el (set-variable): Tweak recent doc fix.
24101
24102 2015-07-06 Ken Brown <kbrown@cornell.edu>
24103
24104 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
24105
24106 2015-07-06 Glenn Morris <rgm@gnu.org>
24107
24108 * lisp/simple.el (set-variable): Use user-error for type mismatch.
24109
24110 2015-07-06 Ken Brown <kbrown@cornell.edu>
24111
24112 * src/emacs.c (main): Don't increase the stack size on Cygwin.
24113
24114 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
24115
24116 (describe-symbol): Rewrite describe-function-or-variable
24117 * lisp/help-fns.el (describe-symbol-backends): New var.
24118 (help-xref-stack-item): Declare.
24119 (describe-symbol): Rename from describe-function-or-variable.
24120 Rewrite using describe-symbol-backends instead of help-xref-interned.
24121 * lisp/help.el (help-map): Use it.
24122 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
24123 (help-xref-interned): Make it into an obsolete alias.
24124
24125 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
24126 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
24127 and cl-letf.
24128
24129 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
24130
24131 Fix parsing glitches in dired-mark-sexp (bug#13575)
24132 * lisp/dired-x.el (dired-x--string-to-number): New function.
24133 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
24134 of directory-listing-before-filename-regexp. Consider
24135 forward-word harmful and replace it. Add more verbiage in
24136 comments and doc string.
24137
24138 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
24139
24140 python.el: Respect process environment for remote shells
24141 * lisp/progmodes/python.el
24142 (python-shell-calculate-process-environment): Calculate
24143 process-environment or tramp-remote-process-environment depending
24144 whether current file is remote.
24145 (python-shell-calculate-exec-path): Calculate exec-path or
24146 tramp-remote-path depending whether current file is remote.
24147 (python-shell-with-environment): New macro.
24148 (python-shell-prompt-detect, python-shell-calculate-command)
24149 (python-shell-make-comint, python-check): Use it.
24150
24151 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
24152 * lisp/progmodes/python.el (python-shell--interpreter)
24153 (python-shell--interpreter-args): New vars.
24154 (inferior-python-mode, python-shell-make-comint): Use them.
24155
24156 python.el: Fixes for IPython 3.x (Bug#20580)
24157 * lisp/progmodes/python.el:
24158 (python-shell-completion-native-setup): Fix IPython 3.x setup.
24159 (python-shell-completion-native-get-completions): Fix timeout
24160 logic.
24161
24162 python.el: Fix mark-defun behavior (Bug#19665)
24163 * lisp/progmodes/python.el (python-mark-defun): New function.
24164 * test/automated/python-tests.el (python-mark-defun-1)
24165 (python-mark-defun-2, python-mark-defun-3): New tests.
24166
24167 2015-07-05 Glenn Morris <rgm@gnu.org>
24168
24169 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
24170 such as "extends(parent), private". (Bug#20969)
24171 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
24172 New tests.
24173
24174 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
24175
24176 Avoid duplicate calls to current_timespec
24177 * src/process.c (wait_reading_process_output):
24178 Cache current_timespec results as long as we're not waiting.
24179
24180 2015-07-05 Ian Kelling <ian@iankelling.org>
24181
24182 Avoid returning early reading process output due to SIGIO
24183 * src/process.c (wait_reading_process_output): Extend the behavior of
24184 not breaking due to not finding output when a timer has lowered the
24185 timeout to include when SIGIO lowers the timeout.
24186
24187 Don't return as fast reading any process output
24188 * src/process.c (wait_reading_process_output):
24189 The patch for Bug#17647 returns too fast sometimes when reading
24190 from any processes. Revert part of it, and limit the timeout more
24191 sensibly (Bug#20978).
24192
24193 Refactor timeouts in wait_reading_process_output
24194 * src/process.c (wait_reading_process_output):
24195 Simplify timeouts with an enum. Remove a redundant condition.
24196 (Bug#20978)
24197
24198 Remove ADAPTIVE_READ_BUFFERING ifdef
24199 * src/process.c (make-process, make-pipe-process, deactivate_process)
24200 (wait_reading_process_output, read_process_output, send_process)
24201 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
24202 added in case there was an operating system in which it was not
24203 useful. That was 11 years ago and it hasn't happened. Make
24204 development easier by not considering the effect of changes on a
24205 theoretical OS where this is disabled (Bug#20978).
24206
24207 2015-07-05 Glenn Morris <rgm@gnu.org>
24208
24209 * lisp/simple.el (set-variable): Doc fix.
24210
24211 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
24212
24213 2015-07-05 Ian Kelling <ian@iankelling.org>
24214
24215 accept-process-output fix
24216 This is a followon to the fix for bug#17647 (Bug#20976).
24217 * src/process.c (status_notify): Fix too high return in some cases.
24218
24219 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
24220
24221 * lisp/character-fold.el (character-fold-table):
24222 Only fold decompositions if at least one character is non-spacing.
24223 (Bug#20975)
24224
24225 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
24226
24227 Merge from gnulib
24228 This incorporates:
24229 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
24230 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
24231 2015-07-02 update-copyright: fix test failure with perl >= 5.22
24232 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
24233 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
24234 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
24235 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
24236
24237 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
24238
24239 Respect `prog-indentation-context' in python.el
24240 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
24241 (python-indent-context, python-indent--calculate-indentation)
24242 (python-info-current-defun)
24243 (python-info-dedenter-opening-block-message)
24244 (python-info-line-ends-backslash-p)
24245 (python-info-beginning-of-backslash)
24246 (python-info-continuation-line-p): Use `prog-widen'.
24247 (python-indent--calculate-indentation)
24248 (python-indent--calculate-levels)
24249 (python-indent-calculate-indentation): Use `prog-first-column'.
24250 (python-indent--calculate-levels): Simplify.
24251 Ignore also initial empty lines for syntax calculation.
24252 * lisp/progmodes/python.el (python-indent-context): Return
24253 :no-indent for first non-empty line, not just in line 1.
24254 * test/automated/python-tests.el (python-indent-base-case)
24255 (python-indent-inside-paren-1, python-indent-inside-paren-2)
24256 (python-indent-inside-paren-3, python-indent-inside-paren-4)
24257 (python-indent-inside-paren-5, python-indent-inside-paren-6)
24258 (python-indent-after-backslash-1)
24259 (python-indent-after-backslash-2)
24260 (python-indent-after-backslash-3)
24261 (python-indent-after-backslash-4, python-indent-inside-string-1):
24262 Expect :no-indent for first non-empty line.
24263
24264 2015-07-04 Daniel Colascione <dancol@dancol.org>
24265
24266 Factor isearch word description into new function
24267 * lisp/isearch.el (isearch--describe-word-mode): New function.
24268 (isearch-message-prefix, isearch-query-replace): Use it.
24269
24270 2015-07-04 Eli Zaretskii <eliz@gnu.org>
24271
24272 Fix mouse pointer on w32 when a menu is active
24273 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
24274 shape while a menu is in use. This started happening since we now
24275 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
24276
24277 2015-07-04 Martin Rudalics <rudalics@gmx.at>
24278
24279 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
24280 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
24281 parameter. (Bug#17344)
24282
24283 Have `compilation-set-window' use right window for getting fringes
24284 (Bug#20829)
24285 * lisp/progmodes/compile.el (compilation-set-window):
24286 Take `window-fringes' from argument window.
24287
24288 2015-07-03 Glenn Morris <rgm@gnu.org>
24289
24290 Update eieio tests for recent eieio-core change.
24291 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
24292 * test/automated/eieio-tests.el
24293 (eieio-test-32-slot-attribute-override-2):
24294 Replace the deleted eieio--class-v with cl--find-class.
24295
24296 2015-07-03 Martin Rudalics <rudalics@gmx.at>
24297
24298 Fix some issues with `window-divider-mode'
24299 * lisp/frame.el (window-divider-default-places): New option.
24300 (window-divider-mode): Remove option.
24301 (window-divider-mode): Make it a "regular" minor mode.
24302 (window-divider-width-valid-p): Drop frame- prefix.
24303 (window-divider-mode-apply): New argument ENABLE. Drop frame-
24304 prefix. Handle `window-divider-default-places'.
24305 (frame--window-divider-mode-set-and-apply): Remove.
24306 (window-divider-default-bottom-width)
24307 (window-divider-default-right-width): Drop :group entries.
24308 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
24309 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
24310 (menu-bar-no-window-divider): Set `window-divider-default-places'
24311 and call `window-divider-mode'.
24312 * doc/emacs/frames.texi (Window Dividers): Document
24313 `window-divider-default-places'.
24314
24315 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
24316
24317 * doc/emacs/display.texi (Displaying Boundaries):
24318 * doc/emacs/search.texi (Word Search): Add cross references.
24319
24320 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
24321
24322 -batch should not affect ‘’ -> `' display
24323 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
24324 -batch (Bug#20926).
24325
24326 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
24327
24328 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
24329 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
24330 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
24331 Use cl--find-class instead.
24332
24333 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
24334
24335 2015-07-02 Martin Rudalics <rudalics@gmx.at>
24336
24337 Some further fixes in Change Window node (Bug#20183)
24338 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
24339 by "resizing" in section title. Add some concept indices.
24340 Suggested by N. Jackson (Bug#20183).
24341
24342 * doc/emacs/windows.texi (Change Window): Reference window
24343 dividers.
24344
24345 Document new `window-divider-mode'.
24346 * lisp/frame.el (window-divider-mode): Fix doc-string.
24347 * doc/emacs/frames.texi (Window Dividers): New section.
24348
24349 Improve accessibility of window dividers (Bug#20183)
24350 * lisp/faces.el (window-divider)
24351 (window-divider-first-pixel, window-divider-last-pixel): Change
24352 membership from `frames' to `window-divider' customization group.
24353 * lisp/frame.el (window-divider): New customization group.
24354 (window-divider-mode): New minor mode.
24355 (window-divider-default-bottom-width)
24356 (window-divider-default-right-width): New options.
24357 (frame--window-divider-previous-mode): New variable.
24358 (frame-window-divider-width-valid-p)
24359 (frame--window-divider-mode-apply)
24360 (frame--window-divider-mode-set-and-apply): New functions.
24361 * lisp/menu-bar.el (menu-bar-options-save): Save
24362 window-divider-mode settings.
24363 (menu-bar-window-divider-customize)
24364 (menu-bar-bottom-and-right-window-divider)
24365 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
24366 (menu-bar-no-window-divider): New functions.
24367 (menu-bar-showhide-window-divider-menu): New variable.
24368 (menu-bar-showhide-menu): Show/hide window divider menu.
24369 * lisp/mouse.el (mouse-split-window-vertically)
24370 (mouse-split-window-horizontally): Replace `error' by
24371 `user-error'. Bind `window-combination-resize' to nil.
24372 (top-level): Add/reorder mouse key bindings on mode- and
24373 vertical-line.
24374
24375 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
24376
24377 Don't display ‘’ as `' under X in en_GB
24378 The curved quote setup code invokes (char-displayable-p ?‘),
24379 but this isn’t reliable until after the X frame replaces the
24380 terminal frame (Bug#20926).
24381 * lisp/international/mule-cmds.el (set-locale-environment):
24382 Move curved quote setup code from here ...
24383 * lisp/startup.el (command-line): ... to here, after creating
24384 the X frame.
24385
24386 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
24387
24388 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
24389
24390 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
24391 to reverse the meaning (Bug#15631).
24392
24393 2015-07-01 Eli Zaretskii <eliz@gnu.org>
24394
24395 Be more tolerant to fonts named "Foobar-12"
24396 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
24397 don't barf; instead, request a new fontset to be generated. This
24398 avoids unnecessarily rejecting fonts named against XLFD rules. See
24399 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
24400 for the description of the original problem.
24401 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
24402 by a hyphen in a font's name.
24403
24404 Fix value of posn-at-pont in R2L lines
24405 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
24406 coordinate of -1, for a newline in a right-to-left line that
24407 overflowed into the left fringe.
24408
24409 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24410
24411 (cl--copy-slot-descriptor): Copy the `props' alist as well
24412 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
24413 Rename from cl--copy-slot-descriptor.
24414 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
24415
24416 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
24417
24418 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
24419 (xterm-query-timeout): New var.
24420 (xterm--query): Use it. Fallback on async method if we timeout before
24421 getting the first byte of the reply (bug#12354).
24422
24423 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
24424
24425 Spelling fixes
24426 * lisp/character-fold.el (character-fold-search):
24427 * lisp/emacs-lisp/package.el (package-hidden-regexps):
24428 Fix typos.
24429
24430 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
24431
24432 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
24433
24434 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
24435
24436 In strings, prefer plain ` and ' to \` and \'
24437 * lisp/allout.el (allout-insert-listified):
24438 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
24439 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
24440 (ls-lisp-string-lessp):
24441 * lisp/menu-bar.el (menu-bar-open):
24442 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
24443 * lisp/progmodes/compile.el (compile):
24444 * lisp/progmodes/etags.el (tags-loop-scan):
24445 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
24446 * lisp/subr.el (posn-actual-col-row):
24447 * lisp/term/pc-win.el (x-list-fonts):
24448 * lisp/textmodes/texinfmt.el (texinfmt-version):
24449 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
24450 * lisp/time.el (display-time-world-list):
24451 * lisp/tmm.el (tmm-menubar):
24452 * src/buffer.c (syms_of_buffer):
24453 * src/fileio.c (syms_of_fileio):
24454 Omit unnecessary and confusing backslash before quote.
24455 * lisp/erc/erc.el (erc-cmd-LASTLOG):
24456 * lisp/progmodes/flymake.el (flymake-fix-file-name):
24457 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
24458 Fix string that was intended to escape a backslash and not a quote.
24459
24460 2015-06-30 Glenn Morris <rgm@gnu.org>
24461
24462 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
24463
24464 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
24465 Replace hard-coded lists with wildcard + filter-out.
24466
24467 * configure.ac (system-configuration-features): Add X11, NS.
24468
24469 Improve reproducibility of generated loaddefs file
24470 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
24471 Make the return value the modtime of the input file (if no autoloads).
24472 (update-directory-autoloads): In the "no autoloads" section,
24473 use "most recent modtime" rather than "current time".
24474
24475 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
24476
24477 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
24478 (Bug#20930)
24479
24480 2015-06-30 Nicolas Petton <nicolas@petton.fr>
24481
24482 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
24483
24484 Add seq-min and seq-max
24485 Bump version number.
24486 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
24487 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
24488
24489 2015-06-30 Eli Zaretskii <eliz@gnu.org>
24490
24491 Make sure sleep-for always delays for as long as it's told
24492 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
24493 a loop, to ensure we always wait exactly the required amount of
24494 time. (Bug#15990)
24495
24496 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
24497
24498 Fix pointer signedness glitch
24499 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
24500
24501 2015-06-30 Eli Zaretskii <eliz@gnu.org>
24502
24503 Don't block changes in mouse pointer inside 'track-mouse'
24504 * etc/NEWS:
24505 * doc/lispref/frames.texi (Mouse Tracking): Document the special
24506 effect of setting 'track-mouse' to 'dragging'.
24507 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
24508 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
24509 * lisp/mouse-drag.el (mouse-drag-throw):
24510 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
24511 to avoid changes in the shape of the mouse pointer.
24512 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
24513 pointer shape when do_mouse_tracking has the value of 'dragging',
24514 not just any non-nil value. (Bug#20934)
24515 (syms_of_xdisp): DEFSYM 'dragging'.
24516
24517 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
24518
24519 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
24520
24521 * lisp/emacs-lisp/package.el (package-compute-transaction):
24522 Don't assume version sorting.
24523
24524 * lisp/emacs-lisp/package.el (package--save-selected-packages):
24525 Don't save before init time, to avoid overwriting configurations.
24526 (Bug#20855)
24527
24528 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
24529
24530 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
24531 references.
24532
24533 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
24534
24535 Update for the upcoming CFEngine 3.7 release: support macros and
24536 quoted context strings; reformat JSON; indent promise attributes 2
24537 units by default; give function parameter descriptions in the eldoc
24538 glue.
24539 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
24540 Autoload `json-pretty-print'. Support new features in 3.7.
24541 (cfengine-parameters-indent): Set default promise attribute indent to
24542 2 more than the promise itself.
24543 (cfengine3-macro-regex): New variable to match the new macro syntax.
24544 (cfengine3-font-lock-keywords): Use it to highlight macros.
24545 (cfengine3-indent-line): Use it to indent macros to column 0.
24546 (cfengine3-class-selector-regex): Update for the new quoted strings
24547 format.
24548 (cfengine3-reformat-json-string): New function to reformat a JSON
24549 string using `json-pretty-print'.
24550 (cfengine3-format-function-docstring): Use function parameter
24551 description if it's provided by the cf-promises syntax dump.
24552
24553 2015-06-29 Michael R. Mauger <michael@mauger.com>
24554
24555 Cygwin emacsclient handles w32 file names
24556 * lisp/server.el (server-process-filter): Allow Cygwin's
24557 emacsclient to be used as a file handler on MS-Windows.
24558
24559 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
24560
24561 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
24562 (bug#20925).
24563
24564 2015-06-29 Eli Zaretskii <eliz@gnu.org>
24565
24566 * doc/lispref/text.texi (Sticky Properties): Improve wording.
24567 (Bug#20924)
24568
24569 Allow font names that end in "-NN", where NN is a number
24570 * src/font.c (font_load_for_lface): If the font-spec didn't match
24571 any available fonts, try again without interpreting trailing "-NN"
24572 as the font size. For the description of the original problem, see
24573 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
24574
24575 .gdbinit followup to changes in !USE_LSB_TAG
24576 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
24577 !USE_LSB_TAG, as Emacs no longer does.
24578
24579 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
24580
24581 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
24582 Otherwise `s p' of f and F will stomp on each other's value.
24583 (Bug#20916)
24584
24585 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
24586
24587 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
24588 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
24589
24590 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
24591
24592 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
24593 as additional guess.
24594
24595 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
24596 to a string.
24597
24598 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
24599
24600 apropos-library quoting fix
24601 * lisp/apropos.el (apropos-library): Quote library consistently
24602 with the rest of the quoting used by apropos.
24603
24604 Clarify interpreter-mode-alist doc
24605 * lisp/files.el (interpreter-mode-alist):
24606 Reword to avoid confusing quoting that wasn't working anyway.
24607
24608 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
24609
24610 Sync with Tramp 2.2.12
24611 * doc/misc/trampver.texi:
24612 * lisp/net/trampver.el: Update release number.
24613 * test/automated/tramp-tests.el (tramp-test13-make-directory):
24614 Fix cleanup.
24615
24616 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
24617
24618 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
24619
24620 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
24621
24622 Bind grep-highlight-matches around the rgrep call
24623 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
24624 around the rgrep call (bug#20728).
24625
24626 Put "--color" before the other options in grep-command
24627 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
24628 before the other options in grep-command (bug#20912).
24629
24630 Add --color Grep option to the command dynamically
24631 * lisp/progmodes/grep.el (grep-template, grep-find-template):
24632 Update the description for <C>. (Bug#20728)
24633 (grep-compute-defaults): Don't add the --color option to
24634 grep-options. Only add it to grep-command.
24635 (grep-expand-keywords): Expand the env value opts into <C>.
24636 (grep-expand-template): Replace cf in the env with the opts list,
24637 that can include -i and --color.
24638 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
24639 "--color=always" from the template, because we don't have to.
24640
24641 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
24642
24643 cl-extra fixes for most-negative-fixnum
24644 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
24645 Don't mishandle an argument equal to most-negative-fixnum,
24646 whose absolute value equals itself.
24647 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
24648
24649 Initialize cl--gensym-counter to 0
24650 Previously it was initialized to a random value, which made it
24651 harder to reproduce earlier Emacs runs. The need for a random
24652 value went away when Emacs introduced and used the #: syntax for
24653 uninterned symbols (Bug#20862).
24654 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
24655 Document that cl--gensym-counter now starts with 0.
24656 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
24657 (cl--random-time): Move to near only remaining use.
24658 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
24659
24660 Improve docstring for macroexp-let2
24661 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
24662 Improve as per suggestion by RMS in:
24663 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
24664 Also, rename args to match new doc string.
24665
24666 2015-06-27 Eli Zaretskii <eliz@gnu.org>
24667
24668 Fix VC test suite on MS-Windows
24669 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
24670 always starts with 3 slashes after the colon.
24671 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
24672 'w32-application-type' to invoke CVS on MS-Windows with properly
24673 formatted CVSROOT directory name.
24674
24675 Add a new function w32-application-type
24676 * src/w32proc.c (Fw32_application_type): New function.
24677
24678 Avoid error in TLS connections due to incorrect format
24679 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
24680 the call to 'error', instead of the unsupported %u. Reported by
24681 lo2net <fangtao0901@gmail.com>. (Bug#20908)
24682
24683 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
24684
24685 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
24686
24687 2015-06-26 Leo Liu <sdl.web@gmail.com>
24688
24689 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
24690 `with-output-to-string' in elisp.
24691
24692 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
24693 with-output-to-string".
24694 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
24695
24696 2015-06-26 Eli Zaretskii <eliz@gnu.org>
24697
24698 Minor corrections in ELisp manual
24699 * doc/lispref/nonascii.texi (Character Properties): Correct
24700 inaccuracies in description of values of the Unicode properties.
24701
24702 Fix invisible mouse pointers on Windows.
24703 * src/w32fns.c: Include windowsx.h.
24704 (w32_wnd_proc): If the mouse moved and the mouse pointer is
24705 invisible, make it visible again even when the main (Lisp)
24706 thread is busy.
24707 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
24708 garbaging the frame have the input thread call SetCursor.
24709
24710 2015-06-26 Martin Rudalics <rudalics@gmx.at>
24711
24712 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
24713 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
24714 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
24715 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
24716 (w32_toggle_invisible_pointer): New function.
24717 (w32_create_terminal): Add w32_toggle_invisible_pointer as
24718 toggle_invisible_pointer_hook for this terminal.
24719
24720 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
24721
24722 Doc fix for deletion commands
24723 'delete-char' does not respect the value of 'delete-active-region'.
24724 * doc/emacs/killing.texi (Deletion):
24725 Fix documentation for some single-char deletion commands.
24726
24727 * doc/emacs/help.texi (Apropos):
24728 Improve documentation of 'apropos-do-all'.
24729
24730 * doc/emacs/help.texi (Help Summary):
24731 Improve documentation of 'describe-mode'.
24732
24733 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
24734
24735 Fix submake dependency bug with .h files
24736 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
24737 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
24738 before the submake in $(libsrc) would spin off a subsubmake
24739 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
24740
24741 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
24742
24743 * lisp/character-fold.el (character-fold-table): Reuse `table'.
24744
24745 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
24746
24747 Translate undisplayable ‘ to `
24748 * doc/lispref/help.texi (Keys in Documentation):
24749 * lisp/international/mule-cmds.el (set-locale-environment):
24750 * lisp/term/w32console.el (terminal-init-w32console):
24751 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
24752 If ‘ is not displayable, transliterate it to `, not to '. See:
24753 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
24754
24755 Fix C99 incompatibilities in Cairo code
24756 * src/image.c (xpm_load) [USE_CAIRO]:
24757 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
24758 Fix pointer signedness problem.
24759
24760 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
24761
24762 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
24763 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
24764 `with-output-to-string' should have the same indent as `progn'.
24765 This is in line with the declaration of `with-output-to-string'.
24766
24767 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
24768
24769 Get ‘./configure; make -C src emacs’ to work
24770 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
24771 * lib-src/Makefile.in (../lib/libgnu.a):
24772 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
24773
24774 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
24775
24776 Fix GC bugs --with-wide-int and Qnil == 0
24777 Use the same alignment for the !USE_LSB_TAG case as for the
24778 more-typical USE_LSB_TAG case. The attempt to support arbitrary
24779 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
24780 once we changed the representation of symbols so that Qnil == 0.
24781 Problem reported by Eli Zaretskii (Bug#20862).
24782 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
24783 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
24784 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
24785 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
24786 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
24787 This optimization in the !USE_LSB_TAG case is no longer valid when
24788 symbols are represented via offsets. Change the only use to
24789 assume that pointers might hide in objects.
24790 * src/lisp.h (alignas) [!USE_LSB_TAG]:
24791 Require support in this case, too.
24792 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
24793 This is OK, because the !USE_LSB_TAG case now applies only when
24794 Lisp_Object is wider than void *, so there's no longer any need
24795 to shift the offset. Not shifting the offset means that
24796 symbol representations have the same alignment as pointers,
24797 which the GC assumes.
24798
24799 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
24800
24801 * doc/lispintro/emacs-lisp-intro.texi (Data types):
24802 Improve documentation of 'substring'.
24803
24804 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
24805
24806 * lisp/character-fold.el (character-fold-table): Fix table generation.
24807
24808 2015-06-24 Glenn Morris <rgm@gnu.org>
24809
24810 * nextstep/Makefile.in (all): Make it the first target.
24811 (../src/emacs${EXEEXT}): Add rule for making it.
24812
24813 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
24814
24815 * etc/NEWS: Fix mention to old function name.
24816
24817 * lisp/character-fold.el: New file (Bug#20887)
24818 (character-fold-to-regexp): New function.
24819 * lisp/replace.el (replace-search): Check value of
24820 `character-fold-search'.
24821 * lisp/isearch.el: Move character-folding code to
24822 character-fold.el
24823 (isearch-toggle-character-fold): New command.
24824 (isearch-mode-map): Bind it to "\M-sf".
24825 (isearch-mode): Check value of `character-fold-search'.
24826
24827 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
24828
24829 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
24830 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
24831 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
24832
24833 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
24834 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
24835
24836 2015-06-24 Glenn Morris <rgm@gnu.org>
24837
24838 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
24839
24840 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
24841
24842 lisp/gnus/nnmaildir.el: Silence lexical warnings
24843 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
24844 functional style.
24845 (nnmaildir--update-nov): Remove unused var `numdir'.
24846 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
24847 (nnmaildir-request-group, nnmaildir-request-create-group)
24848 (nnmaildir-request-post, nnmaildir-request-move-article)
24849 (nnmaildir-request-accept-article, nnmaildir-active-number):
24850 Mark unused args.
24851 (nnmaildir-get-new-mail, nnmaildir-group-alist)
24852 (nnmaildir-active-file): Declare.
24853 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
24854 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
24855 `mark', `end', `new-mark', and `mark-sym'.
24856 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
24857 `nlist2'.
24858 (nnmaildir-request-expire-articles):
24859 Remove unused vars `article', `stop' and `nlist2'.
24860 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
24861 `end'. Use nnmaildir--article when dyn-binding is needed.
24862 Give the value directly in the `let' for `del-mark', `del-action',
24863 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
24864 (nnmaildir-close-server): Declare those local vars that need to be
24865 dyn-bound.
24866
24867 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
24868
24869 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
24870
24871 Port selection info fix to clang
24872 * src/keyboard.h (kbd_buffer_store_event_hold):
24873 Don't assume C11 semantics for alignof (Bug#20756).
24874
24875 Fix bug that munged selection info
24876 On some optimizing C compilers, copying a structure did not
24877 copy the padding bytes between elements, and the type punning
24878 between struct input_data and struct selection_input_data did
24879 not work. Change the C code to use a proper union type instead.
24880 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
24881 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
24882 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
24883 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
24884 (mark_kboards):
24885 Use union buffered_input_event, not struct input_event.
24886 (clear_event, deliver_input_available_signal, process_special_events):
24887 Remove unnecessary forward decls.
24888 (kbd_buffer_store_buffered_event): New function, mostly just the
24889 old kbd_buffer_store_event_hold, except its argument is of type
24890 union buffered_input_event, not struct input_event.
24891 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
24892 not needed otherwise. Argument is now of type
24893 struct selection_input_event *, not struct input_event *.
24894 All callers changed.
24895 (clear_event): Arg is now of type union buffered_input_event *,
24896 not struct input_event *. All callers changed.
24897 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
24898 (union buffered_input_event): New type.
24899 (kbd_buffer_store_event_hold): Now an inline function,
24900 defined here.
24901 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
24902 (struct input_event): Use it.
24903 * src/xselect.c (struct selection_event_queue):
24904 Make elements be of type struct selection_input_event,
24905 not struct input_event.
24906 (selection_input_event_equal): New static function.
24907 (x_queue_event): Use it.
24908 (x_queue_event, x_decline_selection_request)
24909 (x_selection_current_request, x_reply_selection_request)
24910 (x_handle_selection_request, x_handle_selection_clear)
24911 (x_handle_selection_event): Use struct selection_input_event,
24912 not struct input_event. All callers changed.
24913 (x_convert_selection): Omit unused first arg. All callers changed.
24914 (Fx_disown_selection_internal): Omit unnecessary union.
24915 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
24916 rather than rolling our own equivalent. Prefer sie.kind when
24917 setting up that kind of structure.
24918 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
24919 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
24920 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
24921 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
24922 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
24923 (SELECTION_EVENT_TIME, x_handle_selection_event):
24924 Arg is now of type struct selection_input_event *)
24925 not struct input_event *. All callers changed.
24926
24927 2015-06-23 Glenn Morris <rgm@gnu.org>
24928
24929 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
24930
24931 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
24932
24933 * lisp/isearch.el: Fold many unicode characters to ASCII.
24934 (isearch-character-fold-search, isearch--character-fold-extras)
24935 (isearch--character-fold-table): New variable.
24936 (isearch--character-folded-regexp): New function.
24937 (isearch-search-fun-default): Use them.
24938 * lisp/replace.el (replace-character-fold): New variable.
24939 (replace-search): Use it.
24940 * etc/NEWS: Document it.
24941
24942 2015-06-23 Glenn Morris <rgm@gnu.org>
24943
24944 Check for an input event before showing a dialog box. (Bug#20813)
24945 * lisp/subr.el (y-or-n-p):
24946 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
24947 as last-nonmenu-event.
24948
24949 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
24950
24951 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
24952 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
24953 (switch-to-prev-buffer, switch-to-next-buffer): Respect
24954 switch-to-visible-buffer independent of the windows history.
24955
24956 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
24957
24958 * src/keyboard.c (last_timer_event): Remove unused var.
24959
24960 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
24961
24962 * test/automated/package-test.el (package-test-update-listing):
24963 Fix test.
24964
24965 2015-06-23 Glenn Morris <rgm@gnu.org>
24966
24967 Revert 2014-06-25 nextstep/Makefile change.
24968 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
24969 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
24970 not as an order-only prerequisite.
24971
24972 * configure.ac (--with-ns): Enable by default on OS X.
24973
24974 2015-06-23 Leo Liu <sdl.web@gmail.com>
24975
24976 Fix shell-for/backward-command to exclude spaces
24977 * lisp/shell.el (shell-forward-command, shell-backward-command):
24978 Handle the 'move case from re-search-forward/backward.
24979 fixes debbugs:20873
24980
24981 2015-06-22 Juri Linkov <juri@linkov.net>
24982
24983 * lisp/replace.el (query-replace-read-from): Add separator to
24984 the local binding of text-property-default-nonsticky. (Bug#20690)
24985
24986 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
24987 (Bug#20785)
24988
24989 2015-06-22 Ken Brown <kbrown@cornell.edu>
24990
24991 Enable CPU profiling on Cygwin
24992 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
24993 change that undefined this.
24994 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
24995 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
24996 Cygwin.
24997
24998 Improve diagnostics of profiler-cpu-start
24999 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
25000 return -1 if the sampling interval is invalid.
25001 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
25002 fails. (Bug#20843)
25003
25004 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
25005
25006 * lisp/emacs-lisp/package.el: Exclude packages by name.
25007 (package-hidden-regexps): New variable.
25008 (package-menu--refresh): Use it.
25009 (package-menu-hide-package): New command.
25010
25011 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
25012
25013 2015-06-22 Eli Zaretskii <eliz@gnu.org>
25014
25015 Fix debug-timer-check on systems without HAVE_TIMERFD
25016 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
25017 the expired timers, since wait_reading_process_output doesn't.
25018 (debug_timer_callback): Enlarge the tolerance to 20 msec.
25019
25020 Fix RCS crashes in vc-test
25021 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
25022 ports of 'ci' on MS-Windows by always passing the -t- switch.
25023
25024 2015-06-22 Glenn Morris <rgm@gnu.org>
25025
25026 * doc/emacs/package.texi (Packages):
25027 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
25028
25029 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
25030
25031 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
25032
25033 Port tests to help-quote-translation
25034 * test/automated/ert-x-tests.el (ert-test-describe-test):
25035 * test/automated/package-test.el (package-test-describe-package)
25036 (package-test-signed): Allow straight quotes, too.
25037
25038 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
25039
25040 Make find-function-on-key use the current window
25041 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
25042 Extract from `find-function-on-key', add a second argument.
25043 (find-function-on-key): Use it (bug#19679).
25044 (find-function-on-key-other-window)
25045 (find-function-on-key-other-frame): New commands.
25046
25047 2015-06-21 Nicolas Petton <nicolas@petton.fr>
25048
25049 Revert "Define `map-elt' as a generalized variable"
25050 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
25051
25052 2015-06-21 Ken Brown <kbrown@cornell.edu>
25053
25054 Drop support for CPU profiling on Cygwin
25055 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
25056 (Bug#20843)
25057
25058 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
25059
25060 Fix some “nested” quoting confusion in doc strings
25061 * lisp/emacs-lisp/advice.el (ad-map-arglists):
25062 * lisp/kermit.el (kermit-clean-on):
25063 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
25064 * src/keyboard.c (Frecursive_edit):
25065 Use curved quotes when quoting text containing apostrophe,
25066 so that the apostrophe isn't curved in the output.
25067
25068 2015-06-21 Nicolas Petton <nicolas@petton.fr>
25069
25070 Define `map-elt' as a generalized variable
25071 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
25072 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
25073 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
25074 `setf' with `map-elt'.
25075 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
25076
25077 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
25078
25079 Improve error handling in tramp-adb.el
25080 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
25081 Improve error handling.
25082
25083 2015-06-21 Nicolas Petton <nicolas@petton.fr>
25084
25085 Reuse `alist-get' in map.el
25086 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
25087 elements.
25088
25089 2015-06-21 Eli Zaretskii <eliz@gnu.org>
25090
25091 Fix bytecomp-tests--warnings when $TMPDIR has a long name
25092 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
25093 Allow the warning to begin on the 3rd, not only 2nd line, which
25094 happens if temporary-file-directory has a very long name.
25095
25096 Expect 2 icalendar tests to fail on MS-Windows
25097 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
25098 (icalendar-real-world): Make them expected failures on MS-Windows.
25099
25100 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
25101
25102 Improve port of settings UI to older displays
25103 * lisp/cus-start.el (standard): Don't assume curved quotes are
25104 easily distinguishable when users are tinkering with a setting
25105 that affects how curved quotes are generated.
25106
25107 Fix quoting in electric-quote-mode doc string
25108 * lisp/electric.el (electric-quote-mode): Fix quoting.
25109 This is a fallout from the recent change introducing
25110 ‘help-quote-translation’.
25111
25112 Spelling fix
25113
25114 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
25115
25116 * src/doc.c (syms_of_doc): Remove unused symbols.
25117
25118 2015-06-20 Martin Rudalics <rudalics@gmx.at>
25119
25120 * lisp/window.el (window-state-put): Undedicate target window
25121 before putting STATE into it. (Bug#20848)
25122
25123 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
25124
25125 Merge from origin/emacs-24
25126 a5e6f33 Fixes: debbugs:20832
25127 b9f02cf Fixes: debbugs:20832
25128
25129 2015-06-19 Eli Zaretskii <eliz@gnu.org>
25130
25131 Fix file-in-directory-p when the directory is UNC
25132 * lisp/files.el (file-in-directory-p): Support files and
25133 directories that begin with "//". (Bug#20844)
25134
25135 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
25136
25137 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
25138 in the minibuffer. (Bug#20832)
25139
25140 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
25141
25142 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
25143 for adding new todo file is empty but modified. (Bug#20832)
25144
25145 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
25146
25147 (filepos-to-bufferpos): Further tweaks to the utf-16 code
25148 * lisp/international/mule-util.el (filepos-to-bufferpos):
25149 Fix typo. Move non-exact check to the utf-16 branch (the only one
25150 affected). Don't use byte-to-position for the utf-16 case.
25151
25152 2015-06-19 Eli Zaretskii <eliz@gnu.org>
25153
25154 Minor fixes in filepos-to-bufferpos
25155 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
25156 test for utf-8-emacs. Exempt single-byte encodings from the
25157 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
25158 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
25159 UTF-16 encoded files for CR-LF EOLs.
25160
25161 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
25162
25163 Improve the optional translation of quotes
25164 Fix several problems with the recently-added custom variable
25165 help-quote-translation where the code would quote inconsistently
25166 in help buffers. Add support for quoting 'like this', which
25167 is common in other GNU programs in ASCII environments. Change
25168 help-quote-translation to use more mnemonic values: values are now the
25169 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
25170 traditional Emacs help-buffer quoting style `like this'. Change the
25171 default behavior of substitute-command-keys to match what's done in
25172 set-locale-environment, i.e., quote ‘like this’ if displayable,
25173 'like this' otherwise.
25174 * doc/lispref/help.texi (Keys in Documentation): Document
25175 new behavior of substitute-command-keys, and document
25176 help-quote-translation.
25177 * doc/lispref/tips.texi (Documentation Tips):
25178 Mention the effect of help-quote-translation.
25179 * etc/NEWS: Mention new behavior of substitute-command-keys,
25180 and merge help-quote-translation news into it.
25181 When talking about doc strings, mention new ways to type quotes.
25182 * lisp/cedet/mode-local.el (overload-docstring-extension):
25183 Revert my recent change to this function, which shouldn't be
25184 needed as the result is a doc string.
25185 * lisp/cedet/mode-local.el (mode-local-print-binding)
25186 (mode-local-describe-bindings-2):
25187 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
25188 * lisp/cus-theme.el (describe-theme-1):
25189 * lisp/descr-text.el (describe-text-properties-1, describe-char):
25190 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
25191 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
25192 (eieio-help-constructor):
25193 * lisp/emacs-lisp/package.el (describe-package-1):
25194 * lisp/faces.el (describe-face):
25195 * lisp/help-fns.el (help-fns--key-bindings)
25196 (help-fns--compiler-macro, help-fns--parent-mode)
25197 (help-fns--obsolete, help-fns--interactive-only)
25198 (describe-function-1, describe-variable):
25199 * lisp/help.el (describe-mode):
25200 Use substitute-command-keys to ensure a more-consistent quoting
25201 style in help buffers.
25202 * lisp/cus-start.el (standard):
25203 Document new help-quote-translation behavior.
25204 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
25205 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
25206 (help-xref-url-regexp):
25207 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
25208 * lisp/wid-edit.el (widget-documentation-link-regexp):
25209 Also match 'foo', in case we're in a help buffer generated when
25210 help-quote-translation is ?'.
25211 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
25212 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
25213 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
25214 (Fsubstitute_command_keys): Document and implement new behavior.
25215 (Vhelp_quote_translation): Document new behavior.
25216
25217 2015-06-18 Glenn Morris <rgm@gnu.org>
25218
25219 * lisp/cus-start.el (help-quote-translation): Add :version.
25220
25221 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
25222
25223 2015-06-18 Alan Mackenzie <acm@muc.de>
25224
25225 Make translation of quotes to curly in doc strings optional.
25226 * src/doc.c (traditional, prefer-unicode): New symbols.
25227 (help-quote-translation): New variable.
25228 (Fsubstitute_command_keys): Make translation of quotes dependent on
25229 `help-quote-translation'; also translate curly quotes back to ASCII
25230 ones.
25231 * lisp/cus-start.el (top-level): Add a customization entry for
25232 `help-quote-translation'.
25233
25234 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
25235
25236 * lisp/emacs-lisp/package.el: Don't always propagate async errors
25237 (package--with-work-buffer-async): Only propagate the error if the
25238 callback returns non-nil.
25239 (package--download-one-archive): Return nil on the signature
25240 checking callback if we accept unsigned.
25241 (package--download-and-read-archives): Return non-nil on the
25242 archive download callback.
25243
25244 2015-06-18 Martin Rudalics <rudalics@gmx.at>
25245
25246 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
25247 * src/nsfns.m (Fx_create_frame):
25248 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
25249 image_cache_refcount before first x_default_parameter call.
25250
25251 2015-06-18 Eli Zaretskii <eliz@gnu.org>
25252
25253 Improve and extend filepos-to-bufferpos
25254 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
25255 Don't barf if F returns nil for some argument.
25256 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
25257 that every encoding of type 'charset' is single-byte.
25258
25259 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
25260
25261 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
25262 Properly delete packages. (Bug#20836)
25263
25264 2015-06-18 Eli Zaretskii <eliz@gnu.org>
25265
25266 Update data files from just-released Unicode 8.0
25267 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
25268 status.
25269 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
25270 * admin/unidata/BidiMirroring.txt:
25271 * admin/unidata/BidiBrackets.txt:
25272 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
25273
25274 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
25275
25276 Document curved quotes a bit better
25277 * doc/emacs/basic.texi (Inserting Text):
25278 Mention C-x 8. Change example to use curved quote rather
25279 than infinity, as this lets us give more ways to do it.
25280 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
25281 and quotation marks.
25282 * doc/emacs/text.texi (Quotation Marks):
25283 * doc/lispref/tips.texi (Documentation Tips):
25284 Add "curly quotes" and "curved quotes" to the index.
25285 * doc/emacs/text.texi (Quotation Marks):
25286 Give the C-x 8 shorthands for curved quotes.
25287 Cross-reference to "Quotation Marks".
25288
25289 2015-06-17 Daiki Ueno <ueno@gnu.org>
25290
25291 Add pinentry.el for better GnuPG integration
25292 * lisp/pinentry.el: New file.
25293 * etc/NEWS: Add entry about pinentry.el.
25294 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
25295 (Bug#20550)
25296
25297 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
25298
25299 * lisp/emacs-lisp/package.el: Slightly better error reporting.
25300
25301 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
25302
25303 (define-minor-mode): Use setq-default for :global minor modes
25304 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
25305 Use setq-default for :global minor modes (bug#20712).
25306
25307 2015-06-17 Eli Zaretskii <eliz@gnu.org>
25308
25309 Avoid infloop in redisplay with tall images
25310 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
25311 down near ZV. (Bug#20808)
25312 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
25313 instead of CHARPOS.
25314
25315 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
25316
25317 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
25318 Fix error reporting.
25319
25320 * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
25321
25322 * lisp/emacs-lisp/package.el: Revert buffer after any operation
25323 Call `package-menu--post-refresh' after any operation that changes
25324 the package database (`package-install' and `package-delete'). To
25325 avoid performance issues in large transactions, these functions
25326 add `post-refresh' to `post-command-hook' instead of calling it
25327 immediately.
25328 (package-menu--mark-or-notify-upgrades): New function.
25329 (list-packages): Add it to `package--post-download-archives-hook'.
25330 (package-menu--post-refresh): Lose the upgrade-checking code, add
25331 code to remove itself from `post-command-hook'.
25332 (package-install, package-delete): Add it to `post-command-hook'.
25333 (package-menu-execute): Don't call `package-menu--post-refresh'.
25334
25335 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
25336
25337 Add missing function xref-location-group for elisp-mode.
25338 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
25339
25340 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
25341
25342 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
25343 The behavior now matches the description in the manual. (Bug#20783)
25344
25345 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
25346
25347 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
25348
25349 2015-06-17 Glenn Morris <rgm@gnu.org>
25350
25351 Generate char-script-table from Unicode source. (Bug#20789)
25352 * admin/unidata/Makefile.in (AWK): New, set by configure.
25353 (all): Add charscript.el.
25354 (blocks): New variable.
25355 (charscript.el, ${unidir}/charscript.el): New targets.
25356 (extraclean): Also remove generated charscript.el.
25357 * admin/unidata/blocks.awk: New script.
25358 * admin/unidata/Blocks.txt: New data file, from unicode.org.
25359 * lisp/international/characters.el: Load charscript.
25360 * src/Makefile.in (charscript): New variable.
25361 (${charscript}): New target.
25362 (${lispintdir}/characters.elc): Depend on charscript.elc.
25363 (temacs$(EXEEXT)): Depend on charscript.
25364
25365 * lisp/international/characters.el (char-script-table): Tweak
25366 some ranges to better match the source. (Bug#20789#17)
25367
25368 Remove "no-byte-compile: t" from a few files.
25369 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
25370 * lisp/obsolete/patcomp.el: No reason not to compile these.
25371
25372 2015-06-16 Glenn Morris <rgm@gnu.org>
25373
25374 Fix some typos in copied Unicode data. (Bug#20789)
25375 * lisp/international/characters.el (char-script-table):
25376 * lisp/international/fontset.el (script-representative-chars)
25377 (setup-default-fontset): Fix typos.
25378
25379 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
25380 Don't print filename twice (it's in the prefix now).
25381
25382 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
25383 No longer needed.
25384
25385 Address a compilation warning.
25386 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
25387 Replace 't' with '_' in pcase.
25388
25389 Address some check-declare warnings.
25390 * lisp/simple.el (tabulated-list-print):
25391 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
25392 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
25393 (ns-get-selection): Update declarations.
25394
25395 Address some compilation warnings.
25396 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
25397 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
25398 Replace 't' with '_' in pcase.
25399
25400 Address some compilation warnings.
25401 * lisp/face-remap.el (text-scale-adjust):
25402 * lisp/menu-bar.el (popup-menu-normalize-position):
25403 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
25404 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25405 * lisp/emacs-lisp/generator.el (cps--transform-1):
25406 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
25407 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
25408 * lisp/progmodes/octave.el (octave-goto-function-definition)
25409 (octave-find-definition-default-filename):
25410 Replace 't' with '_' in pcase.
25411
25412 * lisp/emacs-lisp/pcase.el (pcase--u1):
25413 Paper-over today's bootstrap failure.
25414
25415 2015-06-16 Nicolas Petton <nicolas@petton.fr>
25416
25417 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
25418
25419 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
25420
25421 Better confirmation message in `find-alternate-file' (Bug#20830)
25422 * lisp/files.el (find-alternate-file'): Improve the confirmation
25423 message to show the buffer name.
25424
25425 Better docstring for null. (Bug#20815)
25426 * src/data.c (null): Improves the docstring, saying what null returns
25427 when OBJECT is non-nil.
25428
25429 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
25430
25431 * lisp/net/newst-treeview.el: Use lexical-binding.
25432
25433 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
25434 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
25435 New auxiliary function, extracted from filepos-to-bufferpos.
25436 Make sure it terminates.
25437 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
25438 Add support for the `exact' quality.
25439
25440 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
25441
25442 Identify feeds in newsticker treeview with :nt-feed property
25443 * lisp/net/newst-treeview.el:
25444 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
25445
25446 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
25447
25448 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
25449 (pcase--self-quoting-p): Floats aren't self-quoting.
25450 (pcase): Tweak docstring.
25451 (pcase--u1): Deprecate the t pattern. Improve error detection for
25452 the nil pattern.
25453 (\`): Tweak docstring. Signal an error for unrecognized cases.
25454 (bug#20784)
25455
25456 2015-06-16 Eli Zaretskii <eliz@gnu.org>
25457
25458 Fix infloop in filepos-to-bufferpos
25459 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
25460 offset calculation, and make it conditional on the eol-type of the
25461 file's encoding. (Bug#20825)
25462
25463 2015-06-16 Martin Rudalics <rudalics@gmx.at>
25464
25465 Fix handling of image cache refcounts. (Bug#20802)
25466 This backports Eli Zaretskii's solution of this problem for W32
25467 to X and NS.
25468 * src/nsfns.m (image_cache_refcount): Define unconditionally.
25469 (unwind_create_frame): If the image cache's reference count
25470 hasn't been updated yet, do that now.
25471 (Fx_create_frame): Set image_cache_refcount unconditionally.
25472 * src/xfns.c (image_cache_refcount): Define unconditionally.
25473 (unwind_create_frame): If the image cache's reference count
25474 hasn't been updated yet, do that now.
25475 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
25476 unconditionally.
25477 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
25478 X and NS.
25479
25480 2015-06-16 Nils Ackermann <nils@ackermath.info>
25481
25482 Improve reftex-label-regexps default value
25483 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
25484 keyvals label regexp more strict to better cope with unbalanced
25485 brackets common in math documents.
25486
25487 2015-06-16 Glenn Morris <rgm@gnu.org>
25488
25489 * doc/emacs/calendar.texi (Format of Diary File):
25490 Move "nonmarking" from here...
25491 (Displaying the Diary): ... to here.
25492
25493 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
25494 Swap the order of these nodes.
25495 * doc/emacs/emacs.texi: Update detailed menu for the above change.
25496
25497 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
25498 Update date of examples.
25499 (Diary, Format of Diary File): Move example from former to latter.
25500 Reduce duplication.
25501
25502 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
25503 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
25504 Don't set no-byte-compile in the outputs.
25505 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
25506
25507 2015-06-15 Glenn Morris <rgm@gnu.org>
25508
25509 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
25510 * doc/emacs/calendar.texi (Diary, Format of Diary File):
25511 Update for above diary-file change.
25512
25513 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
25514 (apply-macro-to-region-lines): Use user-error.
25515
25516 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
25517 (pages-directory-for-addresses): Doc fixes.
25518
25519 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
25520
25521 * lisp/info.el: Cleanup bytepos/charpos issues
25522 * lisp/international/mule-util.el: Use lexical-binding.
25523 (filepos-to-bufferpos): New function.
25524 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
25525 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
25526 (Info-read-subfile, Info-search): Use 0-based file positions.
25527
25528 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
25529 (perl--syntax-exp-intro-keywords): New var.
25530 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
25531 (bug#20800).
25532
25533 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
25534
25535 Fix quoting when making derived mode docstring
25536 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
25537 Nest regexp-quote inside format, not the reverse.
25538 Problem reported by Artur Malabarba in:
25539 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
25540
25541 2015-06-15 Eli Zaretskii <eliz@gnu.org>
25542
25543 Fix current-iso639-language on MS-Windows
25544 * lisp/international/mule-cmds.el (set-locale-environment):
25545 Downcase the locale name before interning it. This is so the
25546 'current-iso639-language' on MS-Windows matches the ':lang'
25547 property of font-spec objects.
25548
25549 Limit Symbola usage some more
25550 * lisp/international/fontset.el (setup-default-fontset): Limit
25551 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
25552 (Bug#20727)
25553
25554 2015-06-15 Nicolas Petton <nicolas@petton.fr>
25555
25556 * lisp/emacs-lisp/map.el (map-let): Better docstring.
25557
25558 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
25559
25560 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
25561 (help-fns-test-funny-names): Spelling fixes.
25562
25563 2015-06-14 Glenn Morris <rgm@gnu.org>
25564
25565 * lisp/version.el (emacs-repository-version-git): Demote errors.
25566 Check result is a hash.
25567
25568 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
25569
25570 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
25571 Catch errors that happen before going async. (Bug#20809)
25572
25573 2015-06-14 Eli Zaretskii <eliz@gnu.org>
25574
25575 Another improvement of documentation of set-fontset-font
25576 * doc/lispref/display.texi (Fontsets): Say explicitly that
25577 CHARACTER can be a single codepoint.
25578 * src/fontset.c (Fset_fontset_font): Doc fix.
25579
25580 Another improvement for symbol and punctuation characters
25581 * lisp/international/fontset.el (setup-default-fontset): Exclude
25582 from Symbola character ranges for symbols and punctuation covered
25583 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
25584 installed and where its coverage of symbols and punctuation is
25585 known to be good. (Bug#20727)
25586
25587 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
25588
25589 Some generic support for multi-mode indentation.
25590 * lisp/progmodes/prog-mode.el (prog-indentation-context):
25591 New variable.
25592 (prog-first-column, prog-widen): New convenience functions.
25593
25594 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
25595
25596 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
25597 Don't assume that `tabulated-list-printer' will leave point at the
25598 end of the buffer. (Bug#20810)
25599
25600 2015-06-13 Glenn Morris <rgm@gnu.org>
25601
25602 Tweaks for getting repository version; a bit more like it was for bzr
25603 * lisp/version.el (emacs-repository-version-git)
25604 (emacs-repository--version-git-1): New functions,
25605 split from emacs-repository-get-version.
25606 (emacs-repository-get-version): Make the second argument meaningful.
25607
25608 * lisp/startup.el (command-line-1): Inform if skipping relative
25609 file names due to deleted PWD.
25610
25611 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
25612 when starup directory is missing. (Bug#18851)
25613 (errno.h): Include it.
25614
25615 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
25616
25617 Better fix for documenting `X as "`X"
25618 Fix suggested by Stefan Monnier.
25619 * lisp/help-fns.el (help-fns--signature):
25620 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
25621 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
25622 Don't treat `X specially, as help-fns--signature now handles this.
25623
25624 2015-06-13 Eli Zaretskii <eliz@gnu.org>
25625
25626 Improve the default fontset when Symbola is not installed
25627 * lisp/international/fontset.el (setup-default-fontset): Only
25628 prepend Symbola and FreeMono font specs for symbols and
25629 punctuation; do not replace the default spec for them. This
25630 should have better results when Symbola/FreeMono are not
25631 installed. (Bug#20727)
25632
25633 Improve documentation of ':lang' in font specs
25634 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
25635 use of the ':lang' property of the font spec.
25636 * doc/emacs/frames.texi (Fonts): Document the language names that
25637 can be in the STYLE part of XLFD.
25638 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
25639 property.
25640
25641 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
25642
25643 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
25644
25645 Revert last change in fontset.el
25646 * lisp/international/fontset.el (setup-default-fontset): Revert
25647 the change "Configure Symbola font only if installed", since font
25648 search is evidently not yet set up when this function is called.
25649 (Bug#20727)
25650
25651 2015-06-12 Glenn Morris <rgm@gnu.org>
25652
25653 Ensure early startup warnings are visible at the end. (Bug#20792)
25654 * lisp/emacs-lisp/warnings.el (display-warning):
25655 If startup isn't complete, delay the warning.
25656 * lisp/startup.el (normal-top-level, command-line):
25657 Let display-warning automatically handle the needed delays.
25658 Run delayed-warnings-hook.
25659
25660 * lisp/version.el (emacs-repository-get-version):
25661 Avoid calling external executable if possible. (Bug#20799)
25662
25663 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
25664
25665 Document `X as "`X", not as "(` X)"
25666 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
25667 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
25668
25669 * src/print.c (print_object): Minor simplification.
25670
25671 2015-06-12 Glenn Morris <rgm@gnu.org>
25672
25673 * src/buffer.c (init_buffer): Add final newline to message.
25674
25675 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
25676
25677 Configure Symbola font only if installed
25678 * lisp/international/fontset.el (setup-default-fontset):
25679 Don't specify the Symbola font if it's not installed.
25680 Likewise for FreeMono. (Bug#20727)
25681
25682 2015-06-12 Eli Zaretskii <eliz@gnu.org>
25683
25684 Configure Symbola font only for symbols and punctuation
25685 * lisp/international/fontset.el (setup-default-fontset): Leave
25686 only symbols and punctuation in the fontset setup for Symbola
25687 font; remove "Greek and Coptic" and "Cyrillic Supplement".
25688 (Bug#20798)
25689
25690 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
25691
25692 Fix crash in fontset-info
25693 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
25694 non-nil.
25695
25696 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
25697
25698 Port to Solaris 10 sparc + Sun C 5.13
25699 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
25700 Adjust to process.c change.
25701 * src/process.c (create_process): Declare volatile variables at
25702 top level of this function, so that they're less likely to be
25703 reused later in the function in the code executed by the vforked
25704 child. Do not declare locals used only in the vforked child, as
25705 they might share memory with locals still live in the parent.
25706 Instead, use the same variables in the child as in the parent.
25707 This works around a subtle bug that causes a garbage collector
25708 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
25709
25710 2015-06-12 Glenn Morris <rgm@gnu.org>
25711
25712 * lisp/startup.el (normal-top-level): Don't let *Messages* get
25713 a nil default-directory.
25714
25715 2015-06-11 Glenn Morris <rgm@gnu.org>
25716
25717 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
25718
25719 Some progress towards starting with PWD deleted. (Bug#18851)
25720 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
25721 * lisp/startup.el (normal-top-level, command-line-1):
25722 * lisp/minibuffer.el (read-file-name-default):
25723 Handle default-directory being nil.
25724
25725 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
25726
25727 Fix "not a tty" bug on Solaris 10
25728 * configure.ac (PTY_OPEN): Define to plain 'open'
25729 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
25730 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
25731 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
25732 hosts that call grantpt which does its work via a setuid subcommand
25733 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
25734 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
25735 seems relevant in that case too.
25736
25737 2015-06-11 Juri Linkov <juri@linkov.net>
25738
25739 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
25740 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
25741 (Bug#20785)
25742
25743 2015-06-11 Glenn Morris <rgm@gnu.org>
25744
25745 * lisp/international/characters.el (char-script-table): Fix typo.
25746
25747 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
25748
25749 Fix quoting of help for functions with odd names
25750 While investigating Bug#20759, I discovered other quoting problems:
25751 C-h f mishandled characters like backslash and quote in function names.
25752 This fix changes the behavior so that 'C-h f pcase RET' now
25753 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
25754 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
25755 in src/lread.c's read1 function says that the backslash will be
25756 needed starting in Emacs 25, which implies that 'format' is
25757 correct and the old pcase documention was wrong to omit the backslash.
25758 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
25759 * lisp/help-fns.el (help-fns--signature):
25760 * lisp/help.el (help-add-fundoc-usage):
25761 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
25762 Use help--make-usage-docstring rather than formatting
25763 help-make-usage.
25764 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
25765 Return raw docstring.
25766 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
25767 raw docstring. Take more care to distinguish raw from cooked dstrings.
25768 (describe-function-1): Let help-fns--signature substitute
25769 command keys.
25770 * lisp/help.el (help--docstring-quote): New function.
25771 (help-split-fundoc): Use it, to quote funny characters more
25772 systematically.
25773 (help--make-usage): Rename from help-make-usage, since this
25774 should be private. Leave an obsolete alias for the old name.
25775 (help--make-usage-docstring): New function.
25776 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
25777
25778 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
25779
25780 * lisp/thingatpt.el (in-string-p): Revert last change,
25781 since in-string-p is not used in thingatpt.el but only from outside.
25782 Also, use lexical binding.
25783
25784 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
25785
25786 * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
25787 * test/automated/let-alist.el (let-alist-cons): Test it.
25788
25789 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
25790
25791 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
25792
25793 2015-06-10 Glenn Morris <rgm@gnu.org>
25794
25795 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
25796
25797 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
25798 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
25799 * admin/gitmerge.el (gitmerge-commit-message):
25800 Exclude "skipped" messages from ChangeLog once again.
25801
25802 Slight namespace cleanup for thingatpt.el.
25803 * lisp/thingatpt.el (thing-at-point--in-string-p)
25804 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
25805 (thing-at-point--read-from-whole-string): Rename from
25806 old versions without "thing-at-point--" prefix.
25807 Keep old versions as obsolete aliases. Update all uses.
25808
25809 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
25810 Move requiring of finder from here...
25811 (checkdoc-package-keywords): ... to here.
25812
25813 Use 'user-error' in a few calendar files.
25814 * lisp/calendar/appt.el (appt-add):
25815 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
25816 (calendar-generate):
25817 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
25818 Replace 'error' with 'user-error'.
25819
25820 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
25821
25822 * lisp/files-x.el (add-file-local-variable):
25823 Special-case 'lexical-binding'. (Bug#20641)
25824
25825 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
25826 No longer autoload.
25827 * doc/misc/autotype.texi (Executables):
25828 Undocument executable-self-display.
25829
25830 * lisp/progmodes/executable.el (executable-self-display):
25831 Use non-obsolete tail syntax. (Bug#20779)
25832 (executable-self-display): Doc update.
25833
25834 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
25835
25836 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
25837 (finder-known-keywords): Silence byte-compiler.
25838
25839 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
25840
25841 * lisp/simple.el (eval-expression): Macroexpand before evaluating
25842 (bug#20730).
25843
25844 * lisp/progmodes/sh-script.el: Better handle nested quotes.
25845 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
25846 (sh-font-lock-quoted-subshell): Make sure double quotes within single
25847 quotes don't mistakenly end prematurely the surrounding string.
25848
25849 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
25850
25851 2015-06-09 Glenn Morris <rgm@gnu.org>
25852
25853 * test/automated/Makefile.in (ELFILES): Sort.
25854
25855 * Makefile.in (SUBDIR_MAKEFILES):
25856 * lwlib/Makefile.in (WARN_CFLAGS):
25857 Use built-in Make functions rather than echo+sed.
25858
25859 2015-06-09 Eli Zaretskii <eliz@gnu.org>
25860
25861 Update char-script-table
25862 * lisp/international/characters.el (char-script-table): Update
25863 from Unicode 8.0 Draft.
25864
25865 Improve font selection for punctuation and other symbols
25866 * src/fontset.c (face_for_char): If the character's script is
25867 'symbol', and the font used for ASCII face has a glyph for it, use
25868 the font for the ASCII face instead of searching the fontsets.
25869 This comes instead of NS-specific code that used the current
25870 face's font instead, which is now disabled due to undesirable
25871 consequences. (Bug#20727)
25872
25873 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
25874
25875 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
25876 Skip past `#' to find BEG (bug#20771).
25877 * test/automated/elisp-mode-tests.el
25878 (elisp-completes-functions-after-hash-quote): New test.
25879
25880 2015-06-08 Eli Zaretskii <eliz@gnu.org>
25881
25882 Fix compilation warning/error in --without-x builds
25883 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
25884 code on HAVE_WINDOW_SYSTEM.
25885
25886 Improve the default fontset wrt symbols
25887 * lisp/international/fontset.el (setup-default-fontset): Better
25888 setup of fontset-default for symbols: use Symbola and FreeMono.
25889 (Bug#20727)
25890
25891 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
25892
25893 Add new command checkdoc-package-keywords
25894 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
25895 New defcustom.
25896 (checkdoc-list-of-strings-p): Add doc.
25897 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
25898 non-nil, call `checkdoc-package-keywords'.
25899 (checkdoc-get-keywords): New defun.
25900 (checkdoc-package-keywords): New command. Warns if the current file
25901 has package.el-style keywords that aren't in `finder-known-keywords'.
25902 * etc/NEWS: Add entry.
25903
25904 2015-06-08 Eli Zaretskii <eliz@gnu.org>
25905
25906 Avoid crashes when key-binding is called from a timer
25907 * src/keymap.c (Fkey_binding): Don't segfault if called with an
25908 empty vector as KEY. (Bug#20705)
25909
25910 Fix a thinko in arc-mode.el
25911 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
25912 non-Zip64 case. (Bug#20769)
25913
25914 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
25915
25916 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
25917
25918 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
25919
25920 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
25921 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
25922 "*warn*", print the warning to the standard output. (bug#20754)
25923
25924 2015-06-07 Glenn Morris <rgm@gnu.org>
25925
25926 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
25927
25928 * src/font.c (syms_of_font) <font-log>: Doc fix.
25929
25930 Remove the obsolete leading "*" from some C doc strings.
25931 * src/coding.c (syms_of_coding):
25932 * src/font.c (syms_of_font): Remove leading "*" from docs.
25933 * lisp/cus-start.el (enable-character-translation): Add it.
25934
25935 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
25936
25937 Move gen_origin from program to data
25938 That way, 'make change-history' needs to change only ChangeLog.2,
25939 instead of having to change two files.
25940 * ChangeLog.2: Add commit info for range that this file covers.
25941 * Makefile.in (new_commit_regexp): New macro.
25942 (change-history-nocommit): Simplify, by putting what used to be
25943 the gen_origin value into the data (ChangeLog.2) rather than
25944 into the program (gitlog-to-emacslog).
25945 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
25946 the input file (e.g., ChangeLog.2) rather than by having a
25947 constant in the program. Substitute it into the output.
25948
25949 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
25950
25951 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
25952 function name (bug#20759).
25953
25954 2015-06-07 Eli Zaretskii <eliz@gnu.org>
25955
25956 Adapt 'struct timespec' to next release of MinGW runtime
25957 * nt/inc/ms-w32.h (struct timespec): Don't declare if
25958 __struct_timespec_defined is defined.
25959
25960 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
25961
25962 Merge from gnulib
25963 This incorporates:
25964 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
25965 2015-06-05 stdio: Don't redefine gets when using C++
25966 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
25967 2015-06-02 file-has-acl: fix build on Mac OS X 10
25968 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
25969 2015-06-01 pthread_sigmask: discount system version if a simple macro
25970 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
25971 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
25972 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
25973 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
25974 * lib/gnulib.mk: Regenerate.
25975
25976 2015-06-06 Juri Linkov <juri@linkov.net>
25977
25978 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
25979 before calling grep-compute-defaults because now it affects the
25980 command lines computed in grep-compute-defaults. (Bug#20728)
25981
25982 2015-06-06 Glenn Morris <rgm@gnu.org>
25983
25984 Address some compilation warnings.
25985 * lisp/international/mule-cmds.el (w32-get-console-codepage)
25986 (w32-get-console-output-codepage):
25987 * lisp/progmodes/elisp-mode.el (xref-collect-references):
25988 * lisp/version.el (cairo-version-string): Declare.
25989 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
25990
25991 2015-06-06 Eli Zaretskii <eliz@gnu.org>
25992
25993 Fix display when a font claims large values of ascent and descent
25994 This fixes bug#20628.
25995 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
25996 coordinate of a hollow cursor glyph when the original glyph's
25997 ascent is too small.
25998 (get_font_ascent_descent, normal_char_ascent_descent)
25999 (normal_char_height): New functions.
26000 (handle_single_display_spec, append_space_for_newline)
26001 (calc_pixel_width_or_height, produce_stretch_glyph)
26002 (calc_line_height_property): Use normal_char_ascent_descent and
26003 normal_char_height.
26004 (x_produce_glyphs): When font-global values of ascent and descent
26005 are too large, use per-character glyph metrics instead, if
26006 possible. But don't allow the glyph row's ascent and descent
26007 values become smaller than the values from the metrics of the
26008 font's "normal" character.
26009 * src/xftfont.c (xftfont_draw):
26010 * src/w32font.c (w32font_draw): Correct the values of ascent and
26011 descent used to draw glyphless characters' hex code in a box.
26012 * src/xterm.c (x_draw_glyph_string_background):
26013 * src/xdisp.c (x_produce_glyphs):
26014 * src/w32term.c (x_draw_glyph_string_background):
26015 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
26016 to detect fonts whose global ascent and descent values are too
26017 large to be used in layout decision, and redraw the background
26018 when that happens.
26019 * src/dispextern.h (FONT_TOO_HIGH): New macro.
26020 (get_font_ascent_descent): Add prototype.
26021 * src/xterm.c (x_new_font):
26022 * src/w32term.c (x_new_font):
26023 * src/nsterm.m (x_new_font):
26024 * src/font.c (font_open_entity):
26025 * src/composite.c (composition_gstring_width):
26026 Use get_font_ascent_descent to obtain reasonable values for ascent
26027 and descent of a font.
26028
26029 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
26030
26031 Add assertion in adjust_point_for_property
26032 * src/keyboard.c (adjust_point_for_property): Add eassert for
26033 current buffer being shown in selected window.
26034
26035 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
26036
26037 Replace uses of in-string-p; make it obsolete
26038 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
26039 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
26040
26041 2015-06-06 Eli Zaretskii <eliz@gnu.org>
26042
26043 Fix Dired display of an explicit list of files by ls-lisp.el
26044 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
26045 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
26046 correct for when displaying individual files separately, not as
26047 part of listing a directory, in which case these values are not
26048 recomputed by 'ls-lisp-insert-directory', but used verbatim.
26049
26050 * lisp/dired.el (dired): Doc fix. (Bug#20739)
26051
26052 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
26053
26054 Do not adjust point in a non-selected window
26055 * src/keyboard.c (command_loop_1): Do not adjust point when
26056 current buffer is not shown in selected window (Bug#20590).
26057
26058 * etc/DEBUG: Mention 'maybe_call_debugger'
26059
26060 2015-06-05 Nicolas Petton <nicolas@petton.fr>
26061
26062 Fix a unit test for map.el
26063 * test/automated/map-tests.el (test-map-let): Fix the test to work
26064 with the new syntax of `map-let'.
26065
26066 * lisp/emacs-lisp/map.el (map-let): Better docstring.
26067
26068 Better syntax for the map pcase pattern
26069 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
26070 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
26071
26072 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
26073
26074 Fix a byte-compiler error in map-put and map-delete
26075 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
26076 called with a symbol.
26077
26078 2015-06-05 Glenn Morris <rgm@gnu.org>
26079
26080 * admin/gitmerge.el (gitmerge-commit-message):
26081 Revert to including "skipped" messages in ChangeLog once again.
26082
26083 2015-06-05 Tassilo Horn <tsdh@gnu.org>
26084
26085 Use string> instead of equiv lambda with string<
26086 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
26087 lambda with string<.
26088
26089 2015-06-05 Glenn Morris <rgm@gnu.org>
26090
26091 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
26092 (map--delete-array): Fix typo.
26093
26094 * test/automated/map-tests.el: Replace "assert" with "should".
26095
26096 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
26097 (SUBDIRS_REL): Derive from SUBDIRS.
26098
26099 Tweak some build messages.
26100 * lisp/Makefile.in ($(lisp)/loaddefs.el):
26101 * lisp/cus-dep.el (custom-make-dependencies):
26102 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
26103 * lisp/international/titdic-cnv.el (batch-titdic-convert):
26104 Don't say how to compile.
26105
26106 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
26107
26108 Omit U+0332 COMBINING LOW LINE in previous change
26109 It turns out that it does not work on Ubuntu 15.04.
26110
26111 Fix transliteration of Bahá'í months
26112 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
26113 Improve quality of Latin transliteration of Bahá'í month names.
26114
26115 Fix curved quotes in a few places
26116 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
26117 The strings in question are not doc strings, so this partially
26118 undoes the recent change that assumed they were doc strings.
26119 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
26120 * lisp/info.el (Info-finder-find-node):
26121 Use curved quotes.
26122 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
26123 Also allow curved quotes in doc strings.
26124
26125 2015-06-04 Glenn Morris <rgm@gnu.org>
26126
26127 * lisp/Makefile.in (AM_V_at): Add missing definition.
26128
26129 * lisp/Makefile.in: Quieten output a bit.
26130 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
26131 Don't echo directories, since the commands we invoke print them.
26132
26133 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
26134 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
26135 (SUBDIRS_SUBDIRS): New variables.
26136 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
26137 Remove.
26138 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
26139 (update-subdirs, compile-main, compile-clean):
26140 Replace "setwins" usage with new "SUBDIRS" variables.
26141
26142 * lisp/vc/compare-w.el (compare-windows-get-window-function):
26143 Fix :version tag.
26144
26145 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
26146
26147 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
26148
26149 Undo removal of x_clear_area call on expose for GTK3 or cairo
26150 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
26151 Clear exposed area. (Bug#20677)
26152
26153 2015-06-04 Glenn Morris <rgm@gnu.org>
26154
26155 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
26156
26157 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
26158
26159 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
26160 Rename from quail-lao-update-translation, since lao.el defines that.
26161
26162 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
26163
26164 Handle new-style advice in find-funct
26165 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
26166 Handle new-style advice. Return the symbol's function definition.
26167 (Bug#20718)
26168 (find-function-library): Update accordingly.
26169
26170 2015-06-04 Nicolas Petton <nicolas@petton.fr>
26171
26172 Merge branch 'map'
26173
26174 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
26175
26176 Add new function string-greaterp
26177 * lisp/subr.el (string-greaterp): New function. Also aliased to
26178 `string>'.
26179 * test/automated/subr-tests.el (string-comparison-test): Add unit
26180 tests for `string>'and `string<'.
26181 * src/fns.c (string-lessp): Better docstring.
26182
26183 2015-06-04 Eli Zaretskii <eliz@gnu.org>
26184
26185 Fix timezone-related functions on MS-Windows
26186 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
26187 'xputenv', even if no reallocation of tzvalbuf was necessary.
26188 This fixes a bug in timezone-related functions on MS-Windows.
26189 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
26190
26191 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
26192
26193 Don't pass raw directory name to 'error'
26194 * lisp/files.el (basic-save-buffer-2): Avoid format error if
26195 a directory name contains a string like "%s".
26196
26197 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
26198
26199 Override 'grep --color=always'
26200 * lisp/progmodes/xref.el (xref-collect-matches):
26201 Override --color=always in grep-find-template.
26202
26203 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
26204
26205 Fix error introduced recently in file-notify-tests.el
26206 * test/automated/file-notify-tests.el
26207 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
26208 (file-notify--deftest-remote): Revert previous patch, not
26209 necessary anymore.
26210
26211 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
26212
26213 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
26214 Starting from a display string after a newline, point went to the
26215 previous line. Also, fix an inadvertent use of a buffer position
26216 with FETCH_BYTE. (Bug#20701)
26217
26218 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
26219
26220 Instrument file-notify-test.el in order to catch hydra error
26221 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
26222 Wrap body by `ignore-case', in order to trap non-local errors.
26223
26224 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
26225
26226 Undo previous changes in non-toolkit scroll bar drawing
26227 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
26228 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
26229
26230 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
26231
26232 * .gitignore: Also ignore doc/*/*/*.html and .ps.
26233
26234 Support quotes 'like this' in info files
26235 This is possible when 'makeinfo --disable-encoding' is used
26236 in Texinfo 5.
26237 * lisp/calc/calc-help.el (calc-describe-thing):
26238 * lisp/gnus/gnus-art.el (gnus-button-alist):
26239 * lisp/info.el (Info-find-index-name):
26240 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
26241 Also support quotes 'like this'.
26242 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
26243 * lisp/finder.el (finder-font-lock-keywords): Remove var that
26244 hasn't been used in years, instead of bothering to fix its quoting.
26245
26246 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
26247
26248 * .gitignore: Remove !test/etags/html-src/*.html.
26249 It's no longer needed, since *.html was removed. Sort.
26250
26251 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
26252
26253 Restore <D> instead of '.' in grep-find-template
26254 * lisp/cedet/semantic/symref/grep.el
26255 (semantic-symref-grep-use-template): Update a comment.
26256 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
26257 instead of '.' in grep-find-template (bug#20719).
26258 (rgrep): Pass nil as the directory to rgrep-default-command.
26259 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
26260 default value for DIR.
26261 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
26262 workaround.
26263
26264 2015-06-02 Glenn Morris <rgm@gnu.org>
26265
26266 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
26267
26268 * configure.ac (emacs_config_features): Add Cairo.
26269
26270 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
26271
26272 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
26273
26274 Ensure that autorevert works for remote files in file-notify-tests.el
26275 * test/automated/file-notify-tests.el (file-notify--test-desc):
26276 New defvar.
26277 (file-notify--test-remote-enabled)
26278 (file-notify-test00-availability, file-notify-test01-add-watch)
26279 (file-notify-test02-events): Use it.
26280 (file-notify--test-event-test): Check proper descriptor.
26281 (file-notify-test03-autorevert): Ensure that
26282 `visited-file-modtime' has changed. (Bug#20392)
26283
26284 2015-06-02 Nicolas Petton <nicolas@petton.fr>
26285
26286 Add a pcase pattern for maps and `map-let' based on it
26287 * lisp/emacs-lisp/map.el (map-let): New macro.
26288 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
26289 * test/automated/map-tests.el: New test for `map-let'.
26290
26291 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
26292
26293 Reuse rgrep mechanics in xref-find-regexp
26294 * lisp/progmodes/grep.el (rgrep-default-command):
26295 Extract from `rgrep'.
26296 * lisp/progmodes/xref.el (xref-collect-references): Split from
26297 `xref-collect-matches'. Only handle the case of symbol search.
26298 (xref-collect-matches): Instead of Semantic Symref, use
26299 `rgrep-default-command', to take advantage of its directory and
26300 file ignore settings.
26301 (xref--collect-match): Remove the last argument, leaving the
26302 regexp construction up to the caller.
26303 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
26304 Change to take the xref-collect- function to use as an argument.
26305 (elisp-xref-find): Update accordingly.
26306 * lisp/progmodes/etags.el (etags--xref-find-matches)
26307 (etags-xref-find): Same.
26308
26309 Move xref-elisp-location to elisp-mode.el
26310 * lisp/progmodes/xref.el (xref-elisp-location)
26311 (xref-make-elisp-location, xref-location-marker): Remove here.
26312 (xref--xref): Don't limit the type of the location slot.
26313 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
26314 Define as a cl-struct here.
26315 (xref-location-marker): Move here.
26316
26317 2015-06-02 Eli Zaretskii <eliz@gnu.org>
26318
26319 Minor tweaks for .gitignore
26320 * .gitignore: Don't ignore versioned *.html and *.ps files.
26321 Don't ignore admin/notes/tags that might be ignored as TAGS
26322 on case-insensitive filesystems. (Bug#20710)
26323
26324 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
26325
26326 Generate curved quotes in ert doc
26327 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
26328 (ert-results-mode-menu)
26329 (ert-results-pop-to-backtrace-for-test-at-point)
26330 (ert-results-pop-to-messages-for-test-at-point)
26331 (ert-results-pop-to-should-forms-for-test-at-point)
26332 (ert-describe-test):
26333 Quote ‘like this’, not `like this', when generating doc strings
26334 and the like.
26335 * test/automated/ert-x-tests.el (ert-test-describe-test):
26336 Allow quoting ‘like this’.
26337
26338 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
26339
26340 Add test for previous commit
26341 * test/automated/replace-tests.el: New file.
26342 (query-replace--split-string-tests): Add test for previous commit.
26343
26344 Avoid confusion in query-replace history when replacing NUL chars
26345 * lisp/replace.el (query-replace--split-string): New function.
26346 (query-replace-read-from): Rely on the 'separator' property
26347 instead of searching for the NUL character (Bug#20690).
26348
26349 2015-06-02 Glenn Morris <rgm@gnu.org>
26350
26351 Merge from origin/emacs-24
26352 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
26353
26354 * admin/gitmerge.el (gitmerge-commit-message):
26355 Exclude "skipped" messages from ChangeLog.
26356
26357 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
26358
26359 Sync with Tramp repository
26360 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
26361 messages.
26362 (tramp-handle-make-auto-save-file-name): When calling
26363 `make-auto-save-file-name' internally, make sure it uses Unix-like
26364 behavior, not Windows-like behavior.
26365 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
26366 the local case, because "chown" might fail on w32.
26367 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
26368 for XEmacs.
26369
26370 2015-06-01 Eli Zaretskii <eliz@gnu.org>
26371
26372 MS-Windows followup for batch stdout/stderr output changes
26373 * lisp/international/mule-cmds.el (set-locale-environment):
26374 In batch mode, use console codepages for keyboard and terminal
26375 encoding. (Bug#20545)
26376
26377 Update .gitattributes for DOS EOL files
26378 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
26379 CRLF end-of-line format.
26380
26381 NS equivalents of xterm.c and w32term.c changes
26382 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
26383 glyph string background also when the font in use claims
26384 preposterously large global height value. Helps to remove
26385 artifacts left from previous displays when glyphless characters
26386 are displayed as hex code in a box.
26387 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
26388 value for FRAME_LINE_HEIGHT, even when a font claims very large
26389 value for its height.
26390
26391 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
26392
26393 Avoid grave accent quoting in stderr diagnostics
26394 A few Emacs diagnostics go directly to stderr, and so can't easily
26395 contain curved quotes (as non-UTF-8 locales might mishandle them).
26396 Instead of bothering to add support for this rarity, reword the
26397 diagnostics so that they don't use grave accent to quote.
26398 * src/alloc.c (mark_memory): Fix comment.
26399 * src/buffer.c (init_buffer):
26400 * src/dispnew.c (init_display):
26401 * src/emacs.c (main, sort_args):
26402 * src/lread.c (dir_warning):
26403 * src/term.c (init_tty):
26404 * src/unexmacosx.c (unexec):
26405 * src/xfns.c (select_visual):
26406 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
26407 Reword stderr diagnostics to avoid quoting `like this'.
26408 * src/unexmacosx.c: Include errno.h.
26409 * src/xfns.c (select_visual): Encode value for locale.
26410
26411 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
26412
26413 Treat batch stdout/stderr like standard display
26414 Calls like (print FOO) could generate improperly encoded or
26415 hard-to-read output if FOO contains characters outside the system
26416 locale. Fix this by treating batch stdout and stderr like
26417 interactive standard display, when it comes to transliterating and
26418 encoding characters (Bug#20545).
26419 * doc/emacs/mule.texi (Communication Coding):
26420 * doc/lispref/display.texi (Active Display Table):
26421 * doc/lispref/nonascii.texi (Locales):
26422 * etc/NEWS:
26423 * src/coding.c (syms_of_coding):
26424 * src/dispnew.c (syms_of_display):
26425 Document this.
26426 * src/print.c: Include disptab.h.
26427 (printchar_to_stream): New function, with much of the guts of the
26428 old Fexternal_debugging_output, except this one also uses the
26429 standard display table.
26430 (printchar, strout, Fexternal_debugging_output): Use it.
26431
26432 2015-05-31 Glenn Morris <rgm@gnu.org>
26433
26434 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
26435
26436 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
26437
26438 Remove DEFSYMs that aren't used at the C level. Also:
26439 * src/decompress.c (Qzlib_dll):
26440 * src/font.c (Qunicode_sip):
26441 * src/frame.c (Qtip_frame):
26442 * src/ftfont.c (Qserif):
26443 * src/gnutls.c (Qgnutls_dll):
26444 * src/xml.c (Qlibxml2_dll):
26445 Move from here ...
26446 * src/w32fns.c (syms_of_w32fns): ... to here,
26447 as these are used only on MS-Windows.
26448
26449 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
26450
26451 Use another default value for tramp-histfile-override
26452 * lisp/net/tramp-sh.el (tramp-histfile-override):
26453 Use ".tramp_history" as default.
26454 Fixes bug#20446
26455
26456 2015-05-29 Nicolas Petton <nicolas@petton.fr>
26457
26458 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
26459
26460 2015-05-16 Nicolas Petton <nicolas@petton.fr>
26461
26462 * etc/NEWS: Add an entry about map.el.
26463
26464 Improve the docstring of functions in map.el
26465 Since a map is not a data structure but a concept, adding information
26466 about the possible types of maps can be useful information.
26467 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
26468 each public function.
26469
26470 2015-04-29 Nicolas Petton <nicolas@petton.fr>
26471
26472 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
26473 specific tests depending on the type of the map.
26474
26475 * lisp/emacs-lisp/map.el: Better docstrings.
26476
26477 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
26478
26479 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
26480
26481 2015-04-25 Nicolas Petton <nicolas@petton.fr>
26482
26483 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
26484
26485 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
26486
26487 Fix a false negative in `map-elt' with alists and values being nil
26488 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
26489 found but its associated value is nil, do not return the default
26490 value.
26491 * test/automated/map-tests.el: Add a regression test.
26492
26493 2015-04-24 Nicolas Petton <nicolas@petton.fr>
26494
26495 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
26496
26497 Do not signal an error when trying to delete a key from an array
26498 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
26499 the key is present to avoid signaling an error.
26500 * test/automated/map-tests.el: Add a test for deleting non-existing
26501 keys from maps.
26502
26503 * lisp/emacs-lisp/map.el: Better docstring.
26504
26505 Minor improvement in map-elt
26506 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
26507 doing a lookup in arrays, but check the boundaries of the array
26508 instead.
26509 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
26510 and a negative integer as key.
26511
26512 2015-04-21 Nicolas Petton <nicolas@petton.fr>
26513
26514 * test/automated/map-tests.el: Refactoring of test methods.
26515
26516 * test/automated/map-tests.el: Renamed from map-test.el.
26517
26518 2015-04-18 Nicolas Petton <nicolas@petton.fr>
26519
26520 * lisp/emacs-lisp/map.el (map-into): Better error message.
26521
26522 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
26523
26524 Throw an error when converting a map into an unknown map type
26525 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
26526 not valid.
26527 * test/automated/map-tests.el: Add a regression test.
26528
26529 New library map.el similar to seq.el but for mapping data structures.
26530 * test/automated/map-tests.el: New file.
26531 * lisp/emacs-lisp/map.el: New file.
26532
26533 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
26534
26535 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
26536 there's no explicit tag name (bug#20629).
26537
26538 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
26539
26540 Remove format2
26541 * src/editfns.c, src/lisp.h (format2): Remove.
26542 It is more trouble than it's worth, now that we have CALLN.
26543 This is just a minor refactoring.
26544 * src/buffer.c (Fkill_buffer):
26545 * src/dbusbind.c (XD_OBJECT_TO_STRING):
26546 * src/fileio.c (barf_or_query_if_file_exists):
26547 Adjust to format2 going away.
26548
26549 Don't misencode C-generated messages
26550 Also, be more consistent about calls to 'Fmessage' vs 'message'.
26551 * src/alloc.c (Fgc_status):
26552 Prefer AUTO_STRING to build_string for Fmessage call.
26553 * src/data.c (Fmake_variable_buffer_local)
26554 (Fmake_local_variable, Fmake_variable_frame_local):
26555 * src/doc.c (store_function_docstring):
26556 Use Fmessage, not message, since the argument can contain
26557 non-ASCII characters, and this can cause the resulting message
26558 to be incorrectly encoded for the current environment.
26559 * src/fns.c (maybe_resize_hash_table):
26560 * src/xselect.c (x_clipboard_manager_save_all):
26561 Use message, not Fmessage, since Fmessage's power isn't needed here.
26562 * src/process.c (Fmake_network_process): Reword message to avoid %s.
26563 * src/xdisp.c (vmessage): Document restrictions on message contents.
26564 (message_nolog) [false]: Remove unused code.
26565
26566 Use \r rather than ^M in string literals
26567 This is less likely to cause problems on platforms that
26568 use CRLF (or CR!) termination for lines.
26569
26570 Update .gitattributes to match current sources
26571 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
26572 * .gitattributes: Accommodate tests that insist on DOS format.
26573 Remove test/automated/data/decompress/foo-gzipped.
26574 Add etc/e/eterm-color.
26575
26576 2015-05-30 Eli Zaretskii <eliz@gnu.org>
26577
26578 * doc/emacs/mule.texi (Modifying Fontsets):
26579 Document face-ignored-fonts. (Bug#20628)
26580
26581 Add etags test for the new -Q option
26582 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
26583 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
26584 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
26585 test-case changes below.
26586 * test/etags/ETAGS.good_6: New file.
26587 * test/etags/cp-src/x.cc: New file.
26588 * test/etags/Makefile (CPSRC): Add x.cc.
26589 (check): Add one more test, for -Q.
26590
26591 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
26592
26593 Use list for the tags completion table, not obarray
26594 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
26595 list instead of an obarray
26596 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
26597 (tags-completion-table): Combine those lists.
26598 (tags-completion-table): Update the docstring.
26599
26600 2015-05-30 Eli Zaretskii <eliz@gnu.org>
26601
26602 Restore EOL format testing in etags
26603 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
26604 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
26605 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
26606 test-case changes below.
26607 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
26608 * test/etags/cp-src/c.C (B): Add back stray CR character.
26609 * test/etags/c-src/dostorture.c: Add back.
26610 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
26611
26612 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
26613
26614 Declare Emacs on MS-Windows to be DPI-aware
26615 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
26616 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
26617 This avoids Windows entering compatibility mode for Emacs,
26618 which causes fonts to look less nice.
26619
26620 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
26621
26622 Improve Tramp traces
26623 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
26624 * lisp/net/tramp.el (tramp-debug-message): Use it.
26625
26626 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
26627
26628 backup-buffer minor reworking of internals
26629 * lisp/files.el (backup-buffer): Rework to avoid a couple of
26630 unused locals inadvertently introduced in the previous change.
26631
26632 backup-buffer now reports .emacs.d/%backup% ills
26633 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
26634 fails due to disk space exhaustion or whatever, do not pretend
26635 that it succeeded. More generally, do a better job of checking
26636 for I/O failures, and limit the scope of the condition-case to
26637 just the operations where file errors should be caught and ignored
26638 (Bug#20595). Also, don't bother trying to delete later backups if
26639 an earlier deletion fails, as this is a sign of trouble and it's
26640 better to stop when there's trouble.
26641
26642 copy-file now truncates output after writing
26643 * src/fileio.c (Fcopy_file): Truncate output after writing rather
26644 than before. This is more likely to work than truncation before
26645 writing, if the file system is out of space or the user is over
26646 disk quota (Bug#20595). Also, check for read errors.
26647
26648 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
26649
26650 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
26651 Don't load descriptors from directories above the package directories.
26652
26653 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
26654
26655 Merge from gnulib
26656 This incorporates the following (Bug#20681):
26657 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
26658 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
26659 * lib/set-permissions.c: Copy from gnulib.
26660
26661 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
26662
26663 Improve Tramp traces
26664 * lisp/net/tramp.el (tramp-call-process-region): New defun.
26665 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
26666
26667 2015-05-29 Glenn Morris <rgm@gnu.org>
26668
26669 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
26670
26671 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
26672
26673 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
26674 The signature was changed in the cairo branch, merged on 2015-05-23.
26675 This oversight broke compiling only the non-toolkit X version.
26676
26677 2015-05-29 Samer Masterson <samer@samertm.com>
26678
26679 * doc/lispref/os.texi: Update initial-buffer-choice docs.
26680
26681 2015-05-29 Glenn Morris <rgm@gnu.org>
26682
26683 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
26684 Mark as an expected failure.
26685
26686 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
26687
26688 Change package test to look for curved quotes
26689 * test/automated/package-test.el (package-test-describe-package)
26690 (package-test-signed): Search for curved single quotes as well as
26691 for grave accent and apostrophe.
26692
26693 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
26694
26695 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
26696 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
26697
26698 2015-05-28 Samer Masterson <samer@samertm.com>
26699
26700 Show files when `initial-buffer-choice' is non-nil
26701 * lisp/startup.el (command-line-1): When Emacs is given a file as an
26702 argument and `initial-buffer-choice' is non-nil, display both the file
26703 and `initial-buffer-choice'. For more than one file, show
26704 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
26705 commands out of the command line arg parser.
26706 (initial-buffer-choice): Clarify docstring.
26707
26708 2015-05-28 Eli Zaretskii <eliz@gnu.org>
26709
26710 Fix last commit
26711 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
26712 (gnulib module qcopy-acl): Add back, as it is harmless. This
26713 minimizes differences wrt lib/gnulib.mk.
26714
26715 Fix the MS-Windows build as followup to gnulib update
26716 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
26717 set-permissions.c, as they don't compile on MinGW.
26718 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
26719
26720 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
26721
26722 Revert my change to gnus-art.el
26723 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
26724 It wasn't that important, and it caused a Gnus build to fail. See:
26725 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
26726
26727 New minor mode Electric Quote
26728 This lets you easily insert quotes ‘like this’ by typing
26729 quotes `like this', and similarly you can easily insert
26730 quotes “like this” by typing quotes ``like this'' (Bug#20545).
26731 * doc/emacs/basic.texi (Inserting Text):
26732 * doc/emacs/modes.texi (Minor Modes):
26733 * etc/NEWS: Document it.
26734 * doc/emacs/text.texi (Quotation Marks): New section.
26735 * lisp/electric.el (electric-quote-comment)
26736 (electric-quote-string, electric-quote-paragraph):
26737 New custom vars.
26738 (electric--insertable-p)
26739 (electric-quote-post-self-insert-function): New functions.
26740 (electric-quote-mode, electric-quote-local-mode): New minor modes.
26741 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
26742 Add curved single quotes to electric-pair-text-pairs.
26743 Set electric-quote-string in this buffer.
26744
26745 A few more doc string fixes (Bug#20385)
26746
26747 Accept curved quotes in doc strings
26748 * lisp/info-look.el (info-lookup-guess-custom-symbol):
26749 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
26750
26751 Generate curved quotes in pseudo-info nodes
26752 * lisp/info.el (Info-virtual-index-find-node)
26753 (Info-virtual-index, Info-apropos-find-node, info-apropos):
26754 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
26755
26756 Fix minor quoting problems in doc strings
26757 Most of these fixes involve escaping grave accents that are
26758 actually intended to be grave accents, not left quotes.
26759 (Bug#20385)
26760
26761 Support curved quotes in doc strings
26762 Emacs's traditional doc string style has been to quote symbols
26763 `like this'. This worked well on now-obsolete terminals where
26764 ` and ' were symmetric quotes, but nowadays curved quotes
26765 ‘like this’ look better. Support quoting the new way too.
26766 (Bug#20385)
26767 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
26768 ‘like-this’ as well as `like-this'.
26769 * etc/NEWS: Mention this.
26770 * lisp/cedet/mode-local.el (overload-docstring-extension)
26771 (mode-local-print-binding, mode-local-describe-bindings-2):
26772 * lisp/cus-theme.el (describe-theme-1):
26773 * lisp/descr-text.el (describe-text-properties-1, describe-char):
26774 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
26775 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
26776 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
26777 (eieio-help-constructor):
26778 * lisp/emacs-lisp/package.el (describe-package-1):
26779 * lisp/faces.el (describe-face):
26780 * lisp/help-fns.el (help-fns--key-bindings)
26781 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
26782 (help-fns--interactive-only, describe-function-1):
26783 (describe-variable):
26784 * lisp/help.el (describe-mode):
26785 * lisp/international/mule-cmds.el (describe-input-method)
26786 (describe-language-environment):
26787 * lisp/international/mule-diag.el (describe-character-set)
26788 (print-coding-system-briefly, list-input-methods)
26789 (list-input-methods-1):
26790 Insert curved quotes rather than grave accent and apostrophe.
26791 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
26792 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
26793 (checkdoc-proper-noun-region-engine):
26794 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
26795 (lisp-cl-font-lock-keywords-2):
26796 * lisp/finder.el (finder-font-lock-keywords):
26797 * lisp/gnus/gnus-art.el (gnus-button-alist):
26798 * lisp/help-fns.el (help-do-arg-highlight)
26799 (describe-function-1, describe-variable):
26800 * lisp/help-mode.el (help-xref-symbol-regexp)
26801 (help-xref-info-regexp, help-xref-url-regexp):
26802 * lisp/help.el (describe-mode):
26803 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
26804 * lisp/wid-edit.el (widget-documentation-link-regexp):
26805 Parse symbols quoted ‘like-this’ as well as `like-this'.
26806 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
26807 Add "‘" and "’" to electric-pair-text-pairs.
26808 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
26809 (elisp-completion-at-point, elisp--preceding-sexp):
26810 Also treat "‘" and "’" as quoting chars.
26811
26812 substitute-command-keys now curves quotes
26813 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
26814 * doc/lispref/help.texi (Keys in Documentation):
26815 * etc/NEWS: Document this.
26816 * src/doc.c (Fsubstitute_command_keys): Implement it.
26817
26818 2015-05-28 Glenn Morris <rgm@gnu.org>
26819
26820 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
26821 (rmail-summary-by-topic, rmail-summary-by-senders):
26822 No longer strip leading/trailing whitespace.
26823
26824 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
26825 (f90-no-block-limit): Add "enum". (Bug#20680)
26826 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
26827 New tests.
26828
26829 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
26830
26831 * lisp/isearch.el (isearch--current-buffer): Give a default value.
26832 Un-revert changes mistakenly dropped by f9fabb2b.
26833
26834 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
26835
26836 Merge from gnulib
26837 This incorporates:
26838 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
26839 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
26840 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
26841 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
26842 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
26843 2015-05-26 stdio: fix probe on mingw under gcc 5.1
26844 * admin/merge-gnulib (GNULIB_MODULES):
26845 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
26846 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
26847 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
26848 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
26849 Get latest versions from gnulib.
26850 * lib/get-permissions.c, lib/set-permissions.c: New files.
26851 * lib/gnulib.mk, m4/gnulib-comp.m4:
26852 Regenerate.
26853 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
26854
26855 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
26856
26857 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
26858 process here.
26859 (vc-do-command): Rather than here (bug#20608).
26860
26861 2015-05-27 Ivan Shmakov <ivan@siamics.net>
26862
26863 Avoid gratuitous delete-dups in face-at-point
26864 * lisp/faces.el (face-at-point): Do not compute the properly
26865 ordered, duplicate-free list if only a single value is
26866 requested anyway. (Bug#20519)
26867
26868 Show the exact C-x 8 RET invocation in describe-char
26869 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
26870 invocation instead of a template. (Bug#20522)
26871
26872 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
26873
26874 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
26875 (package-menu--post-refresh): Call `tabulated-list-print' with the
26876 UPDATE argument. This only affects the refresh action, the revert
26877 action still erases tags.
26878 (package-menu-get-status): Change `assq' to `assoc'.
26879 (package-menu--mark-upgrades-1): New function.
26880 (package-menu--mark-upgrades-pending): New variable.
26881 (package-menu-mark-upgrades): Use them to delay marking until
26882 after refresh is done.
26883 (package-menu--post-refresh): Call mark-upgrades-1 if
26884 mark-upgrades-pending is non-nil.
26885
26886 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
26887
26888 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
26889 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
26890 (commit 3953c4be2816537be95520605d45b866dc731f4b).
26891
26892 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
26893
26894 * lisp/isearch.el (isearch--current-buffer): New var.
26895 (isearch-update): Set cursor-sensor-inhibit here.
26896 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
26897 (bug#20532).
26898
26899 Change inhibit-point-motion-hooks to t
26900 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
26901 to t and document it as obsolete.
26902
26903 2015-05-27 Eli Zaretskii <eliz@gnu.org>
26904
26905 Support ZIP files that use Zip64 extensions
26906 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
26907 format of central directory offsets used by Zip64 extensions.
26908 (Bug#20665)
26909
26910 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
26911
26912 New test tramp-test30-make-auto-save-file-name
26913 * test/automated/tramp-tests.el
26914 (tramp-test30-make-auto-save-file-name): New test.
26915 (tramp-test31-special-characters)
26916 (tramp-test31-special-characters-with-stat)
26917 (tramp-test31-special-characters-with-perl)
26918 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
26919 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
26920 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
26921 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
26922
26923 Improve tramp-handle-make-auto-save-file-name
26924 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
26925 (tramp-handle-make-auto-save-file-name): Let native
26926 `make-auto-save-file-name' use `auto-save-file-name-transforms',
26927 if `tramp-auto-save-directory' is not set.
26928
26929 2015-05-27 Glenn Morris <rgm@gnu.org>
26930
26931 No longer set dired-directory in eshell. (Bug#16477)
26932 * lisp/eshell/esh-mode.el (eshell-mode):
26933 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
26934
26935 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
26936
26937 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
26938 * lisp/progmodes/cc-mode.el (c-mode-help-address):
26939 Change to submit@debbugs.
26940 (c-mode-bug-package): New constant.
26941 (mail-position-on-field): Declare.
26942 (c-submit-bug-report): Insert X-Debbugs-Package header.
26943 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
26944 Mention debbugs.gnu.org.
26945
26946 2015-05-26 Glenn Morris <rgm@gnu.org>
26947
26948 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
26949 (rmail-summary-by-recipients, rmail-summary-by-topic)
26950 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
26951 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
26952
26953 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
26954
26955 Handle curved quotes in info files
26956 * lisp/calc/calc-help.el (calc-describe-thing):
26957 * lisp/info.el (Info-find-index-name)
26958 (Info-try-follow-nearest-node, Info-fontify-node):
26959 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
26960 In info files, process quotes ‘like this’ the same way we process
26961 quotes `like this'. This catches a few places we missed earlier.
26962
26963 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
26964
26965 xref-prompt-for-identifier: Use a list value
26966 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
26967 value, to be interpreted as a list of commands.
26968 (xref--prompt-p): New function.
26969 (xref--read-identifier): Use it.
26970
26971 2015-05-26 Eli Zaretskii <eliz@gnu.org>
26972
26973 Teach MS-Windows font back-end return per-glyph ascent/descent
26974 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
26975 values.
26976 * src/w32font.c (w32font_text_extents): Compute, cache, and
26977 accumulate per-glyph ascent and descent values, instead of copying
26978 global values from the font. If the values are not available from
26979 the font data, i.e., non-TTF fonts, fall back on font-global values.
26980 (compute_metrics): Compute and return per-glyph ascent and descent
26981 values, if returned by GetGlyphOutlineW, falling back on
26982 font-global values. (Bug#20628)
26983 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
26984 height of rectangle to be drawn, to be compatible with
26985 XDrawRectangle. Fixes glyphless-char display as hex codes in a
26986 box, when per-glyph ascent/descent values are used.
26987
26988 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
26989
26990 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
26991 Don't sort if sorter is nil.
26992
26993 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
26994
26995 Fix Bug#20621
26996 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
26997 are major modes which set `auto-save-mode' on their own rules;
26998 Tramp shall not overwrite such settings.
26999
27000 2015-05-26 Glenn Morris <rgm@gnu.org>
27001
27002 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
27003 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
27004 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
27005 Doc updates.
27006 (vc-dir-mode): Remove unnecessary autoload.
27007
27008 2015-05-25 Philipp Stephani <phst@google.com>
27009
27010 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
27011 (xterm--extra-capabilities-type): Add `getSelection'.
27012 (xterm--query): Add `no-async' argument.
27013 (xterm--init-activate-get-selection): New function.
27014 (terminal-init-xterm): Use it.
27015 (xterm--init-modify-other-keys): Rename from
27016 terminal-init-xterm-modify-other-keys.
27017 (xterm--init-bracketed-paste-mode): Rename from
27018 terminal-init-xterm-bracketed-paste-mode.
27019 (xterm--init-activate-set-selection): Rename from
27020 terminal-init-xterm-activate-set-selection.
27021 (xterm--selection-char): New function.
27022 (gui-backend-set-selection): Use it. Use the &context to only apply
27023 this method in terminals where we enabled the feature.
27024 (gui-backend-get-selection): New method.
27025
27026 2015-05-25 Daniel Colascione <dancol@dancol.org>
27027
27028 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
27029 keyword constants to C++.
27030
27031 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
27032
27033 Make TAGS files more portable to MS-Windows
27034 * etc/NEWS: Document this.
27035 * lib-src/etags.c (readline_internal) [DOS_NT]:
27036 Don't treat CRs differently from GNUish hosts.
27037 * lisp/progmodes/etags.el (etags-goto-tag-location):
27038 Adjust STARTPOS to account for the skipped CRs in dos-style files.
27039
27040 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
27041
27042 Improve fix of bug#20634 in tramp-sh.el
27043
27044 2015-05-25 Eli Zaretskii <eliz@gnu.org>
27045
27046 Fix a typo in last commit
27047 * lib-src/etags.c (C_entries): Fix a typo.
27048 * test/etags/ETAGS.good_1:
27049 * test/etags/ETAGS.good_2:
27050 * test/etags/ETAGS.good_3:
27051 * test/etags/ETAGS.good_4:
27052 * test/etags/ETAGS.good_5:
27053 * test/etags/CTAGS.good: Update due to the change in etags.c.
27054
27055 Fix tagging of class members in C-like OO languages
27056 * lib-src/etags.c (longopts): Add new option --class-qualify and
27057 its shorthand -Q.
27058 (print_help): Add help text for --class-qualify.
27059 (main): Add handling of -Q.
27060 (consider_token, C_entries) <omethodparm>: Append argument types
27061 to Objective C methods only if --class-qualify was specified.
27062 Qualify C++, Objective C, and Java class members with their class
27063 names only if --class-qualify was specified.
27064 (C_entries): If --class-qualify was not specified, remove the
27065 namespace and class qualifiers from tag names of C++ methods.
27066 This allows to use etags.el as xref back-end without the
27067 tag-symbol-match-p method, which greatly increases the number of
27068 potentially false positives. (Bug#20629)
27069 * doc/man/etags.1: Update to document the new --class-qualify
27070 option.
27071 * test/etags/ETAGS.good_1:
27072 * test/etags/ETAGS.good_2:
27073 * test/etags/ETAGS.good_3:
27074 * test/etags/ETAGS.good_4:
27075 * test/etags/ETAGS.good_5:
27076 * test/etags/CTAGS.good: Update due to changes in etags.c.
27077
27078 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
27079
27080 (cl-generic-define-method): Side effects are evil (bug#20644)
27081 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
27082 cons-cells that might be used as keys in an `equal' hash-table.
27083
27084 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
27085
27086 Make erc timestamps visible again
27087 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
27088 Make timestamps visible again (if requested).
27089
27090 2015-05-25 Eli Zaretskii <eliz@gnu.org>
27091
27092 Fix last change in etags.c that broke tagging compresed files
27093 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
27094 quoting of decompression shell command for MS-Windows/MS-DOS.
27095
27096 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
27097
27098 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
27099 (Bug#20639)
27100
27101 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
27102
27103 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
27104 Fix typo in "Inhibit `epa-file-handler' in Tramp"
27105 (commit 89035e247591c8d688fce922b7079881aa110f33).
27106
27107 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
27108
27109 Fix IPv6 addresses in Tramp
27110 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
27111 Add square brackets around host name.
27112
27113 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
27114
27115 Inhibit `epa-file-handler' in Tramp (Bug#20634)
27116 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
27117 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
27118 `epa-file-handler'.
27119
27120 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
27121
27122 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
27123 (pcase-let): Document the behavior in case the pattern doesn't match.
27124
27125 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
27126
27127 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
27128 (tabulated-list-print): New optional argument, UPDATE. If
27129 non-nil, the list is printed by only adding and deleting the
27130 changed entries, instead of erasing the whole buffer. This method
27131 is much faster when few or no entries have changed.
27132 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
27133 * etc/NEWS: Document it.
27134
27135 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
27136 (tabulated-list--get-sorter): New function.
27137 (tabulated-list-print): Restore window-line when remember-pos is
27138 passed and optimize away the `nreverse'.
27139
27140 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
27141
27142 Simpilify etags TEX mode scanning
27143 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
27144 Remove static vars.
27145 (TeX_commands): Deduce escapes here instead.
27146 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
27147 This removes the need for a reset_input call.
27148
27149 Improve etags I/O error reporting
27150 * lib-src/etags.c:
27151 Don't include sys/types.h and sys/stat.h; no longer needed.
27152 (infilename): New static var.
27153 (process_file_name): Don't call 'stat'. Instead, just open the
27154 file for reading and report any errors. Don't bother making
27155 a copy of the file argument; it's not needed. Be more careful to
27156 use the failing errno when reporting an error.
27157 Quote the real name better (though no perfectly)
27158 when passing it to the shell.
27159 (reset_input): New function, which reports I/O errors.
27160 All uses of 'rewind' changed to use this function.
27161 (perhaps_more_input): New function, which also checks for
27162 I/O errors. All uses of 'feof' changed to use this function.
27163 (analyze_regex): Report an error if fclose fails.
27164 (readline_internal): Report an error if getc fails.
27165 (etags_mktmp): Return an error if close fails.
27166
27167 etags.c: avoid side effects in 'if'
27168 * lib-src/etags.c (process_file_name, Perl_functions)
27169 (TEX_decode_env): Hoist side effects into previous statement.
27170
27171 .gitignore tweaks
27172 * .gitignore: Ignore all *.stamp files. Sort.
27173 Ignore [0-9]*.txt (commonly used name for git patches)
27174 and /vc-dwim-log-* (vc-dwim temporary).
27175
27176 2015-05-24 Eli Zaretskii <eliz@gnu.org>
27177
27178 Fix last change in etags.c, which failed the test suite
27179 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
27180 before the last change.
27181
27182 2015-05-23 Glenn Morris <rgm@gnu.org>
27183
27184 Remove charset map files from repository, generate in first bootstrap
27185 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
27186 (all): Create the stamp file.
27187 (extraclean): Delete the stamp file.
27188 * src/Makefile.in (lispintdir, charsets): New variables.
27189 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
27190 New rules.
27191 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
27192 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
27193 * etc/charsets/*.map: Remove from repository.
27194
27195 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
27196
27197 Cleanup etags.c to use locale-independent code
27198 Although this doesn't alter behavior (as etags doesn't use
27199 setlocale), the new version is more clearly locale-independent and
27200 the executable is a bit smaller on my platform.
27201 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
27202 Include <c-ctype.h> instead of <ctype.h>.
27203 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
27204 (begtk, midtk):
27205 Remove; no longer needed.
27206 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
27207 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
27208 c_islower, c_tolower, respectively.
27209 (notinname, begtoken, intoken, endtoken): Rewrite as functions
27210 instead of macros, and initialize the tables at compile-time
27211 rather than at run-time.
27212
27213 Put default action first in src/Makefile
27214 * src/Makefile.in (all): Put this rule before lisp.mk.
27215 That way, plain 'make' works in the src directory again.
27216
27217 2015-05-23 Glenn Morris <rgm@gnu.org>
27218
27219 * Makefile.in: Fix extraclean rule.
27220 (extraclean_dirs): New.
27221 (extraclean): Use it.
27222
27223 2015-05-23 Eli Zaretskii <eliz@gnu.org>
27224
27225 Avoid compiler warning in image.c on MS-Windows
27226 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
27227 warning in image.c.
27228
27229 2015-05-23 Glenn Morris <rgm@gnu.org>
27230
27231 Fix --without-toolkit-scroll-bars builds.
27232 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
27233 Add new argument to x_clear_area1.
27234 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
27235 Update x_clear_area arguments.
27236
27237 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
27238 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
27239 Change to included version.
27240 (LOCAL, local, totalclean): Remove.
27241 (extraclean): Delete all generated files.
27242
27243 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
27244
27245 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
27246 CVS/Entries exists.
27247
27248 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
27249
27250 * lisp/progmodes/etags.el (tags-completion-at-point-function):
27251 Don't trust the find-tag function.
27252
27253 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
27254
27255 Pacify --enable-gcc-warnings
27256 * src/frame.h (x_query_color): Remove redundant extern decl.
27257 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
27258 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
27259 (ftcrfont_text_extents, ftcrfont_draw):
27260 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
27261 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
27262 (x_ins_del_lines, frame_highlight, frame_unhighlight)
27263 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
27264 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
27265 (x_update_window_begin, x_connection_closed)
27266 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
27267 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
27268 (*x_gc_get_ext_data, x_extension_initialize)
27269 (x_cr_accumulate_data):
27270 Remove redundant static decl. Many of these GCC doesn't complain
27271 about, but we might as well clean out the duplication while we're
27272 in the neighborhood.
27273 * src/xterm.c (x_fill_trapezoid_for_relief):
27274 Remove decl of nonexistent function.
27275
27276 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
27277
27278 Replace gui-method macros with cl-generic with &context
27279 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
27280 (gui-method-declare, gui-call): Remove.
27281 (frame-creation-function): Use cl-defgeneric.
27282 (make-frame): Adjust callers.
27283 * lisp/menu-bar.el (menu-bar-edit-menu):
27284 Use gui-backend-selection-exists-p.
27285 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
27286 (gui-backend-get-selection): New cl-generic to replace
27287 gui-get-selection method.
27288 (gui-backend-set-selection): New cl-generic to replace
27289 gui-set-selection method.
27290 (gui-selection-owner-p): New cl-generic to replace
27291 gui-selection-owner-p method.
27292 (gui-backend-selection-exists-p): New cl-generic to replace
27293 gui-selection-exists-p method. Adjust all callers.
27294 * lisp/server.el (server-create-window-system-frame): Don't ignore
27295 window-system spec even when unsupported.
27296 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
27297 * lisp/startup.el (handle-args-function, window-system-initialization):
27298 Use cl-defgeneric.
27299 (command-line): Adjust calls accordingly.
27300 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
27301 a window-system-initialization method.
27302 (handle-args-function, frame-creation-function): Use cl-defmethod.
27303 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
27304 (gui-get-selection): Use cl-defmethod on the new functions instead.
27305 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
27306 a gui-backend-get-selection method.
27307 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
27308 Use cl-defmethod on the new functions instead.
27309 (msdos-window-system-initialization): Turn into
27310 a window-system-initialization method.
27311 (frame-creation-function, handle-args-function): Use cl-defmethod.
27312 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
27313 a window-system-initialization method.
27314 (handle-args-function, frame-creation-function): Use cl-defmethod.
27315 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
27316 (gui-get-selection): Use cl-defmethod on the new functions instead.
27317 * lisp/term/x-win.el (x-window-system-initialization): Turn into
27318 a window-system-initialization method.
27319 (handle-args-function, frame-creation-function): Use cl-defmethod.
27320 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
27321 (gui-get-selection): Use cl-defmethod on the new functions instead.
27322 * lisp/term/xterm.el (xterm--set-selection): Turn into
27323 a gui-backend-set-selection method.
27324 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
27325 (Fns_selection_owner_p): Remove unused arg `terminal'.
27326 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
27327
27328 2015-05-23 Eli Zaretskii <eliz@gnu.org>
27329
27330 Revert "Fix etags Bug#20629 that broke C++ support"
27331 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
27332
27333 2015-05-23 Jan D <jan.h.d@swipnet.se>
27334
27335 Fix etags Bug#20629 that broke C++ support
27336 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
27337 Revert commit from Sun May 10 (Bug#20629).
27338
27339 Merge branch 'cairo'.
27340 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
27341 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
27342
27343 Merge branch 'master' into cairo
27344
27345 Fixes to compile cairo branch without cairo
27346 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
27347 first argument.
27348 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
27349 USE_CAIRO.
27350
27351 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
27352
27353 * lisp/emacs-lisp/package.el: Always update selected-packages.
27354 (package--update-selected-packages): New function.
27355 (package-menu-execute): Use it before starting the transaction,
27356 this way the list of selected packages is updated even when the
27357 transaction fails.
27358 (package-menu--perform-transaction): Don't edit selected-packages.
27359
27360 2015-05-23 Eli Zaretskii <eliz@gnu.org>
27361
27362 Fix etags reading of compressed files
27363 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
27364 Include fcntl.h, for O_CLOEXEC.
27365 (process_file_name): Don't use 'popen', whose streams cannot be
27366 rewound. Instead, uncompress the file to a temporary file,
27367 created by 'etags_mktmp', and read from that as usual.
27368 (etags_mktmp): New function.
27369 * test/etags/ETAGS.good_1:
27370 * test/etags/ETAGS.good_2:
27371 * test/etags/ETAGS.good_3:
27372 * test/etags/ETAGS.good_4:
27373 * test/etags/ETAGS.good_5: Update to be consistent with latest
27374 changes in etags.c regarding reading compressed files.
27375
27376 Improve documentation of 'set-fontset-font'
27377 * doc/lispref/display.texi (Fontsets): Document the value of nil
27378 for the 3rd argument of 'set-fontset-font'.
27379
27380 Fix documentation of forward-line
27381 * src/cmds.c (Fforward_line): Clarify the return value if the line
27382 at end of accessible portion of the buffer has no newline.
27383 * doc/lispref/positions.texi (Text Lines): Document what happens
27384 if the line at end of accessible portion of buffer has no newline.
27385 (Bug#20587)
27386
27387 2015-05-22 Glenn Morris <rgm@gnu.org>
27388
27389 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
27390
27391 * admin/charsets/mapconv (LC_ALL): Set to C.
27392
27393 * Makefile.in: Add admin/charsets into top-level clean rules.
27394 (clean): Add admin/charsets.
27395 (maybeclean_dirs): New variable.
27396 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
27397
27398 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
27399
27400 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
27401
27402 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
27403
27404 2015-05-22 Glenn Morris <rgm@gnu.org>
27405
27406 Generate admin/charsets Makefile via configure, and make more portable
27407 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
27408 (admin/charsets/Makefile): Generate it.
27409 * admin/charsets/Makefile.in: Rename from Makefile.
27410 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
27411 New variables, set by configure.
27412 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
27413 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
27414 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
27415 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
27416 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
27417 (all): Declare PHONY.
27418 (local): New PHONY target.
27419 (map_template): New template. Use to define short PHONY aliases.
27420 (*.map): Add directory prefixes to targets and prerequisites.
27421 Respect make verbosity.
27422 (JISC6226.map): Replace non-portable sed append without newline.
27423 (install): Remove rule.
27424 (clean): Only delete temporary sedscript.
27425 (bootstrap-clean, distclean, maintainer-clean, extraclean)
27426 (totalclean): New PHONY rules.
27427 * admin/charsets/mapconv (BASE): Replace basename with expr.
27428 (FILE): Add "mapfiles" subdirectory.
27429 (AWK): New variable. Use throughout in place of "awk".
27430 (main): Use "gunzip -c" in place of "zcat".
27431 Don't leave whitespace before "p", for older sed.
27432 * admin/charsets/mapfiles/PTCP154: Add final newline,
27433 to make older sed versions happy.
27434
27435 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
27436
27437 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
27438 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
27439 (auto-revert-notify-watch-descriptor): Use defvar-local.
27440 (find-file-hook, auto-revert-tail-mode)
27441 (auto-revert-notify-add-watch): Use setq-local.
27442 (auto-revert-notify-add-watch): Don't call make-local-variable on
27443 kill-buffer-hook (bug#20601).
27444
27445 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
27446
27447 Change defgeneric so it doesn't completely redefine the function
27448 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
27449 previously defined methods.
27450 (cl-generic-define-method): Let-bind purify-flag instead of
27451 using `fset'.
27452 (cl--generic-prefill-dispatchers): Only define during compilation.
27453 (cl-method-qualifiers): Remove redundant alias.
27454 (help-fns-short-filename): Silence byte-compiler.
27455 * test/automated/cl-generic-tests.el:
27456 Adjust to new defgeneric semantics.
27457
27458 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
27459
27460 * lisp/emacs-lisp/package.el (package-menu-execute):
27461 Remove reference to remove-dups.
27462
27463 2015-05-21 kwhite <kwhite@gnu.org>
27464
27465 * lisp/erc/erc.el: Hide network/channel messages.
27466 (erc-network-hide-list, erc-channel-hide-list): New lists to define
27467 message types per network/channel.
27468 (erc-add-targets): New function to parse list of targets.
27469 (erc-hide-current-message-p): Modify to check for new targets.
27470
27471 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
27472
27473 Don't quote nil and t in doc strings
27474 This is as per "Tips for Documentation Strings" in the elisp manual.
27475 For consistency, do the same in diagnostics and comments.
27476
27477 2015-05-21 Eli Zaretskii <eliz@gnu.org>
27478
27479 Fix a minor problem with mouse-face on mode line
27480 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
27481 mouse face also if the mouse pointer hovers above mode-line glyphs
27482 that don't come from any Lisp string. (Bug#20620)
27483
27484 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
27485
27486 * lisp/emacs-lisp/package.el: Fix selected-package logic.
27487 (package-menu-execute): Mark as selected all non-upgrade packages
27488 being installed.
27489 (package-menu--perform-transaction): Don't mark anything.
27490
27491 * lisp/emacs-lisp/package.el: Mode-line progress report.
27492 (package-menu--transaction-status): New variable.
27493 (package-menu-mode, package-menu--perform-transaction): Use it.
27494
27495 * lisp/emacs-lisp/package.el: Better transaction messages.
27496 (package-menu--partition-transaction): New function.
27497 (package-menu--prompt-transaction-p, package-menu-execute):
27498 Use it.
27499 (package-menu--perform-transaction): Don't do any messaging.
27500
27501 * lisp/emacs-lisp/package.el: Revert async package transactions.
27502 (package-menu-async): Update doc.
27503 (package-install-from-archive, package-download-transaction)
27504 (package-install, package-menu--perform-transaction)
27505 (package-menu-execute): Remove asynchronous functionality.
27506
27507 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
27508
27509 Revert doc string changes to f90.el
27510 Problem reported by Glenn Morris in:
27511 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
27512 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
27513 Revert recent changes to doc strings, as it's intended that they
27514 use grave accent, not quote.
27515
27516 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
27517
27518 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
27519 Improve parameter name.
27520
27521 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
27522
27523 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
27524
27525 Don't require help-fns when not needed
27526 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
27527 * lisp/emacs-lisp/elint.el:
27528 Don't require help-fns at the top level
27529 * lisp/emacs-lisp/advice.el (ad-arglist):
27530 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
27531 Don't require help-fns. (Bug#17001)
27532
27533 2015-05-20 Eli Zaretskii <eliz@gnu.org>
27534
27535 Fix slash collapsing in etags on MS-Windows
27536 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
27537 MS-Windows code from the Posix code, and support collapsing both
27538 forward- and back-slashes on MS-Windows. Fixes a regression found
27539 by the test suite.
27540
27541 Improve documentation of glyphless-char-display
27542 * doc/lispref/display.texi (Glyphless Chars): Improve
27543 documentation of glyphless character display.
27544
27545 Fix "acronym" display of glyphless characters on w32
27546 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
27547 ignore "acronym" substitutes of 1 character for glyphless characters.
27548
27549 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
27550
27551 Add an automated test for let-when-compile
27552 * test/automated/subr-tests.el (let-when-compile): New test.
27553
27554 Add let-when-compile macro instead of using pcase-let
27555 * lisp/subr.el (let-when-compile): New let-like macro that makes its
27556 bindings known to macros like `eval-when-compile' in the body.
27557 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
27558 a `let-when-compile'. Also comment out the unused lexical var
27559 `el-kws-re'.
27560 The change greatly improves readability, while providing almost the
27561 same (even shorter) byte code: instead of pre-evaluating 10 variables,
27562 tossing them into a list, and destructuring that list a full screen
27563 page later, the variables are simply bound as they are evaluated,
27564 wrapped individually in `eval-when-compile'.
27565
27566 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
27567
27568 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
27569 (package-delete-button-action): New function.
27570 (describe-package-1): Add Delete button.
27571
27572 * lisp/emacs-lisp/package.el: Better dependency description.
27573 (package--used-elsewhere-p): New optional arg, ALL, and return
27574 package-desc objects instead of names.
27575 (package-delete): Update accordingly.
27576 (describe-package-1): Describe which packages require the package.
27577
27578 2015-05-20 Martin Rudalics <rudalics@gmx.at>
27579
27580 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
27581 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
27582 Fix doc-string.
27583
27584 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
27585 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
27586 (switch-to-buffer): If the selected window is strongly dedicated
27587 to its buffer, signal error before prompting for buffer name.
27588 Handle `switch-to-buffer-in-dedicated-window'.
27589 * doc/lispref/windows.texi (Switching Buffers):
27590 Document `switch-to-buffer-in-dedicated-window'.
27591
27592 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
27593
27594 Prefer "this" to “this” in doc strings
27595 This mostly just straightens quotes introduced in my previous patch.
27596 Suggested by Dmitry Gutov in:
27597 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
27598 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
27599 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
27600 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
27601 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
27602 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
27603 Prefer straight double quotes to curved double quotes in doc strings.
27604
27605 Fix minor quoting problems in doc strings
27606 These were glitches regardless of how or whether we tackle the
27607 problem of grave accent in doc strings.
27608 * lisp/calc/calc-aent.el (math-restore-placeholders):
27609 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
27610 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
27611 * lisp/leim/quail/hebrew.el ("hebrew-new")
27612 ("hebrew-biblical-sil"):
27613 * lisp/leim/quail/thai.el ("thai-kesmanee"):
27614 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
27615 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
27616 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
27617 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
27618 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
27619 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
27620 (semantic-tag-components):
27621 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
27622 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
27623 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
27624 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
27625 * lisp/emacs-lisp/generator.el (iter-next):
27626 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
27627 (gnus-article-mode-syntax-table):
27628 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
27629 * lisp/net/soap-client.el (soap-wsdl-get):
27630 * lisp/net/telnet.el (telnet-mode):
27631 * lisp/org/org-compat.el (org-number-sequence):
27632 * lisp/org/org.el (org-remove-highlights-with-change)
27633 (org-structure-template-alist):
27634 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
27635 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
27636 (handwrite-12pt, handwrite-13pt):
27637 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
27638 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
27639 * lisp/progmodes/verilog-mode.el (verilog-tool)
27640 (verilog-string-replace-matches, verilog-preprocess)
27641 (verilog-auto-insert-lisp, verilog-auto-insert-last):
27642 * lisp/textmodes/makeinfo.el (makeinfo-options):
27643 * src/font.c (Ffont_spec):
27644 Fix minor quoting problems in doc strings, e.g., missing quote,
27645 ``x'' where `x' was meant, etc.
27646 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
27647 Fix minor quoting problem in other string.
27648 * lisp/leim/quail/ethiopic.el ("ethiopic"):
27649 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
27650 Omit unnecessary quotes.
27651 * lisp/faces.el (set-face-attribute, set-face-underline)
27652 (set-face-inverse-video, x-create-frame-with-faces):
27653 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
27654 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
27655 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
27656 * lisp/net/tramp.el (tramp-methods):
27657 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
27658 * lisp/textmodes/artist.el (artist-ellipse-right-char)
27659 (artist-ellipse-left-char, artist-vaporize-fuzziness)
27660 (artist-spray-chars, artist-mode, artist-replace-string)
27661 (artist-put-pixel, artist-text-see-thru):
27662 * lisp/vc/ediff-util.el (ediff-submit-report):
27663 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
27664 Use double-quotes rather than TeX markup in doc strings.
27665 * lisp/skeleton.el (skeleton-pair-insert-maybe):
27666 Reword to avoid the need for grave accent and apostrophe.
27667 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
27668 Don't use grave and acute accents to quote.
27669
27670 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
27671
27672 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
27673 Silence compiler.
27674
27675 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
27676
27677 Try to port new etags tests to MS-Windows
27678 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
27679 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
27680 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
27681 Adjust to test-case changes below.
27682 * test/etags/Makefile (CSRC): Remove dostorture.c.
27683 Whatever it was trying to test, wasn't working portably.
27684 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
27685 just a line-ending problem.
27686 * test/etags/c-src/dostorture.c: Remove.
27687 * test/etags/cp-src/c.C: Remove stray CR.
27688 * test/etags/html-src/algrthms.html: Remove trailing CRs.
27689 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
27690 but if someone edits it later it should stay UTF-8-compatible.
27691
27692 2015-05-19 Eli Zaretskii <eliz@gnu.org>
27693
27694 Fix display of overlapping window-specific overlays
27695 * src/keyboard.c (adjust_point_for_property): When adjusting point
27696 due to display strings, ignore overlays that are specific to
27697 windows other than the currently selected one.
27698 * src/xdisp.c (handle_single_display_spec): If the display
27699 property comes from an overlay, arrange for buffer iteration to
27700 resume only after the end of that overlay. (Bug#20607)
27701
27702 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
27703
27704 New command icomplete-force-complete-and-exit
27705 * lisp/icomplete.el (icomplete-force-complete-and-exit):
27706 New command
27707 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
27708 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
27709 (icomplete-minibuffer-map): Bind C-j to it.
27710 (icomplete-forward-completions, icomplete-backward-completions):
27711 Mention the new command in the docstring.
27712 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
27713 Revert the previous fix for bug#17545.
27714
27715 2015-05-19 Martin Rudalics <rudalics@gmx.at>
27716
27717 Fix last commit
27718
27719 In Elisp manual explain how to override window manager positioning
27720 (Bug#20552)
27721 * doc/lispref/frames.texi (Position Parameters): Give example of
27722 how to override a window manager positioning decision.
27723
27724 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
27725 * src/frame.c (Fdelete_frame): In doc-string mention that frame
27726 can't be deleted if it has a surrogate minibuffer.
27727 * doc/lispref/frames.texi (Minibuffers and Frames)
27728 (Deleting Frames): Explain "surrogate minibuffer frames".
27729
27730 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
27731
27732 2015-05-18 Glenn Morris <rgm@gnu.org>
27733
27734 Add option to ignore commit lines matching a pattern in ChangeLog
27735 * build-aux/gitlog-to-changelog: Add --ignore-line option.
27736 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
27737
27738 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
27739
27740 Don't skip new etags tests on non-UTF-8 hosts
27741 Problem reported by Eli Zaretskii for MS-Windows.
27742 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
27743 (LC_ALL): Set to C if the current locale isn't UTF-8.
27744 (.PHONY): Remove ediff_1 thru ediff_5.
27745 (check): Always run.
27746
27747 2015-05-18 Glenn Morris <rgm@gnu.org>
27748
27749 * lisp/calculator.el (calculator-funcall):
27750 * lisp/textmodes/artist.el (artist-spray-random-points):
27751 Use standard degree/radian conversion utilities.
27752
27753 Further lisp-complete-symbol related cleanup.
27754 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
27755 Unadvertise non-functional argument. Replace obsolete alias.
27756
27757 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
27758
27759 Add a test case for Maven warning ouput
27760 * test/automated/compile-tests.el
27761 (compile-tests--test-regexps-data): Add a case for Maven warning
27762 ouput.
27763 (compile--test-error-line): Check the compilation message type, if
27764 it's specified in the test data.
27765
27766 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
27767
27768 Update Maven compilation-mode entry to distinguish warnings
27769 * lisp/progmodes/compile.el
27770 (compilation-error-regexp-alist-alist): Update Maven entry to
27771 distinguish warnings (bug#20556).
27772
27773 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
27774
27775 * test/automated/sgml-mode-tests.el: New file.
27776
27777 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
27778
27779 Improve handling of the first Git revision
27780 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
27781 there's no next entry, delete until the end of the buffer.
27782 (log-view-end-of-defun-1): Stop at eob.
27783 * lisp/vc/vc-annotate.el
27784 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
27785 when previous-revision is nil.
27786 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
27787 with `--' to avoid ambiguity.
27788 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
27789 returned revision string.
27790 (vc-git-annotate-time): Expect `^' before the first revision.
27791 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
27792 REV1 is nil, and REV2 is not.
27793 * lisp/vc/vc.el: Update the description of the `diff' function.
27794
27795 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
27796
27797 Allow checkdoc to be called in batch
27798 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
27799 is non-nil, echo the error with `warn'.
27800 How it can be used in -batch:
27801 (with-current-buffer (find-file "checkdoc.el")
27802 (checkdoc-current-buffer t))
27803
27804 2015-05-18 Glenn Morris <rgm@gnu.org>
27805
27806 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
27807
27808 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
27809
27810 * admin/notes/unicode: New section "binary files".
27811
27812 Change new etags test to use UTF-8 encoding
27813 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
27814 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
27815 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
27816 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
27817 * test/etags/html-src/softwarelibero.html:
27818 Switch to UTF-8 encoding.
27819 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
27820 Remove Makefile, as it's too incestuous to have the test input
27821 include the build procedure.
27822 (UTF8_LOCALE, UTF_ENCODING): New macros.
27823 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
27824 (check): Skip if not UTF-8.
27825 (.PHONY): New rule.
27826 (FRC): Remove, as superseded by .PHONY. All uses removed.
27827 (regexfile): Prefer printf to echo when outputting oddball chars.
27828 (.PRECIOUS): Remove, as these files are not built.
27829
27830 Rename 'foo-gzipped' to 'foo.gz'
27831 * test/automated/data/decompress/foo.gz:
27832 Rename from test/automated/data/decompress/foo-gzipped,
27833 to make it easier for other tools to tell that it's compressed.
27834 * test/automated/zlib-tests.el (zlib--decompress):
27835 Adjust to renamed file.
27836
27837 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
27838
27839 Set up default-directory
27840 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
27841 binding for `v'.
27842 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
27843 appropriate value for default-directory.
27844
27845 2015-05-17 Samer Masterson <samer@samertm.com>
27846
27847 * lisp/eshell/em-term.el (eshell-term-sentinel):
27848 No-op by default, only kills term buffer if
27849 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
27850 (eshell-destroy-buffer-when-process-dies): New custom to preserve
27851 previous behavior.
27852
27853 eshell: Introduce new buffer syntax
27854 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
27855 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
27856 needed (Bug#19319).
27857 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
27858 (eshell-get-target): Remove shorthand-specific code.
27859 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
27860 '#<buffer-name>'.
27861
27862 2015-05-17 Jan D <jan.h.d@swipnet.se>
27863
27864 Merge branch 'master' into cairo
27865
27866 2015-04-26 Jan D <jan.h.d@swipnet.se>
27867
27868 Merge branch 'master' into cairo
27869
27870 Add PBM support for cairo
27871 * src/image.c (xcolor_to_argb32): New function.
27872 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
27873 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
27874 XImagePtr if ! USE_CAIRO.
27875 (pbm_load): Add cairo support.
27876
27877 2015-04-12 Jan D <jan.h.d@swipnet.se>
27878
27879 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
27880 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
27881 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
27882 x_free_cr_resources.
27883
27884 Handle specified bg in images. Use generic libpng code for PNGs.
27885 * src/image.c (get_spec_bg_or_alpha_as_argb)
27886 (create_cairo_image_surface): New functions when USE_CAIRO.
27887 (xpm_load): Call the above functions. Handle XPM without mask
27888 when USE_CAIRO.
27889 (png_load_body): Handle USE_CAIRO case.
27890 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
27891 instead.
27892 (jpeg_load_body): Call create_cairo_image_surface.
27893 (gif_load, svg_load_image): Handle specified background, call
27894 create_cairo_image_surface.
27895 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
27896
27897 2015-04-11 Jan D <jan.h.d@swipnet.se>
27898
27899 Support GIF and TIFF with cairo
27900 * configure.ac: Allow jpeg with cairo.
27901 Allow tiff and gif with cairo.
27902 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
27903 (tiff_load): Create cairo image surface if USE_CAIRO.
27904 (gif_load): Ditto.
27905
27906 Support JPEG with USE_CAIRO
27907 * configure.ac: Allow jpeg with cairo.
27908 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
27909
27910 2015-04-05 Jan D <jan.h.d@swipnet.se>
27911
27912 Support RSVG and cairo
27913 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
27914 * src/dispextern.h (struct image): Add cr_data2 if cairo.
27915 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
27916 (x_clear_image): Free cr_data and cr_data2 if set.
27917 (xpm_load): Assign data to cr_data2.
27918 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
27919
27920 2015-04-03 Jan D <jan.h.d@swipnet.se>
27921
27922 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
27923 * configure.ac (HAVE_RSVG): Move after cairo.
27924 (USE_CAIRO): Disable rsvg, don't disable Xpm.
27925 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
27926 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
27927 don't return early.
27928 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
27929 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
27930 and create a surface.
27931
27932 Tool tips for menus did not show any text.
27933 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
27934 tip frames, the geometry may be wrong.
27935
27936 Merge branch 'master' into cairo, fixes tooltips not shown.
27937
27938 Merge branch 'master' into cairo
27939
27940 Add CAIRO_CFLAGS to lwlib/Makefile.in
27941 * Makefile.in (CAIRO_CFLAGS): Add.
27942
27943 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27944
27945 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
27946
27947 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27948
27949 Draw outermost line using black relief and erase corners also for cairo.
27950 * src/xterm.c [USE_CAIRO]: Include math.h.
27951 (enum corners) [USE_CAIRO]: New enum.
27952 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
27953 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
27954 than 1, draw the outermost line using the black relief.
27955
27956 * src/xterm.c (x_fill_trapezoid_for_relief):
27957 Remove unnecessary cairo_close_path.
27958
27959 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27960
27961 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
27962
27963 * src/xterm.c (x_draw_stretch_glyph_string):
27964 Call x_reset_clip_rectangles instead of XSetClipMask.
27965
27966 Use int instead of unsigned int for width and height args.
27967 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
27968 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
27969 width and height args.
27970
27971 Modernize k&r cairo-related function declarations.
27972 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
27973 (xg_print_frames_dialog): Modernize k&r declarations.
27974 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
27975 (Fx_print_frames_dialog): Modernize k&r declarations.
27976 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
27977 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
27978 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
27979 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
27980 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
27981 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
27982 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
27983 (x_clear_area): Modernize k&r declarations.
27984
27985 Implement wave-style variant of underlining for cairo.
27986 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
27987 (x_draw_underwave) [USE_CAIRO]: Use it.
27988
27989 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
27990 instead of XFillRectangle.
27991
27992 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27993
27994 Fix fringe bitmap initialization for cairo
27995 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
27996 data for cairo image surface.
27997 * src/xterm.c (x_cr_define_fringe_bitmap):
27998 Call cairo_surface_mark_dirty.
27999
28000 2015-02-11 Jan D <jan.h.d@swipnet.se>
28001
28002 Add cairo drawing
28003 * configure.ac (with-cairo): New option.
28004 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
28005 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
28006 Output "Does Emacs use cairo?".
28007 * lisp/version.el (emacs-version): Add cairo version.
28008 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
28009 (FONT_OBJ): Add comment about ftcrfont.
28010 (ALL_CFLAGS): Add CAIRO_CFLAGS.
28011 (LIBES): Add CAIRO_LIBS.
28012 * src/dispextern.h (struct image): Add cr_data for cairo.
28013 (x_cr_init_fringe): Declare.
28014 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
28015 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
28016 * src/fringe.c (x_cr_init_fringe): New function name that shares code
28017 with w32_init_fringe.
28018 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
28019 * src/ftfont.c (ftfont_info_size); New global variable.
28020 (ftfont_open2): New extern function almost the same as old ftfont_open,
28021 but takes the font_object as argument.
28022 (ftfont_open): Build font object and call ftfont_open2.
28023 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
28024 * src/gtkutil.c (xg_clear_under_internal_border)
28025 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
28026 Only queue_draw if not cairo. Change args to x_clear_area.
28027 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
28028 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
28029 (xg_print_frames_dialog): New functions for printing.
28030 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
28031 (xg_print_frames_dialog): Declare.
28032 * src/image.c: Add defined (USE_CAIRO) for PNG.
28033 Add !defined USE_CAIRO for W32 PNG code.
28034 (x_clear_image): If cairo, destroy the surface in cr_data.
28035 (png_load): Add new cairo compatible implementation.
28036 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
28037 * src/xfns.c: New section Printing.
28038 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
28039 (x-print-frames-dialog): New printing functions.
28040 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
28041 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
28042 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
28043 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
28044 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
28045 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
28046 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
28047 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
28048 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
28049 Declare.
28050 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
28051 (max_fringe_bmp, fringe_bmp): New variables.
28052 (x_gc_get_ext_data, x_extension_initialize)
28053 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
28054 (x_set_cr_source_with_gc_foreground)
28055 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
28056 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
28057 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
28058 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
28059 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
28060 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
28061 (x_update_begin): Create cairo surface if needed.
28062 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
28063 (x_update_end): Paint cairo drawing surface to xlib surface.
28064 (x_clear_under_internal_border, x_after_update_window_line): Adjust
28065 arguments to x_clear_area.
28066 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
28067 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
28068 of XSetClipMask.
28069 (x_set_glyph_string_clipping)
28070 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
28071 instead of XSetClipRectangles.
28072 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
28073 Use x_fill_rectangle instead of XFillRectangle.
28074 (x_draw_glyph_string_foreground)
28075 (x_draw_composite_glyph_string_foreground)
28076 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
28077 instead of XDrawRectangle.
28078 (x_draw_relief_rect): Add code for USE_CAIRO.
28079 Call x_reset_clip_rectangles instead of XSetClipMask.
28080 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
28081 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
28082 instead of XSetClipMask.
28083 (x_draw_image_foreground, x_draw_image_foreground_1):
28084 x_draw_rectangle instead of XDrawRectangle.
28085 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
28086 XFillRectangle.
28087 (x_draw_image_glyph_string): If img has cr_data, use it as
28088 a cairo surface.
28089 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
28090 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
28091 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
28092 x_reset_clip_rectangles instead of XSetClipMask.
28093 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
28094 (x_clear_area1): New function that calls XClearArea.
28095 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
28096 non-cairo.
28097 (x_clear_frame): x_clear_window instead of XClearWindow.
28098 (x_scroll_run): Set frame garbaged if cairo.
28099 (XTmouse_position): Initialize *part to 0.
28100 (x_scroll_bar_create): Adjust arguments to x_clear_area.
28101 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
28102 x_fill_rectangle instead of XFillRectangle.
28103 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
28104 arguments to x_clear_area.
28105 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
28106 (handle_one_xevent): Adjust arguments to x_clear_area.
28107 Destroy cairo surface for frame if ConfigureNotify.
28108 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
28109 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
28110 x_reset_clip_rectangles instead of XSetClipMask.
28111 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
28112 x_reset_clip_rectangles instead of XSetClipMask.
28113 (x_clear_frame_area): Adjust arguments to x_clear_area.
28114 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
28115 (x_term_init): Call x_extension_initialize if cairo.
28116 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
28117 x_cr_destroy_fringe_bitmap for cairo.
28118 (x_initialize): Call x_cr_init_fringe for cairo.
28119 * src/xterm.h: Add include of cairo header files.
28120 (x_bitmap_record): Add img if cairo.
28121 (x_gc_ext_data): New struct for cairo.
28122 (x_display_info): Add ext_codes for cairo.
28123 (x_output): Add cr_context and cr_surface for cairo.
28124 (x_clear_area): Change arguments from Display*/Window to frame pointer.
28125 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
28126 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
28127 (x_cr_draw_frame, x_cr_export_frames): Declare.
28128
28129 2015-05-17 Johan Bockgård <bojohan@gnu.org>
28130
28131 Fix integer-valued `mouse-highlight' (Bug#20590)
28132 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
28133
28134 2015-05-17 Eli Zaretskii <eliz@gnu.org>
28135
28136 MS-Windows followup for ASCIIfication of curved quotes
28137 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
28138 test for curved quotes being displayable, after switching the
28139 terminal encoding. (Bug#20545)
28140
28141 2015-05-17 Jan D <jan.h.d@swipnet.se>
28142
28143 Add comment that x_shift_glyphs_for_insert is never called
28144 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
28145 Add comment that this function is never called.
28146
28147 2015-05-16 Glenn Morris <rgm@gnu.org>
28148
28149 * src/lisp.mk: Remove from repository and generate at build-time.
28150 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
28151 (shortlisp_filter): New variable.
28152 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
28153 (distclean): Remove lisp.mk.
28154 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
28155 * lisp/loadup.el: Tweak layout to make it easier to parse.
28156 * make-dist: Do not distribute src/lisp.mk.
28157
28158 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
28159
28160 Display shorter dates in Git annotate output
28161 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
28162 format (when not overridden with vc-git-annotate-switches).
28163 (vc-git-annotate-time): Support the short format, as well as ISO
28164 8601 that has been used until now (bug#5428).
28165
28166 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
28167
28168 ASCIIfy curved quotes on displays lacking them
28169 * lisp/international/mule-cmds.el (set-locale-environment):
28170 If curved quotes don't work, display straight ASCII approximations
28171 (Bug#20545).
28172
28173 2015-05-16 Glenn Morris <rgm@gnu.org>
28174
28175 Small src/Makefile simplification
28176 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
28177 * src/Makefile.in (lisp): Derive from shortlisp.
28178 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
28179
28180 2015-05-16 Eli Zaretskii <eliz@gnu.org>
28181
28182 * lisp/help-mode.el (help-go-forward): Doc fix.
28183 (Bug#20577)
28184
28185 * doc/lispref/debugging.texi (Profiling): Improve indexing.
28186 (Bug#20576)
28187
28188 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
28189
28190 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
28191 have one fewer `not'.
28192
28193 * lisp/vc/vc-git.el (vc-git-diff-switches)
28194 (vc-git-annotate-switches, vc-git-resolve-conflicts)
28195 (vc-git-program, vc-git-root-log-format): Remove the redundant
28196 :group declarations.
28197
28198 2015-05-16 Nicolas Petton <nicolas@petton.fr>
28199
28200 Removes the predicate from lisp-complete-symbol (Bug#20456)
28201 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
28202 and remove it from the docstring.
28203
28204 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
28205
28206 Add new option vc-git-resolve-conflicts
28207 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
28208 (vc-git-find-file-hook): Add to after-save-hook only when the
28209 above is non-nil.
28210 (vc-git-resolve-when-done): Update to honor the new variable.
28211 (Bug#20292)
28212
28213 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
28214
28215 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
28216 (tabulated-list-init-header): Document new behavior.
28217 (tabulated-list-print-fake-header): Do nothing if
28218 `tabulated-list--header-string' is nil.
28219 (tabulated-list--header-string): Add a docstring.
28220 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
28221 * etc/NEWS: Document it.
28222
28223 2015-05-15 Leo Liu <sdl.web@gmail.com>
28224
28225 Revert "Fix cps--gensym"
28226 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
28227 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
28228
28229 2015-05-15 Glenn Morris <rgm@gnu.org>
28230
28231 Replace AC_SUBST_FILE in configure with include in Makefiles
28232 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
28233 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
28234 (AUTO_DEPEND): New output variable.
28235 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
28236 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
28237 (lwlib_deps_frag): Replace by conditional include.
28238 * lwlib/autodeps.mk: Remove file.
28239 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
28240 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
28241 (oldxmenu_deps_frag): Replace by conditional include.
28242 * oldXMenu/autodeps.mk: Remove file.
28243 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
28244 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
28245 (lisp_frag): Replace by an include.
28246 (deps_frag): Replace by conditional include.
28247 * src/autodeps.mk: Remove file.
28248
28249 Tweak japanese.el's loading of dependencies
28250 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
28251 * lisp/language/japanese.el: Use require rather than load.
28252 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
28253 Provide a feature.
28254 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
28255 Provide a feature in the generated file.
28256
28257 2015-05-15 Jan D <jan.h.d@swipnet.se>
28258
28259 Fix NS warnings
28260 * src/nsmenu.m (ns_popup_dialog)
28261 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
28262 * src/nsfns.m (Fx_create_frame): Remove unused variables.
28263 (Fns_read_file_name): Initialize fname, remove ret.
28264 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
28265 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
28266 Remove unused variable.
28267 (init): Add parantesis in if.
28268 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
28269
28270 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
28271
28272 Fix a enum conversion warning in macfont.m
28273 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
28274 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
28275
28276 2015-05-15 Eli Zaretskii <eliz@gnu.org>
28277
28278 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
28279 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
28280
28281 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
28282
28283 * lisp/cus-start.el: Add ns-confirm-quit.
28284
28285 Fix warnings on OSX 10.10
28286 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
28287 OSX versions.
28288 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
28289 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
28290 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
28291 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
28292 setScalesWhenResized for OSX < 10.6.
28293 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
28294 * src/nsterm.m (ns_copy_bits): New function that does not use
28295 deprecated NSCopyBits.
28296 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
28297 (runAlertPanel): New function.
28298 (applicationShouldTerminate:): Call runAlertPanel.
28299 (initFrameFromEmacs, toggleFullScreen:): Only call
28300 useOptimizedDrawing for OSX < 10.10.
28301 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
28302 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
28303 (draggingEntered:): Returns NSDragOperation.
28304 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
28305
28306 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
28307
28308 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
28309 (package--init-file-ensured): New variable.
28310 (package-initialize, package--ensure-init-file): Use it.
28311
28312 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
28313
28314 Honor :fore/background for XBM on NS (Bug#14969)
28315 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
28316 initFromXBM takes bg, fg args, remove flip arg.
28317 (ns_image_from_XBM): Add bg, fg args.
28318 * src/image.c (x_create_bitmap_from_data)
28319 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
28320 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
28321 initFromXBM. Remove flip arg.
28322 (initFromSkipXBM): Move code to initFromXBM.
28323 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
28324 Use fg, bg from args (Bug#14969). Remove if (length) section, was
28325 always false.
28326 Remove bit flipping (bitPat, swt), generated incorrect images when
28327 width/height wasn't a multiple of 8.
28328 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
28329 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
28330 remove flip arg.
28331
28332 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
28333
28334 * lisp/emacs-lisp/package.el: Be more careful with the init file.
28335 (package--ensure-init-file): Check that user-init-file is set,
28336 exists, is readable, and is writable. (Bug#20584)
28337 Also expand the docstring.
28338
28339 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
28340
28341 Sync with upstream verilog-mode revision 6232468
28342 * lisp/progmodes/verilog-mode.el
28343 (verilog-font-lock-grouping-keywords-face)
28344 (verilog-highlight-grouping-keywords): Fix use of face when
28345 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
28346 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
28347 parent is reset, bug906. Reported by Ken Schmidt.
28348 (verilog-auto-inout-module): Add fourth regexp argument to
28349 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
28350 Reported by John Tillema.
28351 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
28352 modport if signal attachment is itself a modport. Reported by
28353 Matthew Lovell.
28354 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
28355 always_comb and always_latch, bug844. Reported by Greg Hilton.
28356 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
28357 with many curly-bracket pairs, bug663.
28358 (verilog-set-auto-endcomments): Fix end comments for functions of
28359 type void, etc. Reported by Alex Reed.
28360 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
28361 caused by indent-line-to deleting tabls pre 24.5.
28362 (verilog-nameable-item-re): Fix nameable items that can have an
28363 end-identifier to include endchecker, endgroup, endprogram,
28364 endproperty, and endsequence. Reported by Alex Reed.
28365 (verilog-label-be): When auto-commenting a buffer, consider
28366 auto-comments on all known keywords (not just a subset thereof).
28367 Reported by Alex Reed.
28368 (verilog-auto-end-comment-lines-re)
28369 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
28370 Automatically comment property/endproperty blocks to match other
28371 similar blocks like sequence/endsequence, function/endfunction, etc.
28372 Reported by Alex Reed.
28373 (verilog-set-auto-endcomments): Detect the function- or task-name
28374 when auto-commenting blocks that lack an explicit portlist.
28375 Reported by Alex Reed.
28376 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
28377 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
28378 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
28379 is nil, fix indenting initial/final to match always statements,
28380 bug825. Reported by Tim Clapp.
28381 (verilog-extended-complete-re): Fix indentation of DPI-C imports
28382 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
28383 Mao and Jason Forkey.
28384 (verilog-read-decls): Fix parsing typed interfaces. Fix
28385 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
28386 Fix localparam not being ignored in AUTOINSTPARAM,
28387 bug889. Reported by Shannon Hill.
28388 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
28389 bug793. Reported by Pierre-David Pfister.
28390 (verilog-auto-arg-format, verilog-auto-arg-ports):
28391 Add verilog-auto-arg-format to support newlines in AUTOARG.
28392 Reported by Jie Xiao.
28393 (verilog-batch-execute-func): Do not batch re-auto files loaded by
28394 Local Variables. Fix printing "no changes to be saved" with
28395 verilog-batch. Reported by Dan Dever.
28396 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
28397 interface-only modules, bug721. Reported by Dean Hoyt.
28398 Author: Alex Reed <acreed4@gmail.com>
28399 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
28400 Don't treat '<keyword>:<identifier>' as the start of a labeled
28401 statement, bug905. Reported by Enzo Chi.
28402 (verilog-directive-re, verilog-compiler-directives)
28403 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
28404 directives (plus some extras) when determining indentation, bug
28405 901. Reported by Bernd Beuster.
28406 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
28407 iff expression doesn't start with word-character, bug900.
28408 (verilog-optional-signed-range-re, verilog-optional-signed-re):
28409 Fix incorrect indentation/alignment of unsigned declarations,
28410 bug897.
28411 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
28412 always constructs, bug895.
28413 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
28414 Reported by Eric Mastromarchi.
28415 (verilog-beg-of-statement): Fix indenting for some forms of
28416 constraintsm bug433. Reported by Brad Parker. Fix indentation of
28417 continued assignment incorrect if first line ends with ']', bug437.
28418 Reported by Dan Dever. Fix indention of cover inside an
28419 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
28420 blocks, bug842.
28421 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
28422 Reported by Kaushal Modi.
28423 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
28424 (verilog-backward-token): Fix indenting sensitivity lists with
28425 named events, bug840. Reed.
28426 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
28427 nil not honoring 'forever', 'foreach', and 'do' keywords.
28428
28429 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
28430
28431 Check for invalid GTK+ monitor scales
28432 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
28433 INT_MAX for too-large scales. All callers changed to assume the
28434 result is valid (Bug#20432).
28435 (xg_frame_set_char_size, xg_update_scrollbar_pos):
28436 Calculate scale only if needed.
28437 Show ASCII approximations instead.
28438
28439 2015-05-14 Eli Zaretskii <eliz@gnu.org>
28440
28441 Fix daemon crashes when linum-mode is turned on early on
28442 * src/window.c (Fwindow_end): Don't try calling display engine
28443 functions on initial-frame frame. (Bug#20565)
28444
28445 Fix selective diff browsing in Ediff
28446 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
28447 Go to the beginning of the region before searching for the
28448 ediff-regexp-focus-* regexps. (Bug#20568)
28449
28450 2015-05-14 Jan D <jan.h.d@swipnet.se>
28451
28452 Fixes bug#20142
28453 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
28454 arrive in the main loop, even for Gtk 3 (Bug#20142).
28455
28456 Don't access display after i/o error (Bug#19147).
28457 * src/xterm.c (x_connection_closed): Add third arg ioerror.
28458 If ioerror, set display to 0 (Bug#19147).
28459 (x_error_quitter): Call x_connection_closed with third arg false.
28460 (x_io_error_quitter): Call x_connection_closed with third arg true.
28461
28462 Handle GTK_SCALE, fixes Bug#20432.
28463 * src/gtkutil.c (xg_get_gdk_scale): New function.
28464 (xg_frame_set_char_size)
28465 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
28466 (xg_get_default_scrollbar_height)
28467 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
28468 when setting sizes (Bug#20432).
28469
28470 2015-05-13 Leo Liu <sdl.web@gmail.com>
28471
28472 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
28473
28474 2015-05-13 Glenn Morris <rgm@gnu.org>
28475
28476 Fix bootstrap (void function cl-member).
28477 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
28478 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
28479
28480 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
28481
28482 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
28483 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
28484 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
28485 Avoid defalias for closures which are not immutable.
28486 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
28487 the dispatchers table with various entries.
28488 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
28489 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
28490
28491 2015-05-13 Eli Zaretskii <eliz@gnu.org>
28492
28493 Improve tagging of C bindings in DEFVAR_*
28494 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
28495 from DEFVAR_*.
28496
28497 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
28498
28499 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
28500
28501 2015-05-12 Glenn Morris <rgm@gnu.org>
28502
28503 * lisp/progmodes/tcl.el (tcl-filter):
28504 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
28505
28506 Add basic VC push support
28507 * lisp/vc/vc.el (vc-push): New autoloaded command.
28508 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
28509 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
28510 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
28511 (vc-bzr-push): New.
28512 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
28513 (vc-git-pull): Reimplement using vc-git--pushpull.
28514 (vc-git-push): New.
28515 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
28516 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
28517 * doc/emacs/maintaining.texi (Pulling / Pushing):
28518 Rename from "VC Pull". Mention pushing.
28519 (VC With A Merging VCS, VC Change Log): Update xrefs.
28520 (Branches): Update menu.
28521 * doc/emacs/emacs.texi: Update menu.
28522 * etc/NEWS: Mention this.
28523
28524 2015-05-12 Nicolas Petton <nicolas@petton.fr>
28525
28526 Improve the seq pcase pattern and the `seq-let' macro
28527 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
28528 object is a sequence, and binds each element of ARGS to the
28529 corresponding element of the sequence.
28530
28531 2015-05-12 Eli Zaretskii <eliz@gnu.org>
28532
28533 Fix tags created from DEFVAR_* declarations in C
28534 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
28535 to make tags extracted from DEFVAR_* declarations more accurate.
28536
28537 Add a test suite for etags
28538 * test/etags/: New test suite, adapted from
28539 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
28540 whose original author is Francesco Potortì <pot@gnu.org>.
28541
28542 Fix tagging of symbols in C enumerations
28543 * lib-src/etags.c (consider_token): Don't tag symbols in
28544 expressions that assign values to enum constants. See
28545 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
28546 for details.
28547 (C_entries): Reset fvdef to fvnone after processing a preprocessor
28548 conditional and after a comma outside of parentheses.
28549
28550 2015-05-12 Glenn Morris <rgm@gnu.org>
28551
28552 * lisp/url/url-handlers.el (url-file-name-completion)
28553 (url-file-name-all-completions): Silence compiler.
28554
28555 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
28556
28557 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
28558
28559 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
28560
28561 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
28562 (cl--generic-mandatory-args): Remove.
28563 (cl--generic-split-args): New function.
28564 (cl-generic-define, cl--generic-lambda): Use it.
28565 (cl-generic-define-method): Use it as well, and add support for
28566 context args.
28567 (cl--generic-get-dispatcher): Handle &context dispatch.
28568 (cl--generic-cache-miss): `dispatch-arg' can now be a
28569 context expression.
28570 (cl--generic-dispatchers): Pre-fill.
28571 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
28572 New test.
28573
28574 2015-05-11 Glenn Morris <rgm@gnu.org>
28575
28576 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
28577
28578 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
28579
28580 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
28581 * lisp/term/rxvt.el: Require term/xterm.
28582 (rxvt-function-map): Use xterm-rxvt-function-map.
28583 (rxvt-standard-colors): Move before first use.
28584 (terminal-init-rxvt): Use xterm--push-map and
28585 xterm-register-default-colors.
28586 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
28587 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
28588 Move shared bindings between rxvt and xterm to it.
28589 (xterm-function-map): Use it. Move the xterm-paste binding to
28590 xterm-rxvt-function-map (bug#20444).
28591 (xterm-standard-colors): Move before first use.
28592 (xterm--push-map): New function.
28593 (xterm-register-default-colors): Take standard colors as argument.
28594 (terminal-init-xterm): Use it. Adjust call to
28595 xterm-register-default-colors.
28596
28597 2015-05-11 Glenn Morris <rgm@gnu.org>
28598
28599 * lisp/term/x-win.el: Quieten --without-x compilation.
28600 (x-own-selection-internal, x-disown-selection-internal)
28601 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
28602 Declare.
28603
28604 * Makefile.in (emacslog): Remove srcdir.
28605 (ChangeLog): Update for the above.
28606
28607 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
28608
28609 python.el: better limit for looking-back calls
28610 * lisp/progmodes/python.el (python-shell-accept-process-output):
28611 Use last comint prompt start as limit for looking-back.
28612
28613 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
28614
28615 CEDET (srecode-insert-fcn): Fix use of oref on a class
28616 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
28617 on a class. Reported by Pierre Lorenzon.
28618 (srecode-template-inserter-point): Remove declaration.
28619
28620 CEDET (srecode-create-dictionary): Avoid obsolete object name
28621 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
28622 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
28623
28624 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
28625
28626 C-x 8 shorthands for curved quotes, Euro, etc.
28627 Although C-x 8 lets you insert arbitrary Unicode characters,
28628 it's awkward to use this to insert commonly used symbols such as curved
28629 quotes, the Euro symbol, etc. This patch adds simpler sequences for
28630 characters commonly found in English text and in basic math.
28631 For example, assuming the Alt key works on your keyboard and iso-transl
28632 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
28633 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
28634 (Bug#20499)
28635 * doc/emacs/mule.texi (Unibyte Mode):
28636 A few other printing characters now work too.
28637 * etc/NEWS: Document this.
28638 * lisp/international/iso-transl.el (iso-transl-char-map):
28639 Also support the following characters:
28640 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
28641
28642 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
28643
28644 Add xref-find-regexp
28645 * lisp/progmodes/xref.el (xref-find-function): Describe the
28646 `matches' action.
28647 (xref-find-regexp): New command, using it.
28648 (xref-collect-references): Rename to xref-collect-matches.
28649 (xref--collect-reference): Rename to xref--collect-match.
28650 (xref-collect-matches, xref--collect-match): Accept new argument,
28651 KIND. Update accordingly.
28652 (xref--regexp-to-extended): New function.
28653 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
28654 `matches' action.
28655 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
28656 * lisp/progmodes/etags.el (etags-xref-find):
28657 Support the `matches' action.
28658 (etags--xref-find-matches): New function.
28659
28660 2015-05-10 Glenn Morris <rgm@gnu.org>
28661
28662 * Makefile.in: Fixes for recent change-history changes.
28663 (change-history-nocommit): Update footer regexp.
28664 Ensure output script stays executable.
28665
28666 2015-05-10 Nicolas Petton <nicolas@petton.fr>
28667
28668 New version of `seq-let' based on a pcase pattern
28669 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
28670 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
28671
28672 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
28673
28674 Add basic HTML5 tags and a template
28675 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
28676 (html-tag-alist): Add HTML5 tags.
28677 (html-tag-help): Add new tags descriptions.
28678 (html-navigational-links): Template for nav links.
28679 (html-html5-template): Template for a HTML5 page.
28680
28681 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
28682
28683 semantic/symref/grep: Don't use word boundaries
28684 * lisp/cedet/semantic/symref/grep.el
28685 (semantic-symref-perform-search): Instead of wrapping input in
28686 word boundaries, check that the characters before and after are
28687 not word constituents.
28688
28689 semantic/symref/grep: Support regexp search
28690 * lisp/cedet/semantic/symref.el
28691 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
28692 the search type is regexp.
28693 * lisp/cedet/semantic/symref/grep.el
28694 (semantic-symref-perform-search): Support the regexp search type.
28695 Pass -E to Grep when it's used.
28696
28697 semantic-symref-regexp: Allow to input an arbitrary string
28698 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
28699 Allow to input an arbitrary string interactively.
28700
28701 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
28702 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
28703 Remove tag-symbol-match-p from the default value
28704 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
28705
28706 Declare find-tag obsolete
28707 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
28708 xref-find-definitions.
28709
28710 2015-05-10 Jan D <jan.h.d@swipnet.se>
28711
28712 Draw composite string correctly (Bug#20537)
28713 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
28714 New function.
28715 (ns_draw_glyph_string): Call it.
28716
28717 2015-05-09 Eli Zaretskii <eliz@gnu.org>
28718
28719 Avoid infloop in ERC
28720 * lisp/simple.el (line-move-to-column): Ignore field boundaries
28721 while computing line beginning position. (Bug#20498)
28722
28723 2015-05-08 Glenn Morris <rgm@gnu.org>
28724
28725 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
28726 * build-aux/gitlog-to-emacslog: Check called from right directory.
28727 (srcprefix): Remove.
28728
28729 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
28730 * Makefile.in (ChangeLog): No longer pass "distprefix".
28731 * make-dist: Update "make ChangeLog" syntax for the above change.
28732
28733 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
28734 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
28735
28736 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
28737
28738 Add command-line option-parsing to gitlog-to-emacslog
28739 * build-aux/gitlog-to-emacslog: Add command-line options.
28740 By default, refuse to remove an existing output file.
28741 * Makefile.in (CHANGELOG): Update default.
28742 (ChangeLog): Do not test for existing file.
28743 (change-history-nocommit): Ensure temp file does not exist.
28744
28745 Quieten --without-x compilation
28746 * lisp/term/common-win.el: Provide a feature.
28747 * lisp/term/x-win.el (term/common-win): Require it.
28748
28749 * lisp/dired-aux.el (dired-do-print): Require lpr.
28750
28751 Quieten compilation, eg in --without-x builds
28752 * lisp/dired-aux.el (lpr-printer-switch):
28753 * lisp/frame.el (tool-bar-height):
28754 * lisp/linum.el (font-info):
28755 * lisp/window.el (font-info, overflow-newline-into-fringe)
28756 (tool-bar-height):
28757 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
28758 * lisp/gnus/gnus-util.el (iswitchb-mode):
28759 * lisp/mail/rmailmm.el (libxml-parse-html-region):
28760 * lisp/net/nsm.el (gnutls-peer-status)
28761 (gnutls-peer-status-warning-describe):
28762 * lisp/net/shr.el (libxml-parse-xml-region):
28763 * lisp/url/url-http.el (gnutls-peer-status): Declare.
28764
28765 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
28766
28767 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
28768 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
28769 `subclass' since they're never called with a class.
28770 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
28771 srecode-dictionary-child-p.
28772
28773 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
28774
28775 * lisp/help.el (help--binding-locus): Document argument POSITION.
28776 (Bug#20530)
28777
28778 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
28779
28780 Merge from gnulib
28781 * doc/misc/texinfo.tex: Get latest version.
28782
28783 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
28784
28785 ffap.el (ffap-read-file-or-url): Fix completing-read call
28786 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
28787 `completing-read' should be a symbol.
28788
28789 2015-05-08 Eli Zaretskii <eliz@gnu.org>
28790
28791 Verify file modifications by other programs
28792 * src/filelock.c (lock_file): Check whether the file was modified
28793 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
28794
28795 Fix keyboard macros that include function keys
28796 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
28797 keys in the macro before returning. (Bug#20454)
28798
28799 2015-05-08 Glenn Morris <rgm@gnu.org>
28800
28801 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
28802 "Copyright-paperwork-exempt". (Bug#20324)
28803
28804 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
28805 (log-edit-rewrite-tiny-change): New variable.
28806 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
28807 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
28808 * etc/NEWS: Mention this.
28809
28810 * lisp/calc/calc.el (math-zerop): Declare.
28811
28812 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
28813
28814 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
28815
28816 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
28817 Support the case when BINDINGS is a single tuple. (Bug#20525)
28818
28819 * etc/NEWS: Fix typo in previous commit
28820 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
28821
28822 2015-05-07 Jan D <jan.h.d@swipnet.se>
28823
28824 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
28825 Output URL to Gtk+ bug (Bug#20452).
28826
28827 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
28828
28829 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
28830
28831 * lisp/emacs-lisp/package.el: New "external" package status.
28832 An external package is any installed package that's not built-in
28833 and not from `package-user-dir', which usually means it's from an
28834 entry in `package-directory-list'. They are treated much like
28835 built-in packages, in that they cannot be through the Package Menu
28836 deleted and are not considered for upgrades.
28837 (package-desc-status): Identify if a package is installed outside
28838 `package-user-dir'.
28839 (package-menu--print-info-simple)
28840 (package-menu--status-predicate): Add support for it.
28841 * etc/NEWS: Document it.
28842
28843 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
28844
28845 * lisp/mail/rmail.el: Use lexical-binding.
28846 (rmail-bury): Remove unused var `buffer-to-bury'.
28847 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
28848 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
28849 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
28850 (rmail-insert-inbox-text): Remove unused var `movemail'.
28851 (rmail-add-mbox-headers): Remove unused var `limit'.
28852 (rmail-undelete-previous-message): Remove unused var `value'.
28853 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
28854 `resent-reply-to'.
28855 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
28856 (rmail-restore-desktop-buffer): Rename arguments.
28857
28858 2015-05-06 Glenn Morris <rgm@gnu.org>
28859
28860 * Makefile.in (change-history-commit): Add missing piece of previous.
28861
28862 Avoid unnecessary bumping of Makefile.in's timestamp
28863 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
28864 (emacslog): New variable.
28865 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
28866 (unchanged-history-files): Use $emacslog rather than Makefile.in.
28867 (change-history-nocommit): Store hash in $emacslog.
28868 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
28869 * admin/update_autogen (changelog_files): Update for the above.
28870
28871 * Makefile.in: Don't always insist on removing existing "ChangeLog".
28872 (CHANGELOG): New variable.
28873 (no-ChangeLog): Remove.
28874 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
28875 (change-history-nocommit): Use a temp file rather than insisting
28876 on deletion of any existing "ChangeLog".
28877
28878 * build-aux/gitlog-to-emacslog: Allow specification of output.
28879
28880 * admin/update_autogen: Add option to update ChangeLog.
28881 (usage): Mention -H.
28882 (changelog_flag, changelog_n, changelog_files): New variables.
28883 (main): Check for -H, and maybe run change-history-nocommit.
28884
28885 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
28886
28887 * lisp/subr.el (delete-dups): Pre-size the hashtable.
28888
28889 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
28890 cl--arglist-args is defined (bug#20517).
28891
28892 2015-05-06 Glenn Morris <rgm@gnu.org>
28893
28894 * Makefile.in (change-history-nocommit): New.
28895
28896 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
28897
28898 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
28899 timer when it is non-nil
28900 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
28901
28902 2015-05-06 Glenn Morris <rgm@gnu.org>
28903
28904 Quieten CEDET compilation
28905 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
28906 Invert fboundp test to quieten on current Emacs.
28907 * lisp/cedet/ede/config.el (ede-shell-run-something)
28908 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
28909 (semanticdb-refresh-table): Declare.
28910 (ede-preprocessor-map): Require semantic/db.
28911
28912 Quieten cc-mode compilation
28913 * lisp/progmodes/cc-awk.el (c-forward-sws):
28914 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
28915 Declare.
28916
28917 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
28918
28919 * lisp/subr.el (delete-dups): Avoid nreverse.
28920
28921 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
28922
28923 * lisp/subr.el (delete-dups): Make it destructive again.
28924
28925 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
28926
28927 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
28928
28929 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
28930
28931 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
28932 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
28933 (testcover--read): Rename from testcover-read. Change calling
28934 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
28935 is gone.
28936 (testcover-start): Use add-function. Move edebug-all-defs binding to
28937 testcover--read.
28938 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
28939 (testcover-mark): Remove unused var `item'.
28940 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
28941
28942 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
28943
28944 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
28945 use a hash table. This can result in ~500 times speed-up for typical
28946 collections of size 5000, like that of `load-library'.
28947
28948 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
28949
28950 CEDET: Avoid `oref' on classes in a few more cases
28951 * lisp/cedet/ede/generic.el (ede-find-target):
28952 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
28953 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
28954 var `prefix'.
28955
28956 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
28957 (grepflags, greppattern): Declare.
28958 (semantic-symref-perform-search): Remove unused var `pat'.
28959
28960 CEDET (srecode-compile-inserter): Avoid `oref' on classes
28961 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
28962 Avoid `oref' on classes (bug#20491).
28963 (srecode-compile-split-code): Remove unused var `key'.
28964
28965 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
28966
28967 Clean up pulse.el a little
28968 * lisp/cedet/pulse.el (pulse): Remove.
28969 (pulse-momentary-timer): Save instead of the stop time.
28970 (pulse-momentary-highlight-overlay):
28971 Call pulse-momentary-unhighlight first thing.
28972 Treat pulse-momentary-overlay as a single value, not a list.
28973 Save the created timer. Only pass the stop time to the timer.
28974 (pulse-tick): Update accordingly.
28975 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
28976 single value. Cancel the timer.
28977
28978 2015-05-06 Tassilo Horn <tsdh@gnu.org>
28979
28980 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
28981 Support the biblatex journaltitle field.
28982
28983 2015-05-05 Glenn Morris <rgm@gnu.org>
28984
28985 Minor declare-function improvement
28986 * lisp/emacs-lisp/bytecomp.el
28987 (byte-compile-macroexpand-declare-function):
28988 Handle declarations after calls. (Bug#20509)
28989
28990 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
28991
28992 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
28993
28994 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
28995
28996 Pulse using a timer
28997 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
28998 (pulse-momentary-highlight-overlay): Set up the timer instead of
28999 calling `pulse'
29000 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
29001 (pulse-tick): New function.
29002 (pulse-momentary-unhighlight): Cut off the stop time.
29003 (pulse-delay): Update the docstring WRT to not using sit-for.
29004
29005 Add semantic/symref/grep file patterns for ruby-mode
29006 * lisp/cedet/semantic/symref/grep.el
29007 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
29008 Clarify the docstring.
29009
29010 Don't require match
29011 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
29012 match. That doesn't work for every command, and some identifier
29013 completion tables are bound to be imperfect anyway.
29014
29015 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
29016
29017 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
29018 (semantic-grammar--template-expand): New function.
29019 (semantic-grammar-header, semantic-grammar-footer): Use it.
29020 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
29021 (semantic-grammar-file-regexp): Refine regexp.
29022 (semantic-grammar-eldoc-get-macro-docstring):
29023 Use elisp-get-fnsym-args-string when available.
29024 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
29025 instead of the old eldoc-* names.
29026 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
29027 from elisp-mode.el. Tweak calling convention.
29028 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
29029 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
29030 elisp--get-fnsym-args-string.
29031 (elisp--highlight-function-argument): Add `prefix' arg.
29032 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
29033 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
29034
29035 2015-05-05 Glenn Morris <rgm@gnu.org>
29036
29037 * lisp/help-fns.el (describe-function-1):
29038 Handle builtins with advertised calling conventions. (Bug#20479)
29039
29040 2015-05-05 Nicolas Petton <nicolas@petton.fr>
29041
29042 Merge branch 'seq-let'
29043
29044 Update `seq-let' documentation
29045 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
29046 with the support of `&rest'.
29047
29048 Add support for &rest in `seq-let'
29049 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
29050 in the argument list.
29051 * test/automated/seq-tests.el: Add a test for parsing and binding
29052 `&rest' in `seq-let'.
29053
29054 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
29055
29056 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
29057 Add missing increment (Bug#20467).
29058 (eieio-object-value-create): Adjust to new slots representation
29059 (Bug#20467).
29060 (eieio-object-value-create): Fix missed adjustment to new
29061 representation of slots metadata.
29062
29063 2015-05-05 Nicolas Petton <nicolas@petton.fr>
29064
29065 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
29066
29067 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
29068
29069 Work around "Attempt to modify read-only object"
29070 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
29071 elisp--xref-find-definitions, to work around "Attempt to modify
29072 read-only object" error.
29073
29074 Only skip some variables that have function counterparts
29075 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
29076 Only skip minor-mode-named variable if it's defined in a Lisp
29077 file, and it's in minor-mode-list (bug#20506).
29078 * test/automated/elisp-mode-tests.el
29079 (elisp-xref-finds-both-function-and-variable)
29080 (elisp-xref-finds-only-function-for-minor-mode): New tests.
29081
29082 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29083
29084 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
29085 previous change.
29086 (xref--insert-xrefs): Buttonize the whole line, including the
29087 number at the beginning.
29088
29089 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29090 Make sure we're inside the let bindings.
29091 * test/automated/elisp-mode-tests.el
29092 (elisp-completes-functions-after-let-bindings): New test.
29093
29094 2015-05-04 Glenn Morris <rgm@gnu.org>
29095
29096 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
29097 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
29098 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
29099 Remove outdated declarations.
29100
29101 Replace instances of "(eval-when-compile (autoload ...))"
29102 * lisp/gnus/gnus-art.el (nneething-get-file-name):
29103 Declare rather than autoload.
29104 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
29105 Remove pointless autoload.
29106 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
29107 (gnus-topic-create-topic, gnus-topic-enter-dribble):
29108 Declare rather than autoload.
29109 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
29110 (mailcap-extension-to-mime): Autoload at run-time.
29111 * lisp/gnus/mm-util.el (latin-unity-massage-name)
29112 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
29113 (latin-unity-representations-present-region):
29114 Declare rather than autoload.
29115 * lisp/gnus/mml-smime.el (epg-make-context)
29116 (epg-passphrase-callback-function): Autoload at run-time.
29117 (epg-context-set-signers, epg-context-result-for)
29118 (epg-new-signature-digest-algorithm)
29119 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
29120 (epg-sign-string, epg-encrypt-string)
29121 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
29122 (epg-configuration, epg-expand-group, epa-select-keys):
29123 Declare rather than autoload.
29124 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
29125 Autoload at run-time.
29126 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
29127 (gnus-registry-get-id-key, gnus-registry-action):
29128 Declare rather than autoload.
29129 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
29130 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
29131 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
29132 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
29133 (spam-stat-split-fancy): Remove pointless autoloads.
29134 * lisp/net/mairix.el: Load gnus-util when compiling.
29135 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
29136 (message-field-value): Declare rather than autoload.
29137 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
29138 Check gnus-alive-p is fbound.
29139 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
29140 (vm-check-for-killed-summary, vm-error-if-folder-empty)
29141 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
29142 Declare rather than autoload.
29143
29144 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
29145
29146 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
29147 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
29148
29149 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
29150
29151 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
29152
29153 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
29154 * lisp/emacs-lisp/package.el (epg-signature-status):
29155 Fix declarations.
29156
29157 * lisp/play/gametree.el (gametree-show-children-and-entry)
29158 (gametree-apply-layout, gametree-mouse-show-subtree)
29159 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
29160
29161 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
29162 Handle cl-defgeneric, cl-defmethod.
29163
29164 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29165
29166 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
29167 Highlight both type and symbol name.
29168
29169 Insert, highlight and align line numbers in xref output
29170 * lisp/progmodes/etags.el (xref-location-line): Specialize for
29171 xref-etags-location.
29172 * lisp/progmodes/xref.el (xref-location-line): New generic method.
29173 (xref-file-location): Add reader for the line slot.
29174 (xref--location-at-point): Skip to the `xref-location' property.
29175 (xref--collect-reference): Drop the line number from description.
29176 (xref--insert-xrefs): Insert, highlight and align line numbers.
29177
29178 2015-05-04 Daniel Colascione <dancol@dancol.org>
29179
29180 * lisp/simple.el (save-mark-and-excursion--save)
29181 (save-mark-and-excursion--restore): Fix previous commit
29182 (255a011f0ecf004b31c59945b10154b10fac3af1).
29183
29184 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29185
29186 Don't pulse the indentation, or the newline
29187 * lisp/cedet/pulse.el (pulse-lighten-highlight)
29188 (pulse-reset-face): Fall back to the inherited background
29189 attribute in FACE.
29190 (pulse-momentary-highlight-region): Add autoload cookie.
29191 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
29192 indentation, or the newline, if the line's non-empty
29193 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
29194
29195 2015-05-04 Daniel Colascione <dancol@dancol.org>
29196
29197 Add `save-mark-and-excursion', which has the old
29198 `save-excursion' behavior
29199 * doc/lispref/positions.texi (Excursions):
29200 Document `save-mark-and-excursion'.
29201 * lisp/font-lock.el (font-lock-fontify-block):
29202 Use `save-mark-and-excursion' instead of `save-excursion',
29203 restoring Emacs 24 behavior.
29204 * lisp/simple.el (save-mark-and-excursion--save)
29205 (save-mark-and-excursion--restore): New functions.
29206 (save-mark-and-excursion): New user macro.
29207 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
29208 in `save-excursion' documentation.
29209
29210 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29211
29212 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29213 Classify lone symbol inside let varlist as variable.
29214 * test/automated/elisp-mode-tests.el
29215 (completest-variables-in-let-bindings): New test.
29216
29217 Add xref-pulse-on-jump
29218 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
29219 Add autoload cookie.
29220 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
29221 (xref--maybe-pulse): New function.
29222 (xref-pop-marker-stack, xref--pop-to-location)
29223 (xref--display-position): Use it.
29224 (xref--location-at-point): Use back-to-indentation.
29225
29226 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
29227
29228 lisp/org/org-{macs,list}.el: Fix lexical warnings
29229 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
29230 (org-list-get-next-item, org-list-get-prev-item)
29231 (org-list-get-children): Mark unused arg `struct'.
29232 (org-list-use-alpha-bul-p): Remove unused var `bul'.
29233 (org-toggle-checkbox): Mark unused var.
29234 (org-update-checkbox-count): Remove unused var `box-num'.
29235 (org-adapt-indentation): Declare.
29236 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
29237 (org-list-send-list): Remove unused var `txt'.
29238 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
29239 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
29240 * lisp/org/org-macs.el: Use `declare'.
29241 (org-with-limited-levels): Declare dyn-bound vars.
29242
29243 2015-05-04 Eli Zaretskii <eliz@gnu.org>
29244
29245 Fix minor issues with CEDET on MS-Windows
29246 * lisp/cedet/semantic/symref/idutils.el
29247 (semantic-symref-parse-tool-output-one-line): Fix the search
29248 regexp to match MS-Windows file names with drive letters.
29249 (Bug#19468)
29250 * lisp/cedet/semantic/symref/grep.el
29251 (semantic-symref-grep-use-template): Remove "--color=always" from
29252 Grep switches on MS-Windows.
29253 (semantic-symref-grep-shell): Use shell-file-name as the default
29254 value, so this works not only on Posix platforms.
29255 (semantic-symref-perform-search): Use shell-quote-argument instead
29256 of literal '..' for portable quoting of Grep command-line
29257 argument. Use shell-command-switch instead of a literal "-c".
29258 * lisp/cedet/semantic/bovine/gcc.el
29259 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
29260 for an absolute file name in a portable way.
29261
29262 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
29263
29264 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
29265 (package-import-keyring, package-refresh-contents)
29266 (package-compute-transaction, package--save-selected-packages)
29267 (package-install-from-archive, package-delete)
29268 (package-menu--perform-transaction): Use `inhibit-message' instead.
29269 (package--compile): Set `warning-minimum-level' to :error.
29270
29271 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
29272
29273 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
29274 (terminal-init-screen): Use it (bug#20356).
29275 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
29276 (xterm--extra-capabilities-type): New const.
29277 (xterm-extra-capabilities): Use it.
29278 (xterm--version-handler): Lower the pseudo-version for `screen'.
29279
29280 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
29281
29282 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
29283 Always insert a newline at the end (to avoid mouse-face background
29284 tail at the last line).
29285
29286 elisp-completion-at-point: Prioritize being quoted over funpos
29287 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29288 Only consider function position when not inside quoted form
29289 (bug#20425).
29290 * test/automated/elisp-mode-tests.el: New file.
29291
29292 Stop vc-print-log from jumping to the top
29293 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
29294 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
29295 is not specified.
29296 (vc-incoming-outgoing-internal): Always pass nil.
29297 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
29298 call it, and don't set vc-sentinel-movepoint (bug#15322).
29299 (vc-print-root-log): Don't fetch the root working revision, nor
29300 pass it to vc-print-log-internal.
29301
29302 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
29303
29304 Fix display of keyboard layouts for right-to-left scripts
29305 * lisp/international/quail.el (quail-insert-kbd-layout):
29306 Force left-to-right paragraph direction.
29307
29308 2015-05-02 K. Handa <handa@gnu.org>
29309
29310 * src/cmds.c (internal_self_insert): When we insert spaces for
29311 padding, set point before the padding spaces, not after them.
29312
29313 2015-05-02 Nicolas Petton <nicolas@petton.fr>
29314
29315 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
29316
29317 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
29318
29319 Fix etags-xref-find for references
29320 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
29321 Use `cl-mapcan'.
29322 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
29323 directory if no tags tables are loaded (bug#19468).
29324
29325 2015-05-02 Philipp Stephani <phst@google.com>
29326
29327 Update the options in whitespace-style defcustom
29328 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
29329 `repeat' because the option is really set-like. Add missing
29330 options. Reorder options to match the order in the
29331 documentation. (Bug#20346)
29332
29333 2015-05-02 Eli Zaretskii <eliz@gnu.org>
29334
29335 Fix error diagnostics of c-macro-expand
29336 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
29337 too early if no start-marker string was found -- that generally
29338 means cpp exited abnormally, and we still want to show its error
29339 messages to the user.
29340
29341 Don't require Texinfo 5.0 for Emacs documentation
29342 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
29343 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
29344 "@codequoteundirected on", respectively, to avoid requiring
29345 Texinfo 5.x for Emacs documentation.
29346
29347 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
29348
29349 * lisp/files.el (pwd):
29350 When called with a prefix argument, insert the current default
29351 directory at point.
29352
29353 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
29354
29355 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
29356 * lisp/isearch.el (isearch-mode-map): Don't inhibit
29357 function-key-map remapping for backspace (bug#20466).
29358
29359 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
29360
29361 Implement xref-find-references in etags and elisp-mode
29362 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
29363 (elisp-xref-find): Use it.
29364 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
29365 * lisp/progmodes/xref.el (xref-collect-references):
29366 (xref--collect-reference): New functions.
29367
29368 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
29369
29370 Prefer plain characters to Texinfo circumlocutions
29371 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
29372 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
29373
29374 Fix single-quoting style in PDF manuals
29375 The PDF versions of the GNU manuals used curved single quotes to
29376 represent grave accent and apostrophe, which made it a pain to cut
29377 and paste code examples from them. Fix the PDF versions to use
29378 grave accent and apostrophe for Lisp source code, keystrokes, etc.
29379 This change does not affect the info files, nor does it affect
29380 ordinary uses of curved single quotes in PDF.
29381 * doc/emacs/docstyle.texi: New file, which specifies treatment for
29382 grave accent and apostrophe, as well as the document encoding.
29383 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
29384 * doc/lispintro/emacs-lisp-intro.texi:
29385 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
29386 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
29387 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
29388 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
29389 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
29390 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
29391 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
29392 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
29393 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
29394 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
29395 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
29396 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
29397 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
29398 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
29399 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
29400 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
29401 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
29402 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
29403 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
29404 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
29405 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
29406 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
29407 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
29408 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
29409 * doc/misc/woman.texi:
29410 Use it instead of '@documentencoding UTF-8', to lessen the need for
29411 global changes like this in the future.
29412 * doc/emacs/Makefile.in (EMACS_XTRA):
29413 * doc/lispintro/Makefile.in (srcs):
29414 * doc/lispref/Makefile.in (srcs):
29415 Add dependency on docstyle.texi.
29416 * doc/misc/Makefile.in (style): New macro.
29417 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
29418 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
29419 Use it.
29420
29421 2015-05-01 Glenn Morris <rgm@gnu.org>
29422
29423 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
29424
29425 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
29426 (help-fns--signature): Declare.
29427
29428 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
29429
29430 2015-05-01 Nicolas Petton <nicolas@petton.fr>
29431
29432 New macro seq-let, providing destructuring support to seq.el
29433 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
29434 to `cl-destructuring-bind' but works on all sequence types supported
29435 by `seq.el'. Bump version number to 1.6.
29436 * test/automated/seq-tests.el: Add tests for seq-let.
29437 * doc/lispref/sequences.texi: Add documentation for seq-let.
29438
29439 2015-05-01 Pontus Michael <m.pontus@gmail.com>
29440
29441 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
29442
29443 2015-05-01 Glenn Morris <rgm@gnu.org>
29444
29445 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
29446
29447 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
29448
29449 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
29450 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
29451 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
29452 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
29453 (Bug#20445).
29454
29455 2015-05-01 K. Handa <handa@gnu.org>
29456
29457 * lisp/international/mule-cmds.el (input-method-use-echo-area):
29458 Change :type to 'boolean.
29459
29460 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
29461
29462 Start using proportional fonts in eww by default
29463 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
29464 it seems to work well.
29465
29466 Fix links in tables in shr
29467 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
29468 makes (some) links in tables not work.
29469
29470 2015-05-01 Jan D <jan.h.d@swipnet.se>
29471
29472 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
29473
29474 2015-04-30 Glenn Morris <rgm@gnu.org>
29475
29476 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
29477 Update for 2015-02-08 change to indirect-function.
29478
29479 * lisp/term/ns-win.el (ns-get-selection-internal):
29480 Remove declaration for function deleted 2014-10-21.
29481
29482 * lisp/dom.el: Load subr-x when compiling, for when-let.
29483
29484 Silence some compilation warnings
29485 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
29486 * lisp/emulation/cua-base.el (delete-active-region):
29487 * lisp/net/net-utils.el (w32-get-console-output-codepage):
29488 * lisp/term/ns-win.el (ns-own-selection-internal)
29489 (ns-disown-selection-internal, ns-selection-owner-p)
29490 (ns-selection-exists-p, ns-get-selection):
29491 Declare for compiler.
29492
29493 Function declaration updates prompted by 'make check-declare'
29494 * lisp/emacs-lisp/package.el (lm-homepage):
29495 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
29496 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
29497 * lisp/gnus/mml.el (libxml-parse-html-region):
29498 * lisp/gnus/nnrss.el (libxml-parse-html-region):
29499 * lisp/net/eww.el (libxml-parse-html-region):
29500 * lisp/net/shr.el (libxml-parse-html-region):
29501 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
29502 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
29503 * lisp/vc/vc-git.el (vc-annotate-convert-time):
29504 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
29505 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
29506 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
29507 Update declaration.
29508
29509 Remove compatibility code for 20-year old function renaming
29510 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
29511 Make it an obsolete alias.
29512 (idlwave-shell-filter): Change all uses to comint-output-filter.
29513
29514 2015-04-30 Tassilo Horn <tsdh@gnu.org>
29515
29516 Add ace-window face config
29517 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
29518 configuration.
29519
29520 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
29521
29522 Unclutter 'make doc' output a bit
29523 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
29524 Use make subst rather than sh IFS to split target string apart.
29525 This makes 'make' output easier to follow.
29526
29527 Merge from gnulib
29528 * doc/misc/texinfo.tex: Update from gnulib.
29529
29530 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
29531
29532 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
29533 (package-menu--print-info): Obsolete.
29534 (package-menu--print-info-simple): New function.
29535 (package-menu--refresh): Use it, simplify code, and improve
29536 performance.
29537 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
29538 Tiny performance improvement.
29539
29540 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
29541
29542 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
29543
29544 Omit -Wstrict-overflow workaround in GCC 5
29545 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
29546 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
29547
29548 Merge from gnulib
29549 This incorporates:
29550 2015-04-29 extern-inline: no need for workaround in GCC 5.1
29551 2015-04-26 file-has-acl: port to CentOS 6
29552 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
29553
29554 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
29555
29556 Set next-error-* in xref--xref-buffer-mode
29557 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
29558 Set `next-error-function' and `next-error-last-buffer'.
29559 (xref--next-error-function): New function.
29560 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
29561
29562 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
29563
29564 python.el: Fix warnings on looking-back calls missing LIMIT
29565 * lisp/progmodes/python.el (python-shell-accept-process-output):
29566 Pass LIMIT arg to looking-back.
29567
29568 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
29569
29570 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
29571 (package--download-and-read-archives): Use pushnew instead of
29572 append. If something terrible happened during a previous
29573 download, simply refreshing should now make things work again.
29574
29575 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
29576
29577 Introduce etags-xref-find-definitions-tag-order
29578 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
29579 New variable.
29580 (etags--xref-find-definitions): Use it (bug#19468).
29581
29582 2015-04-29 Eli Zaretskii <eliz@gnu.org>
29583
29584 PATH- and completion-related fixes in Eshell on MS-Windows
29585 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
29586 MS-Windows, prepend "." to list of directories produced from PATH,
29587 as Windows always implicitly searches the current directory first.
29588 (eshell-force-execution): Make it have a non-nil default value on
29589 MS-Windows and MS-DOS.
29590 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
29591 eshell-force-execution is non-nil, complete on readable files and
29592 directories, not only executables. When running on MS-Windows,
29593 prepend "." to list of directories produced from PATH, as Windows
29594 always implicitly searches the current directory first.
29595
29596 2015-04-29 Sam Steingold <sds@gnu.org>
29597
29598 Bury RCIRC buffers when there is no activity
29599 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
29600 (rcirc-bury-buffers): New function.
29601 (rcirc-next-active-buffer): When there is no new activity, use
29602 `rcirc-bury-buffers' to hide all RCIRC buffers.
29603
29604 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
29605
29606 Fix DBUS query result parsing for secrets-search-items
29607 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
29608 parsing. The function assumed that return value of the
29609 SearchItems method called on a collection is a list of two lists,
29610 however this is true only when no collection is specified. GNOME
29611 had used to incorrectly return a list of two lists in both cases,
29612 but this was already fixed:
29613 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
29614 incorrect information in the secrets-search-items’ docstring.
29615 (Bug#20449)
29616
29617 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
29618
29619 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
29620 Use `inhibit-message' instead of hiding the previous message
29621 with (message nil).
29622
29623 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
29624
29625 Remove the deprecated INTERNAL_FIELD macro by expanding it
29626 * src/lisp.h (INTERNAL_FIELD): Remove.
29627 (DEFVAR_KBOARD): Modify accordingly.
29628 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
29629 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
29630 * src/buffer.c (compact_buffer): Use BVAR.
29631
29632 2015-04-29 Glenn Morris <rgm@gnu.org>
29633
29634 Replace an obsolete function alias
29635 * lisp/isearch.el (isearch-yank-x-selection):
29636 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
29637 (mouse-drag-secondary-moving):
29638 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
29639 Replace obsolete alias x-get-selection with gui-get-selection.
29640
29641 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
29642
29643 * lisp/mail/rmailsum.el: Use lexical-binding.
29644
29645 2015-04-29 Glenn Morris <rgm@gnu.org>
29646
29647 * test/automated/package-test.el (package-test-update-archives-async):
29648 Skip test on hydra.nixos.org.
29649
29650 2015-04-28 Glenn Morris <rgm@gnu.org>
29651
29652 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
29653 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
29654 (foldout-mouse-hide-or-exit): Use new names for outline functions.
29655
29656 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
29657 Update for 2014-06-26 hideif.el change.
29658
29659 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
29660 (rmail--decode-and-apply): New function.
29661 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
29662
29663 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
29664
29665 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
29666
29667 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
29668 (package-menu--refresh): Delegate obsolete-hiding to
29669 `package--remove-hidden'.
29670 (package--remove-hidden): Disregard high-priority package if it is
29671 older than the installed one.
29672
29673 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
29674
29675 Update source file encoding list
29676 Update admin/notes/unicode, along with coding system cookies in
29677 other files, so that the two match each other better.
29678 * admin/notes/unicode: lisp/language/ethio-util.el and
29679 lisp/language/ethiopic.el also use utf-8-emacs.
29680 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
29681 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
29682 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
29683 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
29684 * etc/refcards/sk-survival.tex:
29685 Add "coding: utf-8" so that this file is not mishandled in a
29686 Latin-1 or Big-5 locale.
29687 * lisp/international/robin.el, lisp/org/ox-ascii.el:
29688 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
29689 * lisp/language/ethio-util.el: Fix trailer.
29690
29691 2015-04-28 Eli Zaretskii <eliz@gnu.org>
29692
29693 Fix synchronous invocation of Ispell
29694 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
29695 value to ispell-process-directory before calling ispell-init-process.
29696 Don't call set-process-coding-system if ispell-async-processp is nil.
29697 (Bug#20448)
29698
29699 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
29700
29701 * lisp/emacs-lisp/package.el: Skip space and comments in init file
29702 (package--ensure-init-file): Insert snippet at first
29703 non-whitespace non-comments line. Respects local-vars at the top
29704 of the file.
29705
29706 2015-04-28 Glenn Morris <rgm@gnu.org>
29707
29708 * lisp/mail/rmail.el (rmail-copy-headers):
29709 Handle rmail-nonignored-headers being nil. (Bug#18878)
29710
29711 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
29712
29713 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
29714 Don't get confused by a bzrlib version mismatch warning.
29715
29716 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
29717
29718 Change default location of EUDC options file
29719 * etc/NEWS: Document change to EUDC options file's default location.
29720 * lisp/net/eudc-vars.el (eudc-options-file): Use
29721 `locate-user-emacs-file' to change default options file location.
29722
29723 2015-04-27 Glenn Morris <rgm@gnu.org>
29724
29725 * test/automated/package-test.el (package-test-update-archives-async):
29726 Try to handle the test server script dying.
29727
29728 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
29729
29730 * lisp/saveplace.el (save-place-mode): New minor mode.
29731 (save-place): Redefine as an obsolete alias.
29732
29733 * lisp/midnight.el: Make it a minor mode. Allow predicates.
29734 * lisp/midnight.el: Use lexical-binding.
29735 (midnight-mode): Make it a proper minor mode.
29736 (midnight-buffer-display-time): Make arg non-optional.
29737 (midnight-find): Remove.
29738 (clean-buffer-list-kill-never-regexps)
29739 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
29740 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
29741 contain functions.
29742 (clean-buffer-list): Use cl-find.
29743 Allow clean-buffer-list-kill-never-regexps to contain functions.
29744
29745 2015-04-27 Nicolas Petton <nicolas@petton.fr>
29746
29747 Bump version of seq.el to 1.5
29748 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
29749 from seq-doseq. Bump version number of seq.el.
29750
29751 2015-04-27 Glenn Morris <rgm@gnu.org>
29752
29753 * lisp/mail/rmail.el (rmail-reply):
29754 Decode subject before matching "Re:" prefix. (Bug#20396)
29755
29756 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
29757
29758 * lisp/emacs-lisp/package.el: Small improvements
29759 (package--with-work-buffer-async): More informative error.
29760 (package-install-user-selected-packages): Rename to
29761 `package-install-selected-packages'.
29762
29763 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
29764
29765 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
29766 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
29767 (eieio--class-make): Remove leftover `tag'.
29768
29769 2015-04-27 Glenn Morris <rgm@gnu.org>
29770
29771 * lisp/gnus/message.el (gnus-extract-address-components):
29772 Remove bogus declaration that was masking previous problem.
29773
29774 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
29775
29776 * lisp/gnus/message.el (message-insert-formatted-citation-line):
29777 Fix typo. (Bug#20318)
29778
29779 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
29780
29781 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
29782
29783 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
29784 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
29785 the buffer in yet another frame.
29786 (reftex-toc-visit-location): Make sure toc-window has focus at the end
29787 when `final' is nil.
29788 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
29789 silence warnings. Use `--' to clarify that it's internal.
29790 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
29791 (reftex-toc-promote): Clarify unused argument.
29792 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
29793 Add `reftex--' prefix. Fix all users.
29794 (reftex-toc-promote-prepare): Use _ for dummy variable.
29795 (reftex-toc-restore-region): Rename `m.
29796
29797 2015-04-27 Eli Zaretskii <eliz@gnu.org>
29798
29799 Fix a typo in bibtex.el
29800 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
29801 last change. (Bug#20429)
29802
29803 Fix redisplay of frame after loading new fonts
29804 * src/xdisp.c (redisplay_internal): When retrying redisplay of
29805 a frame because new fonts were loaded, disable all redisplay
29806 optimizations on that frame by calling SET_FRAME_GARBAGED.
29807 (Bug#20410)
29808
29809 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
29810
29811 * lisp/info.el (Info-menu): Properly provide the `default'
29812 (Bug#20391)
29813
29814 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
29815 Catch errors from documentation (bug#20418).
29816 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
29817
29818 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
29819
29820 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
29821 Remove redundant ":group 'package".
29822
29823 2015-04-26 Eli Zaretskii <eliz@gnu.org>
29824
29825 Fix a typo in rmail.el
29826 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
29827 last commit. (Bug#20429)
29828
29829 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
29830
29831 Introduce xref-prompt-for-identifier
29832 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
29833 (xref--read-identifier): Use it
29834 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
29835
29836 2015-04-26 João Távora <joaotavora@gmail.com>
29837
29838 `tex-insert-quote' after single `'' opens quotes instead of closing
29839 Without this, it's very hard to precede double quotes with the
29840 apostrophe character, i.e. insert the sequence '``
29841 (quote-backquote-backquote), commonly useful in portuguese, for
29842 instance.
29843 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
29844 preceding chars making `tex-insert-quote' be in the "opening" context.
29845
29846 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
29847
29848 Pass `id' to `completing-read' as def instead of initial input
29849 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
29850 `completing-read' as the default value instead of initial input
29851 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
29852
29853 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
29854
29855 Don't freeze with unreadable processes
29856 Don't freeze if an exiting process can't be read from. (Bug#19860).
29857 This fixes a bug I introduced in
29858 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
29859 "* process.c: Add sanity checks for file descriptors."
29860 Dmitry Gutov did most of the legwork in finding the problem.
29861 * src/process.c (wait_reading_process_output):
29862 Treat non-running processes that can't be read from
29863 the same as other non-running processes.
29864
29865 2015-04-25 Alan Mackenzie <acm@muc.de>
29866
29867 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
29868 * lisp/subr.el (remove-yank-excluded-properties): Put
29869 `with-silent-modifications' around only the last three lines of code.
29870
29871 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
29872
29873 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
29874 (package--all-keywords): Deleted variable.
29875
29876 * etc/NEWS: Document package-hiding functionality.
29877
29878 2015-04-25 Eli Zaretskii <eliz@gnu.org>
29879
29880 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
29881
29882 Clarify the doc string of 'replace-regexp-in-string'
29883 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
29884
29885 Improve doc string of 'insert-buffer-substring'
29886 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
29887
29888 MS-Windows followup for the recent gnulib update
29889 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
29890 acl-internal.c.
29891
29892 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
29893
29894 Spelling fixes
29895
29896 Merge from gnulib
29897 This incorporates:
29898 2015-04-24 file-has-acl: new module, split from acl
29899 2015-04-24 manywarnings: add GCC 5.1 warnings
29900 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
29901 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
29902 2015-04-15 acl: On Linux, check for acls without libacl
29903 2015-04-14 tempname: avoid unused parameter warnings (trivial)
29904 * lib/acl-internal.c: New file, from gnulib.
29905 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
29906 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
29907 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
29908 Update from gnulib.
29909
29910 Port --enable-gcc-warnings to GCC 5.1 x86-64
29911 * lib-src/ebrowse.c (dump_sym):
29912 * lib-src/hexl.c (main):
29913 * src/ccl.c (ccl_driver):
29914 * src/character.c (string_escape_byte8):
29915 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
29916 * src/gnutls.c (Fgnutls_boot):
29917 * src/gtkutil.c (xg_check_special_colors):
29918 * src/image.c (x_build_heuristic_mask):
29919 * src/print.c (safe_debug_print, print_object):
29920 * src/term.c (produce_glyphless_glyph):
29921 * src/xdisp.c (get_next_display_element)
29922 (produce_glyphless_glyph):
29923 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
29924 Don't use a signed format to print an unsigned integer, or vice
29925 versa. GCC 5.1's new -Wformat-signedness option warns about this.
29926 * src/image.c (png_load_body, jpeg_load_body):
29927 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
29928
29929 2015-04-24 Tassilo Horn <tsdh@gnu.org>
29930
29931 Add new faces to tsdh-light-theme
29932 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
29933 definitions for Info-quoted, ace-jump-face-foreground,
29934 hl-paren-face, show-paren-match, and show-paren-mismatch.
29935
29936 2015-04-24 Nicolas Petton <nicolas@petton.fr>
29937
29938 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
29939
29940 2015-04-24 Glenn Morris <rgm@gnu.org>
29941
29942 * build-aux/gitlog-to-emacslog:
29943 Use raw log format rather than wrapped one.
29944
29945 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
29946
29947 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
29948 (seq-doseq): Fix out-of-scope binding.
29949 Don't call `seq-length at every iteration.
29950 Reduce `if's from 3 to 2 per iteration.
29951 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
29952
29953 2015-04-24 Glenn Morris <rgm@gnu.org>
29954
29955 * lisp/textmodes/text-mode.el (text-mode-hook):
29956 Move text-mode-hook-identify to default.
29957
29958 * lisp/mouse.el (minor-mode-menu-from-indicator):
29959 Handle non-function members of minor-mode-map-alist. (Bug#20201)
29960
29961 * lisp/help-fns.el (describe-function): More type checking.
29962 (describe-function-1): Handle changed symbol-function. (Bug#20201)
29963
29964 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
29965 (Bug#20325)
29966
29967 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
29968
29969 shr: strip leading whitespace when expanding URLs
29970 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
29971
29972 2015-04-24 Eli Zaretskii <eliz@gnu.org>
29973
29974 Clarify "co-authored" some more
29975
29976 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
29977
29978 Clarify doc strings of functions that search for properties
29979 * src/textprop.c (Fnext_char_property_change)
29980 (Fprevious_char_property_change)
29981 (Fnext_single_char_property_change)
29982 (Fprevious_single_char_property_change, Fnext_property_change)
29983 (Fnext_single_property_change, Fprevious_property_change)
29984 (Fprevious_single_property_change): Clarify doc strings wrt return
29985 value and the optional LIMIT argument. (Bug#20411)
29986
29987 2015-04-24 Glenn Morris <rgm@gnu.org>
29988
29989 * test/automated/message-mode-tests.el (message-mode-propertize):
29990 Handle non-writable HOME; eg on hydra.nixos.org.
29991
29992 2015-04-23 Eli Zaretskii <eliz@gnu.org>
29993
29994 Avoid starting threads by w32-shell-execute
29995 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
29996 local file names, before invoking ShellExecute. (Bug#20220)
29997
29998 2015-04-23 Martin Rudalics <rudalics@gmx.at>
29999
30000 Fix following doc-links in `widget-documentation-link-action'
30001 * lisp/wid-edit.el (widget-documentation-link-action): Make
30002 following doc-links less simplistic (Bug#20398).
30003
30004 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
30005
30006 Improve EUDC manual
30007 * doc/misc/eudc.texi (Troubleshooting):
30008 New LDAP troubleshooting subsection.
30009
30010 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
30011
30012 Omit needless "\ " after multibyte then newline
30013 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
30014 (print_object): When print-escape-multibyte is non-nil and a
30015 multibyte character is followed by a newline or formfeed, followed
30016 by a hex digit, don't output a needless "\ " before the hex digit.
30017 * test/automated/print-tests.el (print-hex-backslash): New test.
30018
30019 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
30020
30021 Add a new `inhibit-message' variable
30022 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
30023 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
30024 `inhibit_message' is non-zero.
30025 * etc/NEWS: Add an entry.
30026 * doc/lispref/display.texi: Add an entry for `inhibit-message',
30027 mention it in `message'.
30028
30029 2015-04-22 Martin Rudalics <rudalics@gmx.at>
30030
30031 Fix last fix in `display-buffer-record-window'.
30032 * lisp/window.el (display-buffer-record-window): Fix last fix.
30033
30034 2015-04-22 Eli Zaretskii <eliz@gnu.org>
30035
30036 Minor edits in CONTRIBUTE
30037 * CONTRIBUTE: Rearrange instructions about log messages.
30038 Use "Git" capitalized all over.
30039 Use 2 spaces between sentences.
30040
30041 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
30042
30043 * lisp/files.el (basic-save-buffer): Fix argument.
30044
30045 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
30046 In case `(and (null custom-file) init-file-had-error)' do the same
30047 thing we'd do if `(null user-init-file)', which is to either error out
30048 or return nil. This is in line with `custom-save-all' which would
30049 throw an error in that situation. (Bug#20355)
30050
30051 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
30052 (package-menu-hide-low-priority): New variable, see its doc.
30053 (package-archive-priorities): Update doc.
30054 (package-desc-priority): New function.
30055 (package-desc-priority-version): Use it.
30056 (package--remove-hidden): New function.
30057 (package-menu--refresh): Use it.
30058
30059 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
30060 (package-menu--hide-obsolete): New variable.
30061 (package--remove-hidden): Use it.
30062 (package-menu-hide-obsolete): New interactive function to toggle
30063 the variable.
30064 (package--quick-help-keys): Document it.
30065 (package-menu-async): Add :version tag.
30066 (package-menu-mode-map): Bind package-menu-hide-obsolete.
30067 (package-desc-status): Indicate non-installed obsolete packages as
30068 avail-obso.
30069 (package-menu-mark-install): Allow installation of avail-obso.
30070 (package-menu--status-predicate): Sort avail-obso with available.
30071
30072 2015-04-22 Alan Mackenzie <acm@muc.de>
30073
30074 On C-y, stop some text property entries being written into buffer-undo-list
30075 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
30076 `with-silent-modifications'.
30077
30078 2015-04-22 Martin Rudalics <rudalics@gmx.at>
30079
30080 In display-buffer-record-window record selected window if necessary
30081 * lisp/window.el (display-buffer-record-window): Store selected window
30082 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
30083
30084 2015-04-22 Tassilo Horn <tsdh@gnu.org>
30085
30086 Fix reftex-citation bug
30087 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
30088 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
30089 integration is enabled and there are no citations in the document
30090 so far.
30091
30092 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
30093
30094 Add or reset based on the presence of MERGE_HEAD
30095 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
30096 `vc-git-resolve-when-done' to `after-save-hook' in either case.
30097 (vc-git-conflicted-files): Add a TODO.
30098 (vc-git-resolve-when-done): Depending on the presence of
30099 MERGE_HEAD, either update the resolved file in the index, or
30100 remove it from there. (Bug#20292)
30101
30102 2015-04-21 Glenn Morris <rgm@gnu.org>
30103
30104 * lisp/custom.el (custom-declare-group): No need to purecopy
30105 custom-current-group-alist members following recent change to set
30106 it to nil before dumping.
30107
30108 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
30109 (Bug#20399)
30110
30111 2015-04-21 Daniel Colascione <dancol@dancol.org>
30112
30113 Unbreak no-op buffer save message
30114 * lisp/files.el (basic-save-buffer): Accept called-interactively as
30115 an argument instead of directly invoking called-interactively-p,
30116 which will always yield nil in that context.
30117
30118 2015-04-21 Alan Mackenzie <acm@muc.de>
30119
30120 CC Mode: Do nothing in before/after-change-functions for text
30121 property changes
30122 Fixes bug#20266.
30123 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
30124 yank-handled-properties buffer local, and remove 'category from it.
30125 (c-called-from-text-property-change-p): New function.
30126 (c-before-change): Don't do anything if a call of the new function
30127 returns non-nil.
30128 (c-after-change): Don't do much if a call of the new function returns
30129 non-nil.
30130 (c-extend-after-change-region): Put changes to text property 'fontified
30131 inside c-save-buffer-state.
30132
30133 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
30134
30135 Fix byte-compiler warnings about looking-back
30136 * lisp/vc/log-view.el (log-view-end-of-defun-1):
30137 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
30138 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
30139 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
30140 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
30141 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
30142 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
30143 * lisp/org/org.el (org-insert-heading, org-sort-entries):
30144 * lisp/org/org-mouse.el (org-mouse-end-headline)
30145 (org-mouse-context-menu):
30146 * lisp/org/org-clock.el (org-clock-cancel):
30147 * lisp/man.el (Man-default-man-entry):
30148 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
30149 (rmail-ensure-blank-line):
30150 * lisp/mail/footnote.el (Footnote-delete-footnote):
30151 * lisp/mail/emacsbug.el (report-emacs-bug):
30152 * lisp/info.el (Info-follow-reference, Info-fontify-node):
30153 * lisp/info-look.el (info-lookup-guess-custom-symbol):
30154 * lisp/help-fns.el (help-fns--key-bindings):
30155 * lisp/files.el (hack-local-variables):
30156 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
30157 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
30158 (viper-complete-filename-or-exit):
30159 * lisp/emulation/viper-cmd.el (viper-backward-indent):
30160 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
30161 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
30162 * lisp/cus-edit.el (custom-face-edit-value-create):
30163 * lisp/calendar/todo-mode.el (todo-set-item-priority)
30164 (todo-filter-items-1, todo-convert-legacy-files)
30165 (todo-prefix-overlays): Add explicit second arg to looking-back.
30166
30167 2015-04-20 Glenn Morris <rgm@gnu.org>
30168
30169 Avoid non-nil current-load-list at startup
30170 * src/process.c (init_process_emacs): Move Fprovide statement...
30171 (syms_of_process): ... to here.
30172
30173 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
30174
30175 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
30176 in emacs -Q.
30177
30178 2015-04-20 Ludovic Courtès <ludo@gnu.org>
30179
30180 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
30181 (Bug#20330)
30182
30183 2015-04-20 Glenn Morris <rgm@gnu.org>
30184
30185 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
30186
30187 Tweak exec-path in uninstalled case
30188 * src/callproc.c (init_callproc): If running uninstalled, do not
30189 include eventual installation libexec directory in exec-path.
30190
30191 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
30192
30193 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
30194 cache keywords.
30195 (package-menu-filter): Accept a list of keywords.
30196 (package--all-keywords): New variable to cache known keywords.
30197 (package-all-keywords): Populate it if necessary.
30198 (package-refresh-contents): Reset it.
30199
30200 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
30201 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
30202 as special keywords which match agains package archive and status
30203 respectively.
30204 * etc/NEWS: Document it.
30205
30206 2015-04-20 Eli Zaretskii <eliz@gnu.org>
30207
30208 Describe and index "empty overlays".
30209 * doc/lispref/display.texi (Overlays): Improve indexing.
30210 (Managing Overlays): Describe "empty" overlays.
30211 (Overlay Properties, Finding Overlays): Add cross-reference to
30212 where empty overlays are described.
30213
30214 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
30215
30216 Spelling fixes
30217
30218 Quote 'like this' in top-level files
30219 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
30220 Prefer to single-quote 'like this' (instead of the older style
30221 `like this').
30222 * configure.ac: Fix some space-before-tab problems that 'git commit'
30223 complained about.
30224
30225 Use bool for boolean in textprop.c, undo.c
30226 * src/textprop.c (soft, hard): Now constants instead of macros.
30227 (validate_plist): Rewrite to avoid need for boolean local.
30228 (interval_has_all_properties, interval_has_some_properties)
30229 (interval_has_some_properties_list, add_properties)
30230 (remove_properties, get_char_property_and_overlay)
30231 (Fnext_single_char_property_change)
30232 (Fprevious_single_char_property_change, add_text_properties_1)
30233 (Fremove_text_properties, Fremove_list_of_text_properties)
30234 (copy_text_properties):
30235 * src/tparam.c (tparam1):
30236 * src/undo.c (record_change, record_property_change)
30237 (syms_of_undo):
30238 Use 'true' and 'false' for booleans.
30239
30240 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
30241
30242 * lisp/vc/vc-git.el (vc-git-find-file-hook):
30243 Call `smerge-start-session' even when dealing with a stash
30244 conflict (bug#20292).
30245
30246 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
30247
30248 Add option to eshell/clear to clear scrollback.
30249 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
30250 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
30251 scrollback contents are cleared.
30252 * etc/NEWS: Describe change.
30253 * doc/misc/eshell.texi: Add entry for `clear'.
30254
30255 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
30256
30257 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
30258 where either will do.
30259
30260 2015-04-19 Steve Purcell <steve@sanityinc.com>
30261
30262 Assume package archive-contents are UTF8-encoded
30263 * lisp/emacs-lisp/package.el (package--read-archive-file):
30264 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
30265 downloaded and cached archive-contents files, so that non-ASCII
30266 characters in package descriptions are displayed correctly in the
30267 `list-packages' menu. (Bug#20231)
30268
30269 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
30270
30271 Abort when looking at stashed changes
30272 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
30273 stashed changes (bug#20292).
30274
30275 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
30276
30277 Refactor low-level printing for simplicity
30278 * src/print.c (PRINTDECLARE): Remove. Move its contents into
30279 PRINTPREPARE; doable now that we assume C99. All callers changed.
30280 (PRINTCHAR): Remove, as it adds more mystery than clarity.
30281 All callers changed.
30282 (strout): Assume that caller computes length. All callers changed.
30283 (print_c_string): New function.
30284 (write_string, write_string_1): Compute length instead of asking
30285 the caller to compute it. All callers changed.
30286 (write_string): Simplify by using write_string_1.
30287 (write_string_1): Simplify by using print_c_string.
30288 (Fterpri): Compute default val more clearly.
30289 (Fprin1_to_string, print_object):
30290 Assume C99 to avoid unnecessary nesting.
30291 (print_object): Prefer print_c_string to multiple printchar, or
30292 to calling strout with -1 length. Coalesce into sprintf when
30293 this is easy.
30294
30295 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
30296
30297 Prefer "Bug#1234" in commit messages (Bug#20325)
30298 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
30299 as this isn't useful for Git.
30300 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
30301
30302 2015-04-18 Glenn Morris <rgm@gnu.org>
30303
30304 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
30305 (Bug#19506)
30306
30307 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
30308
30309 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
30310 Do not use `chomp' as a function. (Bug#19505)
30311
30312 2015-04-18 Glenn Morris <rgm@gnu.org>
30313
30314 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
30315
30316 * doc/emacs/misc.texi (Sorting): Small edit.
30317 (Bug#19896)
30318
30319 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
30320
30321 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
30322
30323 css-mode.el: Support multi-line comment filling
30324 (Bug#20256)
30325 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
30326 comment filling.
30327 (css-adaptive-fill): New function.
30328 (css-mode): Set `adaptive-fill-function'.
30329 (scss-mode): Set `comment-continue'.
30330
30331 2015-04-18 Nicolas Petton <nicolas@petton.fr>
30332
30333 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
30334 Better error messages.
30335
30336 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
30337
30338 Minor improvements in Bulgarian input methods
30339 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
30340 Replace U+042C with U+045D, as the former character is not used in
30341 the modern Bulgarian language.
30342 (Bug#20350)
30343
30344 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
30345
30346 Improve EUDC manual
30347 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
30348 authentication schemes. Add index items. Shorten example server
30349 name.
30350
30351 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
30352
30353 Don't show both feature and function with the same name
30354 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
30355 Don't show both feature and function with the same name.
30356
30357 (elisp--xref-identifier-location): Skip variable, if it's also
30358 a function
30359 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
30360 Avoid returning both the variable and the function for the same
30361 minor mode.
30362
30363 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
30364
30365 Fix fontification of keywords clobbered by the prompt
30366 * lisp/comint.el (comint-output-filter): Remove the uses of
30367 with-silent-modifications I introduced as part of the last change.
30368 This fixes, e.g., erratically missing highlighting when running
30369 ./configure --help; ./configure in a shell-mode buffer with
30370 compilation-shell-minor-mode turned on.
30371
30372 2015-04-17 Glenn Morris <rgm@gnu.org>
30373
30374 * admin/authors.el (authors-valid-file-names)
30375 (authors-renamed-files-alist): Additions.
30376
30377 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
30378
30379 * lisp/indent.el (indent-region): Don't deactivate the mark.
30380 (Bug#20357)
30381
30382 2015-04-17 Sam Steingold <sds@gnu.org>
30383
30384 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
30385
30386 2015-04-16 Leo Liu <sdl.web@gmail.com>
30387
30388 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
30389
30390 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
30391
30392 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
30393 Don't use `pcomplete' any more.
30394
30395 2015-04-16 Glenn Morris <rgm@gnu.org>
30396
30397 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
30398
30399 2015-04-16 Eli Zaretskii <eliz@gnu.org>
30400
30401 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
30402 * configure.ac (LIBJPEG): Leave it empty for MinGW.
30403
30404 2015-04-16 Glenn Morris <rgm@gnu.org>
30405
30406 * lisp/replace.el (query-replace-from-to-separator):
30407 Delay initialization to avoid rogue setting after startup.
30408
30409 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
30410
30411 Pre-4.6 GCC succeeds with unknown option
30412 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
30413 (Bug#20338)
30414
30415 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30416
30417 '[:graph:]' now excludes whitespace, not just ' '
30418 * doc/lispref/searching.texi (Char Classes):
30419 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
30420 sans whitespace (not sans space).
30421 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
30422 not just space.
30423 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
30424
30425 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30426
30427 * lisp/subr.el (substitute-key-definition-key, special-form-p)
30428 (macrop): Drop deprecated second arg to indirect-function.
30429 (looking-back): Make the second arg non-optional.
30430
30431 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
30432 command is actually sent to the shell.
30433
30434 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30435
30436 Port jpeg configuration to Solaris 10 with Sun C
30437 * configure.ac: Check for jpeglib 6b by trying to link it, instead
30438 of relying on cpp magic that has problems in practice. Check for
30439 both jpeglib.h and jerror.h features. Remove special case for
30440 mingw32, which should no longer be needed (and if it were needed,
30441 should now be addressable by hotwiring emacs_cv_jpeglib).
30442 (Bug#20332)
30443
30444 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30445
30446 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
30447 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
30448 Move to elisp-mode.el.
30449 (lisp-mode-variables): (Re)move elisp-specific settings.
30450 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
30451 from lisp-mode-variables.
30452 (elisp--font-lock-flush-elisp-buffers): New function, moved from
30453 lisp-mode.el.
30454
30455 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
30456 Avoid pathological slowdown at top-level in large file.
30457
30458 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30459
30460 Standardize names of ChangeLog history files
30461 Suggested by Glenn Morris in:
30462 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
30463 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
30464 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
30465 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
30466 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
30467 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
30468 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
30469 Remove.
30470
30471 Split top-level entries into pre- and post-April 7
30472 This more clearly distingiushes pre-April-7 ChangeLog entries (which
30473 are for top-level files only) from post-April-7 entries (which are
30474 about files at all levels. Problem reported by Glenn Morris in:
30475 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
30476 * ChangeLog.1: Move post-April-7 entries from here ...
30477 * ChangeLog.2: ... to this new file.
30478 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
30479
30480 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30481
30482 Fix recent cus-start changes that added customize-rogues
30483 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
30484 vars early.
30485 * lisp/loadup.el ("cus-start"): Move to the end to reduce
30486 customize-rogue.
30487
30488 2015-04-15 Nicolas Petton <nicolas@petton.fr>
30489
30490 Define cl-concatenate as an alias to seq-concatenate
30491 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
30492 code by making cl-concatenate an alias to seq-concatenate.
30493
30494 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30495
30496 * src/lread.c (intern_1): Make sure we'd find the symbol we add
30497 (Bug#20334)
30498 * src/xfaces.c (resolve_face_name): Don't use `intern' with
30499 Lisp_Strings.
30500
30501 2015-04-15 Glenn Morris <rgm@gnu.org>
30502
30503 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
30504
30505 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
30506
30507 Clean up gnus-uu saving code slightly
30508 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
30509 save-restriction/widen calls make more sense.
30510
30511 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30512
30513 Make [:graph:] act like [:print:] sans space
30514 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
30515 [:graph:] so that it matches everything that [:print:] does,
30516 except for space.
30517 * doc/lispref/searching.texi (Char Classes):
30518 * etc/NEWS:
30519 * lisp/emacs-lisp/rx.el (rx):
30520 Document [:graph:] to be [:print:] sans ' '.
30521 * src/character.c, src/character.h (graphicp): New function.
30522 * src/regex.c (ISGRAPH) [emacs]: Use it.
30523 (BIT_GRAPH): New macro.
30524 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
30525 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
30526 Return BIT_GRAPH for RECC_GRAPH.
30527 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
30528 and ISPRINT if BIT_PRINT.
30529
30530 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
30531
30532 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
30533 Don't use call-next-method in a cl-defmethod.
30534
30535 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
30536 (eieio--class-p): Remove, provided by cl-defstruct.
30537
30538 2015-04-14 Nicolas Petton <nicolas@petton.fr>
30539
30540 Add seq-intersection and seq-difference to the seq library
30541 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
30542 New functions.
30543 * test/automated/seq-tests.el: Add tests for seq-intersection and
30544 seq-difference.
30545 * doc/lispref/sequences.texi: Add documentation for seq-intersection
30546 and seq-difference.
30547
30548 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
30549
30550 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
30551 to avoid leaking internals.
30552
30553 2015-04-14 Sam Steingold <sds@gnu.org>
30554
30555 package--ensure-init-file: widen requires save-restriction
30556
30557 2015-04-14 Eli Zaretskii <eliz@gnu.org>
30558
30559 Improve the commit-msg Git hook for unibyte environments
30560 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
30561 in unibyte environments. (Suggested by Paul Eggert
30562 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
30563 [:print:], based on UTF-8 sequences of the unprintable characters.
30564
30565 Describe problems with cursor caused by Windows Magnifier
30566 * etc/PROBLEMS: Describe the problem with cursor shape on
30567 MS-Windows due to Windows Magnifier.
30568 (Bug#20271)
30569
30570 Make [:print:] support non-ASCII characters correctly
30571 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
30572 (BIT_PRINT): New bit mask.
30573 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
30574 * src/character.c (printablep): New function.
30575 * src/character.h (printablep): Add prototype.
30576 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
30577 of 'print', 'alnum', and 'alphabetic'.
30578 * doc/lispref/searching.texi (Char Classes): Document the new
30579 behavior of [:print:].
30580 * etc/NEWS: Mention the new behavior of [:print:].
30581
30582 Assign correct general-category and names to surrogates
30583 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
30584 surrogates. This avoids assigning them the default
30585 general-category of 'Cn', i.e. unassigned codepoints.
30586 (unidata-get-name): Give surrogates synthetic names.
30587
30588 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
30589
30590 Assume C89 offsetof in xterm.c, xlwmenu.c
30591 * lwlib/xlwmenu.c (offset):
30592 * src/xterm.c (cvt_string_to_pixel_args):
30593 Use offsetof, not XtOffset.
30594
30595 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
30596
30597 Assume C89 offsetof in widget.c
30598 * src/widget.c (XtOffset): Remove; no longer needed.
30599 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
30600
30601 Fix think-o in previous patch
30602 * src/window.c (count_windows, get_leaf_windows):
30603 Don't optimize count_windows incorrectly.
30604
30605 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
30606
30607 Avoid some int overflows in window.c
30608 * src/print.c (print_object):
30609 * src/window.c (sequence_number):
30610 * src/window.h (struct window.sequence_number):
30611 Don't assume window sequence number fits in int.
30612 * src/window.c (window_select_count):
30613 * src/window.h (struct window.use_time, window_select_count):
30614 Don't assume window use time fits in int.
30615 * src/window.c (Fsplit_window_internal):
30616 Don't assume user-supplied integer, or sum, fits in int.
30617 (Fset_window_configuration, count_windows, get_leaf_windows)
30618 (save_window_save, Fcurrent_window_configuration):
30619 Use ptrdiff_t for object counts.
30620 (Fset_window_configuration): Omit unused local 'n'.
30621 (count_windows): Simplify by writing in terms of get_leaf_windows.
30622 (get_leaf_windows): Don't store through FLAT if it's null.
30623 (extract_dimension): New static function.
30624 (set_window_margins, set_window_fringes, set_window_scroll_bars):
30625 Use it to avoid undefined behavior when converting user-supplied
30626 integer to 'int'.
30627
30628 2015-04-13 Glenn Morris <rgm@gnu.org>
30629
30630 Minor doc copyedits
30631 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
30632 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
30633
30634 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
30635
30636 [Gnus] Catch the invalid-operation that idna.el will issue
30637 * lisp/gnus/gnus-art.el (gnus-use-idna):
30638 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
30639 * lisp/gnus/message.el (message-use-idna):
30640 Catch the invalid-operation that idna.el will issue.
30641
30642 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
30643
30644 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
30645
30646 2015-04-13 Sam Steingold <sds@gnu.org>
30647
30648 package--ensure-init-file: widen before looking for
30649 "(package-initialize)"
30650
30651 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
30652
30653 Change diff-switches default to `-u' (Bug#20290)
30654 * doc/emacs/files.texi (Comparing Files): Document the new default
30655 value of `diff-switches'.
30656 * doc/emacs/trouble.texi (Sending Patches): Document the preference
30657 for unified diff format. Escape the plus in the suggested `-F' regexp
30658 value.
30659 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
30660
30661 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
30662
30663 (gnus-group--setup-tool-bar-update): Fix last change
30664 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
30665 cursor-sensor-functions should be a list of functions.
30666
30667 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
30668
30669 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
30670 Use gmm-called-interactively-p.
30671
30672 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
30673
30674 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
30675 (Bug#20321)
30676 * lisp/cus-start.el (read-buffer-function): Don't advertise
30677 iswitchb-read-buffer any more.
30678 (iswitchb): Don't tweak this obsolete group any more.
30679
30680 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
30681
30682 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
30683
30684 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
30685 Adding a string after a constructor's argument list will use
30686 that string as the constructor function docstring. If this string
30687 is absent but the struct itself was given a docstring, use that as
30688 the constructor's docstring.
30689 Fixes bug#17284.
30690
30691 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
30692
30693 Deprecate `intangible' and `point-entered' properties
30694 * lisp/emacs-lisp/cursor-sensor.el: New file.
30695 * lisp/simple.el (pre-redisplay-functions): New hook.
30696 (redisplay--pre-redisplay-functions): New function.
30697 (pre-redisplay-function): Use it.
30698 (minibuffer-avoid-prompt): Mark obsolete.
30699 (redisplay--update-region-highlight): Adapt it to work as a function on
30700 pre-redisplay-functions.
30701 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
30702 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
30703 than point-entered to make the prompt intangible.
30704 * lisp/forms.el: Move `provide' calls to the end.
30705 (forms-mode): Don't use `run-hooks' on a local var.
30706 (forms--make-format, forms--make-format-elt-using-text-properties):
30707 Use cursor-intangible rather than `intangible'.
30708 (forms-mode): Enable cursor-intangible-mode.
30709 * lisp/isearch.el (isearch-mode): Use defvar-local.
30710 (cursor-sensor-inhibit): Declare.
30711 (isearch-mode): Set cursor-sensor-inhibit.
30712 (isearch-done): Set it back.
30713 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
30714 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
30715 any more.
30716 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
30717 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
30718 Add Edebug spec.
30719 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
30720 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
30721 inhibit-point-motion-hooks any more.
30722 (ses--cell-at-pos, ses--curcell): New functions, extracted from
30723 ses-set-curcell.
30724 (ses-set-curcell): Use them.
30725 (ses-print-cell, ses-setup): Use cursor-intangible instead of
30726 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
30727 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
30728 Use ses--cell-at-pos.
30729 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
30730 extracted from ses-command-hook. Make them work with multiple windows
30731 displaying the same buffer.
30732 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
30733 Enable cursor-intangible-mode.
30734 (ses-command-hook): Remove cell highlight and mode-line update code.
30735 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
30736 Update for new name of text-property holding the cell name.
30737 (ses-rename-cell): Don't mess with mode-line-process.
30738 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
30739 cursor-sensor-functions property instead of point-entered.
30740 (erc-insert-timestamp-right, erc-format-timestamp):
30741 Use cursor-intangible rather than `intangible'.
30742 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
30743 remove-from-invisibility-spec. Enable cursor-intangible-mode and
30744 cursor-sensor-mode if needed.
30745 (erc-echo-timestamp): Adapt to calling convention of
30746 cursor-sensor-functions.
30747 (erc-insert-timestamp-right): Remove unused vars `current-window' and
30748 `indent'.
30749 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
30750 (gnus-update-group-mark-positions): Remove unused `topic' var.
30751 (gnus-group-insert-group-line): Remove unused var `header'.
30752 (gnus-group--setup-tool-bar-update): New function.
30753 (gnus-group-insert-group-line): Use it.
30754 (gnus-group-update-eval-form): Declare local
30755 dynamically-bound variables.
30756 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
30757 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
30758 (gnus-group-prepare-topics, gnus-topic-update-topic)
30759 (gnus-topic-change-level, gnus-topic-catchup-articles)
30760 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
30761 Use inhibit-read-only.
30762 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
30763 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
30764 * lisp/textmodes/reftex-index.el (reftex-display-index):
30765 Use cursor-intangible-mode if available.
30766 (reftex-index-post-command-hook): Check cursor-intangible.
30767 * lisp/textmodes/reftex-toc.el (reftex-toc):
30768 Use cursor-intangible-mode if available.
30769 (reftex-toc-recenter, reftex-toc-post-command-hook):
30770 Check cursor-intangible.
30771 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
30772 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
30773 (sgml-tags-invisible): Use with-silent-modifications and
30774 inhibit-read-only. Enable cursor-sensor-mode.
30775 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
30776 calling convention of cursor-sensor-functions.
30777 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
30778 (table-point-entered-cell-hook, table-point-left-cell-hook):
30779 Don't autoload.
30780 (table-cell-entered-state): Remove var.
30781 (table--put-cell-point-entered/left-property)
30782 (table--remove-cell-properties):
30783 Use cursor-sensor-functions rather than point-entered/left.
30784 (table--point-entered/left-cell-function): Merge
30785 table--point-entered-cell-function and table--point-left-cell-function
30786 and adjust to calling convention of cursor-sensor-functions.
30787
30788 Update ldef-boots.el
30789
30790 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
30791
30792 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
30793
30794 Collapse successive char deletions in the undo log
30795 * src/cmds.c (remove_excessive_undo_boundaries): New function,
30796 extracted from Fself_insert_command.
30797 (Fdelete_char, Fself_insert_command): Use it.
30798 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
30799 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
30800
30801 xterm and OSC 52: Add NEWS entry, and tweak the code
30802 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
30803 to top-level.
30804 (terminal-init-xterm-activate-set-selection): Set a terminal property.
30805 (xterm--set-selection): Use it instead of checking the value of
30806 `terminal-initted'. Don't use string-bytes.
30807
30808 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
30809
30810 xterm.el: Implement OSC-52 functionality for setting the X selection
30811 * lisp/term/xterm.el (xterm-max-cut-length): New var.
30812 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
30813 New funs.
30814 (terminal-init-xterm, xterm--version-handler): Use them.
30815
30816 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
30817
30818 Remove left over code from when we used an obsolete/loaddefs.el file
30819 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
30820 when we used an obsolete/loaddefs.el file.
30821
30822 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
30823 (semanticdb-without-unloaded-file-searches): Use declare.
30824 (semantic-fw-add-edebug-spec): Remove.
30825
30826 * lisp/completion.el (completion-lisp-mode-hook):
30827 Use completion-separator-chars rather than local key binding.
30828
30829 * src/*.c: Set deactivate_mark buffer-locally
30830 (Bug#20260)
30831 * src/insdel.c (prepare_to_modify_buffer_1):
30832 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
30833 buffer-locally.
30834
30835 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
30836
30837 python.el: Keep symmetry on sexp navigation with parens
30838 (Bug#19954)
30839 * lisp/progmodes/python.el
30840 (python-nav--forward-sexp): Add argument skip-parens-p.
30841 (python-nav-forward-sexp, python-nav-backward-sexp)
30842 (python-nav-forward-sexp-safe)
30843 (python-nav-backward-sexp-safe): Use it.
30844 * test/automated/python-tests.el
30845 (python-nav-forward-sexp-1): Fix test.
30846
30847 2015-04-12 João Távora <joaotavora@gmail.com>
30848
30849 Don't use `setq-local' in Gnus code
30850 This might break upstream builds with older Emacsen
30851 * lisp/gnus/message.el (message-mode): Use `set' and
30852 `make-local-variable' instead of `setq-local'.
30853
30854 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
30855
30856 Update Makefile.in's .PHONY dependencies
30857 * Makefile.in (change-history-commit, master-branch-is-current)
30858 (no-ChangeLog): Now phony.
30859
30860 Remove configure's --with-mmdf option
30861 * configure.ac (MAIL_USE_MMDF): Remove.
30862 * etc/NEWS: Document this.
30863 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
30864 (Bug#20308)
30865
30866 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
30867 That way, 'make install' won't think it's a man page.
30868 Reported by Ashish SHUKLA in:
30869 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
30870
30871 Improve 'make change-history' prereq tests
30872 * Makefile.in (gen_origin): Fix to match what's in the master branch.
30873 (no-ChangeLog, master-branch-is-current): New rules.
30874 (change-history): Depend on them, to avoid similar future problems.
30875 Escape the local-variables string to pacify Emacs when editing
30876 Makefile.in.
30877
30878 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
30879
30880 * test/automated/package-test.el (with-package-test):
30881 Kill Packages buffer.
30882
30883 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
30884 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
30885 "Upgrade" last, and use capitalized instead of all-caps.
30886
30887 * lisp/emacs-lisp/package.el: Completely silence async operations.
30888 (package--make-autoloads-and-stuff): Silence autoloads.
30889 (package--save-selected-packages): New function, silences
30890 `customize-save-variable'.
30891 (package--user-selected-p, package-install-from-buffer)
30892 (package-delete, package-install): Use it.
30893 (package-install-from-archive)
30894 (package-menu--perform-transaction): Silence.
30895 (package-menu-execute): Feedback when operation starts.
30896
30897 Use delay-mode-hooks when visiting the init-file
30898 * lisp/emacs-lisp/package.el (package--ensure-init-file):
30899 delay-mode-hooks.
30900 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
30901
30902 * lisp/files.el: Only message when saving if save-silently is nil.
30903 (save-silently): New variable.
30904 (files--message): New function.
30905 (find-file-noselect, save-buffer, basic-save-buffer)
30906 (basic-save-buffer-2, save-some-buffers, not-modified)
30907 (append-to-file): Use them.
30908
30909 2015-04-12 Johan Bockgård <bojohan@gnu.org>
30910
30911 Support debug declarations in pcase macros
30912 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
30913 (pcase-UPAT): Use it. Remove "`".
30914 (pcase--edebug-match-macro): New function.
30915 (pcase-defmacro): Support debug declarations.
30916 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
30917 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
30918 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
30919 Add debug declaration.
30920
30921 pcase.el: Edebug support for `app' and vector patterns
30922 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
30923 (pcase-UPAT): Use it. Support `app' patterns.
30924 (pcase-QPAT): Support vector patterns.
30925
30926 edebug.el: Disambiguate vector specifications
30927 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
30928 `(vector ...)' as a vector specification, not as a sublist.
30929
30930 (gnus-summary-refer-thread): Don't clobber unread articles
30931 This fixes a bug where `A T' causes "random" articles to become marked
30932 as read.
30933 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
30934 gnus-newsgroup-unreads remains sorted.
30935
30936 mouse-sel.el: Fix mouse-sel-get-selection-function
30937 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
30938 Use gui--last-selected-text-primary instead of no longer existing
30939 gui-last-selected-text.
30940
30941 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
30942
30943 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
30944
30945 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
30946
30947 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
30948
30949 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
30950 right buffer.
30951
30952 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
30953 (byte-compile--interactive): New var.
30954 (byte-compile--message): New function.
30955 (byte-compile-log-1, byte-force-recompile)
30956 (byte-recompile-directory, byte-recompile-file)
30957 (byte-compile-file, compile-defun)
30958 (byte-compile-file-form-defmumble, byte-compile)
30959 (byte-compile-file-form-defalias, display-call-tree): Use it.
30960
30961 * lisp/files.el: Don't message when nothing happened.
30962 (save-some-buffers, basic-save-buffer): Before messaging to say
30963 "nothing was saved" check if (called-interactively-p 'any).
30964
30965 2015-04-12 João Távora <joaotavora@gmail.com>
30966
30967 Summary: Improve sexp-based movement in message-mode
30968 Works by giving citations and smileys a different syntax. This helps
30969 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
30970 sexp-based movement.
30971 * lisp/gnus/message.el (message--syntax-propertize): New function.
30972 (message-mode): Set syntax-related vars.
30973 (message-smileys): New variable.
30974 * test/automated/message-mode-tests.el: New file
30975
30976 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
30977
30978 Use bool for boolean in window.c
30979 * src/window.c: Omit unnecessary static function decls.
30980 (adjust_window_count, select_window, Fselect_window)
30981 (window_body_width, Fwindow_body_height, Fwindow_body_width)
30982 (set_window_hscroll, check_window_containing, Fwindow_at)
30983 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
30984 (unshow_buffer, replace_window, recombine_windows)
30985 (add_window_to_list, candidate_window_p, next_window)
30986 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
30987 (Fget_buffer_window, Fdelete_other_windows_internal)
30988 (replace_buffer_in_windows_safely, set_window_buffer)
30989 (Fset_window_buffer, Fforce_window_update)
30990 (temp_output_buffer_show, make_parent_window)
30991 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
30992 (resize_frame_windows, Fsplit_window_internal)
30993 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
30994 (Fresize_mini_window_internal, mark_window_cursors_off)
30995 (window_scroll, window_scroll_pixel_based)
30996 (window_scroll_line_based, scroll_command, Fscroll_other_window)
30997 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
30998 (Fmove_to_window_line, Fset_window_configuration)
30999 (delete_all_child_windows, apply_window_adjustment)
31000 (set_window_fringes, set_window_scroll_bars)
31001 (Fset_window_vscroll, foreach_window, foreach_window_1)
31002 (compare_window_configurations, Fcompare_window_configurations):
31003 Prefer 'bool', 'true', and 'false' for booleans.
31004 * src/window.h (WINDOW_MODE_LINE_LINES)
31005 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
31006
31007 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
31008
31009 Speed up byte-compilation and autoload generation by avoiding mode-hooks
31010 This prevents emacs-lisp-mode-hook from being run everytime an
31011 autoload file is generated, which can account for a fraction of
31012 package installation time depending on the hooks the user has
31013 configured.
31014 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
31015 * lisp/emacs-lisp/autoload.el (autoload-find-file)
31016 (autoload-find-generated-file): Use delay-mode-hooks.
31017
31018 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
31019 (package-menu-refresh): Respect async and do new package checking.
31020 (list-packages): Use `package-menu-refresh' instead of repeating code.
31021
31022 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
31023 (package--quick-help-keys): New variable.
31024 (package--prettify-quick-help-key): New function.
31025 (package-menu-quick-help): Use it.
31026
31027 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
31028 (package--build-compatibility-table): Require finder.
31029
31030 * test/automated/package-test.el: Fix new test.
31031
31032 * lisp/emacs-lisp/package.el: Silence async operations.
31033 (package--silence): New variable.
31034 (package--message): New function.
31035 (package-import-keyring, package-refresh-contents)
31036 (package-compute-transaction, package-install, package-delete)
31037 (package-menu--perform-transaction, package-menu-execute): Use it.
31038
31039 * test/automated/package-test.el: Test async functionality.
31040 (package-test-update-archives-async): New test.
31041
31042 2015-04-11 Daiki Ueno <ueno@gnu.org>
31043
31044 Utilize `make-process' in epg.el
31045 * lisp/epg.el (epg-error-output): Abolish.
31046 (epg-context): New slot `error-buffer'.
31047 (epg--start): Use `make-process' and `make-pipe-process'.
31048 (epg--process-filter): Remove code separating stderr from stdout.
31049 (epg-wait-for-completion): Simplify `error-output' handling.
31050 (epg-reset): Dispose error buffer.
31051
31052 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
31053
31054 * .gitignore: Ignore doc temps and outputs.
31055
31056 Port commit-msg to MSYS Bash+Gawk
31057 See Eli Zaretskii in:
31058 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
31059 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
31060 (cent_sign, print_at_sign, at_sign): Revert previous change.
31061 (print_at_sign): Prepend "BEGIN".
31062 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
31063
31064 Port commit-msg to broken MS-Windows shell
31065 * build-aux/git-hooks/commit-msg (cent_sign):
31066 Just use UTF-8 here rather than ASCII + printf, as the latter fails
31067 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
31068 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
31069
31070 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
31071
31072 Support GnuTLS v3.4 and later on MS-Windows
31073 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
31074 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
31075 GnuTLS DLL to load according to value of libgnutls-version.
31076 (Bug#20294)
31077
31078 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
31079
31080 Minor quoting etc. fixes to misc manuals
31081 Fix some minor quoting and spacing issues. Distinguish more
31082 clearly among grave accent and apostrophe (which are ASCII) and
31083 single quote (which is not). Prefer the standard terms
31084 "apostrophe" and "grave accent" to alternative names that can be
31085 confusing. Use apostrophes to single-quote ASCII text.
31086 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
31087 rather than approximating it in ASCII with grave accent.
31088
31089 2015-04-11 Daiki Ueno <ueno@gnu.org>
31090
31091 Respect more keyword args in `make-process'
31092 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
31093 keywords as documented.
31094
31095 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
31096
31097 Extract ChangeLog entries when committing a directory
31098 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
31099 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
31100 Add a FIXME comment.
31101 (log-edit-changelog-entries): Extract from
31102 `log-edit-changelog-entries', handle FILE being a directory
31103 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
31104
31105 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
31106
31107 Fix problems found by --enable-gcc-warnings
31108 * src/process.c (create_process, Fmake_pipe_process)
31109 (Fmake_network_process): Omit unused locals.
31110
31111 Fix commit-msg to handle scissors lines
31112 * build-aux/git-hooks/commit-msg:
31113 Ignore every line after a scissors line, such as a line generated
31114 by 'git commit -v'. Problem reported by Johan Bockgård in:
31115 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
31116
31117 port commit-msg to Gawk 3.0.4 (1999)
31118 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
31119 (print_at_sign, at_sign): New vars. Use them to avoid problems
31120 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
31121 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
31122
31123 Have commit-msg report commit failure
31124 * build-aux/git-hooks/commit-msg: If the commit is aborted,
31125 say so. Simplify by doing this at the end. Problem reported
31126 by Eli Zaretskii in:
31127 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
31128
31129 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
31130
31131 Clean up LDAP Configuration section of EUDC manual
31132 * doc/misc/eudc.texi: Combine indices.
31133 (LDAP Configuration): Use command markup. Add index entries.
31134 Change formatting. Wrap long lines. Add noindent markup.
31135
31136 2015-04-10 Daiki Ueno <ueno@gnu.org>
31137
31138 Add facility to collect stderr of async subprocess
31139 * src/w32.h (register_aux_fd): New function declaration.
31140 * src/w32.c (register_aux_fd): New function.
31141 * src/process.h (struct Lisp_Process): New member stderrproc.
31142 * src/process.c (PIPECONN_P): New macro.
31143 (PIPECONN1_P): New macro.
31144 (Fdelete_process, Fprocess_status, Fset_process_buffer)
31145 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
31146 (Fcontinue_process): Handle pipe process specially.
31147 (create_process): Respect p->stderrproc.
31148 (Fmake_pipe_process): New function.
31149 (Fmake_process): Add new keyword argument :stderr.
31150 (wait_reading_process_output): Specially handle a pipe process when
31151 it gets an EOF.
31152 (syms_of_process): Register Qpipe and Smake_pipe_process.
31153 * doc/lispref/processes.texi (Asynchronous Processes): Document
31154 `make-pipe-process' and `:stderr' keyword of `make-process'.
31155 * lisp/subr.el (start-process): Suggest to use `make-process' handle
31156 standard error separately.
31157 * test/automated/process-tests.el (process-test-stderr-buffer)
31158 (process-test-stderr-filter): New tests.
31159 * etc/NEWS: Mention new process type `pipe' and its usage with the
31160 `:stderr' keyword of `make-process'.
31161
31162 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
31163
31164 Minor quoting etc. fixes to lispref manual
31165 * doc/lispref/tips.texi (Documentation Tips):
31166 Distinguish more clearly among grave accent, apostrophe,
31167 and single quote.
31168 * doc/lispref/README, doc/lispref/buffers.texi:
31169 * doc/lispref/commands.texi, doc/lispref/control.texi:
31170 * doc/lispref/customize.texi, doc/lispref/display.texi:
31171 * doc/lispref/elisp.texi, doc/lispref/files.texi:
31172 * doc/lispref/frames.texi, doc/lispref/hash.texi:
31173 * doc/lispref/help.texi, doc/lispref/internals.texi:
31174 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
31175 * doc/lispref/markers.texi, doc/lispref/modes.texi:
31176 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
31177 * doc/lispref/os.texi, doc/lispref/positions.texi:
31178 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
31179 * doc/lispref/text.texi, doc/lispref/tips.texi:
31180 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
31181 Use American-style double quoting in ordinary text,
31182 and quote 'like this' when single-quoting in ASCII text.
31183 Also, fix some minor spacing issues.
31184
31185 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
31186
31187 Handle symlinked test directory in tramp-tests.el
31188 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
31189 (tramp--test-check-files): Use `file-truename' for directories.
31190
31191 2015-04-10 Eli Zaretskii <eliz@gnu.org>
31192
31193 Fix 'recenter' when visual-line-mode is turned on
31194 * src/window.c (Frecenter): Use the same code for GUI and TTY
31195 frames alike; use vmotion only for "initial" frames. This is
31196 because vmotion doesn't support visual-line-mode. Rewrite the
31197 'iarg >= 0' case to use move_it_* functions instead of using
31198 vmotion, for the same reason. Fix the clipping of the argument
31199 value to support scroll-margin in all cases and avoid unwarranted
31200 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
31201 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
31202 which see.
31203
31204 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
31205
31206 * lisp/abbrev.el (define-abbrev-table): Refine last change.
31207
31208 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
31209 use of c[ad]+r", so as to keep the "cl-" prefix on all
31210 cl-lib definitions.
31211
31212 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
31213 Use inhibit-point-motion-hooks.
31214
31215 * lisp/cedet/semantic: Remove some dead code.
31216 * lisp/cedet/semantic/util-modes.el
31217 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
31218 any more.
31219 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
31220 not supported any more.
31221 (semantic-safe): Use `declare'.
31222 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
31223 (semantic-tag-intangible-p): Remove unused functions.
31224 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
31225 Remove unused function.
31226
31227 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
31228 (gnus-article-hide-text, gnus-article-unhide-text)
31229 (gnus-article-unhide-text-type): Remove special handling of
31230 `intangible' since that property is not used any more.
31231 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
31232
31233 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
31234
31235 Use the VC root in `log-edit-listfun'
31236 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
31237 `log-edit-listfun'.
31238
31239 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
31240
31241 Fix description of Unix time, mention new function.
31242 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
31243 Unix time.
31244 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
31245 (Basic Operations on Units): Mention `calc-convert-exact-units'.
31246
31247 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
31248
31249 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
31250
31251 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
31252
31253 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
31254 Don't add newline after the last entry.
31255
31256 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
31257
31258 css-mode.el: Add "not" pseudo-class
31259 (Bug#20267)
31260 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
31261 list of CSS pseudo-classes.
31262
31263 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
31264
31265 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
31266
31267 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
31268
31269 Stop messing with the EMACS env var
31270 * doc/emacs/misc.texi (Interactive Shell): Remove description of
31271 EMACS env var.
31272
31273 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
31274
31275 Adapt 'make change-history' to coding cookie
31276 * Makefile.in (change-history): Adjust to change of format of
31277 ChangeLog file, which now has a coding cookie before an indented
31278 copyright notice.
31279
31280 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
31281
31282 Adapt 'make change-history' to coding cookie
31283 * Makefile.in (change-history): Adjust to change of format of
31284 ChangeLog file, which now has a coding cookie before an indented
31285 copyright notice.
31286
31287 gitlog-to-changelog coding cookie and mv -i
31288 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
31289 for copyright notice prototype, so that we get a proper "coding:"
31290 cookie. Use 'mv -i' to avoid unconditionally overwriting an
31291 existing ChangeLog. Problems reported by Eli Zaretskii in:
31292 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
31293
31294 Merge from gnulib
31295 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
31296 2015-04-09 gitlog-to-changelog: port to MS-Windows
31297
31298 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
31299
31300 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
31301 (Bug#20212)
31302
31303 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
31304
31305 Stop messing with the EMACS env var
31306 (Bug#20202)
31307 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
31308 * lisp/comint.el (comint-exec-1):
31309 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
31310 * lisp/progmodes/compile.el (compilation-start): Same and bring
31311 INSIDE_EMACS's format in line with other users.
31312
31313 css-mode.el (css-smie-rules): Fix indentation after complex selectors
31314 (Bug#20282)
31315 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
31316 inner structure of selectors.
31317
31318 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
31319
31320 python.el: Indent docstring lines to base-indent
31321 (Bug#19595)
31322 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
31323 an initial patch.
31324 * lisp/progmodes/python.el
31325 (python-indent-context): Add :inside-docstring context.
31326 (python-indent--calculate-indentation): Handle :inside-docstring.
31327 (python-indent-region): Re-indent docstrings.
31328 * test/automated/python-tests.el (python-indent-region-5)
31329 (python-indent-inside-string-2): Fix tests.
31330
31331 python.el: Increase native completion robustness
31332 (Bug#19755)
31333 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
31334 this and providing useful ideas.
31335 * lisp/progmodes/python.el
31336 (python-shell-completion-native-output-timeout): Increase value.
31337 (python-shell-completion-native-try-output-timeout): New var.
31338 (python-shell-completion-native-try): Use it.
31339 (python-shell-completion-native-setup): New readline setup avoids
31340 polluting current context, ensures output when no-completions are
31341 available and includes output end marker.
31342 (python-shell-completion-native-get-completions): Trigger with one
31343 tab only. Call accept-process-output until output end is found or
31344 python-shell-completion-native-output-timeout is exceeded.
31345
31346 2015-04-08 Samer Masterson <samer@samertm.com>
31347
31348 * lisp/eshell: Make backslash a no-op in front of normal chars
31349 (Bug#8531)
31350 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
31351 (eshell-parse-backslash): Return escaped character after backslash
31352 if it is special. Otherwise, if the backslash is not in a quoted
31353 string, ignore the backslash and return the character after; if
31354 the backslash is in a quoted string, return the backslash and the
31355 character after.
31356 * test/automated/eshell.el (eshell-test/escape-nonspecial)
31357 (eshell-test/escape-nonspecial-unicode)
31358 (eshell-test/escape-nonspecial-quoted)
31359 (eshell-test/escape-special-quoted): Add tests for new
31360 `eshell-parse-backslash' behavior.
31361
31362 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
31363
31364 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
31365 after the file name.
31366 (Bug#20276)
31367
31368 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
31369
31370 Minor quoting etc. fixes to Emacs manual
31371 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
31372 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
31373 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
31374 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
31375 * doc/emacs/indent.texi, doc/emacs/macos.texi:
31376 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
31377 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
31378 * doc/emacs/search.texi, doc/emacs/trouble.texi:
31379 * doc/emacs/vc1-xtra.texi:
31380 Use American-style double quoting in ordinary text,
31381 and quote 'like this' when single-quoting in ASCII text.
31382 Also, fix some minor spacing issues.
31383
31384 Minor quoting etc. fixes to elisp intro
31385 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
31386 American-style double quoting in ordinary text. In ASCII text,
31387 consistently quote 'like this' instead of `like this', unless
31388 Emacs requires the latter.
31389
31390 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
31391
31392 * CONTRIBUTE: Mention log-edit-insert-changelog.
31393
31394 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
31395
31396 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
31397
31398 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
31399
31400 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
31401
31402 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
31403 Fix inheritance of initargs. (Bug#20270)
31404
31405 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
31406
31407 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
31408 while dowloading information.
31409
31410 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
31411 (package--ensure-init-file): Check file contents before visiting.
31412 (package-initialize): Call it.
31413 (package-install-from-buffer, package-install): Don't call it.
31414
31415 2015-04-08 Eli Zaretskii <eliz@gnu.org>
31416
31417 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
31418 (Bug#17517)
31419
31420 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
31421
31422 * lisp/net/tramp-cache.el (tramp-flush-file-property):
31423 Fix nasty scoping bug.
31424
31425 2015-04-08 Tassilo Horn <tsdh@gnu.org>
31426
31427 Add notice to visual commands section
31428 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
31429 such as git call less with its -F option which omits pagination if
31430 the contents is less than one page long. This interferes with
31431 eshell's visual (sub-)commands.
31432
31433 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
31434
31435 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
31436 environment variable expansion in file names. (Bug#19839)
31437
31438 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
31439
31440 Prefer double-quote to accent-grave in man pages
31441
31442 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
31443
31444 (Bug#20257)
31445 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
31446
31447 2015-04-07 Ivan Shmakov <ivan@siamics.net>
31448
31449 Update etc/PROBLEMS.
31450 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
31451 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
31452 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
31453 respectively); other minor updates and tweaks. (Bug#20011)
31454
31455 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
31456
31457 Add doc strings for some Isearch state vars
31458 * lisp/misearch.el (multi-isearch-buffer-list)
31459 (multi-isearch-file-list): Add doc strings.
31460 (Bug#20232)
31461
31462 2015-04-07 Alan Mackenzie <acm@muc.de>
31463
31464 Always mark "<" and ">" in #include directives with text properties.
31465 * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
31466 "anchored matcher" with an invocation of
31467 c-make-font-lock-search-function to allow fontification when there's
31468 no trailing space on an "#include <..>" line.
31469
31470 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
31471
31472 Generate a ChangeLog file from commit logs
31473 * .gitignore: Add 'ChangeLog'.
31474 * build-aux/gitlog-to-changelog: New file, from Gnulib.
31475 * build-aux/gitlog-to-emacslog: New file.
31476 * CONTRIBUTE: Document the revised workflow.
31477 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
31478 instead of just special cases.
31479 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
31480 (ChangeLog, unchanged-history-files, change-history)
31481 (change-history-commit): New rules.
31482 * admin/admin.el (make-manuals-dist--1):
31483 Don't worry about doc/ChangeLog.
31484 * admin/authors.el: Add a FIXME.
31485 * admin/make-tarball.txt:
31486 * lisp/calendar/icalendar.el:
31487 * lisp/gnus/deuglify.el:
31488 * lisp/obsolete/gulp.el:
31489 * lwlib/README:
31490 Adjust to renamed ChangeLog history files.
31491 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
31492 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
31493 Remove obsolete discussion of merging ChangeLog files.
31494 New section "Maintaining ChangeLog history".
31495 * build-aux/git-hooks/pre-commit:
31496 Reject attempts to commit files named 'ChangeLog'.
31497 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
31498 * make-dist: Make and distribute top-level ChangeLog if there's a
31499 .git directory. Distribute the new ChangeLog history files
31500 instead of scattered ChangeLog files. Distribute the new files
31501 gitlog-to-changelog and gitlog-to-emacslog.
31502 (Bug#19113)
31503
31504 Rename ChangeLogs for gitlog-to-changelog
31505 This patch was implemented via the following shell commands:
31506 find * -name ChangeLog |
31507 sed 's,.*,git mv & &.1,
31508 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
31509 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
31510 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
31511 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
31512 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
31513 sh
31514 git commit -am"[this commit message]"
31515
31516 This file records repository revisions from
31517 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
31518 2016-02-04b6d89ff9288a49099f041752908b5eb9613e (inclusive).
31519 commit ba1422e12f80ae1eb2aa9d0ce80c14e3ee4b3950 (inclusive).
31520 See ChangeLog.1 for earlier changes.
31521
31522 ;; Local Variables:
31523 ;; coding: utf-8
31524 ;; End:
31525
31526 Copyright (C) 2015-2016 Free Software Foundation, Inc.
31527
31528 This file is part of GNU Emacs.
31529
31530 GNU Emacs is free software: you can redistribute it and/or modify
31531 it under the terms of the GNU General Public License as published by
31532 the Free Software Foundation, either version 3 of the License, or
31533 (at your option) any later version.
31534
31535 GNU Emacs is distributed in the hope that it will be useful,
31536 but WITHOUT ANY WARRANTY; without even the implied warranty of
31537 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31538 GNU General Public License for more details.
31539
31540 You should have received a copy of the GNU General Public License
31541 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.