aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2016-01-03 06:25:27 -0500
committerGlenn Morris2016-01-03 06:25:27 -0500
commitef069ca8cc5377ed745bd2ad2521e544c57974cd (patch)
tree6c222473a5e892286b25ac8c44df7bbb2f5a1531
parentfb6d826c69939c2d016c1b824d4e9bcb53d9e643 (diff)
downloademacs-ef069ca8cc5377ed745bd2ad2521e544c57974cd.tar.gz
emacs-ef069ca8cc5377ed745bd2ad2521e544c57974cd.zip
; Auto-commit of ChangeLog files.
-rw-r--r--ChangeLog.24873
1 files changed, 4872 insertions, 1 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index 6a8f539da46..1169ab458d6 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,4874 @@
12016-01-03 John Wiegley <johnw@newartisans.com>
2
3 Merge branch 'emacs-25-merge'
4
52016-01-02 Vincent Belaïche <vincentb1@users.sourceforge.net>
6
7 Align textually on fix done for emacs-25 branch for bug#21054
8
9 * lisp/ses.el (ses-check-curcell): Suppress ``temporary fix'' comment,
10 and useless `(if t ...)' in order to align textually on fix done for
11 emacs-25 branch for bug#21054.
12
132016-01-02 K. Handa <handa@gnu.org>
14
15 support rendering of wider range of combinging characters by ftfont backend
16
17 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
18 supports rendering of combining characters, call
19 font-shape-gstring.
20
21 * src/font.c (Ffont_get): Handle `combining-capability' property.
22 (syms_of_font): New symbol ":combining-capability'.
23
24 * src/font.h (struct font_driver): New member combining_capability.
25
26 * src/ftfont.c: Include "category.h".
27 (ftfont_driver): Initialize combining_capability to
28 ftfont_combining_capability.
29 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
30 FLT in advance.
31 (ftfont_combining_capability): New function.
32
332016-01-01 Andrew Hyatt <ahyatt@gmail.com>
34
35 Add notes on bug triage procedure
36
37 * CONTRIBUTE: In section on the issue tracker, point to new triage file.
38 * admin/notes/triage: New file explaining triage procedure.
39
402015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
41
42 Correct ses-rename-cell cursor-intangible text prop updating.
43
44 There were two problems:
45
46 - First ses-rename-cell has to work when called non interactively
47 (with non-nil CELL argument), so in this case the start pos of
48 put-text-property cannot be plainly (point), you need a
49 ses-goto-print call before
50
51 - Second, the range itself was computed erronously, only the first
52 char was affected instead of the full cell width. This was not
53 noticeable prior to changes (Deprecate `intangible' and
54 `point-entered' properties) made by Stefan on 2015-04-13T19:51:15Z
55
56 * lisp/ses.el (ses-rename-cell): Correct computation of position range
57 to which the 'cursor-intangible text property has to be set to cell
58 new name.
59
602015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
61
62 Don't fake empty cells value by "" when printing with a lambda.
63
64 When using a lambda expression printer function the user should be
65 free to format differently a really empty cell, ie. containing nil,
66 from a cell containing an empty string "".
67
68 * ses.el (ses-call-printer): Replace `(or value "")' by just `value'
69 in the case of a lambda expression printer function.
70
71 * ses.texi (Printer functions): Add example and description about
72 lambda expression printer function handling all the possible values,
73 including unexpected ones.
74
752015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
76
77 Quick temporary hack to fix curcell refreshing.
78
79 The problem was caused by change: 2015-04-13 Deprecate `intangible'
80 and `point-entered' properties. The problem is that this change has
81 removed the (setq ses--curcell t) setting in the ses-command-hook
82 function.
83
84 * ses.el (ses-check-curcell): replace `(eq ses--curcell t)' by just `t' as
85 a condition to call function `ses-set-curcell'. Comment this as a quick
86 temporary hack to make it work, as I don't know yet whether a definite
87 correction would be to make the ses-set-curcell at every ses-check-curcell,
88 or to revert to the previous approach, ie marking ses--curcell as out-of-date
89 at every potentially cursor motion command.
90
912015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
92
93 Restrictive URL checking tweaks
94
95 * lisp/net/eww.el (eww): Check whether the domain is
96 restrictive instead of the string
97 (http://македонија.icom.museum is restrictive even if each
98 part is from a different script).
99
1002015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
101
102 New function `puny-highly-restrictive-domain-p'
103
104 * lisp/net/puny.el (puny-highly-restrictive-string-p): Rename.
105 (puny-highly-restrictive-domain-p): New function.
106
1072015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
108
109 eww build fix (require puny)
110
1112015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
112
113 Transform non-restrictive domains to punycode for display
114
115 * lisp/net/eww.el (eww): Check whether the domain is Highly
116 Restrictive in the Unicode IDNA sense.
117
1182015-12-30 John Wiegley <johnw@newartisans.com>
119
120 Merge emacs-25 into master (using imerge)
121
1222015-12-29 Eli Zaretskii <eliz@gnu.org>
123
124 Fix typos in CC Mode manual
125
126 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
127 typos. (Bug#22267)
128
1292015-12-29 Eli Zaretskii <eliz@gnu.org>
130
131 Avoid assertion violations in compact_font_cache_entry
132
133 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
134 avoid assertion violation in ASIZE. (Bug#22263)
135
1362015-12-29 Eli Zaretskii <eliz@gnu.org>
137
138 Fix filling text with bidirectional characters in shr.el
139
140 * lisp/net/shr.el (shr-insert-document): Bind
141 bidi-display-reordering to nil while filling lines. This is
142 required for when a line includes characters whose bidi
143 directionality is opposite to the base paragraph direction,
144 because columns are counted in the logical order. (Bug#22250)
145
1462015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
147
148 Further Unicode restrictive fixups
149
150 * puny.el (puny-highly-restrictive-p): Include the extra
151 identifier characters from table 3.
152
1532015-12-29 Martin Rudalics <rudalics@gmx.at>
154
155 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
156
1572015-12-29 Michael Albinus <michael.albinus@gmx.de>
158
159 Sync with Tramp 2.2.13
160
161 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
162
163 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
164 Use `tramp-compat-funcall'.
165
166 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
167 Make `split-string' call compatible with older Emacsen.
168
169 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
170
1712015-12-29 Lambda Coder <sjLambda@gmail.com>
172
173 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
174
1752015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
176
177 Mention that tls.el is secure by default, and will fail
178
1792015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
180
181 Make tls.el use trustfiles by default
182
183 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
184 (open-tls-stream): Insert the trustfile by looking at
185 `gnutls-trustfiles'.
186
1872015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
188
189 Refactor out gnutls-trustfiles
190
191 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
192
1932015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
194
195 Remove --insecure from gnutls-cli invocation
196
197 * tls.el (tls-program): Default to using secure TLS
198 connections (bug#19284).
199
2002015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
201
202 Add a new function to say whether a string is restrictive
203
204 * puny.el (puny-highly-restrictive-p): New function.
205
2062015-12-28 Paul Eggert <eggert@cs.ucla.edu>
207
208 Spelling fix
209
2102015-12-28 Paul Eggert <eggert@cs.ucla.edu>
211
212 Port report-emacs-bug to deterministic builds
213
214 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
215 recent "built on" change to deterministic builds where
216 emacs-build-system will be nil. See:
217 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
218
2192015-12-28 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
220
221 Fix URL auth error message
222
223 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
224 message more correct (bug#20069).
225
2262015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
227
228 Mention the new puny.el library
229
2302015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
231
232 IDNA-related fixes for the URL library
233
234 * lisp/url/url-http.el (url-http-create-request): IDNA-encode
235 the Host: header.
236
237 * lisp/url/url-util.el (url-encode-url): Don't hex-encode
238 domain names, but leave them as UTF-8, so that they can be
239 IDNA-encoded later when contacting the host.
240
2412015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
242
243 IDNA-encode all domain names in `open-network-stream'
244
245 * network-stream.el (open-network-stream)
246 (network-stream-open-plain, network-stream-open-starttls):
247 IDNA-encode all domain names, if needed.
248
2492015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
250
251 Fix puny-encoding all-non-ASCII domains
252
253 * puny.el (puny-encode-string): Fix the all-non-ASCII encoding case.
254
2552015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
256
257 shr link traversal fixup
258
259 * shr.el (shr-next-link): Don't bug out on adjacent links.
260
261 Backport:
262
263 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
264
2652015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
266
267 shr link traversal fixup
268
269 * shr.el (shr-next-link): Don't bug out on adjacent links.
270
2712015-12-28 Tom Tromey <tom@tromey.com>
272
273 set :safe on css-indent-offset
274
275 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
276
2772015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
278
279 * eww.el (eww-mode): Remove superfluous bidi reset.
280
2812015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
282
283 Make chunked encoding trailer detection more compliant
284
285 * lisp/url/url-http.el
286 (url-http-chunked-encoding-after-change-function): Make
287 trailer detection more compliant (bug#16345).
288
2892015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
290
291 Reconnect erc even on server errors
292
293 * lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to
294 reconnect even if a server error has occurred (bug#18527).
295
2962015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
297
298 Fix punycode short circuit logic
299
300 * puny.el (puny-encode-domain): Fix short-circuit logic.
301
3022015-12-28 Martin Rudalics <rudalics@gmx.at>
303
304 Fix Bug#10873 in `report-emacs-bug'
305
306 * lisp/mail/emacsbug.el (report-emacs-bug): If
307 `report-emacs-bug-no-explanations' is nil, make sure we can show
308 mail and warnings buffer on this frame (Bug#10873).
309
3102015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
311
312 IDNA speed up
313
314 * puny.el (puny-encode-domain): Make the common non-IDNA case faster
315
3162015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
317
318 Add IDNA domain encode/decode functions
319
320 * puny.el (puny-decode-domain): New function.
321 (puny-encode-domain): Ditto.
322 (puny-decode-digit): Fix digit decoding error.
323
3242015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
325
326 Rename idna.el to puny.el
327
328 * puny.el: Renamed from idna.el to avoid name collisions with
329 the external idna.el library.
330
3312015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
332
333 Always reset the bidi direction
334
335 * eww.el (eww-display-html): Always reset the bidi direction
336 to `left-to-right' (bug#22257).
337
3382015-12-28 Alan Mackenzie <acm@muc.de>
339
340 Allow line comments ending with escaped NL to be continued to the next line.
341
342 Use this in C, C++, and Objective C Modes. Fixes bug#22246
343
344 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
345 (forw-comment, back-comment): On encountering an end of comment character,
346 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
347
348 * doc/lispref/syntax.texi (Control Parsing): Describe
349 `comment-end-can-be-escaped'.
350
351 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
352
353 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
354
3552015-12-28 Katsumi Yamaoka <yamaoka@jpl.org>
356
357 lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility
358
359 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe):
360 Don't use split-string with 4th arg for old Emacsen compatibility.
361
3622015-12-27 Dmitry Gutov <dgutov@yandex.ru>
363
364 Rename project-library-roots to project-external-roots
365
366 * lisp/progmodes/project.el (project-library-roots): Rename to
367 project-external-roots.
368 (project-library-roots-function): Rename to
369 project-vc-external-roots-function. Only use it in the VC
370 backend, for now. Update project-external-roots accordingly.
371 (project-vc-library-roots): Remove.
372 (project-or-libraries-find-regexp):
373 Rename to project-or-external-find-regexp.
374
375 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
376 Rename to elisp-load-path-roots.
377
378 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
379 an anonymous function for the default value of
380 project-vc-external-roots-function.
381
3822015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
383
384 * idna.el (idna-decode-string-internal): Implement decoding.
385
3862015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
387
388 Further IDNA tweaks
389
390 (idna-encode-string): Make idna-encode-string safe for
391 non-ASCII use.
392
3932015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
394
395 Clean up the code slightly
396
3972015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
398
399 Added basic idna encoding support
400
401 * lisp/net/idna.el: New file.
402
4032015-12-27 Vivek Dasmohapatra <vivek@etla.org>
404
405 Disconnection fixes for erc
406
407 * lisp/erc/erc-backend.el (erc-server-reconnect-p): Don't
408 reconnect if the user has disconnected explicitly (bug#4589).
409
4102015-12-27 Thomas Riccardi <riccardi.thomas@gmail.com> (tiny change)
411
412 Further erc asynch fixes
413
414 * lisp/erc/erc-backend.el (erc-process-sentinel-2): Make
415 erc-server-connect to return even if the connection is not
416 ready. Then erc-open and erc-server-reconnect do the
417 same. (bug#5650).
418
4192015-12-27 Vivek Dasmohapatra <vivek@etla.org>
420
421 Make erc connect asynchronously
422
423 * lisp/erc/erc-backend.el (erc-server-reconnect): Use it to
424 reconnect asynchronously.
425
426 * lisp/erc/erc-backend.el (erc-open-network-stream): New function (bug#5650).
427
4282015-12-27 Deniz Dogan <deniz@dogan.se>
429
430 Clear erc user list upon disconnection
431
432 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
433 lists upon disconnection. This prevents invalid channel
434 user lists when reconnecting (bug#10947).
435
4362015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
437
438 Don't bug out in erc after waking from sleep
439
440 * erc-backend.el (erc-server-send-ping): If the server has
441 closed connection, this may already have been detected and
442 `erc-server-last-received-time' has been set to nil (bug#13608).
443
4442015-12-27 David Edmondson <dme@dme.org>
445
446 Proxy error in erc with multiple clients
447
448 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
449 generated when multiple IRC clients talk to a single IRC proxy
450 (bug#19034).
451
452 Backport:
453
454 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
455
4562015-12-27 David Edmondson <dme@dme.org>
457
458 Proxy error in erc with multiple clients
459
460 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
461 generated when multiple IRC clients talk to a single IRC proxy
462 (bug#19034).
463
4642015-12-27 Dima Kogan <dima@secretsauce.net>
465
466 Ensure that we don't have several timers in erc
467
468 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
469 for existing timers in the alist before adding new ones. If a
470 timer already exists, it is cancelled and
471 overwritten. (bug#19292).
472
4732015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
474
475 Fix mml-sec build warnings
476
477 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
478 (bug#18718).
479
480 Backport:
481
482 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
483
4842015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
485
486 Fix mml-sec build warnings
487
488 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
489 (bug#18718).
490
4912015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
492
493 Don't insert erc logs at the end
494
495 * erc-log.el (erc-log-setup-logging): Insert the previous log
496 at the start of the buffer, not at the end (bug#20496).
497
4982015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
499
500 (eww-setup-buffer): Restore left-to-right defaults
501
502 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
503
504 Backport:
505
506 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
507
5082015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
509
510 (eww-setup-buffer): Restore left-to-right defaults
511
512 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
513
5142015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
515
516 Don't join erc channels doubly
517
518 * erc-join.el (erc-autojoin-channels): Don't join channels
519 more than once (if you have several nicks) (bug#20695).
520
5212015-12-27 Eli Zaretskii <eliz@gnu.org>
522
523 Avoid leaving "ghost" of mouse pointer on MS-Windows
524
525 * src/w32term.c (frame_set_mouse_pixel_position):
526 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
527 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
528 * src/w32term.c (frame_set_mouse_pixel_position): Include
529 w32common.h.
530
5312015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
532
533 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Fix typo in last check-in.
534
5352015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
536
537 Identify unsafe combinations of Bcc and encryption
538
539 * lisp/gnus/gnus-util.el (gnus-subsetp): New function
540 * lisp/gnus/mml-sec.el (mml-secure-safe-bcc-list): New variable
541 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): New function
542
5432015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
544
545 Fix auth source lookups from erc with port numbers
546
547 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
548 numbers (bug#20541).
549
5502015-12-27 Fran Litterio <flitterio@gmail.com>
551
552 Run erc-kill-channel-hook always on exit
553
554 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
555 when erc-kill-queries-on-quit is set (bug#21187).
556
5572015-12-26 Paul Eggert <eggert@cs.ucla.edu>
558
559 Spelling fix
560
561 * test/automated/url-parse-tests.el:
562 (url-generic-parse-url/same-document-reference):
563 Rename from url-generic-parse-url/same-decument-reference.
564
5652015-12-26 Paul Eggert <eggert@cs.ucla.edu>
566
567 Reword initial *scratch* for brevity, appearance
568
569 * lisp/startup.el (initial-scratch-message):
570 Reword to avoid apostrophes, and to make it shorter.
571 See the thread starting in:
572 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
573
5742015-12-26 Leo Liu <sdl.web@gmail.com>
575
576 Add ert-deftest to lisp-mode.el
577
578 * lisp-mode.el (lisp-imenu-generic-expression,
579 lisp-el-font-lock-keywords-1): Add ert-deftest.
580
5812015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
582
583 Mark imap changes as not needing doc changes
584
585 * imap.el (imap-ssl-open): Remove
586
5872015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
588
589 Use built-in encryption in imap.el
590
591 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
592 (imap-starttls-open): Use open-network-stream instead of starttls.el.
593 (imap-tls-open): Use open-network-stream instead of tls.el.
594
5952015-12-26 Eli Zaretskii <eliz@gnu.org>
596
597 Don't try using /bin/sh in artist.el on MS-Windows
598
599 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
600 New function.
601 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
602 (Bug#20167)
603
6042015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
605
606 Always define gmalloc etc. in src/gmalloc.c
607
608 This is a work-around to prevent the compiler from using semantic
609 knowledge about malloc for optimization purposes. E.g., gcc 5.2
610 with -O2 replaces most of calloc's definition by a call to calloc;
611 see Bug#22085.
612 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
613 (aligned_alloc, free): Do not undef. Instead, define these as
614 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
615
6162015-12-26 Eli Zaretskii <eliz@gnu.org>
617
618 Fix documentation of browse-url browser-related functions
619
620 * lisp/net/browse-url.el (browse-url)
621 (browse-url-default-browser, browse-url-default-windows-browser)
622 (browse-url-default-macosx-browser, browse-url-chromium)
623 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
624 and NEW-WINDOW arguments in these functions. (Bug#19421)
625
6262015-12-26 Paul Eggert <eggert@cs.ucla.edu>
627
628 Propagate Bug#14412 fix to backtrace_eval_unrewind
629
630 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
631 becomes accurate again. This shouldn’t affect behavior.
632 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
633
6342015-12-26 Eli Zaretskii <eliz@gnu.org>
635
636 Don't produce non-ASCII characters in *scratch*
637
638 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
639 avoid producing non-ASCII characters in the *scratch* buffer's
640 commentary.
641
6422015-12-26 Eli Zaretskii <eliz@gnu.org>
643
644 Document changes in 'compare-windows'
645
646 * lisp/vc/compare-w.el (compare-windows-removed)
647 (compare-windows-added): Doc fix.
648
649 * doc/emacs/files.texi (Comparing Files): Document the changes in
650 window selection by 'compare-windows'.
651
6522015-12-26 Eli Zaretskii <eliz@gnu.org>
653
654 Document 'vc-annotate-background-mode'
655
656 * doc/emacs/maintaining.texi (Old Revisions): Document
657 'vc-annotate-background-mode'.
658
6592015-12-26 Eli Zaretskii <eliz@gnu.org>
660
661 Document 'vc-region-history'
662
663 * doc/emacs/maintaining.texi (VC Change Log): Document
664 'vc-region-history'.
665
6662015-12-26 Eli Zaretskii <eliz@gnu.org>
667
668 Improve documentation of 'vc-push'
669
670 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
671 improve the documentation of 'vc-push'.
672
673 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
674
6752015-12-26 Alain Schneble <a.s@realize.ch>
676
677 Include the tests for the URL parsing fixes
678
6792015-12-26 Alain Schneble <a.s@realize.ch>
680
681 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
682
683 * test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
684 * test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
685 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
686 information in URL-struct.
687 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
688 path and query into nil path and query, respectively.
689 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
690 empty path into an absolute ("/") path.
691 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
692 fragment-only URIs. Do not just return them unchanged.
693 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
694 reference URI should not drop the last segment.
695
696 Backport:
697
698 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
699
7002015-12-26 Eli Zaretskii <eliz@gnu.org>
701
702 Document 'url-user-agent'.
703
704 * lisp/url/url-http.el (url-user-agent): Move from here...
705 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
706 keep all the URL defcustoms in one place, and also have it defined
707 whenever the URL library is loaded.
708
709 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
710
7112015-12-26 Eli Zaretskii <eliz@gnu.org>
712
713 Document protocols supported by URL library via Tramp
714
715 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
716 supported via Tramp.
717 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
718 Tramp.
719
7202015-12-26 Eli Zaretskii <eliz@gnu.org>
721
722 Document changes in Shell-script mode
723
724 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
725 the 'sh-shell' file-local variable.
726 (top level): Add an auto-load form to avoid byte-compiler warning
727 about 'comint-send-string'.
728
7292015-12-26 Eli Zaretskii <eliz@gnu.org>
730
731 Fix documentation of 'ses-define-local-printer'
732
733 * doc/misc/ses.texi (Printer functions): Fix whitespace between
734 sentences and punctuation. Add an index entry for
735 'ses-define-local-printer'.
736
7372015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
738
739 Document 'ert-summarize-tests-batch-and-exit'
740
741 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
742 'ert-summarize-tests-batch-and-exit'.
743
7442015-12-26 Eli Zaretskii <eliz@gnu.org>
745
746 Avoid assertion violation in unbind_to
747
748 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
749 if we get here with an object that is not a symbol. (Bug#14412)
750
7512015-12-25 Andreas Schwab <schwab@linux-m68k.org>
752
753 Don't treat /foo/bar:mumble as ange-ftp address
754
755 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
756 only in the first component. (bug#5362)
757
7582015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
759
760 Follow <meta> redirects in eww
761
762 Merge conflict, but I think I resolved it.
763
764 Follow meta refresh tags in eww
765
766 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
767
768 Backport:
769
7702015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
771
772 Allow http://user:pass@foo/ URLs again
773
774 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
775 user/passwords in URLs (bug#19046).
776
777 Backport:
778
779 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
780
7812015-12-25 Samer Masterson <samer@samertm.com>
782
783 Autoload url-insert-buffer-contents
784
785 * lisp/url/url-handlers.el: Add autoload cookie so that
786 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
787
788 Backport:
789
790 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
791
7922015-12-25 Eli Zaretskii <eliz@gnu.org>
793
794 Make sure *scratch* etc. use forward slashes in its default-directory
795
796 * lisp/startup.el (normal-top-level): On MS-Windows, convert
797 backslashes to forward slashes while decoding default-directory
798 of the initially-created buffers.
799
8002015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
801
802 More eww file name coding fixes
803
804 * eww.el (eww-decode-url-file-name): Use the base coding
805 system to check for encodability.
806
807 Backport:
808
809 (cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)
810
8112015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
812
813 Always save eww history
814
815 * eww.el (eww-setup-buffer): Always save history, even when
816 called from outside the eww buffer (bug#19638).
817
818 Backport:
819
820 (cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)
821
8222015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
823
824 Default web pages to right-to-left
825
826 * eww.el (eww-mode): Most web pages are left-to-right, so make
827 that the default (bug#19801).
828
829 * shr.el (shr-tag-html): Respect "dir" attributes
830 (left-to-right, right-to-left).
831
832 Backport:
833
834 (cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)
835
8362015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
837
838 Make toggling checkboxes work again
839
840 * eww.el (eww-update-field): Make toggling checkboxes work
841 again (bug#21881).
842
843 Backport:
844
845 (cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)
846
8472015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
848
849 Don't store cookies with empty names
850
851 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
852 cookies with empty names (bug#21936).
853
854 Backport:
855
856 (cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)
857
8582015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
859
860 Stop rendering HTML before specdlr exhaustion
861
862 Fixes: 22117
863
864 * shr.el (shr-descend): Stop rendering before we run out of
865 specpdl room (bug#22117).
866
867 Backport:
868
869 (cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)
870
8712015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
872
873 Use cl-reduce, not reduce.
874
875 Backport:
876
877 (cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)
878
8792015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
880
881 Allow several <tbody> tags in shr
882
883 * shr.el (shr-table-body): New function to find the real body
884 of a table.
885 (shr-tag-table): Use it to render several <tbody> tags in a
886 table (bug#22170).
887
888 Backport:
889
890 (cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)
891
8922015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
893
894 Make prettier unique file names in eww
895
896 (eww-make-unique-file-name): Make unique file names by making
897 files like foo(2).jpg instead of foo(1)(2).jpg.
898
899 Backport:
900
901 (cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)
902
9032015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
904
905 Decode hex-encoded URLs before using them as file names
906
907 * eww.el (eww-decode-url-file-name): New function.
908 (eww-download-callback): Use it to decode file names before
909 saving them.
910
911 Backport:
912
913 (cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)
914
9152015-12-25 Ashish SHUKLA <ashish.is@lostca.se>
916
917 Add FreeBSD cert bundle
918
919 * doc/misc/emacs-gnutls.texi (Help For Users): Document
920 FreeBSD bundle.
921
922 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
923
924 Backport:
925
926 (cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)
927
9282015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
929
930 Ignore invalid SVG images
931
932 * shr.el (shr-tag-svg): Ignore SVG images that have no width
933 or height, because these can't be displayed by ImageMagick,
934 anyway.
935
936 Backport:
937
938 (cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)
939
9402015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
941
942 shr table rendering fix
943
944 * shr.el (shr-tag-table): Allow rendering body-less tables
945 that have headers.
946
947 Backport:
948
949 (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
950
9512015-12-25 Eli Zaretskii <eliz@gnu.org>
952
953 Restore info about the build host in bug reports
954
955 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
956 which Emacs was built. This is important information for
957 investigating bug reports reported by users who don't build their
958 Emacs.
959
9602015-12-25 Eli Zaretskii <eliz@gnu.org>
961
962 Fix bootstrap broken by changes related to OS X file-name encoding
963
964 * lisp/international/ucs-normalize.el (eval-when-compile): Make
965 sure char-code-property-alist includes elements that allow access
966 to 'decomposition' and 'canonical-combining-class' Unicode
967 properties, as compiling ucs-normalize.el requires that.
968 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
969 only of charprop.el was already loaded.
970
971 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
972 New order-only dependency.
973
9742015-12-25 Leo Liu <sdl.web@gmail.com>
975
976 * ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.
977
9782015-12-25 Michael Albinus <michael.albinus@gmx.de>
979
980 Make tramp-test29-vc-registered more robust
981
982 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
983 Move `bzr' case down. Skip test when `vc-create-repo' fails.
984 Remove instrumentation.
985
9862015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
987
988 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
989
9902015-12-23 Katsumi Yamaoka <yamaoka@jpl.org>
991
992 Fix `gnus-union' so as to behave like `cl-union'
993
994 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
995 Make gnus-union use `equal' to compare items in lists.
996
997 * lisp/gnus/gnus-util.el (gnus-union):
998 Make it behave like cl-union partially.
999
10002015-12-23 Paul Eggert <eggert@cs.ucla.edu>
1001
1002 Fix dired.c typo with ptrdiff_t vs Lisp_Object
1003
1004 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
1005 an integer type, fixing a problem introduced in the recent fix for
1006 Bug#22169.
1007
10082015-12-23 Eli Zaretskii <eliz@gnu.org>
1009
1010 Document default process sentinel more prominently
1011
1012 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
1013 defaults for process filter and sentinel. Provide cross-references.
1014 (Process Information): Provide cross-references to where filters
1015 and sentinels are described.
1016 (Filter Functions): Add an index entry for "default filter".
1017 (Sentinels): Add a few status messages not documented previously.
1018 Resolve the "killed" confusion. Document and describe the default
1019 sentinel. (Bug#22220)
1020
10212015-12-23 Eli Zaretskii <eliz@gnu.org>
1022
1023 Fix file-name completion on OS X
1024
1025 * src/dired.c (file_name_completion): Reject false matches due to
1026 file-name-coding-systems that decompose characters when encoding
1027 file names, by comparing decoded file names as well. (Bug#22169)
1028 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
1029
1030 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
1031 non-nil 'decomposed-characters' property.
1032
10332015-12-23 Anders Lindgren <andlind@gmail.com>
1034
1035 File-name completion of non-ASCII characters on OS X (bug#22169)
1036
1037 The coding system `utf-8-nfd', locally defined in ns-win.el,
1038 didn't provide a :pre-write-conversion method, causing file name
1039 completion of non-ASCII characters to fail. Solved by using the
1040 `utf-8-hfs' coding system provided by `ucs-normalize'.
1041
1042 * lisp/loadup.el: Load international/ucs-normalize (when building
1043 for ns).
1044
1045 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
1046 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
1047 as the file name coding system.
1048
1049 * src/nsfns.c (ns-convert-utf8-nfd-to-nfc): Removed.
1050
10512015-12-22 Tom Tromey <tom@tromey.com>
1052
1053 Fix bug #18588 by making bug-reference-bug-regexp more lenient
1054
1055 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
1056 "bug NNNN". (Bug #18588)
1057
10582015-12-22 Tom Tromey <tom@tromey.com>
1059
1060 add some cl-* aliases to lisp-mode imenu
1061
1062 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
1063 cl-defgeneric, and cl-defmethod.
1064
10652015-12-22 Tom Tromey <tom@tromey.com>
1066
1067 Make a variable buffer-local
1068
1069 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
1070 font-lock-syntax-table buffer-local. (Bug #21627)
1071
10722015-12-22 Eli Zaretskii <eliz@gnu.org>
1073
1074 Fix decoding of text in URLs retrieved by EWW
1075
1076 * lisp/net/eww.el (eww-render): Pass 'charset' to
1077 'eww-display-raw'. Use the value of 'last-coding-system-used', if
1078 non-nil, to set 'buffer-file-coding-system' of the buffer where we
1079 show the URL.
1080 (eww-display-html, eww-display-raw): Decode the text correctly,
1081 using the charset found in the headers, and defaulting to UTF-8.
1082 If the user told us to use a specific encoding, override the
1083 charset from the headers. (Bug#22222)
1084
10852015-12-22 Alan Mackenzie <acm@muc.de>
1086
1087 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
1088
1089 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
1090 variable `tmp'.
1091 After a failed search for a matching ">", restore point before continuing.
1092
10932015-12-22 Michael Albinus <michael.albinus@gmx.de>
1094
1095 Instrument Tramp tests
1096
1097 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
1098 (tramp--test-utf8): Instrument tests.
1099
11002015-12-22 Martin Rudalics <rudalics@gmx.at>
1101
1102 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
1103
1104 * lisp/simple.el (display-message-or-buffer): Call
1105 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
1106 (Bug#22221).
1107
11082015-12-21 Juri Linkov <juri@linkov.net>
1109
1110 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
1111
1112 (save-places-to-alist, save-place-dired-hook):
1113 Check for dired-subdir-alist. (Bug#19851)
1114
11152015-12-21 Paul Eggert <eggert@cs.ucla.edu>
1116
1117 Add FIXME comment re stack overflow and modules
1118
11192015-12-20 Paul Eggert <eggert@cs.ucla.edu>
1120
1121 Revert some recent emacs-module commentary
1122
1123 Most of the recently-added commentary was incorrect, due to the
1124 possibility of stack overflow.
1125
11262015-12-20 Paul Eggert <eggert@cs.ucla.edu>
1127
1128 Spelling fix: prefer "cooperate" to "co-operate"
1129
11302015-12-20 Paul Eggert <eggert@cs.ucla.edu>
1131
1132 Port undo fixes to -fno-common
1133
1134 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
1135 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
1136 (buffer_before_last_command_or_undo):
1137 Declare in keyboard.h, and define in keyboard.c,
1138 instead of assuming the traditional Unix relaxed ref-def linkage.
1139
11402015-12-20 Philipp Stephani <phst@google.com>
1141
1142 Improve commentary for emacs-module.c
1143
1144 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
1145 * src/emacs-module.c (module_non_local_exit_get): Document that we
1146 cannot use the current implementation.
1147 (module_is_not_nil, module_eq): Document assumptions about EQ and
1148 NILP.
1149
11502015-12-20 Michael Albinus <michael.albinus@gmx.de>
1151
1152 Suppress test on Mac OS X
1153
1154 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
1155 (tramp--test-utf8): Use it.
1156
11572015-12-20 Alan Mackenzie <acm@muc.de>
1158
1159 Merge branch 'scratch/follow' into emacs-25
1160
1161 This allows Isearch, etc., to work well when Follow Mode is active.
1162
11632015-12-19 Michael Albinus <michael.albinus@gmx.de>
1164
1165 * tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
1166
11672015-12-19 Eli Zaretskii <eliz@gnu.org>
1168
1169 Fix last commit
1170
1171 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
1172 with numeric argument.
1173
11742015-12-19 Eli Zaretskii <eliz@gnu.org>
1175
1176 Document new features of Rmail
1177
1178 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
1179 Document new behavior of 'd' and 'C-d' with numeric argument.
1180 (Rmail Display): Document the rendering of HTML MIME parts.
1181
11822015-12-19 Eli Zaretskii <eliz@gnu.org>
1183
1184 Improve documentation of new cl-lib functions
1185
1186 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
1187 Fix wording.
1188
11892015-12-19 Eli Zaretskii <eliz@gnu.org>
1190
1191 Document the new feature of 'minibuffer-with-setup-hook'
1192
1193 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
1194 added to `minibuffer-setup-hook'.
1195
11962015-12-19 Eli Zaretskii <eliz@gnu.org>
1197
1198 Document new features of Font Lock
1199
1200 * doc/lispref/modes.texi (Other Font Lock Variables): Document
1201 'font-lock-flush-function' and 'font-lock-ensure-function'.
1202 (Font Lock Basics): Document the basic fontification functions
1203 referenced in "Other Font Lock Variables".
1204
1205 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
1206
12072015-12-19 Eli Zaretskii <eliz@gnu.org>
1208
1209 Document new features of Rectangle mode
1210
1211 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
1212 rectangle-mark-mode.
1213
12142015-12-19 Eli Zaretskii <eliz@gnu.org>
1215
1216 Manual followup to last change
1217
1218 * doc/lispref/display.texi (Displaying Messages): Sync with the
1219 doc string. (Bug#22210)
1220
12212015-12-19 Eli Zaretskii <eliz@gnu.org>
1222
1223 Clarify doc string of 'display-message-or-buffer'
1224
1225 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
1226 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
1227
12282015-12-19 Eli Zaretskii <eliz@gnu.org>
1229
1230 * doc/emacs/emacs.texi (Top): Update top-level menus.
1231
1232 * doc/lispref/elisp.texi (Top): Update top-level menus.
1233
12342015-12-19 Eli Zaretskii <eliz@gnu.org>
1235
1236 Document how to avoid file-local variables that aren't
1237
1238 * doc/emacs/custom.texi (Specifying File Variables): Describe how
1239 to prevent Emacs from interpreting unrelated text as file-local
1240 variables. (Bug#22166)
1241
12422015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
1243
1244 Fix a typo in eterm-color's termcap entry
1245
1246 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
1247 entry. (Bug#22184)
1248
12492015-12-19 Eli Zaretskii <eliz@gnu.org>
1250
1251 Allow 'browse-url-emacs' visit non-existent URLs
1252
1253 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
1254 signal an error if VISIT is non-nil, to more faithfully emulate
1255 the behavior of 'insert-file-contents'. (Bug#22160)
1256
12572015-12-18 Paul Eggert <eggert@cs.ucla.edu>
1258
1259 Remove SunOS 4.x cruft
1260
1261 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
1262 * lib-src/pop.c [sun]: Remove no-longer-needed include.
1263 * lwlib/xlwmenu.c (SUNSO41): Remove.
1264
12652015-12-18 Paul Eggert <eggert@cs.ucla.edu>
1266
1267 Merge from gnulib
1268
1269 This mostly commentary fixes.
1270 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
1271 * lib/gnulib.mk: Regenerate with new gnulib-tool.
1272
12732015-12-18 Michael Albinus <michael.albinus@gmx.de>
1274
1275 Minor fixes in Tramp
1276
1277 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1278 Reorder ls arguments.
1279
1280 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
1281
12822015-12-18 Michael Albinus <michael.albinus@gmx.de>
1283
1284 Make tramp a built-in package
1285
1286 * lisp/finder.el (finder-compile-keywords): Update
1287 `package--builtins' also when Version: keyword is available.
1288
1289 * lisp/net/trampver.el: Add Version: keyword.
1290 (tramp-version): Change it to "2.2.13.25.1", in order to be
1291 compatible with `version-to-list'.
1292
12932015-12-18 Lele Gaifax <lele@metapensiero.it>
1294
1295 * etc/tutorials/TUTORIAL.it: Update and fix typos.
1296
12972015-12-18 Alan Mackenzie <acm@muc.de>
1298
1299 Rename `recenter-group' to `recenter-window-group'
1300
1301 * doc/lispref/windows.texi (Textual Scrolling)
1302 * lisp/window.el (top level, recenter-group)
1303 * lisp/follow.el (follow-mode)
1304 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
1305 `recenter-window-group' and `recenter-group-function' to
1306 `recenter-window-group-function'.
1307
13082015-12-18 Eli Zaretskii <eliz@gnu.org>
1309
1310 Fix vertical-motion in tabulated-list mode
1311
1312 * src/indent.c (Fvertical_motion): When moving from line beginning
1313 to point under line truncation, assume overshoot by one line only
1314 if point actually lies beyond the window's right margin.
1315 (Bug#22194)
1316
13172015-12-18 Martin Rudalics <rudalics@gmx.at>
1318
1319 Don't have help functions call x-display-pixel-width/-height on ttys
1320
1321 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
1322 Don't call x-display-pixel-width/-height on ttys.
1323
13242015-12-17 Dmitry Gutov <dgutov@yandex.ru>
1325
1326 Use 'hg id' in vc-hg-previous-revision
1327
1328 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
1329 Use 'hg id' to retrieve it (bug#22032).
1330
13312015-12-17 Alan Mackenzie <acm@muc.de>
1332
1333 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
1334
13352015-12-17 Eli Zaretskii <eliz@gnu.org>
1336
1337 Fix a typo in the Emacs manual
1338
1339 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
1340 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
1341
13422015-12-17 Eli Zaretskii <eliz@gnu.org>
1343
1344 Fix parsing netrc entries with ports
1345
1346 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
1347 make a list out of 't'. (Bug#22188)
1348
1349 * test/automated/auth-source-tests.el
1350 (auth-source-test-netrc-parse-entry): New test.
1351
13522015-12-17 Paul Eggert <eggert@cs.ucla.edu>
1353
1354 Fix typo in Doug Lea malloc configure log
1355
1356 * configure.ac (emacs_cv_var_doug_lea_malloc):
1357 Fix typo that confused the log output of 'configure'.
1358
13592015-12-16 Nicolas Petton <nicolas@petton.fr>
1360
1361 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
1362
13632015-12-16 Alan Mackenzie <acm@muc.de>
1364
1365 * etc/NEWS: Move entry on pcase to correct section
1366
1367 (Accidentally omitted from previous commit)
1368
13692015-12-16 Alan Mackenzie <acm@muc.de>
1370
1371 Add documentation for changes to Show Paren mode.
1372
1373 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
1374
1375 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
1376 options, including the new show-paren-when-point-inside-paren and
1377 show-paren-when-point-in-periphery.
1378
1379 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
1380 Move an entry on pcase to the Lisp Changes section.
1381
13822015-12-16 Eli Zaretskii <eliz@gnu.org>
1383
1384 Document Eldoc changes
1385
1386 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
1387
13882015-12-16 Eli Zaretskii <eliz@gnu.org>
1389
1390 Fix invocation of Python and Guile interpreters from gdb-mi
1391
1392 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
1393 commands for interactive Python and Guile interpreters.
1394 (gdb-send): Recognize various ways of exiting from Python and
1395 Guile interpreters and returning to GDB. For details, see
1396 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
1397 and http://stackoverflow.com/questions/31514741.
1398
13992015-12-16 Paul Eggert <eggert@cs.ucla.edu>
1400
1401 Remove attempt to use C11 threads
1402
1403 C11 threads are not needed for Emacs now, and their use is causing
1404 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
1405 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
1406 * configure.ac: Do not check for C11 threads. Remove unnecessary
1407 fiddling with CPPFLAGS when configuring pthreads.
1408 * src/emacs-module.c (main_thread, check_main_thread)
1409 (module_init): Do not worry about C11 threads.
1410
14112015-12-15 Michael Albinus <michael.albinus@gmx.de>
1412
1413 Set utf8 encoding with stty in Tramp
1414
1415 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1416 Move up uname check. Handle Mac OS X eol encoding. Set utf8
1417 encoding with stty.
1418
14192015-12-15 Alan Mackenzie <acm@muc.de>
1420
1421 Tidy up documentation associated with window groups.
1422
1423 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
1424 Groups". Correct example function to `window-group-start'.
1425 (Window Start and End, Textual scrolling): Point to the new anchor. State
1426 that (most of) the args in window group functions have the same meaning as for
1427 the corresponding window primitives.
1428
1429 * doc/lispref/positions.texi (Screen Lines). Same as above.
1430
14312015-12-15 Michael Albinus <michael.albinus@gmx.de>
1432
1433 Complete last commit
1434
1435 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1436 Move uname check up. Handle Mac OS X eol encoding.
1437
14382015-12-15 Michael Albinus <michael.albinus@gmx.de>
1439
1440 Handle Mac OS X eol encoding in Tramp
1441
1442 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1443 Handle Mac OS X eol encoding.
1444
14452015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1446
1447 Fix variable name typo in compute_tip_xy
1448
1449 * src/w32fns.c (compute_tip_xy):
1450 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
1451 when `right' is integer.
1452
14532015-12-14 foudfou <foudil.newbie+git@gmail.com>
1454
1455 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
1456
14572015-12-14 Tassilo Horn <tsdh@gnu.org>
1458
1459 Revert "Fix rx matcher overflow without limiting"
1460
1461 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
1462
14632015-12-14 Alan Mackenzie <acm@muc.de>
1464
1465 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
1466
1467 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
1468 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
1469
14702015-12-14 Tassilo Horn <tsdh@gnu.org>
1471
1472 Fix rx matcher overflow without limiting
1473
1474 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
1475 change to the regexp without imposing a limit on the length of the
1476 options.
1477
14782015-12-14 Alan Mackenzie <acm@muc.de>
1479
1480 Enhance ispell-skip-region-alist by generating part of it at runtime.
1481
1482 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
1483 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
1484 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
1485 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
1486 Include the result of ispell--make-filename-or-URL-re in regexps.
1487
14882015-12-14 Glenn Morris <rgm@gnu.org>
1489
1490 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
1491
14922015-12-14 Alan Mackenzie <acm@muc.de>
1493
1494 Replace GROUP argument in six window primitives by new functions.
1495
1496 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
1497 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
1498 from description of six window functions. Add in description of new functions
1499 window-group-start, window-group-end, set-window-group-start,
1500 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
1501 together with the six variables indirecting to the pertinent group
1502 functions.
1503
1504 * src/window.c
1505 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
1506 applies to these two files, which added the GROUP argument to six window
1507 primitives.
1508
1509 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
1510 functions.
1511
1512 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
1513 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
1514 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
1515 to window primitives (e.g. window-start) with a GROUP argument by calls to
1516 new functions (e.g. window-group-start).
1517
1518 * lisp/ispell.el (ispell-command-loop): Replace call to
1519 pos-visible-in-window-p with pos-visible-in-window-group-p.
1520
1521 * lisp/window.el (window-group-start, window-group-end)
1522 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
1523 (selected-window-group, move-to-window-group-line): New functions.
1524 (window-group-start-function, window-group-end-function)
1525 (set-window-group-start-function, recenter-group-function)
1526 (pos-visible-in-window-group-p-function, selected-window-group-function)
1527 (move-to-window-group-line-function): New variables.
1528
15292015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
1530
1531 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
1532
15332015-12-13 Eli Zaretskii <eliz@gnu.org>
1534
1535 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
1536
15372015-12-13 Tassilo Horn <tsdh@gnu.org>
1538
1539 Improve regex to not trigger stack overflow
1540
1541 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
1542 order not to trigger a stack overflow in regex matcher with unbalanced
1543 brackets (bug#22146).
1544
15452015-12-13 Eli Zaretskii <eliz@gnu.org>
1546
1547 Fix visiting files with raw-text
1548
1549 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
1550 when some stuff was actually read. (Bug#22162)
1551
15522015-12-13 Tassilo Horn <tsdh@gnu.org>
1553
1554 Fix regex matching keyval labels
1555
1556 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
1557 matching keyval labels.
1558
15592015-12-13 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
1562
1563 ... in case of Tramp. (Bug#20821)
1564
15652015-12-12 Paul Eggert <eggert@cs.ucla.edu>
1566
1567 Fix performance regression with gcc -O0
1568
1569 This fixes the smaller performance hit that I noted in:
1570 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
1571 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
1572 * src/puresize.h (puresize_h_PURE_P)
1573 (puresize_h_CHECK_IMPURE):
1574 New macros, with the old contents of the functions.
1575 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
1576 * src/puresize.h (PURE_P, CHECK_IMPURE):
1577 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
1578 * src/conf_post.h (ATTRIBUTE_UNUSED):
1579 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
1580
15812015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
1582
1583 * lisp/emacs-lisp/package.el (package-unpack): Security check
1584
1585 Check that we received the package we were offered.
1586
15872015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
1588
1589 * lisp/emacs-lisp/package.el (package--compile): Don't activate
1590
1591 `package-unpack' takes care of all activations now (other than
1592 `package-initialize). `package--compile' now only compiles.
1593
15942015-12-12 Eli Zaretskii <eliz@gnu.org>
1595
1596 Document the new bindings of <UP> and <DOWN> in the minibuffer
1597
1598 * doc/emacs/mini.texi (Minibuffer History): Describe the new
1599 bindings of <UP> and <DOWN> in the minibuffer.
1600
16012015-12-12 Eli Zaretskii <eliz@gnu.org>
1602
1603 Document new features of Ido
1604
1605 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
1606
16072015-12-12 Martin Rudalics <rudalics@gmx.at>
1608
1609 Fix frame height calculations with added menu bar on Windows (Bug#22105)
1610
1611 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
1612 when simultaneously specifying multiple parameters for
1613 `modify-frame-parameters' that all may change the frame's size.
1614 * src/w32fns.c (x_set_menu_bar_lines): Don't set
1615 windows_or_buffers_changed here.
1616 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
1617 with third argument false.
1618 * src/w32menu.c (set_frame_menubar): Set
1619 windows_or_buffers_changed here.
1620 * src/w32term.c (x_set_window_size): Determine third argument of
1621 AdjustWindowRect from whether the frame has a menu bar and not
1622 from whether it wants one.
1623
16242015-12-12 Eli Zaretskii <eliz@gnu.org>
1625
1626 Document the change in interactive shell mode
1627
1628 * doc/emacs/misc.texi (Interactive Shell): Document that the
1629 '*shell*' buffer by default displays in a new window.
1630
16312015-12-12 Eli Zaretskii <eliz@gnu.org>
1632
1633 Document new features of package.el
1634
1635 * doc/emacs/package.texi (Package Menu): Document the 'external'
1636 status and the new menu commands.
1637 (Package Installation): Document archive priorities.
1638
1639 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
1640 (package-menu-hide-low-priority): Doc fix.
1641
16422015-12-12 Eli Zaretskii <eliz@gnu.org>
1643
1644 Update and document new features of xterm support
1645
1646 * doc/emacs/frames.texi (Text-Only Mouse): Document that
1647 track-mouse is supported by newer xterm versions.
1648
16492015-12-12 Eli Zaretskii <eliz@gnu.org>
1650
1651 Document new features of Prettify Mode
1652
1653 * doc/emacs/programs.texi (Misc for Programs): Document
1654 'prettify-symbols-compose-predicate' and
1655 'prettify-symbols-unprettify-at-point'.
1656
1657 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
1658 (prettify-symbols-default-compose-p)
1659 (prettify-symbols-compose-predicate)
1660 (prettify-symbols--compose-symbol): Doc fixes.
1661
16622015-12-12 Eli Zaretskii <eliz@gnu.org>
1663
1664 Document multi-mode indentation facilities
1665
1666 * doc/lispref/text.texi (Mode-Specific Indent): Document
1667 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
1668
1669 * lisp/progmodes/prog-mode.el (prog-indentation-context)
1670 (prog-widen): Doc fixes.
1671
16722015-12-12 Eli Zaretskii <eliz@gnu.org>
1673
1674 Document 'vc-refresh-state'
1675
1676 * doc/emacs/maintaining.texi (Version Control): Document
1677 'vc-refresh-state'.
1678
1679 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
1680
16812015-12-12 Eli Zaretskii <eliz@gnu.org>
1682
1683 Fix echo for "C-u"
1684
1685 * src/keyboard.c (command_loop_1): Undo last change. It caused
1686 duplicate echo of C-u. (Bug#22107)
1687
16882015-12-11 Eli Zaretskii <eliz@gnu.org>
1689
1690 Avoid errors when creating files under SVN in new directory
1691
1692 * lisp/vc/vc-svn.el (vc-svn-registered): Use
1693 file-accessible-directory-p, to avoid cd'ing to a non-existing
1694 directory, which signals an error on some systems. (Bug#21984)
1695 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
1696 Use declare-function to avoid byte-compiler warnings.
1697
16982015-12-11 Eli Zaretskii <eliz@gnu.org>
1699
1700 Improve Lua support in etags
1701
1702 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
1703 "function".
1704
1705 * etc/NEWS: Mention improved Lua support by 'etags'.
1706
1707 * test/etags/lua-src/test.lua (test): Add tests for indented
1708 function definitions.
1709 * test/etags/ETAGS.good_1:
1710 * test/etags/ETAGS.good_2:
1711 * test/etags/ETAGS.good_3:
1712 * test/etags/ETAGS.good_4:
1713 * test/etags/ETAGS.good_5:
1714 * test/etags/ETAGS.good_6:
1715 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
1716
17172015-12-11 Eli Zaretskii <eliz@gnu.org>
1718
1719 Fix 'this-command-keys' wrt prefix argument
1720
1721 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
1722 was part of this-command-keys, but not of this-single-command-keys.
1723 (Bug#22107)
1724
1725 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
1726 commentary about the function's return value.
1727
17282015-12-11 Eli Zaretskii <eliz@gnu.org>
1729
1730 * lisp/files.el (load-library): Doc fix. (Bug#22140)
1731
17322015-12-11 Eli Zaretskii <eliz@gnu.org>
1733
1734 Improve and document Ruby support in 'etags'
1735
1736 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
1737 (Ruby_functions): Support "module" and overloaded operators.
1738 (Ruby_help): Mention "module".
1739
1740 * test/etags/ruby-src/test.rb:
1741 * test/etags/ruby-src/test1.ruby: New files.
1742 * test/etags/Makefile (RBSRC): New tests.
1743 (SRCS): Add ${RBSRC}.
1744 * test/etags/ETAGS.good_1:
1745 * test/etags/ETAGS.good_2:
1746 * test/etags/ETAGS.good_3:
1747 * test/etags/ETAGS.good_4:
1748 * test/etags/ETAGS.good_5:
1749 * test/etags/ETAGS.good_6:
1750 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
1751
1752 * doc/man/etags.1: Mention Ruby support.
1753 * etc/NEWS: Mention Ruby support.
1754
17552015-12-11 Xi Lu <lx@shellcodes.org>
1756
1757 Initial support for Ruby in 'etags'
1758
1759 * lib-src/etags.c <Ruby_suffixes>: New variable.
1760 (lang_names): Add an entry for Ruby.
1761 (Ruby_functions): New function. (Bug#22116)
1762
17632015-12-11 Eli Zaretskii <eliz@gnu.org>
1764
1765 Clarify documentation of 'modify-frame-parameters'
1766
1767 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
1768 PARMs" mean for 'modify-frame-parameters'.
1769
1770 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
1771 PARMs" mean for this function. (Bug#22104)
1772
17732015-12-11 Eli Zaretskii <eliz@gnu.org>
1774
1775 Fix setting buffer unibyte when reading from a device
1776
1777 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
1778 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
1779
17802015-12-11 Eli Zaretskii <eliz@gnu.org>
1781
1782 Clarify documentation of 'values'
1783
1784 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
1785 updated by any evaluation commands in 'lisp-interaction-mode'.
1786 (Bug#22056)
1787
17882015-12-11 Anders Lindgren <andlind@gmail.com>
1789
1790 Fixed subversion vc error when opening file in new directory (bug#21984).
1791
1792 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
1793
17942015-12-09 Eli Zaretskii <eliz@gnu.org>
1795
1796 Yet another fix for when point ends up in invisible text
1797
1798 * src/xdisp.c (redisplay_window): When someone forced
1799 window-start, and honoring that failed to show the cursor, try
1800 moving out of invisible text, before falling back to the middle of
1801 the window. (Bug#22098)
1802
18032015-12-09 Michael Albinus <michael.albinus@gmx.de>
1804
1805 Fix error in Tramp perl script for cygwin
1806
1807 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
1808 error if file doesn't exist.
1809
18102015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1811
1812 Remove font workaround for limited outdated versions
1813
1814 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
1815 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
1816
18172015-12-09 Anders Lindgren <andlind@gmail.com>
1818
1819 Don't add "." to load path (bug#21104)
1820
1821 When configured with --enable-locallisppath=no, which is the
1822 default for OS X, the load-path incorrectly was populated with ".".
1823
1824 * src/lread.c (init_lread): Don't call `decode_env_path' when
1825 PATH_SITELOADSEARCH is empty.
1826
18272015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
1828
1829 * lisp/emacs-lisp/package.el (package--with-response-buffer):
1830
1831 Search for the blank-line in the right buffer.
1832
18332015-12-08 Glenn Morris <rgm@gnu.org>
1834
1835 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
1836 for recent change.
1837
18382015-12-08 Glenn Morris <rgm@gnu.org>
1839
1840 Fix some display-warning usage.
1841
1842 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
1843 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1844 * lisp/calendar/holidays.el (calendar-holiday-list):
1845 * lisp/mail/rmailout.el (rmail-output-read-file-name):
1846 Fix display-warning usage.
1847
18482015-12-07 Glenn Morris <rgm@gnu.org>
1849
1850 * lisp/calendar/cal-html.el: Require diary-lib.
1851
1852 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
1853
18542015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1855
1856 Add Obsolete-since header to eudcb-ph.el
1857
1858 * eudcb-ph.el: Add Obsolete-since header.
1859
18602015-12-07 Paul Eggert <eggert@cs.ucla.edu>
1861
1862 Spelling fixes
1863
1864 * doc/misc/calc.texi (Predefined Units): Use the bland modern
1865 scientific style for spelling the units “ampere” and
1866 “angstrom” rather than the older style “Ampere” and
1867 “Ångstrom”. The latter spelling was wrong anyway (it should
1868 have been “Ångström”).
1869 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
1870 Fix misspelling of ‘atom’ in code.
1871
18722015-12-07 Eli Zaretskii <eliz@gnu.org>
1873
1874 Improve documentation of kill commands
1875
1876 * lisp/simple.el (region-extract-function, delete-backward-char)
1877 (delete-forward-char, kill-region, copy-region-as-kill)
1878 (kill-ring-save): Better document the optional argument REGION in
1879 the doc strings. Mention in the doc strings that text put in the
1880 kill-ring can be filtered by 'filter-buffer-substring'.
1881
1882 * doc/lispref/text.texi (Kill Functions): Mention that functions
1883 described in this subsection can filter text they put in the
1884 kill-ring. Add a cross-reference to "Buffer Contents" and an
1885 index entry. Document the optional argument 'region' and its
1886 effect.
1887 (Bug#21315)
1888
18892015-12-07 Alan Mackenzie <acm@muc.de>
1890
1891 Further progress making Isearch, Ispell, Replace work with Follow Mode.
1892
1893 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
1894 no longer exists. Add follow-post-command-hook to three special purpose
1895 hooks at setup, and remove them at tear down.
1896
1897 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
1898 isearch-lazy-highlight-new-loop.
1899 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
1900 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
1901 it.
1902 (isearch-lazy-highlight-maybe-new-loop): function removed.
1903
1904 * lisp/replace.el: (replace-update-post-hook): New hook variable.
1905 (perform-replace): Add second (nil) argument to looking-back. Invoke
1906 replace-update-post-hook before calling replace-highlight.
1907
1908 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
1909 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
1910 call of pos-visible-in-window-p.
1911 (ispell-display-buffer): Place *Choices* window at the top of the last window
1912 in a window group.
1913
19142015-12-07 Alan Mackenzie <acm@muc.de>
1915
1916 Amend doc of `mapconcat': it can take sequences, not merely strings.
1917
1918 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
1919 to say that SEPARATOR and the results from FUNCTION may be any character
1920 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
1921
19222015-12-07 Michael Albinus <michael.albinus@gmx.de>
1923
1924 Fix an utf8 problem for Tramp on BSD
1925
1926 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1927 Make lax check for utf8.
1928 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
1929
19302015-12-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1931
1932 Make eudcb-ph.el obsolete
1933
1934 * doc/misc/eudc.texi: Bump version to 1.40.0.
1935 Remove PH/QI sections and mentions.
1936 * lisp/obsolete/eudcb-ph.el: Make obsolete.
1937 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
1938 (eudc-ph-bbdb-conversion-alist): Make obsolete.
1939 * etc/NEWS: Mention this. (Bug#21191)
1940
19412015-12-06 Paul Eggert <eggert@cs.ucla.edu>
1942
1943 Remove overenthusiastic eassert
1944
1945 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
1946 previous change. It breaks on MS-Windows --with-wide-int.
1947 Problem reported by Eli Zaretskii in:
1948 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
1949
19502015-12-06 Paul Eggert <eggert@cs.ucla.edu>
1951
1952 Pacify gcc -Wparentheses
1953
1954 * src/xdisp.c (row_containing_pos): Reparenthesize.
1955
19562015-12-06 Paul Eggert <eggert@cs.ucla.edu>
1957
1958 Port mod-test to 32-bit Emacs --without-wide-int
1959
1960 * modules/mod-test/test.el (mod-test-sum-test):
1961 Bring back the 2**29 tests, but port them to 32-bit Emacs
1962 --without-wide-int.
1963
19642015-12-06 Michael Albinus <michael.albinus@gmx.de>
1965
1966 Fix minor Tramp problems found on BSD
1967
1968 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
1969 trailing slash. Quote apostrophes.
1970 (tramp-sh-handle-file-truename): Do not append trailing slash in
1971 the "ls" case.
1972 (tramp-get-ls-command-with-w-option): New defun.
1973 (tramp-do-file-attributes-with-ls)
1974 (tramp-do-directory-files-and-attributes-with-stat): Use it.
1975
1976 * test/automated/tramp-tests.el
1977 (tramp-test31-special-characters-with-perl)
1978 (tramp-test31-special-characters-with-ls)
1979 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
1980 Suppress also readlink.
1981
19822015-12-06 Eli Zaretskii <eliz@gnu.org>
1983
1984 Fix cursor display when invisible text is at line beginning
1985
1986 * src/xdisp.c (redisplay_window): When scrolling fails to show
1987 point, prefer using the desired matrix if possible for finding the
1988 fallback glyph row for displaying the cursor. (Bug#22098)
1989 (row_containing_pos): Exit the loop as soon as we hit the first
1990 disabled glyph row. Otherwise we risk accessing garbled data and
1991 departing to the no-no land.
1992
19932015-12-06 Paul Eggert <eggert@cs.ucla.edu>
1994
1995 Improve module interface when WIDE_EMACS_INT
1996
1997 * src/emacs-module.c (plain_values): New constant.
1998 (module_nil): Now a constant.
1999 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
2000 (syms_of_module): Use if, not #ifdef, so that both sides are
2001 checked at compile-time, and so that GCC doesn’t complain
2002 about an unused var in the typical case. Also, depend on
2003 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
2004 that WIDE_EMACS_INT implies !USE_LSB_TAG.
2005 (value_to_lisp_bits, lisp_to_value_bits): New functions.
2006 Sign-extend integers rather than zero-extending them, as small
2007 negative integers are more likely.
2008 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
2009 functions.
2010 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
2011 (mark_modules): Remove. All uses removed.
2012 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
2013 to GCALIGNMENT.
2014 (syms_of_module): Check that module_nil converts to Qnil.
2015 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
2016 we prefer signed to unsigned when either will do.
2017 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
2018 a bit better for emacs-module.c.
2019
20202015-12-06 Paul Eggert <eggert@cs.ucla.edu>
2021
2022 Port mod-test to x86-64 GNU/Linux running 32-bit
2023
2024 * modules/mod-test/test.el (mod-test-sum-test):
2025 Don’t attempt to match descriptions to operating systems.
2026 It didn’t work on Fedora x86-64 running a 32-bit executable,
2027 and it’s not worth the trouble anyway.
2028 Port to 32-bit platforms by removing an assumption about
2029 fixnum widths.
2030
20312015-12-06 Michael Albinus <michael.albinus@gmx.de>
2032
2033 Fix auto-revert-tests.el when filenotify isn't used
2034
2035 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
2036 Make it working also when filenotify isn't used.
2037
20382015-12-05 Juri Linkov <juri@linkov.net>
2039
2040 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2041
2042 Let-bind isearch-regexp-function to nil. (Bug#22097)
2043
20442015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
2045
2046 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
2047
2048 (package--with-response-buffer): NOERROR and ERROR-FORM only
2049 handle connection errors.
2050 (bad-signature): New error type.
2051 (package--check-signature-content): Use it.
2052 (package--check-signature): Properly distinguish connection errors
2053 from bad-signature errors. Do the check for
2054 `package-check-signature' `allow-unsigned' here instead of forcing
2055 the callbacks to do it. Add a new argument, UNWIND.
2056 (package--download-one-archive, package-install-from-archive):
2057 Update usage of `package--check-signature'.
2058
20592015-12-05 Ulf Jasper <ulf.jasper@web.de>
2060
2061 Fix Bug#22092.
2062
2063 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
2064 Clean up inconsistent line endings. (Bug#22092)
2065 (icalendar--clean-up-line-endings): New.
2066 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
2067 for Bug#22092.
2068
20692015-12-05 Eli Zaretskii <eliz@gnu.org>
2070
2071 Document 'bookmark-set-no-overwrite'
2072
2073 * doc/emacs/regs.texi (Bookmarks): Document the new command
2074 'bookmark-set-no-overwrite' and its keybinding.
2075
20762015-12-05 Eli Zaretskii <eliz@gnu.org>
2077
2078 Document new binding of 'mouse-buffer-menu'
2079
2080 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
2081 now also on C-F10.
2082
20832015-12-05 Eli Zaretskii <eliz@gnu.org>
2084
2085 Initial documentation of dynamic modules
2086
2087 * doc/lispref/loading.texi (Dynamic Modules): New section with
2088 initial documentation for dynamic modules.
2089 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
2090 detailed menu
2091
2092 * etc/NEWS: Fix typos in dynamic modules' entry.
2093
20942015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
2095
2096 Remove copyright statements from trivial test files
2097
20982015-12-05 Eli Zaretskii <eliz@gnu.org>
2099
2100 Add "Preliminaries" section to etc/DEBUG
2101
2102 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
2103 Most of the content was suggested by Phillip Lord
2104 <phillip.lord@russet.org.uk>. Remove the section about debugging
2105 with the Visual Studio, as building Emacs with the Microsoft
2106 compilers is no longer supported. Minor fixes in some other
2107 sections.
2108
21092015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
2110
2111 Improve parsing of version strings
2112
2113 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
2114 (version-to-list): More helpful error messages.
2115 (version-to-list): ".5" is valid (update docstring). Make
2116 "22.8X3" invalid, as the doc string says.
2117
2118 * test/automated/subr-tests.el (ert-test-version-parsing): New
2119 tests for version string processing.
2120
21212015-12-05 Eli Zaretskii <eliz@gnu.org>
2122
2123 Fix documentation of 'undo' changes
2124
2125 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
2126 English conventions for spelling and whitespace between sentences.
2127
2128 * etc/NEWS: Fix wording and spelling of undo-related entries.
2129 Mark them as documented.
2130
21312015-12-04 Glenn Morris <rgm@gnu.org>
2132
2133 * lisp/net/net-utils.el: Small improvements.
2134
2135 (net-utils--executable-find-sbin): New function.
2136 (ifconfig-program): Check sbin directories.
2137 Fallback to "ip". (Bug#22091)
2138 (ifconfig-program-options): Check the actual program in use.
2139 (arp-program): Check sbin directories.
2140
21412015-12-04 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
2142
2143 Fix wrong-type-argument integer-or-marker-p nil error
2144
2145 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
2146 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
2147
21482015-12-04 Alan Mackenzie <acm@muc.de>
2149
2150 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
2151
2152 Merge necessitated by a rebase operation.
2153
21542015-12-04 Alan Mackenzie <acm@muc.de>
2155
2156 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
2157
21582015-12-04 Alan Mackenzie <acm@muc.de>
2159
2160 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
2161
2162 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
2163 Windows" and new @defun selected-window-group.
2164 (Window Start and End): Describe new &optional parameter GROUP and
2165 ...-group-function for window-start, window-end, set-window-start, and
2166 pos-visible-in-window-p.
2167 (Textual Scrolling) Describe the same for recenter.
2168 doc/lispref/positions.texi (Screen Lines): Describe the same for
2169 move-to-window-line.
2170
2171 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
2172 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
2173 new optional parameter "group". At the beginning of each, check whether the
2174 corresponding ...-group-function is set to a function, and if so execute this
2175 function in place of the normal processing.
2176 (syms_of_window): Define symbols for the six new variables below.
2177 (window-start-group-function, window-end-group-function)
2178 (set-window-start-group-function, recenter-group-function)
2179 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
2180 New permanent local buffer local variables.
2181 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
2182 Fpos_visible_in_window_p.
2183
2184 lisp/window.el (selected-window-group-function): New permanent local buffer
2185 local variable.
2186 (selected-window-group): New function.
2187
2188 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
2189 enable, kill them at mode disable. Add/remove follow-after-change to/from
2190 after-change-functions.
2191 (follow-start-end-invalid): New variable.
2192 (follow-redisplay): Manipulate follow-start-end-invalid.
2193 (follow-after-change, follow-window-start, follow-window-end)
2194 (follow-set-window-start, follow-pos-visible-in-window-p)
2195 (follow-move-to-window-line, follow-sit-for): New functions.
2196
2197 lisp/isearch.el (isearch-call-message): New macro.
2198 (isearch-update, with-isearch-suspended, isearch-del-char)
2199 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
2200 (with-isearch-suspended): Rearrange code such that isearch-call-message is
2201 invoked before point is moved.
2202 (isearch-message): Add comment about where point must be at function call.
2203 (isearch-search): Remove call to isearch-message.
2204 (isearch-lazy-highlight-window-group): New variable.
2205 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
2206 the battery of tests to ...
2207 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
2208 Note: (sit-for 0) is still called.
2209 (isearch-lazy-highlight-update): Check membership of
2210 isearch-lazy-highlight-window-group. Don't set the `window' overlay
2211 property.
2212 (isearch-update, isearch-done, isearch-string-out-of-window)
2213 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
2214 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
2215 (isearch-lazy-highlight-update): Call the six amended primitives (see
2216 src/window.c above) with the new `group' argument set to t, to cooperate
2217 with Follow Mode.
2218
22192015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2220
2221 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
2222
2223 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
2224 (ert--explain-format-atom, ert--explain-equal-rec)
2225 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
2226 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
2227
22282015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
2229
2230 * lisp/character-fold.el: Remove special case-folding support
2231
2232 (character-fold-to-regexp): Remove special code for
2233 case-folding. Char-fold search still respects the
2234 `case-fold-search' variable (i.e., f matches F). This only
2235 removes the code that was added to ensure that f also matched
2236 all chars that F matched. For instance, after this commit, f
2237 no longer matches 𝔽.
2238
2239 This was necessary because the logic created a regexp with
2240 2^(length of the string) redundant paths. So, when a very
2241 long string "almost" matched, Emacs took a very long time to
2242 figure out that it didn't. This became particularly relevant
2243 because isearch's lazy-highlight does a search bounded by (1-
2244 match-end) (which, in most circumstances, is a search that
2245 almost matches). A recipe for this can be found in bug#22090.
2246
22472015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
2250
2251 Fixes (bug#21701)
2252
22532015-12-04 Daiki Ueno <ueno@gnu.org>
2254
2255 lisp/gnus/qp.el: Don't replace "from " at bol
2256
2257 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
2258 to nil when looking for "^From ". Problem reported by Simon Josefsson.
2259
22602015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
2261
2262 Externalize some symbols in undo-auto
2263
2264 * doc/lispref/text.texi: Update symbols.
2265 * lisp/simple.el (undo-auto--amalgamate,
2266 undo-auto--current-boundary-timer): Make symbols public.
2267 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
2268 updated symbol.
2269
22702015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
2273
22742015-12-03 Michael Albinus <michael.albinus@gmx.de>
2275
2276 Some error message improvements in tramp-sh.el
2277
2278 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2279 Suppress error messages for "mesg" and "biff" calls.
2280 (tramp-get-remote-path): Ignore errors when expanding
2281 `tramp-own-remote-path'. Raise a warning instead.
2282
22832015-12-03 Eli Zaretskii <eliz@gnu.org>
2284
2285 Document 'nacl' value for 'system-type'
2286
2287 * doc/lispref/os.texi (System Environment): Document the 'nacl'
2288 value of 'system-type'.
2289
22902015-12-03 Eli Zaretskii <eliz@gnu.org>
2291
2292 Document 'window-max-chars-per-line'
2293
2294 * doc/lispref/windows.texi (Window Sizes): Document
2295 'window-max-chars-per-line'.
2296
22972015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
2298
2299 Fix some file headers for the purpose of `package--builtins'
2300
2301 * lisp/emacs-lisp/cl-preloaded.el
2302 * lisp/emacs-lisp/eieio-compat.el
2303 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
2304
2305 * lisp/ielm.el: Fix summary line.
2306
23072015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
2308
2309 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
2310
2311 Reload any previously loaded package files before compiling
2312 the package (also reload the same files after compiling).
2313 This ensures that we have the most recent definitions during
2314 compilation, and avoids generating bad elc files when a macro
2315 changes and it is used in a different file from the one it's
2316 defined in.
2317
23182015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
2319
2320 * lisp/emacs-lisp/package.el: Refactor package activation code
2321
2322 (package-activate): Move code that activates dependencies into
2323 package-activate-1.
2324 (package--load-files-for-activation): New function.
2325 (package-activate-1): Add code for (optionally) activating
2326 dependencies, and move file-loading code into
2327 `package--load-files-for-activation'.
2328
23292015-12-03 Eli Zaretskii <eliz@gnu.org>
2330
2331 Document new font-related functionality
2332
2333 * doc/lispref/display.texi (Low-Level Font): Document
2334 'default-font-width', 'default-font-height', 'window-font-width',
2335 and 'window-font-height'.
2336
2337 * etc/NEWS: Move entries for 'default-font-width',
2338 'default-font-height', 'window-font-width', and 'window-font-height'
2339 to their place and mark them documented.
2340
23412015-12-03 Eli Zaretskii <eliz@gnu.org>
2342
2343 Fix documentation and implementation of 'directory-name-p'
2344
2345 * lisp/files.el (directory-name-p): Modify to recognize
2346 backslashes on MS-Windows and MS-DOS. Adjust the doc string
2347 accordingly. Use '=', not char-equal, for comparison, as
2348 letter-case cannot possibly be an issue here.
2349
2350 * doc/lispref/files.texi (Directory Names): Move the documentation
2351 of directory-name-p here from "Relative File Names". Update the
2352 description per the changes in implementation.
2353
2354 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
2355 place and mark it documented.
2356
23572015-12-02 Eli Zaretskii <eliz@gnu.org>
2358
2359 Minor copyedit in Emacs manual
2360
2361 * doc/emacs/search.texi (Lax Search): Make wording about character
2362 folding by default less definitive. (Bug#22043)
2363
23642015-12-02 Eli Zaretskii <eliz@gnu.org>
2365
2366 More emacs-module.c fixes for wide ints
2367
2368 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
2369 unsigned data types to manipulate pointers, to avoid sign
2370 extension coming after us with a vengeance.
2371
2372 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
2373 Emacs with wide ints that verify integer values near the critical
2374 value that requires us to switch to a cons cell.
2375
23762015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
2377
2378 Fix bug#22069 in cl-generic.el
2379
2380 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
2381 not run thru `format'.
2382
23832015-12-01 Dmitry Gutov <dgutov@yandex.ru>
2384
2385 APPEND etags--xref-backend to xref-backend-functions
2386
2387 * lisp/progmodes/xref.el (xref-backend-functions):
2388 Use APPEND when adding the default element
2389 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
2390
23912015-12-01 Eli Zaretskii <eliz@gnu.org>
2392
2393 More accurate documentation of lax whitespace matching
2394
2395 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
2396 (word-search-backward, word-search-forward)
2397 (word-search-backward-lax, word-search-forward-lax): Mention in
2398 doc strings that toggling lax whitespace matching has no effect on
2399 these commands.
2400
2401 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
2402 lax whitespace matching has no effect on these commands.
2403
24042015-12-01 Eli Zaretskii <eliz@gnu.org>
2405
2406 Fix emacs-module.c for wide ints
2407
2408 * src/emacs-module.c (lisp_to_value): Compare the produced value
2409 with the original Lisp object, not with the one potentially
2410 converted into a Lisp_Cons. Fixes assertion violations when
2411 working with integers larger than fit into a 32-bit value.
2412
2413 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
2414 large integers, to test --with-wide-int.
2415
24162015-12-01 Eli Zaretskii <eliz@gnu.org>
2417
2418 Document 'directory-files-recursively'
2419
2420 * lisp/files.el (directory-files-recursively): Doc fix. Rename
2421 the argument MATCH to REGEXP, to be more explicit about its form.
2422
2423 * doc/lispref/files.texi (Contents of Directories): Improve the
2424 documentation of 'directory-files-recursively'. Add
2425 cross-references.
2426
2427 * etc/NEWS: Move the entry for 'directory-files-recursively' to
2428 its place and mark it documented.
2429
24302015-12-01 Eli Zaretskii <eliz@gnu.org>
2431
2432 Document 'inhibit-read-only' property
2433
2434 * doc/lispref/text.texi (Special Properties): Describe the new
2435 'inhibit-read-only' text property. Add cross-reference to where
2436 read-only buffers are described.
2437 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
2438 'inhibit-read-only' property exempts text from being read-only.
2439 Add cross-reference to "Special Properties".
2440
2441 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
2442 its place and mark it documented.
2443
24442015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
2445
2446 * lisp/emacs-lisp/package.el: Update header comments
2447
24482015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
2449
2450 * lisp/character-fold.el: Add back multi-char matching
2451
2452 (character-fold-to-regexp): Uncomment recently commented code
2453 and make the algorithm "dummer" by not checking every possible
2454 combination. This will miss some possible matches, but it
2455 greatly reduces regexp size.
2456
2457 * test/automated/character-fold-tests.el
2458 (character-fold--test-fold-to-regexp): Comment out test of
2459 functionality no longer supported.
2460
24612015-12-01 Xue Fuqiao <xfq.free@gmail.com>
2462
2463 * doc/emacs/ack.texi (Acknowledgments): Update.
2464
24652015-12-01 Michael Albinus <michael.albinus@gmx.de>
2466
2467 Check `file-remote-p' over absolute files names in files.el
2468
2469 * lisp/files.el (directory-files-recursively)
2470 (get-free-disk-space): Check `file-remote-p' over absolute files names.
2471
24722015-12-01 Andreas Schwab <schwab@linux-m68k.org>
2473
2474 * src/lread.c (syms_of_lread): Doc fix.
2475
24762015-11-30 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 Don't mistake certain JS method calls for keywords
2479
2480 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
2481 Braceless keyword can't come after a period (bug#22063).
2482
24832015-11-30 David Reitter <david.reitter@gmail.com>
2484
2485 Read frame_title_format from buffer-local variable for NS port
2486
2487 * nsfns.m (x_implicitly_set_name): Read frame-title-format and
2488 icon-title-format variables from buffer in appropriate window.
2489 (Bug#22048)
2490
24912015-11-30 Juri Linkov <juri@linkov.net>
2492
2493 * lisp/replace.el (occur-engine): Count matches in empty lines.
2494
2495 (Bug#22062)
2496
24972015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
2498
2499 * src/emacs-module.h: Fix finalizer typedef for C++11
2500
2501 C++11 standard doesn't allow exception-specification in typedef.
2502 The workaround is to declare a dummy function prototype and use
2503 decltype on it.
2504
25052015-11-30 Eli Zaretskii <eliz@gnu.org>
2506
2507 Fix last change
2508
2509 * src/emacs-module.c (lisp_to_value, value_to_lisp)
2510 [WIDE_EMACS_INT]: Avoid compiler warnings.
2511
25122015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 Rely on conservative stack scanning to find "emacs_value"s
2515
2516 * src/emacs-module.c (struct emacs_value_tag)
2517 (struct emacs_value_frame, struct emacs_value_storage): Remove.
2518 (value_frame_size): Remove constant.
2519 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
2520 (lisp_to_value): Remove first arg.
2521 (module_nil): New constant.
2522 Use it instead of NULL when returning an emacs_value.
2523 (module_make_function): Adjust to new calling convention of
2524 Qinternal_module_call.
2525 (DEFUN): Receive args in an array rather than a list.
2526 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
2527 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
2528 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
2529 Adjust to new type of non_local_exit info.
2530 (ltv_mark) [WIDE_EMACS_INT]: New constant.
2531 (value_to_lisp, lisp_to_value): Rewrite.
2532 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
2533 (allocate_emacs_value): Remove function.
2534 (mark_modules): Gut it.
2535 (initialize_environment): Don't initialize storage any more.
2536 Keep the actual env object on Vmodule_environments.
2537 (finalize_environment): Don't finalize storage any more.
2538 (syms_of_module): Initialize ltv_mark and module_nil.
2539
2540 * src/emacs-module.h (emacs_value): Make it more clear that this type
2541 is really opaque, including the fact that NULL may not be valid.
2542
2543 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
2544 Don't assume that NULL is a valid emacs_value.
2545
25462015-11-30 Eli Zaretskii <eliz@gnu.org>
2547
2548 Yet another doc improvement for search commands
2549
2550 * doc/emacs/search.texi (Word Search, Symbol Search)
2551 (Regexp Search): Document commands that don't support lax
2552 whitespace matching or character folding.
2553 (Nonincremental Search): Mention the search commands that can be
2554 invoked from the menu bar.
2555
2556 * lisp/isearch.el (isearch-define-mode-toggle-word)
2557 (isearch-define-mode-toggle-symbol)
2558 (isearch-define-mode-toggle-character-fold): Note in the doc
2559 string that turning these on exits the regexp mode.
2560 (isearch-forward-regexp, isearch-forward-word)
2561 (isearch-forward-symbol, isearch-backward-regexp)
2562 (word-search-backward, word-search-forward)
2563 (word-search-backward-lax, word-search-forward-lax): State in the
2564 doc string which commands don't support character folding and/or
2565 lax-whitespace matching.
2566
25672015-11-30 Martin Rudalics <rudalics@gmx.at>
2568
2569 Run `window-size-change-functions' also when reading from minibuffer
2570
2571 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
2572 also when reading from minibuffer.
2573
25742015-11-30 Ulf Jasper <ulf.jasper@web.de>
2575
2576 Fix scrambling of html-rendered item buffers
2577
2578 * net/newst-treeview.el (newsticker--treeview-render-text): Fix
2579 scrambling of contents by wrapping call to html-renderer in
2580 save-selected-window.
2581
25822015-11-30 Paul Eggert <eggert@cs.ucla.edu>
2583
2584 Fix font typo in previous doc fix.
2585
25862015-11-30 Paul Eggert <eggert@cs.ucla.edu>
2587
2588 A bit more security doc, esp. file local vars
2589
2590 * doc/emacs/emacs.texi (Top):
2591 * doc/emacs/misc.texi (Miscellaneous Commands):
2592 Refer to new Host Security section.
2593 (Host Security): New section.
2594 * doc/lispref/os.texi (Security Considerations):
2595 Mention file local variables.
2596
25972015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
2598
2599 * lisp/character-fold.el: Comment out branching code
2600
2601 (character-fold-to-regexp): Comment out code that uses multi-char
2602 table. The branching caused by this induces absurdly long regexps,
2603 up to 10k chars for as little as 25 input characters.
2604
26052015-11-30 Paul Eggert <eggert@cs.ucla.edu>
2606
2607 Spelling and grammar fixes
2608
26092015-11-29 Dmitry Gutov <dgutov@yandex.ru>
2610
2611 Make lisp-completion-at-point a wrapper instead of an alias
2612
2613 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
2614 Turn into an obsolete wrapper around elisp-completion-at-point
2615 (bug#20455).
2616
26172015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
2618
2619 * lisp/isearch.el (isearch-search-fun-default): Nicer error
2620
2621 message when the search fails.
2622
26232015-11-29 Dmitry Gutov <dgutov@yandex.ru>
2624
2625 Update menu-bar-goto-uses-etags-p for the current xref API
2626
2627 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
2628 xref-backend-functions, instead of now-nonexistent
2629 xref-find-function.
2630
26312015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
2632
2633 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
2634
26352015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
2636
2637 * lisp/menu-bar.el: Use folding in searches
2638
2639 (nonincremental-search-forward): Use `isearch-search-fun-default'
2640 to determine the search function.
2641 (nonincremental-search-backward)
2642 (nonincremental-repeat-search-forward)
2643 (nonincremental-repeat-search-backward): Use it.
2644
26452015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
2646
2647 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
2648
26492015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
2650
2651 * lisp/character-fold.el (character-fold-to-regexp): Be careful
2652
2653 not to return huge regexps.
2654
26552015-11-29 Eli Zaretskii <eliz@gnu.org>
2656
2657 Improve documentation of string-collate-* functions
2658
2659 * doc/lispref/strings.texi (Text Comparison): Improve wording and
2660 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
2661
2662 * etc/NEWS: Move the entry of 'string-collate-equalp' and
2663 'string-collate-lessp' to "Lisp Changes" section and mark it as
2664 documented.
2665
26662015-11-29 Eli Zaretskii <eliz@gnu.org>
2667
2668 Document truncate-string-ellipsis
2669
2670 * doc/lispref/display.texi (Size of Displayed Text): Document
2671 'truncate-string-ellipsis'.
2672
2673 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
2674 (truncate-string-to-width): Mention in the doc string that the
2675 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
2676
2677 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
2678 Changes" section.
2679
26802015-11-29 Eli Zaretskii <eliz@gnu.org>
2681
2682 Fix confusion wrt character folding in the Emacs manual
2683
2684 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
2685 Document that invoking search-forward/backward and
2686 re-search-forward/backward supports only case folding, but not the
2687 rest of the lax-search features. Reported by Mike Kupfer
2688 <m.kupfer@acm.org>.
2689
26902015-11-29 Ken Brown <kbrown@cornell.edu>
2691
2692 Update mod-test-sum-test
2693
2694 * modules/mod-test/test.el (mod-test-sum-test): Update to
2695 accommodate the lack of dladdr on Cygwin.
2696
26972015-11-29 Alan Mackenzie <acm@muc.de>
2698
2699 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
2700
2701 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
2702 to `funcall', (i) Output an error message; (ii) Generate code to signal a
2703 `wrong-number-of-arguments' error.
2704
27052015-11-29 Martin Rudalics <rudalics@gmx.at>
2706
2707 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
2708
27092015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
2710
2711 * lisp/character-fold.el (character-fold-to-regexp)
2712
2713 Warn about using long strings.
2714
2715 * test/automated/character-fold-tests.el
2716 (character-fold--test-lax-whitespace)
2717 (character-fold--test-consistency): Reduce string size for tests.
2718
27192015-11-28 Eli Zaretskii <eliz@gnu.org>
2720
2721 Document renaming of x-select-enable-* variables
2722
2723 * doc/emacs/killing.texi (Clipboard): Rename
2724 x-select-enable-clipboard to select-enable-clipboard and
2725 x-select-enable-primary to select-enable-primary. Update index
2726 entries.
2727
2728 * etc/NEWS: Mark entry as documented.
2729
27302015-11-28 Eli Zaretskii <eliz@gnu.org>
2731
2732 Document the shorthand hints displayed by M-x
2733
2734 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
2735 suggest-key-bindings. Document the shorthand hints for commands
2736 that have no key bindings. Document that M-x completion ignores
2737 obsolete commands.
2738
2739 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
2740 documented.
2741
27422015-11-28 Eli Zaretskii <eliz@gnu.org>
2743
2744 Update docs of character folding
2745
2746 * doc/emacs/search.texi (Lax Search): Update the description of
2747 character folding for the latest changes.
2748
27492015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
2750
2751 * lisp/character-fold.el: Also play nice with case-folding
2752
2753 (character-fold-to-regexp): Take `case-fold-search' into account.
2754
27552015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
2756
2757 * lisp/character-fold.el: Add support for multi-char matches
2758
2759 (character-fold-table): Now has an extra-slot. This is a second
2760 char-table that holds multi-character matches. See docstring for
2761 details.
2762 (character-fold-to-regexp): Can build branching regexps when a
2763 character's entry the extra slot of `character-fold-table' matches the
2764 characters that succeed it.
2765
27662015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
2767
2768 * lisp/character-fold.el: Code simplifications
2769
2770 (character-fold-table): Reduce the scope of a variable.
2771 (character-fold-to-regexp): Change logic to work directly on the
2772 input string. It's a little easier to understand, probably
2773 faster, and sets us up for implementing multi-char matches.
2774
2775 * test/automated/character-fold-tests.el
2776 (character-fold--test-fold-to-regexp): New test.
2777
27782015-11-28 Eli Zaretskii <eliz@gnu.org>
2779
2780 Document changes in "C-h l"
2781
2782 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
2783
2784 * etc/NEWS: mark "C-h l" changes as documented.
2785
27862015-11-28 Eli Zaretskii <eliz@gnu.org>
2787
2788 Finalize documentation of 'custom-prompt-customize-unsaved-options'
2789
2790 * doc/emacs/custom.texi (Saving Customizations): Index the new
2791 function 'custom-prompt-customize-unsaved-options'.
2792
2793 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
2794 is useful.
2795
27962015-11-28 Eli Zaretskii <eliz@gnu.org>
2797
2798 Document 'comment-line'
2799
2800 * doc/emacs/programs.texi (Comment Commands): Document
2801 'comment-line'.
2802
2803 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
2804
28052015-11-28 Eli Zaretskii <eliz@gnu.org>
2806
2807 Document new checkdoc features
2808
2809 * doc/lispref/tips.texi (Tips, Library Headers): Document the
2810 keyword-checking features of checkdoc and the commands
2811 'checkdoc-file' and 'checkdoc-current-buffer'.
2812
2813 * etc/NEWS: Move the checkdoc-related entries to their own
2814 section.
2815
28162015-11-28 Philipp Stephani <p.stephani2@gmail.com>
2817
2818 Simplify the prologue of emacs-module.c functions
2819
2820 * emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
2821 (module_make_global_ref)
2822 (module_free_global_ref, module_make_function, module_funcall)
2823 (module_intern, module_type_of, module_extract_integer)
2824 (module_make_integer, module_extract_float, module_make_float)
2825 (module_copy_string_contents, module_make_string)
2826 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
2827 (module_get_user_finalizer, module_set_user_finalizer)
2828 (module_vec_set, module_vec_get, module_vec_size): Use new helper
2829 macro MODULE_FUNCTION_BEGIN.
2830
28312015-11-28 Eli Zaretskii <eliz@gnu.org>
2832
2833 Don't reject module calls with no arguments
2834
2835 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
2836
28372015-11-28 Philipp Stephani <p.stephani2@gmail.com>
2838
2839 Make module-call be visible from Lisp
2840
2841 * src/emacs-module.c (module_make_function): Use internal--module-call.
2842 (Finternal_module_call): Renamed from Fmodule_call. Add safety
2843 checks.
2844 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
2845 defsubr internal--module-call.
2846
28472015-11-28 Eli Zaretskii <eliz@gnu.org>
2848
2849 Add etags tests for the recent Lua-related bugfix
2850
2851 * test/etags/lua-src/test.lua: New file, tests the issues raised
2852 by bug#21934.
2853 * test/etags/Makefile (LUASRC): Add test.lua.
2854 * test/etags/ETAGS.good_1:
2855 * test/etags/ETAGS.good_2:
2856 * test/etags/ETAGS.good_3:
2857 * test/etags/ETAGS.good_4:
2858 * test/etags/ETAGS.good_5:
2859 * test/etags/ETAGS.good_6:
2860 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
2861 regression fix, resolved around 25 May 2015, required changes to
2862 the "good" ETAGS files.
2863
28642015-11-28 Eli Zaretskii <eliz@gnu.org>
2865
2866 Fix Lua tags when a function name includes '.' or ':'
2867
2868 * lib-src/etags.c (Lua_functions): Add a tag for the last element
2869 of a function name after a dot or a colon. (Bug#21934)
2870
28712015-11-28 Eli Zaretskii <eliz@gnu.org>
2872
2873 Improve documentation of search and replace commands
2874
2875 * doc/emacs/search.texi (Replacement and Lax Matches): Document
2876 which commands are affected by 'replace-character-fold'.
2877 (Lax Search): Add a cross reference to "Replacement and Lax
2878 Matches". Improve wording. Fix lost extra whitespace.
2879 (Search Customizations): Improve wording. (Bug#22036)
2880 See also comments in
2881 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
2882
2883 * lisp/replace.el (query-replace, query-replace-regexp)
2884 (query-replace-regexp-eval, replace-string, replace-regexp):
2885 Mention 'replace-character-fold' in the doc strings.
2886
28872015-11-28 Paul Eggert <eggert@cs.ucla.edu>
2888
2889 Fix minor problems found by static checking
2890
2891 * src/undo.c (prepare_record): Add proper prototype for C.
2892
28932015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * src/emacs-module.c (struct env_storage): Delete
2896
2897 (struct emacs_runtime_private): Keep an emacs_env instead.
2898 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
2899 (initialize_environment): Split the arg in two. Adjust all callers.
2900 Only store the private part in Vmodule_environments.
2901 (finalize_environment): Change the arg to only be the private env.
2902 Adjust all callers.
2903
29042015-11-27 Eli Zaretskii <eliz@gnu.org>
2905
2906 Improve documentation of 'replace-character-fold'
2907
2908 * lisp/replace.el (replace-character-fold): Clarify which commands
2909 are affected by this variable.
2910
29112015-11-27 Mark Oteiza <mvoteiza@udel.edu>
2912
2913 Backport: Add interactive seek command.
2914
2915 * lisp/mpc.el (mpc-cmd-seekcur): New function.
2916 (mpc-seek-current): New command.
2917 (mpc-mode-menu): Add entry for mpc-seek-current
2918 (mpc-mode-map): Bind mpc-seek-current to "g"
2919
29202015-11-27 Dmitry Gutov <dgutov@yandex.ru>
2921
2922 Autoload etags when using its xref backend
2923
2924 * lisp/progmodes/xref.el (xref--etags-backend):
2925 Rename to etags--xref-backend. Move to etags.el. Autoload.
2926 (Bug#22026)
2927
29282015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
2929
2930 * lisp/character-fold.el: Allow complex chars to match their decomposition
2931
2932 (character-fold-table): When a character's decomposition does not
2933 involve a formatting tag (i.e., if it has an "exact" description via
2934 other characters), then this character is allowed to match the
2935 decomposition.
2936
29372015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
2938
2939 * lisp/character-fold.el: More descriptive variable names
2940
2941 (character-fold-table): Rename a lot of the lexical variables to
2942 make the code easier to read.
2943
29442015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
2945
2946 * lisp/isearch.el: Ensure we still support `isearch-new-word'
2947
2948 (isearch-new-regexp-function): Define variable.
2949 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
2950
29512015-11-27 Eli Zaretskii <eliz@gnu.org>
2952
2953 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
2954
29552015-11-27 Lee Bochicchio <lboc.home@gmail.com>
2956
2957 * test/lisp/abbrev-tests.el: Define more tests
2958
2959 (abbrev-table-name-test, kill-all-abbrevs-test)
2960 (clear-abbrev-table-test): New tests.
2961
29622015-11-27 Eli Zaretskii <eliz@gnu.org>
2963
2964 Add module tests for wrong-type-argument
2965
2966 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
2967 wrong-type-argument.
2968
29692015-11-27 Eli Zaretskii <eliz@gnu.org>
2970
2971 Improve handling of signals and 'throw' in modules
2972
2973 * src/emacs-module.c: Add commentary explaining how to write
2974 functions in this file.
2975 (module_make_global_ref, module_free_global_ref)
2976 (module_non_local_exit_signal, module_non_local_exit_throw)
2977 (module_make_function, module_funcall, module_intern)
2978 (module_type_of, module_is_not_nil, module_eq)
2979 (module_extract_integer, module_make_integer)
2980 (module_extract_float, module_make_float)
2981 (module_copy_string_contents, module_make_string)
2982 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
2983 (module_get_user_finalizer, module_set_user_finalizer)
2984 (module_vec_set, module_vec_get, module_vec_size)
2985 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
2986 Do nothing and return with failure indication immediately, if some
2987 previous module call signaled an error or wants to throw. See
2988 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
2989 for the relevant discussions.
2990
29912015-11-27 Eli Zaretskii <eliz@gnu.org>
2992
2993 Add ':version' tag to 'checkdoc-package-keywords-flag'
2994
2995 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
2996 Add a ':version' tag.
2997
29982015-11-27 Eli Zaretskii <eliz@gnu.org>
2999
3000 Improve documentation of 'eval-buffer' and 'eval-region'
3001
3002 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
3003
3004 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
3005 "accessible portion of buffer".
3006
30072015-11-27 Eli Zaretskii <eliz@gnu.org>
3008
3009 Unbreak the Cygwin w32 build
3010
3011 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
3012 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3013
30142015-11-27 Eli Zaretskii <eliz@gnu.org>
3015
3016 Improve commentary in character-fold.el
3017
3018 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
3019 description from commit log message to comments. (Bug#22019)
3020
30212015-11-26 Alan Mackenzie <acm@muc.de>
3022
3023 Byte Compiler: generate code to adjust stack count after call to `signal'.
3024
3025 Corrects change from earlier today.
3026
3027 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
3028 `byte-compile--for-effect' as argument to `byte-compile-form'.
3029
30302015-11-26 Eli Zaretskii <eliz@gnu.org>
3031
3032 Improve commentary of prepare_to_modify_buffer_1
3033
3034 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
3035 that this function runs Lisp. Suggested by Richard Stallman
3036 <rms@gnu.org>.
3037
30382015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
3039
3040 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
3041
30422015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
3043
3044 Fix regression after merge.
3045
3046 * undo.c (prepare_record): Remove call to run_undoable_change.
3047
30482015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
3049
3050 After delete, record point location in undo.
3051
3052 Addresses Bug #21968.
3053
3054 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
3055 better support intercalating calls.
3056 * src/keyboard.c,src/keyboard.h (command_loop_1): Store value of
3057 point and current buffer before each command.
3058 * src/undo.c (record_point): Now only record the point.
3059 * src/undo.c (prepare_record): Functionality removed form
3060 record_point.
3061 * src/undo.c (record_delete): Check if point needs recording.
3062 * src/undo.c (undo-boundary): Record value of point before each
3063 boundary.
3064 * test/automated/simple-test.el: New tests.
3065
3066 Conflicts:
3067 src/undo.c
3068
30692015-11-26 Eli Zaretskii <eliz@gnu.org>
3070
3071 Fix compiler warnings in w32.c
3072
3073 * src/w32.c (sys_socket): In case of error, use -1 as return
3074 value, not INVALID_SOCKET, which causes compiler warnings.
3075 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
3076 to the appropriate function signature, to avoid compiler errors.
3077 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
3078
30792015-11-26 Dmitry Gutov <dgutov@yandex.ru>
3080
3081 Check if the file exists on disk before producing the revert diff
3082
3083 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
3084 exists on disk (bug#20558).
3085
30862015-11-26 Alan Mackenzie <acm@muc.de>
3087
3088 Byte compiler: on setq with an odd number of arguments, generate a `signal'
3089
3090 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
3091 it has an odd number of arguments, to allow bytecomp to handle the error.
3092
3093 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
3094 odd number of arguments, generate a `signal' instead of the normal code.
3095
30962015-11-25 Dmitry Gutov <dgutov@yandex.ru>
3097
3098 Use find-tag-default for xref-backend-identifier-at-point
3099
3100 * lisp/progmodes/etags.el (find-tag-tag)
3101 (tags-completion-at-point-function): Extract common code as
3102 find-tag--default.
3103 (xref-backend-identifier-at-point): Define in terms of the new
3104 function.
3105
31062015-11-25 Paul Eggert <eggert@cs.ucla.edu>
3107
3108 * src/undo.c (record_property_change): Remove now-unused local.
3109
31102015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
3111
3112 run_undoable_changes now called from insdel.
3113
3114 The original calls from inside undo.c are not always at a safe position
3115 to call lisp, as they originate in varied positions within insdel.c.
3116 Calling them directly from prepare_to_modify_buffer_1 ensures that they
3117 are always run at the same point.
3118
3119 * undo.c (run_undoable_changes,syms_of_undo): Remove function
3120 and symbol used.
3121 * insdel.c (run_undoable_changes): Add function and symbol.
3122
31232015-11-25 Eli Zaretskii <eliz@gnu.org>
3124
3125 Improve and update documentation of search commands
3126
3127 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
3128 all references changed. Move the description of lax-whitespace
3129 here. Add description of the new character folding features and
3130 additional customizable options.
3131 (Isearch Yank): Move before "Error in Search".
3132 (Basic Isearch): Improve wording. Add index entries. Add short
3133 description of how to abandon search, making this subsection a
3134 complete introduction to search basics.
3135 (Repeat Isearch): Add index entries. Describe additional
3136 customizable options. Describe mouse clicks.
3137 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
3138 area. Describe more customizable options.
3139 (Error in Isearch): Add index entries.
3140 (Special Isearch): Move actual description of some isearch
3141 commands to other sections, leaving here just the summary of the
3142 commands. Add command that toggles character folding. Describe
3143 commands, like "C-h C-h", that were previously omitted for some
3144 reason.
3145 (Not Exiting Isearch): Describe search-exit-option. Add index
3146 entries.
3147 (Word Search): Describe eww-search-word and eww-search-prefix.
3148 (Symbol Search): Add index entries.
3149 (Regexp Search): Describe regexp-search-ring-max.
3150 (Replacement and Lax Matches): Renamed from "Replacement and
3151 Case"; all references changed. Describe lax-whitespace matching
3152 in replace commands and related options. Describe character
3153 folding in replace commands and related options.
3154 (Query Replace): Describe query-replace-from-to-separator and the
3155 new history features. Add index entries for highlighted text.
3156 Describe query-replace-skip-read-only. Describe more keys
3157 accepted by query-replace.
3158 (Other Repeating Search): More index entries for Occur. Describe
3159 list-matching-lines-default-context-lines.
3160 (Search Customizations): New section, documents customizable
3161 options that were not documented until now.
3162 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
3163 "Character Folding".
3164
3165 * etc/NEWS: Move search- and replace-related entries to a single
3166 parent section.
3167
3168 * lisp/replace.el (query-replace-show-replacement): Doc fix.
3169 * lisp/isearch.el (search-nonincremental-instead)
3170 (isearch-hide-immediately): Doc fixes.
3171
31722015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
3173
3174 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
3175
3176 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
3177 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
3178 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
3179
31802015-11-25 Paul Eggert <eggert@cs.ucla.edu>
3181
3182 Fix module_format_fun_env when dynlib_addr fails
3183
3184 * src/emacs-module.c (module_format_fun_env):
3185 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
3186 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
3187
31882015-11-25 Paul Eggert <eggert@cs.ucla.edu>
3189
3190 Disambiguate variable help a bit better
3191
3192 * lisp/help-fns.el (describe-variable): Quote the
3193 variable’s value if it is a symbol other than t or nil.
3194 See: T.V Raman in:
3195 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
3196
31972015-11-24 Dmitry Gutov <dgutov@yandex.ru>
3198
3199 Pass SVN commit message through log-edit-extract-headers
3200
3201 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
3202 log-edit-extract-headers (bug#18954).
3203
32042015-11-24 Alan Mackenzie <acm@muc.de>
3205
3206 CC Mode: Eliminate compiler warning messages.
3207
3208 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
3209 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
3210 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
3211 (c-awk-set-syntax-table-properties): Clarify comments about
3212 `font-lock-syntactic-keywords'.
3213
3214 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
3215 of this before the real (interpreted) one, to satisfy the byte compiler.
3216
32172015-11-24 Simen Heggestøyl <simenheg@gmail.com>
3218
3219 Extend the test suite for json.el
3220
3221 * lisp/json.el (json-plist-p): Clarify docstring.
3222
3223 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
3224 macro.
3225 (test-json-join, test-json-alist-p)
3226 (test-json-plist-p, test-json-advance, test-json-peek)
3227 (test-json-pop, test-json-skip-whitespace)
3228 (test-json-read-keyword, test-json-encode-keyword)
3229 (test-json-read-number, test-json-encode-number)
3230 (test-json-read-escaped-char, test-json-read-string)
3231 (test-json-encode-string, test-json-encode-key)
3232 (test-json-new-object, test-json-add-to-object)
3233 (test-json-read-object, test-json-encode-list)
3234 (test-json-read-array, test-json-encode-array)
3235 (test-json-read, test-json-read-from-string)
3236 (test-json-encode): New tests.
3237 (json-read-simple-alist): Merged into `test-json-read-object'.
3238 (json-encode-string-with-special-chars): Merged into
3239 `test-json-encode-string'.
3240 (json-read-string-with-special-chars): Split into
3241 `test-json-encode-string' and `test-json-read-from-string'.
3242
32432015-11-24 Anders Lindgren <andlind@gmail.com>
3244
3245 Fixed bug#18283: Enable applescript in NextStep.
3246
3247 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
3248
32492015-11-24 Eli Zaretskii <eliz@gnu.org>
3250
3251 Allow completion on dynamic module files in load-library
3252
3253 * lisp/files.el (load-library): Bind completion-ignored-extensions
3254 to nil, to allow completion on dynamic modules typed as file
3255 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3256
32572015-11-24 Alan Mackenzie <acm@muc.de>
3258
3259 CC Mode: eliminate almost all byte compilation warnings
3260
3261 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
3262 (cc-require): Remove the crude hack that saved and restored
3263 byte-compile-noruntime-functions.
3264 (cc-conditional-require, cc-conditional-require-after-load): New macros.
3265
3266 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
3267 cc-fix.el using the new macros in cc-bytecomp.el.
3268
3269 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
3270 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
3271 forms to remove the superflous quotes.
3272
32732015-11-24 Eli Zaretskii <eliz@gnu.org>
3274
3275 Add one more mod-test test
3276
3277 * modules/mod-test/test.el (mod-test-sum-test): Test the error
3278 signaled when the function is invoked with a wrong number of
3279 arguments.
3280
32812015-11-24 Philipp Stephani <phst@google.com>
3282
3283 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
3284
32852015-11-24 Eli Zaretskii <eliz@gnu.org>
3286
3287 Implement dynlib_addr for MS-Windows
3288
3289 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
3290 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
3291 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
3292 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
3293 if undefined.
3294 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
3295 zero.
3296 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
3297 the full file name of the module for a given address.
3298
32992015-11-24 Alan Mackenzie <acm@muc.de>
3300
3301 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
3302
33032015-11-24 Alan Mackenzie <acm@muc.de>
3304
3305 Squashed commit of the following:
3306
3307 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
3308 Author: Alan Mackenzie <acm@muc.de>
3309 Date: Tue Nov 24 16:50:09 2015 +0000
3310
3311 Byte compile: minor amendments.
3312
3313 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3314 add a comment to explain the binding of variables around a subsidiary
3315 compilation.
3316 (byte-compile-new-defuns): Amend the doc string.
3317
3318 commit c537bfed1dda1593d218956ff00c6105a3ff0316
3319 Author: Alan Mackenzie <acm@muc.de>
3320 Date: Sat Nov 21 18:43:57 2015 +0000
3321
3322 Byte compiler: fix spurious warnings "might not be defined at runtime".
3323
3324 Also initialize byte-compile-noruntime-functions between runs.
3325
3326 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
3327 (byte-compile-initial-macro-environment): For eval-when-compile: bind
3328 byte-compile-unresolved-functions and byte-compile-new-defuns around
3329 byte-compile-top-level, to prevent spurious entries being made.
3330 (byte-compile-warn-about-unresolved-functions): Check whether function is
3331 in byte-compile-new-defuns before emitting a warning about it.
3332 (byte-compile-from-buffer): Initialize new variable and
3333 byte-compile-noruntime-functions to nil.
3334 (byte-compile-file-form-require): record all new functions defined by a
3335 `require' in byte-compile-new-defuns.
3336 (byte-compile-file-form-defmumble): record the new alias in
3337 byte-compile-new-defuns.
3338
33392015-11-24 Eli Zaretskii <eliz@gnu.org>
3340
3341 Fix crash at startup related to GC of font entities
3342
3343 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
3344 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
3345 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
3346 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
3347 Don't ifdef away font cache compaction on NT_GUI, as the problems
3348 which led to that seem to have been solved.
3349 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
3350 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
3351 cousins. (Bug#21999)
3352
33532015-11-24 Alan Mackenzie <acm@muc.de>
3354
3355 Byte compile: Output an error, not a warning, for odd number of args to setq
3356
3357 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
3358
33592015-11-24 Ken Raeburn <raeburn@raeburn.org>
3360
3361 Fix kbd_buffer iteration loop in readable_events
3362
3363 * src/keyboard.c (readable_events): Wrap the event pointer back to the
3364 start of the kbd_buffer array inside the top of the loop instead of
3365 right before checking the loop condition, since kbd_fetch_ptr and
3366 kbd_store_ptr point past the end of the array to mean that element 0
3367 is next. (bug#21935)
3368
33692015-11-24 Paul Eggert <eggert@cs.ucla.edu>
3370
3371 Improve text-quoting-style doc again
3372
3373 * doc/lispref/help.texi (Keys in Documentation):
3374 Omit overkill discussion of ‘setq’. Mention Emacs versions
3375 where ‘grave’ style was standard.
3376
33772015-11-23 Paul Eggert <eggert@cs.ucla.edu>
3378
3379 Improve text-quoting-style doc
3380
33812015-11-23 Paul Eggert <eggert@cs.ucla.edu>
3382
3383 Simplify module_make_function
3384
3385 * src/emacs-module.c (module_make_function):
3386 Simplify by calling build_unibyte_string.
3387
33882015-11-23 Paul Eggert <eggert@cs.ucla.edu>
3389
3390 Port better to FreeBSD’s dlfunc vs dlsym
3391
3392 This avoids warnings when converting between void * and
3393 function pointers, which strict C11 does not allow.
3394 * configure.ac (dlfunc): Check for existence.
3395 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
3396 (dynlib_func): New function.
3397 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
3398 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
3399 dynlib_sym, for function pointers.
3400
34012015-11-23 Paul Eggert <eggert@cs.ucla.edu>
3402
3403 Simplify use of emacs_finalizer_function type
3404
3405 * src/emacs-module.h (emacs_finalizer_function):
3406 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
3407 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
3408
34092015-11-23 Paul Eggert <eggert@cs.ucla.edu>
3410
3411 module_format_fun_env fixes
3412
3413 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
3414 * src/emacs-module.c (module_format_fun_env):
3415 Convert path and sym to UTF-8.
3416 Don’t use VLAs, as the C11 standard says they’re optional,
3417 and anyway they can cause core dumps with large allocations.
3418 Use exprintf rather than snprintf, as exprintf handles arbitrarily
3419 long strings. Simplify the code a bit.
3420
34212015-11-23 Dmitry Gutov <dgutov@yandex.ru>
3422
3423 Don't use package-user-dir in elisp-library-roots if it's not bound
3424
3425 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
3426 use package-user-dir if it's not bound (bug#19759).
3427
34282015-11-23 Anders Lindgren <andlind@gmail.com>
3429
3430 New visible-bell for NextStep (OS X El Capitan compatible).
3431
3432 Instead of inverting a rectangle in the middle of the frame, use
3433 the standard NextStep image "caution", represented using an
3434 warning sign with an exclamation mark. (Bug#21662)
3435
3436 Implemented based on a suggestion drafted by Mustafa Kocaturk.
3437
3438 * src/nsterm.m (EmacsBell): New class for managing the caution
3439 image. Support multiple active bells, the image is removed once
3440 all bells have timed out.
3441 (ns_timeout): Removed, no longer used.
3442 (ns_ring_bell): Reimplemented to use EmacsBell.
3443
34442015-11-23 Johan Bockgård <bojohan@gnu.org>
3445
3446 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
3447
3448 (remove-function): Ditto. (Bug#20376)
3449
34502015-11-23 Mark Oteiza <mvoteiza@udel.edu>
3451
3452 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
3453
34542015-11-23 Eli Zaretskii <eliz@gnu.org>
3455
3456 Improve how non-ASCII strings are accepted from modules
3457
3458 * src/emacs-module.c (module_make_function, module_make_string):
3459 Build a unibyte Lisp string and then decode it by UTF-8, instead
3460 of building a multibyte string without decoding. This is more
3461 tolerant to deviations from UTF-8.
3462
34632015-11-23 Paul Eggert <eggert@cs.ucla.edu>
3464
3465 Port recent module changes to pickier compilers
3466
3467 * src/emacs-module.c (module_make_function)
3468 (module_make_string): Add casts to fix pointer signedness issues.
3469
34702015-11-23 Philipp Stephani <phst@google.com>
3471
3472 Fix how strings are accepted from modules
3473
3474 * emacs-module.c (module_make_function, module_make_string): Use
3475 make_multibyte_string.
3476 (module_copy_string_contents): Encode before reading the byte
3477 size. Return false if and only if an error occurred.
3478
34792015-11-23 Eli Zaretskii <eliz@gnu.org>
3480
3481 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
3482
34832015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
3484
3485 Add the tamil-dvorak input method
3486
3487 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
3488
3489 * etc/NEWS: Mention the new input method.
3490
34912015-11-23 Martin Rudalics <rudalics@gmx.at>
3492
3493 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
3494
3495 * src/frame.c (adjust_frame_size): Don't set
3496 FRAME_WINDOW_SIZES_CHANGED here ...
3497 * src/window.c (resize_frame_windows): ... but here, as suggested
3498 by Stefan Monnier. Also remove some dead code along the way.
3499
35002015-11-23 Alan Mackenzie <acm@muc.de>
3501
3502 * /etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
3503
35042015-11-23 Alan Mackenzie <acm@muc.de>
3505
3506 Signal an error when `setf' gets an odd number of arguments.
3507
3508 * lisp/emacs-lisp/gv.el (setf): Amend.
3509
35102015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
3513
35142015-11-23 Alan Mackenzie <acm@muc.de>
3515
3516 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
3517
35182015-11-23 Alan Mackenzie <acm@muc.de>
3519
3520 Expunge occurrences of `setq' with an odd number of arguments.
3521
3522 * lisp/apropos.el (apropos-documentation):
3523 * lisp/obsolete/complete.el (PC-include-file-all-completions):
3524 * lisp/progmodes/compile.el (compilation-goto-locus):
3525 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
3526 Insert missing nil at end of `setq' forms.
3527
3528 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
3529 erroneous trailing variable name from a setq, thus allowing a compilation
3530 properly to track functions not defined at runtime.
3531
35322015-11-23 John Wiegley <johnw@newartisans.com>
3533
3534 Add a note about a questionable use of bool in xdisp.c
3535
35362015-11-23 Alan Mackenzie <acm@muc.de>
3537
3538 Issue a warning from the byte compiler on a malformed `setq' form.
3539
3540 Partly fixes bug#20241.
3541 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
3542 `setq' form with an odd number of arguments is compiled.
3543
35442015-11-23 Alan Mackenzie <acm@muc.de>
3545
3546 Don't let cconv_convert insert a nil argument into a `setq' form.
3547
3548 Fixes bug#21983.
3549 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
3550 argument into a `setq' when there're an odd number of args. This enables the
3551 byte compiler to issue a message in this case.
3552
35532015-11-23 Alan Mackenzie <acm@muc.de>
3554
3555 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
3556
3557 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
3558 (syms_of_eval): Add a DEFSYM for Qsetq.
3559
35602015-11-23 Martin Rudalics <rudalics@gmx.at>
3561
3562 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
3563
3564 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
3565
35662015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3567
3568 Add EUDC BBDB 3 entry in NEWS
3569
3570 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
3571
35722015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3573
3574 Improve EUDC to BBDB 3 export
3575
3576 * eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
3577 entry to single item. Add company conversion.
3578 * eudc-export.el (eudc-bbdbify-company): New function.
3579 (bbdb-parse-phone): Declare function.
3580 (eudc-bbdbify-phone): Add BBDB 3 support.
3581 (Bug#21971)
3582
35832015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3584
3585 Add BBDB 3 support for EUDC export
3586
3587 * eudc.el: Add bbdb-version defvar.
3588 (eudc--using-bbdb-3-or-newer-p): New function.
3589 * eudc-export.el (eudc-create-bbdb-record): Add support for
3590 bbdb-create-internal argument list changes introduced in BBDB 3.
3591 * eudcb-bbdb.el: Remove bbdb-version defvar.
3592 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
3593 (Bug#21971)
3594
35952015-11-22 Eli Zaretskii <eliz@gnu.org>
3596
3597 Allow loading modules by 'load-file'
3598
3599 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
3600 2nd arg, to avoid the "binding stack not balanced" error.
3601 (syms_of_lread) <module-file-suffix>: New Lisp variable.
3602
3603 * lisp/files.el (module-file-suffix): Declare.
3604 (load-file): Remove 'module-file-suffix' from
3605 'completion-ignored-extensions', to allow completion on modules.
3606
3607 * etc/NEWS: Mention 'module-file-suffix'.
3608
36092015-11-22 Eli Zaretskii <eliz@gnu.org>
3610
3611 Fix unoptimized builds
3612
3613 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
3614 builds.
3615
36162015-11-22 Dmitry Gutov <dgutov@yandex.ru>
3617
3618 Work around the asynchronous-empty-diff problem
3619
3620 * lisp/vc/vc-rcs.el (vc-rcs-diff):
3621 * lisp/vc/vc-mtn.el (vc-mtn-diff):
3622 * lisp/vc/vc-hg.el (vc-hg-diff):
3623 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
3624 do a synchronous process call (bug#21969).
3625
36262015-11-21 Karl Fogel <kfogel@red-bean.com>
3627
3628 Finish excising electric indent from `open-line'
3629
3630 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
3631
3632 * test/automated/simple-test.el (open-line-indent, open-line-hook):
3633 Adjust accordingly.
3634
3635 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
3636 (git commit c59353896) started. It turns out that having INTERACTIVE
3637 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
3638 still had the electric indent behavior, as `post-self-insert-hook'
3639 normally contains `electric-indent-post-self-insert-function' ever
3640 since `electric-indent-mode' has been on by default. Tracing the code
3641 change in `open-line' is mildly twisty, because Artur Malabarba's
3642 earliest two commits of 24 Oct 2015 first removed the `interactive'
3643 form entirely (git commit 6939896e2) and then restored it with the new
3644 extra "p" already added (git commit bd4f04f86), such that there is no
3645 single-commit diff in which one sees the second "p" appear. Thus this
3646 change is effectively a reversion of parts of each of those commits.
3647
3648 This could close bug#21884, at least until further discussion.
3649
36502015-11-21 Dmitry Gutov <dgutov@yandex.ru>
3651
3652 Adhere closer to the "implicit tag name" definition
3653
3654 * lisp/progmodes/etags.el (etags-tags-completion-table):
3655 Adhere closer to the "implicit tag name" definition. Simplify
3656 the regexp. Search for the explicit tag name first, and when
3657 not found, search locally for the implicit one. (Bug#21934)
3658
36592015-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 Unrevert most of regexp reentrancy abort patch
3662
3663 The problem was in:
3664 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
3665 which is hence not unreverted.
3666 The rest is:
3667 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
3668 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
3669 All callers in regex.c changed back to the _FAST versions.
3670
3671 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
3672 propertization in backward-sexp.
3673
36742015-11-21 Paul Eggert <eggert@cs.ucla.edu>
3675
3676 Revert regexp reentrancy abort patch
3677
3678 Although the patch does fix Bug#21688 and prevents a core dump,
3679 it also makes the message-mode-propertize test fail; see:
3680 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
3681 Perhaps someone else can come up with a better fix some day.
3682 * src/syntax.c (update_syntax_table_forward):
3683 Propertize even when truncated.
3684 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
3685 (UPDATE_SYNTAX_TABLE_FAST): Remove.
3686 All callers changed back to the non-_FAST versions.
3687
36882015-11-21 Paul Eggert <eggert@cs.ucla.edu>
3689
3690 Add a few safety checks when ENABLE_CHECKING
3691
3692 This was motivated by the recent addition of module code,
3693 which added some ENABLE_CHECKING-enabled checks that are
3694 useful elsewhere too.
3695 * src/alloc.c (compact_font_cache_entry):
3696 * src/fns.c (sweep_weak_table):
3697 * src/lread.c (oblookup):
3698 Use gc_asize rather than doing it by hand.
3699 * src/emacs-module.c (module_make_global_ref)
3700 (module_free_global_ref, module_vec_size):
3701 Omit assertions that lisp.h now checks.
3702 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
3703 check that the result is nonnegative. Use eassume, as this
3704 info can help a bit when optimizing production code.
3705 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
3706 to be consistent with the USE_LSB_TAG case.
3707 (gc_asize): New function, when ASIZE is needed in the gc.
3708 (gc_aset): Use it.
3709 (HASH_TABLE_P): Move definition up, so that it can be used ...
3710 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
3711
37122015-11-21 Eli Zaretskii <eliz@gnu.org>
3713
3714 Simplify recording of main thread's ID on MS-Windows
3715
3716 * src/w32term.c (w32_initialize):
3717 * src/w32console.c (initialize_w32_display):
3718 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
3719 ID independently for each type of session (GUI, TTY, batch).
3720 * src/w32term.c (w32_init_main_thread): New function, records the
3721 main thread's thread ID.
3722 * src/w32term.h: Add prototype for w32_init_main_thread.
3723 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
3724
3725 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
3726 main_thread, for consistency with other threading libraries. All
3727 users changed. Include w32term.h.
3728 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
3729 make sure the main thread is alive, as we hold a handle on it
3730 opened by w32_init_main_thread.
3731 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
3732 w32_init_main_thread, instead of calling the requisite APIs once
3733 more.
3734
37352015-11-21 Mark Oteiza <mvoteiza@udel.edu>
3736
3737 Backport: Fix issue where a new tempfile was created every refresh
3738
3739 * lisp/mpc.el (mpc-format): Leave dir as relative path
3740
37412015-11-21 Eli Zaretskii <eliz@gnu.org>
3742
3743 Call 'window-size-change-functions' for mini-windows
3744
3745 * src/window.c (grow_mini_window, shrink_mini_window): Set the
3746 frame's 'window_sizes_changed' flag.
3747 * src/xdisp.c (redisplay_internal): Call the hooks on
3748 'window-size-change-functions' if the call to 'echo_area_display'
3749 sets the frame's 'window_sizes_changed' flag.
3750 (syms_of_xdisp) <window-size-change-functions>:
3751 Update doc string to indicate the mini-window resizes trigger a
3752 call to the hooks, and don't promise that will happen "before
3753 redisplay". (Bug#19576, Bug#21333)
3754
3755 * doc/lispref/windows.texi (Window Hooks): Update the description
3756 of 'window-size-change-functions'.
3757
37582015-11-21 Eli Zaretskii <eliz@gnu.org>
3759
3760 Improve documentation of dynamic modules
3761
3762 * src/fns.c (Frequire): Doc fix to include the dynamic module
3763 support.
3764 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
3765 dynamic module support.
3766 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
3767 wrt the MUST-SUFFIX argument.
3768
3769 * etc/NEWS: Expand documentation of dynamically loaded modules.
3770
37712015-11-21 Philipp Stephani <phst@google.com> (tiny change)
3772
3773 Initial documentation for dynamic modules
3774
3775 * etc/NEWS: Mention the new support for dynamically loaded modules.
3776
37772015-11-20 Dmitry Gutov <dgutov@yandex.ru>
3778
3779 Add xref--etags-backend to xref-backing-functions using add-hook
3780
3781 * lisp/progmodes/xref.el (xref-backend-functions): Move the
3782 default value into a separate `add-hook' call (bug#21964).
3783
3784 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
3785 Don't declare the xref-backend-functions variable.
3786 It doesn't make any difference.
3787
37882015-11-20 Paul Eggert <eggert@cs.ucla.edu>
3789
3790 Fix double-decrement bug when freeing global refs
3791
3792 * src/emacs-module.c (module_free_global_ref): Add a FIXME
3793 comment about error reporting. Fix a recently-introduced typo
3794 that double-decremented the refcount.
3795
37962015-11-20 Paul Eggert <eggert@cs.ucla.edu>
3797
3798 Declare emacs_module_init in the module API
3799
3800 * src/emacs-module.h (emacs_module_init): New decl.
3801 Without it, GCC might complain about a module that defines
3802 emacs_module_init without using it. This also checks the
3803 API better.
3804
38052015-11-20 Paul Eggert <eggert@cs.ucla.edu>
3806
3807 Fix module test to use ptrdiff_t nargs too
3808
3809 * modules/mod-test/mod-test.c (Fmod_test_return_t)
3810 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
3811 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
3812 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
3813 (Fmod_test_userptr_get, Fmod_test_vector_fill)
3814 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
3815 (finalizer): Remove; no longer used.
3816
38172015-11-20 Paul Eggert <eggert@cs.ucla.edu>
3818
3819 Fix reindent-introduced typo in module code
3820
3821 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
3822 introduced while reindenting the code earlier, and add a
3823 comment explaining the unusual use of do-while here.
3824
38252015-11-20 Anders Lindgren <andlind@gmail.com>
3826
3827 Fixed bug#19576: `write-file' saves wrong buffer.
3828
3829 If a function on the hook `window-size-change-functions' doesn't
3830 restore the current buffer, functions that save and restore the
3831 current window configuration (like `y-or-no-p') could silently
3832 change the current buffer. When `write-file' asked the user
3833 confirmation to overwrite a file, `y-or-no-p' changed the current
3834 buffer, and the wrong buffer was saved to the file.
3835
3836 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
3837 using the `norecord' parameter.
3838 (follow-window-size-change): Restore current buffer. Call
3839 `select-frame' using the `norecord' parameter. Cleanup.
3840
38412015-11-20 John Wiegley <johnw@newartisans.com>
3842
3843 Correct a documentation error in frames.texi
3844
38452015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
3846
3847 * lisp/cedet/mode-local.el: Delete obsolete comment
3848
38492015-11-20 Paul Eggert <eggert@cs.ucla.edu>
3850
3851 Module function arg counts are ptrdiff_t, not int
3852
3853 * src/emacs-module.c (struct module_fun_env)
3854 (module_make_function, module_funcall, Fmodule_call):
3855 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
3856 Use ptrdiff_t, not int, for arg counts.
3857 * src/emacs-module.c (module_make_function): Don’t bother
3858 checking arity against MOST_POSITIVE_FIXNUM, as that’s
3859 unnecessary here. Make the checking clearer by negating it.
3860 (module_make_function, Fmodule_call): No need to use xzalloc
3861 since the storage doesn’t need to be cleared.
3862 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
3863 for it, and many implementations are buggy with large VLAs anyway.
3864 Use SAFE_ALLOCA_LISP instead.
3865 (module_vec_set): Don’t crash if i < 0.
3866 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
3867 (module_vec_set, module_vec_get): Do fixnum checks only when
3868 i is out of array bounds, for efficiency in the usual case.
3869 (Fmodule_load): Simplify fixnum range check.
3870 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
3871 integer overflow in array allocation size.
3872
38732015-11-20 Eli Zaretskii <eliz@gnu.org>
3874
3875 Minor improvements in module test
3876
3877 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
3878 about missing prototype of malloc.
3879 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
3880 compiler warnings.
3881
38822015-11-20 Eli Zaretskii <eliz@gnu.org>
3883
3884 Improve MS-Windows implementation in dynlib.c
3885
3886 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
3887 No need to include windows.h, as w32.h already does that.
3888 <dynlib_last_err>: New static variable.
3889 (dynlib_reset_last_error): New function.
3890 (dynlib_open): Convert forward slashes to backslashes. Convert
3891 file names from UTF-8 to either UTF-16 or the current ANSI
3892 codepage, and call either LoadLibraryW or LoadLibraryA. If the
3893 argument is NULL, return a handle to the main module, like
3894 'dlopen' does. Record the error, if any, for use by dynlib_error.
3895 (dynlib_sym): Check the handle for validity. Record the error, if
3896 any, for use by dynlib_error.
3897 (dynlib_error): Call w32_strerror to produce the error string, and
3898 zero out the last error code, like dlerror does.
3899 (dynlib_close): Check the handle for validity. Record the error,
3900 if any, for use by dynlib_error. Don't call FreeLibrary with a
3901 handle for the main module.
3902 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
3903
39042015-11-20 Paul Eggert <eggert@cs.ucla.edu>
3905
3906 Include-file tweaks for modules
3907
3908 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
3909 * src/dynlib.h: Do not include config.h.
3910 It’s every .c file’s responsibility to include config.h first.
3911 * src/emacs-module.c: Include emacs-module.h immediately after
3912 config.h, to test that emacs-module.h doesn’t depend on
3913 include files other than config.h.
3914
39152015-11-19 Paul Eggert <eggert@cs.ucla.edu>
3916
3917 Simplify push_handler and profile its malloc
3918
3919 * src/lisp.h (PUSH_HANDLER): Remove.
3920 All callers changed to use push_handler directly.
3921 * src/eval.c (internal_condition_case)
3922 (internal_condition_case_1, internal_condition_case_2)
3923 (internal_condition_case_n):
3924 Use same pattern as for other invokers of push_handler.
3925 (push_handler, push_handler_nosignal): Use call-by-value
3926 instead of call-by-reference. All uses changed.
3927 (push_handler): Simplify by rewriting in terms of
3928 push_handler_nosignal.
3929 (push_handler_nosignal): Profile any newly allocated memory.
3930
39312015-11-19 Paul Eggert <eggert@cs.ucla.edu>
3932
3933 * src/emacs-module.h: Include stddef.h, not stdlib.h.
3934
39352015-11-19 Juanma Barranquero <lekktu@gmail.com>
3936
3937 Discover repository version in linked worktrees (bug#21930)
3938
3939 * lisp/version.el (emacs-repository--version-git-1): Do not assume
3940 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
3941 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
3942 is nil too.
3943
39442015-11-19 Juri Linkov <juri@linkov.net>
3945
3946 * lisp/replace.el (occur-regexp-descr): New function.
3947 (occur-1, occur-engine): Use it.
3948
3949 * lisp/isearch.el (isearch-occur): Propertize regexp with
3950 isearch-string and isearch-regexp-function-descr for
3951 occur-regexp-descr to display the correct description
3952 message in the header (bug#21176, bug#21180).
3953
39542015-11-19 Karl Fogel <kfogel@red-bean.com>
3955
3956 Revert `open-line' electric-indent sensitivity
3957
3958 * lisp/simple.el (open-line): Remove electric indent code.
3959 (electric-indent-just-newline): Don't declare.
3960
3961 * test/automated/simple-test.el (open-line-indent): Adjust test.
3962
3963 This partly reverts Artur Malabarba's change that added electric
3964 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
3965 commit bd4f04f86), and adjusts a new test he added right afterwards
3966 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
3967 However, the new INTERACTIVE argument to `open-line', which he also
3968 added in the first commit, is not reverted here.
3969
3970 See the thread "Questioning the new behavior of `open-line'." on the
3971 Emacs Devel mailing list, and in particular this message:
3972
3973 From: Artur Malabarba
3974 Subject: Re: Questioning the new behavior of `open-line'.
3975 To: Karl Fogel
3976 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
3977 Date: Wed, 18 Nov 2015 21:03:58 +0000
3978 Message-ID: \
3979 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
3980
3981 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
3982
39832015-11-19 Paul Eggert <eggert@cs.ucla.edu>
3984
3985 Omit unnecessary clear in Fmodule_load
3986
3987 * src/emacs-module.c (Fmodule_load):
3988 Simplify and avoid unnecessary initialization of priv member to 0.
3989
3990 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
3991
39922015-11-19 Paul Eggert <eggert@cs.ucla.edu>
3993
3994 Prefer signed integer types in module code
3995
3996 Generally speaking, at the C level the Emacs source code prefers
3997 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
3998 partly to avoid the usual signedness confusion when comparing values.
3999 Change the module API to follow this convention.
4000 Use ‘int’ for small values that can’t exceed INT_MAX.
4001 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
4002 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
4003 (Fmod_test_vector_eq):
4004 * src/emacs-module.c (struct emacs_value_frame)
4005 (module_make_global_ref, module_free_global_ref)
4006 (module_copy_string_contents, module_make_string)
4007 (module_vec_set, module_vec_get, module_vec_size):
4008 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
4009 * src/lread.c (suffix_p):
4010 Prefer signed to unsigned integer types.
4011
40122015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4013
4014 Omit ‘const’ on locals
4015
4016 Remove ‘const’ qualifier from locals that were newly added.
4017 We don’t normally bother declaring locals with ‘const’ even
4018 though they are not modified, for the same reason we don’t
4019 bother declaring them with ‘register’ even though their
4020 addresses are not taken; the advantage in compile-time
4021 checking isn’t worth the loss of readability.
4022 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
4023 (Fmod_test_vector_fill, Fmod_test_vector_eq):
4024 * src/emacs-module.c (MODULE_SETJMP_1)
4025 (module_make_global_ref, module_free_global_ref)
4026 (module_non_local_exit_get, module_make_function)
4027 (module_extract_integer, module_extract_float)
4028 (module_get_user_ptr, module_set_user_ptr)
4029 (module_get_user_finalizer, module_set_user_finalizer)
4030 (module_vec_get, Fmodule_call)
4031 (module_non_local_exit_signal_1)
4032 (module_non_local_exit_throw_1, lisp_to_value)
4033 (finalize_storage, allocate_emacs_value, mark_modules)
4034 (module_handle_signal, module_handle_throw)
4035 (module_format_fun_env):
4036 * src/eval.c (push_handler, push_handler_nosignal)
4037 (init_handler):
4038 * src/lread.c (suffix_p):
4039 Omit unnecessary ‘const’.
4040
40412015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4042
4043 Prefer intmax_t to int64_t in module code
4044
4045 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
4046 * src/emacs-module.c (module_extract_integer)
4047 (module_make_integer):
4048 * src/emacs-module.h (struct emacs_env_25):
4049 Prefer intmax_t to int64_t. This doesn’t change the generated
4050 code on any of the machines Emacs currently ports to, but it’s
4051 at least in theory more future-proof as C99 doesn’t guarantee
4052 that int64_t exists.
4053
40542015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4055
4056 Rename module.c to emacs-module.c, etc.
4057
4058 * src/emacs-module.c: Rename from src/module.c.
4059 * src/emacs-module.h: Rename from src/module.h.
4060 All uses changed.
4061
40622015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4063
4064 Fix minor module problems found by static checking
4065
4066 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
4067 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
4068 * src/module.c (Fmodule_load): Fix pointer signedness bug.
4069 (Fmodule_call): Tell GCC that the default case is unreachable.
4070
40712015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4072
4073 Style fixes for indenting etc. in module code
4074
4075 This is mostly indenting and spacing changes. Also, remove
4076 some unnecessary static decls instead of bothering to reindent them.
4077 * src/module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
4078 as most other Emacs files do for this sort of thing.
4079
40802015-11-19 Eli Zaretskii <eliz@gnu.org>
4081
4082 Minor improvements in modules testing Makefile
4083
4084 * modules/mod-test/Makefile (EMACS, SO): New variables.
4085 (CFLAGS): When SO = dll, don't use -fPIC.
4086 (check): New target, runs the test.
4087
40882015-11-19 Eli Zaretskii <eliz@gnu.org>
4089
4090 * .gitignore: Add "*.dll".
4091
40922015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4093
4094 Migrate modules/.gitignore into .gitignore
4095
4096 * .gitignore: Add former contents of modules/.gitignore.
4097 * modules/.gitignore: Remove.
4098
40992015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4100
4101 Add copyright notices to module code
4102
4103 Put them in the usual format for GNU Emacs copyright notices.
4104
41052015-11-19 Paul Eggert <eggert@cs.ucla.edu>
4106
4107 Rename emacs_module.h to module.h
4108
4109 * src/module.h: Rename from src/emacs_module.h.
4110 All uses changed.
4111
41122015-11-19 Juanma Barranquero <lekktu@gmail.com>
4113
4114 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
4115
4116 * src/lread.c (Fload): Remove unused variable `size'
4117
41182015-11-19 Alan Mackenzie <acm@muc.de>
4119
4120 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
4121
41222015-11-18 Dmitry Gutov <dgutov@yandex.ru>
4123
4124 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
4125
4126 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
4127 vc-parent-buffer over log-view-mode fallback (bug#21955).
4128
41292015-11-18 Alan Mackenzie <acm@muc.de>
4130
4131 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
4132
41332015-11-18 Ken Brown <kbrown@cornell.edu>
4134
4135 * configure.ac (LIBMODULES): Don’t define on Cygwin
4136
41372015-11-18 Eli Zaretskii <eliz@gnu.org>
4138
4139 Fix MS-Windows build --with-modules
4140
4141 * src/module.c: Reformat copyright commentary.
4142 (module_vec_get): Use explicit cast to size_t to avoid compiler
4143 warning in 32-bit builds.
4144 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
4145 Compare thread IDs directly, as GetThreadId is not available
4146 before Windows Vista.
4147 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
4148 without using APIs and constants not available on XP and older
4149 systems. Obtain and store the thread ID as well.
4150
41512015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
4152 Philipp Stephani <phst@google.com>
4153
4154 Add dynamic module test and helper script
4155
4156 Add 'modhelp.py' script (python2) to automate module testing and
4157 module generation.
4158
4159 To build and test all modules in the modules/ dir
4160 $ ./modhelp.py test
4161
4162 To generate a module from template code (good starting point)
4163 $ ./modhelp init mynewtestmodule
4164
4165 See the script -h option for more documentation.
4166
4167 * modules/modhelp.py: New module helper script.
4168 * modules/mod-test/Makefile: New file. Makefile for the test module.
4169 * modules/mod-test/mod-test.c: New file. Test module source file.
4170 * modules/mod-test/test.el: New file. ert test suite for the test module.
4171 * modules/.gitignore: New file. Local .gitignore file.
4172
41732015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
4174
4175 Make 'Fload' look for modules
4176
4177 'Fload' can now load dynamic modules. This also makes 'require' work.
4178
4179 * src/lread.c:
4180 (suffix_p): New function.
4181 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
4182 with a module suffix.
4183 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
4184
41852015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
4186 Philipp Stephani <phst@google.com>
4187
4188 Add dynamic module module support
4189
4190 * configure.ac: Add '--with-modules' option. Conditionally add
4191 dynlib.o and module.o to the list of objects. Add any system
4192 specific flags to the linker flags to support dynamic libraries.
4193 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
4194 attributes.
4195 * src/Makefile.in: Conditionally add module objects and linker flags.
4196 * src/alloc.c (garbage_collect_1): protect module local values from
4197 GC.
4198 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
4199 * src/emacs_module.h: New header file included by modules. Public
4200 module API.
4201 * src/module.c: New module implementation file.
4202
42032015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
4204
4205 Add new User Pointer (User_Ptr) type
4206
4207 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
4208 (XUSER_PTR): New User_Ptr accessor.
4209 * src/alloc.c (make_user_ptr): New function.
4210 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
4211 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
4212 (Fuser-ptrp): New user pointer type predicate function.
4213 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
4214 subr.
4215 * src/print.c (print_object): Add printer for User_Ptr type.
4216
42172015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
4218 Philipp Stephani <phst@google.com>
4219
4220 Add portable layer for dynamic loading
4221
4222 * src/dynlib.h: New file.
4223 * src/dynlib.c: New file.
4224
42252015-11-18 Philipp Stephani <phst@google.com>
4226
4227 Add catch-all & no-signal version of PUSH_HANDLER
4228
4229 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
4230 a new "catch-all" handler type.
4231
4232 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
4233 functions.
4234 * src/fns.c (hash_remove_from_table): Expose function public.
4235 * src/lisp.h: New handler type, define macro to push_handler call.
4236
42372015-11-18 Ken Brown <kbrown@cornell.edu>
4238
4239 Silence byte-compiler warning
4240
4241 * lisp/server.el (server-process-filter): Silence byte-compiler
4242 warning.
4243
42442015-11-18 Paul Eggert <eggert@cs.ucla.edu>
4245
4246 Quote symbols in docstrings using `'
4247
4248 Be more systematic about quoting symbols `like-this' rather than
4249 `like-this or 'like-this' in docstrings. This follows up Artur
4250 Malabarba's email in:
4251 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
4252
42532015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
4254
4255 Fix savegames in dunnet
4256
4257 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
4258 of separate implementation.
4259
42602015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
4261
4262 * lisp/emacs-lisp/package.el (package--with-response-buffer):
4263
4264 Ensure we're at the start of the buffer before searching for
4265 the end of headers.
4266
42672015-11-17 Xue Fuqiao <xfq.free@gmail.com>
4268
4269 * admin/release-process: Improve wording.
4270
42712015-11-17 Xue Fuqiao <xfq.free@gmail.com>
4272
4273 Backport: * CONTRIBUTE: Remove information about feature freeze.
4274
4275 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
4276
42772015-11-17 Xue Fuqiao <xfq.free@gmail.com>
4278
4279 Backport: Document the release process
4280
4281 * admin/notes/versioning: Add information about RC releases.
4282 * admin/release-process: Document the release process.
4283 * admin/authors.el (authors-ignored-files):
4284 * admin/README: Change FOR-RELEASE to release-process.
4285 * CONTRIBUTE:
4286 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
4287
4288 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
4289
42902015-11-17 Xue Fuqiao <xfq.free@gmail.com>
4291
4292 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
4293
4294 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
4295
42962015-11-17 Xue Fuqiao <xfq.free@gmail.com>
4297
4298 Backport: Mention CONTRIBUTE in README
4299
4300 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
4301 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
4302 * README: Mention CONTRIBUTE.
4303
4304 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
4305
43062015-11-17 Paul Eggert <eggert@cs.ucla.edu>
4307
4308 Fix docstring quoting problems with ‘ '’
4309
4310 Problem reported by Artur Malabarba in:
4311 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
4312 Most of these fixes are to documentation; many involve fixing
4313 longstanding quoting glitches that are independent of the
4314 recent substitute-command-keys changes. The changes to code are:
4315 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
4316 (describe-mode-local-overload):
4317 Substitute docstrings before displaying them.
4318 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
4319 Quote the generated docstring for later substitution.
4320
43212015-11-17 Eli Zaretskii <eliz@gnu.org>
4322
4323 Improve configure --help text for wide ints
4324
4325 * configure.ac (wide-int): Clarify user-level advantages and
4326 disadvantages.
4327
43282015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
4329
4330 Improve doc string
4331
4332 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
4333
43342015-11-17 Paul Eggert <eggert@cs.ucla.edu>
4335
4336 eval_sub followed dangling pointer when debugging
4337
4338 Problem reported by Pip Cet (Bug#21245).
4339 This bug could occur in eval_sub if the C compiler reused
4340 storage associated with the ‘argvals’ local after ‘argvals’
4341 went out of scope, and if the Elisp debugger stopped on Elisp
4342 function exit and accessed ‘argvals’. It could also occur if
4343 a variadic function was called with so many arguments (over
4344 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
4345 SAFE_FREE freed the arguments, then the memory manager used
4346 the storage for other purposes, then the debugger accessed the
4347 arguments.
4348 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
4349 function body. Simplify local decls.
4350 When allocating args via SAFE_ALLOCA, call
4351 debugger before invoking SAFE_FREE, as the debugger needs
4352 access to the args.
4353 (eval_sub, apply_lambda): Rework to avoid need for
4354 set_backtrace_debug_on_exit hack. This is cleaner,
4355 and should work better with buggy custom debuggers.
4356
43572015-11-16 Daiki Ueno <ueno@gnu.org>
4358
4359 * lisp/image-mode.el: Support encrypted file
4360
4361 (image-toggle-display-image): Read content from the buffer instead
4362 of the file, if the buffer holds a decrypted data. (Bug#21870)
4363
43642015-11-16 Paul Eggert <eggert@cs.ucla.edu>
4365
4366 ELF unexec: align section header
4367
4368 This ports the recent unexelf.c changes to Fedora x86-64
4369 when configured with GCC’s -fsanitize=undefined option.
4370 * src/unexelf.c (unexec): Align new_data2_size to a multiple
4371 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
4372 pointer aligned appropriately for its type.
4373
43742015-11-16 Andreas Schwab <schwab@linux-m68k.org>
4375
4376 Do more checks on bytecode objects (Bug#21929)
4377
4378 * src/eval.c (funcall_lambda): Check size of compiled function
4379 object.
4380 (Ffetch_bytecode): Likewise.
4381
43822015-11-16 Johan Bockgård <bojohan@gnu.org>
4383
4384 pcase.el: Fix edebugging of backquoted cons patterns
4385
4386 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
4387 cons patterns. (Bug#21920)
4388
43892015-11-16 Paul Eggert <eggert@cs.ucla.edu>
4390
4391 Improve fix for regex reentrancy abort
4392
4393 Suggested by Stefan Monnier (Bug#21688).
4394 * src/syntax.c (update_syntax_table_forward):
4395 Remove recently-added PROPERTIZE arg, and assume it is true.
4396 All callers changed.
4397 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
4398 Invoke update_syntax_table directly.
4399
44002015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
4401
4402 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
4403
4404 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
4405
4406 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
4407
44082015-11-15 Vasily Korytov <vasily.korytov@yahoo.com>
4409
4410 Recognize .rbw and .pyw files (bug#18753)
4411
4412 * lisp/progmodes/python.el (auto-mode-alist):
4413 Recognize .pyw files.
4414
4415 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
4416 Recognize .rbw files.
4417
44182015-11-15 Dmitry Gutov <dgutov@yandex.ru>
4419
4420 Fix ruby-mode auto-mode-alist entry
4421
4422 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
4423 around the extensions (bug#21257).
4424
44252015-11-15 Dmitry Gutov <dgutov@yandex.ru>
4426
4427 Fix etags completion near eob
4428
4429 * lisp/progmodes/etags.el (tags-completion-at-point-function):
4430 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
4431
44322015-11-15 Alan Mackenzie <acm@muc.de>
4433
4434 De-pessimize detection of C++ member initialization lists.
4435
4436 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
4437 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
4438 is only called when a construct "looks right" rather than continually.
4439 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
4440
44412015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
4442
4443 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
4444
4445 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
4446 `url-insert-buffer-contents'.
4447 (url-insert-buffer-contents): New function
4448
4449 (package--with-response-buffer): Use `url-insert-buffer-contents'.
4450 The previous code had some issues with decoding. Refactoring that
4451 function allows us to use the decoding from url-handlers while still
4452 treating both sync and async requests the same.
4453
44542015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
4455
4456 Improve a few doc strings, comments
4457
4458 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
4459 * lisp/cedet/ede/locate.el (ede-locate-base):
4460 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
4461 * src/fns.c (Fdelq): Improve doc string.
4462
4463 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
4464
44652015-11-15 Anders Lindgren <andlind@gmail.com>
4466
4467 Enhance NSTRACE (trace output for NextStep).
4468
4469 Trace can be disabled for groups of functions. By default, event
4470 functions and functions that generate lots of output are disabled.
4471
4472 Trace output of Objective-C functions now use the "[ClassName
4473 parameter:]" form.
4474
4475 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
4476 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
4477 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
4478 controlling in which function groups trace should be active.
4479 (NSTRACE_WHEN): Support for silencing a function, this also
4480 silencing all called functions.
4481 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
4482 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
4483 print the full screen state in NSTRACE functions.
4484
4485 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
4486 can be accessed from multiple threads.
4487 (nstrace_enabled_global): New variable, when FALSE, trace is
4488 silenced.
4489 (nstrace_restore_global_trace_state): New function, used to
4490 restore `nstrace_enabled_global' at end of block.
4491 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
4492 ([EmacsWindow setFrame:display:animation:])
4493 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
4494 and call corresponding super function.
4495 (Many functions): Add or enhance trace output.
4496
4497 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
4498
4499 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
4500
4501 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
4502 and call corresponding super function.
4503
45042015-11-15 Anders Lindgren <andlind@gmail.com>
4505
4506 Fixed a toolbar related issue on OS X.
4507
4508 Earlier, when toggling the tool-bar in a maximized frame, the
4509 frame size didn't match the number of text lines, leaving an
4510 unused area at the bottom of the frame.
4511
4512 * nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
4513 fullscreen modes when tool bar is disabled.
4514
45152015-11-15 Anders Lindgren <andlind@gmail.com>
4516
4517 Fixed OS X 10.6.8 build issue (bug#21862).
4518
4519 * src/nsterm.h (EmacsView): Add missing declarations.
4520 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
4521 the standard method but without the notification parameter.
4522 Intended to be used for direct calls.
4523 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
4524 version of `windowDidBecomeKey'. Made the notification method call
4525 the non-notification method instead of the vice versa.
4526 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
4527 needed.
4528
45292015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
4530
4531 * lisp/faces.el (faces--attribute-at-point): Fix an issue
4532
4533 Previous code would signal an error when the face at point was
4534 a manually built list of attributes such as '(:foregroud "white").
4535
4536 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
4537
45382015-11-15 Paul Eggert <eggert@cs.ucla.edu>
4539
4540 Fix regex abort when it tries to reenter itself
4541
4542 Problem reported by Ken Raeburn.
4543 Solution suggested by Stefan Monnier (Bug#21688).
4544 * src/regex.c (re_match_2_internal):
4545 Use new _FAST functions to avoid regex code reentering itself.
4546 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
4547 All callers changed.
4548 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
4549 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
4550
45512015-11-15 Dmitry Gutov <dgutov@yandex.ru>
4552
4553 Improve Ruby 1.9-style keyword keys highlighting
4554
4555 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
4556 Handle required keyword arguments (bug#21367).
4557 And highlight the colon together with the name.
4558
45592015-11-15 Dmitry Gutov <dgutov@yandex.ru>
4560
4561 Unify the absolutely equal xref-backend-references implementations
4562
4563 * lisp/progmodes/elisp-mode.el (xref-backend-references):
4564 Remove.
4565
4566 * lisp/progmodes/etags.el (xref-backend-references):
4567 Remove.
4568
4569 * lisp/progmodes/xref.el (xref-backend-references):
4570 Define the default implementation.
4571
45722015-11-14 Dmitry Gutov <dgutov@yandex.ru>
4573
4574 Update project-find-regexp for the new xref API
4575
4576 * lisp/progmodes/project.el (project--read-regexp):
4577 Update to use the new xref API methods.
4578
4579 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
4580
45812015-11-14 Dmitry Gutov <dgutov@yandex.ru>
4582
4583 Fix replacing a match with a shorter string
4584
4585 In effect, partially reverting fe973fc.
4586
4587 * lisp/progmodes/xref.el (xref-query-replace): Store the end
4588 of each match as a marker again, instead of length.
4589 (xref--query-replace-1): Update accordingly.
4590
45912015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
4592
4593 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
4594
4595 Signal user-errors instead.
4596
45972015-11-14 Eli Zaretskii <eliz@gnu.org>
4598
4599 Document 'describe-symbol'
4600
4601 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
4602 (Name Help): Document "C-h o" and describe-symbol.
4603
4604 * lisp/help-fns.el (describe-symbol): Doc fix.
4605
46062015-11-14 Paul Eggert <eggert@cs.ucla.edu>
4607
4608 Change test name to avoid spellcheck issue.
4609
46102015-11-14 Eli Zaretskii <eliz@gnu.org>
4611
4612 Avoid signaling an error in 'describe-symbol'
4613
4614 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
4615 exists as a function/variable/face/etc., but is undocumented.
4616
4617 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
4618 test.
4619
46202015-11-14 Eli Zaretskii <eliz@gnu.org>
4621
4622 * INSTALL (--with-cairo): Document this new configure option.
4623
46242015-11-14 Eli Zaretskii <eliz@gnu.org>
4625
4626 Document that GNU Make >= 3.81 is required to build Emacs
4627
4628 * doc/lispref/internals.texi (Building Emacs): Document that GNU
4629 Make 3.81 or later is now required.
4630
46312015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
4632
4633 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
4634
4635 (package--with-work-buffer-async): Reimplement as
4636 `package--with-response-buffer'.
4637 (package--with-work-buffer): Mark obsolete.
4638 (package--with-response-buffer): New macro. This is a more self
4639 contained and less contrived version of
4640 `package--with-work-buffer-async'. It uses keyword arguments,
4641 doesn't have async on the name, doesn't fallback on
4642 `package--with-work-buffer', and has _much_ simpler error
4643 handling. On master, this macro will soon be part of another
4644 library (either standalone or inside url.el), which is why this
4645 commit is not to be merged back.
4646
4647 (package--check-signature, package--download-one-archive)
4648 (package-install-from-archive, describe-package-1): Use it.
4649
4650 (package--download-and-read-archives): Let
4651 `package--download-one-archive' take care of calling
4652 `package--update-downloads-in-progress'.
4653
46542015-11-14 Eli Zaretskii <eliz@gnu.org>
4655
4656 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
4657
46582015-11-14 Dmitry Gutov <dgutov@yandex.ru>
4659
4660 Merge branch 'master' into emacs-25
4661
46622015-11-13 John Wiegley <johnw@newartisans.com>
4663
4664 Merge remote-tracking branch 'origin/master' into emacs-25
4665
46662015-11-13 l3thal <kwhite@gnu.org>
4667
4668 Merge branch 'erc-async-reconnect' into emacs-25
4669
4670 Reconnect asynchronously.
4671
46722015-11-13 Eli Zaretskii <eliz@gnu.org>
4673
4674 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
4675
46762015-11-13 Paul Eggert <eggert@cs.ucla.edu>
4677
4678 Port recent XCB changes to 64-bit ‘long int’
4679
4680 For historical reasons, libX11 represents 32-bit values like Atoms as
4681 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
4682 do that, so adapt the recent XCB code to behave properly on 64-bit
4683 platforms. Also, fix what appears to be a bug in the interpretation
4684 of xcb_get_property_value_length, at least on my Fedora platform
4685 which is running libxcb-1.11-5.fc21.
4686 * src/xfns.c (x_real_pos_and_offsets):
4687 * src/xterm.c (get_current_wm_state):
4688 xcb_get_property_value_length returns a byte count, not a word count.
4689 For 32-bit quantities, xcb_get_property_value returns a vector
4690 of 32-bit words, not of (possibly 64-bit) long int.
4691
4692 Backport.
4693
46942015-11-13 Paul Eggert <eggert@cs.ucla.edu>
4695
4696 * src/undo.c (run_undoable_change): Now static.
4697
4698 Backport.
4699
47002015-11-13 Eli Zaretskii <eliz@gnu.org>
4701
4702 Remove support for ':timeout' from w32 tray notifications
4703
4704 * src/w32fns.c (Fw32_notification_notify): Delete the code that
4705 supports ':timeout'.
4706 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
4707 with dbusbind.c when D-Bus is compiled in.
4708
4709 * doc/lispref/os.texi (Desktop Notifications): Don't mention
4710 ':timeout'.
4711
4712 Backport.
4713
47142015-11-13 Juanma Barranquero <lekktu@gmail.com>
4715
4716 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
4717
4718 (simple-test--transpositions): New macro.
4719 (simple-transpose-subr): New test.
4720
4721 Backport.
4722
47232015-11-13 Juanma Barranquero <lekktu@gmail.com>
4724
4725 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
4726
4727 Backport.
4728
47292015-11-13 Juanma Barranquero <lekktu@gmail.com>
4730
4731 * src/undo.c: Small fixes for previous change
4732
4733 (run_undoable_change): Mark void argument list.
4734 (record_property_change): Remove unused variable `boundary'.
4735
4736 Backport.
4737
47382015-11-13 Eli Zaretskii <eliz@gnu.org>
4739
4740 Add a few more variables to redisplay--variables
4741
4742 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
4743 and bidi-display-reordering to the list.
4744
4745 Backport.
4746
47472015-11-13 Eli Zaretskii <eliz@gnu.org>
4748
4749 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
4750
4751 Backport.
4752
47532015-11-13 Eli Barzilay <eli@barzilay.org>
4754
4755 Fix point positioning after transposing with negative arg
4756
4757 * lisp/simple.el (transpose-subr): When invoked with a negative
4758 argument, move point to after the transposed text, like we do
4759 when invoked with a positive argument. (Bug#21885)
4760
4761 Backport.
4762
47632015-11-13 Eli Zaretskii <eliz@gnu.org>
4764
4765 Fix last change in shr.el
4766
4767 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
4768 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
4769
4770 Backport.
4771
47722015-11-13 Eli Zaretskii <eliz@gnu.org>
4773
4774 Fix last change
4775
4776 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
4777 Don't DEFSYM tray notification symbols if D-Bus is being used.
4778
4779 Backport.
4780
47812015-11-13 Eli Zaretskii <eliz@gnu.org>
4782
4783 Another fix for MinGW64 and Cygwin builds due to notifications
4784
4785 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
4786 being compiled into Emacs.
4787 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
4788 Sw32_notification_notify and Sw32_notification_close if the code
4789 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4790
4791 Backport.
4792
47932015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4794
4795 Remove intern calls and XXX comments from Fx_export_frames
4796
4797 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
4798 Qsvg instead of intern calls. Use "postscript" instead of "ps"
4799 for consistency with image types. Remove XXX comments.
4800 (syms_of_xfns) <Qpdf>: DEFSYM it.
4801
4802 Backport.
4803
48042015-11-13 Michael Albinus <michael.albinus@gmx.de>
4805
4806 Adapt Tramp version, do not merge with master
4807
4808 * doc/misc/trampver.texi (trampver):
4809 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
4810
48112015-11-11 Alan Mackenzie <acm@muc.de>
4812
4813 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
4814
4815 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
4816 Windows" and new @defun selected-window-group.
4817 (Window Start and End): Describe new &optional parameter GROUP and
4818 ...-group-function for window-start, window-end, set-window-start, and
4819 pos-visible-in-window-p.
4820 (Textual Scrolling) Describe the same for recenter.
4821 doc/lispref/positions.texi (Screen Lines): Describe the same for
4822 move-to-window-line.
4823
4824 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
4825 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
4826 new optional parameter "group". At the beginning of each, check whether the
4827 corresponding ...-group-function is set to a function, and if so execute this
4828 function in place of the normal processing.
4829 (syms_of_window): Define symbols for the six new variables below.
4830 (window-start-group-function, window-end-group-function)
4831 (set-window-start-group-function, recenter-group-function)
4832 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
4833 New permanent local buffer local variables.
4834 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
4835 Fpos_visible_in_window_p.
4836
4837 lisp/window.el (selected-window-group-function): New permanent local buffer
4838 local variable.
4839 (selected-window-group): New function.
4840
4841 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
4842 enable, kill them at mode disable. Add/remove follow-after-change to/from
4843 after-change-functions.
4844 (follow-start-end-invalid): New variable.
4845 (follow-redisplay): Manipulate follow-start-end-invalid.
4846 (follow-after-change, follow-window-start, follow-window-end)
4847 (follow-set-window-start, follow-pos-visible-in-window-p)
4848 (follow-move-to-window-line, follow-sit-for): New functions.
4849
4850 lisp/isearch.el (isearch-call-message): New macro.
4851 (isearch-update, with-isearch-suspended, isearch-del-char)
4852 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
4853 (with-isearch-suspended): Rearrange code such that isearch-call-message is
4854 invoked before point is moved.
4855 (isearch-message): Add comment about where point must be at function call.
4856 (isearch-search): Remove call to isearch-message.
4857 (isearch-lazy-highlight-window-group): New variable.
4858 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
4859 the battery of tests to ...
4860 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
4861 Note: (sit-for 0) is still called.
4862 (isearch-lazy-highlight-update): Check membership of
4863 isearch-lazy-highlight-window-group. Don't set the `window' overlay
4864 property.
4865 (isearch-update, isearch-done, isearch-string-out-of-window)
4866 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
4867 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
4868 (isearch-lazy-highlight-update): Call the six amended primitives (see
4869 src/window.c above) with the new `group' argument set to t, to cooperate
4870 with Follow Mode.
4871
12015-12-27 Lars Ingebrigtsen <larsi@gnus.org> 48722015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2 4873
3 * shr.el (shr-descend): Allow using lambdas in external functions. 4874 * shr.el (shr-descend): Allow using lambdas in external functions.
@@ -20350,7 +25221,7 @@
20350 25221
20351This file records repository revisions from 25222This file records repository revisions from
20352commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 25223commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
20353commit 531b28b4d96adf39d853fcb5e0bba7251fcce4b6 (inclusive). 25224commit fb6d826c69939c2d016c1b824d4e9bcb53d9e643 (inclusive).
20354See ChangeLog.1 for earlier changes. 25225See ChangeLog.1 for earlier changes.
20355 25226
20356;; Local Variables: 25227;; Local Variables: