]> code.delx.au - gnu-emacs/blob - ChangeLog.2
; make change-history-commit
[gnu-emacs] / ChangeLog.2
1 2015-09-15 Eli Zaretskii <eliz@gnu.org>
2
3 Add missing *.pbm images
4 * etc/images/connect.pbm: New file.
5 * etc/images/custom/down-pushed.pbm: New file.
6 * etc/images/custom/down.pbm: New file.
7 * etc/images/custom/right-pushed.pbm: New file.
8 * etc/images/custom/right.pbm: New file.
9 * etc/images/describe.pbm: New file.
10 * etc/images/disconnect.pbm: New file.
11 * etc/images/ezimage/bits.pbm: New file.
12 * etc/images/ezimage/bitsbang.pbm: New file.
13 * etc/images/ezimage/box-minus.pbm: New file.
14 * etc/images/ezimage/box-plus.pbm: New file.
15 * etc/images/ezimage/box.pbm: New file.
16 * etc/images/ezimage/checkmark.pbm: New file.
17 * etc/images/ezimage/dir-minus.pbm: New file.
18 * etc/images/ezimage/dir-plus.pbm: New file.
19 * etc/images/ezimage/dir.pbm: New file.
20 * etc/images/ezimage/doc-minus.pbm: New file.
21 * etc/images/ezimage/doc-plus.pbm: New file.
22 * etc/images/ezimage/doc.pbm: New file.
23 * etc/images/ezimage/info.pbm: New file.
24 * etc/images/ezimage/key.pbm: New file.
25 * etc/images/ezimage/label.pbm: New file.
26 * etc/images/ezimage/lock.pbm: New file.
27 * etc/images/ezimage/mail.pbm: New file.
28 * etc/images/ezimage/page-minus.pbm: New file.
29 * etc/images/ezimage/page-plus.pbm: New file.
30 * etc/images/ezimage/page.pbm: New file.
31 * etc/images/ezimage/tag-gt.pbm: New file.
32 * etc/images/ezimage/tag-minus.pbm: New file.
33 * etc/images/ezimage/tag-plus.pbm: New file.
34 * etc/images/ezimage/tag-type.pbm: New file.
35 * etc/images/ezimage/tag-v.pbm: New file.
36 * etc/images/ezimage/tag.pbm: New file.
37 * etc/images/ezimage/unlock.pbm: New file.
38 * etc/images/gnus/important.pbm: New file.
39 * etc/images/gnus/mail-send.pbm: New file.
40 * etc/images/gnus/receipt.pbm: New file.
41 * etc/images/gnus/toggle-subscription.pbm: New file.
42 * etc/images/gnus/unimportant.pbm: New file.
43 * etc/images/gud/all.pbm: New file.
44 * etc/images/gud/rcont.pbm: New file.
45 * etc/images/gud/recstart.pbm: New file.
46 * etc/images/gud/recstop.pbm: New file.
47 * etc/images/gud/rfinish.pbm: New file.
48 * etc/images/gud/rnext.pbm: New file.
49 * etc/images/gud/rnexti.pbm: New file.
50 * etc/images/gud/rstep.pbm: New file.
51 * etc/images/gud/rstepi.pbm: New file.
52 * etc/images/gud/thread.pbm: New file.
53 * etc/images/lock-broken.pbm: New file.
54 * etc/images/lock-ok.pbm: New file.
55 * etc/images/lock.pbm: New file.
56 * etc/images/mail/copy.pbm: New file.
57 * etc/images/mail/forward.pbm: New file.
58 * etc/images/mail/not-spam.pbm: New file.
59 * etc/images/mail/outbox.pbm: New file.
60 * etc/images/mail/preview.pbm: New file.
61 * etc/images/mail/save-draft.pbm: New file.
62 * etc/images/mh-logo.pbm: New file.
63 * etc/images/mpc/add.pbm: New file.
64 * etc/images/mpc/ffwd.pbm: New file.
65 * etc/images/mpc/next.pbm: New file.
66 * etc/images/mpc/pause.pbm: New file.
67 * etc/images/mpc/play.pbm: New file.
68 * etc/images/mpc/prev.pbm: New file.
69 * etc/images/mpc/rewind.pbm: New file.
70 * etc/images/mpc/stop.pbm: New file.
71 * etc/images/redo.pbm: New file.
72 * etc/images/smilies/braindamaged.pbm: New file.
73 * etc/images/smilies/cry.pbm: New file.
74 * etc/images/smilies/dead.pbm: New file.
75 * etc/images/smilies/evil.pbm: New file.
76 * etc/images/smilies/forced.pbm: New file.
77 * etc/images/smilies/grin.pbm: New file.
78 * etc/images/smilies/indifferent.pbm: New file.
79 * etc/images/sort-ascending.pbm: New file.
80 * etc/images/sort-column-ascending.pbm: New file.
81 * etc/images/sort-criteria.pbm: New file.
82 * etc/images/sort-descending.pbm: New file.
83 * etc/images/sort-row-ascending.pbm: New file.
84 * etc/images/unchecked.pbm: New file.
85 * etc/images/zoom-in.pbm: New file.
86 *: New file.
87 : New file.
88 : New file.
89 * Please enter the commit message for your changes. Lines starting: New file.
90 * with '#' will be ignored, and an empty message aborts the commit.: New file.
91 * On branch master: New file.
92 * Your branch is up-to-date with 'origin/master'.: New file.
93 *: New file.
94 * Changes to be committed:: New file.
95 * modified: etc/images/README: New file.
96 * etc/images/connect.pbm: New file.
97 * etc/images/custom/down-pushed.pbm: New file.
98 * etc/images/custom/down.pbm: New file.
99 * etc/images/custom/right-pushed.pbm: New file.
100 * etc/images/custom/right.pbm: New file.
101 * etc/images/describe.pbm: New file.
102 * etc/images/disconnect.pbm: New file.
103 * etc/images/ezimage/bits.pbm: New file.
104 * etc/images/ezimage/bitsbang.pbm: New file.
105 * etc/images/ezimage/box-minus.pbm: New file.
106 * etc/images/ezimage/box-plus.pbm: New file.
107 * etc/images/ezimage/box.pbm: New file.
108 * etc/images/ezimage/checkmark.pbm: New file.
109 * etc/images/ezimage/dir-minus.pbm: New file.
110 * etc/images/ezimage/dir-plus.pbm: New file.
111 * etc/images/ezimage/dir.pbm: New file.
112 * etc/images/ezimage/doc-minus.pbm: New file.
113 * etc/images/ezimage/doc-plus.pbm: New file.
114 * etc/images/ezimage/doc.pbm: New file.
115 * etc/images/ezimage/info.pbm: New file.
116 * etc/images/ezimage/key.pbm: New file.
117 * etc/images/ezimage/label.pbm: New file.
118 * etc/images/ezimage/lock.pbm: New file.
119 * etc/images/ezimage/mail.pbm: New file.
120 * etc/images/ezimage/page-minus.pbm: New file.
121 * etc/images/ezimage/page-plus.pbm: New file.
122 * etc/images/ezimage/page.pbm: New file.
123 * etc/images/ezimage/tag-gt.pbm: New file.
124 * etc/images/ezimage/tag-minus.pbm: New file.
125 * etc/images/ezimage/tag-plus.pbm: New file.
126 * etc/images/ezimage/tag-type.pbm: New file.
127 * etc/images/ezimage/tag-v.pbm: New file.
128 * etc/images/ezimage/tag.pbm: New file.
129 * etc/images/ezimage/unlock.pbm: New file.
130 * etc/images/gnus/important.pbm: New file.
131 * etc/images/gnus/mail-send.pbm: New file.
132 * etc/images/gnus/receipt.pbm: New file.
133 * etc/images/gnus/toggle-subscription.pbm: New file.
134 * etc/images/gnus/unimportant.pbm: New file.
135 * etc/images/gud/all.pbm: New file.
136 * etc/images/gud/rcont.pbm: New file.
137 * etc/images/gud/recstart.pbm: New file.
138 * etc/images/gud/recstop.pbm: New file.
139 * etc/images/gud/rfinish.pbm: New file.
140 * etc/images/gud/rnext.pbm: New file.
141 * etc/images/gud/rnexti.pbm: New file.
142 * etc/images/gud/rstep.pbm: New file.
143 * etc/images/gud/rstepi.pbm: New file.
144 * etc/images/gud/thread.pbm: New file.
145 * etc/images/lock-broken.pbm: New file.
146 * etc/images/lock-ok.pbm: New file.
147 * etc/images/lock.pbm: New file.
148 * etc/images/mail/copy.pbm: New file.
149 * etc/images/mail/forward.pbm: New file.
150 * etc/images/mail/not-spam.pbm: New file.
151 * etc/images/mail/outbox.pbm: New file.
152 * etc/images/mail/preview.pbm: New file.
153 * etc/images/mail/save-draft.pbm: New file.
154 * etc/images/mh-logo.pbm: New file.
155 * etc/images/mpc/add.pbm: New file.
156 * etc/images/mpc/ffwd.pbm: New file.
157 * etc/images/mpc/next.pbm: New file.
158 * etc/images/mpc/pause.pbm: New file.
159 * etc/images/mpc/play.pbm: New file.
160 * etc/images/mpc/prev.pbm: New file.
161 * etc/images/mpc/rewind.pbm: New file.
162 * etc/images/mpc/stop.pbm: New file.
163 * etc/images/redo.pbm: New file.
164 * etc/images/smilies/braindamaged.pbm: New file.
165 * etc/images/smilies/cry.pbm: New file.
166 * etc/images/smilies/dead.pbm: New file.
167 * etc/images/smilies/evil.pbm: New file.
168 * etc/images/smilies/forced.pbm: New file.
169 * etc/images/smilies/grin.pbm: New file.
170 * etc/images/smilies/indifferent.pbm: New file.
171 * etc/images/sort-ascending.pbm: New file.
172 * etc/images/sort-column-ascending.pbm: New file.
173 * etc/images/sort-criteria.pbm: New file.
174 * etc/images/sort-descending.pbm: New file.
175 * etc/images/sort-row-ascending.pbm: New file.
176 * etc/images/unchecked.pbm: New file.
177 * etc/images/zoom-in.pbm: New file.
178 * etc/images/README: Update instructions for PBM files.
179
180 Add separator.pbm tool-bar image
181 * etc/images/separator.pbm: New file. Having it avoids the side
182 effect of changing the tool-bar height when the default font's size
183 changes and XPM image support is not available, due to the SPC
184 characters that are left in the Lisp string used to display the tool
185 bar, because there are no images to display instead of those SPC
186 characters.
187
188 Make show-paren-match face visible on mono-color displays
189 * lisp/faces.el (show-paren-match): Use the underline face for
190 mono-color displays. (Bug#21481)
191
192 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
193
194 Don’t double-encode non-ASCII mail clipboard
195 * lisp/mail/mailclient.el (mailclient-send-it):
196 Also fix the case when mailclient-place-body-on-clipboard-flag
197 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
198
199 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
200
201 Adaot file-notify-tests.el test cases
202 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
203 * src/inotify.c (Finotify_valid_p): Adapt docstring.
204 * test/automated/file-notify-tests.el ()
205 (file-notify-test03-autorevert)
206 (file-notify-test04-file-validity)
207 (file-notify-test04-file-validity-remote)
208 (file-notify-test05-dir-validity)
209 (file-notify-test05-dir-validity-remote): Adapt docstring.
210 (file-notify-test04-file-validity): Let events arrive before
211 calling final `file-notify-valid-p'. Do not ignore errors.
212 (file-notify-test05-dir-validity): Do not manipulate
213 `temporary-file-directory', it isn't necessary. Let events arrive
214 before calling final `file-notify-valid-p'. Do not ignore errors.
215
216 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
217
218 Don’t double-encode non-ASCII for mail client
219 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
220 Use RFC 6068’s list of unreserved characters.
221 (mailclient-send-it): When encoding the body as a URL,
222 first decode it as per Content-Type: and Content-Transfer-Encoding:,
223 as URLs must use percent-encoded UTF-8 (Bug#21471).
224 * doc/misc/url.texi (mailto): Update RFC number.
225
226 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist
229
230 2015-09-14 Alan Mackenzie <acm@muc.de>
231
232 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs.
233 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
234 `cadr/car'.
235
236 2015-09-14 Eli Zaretskii <eliz@gnu.org>
237
238 Clarify documentation of char-table extra slots
239 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
240 slot numbers are zero-based. (Bug#21467)
241
242 2015-09-14 Alan Mackenzie <acm@muc.de>
243
244 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
245 Fixes debbugs#21449.
246 lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
247 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
248 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
249 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
250 Insert "\\|\\\\." into regexps which match symbols.
251
252 2015-09-14 Eli Zaretskii <eliz@gnu.org>
253
254 Improve the doc string of w32notify-valid-p
255 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
256 that removing a watch makes its object invalid.
257
258 2015-09-14 Tassilo Horn <tsdh@gnu.org>
259
260 Fix tests for file-notify-valid-p.
261
262 2015-09-14 Eli Zaretskii <eliz@gnu.org>
263
264 Report file-notify-error in w32notify.c
265 * src/w32notify.c (report_w32notify_error): New function.
266 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
267 errors, instead of calling report_file_error. (Bug#21432)
268
269 Implement w32notify-valid-p
270 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
271 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
272 'identity'.
273
274 2015-09-14 Tassilo Horn <tsdh@gnu.org>
275
276 Test file-notify-valid-p.
277 * test/automated/file-notify-tests.el
278 (file-notify-test04-file-validity, file-notify-test05-dir-validity): New
279 tests.
280
281 2015-09-13 Eli Zaretskii <eliz@gnu.org>
282
283 Fix markup in ELisp manual
284 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
285 of the 'alpha' parameter value. (Bug#21470)
286
287 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
288
289 Introduce `file-notify-valid-p'
290 * lisp/filenotify.el (file-notify-valid-p): New defun.
291 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
292 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
293 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
294 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
295 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
296 <file-notify-valid-p>: Add handler.
297 * lisp/net/tramp.el (tramp-file-name-for-operation):
298 Add `file-notify-valid-p'.
299 (tramp-handle-file-notify-valid-p): New defun.
300 * src/inotify.c (Finotify_valid_p): New defun.
301 (syms_of_inotify): Declare Sinotify_valid_p.
302
303 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
304
305 Port Unicode char detection to FreeBSD+svgalib
306 Problem reported by Ashish SHUKLA in:
307 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
308 * configure.ac: Check for struct unipair.unicode instead of for
309 <linux/kd.h>, since that’s more specific to what the code actually needs.
310 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
311
312 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
313
314 2015-09-13 Eli Zaretskii <eliz@gnu.org>
315
316 Fix vertical cursor motion across overlay strings with newlines
317 * src/indent.c (Fvertical_motion): Don't leave point in the middle
318 of an overlay string with newlines, as that will position the
319 cursor after the string at whatever column is there. (Bug#21468)
320
321 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
322
323 Fix tests in file-notify-tests.el
324 * test/automated/file-notify-tests.el: Remove Tramp declarations.
325 (file-notify-test00-availability): Print remote command w/o Tramp
326 internal functions.
327 (file-notify-test02-events, file-notify-test02-events-remote):
328 Adapt docstring.
329 (file-notify-test03-autorevert): Use `format-message' when
330 inspecting *Messages* buffer.
331
332 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 Bind inhibit-modification-hooks rather than a/b-c-f
335 * lisp/wid-edit.el (widget-editable-list-insert-before)
336 (widget-editable-list-delete-at):
337 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
338 (cperl-font-lock-unfontify-region-function):
339 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
340 * lisp/obsolete/longlines.el (longlines-mode):
341 * lisp/obsolete/fast-lock.el (save-buffer-state):
342 * lisp/mouse.el (mouse-save-then-kill-delete-region):
343 * lisp/gnus/message.el (message-hide-headers):
344 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
345 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
346 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
347 than after/before-change-functions to nil.
348
349 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
352 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
353 the buffers, even if the forced redisplay is interrupted.
354
355 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
356
357 Merge syntax-propertize--done and parse-sexp-propertize-done
358 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
359 (syntax-propertize): Set syntax-propertize--done even if
360 syntax-propertize-function is nil. Avoid recursive invocations.
361 (syntax-propertize-chunks): New var.
362 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
363 Simplify.
364 (parse-sexp-propertize-function): Don't set any more.
365 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
366 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
367 Call Qinternal__syntax_propertize instead of
368 Vparse_sexp_propertize_function. Truncate e_property if needed.
369 (update_syntax_table_forward): Streamline.
370 (syms_of_syntax): Define Qinternal__syntax_propertize.
371 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
372
373 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
374
375 Prefer straight quoting in some text files
376 Mostly this just changes ` to ' in static text. Some exceptions:
377 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
378 typically does that now.
379 * admin/quick-install-emacs (TRY, top level):
380 Use straight quoting in diagnostics.
381 * src/README: Fix working-directory confusion.
382
383 * CONTRIBUTE: Move send-email here from git-workflow.
384
385 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
386
387 Improve file notifications in Tramp
388 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
389 Set proper events to watch for.
390 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
391 watched events.
392
393 2015-09-11 Eli Zaretskii <eliz@gnu.org>
394
395 Fix NS build with --enable-checking='glyphs'
396 * src/nsfns.m (unwind_create_frame): Make the preprocessor
397 conditionals for referencing 'dpyinfo' consistent throughout the
398 function. (Bug#21426)
399
400 2015-09-10 Nicolas Petton <nicolas@petton.fr>
401
402 Add seq-find
403 This function is similar to `seq-some' but returns the found element.
404 In the cases where nil can be the found element, a sentinel optional
405 argument can be provided to avoid ambiguities.
406 * lisp/emacs-lisp/seq.el (seq-find): New function.
407 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
408 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
409 seq-find.
410
411 2015-09-10 Tassilo Horn <tsdh@gnu.org>
412
413 Document file-notify--test-with-events.
414 * test/automated/file-notify-tests.el (file-notify--test-with-events):
415 Add docstring.
416
417 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
418
419 Report used native library in file-notify-tests.el
420 * test/automated/file-notify-tests.el
421 (tramp-get-remote-gvfs-monitor-dir)
422 (tramp-get-remote-inotifywait): Declare them.
423 (file-notify-test00-availability): Print used native library.
424
425 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
426
427 lisp/mpc.el (mpc--proc-connect): use file-name-absolute-p
428
429 lisp/mpc.el (mpc-file-local-copy): check for absolute path
430
431 lisp/mpc.el (mpc-file-local-copy): check more config locations
432
433 2015-09-10 Eli Zaretskii <eliz@gnu.org>
434
435 Improve documentation of categories
436 * doc/lispref/syntax.texi (Categories): Clarify the example of
437 using define-category and modify-category-entry. (Bug#21448)
438
439 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
440
441 Revert some stray curved quotes I missed earlier
442 Problem reported by David Kastrup in:
443 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
444 * lisp/international/mule-cmds.el (leim-list-header):
445 Use format-message with an ASCII-only format.
446
447 Prefer NUMBERP to spelling it out
448 * src/editfns.c (styled_format):
449 * src/frame.h (NUMVAL):
450 * src/image.c (parse_image_spec):
451 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
452 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
453 * src/process.c (Fsignal_process):
454 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
455 * src/xfaces.c (check_lface_attrs):
456 * src/xselect.c (x_fill_property_data, x_send_client_event):
457 Use NUMBERP rather than INTEGERP || FLOATP.
458
459 2015-09-10 Tassilo Horn <tsdh@gnu.org>
460
461 Improve file-notify-tests
462 * test/automated/file-notify-tests.el: Use lexical-binding
463 (file-notify--test-cleanup): New function.
464 (file-notify-test00-availability, file-notify-test01-add-watch)
465 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
466 (file-notify--test-with-events): New macro.
467 (file-notify-test02-events): Use it.
468
469 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
470
471 Add patch-sending instructions to git-workflow
472 From a suggestion by Mitchel Humpherys in:
473 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
474 * admin/notes/git-workflow (Sending patches): New section.
475
476 Port to GIFLIB 5.0.6 and later
477 Problem reported by Mitchel Humpherys in:
478 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
479 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
480 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
481 (gif_load) [HAVE_GIF]: Use it.
482
483 2015-09-10 Glenn Morris <rgm@gnu.org>
484
485 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
486
487 2015-09-09 Glenn Morris <rgm@gnu.org>
488
489 * test/automated/file-notify-tests.el (file-notify-test02-events):
490 Fix recent change.
491
492 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
493
494 Refix movemail GCC pacification
495 Problem reported by Ken Brown in:
496 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
497 * lib-src/movemail.c (main): Fix previous change.
498
499 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 (time-to-seconds, time-less-p): Mark unused vars with underscore
502 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
503 Mark unused vars with underscore.
504
505 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
506 (parse_sexp_propertize): ...from here.
507
508 * lisp/filenotify.el: Use lexical-binding
509 (file-notify-add-watch): Avoid add-to-list.
510
511 2015-09-09 Tassilo Horn <tsdh@gnu.org>
512
513 Start checking event types in file-notify tests
514 * test/automated/file-notify-tests.el (file-notify--test-events): New
515 variable.
516 (file-notify--test-event-handler): Append received event to
517 file-notify--test-events for later analysis.
518 (file-notify-test02-events): Assert that the expected notifications have
519 arrived in the expected order.
520
521 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
522
523 Merge from gnulib and texinfo
524 This incorporates:
525 2015-08-03 Improve port of stdalign to C++11
526 * lib/stdalign.in.h: Copy from gnulib.
527 * doc/misc/texinfo.tex: Copy from texinfo.
528
529 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 Make syntax.c call syntax-propertize on demand
532 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
533 (parse-sexp-propertize-function): Use it.
534 (syntax-propertize): Disable parse-sexp-propertize-function.
535 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
536 New functions.
537 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
538 `parse-sexp-propertize-function'.
539 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
540 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
541 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
542 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
543 Don't assume `point' is set.
544
545 2015-09-09 Eli Zaretskii <eliz@gnu.org>
546
547 Fix indentation of an @example in ELisp manual
548 * doc/lispref/syntax.texi (Categories): Untabify the example.
549 (Bug#21448)
550
551 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
552
553 Define internal-char-font even if --without-x
554 The function is used now even in non-graphical environments.
555 Problem reported by Glenn Morris in:
556 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
557 * src/font.c (Finternal_char_font): Move here ...
558 * src/fontset.c (Finternal_char_font): ... from here.
559
560 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove warning
563
564 2015-09-09 Eli Zaretskii <eliz@gnu.org>
565
566 Fix display of complex local data types in GDB-MI
567 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
568 variable has no value, display "<complex data type>" as a
569 placeholder, instead of a confusing "nil". (Bug#21438)
570
571 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
572
573 Remove redundant redefinition of seq-drop-while from seq.el
574 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
575
576 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
577
578 * lisp/emacs-lisp/package.el (package--ensure-init-file)
579 More robust check for `package-initialize' calls in init file.
580 This function accepts an optional argument, but calls passing
581 an argument would not have been detected.
582
583 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
584
585 Port movemail to RHEL 6 with --enable-gcc-warnings
586 * lib-src/movemail.c (main): Declare local only if needed.
587
588 Port recent Linux console changes to RHEL 6
589 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
590
591 Improvements for curved quotes on Linux consule
592 This should help Emacs work better out-of-the-box on Linux consoles,
593 which have only limited support for displaying Unicode characters.
594 Also, undo the recent change that caused text-quoting-style to
595 affect quote display on terminals, so that the two features are
596 independent. See Alan Mackenzie in:
597 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
598 Finally, add a style parameter to startup--setup-quote-display,
599 so that this function can also be invoked after startup, with
600 different styles depending on user preference at the time.
601 * configure.ac: Check for linux/kd.h header.
602 * doc/emacs/display.texi (Text Display): Document quote display.
603 * doc/lispref/display.texi (Active Display Table):
604 * etc/NEWS:
605 * lisp/startup.el (startup--setup-quote-display, command-line):
606 text-quoting-style no longer affects quote display.
607 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
608 * lisp/international/mule-util.el (char-displayable-p):
609 * lisp/startup.el (startup--setup-quote-display):
610 On a text terminal supporting glyph codes, use the reported
611 glyph codes instead of the terminal coding system, as this
612 is more accurate on the Linux console.
613 * lisp/startup.el (startup--setup-quote-display):
614 New optional arg STYLE.
615 * src/fontset.c (Finternal_char_font):
616 Report glyph codes for a text terminal, if they are available.
617 Currently this is supported only for the Linux console.
618 * src/termhooks.h (struct terminal): New member glyph-code-table.
619 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
620 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
621 (terminal_glyph_code): New function.
622
623 2015-09-08 Juri Linkov <juri@linkov.net>
624
625 * lisp/info.el (Info-fontify-node): Don't stop at the non-title underline.
626 (Bug#21433)
627
628 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec
631
632 2015-09-08 Tassilo Horn <tsdh@gnu.org>
633
634 Fix double-reporting of rename events with inotify
635 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
636 of rename events with inotify (bug#21435).
637
638 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
639
640 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360)
641 (tetris-mode-map): Use it.
642
643 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 Remove a few simple cases of global redisplay
646 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
647 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
648 rather than returning a "resized_p" boolean.
649 (redisplay_internal): Adjust call accordingly.
650 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
651 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
652 tracking of this undesirable situation.
653
654 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
655 * src/process.c (status_notify): Only set the update_mode_line on the
656 relevant buffers rather than setting it globally.
657
658 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 (electric-quote-mode): Activate everywhere in message-mode
661 * lisp/electric.el (electric-quote-post-self-insert-function):
662 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
663
664 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
665
666 Go back to grave quoting in source-code docstrings etc.
667 This reverts almost all my recent changes to use curved quotes
668 in docstrings and/or strings used for error diagnostics.
669 There are a few exceptions, e.g., Bahá’í proper names.
670 * admin/unidata/unidata-gen.el (unidata-gen-table):
671 * lisp/abbrev.el (expand-region-abbrevs):
672 * lisp/align.el (align-region):
673 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
674 (outlineify-sticky):
675 * lisp/apropos.el (apropos-library):
676 * lisp/bookmark.el (bookmark-default-annotation-text):
677 * lisp/button.el (button-category-symbol, button-put)
678 (make-text-button):
679 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
680 * lisp/calc/calc-embed.el (calc-do-embedded):
681 * lisp/calc/calc-ext.el (calc-user-function-list):
682 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
683 * lisp/calc/calc-help.el (calc-describe-key)
684 (calc-describe-thing, calc-full-help):
685 * lisp/calc/calc-lang.el (calc-c-language)
686 (math-parse-fortran-vector-end, math-parse-tex-sum)
687 (math-parse-eqn-matrix, math-parse-eqn-prime)
688 (calc-yacas-language, calc-maxima-language, calc-giac-language)
689 (math-read-giac-subscr, math-read-math-subscr)
690 (math-read-big-rec, math-read-big-balance):
691 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
692 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
693 (calc-auto-recompute):
694 * lisp/calc/calc-prog.el (calc-fix-token-name)
695 (calc-read-parse-table-part, calc-user-define-invocation)
696 (math-do-arg-check):
697 * lisp/calc/calc-store.el (calc-edit-variable):
698 * lisp/calc/calc-units.el (math-build-units-table-buffer):
699 * lisp/calc/calc-vec.el (math-read-brackets):
700 * lisp/calc/calc-yank.el (calc-edit-mode):
701 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
702 * lisp/calendar/appt.el (appt-display-message):
703 * lisp/calendar/diary-lib.el (diary-check-diary-file)
704 (diary-mail-entries, diary-from-outlook):
705 * lisp/calendar/icalendar.el (icalendar-export-region)
706 (icalendar--convert-float-to-ical)
707 (icalendar--convert-date-to-ical)
708 (icalendar--convert-ical-to-diary)
709 (icalendar--convert-recurring-to-diary)
710 (icalendar--add-diary-entry):
711 * lisp/calendar/time-date.el (format-seconds):
712 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
713 (timeclock-make-hours-explicit, timeclock-log-data):
714 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
715 (todo-item-mark, todo-check-format)
716 (todo-insert-item--next-param, todo-edit-item--next-key)
717 (todo-mode):
718 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
719 * lisp/cedet/mode-local.el (describe-mode-local-overload)
720 (mode-local-print-binding, mode-local-describe-bindings-2):
721 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
722 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
723 * lisp/cus-start.el (standard):
724 * lisp/cus-theme.el (describe-theme-1):
725 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
726 (custom--sort-vars-1, load-theme):
727 * lisp/descr-text.el (describe-text-properties-1, describe-char):
728 * lisp/dired-x.el (dired-do-run-mail):
729 * lisp/dired.el (dired-log):
730 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
731 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
732 (ad-disable-advice, ad-remove-advice, ad-set-argument)
733 (ad-set-arguments, ad--defalias-fset, ad-activate)
734 (ad-deactivate):
735 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
736 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
737 (byte-optimize-while, byte-optimize-apply):
738 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
739 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
740 (byte-compile-log-file, byte-compile-format-warn)
741 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
742 (byte-compile-cl-warn)
743 (byte-compile-warn-about-unresolved-functions)
744 (byte-compile-file, byte-compile--declare-var)
745 (byte-compile-file-form-defmumble, byte-compile-form)
746 (byte-compile-normal-call, byte-compile-check-variable)
747 (byte-compile-variable-ref, byte-compile-variable-set)
748 (byte-compile-subr-wrong-args, byte-compile-setq-default)
749 (byte-compile-negation-optimizer)
750 (byte-compile-condition-case--old)
751 (byte-compile-condition-case--new, byte-compile-save-excursion)
752 (byte-compile-defvar, byte-compile-autoload)
753 (byte-compile-lambda-form)
754 (byte-compile-make-variable-buffer-local, display-call-tree)
755 (batch-byte-compile):
756 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
757 * lisp/emacs-lisp/chart.el (chart-space-usage):
758 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
759 (check-declare-warn, check-declare-file)
760 (check-declare-directory):
761 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
762 (checkdoc-message-text-engine):
763 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
764 (cl--describe-class):
765 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
766 (cl--generic-describe, cl-generic-generalizers):
767 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
768 (cl-symbol-macrolet):
769 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
770 * lisp/emacs-lisp/copyright.el (copyright)
771 (copyright-update-directory):
772 * lisp/emacs-lisp/edebug.el (edebug-read-list):
773 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
774 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
775 (eieio-oref):
776 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
777 * lisp/emacs-lisp/eieio-speedbar.el:
778 (eieio-speedbar-child-make-tag-lines)
779 (eieio-speedbar-child-description):
780 * lisp/emacs-lisp/eieio.el (defclass, change-class):
781 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
782 (elint-init-form, elint-check-defalias-form)
783 (elint-check-let-form):
784 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
785 (ert-results-pop-to-backtrace-for-test-at-point)
786 (ert-results-pop-to-messages-for-test-at-point)
787 (ert-results-pop-to-should-forms-for-test-at-point)
788 (ert-describe-test):
789 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
790 (find-function-library):
791 * lisp/emacs-lisp/generator.el (iter-yield):
792 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
793 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
794 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
795 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
796 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
797 (advice--make, define-advice):
798 * lisp/emacs-lisp/package-x.el (package-upload-file):
799 * lisp/emacs-lisp/package.el (package-version-join)
800 (package-disabled-p, package-activate-1, package-activate)
801 (package--download-one-archive)
802 (package--download-and-read-archives)
803 (package-compute-transaction, package-install-from-archive)
804 (package-install, package-install-selected-packages)
805 (package-delete, package-autoremove, describe-package-1)
806 (package-install-button-action, package-delete-button-action)
807 (package-menu-hide-package, package-menu--list-to-prompt)
808 (package-menu--perform-transaction)
809 (package-menu--find-and-notify-upgrades):
810 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
811 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
812 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
813 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
814 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
815 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
816 (rx-form):
817 * lisp/emacs-lisp/smie.el (smie-config-save):
818 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
819 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
820 * lisp/emacs-lisp/testcover.el (testcover-1value):
821 * lisp/emacs-lisp/timer.el (timer-event-handler):
822 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
823 (viper-toggle-search-style, viper-kill-buffer)
824 (viper-brac-function):
825 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
826 * lisp/env.el (setenv):
827 * lisp/erc/erc-button.el (erc-nick-popup):
828 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
829 * lisp/eshell/em-dirs.el (eshell/cd):
830 * lisp/eshell/em-glob.el (eshell-glob-regexp)
831 (eshell-glob-entries):
832 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
833 * lisp/eshell/esh-opt.el (eshell-show-usage):
834 * lisp/facemenu.el (facemenu-add-new-face)
835 (facemenu-add-new-color):
836 * lisp/faces.el (read-face-name, read-face-font, describe-face)
837 (x-resolve-font-name):
838 * lisp/files-x.el (modify-file-local-variable):
839 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
840 (set-auto-mode, hack-one-local-variable--obsolete)
841 (dir-locals-set-directory-class, write-file, basic-save-buffer)
842 (delete-directory, copy-directory, recover-session)
843 (recover-session-finish, insert-directory)
844 (file-modes-char-to-who, file-modes-symbolic-to-number)
845 (move-file-to-trash):
846 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
847 * lisp/find-cmd.el (find-generic, find-to-string):
848 * lisp/finder.el (finder-commentary):
849 * lisp/font-lock.el (font-lock-fontify-buffer):
850 * lisp/format.el (format-write-file, format-find-file)
851 (format-insert-file):
852 * lisp/frame.el (get-device-terminal, select-frame-by-name):
853 * lisp/fringe.el (fringe--check-style):
854 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
855 * lisp/help-fns.el (help-fns--key-bindings)
856 (help-fns--compiler-macro, help-fns--parent-mode)
857 (help-fns--obsolete, help-fns--interactive-only)
858 (describe-function-1, describe-variable):
859 * lisp/help.el (describe-mode)
860 (describe-minor-mode-from-indicator):
861 * lisp/image.el (image-type):
862 * lisp/international/ccl.el (ccl-dump):
863 * lisp/international/fontset.el (x-must-resolve-font-name):
864 * lisp/international/mule-cmds.el (prefer-coding-system)
865 (select-safe-coding-system-interactively)
866 (select-safe-coding-system, activate-input-method)
867 (toggle-input-method, describe-current-input-method)
868 (describe-language-environment):
869 * lisp/international/mule-conf.el (code-offset):
870 * lisp/international/mule-diag.el (describe-character-set)
871 (list-input-methods-1):
872 * lisp/mail/feedmail.el (feedmail-run-the-queue):
873 * lisp/mouse.el (minor-mode-menu-from-indicator):
874 * lisp/mpc.el (mpc-playlist-rename):
875 * lisp/msb.el (msb--choose-menu):
876 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
877 * lisp/net/imap.el (imap-interactive-login):
878 * lisp/net/mairix.el (mairix-widget-create-query):
879 * lisp/net/newst-backend.el (newsticker--sentinel-work):
880 * lisp/net/newst-treeview.el (newsticker--treeview-load):
881 * lisp/net/rlogin.el (rlogin):
882 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
883 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
884 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
885 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
886 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
887 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
888 (org-babel-goto-named-result):
889 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
890 * lisp/org/ob-ref.el (org-babel-ref-resolve):
891 * lisp/org/org-agenda.el (org-agenda-prepare):
892 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
893 (org-clock-resolve):
894 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
895 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
896 * lisp/org/org-habit.el (org-habit-parse-todo):
897 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
898 (org-mouse-context-menu):
899 * lisp/org/org-table.el (org-table-edit-formulas):
900 * lisp/org/ox.el (org-export-async-start):
901 * lisp/proced.el (proced-log):
902 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
903 (ada-check-matching-start, ada-goto-matching-start):
904 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
905 * lisp/progmodes/ada-xref.el (ada-find-executable):
906 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
907 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
908 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
909 (flymake-start-syntax-check-process):
910 * lisp/progmodes/python.el (python-shell-get-process-or-error)
911 (python-define-auxiliary-skeleton):
912 * lisp/progmodes/sql.el (sql-comint):
913 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
914 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
915 * lisp/recentf.el (recentf-open-files):
916 * lisp/replace.el (query-replace-read-from)
917 (occur-after-change-function, occur-1):
918 * lisp/scroll-bar.el (scroll-bar-columns):
919 * lisp/server.el (server-get-auth-key):
920 * lisp/simple.el (execute-extended-command)
921 (undo-outer-limit-truncate, list-processes--refresh)
922 (compose-mail, set-variable, choose-completion-string)
923 (define-alternatives):
924 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
925 (command-line-1):
926 * lisp/subr.el (noreturn, define-error, add-to-list)
927 (read-char-choice, version-to-list):
928 * lisp/term/common-win.el (x-handle-xrm-switch)
929 (x-handle-name-switch, x-handle-args):
930 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
931 * lisp/textmodes/reftex-ref.el (reftex-label):
932 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
933 * lisp/textmodes/two-column.el (2C-split):
934 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
935 (tutorial--find-changed-keys):
936 * lisp/type-break.el (type-break-noninteractive-query):
937 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
938 (wdired-do-perm-changes):
939 * lisp/whitespace.el (whitespace-report-region):
940 Prefer grave quoting in source-code strings used to generate help
941 and diagnostics.
942 * lisp/faces.el (face-documentation):
943 No need to convert quotes, since the result is a docstring.
944 * lisp/info.el (Info-virtual-index-find-node)
945 (Info-virtual-index, info-apropos):
946 Simplify by generating only curved quotes, since info files are
947 typically that ways nowadays anyway.
948 * lisp/international/mule-diag.el (list-input-methods):
949 Don’t assume text quoting style is curved.
950 * lisp/org/org-bibtex.el (org-bibtex-fields):
951 Revert my recent changes, going back to the old quoting style.
952
953 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
954
955 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling
956 (package--autoloads-file-name)
957 (package--activate-autoloads-and-load-path): New function.
958 (package-activate-1): Delegate autoloading and load-path
959 configuration to `package--activate-autoloads-and-load-path'.
960 (package--compile): Before compilation, call
961 `package--activate-autoloads-and-load-path' instead of
962 `package-activate-1'.
963
964 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403)
967
968 2015-09-07 Eli Zaretskii <eliz@gnu.org>
969
970 Fix deletion of symlinks to directories on MS-Windows
971 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
972 symlink to a directory, try again with 'rmdir'.
973 (is_symlink): If the argument is a symlink to a directory, set a
974 bit in the return value to indicate that fact.
975
976 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
977
978 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
979 When `package-initialize' is called as part of loading the init file,
980 the user probably doesn't want it to be called again afterwards. In this
981 situation, `package-initialize' now sets `package-enable-at-startup' to
982 nil to prevent that. The user can have the old behaviour by setting this
983 variable to t after the call to `package-initialize'. (Bug#21423)
984 * doc/emacs/package.texi (Package Installation): Document it
985 * doc/lispref/package.texi (Packaging Basics): Document it
986 * etc/NEWS: Document it
987
988 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
989
990 Bump version of ntlm.el to 2.00
991 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer. Add comm
992 keyword.
993
994 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
995
996 * doc/misc/gnus.texi (Mail Source Specifiers):
997 Allow :mailbox to be a list.
998
999 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
1000
1001 Allow even one non-regular character before the implicit tag name
1002 * lisp/progmodes/etags.el (etags-tags-completion-table):
1003 Allow even one non-regular character before the implicit tag name.
1004 Reported at http://emacs.stackexchange.com/questions/15269/.
1005
1006 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1007
1008 Add support for NTLMv2 authentication
1009 * net/ntlm.el (ntlm): New customization group.
1010 (ntlm-compatibility-level): New defcustom.
1011 (ntlm-compute-timestamp): New function.
1012 (ntlm-generate-nonce): Likewise.
1013 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
1014
1015 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
1016
1017 * lisp/emacs-lisp/package.el: Rename custom faces
1018 All of the recently introduced faces, like `package-name-face', have
1019 been renamed to no end in `-face' to comply with the convention
1020 described in (info "(elisp) Defining Faces").
1021 (package-name, package-description)
1022 (package-status-built-in, package-status-external)
1023 (package-status-available, package-status-new)
1024 (package-status-held, package-status-disabled)
1025 (package-status-installed, package-status-dependency)
1026 (package-status-unsigned, package-status-incompat)
1027 (package-status-avail-obso): New faces.
1028 (package-menu--print-info-simple): Use them.
1029
1030 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
1031
1032 mail-source.el: Make the imap mail-source's :mailbox handle a list
1033 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
1034 Allow :mailbox to be a list.
1035
1036 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
1037
1038 nnimap.el: Handle nil arg to nnimap-request-group
1039 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
1040 This arg isn't always passed in, check it's not nil before making it
1041 into a list. The active arg will also be nil if the group is new,
1042 check for that.
1043
1044 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
1045
1046 File notifications: Support renaming over directory boundaries
1047 * lisp/filenotify.el (file-notify-handle-event):
1048 (file-notify--pending-event): Adapt docstring.
1049 (file-notify--descriptor, file-notify-callback): Reimplement in
1050 order to support renaming over directory boundaries.
1051 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
1052 * doc/lispref/os.texi (File Notifications): Remove limitation of
1053 file renaming to the same directory.
1054
1055 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
1056
1057 Spelling fix (Bug#21420)
1058
1059 2015-09-05 Nicolas Petton <nicolas@petton.fr>
1060
1061 Improve the semantic of map-some
1062 Update map-some to return the returned by the predicate, similar to
1063 seq-some.
1064 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
1065 return value of the predicate.
1066 * test/automated/map-tests.el (test-map-some): Update the test to check
1067 for non-nil values only.
1068
1069 Rename map-contains-key-p and map-some-p
1070 Remove the "-p" suffix from both function names.
1071 * lisp/emacs-lisp/map.el (map-contains-key, map-some): Rename the functions.
1072 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
1073 Update both test functions.
1074
1075 Improve the semantic of seq-some
1076 Update seq-some to return non-nil if the predicate returns non-nil for
1077 any element of the seq, in which case the returned value is the one
1078 returned by the predicate.
1079 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
1080 docstring.
1081 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
1082 * doc/lispref/sequences.texi (Sequence Functions): Update the
1083 documentation for seq-some.
1084
1085 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
1086 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
1087 without the "-p" prefix.
1088 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
1089 the tests accordingly.
1090 * doc/lispref/sequences.texi (Sequence Functions): Update the
1091 documentation for seq.el.
1092
1093 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
1094
1095 text-quoting-style for usage of fn names with ‘’
1096 * lisp/help.el (help--docstring-quote): Don’t assume
1097 text-quoting-style is ‘curve’ when generating usage strings for
1098 functions whose names contain curved quotes.
1099
1100 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
1101
1102 Fix fix for describe-function keybinding confusion
1103 This fixes a bug introduced by the previous patch.
1104 * lisp/help-fns.el (help-fns--signature):
1105 Last arg of help-fns--signature is now a buffer, or nil if a
1106 raw signature is wanted. All callers changed.
1107 (describe-function-1): Use this to do the right thing with signatures.
1108
1109 2015-09-05 Johan Bockgård <bojohan@gnu.org>
1110
1111 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
1112
1113 Use PAT rather than UPAT in pcase macros
1114 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
1115 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
1116 than UPAT.
1117
1118 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
1119
1120 Fix describe-function keybinding confusion
1121 * lisp/help-fns.el (describe-function-1): Compute signature
1122 in the original buffer, not in standard-output, so that
1123 substitute-command-keys uses the proper keybindings.
1124 This fixes Bug#21412, introduced in commit
1125 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
1126
1127 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
1128
1129 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
1130
1131 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
1132
1133 Avoid read error messages from 'inotify'
1134 * src/process.c (wait_reading_process_output): Add a
1135 'tls_available' set and manipulate it instead of 'Available' when
1136 checking TLS inputs. Assign the value to 'Available' only if we
1137 find any TLS data waiting to be read. This avoids error messages
1138 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
1139
1140 2015-09-05 Eli Zaretskii <eliz@gnu.org>
1141
1142 Avoid errors in thing-at-point with 2nd argument non-nil
1143 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
1144 sequences. (Bug#21391)
1145
1146 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
1147
1148 Fix segfaults due to using a stale face ID
1149 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
1150 (display_echo_area_1, redisplay_internal): Call it to avoid
1151 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
1152 faces, which could case a segfault if the frame's face cache was
1153 freed since the last redisplay. (Bug#21394)
1154 * src/xfaces.c (free_realized_faces): Call forget_escape_and_glyphless_faces.
1155 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
1156
1157 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
1158
1159 Fix minor problems with " in manual
1160
1161 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
1162
1163 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
1164 multi-hop files.
1165
1166 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
1167
1168 Support automated ‘make check’ in non-C locale
1169 This lets the builder optionally test Emacs behavior in other locales.
1170 The C locale is still the default for tests.
1171 * test/automated/Makefile.in (TEST_LOCALE): New macro.
1172 (emacs): Use it.
1173 * test/automated/flymake-tests.el (flymake-tests--current-face):
1174 Use C locale for subprocesses so that tests behave as expected.
1175 * test/automated/python-tests.el:
1176 (python-shell-prompt-validate-regexps-1)
1177 (python-shell-prompt-validate-regexps-2)
1178 (python-shell-prompt-validate-regexps-3)
1179 (python-shell-prompt-validate-regexps-4)
1180 (python-shell-prompt-validate-regexps-5)
1181 (python-shell-prompt-validate-regexps-6)
1182 (python-shell-prompt-set-calculated-regexps-1):
1183 Adjust expected output to match locale.
1184 * test/automated/tildify-tests.el (tildify-test--test)
1185 (tildify-space-test--test, tildify-space-undo-test--test):
1186 This test assumes UTF-8 encoding.
1187
1188 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
1189
1190 Fix some more docstring etc. quoting problems
1191 Mostly these fixes prevent the transliteration of apostrophes
1192 that should stay apostrophes. Also, prefer curved quotes in
1193 Bahá’í proper names, as that’s the preferred Bahá’í style and
1194 these names are chock-full of non-ASCII characters anyway.
1195 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
1196 (eieio-defclass-internal):
1197 * lisp/emacs-lisp/eieio.el (defclass):
1198 * lisp/hi-lock.el (hi-lock-mode):
1199 Don’t transliterate Lisp apostrophes when generating a
1200 doc string or diagnostic.
1201 * lisp/international/mule-diag.el (list-coding-systems-1):
1202 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
1203 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
1204 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
1205 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
1206 Substitute quotes before putting them in the help buffer.
1207
1208 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 Re-add the notion of echo_prompt lost in the translation
1211 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
1212 echo_prompt which contains the actual string. Update all uses.
1213 * src/keyboard.c (kset_echo_prompt): New function.
1214 (echo_update): Add echo_prompt at the very beginning.
1215 (read_char): Remove workaround for bug#19875, not needed any more.
1216 (read_key_sequence): Set echo_prompt rather than echo_string (bug#21403).
1217 (mark_kboards): Mark echo_prompt.
1218
1219 Fix disassembly of non-compiled lexical functions (bug#21377)
1220 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
1221 * lisp/emacs-lisp/disass.el: Use lexical-binding.
1222 (disassemble): Recognize `closure's as well.
1223 (disassemble-internal): Use indirect-function and
1224 help-function-arglist, and accept `closure's.
1225 (disassemble-internal): Use interactive-form.
1226 (disassemble-1): Use functionp.
1227
1228 (tex--prettify-symbols-compose-p): Don't compose in verbatim blocks!
1229 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
1230 Don't compose inside verbatim blocks!
1231
1232 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
1233
1234 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
1235 (bug#19441)
1236
1237 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394)
1238
1239 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 vc-git-mode-line-string: Explicitly re-apply the face
1242 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
1243 the face (bug#21404).
1244
1245 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
1246
1247 Treat initial-scratch-message as a doc string
1248 * doc/emacs/building.texi (Lisp Interaction):
1249 * doc/lispref/os.texi (Startup Summary):
1250 * etc/NEWS: Document this.
1251 * lisp/startup.el (initial-scratch-message):
1252 Look up find-file’s key rather than hardcoding it.
1253 (command-line-1): Substitute the doc string.
1254 This also substitutes the quotes, which will help test display
1255 quoting at startup.
1256
1257 Fix describe-char bug with glyphs on terminals
1258 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
1259 buffers too, so don’t treat them differently from graphic displays.
1260 Without this fix, describe-char would throw an error on a terminal
1261 if given a glyph with a non-default face.
1262
1263 Follow text-quoting-style in display table init
1264 This attempts to fix a problem reported by Alan Mackenzie in:
1265 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
1266 * doc/lispref/display.texi (Active Display Table):
1267 Mention how text-quoting-style affects it.
1268 * doc/lispref/help.texi (Keys in Documentation):
1269 Say how to set text-quoting-style in ~/.emacs.
1270 * etc/NEWS: Document the change.
1271 * lisp/startup.el (startup--setup-quote-display):
1272 Follow user preference if text-quoting-style is set.
1273 (command-line): Setup quote display again if user expresses
1274 a preference in .emacs.
1275
1276 2015-09-02 K. Handa <handa@gnu.org>
1277
1278 Fix typo
1279 * ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask -> OTF_positioning_type_components_mask.
1280
1281 fix previous change
1282 * ftfont.c (ftfont_drive_otf): Remember some bits of
1283 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
1284
1285 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
1286
1287 * lisp/vc/vc-hooks.el (vc-refresh-state): New command
1288 (vc-refresh-state): Rename from vc-find-file-hook and make interactive.
1289 (vc-find-file-hook): Redefine as obsolete alias.
1290
1291 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1292
1293 Escape ` and ' in doc
1294 Escape apostrophes and grave accents in docstrings if they are
1295 are supposed to stand for themselves and are not quotes. Remove
1296 apostrophes from docstring examples like ‘'(calendar-nth-named-day
1297 -1 0 10 year)’ that confuse source code with data. Do some other
1298 minor docstring fixups as well, e.g., insert a missing close
1299 quote.
1300
1301 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 Generalize the prefix-command machinery of C-u
1304 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
1305 (prefix-command-preserve-state-hook): New hooks.
1306 (internal-echo-keystrokes-prefix): New function.
1307 (prefix-command--needs-update, prefix-command--last-echo): New vars.
1308 (prefix-command-update, prefix-command-preserve): New functions.
1309 (reset-this-command-lengths): New compatibility definition.
1310 (universal-argument--mode): Call prefix-command-update.
1311 (universal-argument, universal-argument-more, negative-argument)
1312 (digit-argument): Call prefix-command-preserve-state.
1313 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
1314 the "prefix argument" to echo.
1315 (this_command_key_count_reset, before_command_key_count)
1316 (before_command_echo_length): Delete variables.
1317 (echo_add_key): Always add a space.
1318 (echo_char): Remove.
1319 (echo_dash): Don't give up when this_command_key_count is 0, since that
1320 is now the case after a prefix command.
1321 (echo_update): New function, extracted from echo_now.
1322 (echo_now): Use it.
1323 (add_command_key, read_char, record_menu_key): Remove old disabled code.
1324 (command_loop_1): Don't refrain from pushing an undo boundary when
1325 prefix-arg is set. Remove other prefix-arg special case, now handled
1326 directly in the prefix commands instead. But call echo_now if there's
1327 a prefix state to echo.
1328 (read_char, record_menu_key): Use echo_update instead of echo_char.
1329 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
1330 (Freset_this_command_lengths): Delete function.
1331 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
1332 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
1333 * lisp/simple.el: Use those new hooks for C-u.
1334 (universal-argument--description): New function.
1335 (prefix-command-echo-keystrokes-functions): Use it.
1336 (universal-argument--preserve): New function.
1337 (prefix-command-preserve-state-hook): Use it.
1338 (command-execute): Call prefix-command-update if needed.
1339 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
1340 (kmacro-step-edit-prefix-index): Delete variables.
1341 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
1342 support for prefix arg commands.
1343 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
1344 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
1345 (cua--shift-control-prefix): Use prefix-command-preserve-state.
1346 Remove now unused arg `arg'.
1347 (cua--prefix-override-handler, cua--prefix-repeat-handler)
1348 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
1349 Update accordingly.
1350 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
1351 any more.
1352 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
1353 if the mark is not set.
1354
1355 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1356
1357 Rework quoting in tutorial
1358 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
1359 (if in more detail, type-of-animal in detail, else): Rework the
1360 early example to use " rather than ' so that we don’t burden
1361 complete novices with the low-priority detail of text quoting style.
1362 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
1363 (kill-new function, kill-ring-yank-pointer)
1364 (Complete forward-sentence, Loading Files)
1365 (Code for current-kill, Code for current-kill, yank):
1366 Resurrect the Emacs 22 versions of the code, which uses grave
1367 quoting style in doc strings.
1368 (Complete zap-to-char): Mention how quoting works in doc strings.
1369
1370 Setup quote display only if interactive
1371 * lisp/startup.el (command-line):
1372 Skip call to startup--setup-quote-display if noninteractive.
1373 Without this change, python-shell-prompt-validate-regexps-1
1374 fails in test/automated/python-tests.el when run in an
1375 en_US.utf8 locale on Fedora.
1376
1377 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
1378
1379 Use defalias at the top level
1380 * lisp/gnus/gnus-util.el (gnus-format-message):
1381 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
1382 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
1383
1384 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1385
1386 terminal-init-w32console mimicks command-line
1387 Problem reported by Eli Zaretskii.
1388 * lisp/startup.el (startup--setup-quote-display):
1389 New function, refactored from a part of ‘command-line’.
1390 (command-line): Use it.
1391 * lisp/term/w32console.el (terminal-init-w32console):
1392 Use it, so that this function stays consistent with ‘command-line’.
1393
1394 Display replacement quotes with shadow glyphs
1395 * lisp/startup.el (command-line): When displaying ASCII
1396 replacements for curved quotes, use a shadow glyph instead of a
1397 regular one, to avoid ambiguity.
1398
1399 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
1402
1403 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
1404
1405 Docstring fixes re quotes in C code
1406 Fix some docstring quoting problems, mostly by escaping apostrophe.
1407
1408 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
1409
1410 Some Tramp password fixes
1411 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
1412 of the hops.
1413 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
1414 at the beginning of the command. Otherwise, it could be
1415 interpreted as password prompt if the remote host echoes the
1416 command.
1417 (tramp-remote-coding-commands): Add "openssl enc -base64".
1418
1419 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
1420
1421 Make vc-git-working-revision always return the commit hash
1422 * lisp/vc/vc-git.el (vc-git-working-revision):
1423 Return the commit hash (bug#21383).
1424 (vc-git--symbolic-ref): New function, extracted from above.
1425 (vc-git-mode-line-string): Use it.
1426
1427 2015-09-01 K. Handa <handa@gnu.org>
1428
1429 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs.
1430 * ftfont.c (MFLTGlyphFT): New type.
1431 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
1432 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
1433 elements in the array MFLTGlyphString.glyphs.
1434
1435 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
1436
1437 Improve comments in elisp-mode.el, elisp-mode-tests.el
1438 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
1439
1440 Delete Emacs 25 test in mode-local.el
1441 * lisp/cedet/mode-local.el (describe-mode-local-overload): Fix missed an
1442 edit in previous commit.
1443
1444 Show all known mode-local overrides in *Help*
1445 * lisp/cedet/mode-local.el (describe-mode-local-overload): Assume Emacs
1446 25. Add all known mode-local overrides.
1447
1448 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
1449
1450 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
1451 Ensure that the article where the search word is found is displayed
1452 and pointed to in the summary buffer.
1453
1454 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1455
1456 * lisp/newcomment.el (comment-dwim): Use `use-region-p'
1457 When the region is active, but is empty (length 0), act as though
1458 the region was not active; that is, put a comment at the end of
1459 the line. (Bug#21119)
1460
1461 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
1462
1463 Port tls.el to older Emacs
1464 * lisp/net/tls.el (tls-format-message):
1465 Alias to format-message, or format if not available.
1466 (open-tls-stream): Use it.
1467
1468 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1469
1470 hideif.el: Recognize .h++ as C++ header.
1471 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
1472
1473 isearch: Document character folding mode.
1474 * isearch.el (isearch-forward): Mention `isearch-toggle-character-fold'
1475 in docstring.
1476
1477 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1478
1479 Quoting fixes in ERC and Eshell
1480 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
1481 * lisp/erc/erc-backend.el (define-erc-response-handler):
1482 * lisp/erc/erc-fill.el (erc-fill-static-center):
1483 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
1484 * lisp/eshell/em-glob.el (eshell-glob-entries):
1485 * lisp/eshell/em-hist.el (eshell-save-some-history):
1486 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1487 (eshell-shuffle-files):
1488 * lisp/eshell/esh-cmd.el (eshell-do-eval):
1489 * lisp/eshell/esh-proc.el (eshell-process-interact)
1490 (eshell-query-kill-processes):
1491 Respect ‘text-quoting-style’ in diagnostics and doc strings.
1492
1493 Quoting fixes in Gnus
1494 * lisp/gnus/gnus-agent.el:
1495 (gnus-agent-possibly-synchronize-flags-server):
1496 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
1497 * lisp/gnus/gnus-eform.el (gnus-edit-form):
1498 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
1499 (gnus-group-nnimap-edit-acl):
1500 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
1501 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
1502 * lisp/gnus/message.el (message-strip-subject-encoded-words)
1503 (message-check-recipients, message-send-form-letter):
1504 * lisp/gnus/mm-decode.el (mm-display-part):
1505 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
1506 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
1507 (mml-smime-get-ldap-cert):
1508 * lisp/gnus/spam-report.el (spam-report-process-queue):
1509 Respect ‘text-quoting-style’ in diagnostics.
1510 * lisp/gnus/gnus-art.el (article-display-face)
1511 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
1512 Use straight quoting in email.
1513 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
1514 Escape apostrophes in doc strings.
1515
1516 Quoting fixes in lisp mail, mh-e, net, url
1517 * lisp/mail/emacsbug.el (report-emacs-bug)
1518 (report-emacs-bug-hook): Use straight quotes in outgoing email,
1519 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
1520 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
1521 * lisp/mail/rmailout.el (rmail-output-read-file-name):
1522 * lisp/net/imap.el (imap-interactive-login):
1523 * lisp/net/tls.el (open-tls-stream):
1524 * lisp/url/url-auth.el (url-register-auth-scheme):
1525 Respect ‘text-quoting-style’ in diagnostics.
1526 * lisp/mh-e/mh-e.el (mh-sortm-args):
1527 Quote docstring example using text quotes, not as a Lisp quote.
1528
1529 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
1530
1531 Fix some byte-compiler warnings in EDE
1532 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
1533 existing autoloader list, rather than add to it.
1534 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
1535 argument to eieio class constructor.
1536 (ede-show-supported-projects): New.
1537 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
1538 with (oref ... name).
1539 (ede-auto-load-project): Use slot name, not initarg key.
1540 * lisp/cedet/ede/generic.el (ede-generic-load,
1541 ede-generic-find-matching-target): Use slot name, not initarg key.
1542 (ede-find-target): Use oref-default on class name.
1543 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
1544 class constructor.
1545 (ede-enable-generic-projects): Make project type names unique.
1546
1547 2015-08-31 Eli Zaretskii <eliz@gnu.org>
1548
1549 Fix directory accessibility tests for w32 network volumes
1550 * src/w32.c (faccessat): Don't fail with network volumes without a
1551 share.
1552 (w32_accessible_directory_p): Handle network volumes without a
1553 share.
1554
1555 Fix handling long file names in readdir on MS-Windows
1556 * src/w32.c (sys_readdir): Append "\*" to the directory after
1557 converting it to UTF-16/ANSI, not before, to avoid overflowing the
1558 260-character limit on file names in filename_to_utf16/ansi.
1559
1560 Make file-accessible-directory-p reliable on MS-Windows
1561 * src/w32.c (w32_accessible_directory_p): New function.
1562 * src/w32.h (w32_accessible_directory_p): Add prototype.
1563 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
1564 w32_accessible_directory_p to test a directory for accessibility
1565 by the current user. (Bug#21346)
1566 (Ffile_accessible_directory_p): Remove the w32 specific caveat
1567 from the doc string.
1568
1569 2015-08-31 Martin Rudalics <rudalics@gmx.at>
1570
1571 Don't call do_pending_window_change in signal handlers (Bug#21380)
1572 * src/gtkutil.c (xg_frame_resized):
1573 * src/xterm.c (x_set_window_size):
1574 * src/w32term.c (x_set_window_size): Don't call
1575 do_pending_window_change.
1576
1577 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1578
1579 Quoting fixes in lisp/org
1580 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
1581 (org-tags-view):
1582 * lisp/org/org-capture.el (org-capture-mode)
1583 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
1584 (org-ctags-ask-append-topic):
1585 * lisp/org/org.el (org-time-string-to-time)
1586 (org-time-string-to-absolute):
1587 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
1588 (org-ctags-ask-append-topic):
1589 * lisp/org/org.el (org-time-string-to-time)
1590 (org-time-string-to-absolute):
1591 Respect ‘text-quoting-style’ in diagnostics.
1592 * lisp/org/org-agenda.el (org-agenda-custom-commands)
1593 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
1594 * lisp/org/org-capture.el (org-capture-fill-template):
1595 Avoid contraction in output file that might be ASCII.
1596 * lisp/org/org-compat.el (format-message):
1597 Define if not already defined, for backward compatibility.
1598 * lisp/org/org-src.el (org-edit-src-save):
1599 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
1600 Escape apostrophes in diagnostics.
1601
1602 Treat “instead” strings as docstrings
1603 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
1604 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
1605 Substitute quotes in instead strings.
1606
1607 2015-08-31 Nicolas Petton <nicolas@petton.fr>
1608
1609 Better documentation of seq-let
1610 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
1611 documentation of seq-let.
1612
1613 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1614
1615 * lisp/international/ccl.el: Fix quoting.
1616
1617 Quoting fixes in lisp/international and lisp/leim
1618 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
1619 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
1620 * lisp/international/mule-cmds.el:
1621 (select-safe-coding-system-interactively, leim-list-file-name):
1622 * lisp/international/quail.el (quail-use-package, quail-help):
1623 * lisp/international/titdic-cnv.el (tit-process-header)
1624 (miscdic-convert):
1625 Respect text quoting style in doc strings and diagnostics.
1626 * lisp/international/quail.el (lisp/international/quail.el):
1627 * lisp/leim/quail/ethiopic.el ("ethiopic"):
1628 Escape apostrophes in doc strings.
1629
1630 Make ‘text-quoting-style’ a plain defvar
1631 It doesn’t need customization, as it’s likely useful only by experts.
1632 Suggested by Stefan Monnier in:
1633 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
1634 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
1635
1636 Quoting fixes in lisp/textmodes
1637 * lisp/textmodes/bibtex.el (bibtex-validate)
1638 (bibtex-validate-globally, bibtex-search-entries):
1639 * lisp/textmodes/ispell.el (ispell-command-loop):
1640 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
1641 * lisp/textmodes/texinfmt.el (texinfmt-version)
1642 (texinfo-format-region, texinfo-format-buffer-1):
1643 * lisp/textmodes/two-column.el (2C-split):
1644 Respect text quoting style in doc strings and diagnostics.
1645 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
1646 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
1647 Escape apostrophes in doc strings.
1648
1649 Documentation fixes re quotes
1650 Prefer curved quotes in examples if users will typically see
1651 curved quotes when the examples run.
1652 Mention format-message when appropriate.
1653 Don’t use @code in examples.
1654 Quote an apostrophe with @kbd.
1655
1656 Quoting fixes in lisp/progmodes
1657 * lisp/progmodes/cc-engine.el (c-bos-report-error):
1658 * lisp/progmodes/cpp.el (cpp-edit-reset):
1659 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
1660 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
1661 (etags-tags-apropos, list-tags, tags-apropos):
1662 * lisp/progmodes/executable.el (executable-set-magic):
1663 * lisp/progmodes/octave.el (octave-sync-function-file-names)
1664 (octave-help, octave-find-definition-default-filename)
1665 (octave-find-definition):
1666 Respect text quoting style in doc strings and diagnostics.
1667 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
1668 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
1669 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
1670 Escape apostrophes in doc strings.
1671 * lisp/progmodes/cmacexp.el (c-macro-expansion):
1672 Use straight quoting in ASCII comment.
1673 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
1674 (idlwave-pad-keyword):
1675 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
1676 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
1677 (vhdl-electric-semicolon, vhdl-electric-comma)
1678 (vhdl-electric-period, vhdl-electric-equal):
1679 Use directed quotes in diagnostics and doc strings.
1680
1681 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
1682
1683 Minor documentation and NEWS tweak
1684 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let): Add an index
1685 entry.
1686
1687 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
1688
1689 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
1690 Revert patch from 2015-08-24. Tramp shall be have like for local files.
1691 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
1692 Adapt test.
1693
1694 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
1695
1696 Text quoting fixes in cedet, emulation, emacs-lisp
1697 * lisp/cedet/ede.el (ede-check-project-directory):
1698 * lisp/cedet/semantic/analyze/debug.el:
1699 (semantic-analyzer-debug-insert-include-summary):
1700 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
1701 * lisp/cedet/semantic/decorate/include.el:
1702 (semantic-decoration-unknown-include-describe)
1703 (semantic-decoration-all-include-summary):
1704 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
1705 * lisp/emulation/edt.el (edt-load-keys):
1706 * lisp/emulation/viper-cmd.el:
1707 (viper-display-current-destructive-command)
1708 (viper-query-replace, viper-brac-function):
1709 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
1710 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
1711 Respect text quoting style in doc string or diagnostic.
1712 * lisp/cedet/mode-local.el (describe-mode-local-overload):
1713 Use format-message to avoid overtranslating quotes.
1714 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
1715 Escape an apostrophe in a docstring.
1716 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
1717
1718 2015-08-29 Daniel Colascione <dancol@dancol.org>
1719
1720 Fix which-func for curly quotes: look for symbol, not message
1721 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
1722 imenu-unavailable error symbol instead of trying to match message
1723 exactly.
1724 * lisp/imenu.el (imenu-unavailable): New error
1725 (imenu-unavailable-error): New function.
1726
1727 2015-08-29 Eli Zaretskii <eliz@gnu.org>
1728
1729 Fix Python tests on MS-Windows
1730 * test/automated/python-tests.el
1731 (python-shell-calculate-command-1): Run python-shell-interpreter
1732 through shell-quote-argument before comparing with what
1733 python-shell-calculate-command returns.
1734 (python-shell-calculate-pythonpath-1)
1735 (python-shell-calculate-pythonpath-2)
1736 (python-shell-calculate-process-environment-2): Use path-separator
1737 instead of a literal ':'.
1738 (python-shell-calculate-exec-path-2)
1739 (python-shell-calculate-exec-path-3)
1740 (python-shell-calculate-exec-path-4)
1741 (python-shell-with-environment-1)
1742 (python-shell-with-environment-2): Run "/env/bin" through
1743 expand-file-name before comparing with exec-path. (Bug#21375)
1744
1745 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1746
1747 Use Core Text types/functions/variables/enumerators directly
1748 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
1749 (CharacterCollection): Remove typedefs. All uses replaced with
1750 definitions.
1751 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
1752 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
1753 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
1754 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
1755 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
1756 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
1757 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
1758 definitions.
1759 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
1760 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
1761 (MAC_FONT_FORMAT_BITMAP)
1762 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
1763 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators. All
1764 uses replaced with definitions.
1765 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
1766 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
1767 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault): Add
1768 compatibility enumerators for older versions.
1769 (mac_font_descriptor_create_with_attributes)
1770 (mac_font_descriptor_create_matching_font_descriptors)
1771 (mac_font_descriptor_create_matching_font_descriptor)
1772 (mac_font_descriptor_copy_attribute)
1773 (mac_font_descriptor_supports_languages)
1774 (mac_font_create_with_name, mac_font_get_size)
1775 (mac_font_copy_family_name, mac_font_copy_character_set)
1776 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
1777 (mac_font_get_descent, mac_font_get_leading)
1778 (mac_font_get_underline_position)
1779 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
1780 (mac_font_copy_non_synthetic_table): Remove macros. All uses
1781 replaced with definitions.
1782 (mac_font_create_preferred_family_for_attributes)
1783 (mac_font_get_advance_width_for_glyph)
1784 (mac_font_get_bounding_rect_for_glyph)
1785 (mac_font_create_available_families, mac_font_shape): Remove
1786 macros for renamed functions.
1787 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
1788 * src/macterm.m (mac_font_descriptor_supports_languages): Rename
1789 from mac_ctfont_descriptor_supports_languages.
1790 (mac_font_create_preferred_family_for_attributes): Rename from
1791 mac_ctfont_create_preferred_family_for_attributes.
1792 (mac_font_get_advance_width_for_glyph): Rename from
1793 mac_ctfont_get_advance_width_for_glyph. Use
1794 kCTFontOrientationDefault also for older versions.
1795 (mac_font_get_bounding_rect_for_glyph): Rename from
1796 mac_ctfont_get_bounding_rect_for_glyph. Use
1797 kCTFontOrientationDefault also for older versions.
1798 (mac_font_create_available_families): Rename from
1799 mac_ctfont_create_available_families.
1800 (mac_font_equal_in_postscript_name): Rename from
1801 mac_ctfont_equal_in_postscript_name. All uses changed.
1802 (mac_font_create_line_with_string_and_font): Rename from
1803 mac_ctfont_create_line_with_string_and_font. All uses changed.
1804 (mac_font_shape): Rename from mac_ctfont_shape.
1805 (mac_font_family_compare): Remove unused declaration.
1806
1807 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
1808
1809 Fix minor text quoting in calc, calendar, vc
1810 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
1811 * lisp/calc/calc-help.el (calc-j-prefix-help):
1812 * lisp/calc/calc-misc.el (calc-help):
1813 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
1814 Escape an apostrophe in a docstring.
1815 * lisp/calc/calc-forms.el (calc-hms-notation):
1816 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
1817 Escape an apostrophe in a diagnostic.
1818 * lisp/calc/calc-misc.el (calc-help):
1819 * lisp/calendar/diary-lib.el (diary-include-files):
1820 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
1821 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
1822 * lisp/vc/ediff-diff.el (ediff-same-contents):
1823 * lisp/vc/ediff-merg.el (ediff-re-merge):
1824 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
1825 * lisp/vc/ediff-util.el (ediff-test-save-region)
1826 (ediff-status-info):
1827 * lisp/vc/ediff.el (ediff-merge-revisions)
1828 (ediff-merge-revisions-with-ancestor):
1829 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
1830 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
1831 Respect text quoting style in doc string or diagnostic.
1832 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
1833 * lisp/vc/add-log.el (change-log-goto-source):
1834 Avoid double-formatting.
1835 * lisp/vc/ediff-init.el (format-message):
1836 New backward-compatibility alias.
1837
1838 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
1839
1840 Fix minor text quoting problems in lisp top level
1841 * lisp/apropos.el (apropos-describe-plist):
1842 * lisp/cus-theme.el (customize-themes):
1843 * lisp/dired.el (dired-log):
1844 * lisp/help-fns.el (describe-variable):
1845 * lisp/hexl.el (hexl-insert-multibyte-char):
1846 * lisp/info.el (Info-finder-find-node):
1847 * lisp/json.el (json-read-string):
1848 * lisp/novice.el (disabled-command-function)
1849 (disabled-command-function):
1850 * lisp/startup.el (normal-mouse-startup-screen):
1851 * lisp/woman.el (WoMan-log, WoMan-warn):
1852 Respect text quoting style in doc string or diagnostic.
1853 * lisp/replace.el (replace-character-fold):
1854 * src/syntax.c (Fmodify_syntax_entry):
1855 Escape an apostrophe in a docstring.
1856 * lisp/tempo.el (tempo-define-template):
1857 Remove confusing apostrophe from docstring.
1858 * lisp/whitespace.el (whitespace-mark-x):
1859 Use directed quotes in docstring.
1860
1861 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
1862
1863 Fix indentation rule in css-mode
1864 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
1865 brackets in presence of pseudo-selectors. (Bug#21328)
1866
1867 2015-08-28 Eli Zaretskii <eliz@gnu.org>
1868
1869 Fix a bug in recording a macro while flyspell-mode is active
1870 * lisp/subr.el (sit-for): Don't call read-event when recording a
1871 macro. (Bug#21329)
1872
1873 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
1874
1875 Tweak startup screen quoting
1876 * lisp/startup.el (normal-splash-screen): Use standard
1877 "M-" abbrevation rather than a confusingly-different one.
1878 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
1879
1880 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
1881
1882 Add test case for ‘format’ bug and refactor
1883 * src/editfns.c (styled_format): Refactor internally, mostly by
1884 moving declarations closer to uses. This should not affect behavior.
1885 * test/automated/textprop-tests.el (textprop-tests-format): New test.
1886
1887 Fix ‘format’ bug with property offsets
1888 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
1889 bug in calculating string property offsets (Bug#21351).
1890
1891 Use straight quotes in lib-src diagnostics
1892 These auxiliary programs can’t use Emacs’s text-quoting-style,
1893 and it’s too much trouble to redo that mechanism by hand.
1894 So just use straight quotes for now.
1895 * lib-src/ebrowse.c (main):
1896 * lib-src/emacsclient.c (decode_options, main):
1897 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
1898 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
1899 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
1900 (none_help, print_language_names, print_help, add_regex)
1901 (suggest_asking_for_help):
1902 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
1903 Use straight quotes in diagnostics.
1904
1905 ‘text-quoting-style’ fixes for admin
1906 * admin/admin.el (cusver-scan, cusver-check):
1907 * admin/authors.el (authors-canonical-file-name):
1908 * admin/bzrmerge.el (bzrmerge-missing):
1909 Respect ‘text-quoting-style’ in diagnostics.
1910
1911 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
1912
1913 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
1914 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
1915 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
1916 * doc/lispref/internals.texi (Writing Emacs Primitives):
1917 * etc/NEWS:
1918 Document the change.
1919 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
1920 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
1921 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
1922 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
1923 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
1924 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
1925 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
1926 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
1927 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
1928 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
1929 Remove. All uses removed. The code now assumes
1930 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
1931 * src/bytecode.c (relocate_byte_stack):
1932 Rename from unmark_byte_stack, since it now only relocates.
1933 All callers changed.
1934 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
1935 with GCPROs removed.
1936 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
1937 * test/automated/finalizer-tests.el (finalizer-basic)
1938 (finalizer-circular-reference, finalizer-cross-reference)
1939 (finalizer-error):
1940 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
1941 Remove tests, as they depend on gc-precise.
1942
1943 2015-08-26 Nicolas Petton <nicolas@petton.fr>
1944
1945 Improve seq-concatenate for new sequence types
1946 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
1947 ensure that concatenation happens on sequences only. This makes it
1948 possible to use `seq-concatenate' for new types of seqs.
1949 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate): New
1950 function used in `seq-concatenate'.
1951 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
1952 for seq-into-sequence.
1953
1954 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
1955
1956 Add mode local overrides to xref-find-definitions
1957 * lisp/cedet/mode-local.el (xref-mode-local--override-present,
1958 xref-mode-local-overload): New; add mode local overrides to
1959 xref-find-definitions.
1960 * test/automated/elisp-mode-tests.el: Add mode local override tests.
1961 (xref-elisp-test-run): Handle indented defuns.
1962 (xref-elisp-generic-*): Improve doc strings.
1963 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
1964 (elisp--xref-find-definitions): Use it.
1965
1966 Add mode local overrides to describe-function
1967 * lisp/cedet/mode-local.el (describe-mode-local-overload): New; add mode
1968 local overrides to describe-function.
1969 * etc/NEWS: Document change.
1970
1971 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
1972
1973 Prefer straight quoting in some etc text files
1974 These files are plain text and might be used by non-Emacs apps.
1975 They’re mostly ASCII, so just use straight quotes.
1976
1977 Fix quoting in ‘message_with_string’
1978 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
1979 should work now.
1980 * src/xdisp.c (message_to_stderr): New function, refactored from
1981 part of ‘message3_nolog’.
1982 (message3_nolog): Use it.
1983 (message_with_string): Use it. Don’t mishandle NUL bytes when
1984 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
1985 Use ‘format-message’, not ‘format’, so that quotes are translated.
1986
1987 2015-08-26 Eli Zaretskii <eliz@gnu.org>
1988
1989 Mention false positives of file-accessible-directory on w32
1990 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
1991 (Bug#21346)
1992
1993 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
1994
1995 Treat error strings as help
1996 * src/print.c (print_error_message): Translate quotes and command
1997 keys in errmsg so that users see, e.g., "Symbol’s value as
1998 variable is void: foo" when text-quoting-style is curved.
1999
2000 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * lisp/net/tramp-cache.el (top): Use `message' but `format-message'.
2003
2004 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
2005
2006 Top-level elisp files respect ‘text-quoting-style’
2007 In top-level elisp files, use format-message in diagnostic formats,
2008 so that they follow user preference as per ‘text-quoting-style’
2009 rather than being hard-coded to quote `like this'.
2010 * lisp/allout.el (allout-get-configvar-values):
2011 * lisp/apropos.el (apropos-symbols-internal):
2012 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
2013 (dired-do-create-files-regexp, dired-create-files-non-directory):
2014 * lisp/dired-x.el (dired-do-run-mail):
2015 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
2016 * lisp/disp-table.el (standard-display-european):
2017 * lisp/find-dired.el (find-dired):
2018 * lisp/forms.el (forms-mode):
2019 * lisp/ido.el (ido-buffer-internal):
2020 * lisp/info.el (Info-index-next):
2021 * lisp/outline.el (outline-invent-heading):
2022 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
2023 * lisp/proced.el (proced-log):
2024 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
2025 * lisp/recentf.el (recentf-open-files, recentf-save-list):
2026 * lisp/savehist.el (savehist-save):
2027 * lisp/server.el (server-ensure-safe-dir):
2028 * lisp/ses.el (ses-rename-cell):
2029 * lisp/simple.el (list-processes--refresh):
2030 * lisp/startup.el (command-line):
2031 * lisp/strokes.el (strokes-unset-last-stroke)
2032 (strokes-execute-stroke):
2033 Use format-message so that quotes are restyled.
2034 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
2035 Don’t quote ‘raised’.
2036 * lisp/descr-text.el (describe-char):
2037 * lisp/dirtrack.el (dirtrack-debug-message):
2038 * lisp/hexl.el (hexl-insert-multibyte-char):
2039 Apply substitute-command-keys to help string.
2040 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
2041 (wdired-do-perm-changes):
2042 Let dired-log do the formatting.
2043
2044 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
2045
2046 Go back to grave quoting in Tramp
2047 * lisp/net/tramp-adb.el:
2048 * lisp/net/tramp-cache.el:
2049 * lisp/net/tramp-compat.el:
2050 * lisp/net/tramp-gvfs.el:
2051 * lisp/net/tramp-gw.el:
2052 * lisp/net/tramp-sh.el:
2053 * lisp/net/tramp-smb.el:
2054 * lisp/net/tramp.el:
2055 Stick with grave quoting in diagnostics strings. This is more
2056 portable to older Emacs, desirable for Tramp.
2057 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
2058 for diagnostic that needs requoting.
2059 * lisp/net/tramp-compat.el (format-message):
2060 Fall back on simple ‘format’, since that’s good enough now.
2061
2062 Go back to grave quoting in Gnus
2063 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
2064 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
2065 (gnus-agent-fetch-headers):
2066 * lisp/gnus/gnus-int.el (gnus-start-news-server):
2067 * lisp/gnus/gnus-registry.el:
2068 (gnus-registry--split-fancy-with-parent-internal)
2069 (gnus-registry-post-process-groups):
2070 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
2071 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
2072 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
2073 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
2074 * lisp/gnus/spam.el (spam-check-blackholes):
2075 Stick with grave quoting in diagnostics strings. This is more
2076 portable to older Emacs, desirable for Gnus.
2077
2078 Fix customization of text-quoting-style
2079 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
2080 * lisp/wid-edit.el (widget-docstring):
2081 Get raw docstring here since it’s cooked later and should not be
2082 cooked twice.
2083 * lisp/cus-edit.el (custom-group-value-create):
2084 Cook the docstring before inserting it.
2085 * lisp/cus-start.el (text-quoting-style): Quote the customization
2086 docstrings according to the new rules. Give curved examples.
2087
2088 format-message now curves ` and '
2089 That way, the caller doesn’t have to use curved quotes to
2090 get diagnostics that match the text-quoting-style preferences.
2091 Suggested by Dmitry Gutov in:
2092 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
2093 This means we no longer need %qs, so remove that format.
2094 While we’re at it, fix an unlikely bug and lessen the pressure
2095 on the garbage collector by processing the string once rather
2096 than twice in the usual case.
2097 * doc/lispref/strings.texi (Formatting Strings):
2098 * etc/NEWS: Document this.
2099 * lisp/subr.el (format-message): Remove; now done in C.
2100 * src/callint.c (Fcall_interactively):
2101 * src/editfns.c (Fmessage, Fmessage_box):
2102 Use Fformat_message instead of Finternal__text_restyle
2103 followed by Fformat.
2104 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
2105 uLSQM and uRSQM.
2106 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
2107 when pure ASCII now suffices. Fix unlikely bug when parsing
2108 unibyte string containing non-ASCII bytes. Use inline code
2109 rather than memcpy, as it’s a tiny number of bytes.
2110 (Finternal__text_restyle): Remove; no longer used.
2111 (syms_of_doc): Don’t declare it.
2112 * src/editfns.c (Fformat): Rewrite in terms of new function
2113 ‘styled_format’.
2114 (Fformat_message): New function, moved here from subr.el.
2115 (styled_format): New function, with the old guts of Fformat,
2116 except it now optionally transliterates quotes, and it transliterates
2117 traditional grave accent and apostrophe quoting as well.
2118 Remove recently-added q flag; no longer needed or used.
2119 (syms_of_editfns): Define format-message.
2120 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
2121 Remove; no longer need to be global symbols.
2122 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
2123 so that callers can use `%s'.
2124 * src/image.c (image_size_error, xbm_load_image, xbm_load)
2125 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
2126 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
2127 (svg_load_image, gs_load, x_kill_gs_process):
2128 * src/lread.c (load_warn_old_style_backquotes):
2129 * src/xfaces.c (load_pixmap):
2130 * src/xselect.c (x_clipboard_manager_error_1):
2131 Use `%s' instead of %qs in formats.
2132
2133 2015-08-25 Eli Zaretskii <eliz@gnu.org>
2134
2135 Minor fixes in doc/emacs/search.texi
2136 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
2137 (Special Isearch): Use @w{} to generate several consecutive spaces
2138 with Texinfo 6. (Bug#21345)
2139
2140 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
2141
2142 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
2143 (tramp-awk-coding-test): New defconsts.
2144 (tramp-remote-coding-commands): Use them.
2145 (tramp-find-inline-encoding): Check for Perl only if necessary.
2146
2147 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
2148
2149 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
2150 index entries for the special form `quote'.
2151
2152 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
2153
2154 Spelling fixes
2155
2156 Gnus format-message typo fix
2157 * lisp/gnus/gnus-util.el (gnus-format-message):
2158 Fix typo when running in older Emacs.
2159
2160 Prefer directed to neutral quotes
2161 Prefer directed to neutral quotes in docstings and diagnostics.
2162 In docstrings, escape apostrophes that would otherwise be translated
2163 to curved quotes using the newer, simpler rules.
2164 * admin/unidata/unidata-gen.el (unidata-gen-table):
2165 * lisp/align.el (align-region):
2166 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
2167 * lisp/bookmark.el (bookmark-default-annotation-text):
2168 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
2169 * lisp/calc/calc-lang.el (math-read-giac-subscr)
2170 (math-read-math-subscr):
2171 * lisp/calc/calc-misc.el (report-calc-bug):
2172 * lisp/calc/calc-prog.el (calc-fix-token-name)
2173 (calc-read-parse-table-part):
2174 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
2175 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
2176 * lisp/dabbrev.el (dabbrev-expand):
2177 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2178 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
2179 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
2180 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
2181 * lisp/erc/erc-button.el (erc-nick-popup):
2182 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
2183 * lisp/eshell/em-dirs.el (eshell/cd):
2184 * lisp/eshell/em-glob.el (eshell-glob-regexp):
2185 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
2186 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
2187 * lisp/eshell/esh-opt.el (eshell-show-usage):
2188 * lisp/files-x.el (modify-file-local-variable):
2189 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
2190 (filesets-update-pre010505):
2191 * lisp/find-cmd.el (find-generic, find-to-string):
2192 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
2193 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
2194 (gnus-agent-fetch-headers):
2195 * lisp/gnus/gnus-int.el (gnus-start-news-server):
2196 * lisp/gnus/gnus-registry.el:
2197 (gnus-registry--split-fancy-with-parent-internal):
2198 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
2199 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
2200 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
2201 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
2202 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
2203 * lisp/gnus/spam.el (spam-check-blackholes):
2204 * lisp/mail/feedmail.el (feedmail-run-the-queue):
2205 * lisp/mpc.el (mpc-playlist-rename):
2206 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
2207 * lisp/net/mairix.el (mairix-widget-create-query):
2208 * lisp/net/tramp-cache.el:
2209 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
2210 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
2211 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
2212 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
2213 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
2214 (org-babel-goto-named-result):
2215 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
2216 * lisp/org/ob-ref.el (org-babel-ref-resolve):
2217 * lisp/org/org-agenda.el (org-agenda-prepare):
2218 * lisp/org/org-bibtex.el (org-bibtex-fields):
2219 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
2220 (org-clock-resolve):
2221 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
2222 * lisp/org/org-habit.el (org-habit-parse-todo):
2223 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
2224 (org-mouse-context-menu):
2225 * lisp/org/org-table.el (org-table-edit-formulas):
2226 * lisp/org/ox.el (org-export-async-start):
2227 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
2228 (dun-rooms, dun-endgame-questions):
2229 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
2230 * lisp/progmodes/ada-xref.el (ada-find-executable):
2231 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
2232 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
2233 (flymake-start-syntax-check-process):
2234 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
2235 * lisp/progmodes/sql.el (sql-comint):
2236 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
2237 * lisp/server.el (server-get-auth-key):
2238 * lisp/subr.el (version-to-list):
2239 * lisp/textmodes/reftex-ref.el (reftex-label):
2240 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
2241 * lisp/vc/ediff-diff.el (ediff-same-contents):
2242 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
2243 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
2244 Use directed rather than neutral quotes in diagnostics.
2245
2246 Treat ' like ’ even when not matching `
2247 This is simpler and easier to explain, and should encourage better
2248 typography. Do this in Electric Quote mode and when translating
2249 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
2250 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
2251 * doc/emacs/text.texi (Quotation Marks):
2252 * doc/lispref/help.texi (Keys in Documentation):
2253 * etc/NEWS:
2254 Document this.
2255 * lisp/electric.el (electric-quote-post-self-insert-function):
2256 * src/doc.c (Fsubstitute_command_keys):
2257 Always treat ' like ’ even when not matched by an open quote.
2258
2259 2015-08-25 Glenn Morris <rgm@gnu.org>
2260
2261 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
2262 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
2263
2264 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2265
2266 * src/macfont.m (macfont_create_family_with_symbol): Accept localized names.
2267
2268 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
2269
2270 Tramp diagnostics as per ‘text-quoting-style’
2271 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
2272 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
2273 (tramp-adb-handle-delete-directory)
2274 (tramp-adb-handle-delete-file)
2275 (tramp-adb-handle-file-local-copy)
2276 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
2277 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
2278 (tramp-adb-maybe-open-connection):
2279 * lisp/net/tramp-cache.el:
2280 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
2281 (tramp-compat-octal-to-decimal)
2282 (tramp-compat-coding-system-change-eol-conversion):
2283 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
2284 (tramp-gvfs-do-copy-or-rename-file)
2285 (tramp-gvfs-handle-delete-directory)
2286 (tramp-gvfs-handle-delete-file)
2287 (tramp-gvfs-handle-expand-file-name)
2288 (tramp-gvfs-handle-file-local-copy)
2289 (tramp-gvfs-handle-file-notify-add-watch)
2290 (tramp-gvfs-handle-make-directory)
2291 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
2292 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2293 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
2294 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
2295 (tramp-sh-handle-set-visited-file-modtime)
2296 (tramp-sh-handle-set-file-modes)
2297 (tramp-sh-handle-file-name-all-completions)
2298 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
2299 (tramp-do-copy-or-rename-file-directly)
2300 (tramp-do-copy-or-rename-file-out-of-band)
2301 (tramp-sh-handle-make-directory)
2302 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
2303 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
2304 (tramp-sh-handle-start-file-process)
2305 (tramp-sh-handle-file-local-copy)
2306 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2307 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
2308 (tramp-find-file-exists-command, tramp-open-shell)
2309 (tramp-find-shell)
2310 (tramp-open-connection-setup-interactive-shell)
2311 (tramp-find-inline-encoding, tramp-find-inline-compress)
2312 (tramp-compute-multi-hops, tramp-maybe-open-connection)
2313 (tramp-wait-for-output, tramp-send-command-and-check)
2314 (tramp-send-command-and-read, tramp-get-remote-path)
2315 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2316 (tramp-get-ls-command-with-quoting-style)
2317 (tramp-get-test-command, tramp-get-remote-ln)
2318 (tramp-get-remote-perl, tramp-get-remote-stat)
2319 (tramp-get-remote-readlink, tramp-get-remote-trash)
2320 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
2321 (tramp-get-remote-inotifywait, tramp-get-remote-id)
2322 (tramp-get-remote-python):
2323 * lisp/net/tramp-smb.el (tramp-smb-errors)
2324 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
2325 (tramp-smb-handle-delete-directory)
2326 (tramp-smb-handle-delete-file)
2327 (tramp-smb-handle-file-local-copy)
2328 (tramp-smb-handle-make-directory)
2329 (tramp-smb-handle-make-directory-internal)
2330 (tramp-smb-handle-make-symbolic-link)
2331 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
2332 (tramp-smb-handle-set-file-modes)
2333 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
2334 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
2335 (tramp-process-actions):
2336 Generate diagnostics according to ‘text-quoting-style’, by
2337 using curved quotes in format strings and ‘format-message’
2338 when appropriate.
2339 * lisp/net/tramp-compat.el (format-message):
2340 Define a replacement, if it’s an older version of Emacs
2341 that doesn’t have it already.
2342
2343 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
2344
2345 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
2346
2347 Fix documentation for `save-excursion'
2348 * doc/lispref/positions.texi (Excursions):
2349 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
2350 (Template for save-excursion, Point and mark): `save-excursion'
2351 does not save&restore the mark any more.
2352
2353 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
2354
2355 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
2356 New defconsts.
2357 (tramp-do-file-attributes-with-stat)
2358 (tramp-do-directory-files-and-attributes-with-stat): Use them.
2359 (tramp-convert-file-attributes): Remove double slashes in symlinks.
2360 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
2361 Handle symlinks with "//" in the file name.
2362
2363 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
2364
2365 2015-08-24 Nicolas Petton <nicolas@petton.fr>
2366
2367 Fix cl-subseq and cl-concatenate
2368 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
2369 seq functions.
2370 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
2371 seq-concatenate.
2372
2373 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
2374
2375 Fix full-screen code when there is no window manager (Bug#21317)
2376 * src/xterm.h (x_wm_supports): Declare external.
2377 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
2378 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
2379 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
2380 `fullscreen' frame parameter.
2381 * gtkutil.c (x_wm_set_size_hint): Set size hints when running
2382 without a window manager.
2383
2384 2015-08-24 Glenn Morris <rgm@gnu.org>
2385
2386 * lisp/version.el (emacs-version): No longer include build host
2387 * doc/lispref/intro.texi (Version Info): Update example.
2388
2389 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
2390
2391 * doc/lispref/elisp.texi: Fix typo in previous change.
2392
2393 More-conservative ‘format’ quote restyling
2394 Instead of restyling curved quotes for every call to ‘format’,
2395 create a new function ‘format-message’ that does the restyling,
2396 and using the new function instead of ‘format’ only in contexts
2397 where this seems appropriate.
2398 Problem reported by Dmitry Gutov and Andreas Schwab in:
2399 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
2400 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
2401 * doc/lispref/commands.texi (Using Interactive):
2402 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
2403 * doc/lispref/display.texi (Displaying Messages, Progress):
2404 * doc/lispref/elisp.texi:
2405 * doc/lispref/help.texi (Keys in Documentation):
2406 * doc/lispref/minibuf.texi (Minibuffer Misc):
2407 * doc/lispref/strings.texi (Formatting Strings):
2408 * etc/NEWS:
2409 Document the changes.
2410 * lisp/abbrev.el (expand-region-abbrevs):
2411 * lisp/apropos.el (apropos-library):
2412 * lisp/calc/calc-ext.el (calc-record-message)
2413 (calc-user-function-list):
2414 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
2415 * lisp/calc/calc-lang.el (math-read-big-balance):
2416 * lisp/calc/calc-store.el (calc-edit-variable):
2417 * lisp/calc/calc-units.el (math-build-units-table-buffer):
2418 * lisp/calc/calc-yank.el (calc-edit-mode):
2419 * lisp/calendar/icalendar.el (icalendar-export-region)
2420 (icalendar--add-diary-entry):
2421 * lisp/cedet/mode-local.el (mode-local-print-binding)
2422 (mode-local-describe-bindings-2):
2423 * lisp/cedet/semantic/complete.el (semantic-completion-message):
2424 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
2425 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
2426 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
2427 * lisp/descr-text.el (describe-text-properties-1, describe-char):
2428 * lisp/dframe.el (dframe-message):
2429 * lisp/dired-aux.el (dired-query):
2430 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
2431 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
2432 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
2433 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
2434 (cconv-analyze-form):
2435 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
2436 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2437 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
2438 * lisp/emacs-lisp/edebug.el (edebug-format):
2439 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
2440 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
2441 (eldoc-message):
2442 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
2443 * lisp/emacs-lisp/find-func.el (find-function-library):
2444 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
2445 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
2446 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
2447 * lisp/emacs-lisp/package.el (package-compute-transaction)
2448 (package-install-button-action, package-delete-button-action)
2449 (package-menu--list-to-prompt):
2450 * lisp/emacs-lisp/timer.el (timer-event-handler):
2451 * lisp/emacs-lisp/warnings.el (lwarn, warn):
2452 * lisp/emulation/viper-cmd.el:
2453 (viper-toggle-parse-sexp-ignore-comments)
2454 (viper-kill-buffer, viper-brac-function):
2455 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
2456 * lisp/facemenu.el (facemenu-add-new-face):
2457 * lisp/faces.el (face-documentation, read-face-name)
2458 (face-read-string, read-face-font, describe-face):
2459 * lisp/files.el (find-alternate-file, hack-local-variables)
2460 (hack-one-local-variable--obsolete, write-file)
2461 (basic-save-buffer, delete-directory):
2462 * lisp/format.el (format-write-file, format-find-file)
2463 (format-insert-file):
2464 * lisp/help-fns.el (help-fns--key-bindings)
2465 (help-fns--compiler-macro, help-fns--obsolete)
2466 (help-fns--interactive-only, describe-function-1)
2467 (describe-variable):
2468 * lisp/help.el (describe-mode):
2469 * lisp/info-xref.el (info-xref-output):
2470 * lisp/info.el (Info-virtual-index-find-node)
2471 (Info-virtual-index, info-apropos):
2472 * lisp/international/kkc.el (kkc-error):
2473 * lisp/international/mule-cmds.el:
2474 (select-safe-coding-system-interactively)
2475 (select-safe-coding-system, describe-input-method):
2476 * lisp/international/mule-conf.el (code-offset):
2477 * lisp/international/mule-diag.el (describe-character-set)
2478 (list-input-methods-1):
2479 * lisp/international/quail.el (quail-error):
2480 * lisp/minibuffer.el (minibuffer-message):
2481 * lisp/mpc.el (mpc--debug):
2482 * lisp/msb.el (msb--choose-menu):
2483 * lisp/net/ange-ftp.el (ange-ftp-message):
2484 * lisp/net/gnutls.el (gnutls-message-maybe):
2485 * lisp/net/newst-backend.el (newsticker--sentinel-work):
2486 * lisp/net/newst-treeview.el (newsticker--treeview-load):
2487 * lisp/net/nsm.el (nsm-query-user):
2488 * lisp/net/rlogin.el (rlogin):
2489 * lisp/net/soap-client.el (soap-warning):
2490 * lisp/net/tramp.el (tramp-debug-message):
2491 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
2492 * lisp/nxml/nxml-parse.el (nxml-parse-error):
2493 * lisp/nxml/rng-cmpct.el (rng-c-error):
2494 * lisp/nxml/rng-match.el (rng-compile-error):
2495 * lisp/nxml/rng-uri.el (rng-uri-error):
2496 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
2497 * lisp/org/org-ctags.el:
2498 (org-ctags-ask-rebuild-tags-file-then-find-tag):
2499 * lisp/proced.el (proced-log):
2500 * lisp/progmodes/ebnf2ps.el (ebnf-log):
2501 * lisp/progmodes/flymake.el (flymake-log):
2502 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
2503 * lisp/replace.el (occur-1):
2504 * lisp/simple.el (execute-extended-command)
2505 (undo-outer-limit-truncate, define-alternatives):
2506 * lisp/startup.el (command-line):
2507 * lisp/subr.el (error, user-error, add-to-list):
2508 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
2509 (tutorial--find-changed-keys):
2510 * src/callint.c (Fcall_interactively):
2511 * src/editfns.c (Fmessage, Fmessage_box):
2512 Restyle the quotes of format strings intended for use as a
2513 diagnostic, when restyling seems appropriate.
2514 * lisp/subr.el (format-message): New function.
2515 * src/doc.c (Finternal__text_restyle): New function.
2516 (syms_of_doc): Define it.
2517
2518 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
2519
2520 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
2521
2522 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2523
2524 python.el: Fix python-shell-buffer-substring on indented code
2525 (Bug#21086)
2526 * lisp/progmodes/python.el (python-shell-buffer-substring):
2527 Respect current line indentation when calculating string.
2528 * test/automated/python-tests.el
2529 (python-shell-buffer-substring-10)
2530 (python-shell-buffer-substring-11)
2531 (python-shell-buffer-substring-12): New tests.
2532
2533 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
2534
2535 Fix minor glitches from ‘format’ reversion
2536 * doc/lispref/strings.texi (Formatting Strings):
2537 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
2538 Documentation’, not below.
2539 * src/syntax.c (Finternal_describe_syntax_value):
2540 Prefer AUTO_STRING to build_string where either will do, as
2541 AUTO_STRING is a bit faster.
2542
2543 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2544
2545 python.el: Defer shell setup code until first interactive prompt
2546 * lisp/progmodes/python.el
2547 (python-shell-comint-watch-for-first-prompt-output-filter): New
2548 function.
2549 (inferior-python-mode): Use it.
2550 (python-shell-first-prompt-hook): New hook.
2551 (python-shell-send-setup-code)
2552 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
2553 this hook instead of inferior-python-hook.
2554
2555 2015-08-23 Nicolas Petton <nicolas@petton.fr>
2556
2557 Remove the calls to `seq-into` from `seq-concatenate`
2558 Since most new types of seq would have to be defined as sequences (cons
2559 cells or CL structs, mostly), there is no need to convert the seqs to
2560 sequences (which can be a fairly expensive operation).
2561 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
2562 sequences.
2563
2564 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2565
2566 python.el: Fix completion for pdb interactions
2567 * lisp/progmodes/python.el (python-shell-completion-setup-code):
2568 Simplify. Toggle print_mode for native wrapped completer.
2569 (python-shell-completion-native-setup): Ensure process buffer.
2570 Add print_mode attribute to completer wrapper to toggle returning
2571 or printing candidates.
2572 (python-shell-completion-native-get-completions): Cleanup.
2573 (python-shell-completion-get-completions): Cleanup.
2574 (python-shell-completion-at-point): Perform prompt checks. Force
2575 fallback completion in pdb interactions.
2576
2577 2015-08-23 Nicolas Petton <nicolas@petton.fr>
2578
2579 Make seq.el more extensible by using cl-defmethod
2580 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
2581 make it easier to extend seq.el with new "seq types".
2582 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
2583 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
2584 subseq in cl-extra.el, and use it in seq.el.
2585
2586 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
2587
2588 python.el: Fix prompt detection with user overridden interpreter
2589 * lisp/progmodes/python.el (python-shell-prompt-detect): Honor
2590 buffer local python-shell-interpreter and
2591 python-shell-interpreter-interactive-arg.
2592
2593 2015-08-23 Eli Zaretskii <eliz@gnu.org>
2594
2595 Support exec-directory with non-ASCII characters on Windows
2596 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
2597 in the system's ANSI codepage, when it is used for invoking
2598 cmdproxy.
2599
2600 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
2601
2602 Revert "Extend ‘format’ to translate curved quotes"
2603 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
2604
2605 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
2606 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
2607
2608 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
2609
2610 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers): Clarify
2611 "invisible window".
2612
2613 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
2614
2615 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
2616 magic-fallback-mode-alist.
2617
2618 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
2619
2620 python.el: fallback completion, ffap and eldoc setup enhancements
2621 Setup codes are now sent continuously so that the current frame is
2622 always taken into account. This allows working within debuggers
2623 and always keeping a fresh version of setup codes that will return
2624 proper results.
2625 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
2626 (python-shell-send-setup-code): Send code only when
2627 python-shell-setup-codes is non-nil.
2628 (python-shell-completion-string-code): Cleanup trailing newline.
2629 (python-shell-completion-get-completions): Always use
2630 python-shell-completion-setup-code.
2631 (python-ffap-setup-code): Work with any object, not only modules.
2632 (python-ffap-string-code): Cleanup trailing newline.
2633 (python-ffap-module-path): Always use python-ffap-setup-code.
2634 (python-eldoc-string-code): Cleanup trailing newline.
2635 (python-eldoc--get-doc-at-point): Always use
2636 python-eldoc-setup-code. Return non-nil only if docstring is
2637 found.
2638
2639 python.el: Increase native completion robustness.
2640 * lisp/progmodes/python.el (python-shell-completion-native-setup):
2641 Make completer print real candidates and just return dummy ones to
2642 avoid input modification.
2643 (python-shell-completion-native-get-completions): Set
2644 comint-redirect-insert-matching-regexp to non-nil and make
2645 comint-redirect-finished-regexp match the last dummy candidate.
2646 Use python-shell-accept-process-output to wait for the full list
2647 of candidates.
2648
2649 2015-08-22 Eli Zaretskii <eliz@gnu.org>
2650
2651 Fix invocation of programs via cmdproxy.exe
2652 * src/w32proc.c (sys_spawnve): Use exec-directory, not
2653 invocation-directory, for finding cmdproxy.exe. When Emacs is
2654 run from the source tree, look for cmdproxy.exe in the same source
2655 tree. (Bug#21323)
2656
2657 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
2658
2659 Handle comments inside unquoted URIs in css-mode
2660 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
2661 (css-syntax-propertize-function): New defconst.
2662 (css--font-lock-keywords): Handle parens around unquoted URIs.
2663 (css-mode): Set `syntax-propertize-function'.
2664
2665 2015-08-22 Eli Zaretskii <eliz@gnu.org>
2666
2667 Support invocation of Hunspell with multiple dictionaries
2668 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file): Support
2669 lists of dictionaries of the form "DICT1,DICT2,...".
2670 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
2671
2672 Minor formatting changes in ispell.el
2673 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
2674 (ispell-print-if-debug, ispell-aspell-find-dictionary)
2675 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
2676 (ispell-hunspell-dictionary-alist)
2677 (ispell-hunspell-fill-dictionary-entry)
2678 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
2679 (ispell-buffer-with-debug, ispell-complete-word)
2680 (ispell-current-dictionary, ispell-current-personal-dictionary)
2681 (ispell-accept-output, ispell-minor-mode)
2682 (ispell-personal-dictionary, ispell-dictionary-alist)
2683 (ispell-really-aspell, ispell-really-hunspell)
2684 (ispell-encoding8-command, ispell-aspell-supports-utf8)
2685 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
2686 Fix whitespace, inconsistent capitalization, and arguments in doc
2687 strings.
2688
2689 2015-08-22 Martin Rudalics <rudalics@gmx.at>
2690
2691 In ‘adjust-window-trailing-edge’ fix bug with size-preserved windows.
2692 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
2693 function refused to resize a size-preserved window.
2694
2695 2015-08-22 Eli Zaretskii <eliz@gnu.org>
2696
2697 Improve documentation of 'window-use-time'
2698 * doc/lispref/windows.texi (Selecting Windows): Improve
2699 documentation and indexing of 'window-use-time'.
2700
2701 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * lisp/progmodes/cc-*.el: Fix up commenting style
2704 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
2705 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
2706 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
2707 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
2708 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
2709 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
2710 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
2711 Fix up commenting style.
2712
2713 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
2714
2715 text-quoting-style in emacs-lisp diagnostics
2716 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
2717 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
2718 (ad-disable-advice, ad-remove-advice, ad-set-argument)
2719 (ad-set-arguments):
2720 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
2721 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
2722 (byte-optimize-while, byte-optimize-apply):
2723 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
2724 (byte-compile-log-file, byte-compile-format-warn)
2725 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
2726 (byte-compile-cl-warn)
2727 (byte-compile-warn-about-unresolved-functions)
2728 (byte-compile-file, byte-compile-fix-header)
2729 (byte-compile--declare-var, byte-compile-file-form-defmumble)
2730 (byte-compile-form, byte-compile-normal-call)
2731 (byte-compile-variable-ref, byte-compile-variable-set)
2732 (byte-compile-subr-wrong-args, byte-compile-setq-default)
2733 (byte-compile-negation-optimizer)
2734 (byte-compile-condition-case--old)
2735 (byte-compile-condition-case--new, byte-compile-save-excursion)
2736 (byte-compile-defvar, byte-compile-autoload)
2737 (byte-compile-lambda-form)
2738 (byte-compile-make-variable-buffer-local, display-call-tree)
2739 (batch-byte-compile):
2740 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
2741 (cconv-analyze-form):
2742 * lisp/emacs-lisp/chart.el (chart-space-usage):
2743 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
2744 (check-declare-warn, check-declare-file)
2745 (check-declare-directory):
2746 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
2747 (checkdoc-message-text-engine):
2748 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
2749 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
2750 (cl-symbol-macrolet):
2751 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
2752 * lisp/emacs-lisp/copyright.el (copyright)
2753 (copyright-update-directory):
2754 * lisp/emacs-lisp/edebug.el (edebug-read-list):
2755 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
2756 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
2757 (eieio-oref, eieio-oset-default):
2758 * lisp/emacs-lisp/eieio-speedbar.el:
2759 (eieio-speedbar-child-make-tag-lines)
2760 (eieio-speedbar-child-description):
2761 * lisp/emacs-lisp/eieio.el (defclass, change-class):
2762 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
2763 (elint-init-form, elint-check-defalias-form)
2764 (elint-check-let-form):
2765 * lisp/emacs-lisp/ert.el (ert-get-test):
2766 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
2767 (find-function-library):
2768 * lisp/emacs-lisp/generator.el (iter-yield):
2769 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
2770 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
2771 * lisp/emacs-lisp/package-x.el (package-upload-file):
2772 * lisp/emacs-lisp/package.el (package-version-join)
2773 (package-disabled-p, package-activate-1, package-activate)
2774 (package--download-one-archive)
2775 (package--download-and-read-archives)
2776 (package-compute-transaction, package-install-from-archive)
2777 (package-install, package-install-selected-packages)
2778 (package-delete, package-autoremove)
2779 (package-install-button-action, package-delete-button-action)
2780 (package-menu-hide-package, package-menu--list-to-prompt)
2781 (package-menu--perform-transaction)
2782 (package-menu--find-and-notify-upgrades):
2783 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
2784 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
2785 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
2786 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
2787 * lisp/emacs-lisp/smie.el (smie-config-save):
2788 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
2789 * lisp/emacs-lisp/testcover.el (testcover-1value):
2790 Use curved quotes in diagnostic format strings.
2791
2792 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2793
2794 python.el: Ensure remote process-environment on non-interactive processes
2795 * lisp/progmodes/python.el
2796 (python-shell-tramp-refresh-process-environment): New function.
2797 (python-shell-with-environment): Use it.
2798 * test/automated/python-tests.el (python-shell-with-environment-2): Update.
2799
2800 python.el: Enhancements to process environment setup.
2801 * lisp/progmodes/python.el (python-shell-process-environment)
2802 (python-shell-extra-pythonpaths, python-shell-exec-path)
2803 (python-shell-virtualenv-root): Update docstring. Remove :safe.
2804 (python-shell-setup-codes): Remove :safe.
2805 (python-shell-remote-exec-path): New defcustom.
2806 (python-shell--add-to-path-with-priority): New macro.
2807 (python-shell-calculate-pythonpath): Give priority to
2808 python-shell-extra-pythonpaths. Update docstring.
2809 (python-shell-calculate-process-environment): Give priority to
2810 python-shell-process-environment. Update docstring.
2811 (python-shell-calculate-exec-path): Give priority to
2812 python-shell-exec-path and calculated virtualenv bin directory.
2813 Update docstring.
2814 (python-shell-tramp-refresh-remote-path): New function.
2815 (python-shell-with-environment): Use it when working remotely and
2816 do not modify tramp-remote-path. Allow nesting.
2817 (python-shell-calculate-command): Remove useless
2818 python-shell-with-environment call.
2819 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
2820 (python-shell-calculate-pythonpath-2)
2821 (python-shell-calculate-process-environment-6)
2822 (python-shell-calculate-process-environment-7)
2823 (python-shell-calculate-process-environment-8)
2824 (python-shell-calculate-exec-path-3)
2825 (python-shell-calculate-exec-path-4)
2826 (python-shell-calculate-exec-path-5)
2827 (python-shell-calculate-exec-path-6)
2828 (python-shell-with-environment-3): New tests.
2829 (python-shell-calculate-process-environment-2)
2830 (python-shell-calculate-process-environment-3)
2831 (python-shell-calculate-process-environment-4)
2832 (python-shell-calculate-process-environment-5)
2833 (python-shell-calculate-exec-path-1)
2834 (python-shell-calculate-exec-path-2)
2835 (python-shell-with-environment-1)
2836 (python-shell-with-environment-2): Update and simplify.
2837
2838 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
2839
2840 Avoid hard-coding "M-x command" in docstrings
2841 * lisp/calendar/todo-mode.el (todo-mode):
2842 * lisp/desktop.el (desktop-save-mode):
2843 * lisp/edmacro.el (edit-kbd-macro):
2844 * lisp/emacs-lisp/package.el (package-menu-execute):
2845 * lisp/emulation/viper-cmd.el (viper-ask-level):
2846 * lisp/emulation/viper-init.el (viper-expert-level):
2847 * lisp/filesets.el (filesets-add-buffer):
2848 * lisp/follow.el (follow-mode):
2849 * lisp/gnus/auth-source.el (auth-sources):
2850 * lisp/international/ogonek.el (ogonek-informacja)
2851 (ogonek-information):
2852 * lisp/net/tramp.el (tramp-process-actions):
2853 * lisp/org/org-gnus.el (org-gnus-no-new-news):
2854 * lisp/org/org.el (org-ellipsis):
2855 * lisp/progmodes/python.el (python-shell-get-process-or-error):
2856 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
2857 * lisp/server.el (server-start):
2858 * lisp/type-break.el (type-break-noninteractive-query):
2859 * lisp/userlock.el (ask-user-about-supersession-help):
2860 * lisp/whitespace.el (whitespace-report-region):
2861 Prefer (substitute-command-keys "`\\[foo-command]'")
2862 to "`M-x foo-command'" in docstrings and the like.
2863
2864 2015-08-21 Tassilo Horn <tsdh@gnu.org>
2865
2866 Use add-function for prettify-symbols-compose-predicate
2867 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
2868 prettify-symbols-compose-predicate in terms of add-function.
2869 * etc/NEWS: Mention prettify-symbols-compose-predicate and
2870 prettify-symbols-mode support in tex-mode.
2871
2872 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun
2875 (smie-indent-exps, smie-indent-keyword): Use it.
2876 * test/indent/css-mode.css: Test alignment with leading comment.
2877
2878 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
2879
2880 Respect text-quoting-style in (*Finder*) menus
2881 * lisp/info.el (info--prettify-description):
2882 Treat description as a docstring, so that it's requoted as
2883 per text-quoting-style.
2884
2885 2015-08-21 Martin Rudalics <rudalics@gmx.at>
2886
2887 Document `window-use-time' in Elisp manual
2888 * doc/lispref/windows.texi (Selecting Windows): Document `window-use-time'.
2889
2890 2015-08-21 Eli Zaretskii <eliz@gnu.org>
2891
2892 A better fix for bug#21303
2893 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600. This is a
2894 cleaner fix for Bug#21260 than the previous change.
2895
2896 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
2897
2898 Respect text-quoting-style in calc
2899 In calc, tespect text-quoting-style preference in diagnostic
2900 formats and fix a few similar problems in docstrings.
2901 * lisp/calc/calc-aent.el (math-read-factor):
2902 * lisp/calc/calc-embed.el (calc-do-embedded):
2903 * lisp/calc/calc-ext.el (calc-user-function-list)
2904 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
2905 * lisp/calc/calc-help.el (calc-describe-key)
2906 (calc-describe-thing):
2907 * lisp/calc/calc-lang.el (calc-c-language)
2908 (math-parse-fortran-vector-end, math-parse-tex-sum)
2909 (math-parse-eqn-matrix, math-parse-eqn-prime)
2910 (calc-yacas-language, calc-maxima-language, calc-giac-language)
2911 (math-read-big-rec, math-read-big-balance):
2912 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
2913 (calc-auto-recompute):
2914 * lisp/calc/calc-prog.el (calc-user-define-invocation)
2915 (math-do-arg-check):
2916 * lisp/calc/calc-store.el (calc-edit-variable):
2917 * lisp/calc/calc-units.el (math-build-units-table-buffer):
2918 * lisp/calc/calc-vec.el (math-read-brackets):
2919 * lisp/calc/calc-yank.el (calc-edit-mode):
2920 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
2921 Use curved quotes in diagnostic format strings.
2922 * lisp/calc/calc-help.el (calc-describe-thing):
2923 Format docstrings with substitute-command-keys.
2924 * lisp/calc/calc-help.el (calc-j-prefix-help):
2925 * lisp/calc/calc-misc.el (calc-help):
2926 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
2927 Escape a docstring "`".
2928
2929 2015-08-21 Eli Zaretskii <eliz@gnu.org>
2930
2931 Fix documentation of 'menu-set-font' and 'set-frame-font'
2932 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
2933 * doc/lispref/frames.texi (Frame Font): Document that
2934 set-frame-font with the last argument 't' will also make the font
2935 the default for the future GUI frames.
2936
2937 Document '--create-frame' option to emacsclient
2938 * doc/emacs/misc.texi (emacsclient Options): Document the
2939 '--create-frame' option. (Bug#21308)
2940
2941 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
2944
2945 2015-08-21 Eli Zaretskii <eliz@gnu.org>
2946
2947 Document 'get-mru-window' in the ELisp manual
2948 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
2949 'get-mru-window'. (Bug#21306)
2950
2951 Clarify documentation of 'get-buffer-window-list'
2952 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
2953 current window, if relevant, will be the first in the list
2954 returned by 'get-buffer-window-list'.
2955 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
2956
2957 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
2958
2959 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
2960 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
2961 `switch-to-buffer'.
2962
2963 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
2964
2965 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
2966 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
2967 `display-buffer' instead of `switch-to-buffer'.
2968
2969 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
2970
2971 Follow user preference in calendar diagnostics
2972 Respect text-quoting-style preference in diagnostic formats by
2973 using curved quotes (which are translated as per text-quoting-style)
2974 instead of grave accent and apostrophe (which are not).
2975 * lisp/calendar/appt.el (appt-display-message):
2976 * lisp/calendar/diary-lib.el (diary-check-diary-file)
2977 (diary-mail-entries, diary-from-outlook):
2978 * lisp/calendar/icalendar.el (icalendar-export-region)
2979 (icalendar--convert-float-to-ical)
2980 (icalendar--convert-date-to-ical)
2981 (icalendar--convert-ical-to-diary)
2982 (icalendar--convert-recurring-to-diary)
2983 (icalendar--add-diary-entry):
2984 * lisp/calendar/time-date.el (format-seconds):
2985 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
2986 (timeclock-make-hours-explicit):
2987 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
2988 (todo-item-mark, todo-check-format)
2989 (todo-insert-item--next-param, todo-edit-item--next-key)
2990 (todo-mode):
2991 Use curved quotes in diagnostic format strings.
2992 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
2993 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
2994 Just use straight quoting for simple test case.
2995
2996 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
2997
2998 * src/gfilenotify.c (Fgfile_add_watch):
2999 Handle errors from g_file_monitor.
3000
3001 2015-08-21 Martin Rudalics <rudalics@gmx.at>
3002
3003 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
3004 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
3005 frame" instead of "non-minibuffer frame".
3006
3007 Fix frame geometry related text
3008 * doc/lispref/frames.texi (Frame Layout): Rename
3009 `x-frame-geometry' to `frame-geometry'.
3010 * doc/lispref/frames.texi (Mouse Position):
3011 * doc/lispref/windows.texi (Coordinates and Windows): Use
3012 `set-mouse-absolute-pixel-position' instead of
3013 `x-set-mouse-absolute-pixel-position'.
3014
3015 Sanitize frame geometry related functions
3016 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
3017 (Fx_frame_edges): Rename to Fns_frame_edges.
3018 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
3019 (Fx_frame_edges): Rename to Fw32_frame_edges.
3020 (Fx_mouse_absolute_pixel_position): Rename to
3021 Fw32_mouse_absolute_pixel_position.
3022 (Fx_set_mouse_absolute_pixel_position): Rename to
3023 Fw32_set_mouse_absolute_pixel_position.
3024 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
3025 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
3026 (ns-frame-edges, w32-mouse-absolute-pixel-position)
3027 (x-mouse-absolute-pixel-position)
3028 (w32-set-mouse-absolute-pixel-position)
3029 (x-set-mouse-absolute-pixel-position): Declare.
3030 (frame-geometry, mouse-absolute-pixel-position)
3031 (set-mouse-absolute-pixel-position): New functions.
3032 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
3033
3034 2015-08-21 Eli Zaretskii <eliz@gnu.org>
3035
3036 Fix MinGW64 build broken by latest w32uniscribe.c changes
3037 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
3038 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3039 (Bug#21260)
3040
3041 2015-08-21 Tassilo Horn <tsdh@gnu.org>
3042
3043 Add TeX defaults for prettify-symbol-mode
3044 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Rename
3045 from tex-prettify-symbols-alist.
3046 (tex--prettify-symbols-compose-p): New function.
3047 (tex-common-initialization): Use them as prettify-symbols-alist
3048 and prettify-symbols-compose-predicate.
3049
3050 Generalize prettify-symbols to arbitrary modes
3051 * lisp/progmodes/prog-mode.el
3052 (prettify-symbols-default-compose-p): New function.
3053 (prettify-symbols-compose-predicate): New variable.
3054 (prettify-symbols--compose-symbol): Use it.
3055
3056 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
3057
3058 Don't quote symbols 'like-this' in docstrings etc.
3059 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
3060 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
3061 * lisp/allout.el (allout-add-resumptions, allout-mode):
3062 * lisp/calculator.el (calculator-operators):
3063 * lisp/cedet/data-debug.el (dd-propertize):
3064 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
3065 * lisp/cedet/semantic/analyze/debug.el:
3066 (semantic-analyzer-debug-global-miss-text):
3067 * lisp/cedet/semantic/lex-spp.el:
3068 (semantic-lex-spp-replace-or-symbol-or-keyword):
3069 * lisp/cedet/semantic/symref.el:
3070 (semantic-symref-cleanup-recent-buffers-fcn):
3071 * lisp/cedet/semantic/tag.el (semantic-tag-class):
3072 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
3073 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
3074 * lisp/gnus/pop3.el (pop3-authentication-scheme):
3075 * lisp/help-fns.el (describe-function-orig-buffer):
3076 * lisp/imenu.el (imenu--history-list):
3077 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
3078 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
3079 (feedmail-queue-default-file-slug)
3080 (feedmail-queue-buffer-file-name):
3081 * lisp/net/mairix.el (mairix-searches-mode-map):
3082 * lisp/net/newst-backend.el (newsticker-retrieval-method)
3083 (newsticker-auto-mark-filter-list):
3084 * lisp/obsolete/vi.el (vi-mode):
3085 * lisp/progmodes/cc-engine.el (c-literal-type):
3086 * lisp/progmodes/cpp.el (cpp-face):
3087 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
3088 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
3089 * lisp/progmodes/pascal.el (pascal-auto-lineup):
3090 * lisp/progmodes/prog-mode.el (prog-widen):
3091 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
3092 (verilog-auto-lineup, verilog-auto-reset-widths)
3093 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
3094 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
3095 (flyspell-maybe-correct-doubling):
3096 * lisp/textmodes/table.el (table-justify, table-justify-cell)
3097 (table-justify-row, table-justify-column, table-insert-sequence)
3098 (table--justify-cell-contents):
3099 * lisp/url/url-auth.el (url-get-authentication):
3100 * lisp/window.el (display-buffer-record-window):
3101 * lisp/xml.el (xml-parse-file, xml-parse-region):
3102 * src/gfilenotify.c (Fgfile_add_watch):
3103 Don't quote symbols with apostrophes in doc strings.
3104 Use asymmetric quotes instead.
3105 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
3106 Likewise for symbol in diagnostic.
3107 * lisp/image.el (image-extension-data):
3108 * lisp/register.el (frame-configuration-to-register):
3109 * src/buffer.c (syms_of_buffer):
3110 Remove bogus apostrophes after symbols.
3111 * lisp/thumbs.el (thumbs-conversion-program):
3112 Quote Lisp string values using double-quotes, not apostrophes.
3113
3114 2015-08-20 Martin Rudalics <rudalics@gmx.at>
3115
3116 Describe frame geometry and related functions in Elisp manual
3117 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
3118 (Showing Images): Update references.
3119 * doc/lispref/elisp.texi (Top): Update node listing.
3120 * doc/lispref/frames.texi (Frame Geometry): New node. Move
3121 `Size and Position' section here.
3122 (Size Parameters): Update references.
3123 (Mouse Position): Update references and nomenclature. Describe
3124 new functions `x-mouse-absolute-pixel-position' and
3125 `x-set-mouse-absolute-pixel-position'.
3126 * doc/lispref/windows.texi (Window Sizes): Update references.
3127 (Resizing Windows): Update references. Move description of
3128 `fit-frame-to-buffer' here.
3129 (Coordinates and Windows): Update nomenclature and references.
3130 Describe new arguments of `window-edges'. Comment out
3131 descriptions of `window-left-column', `window-top-line',
3132 `window-pixel-left' and `window-pixel-top'. Describe
3133 `window-absolute-pixel-position'.
3134
3135 2015-08-20 Alan Mackenzie <acm@muc.de>
3136
3137 Handling of `c-parse-state'. Fix low level bug.
3138 progmodes/cc-engine.el (c-remove-stale-state-cache-backwards): Add
3139 "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
3140
3141 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
3142
3143 In `widget-color--choose-action' quit *Color* window instead of deleting it
3144 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
3145 window instead of deleting it.
3146
3147 2015-08-20 Martin Rudalics <rudalics@gmx.at>
3148
3149 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
3150 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
3151 determine whether frame has a titlebar.
3152 Suggested by Eli Zaretskii <eliz@gnu.org>
3153
3154 2015-08-20 Tassilo Horn <tsdh@gnu.org>
3155
3156 Add a prettify-symbols-alist for (La)TeX
3157 * tex-mode.el (tex-prettify-symbols-alist): New variable holding
3158 an alist suitable as prettify-symbols-alist in (La)TeX modes.
3159
3160 2015-08-19 Alan Mackenzie <acm@muc.de>
3161
3162 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
3163 Fixes debbugs#21275.
3164 In Emacs >= 25, let electric-pair-mode take precedence over
3165 delete-selection-mode.
3166 delsel.el (delete-selection-uses-region-p): New function, previously a
3167 lambda expression in a property value for `self-insert-command'.
3168 (top-level) Set the `delete-selection' property of `self-insert-command'
3169 to `delete-selection-uses-region-p'.
3170 progmodes/cc-cmds.el (top-level): Give the `delete-selection' property
3171 for c-electric-\(brace\|paren\) the value `delete-selection-uses-region-p'
3172 when the latter function exists.
3173
3174 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
3175
3176 Fix key binding quoting in tutorial *Help*
3177 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
3178 When generating help for custom key bindings, use the user-preferred
3179 quoting style rather than hardcoding the grave style.
3180
3181 2015-08-19 Eli Zaretskii <eliz@gnu.org>
3182
3183 Improve and future-proof OTF fonts support in w32uniscribe.c
3184 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
3185 about the expected results and why the new Uniscribe APIs are not
3186 used in this function.
3187 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
3188 (ScriptGetFontFeatureTags_Proc): New function typedefs.
3189 (uniscribe_new_apis): New static variable.
3190 (uniscribe_check_features): New function, implements OTF features
3191 verification while correctly accounting for features in the list
3192 after the nil member, if any.
3193 (uniscribe_check_otf_1): New function, retrieves the features
3194 supported by the font for the requested script and language using
3195 the Uniscribe APIs available from Windows Vista onwards.
3196 (uniscribe_check_otf): If the new Uniscribe APIs are available,
3197 use them in preference to reading the font data directly. Call
3198 uniscribe_check_features to verify that the requested features are
3199 supported, replacing the original incomplete code.
3200 (syms_of_w32uniscribe): Initialize function pointers for the new
3201 Uniscribe APIs. (Bug#21260)
3202 (otf_features): Scan the script, langsys, and feature arrays back
3203 to front, so that the result we return has them in alphabetical
3204 order, like ftfont.c does.
3205 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
3206 New variable for debugging w32uniscribe.c code.
3207
3208 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
3209
3210 * isearch.el (isearch-search-fun-default): Revert a5bdb87
3211 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
3212 clause of `isearch-search-fun-default'. That lax variable does not
3213 refer to lax-whitespacing. Related to (bug#21777).
3214 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
3215 * character-fold.el (character-fold-search): Set to nil
3216 Default to nil for now, until someone implements proper
3217 lax-whitespacing with char-fold searching.
3218
3219 2015-08-19 Martin Rudalics <rudalics@gmx.at>
3220
3221 Fix doc-string of `help-mode-finish'.
3222 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
3223
3224 In nsimage.m include coding.h (Bug#21292)
3225 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
3226
3227 Move window edge functions to Elisp.
3228 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
3229 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
3230 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
3231 Move to window.el.
3232 (calc_absolute_offset): Remove.
3233 * lisp/frame.el (frame-edges): New function.
3234 * lisp/window.el (window-edges, window-pixel-edges)
3235 (window-absolute-pixel-edges): Move here from window.c.
3236 (window-body-edges, window-body-pixel-edges)
3237 (window-absolute-body-pixel-edges): Move here from window.c and
3238 rename "inside" to "body". Keep old names as aliases.
3239 (window-absolute-pixel-position): New function.
3240
3241 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
3242
3243 [Gnus]: Use overlay functions directly
3244 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
3245 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
3246 (gnus-article-highlight-signature, gnus-article-extend-url-button)
3247 (gnus-article-add-button, gnus-insert-prev-page-button)
3248 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
3249 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
3250 (gnus-cite-add-face):
3251 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
3252 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
3253 (gnus-tree-recenter, gnus-highlight-selected-tree):
3254 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
3255 (gnus-summary-show-thread, gnus-summary-hide-thread)
3256 (gnus-highlight-selected-summary):
3257 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
3258 * lisp/gnus/message.el (message-fix-before-sending)
3259 (message-toggle-image-thumbnails):
3260 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
3261 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
3262 Use overlay functions directly instead of using gnus-overlay-*,
3263 message-overlay-*, and sieve-overlay-*.
3264 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
3265 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
3266 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
3267 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
3268 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
3269 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
3270 (message-overlay-get, message-overlay-put, message-overlays-in):
3271 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
3272 (sieve-overlays-at):
3273 Remove.
3274
3275 2015-08-19 Martin Rudalics <rudalics@gmx.at>
3276
3277 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version.
3278 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
3279 builds can use the declaration from the system headers.
3280 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
3281 definition of TITLEBAR_INFO.
3282 Suggested by Eli Zaretskii <eliz@gnu.org>
3283
3284 2015-08-19 Glenn Morris <rgm@gnu.org>
3285
3286 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
3287
3288 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
3289
3290 Use new q ‘format’ flag when fixing quotes in C
3291 * src/image.c (image_size_error): New function. All uses of
3292 image_error with "Invalid image size ..." changed to use it.
3293 * src/image.c (image_size_error, xbm_load_image, xbm_load)
3294 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
3295 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
3296 (imagemagick_load, svg_load, svg_load_image, gs_load)
3297 (x_kill_gs_process):
3298 * src/lread.c (load_warn_old_style_backquotes):
3299 * src/xfaces.c (load_pixmap):
3300 * src/xselect.c (x_clipboard_manager_error_1):
3301 Use %qs, not uLSQM and uRSQM.
3302 * src/syntax.c (Finternal_describe_syntax_value):
3303 Prefer Fsubstitute_command_keys to Fformat, as this lets
3304 us use AUTO_STRING.
3305 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
3306 as it's now guaranteed to be ASCII.
3307 * src/xselect.c (x_clipboard_manager_error_2):
3308 Avoid grave accent in low-level stderr diagnostic.
3309
3310 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
3311
3312 New q flag for ‘format’
3313 * doc/lispref/processes.texi (Sentinels):
3314 Don't hardwire grave quoting style in example.
3315 * doc/lispref/strings.texi (Formatting Strings):
3316 * etc/NEWS:
3317 Document new q flag.
3318 * src/editfns.c (Fformat): Implement it.
3319
3320 2015-08-18 Daiki Ueno <ueno@gnu.org>
3321
3322 pinentry.el: Add debugging support
3323 * lisp/net/pinentry.el (pinentry-debug): New variable.
3324 (pinentry-debug-buffer): New variable.
3325 (pinentry--process-filter): Send input to the debug buffer, if
3326 `pinentry-debug' is set.
3327
3328 pinentry.el: Improve multiline prompt
3329 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
3330 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
3331 command.
3332
3333 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
3334
3335 Fix multibyte confusion in diagnostics
3336 * src/print.c (print_error_message):
3337 Don't assume that the caller's name is unibyte.
3338 * src/xdisp.c (vadd_to_log):
3339 Don't assume that the formatted diagnostic is unibyte.
3340
3341 Fix file name encodings in diagnostics
3342 Also, close some minor races when opening image files, by opening
3343 them once instead of multiple times.
3344 * src/gtkutil.c (xg_get_image_for_pixmap):
3345 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
3346 (svg_load):
3347 * src/nsimage.m (allocInitFromFile:):
3348 * src/xfns.c (xg_set_icon):
3349 Encode file name, since x_find_image_file no longer does that.
3350 * src/image.c (x_find_image_fd): New function.
3351 (x_find_image_file): Use it. Do not encode resulting file name,
3352 since callers sometimes need it decoded.
3353 (slurp_file): File arg is now a fd, not a file name.
3354 All callers changed. This saves us having to open the file twice.
3355 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
3356 (svg_load):
3357 Use x_find_image_fd and fdopen to save a file-open.
3358 Report file name that failed.
3359 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
3360
3361 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
3362
3363 Allow blink-matching-paren to jump off screen
3364 * doc/emacs/programs.texi (Matching): Mention the
3365 `blink-matching-paren' value `jump-offscreen'.
3366 * lisp/simple.el (blink-matching-paren): New possible value.
3367 (blink-matching-paren-on-screen): Clarify the docstring.
3368 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
3369
3370 Refine the previous change
3371 * lisp/simple.el (blink-matching-open): Use minibuffer-message
3372 outside of save-excursion (bug#21286).
3373
3374 2015-08-18 Martin Rudalics <rudalics@gmx.at>
3375
3376 Rewrite and add frame geometry related functions.
3377 * src/frame.c (Fframe_position): New function.
3378 (Fset_frame_position): Rename parameters and rewrite doc-string.
3379 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
3380 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
3381 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
3382 Qtitle_bar_size.
3383 * src/nsfns.m (frame_geometry): New function.
3384 (Fx_frame_geometry): Call frame_geometry.
3385 (Fx_frame_edges): New function.
3386 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
3387 (GetTitleBarInfo_Proc): Define these so we can use the
3388 GetTitleBarInfo API.
3389 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
3390 (Fx_frame_geometry): Rewrite.
3391 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
3392 (Fx_set_mouse_absolute_pixel_position): New functions.
3393 * src/xfns.c (frame_geometry): New function.
3394 (Fx_frame_geometry): Call frame_geometry.
3395 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
3396 (Fx_set_mouse_absolute_pixel_position): New functions.
3397
3398 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
3399
3400 Improve Tramp's compatibility
3401 * lisp/net/tramp.el (tramp-get-method-parameter):
3402 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
3403 (tramp-adb-get-device):
3404 * lisp/net/trampver.el (tramp-repository-get-version):
3405 Use `tramp-compat-replace-regexp-in-string'.
3406
3407 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
3408
3409 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
3410 Encode/decode string.
3411
3412 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
3413
3414 Clarify what happens to match data on failure
3415 Problem reported by Ernesto Alfonso (Bug#21279).
3416 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
3417 Document more carefully what happens to match data after a failed
3418 search.
3419 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
3420 the return value is undefined if the last search failed.
3421 (Fmatch_data): Simplify doc string line 1.
3422
3423 2015-08-18 Daiki Ueno <ueno@gnu.org>
3424
3425 Revert "pinentry.el: Support external passphrase cache"
3426 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
3427 pinentry.el shouldn't directly interact with the secrets service,
3428 but ask the caller to cache the passphrase.
3429
3430 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
3431
3432 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
3433 Message mode hooks.
3434
3435 2015-08-17 Daiki Ueno <ueno@gnu.org>
3436
3437 epg.el: Make gpgconf output parsing future proof
3438 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
3439 --list-options" output.
3440
3441 pinentry.el: Support external passphrase cache
3442 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
3443 (pinentry--allow-external-password-cache): New local variable.
3444 (pinentry--key-info): New local variable.
3445 (secrets-enabled, secrets-search-items, secrets-get-secret):
3446 Declare.
3447 (pinentry--send-passphrase): New function, split from
3448 `pinentry--process-filter'.
3449 (pinentry--process-filter): Use secrets.el to retrieve passphrase
3450 from login keyring.
3451
3452 pinentry.el: Popup window for multiline prompt
3453 * lisp/net/pinentry.el (pinentry): New custom group.
3454 (pinentry-popup-prompt-window): New user option.
3455 (pinentry-prompt-window-height): New user option.
3456 (pinentry--prompt-buffer): New variable.
3457 (pinentry-prompt-mode-map): New variable.
3458 (pinentry-prompt-mode): New function.
3459 (pinentry--prompt): New function.
3460 (pinentry--process-filter): Use `pinentry--prompt' instead of
3461 `read-passwd' and `y-or-n-p'.
3462
3463 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
3464
3465 message.el: Silent the byte compiler
3466 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
3467 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
3468 (message-delete-overlay, message-window-inside-pixel-edges):
3469 Declare before using.
3470
3471 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
3472 (message-window-inside-pixel-edges): XEmacs compatible functions.
3473
3474 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3475
3476 * message.el (message-toggle-image-thumbnails): New command.
3477
3478 2015-08-17 Noah Friedman <friedman@splode.com>
3479
3480 (blink-matching-open): Restore point before calling minibuffer-message.
3481
3482 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
3483
3484 Update version number in header (now matches help)
3485
3486 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
3487
3488 Curved quotes in --batch diagnostics in non-UTF-8
3489 When run with --batch, check that curved quotes are compatible with
3490 the system locale before outputting them in diagnostics.
3491 Problem reported by Eli Zaretskii in:
3492 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
3493 * lisp/startup.el (command-line): Set internal--text-quoting-flag
3494 after the standard display table is initialized.
3495 * src/doc.c (default_to_grave_quoting_style): New function.
3496 (text_quoting_style): Use it.
3497 (text_quoting_flag): New static var, visible to Lisp as
3498 internal--text-quoting-flag.
3499 * src/emacs.c: Include <wchar.h> if available.
3500 (using_utf8): New function.
3501 (main): Use it to initialize text_quoting_flag.
3502 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
3503 Don't define, as it's not needed and it clashes with wchar.h.
3504
3505 2015-08-17 Glenn Morris <rgm@gnu.org>
3506
3507 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
3508 from makeinfo about spurious "Note:" cross-reference, and for grammar.
3509
3510 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
3511
3512 Minor change in variable initialization on MS-Windows
3513 * src/w32fns.c <after_dead_key>: Initialize to -1.
3514 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
3515 non-zero.
3516
3517 Fix a bug with LWindow key remapping on MS-Windows
3518 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
3519
3520 2015-08-17 Eli Zaretskii <eliz@gnu.org>
3521
3522 Improve fontset support for latest OTF script tags
3523 * lisp/international/fontset.el (otf-script-alist): Add some
3524 missing script tags.
3525 (setup-default-fontset): Include settings for v2 versions of the
3526 script tags used by some modern OTF/TTF fonts.
3527
3528 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
3529
3530 Spelling fixes
3531
3532 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
3533
3534 Use curved quotes in core elisp diagnostics
3535 In the core elisp files, use curved quotes in diagnostic formats,
3536 so that they follow user preference as per ‘text-quoting-style’
3537 rather than being hard-coded to quote `like this'.
3538 * lisp/abbrev.el (expand-region-abbrevs):
3539 * lisp/button.el (button-category-symbol, button-put)
3540 (make-text-button):
3541 * lisp/cus-start.el:
3542 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
3543 (custom--sort-vars-1, load-theme):
3544 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
3545 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
3546 (cl-generic-generalizers):
3547 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
3548 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
3549 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
3550 (advice--make, define-advice):
3551 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
3552 * lisp/emacs-lisp/timer.el (timer-event-handler):
3553 * lisp/env.el (setenv):
3554 * lisp/facemenu.el (facemenu-add-new-face)
3555 (facemenu-add-new-color):
3556 * lisp/faces.el (face-documentation, read-face-name)
3557 (face-read-string, read-face-font, face-spec-set-match-display)
3558 (read-color, x-resolve-font-name):
3559 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
3560 (set-auto-mode, hack-local-variables)
3561 (hack-one-local-variable--obsolete)
3562 (dir-locals-set-directory-class, write-file)
3563 (basic-save-buffer, delete-directory, copy-directory)
3564 (recover-session, recover-session-finish, insert-directory)
3565 (file-modes-char-to-who, file-modes-symbolic-to-number)
3566 (move-file-to-trash):
3567 * lisp/font-lock.el (font-lock-fontify-buffer):
3568 * lisp/format.el (format-write-file, format-find-file)
3569 (format-insert-file):
3570 * lisp/frame.el (get-device-terminal, select-frame-by-name):
3571 * lisp/fringe.el (fringe--check-style):
3572 * lisp/help.el (describe-minor-mode-from-indicator):
3573 * lisp/image.el (image-type):
3574 * lisp/international/fontset.el (x-must-resolve-font-name):
3575 * lisp/international/mule-cmds.el (prefer-coding-system)
3576 (select-safe-coding-system-interactively)
3577 (select-safe-coding-system, activate-input-method)
3578 (toggle-input-method, describe-current-input-method):
3579 * lisp/international/mule-conf.el (code-offset):
3580 * lisp/mouse.el (minor-mode-menu-from-indicator):
3581 * lisp/replace.el (query-replace-read-from)
3582 (occur-after-change-function, occur-1):
3583 * lisp/scroll-bar.el (scroll-bar-columns):
3584 * lisp/simple.el (execute-extended-command)
3585 (undo-outer-limit-truncate, compose-mail, set-variable)
3586 (choose-completion-string, define-alternatives):
3587 * lisp/startup.el (site-run-file, tty-handle-args, )
3588 (command-line, command-line-1):
3589 * lisp/subr.el (noreturn, define-error, add-to-list)
3590 (read-char-choice):
3591 * lisp/term/common-win.el (x-handle-xrm-switch)
3592 (x-handle-name-switch, x-handle-args):
3593 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
3594 Use curved quotes in diagnostics.
3595 * lisp/international/mule.el (find-auto-coding):
3596 Use " to quote in a diagnostic, to be consistent with the rest of
3597 this file.
3598
3599 Convert lisp/term/x-win.el to UTF-8
3600 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
3601 runtime behavior, and the file is multilingual so compile-time
3602 appearance shouldn't be an issue.
3603 * admin/notes/unicode: Document this.
3604
3605 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
3606
3607 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
3608 * losp/progmodes/verilog-mode.el: Fix some non-automated indent
3609 issues and comments, bug943. (verilog-type-font-keywords): Cycle
3610 delay operators like ##1 and ##[0:$] are now highlighted in their
3611 entirety similarly to the # delay-control operator. Likewise, the
3612 followed-by operators #-# and #=# are no longer partially
3613 highlighed. (verilog-backward-syntactic-ws-quick,
3614 verilog-skip-backward-comments): Minor performance improvements to
3615 buffer traversal functions for reduced latency. (verilog-calc-1,
3616 verilog-in-deferred-immediate-final-p): When the keyword 'final'
3617 follows 'assert/assume/cover', then it is part of a deferred
3618 immediate assertion item and should not be treated as a final
3619 construct for indentation. Reported by Yuri Sugihara.
3620 (verilog-do-indent): Virtual task/function/class definition lines
3621 should not be considered as declarations. Reported by Enzo Chi.
3622 (verilog-do-indent): Do not falsely indent to '=' of
3623 property/sequence operators on subsequent lines of a multi-line
3624 statement. (verilog-assignment-operator-re): Fix '!==' operator
3625 and add support for '<->', ':/', '#-#', and '#=#' operators.
3626 (verilog-calculate-indent, verilog-label-be): Enable
3627 case-sensitive regular expression parsing when looking for
3628 keywords. (verilog-calc-1): Detect 'pure virtual method'
3629 declarations which exist in abstract classes. Reported by Enzo
3630 Chi and Kaushal Modi. (verilog-backward-ws&directives): When
3631 moving back to the start of a line and the preceeding line ended
3632 with an escaped-newline, then jump up one line. This properly
3633 consumes a multi-line pre-processor directive. Reported by
3634 Kaushal Modi. (verilog-dpi-import-export-re,
3635 verilog-extended-complete-re, verilog-calc-1): Teach verilog-mode
3636 to properly indent after a DPI import/export statement that
3637 resides outside of a module. Reported by Kaushal Modi.
3638 (verilog-extended-complete-re): Update regexp to match both
3639 "DPI-C" and "DPI". Reported by Kaushal Modi.
3640
3641 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
3642
3643 substitute-command-keys a few more doc strings
3644 * lisp/allout.el (outlineify-sticky):
3645 * lisp/files.el (hack-one-local-variable--obsolete):
3646 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
3647 Use substitute-command-keys on some doc strings so that
3648 they don't use hard-coded key bindings or quoting styles.
3649
3650 Fix quoting in Fformat calls
3651 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
3652 (xpm_load, xpm_load_image, pbm_load, png_load_body)
3653 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
3654 (imagemagick_load, svg_load, svg_load_image, gs_load)
3655 (x_kill_gs_process):
3656 * src/lread.c (load_warn_old_style_backquotes):
3657 * src/xfaces.c (load_pixmap):
3658 * src/xselect.c (x_clipboard_manager_error_1):
3659 Quote diagnostics according to user preference when calling
3660 Fformat or its derivatives.
3661
3662 2015-08-15 Glenn Morris <rgm@gnu.org>
3663
3664 * admin/admin.el (set-version, set-copyright): Remove deleted files.
3665
3666 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
3667
3668 Allow describe-function helpers to access buffer-local values.
3669 This will be used by cedet/mode-local.el `describe-mode-local-override'
3670 on `help-fns-describe-function-functions' in upstream CEDET.
3671 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
3672 `describe-function'.
3673 (describe-function): Bind it, save it on the help xref stack.
3674
3675 Handle pulse-background being nil
3676 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
3677 pulse-background, handle it being nil.
3678
3679 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
3680
3681 Fix "\`" confusion in Lisp strings
3682 * admin/authors.el (authors-canonical-author-name):
3683 Fix typo by using "\\`" not "\`" in string RE.
3684 * lisp/obsolete/complete.el (PC-complete-as-file-name):
3685 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
3686 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
3687 Use plain "`", not the equivalent-but-confusing "\`", in strings.
3688 * lisp/textmodes/texinfmt.el: Fix comment likewise.
3689
3690 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
3691
3692 Remove 'nt/zipdist.bat' (no longer used)
3693 * nt/zipdist.bat: Remove - no longer used.
3694
3695 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
3696
3697 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
3698 rather than "getenforce".
3699 (tramp-sh-handle-set-file-selinux-context): Do not
3700 cache SELinux context if not all context components are given.
3701
3702 2015-08-15 Eli Zaretskii <eliz@gnu.org>
3703
3704 Add doc strings to 2 help-mode.el functions
3705 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
3706 strings. (Bug#21263)
3707
3708 Remove files used by the old MS-Windows specific build procedure
3709 * admin/unidata/makefile.w32-in:
3710 * doc/emacs/makefile.w32-in:
3711 * doc/lispintro/makefile.w32-in:
3712 * doc/lispref/makefile.w32-in:
3713 * doc/misc/makefile.w32-in:
3714 * leim/makefile.w32-in:
3715 * lib-src/makefile.w32-in:
3716 * lib/makefile.w32-in:
3717 * lisp/makefile.w32-in:
3718 * nt/INSTALL.OLD:
3719 * nt/config.nt:
3720 * nt/emacs-src.tags:
3721 * nt/envadd.bat:
3722 * nt/gmake.defs:
3723 * nt/makefile.w32-in:
3724 * nt/multi-install-info.bat:
3725 * nt/nmake.defs:
3726 * nt/paths.h:
3727 * src/makefile.w32-in: Files deleted.
3728 * nt/configure.bat: Remove everything except the blurb about the
3729 new build procedure.
3730 * make-dist: Remove references to makefile.w32-in in various
3731 directories, and to files in nt/ that were deleted.
3732 * etc/NEWS: Mention the fact that the files were dropped.
3733
3734 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
3735
3736 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
3737 (Bug#21248)
3738
3739 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
3740
3741 Default to inotify instead of gfile
3742 * configure.ac (with_file_notification): Fix typo that
3743 prevented suppression of file notification if HAVE_NS.
3744 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
3745 with_file_notification is 'yes' (Bug#21241).
3746 * etc/NEWS: Mention this.
3747
3748 Fix broken URLs for ISO-IR
3749 * doc/emacs/mule.texi (Charsets):
3750 * lisp/international/mule-conf.el:
3751 Fix broken URL (Bug#21248).
3752
3753 Low-level diagnostics now use ‘text-quoting-style’
3754 * src/doprnt.c (doprnt):
3755 Format ` and ' as per ‘text-quoting-style’.
3756 * src/xdisp.c (vmessage, message): Mention that the format should
3757 not contain ` or '.
3758
3759 Prefer ‘format’ to ‘substitute-command-keys’
3760 * src/character.h (uLSQM, uRSQM): Move here ...
3761 * src/doc.c (uLSQM, uRSQM): ... from here.
3762 * src/doc.c (Fsubstitute_command_keys):
3763 * src/syntax.c (Finternal_describe_syntax_value):
3764 * lisp/cedet/mode-local.el (mode-local-print-binding)
3765 (mode-local-describe-bindings-2):
3766 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
3767 * lisp/cus-theme.el (describe-theme-1):
3768 * lisp/descr-text.el (describe-text-properties-1, describe-char):
3769 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
3770 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
3771 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
3772 * lisp/emacs-lisp/package.el (describe-package-1):
3773 * lisp/faces.el (describe-face):
3774 * lisp/help-fns.el (help-fns--key-bindings)
3775 (help-fns--compiler-macro, help-fns--parent-mode)
3776 (help-fns--obsolete, help-fns--interactive-only)
3777 (describe-function-1, describe-variable):
3778 * lisp/help.el (describe-mode):
3779 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
3780 to implement quoting style. This generally makes the code simpler.
3781
3782 Extend ‘format’ to translate curved quotes
3783 This is a followup to the recent doc string change, and deals with
3784 diagnostics and the like. This patch is more conservative than
3785 the doc string change, in that the behavior of ‘format’ changes
3786 only if its first arg contains curved quotes and the user prefers
3787 straight or grave quotes. (Come to think of it, perhaps we should
3788 be similarly conservative with doc strings too, but that can wait.)
3789 The upside of this conservatism is that existing usage is almost
3790 surely unaffected. The downside is that we'll eventually have to
3791 change Emacs's format strings to use curved quotes in places where
3792 the user might want curved quotes, but that's a simple and
3793 mechanical translation that I'm willing to do later. (Bug#21222)
3794 * doc/lispref/help.texi (Keys in Documentation):
3795 Move description of text-quoting-style from here ...
3796 * doc/lispref/strings.texi (Formatting Strings):
3797 ... to here, and describe new behavior of ‘format’.
3798 * etc/NEWS: Describe new behavior.
3799 * lisp/calc/calc-help.el (calc-describe-thing):
3800 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
3801 * lisp/info.el (Info-find-index-name):
3802 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
3803 of recently-added curved quotes.
3804 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
3805 Move from here ...
3806 * src/lisp.h: ... to here.
3807 * src/doc.c (text_quoting_style): New function.
3808 (Fsubstitute_command_keys): Use it.
3809 * src/editfns.c (Fformat): Implement new behavior.
3810 * src/lisp.h (enum text_quoting_style): New enum.
3811
3812 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * src/keyboard.c: Use false/true instead of 0/1 for booleans
3815 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
3816
3817 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
3818
3819 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
3820 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
3821
3822 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
3823
3824 Flush file properties in Tramp
3825 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
3826 (tramp-sh-handle-set-file-times):
3827 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
3828 (tramp-adb-handle-set-file-times): Flush the file properties of
3829 the directory.
3830
3831 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
3832
3833 * doc/emacs/misc.text (Amusements): Fixed typo.
3834
3835 2015-08-14 Eli Zaretskii <eliz@gnu.org>
3836
3837 Don't miss warnings about removing string text properties while dumping
3838 * src/alloc.c (purecopy): Warn about removing a string's text
3839 properties even when the same string was already pure-copied
3840 earlier.
3841 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
3842 (elisp--xref-format-extra): Fix the commentary.
3843
3844 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
3847
3848 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
3849
3850 * lisp/progmodes/compile.el: Assume 8-wide TABs (bug#21038)
3851 * lisp/progmodes/compile.el: Use lexical-binding.
3852 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
3853
3854 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
3857 * lisp/uniquify.el: Remove redundant `:group's.
3858
3859 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
3860
3861 * lisp/net/tramp-adb.el
3862 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
3863 result to prevent modification of the tramp-cache by side effects.
3864 Use the correct cache key.
3865
3866 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
3867
3868 Make add_to_log varargs
3869 * src/alloc.c (run_finalizer_handler):
3870 * src/charset.c (load_charset_map_from_vector):
3871 * src/nsimage.m (ns_load_image):
3872 * src/xfaces.c (load_pixmap, load_color2):
3873 Simplify, now that add_to_log has a variable number of args.
3874 * src/image.c (image_error): Take a variable number of args.
3875 Callers simplified.
3876 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
3877 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
3878 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
3879 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
3880
3881 Optional args for holiday-greek-orthodox-easter
3882 * etc/NEWS: Document this.
3883 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
3884 Add optional args N and STRING, mimicking the API and code of
3885 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
3886
3887 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
3888
3889 xref-find-definitions: Exclude more generic function items.
3890 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Add doc string.
3891 (cl--generic-find-defgeneric-regexp): New.
3892 (find-function-regexp-alist): Add it.
3893 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
3894 elisp-mode.el, change to search for ";;; Code:"
3895 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
3896 (find-function-regexp-alist): Add them.
3897 * lisp/progmodes/elisp-mode.el:
3898 (elisp--xref-format, elisp--xref-format-extra): Change back to defvar due
3899 to bug#21237.
3900 (elisp--xref-find-definitions): Exclude co-located default methods for
3901 generic functions. Also exclude implicitly declared defgeneric.
3902 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
3903 mode variables defined by 'define-minor-mode'.
3904 * test/automated/elisp-mode-tests.el: Declare generic functions, add
3905 tests for them.
3906 (xref-elisp-test-run): Fix bug.
3907 (emacs-test-dir): Improve initial value.
3908 (find-defs-defun-defvar-el): Don't expect defvar.
3909 (find-defs-feature-el): Match change to find-feature-regexp.
3910
3911 2015-08-13 Eli Zaretskii <eliz@gnu.org>
3912
3913 Improve warning about purecopy of strings with properties
3914 * src/alloc.c (purecopy): Show the offending string with the
3915 warning about removing its text properties.
3916
3917 2015-08-12 Alan Mackenzie <acm@muc.de>
3918
3919 Introduce new macros to cover Emacs's new names in cl-lib.el.
3920 This also eliminates `mapcan' warnings in XEmacs.
3921 progmodes/cc-defs.el (c--mapcan-status): new variable to characterise
3922 [X]Emacs versions.
3923 (top-level): Require either 'cl or 'cl-lib, depending on
3924 c--mapcan-status.
3925 Change this back to cc-external-require from an eval-when-compile
3926 require.
3927 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
3928 (c--delete-duplicates): New macros which expand into either old or new
3929 names.
3930 (c-make-keywords-re, c-lang-defconst, c-lang-const) Use the new macros
3931 rather than the old names.
3932 progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan rather
3933 than mapcan.
3934 progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
3935 progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
3936 depending on c--mapcan-status.
3937 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
3938 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
3939 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
3940 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
3941 (c-decl-block-key, c-keywords, c-keywords-obarray)
3942 (c-regular-keywords-regexp, c-primary-expr-regexp,
3943 c-primary-expr-regexp)
3944 (c-block-prefix-disallowed-chars, c-known-type-key,
3945 c-nonlabel-token-key)
3946 (c-make-init-lang-vars-fun): Use the new macros rather than the old
3947 names.
3948
3949 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
3950
3951 loadhist.el (read-feature): Conform to completing-read
3952 * lisp/loadhist.el (read-feature): According to `completing-read'
3953 documentation, if collection is a list, then it must be a list of
3954 strings. And not a list of symbols like before.
3955
3956 2015-08-12 David Kastrup <dak@gnu.org>
3957
3958 Deal gracefully with up-events (Bug#19746)
3959 * keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
3960 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
3961 those may easily be injected by user-level Lisp code.
3962 (read_key_sequence): Discard unbound up-events like unbound
3963 down-events: they are even more likely only relevant for special
3964 purposes.
3965 While Emacs will not produce up-events on its own currently (those are
3966 converted to drag or click events before being converted to
3967 Lisp-readable structures), the input queue can be made to contain them
3968 by synthesizing events to `unread-command-events'. Emacs should deal
3969 consistently with such events.
3970
3971 2015-08-12 Eli Zaretskii <eliz@gnu.org>
3972
3973 Fix display of thin lines whose newline has line-height property of t
3974 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
3975 and descent values of non-empty glyph rows, since they could have
3976 forced low values deliberately. (Bug#21243)
3977
3978 2015-08-12 Richard Stallman <rms@gnu.org>
3979
3980 Offer to combine multiple To or CC fields.
3981 * sendmail.el (mail-combine-fields): New function.
3982 (mail-send): Call 'mail-combine-fields'.
3983
3984 Don't decrypt encrypted files.
3985 * mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
3986
3987 Handle encrypted mbox files.
3988 * rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt the mbox
3989 file if necessary.
3990
3991 Re-enable mime processing after decryption. Add 'decrypt' keyword.
3992 * rmail.el (rmail-epa-decrypt-1): New subroutine.
3993 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
3994 In a mime message, reenable Mime and show the parts that
3995 were shown before.
3996 Add keyword "decrypt" if anything decrypted.
3997
3998 epa-inhibit inhibits auto-recognition of .gpg files
3999 * lisp/epa-file.el (epa-inhibit): New variable.
4000 (epa-file-handler): Check epa-inhibit.
4001
4002 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
4003
4004 * emacs-lisp/lisp-mnt.el (lm-header): save-excursion
4005
4006 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
4007
4008 Respect python.el imenu when semantic-mode is off
4009 Fixes debbugs:21220
4010 * lisp/cedet/semantic/wisent/python.el: Do not force
4011 wisent-python-default-setup on python-mode-hook.
4012
4013 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
4014
4015 Give names to Unicode code points in C code
4016 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
4017 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
4018 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
4019 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
4020 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
4021 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
4022 (OBJECT_REPLACEMENT_CHARACTER):
4023 New named constants for Unicode code points.
4024 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
4025 * src/composite.c (char_composable_p):
4026 * src/lread.c (readevalloop, read1):
4027 * src/xdisp.c (get_next_display_element):
4028 Use them.
4029 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
4030 Remove; now in character.h.
4031
4032 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
4033
4034 elisp--xref-find-definitions handle cl-defstuct default constructor
4035 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
4036 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
4037 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
4038 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
4039 from xref-elisp-test for ease of debugging.
4040 (xref-elisp-deftest): Rename from xref-elisp-test.
4041 (find-defs-constructor): New test.
4042 (find-defs-defgeneric-el): Match batch test config.
4043 (compile): Required for find-defs compilation-minor-mode test.
4044 (find-defs-defvar-el): Match code change.
4045 (find-defs-face-el): Match code change.
4046 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
4047 Improve doc string.
4048
4049 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * lisp/replace.el (perform-replace): Document `replacements'.
4052 (perform-replace): Move the description of the format of `replacements' from
4053 the body's comment to the docstring.
4054
4055 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
4056
4057 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
4058 sequence. Recent adb version send initial escape sequences, even
4059 when terminal type is set to TERM=dumb.
4060
4061 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
4062
4063 Rewrite elisp--xref-find-definitions to handle many more cases; add tests.
4064 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location): deleted
4065 (elisp--xref-format-cl-defmethod): new
4066 (find-feature-regexp): new
4067 (find-alias-regexp): new
4068 (elisp--xref-make-xref): new
4069 (elisp--xref-find-definitions): Rewrite using the above, handle many more
4070 cases. Always output all available definitions.
4071 (xref-location-marker): No need for special cases.
4072 * test/automated/elisp-mode-tests.el: Add more tests of
4073 elisp--xref-find-definitions, improve current tests.
4074
4075 2015-08-10 Eli Zaretskii <eliz@gnu.org>
4076
4077 Fix recording of events pushed onto unread-command-events
4078 * src/keyboard.c (read_char): Make sure events read from
4079 unread-command-events and unread-post-input-method-events are
4080 always recorded by record_char. Reported by David Kastrup
4081 <dak@gnu.org>, see
4082 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
4083
4084 2015-08-10 Samer Masterson <samer@samertm.com>
4085
4086 Set file buffer as current for "--file"
4087 * lisp/startup.el (command-line-1): Set file buffer as current before
4088 it is displayed so it can be used with options like
4089 "--eval". (Bug#21095)
4090
4091 2015-08-10 Eli Zaretskii <eliz@gnu.org>
4092
4093 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
4094 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
4095 after setting LC_ALL to the desired locale, to avoid affecting how
4096 numbers are read and printed. (Bug#21223)
4097
4098 2015-08-10 Alan Mackenzie <acm@muc.de>
4099
4100 Fix "Invalid search bound (wrong side of point)" in fontification.
4101 progmodes/cc-fonts.el (c-font-lock-declarators): After skipping an
4102 initialization expression, check point is not beyond the fontification
4103 limit.
4104
4105 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
4106
4107 Fix DPI calculation when Xft/DPI is default
4108 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
4109 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
4110 Remove unnecessary cast while we're in the neighborhood.
4111
4112 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
4113
4114 Add project-vc-search-path and project-vc-ignores
4115 * lisp/progmodes/project.el (project-vc): New group.
4116 (project-vc-search-path, project-vc-ignores): New variables.
4117 (project--value-in-dir): Utility function.
4118 (project-search-path, project-ignores): Use them.
4119 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
4120 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
4121
4122 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
4123
4124 Fix some minor quoting issues with grave accent
4125 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
4126 Remove redundant quotes.
4127 * src/doc.c (uLSQM, uRSQM): New macros.
4128 * src/doc.c (Fsubstitute_command_keys):
4129 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
4130 preference for quotes rather than hardcoding the ‘grave’ style.
4131 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
4132 (re_match_2_internal) [DEBUG]: In debugging output, quote C
4133 strings with "...", not `...'.
4134
4135 ChangeLog.2 ignores remote-tracking merges
4136 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
4137 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
4138 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
4139
4140 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
4141
4142 Use kpsewhich in ffap-latex-mode, if available
4143 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
4144 (ffap-latex-mode): Use kpsewhich if available.
4145
4146 ffap: disallow braces in filenames for tex modes
4147 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
4148 braces in tex-related modes.
4149
4150 Remove useless backslashes from ffap-string-at-point-mode-alist
4151 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
4152 misleading backslashes from default value.
4153
4154 Augment docstring of ffap-string-at-point-mode-alist
4155 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
4156 and END are handled.
4157
4158 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
4159
4160 Remove no-op calls to substitute-command-keys
4161 * lisp/org/org-src.el (org-edit-src-code)
4162 (org-edit-fixed-width-region):
4163 * lisp/simple.el (completion-setup-function):
4164 Remove calls to substitute-command-keys that always just return
4165 their argument.
4166
4167 2015-08-09 Daiki Ueno <ueno@gnu.org>
4168
4169 Utilize `quit-window' in epa.el
4170 * epa.el (epa-exit-buffer-function): Set to `quit-window'.
4171 (Bug#21210)
4172
4173 2015-08-09 Ivan Kanis <ivan@kanis.fr>
4174
4175 fix link to source code in help window
4176 * lisp/help-fns.el (find-lisp-object-file-name): remove code that
4177 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
4178 'No longer include timestamp in header of .elc files'. Add code
4179 that will return .el source file in load-path.
4180
4181 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
4182
4183 * isearch.el (isearch-search-fun-default): (Bug#21164)
4184 Respect `isearch-lax-whitespace' when searching through
4185 `isearch-word'.
4186
4187 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
4190
4191 * org.el: Fix up some lexical scoping warnings, and use dolist
4192 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
4193 (org-set-regexps-and-options, org-assign-fast-keys)
4194 (org-contextualize-keys, org-contextualize-validate-key)
4195 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
4196 (org-find-olp, org-find-exact-heading-in-directory)
4197 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
4198 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
4199 (org-replace-escapes): Use dolist.
4200 (org-mode): Optimize away XEmacs-only code.
4201 (org-refile-get-targets): Remove unused var `f'.
4202 (org-fast-todo-selection): Remove unused var `e'.
4203 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
4204 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
4205 (org-format-latex): Use dolist. Remove unused var `e'.
4206 (org-toggle-heading): Access vars lexically rather than dynamically.
4207 (org-backward-sentence, org-forward-sentence, org-meta-return)
4208 (org-kill-line): Mark arg as unused.
4209 (org-submit-bug-report): Silence compiler warning.
4210 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
4211 (org-get-cursor-date): Remove unused var `tm'.
4212 (org-comment-or-uncomment-region): Use standard name `_'.
4213 (reftex-docstruct-symbol, reftex-cite-format): Declare to
4214 silence byte-compiler.
4215 (org-reftex-citation): Add `org--' prefix to dynamically scoped
4216 `rds' var.
4217
4218 2015-08-08 Nicolas Petton <nicolas@petton.fr>
4219
4220 Merge remote-tracking branch 'origin/fix/subsequence-error-with-negative-sequences'
4221
4222 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
4223
4224 Electric quote if coding is undecided or no conv
4225 * lisp/electric.el (electric--insertable-p): Also say that a
4226 string is insertable if the buffer file coding system is undecided
4227 or uses no conversion, as curved quotes will work in either case.
4228
4229 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
4230
4231 2015-08-08 Eli Zaretskii <eliz@gnu.org>
4232
4233 Fix overlay string display regressions introduced in Emacs 24.5
4234 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
4235 buffer position, if we move the iterator to a new position as
4236 result of jumping over text covered by a "replacing" display
4237 property.
4238 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
4239
4240 Support recovery from C stack overflow on MS-Windows
4241 * src/w32fns.c (w32_reset_stack_overflow_guard)
4242 (stack_overflow_handler): New functions for handling C stack
4243 overflow exceptions.
4244 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
4245 specially, and zero out except_addr if we do.
4246 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
4247 mode.
4248 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
4249 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
4250 the MinGW build, but the code guarded by that is for Posix hosts.
4251 * src/keyboard.c (command_loop) [WINDOWSNT]: Call
4252 w32_reset_stack_overflow_guard.
4253 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
4254 (sigsetjmp): New macro.
4255 (w32_reset_stack_overflow_guard): Declare the prototype.
4256 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
4257
4258 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
4259
4260 Improve error signalling for seq-subseq.
4261
4262 * lisp/seq.el (seq-subseq): The existing behaviour is to error
4263 when indexes are too large, but to silently ignore numbers which
4264 are too negative for lists. String and vector handling errors in
4265 both cases. This has been regularlised. Error signalling behaviour
4266 has been explicitly added to the docstring.
4267
4268 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
4269 therefore also impacted by this change. The docstring has been
4270 updated to reflect this.
4271
4272 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
4273 added for these exceptional cases, as well as one non exceptional
4274 base case.
4275
4276 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
4277
4278 Improve error checking in tramp-adb.el
4279 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
4280 Improve error checking. "ls -l" on Android in Enforcing mode can
4281 print "lstat './FILENAME failed: Permission denied".
4282
4283 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
4286 non-struct vectors.
4287
4288 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
4289
4290 lisp/window.el: fix typo, more `display-buffer-use-some-frame'
4291 * lisp/window.el: fix typo that broke build
4292 (display-buffer--action-function-custom-type): add
4293 `display-buffer-use-some-frame'
4294 (display-buffer): add `display-buffer-use-some-frame' to doc string
4295
4296 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
4297 * lisp/window.el (display-buffer-use-some-frame): Add support for
4298 'inhibit-same-window in alist.
4299 * doc/windows.texi (display-buffer-use-some-frame): Doc support for
4300 'inhibit-same-window in alist.
4301
4302 2015-08-07 Eli Zaretskii <eliz@gnu.org>
4303
4304 Avoid infinite loop in display of invisible text in strings
4305 * src/xdisp.c (handle_invisible_prop): If the next change of
4306 invisibility spec does not mean the beginning of a visible text,
4307 update the string position from which to start the search for the
4308 next invisibility change. This avoids an infinite loop when we
4309 have more than one invisibility spec that are made inactive by
4310 buffer-invisibility-spec. Simplify code. (Bug#21200)
4311 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
4312 for the situation that caused bug #21200.
4313
4314 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
4315
4316 * lisp/emacs-lisp/package.el: Simplify describe-package-1
4317 (package-help-section-name-face): New face.
4318 (package--print-help-section): New function.
4319 (describe-package-1): Refactor section printing.
4320 (package-make-button): Use face instead of font-lock-face, which
4321 doesn't work on buttons.
4322
4323 * lisp/emacs-lisp/package.el: Define custom faces
4324 (package-name-face, package-description-face)
4325 (package-status-built-in-face, package-status-external-face)
4326 (package-status-available-face, package-status-new-face)
4327 (package-status-held-face, package-status-disabled-face)
4328 (package-status-installed-face, package-status-dependency-face)
4329 (package-status-unsigned-face, package-status-incompat-face)
4330 (package-status-avail-obso-face): New faces.
4331 (package-menu--print-info-simple): Use them.
4332
4333 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
4334
4335 Fix some confusion with ‘format’
4336 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
4337 (allout-graphics-modification-handler):
4338 Protect arbitrary string in a format context with "%s" format.
4339 * lisp/avoid.el:
4340 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
4341 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
4342 * lisp/erc/erc-button.el (erc-button-beats-to-time):
4343 * lisp/gnus/message.el (message-send-form-letter):
4344 * lisp/org/ob-core.el (org-babel-check-evaluate)
4345 (org-babel-confirm-evaluate):
4346 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
4347 * lisp/org/ox-latex.el (org-latex-compile):
4348 * lisp/org/ox-man.el (org-man-compile):
4349 * lisp/org/ox-odt.el (org-odt-template):
4350 * lisp/org/ox-texinfo.el (org-texinfo-compile):
4351 * lisp/progmodes/prolog.el (prolog-help-info)
4352 (prolog-view-predspec):
4353 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
4354 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
4355 * lisp/textmodes/rst.el (rst-replace-lines):
4356 Change (message (format ...)) to (message ...), and likewise
4357 for ‘error’. This lessens the probability of confusion when the
4358 output of ‘format’ contains ‘%’.
4359
4360 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
4361
4362 * lisp/replace.el (replace-character-fold): Default to nil
4363
4364 * lisp/character-fold.el: Fix lax whitespace
4365 (character-fold-table): Don't make space match other whitespace chars.
4366 (character-fold-to-regexp): Simplify lax behaviour.
4367
4368 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
4369
4370 Preserve window point in xref-find-definitions-other-window
4371 Fix the problem reported by Ingo Logmar in
4372 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
4373 * lisp/progmodes/xref.el (xref--goto-char): Extract from
4374 xref--goto-location.
4375 (xref--pop-to-location): Use it. Replace xref--goto-location with
4376 a direct xref-location-marker call.
4377 (xref--show-location): Likewise.
4378 (xref--display-position): Use xref--goto-char.
4379
4380 * lisp/progmodes/project.el: Add a paragraph to the front matter.
4381
4382 2015-08-04 David Kastrup <dak@gnu.org>
4383
4384 Do not overwrite preexisting contents of unread-command-events
4385 * lisp/vc/emerge.el (emerge-show-file-name):
4386 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
4387 (vhdl-comment-insert, vhdl-hooked-abbrev):
4388 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
4389 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
4390 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
4391 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
4392 * lisp/obsolete/vip.el (vip-escape-to-emacs)
4393 (vip-prefix-arg-value, vip-prefix-arg-com):
4394 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
4395 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
4396 (quail-tibkey-update-translation):
4397 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
4398 * lisp/leim/quail/lao.el (quail-lao-update-translation):
4399 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
4400 (quail-japanese-self-insert-and-switch-to-alpha):
4401 * lisp/leim/quail/hangul.el (hangul2-input-method)
4402 (hangul3-input-method, hangul390-input-method):
4403 * lisp/language/hanja-util.el (hangul-to-hanja-char):
4404 * lisp/international/robin.el (robin-input-method):
4405 * lisp/international/quail.el (quail-start-translation)
4406 (quail-start-conversion):
4407 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
4408 (gnus-article-describe-key-briefly):
4409 * lisp/eshell/em-hist.el (eshell-list-history):
4410 * lisp/term.el (term-dynamic-list-input-ring)
4411 (term-dynamic-list-completions):
4412 * lisp/subr.el (momentary-string-display):
4413 * lisp/simple.el (read-quoted-char):
4414 * lisp/pcomplete.el (pcomplete-show-completions):
4415 * lisp/kmacro.el (kmacro-repeat-on-last-key):
4416 * lisp/info.el (Info-summary):
4417 * lisp/ehelp.el (electric-help-command-loop):
4418 * lisp/ebuff-menu.el (electric-buffer-list)
4419 (Electric-buffer-menu-exit):
4420 * lisp/double.el (double-translate-key):
4421 * lisp/comint.el (comint-dynamic-list-input-ring)
4422 (comint-dynamic-list-completions): Do not overwrite preexisting
4423 contents of `unread-command-events' when putting new events into
4424 it.
4425
4426 2015-08-04 Daniel Colascione <dancol@dancol.org>
4427
4428 Improve ansi-color filtering of unrecognized escape sequences
4429 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
4430 escape sequences.
4431 (ansi-color-filter-apply): Filter out unrecognized escape sequences
4432 (ansi-color-apply): Filter out unrecognized escape sequences
4433
4434 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
4435
4436 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
4437 definitions to `easy-menu-define', improve a couple to account for
4438 async, and add a couple of new commands.
4439
4440 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
4441
4442 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
4443
4444 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
4445
4446 Add new 'calendar-weekend-days' option
4447 Make the days receiving the 'calendar-weekend-header' face freely
4448 customizable, as they differ by region/culture.
4449 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
4450 new variable.
4451 * lisp/calendar/calendar.el (calendar-generate-month): New variable
4452 calendar-weekend-days to customize day header fontification.
4453
4454 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
4455
4456 Redo text-quoting-style variable
4457 Rename help-quote-translation to text-quoting-style,
4458 and use symbols rather than characters as values.
4459 This follows suggestions along these lines by Alan Mackenzie in:
4460 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
4461 and by Drew Adams in:
4462 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
4463 * doc/lispref/help.texi (Keys in Documentation)
4464 * etc/NEWS:
4465 * lisp/cus-start.el (standard):
4466 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
4467 Document and/or implement the new behavior instead of the old.
4468 (syms_of_doc): New symbols 'grave' and 'straight'.
4469
4470 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
4471
4472 nnimap.el: Use IMAP MOVE extension if available
4473 * lisp/gnus/nnimap.el (nnimap-request-move-article)
4474 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
4475 Use MOVE extension if available.
4476
4477 nnimap.el: Explicitly ask for server capabilities
4478 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
4479 capabilities will be returned in the login-result.
4480
4481 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
4482
4483 Treat help strings like other doc strings
4484 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
4485 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
4486 substitute-command-keys.
4487 * src/keyboard.c (show_help_echo, parse_menu_item): Call
4488 substitute-command-keys on the help string before displaying it.
4489
4490 Also mention "curly quotes"
4491 See Drew Adams's email in:
4492 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
4493 * doc/lispref/help.texi (Keys in Documentation):
4494 Add index entry "curly quotes".
4495 * etc/NEWS: Use the phrase "curly quotes" too.
4496
4497 ede-proj-target-makefile docstring tweaks
4498 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
4499 Consistently use "all:" to describe the all: target,
4500 replacing three different and confusingly-quoted usages.
4501
4502 2015-08-02 Eli Zaretskii <eliz@gnu.org>
4503
4504 Whitespace fixes
4505
4506 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
4507
4508 Don't abort emacsclientw when -a was specified
4509 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
4510 out if we are in emacsclientw and -a was specified.
4511
4512 2015-08-02 Eli Zaretskii <eliz@gnu.org>
4513
4514 Fix handling of 1st keystroke on MS-Windows
4515 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
4516 This is needed to correctly handle the session's first keystroke,
4517 if it has any modifiers. (Bug#19994)
4518
4519 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
4520
4521 Substitute some customization etc. doc strings
4522 These changes apply substitute-command-keys to some
4523 doc strings that were going through untranslated
4524 when creating customization or other widgets.
4525 * lisp/cus-edit.el (custom-group-value-create):
4526 * lisp/wid-edit.el (widget-default-create):
4527 (widget-push-button-value-create):
4528 Treat the widget tag as a doc string.
4529 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
4530 Treat the :documentation value as a doc string.
4531 * lisp/wid-edit.el (widget-choose):
4532 Treat the choice names as doc strings.
4533 (widget-default-create): Treat the :doc value as a doc string.
4534 (widget-toggle-value-create): Treat the :on and :off values
4535 as doc strings.
4536 (widget-documentation-string-value-create):
4537 Substitute the doc string.
4538
4539 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
4540
4541 Add a second argument to project-ignores
4542 * lisp/progmodes/project.el (project-ignores): Add a second
4543 argument DIR.
4544 * lisp/progmodes/project.el (project-ignores): Only include the VC
4545 ignores if DIR is the VC root.
4546 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
4547
4548 2015-08-01 Eli Zaretskii <eliz@gnu.org>
4549
4550 Prevent incorrect display when 'line-spacing' variable is set
4551 * src/xdisp.c (try_window_id): Give up this optimization if the
4552 buffer has its 'line-spacing' variable set non-nil.
4553
4554 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
4555
4556 Don't pass NOVISIT to find-file
4557 * lisp/progmodes/etags.el (next-file):
4558 Don't pass NOVISIT to find-file (bug#21175).
4559
4560 Ignore buffer restriction for tags-loop-eval
4561 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
4562 restriction (bug#21167).
4563
4564 2015-08-01 Eli Zaretskii <eliz@gnu.org>
4565
4566 Fix a thinko in 'ffap-gopher-at-point'
4567 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
4568
4569 Honor 'line-spacing' for empty lines
4570 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
4571 property and 'line-spacing' frame parameter or variable or
4572 property for empty lines, by doing the same processing as in
4573 x_produce_glyph for newline characters. (Bug#21165)
4574
4575 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
4576
4577 Simplify by assuming C99 integer division
4578 * src/floatfns.c (ceiling2, floor2, truncate2):
4579 Assume C99 (i.e., Fortran) semantics for integer division.
4580 This simplifies the code.
4581
4582 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
4583
4584 Don't overflow if computing approximate percentage
4585 * lisp/align.el (align-region):
4586 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
4587 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
4588 * lisp/cus-edit.el (custom-buffer-create-internal):
4589 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
4590 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
4591 (checkdoc-next-message-error):
4592 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
4593 * lisp/epa.el (epa-progress-callback-function):
4594 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
4595 * lisp/ffap.el (ffap-menu-rescan):
4596 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
4597 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
4598 * lisp/gnus/nneething.el (nneething-retrieve-headers):
4599 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
4600 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
4601 * lisp/gnus/nnml.el (nnml-retrieve-headers):
4602 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
4603 * lisp/gnus/nntp.el (nntp-retrieve-headers)
4604 (nntp-retrieve-articles):
4605 * lisp/imenu.el (imenu--relative-position):
4606 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
4607 (skkdic-convert-okuri-nasi):
4608 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
4609 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
4610 * lisp/org/org-list.el (org-update-checkbox-count):
4611 * lisp/org/org.el (org-table-map-tables)
4612 (org-update-parent-todo-statistics):
4613 * lisp/play/decipher.el (decipher-insert-frequency-counts)
4614 (decipher-analyze-buffer):
4615 * lisp/profiler.el (profiler-format-percent):
4616 * lisp/progmodes/cc-cmds.el (c-progress-update):
4617 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
4618 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
4619 (idlwave-list-load-path-shadows):
4620 * lisp/progmodes/opascal.el (opascal-step-progress):
4621 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
4622 (vhdl-scan-directory-contents):
4623 * lisp/textmodes/bibtex.el (bibtex-progress-message):
4624 * lisp/textmodes/flyspell.el (flyspell-small-region)
4625 (flyspell-external-point-words):
4626 * lisp/textmodes/table.el (table-recognize):
4627 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
4628 progress-report percentages and the like. This avoids problems
4629 if (* 100 NUMERATOR) would overflow.
4630 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
4631 * lisp/gnus/registry.el (registry-reindex):
4632 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
4633 * lisp/descr-text.el (describe-char):
4634 * lisp/org/org-colview.el (org-nofm-to-completion):
4635 * lisp/ps-print.el (ps-plot):
4636 * lisp/simple.el (what-cursor-position):
4637 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
4638 more-complicated and less-accurate approximation.
4639
4640 Fix some int overflows in profiler.c
4641 * src/profiler.c (make_log): Make args EMACS_INT, not int,
4642 to avoid unwanted behavior on 'int' overflow.
4643 (make_log, evict_lower_half, record_backtrace):
4644 Use ptrdiff_t, not int, for object indexes.
4645
4646 Port to pedantic memcpy
4647 * src/keyboard.c (menu_bar_items, tool_bar_items):
4648 * src/xrdb.c (magic_db):
4649 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
4650
4651 Merge from gnulib
4652 This incorporates:
4653 2015-07-29 time_rz: port to pedantic memcpy
4654 * lib/time_rz.c: Copy from gnulib.
4655
4656 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
4657
4658 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Fix bug
4659 When updating the very last entry, tabulated-list-print would
4660 erase it and then try to look at the next one (which obviously
4661 isn't there).
4662
4663 2015-07-31 Eli Zaretskii <eliz@gnu.org>
4664
4665 Allow to use the old key processing code on MS-Windows
4666 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
4667 New variable.
4668 (w32_wnd_proc): Use it to invoke the old code that processed
4669 character keys, as fallback, when this variable is non-nil. Fix
4670 typos in comments. (Bug#19994)
4671
4672 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
4673
4674 Improve handling of Unicode keyboard input on MS-Windows
4675 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
4676 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
4677 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
4678 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
4679 successful, don't call TranslateMessage. (Bug#19994)
4680
4681 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
4682
4683 Fix default-directory in changeset diffs after vc-print-log
4684 * lisp/vc/log-view.el (log-view-diff-common): Move the
4685 revision-granularity check back into log-view-diff-changeset.
4686 (log-view-diff-changeset): Bind default-directory to the current
4687 VC root.
4688
4689 Rename project-directories to project-roots
4690 * lisp/progmodes/project.el (project-search-path-function)
4691 (project-search-path): Update the docstring.
4692 (project-directories): Rename to `project-roots', update all
4693 callers and implementations accordingly.
4694 (project-root): Remove.
4695 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
4696 as the default file mask.
4697
4698 2015-07-30 Eli Zaretskii <eliz@gnu.org>
4699
4700 Support long URLs in w32-shell-execute
4701 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
4702 and filename_to_ansi to convert the DOCUMENT argument, as it could
4703 be a URL that is not limited to MAX_PATH characters. Instead, use
4704 MultiByteToWideChar directly, and allocate heap storage as
4705 required to accommodate the converted string. Likewise with
4706 non-Unicode operation. Ensure OPERATION is null-terminated, even
4707 if it is longer than 32K bytes. (Bug#21158)
4708
4709 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
4710
4711 vc-mtn-find-revision handle null rev.
4712 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): handle null rev
4713
4714 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
4715
4716 Add docs for display-buffer action display-buffer-use-some-frame
4717 * lisp/window.el (display-buffer-use-some-frame): improve doc string
4718 * doc/lispref/windows.texi (Display Action Functions): add
4719 display-buffer-use-some-frame
4720 * etc/NEWS: mention display-buffer-use-some-frame
4721
4722 Add display-buffer action display-buffer-use-some-frame
4723 * lisp/window.el (display-buffer-use-some-frame): new
4724
4725 Handle vc-mtn error more gently
4726 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): return "" when branch is nil
4727
4728 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
4729
4730 Fix Tramp problems with multihops, and nc.
4731 * lisp/net/tramp-cache.el (tramp-get-file-property)
4732 (tramp-set-file-property, tramp-flush-file-property)
4733 (tramp-get-connection-property, tramp-set-connection-property)
4734 (tramp-flush-connection-property): Remove hop from vector.
4735 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
4736 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
4737 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
4738 netstat to 60".
4739 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
4740 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
4741 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
4742 Keep hop in result.
4743 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
4744 Add hop tests.
4745
4746 2015-07-29 Eli Zaretskii <eliz@gnu.org>
4747
4748 Resurrect highlighting of repeated words by Flyspell Mode
4749 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
4750 characters between point and the doublon candidate, so that
4751 flyspell-word-search-backward finds it. (Bug#21157)
4752
4753 Fix redisplay of large images on expose events
4754 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
4755 between signed negative values and unsigned values. This
4756 prevented redisplay on expose events when the window showed a very
4757 large image.
4758
4759 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
4760
4761 Remove unnecessary stack overflow dependency
4762 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
4763 Don't worry about $ac_cv_header_sys_resource_h and
4764 $ac_cv_func_getrlimit, as they're no longer needed for this.
4765 Problem reported by Eli Zaretskii in:
4766 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
4767
4768 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
4769
4770 Pacify compilation -Wincompatible-pointer-types warnings
4771 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
4772 warning.
4773 (CompareStringW_Proc): New typedef.
4774 (w32_compare_strings): Use it, to pacify compiler warnings under
4775 "-Wincompatible-pointer-types".
4776 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
4777 (GetDiskFreeSpaceExA_Proc): New typedefs.
4778 (Ffile_system_info): Use them, to pacify compiler warnings under
4779 "-Wincompatible-pointer-types".
4780
4781 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
4782
4783 Fix subscript error in calculate_direct_scrolling
4784 Use slightly-longer cost vectors. Without this change,
4785 calculate_direct_scrolling can have a subscript violation when
4786 FRAME_LINES (frame) <= delta.
4787 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
4788 (line_ins_del, do_line_insertion_deletion_costs):
4789 Allocate and use slightly-larger cost vectors, ones based on
4790 FRAME_TOTAL_LINES instead of FRAME_LINES.
4791
4792 Fix uninitalized value in encode_coding_object
4793 * src/coding.c (encode_coding_object): Also initialize
4794 coding->src_pos and coding->src_pos_byte when NILP (src_object).
4795 This avoids later use of uninitialized storage.
4796
4797 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
4798
4799 * doc/lispref/variables.texi (Variable Aliases): Typo fix. (Bug#21141)
4800
4801 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
4802
4803 Merge from gnulib
4804 This incorporates:
4805 2015-07-27 time_rz: port better to MinGW
4806 2015-07-27 time: port __need_time_t to MinGW
4807 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
4808 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
4809 * lib/time-internal.h: New file, from gnulib.
4810
4811 2015-07-27 Eli Zaretskii <eliz@gnu.org>
4812
4813 Handle NULL pointers in w32heap.c allocation routines
4814 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
4815 freeable".
4816 (realloc_after_dump, realloc_before_dump, free_before_dump):
4817 Handle NULL pointers gracefully, as Emacs now seems to expect
4818 that.
4819
4820 Fix Cairo build without PNG
4821 * src/image.c: Define PNG function when USE_CAIRO is defined, even
4822 if HAVE_PNG is not. (Bug#21133)
4823
4824 MS-Windows follow-up for recent TZ-related changes
4825 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
4826 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
4827 picking up 'struct timespec' from pthread.h, if it is installed on
4828 the user's system. We want either the definitions from MinGW
4829 system headers, if available, or the Gnulib replacements if not.
4830 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
4831 lib/time.h.
4832 * lib/time.in.h: Don't let __need_* symbols affect what happens on
4833 MinGW. These symbols are defined by MinGW system headers, but we
4834 don't want that to affect whether Gnulib portions of the header
4835 are or aren't used.
4836
4837 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
4838
4839 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
4840
4841 New optional ZONE arg for format-time-string etc.
4842 This simplifies time conversions in other time zones.
4843 It also prevents display-time-world tampering with TZ (Bug#21020).
4844 * admin/admin.el (add-release-logs):
4845 Use improved add-log-time-format API.
4846 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
4847 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
4848 * configure.ac (tzalloc): Remove test for this, since
4849 Emacs no longer uses HAVE_TZALLOC directly.
4850 * doc/lispref/os.texi (Time of Day, Time Conversion)
4851 (Time Parsing):
4852 * etc/NEWS: Document the new behavior.
4853 Merge from gnulib, incorporating:
4854 2015-07-25 strftime: fix newly-introduced bug on Solaris
4855 2015-07-23 fprintftime, strftime: use timezone_t args
4856 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
4857 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
4858 * m4/time_h.m4:
4859 Update from gnulib.
4860 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
4861 New files from gnulib.
4862 * lisp/time-stamp.el (time-stamp-string):
4863 * lisp/time.el (display-time-world-list)
4864 (display-time-world-display):
4865 Use new API, with time zone arg.
4866 * lisp/time.el (display-time-world-display):
4867 Fix race when current-time advances while we're running.
4868 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
4869 (add-log-iso8601-time-string): Accept optional time zone arg.
4870 * lisp/vc/add-log.el (add-change-log-entry):
4871 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
4872 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
4873 Add rules for the time module, since they're now needed
4874 for tzalloc etc.
4875 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
4876 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
4877 * src/editfns.c: Include errno.h.
4878 (set_time_zone_rule): Omit unnecessary forward decl.
4879 (initial_tz): Remove, replacing with ...
4880 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
4881 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
4882 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
4883 (tzlookup): New static functions.
4884 (init_editfns): New arg DUMPING. All uses changed.
4885 (init_editfns): Omit most initialization if dumping, not if
4886 !initialized. Initialize wall_clock_tz and local_tz.
4887 (emacs_nmemftime, format_time_string): Time zone argument can now
4888 be any time zone, not just a boolean for UTC or local time. All
4889 callers changed.
4890 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
4891 (Fcurrent_time_zone): New optional arg ZONE.
4892 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
4893 the same form as with the other new additions.
4894 (decode_time_zone): Remove; no longer needed.
4895 (tzvalbuf): Now file-scope.
4896 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
4897 (syms_of_editfns): Define Qwall.
4898 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
4899 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
4900 [!HAVE_TZALLOC]:
4901 Remove; now supplied by gnulib.
4902 * src/emacs.c (main):
4903 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
4904
4905 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4906
4907 Fix infinite loop in delete-consecutive-dups
4908 * lisp/subr.el (delete-consecutive-dups): Work even if the last
4909 element is nil (Bug#20588). Avoid rescan of a circular list in
4910 deletion of last element.
4911
4912 2015-07-26 Martin Rudalics <rudalics@gmx.at>
4913
4914 Have `x-frame-geometry' return nil for terminal and initial frames (Bug#21132)
4915 * src/nsfns.m (Fx_frame_geometry):
4916 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
4917 terminal frames.
4918 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
4919 (Fx_frame_geometry): Return nil for terminal frames
4920
4921 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
4922
4923 * etc/tutorials/TUTORIAL.ja: Improve translation.
4924
4925 2015-07-25 Eli Zaretskii <eliz@gnu.org>
4926
4927 Avoid crashes when w32 GUI functions are called in -batch
4928 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
4929 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
4930 FRAME_W32_WINDOW for initial frame. (Bug#21132)
4931
4932 Fix flyspell-check-previous-highlighted-word
4933 * lisp/textmodes/flyspell.el
4934 (flyspell-check-previous-highlighted-word): Really accept a
4935 numeric argument, as the doc string describes. Fix an off-by-one
4936 error in looking up overlays, so invocation with point immediately
4937 after a word would check that word. Clarify the doc string as
4938 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
4939
4940 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
4941
4942 Minor cleanup in tramp-tests.el
4943 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
4944 Implement using the documented interface
4945 `tramp-connection-properties', rather than with internal functions.
4946
4947 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
4948
4949 Pass lambdas to `skeleton-read'
4950 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
4951 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
4952 lambdas to `skeleton-read' (bug#20386).
4953
4954 2015-07-24 Eli Zaretskii <eliz@gnu.org>
4955
4956 * INSTALL (DETAILED BUILDING AND INSTALLATION): Mention --without-imagemagick.
4957
4958 Don't require GUI frames and mouse for Flyspell menus
4959 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
4960 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
4961 support, since pop-up menus work with text terminals and can be
4962 controlled via the keyboard.
4963
4964 Improve documentation of Flyspell commands
4965 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
4966 can be invoked via the keyboard. Mention those commands by name
4967 and add them to the fn index. (Bug#21125)
4968
4969 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
4970
4971 Fix some Tramp problems with HP-UX
4972 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4973 Add "tab0" to stty call.
4974 * test/automated/tramp-tests.el (tramp-persistency-file-name):
4975 Set to nil.
4976 (tramp--test-hpux-p): New defun.
4977 (tramp--test-utf8): Use it.
4978
4979 2015-07-22 Glenn Morris <rgm@gnu.org>
4980
4981 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
4982
4983 2015-07-22 Eli Zaretskii <eliz@gnu.org>
4984
4985 Fix point positioning in ffap-next-guess
4986 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
4987 as our callers expect. This was clobbered as part of fixing
4988 bug#5673. (Bug#21107)
4989 (ffap-gopher-at-point): Set ffap-string-at-point-region.
4990
4991 2015-07-22 Martin Rudalics <rudalics@gmx.at>
4992
4993 Fix customization type of `even-window-sizes'.
4994 * lisp/window.el (even-window-sizes): Fix customization type.
4995
4996 Optionally even widths of `display-buffer' windows. (Bug#21100)
4997 * lisp/window.el (quit-restore-window): Restore width if
4998 requested.
4999 (display-buffer-record-window): Record width when window is
5000 reused and horizontally combined.
5001 (even-window-sizes): New option to allow evening window widths.
5002 (even-window-heights): Defalias to `even-window-sizes'.
5003 (window--even-window-heights): Rename to
5004 `window--even-window-sizes'. Handle side-by-side windows.
5005 (display-buffer-use-some-window): Call `window--even-window-sizes'
5006 instead of `window--even-window-heights'.
5007 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
5008 * doc/lispref/windows.texi (Choosing Window Options): Describe
5009 `even-window-sizes'.
5010 (Coordinates and Windows): Fix typo.
5011
5012 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
5013
5014 add file name to autoload error messages.
5015 * lisp/emacs-lisp/autoload.el (autoload-save-buffers): add condition-case
5016 to add file name to error message.
5017
5018 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
5019
5020 Use 0.0.0.1 as test host in Tramp
5021 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
5022 Use 0.0.0.1 as test host.
5023
5024 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
5027 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
5028 Fix inf-loop (bug#21083).
5029
5030 2015-07-21 Glenn Morris <rgm@gnu.org>
5031
5032 * test/automated/package-test.el (package-test-signed):
5033 Update for recent changes.
5034
5035 * test/automated/elisp-mode-tests.el
5036 (elisp-xref-finds-both-function-and-variable)
5037 (elisp-xref-finds-only-function-for-minor-mode):
5038 Update for recent xref name changes.
5039
5040 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
5041
5042 Make eldoc timer non-repeatable
5043 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
5044 non-repeatable. Since it's on post-command hook, that just wasted
5045 CPU cycles.
5046
5047 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
5048
5049 Mention `tramp-connection-properties' in NEWS
5050
5051 Sync with Tramp repository
5052 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
5053 required prior changing its configuration.
5054 (Connection caching, Predefined connection information)
5055 (Remote shell setup): Fix typos.
5056 (Predefined connection information): Describe, how to overwrite
5057 parameters of `tramp-methods'.
5058 (Remote programs, Remote processes, Traces and Profiles):
5059 Simplify example.
5060 (Remote programs): Remove superfluous comment.
5061 * doc/misc/trampver.texi: Update release number.
5062 * lisp/net/tramp-cache.el (tramp-connection-properties): Adapt docstring.
5063 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
5064 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
5065 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
5066 "gvfs-mkdir -p ..." does not work robust.
5067 (tramp-gvfs-maybe-open-connection): Adapt `tramp-get-method-parameter' call.
5068 * lisp/net/tramp-sh.el (tramp-methods):
5069 Add `tramp-remote-shell-login' parameter where it fits.
5070 (tramp-get-remote-path): Use it.
5071 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
5072 (all): Adapt `tramp-get-method-parameter' calls.
5073 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
5074 (tramp-get-method-parameter): Replace argument METHOD by VEC.
5075 Check also for hits in `tramp-connection-properties'. Adapt docstring.
5076 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
5077 (all): Adapt `tramp-get-method-parameter' calls.
5078 * lisp/net/trampver.el Update release number.
5079 * test/automated/tramp-tests.el (tramp--instrument-test-case):
5080 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
5081 (tramp-test13-make-directory, tramp--test-adb-p)
5082 (tramp--test-smb-or-windows-nt-p): Simplify.
5083 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
5084 (tramp--test-special-characters): Fix docstring. Add gvfs and ftp tests.
5085 (tramp--test-utf8): Fix docstring.
5086
5087 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
5088
5089 Add new xref-query-replace command
5090 * lisp/progmodes/xref.el (xref--match-buffer-bounds): New
5091 function, extracted from xref-pulse-momentarily.
5092 (xref-query-replace): New command.
5093 (xref--query-replace-1): New helper function.
5094 (xref--xref-buffer-mode-map): Add `r' binding.
5095
5096 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
5097
5098 Simplify icalendar decoding of Z dates
5099 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
5100 Simplify calculation of time strings with trailing "Z".
5101
5102 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
5103
5104 Do not corrupt grep-find-ignored-files
5105 * lisp/progmodes/project.el (project-ignores): Change the order of
5106 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
5107
5108 Add xref-match-item, and use it
5109 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
5110 (xref-file-location): Add reader for the column slot.
5111 (xref-match-item): New class.
5112 (xref-match-bounds): A method implementation for it.
5113 (xref-make-match): New constructor function.
5114 (xref--current-item): New private variable.
5115 (xref-pulse-momentarily): Use it.
5116 (xref--pop-to-location): Change the first argument to an xref
5117 item, instead of location, bind xref--current-item.
5118 Update all callers.
5119 (xref-next-line, xref-prev-line, xref--next-error-function)
5120 (xref--mouse-2): Look for the property `xref-item',
5121 instead of `xref-location'.
5122 (xref--item-at-point): Likewise. This function replaces
5123 `xref-location-at-point'. Update all callers.
5124 (xref--insert-xrefs): Add the `xref-item' text property, instead
5125 of `xref-location'.
5126 (xref--collect-match): Use xref-make-match.
5127
5128 Rename xref--xref to xref-item
5129 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
5130 Update all references.
5131
5132 Rename xref description slot to summary
5133 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
5134 slot to `summary'.
5135
5136 vc-hg: Perform the print-log call asynchronously
5137 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
5138 asynchronously (bug#21067).
5139
5140 Add xref-after-jump-hook and xref-after-return-hook
5141 * lisp/progmodes/xref.el (xref-after-jump-hook)
5142 (xref-after-return-hook): New hooks.
5143 (xref-pulse-on-jump): Remove, in favor of the above.
5144 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
5145 (xref--pop-to-location, xref--display-position)
5146 (xref-pop-marker-stack): Use the new hooks, as requested in
5147 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
5148
5149 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
5150
5151 Correct js-mode's lighter
5152 * lisp/progmodes/js.el (js-mode): Correct the lighter.
5153
5154 2015-07-19 Leo Liu <sdl.web@gmail.com>
5155
5156 Fix a bug in cfengine3-mode
5157 * progmodes/cfengine.el (cfengine3-mode): Handle nil
5158 eldoc-documentation-function.
5159
5160 2015-07-18 Julien Danjou <julien@danjou.info>
5161
5162 sieve-mode: support "body" test command
5163 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
5164 Add missing "body" test command.
5165
5166 2015-07-18 Eli Zaretskii <eliz@gnu.org>
5167
5168 Fix info-apropos when the default encoding is Latin-N
5169 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
5170 'undecided', so that it is set to the encoding of the Info file we
5171 are about to insert. Otherwise, 'info-apropos' will fail to find
5172 some index nodes in some UTF-8 encoded files, if the buffer's
5173 previous encoding is Latin-N or some such.
5174
5175 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
5176
5177 * epg.el (epg--start): Check that gpgconf can be found before calling it.
5178
5179 Expose more file types to OS X that Emacs understands.
5180 * Cocoa/Emacs.base/Contents/Info.plist: Add editor role for sty, dtx,
5181 json, and org files. Export UTIs for el, elc, and org files.
5182
5183 2015-07-18 Eli Zaretskii <eliz@gnu.org>
5184
5185 Fix visual-order cursor movement when lines are truncated
5186 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
5187 simulate display in a window of infinite width, to allow move_it_*
5188 functions reach positions outside of normal window dimensions.
5189 Remove code that tried to handle a subset of these situations by
5190 manual iteration of buffer text. (Bug#17777)
5191
5192 Fix following Info cross-references to anchors
5193 * lisp/info.el (Info-read-subfile): Add to the returned value the
5194 length of subfile preamble, after converting it to file's byte
5195 offset, as expected by the caller. Use bufferpos-to-filepos.
5196 (Info-find-node-2): If searching for a node with a
5197 1000-character slop fails, try again with a 10000-character slop,
5198 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
5199 * lisp/international/mule-util.el (bufferpos-to-filepos): New
5200 function.
5201 * etc/NEWS: Mention bufferpos-to-filepos.
5202
5203 Fix scrolling backwards on TTY frames under scroll-conservatively
5204 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
5205 in moving backwards on TTY frames. (Bug#21080)
5206
5207 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
5208
5209 Consider a jsdoc tag to be a beginning of a paragraph as well
5210 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
5211 consider a jsdoc tag to be a beginning of a paragraph as well.
5212
5213 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
5214
5215 * lisp/emacs-lisp/package.el: Fix warnings
5216
5217 * lisp/emacs-lisp/package.el (package-buffer-info):
5218 Add author and maintainers to `package-buffer-info'.
5219
5220 * lisp/emacs-lisp/package.el: Many small changes
5221 Replace all instances of 'face with 'font-lock-face.
5222 (describe-package-1): Improve some strings and move the summary up the
5223 list.
5224 (package-install-file): Update docstring.
5225 (package-menu-hide-package): Bind to `H'.
5226
5227 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
5228 Fix error handling.
5229
5230 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
5231
5232 Fix hang with large yanks This should fix the bug fixed by Mike
5233 Crowe's patch in:
5234 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
5235 A problem in this area has been reported by several users; see
5236 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
5237 This fix differs from Mike Crowe's patch in that it should avoid a
5238 race condition that could lose SIGIO signals. ignore_sigio dates
5239 back to the 1980s when some platforms couldn't block signals, and
5240 could only ignore them, which led to races when signals arrived
5241 while being ignored. We shouldn't have to worry about those old
5242 platforms now.
5243 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
5244 * src/emacs.c (shut_down_emacs):
5245 Don't call ignore_sigio; unrequest_sigio should suffice.
5246 * src/keyboard.c (kbd_buffer_store_buffered_event):
5247 Use unrequest_sigio, not ignore_sigio.
5248 (kbd_buffer_get_event):
5249 Call request_sigio when getting the ball rolling again.
5250
5251 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
5252
5253 * lisp/obsolete/longlines.el (longlines-search-function):
5254 Fallback on `isearch-search-fun-default'.
5255
5256 2015-07-17 Tassilo Horn <tsdh@gnu.org>
5257
5258 Support @-mentions
5259 * rcirc.el (rcirc-completion-at-point): Support completion of
5260 mentions/messages with @nick instead of just nick.
5261
5262 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
5263
5264 Fix Bug#20943.
5265 * lisp/autorevert.el (auto-revert-handler): Do not check for
5266 `buffer-modified-p'.
5267 * lisp/files.el (buffer-stale--default-function): Check for
5268 `buffer-modified-p'.
5269 * test/automated/auto-revert-tests.el
5270 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
5271
5272 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
5273
5274 Fix delete-dups bug on long lists
5275 * lisp/subr.el (delete-dups):
5276 Don't mistakenly keep some dups when applied to long lists.
5277
5278 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
5279
5280 Better heuristic for C stack overflow
5281 Improve the heuristic for distinguishing stack overflows from
5282 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
5283 the getrlimit method wasn't portable to Cygwin; see:
5284 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
5285 Corinna suggested pthread_getattr_np but this also has problems.
5286 Instead, replace the low-level system stuff with a simple
5287 heuristic based on known good stack addresses.
5288 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
5289 * src/sysdep.c: Don't include <sys/resource.h>.
5290 (stack_direction): Remove. All uses removed.
5291 (stack_overflow): New function.
5292 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
5293 Make SEGV fatal in non-main threads.
5294
5295 2015-07-16 Daiki Ueno <ueno@gnu.org>
5296
5297 epg: Automatically start pinentry server
5298 * epg-config.el (epg-gpgconf-program): New variable.
5299 * epg.el (epg--start): Call `pinentry-start' if
5300 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
5301
5302 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
5303
5304 * lisp/gnus/nnimap.el: Fix my last bogus change
5305 Reinstall Stefan Monnier's change that was made in
5306 <83d824bc4041332f338ad7e5e830f443535aa300>.
5307
5308 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
5309
5310 Merge from gnulib
5311 This incorporates:
5312 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
5313 2015-07-05 acl-permissions: Fix on FreeBSD
5314 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
5315 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
5316 * lib/set-permissions.c: Copy from gnulib.
5317
5318 Port to stricter C99
5319 * src/keyboard.h (kbd_buffer_store_event_hold):
5320 Don't return a void expression.
5321
5322 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
5323
5324 * doc/emacs/frames.texi (Creating Frames): Fix the command `C-x 5 m' runs.
5325
5326 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
5327
5328 New autorevert tests.
5329 * test/automated/auto-revert-tests.el: New file.
5330
5331 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
5332
5333 Clear gcprolist etc. after stack overflow
5334 After stack overflow, command_loop calls init_eval, and this needs to
5335 clear gcprolist and byte_stack_list (Bug#20996).
5336 * src/alloc.c (init_alloc):
5337 Move gcprolist and byte_stack_list initialization from here ...
5338 * src/eval.c (init_eval): ... to here.
5339
5340 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
5341
5342 * doc/emacs/windows.texi (Pop Up Window): Fix the description of `C-x 4 m'.
5343
5344 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5345
5346 Avoid deprecated enums in mac-ct font backend driver
5347 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
5348 (mac_ctfont_get_advance_width_for_glyph)
5349 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
5350
5351 Cache font family in mac-ct font backend driver
5352 * src/macfont.m (macfont_family_cache): New variable.
5353 (syms_of_macfont): Initialize it.
5354 (macfont_available_families_cache): New variable.
5355 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
5356 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
5357 (macfont_handle_font_change_notification)
5358 (macfont_init_font_change_handler)
5359 (macfont_copy_available_families_cache): New functions.
5360 (macfont_create_family_with_symbol): Use font family caches.
5361 (macfont_list, macfont_list_family): Use
5362 macfont_copy_available_families_cache instead of
5363 mac_font_create_available_families.
5364
5365 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
5366
5367 Show the default value in the prompt
5368 * lisp/progmodes/xref.el: Add `M-?' binding for
5369 xref-find-references. Declare functions `grep-read-files' and
5370 `grep-expand-template'.
5371 (xref--read-identifier): Show the default value in the prompt.
5372
5373 When called with prefix argument, ask for file patterns to search as well
5374 * lisp/progmodes/xref.el (xref-find-regexp): When called with
5375 prefix argument, ask for file patterns to search as well. When
5376 prompting for the directory, require an existing one.
5377 (xref-collect-matches): Add a new argument, FILES. Use it in the
5378 above function.
5379
5380 Add `project-ignores'
5381 * lisp/progmodes/project.el (project-ignores): New generic
5382 function, and an implementation for the VC project type.
5383 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
5384 variant of rgrep-default-command that handles a generic list of
5385 ignores.
5386 (xref-collect-matches): Use it, and pass through to it the value
5387 of the newly added argument.
5388 (xref-find-regexp): Handle ignored paths within the project.
5389 Remove outdated comment.
5390 * lisp/vc/vc.el (vc-default-ignore-completion-table):
5391 Skip the comments and the empty lines.
5392
5393 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
5394
5395 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
5396
5397 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
5398
5399 gnus-registry.el: Correct function argument order
5400 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
5401 Reverse the order of function arguments.
5402
5403 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
5404
5405 Bind grep-highlight-matches to nil
5406 * lisp/progmodes/xref.el (xref-collect-matches):
5407 Bind grep-highlight-matches to nil (bug#20728).
5408
5409 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
5410
5411 nnimap.el: Fix IMAP message size parsing
5412 * lisp/gnus/nnimap.el (nnimap-transform-headers):
5413 Don't assume that UID comes before RFC822.SIZE.
5414
5415 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
5418 (auth-source-creation-prompts): Declare.
5419 (nnimap-retrieve-headers, nnimap-status-message)
5420 (nnimap-request-create-group, nnimap-request-delete-group)
5421 (nnimap-close-group, nnimap-request-move-article)
5422 (nnimap-request-accept-article, nnimap-request-newgroups)
5423 (nnimap-request-post, nnimap-dummy-active-number)
5424 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
5425 (nnimap-parse-flags): Remove unused var `p'.
5426 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
5427 (nnimap-flags-to-marks): Remove unused var `totalp'.
5428
5429 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
5430
5431 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
5432
5433 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5434
5435 * src/macfont.m (macfont_list): Ignore font families lacking font descriptors.
5436
5437 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
5438
5439 Don't check the exit status, it can be misleading
5440 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
5441 exit status, it can be misleading.
5442
5443 Introduce a Project API
5444 * lisp/progmodes/project.el: New file.
5445 * lisp/cedet/ede.el: (project-try-ede): New function.
5446 (project-root): New implementation.
5447 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
5448 Set project-search-path-function.
5449 (elisp--xref-find-references): Delegate some logic to
5450 project-search-path.
5451 (elisp-search-path): New function.
5452 (elisp-xref-find): Don't implement `matches' anymore.
5453 * lisp/progmodes/etags.el: Don't implement `matches'.
5454 Delegate some logic to project-search-path.
5455 (etags-search-path): New function.
5456 * lisp/progmodes/xref.el (xref-find-function):
5457 Remove `matches' from the API.
5458 (xref-find-regexp): Move whatever common logic was in elisp and
5459 etags implementations, and search the directories returned by
5460 project-directories and project-search-path.
5461
5462 2015-07-09 Nicolas Petton <nicolas@petton.fr>
5463
5464 * test/automated/map-tests.el (test-map-delete-return-value): Uncomment test.
5465
5466 Add support for gv.el in map.el
5467 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
5468 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
5469 * test/automated/map-tests.el: Update tests to work with the new
5470 implementations of map-elt and map-put.
5471
5472 2015-07-09 Glenn Morris <rgm@gnu.org>
5473
5474 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
5475
5476 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
5477
5478 Syntax-propertize until the end of the line first
5479 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
5480 until the end of the line first.
5481
5482 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
5483
5484 * doc/emacs/files.texi (File Archives): Add a cross reference.
5485
5486 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
5487
5488 nnimap.el: Handle plain value for nnimap-stream
5489 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
5490 capabilities, so that a 'plain value for the `nnimap-stream' server
5491 variable is handled correctly.
5492 * doc/misc/gnus.texi (Customizing the IMAP Connection):
5493 Document the 'plain option.
5494
5495 2015-07-08 Leo Liu <sdl.web@gmail.com>
5496
5497 Fix bug in thing-at-point--bounds-of-well-formed-url
5498 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
5499 sure boundary contains current point.
5500
5501 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
5502
5503 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end.
5504
5505 Declare whitespace-line-column a safe file-local
5506 * lisp/whitespace.el (whitespace-line-column): Declare to be a
5507 safe file-local when the value is an integer.
5508
5509 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
5510
5511 gnus-group.el: Check if group names are already strings
5512 * lisp/gnus/gnus-group.el (gnus-group-group-name):
5513 The group name may already be a string.
5514 Specifically, in the group list reached from the *Server* buffer,
5515 the 'gnus-group text property returns a string. Everywhere else
5516 it returns a symbol.
5517
5518 nnimap.el: Remove unused let variables
5519 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
5520
5521 2015-07-08 Eli Zaretskii <eliz@gnu.org>
5522
5523 Support "maximized" property of runemacs's shortcut
5524 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
5525 the '--maximized' switch to Emacs.
5526
5527 Support "minimized" property of runemacs's shortcut
5528 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
5529 pass the '--iconic' switch to Emacs. (Bug#20991)
5530
5531 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
5532
5533 Doc fixes
5534 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
5535 C-w' in Diff mode.
5536 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
5537 Add a cross reference.
5538
5539 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
5540
5541 * lisp/obsolete/landmark.el: Add Obsolete-since header
5542
5543 2015-07-07 Glenn Morris <rgm@gnu.org>
5544
5545 * test/automated/ert-tests.el (ert-test-deftest):
5546 Update for recent changes.
5547
5548 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
5551 * lisp/emacs-lisp/gv.el (gv-setter): New function.
5552 (gv-invalid-place): New error.
5553 (gv-get): Use them.
5554 (gv-synthetic-place, gv-delay-error): New places.
5555 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
5556 (cl-defgeneric, cl-defmethod): Use gv-setter.
5557
5558 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
5559
5560 Make vc-tests work with MSYS svn program
5561 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
5562 svn is an MSYS program.
5563
5564 2015-07-07 Ken Brown <kbrown@cornell.edu>
5565
5566 Improve recent change to emacsclient on Cygwin
5567 * lisp/server.el (server-process-filter): Remove redundant check
5568 that 'cygwin-convert-file-name-from-windows' is defined as a
5569 function on Cygwin. Don't call that function unless its argument
5570 starts with a drive letter.
5571
5572 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
5573
5574 * lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix
5575 Fix void variable due to `found-something' being in the wrong `let'.
5576
5577 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5578
5579 * lisp/play/landmark.el: Move to lisp/obsolete/
5580
5581 2015-07-07 Martin Rudalics <rudalics@gmx.at>
5582
5583 Have `x-show-tip' handle `right' and `bottom' frame parameters.
5584 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
5585 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
5586 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
5587 tooltips also via `right' and `bottom' frame parameters.
5588
5589 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 Add online-help support to describe types
5592 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
5593 (describe-symbol): Improve the selection of default.
5594 * lisp/help-mode.el: Require cl-lib.
5595 (describe-symbol-backends): Move from help-fns.el.
5596 (help-make-xrefs): Use it.
5597 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
5598 for types.
5599 (cl--typedef-regexp): New const.
5600 (find-function-regexp-alist): Add entry for types.
5601 (cl-help-type, cl-type-definition): New buttons.
5602 (cl-find-class): New function.
5603 (cl-describe-type): New command.
5604 (cl--describe-class, cl--describe-class-slot)
5605 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
5606 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
5607 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
5608 New functions. Moved from eieio-opt.el.
5609 (cl--generic-class-parents): New function, extracted from
5610 cl--generic-struct-specializers.
5611 (cl--generic-struct-specializers): Use it.
5612 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
5613 Improve constructor's docstrings.
5614 (cl-struct-unknown-slot): New error.
5615 (cl-struct-slot-offset): Use it.
5616 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
5617 definition in current-load-list.
5618 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
5619 (eieio--add-new-slot): Set it.
5620 (eieio-defclass-internal): Use new name for current-load-list.
5621 (eieio-oref): Add compiler-macro to warn about unknown slots.
5622 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
5623 as compile-time as well. Improve constructor docstrings.
5624 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
5625 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
5626 (eieio-class-def): Remove button.
5627 (eieio-help-constructor): Use new name for load-history element.
5628 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
5629 (eieio-method-documentation): Move to cl-generic.el.
5630 (eieio-display-method-list): Use new names.
5631 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5632 Add "define-linline".
5633 (lisp-fdefs): Remove "defsubst".
5634 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
5635 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
5636 (macroexp--warn-and-return): Use it to avoid inf-loops.
5637 Add `compile-only' argument.
5638
5639 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
5640
5641 python.el: Fix local/remote shell environment setup
5642 * lisp/progmodes/python.el (python-shell-with-environment): Fix
5643 remote/local environment setup.
5644 * test/automated/python-tests.el (python-shell-with-environment-1)
5645 (python-shell-with-environment-2): New tests.
5646
5647 2015-07-06 Glenn Morris <rgm@gnu.org>
5648
5649 * lisp/simple.el (set-variable): Tweak recent doc fix.
5650
5651 2015-07-06 Ken Brown <kbrown@cornell.edu>
5652
5653 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE
5654
5655 2015-07-06 Glenn Morris <rgm@gnu.org>
5656
5657 * lisp/simple.el (set-variable): Use user-error for type mismatch.
5658
5659 2015-07-06 Ken Brown <kbrown@cornell.edu>
5660
5661 * src/emacs.c (main): Don't increase the stack size on Cygwin
5662
5663 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 (describe-symbol): Rewrite describe-function-or-variable
5666 * lisp/help-fns.el (describe-symbol-backends): New var.
5667 (help-xref-stack-item): Declare.
5668 (describe-symbol): Rename from describe-function-or-variable.
5669 Rewrite using describe-symbol-backends instead of help-xref-interned.
5670 * lisp/help.el (help-map): Use it.
5671 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
5672 (help-xref-interned): Make it into an obsolete alias.
5673
5674 (eieio-persistent-save): Don't ignore `file' arg (bug#20972)
5675 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
5676 `file' arg. Always use utf-8-emacs. Use with-temp-buffer and cl-letf.
5677
5678 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
5679
5680 Fix parsing glitches in dired-mark-sexp (bug#13575)
5681 * lisp/dired-x.el (dired-x--string-to-number): New function.
5682 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
5683 of directory-listing-before-filename-regexp. Consider
5684 forward-word harmful and replace it. Add more verbiage in
5685 comments and doc string.
5686
5687 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
5688
5689 python.el: Respect process environment for remote shells
5690 * lisp/progmodes/python.el
5691 (python-shell-calculate-process-environment): Calculate
5692 process-environment or tramp-remote-process-environment depending
5693 whether current file is remote.
5694 (python-shell-calculate-exec-path): Calculate exec-path or
5695 tramp-remote-path depending whether current file is remote.
5696 (python-shell-with-environment): New macro.
5697 (python-shell-prompt-detect, python-shell-calculate-command)
5698 (python-shell-make-comint, python-check): Use it.
5699
5700 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
5701 * lisp/progmodes/python.el (python-shell--interpreter)
5702 (python-shell--interpreter-args): New vars.
5703 (inferior-python-mode, python-shell-make-comint): Use them.
5704
5705 python.el: Fixes for IPython 3.x (Bug#20580)
5706 * lisp/progmodes/python.el:
5707 (python-shell-completion-native-setup): Fix IPython 3.x setup.
5708 (python-shell-completion-native-get-completions): Fix timeout
5709 logic.
5710
5711 python.el: Fix mark-defun behavior (Bug#19665)
5712 * lisp/progmodes/python.el: (python-mark-defun): New function.
5713 * test/automated/python-tests.el (python-mark-defun-1)
5714 (python-mark-defun-2, python-mark-defun-3): New tests.
5715
5716 2015-07-05 Glenn Morris <rgm@gnu.org>
5717
5718 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
5719 such as "extends(parent), private". (Bug#20969)
5720 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
5721 New tests.
5722
5723 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
5724
5725 Avoid duplicate calls to current_timespec
5726 * src/process.c (wait_reading_process_output):
5727 Cache current_timespec results as long as we're not waiting.
5728
5729 2015-07-05 Ian Kelling <ian@iankelling.org>
5730
5731 Avoid returning early reading process output due to SIGIO
5732 * src/process.c (wait_reading_process_output): Extend the behavior of
5733 not breaking due to not finding output when a timer has lowered the
5734 timeout to include when SIGIO lowers the timeout.
5735
5736 Don't return as fast reading any process output
5737 * src/process.c (wait_reading_process_output):
5738 The patch for Bug#17647 returns too fast sometimes when reading
5739 from any processes. Revert part of it, and limit the timeout more
5740 sensibly (Bug#20978).
5741
5742 Refactor timeouts in wait_reading_process_output
5743 * src/process.c (wait_reading_process_output):
5744 Simplify timeouts with an enum. Remove a redundant condition.
5745 (Bug#20978)
5746
5747 Remove ADAPTIVE_READ_BUFFERING ifdef
5748 * src/process.c (make-process, make-pipe-process, deactivate_process)
5749 (wait_reading_process_output, read_process_output, send_process)
5750 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
5751 added in case there was an operating system in which it was not
5752 useful. That was 11 years ago and it hasn't happened. Make
5753 development easier by not considering the effect of changes on a
5754 theoretical OS where this is disabled (Bug#20978).
5755
5756 2015-07-05 Glenn Morris <rgm@gnu.org>
5757
5758 * lisp/simple.el (set-variable): Doc fix.
5759
5760 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
5761
5762 2015-07-05 Ian Kelling <ian@iankelling.org>
5763
5764 accept-process-output fix
5765 This is a followon to the fix for Bug#17647 (Bug#20976).
5766 * src/process.c (status_notify): Fix too high return in some cases.
5767
5768 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
5769
5770 * lisp/character-fold.el (character-fold-table):
5771 Only fold decompositions if at least one character is non-spacing.
5772 (Bug#20975)
5773
5774 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
5775
5776 Merge from gnulib
5777 This incorporates:
5778 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
5779 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
5780 2015-07-02 update-copyright: fix test failure with perl >= 5.22
5781 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
5782 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
5783 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
5784 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
5785
5786 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
5787
5788 Respect `prog-indentation-context' in python.el
5789 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
5790 (python-indent-context, python-indent--calculate-indentation)
5791 (python-info-current-defun)
5792 (python-info-dedenter-opening-block-message)
5793 (python-info-line-ends-backslash-p)
5794 (python-info-beginning-of-backslash)
5795 (python-info-continuation-line-p): Use `prog-widen'.
5796 (python-indent--calculate-indentation)
5797 (python-indent--calculate-levels)
5798 (python-indent-calculate-indentation): Use `prog-first-column'.
5799 (python-indent--calculate-levels): Simplify.
5800 Ignore also initial empty lines for syntax calculation.
5801 * lisp/progmodes/python.el (python-indent-context): Return
5802 :no-indent for first non-empty line, not just in line 1.
5803 * test/automated/python-tests.el (python-indent-base-case)
5804 (python-indent-inside-paren-1, python-indent-inside-paren-2)
5805 (python-indent-inside-paren-3, python-indent-inside-paren-4)
5806 (python-indent-inside-paren-5, python-indent-inside-paren-6)
5807 (python-indent-after-backslash-1)
5808 (python-indent-after-backslash-2)
5809 (python-indent-after-backslash-3)
5810 (python-indent-after-backslash-4, python-indent-inside-string-1):
5811 Expect :no-indent for first non-empty line.
5812
5813 2015-07-04 Daniel Colascione <dancol@dancol.org>
5814
5815 Factor isearch word description into new function
5816 * lisp/isearch.el (isearch--describe-word-mode): New function.
5817 (isearch-message-prefix, isearch-query-replace): Use it.
5818
5819 2015-07-04 Eli Zaretskii <eliz@gnu.org>
5820
5821 Fix mouse pointer on w32 when a menu is active
5822 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
5823 shape while a menu is in use. This started happening since we now
5824 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
5825
5826 2015-07-04 Martin Rudalics <rudalics@gmx.at>
5827
5828 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
5829 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
5830 parameter. (Bug#17344)
5831
5832 Have `compilation-set-window' use right window for getting fringes (Bug#20829)
5833 * lisp/progmodes/compile.el (compilation-set-window): Take
5834 `window-fringes' from argument window. (Bug#20829)
5835
5836 2015-07-03 Glenn Morris <rgm@gnu.org>
5837
5838 Update eieio tests for recent eieio-core change.
5839 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
5840 * test/automated/eieio-tests.el
5841 (eieio-test-32-slot-attribute-override-2):
5842 Replace the deleted eieio--class-v with cl--find-class.
5843
5844 2015-07-03 Martin Rudalics <rudalics@gmx.at>
5845
5846 Fix some issues with `window-divider-mode'
5847 * lisp/frame.el (window-divider-default-places): New option.
5848 (window-divider-mode): Remove option.
5849 (window-divider-mode): Make it a "regular" minor mode.
5850 (window-divider-width-valid-p): Drop frame- prefix.
5851 (window-divider-mode-apply): New argument ENABLE. Drop frame-
5852 prefix. Handle `window-divider-default-places'.
5853 (frame--window-divider-mode-set-and-apply): Remove.
5854 (window-divider-default-bottom-width)
5855 (window-divider-default-right-width): Drop :group entries.
5856 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
5857 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
5858 (menu-bar-no-window-divider): Set `window-divider-default-places'
5859 and call `window-divider-mode'.
5860 * doc/emacs/frames.texi (Window Dividers): Document
5861 `window-divider-default-places'.
5862
5863 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
5864
5865 Add cross references in documentation
5866 * doc/emacs/display.texi (Displaying Boundaries):
5867 * doc/emacs/search.texi (Word Search): Add cross references.
5868
5869 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
5870
5871 -batch should not affect ‘’ -> `' display
5872 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
5873 -batch (Bug#20926).
5874
5875 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
5878 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el,
5879 lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
5880 Use cl--find-class instead.
5881
5882 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
5883
5884 2015-07-02 Martin Rudalics <rudalics@gmx.at>
5885
5886 Some further fixes in Change Window node. (Bug#20183)
5887 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
5888 by "resizing" in section title. Add some concept indices.
5889 Suggested by N. Jackson (Bug#20183).
5890
5891 Reference window dividers in Change Window section.
5892 * doc/emacs/windows.texi (Change Window): Reference window
5893 dividers.
5894
5895 Document new `window-divider-mode'.
5896 * lisp/frame.el (window-divider-mode): Fix doc-string.
5897 * doc/emacs/frames.texi (Window Dividers): New section.
5898
5899 Improve accessibility of window dividers. (Bug#20183)
5900 * lisp/faces.el (window-divider)
5901 (window-divider-first-pixel, window-divider-last-pixel): Change
5902 membership from `frames' to `window-divider' customization group.
5903 * lisp/frame.el (window-divider): New customization group.
5904 (window-divider-mode): New minor mode.
5905 (window-divider-default-bottom-width)
5906 (window-divider-default-right-width): New options.
5907 (frame--window-divider-previous-mode): New variable.
5908 (frame-window-divider-width-valid-p)
5909 (frame--window-divider-mode-apply)
5910 (frame--window-divider-mode-set-and-apply): New functions.
5911 * lisp/menu-bar.el (menu-bar-options-save): Save
5912 window-divider-mode settings.
5913 (menu-bar-window-divider-customize)
5914 (menu-bar-bottom-and-right-window-divider)
5915 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
5916 (menu-bar-no-window-divider): New functions.
5917 (menu-bar-showhide-window-divider-menu): New variable.
5918 (menu-bar-showhide-menu): Show/hide window divider menu.
5919 * lisp/mouse.el (mouse-split-window-vertically)
5920 (mouse-split-window-horizontally): Replace `error' by
5921 `user-error'. Bind `window-combination-resize' to nil.
5922 (top-level): Add/reorder mouse key bindings on mode- and
5923 vertical-line.
5924
5925 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
5926
5927 Don't display ‘’ as `' under X in en_GB
5928 The curved quote setup code invokes (char-displayable-p ?‘),
5929 but this isn’t reliable until after the X frame replaces the
5930 terminal frame (Bug#20926).
5931 * lisp/international/mule-cmds.el (set-locale-environment):
5932 Move curved quote setup code from here ...
5933 * lisp/startup.el (command-line): ... to here, after creating
5934 the X frame.
5935
5936 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
5937
5938 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring
5939
5940 Add argument to reverse the meaning of ido-restrict-to-matches
5941 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
5942 to reverse the meaning (Bug#15631).
5943
5944 2015-07-01 Eli Zaretskii <eliz@gnu.org>
5945
5946 Be more tolerant to fonts named "Foobar-12"
5947 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
5948 don't barf; instead, request a new fontset to be generated. This
5949 avoids unnecessarily rejecting fonts named against XLFD rules. See
5950 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
5951 for the description of the original problem.
5952 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
5953 by a hyphen in a font's name.
5954
5955 Fix value of posn-at-pont in R2L lines
5956 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
5957 coordinate of -1, for a newline in a right-to-left line that
5958 overflowed into the left fringe.
5959
5960 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 (cl--copy-slot-descriptor): Copy the `props' alist as well
5963 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
5964 Rename from cl--copy-slot-descriptor.
5965 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
5966
5967 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
5970 (xterm-query-timeout): New var.
5971 (xterm--query): Use it. Fallback on async method if we timeout before
5972 getting the first byte of the reply (bug#12354).
5973
5974 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
5975
5976 Spelling fixes
5977
5978 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
5979
5980 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
5981
5982 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
5983
5984 In strings, prefer plain ` and ' to \` and \'
5985 * lisp/allout.el (allout-insert-listified):
5986 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5987 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
5988 (ls-lisp-string-lessp):
5989 * lisp/menu-bar.el (menu-bar-open):
5990 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
5991 * lisp/progmodes/compile.el (compile):
5992 * lisp/progmodes/etags.el (tags-loop-scan):
5993 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
5994 * lisp/subr.el (posn-actual-col-row):
5995 * lisp/term/pc-win.el (x-list-fonts):
5996 * lisp/textmodes/texinfmt.el (texinfmt-version):
5997 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
5998 * lisp/time.el (display-time-world-list):
5999 * lisp/tmm.el (tmm-menubar):
6000 * src/buffer.c (syms_of_buffer):
6001 * src/fileio.c (syms_of_fileio):
6002 Omit unnecessary and confusing backslash before quote.
6003 * lisp/erc/erc.el (erc-cmd-LASTLOG):
6004 * lisp/progmodes/flymake.el (flymake-fix-file-name):
6005 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
6006 Fix string that was intended to escape a backslash and not a quote.
6007
6008 2015-06-30 Glenn Morris <rgm@gnu.org>
6009
6010 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
6011
6012 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
6013 Replace hard-coded lists with wildcard + filter-out.
6014
6015 * configure.ac (system-configuration-features): Add X11, NS.
6016
6017 Improve reproducibility of generated loaddefs file.
6018 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6019 Make the return value the modtime of the input file (if no autoloads).
6020 (update-directory-autoloads): In the "no autoloads" section,
6021 use "most recent modtime" rather than "current time".
6022
6023 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
6024
6025 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic
6026 (Bug#20930)
6027
6028 2015-06-30 Nicolas Petton <nicolas@petton.fr>
6029
6030 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
6031
6032 Add seq-min and seq-max
6033 Bump version number.
6034 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
6035 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
6036
6037 2015-06-30 Eli Zaretskii <eliz@gnu.org>
6038
6039 Make sure sleep-for always delays for as long as it's told
6040 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
6041 a loop, to ensure we always wait exactly the required amount of
6042 time. (Bug#15990)
6043
6044 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
6045
6046 Fix pointer signedness glitch
6047 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
6048
6049 2015-06-30 Eli Zaretskii <eliz@gnu.org>
6050
6051 Don't block changes in mouse pointer inside 'track-mouse'
6052 * etc/NEWS:
6053 * doc/lispref/frames.texi (Mouse Tracking): Document the special
6054 effect of setting 'track-mouse' to 'dragging'.
6055 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
6056 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
6057 * lisp/mouse-drag.el (mouse-drag-throw):
6058 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
6059 to avoid changes in the shape of the mouse pointer.
6060 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
6061 pointer shape when do_mouse_tracking has the value of 'dragging',
6062 not just any non-nil value. (Bug#20934)
6063 (syms_of_xdisp): DEFSYM 'dragging'.
6064
6065 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
6066
6067 * lisp/isearch.el (isearch-toggle-word): Fix toggle
6068
6069 * lisp/emacs-lisp/package.el (package-compute-transaction):
6070 Don't assume version sorting.
6071
6072 * lisp/emacs-lisp/package.el (package--save-selected-packages):
6073 Don't save before init time, to avoid overwriting configurations.
6074 (Bug#20855)
6075
6076 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
6077
6078 Add cross references.
6079 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
6080 references.
6081
6082 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
6083
6084 cfengine.el: update for the upcoming CFEngine 3.7 release
6085 Update for the upcoming CFEngine 3.7 release: support macros and
6086 quoted context strings; reformat JSON; indent promise attributes 2
6087 units by default; give function parameter descriptions in the eldoc
6088 glue.
6089 * cfengine.el: Update version and docs and fix name. Autoload
6090 `json-pretty-print'. Support new features in 3.7.
6091 (cfengine-parameters-indent): Set default promise attribute indent to
6092 2 more than the promise itself.
6093 (cfengine3-macro-regex): New variable to match the new macro syntax.
6094 (cfengine3-font-lock-keywords): Use it to highlight macros.
6095 (cfengine3-indent-line): Use it to indent macros to column 0.
6096 (cfengine3-class-selector-regex): Update for the new quoted strings
6097 format.
6098 (cfengine3-reformat-json-string): New function to reformat a JSON
6099 string using `json-pretty-print'.
6100 (cfengine3-format-function-docstring): Use function parameter
6101 description if it's provided by the cf-promises syntax dump.
6102
6103 2015-06-29 Michael R. Mauger <michael@mauger.com>
6104
6105 Cygwin emacsclient handles w32 file names
6106
6107 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
6108
6109 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925).
6110
6111 2015-06-29 Eli Zaretskii <eliz@gnu.org>
6112
6113 * doc/lispref/text.texi (Sticky Properties): Improve wording.
6114 (Bug#20924)
6115
6116 Allow font names that end in "-NN", where NN is a number
6117 * src/font.c (font_load_for_lface): If the font-spec didn't match
6118 any available fonts, try again without interpreting trailing "-NN"
6119 as the font size. For the description of the original problem, see
6120 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
6121
6122 .gdbinit followup to changes in !USE_LSB_TAG
6123 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
6124 !USE_LSB_TAG, as Emacs no longer does.
6125
6126 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
6127
6128 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
6129 Otherwise `s p' of f and F will stomp on each other's value. (Bug#20916)
6130
6131 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
6132
6133 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
6134 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
6135
6136 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6137
6138 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point as additional guess
6139
6140 * lisp/emacs-lisp/package.el (describe-package): Convert the guess to a string
6141
6142 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
6143
6144 apropos-library quoting fix
6145 * lisp/apropos.el (apropos-library): Quote library consistently
6146 with the rest of the quoting used by apropos.
6147
6148 Clarify interpreter-mode-alist doc
6149 * lisp/files.el (interpreter-mode-alist):
6150 Reword to avoid confusing quoting that wasn't working anyway.
6151
6152 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
6153
6154 Sync with Tramp 2.2.12
6155 * doc/misc/trampver.texi:
6156 * lisp/net/trampver.el: Update release number.
6157 * test/automated/tramp-tests.el (tramp-test13-make-directory):
6158 Fix cleanup.
6159
6160 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
6161
6162 * lisp/isearch.el (isearch-mode): Don't char-fold regexps
6163 (bug#20913)
6164
6165 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
6166
6167 Bind grep-highlight-matches around the rgrep call
6168 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
6169 around the rgrep call (bug#20728).
6170
6171 Put "--color" before the other options in grep-command
6172 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
6173 before the other options in grep-command (bug#20912).
6174
6175 Add --color Grep option to the command dynamically
6176 * lisp/progmodes/grep.el (grep-template, grep-find-template):
6177 Update the description for <C>. (Bug#20728)
6178 (grep-compute-defaults): Don't add the --color option to
6179 grep-options. Only add it to grep-command.
6180 (grep-expand-keywords): Expand the env value opts into <C>.
6181 (grep-expand-template): Replace cf in the env with the opts list,
6182 that can include -i and --color.
6183 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
6184 "--color=always" from the template, because we don't have to.
6185
6186 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
6187
6188 cl-extra fixes for most-negative-fixnum
6189 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
6190 Don't mishandle an argument equal to most-negative-fixnum,
6191 whose absolute value equals itself.
6192 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
6193
6194 Initialize cl--gensym-counter to 0
6195 Previously it was initialized to a random value, which made it
6196 harder to reproduce earlier Emacs runs. The need for a random
6197 value went away when Emacs introduced and used the #: syntax for
6198 uninterned symbols (Bug#20862).
6199 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
6200 Document that cl--gensym-counter now starts with 0.
6201 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
6202 (cl--random-time): Move to near only remaining use.
6203 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
6204
6205 Improve docstring for macroexp-let2
6206 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
6207 Improve as per suggestion by RMS in:
6208 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
6209 Also, rename args to match new doc string.
6210
6211 2015-06-27 Eli Zaretskii <eliz@gnu.org>
6212
6213 Fix VC test suite on MS-Windows
6214 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
6215 always starts with 3 slashes after the colon.
6216 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
6217 'w32-application-type' to invoke CVS on MS-Windows with properly
6218 formatted CVSROOT directory name.
6219
6220 Add a new function w32-application-type
6221 * src/w32proc.c (Fw32_application_type): New function.
6222
6223 Avoid error in TLS connections due to incorrect format
6224 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
6225 the call to 'error', instead of the unsupported %u. Reported by
6226 lo2net <fangtao0901@gmail.com>. (Bug#20908)
6227
6228 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
6229
6230 * lisp/replace.el (replace-search): Fix regexp case (bug#20901)
6231
6232 2015-06-26 Leo Liu <sdl.web@gmail.com>
6233
6234 Fix indentation for with-output-to-string
6235 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
6236 `with-output-to-string' in elisp.
6237 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string"
6238 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
6239
6240 2015-06-26 Eli Zaretskii <eliz@gnu.org>
6241
6242 Minor corrections in ELisp manual
6243 * doc/lispref/nonascii.texi (Character Properties): Correct
6244 inaccuracies in description of values of the Unicode properties.
6245
6246 Fix invisible mouse pointers on Windows.
6247 * src/w32fns.c: Include windowsx.h.
6248 (w32_wnd_proc): If the mouse moved and the mouse pointer is
6249 invisible, make it visible again even when the main (Lisp)
6250 thread is busy.
6251 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
6252 garbaging the frame have the input thread call SetCursor.
6253
6254 2015-06-26 Martin Rudalics <rudalics@gmx.at>
6255
6256 Provide invisible mouse pointers on Windows. (Bug#6105) (Bug#12922)
6257 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
6258 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
6259 * src/w32term.c (w32_hide_hourglass): Handle
6260 f->pointer_invisible.
6261 (w32_toggle_invisible_pointer): New function.
6262 (w32_create_terminal): Add w32_toggle_invisible_pointer as
6263 toggle_invisible_pointer_hook for this terminal.
6264
6265 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
6266
6267 Doc fix for deletion commands
6268 'delete-char' does not respect the value of 'delete-active-region'.
6269 * doc/emacs/killing.texi (Deletion):
6270 Fix documentation for some single-char deletion commands.
6271
6272 * doc/emacs/help.texi (Apropos):
6273 Improve documentation of 'apropos-do-all'.
6274
6275 * doc/emacs/help.texi (Help Summary):
6276 Improve documentation of 'describe-mode'.
6277
6278 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
6279
6280 Fix submake dependency bug with .h files
6281 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
6282 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
6283 before the submake in $(libsrc) would spin off a subsubmake
6284 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
6285
6286 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
6287
6288 * lisp/character-fold.el (character-fold-table): Reuse `table'
6289
6290 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
6291
6292 Translate undisplayable ‘ to `
6293 * doc/lispref/help.texi (Keys in Documentation):
6294 * lisp/international/mule-cmds.el (set-locale-environment):
6295 * lisp/term/w32console.el (terminal-init-w32console):
6296 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
6297 If ‘ is not displayable, transliterate it to `, not to '. See:
6298 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
6299
6300 Fix C99 incompatibilities in Cairo code
6301 * src/image.c (xpm_load) [USE_CAIRO]:
6302 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
6303 Fix pointer signedness problem.
6304
6305 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
6306
6307 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
6308 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
6309 `with-output-to-string' should have the same indent as `progn'.
6310 This is in line with the declaration of `with-output-to-string'.
6311
6312 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
6313
6314 Get ‘./configure; make -C src emacs’ to work
6315 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
6316 * lib-src/Makefile.in (../lib/libgnu.a):
6317 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
6318
6319 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
6320
6321 Fix GC bugs --with-wide-int and Qnil == 0
6322 Use the same alignment for the !USE_LSB_TAG case as for the
6323 more-typical USE_LSB_TAG case. The attempt to support arbitrary
6324 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
6325 once we changed the representation of symbols so that Qnil == 0.
6326 Problem reported by Eli Zaretskii (Bug#20862).
6327 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
6328 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
6329 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
6330 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
6331 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
6332 This optimization in the !USE_LSB_TAG case is no longer valid when
6333 symbols are represented via offsets. Change the only use to
6334 assume that pointers might hide in objects.
6335 * src/lisp.h (alignas) [!USE_LSB_TAG]:
6336 Require support in this case, too.
6337 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
6338 This is OK, because the !USE_LSB_TAG case now applies only when
6339 Lisp_Object is wider than void *, so there's no longer any need
6340 to shift the offset. Not shifting the offset means that
6341 symbol representations have the same alignment as pointers,
6342 which the GC assumes.
6343
6344 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
6345
6346 * doc/lispintro/emacs-lisp-intro.texi (Data types):
6347 Improve documentation of 'substring'.
6348
6349 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
6350
6351 * lisp/character-fold.el (character-fold-table): Fix table generation
6352
6353 2015-06-24 Glenn Morris <rgm@gnu.org>
6354
6355 * nextstep/Makefile.in (all): Make it the first target.
6356 (../src/emacs${EXEEXT}): Add rule for making it.
6357
6358 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
6359
6360 * etc/NEWS: Fix mention to old function name
6361
6362 * lisp/character-fold.el: New file (Bug#20887)
6363 (character-fold-to-regexp): New function.
6364 * lisp/replace.el (replace-search): Check value of
6365 `character-fold-search'.
6366 * lisp/isearch.el: Move character-folding code to
6367 character-fold.el
6368 (isearch-toggle-character-fold): New command.
6369 (isearch-mode-map): Bind it to "\M-sf".
6370 (isearch-mode): Check value of `character-fold-search'.
6371
6372 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * lisp/subr.el (remove-from-invisibility-spec): Handle the t case
6375 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
6376 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
6377
6378 * lisp/progmodes/xref.el: Avoid init-args in oref.
6379 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
6380 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
6381
6382 2015-06-24 Glenn Morris <rgm@gnu.org>
6383
6384 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
6385
6386 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * lisp/gnus/nnmaildir.el: Silence lexical warnings
6389 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
6390 functional style.
6391 (nnmaildir--update-nov): Remove unused var `numdir'.
6392 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
6393 (nnmaildir-request-group, nnmaildir-request-create-group)
6394 (nnmaildir-request-post, nnmaildir-request-move-article)
6395 (nnmaildir-request-accept-article, nnmaildir-active-number): Mark unused args.
6396 (nnmaildir-get-new-mail, nnmaildir-group-alist)
6397 (nnmaildir-active-file): Declare.
6398 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
6399 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
6400 `mark', `end', `new-mark', and `mark-sym'.
6401 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
6402 `nlist2'.
6403 (nnmaildir-request-expire-articles):
6404 Remove unused vars `article', `stop' and `nlist2'.
6405 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
6406 `end'. Use nnmaildir--article when dyn-binding is needed.
6407 Give the value directly in the `let' for `del-mark', `del-action',
6408 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
6409 (nnmaildir-close-server): Declare those local vars that need to be
6410 dyn-bound.
6411
6412 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
6413
6414 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
6415
6416 Port selection info fix to clang
6417 * src/keyboard.h (kbd_buffer_store_event_hold):
6418 Don't assume C11 semantics for alignof (Bug#20756).
6419
6420 Fix bug that munged selection info
6421 On some optimizing C compilers, copying a structure did not
6422 copy the padding bytes between elements, and the type punning
6423 between struct input_data and struct selection_input_data did
6424 not work. Change the C code to use a proper union type instead.
6425 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
6426 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
6427 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
6428 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
6429 (mark_kboards):
6430 Use union buffered_input_event, not struct input_event.
6431 (clear_event, deliver_input_available_signal, process_special_events):
6432 Remove unnecessary forward decls.
6433 (kbd_buffer_store_buffered_event): New function, mostly just the
6434 old kbd_buffer_store_event_hold, except its argument is of type
6435 union buffered_input_event, not struct input_event.
6436 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
6437 not needed otherwise. Argument is now of type
6438 struct selection_input_event *, not struct input_event *.
6439 All callers changed.
6440 (clear_event): Arg is now of type union buffered_input_event *,
6441 not struct input_event *. All callers changed.
6442 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
6443 (union buffered_input_event): New type.
6444 (kbd_buffer_store_event_hold): Now an inline function,
6445 defined here.
6446 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
6447 (struct input_event): Use it.
6448 * src/xselect.c (struct selection_event_queue):
6449 Make elements be of type struct selection_input_event,
6450 not struct input_event.
6451 (selection_input_event_equal): New static function.
6452 (x_queue_event): Use it.
6453 (x_queue_event, x_decline_selection_request)
6454 (x_selection_current_request, x_reply_selection_request)
6455 (x_handle_selection_request, x_handle_selection_clear)
6456 (x_handle_selection_event): Use struct selection_input_event,
6457 not struct input_event. All callers changed.
6458 (x_convert_selection): Omit unused first arg. All callers changed.
6459 (Fx_disown_selection_internal): Omit unnecessary union.
6460 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
6461 rather than rolling our own equivalent. Prefer sie.kind when
6462 setting up that kind of structure.
6463 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
6464 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
6465 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
6466 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
6467 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
6468 (SELECTION_EVENT_TIME, x_handle_selection_event):
6469 Arg is now of type struct selection_input_event *)
6470 not struct input_event *. All callers changed.
6471
6472 2015-06-23 Glenn Morris <rgm@gnu.org>
6473
6474 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
6475
6476 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
6477
6478 * lisp/isearch.el: Fold many unicode characters to ASCII
6479 (isearch-character-fold-search, isearch--character-fold-extras)
6480 (isearch--character-fold-table): New variable.
6481 (isearch--character-folded-regexp): New function.
6482 (isearch-search-fun-default): Use them.
6483 * lisp/replace.el (replace-character-fold): New variable.
6484 (replace-search): Use it.
6485 * etc/NEWS: Document it.
6486
6487 2015-06-23 Glenn Morris <rgm@gnu.org>
6488
6489 Check for an input event before showing a dialog box. (Bug#20813)
6490 * lisp/subr.el (y-or-n-p):
6491 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
6492 as last-nonmenu-event.
6493
6494 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
6495
6496 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
6497 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
6498 (switch-to-prev-buffer, switch-to-next-buffer): Respect
6499 switch-to-visible-buffer independent of the windows history.
6500
6501 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
6502
6503 * src/keyboard.c (last_timer_event): Remove unused var.
6504
6505 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
6506
6507 * test/automated/package-test.el (package-test-update-listing):
6508 Fix test.
6509
6510 2015-06-23 Glenn Morris <rgm@gnu.org>
6511
6512 Revert 2014-06-25 nextstep/Makefile change.
6513 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
6514 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
6515 not as an order-only prerequisite.
6516
6517 * configure.ac (--with-ns): Enable by default on OS X.
6518
6519 2015-06-23 Leo Liu <sdl.web@gmail.com>
6520
6521 Fix shell-for/backward-command to exclude spaces
6522 * lisp/shell.el (shell-forward-command, shell-backward-command):
6523 Handle the 'move case from re-search-forward/backward.
6524 fixes debbugs:20873
6525
6526 2015-06-22 Juri Linkov <juri@linkov.net>
6527
6528 * lisp/replace.el (query-replace-read-from): Add separator to
6529 the local binding of text-property-default-nonsticky. (Bug#20690)
6530
6531 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
6532 (Bug#20785)
6533
6534 2015-06-22 Ken Brown <kbrown@cornell.edu>
6535
6536 Enable CPU profiling on Cygwin
6537 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
6538 change that undefined this.
6539 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
6540 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
6541 Cygwin.
6542
6543 Improve diagnostics of profiler-cpu-start
6544 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
6545 return -1 if the sampling interval is invalid.
6546 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
6547 fails. (Bug#20843)
6548
6549 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
6550
6551 * lisp/emacs-lisp/package.el: Exclude packages by name
6552 (package-hidden-regexps): New variable.
6553 (package-menu--refresh): Use it.
6554 (package-menu-hide-package): New command.
6555
6556 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding
6557
6558 2015-06-22 Eli Zaretskii <eliz@gnu.org>
6559
6560 Fix debug-timer-check on systems without HAVE_TIMERFD
6561 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
6562 the expired timers, since wait_reading_process_output doesn't.
6563 (debug_timer_callback): Enlarge the tolerance to 20 msec.
6564
6565 Fix RCS crashes in vc-test
6566 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
6567 ports of 'ci' on MS-Windows by always passing the -t- switch.
6568
6569 2015-06-22 Glenn Morris <rgm@gnu.org>
6570
6571 * doc/emacs/package.texi (Packages):
6572 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
6573
6574 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
6575
6576 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
6577
6578 Port tests to help-quote-translation
6579 * test/automated/ert-x-tests.el (ert-test-describe-test):
6580 * test/automated/package-test.el (package-test-describe-package)
6581 (package-test-signed): Allow straight quotes, too.
6582
6583 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
6584
6585 Make find-function-on-key use the current window
6586 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
6587 Extract from `find-function-on-key', add a second argument.
6588 (find-function-on-key): Use it (bug#19679).
6589 (find-function-on-key-other-window)
6590 (find-function-on-key-other-frame): New commands.
6591
6592 2015-06-21 Nicolas Petton <nicolas@petton.fr>
6593
6594 Revert "Define `map-elt' as a generalized variable"
6595 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
6596
6597 2015-06-21 Ken Brown <kbrown@cornell.edu>
6598
6599 Drop support for CPU profiling on Cygwin
6600 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
6601 (Bug#20843)
6602
6603 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
6604
6605 Fix some “nested” quoting confusion in doc strings
6606 * lisp/emacs-lisp/advice.el (ad-map-arglists):
6607 * lisp/kermit.el (kermit-clean-on):
6608 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
6609 * src/keyboard.c (Frecursive_edit):
6610 Use curved quotes when quoting text containing apostrophe,
6611 so that the apostrophe isn't curved in the output.
6612
6613 2015-06-21 Nicolas Petton <nicolas@petton.fr>
6614
6615 Define `map-elt' as a generalized variable
6616 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
6617 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
6618 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
6619 `setf' with `map-elt'.
6620 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
6621
6622 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
6623
6624 Improve error handling in tramp-adb.el
6625 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
6626 Improve error handling.
6627
6628 2015-06-21 Nicolas Petton <nicolas@petton.fr>
6629
6630 Reuse `alist-get' in map.el
6631 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
6632 elements.
6633
6634 2015-06-21 Eli Zaretskii <eliz@gnu.org>
6635
6636 Fix bytecomp-tests--warnings when $TMPDIR has a long name
6637 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
6638 Allow the warning to begin on the 3rd, not only 2nd line, which
6639 happens if temporary-file-directory has a very long name.
6640
6641 Expect 2 icalendar tests to fail on MS-Windows
6642 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
6643 (icalendar-real-world): Make them expected failures on MS-Windows.
6644
6645 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
6646
6647 Improve port of settings UI to older displays
6648 * lisp/cus-start.el (standard): Don't assume curved quotes are
6649 easily distinguishable when users are tinkering with a setting
6650 that affects how curved quotes are generated.
6651
6652 Fix quoting in electric-quote-mode doc string
6653 * lisp/electric.el (electric-quote-mode): Fix quoting.
6654 This is a fallout from the recent change introducing
6655 ‘help-quote-translation’.
6656
6657 Spelling fix
6658
6659 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
6660
6661 * src/doc.c (syms_of_doc): Remove unused symbols.
6662
6663 2015-06-20 Martin Rudalics <rudalics@gmx.at>
6664
6665 In ‘window-state-put’ undedicate target window. (Bug#20848)
6666 * lisp/window.el (window-state-put): Undedicate target window
6667 before putting STATE into it. (Bug#20848)
6668
6669 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
6670
6671 Merge from origin/emacs-24
6672 a5e6f33 Fixes: debbugs:20832
6673 b9f02cf Fixes: debbugs:20832
6674
6675 2015-06-19 Eli Zaretskii <eliz@gnu.org>
6676
6677 Fix file-in-directory-p when the directory is UNC
6678 * lisp/files.el (file-in-directory-p): Support files and
6679 directories that begin with "//". (Bug#20844)
6680
6681 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
6682
6683 (Bug#20832)
6684 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
6685 in the minibuffer.
6686
6687 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
6688
6689 (Bug#20832)
6690 * lisp/calendar/todo-mode.el (todo-show): Signal an error
6691 if buffer for adding new todo file is empty but modified.
6692
6693 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 (filepos-to-bufferpos): Further tweaks to the utf-16 code
6696 * lisp/international/mule-util.el (filepos-to-bufferpos):
6697 Fix typo. Move non-exact check to the utf-16 branch (the only one
6698 affected). Don't use byte-to-position for the utf-16 case.
6699
6700 2015-06-19 Eli Zaretskii <eliz@gnu.org>
6701
6702 Minor fixes in filepos-to-bufferpos
6703 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
6704 test for utf-8-emacs. Exempt single-byte encodings from the
6705 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
6706 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
6707 UTF-16 encoded files for CR-LF EOLs.
6708
6709 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
6710
6711 Improve the optional translation of quotes
6712 Fix several problems with the recently-added custom variable
6713 help-quote-translation where the code would quote inconsistently
6714 in help buffers. Add support for quoting 'like this', which
6715 is common in other GNU programs in ASCII environments. Change
6716 help-quote-translation to use more mnemonic values: values are now the
6717 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
6718 traditional Emacs help-buffer quoting style `like this'. Change the
6719 default behavior of substitute-command-keys to match what's done in
6720 set-locale-environment, i.e., quote ‘like this’ if displayable,
6721 'like this' otherwise.
6722 * doc/lispref/help.texi (Keys in Documentation): Document
6723 new behavior of substitute-command-keys, and document
6724 help-quote-translation.
6725 * doc/lispref/tips.texi (Documentation Tips):
6726 Mention the effect of help-quote-translation.
6727 * etc/NEWS: Mention new behavior of substitute-command-keys,
6728 and merge help-quote-translation news into it.
6729 When talking about doc strings, mention new ways to type quotes.
6730 * lisp/cedet/mode-local.el (overload-docstring-extension):
6731 Revert my recent change to this function, which shouldn't be
6732 needed as the result is a doc string.
6733 * lisp/cedet/mode-local.el (mode-local-print-binding)
6734 (mode-local-describe-bindings-2):
6735 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
6736 * lisp/cus-theme.el (describe-theme-1):
6737 * lisp/descr-text.el (describe-text-properties-1, describe-char):
6738 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
6739 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
6740 (eieio-help-constructor):
6741 * lisp/emacs-lisp/package.el (describe-package-1):
6742 * lisp/faces.el (describe-face):
6743 * lisp/help-fns.el (help-fns--key-bindings)
6744 (help-fns--compiler-macro, help-fns--parent-mode)
6745 (help-fns--obsolete, help-fns--interactive-only)
6746 (describe-function-1, describe-variable):
6747 * lisp/help.el (describe-mode):
6748 Use substitute-command-keys to ensure a more-consistent quoting
6749 style in help buffers.
6750 * lisp/cus-start.el (standard):
6751 Document new help-quote-translation behavior.
6752 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
6753 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
6754 (help-xref-url-regexp):
6755 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
6756 * lisp/wid-edit.el (widget-documentation-link-regexp):
6757 Also match 'foo', in case we're in a help buffer generated when
6758 help-quote-translation is ?'.
6759 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
6760 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
6761 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
6762 (Fsubstitute_command_keys): Document and implement new behavior.
6763 (Vhelp_quote_translation): Document new behavior.
6764
6765 2015-06-18 Glenn Morris <rgm@gnu.org>
6766
6767 * lisp/cus-start.el (help-quote-translation): Add :version.
6768
6769 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
6770
6771 2015-06-18 Alan Mackenzie <acm@muc.de>
6772
6773 Make translation of quotes to curly in doc strings optional.
6774 src/doc.c (traditional, prefer-unicode): new symbols.
6775 (help-quote-translation): new variable.
6776 (Fsubstitute_command_keys): make translation of quotes dependent on
6777 `help-quote-translation'; also translate curly quotes back to ASCII
6778 ones.
6779 lisp/cus-start.el (top-level): Add a customization entry for
6780 `help-quote-translation'.
6781
6782 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
6783
6784 * lisp/emacs-lisp/package.el: Don't always propagate async errors
6785 (package--with-work-buffer-async): Only propagate the error if the
6786 callback returns non-nil.
6787 (package--download-one-archive): Return nil on the signature
6788 checking callback if we accept unsigned.
6789 (package--download-and-read-archives): Return non-nil on the
6790 archive download callback.
6791
6792 2015-06-18 Martin Rudalics <rudalics@gmx.at>
6793
6794 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
6795 * src/nsfns.m (Fx_create_frame):
6796 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
6797 image_cache_refcount before first x_default_parameter call.
6798
6799 2015-06-18 Eli Zaretskii <eliz@gnu.org>
6800
6801 Improve and extend filepos-to-bufferpos
6802 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
6803 Don't barf if F returns nil for some argument.
6804 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
6805 that every encoding of type 'charset' is single-byte.
6806
6807 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
6808
6809 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
6810 Properly delete packages. (Bug#20836)
6811
6812 2015-06-18 Eli Zaretskii <eliz@gnu.org>
6813
6814 Update data files from just-released Unicode 8.0
6815 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
6816 status.
6817 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
6818 * admin/unidata/BidiMirroring.txt:
6819 * admin/unidata/BidiBrackets.txt:
6820 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
6821
6822 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
6823
6824 Document curved quotes a bit better
6825 * doc/emacs/basic.texi (Inserting Text):
6826 Mention C-x 8. Change example to use curved quote rather
6827 than infinity, as this lets us give more ways to do it.
6828 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
6829 and quotation marks.
6830 * doc/emacs/text.texi (Quotation Marks):
6831 * doc/lispref/tips.texi (Documentation Tips):
6832 Add "curly quotes" and "curved quotes" to the index.
6833 * doc/emacs/text.texi (Quotation Marks):
6834 Give the C-x 8 shorthands for curved quotes.
6835 Cross-reference to "Quotation Marks".
6836
6837 2015-06-17 Daiki Ueno <ueno@gnu.org>
6838
6839 Add pinentry.el for better GnuPG integration
6840 * lisp/pinentry.el: New file.
6841 * etc/NEWS: Add entry about pinentry.el.
6842 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
6843 (Bug#20550)
6844
6845 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
6846
6847 * lisp/emacs-lisp/package.el: Slightly better error reporting.
6848
6849 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 (define-minor-mode): Use setq-default for :global minor modes
6852 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
6853 Use setq-default for :global minor modes (bug#20712).
6854
6855 2015-06-17 Eli Zaretskii <eliz@gnu.org>
6856
6857 Avoid infloop in redisplay with tall images
6858 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
6859 down near ZV. (Bug#20808)
6860 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
6861 instead of CHARPOS.
6862
6863 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
6864
6865 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
6866 Fix error reporting.
6867
6868 * lisp/let-alist.el: move to lisp/emacs-lisp/let-alist.el
6869
6870 * lisp/emacs-lisp/package.el: Revert buffer after any operation
6871 Call `package-menu--post-refresh' after any operation that changes
6872 the package database (`package-install' and `package-delete'). To
6873 avoid performance issues in large transactions, these functions
6874 add `post-refresh' to `post-command-hook' instead of calling it
6875 immediately.
6876 (package-menu--mark-or-notify-upgrades): New function.
6877 (list-packages): Add it to `package--post-download-archives-hook'.
6878 (package-menu--post-refresh): Lose the upgrade-checking code, add
6879 code to remove itself from `post-command-hook'.
6880 (package-install, package-delete): Add it to `post-command-hook'.
6881 (package-menu-execute): Don't call `package-menu--post-refresh'.
6882
6883 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
6884
6885 Add missing function xref-location-group for elisp-mode.
6886 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
6887
6888 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
6889
6890 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
6891 The behavior now matches the description in the manual. (Bug#20783)
6892
6893 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
6894
6895 Update tutorials/TUTORIAL.cn
6896 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
6897
6898 2015-06-17 Glenn Morris <rgm@gnu.org>
6899
6900 Generate char-script-table from Unicode source. (Bug#20789)
6901 * admin/unidata/Makefile.in (AWK): New, set by configure.
6902 (all): Add charscript.el.
6903 (blocks): New variable.
6904 (charscript.el, ${unidir}/charscript.el): New targets.
6905 (extraclean): Also remove generated charscript.el.
6906 * admin/unidata/blocks.awk: New script.
6907 * admin/unidata/Blocks.txt: New data file, from unicode.org.
6908 * lisp/international/characters.el: Load charscript.
6909 * src/Makefile.in (charscript): New variable.
6910 (${charscript}): New target.
6911 (${lispintdir}/characters.elc): Depend on charscript.elc.
6912 (temacs$(EXEEXT)): Depend on charscript.
6913
6914 * lisp/international/characters.el (char-script-table): Tweak
6915 some ranges to better match the source. (Bug#20789#17)
6916
6917 Remove "no-byte-compile: t" from a few files.
6918 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
6919 * lisp/obsolete/patcomp.el: No reason not to compile these.
6920
6921 2015-06-16 Glenn Morris <rgm@gnu.org>
6922
6923 Fix some typos in copied Unicode data. (Bug#20789)
6924 * lisp/international/characters.el (char-script-table):
6925 * lisp/international/fontset.el (script-representative-chars)
6926 (setup-default-fontset): Fix typos.
6927
6928 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
6929 Don't print filename twice (it's in the prefix now).
6930
6931 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
6932 No longer needed.
6933
6934 Address a compilation warning.
6935 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
6936 Replace 't' with '_' in pcase.
6937
6938 Address some check-declare warnings.
6939 * lisp/simple.el (tabulated-list-print):
6940 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
6941 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
6942 (ns-get-selection): Update declarations.
6943
6944 Address some compilation warnings.
6945 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
6946 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
6947 Replace 't' with '_' in pcase.
6948
6949 Address some compilation warnings.
6950 * lisp/face-remap.el (text-scale-adjust):
6951 * lisp/menu-bar.el (popup-menu-normalize-position):
6952 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6953 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6954 * lisp/emacs-lisp/generator.el (cps--transform-1):
6955 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
6956 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
6957 * lisp/progmodes/octave.el (octave-goto-function-definition)
6958 (octave-find-definition-default-filename):
6959 Replace 't' with '_' in pcase.
6960
6961 * lisp/emacs-lisp/pcase.el (pcase--u1):
6962 Paper-over today's bootstrap failure.
6963
6964 2015-06-16 Nicolas Petton <nicolas@petton.fr>
6965
6966 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
6967
6968 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
6969
6970 Better confirmation message in `find-alternate-file' (Bug#20830)
6971 * lisp/files.el (find-alternate-file'): Improve the confirmation
6972 message to show the buffer name.
6973
6974 Better docstring for null. (Bug#20815)
6975 * src/data.c (null): Improves the docstring, saying what null returns
6976 when OBJECT is non-nil.
6977
6978 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * lisp/net/newst-treeview.el: Use lexical-binding.
6981
6982 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
6983 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
6984 New auxiliary function, extracted from filepos-to-bufferpos.
6985 Make sure it terminates.
6986 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
6987 Add support for the `exact' quality.
6988
6989 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
6990
6991 Identify feeds in newsticker treeview with :nt-feed property
6992 * lisp/net/newst-treeview.el:
6993 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
6994
6995 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * lisp/emacs-lisp/pcase.el: Improve docs and error handling
6998 (pcase--self-quoting-p): Floats aren't self-quoting.
6999 (pcase): Tweak docstring.
7000 (pcase--u1): Deprecate the t pattern. Improve error detection for
7001 the nil pattern.
7002 (\`): Tweak docstring. Signal an error for unrecognized cases.
7003 (bug#20784)
7004
7005 2015-06-16 Eli Zaretskii <eliz@gnu.org>
7006
7007 Fix infloop in filepos-to-bufferpos
7008 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
7009 offset calculation, and make it conditional on the eol-type of the
7010 file's encoding. (Bug#20825)
7011
7012 2015-06-16 Martin Rudalics <rudalics@gmx.at>
7013
7014 Fix handling of image cache refcounts. (Bug#20802)
7015 This backports Eli Zaretskii's solution of this problem for W32
7016 to X and NS.
7017 * src/nsfns.m (image_cache_refcount): Define unconditionally.
7018 (unwind_create_frame): If the image cache's reference count
7019 hasn't been updated yet, do that now.
7020 (Fx_create_frame): Set image_cache_refcount unconditionally.
7021 * src/xfns.c (image_cache_refcount): Define unconditionally.
7022 (unwind_create_frame): If the image cache's reference count
7023 hasn't been updated yet, do that now.
7024 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
7025 unconditionally.
7026 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
7027 X and NS.
7028
7029 2015-06-16 Nils Ackermann <nils@ackermath.info>
7030
7031 Improve reftex-label-regexps default value
7032 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
7033 keyvals label regexp more strict to better cope with unbalanced
7034 brackets common in math documents.
7035
7036 2015-06-16 Glenn Morris <rgm@gnu.org>
7037
7038 * doc/emacs/calendar.texi (Format of Diary File):
7039 Move "nonmarking" from here...
7040 (Displaying the Diary): ... to here.
7041
7042 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
7043 Swap the order of these nodes.
7044 * doc/emacs/emacs.texi: Update detailed menu for the above change.
7045
7046 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
7047 Update date of examples.
7048 (Diary, Format of Diary File): Move example from former to latter.
7049 Reduce duplication.
7050
7051 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
7052 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
7053 Don't set no-byte-compile in the outputs.
7054 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
7055
7056 2015-06-15 Glenn Morris <rgm@gnu.org>
7057
7058 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
7059 * doc/emacs/calendar.texi (Diary, Format of Diary File):
7060 Update for above diary-file change.
7061 : * etc/NEWS: Mention this.
7062
7063 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
7064 (apply-macro-to-region-lines): Use user-error.
7065
7066 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
7067 (pages-directory-for-addresses): Doc fixes.
7068
7069 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * lisp/info.el: Cleanup bytepos/charpos issues
7072 * lisp/international/mule-util.el: Use lexical-binding.
7073 (filepos-to-bufferpos): New function.
7074 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
7075 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
7076 (Info-read-subfile, Info-search): Use 0-based file positions.
7077
7078 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
7079 (perl--syntax-exp-intro-keywords): New var.
7080 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
7081 (bug#20800).
7082
7083 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
7084
7085 Fix quoting when making derived mode docstring
7086 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
7087 Nest regexp-quote inside format, not the reverse.
7088 Problem reported by Artur Malabarba in:
7089 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
7090
7091 2015-06-15 Eli Zaretskii <eliz@gnu.org>
7092
7093 Fix current-iso639-language on MS-Windows
7094 * lisp/international/mule-cmds.el (set-locale-environment):
7095 Downcase the locale name before interning it. This is so the
7096 'current-iso639-language' on MS-Windows matches the ':lang'
7097 property of font-spec objects.
7098
7099 Limit Symbola usage some more
7100 * lisp/international/fontset.el (setup-default-fontset): Limit
7101 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
7102 (Bug#20727)
7103
7104 2015-06-15 Nicolas Petton <nicolas@petton.fr>
7105
7106 * lisp/emacs-lisp/map.el (map-let): Better docstring.
7107
7108 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
7109
7110 Spelling fixes
7111
7112 2015-06-14 Glenn Morris <rgm@gnu.org>
7113
7114 * lisp/version.el (emacs-repository-version-git): Demote errors.
7115 Check result is a hash.
7116
7117 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
7118
7119 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
7120 Catch errors that happen before going async. (Bug#20809)
7121
7122 2015-06-14 Eli Zaretskii <eliz@gnu.org>
7123
7124 Another improvement of documentation of set-fontset-font
7125 * doc/lispref/display.texi (Fontsets): Say explicitly that
7126 CHARACTER can be a single codepoint.
7127 * src/fontset.c (Fset_fontset_font): Doc fix.
7128
7129 Another improvement for symbol and punctuation characters
7130 * lisp/international/fontset.el (setup-default-fontset): Exclude
7131 from Symbola character ranges for symbols and punctuation covered
7132 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
7133 installed and where its coverage of symbols and punctuation is
7134 known to be good. (Bug#20727)
7135
7136 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
7137
7138 Some generic support for multi-mode indentation.
7139 * lisp/progmodes/prog-mode.el (prog-indentation-context): New
7140 variable.
7141 (prog-first-column, prog-widen): New convenience functions.
7142
7143 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
7144
7145 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
7146 Don't assume that `tabulated-list-printer' will leave point at the
7147 end of the buffer. (Bug#20810)
7148
7149 2015-06-13 Glenn Morris <rgm@gnu.org>
7150
7151 Tweaks for getting repository version; a bit more like it was for bzr.
7152 * lisp/version.el (emacs-repository-version-git)
7153 (emacs-repository--version-git-1): New functions,
7154 split from emacs-repository-get-version.
7155 (emacs-repository-get-version): Make the second argument meaningful.
7156
7157 * lisp/startup.el (command-line-1): Inform if skipping relative
7158 file names due to deleted PWD.
7159
7160 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
7161 when starup directory is missing. (Bug#18851)
7162 (errno.h): Include it.
7163
7164 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
7165
7166 Better fix for documenting `X as "`X"
7167 Fix suggested by Stefan Monnier.
7168 * lisp/help-fns.el (help-fns--signature):
7169 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
7170 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
7171 Don't treat `X specially, as help-fns--signature now handles this.
7172
7173 2015-06-13 Eli Zaretskii <eliz@gnu.org>
7174
7175 Improve the default fontset when Symbola is not installed
7176 * lisp/international/fontset.el (setup-default-fontset): Only
7177 prepend Symbola and FreeMono font specs for symbols and
7178 punctuation; do not replace the default spec for them. This
7179 should have better results when Symbola/FreeMono are not
7180 installed. (Bug#20727)
7181
7182 Improve documentation of ':lang' in font specs
7183 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
7184 use of the ':lang' property of the font spec.
7185 * doc/emacs/frames.texi (Fonts): Document the language names that
7186 can be in the STYLE part of XLFD.
7187 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
7188 property.
7189
7190 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
7191
7192 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
7193
7194 Revert last change in fontset.el
7195 * lisp/international/fontset.el (setup-default-fontset): Revert
7196 the change "Configure Symbola font only if installed", since font
7197 search is evidently not yet set up when this function is called.
7198 (Bug#20727)
7199
7200 2015-06-12 Glenn Morris <rgm@gnu.org>
7201
7202 Ensure early startup warnings are visible at the end. (Bug#20792)
7203 * lisp/emacs-lisp/warnings.el (display-warning):
7204 If startup isn't complete, delay the warning.
7205 * lisp/startup.el (normal-top-level, command-line):
7206 Let display-warning automatically handle the needed delays.
7207 Run delayed-warnings-hook.
7208
7209 * lisp/version.el (emacs-repository-get-version):
7210 Avoid calling external executable if possible. (Bug#20799)
7211
7212 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
7213
7214 Document `X as "`X", not as "(` X)"
7215 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
7216 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
7217
7218 * src/print.c (print_object): Minor simplification.
7219
7220 2015-06-12 Glenn Morris <rgm@gnu.org>
7221
7222 * src/buffer.c (init_buffer): Add final newline to message.
7223
7224 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
7225
7226 Configure Symbola font only if installed
7227 * lisp/international/fontset.el (setup-default-fontset):
7228 Don't specify the Symbola font if it's not installed.
7229 Likewise for FreeMono. (Bug#20727)
7230
7231 2015-06-12 Eli Zaretskii <eliz@gnu.org>
7232
7233 Configure Symbola font only for symbols and punctuation
7234 * lisp/international/fontset.el (setup-default-fontset): Leave
7235 only symbols and punctuation in the fontset setup for Symbola
7236 font; remove "Greek and Coptic" and "Cyrillic Supplement".
7237 (Bug#20798)
7238
7239 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
7240
7241 Fix crash in fontset-info
7242 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
7243 non-nil.
7244
7245 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
7246
7247 Port to Solaris 10 sparc + Sun C 5.13
7248 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
7249 Adjust to process.c change.
7250 * src/process.c (create_process): Declare volatile variables at
7251 top level of this function, so that they're less likely to be
7252 reused later in the function in the code executed by the vforked
7253 child. Do not declare locals used only in the vforked child, as
7254 they might share memory with locals still live in the parent.
7255 Instead, use the same variables in the child as in the parent.
7256 This works around a subtle bug that causes a garbage collector
7257 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
7258
7259 2015-06-12 Glenn Morris <rgm@gnu.org>
7260
7261 * lisp/startup.el (normal-top-level): Don't let *Messages* get
7262 a nil default-directory.
7263
7264 2015-06-11 Glenn Morris <rgm@gnu.org>
7265
7266 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
7267
7268 Some progress towards starting with PWD deleted. (Bug#18851)
7269 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
7270 * lisp/startup.el (normal-top-level, command-line-1):
7271 * lisp/minibuffer.el (read-file-name-default):
7272 Handle default-directory being nil.
7273
7274 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
7275
7276 Fix "not a tty" bug on Solaris 10
7277 * configure.ac (PTY_OPEN): Define to plain 'open'
7278 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
7279 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
7280 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
7281 hosts that call grantpt which does its work via a setuid subcommand
7282 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
7283 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
7284 seems relevant in that case too.
7285
7286 2015-06-11 Juri Linkov <juri@linkov.net>
7287
7288 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
7289 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
7290 (Bug#20785)
7291
7292 2015-06-11 Glenn Morris <rgm@gnu.org>
7293
7294 * lisp/international/characters.el (char-script-table): Fix typo.
7295
7296 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
7297
7298 Fix quoting of help for functions with odd names
7299 While investigating Bug#20759, I discovered other quoting problems:
7300 C-h f mishandled characters like backslash and quote in function names.
7301 This fix changes the behavior so that 'C-h f pcase RET' now
7302 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
7303 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
7304 in src/lread.c's read1 function says that the backslash will be
7305 needed starting in Emacs 25, which implies that 'format' is
7306 correct and the old pcase documention was wrong to omit the backslash.
7307 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
7308 * lisp/help-fns.el (help-fns--signature):
7309 * lisp/help.el (help-add-fundoc-usage):
7310 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
7311 Use help--make-usage-docstring rather than formatting
7312 help-make-usage.
7313 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
7314 Return raw docstring.
7315 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
7316 raw docstring. Take more care to distinguish raw from cooked dstrings.
7317 (describe-function-1): Let help-fns--signature substitute
7318 command keys.
7319 * lisp/help.el (help--docstring-quote): New function.
7320 (help-split-fundoc): Use it, to quote funny characters more
7321 systematically.
7322 (help--make-usage): Rename from help-make-usage, since this
7323 should be private. Leave an obsolete alias for the old name.
7324 (help--make-usage-docstring): New function.
7325 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
7326
7327 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * lisp/thingatpt.el (in-string-p): Revert last change,
7330 since in-string-p is not used in thingatpt.el but only from outside.
7331 Also, use lexical binding.
7332
7333 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
7334
7335 * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons
7336 * test/automated/let-alist.el (let-alist-cons): Test it.
7337
7338 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7339
7340 * src/syntax.c (Fbackward_prefix_chars): Reword docstring
7341
7342 2015-06-10 Glenn Morris <rgm@gnu.org>
7343
7344 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
7345
7346 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
7347 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
7348 * admin/gitmerge.el (gitmerge-commit-message):
7349 Exclude "skipped" messages from ChangeLog once again.
7350
7351 Slight namespace cleanup for thingatpt.el.
7352 * lisp/thingatpt.el (thing-at-point--in-string-p)
7353 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
7354 (thing-at-point--read-from-whole-string): Rename from
7355 old versions without "thing-at-point--" prefix.
7356 Keep old versions as obsolete aliases. Update all uses.
7357
7358 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
7359 Move requiring of finder from here...
7360 (checkdoc-package-keywords): ... to here.
7361
7362 Use 'user-error' in a few calendar files.
7363 * lisp/calendar/appt.el (appt-add):
7364 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
7365 (calendar-generate):
7366 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
7367 Replace 'error' with 'user-error'.
7368
7369 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
7370
7371 * lisp/files-x.el (add-file-local-variable):
7372 Special-case 'lexical-binding'. (Bug#20641)
7373
7374 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
7375 No longer autoload.
7376 * doc/misc/autotype.texi (Executables):
7377 Undocument executable-self-display.
7378
7379 * lisp/progmodes/executable.el (executable-self-display):
7380 Use non-obsolete tail syntax. (Bug#20779)
7381 (executable-self-display): Doc update.
7382
7383 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
7386 (finder-known-keywords): Silence byte-compiler.
7387
7388 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * lisp/simple.el (eval-expression): Macroexpand before evaluating (bug#20730)
7391
7392 * lisp/progmodes/sh-script.el: Better handle nested quotes
7393 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
7394 (sh-font-lock-quoted-subshell): Make sure double quotes within single
7395 quotes don't mistakenly end prematurely the surrounding string.
7396
7397 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
7398
7399 2015-06-09 Glenn Morris <rgm@gnu.org>
7400
7401 * test/automated/Makefile.in (ELFILES): Sort.
7402
7403 * Makefile.in (SUBDIR_MAKEFILES):
7404 * lwlib/Makefile.in (WARN_CFLAGS):
7405 Use built-in Make functions rather than echo+sed.
7406
7407 2015-06-09 Eli Zaretskii <eliz@gnu.org>
7408
7409 Update char-script-table
7410 * lisp/international/characters.el (char-script-table): Update
7411 from Unicode 8.0 Draft.
7412
7413 Improve font selection for punctuation and other symbols
7414 * src/fontset.c (face_for_char): If the character's script is
7415 'symbol', and the font used for ASCII face has a glyph for it, use
7416 the font for the ASCII face instead of searching the fontsets.
7417 This comes instead of NS-specific code that used the current
7418 face's font instead, which is now disabled due to undesirable
7419 consequences. (Bug#20727)
7420
7421 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 Skip past `#' to find BEG
7424 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Skip
7425 past `#' to find BEG (bug#20771).
7426 * test/automated/elisp-mode-tests.el
7427 (elisp-completes-functions-after-hash-quote): New test.
7428
7429 2015-06-08 Eli Zaretskii <eliz@gnu.org>
7430
7431 Fix compilation warning/error in --without-x builds
7432 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
7433 code on HAVE_WINDOW_SYSTEM.
7434
7435 Improve the default fontset wrt symbols
7436 * lisp/international/fontset.el (setup-default-fontset): Better
7437 setup of fontset-default for symbols: use Symbola and FreeMono.
7438 (Bug#20727)
7439
7440 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
7441
7442 Add new command checkdoc-package-keywords
7443 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): New
7444 defcustom.
7445 (checkdoc-list-of-strings-p): Add doc.
7446 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
7447 non-nil, call `checkdoc-package-keywords'.
7448 (checkdoc-get-keywords): New defun.
7449 (checkdoc-package-keywords): New command. Warns if the current file
7450 has package.el-style keywords that aren't in `finder-known-keywords'.
7451 * etc/NEWS: Add entry.
7452
7453 2015-06-08 Eli Zaretskii <eliz@gnu.org>
7454
7455 Avoid crashes when key-binding is called from a timer
7456 * src/keymap.c (Fkey_binding): Don't segfault if called with an
7457 empty vector as KEY. (Bug#20705)
7458
7459 Fix a thinko in arc-mode.el
7460 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
7461 non-Zip64 case. (Bug#20769)
7462
7463 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
7464
7465 * lisp/emacs-lisp/package.el (package-delete): Make interactive
7466
7467 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
7468
7469 checkdoc.el (checkdoc-file): New function
7470 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When
7471 `checkdoc-diagnostic-buffer' is set to "*warn*", print the warning
7472 to the standard output.
7473 (bug#20754)
7474
7475 2015-06-07 Glenn Morris <rgm@gnu.org>
7476
7477 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
7478
7479 * src/font.c (syms_of_font) <font-log>: Doc fix.
7480
7481 Remove the obsolete leading "*" from some C doc strings.
7482 * src/coding.c (syms_of_coding):
7483 * src/font.c (syms_of_font): Remove leading "*" from docs.
7484 * lisp/cus-start.el (enable-character-translation): Add it.
7485
7486 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
7487
7488 Move gen_origin from program to data
7489 That way, 'make change-history' needs to change only ChangeLog.2,
7490 instead of having to change two files.
7491 * ChangeLog.2: Add commit info for range that this file covers.
7492 * Makefile.in (new_commit_regexp): New macro.
7493 (change-history-nocommit): Simplify, by putting what used to be
7494 the gen_origin value into the data (ChangeLog.2) rather than
7495 into the program (gitlog-to-emacslog).
7496 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
7497 the input file (e.g., ChangeLog.2) rather than by having a
7498 constant in the program. Substitute it into the output.
7499
7500 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
7501
7502 Escape any quotes in the function name
7503 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
7504 function name (bug#20759).
7505
7506 2015-06-07 Eli Zaretskii <eliz@gnu.org>
7507
7508 Adapt 'struct timespec' to next release of MinGW runtime
7509 * nt/inc/ms-w32.h (struct timespec): Don't declare if
7510 __struct_timespec_defined is defined.
7511
7512 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
7513
7514 Merge from gnulib
7515 This incorporates:
7516 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
7517 2015-06-05 stdio: Don't redefine gets when using C++
7518 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
7519 2015-06-02 file-has-acl: fix build on Mac OS X 10
7520 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
7521 2015-06-01 pthread_sigmask: discount system version if a simple macro
7522 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
7523 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
7524 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
7525 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
7526 * lib/gnulib.mk: Regenerate.
7527
7528 2015-06-06 Juri Linkov <juri@linkov.net>
7529
7530 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
7531 before calling grep-compute-defaults because now it affects the
7532 command lines computed in grep-compute-defaults. (Bug#20728)
7533
7534 2015-06-06 Glenn Morris <rgm@gnu.org>
7535
7536 Address some compilation warnings.
7537 * lisp/international/mule-cmds.el (w32-get-console-codepage)
7538 (w32-get-console-output-codepage):
7539 * lisp/progmodes/elisp-mode.el (xref-collect-references):
7540 * lisp/version.el (cairo-version-string): Declare.
7541 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
7542
7543 2015-06-06 Eli Zaretskii <eliz@gnu.org>
7544
7545 Fix display when a font claims large values of ascent and descent
7546 This fixes bug#20628.
7547 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
7548 coordinate of a hollow cursor glyph when the original glyph's
7549 ascent is too small.
7550 (get_font_ascent_descent, normal_char_ascent_descent)
7551 (normal_char_height): New functions.
7552 (handle_single_display_spec, append_space_for_newline)
7553 (calc_pixel_width_or_height, produce_stretch_glyph)
7554 (calc_line_height_property): Use normal_char_ascent_descent and
7555 normal_char_height.
7556 (x_produce_glyphs): When font-global values of ascent and descent
7557 are too large, use per-character glyph metrics instead, if
7558 possible. But don't allow the glyph row's ascent and descent
7559 values become smaller than the values from the metrics of the
7560 font's "normal" character.
7561 * src/xftfont.c (xftfont_draw):
7562 * src/w32font.c (w32font_draw): Correct the values of ascent and
7563 descent used to draw glyphless characters' hex code in a box.
7564 * src/xterm.c (x_draw_glyph_string_background):
7565 * src/xdisp.c (x_produce_glyphs):
7566 * src/w32term.c (x_draw_glyph_string_background):
7567 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
7568 to detect fonts whose global ascent and descent values are too
7569 large to be used in layout decision, and redraw the background
7570 when that happens.
7571 * src/dispextern.h (FONT_TOO_HIGH): New macro.
7572 (get_font_ascent_descent): Add prototype.
7573 * src/xterm.c (x_new_font):
7574 * src/w32term.c (x_new_font):
7575 * src/nsterm.m (x_new_font):
7576 * src/font.c (font_open_entity):
7577 * src/composite.c (composition_gstring_width): Use
7578 get_font_ascent_descent to obtain reasonable values for ascent and
7579 descent of a font.
7580
7581 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
7582
7583 Add assertion in adjust_point_for_property
7584 * src/keyboard.c (adjust_point_for_property): Add eassert for
7585 current buffer being shown in selected window.
7586
7587 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
7588
7589 Replace uses of in-string-p; make it obsolete
7590 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
7591 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
7592
7593 2015-06-06 Eli Zaretskii <eliz@gnu.org>
7594
7595 Fix Dired display of an explicit list of files by ls-lisp.el
7596 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
7597 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
7598 correct for when displaying individual files separately, not as
7599 part of listing a directory, in which case these values are not
7600 recomputed by 'ls-lisp-insert-directory', but used verbatim.
7601
7602 * lisp/dired.el (dired): Doc fix. (Bug#20739)
7603
7604 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
7605
7606 Do not adjust point in a non-selected window
7607 * src/keyboard.c (command_loop_1): Do not adjust point when
7608 current buffer is not shown in selected window (Bug#20590).
7609
7610 * etc/DEBUG: Mention 'maybe_call_debugger'
7611
7612 2015-06-05 Nicolas Petton <nicolas@petton.fr>
7613
7614 Fix a unit test for map.el
7615 * test/automated/map-tests.el (test-map-let): Fix the test to work
7616 with the new syntax of `map-let'.
7617
7618 * lisp/emacs-lisp/map.el (map-let): Better docstring.
7619
7620 Better syntax for the map pcase pattern
7621 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
7622 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
7623
7624 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
7625
7626 Fix a byte-compiler error in map-put and map-delete
7627 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
7628 called with a symbol.
7629
7630 2015-06-05 Glenn Morris <rgm@gnu.org>
7631
7632 * admin/gitmerge.el (gitmerge-commit-message):
7633 Revert to including "skipped" messages in ChangeLog once again.
7634
7635 2015-06-05 Tassilo Horn <tsdh@gnu.org>
7636
7637 Use string> instead of equiv lambda with string<
7638 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
7639 lambda with string<.
7640
7641 2015-06-05 Glenn Morris <rgm@gnu.org>
7642
7643 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
7644 (map--delete-array): Fix typo.
7645
7646 * test/automated/map-tests.el: Replace "assert" with "should".
7647
7648 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
7649 (SUBDIRS_REL): Derive from SUBDIRS.
7650
7651 Tweak some build messages.
7652 * lisp/Makefile.in ($(lisp)/loaddefs.el):
7653 * lisp/cus-dep.el (custom-make-dependencies):
7654 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
7655 * lisp/international/titdic-cnv.el (batch-titdic-convert):
7656 Don't say how to compile.
7657
7658 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
7659
7660 Omit U+0332 COMBINING LOW LINE in previous change
7661 It turns out that it does not work on Ubuntu 15.04.
7662
7663 Fix transliteration of Bahá'í months
7664 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
7665 Improve quality of Latin transliteration of Bahá'í month names.
7666
7667 Fix curved quotes in a few places
7668 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
7669 The strings in question are not doc strings, so this partially
7670 undoes the recent change that assumed they were doc strings.
7671 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
7672 * lisp/info.el (Info-finder-find-node):
7673 Use curved quotes.
7674 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
7675 Also allow curved quotes in doc strings.
7676
7677 2015-06-04 Glenn Morris <rgm@gnu.org>
7678
7679 * lisp/Makefile.in (AM_V_at): Add missing definition.
7680
7681 * lisp/Makefile.in: Quieten output a bit.
7682 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
7683 Don't echo directories, since the commands we invoke print them.
7684
7685 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
7686 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
7687 (SUBDIRS_SUBDIRS): New variables.
7688 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
7689 Remove.
7690 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
7691 (update-subdirs, compile-main, compile-clean):
7692 Replace "setwins" usage with new "SUBDIRS" variables.
7693
7694 * lisp/vc/compare-w.el (compare-windows-get-window-function):
7695 Fix :version tag.
7696
7697 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7698
7699 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
7700
7701 Undo removal of x_clear_area call on expose for GTK3 or cairo.
7702 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear
7703 exposed area. (Bug#20677)
7704
7705 2015-06-04 Glenn Morris <rgm@gnu.org>
7706
7707 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
7708
7709 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
7710
7711 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
7712 Rename from quail-lao-update-translation, since lao.el defines that.
7713
7714 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
7715
7716 Handle new-style advice in find-funct
7717 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
7718 Handle new-style advice. Return the symbol's function definition.
7719 (Bug#20718)
7720 (find-function-library): Update accordingly.
7721
7722 2015-06-04 Nicolas Petton <nicolas@petton.fr>
7723
7724 Merge branch 'map'
7725
7726 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
7727
7728 Add new function string-greaterp
7729 * lisp/subr.el (string-greaterp): New function. Also aliased to
7730 `string>'.
7731 * test/automated/subr-tests.el (string-comparison-test): Add unit
7732 tests for `string>'and `string<'.
7733 * src/fns.c (string-lessp): Better docstring.
7734
7735 2015-06-04 Eli Zaretskii <eliz@gnu.org>
7736
7737 Fix timezone-related functions on MS-Windows
7738 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
7739 'xputenv', even if no reallocation of tzvalbuf was necessary.
7740 This fixes a bug in timezone-related functions on MS-Windows.
7741 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
7742
7743 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
7744
7745 Don't pass raw directory name to 'error'
7746 * lisp/files.el (basic-save-buffer-2): Avoid format error if
7747 a directory name contains a string like "%s".
7748
7749 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
7750
7751 Override 'grep --color=always'
7752 * lisp/progmodes/xref.el (xref-collect-matches):
7753 Override --color=always in grep-find-template.
7754
7755 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
7756
7757 Fix error introduced recently in file-notify-tests.el
7758 * test/automated/file-notify-tests.el
7759 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
7760 (file-notify--deftest-remote): Revert previous patch, not
7761 necessary anymore.
7762
7763 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
7764
7765 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
7766 Starting from a display string after a newline, point went to the
7767 previous line. Also, fix an inadvertent use of a buffer position
7768 with FETCH_BYTE. (Bug#20701)
7769
7770 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
7771
7772 Instrument file-notify-test.el in order to catch hydra error.
7773 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
7774 Wrap body by `ignore-case', in order to trap non-local errors.
7775
7776 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7777
7778 Undo previous changes in non-toolkit scroll bar drawing.
7779 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
7780 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
7781
7782 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
7783
7784 * .gitignore: Also ignore doc/*/*/*.html and .ps.
7785
7786 Support quotes 'like this' in info files
7787 This is possible when 'makeinfo --disable-encoding' is used
7788 in Texinfo 5.
7789 * lisp/calc/calc-help.el (calc-describe-thing):
7790 * lisp/gnus/gnus-art.el (gnus-button-alist):
7791 * lisp/info.el (Info-find-index-name):
7792 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
7793 Also support quotes 'like this'.
7794 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
7795 * lisp/finder.el (finder-font-lock-keywords): Remove var that
7796 hasn't been used in years, instead of bothering to fix its quoting.
7797
7798 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
7799
7800 * .gitignore: Remove !test/etags/html-src/*.html.
7801 It's no longer needed, since *.html was removed. Sort.
7802
7803 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
7804
7805 Restore <D> instead of '.' in grep-find-template
7806 * lisp/cedet/semantic/symref/grep.el
7807 (semantic-symref-grep-use-template): Update a comment.
7808 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
7809 instead of '.' in grep-find-template (bug#20719).
7810 (rgrep): Pass nil as the directory to rgrep-default-command.
7811 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
7812 default value for DIR.
7813 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
7814 workaround.
7815
7816 2015-06-02 Glenn Morris <rgm@gnu.org>
7817
7818 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
7819
7820 * configure.ac (emacs_config_features): Add Cairo.
7821
7822 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
7823
7824 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
7825
7826 Ensure, that autorevert works for remote files in file-notify-tests.el
7827 * test/automated/file-notify-tests.el (file-notify--test-desc):
7828 New defvar.
7829 (file-notify--test-remote-enabled)
7830 (file-notify-test00-availability, file-notify-test01-add-watch)
7831 (file-notify-test02-events): Use it.
7832 (file-notify--test-event-test): Check proper descriptor.
7833 (file-notify-test03-autorevert): Ensure, that
7834 `visited-file-modtime' has changed.
7835 (Bug#20392)
7836
7837 2015-06-02 Nicolas Petton <nicolas@petton.fr>
7838
7839 Add a pcase pattern for maps and `map-let' based on it
7840 * lisp/emacs-lisp/map.el (map-let): New macro.
7841 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
7842 * test/automated/map-tests.el: New test for `map-let'.
7843
7844 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
7845
7846 Reuse rgrep mechanics in xref-find-regexp
7847 * lisp/progmodes/grep.el (rgrep-default-command):
7848 Extract from `rgrep'.
7849 * lisp/progmodes/xref.el (xref-collect-references): Split from
7850 `xref-collect-matches'. Only handle the case of symbol search.
7851 (xref-collect-matches): Instead of Semantic Symref, use
7852 `rgrep-default-command', to take advantage of its directory and
7853 file ignore settings.
7854 (xref--collect-match): Remove the last argument, leaving the
7855 regexp construction up to the caller.
7856 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
7857 Change to take the xref-collect- function to use as an argument.
7858 (elisp-xref-find): Update accordingly.
7859 * lisp/progmodes/etags.el (etags--xref-find-matches)
7860 (etags-xref-find): Same.
7861
7862 Move xref-elisp-location to elisp-mode.el
7863 * lisp/progmodes/xref.el (xref-elisp-location)
7864 (xref-make-elisp-location, xref-location-marker): Remove here.
7865 (xref--xref): Don't limit the type of the location slot.
7866 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
7867 Define as a cl-struct here.
7868 (xref-location-marker): Move here.
7869
7870 2015-06-02 Eli Zaretskii <eliz@gnu.org>
7871
7872 Minor tweaks for .gitignore
7873 * .gitignore: Don't ignore versioned *.html and *.ps files. Don't
7874 ignore admin/notes/tags that might be ignored as TAGS on
7875 case-insensitive filesystems. (Bug#20710)
7876
7877 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
7878
7879 Generate curved quotes in ert doc
7880 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
7881 (ert-results-mode-menu)
7882 (ert-results-pop-to-backtrace-for-test-at-point)
7883 (ert-results-pop-to-messages-for-test-at-point)
7884 (ert-results-pop-to-should-forms-for-test-at-point)
7885 (ert-describe-test):
7886 Quote ‘like this’, not `like this', when generating doc strings
7887 and the like.
7888 * test/automated/ert-x-tests.el (ert-test-describe-test):
7889 Allow quoting ‘like this’.
7890
7891 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
7892
7893 Add test for previous commit
7894 * test/automated/replace-tests.el: New file.
7895 (query-replace--split-string-tests): Add test for previous commit.
7896
7897 Avoid confusion in query-replace history when replacing NUL chars
7898 * lisp/replace.el (query-replace--split-string): New function.
7899 (query-replace-read-from): Rely on the 'separator' property
7900 instead of searching for the NUL character (Bug#20690).
7901
7902 2015-06-02 Glenn Morris <rgm@gnu.org>
7903
7904 Merge from origin/emacs-24
7905 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
7906
7907 * admin/gitmerge.el (gitmerge-commit-message):
7908 Exclude "skipped" messages from ChangeLog.
7909
7910 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
7911
7912 Sync with Tramp repository
7913 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
7914 messages.
7915 (tramp-handle-make-auto-save-file-name): When calling
7916 `make-auto-save-file-name' internally, make sure it uses Unix-like
7917 behavior, not Windows-like behavior.
7918 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
7919 the local case, because "chown" might fail on w32.
7920 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
7921 for XEmacs.
7922
7923 2015-06-01 Eli Zaretskii <eliz@gnu.org>
7924
7925 MS-Windows followup for batch stdout/stderr output changes
7926 * lisp/international/mule-cmds.el (set-locale-environment): In
7927 batch mode, use console codepages for keyboard and terminal
7928 encoding. (Bug#20545)
7929
7930 Update .gitattributes for DOS EOL files
7931 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
7932 CRLF end-of-line format.
7933
7934 NS equivalents of xterm.c and w32term.c changes
7935 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
7936 glyph string background also when the font in use claims
7937 preposterously large global height value. Helps to remove
7938 artifacts left from previous displays when glyphless characters
7939 are displayed as hex code in a box.
7940 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
7941 value for FRAME_LINE_HEIGHT, even when a font claims very large
7942 value for its height.
7943
7944 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
7945
7946 Avoid grave accent quoting in stderr diagnostics
7947 A few Emacs diagnostics go directly to stderr, and so can't easily
7948 contain curved quotes (as non-UTF-8 locales might mishandle them).
7949 Instead of bothering to add support for this rarity, reword the
7950 diagnostics so that they don't use grave accent to quote.
7951 * src/alloc.c (mark_memory): Fix comment.
7952 * src/buffer.c (init_buffer):
7953 * src/dispnew.c (init_display):
7954 * src/emacs.c (main, sort_args):
7955 * src/lread.c (dir_warning):
7956 * src/term.c (init_tty):
7957 * src/unexmacosx.c (unexec):
7958 * src/xfns.c (select_visual):
7959 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
7960 Reword stderr diagnostics to avoid quoting `like this'.
7961 * src/unexmacosx.c: Include errno.h.
7962 * src/xfns.c (select_visual): Encode value for locale.
7963
7964 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
7965
7966 Treat batch stdout/stderr like standard display
7967 Calls like (print FOO) could generate improperly encoded or
7968 hard-to-read output if FOO contains characters outside the system
7969 locale. Fix this by treating batch stdout and stderr like
7970 interactive standard display, when it comes to transliterating and
7971 encoding characters (Bug#20545).
7972 * doc/emacs/mule.texi (Communication Coding):
7973 * doc/lispref/display.texi (Active Display Table):
7974 * doc/lispref/nonascii.texi (Locales):
7975 * etc/NEWS:
7976 * src/coding.c (syms_of_coding):
7977 * src/dispnew.c (syms_of_display):
7978 Document this.
7979 * src/print.c: Include disptab.h.
7980 (printchar_to_stream): New function, with much of the guts of the
7981 old Fexternal_debugging_output, except this one also uses the
7982 standard display table.
7983 (printchar, strout, Fexternal_debugging_output): Use it.
7984
7985 2015-05-31 Glenn Morris <rgm@gnu.org>
7986
7987 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
7988
7989 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
7990
7991 Remove unused DEFSYMs
7992 Remove DEFSYMs that aren't used at the C level. Also:
7993 * src/decompress.c (Qzlib_dll):
7994 * src/font.c (Qunicode_sip):
7995 * src/frame.c (Qtip_frame):
7996 * src/ftfont.c (Qserif):
7997 * src/gnutls.c (Qgnutls_dll):
7998 * src/xml.c (Qlibxml2_dll):
7999 Move from here ...
8000 * src/w32fns.c (syms_of_w32fns): ... to here,
8001 as these are used only on MS-Windows.
8002
8003 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
8004
8005 Use another default value for tramp-histfile-override
8006 * lisp/net/tramp-sh.el (tramp-histfile-override):
8007 Use ".tramp_history" as default.
8008 Fixes: debbugs:#20446
8009
8010 2015-05-29 Nicolas Petton <nicolas@petton.fr>
8011
8012 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
8013
8014 2015-05-16 Nicolas Petton <nicolas@petton.fr>
8015
8016 * etc/NEWS: Add an entry about map.el
8017
8018 Improve the docstring of functions in map.el
8019 Since a map is not a data structure but a concept, adding information
8020 about the possible types of maps can be useful information.
8021 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
8022 each public function.
8023
8024 2015-04-29 Nicolas Petton <nicolas@petton.fr>
8025
8026 Faster implementation of map-empty-p
8027 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
8028 specific tests depending on the type of the map.
8029
8030 * lisp/emacs-lisp/map.el: Better docstrings.
8031
8032 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
8033
8034 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda
8035
8036 2015-04-25 Nicolas Petton <nicolas@petton.fr>
8037
8038 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
8039
8040 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
8041
8042 Fix a false negative in `map-elt' with alists and values being nil
8043 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
8044 found but its associated value is nil, do not return the default
8045 value.
8046 * test/automated/map-tests.el: Add a regression test.
8047
8048 2015-04-24 Nicolas Petton <nicolas@petton.fr>
8049
8050 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
8051
8052 Do not signal an error when trying to delete a key from an array
8053 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
8054 the key is present to avoid signaling an error.
8055 * test/automated/map-tests.el: Add a test for deleting non-existing
8056 keys from maps.
8057
8058 * lisp/emacs-lisp/map.el: Better docstring.
8059
8060 Minor improvement in map-elt.
8061 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
8062 doing a lookup in arrays, but check the boundaries of the array
8063 instead.
8064 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
8065 and a negative integer as key.
8066
8067 2015-04-21 Nicolas Petton <nicolas@petton.fr>
8068
8069 * test/automated/map-tests.el: Refactoring of test methods.
8070
8071 * test/automated/map-tests.el: Renamed from map-test.el.
8072
8073 2015-04-18 Nicolas Petton <nicolas@petton.fr>
8074
8075 * lisp/emacs-lisp/map.el (map-into): Better error message.
8076
8077 * lisp/emacs-lisp/map.el: Removes byte-compilation warnings.
8078
8079 Throw an error when converting a map into an unknown map type
8080 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is not valid.
8081 * test/automated/map-test.el: Add a regression test.
8082
8083 New library map.el similar to seq.el but for mapping data structures.
8084 * test/automated/map-test.el: New file.
8085 * lisp/emacs-lisp/map.el: New file.
8086
8087 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
8088
8089 Make sure there's no explicit tag name
8090 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
8091 there's no explicit tag name (bug#20629).
8092
8093 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
8094
8095 Remove format2
8096 * src/editfns.c, src/lisp.h (format2): Remove.
8097 It is more trouble than it's worth, now that we have CALLN.
8098 This is just a minor refactoring.
8099 * src/buffer.c (Fkill_buffer):
8100 * src/dbusbind.c (XD_OBJECT_TO_STRING):
8101 * src/fileio.c (barf_or_query_if_file_exists):
8102 Adjust to format2 going away.
8103
8104 Don't misencode C-generated messages
8105 Also, be more consistent about calls to 'Fmessage' vs 'message'.
8106 * src/alloc.c (Fgc_status):
8107 Prefer AUTO_STRING to build_string for Fmessage call.
8108 * src/data.c (Fmake_variable_buffer_local)
8109 (Fmake_local_variable, Fmake_variable_frame_local):
8110 * src/doc.c (store_function_docstring):
8111 Use Fmessage, not message, since the argument can contain
8112 non-ASCII characters, and this can cause the resulting message
8113 to be incorrectly encoded for the current environment.
8114 * src/fns.c (maybe_resize_hash_table):
8115 * src/xselect.c (x_clipboard_manager_save_all):
8116 Use message, not Fmessage, since Fmessage's power isn't needed here.
8117 * src/process.c (Fmake_network_process): Reword message to avoid %s.
8118 * src/xdisp.c (vmessage): Document restrictions on message contents.
8119 (message_nolog) [false]: Remove unused code.
8120
8121 Use \r rather than ^M in string literals
8122 This is less likely to cause problems on platforms that
8123 use CRLF (or CR!) termination for lines.
8124
8125 Update .gitattributes to match current sources
8126 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
8127 * .gitattributes: Accommodate tests that insist on DOS format.
8128 Remove test/automated/data/decompress/foo-gzipped.
8129 Add etc/e/eterm-color.
8130
8131 2015-05-30 Eli Zaretskii <eliz@gnu.org>
8132
8133 Document 'face-ignored-fonts'
8134 * doc/emacs/mule.texi (Modifying Fontsets): Document
8135 face-ignored-fonts. (Bug#20628)
8136
8137 Add etags test for the new -Q option
8138 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
8139 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
8140 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
8141 test-case changes below.
8142 * test/etags/ETAGS.good_6: New file.
8143 * test/etags/cp-src/x.cc: New file.
8144 * test/etags/Makefile (CPSRC): Add x.cc.
8145 (check): Add one more test, for -Q.
8146
8147 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
8148
8149 Use list for the tags completion table, not obarray
8150 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
8151 list instead of an obarray
8152 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
8153 (tags-completion-table): Combine those lists.
8154 (tags-completion-table): Update the docstring.
8155
8156 2015-05-30 Eli Zaretskii <eliz@gnu.org>
8157
8158 Restore EOL format testing in etags
8159 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
8160 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
8161 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
8162 test-case changes below.
8163 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
8164 * test/etags/cp-src/c.C (B): Add back stray CR character.
8165 * test/etags/c-src/dostorture.c: Add back.
8166 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
8167
8168 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
8169
8170 Declare Emacs on MS-Windows to be DPI-aware
8171 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
8172 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
8173 This avoids Windows entering compatibility mode for Emacs,
8174 which causes fonts to look less nice.
8175
8176 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
8177
8178 Improve Tramp traces.
8179 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
8180 * lisp/net/tramp.el (tramp-debug-message): Use it.
8181
8182 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
8183
8184 backup-buffer minor reworking of internals
8185 * lisp/files.el (backup-buffer): Rework to avoid a couple of
8186 unused locals inadvertently introduced in the previous change.
8187
8188 backup-buffer now reports .emacs.d/%backup% ills
8189 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
8190 fails due to disk space exhaustion or whatever, do not pretend
8191 that it succeeded. More generally, do a better job of checking
8192 for I/O failures, and limit the scope of the condition-case to
8193 just the operations where file errors should be caught and ignored
8194 (Bug#20595). Also, don't bother trying to delete later backups if
8195 an earlier deletion fails, as this is a sign of trouble and it's
8196 better to stop when there's trouble.
8197
8198 copy-file now truncates output after writing
8199 * src/fileio.c (Fcopy_file): Truncate output after writing rather
8200 than before. This is more likely to work than truncation before
8201 writing, if the file system is out of space or the user is over
8202 disk quota (Bug#20595). Also, check for read errors.
8203
8204 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
8205
8206 * lisp/emacs-lisp/package.el: Don't load from parent dir
8207 (package-load-all-descriptors): Don't load descriptors from
8208 directories above the package directories.
8209
8210 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
8211
8212 Merge from gnulib
8213 This incorporates the following (Bug#20681):
8214 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
8215 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
8216 * lib/set-permissions.c: Copy from gnulib.
8217
8218 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
8219
8220 Improve Tramp traces.
8221 * lisp/net/tramp.el (tramp-call-process-region): New defun.
8222 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
8223
8224 2015-05-29 Glenn Morris <rgm@gnu.org>
8225
8226 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
8227
8228 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
8229
8230 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
8231 The signature was changed in the cairo branch, merged on 2015-05-23.
8232 This oversight broke compiling only the non-toolkit X version.
8233
8234 2015-05-29 Samer Masterson <samer@samertm.com>
8235
8236 * doc/lispref/os.texi: Update initial-buffer-choice docs.
8237
8238 2015-05-29 Glenn Morris <rgm@gnu.org>
8239
8240 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
8241 Mark as an expected failure.
8242
8243 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
8244
8245 Change package test to look for curved quotes
8246 * test/automated/package-test.el (package-test-describe-package)
8247 (package-test-signed): Search for curved single quotes as well as
8248 for grave accent and apostrophe.
8249
8250 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
8251
8252 gnus-art.el: Re-revert last change
8253 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
8254 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
8255
8256 2015-05-28 Samer Masterson <samer@samertm.com>
8257
8258 Show files when `initial-buffer-choice' is non-nil
8259 * startup.el (command-line-1): When Emacs is given a file as an
8260 argument and `initial-buffer-choice' is non-nil, display both the file
8261 and `initial-buffer-choice'. For more than one file, show
8262 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
8263 commands out of the command line arg parser.
8264 (initial-buffer-choice): Clarify docstring.
8265
8266 2015-05-28 Eli Zaretskii <eliz@gnu.org>
8267
8268 Fix last commit
8269 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
8270 (gnulib module qcopy-acl): Add back, as it is harmless. This
8271 minimizes differences wrt lib/gnulib.mk.
8272
8273 Fix the MS-Windows build as followup to gnulib update
8274 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
8275 set-permissions.c, as they don't compile on MinGW.
8276 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
8277
8278 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
8279
8280 Revert my change to gnus-art.el
8281 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
8282 It wasn't that important, and it caused a Gnus build to fail. See:
8283 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
8284
8285 New minor mode Electric Quote
8286 This lets you easily insert quotes ‘like this’ by typing
8287 quotes `like this', and similarly you can easily insert
8288 quotes “like this” by typing quotes ``like this'' (Bug#20545).
8289 * doc/emacs/basic.texi (Inserting Text):
8290 * doc/emacs/modes.texi (Minor Modes):
8291 * etc/NEWS: Document it.
8292 * doc/emacs/text.texi (Quotation Marks): New section.
8293 * lisp/electric.el (electric-quote-comment)
8294 (electric-quote-string, electric-quote-paragraph):
8295 New custom vars.
8296 (electric--insertable-p)
8297 (electric-quote-post-self-insert-function): New functions.
8298 (electric-quote-mode, electric-quote-local-mode): New minor modes.
8299 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
8300 Add curved single quotes to electric-pair-text-pairs.
8301 Set electric-quote-string in this buffer.
8302
8303 A few more doc string fixes (Bug#20385)
8304
8305 Accept curved quotes in doc strings
8306 * lisp/info-look.el (info-lookup-guess-custom-symbol):
8307 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
8308
8309 Generate curved quotes in pseudo-info nodes
8310 * lisp/info.el (Info-virtual-index-find-node)
8311 (Info-virtual-index, Info-apropos-find-node, info-apropos):
8312 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
8313
8314 Fix minor quoting problems in doc strings
8315 Most of these fixes involve escaping grave accents that are
8316 actually intended to be grave accents, not left quotes.
8317 (Bug#20385)
8318
8319 Support curved quotes in doc strings
8320 Emacs's traditional doc string style has been to quote symbols
8321 `like this'. This worked well on now-obsolete terminals where
8322 ` and ' were symmetric quotes, but nowadays curved quotes
8323 ‘like this’ look better. Support quoting the new way too.
8324 (Bug#20385)
8325 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
8326 ‘like-this’ as well as `like-this'.
8327 * etc/NEWS: Mention this.
8328 * lisp/cedet/mode-local.el (overload-docstring-extension)
8329 (mode-local-print-binding, mode-local-describe-bindings-2):
8330 * lisp/cus-theme.el (describe-theme-1):
8331 * lisp/descr-text.el (describe-text-properties-1, describe-char):
8332 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
8333 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
8334 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
8335 (eieio-help-constructor):
8336 * lisp/emacs-lisp/package.el (describe-package-1):
8337 * lisp/faces.el (describe-face):
8338 * lisp/help-fns.el (help-fns--key-bindings)
8339 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
8340 (help-fns--interactive-only, describe-function-1):
8341 (describe-variable):
8342 * lisp/help.el (describe-mode):
8343 * lisp/international/mule-cmds.el (describe-input-method)
8344 (describe-language-environment):
8345 * lisp/international/mule-diag.el (describe-character-set)
8346 (print-coding-system-briefly, list-input-methods)
8347 (list-input-methods-1):
8348 Insert curved quotes rather than grave accent and apostrophe.
8349 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
8350 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
8351 (checkdoc-proper-noun-region-engine):
8352 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
8353 (lisp-cl-font-lock-keywords-2):
8354 * lisp/finder.el (finder-font-lock-keywords):
8355 * lisp/gnus/gnus-art.el (gnus-button-alist):
8356 * lisp/help-fns.el (help-do-arg-highlight)
8357 (describe-function-1, describe-variable):
8358 * lisp/help-mode.el (help-xref-symbol-regexp)
8359 (help-xref-info-regexp, help-xref-url-regexp):
8360 * lisp/help.el (describe-mode):
8361 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
8362 * lisp/wid-edit.el (widget-documentation-link-regexp):
8363 Parse symbols quoted ‘like-this’ as well as `like-this'.
8364 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
8365 Add "‘" and "’" to electric-pair-text-pairs.
8366 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
8367 (elisp-completion-at-point, elisp--preceding-sexp):
8368 Also treat "‘" and "’" as quoting chars.
8369
8370 substitute-command-keys now curves quotes
8371 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
8372 * doc/lispref/help.texi (Keys in Documentation):
8373 * etc/NEWS: Document this.
8374 * src/doc.c (Fsubstitute_command_keys): Implement it.
8375
8376 2015-05-28 Glenn Morris <rgm@gnu.org>
8377
8378 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
8379 (rmail-summary-by-topic, rmail-summary-by-senders):
8380 No longer strip leading/trailing whitespace.
8381
8382 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
8383 (f90-no-block-limit): Add "enum". (Bug#20680)
8384 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
8385 New tests.
8386
8387 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * lisp/isearch.el (isearch--current-buffer): Give a default value.
8390
8391 Un-revert changes mistakenly dropped by f9fabb2b
8392
8393 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
8394
8395 Merge from gnulib
8396 This incorporates:
8397 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
8398 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
8399 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
8400 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
8401 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
8402 2015-05-26 stdio: fix probe on mingw under gcc 5.1
8403 * admin/merge-gnulib (GNULIB_MODULES):
8404 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
8405 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
8406 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
8407 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
8408 Get latest versions from gnulib.
8409 * lib/get-permissions.c, lib/set-permissions.c: New files.
8410 * lib/gnulib.mk, m4/gnulib-comp.m4:
8411 Regenerate.
8412 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
8413
8414 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
8415
8416 Delete the old process in vc-setup-buffer
8417 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
8418 process here.
8419 (vc-do-command): Rather than here (bug#20608).
8420
8421 2015-05-27 Ivan Shmakov <ivan@siamics.net>
8422
8423 Avoid gratuitous delete-dups in face-at-point.
8424 * lisp/faces.el (face-at-point): Do not compute the properly
8425 ordered, duplicate-free list if only a single value is
8426 requested anyway. (Bug#20519)
8427
8428 Show the exact C-x 8 RET invocation in describe-char.
8429 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
8430 invocation instead of a template. (Bug#20522)
8431
8432 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
8433
8434 * lisp/emacs-lisp/package.el: Don't erase tags on refresh
8435 (package-menu--post-refresh): Call `tabulated-list-print' with the
8436 UPDATE argument. This only affects the refresh action, the revert
8437 action still erases tags.
8438 (package-menu-get-status): Change `assq' to `assoc'.
8439 (package-menu--mark-upgrades-1): New function.
8440 (package-menu--mark-upgrades-pending): New variable.
8441 (package-menu-mark-upgrades): Use them to delay marking until
8442 after refresh is done.
8443 (package-menu--post-refresh): Call mark-upgrades-1 if
8444 mark-upgrades-pending is non-nil.
8445
8446 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
8447
8448 Fix typo in commit 3953c4be2816537be95520605d45b866dc731f4b
8449
8450 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * lisp/isearch.el (isearch--current-buffer): New var
8453 (isearch-update): Set cursor-sensor-inhibit here.
8454 (isearch-done): Unset cursor-sensor-inhibit in the right buffer (bug#20532).
8455
8456 Change inhibit-point-motion-hooks to t
8457 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
8458 to t and document it as obsolete.
8459
8460 2015-05-27 Eli Zaretskii <eliz@gnu.org>
8461
8462 Support ZIP files that use Zip64 extensions
8463 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
8464 format of central directory offsets used by Zip64 extensions.
8465 (Bug#20665)
8466
8467 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
8468
8469 New test tramp-test30-make-auto-save-file-name
8470 * tramp-tests.el (tramp-test30-make-auto-save-file-name): New test.
8471 (tramp-test31-special-characters)
8472 (tramp-test31-special-characters-with-stat)
8473 (tramp-test31-special-characters-with-perl)
8474 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
8475 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
8476 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
8477 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
8478
8479 Improve tramp-handle-make-auto-save-file-name
8480 * tramp.el (tramp-auto-save-directory): Add :tags.
8481 (tramp-handle-make-auto-save-file-name): Let native
8482 `make-auto-save-file-name' use `auto-save-file-name-transforms',
8483 if `tramp-auto-save-directory' is not set.
8484
8485 2015-05-27 Glenn Morris <rgm@gnu.org>
8486
8487 No longer set dired-directory in eshell. (Bug#16477)
8488 * lisp/eshell/esh-mode.el (eshell-mode):
8489 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
8490
8491 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
8492
8493 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
8494 * lisp/progmodes/cc-mode.el (c-mode-help-address):
8495 Change to submit@debbugs.
8496 (c-mode-bug-package): New constant.
8497 (mail-position-on-field): Declare.
8498 (c-submit-bug-report): Insert X-Debbugs-Package header.
8499 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
8500 Mention debbugs.gnu.org.
8501
8502 2015-05-26 Glenn Morris <rgm@gnu.org>
8503
8504 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
8505 (rmail-summary-by-recipients, rmail-summary-by-topic)
8506 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
8507 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
8508
8509 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
8510
8511 Handle curved quotes in info files
8512 * lisp/calc/calc-help.el (calc-describe-thing):
8513 * lisp/info.el (Info-find-index-name)
8514 (Info-try-follow-nearest-node, Info-fontify-node):
8515 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
8516 In info files, process quotes ‘like this’ the same way we process
8517 quotes `like this'. This catches a few places we missed earlier.
8518
8519 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
8520
8521 xref-prompt-for-identifier: Use a list value
8522 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
8523 value, to be interpreted as a list of commands.
8524 (xref--prompt-p): New function.
8525 (xref--read-identifier): Use it.
8526
8527 2015-05-26 Eli Zaretskii <eliz@gnu.org>
8528
8529 Teach MS-Windows font back-end return per-glyph ascent/descent
8530 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
8531 values.
8532 * src/w32font.c (w32font_text_extents): Compute, cache, and
8533 accumulate per-glyph ascent and descent values, instead of copying
8534 global values from the font. If the values are not available from
8535 the font data, i.e., non-TTF fonts, fall back on font-global values.
8536 (compute_metrics): Compute and return per-glyph ascent and descent
8537 values, if returned by GetGlyphOutlineW, falling back on
8538 font-global values. (Bug#20628)
8539 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
8540 height of rectangle to be drawn, to be compatible with
8541 XDrawRectangle. Fixes glyphless-char display as hex codes in a
8542 box, when per-glyph ascent/descent values are used.
8543
8544 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
8545
8546 * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter
8547 (tabulated-list-print): Don't sort if sorter is nil
8548
8549 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
8550
8551 Fix Bug#20621
8552 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
8553 are major modes which set `auto-save-mode' on their own rules;
8554 Tramp shall not overwrite such settings.
8555 (Bug#20621)
8556
8557 2015-05-26 Glenn Morris <rgm@gnu.org>
8558
8559 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
8560 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
8561 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
8562 Doc updates.
8563 (vc-dir-mode): Remove unnecessary autoload.
8564
8565 2015-05-25 Philipp Stephani <phst@google.com>
8566
8567 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52
8568 (xterm--extra-capabilities-type): Add `getSelection'.
8569 (xterm--query): Add `no-async' argument.
8570 (xterm--init-activate-get-selection): New function.
8571 (terminal-init-xterm): Use it.
8572 (xterm--init-modify-other-keys): Rename from
8573 terminal-init-xterm-modify-other-keys.
8574 (xterm--init-bracketed-paste-mode): Rename from
8575 terminal-init-xterm-bracketed-paste-mode.
8576 (xterm--init-activate-set-selection): Rename from
8577 terminal-init-xterm-activate-set-selection.
8578 (xterm--selection-char): New function.
8579 (gui-backend-set-selection): Use it. Use the &context to only apply
8580 this method in terminals where we enabled the feature.
8581 (gui-backend-get-selection): New method.
8582
8583 2015-05-25 Daniel Colascione <dancol@dancol.org>
8584
8585 Add C-language keyword constants to C++
8586 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
8587 keyword constants to C++.
8588
8589 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
8590
8591 Make TAGS files more portable to MS-Windows
8592 * etc/NEWS: Document this.
8593 * lib-src/etags.c (readline_internal) [DOS_NT]:
8594 Don't treat CRs differently from GNUish hosts.
8595 * lisp/progmodes/etags.el (etags-goto-tag-location):
8596 Adjust STARTPOS to account for the skipped CRs in dos-style files.
8597
8598 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
8599
8600 Improve fix of debbugs:20634 in tramp-sh.el
8601
8602 2015-05-25 Eli Zaretskii <eliz@gnu.org>
8603
8604 Fix a typo in last commit
8605 * lib-src/etags.c (C_entries): Fix a typo.
8606 * test/etags/ETAGS.good_1:
8607 * test/etags/ETAGS.good_2:
8608 * test/etags/ETAGS.good_3:
8609 * test/etags/ETAGS.good_4:
8610 * test/etags/ETAGS.good_5:
8611 * test/etags/CTAGS.good: Update due to the change in etags.c.
8612
8613 Fix tagging of class members in C-like OO languages
8614 * lib-src/etags.c (longopts): Add new option --class-qualify and
8615 its shorthand -Q.
8616 (print_help): Add help text for --class-qualify.
8617 (main): Add handling of -Q.
8618 (consider_token, C_entries) <omethodparm>: Append argument types
8619 to Objective C methods only if --class-qualify was specified.
8620 Qualify C++, Objective C, and Java class members with their class
8621 names only if --class-qualify was specified.
8622 (C_entries): If --class-qualify was not specified, remove the
8623 namespace and class qualifiers from tag names of C++ methods.
8624 This allows to use etags.el as xref back-end without the
8625 tag-symbol-match-p method, which greatly increases the number of
8626 potentially false positives. (Bug#20629)
8627 * doc/man/etags.1: Update to document the new --class-qualify
8628 option.
8629 * test/etags/ETAGS.good_1:
8630 * test/etags/ETAGS.good_2:
8631 * test/etags/ETAGS.good_3:
8632 * test/etags/ETAGS.good_4:
8633 * test/etags/ETAGS.good_5:
8634 * test/etags/CTAGS.good: Update due to changes in etags.c.
8635
8636 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 (cl-generic-define-method): Side effects are evil (bug#20644)
8639 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
8640 cons-cells that might be used as keys in an `equal' hash-table.
8641
8642 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8643
8644 Make erc timestamps visible again
8645 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec): Make
8646 timestamps visible again (if requested).
8647
8648 2015-05-25 Eli Zaretskii <eliz@gnu.org>
8649
8650 Fix last change in etags.c that broke tagging compresed files
8651 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
8652 quoting of decompression shell command for MS-Windows/MS-DOS.
8653
8654 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist
8657 (Bug#20639)
8658
8659 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
8660
8661 Fix typo in 89035e247591c8d688fce922b7079881aa110f33
8662
8663 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
8664
8665 Fix IPv6 addresses in Tramp
8666 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
8667 Add sqare brackets around host name.
8668
8669 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
8670
8671 Inhibit `epa-file-handler' in Tramp
8672 (Bug#20634)
8673 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8674 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
8675 `epa-file-handler'.
8676
8677 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring
8680 (pcase-let): Document the behavior in case the pattern doesn't match.
8681
8682 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
8683
8684 * lisp/emacs-lisp/tabulated-list.el: New optional print method
8685 (tabulated-list-print): New optional argument, UPDATE. If
8686 non-nil, the list is printed by only adding and deleting the
8687 changed entries, instead of erasing the whole buffer. This method
8688 is much faster when few or no entries have changed.
8689 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
8690 * etc/NEWS: Document it.
8691
8692 * lisp/emacs-lisp/tabulated-list.el: Improve printing
8693 (tabulated-list--get-sorter): New function.
8694 (tabulated-list-print): Restore window-line when remember-pos is
8695 passed and optimize away the `nreverse'.
8696
8697 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
8698
8699 Simpilify etags TEX mode scanning
8700 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
8701 Remove static vars.
8702 (TeX_commands): Deduce escapes here instead.
8703 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
8704 This removes the need for a reset_input call.
8705
8706 Improve etags I/O error reporting
8707 * lib-src/etags.c:
8708 Don't include sys/types.h and sys/stat.h; no longer needed.
8709 (infilename): New static var.
8710 (process_file_name): Don't call 'stat'. Instead, just open the
8711 file for reading and report any errors. Don't bother making
8712 a copy of the file argument; it's not needed. Be more careful to
8713 use the failing errno when reporting an error.
8714 Quote the real name better (though no perfectly)
8715 when passing it to the shell.
8716 (reset_input): New function, which reports I/O errors.
8717 All uses of 'rewind' changed to use this function.
8718 (perhaps_more_input): New function, which also checks for
8719 I/O errors. All uses of 'feof' changed to use this function.
8720 (analyze_regex): Report an error if fclose fails.
8721 (readline_internal): Report an error if getc fails.
8722 (etags_mktmp): Return an error if close fails.
8723
8724 etags.c: avoid side effects in 'if'
8725 * lib-src/etags.c (process_file_name, Perl_functions)
8726 (TEX_decode_env): Hoist side effects into previous statement.
8727
8728 .gitignore tweaks
8729 * .gitignore: Ignore all *.stamp files. Sort.
8730 Ignore [0-9]*.txt (commonly used name for git patches)
8731 and /vc-dwim-log-* (vc-dwim temporary).
8732
8733 2015-05-24 Eli Zaretskii <eliz@gnu.org>
8734
8735 Fix last change in etags.c, which failed the test suite
8736 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
8737 before the last change.
8738
8739 2015-05-23 Glenn Morris <rgm@gnu.org>
8740
8741 Remove charset map files from repository, generate in first bootstrap
8742 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
8743 (all): Create the stamp file.
8744 (extraclean): Delete the stamp file.
8745 * src/Makefile.in (lispintdir, charsets): New variables.
8746 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
8747 New rules.
8748 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
8749 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
8750 * etc/charsets/*.map: Remove from repository.
8751
8752 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
8753
8754 Cleanup etags.c to use locale-independent code
8755 Although this doesn't alter behavior (as etags doesn't use
8756 setlocale), the new version is more clearly locale-independent and
8757 the executable is a bit smaller on my platform.
8758 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
8759 Include <c-ctype.h> instead of <ctype.h>.
8760 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
8761 (begtk, midtk):
8762 Remove; no longer needed.
8763 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
8764 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
8765 c_islower, c_tolower, respectively.
8766 (notinname, begtoken, intoken, endtoken): Rewrite as functions
8767 instead of macros, and initialize the tables at compile-time
8768 rather than at run-time.
8769
8770 Put default action first in src/Makefile
8771 * src/Makefile.in (all): Put this rule before lisp.mk.
8772 That way, plain 'make' works in the src directory again.
8773
8774 2015-05-23 Glenn Morris <rgm@gnu.org>
8775
8776 * Makefile.in: Fix extraclean rule.
8777 (extraclean_dirs): New.
8778 (extraclean): Use it.
8779
8780 2015-05-23 Eli Zaretskii <eliz@gnu.org>
8781
8782 Avoid compiler warning in image.c on MS-Windows
8783 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
8784 warning in image.c.
8785
8786 2015-05-23 Glenn Morris <rgm@gnu.org>
8787
8788 Fix --without-toolkit-scroll-bars builds.
8789 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
8790 Add new argument to x_clear_area1.
8791 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
8792 Update x_clear_area arguments.
8793
8794 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
8795 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
8796 Change to included version.
8797 (LOCAL, local, totalclean): Remove.
8798 (extraclean): Delete all generated files.
8799
8800 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume CVS/Entries exists.
8803
8804 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
8805
8806 tags-completion-at-point-function: Don't trust the find-tag function
8807 * lisp/progmodes/etags.el (tags-completion-at-point-function):
8808 Don't trust the find-tag function.
8809
8810 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
8811
8812 Pacify --enable-gcc-warnings
8813 * src/frame.h (x_query_color): Remove redundant extern decl.
8814 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
8815 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
8816 (ftcrfont_text_extents, ftcrfont_draw):
8817 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
8818 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
8819 (x_ins_del_lines, frame_highlight, frame_unhighlight)
8820 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
8821 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
8822 (x_update_window_begin, x_connection_closed)
8823 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
8824 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
8825 (*x_gc_get_ext_data, x_extension_initialize)
8826 (x_cr_accumulate_data):
8827 Remove redundant static decl. Many of these GCC doesn't complain
8828 about, but we might as well clean out the duplication while we're
8829 in the neighborhood.
8830 * src/xterm.c (x_fill_trapezoid_for_relief):
8831 Remove decl of nonexistent function.
8832
8833 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 Replace gui-method macros with cl-generic with &context
8836 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
8837 (gui-method-declare, gui-call): Remove.
8838 (frame-creation-function): Use cl-defgeneric.
8839 (make-frame): Adjust callers.
8840 * lisp/menu-bar.el (menu-bar-edit-menu):
8841 Use gui-backend-selection-exists-p.
8842 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
8843 (gui-backend-get-selection): New cl-generic to replace
8844 gui-get-selection method.
8845 (gui-backend-set-selection): New cl-generic to replace
8846 gui-set-selection method.
8847 (gui-selection-owner-p): New cl-generic to replace
8848 gui-selection-owner-p method.
8849 (gui-backend-selection-exists-p): New cl-generic to replace
8850 gui-selection-exists-p method. Adjust all callers.
8851 * lisp/server.el (server-create-window-system-frame): Don't ignore
8852 window-system spec even when unsupported.
8853 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
8854 * lisp/startup.el (handle-args-function, window-system-initialization):
8855 Use cl-defgeneric.
8856 (command-line): Adjust calls accordingly.
8857 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
8858 a window-system-initialization method.
8859 (handle-args-function, frame-creation-function): Use cl-defmethod.
8860 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
8861 (gui-get-selection): Use cl-defmethod on the new functions instead.
8862 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
8863 a gui-backend-get-selection method.
8864 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
8865 Use cl-defmethod on the new functions instead.
8866 (msdos-window-system-initialization): Turn into
8867 a window-system-initialization method.
8868 (frame-creation-function, handle-args-function): Use cl-defmethod.
8869 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
8870 a window-system-initialization method.
8871 (handle-args-function, frame-creation-function): Use cl-defmethod.
8872 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
8873 (gui-get-selection): Use cl-defmethod on the new functions instead.
8874 * lisp/term/x-win.el (x-window-system-initialization): Turn into
8875 a window-system-initialization method.
8876 (handle-args-function, frame-creation-function): Use cl-defmethod.
8877 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
8878 (gui-get-selection): Use cl-defmethod on the new functions instead.
8879 * lisp/term/xterm.el (xterm--set-selection): Turn into
8880 a gui-backend-set-selection method.
8881 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
8882 (Fns_selection_owner_p): Remove unused arg `terminal'.
8883 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
8884
8885 2015-05-23 Eli Zaretskii <eliz@gnu.org>
8886
8887 Revert "Fix etags Bug#20629 that broke C++ support."
8888 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
8889
8890 2015-05-23 Jan D <jan.h.d@swipnet.se>
8891
8892 Fix etags Bug#20629 that broke C++ support.
8893 * etags.el (etags-xref-find-definitions-tag-order): Revert commit
8894 from Sun May 10 (Bug#20629).
8895
8896 Merge branch 'cairo'.
8897 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
8898 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
8899
8900 Merge branch 'master' into cairo
8901
8902 Fixes to compile cairo branch without cairo.
8903 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
8904 first argument.
8905 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
8906 USE_CAIRO.
8907
8908 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
8909
8910 * lisp/emacs-lisp/package.el: Always update selected-packages
8911 (package--update-selected-packages): New function.
8912 (package-menu-execute): Use it before starting the transaction,
8913 this way the list of selected packages is updated even when the
8914 transaction fails.
8915 (package-menu--perform-transaction): Don't edit selected-packages.
8916
8917 2015-05-23 Eli Zaretskii <eliz@gnu.org>
8918
8919 Fix etags reading of compressed files
8920 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
8921 Include fcntl.h, for O_CLOEXEC.
8922 (process_file_name): Don't use 'popen', whose streams cannot be
8923 rewound. Instead, uncompress the file to a temporary file,
8924 created by 'etags_mktmp', and read from that as usual.
8925 (etags_mktmp): New function.
8926 * test/etags/ETAGS.good_1:
8927 * test/etags/ETAGS.good_2:
8928 * test/etags/ETAGS.good_3:
8929 * test/etags/ETAGS.good_4:
8930 * test/etags/ETAGS.good_5: Update to be consistent with latest
8931 changes in etags.c regarding reading compressed files.
8932
8933 Improve documentation of 'set-fontset-font'
8934 * doc/lispref/display.texi (Fontsets): Document the value of nil
8935 for the 3rd argument of 'set-fontset-font'.
8936
8937 Fix documentation of forward-line
8938 * src/cmds.c (Fforward_line): Clarify the return value if the line
8939 at end of accessible portion of the buffer has no newline.
8940 * doc/lispref/positions.texi (Text Lines): Document what happens
8941 if the line at end of accessible portion of buffer has no newline.
8942 (Bug#20587)
8943
8944 2015-05-22 Glenn Morris <rgm@gnu.org>
8945
8946 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
8947
8948 * admin/charsets/mapconv (LC_ALL): Set to C.
8949
8950 * Makefile.in: Add admin/charsets into top-level clean rules.
8951 (clean): Add admin/charsets.
8952 (maybeclean_dirs): New variable.
8953 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
8954
8955 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
8956
8957 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
8958
8959 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc
8960
8961 2015-05-22 Glenn Morris <rgm@gnu.org>
8962
8963 Generate admin/charsets Makefile via configure, and make more portable.
8964 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
8965 (admin/charsets/Makefile): Generate it.
8966 * admin/charsets/Makefile.in: Rename from Makefile.
8967 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
8968 New variables, set by configure.
8969 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
8970 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
8971 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
8972 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
8973 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
8974 (all): Declare PHONY.
8975 (local): New PHONY target.
8976 (map_template): New template. Use to define short PHONY aliases.
8977 (*.map): Add directory prefixes to targets and prerequisites.
8978 Respect make verbosity.
8979 (JISC6226.map): Replace non-portable sed append without newline.
8980 (install): Remove rule.
8981 (clean): Only delete temporary sedscript.
8982 (bootstrap-clean, distclean, maintainer-clean, extraclean)
8983 (totalclean): New PHONY rules.
8984 * admin/charsets/mapconv (BASE): Replace basename with expr.
8985 (FILE): Add "mapfiles" subdirectory.
8986 (AWK): New variable. Use throughout in place of "awk".
8987 (main): Use "gunzip -c" in place of "zcat".
8988 Don't leave whitespace before "p", for older sed.
8989 * admin/charsets/mapfiles/PTCP154: Add final newline,
8990 to make older sed versions happy.
8991
8992 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
8995 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
8996 (auto-revert-notify-watch-descriptor): Use defvar-local.
8997 (find-file-hook, auto-revert-tail-mode, )
8998 (auto-revert-notify-add-watch): Use setq-local.
8999 (auto-revert-notify-add-watch): Don't call make-local-variable on
9000 kill-buffer-hook (bug#20601).
9001
9002 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 Change defgeneric so it doesn't completely redefine the function
9005 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
9006 previously defined methods.
9007 (cl-generic-define-method): Let-bind purify-flag instead of using `fset'.
9008 (cl--generic-prefill-dispatchers): Only define during compilation.
9009 (cl-method-qualifiers): Remove redundant alias.
9010 (help-fns-short-filename): Silence byte-compiler.
9011 * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
9012
9013 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
9014
9015 (package-menu-execute): Remove reference to remove-dups
9016
9017 2015-05-21 kwhite <kwhite@gnu.org>
9018
9019 * lisp/erc/erc.el: Hide network/channel messages
9020 (erc-network-hide-list, etc-channel-hide-list): New lists to define
9021 message types per network/channel.
9022 (erc-add-targets): New function to parse list of targets
9023 (erc-hide-current-message-p): Modified to check for new targets
9024
9025 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
9026
9027 Don't quote nil and t in doc strings
9028 This is as per "Tips for Documentation Strings" in the elisp manual.
9029 For consistency, do the same in diagnostics and comments.
9030
9031 2015-05-21 Eli Zaretskii <eliz@gnu.org>
9032
9033 Fix a minor problem with mouse-face on mode line
9034 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
9035 mouse face also if the mouse pointer hovers above mode-line glyphs
9036 that don't come from any Lisp string. (Bug#20620)
9037
9038 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
9039
9040 * lisp/emacs-lisp/package.el: Fix selected-package logic
9041 (package-menu-execute): Mark as selected all non-upgrade packages
9042 being installed.
9043 (package-menu--perform-transaction): Don't mark anything.
9044
9045 * lisp/emacs-lisp/package.el: Mode-line progress report
9046 (package-menu--transaction-status): New variable.
9047 (package-menu-mode, package-menu--perform-transaction): Use it.
9048
9049 * lisp/emacs-lisp/package.el: Better transaction messages
9050 (package-menu--partition-transaction): New function.
9051 (package-menu--prompt-transaction-p, package-menu-execute): Use
9052 it.
9053 (package-menu--perform-transaction): Don't do any messaging.
9054
9055 * lisp/emacs-lisp/package.el: Revert async package transactions
9056 (package-menu-async): Update doc.
9057 (package-install-from-archive, package-download-transaction)
9058 (package-install, package-menu--perform-transaction)
9059 (package-menu-execute): Remove asynchronous functionality.
9060
9061 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
9062
9063 Revert doc string changes to f90.el
9064 Problem reported by Glenn Morris in:
9065 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
9066 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
9067 Revert recent changes to doc strings, as it's intended that they
9068 use grave accent, not quote.
9069
9070 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
9071
9072 Improve parameter name
9073
9074 Add new inline function `hash-table-empty-p'
9075
9076 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
9077
9078 Don't require help-fns when not needed
9079 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
9080 * lisp/emacs-lisp/elint.el:
9081 Don't require help-fns at the top level.
9082 * lisp/emacs-lisp/advice.el (ad-arglist):
9083 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
9084 Don't require help-fns. (Bug#17001)
9085
9086 2015-05-20 Eli Zaretskii <eliz@gnu.org>
9087
9088 Fix slash collapsing in etags on MS-Windows
9089 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
9090 MS-Windows code from the Posix code, and support collapsing both
9091 forward- and back-slashes on MS-Windows. Fixes a regression found
9092 by the test suite.
9093
9094 Improve documentation of glyphless-char-display
9095 * doc/lispref/display.texi (Glyphless Chars): Improve
9096 documentation of glyphless character display.
9097
9098 Fix "acronym" display of glyphless characters on w32
9099 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
9100 ignore "acronym" substitutes of 1 character for glyphless characters.
9101
9102 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
9103
9104 Add an automated test for let-when-compile
9105 * test/automated/subr-tests.el (let-when-compile): New test.
9106
9107 Add let-when-compile macro instead of using pcase-let
9108 * lisp/subr.el (let-when-compile): New let-like macro that makes its
9109 bindings known to macros like `eval-when-compile' in the body.
9110 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to a
9111 `let-when-compile'. Also comment out the unused lexical var
9112 `el-kws-re'.
9113 The change greatly improves readability, while providing almost the
9114 same (even shorter) byte code: instead of pre-evaluating 10 variables,
9115 tossing them into a list, and destructuring that list a full screen
9116 page later, the variables are simply bound as they are evaluated,
9117 wrapped individually in `eval-when-compile'.
9118
9119 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
9120
9121 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer
9122 (package-delete-button-action): New function.
9123 (describe-package-1): Add Delete button.
9124
9125 * lisp/emacs-lisp/package.el: Better dependency description
9126 (package--used-elsewhere-p): New optional arg, ALL, and return
9127 package-desc objects instead of names.
9128 (package-delete): Update accordingly.
9129 (describe-package-1): Describe which packages require the package.
9130
9131 2015-05-20 Martin Rudalics <rudalics@gmx.at>
9132
9133 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
9134 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
9135 Fix doc-string (Bug#20533).
9136
9137 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
9138 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
9139 (switch-to-buffer): If the selected window is strongly dedicated
9140 to its buffer, signal error before prompting for buffer name. Handle
9141 `switch-to-buffer-in-dedicated-window'. (Bug#20472)
9142 * doc/lispref/windows.texi (Switching Buffers): Document
9143 `switch-to-buffer-in-dedicated-window'.
9144
9145 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
9146
9147 Prefer "this" to “this” in doc strings
9148 This mostly just straightens quotes introduced in my previous patch.
9149 Suggested by Dmitry Gutov in:
9150 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
9151 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
9152 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
9153 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
9154 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
9155 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
9156 Prefer straight double quotes to curved double quotes in doc strings.
9157
9158 Fix minor quoting problems in doc strings
9159 These were glitches regardless of how or whether we tackle the
9160 problem of grave accent in doc strings.
9161 * lisp/calc/calc-aent.el (math-restore-placeholders):
9162 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
9163 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
9164 * lisp/leim/quail/hebrew.el ("hebrew-new")
9165 ("hebrew-biblical-sil"):
9166 * lisp/leim/quail/thai.el ("thai-kesmanee"):
9167 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
9168 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
9169 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
9170 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
9171 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
9172 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
9173 (semantic-tag-components):
9174 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
9175 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
9176 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
9177 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
9178 * lisp/emacs-lisp/generator.el (iter-next):
9179 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
9180 (gnus-article-mode-syntax-table):
9181 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
9182 * lisp/net/soap-client.el (soap-wsdl-get):
9183 * lisp/net/telnet.el (telnet-mode):
9184 * lisp/org/org-compat.el (org-number-sequence):
9185 * lisp/org/org.el (org-remove-highlights-with-change)
9186 (org-structure-template-alist):
9187 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
9188 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
9189 (handwrite-12pt, handwrite-13pt):
9190 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
9191 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
9192 * lisp/progmodes/verilog-mode.el (verilog-tool)
9193 (verilog-string-replace-matches, verilog-preprocess)
9194 (verilog-auto-insert-lisp, verilog-auto-insert-last):
9195 * lisp/textmodes/makeinfo.el (makeinfo-options):
9196 * src/font.c (Ffont_spec):
9197 Fix minor quoting problems in doc strings, e.g., missing quote,
9198 ``x'' where `x' was meant, etc.
9199 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
9200 Fix minor quoting problem in other string.
9201 * lisp/leim/quail/ethiopic.el ("ethiopic"):
9202 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
9203 Omit unnecessary quotes.
9204 * lisp/faces.el (set-face-attribute, set-face-underline)
9205 (set-face-inverse-video, x-create-frame-with-faces):
9206 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
9207 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
9208 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
9209 * lisp/net/tramp.el (tramp-methods):
9210 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
9211 * lisp/textmodes/artist.el (artist-ellipse-right-char)
9212 (artist-ellipse-left-char, artist-vaporize-fuzziness)
9213 (artist-spray-chars, artist-mode, artist-replace-string)
9214 (artist-put-pixel, artist-text-see-thru):
9215 * lisp/vc/ediff-util.el (ediff-submit-report):
9216 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
9217 Use double-quotes rather than TeX markup in doc strings.
9218 * lisp/skeleton.el (skeleton-pair-insert-maybe):
9219 Reword to avoid the need for grave accent and apostrophe.
9220 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
9221 Don't use grave and acute accents to quote.
9222
9223 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9224
9225 * emacs-lisp/generator.el (cps--gensym, cps--transform-1): Silence compiler
9226
9227 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
9228
9229 Try to port new etags tests to MS-Windows
9230 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
9231 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
9232 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
9233 Adjust to test-case changes below.
9234 * test/etags/Makefile (CSRC): Remove dostorture.c.
9235 Whatever it was trying to test, wasn't working portably.
9236 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
9237 just a line-ending problem.
9238 * test/etags/c-src/dostorture.c: Remove.
9239 * test/etags/cp-src/c.C: Remove stray CR.
9240 * test/etags/html-src/algrthms.html: Remove trailing CRs.
9241 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
9242 but if someone edits it later it should stay UTF-8-compatible.
9243
9244 2015-05-19 Eli Zaretskii <eliz@gnu.org>
9245
9246 Fix display of overlapping window-specific overlays
9247 * src/keyboard.c (adjust_point_for_property): When adjusting point
9248 due to display strings, ignore overlays that are specific to
9249 windows other than the currently selected one.
9250 * src/xdisp.c (handle_single_display_spec): If the display
9251 property comes from an overlay, arrange for buffer iteration to
9252 resume only after the end of that overlay. (Bug#20607)
9253
9254 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
9255
9256 New command icomplete-force-complete-and-exit
9257 * lisp/icomplete.el (icomplete-force-complete-and-exit):
9258 New command
9259 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
9260 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
9261 (icomplete-minibuffer-map): Bind C-j to it.
9262 (icomplete-forward-completions, icomplete-backward-completions):
9263 Mention the new command in the docstring.
9264 * lisp/minibuffer.el (minibuffer-force-complete-and-exit): Revert
9265 the previous fix for bug#17545.
9266
9267 2015-05-19 Martin Rudalics <rudalics@gmx.at>
9268
9269 Fix last commit
9270
9271 In Elisp manual explain how to override window manager positioning (Bug#20552)
9272 * doc/lispref/frames.texi (Position Parameters): Give example of
9273 how to override a window manager positioning decision.
9274
9275 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
9276 * src/frame.c (Fdelete_frame): In doc-string mention that frame
9277 can't be deleted if it has a surrogate minibuffer.
9278 * doc/lispref/frames.texi (Minibuffers and Frames)
9279 (Deleting Frames): Explain "surrogate minibuffer frames".
9280
9281 In w32heap.c bump DUMPED_HEAP_SIZE to 19/12 MB
9282 * emacs-git/quick/src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
9283
9284 2015-05-18 Glenn Morris <rgm@gnu.org>
9285
9286 Add option to ignore commit lines matching a pattern in ChangeLog.
9287 * build-aux/gitlog-to-changelog: Add --ignore-line option.
9288 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
9289
9290 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
9291
9292 Don't skip new etags tests on non-UTF-8 hosts
9293 Problem reported by Eli Zaretskii for MS-Windows.
9294 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
9295 (LC_ALL): Set to C if the current locale isn't UTF-8.
9296 (.PHONY): Remove ediff_1 thru ediff_5.
9297 (check): Always run.
9298
9299 2015-05-18 Glenn Morris <rgm@gnu.org>
9300
9301 * lisp/calculator.el (calculator-funcall):
9302 * lisp/textmodes/artist.el (artist-spray-random-points):
9303 Use standard degree/radian conversion utilities.
9304
9305 Further lisp-complete-symbol related cleanup.
9306 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
9307 Unadvertise non-functional argument. Replace obsolete alias.
9308
9309 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
9310
9311 Add a test case for Maven warning ouput
9312 * test/automated/compile-tests.el
9313 (compile-tests--test-regexps-data): Add a case for Maven warning
9314 ouput.
9315 (compile--test-error-line): Check the compilation message type, if
9316 it's specified in the test data.
9317
9318 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
9319
9320 Update Maven compilation-mode entry to distinguish warnings
9321 * lisp/progmodes/compile.el
9322 (compilation-error-regexp-alist-alist): Update Maven entry to
9323 distinguish warnings (bug#20556).
9324
9325 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
9326
9327 * test/automated/sgml-mode-tests.el: New file.
9328
9329 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
9330
9331 Improve handling of the first Git revision
9332 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
9333 there's no next entry, delete until the end of the buffer.
9334 (log-view-end-of-defun-1): Stop at eob.
9335 * lisp/vc/vc-annotate.el
9336 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
9337 when previous-revision is nil.
9338 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
9339 with `--' to avoid ambiguity.
9340 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
9341 returned revision string.
9342 (vc-git-annotate-time): Expect `^' before the first revision.
9343 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
9344 REV1 is nil, and REV2 is not.
9345 * lisp/vc/vc.el: Update the description of the `diff' function.
9346
9347 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
9348
9349 Allow checkdoc to be called in batch
9350 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
9351 is non-nil, echo the error with `warn'.
9352 How it can be used in -batch:
9353 (with-current-buffer (find-file "checkdoc.el")
9354 (checkdoc-current-buffer t))
9355
9356 2015-05-18 Glenn Morris <rgm@gnu.org>
9357
9358 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
9359
9360 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
9361
9362 * admin/notes/unicode: New section "binary files".
9363
9364 Change new etags test to use UTF-8 encoding
9365 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
9366 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
9367 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
9368 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
9369 * test/etags/html-src/softwarelibero.html:
9370 Switch to UTF-8 encoding.
9371 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
9372 Remove Makefile, as it's too incestuous to have the test input
9373 include the build procedure.
9374 (UTF8_LOCALE, UTF_ENCODING): New macros.
9375 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
9376 (check): Skip if not UTF-8.
9377 (.PHONY): New rule.
9378 (FRC): Remove, as superseded by .PHONY. All uses removed.
9379 (regexfile): Prefer printf to echo when outputting oddball chars.
9380 (.PRECIOUS): Remove, as these files are not built.
9381
9382 Rename 'foo-gzipped' to 'foo.gz'
9383 * test/automated/data/decompress/foo.gz:
9384 Rename from test/automated/data/decompress/foo-gzipped,
9385 to make it easier for other tools to tell that it's compressed.
9386 * test/automated/zlib-tests.el (zlib--decompress):
9387 Adjust to renamed file.
9388
9389 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
9390
9391 Set up default-directory
9392 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
9393 binding for `v'.
9394 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
9395 appropriate value for default-directory.
9396
9397 2015-05-17 Samer Masterson <samer@samertm.com>
9398
9399 * lisp/eshell/em-term.el (eshell-term-sentinel):
9400 No-op by default, only kills term buffer if
9401 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
9402 (eshell-destroy-buffer-when-process-dies): New custom to preserve
9403 previous behavior.
9404
9405 eshell: Introduce new buffer syntax
9406 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
9407 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
9408 needed (Bug#19319).
9409 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
9410 (eshell-get-target): Remove shorthand-specific code.
9411 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
9412 '#<buffer-name>'.
9413
9414 2015-05-17 Jan D <jan.h.d@swipnet.se>
9415
9416 Merge branch 'master' into cairo
9417
9418 2015-04-26 Jan D <jan.h.d@swipnet.se>
9419
9420 Merge branch 'master' into cairo
9421
9422 Add PBM support for cairo.
9423 * src/image.c (xcolor_to_argb32): New function.
9424 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
9425 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
9426 XImagePtr if ! USE_CAIRO.
9427 (pbm_load): Add cairo support.
9428
9429 2015-04-12 Jan D <jan.h.d@swipnet.se>
9430
9431 x_free_cr_resources: Renamed from x_prepare_for_xlibdraw.
9432 * src/xterm.c (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw.
9433 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
9434 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
9435 x_free_cr_resources.
9436
9437 Handle specified bg in images. Use generic libpng code for PNG:s.
9438 * src/image.c (get_spec_bg_or_alpha_as_argb)
9439 (create_cairo_image_surface): New functions when USE_CAIRO.
9440 (xpm_load): Call the above functions. Handle XPM without mask
9441 when USE_CAIRO.
9442 (png_load_body): Handle USE_CAIRO case.
9443 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
9444 instead.
9445 (jpeg_load_body): Call create_cairo_image_surface.
9446 (gif_load, svg_load_image): Handle specified background, call
9447 create_cairo_image_surface.
9448 * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
9449
9450 2015-04-11 Jan D <jan.h.d@swipnet.se>
9451
9452 Support GIF and Tiff with cairo.
9453 * configure.ac: Allow jpeg with cairo.
9454 Allow tiff and gif with cairo.
9455 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
9456 (tiff_load): Create cairo image surface if USE_CAIRO.
9457 (gif_load): Ditto.
9458
9459 Support JPEG with USE_CAIRO.
9460 * configure.ac: Allow jpeg with cairo.
9461 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
9462
9463 2015-04-05 Jan D <jan.h.d@swipnet.se>
9464
9465 Support RSVG and cairo.
9466 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
9467 * src/dispextern.h (struct image): add cr_data2 if cairo.
9468 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
9469 (x_clear_image): Free cr_data and cr_data2 if set.
9470 (xpm_load): Assign data to cr_data2.
9471 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
9472
9473 2015-04-03 Jan D <jan.h.d@swipnet.se>
9474
9475 Introduce limited Xpm support (32 bit ZPixmap) for Cairo.
9476 * configure.ac (HAVE_RSVG): Move after cairo.
9477 (USE_CAIRO): Disable rsvg, don't disable Xpm.
9478 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
9479 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
9480 don't return early.
9481 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
9482 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
9483 and create a surface.
9484
9485 Tool tips for menus did not show any text.
9486 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
9487 tip frames, the geometry may be wrong.
9488
9489 Merge branch 'master' into cairo, fixes tooltips not shown.
9490
9491 Merge branch 'master' into cairo
9492
9493 Add CAIRO_CFLAGS to lwlib/Makefile.in
9494 * Makefile.in (CAIRO_CFLAGS): Add.
9495
9496 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9497
9498 * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
9499
9500 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9501
9502 Draw outermost line using black relief and erase corners also for cairo.
9503 * xterm.c [USE_CAIRO]: Include math.h.
9504 (enum corners) [USE_CAIRO]: New enum.
9505 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
9506 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
9507 than 1, draw the outermost line using the black relief.
9508
9509 * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
9510
9511 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9512
9513 * xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
9514
9515 * xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask.
9516
9517 Use int instead of unsigned int for width and height args.
9518 * xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
9519 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
9520 width and height args.
9521
9522 Modernize k&r cairo-related function declarations.
9523 * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
9524 (xg_print_frames_dialog): Modernize k&r declarations.
9525 * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
9526 (Fx_print_frames_dialog): Modernize k&r declarations.
9527 * xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip)
9528 (x_end_cr_clip, x_set_cr_source_with_gc_foreground)
9529 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
9530 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
9531 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
9532 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
9533 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
9534 (x_clear_area): Modernize k&r declarations.
9535
9536 Implement wave-style variant of underlining for cairo.
9537 * xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
9538 (x_draw_underwave) [USE_CAIRO]: Use it.
9539
9540 * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of XFillRectangle.
9541
9542 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9543
9544 Fix fringe bitmap initialization for cairo.
9545 * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for
9546 cairo image surface.
9547 * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty.
9548
9549 2015-02-11 Jan D <jan.h.d@swipnet.se>
9550
9551 Add cairo drawing.
9552 * configure.ac (with-cairo): New option.
9553 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
9554 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
9555 Output "Does Emacs use cairo?".
9556 * lisp/version.el (emacs-version): Add cairo version.
9557 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
9558 (FONT_OBJ): Add comment about ftcrfont.
9559 (ALL_CFLAGS): Add CAIRO_CFLAGS.
9560 (LIBES): Add CAIRO_LIBS.
9561 * src/dispextern.h (struct image): Add cr_data for cairo.
9562 (x_cr_init_fringe): Declare.
9563 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
9564 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
9565 * src/fringe.c (x_cr_init_fringe): New function name that shares code
9566 with w32_init_fringe.
9567 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
9568 * src/ftfont.c (ftfont_info_size); New global variable.
9569 (ftfont_open2): New extern function almost the same as old ftfont_open,
9570 but takes the font_object as argument.
9571 (ftfont_open): Build font object and call ftfont_open2.
9572 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
9573 * src/gtkutil.c (xg_clear_under_internal_border)
9574 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
9575 queue_draw if not cairo. Change args to x_clear_area.
9576 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
9577 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
9578 (xg_print_frames_dialog): New functions for printing.
9579 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
9580 (xg_print_frames_dialog): Declare.
9581 * src/image.c: Add defined (USE_CAIRO) for PNG.
9582 Add !defined USE_CAIRO for W32 PNG code.
9583 (x_clear_image): If cairo, destroy the surface in cr_data.
9584 (png_load): Add new cairo compatible implementation.
9585 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
9586 * src/xfns.c: New section Printing.
9587 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
9588 (x-print-frames-dialog): New printing functions.
9589 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
9590 cairo.
9591 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
9592 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
9593 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
9594 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
9595 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
9596 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
9597 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
9598 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
9599 Declare.
9600 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
9601 (max_fringe_bmp, fringe_bmp): New variables.
9602 (x_gc_get_ext_data, x_extension_initialize)
9603 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
9604 (x_set_cr_source_with_gc_foreground)
9605 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
9606 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
9607 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
9608 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
9609 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
9610 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
9611 (x_update_begin): Create cairo surface if needed.
9612 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
9613 (x_update_end): Paint cairo drawing surface to xlib surface.
9614 (x_clear_under_internal_border, x_after_update_window_line): Adjust
9615 arguments to x_clear_area.
9616 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
9617 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
9618 of XSetClipMask.
9619 (x_set_glyph_string_clipping)
9620 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
9621 instead of XSetClipRectangles.
9622 (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
9623 x_fill_rectangle instead of XFillRectangle.
9624 (x_draw_glyph_string_foreground)
9625 (x_draw_composite_glyph_string_foreground)
9626 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
9627 of XDrawRectangle.
9628 (x_draw_relief_rect): Add code for USE_CAIRO.
9629 Call x_reset_clip_rectangles instead of XSetClipMask.
9630 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
9631 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
9632 instead of XSetClipMask.
9633 (x_draw_image_foreground, x_draw_image_foreground_1):
9634 x_draw_rectangle instead of XDrawRectangle.
9635 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
9636 XFillRectangle.
9637 (x_draw_image_glyph_string): If img has cr_data, use it as
9638 a cairo surface.
9639 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
9640 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
9641 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
9642 x_reset_clip_rectangles instead of XSetClipMask.
9643 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
9644 (x_clear_area1): New function that calls XClearArea.
9645 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
9646 non-cairo.
9647 (x_clear_frame): x_clear_window instead of XClearWindow.
9648 (x_scroll_run): Set frame garbaged if cairo.
9649 (XTmouse_position): Initialize *part to 0.
9650 (x_scroll_bar_create): Adjust arguments to x_clear_area.
9651 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
9652 x_fill_rectangle instead of XFillRectangle.
9653 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
9654 arguments to x_clear_area.
9655 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
9656 (handle_one_xevent): Adjust arguments to x_clear_area.
9657 Destroy cairo surface for frame if ConfigureNotify.
9658 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
9659 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
9660 x_reset_clip_rectangles instead of XSetClipMask.
9661 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
9662 x_reset_clip_rectangles instead of XSetClipMask.
9663 (x_clear_frame_area): Adjust arguments to x_clear_area.
9664 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
9665 (x_term_init): Call x_extension_initialize if cairo.
9666 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
9667 x_cr_destroy_fringe_bitmap for cairo.
9668 (x_initialize): Call x_cr_init_fringe for cairo.
9669 * src/xterm.h: Add include of cairo header files.
9670 (x_bitmap_record): Add img if cairo.
9671 (x_gc_ext_data): New struct for cairo.
9672 (x_display_info): Add ext_codes for cairo.
9673 (x_output): Add cr_context and cr_surface for cairo.
9674 (x_clear_area): Change arguments from Display*/Window to frame pointer.
9675 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
9676 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
9677 (x_cr_draw_frame, x_cr_export_frames): Declare.
9678
9679 2015-05-17 Johan Bockgård <bojohan@gnu.org>
9680
9681 Fix integer-valued `mouse-highlight' (Bug#20590)
9682 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
9683
9684 2015-05-17 Eli Zaretskii <eliz@gnu.org>
9685
9686 MS-Windows followup for ASCIIfication of curved quotes
9687 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
9688 test for curved quotes being displayable, after switching the
9689 terminal encoding. (Bug#20545)
9690
9691 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
9692
9693 Spelling fixes
9694
9695 2015-05-17 Jan D <jan.h.d@swipnet.se>
9696
9697 Add comment that x_shift_glyphs_for_insert is never called.
9698 * xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add
9699 comment that this function is never called.
9700
9701 2015-05-16 Glenn Morris <rgm@gnu.org>
9702
9703 * src/lisp.mk: Remove from repository and generate at build-time.
9704 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
9705 (shortlisp_filter): New variable.
9706 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
9707 (distclean): Remove lisp.mk.
9708 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
9709 * lisp/loadup.el: Tweak layout to make it easier to parse.
9710 * make-dist: Do not distribute src/lisp.mk.
9711
9712 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
9713
9714 Display shorter dates in Git annotate output
9715 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
9716 format (when not overridden with vc-git-annotate-switches).
9717 (vc-git-annotate-time): Support the short format, as well as ISO
9718 8601 that has been used until now (bug#5428).
9719
9720 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
9721
9722 ASCIIfy curved quotes on displays lacking them
9723 * lisp/international/mule-cmds.el (set-locale-environment):
9724 If curved quotes don't work, display straight ASCII approximations
9725 (Bug#20545).
9726
9727 2015-05-16 Glenn Morris <rgm@gnu.org>
9728
9729 Small src/Makefile simplification.
9730 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
9731 * src/Makefile.in (lisp): Derive from shortlisp.
9732 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
9733
9734 2015-05-16 Eli Zaretskii <eliz@gnu.org>
9735
9736 * lisp/help-mode.el (help-go-forward): Doc fix.
9737 (Bug#20577)
9738
9739 * doc/lispref/debugging.texi (Profiling): Improve indexing.
9740 (Bug#20576)
9741
9742 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
9743
9744 Use `unless' to have one fewer `not'
9745 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
9746 have one fewer `not'.
9747
9748 Remove redundant :group declarations from vc-git.el
9749 * lisp/vc/vc-git.el (vc-git-diff-switches)
9750 (vc-git-annotate-switches, vc-git-resolve-conflicts)
9751 (vc-git-program, vc-git-root-log-format): Remove the redundant
9752 :group declarations.
9753
9754 2015-05-16 Nicolas Petton <nicolas@petton.fr>
9755
9756 Removes the predicate from lisp-complete-symbol (Bug#20456)
9757 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
9758 and remove it from the docstring.
9759
9760 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
9761
9762 Add new option vc-git-resolve-conflicts
9763 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
9764 (vc-git-find-file-hook): Add to after-save-hook only when the
9765 above is non-nil.
9766 (vc-git-resolve-when-done): Update to honor the new variable.
9767 (Bug#20292)
9768
9769 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
9770
9771 * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string
9772 (tabulated-list-init-header): Document new behavior.
9773 (tabulated-list-print-fake-header): No nothing if
9774 `tabulated-list--header-string' is nil.
9775 (tabulated-list--header-string): Add a docstring.
9776 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
9777 * etc/NEWS: Document it.
9778
9779 2015-05-15 Leo Liu <sdl.web@gmail.com>
9780
9781 Revert "Fix cps--gensym"
9782 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
9783 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
9784
9785 2015-05-15 Glenn Morris <rgm@gnu.org>
9786
9787 Replace AC_SUBST_FILE in configure with include in Makefiles.
9788 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
9789 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
9790 (AUTO_DEPEND): New output variable.
9791 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
9792 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
9793 (lwlib_deps_frag): Replace by conditional include.
9794 * lwlib/autodeps.mk: Remove file.
9795 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
9796 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
9797 (oldxmenu_deps_frag): Replace by conditional include.
9798 * oldXMenu/autodeps.mk: Remove file.
9799 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
9800 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
9801 (lisp_frag): Replace by an include.
9802 (deps_frag): Replace by conditional include.
9803 * src/autodeps.mk: Remove file.
9804
9805 Tweak japanese.el's loading of dependencies.
9806 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
9807 * lisp/language/japanese.el: Use require rather than load.
9808 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
9809 Provide a feature.
9810 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
9811 Provide a feature in the generated file.
9812
9813 2015-05-15 Jan D <jan.h.d@swipnet.se>
9814
9815 Fix NS warnings.
9816 * nsmenu.m (ns_popup_dialog)
9817 * nsimage.m (initFromXBM:width:height:fg:bg:)
9818 * nsfns.m (Fx_create_frame): Remove unused variables.
9819 (Fns_read_file_name): Initialize fname, remove ret.
9820 * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
9821 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
9822 variable.
9823 (init): Add parantesis in if.
9824 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
9825
9826 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
9827
9828 Fix a enum conversion warning in macfont.m
9829 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
9830 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
9831
9832 2015-05-15 Eli Zaretskii <eliz@gnu.org>
9833
9834 Support de-alt dictionary with Aspell.
9835 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
9836 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
9837
9838 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
9839
9840 cus-start.el: Add ns-confirm-quit.
9841 * cus-start.el: Add ns-confirm-quit.
9842
9843 Fix warnings on OSX 10.10.
9844 * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
9845 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
9846 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
9847 * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
9848 * nsimage.m (allocInitFromFile, setPixmapData): Only call
9849 setScalesWhenResized for OSX < 10.6.
9850 * nsterm.h (EmacsScroller): Declare scrollerWidth.
9851 * nsterm.m (ns_copy_bits): New function that does not use deprecated
9852 NSCopyBits.
9853 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
9854 (runAlertPanel): New function.
9855 (applicationShouldTerminate:): Call runAlertPanel.
9856 (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
9857 for OSX < 10.10.
9858 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
9859 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
9860 (draggingEntered:): Returns NSDragOperation.
9861 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
9862
9863 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
9864
9865 * lisp/emacs-lisp/package.el: Don't ensure-init during startup
9866 (package--init-file-ensured): New variable.
9867 (package-initialize, package--ensure-init-file): Use it.
9868
9869 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
9870
9871 Honor :fore/background for XBM on NS (Bug#14969).
9872 * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
9873 initFromXBM takes bg, fg args, remove flip arg.
9874 (ns_image_from_XBM): Add bg, fg args.
9875 * image.c (x_create_bitmap_from_data)
9876 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
9877 * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
9878 Remove flip arg.
9879 (initFromSkipXBM): Move code to initFromXBM.
9880 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
9881 Use fg, bg from args (Bug#14969). Remove if (length) section, was always
9882 false.
9883 Remove bit flipping (bitPat, swt), generated incorrect images when
9884 width/height wasn't a multiple of 8.
9885 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
9886 * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
9887 flip arg.
9888
9889 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
9890
9891 * lisp/emacs-lisp/package.el: Be more careful with the init file
9892 (package--ensure-init-file): Check that user-init-file is set,
9893 exists, is readable, and is writable. (Bug#20584)
9894 Also expand the docstring.
9895
9896 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
9897
9898 Sync with upstream verilog-mode revision 6232468
9899 * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face)
9900 (verilog-highlight-grouping-keywords): Fix use of face when
9901 `verilog-highlight-grouping-keywords' set. Reported by Jeff
9902 Pompa.
9903 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
9904 parent is reset, bug906. Reported by Ken Schmidt.
9905 (verilog-auto-inout-module): Add fourth regexp argument to
9906 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match,
9907 bug856. Reported by John Tillema.
9908 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
9909 modport if signal attachment is itself a modport. Reported by
9910 Matthew Lovell.
9911 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
9912 always_comb and always_latch, bug844. Reported by Greg Hilton.
9913 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
9914 with many curly-bracket pairs, bug663.
9915 (verilog-set-auto-endcomments): Fix end comments for functions of
9916 type void, etc. Reported by Alex Reed.
9917 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
9918 caused by indent-line-to deleting tabls pre 24.5.
9919 (verilog-nameable-item-re): Fix nameable items that can have an
9920 end-identifier to include endchecker, endgroup, endprogram,
9921 endproperty, and endsequence. Reported by Alex Reed.
9922 (verilog-label-be): When auto-commenting a buffer, consider
9923 auto-comments on all known keywords (not just a subset thereof).
9924 Reported by Alex Reed.
9925 (verilog-auto-end-comment-lines-re)
9926 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
9927 Automatically comment property/endproperty blocks to match other
9928 similar blocks like sequence/endsequence, function/endfunction,
9929 etc. Reported by Alex Reed.
9930 (verilog-set-auto-endcomments): Detect the function- or task-name
9931 when auto-commenting blocks that lack an explicit
9932 portlist. Reported by Alex Reed.
9933 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
9934 allow post-AUTO user fixups, bug826. Reported by Dennis
9935 Muhlestein.
9936 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
9937 is nil, fix indenting initial/final to match always statements,
9938 bug825. Reported by Tim Clapp.
9939 (verilog-extended-complete-re): Fix indentation of DPI-C imports
9940 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
9941 Mao and Jason Forkey.
9942 (verilog-read-decls): Fix parsing typed interfaces. Fix
9943 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
9944 Fix localparam not being ignored in AUTOINSTPARAM,
9945 bug889. Reported by Shannon Hill.
9946 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
9947 bug793. Reported by Pierre-David Pfister.
9948 (verilog-auto-arg-format, verilog-auto-arg-ports): Add
9949 verilog-auto-arg-format to support newlines in AUTOARG. Reported
9950 by Jie Xiao.
9951 (verilog-batch-execute-func): Do not batch re-auto files loaded by
9952 Local Variables. Fix printing "no changes to be saved" with
9953 verilog-batch. Reported by Dan Dever.
9954 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9955 interface-only modules, bug721. Reported by Dean Hoyt.
9956 Author: Alex Reed <acreed4@gmail.com>
9957 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't
9958 treat '<keyword>:<identifier>' as the start of a labeled
9959 statement, bug905. Reported by Enzo Chi.
9960 (verilog-directive-re, verilog-compiler-directives)
9961 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
9962 directives (plus some extras) when determining indentation, bug
9963 901. Reported by Bernd Beuster.
9964 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
9965 iff expression doesn't start with word-character, bug900.
9966 (verilog-optional-signed-range-re, verilog-optional-signed-re):
9967 Fix incorrect indentation/alignment of unsigned declarations,
9968 bug897.
9969 (verilog-looking-back, verilog-in-attribute-p): Fix labling of
9970 always constructs, bug895.
9971 (verilog-calc-1): Fix verilog-mode constraint indentation,
9972 bug324. Reported by Eric Mastromarchi.
9973 (verilog-beg-of-statement): Fix indenting for some forms of
9974 constraintsm bug433. Reported by Brad Parker. Fix indentation of
9975 continued assignment incorrect if first line ends with ']',
9976 bug437. Reported by Dan Dever. Fix indention of cover inside an
9977 ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while
9978 blocks, bug842.
9979 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning,
9980 bug859. Reported by Kaushal Modi.
9981 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
9982 (verilog-backward-token): Fix indenting sensitivity lists with
9983 named events, bug840. Reed.
9984 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
9985 nil not honoring 'forever', 'foreach', and 'do' keywords.
9986
9987 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
9988
9989 Check for invalid GTK+ monitor scales
9990 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
9991 INT_MAX for too-large scales. All callers changed to assume the
9992 result is valid (Bug#20432).
9993 (xg_frame_set_char_size, xg_update_scrollbar_pos):
9994 Calculate scale only if needed.
9995 show ASCII approximations instead.
9996
9997 2015-05-14 Eli Zaretskii <eliz@gnu.org>
9998
9999 Fix daemon crashes when linum-mode is turned on early on
10000 * src/window.c (Fwindow_end): Don't try calling display engine
10001 functions on initial-frame frame. (Bug#20565)
10002
10003 Fix selective diff browsing in Ediff
10004 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the
10005 beginning of the region before searching for the
10006 ediff-regexp-focus-* regexps. (Bug#20568)
10007
10008 2015-05-14 Jan D <jan.h.d@swipnet.se>
10009
10010 Fixes Bug#20142.
10011 * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
10012 in the main loop, even for Gtk 3 (Bug#20142).
10013
10014 Don't access display after i/o error (Bug#19147).
10015 * xterm.c (x_connection_closed): Add third arg ioerror.
10016 If ioerror, set display to 0 (Bug#19147).
10017 (x_error_quitter): Call x_connection_closed with third arg false.
10018 (x_io_error_quitter): Call x_connection_closed with third arg true.
10019
10020 Handle GTK_SCALE, fixes Bug#20432.
10021 * gtkutil.c (xg_get_gdk_scale): New function.
10022 (xg_frame_set_char_size)
10023 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
10024 (xg_get_default_scrollbar_height)
10025 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
10026 when setting sizes (Bug#20432).
10027
10028 2015-05-13 Leo Liu <sdl.web@gmail.com>
10029
10030 Fix cps--gensym
10031 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
10032
10033 2015-05-13 Glenn Morris <rgm@gnu.org>
10034
10035 Fix bootstrap (void function cl-member).
10036 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
10037 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
10038
10039 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
10042 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
10043 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
10044 Avoid defalias for closures which are not immutable.
10045 (cl--generic-prefill-dispatchers): New macro. Use it to prefill the
10046 dispatchers table with various entries.
10047 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
10048 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
10049
10050 2015-05-13 Eli Zaretskii <eliz@gnu.org>
10051
10052 Improve tagging of C bindings in DEFVAR_*
10053 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
10054 from DEFVAR_*.
10055
10056 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
10057
10058 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
10059
10060 2015-05-12 Glenn Morris <rgm@gnu.org>
10061
10062 * lisp/progmodes/tcl.el (tcl-filter):
10063 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
10064
10065 Add basic VC push support.
10066 * lisp/vc/vc.el (vc-push): New autoloaded command.
10067 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
10068 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
10069 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
10070 (vc-bzr-push): New.
10071 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
10072 (vc-git-pull): Reimplement using vc-git--pushpull.
10073 (vc-git-push): New.
10074 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
10075 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
10076 * doc/emacs/maintaining.texi (Pulling / Pushing):
10077 Rename from "VC Pull". Mention pushing.
10078 (VC With A Merging VCS, VC Change Log): Update xrefs.
10079 (Branches): Update menu.
10080 * doc/emacs/emacs.texi: Update menu.
10081 * etc/NEWS: Mention this.
10082
10083 2015-05-12 Nicolas Petton <nicolas@petton.fr>
10084
10085 Improve the seq pcase pattern and the `seq-let' macro
10086 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
10087 object is a sequence, and binds each element of ARGS to the
10088 corresponding element of the sequence.
10089
10090 2015-05-12 Eli Zaretskii <eliz@gnu.org>
10091
10092 Fix tags created from DEFVAR_* declarations in C
10093 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
10094 to make tags extracted from DEFVAR_* declarations more accurate.
10095
10096 Add a test suite for etags
10097 * test/etags/: New test suite, adapted from
10098 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
10099 whose original author is Francesco Potortì <pot@gnu.org>.
10100
10101 Fix tagging of symbols in C enumerations
10102 * lib-src/etags.c (consider_token): Don't tag symbols in
10103 expressions that assign values to enum constants. See
10104 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
10105 for details.
10106 (C_entries): Reset fvdef to fvnone after processing a preprocessor
10107 conditional and after a comma outside of parentheses.
10108
10109 2015-05-12 Glenn Morris <rgm@gnu.org>
10110
10111 * lisp/url/url-handlers.el (url-file-name-completion)
10112 (url-file-name-all-completions): Silence compiler.
10113
10114 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
10115
10116 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
10117
10118 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10119
10120 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
10121 (cl--generic-mandatory-args): Remove.
10122 (cl--generic-split-args): New function.
10123 (cl-generic-define, cl--generic-lambda): Use it.
10124 (cl-generic-define-method): Use it as well, and add support for
10125 context args.
10126 (cl--generic-get-dispatcher): Handle &context dispatch.
10127 (cl--generic-cache-miss): `dispatch-arg' can now be a context expression.
10128 (cl--generic-dispatchers): Pre-fill.
10129 * test/automated/cl-generic-tests.el (sm-generic-test-12-context): New test.
10130
10131 2015-05-11 Glenn Morris <rgm@gnu.org>
10132
10133 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
10134
10135 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
10138 * lisp/term/rxvt.el: Require term/xterm.
10139 (rxvt-function-map): Use xterm-rxvt-function-map.
10140 (rxvt-standard-colors): Move before first use.
10141 (terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors.
10142 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
10143 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
10144 Move shared bindings between rxvt and xterm to it.
10145 (xterm-function-map): Use it. Move the xterm-paste binding to
10146 xterm-rxvt-function-map (bug#20444).
10147 (xterm-standard-colors): Move before first use.
10148 (xterm--push-map): New function.
10149 (xterm-register-default-colors): Take standard colors as argument.
10150 (terminal-init-xterm): Use it. Adjust call to
10151 xterm-register-default-colors.
10152
10153 2015-05-11 Glenn Morris <rgm@gnu.org>
10154
10155 * lisp/term/x-win.el: Quieten --without-x compilation.
10156 (x-own-selection-internal, x-disown-selection-internal)
10157 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
10158 Declare.
10159
10160 * Makefile.in (emacslog): Remove srcdir.
10161 (ChangeLog): Update for the above.
10162
10163 2015-05-11 Paul Eggert <eggert@cs.ucla.edu>
10164
10165 Spelling fix
10166
10167 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
10168
10169 python.el: better limit for looking-back calls
10170 * lisp/progmodes/python.el (python-shell-accept-process-output):
10171 Use last comint prompt start as limit for looking-back.
10172
10173 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 CEDET (srecode-insert-fcn): Fix use of oref on a class
10176 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref on
10177 a class. Reported by Pierre Lorenzon.
10178 (srecode-template-inserter-point): Remove declaration.
10179
10180 CEDET (srecode-create-dictionary): Avoid obsolete object name
10181 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
10182 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
10183
10184 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
10185
10186 C-x 8 shorthands for curved quotes, Euro, etc.
10187 Although C-x 8 lets you insert arbitrary Unicode characters,
10188 it's awkward to use this to insert commonly used symbols such as curved
10189 quotes, the Euro symbol, etc. This patch adds simpler sequences for
10190 characters commonly found in English text and in basic math.
10191 For example, assuming the Alt key works on your keyboard and iso-transl
10192 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
10193 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
10194 (Bug#20499)
10195 * doc/emacs/mule.texi (Unibyte Mode):
10196 A few other printing characters now work too.
10197 * etc/NEWS: Document this.
10198 * lisp/international/iso-transl.el (iso-transl-char-map):
10199 Also support the following characters:
10200 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
10201
10202 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
10203
10204 Add xref-find-regexp
10205 * lisp/progmodes/xref.el (xref-find-function): Describe the
10206 `matches' action.
10207 (xref-find-regexp): New command, using it.
10208 (xref-collect-references): Rename to xref-collect-matches.
10209 (xref--collect-reference): Rename to xref--collect-match.
10210 (xref-collect-matches, xref--collect-match): Accept new argument,
10211 KIND. Update accordingly.
10212 (xref--regexp-to-extended): New function.
10213 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
10214 `matches' action.
10215 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
10216 * lisp/progmodes/etags.el (etags-xref-find):
10217 Support the `matches' action.
10218 (etags--xref-find-matches): New function.
10219
10220 2015-05-10 Glenn Morris <rgm@gnu.org>
10221
10222 * Makefile.in: Fixes for recent change-history changes.
10223 (change-history-nocommit): Update footer regexp.
10224 Ensure output script stays executable.
10225
10226 2015-05-10 Nicolas Petton <nicolas@petton.fr>
10227
10228 New version of `seq-let' based on a pcase pattern
10229 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
10230 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
10231
10232 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
10233
10234 Add basic HTML5 tags and a template
10235 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
10236 (html-tag-alist): Add HTML5 tags.
10237 (html-tag-help): Add new tags descriptions.
10238 (html-navigational-links): Template for nav links.
10239 (html-html5-template): Template for a HTML5 page.
10240
10241 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
10242
10243 semantic/symref/grep: Don't use word boundaries
10244 * lisp/cedet/semantic/symref/grep.el
10245 (semantic-symref-perform-search): Instead of wrapping input in
10246 word boundaries, check that the characters before and after are
10247 not word constituents.
10248
10249 semantic/symref/grep: Support regexp search
10250 * lisp/cedet/semantic/symref.el
10251 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
10252 the search type is regexp.
10253 * lisp/cedet/semantic/symref/grep.el
10254 (semantic-symref-perform-search): Support the regexp search type.
10255 Pass -E to Grep when it's used.
10256
10257 semantic-symref-regexp: Allow to input an arbitrary string
10258 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
10259 Allow to input an arbitrary string interactively.
10260
10261 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
10262 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
10263 Remove tag-symbol-match-p from the default value
10264 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
10265
10266 Declare find-tag obsolete
10267 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
10268 xref-find-definitions.
10269
10270 2015-05-10 Jan D <jan.h.d@swipnet.se>
10271
10272 Draw composite string correctly (Bug#20537).
10273 * nsterm.m (ns_draw_composite_glyph_string_foreground): New function.
10274 (ns_draw_glyph_string): Call it (Bug#20537).
10275
10276 2015-05-09 Eli Zaretskii <eliz@gnu.org>
10277
10278 Avoid infloop in ERC
10279 * lisp/simple.el (line-move-to-column): Ignore field boundaries
10280 while computing line beginning position. (Bug#20498)
10281
10282 2015-05-08 Glenn Morris <rgm@gnu.org>
10283
10284 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
10285 * build-aux/gitlog-to-emacslog: Check called from right directory.
10286 (srcprefix): Remove.
10287
10288 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
10289 * Makefile.in (ChangeLog): No longer pass "distprefix".
10290 * make-dist: Update "make ChangeLog" syntax for the above change.
10291
10292 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
10293 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
10294
10295 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
10296
10297 Add command-line option-parsing to gitlog-to-emacslog.
10298 * build-aux/gitlog-to-emacslog: Add command-line options.
10299 By default, refuse to remove an existing output file.
10300 * Makefile.in (CHANGELOG): Update default.
10301 (ChangeLog): Do not test for existing file.
10302 (change-history-nocommit): Ensure temp file does not exist.
10303
10304 Quieten --without-x compilation.
10305 * lisp/term/common-win.el: Provide a feature.
10306 * lisp/term/x-win.el (term/common-win): Require it.
10307
10308 * lisp/dired-aux.el (dired-do-print): Require lpr.
10309
10310 Quieten compilation, eg in --without-x builds.
10311 * lisp/dired-aux.el (lpr-printer-switch):
10312 * lisp/frame.el (tool-bar-height):
10313 * lisp/linum.el (font-info):
10314 * lisp/window.el (font-info, overflow-newline-into-fringe)
10315 (tool-bar-height):
10316 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
10317 * lisp/gnus/gnus-util.el (iswitchb-mode):
10318 * lisp/mail/rmailmm.el (libxml-parse-html-region):
10319 * lisp/net/nsm.el (gnutls-peer-status)
10320 (gnutls-peer-status-warning-describe):
10321 * lisp/net/shr.el (libxml-parse-xml-region):
10322 * lisp/url/url-http.el (gnutls-peer-status): Declare.
10323
10324 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
10327 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
10328 `subclass' since they're never called with a class.
10329 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
10330 srecode-dictionary-child-p.
10331
10332 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10333
10334 help--binding-locus: Document argument POSITION.
10335 * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
10336
10337 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
10338
10339 Merge from gnulib.
10340 * doc/misc/texinfo.tex: Get latest version.
10341
10342 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
10343
10344 ffap.el (ffap-read-file-or-url): Fix completing-read call
10345 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
10346 `completing-read' should be a symbol.
10347
10348 2015-05-08 Eli Zaretskii <eliz@gnu.org>
10349
10350 Verify file modifications by other programs
10351 * src/filelock.c (lock_file): Check whether the file was modified
10352 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
10353
10354 Fix keyboard macros that include function keys
10355 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
10356 keys in the macro before returning. (Bug#20454)
10357
10358 2015-05-08 Glenn Morris <rgm@gnu.org>
10359
10360 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
10361 "Copyright-paperwork-exempt". (Bug#20324)
10362
10363 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
10364 (log-edit-rewrite-tiny-change): New variable.
10365 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
10366 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
10367 * etc/NEWS: Mention this.
10368
10369 * lisp/calc/calc.el (math-zerop): Declare.
10370
10371 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
10372
10373 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
10374
10375 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
10376 Support the case when BINDINGS is a single tuple. (Bug#20525)
10377
10378 * etc/NEWS: Fix typo in commit 14bb519
10379
10380 2015-05-07 Jan D <jan.h.d@swipnet.se>
10381
10382 Warn for multiple display crash for all Gtk+ versions.
10383 * configure.ac: Warn for multiple display crash for all Gtk+
10384 versions. Output URL to Gtk+ bug (Bug#20452).
10385
10386 ns-win.el (ns-paste-secondary): Use gui-get-selection.
10387 * ns-win.el (ns-paste-secondary): Use gui-get-selection.
10388
10389 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
10390
10391 * lisp/emacs-lisp/package.el: New "external" package status
10392 An external package is any installed package that's not built-in
10393 and not from `package-user-dir', which usually means it's from an
10394 entry in `package-directory-list'. They are treated much like
10395 built-in packages, in that they cannot be through the Package Menu
10396 deleted and are not considered for upgrades.
10397 (package-desc-status): Identify if a package is installed outside
10398 `package-user-dir'.
10399 (package-menu--print-info-simple)
10400 (package-menu--status-predicate): Add support for it.
10401 * etc/NEWS: Document it.
10402
10403 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * lisp/mail/rmail.el: Use lexical-binding
10406 (rmail-bury): Remove unused var `buffer-to-bury'.
10407 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
10408 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
10409 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
10410 (rmail-insert-inbox-text): Remove unused var `movemail'.
10411 (rmail-add-mbox-headers): Remove unused var `limit'.
10412 (rmail-undelete-previous-message): Remove unused var `value'.
10413 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
10414 `resent-reply-to'.
10415 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
10416 (rmail-restore-desktop-buffer): Rename arguments.
10417
10418 2015-05-06 Glenn Morris <rgm@gnu.org>
10419
10420 * Makefile.in (change-history-commit): Add missing piece of previous.
10421
10422 Avoid unnecessary bumping of Makefile.in's timestamp.
10423 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
10424 (emacslog): New variable.
10425 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
10426 (unchanged-history-files): Use $emacslog rather than Makefile.in.
10427 (change-history-nocommit): Store hash in $emacslog.
10428 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
10429 * admin/update_autogen (changelog_files): Update for the above.
10430
10431 * Makefile.in: Don't always insist on removing existing "ChangeLog".
10432 (CHANGELOG): New variable.
10433 (no-ChangeLog): Remove.
10434 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
10435 (change-history-nocommit): Use a temp file rather than insisting
10436 on deletion of any existing "ChangeLog".
10437
10438 * build-aux/gitlog-to-emacslog: Allow specification of output.
10439
10440 * admin/update_autogen: Add option to update ChangeLog.
10441 (usage): Mention -H.
10442 (changelog_flag, changelog_n, changelog_files): New variables.
10443 (main): Check for -H, and maybe run change-history-nocommit.
10444
10445 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * lisp/subr.el (delete-dups): Pre-size the hashtable.
10448
10449 (define-modify-macro): Make sure cl--arglist-args is defined
10450 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
10451 cl--arglist-args is defined (bug#20517).
10452
10453 2015-05-06 Glenn Morris <rgm@gnu.org>
10454
10455 * Makefile.in (change-history-nocommit): New.
10456
10457 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
10458
10459 Only cancel timer when it is non-nil
10460 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
10461 timer when it is non-nil
10462 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
10463
10464 2015-05-06 Glenn Morris <rgm@gnu.org>
10465
10466 Quieten cedet compilation
10467 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
10468 Invert fboundp test to quieten on current Emacs.
10469 * lisp/cedet/ede/config.el (ede-shell-run-something)
10470 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
10471 (semanticdb-refresh-table): Declare.
10472 (ede-preprocessor-map): Require semantic/db.
10473
10474 Quieten cc-mode compilation
10475 * lisp/progmodes/cc-awk.el (c-forward-sws):
10476 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
10477 Declare.
10478
10479 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
10480
10481 lisp/subr.el (delete-dups): Avoid nreverse.
10482
10483 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
10484
10485 * lisp/subr.el (delete-dups): Make it destructive again.
10486
10487 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
10488
10489 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
10490
10491 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
10494 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
10495 (testcover--read): Rename from testcover-read. Change calling convention.
10496 Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
10497 (testcover-start): Use add-function. Move edebug-all-defs binding to
10498 testcover--read.
10499 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
10500 (testcover-mark): Remove unused var `item'.
10501 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
10502
10503 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
10504
10505 lisp/subr.el (delete-dups): Use a hash table
10506 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
10507 use a hash table. This can result in ~500 times speed-up for typical
10508 collections of size 5000, like that of `load-library'.
10509
10510 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10511
10512 CEDET: Avoid `oref' on classes in a few more cases
10513 * lisp/cedet/ede/generic.el (ede-find-target):
10514 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
10515 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
10516 var `prefix'.
10517
10518 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
10519 * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
10520 (semantic-symref-perform-search): Remove unused var `pat'.
10521
10522 CEDET (srecode-compile-inserter): Avoid `oref' on classes
10523 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
10524 Avoid `oref' on classes (bug#20491).
10525 (srecode-compile-split-code): Remove unused var `key'.
10526
10527 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
10528
10529 Clean up pulse.el a little
10530 * lisp/cedet/pulse.el (pulse): Remove.
10531 (pulse-momentary-timer): Save instead of the stop time.
10532 (pulse-momentary-highlight-overlay): Call
10533 pulse-momentary-unhighlight first thing. Treat
10534 pulse-momentary-overlay as a single value, not a list. Save the
10535 created timer. Only pass the stop time to the timer.
10536 (pulse-tick): Update accordingly.
10537 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
10538 single value. Cancel the timer.
10539
10540 2015-05-06 Tassilo Horn <tsdh@gnu.org>
10541
10542 Support the biblatex journaltitle field
10543 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
10544 Support the biblatex journaltitle field.
10545
10546 2015-05-05 Glenn Morris <rgm@gnu.org>
10547
10548 Minor declare-function improvement
10549 * lisp/emacs-lisp/bytecomp.el
10550 (byte-compile-macroexpand-declare-function):
10551 Handle declarations after calls. (Bug#20509)
10552
10553 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
10554
10555 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
10556
10557 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
10558
10559 Pulse using a timer
10560 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
10561 (pulse-momentary-highlight-overlay): Set up the timer instead of
10562 calling `pulse'
10563 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
10564 (pulse-tick): New function.
10565 (pulse-momentary-unhighlight): Cut off the stop time.
10566 (pulse-delay): Update the docstring WRT to not using sit-for.
10567
10568 Add semantic/symref/grep file patterns for ruby-mode
10569 * lisp/cedet/semantic/symref/grep.el
10570 (semantic-symref-filepattern-alist): Add patterns for
10571 ruby-mode. Clarify the docstring.
10572
10573 Don't require match
10574 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
10575 match. That doesn't work for every command, and some identifier
10576 completion tables are bound to be imperfect anyway.
10577
10578 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
10581 (semantic-grammar--template-expand): New function.
10582 (semantic-grammar-header, semantic-grammar-footer): Use it.
10583 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
10584 (semantic-grammar-file-regexp): Refine regexp.
10585 (semantic-grammar-eldoc-get-macro-docstring):
10586 Use elisp-get-fnsym-args-string when available.
10587 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
10588 instead of the old eldoc-* names.
10589 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
10590 from elisp-mode.el. Tweak calling convention.
10591 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
10592 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
10593 elisp--get-fnsym-args-string.
10594 (elisp--highlight-function-argument): Add `prefix' arg.
10595 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
10596 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
10597
10598 2015-05-05 Glenn Morris <rgm@gnu.org>
10599
10600 * lisp/help-fns.el (describe-function-1):
10601 Handle builtins with advertised calling conventions. (Bug#20479)
10602
10603 2015-05-05 Nicolas Petton <nicolas@petton.fr>
10604
10605 Merge branch 'seq-let'
10606
10607 Update `seq-let' documentation
10608 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
10609 with the support of `&rest'.
10610
10611 Add support for &rest in `seq-let'
10612 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
10613 in the argument list.
10614 * test/automated/seq-tests.el: Add a test for parsing and binding
10615 `&rest' in `seq-let'.
10616
10617 2015-05-05 Paul Eggert <eggert@cs.ucla.edu>
10618
10619 Spelling fixes
10620
10621 2015-05-05 (tiny change) Pierre Lorenzon <devel@pollock-nageoire.net>
10622
10623 * eieio-custom.el (eieio-object-value-get): Add missing increment
10624 (Bug#20467)
10625
10626 (eieio-object-value-create): Adjust to new slots representation
10627 (Bug#20467)
10628 * eieio-custom.el (eieio-object-value-create):
10629 Fix missed adjustment to new representation of slots metadata.
10630
10631 2015-05-05 Nicolas Petton <nicolas@petton.fr>
10632
10633 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
10634
10635 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
10636
10637 Work around "Attempt to modify read-only object"
10638 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
10639 elisp--xref-find-definitions, to work around "Attempt to modify
10640 read-only object" error.
10641
10642 Only skip some variables that have function counterparts
10643 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
10644 Only skip minor-mode-named variable if it's defined in a Lisp
10645 file, and it's in minor-mode-list (bug#20506).
10646 * test/automated/elisp-mode-tests.el
10647 (elisp-xref-finds-both-function-and-variable)
10648 (elisp-xref-finds-only-function-for-minor-mode): New tests.
10649
10650 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
10651
10652 Buttonize the whole line, including the number at the beginning
10653 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
10654 previous change.
10655 (xref--insert-xrefs): Buttonize the whole line, including the
10656 number at the beginning.
10657
10658 Make sure we're inside the let bindings
10659 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
10660 Make sure we're inside the let bindings.
10661 * test/automated/elisp-mode-tests.el
10662 (elisp-completes-functions-after-let-bindings): New test.
10663
10664 2015-05-04 Glenn Morris <rgm@gnu.org>
10665
10666 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
10667 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
10668 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
10669 Remove outdated declarations.
10670
10671 Replace instances of "(eval-when-compile (autoload ...))"
10672 * lisp/gnus/gnus-art.el (nneething-get-file-name):
10673 Declare rather than autoload.
10674 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
10675 Remove pointless autoload.
10676 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
10677 (gnus-topic-create-topic, gnus-topic-enter-dribble):
10678 Declare rather than autoload.
10679 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
10680 (mailcap-extension-to-mime): Autoload at run-time.
10681 * lisp/gnus/mm-util.el (latin-unity-massage-name)
10682 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
10683 (latin-unity-representations-present-region):
10684 Declare rather than autoload.
10685 * lisp/gnus/mml-smime.el (epg-make-context)
10686 (epg-passphrase-callback-function): Autoload at run-time.
10687 (epg-context-set-signers, epg-context-result-for)
10688 (epg-new-signature-digest-algorithm)
10689 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
10690 (epg-sign-string, epg-encrypt-string)
10691 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
10692 (epg-configuration, epg-expand-group, epa-select-keys):
10693 Declare rather than autoload.
10694 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
10695 Autoload at run-time.
10696 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
10697 (gnus-registry-get-id-key, gnus-registry-action):
10698 Declare rather than autoload.
10699 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
10700 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
10701 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
10702 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
10703 (spam-stat-split-fancy): Remove pointless autoloads.
10704 * lisp/net/mairix.el: Load gnus-util when compiling.
10705 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
10706 (message-field-value): Declare rather than autoload.
10707 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
10708 Check gnus-alive-p is fbound.
10709 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
10710 (vm-check-for-killed-summary, vm-error-if-folder-empty)
10711 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
10712 Declare rather than autoload.
10713
10714 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
10715
10716 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
10717 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
10718
10719 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
10720
10721 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
10722
10723 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
10724 * lisp/emacs-lisp/package.el (epg-signature-status):
10725 Fix declarations.
10726
10727 * lisp/play/gametree.el (gametree-show-children-and-entry)
10728 (gametree-apply-layout, gametree-mouse-show-subtree)
10729 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
10730
10731 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
10732 Handle cl-defgeneric, cl-defmethod.
10733
10734 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
10735
10736 Highlight both type and symbol name
10737 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
10738 Highlight both type and symbol name.
10739
10740 Insert, highlight and align line numbers in xref output
10741 * lisp/progmodes/etags.el (xref-location-line): Specialize for
10742 xref-etags-location.
10743 * lisp/progmodes/xref.el (xref-location-line): New generic method.
10744 (xref-file-location): Add reader for the line slot.
10745 (xref--location-at-point): Skip to the `xref-location' property.
10746 (xref--collect-reference): Drop the line number from description.
10747 (xref--insert-xrefs): Insert, highlight and align line numbers.
10748
10749 2015-05-04 Daniel Colascione <dancol@dancol.org>
10750
10751 Fix previous commit
10752
10753 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
10754
10755 Don't pulse the indentation, or the newline
10756 * lisp/cedet/pulse.el (pulse-lighten-highlight)
10757 (pulse-reset-face): Fall back to the inherited background
10758 attribute in FACE.
10759 (pulse-momentary-highlight-region): Add autoload cookie.
10760 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
10761 indentation, or the newline, if the line's non-empty
10762 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
10763
10764 2015-05-04 Daniel Colascione <dancol@dancol.org>
10765
10766 Add `save-mark-and-excursion', which has the old `save-excursion' behavior
10767 * doc/lispref/positions.texi (Excursions): Document
10768 `save-mark-and-excursion'.
10769 * lisp/font-lock.el (font-lock-fontify-block): Use
10770 `save-mark-and-excursion' instead of `save-excursion', restoring
10771 Emacs 24 behavior.
10772 * lisp/simple.el (save-mark-and-excursion--save)
10773 (save-mark-and-excursion--restore): New functions.
10774 (save-mark-and-excursion): New user macro.
10775 * src/editfns.c (Fsave_excursion): Mention
10776 `save-mark-and-excursion' in `save-excursion' documentation.
10777
10778 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
10779
10780 Classify lone symbol inside let varlist as variable
10781 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
10782 Classify lone symbol inside let varlist as variable.
10783 * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
10784 New test.
10785
10786 Add xref-pulse-on-jump
10787 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
10788 Add autoload cookie.
10789 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
10790 (xref--maybe-pulse): New function.
10791 (xref-pop-marker-stack, xref--pop-to-location)
10792 (xref--display-position): Use it.
10793 (xref--location-at-point): Use back-to-indentation.
10794
10795 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10796
10797 * lisp/org/org-{macs,list}.el: Fix lexical warnings
10798 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
10799 (org-list-get-next-item, org-list-get-prev-item)
10800 (org-list-get-children): Mark unused arg `struct'.
10801 (org-list-use-alpha-bul-p): Remove unused var `bul'.
10802 (org-toggle-checkbox): Mark unused var.
10803 (org-update-checkbox-count): Remove unused var `box-num'.
10804 (org-adapt-indentation): Declare.
10805 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
10806 (org-list-send-list): Remove unused var `txt'.
10807 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
10808 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
10809 * lisp/org/org-macs.el: Use `declare'.
10810 (org-with-limited-levels): Declare dyn-bound vars.
10811
10812 2015-05-04 Eli Zaretskii <eliz@gnu.org>
10813
10814 Fix minor issues with CEDET on MS-Windows
10815 * lisp/cedet/semantic/symref/idutils.el
10816 (semantic-symref-parse-tool-output-one-line): Fix the search
10817 regexp to match MS-Windows file names with drive letters.
10818 (Bug#19468)
10819 * lisp/cedet/semantic/symref/grep.el
10820 (semantic-symref-grep-use-template): Remove "--color=always" from
10821 Grep switches on MS-Windows.
10822 (semantic-symref-grep-shell): Use shell-file-name as the default
10823 value, so this works not only on Posix platforms.
10824 (semantic-symref-perform-search): Use shell-quote-argument instead
10825 of literal '..' for portable quoting of Grep command-line
10826 argument. Use shell-command-switch instead of a literal "-c".
10827 * lisp/cedet/semantic/bovine/gcc.el
10828 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
10829 for an absolute file name in a portable way.
10830
10831 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
10832
10833 * lisp/emacs-lisp/package.el: Remove `package--silence' variable
10834 (package-import-keyring, package-refresh-contents)
10835 (package-compute-transaction, package--save-selected-packages)
10836 (package-install-from-archive, package-delete)
10837 (package-menu--perform-transaction): Use `inhibit-message'
10838 instead.
10839 (package--compile): Set `warning-minimum-level' to :error.
10840
10841 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
10844 (terminal-init-screen): Use it (bug#20356).
10845 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
10846 (xterm--extra-capabilities-type): New const.
10847 (xterm-extra-capabilities): Use it.
10848 (xterm--version-handler): Lower the pseudo-version for `screen'.
10849
10850 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
10851
10852 xref--insert-xrefs: Tweak the faces
10853 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
10854 Always insert a newline at the end (to avoid mouse-face background
10855 tail at the last line).
10856
10857 elisp-completion-at-point: Prioritize being quoted over funpos
10858 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
10859 Only consider function position when not inside quoted form
10860 (bug#20425).
10861 * test/automated/elisp-mode-tests.el: New file.
10862
10863 Stop vc-print-log from jumping to the top
10864 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
10865 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
10866 is not specified.
10867 (vc-incoming-outgoing-internal): Always pass nil.
10868 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
10869 call it, and don't set vc-sentinel-movepoint (bug#15322).
10870 (vc-print-root-log): Don't fetch the root working revision, nor
10871 pass it to vc-print-log-internal.
10872
10873 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
10874
10875 Fix display of keyboard layouts for right-to-left scripts
10876 * lisp/international/quail.el (quail-insert-kbd-layout): Force
10877 left-to-right paragraph direction.
10878
10879 2015-05-02 K. Handa <handa@gnu.org>
10880
10881 * cmds.c (internal_self_insert): When we insert spaces for
10882 padding, set point before the padding spaces, not after them.
10883
10884 2015-05-02 Nicolas Petton <nicolas@petton.fr>
10885
10886 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
10887
10888 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
10889
10890 Fix etags-xref-find for references
10891 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
10892 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
10893 directory if no tags tables are loaded (bug#19468).
10894
10895 2015-05-02 Philipp Stephani <phst@google.com>
10896
10897 Update the options in whitespace-style defcustom
10898 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
10899 `repeat' because the option is really set-like. Add missing
10900 options. Reorder options to match the order in the
10901 documentation. (Bug#20346)
10902
10903 2015-05-02 Eli Zaretskii <eliz@gnu.org>
10904
10905 Fix error diagnostics of c-macro-expand
10906 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
10907 too early if no start-marker string was found -- that generally
10908 means cpp exited abnormally, and we still want to show its error
10909 messages to the user.
10910
10911 Don't require Texinfo 5.0 for Emacs documentation
10912 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
10913 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
10914 "@codequoteundirected on", respectively, to avoid requiring
10915 Texinfo 5.x for Emacs documentation.
10916
10917 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
10918
10919 * lisp/files.el (pwd):
10920 When called with a prefix argument, insert the current default
10921 directory at point.
10922
10923 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
10926 * lisp/isearch.el (isearch-mode-map): Don't inhibit
10927 function-key-map remapping for backspace (bug#20466).
10928
10929 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
10930
10931 Implement xref-find-references in etags and elisp-mode
10932 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
10933 (elisp-xref-find): Use it.
10934 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
10935 * lisp/progmodes/xref.el (xref-collect-references):
10936 (xref--collect-reference): New functions.
10937
10938 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
10939
10940 Prefer plain characters to Texinfo circumlocutions
10941 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
10942 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
10943
10944 Fix single-quoting style in PDF manuals
10945 The PDF versions of the GNU manuals used curved single quotes to
10946 represent grave accent and apostrophe, which made it a pain to cut
10947 and paste code examples from them. Fix the PDF versions to use
10948 grave accent and apostrophe for Lisp source code, keystrokes, etc.
10949 This change does not affect the info files, nor does it affect
10950 ordinary uses of curved single quotes in PDF.
10951 * doc/emacs/docstyle.texi: New file, which specifies treatment for
10952 grave accent and apostrophe, as well as the document encoding.
10953 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
10954 * doc/lispintro/emacs-lisp-intro.texi:
10955 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
10956 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
10957 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
10958 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
10959 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
10960 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
10961 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
10962 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
10963 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
10964 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
10965 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
10966 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
10967 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
10968 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
10969 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
10970 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
10971 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
10972 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
10973 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
10974 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
10975 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
10976 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
10977 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
10978 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
10979 * doc/misc/woman.texi:
10980 Use it instead of '@documentencoding UTF-8', to lessen the need for
10981 global changes like this in the future.
10982 * doc/emacs/Makefile.in (EMACS_XTRA):
10983 * doc/lispintro/Makefile.in (srcs):
10984 * doc/lispref/Makefile.in (srcs):
10985 Add dependency on docstyle.texi.
10986 * doc/misc/Makefile.in (style): New macro.
10987 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
10988 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
10989 Use it.
10990
10991 2015-05-01 Glenn Morris <rgm@gnu.org>
10992
10993 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
10994
10995 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
10996 (help-fns--signature): Declare.
10997
10998 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
10999
11000 2015-05-01 Nicolas Petton <nicolas@petton.fr>
11001
11002 New macro seq-let, providing destructuring support to seq.el
11003 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
11004 to `cl-destructuring-bind' but works on all sequence types supported
11005 by `seq.el'. Bump version number to 1.6.
11006 * test/automated/seq-tests.el: Add tests for seq-let.
11007 * doc/lispref/sequences.texi: Add documentation for seq-let.
11008
11009 2015-05-01 Pontus Michael <m.pontus@gmail.com>
11010
11011 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
11012
11013 2015-05-01 Glenn Morris <rgm@gnu.org>
11014
11015 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
11016
11017 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
11018
11019 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
11020 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
11021 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
11022 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
11023 (Bug#20445).
11024
11025 2015-05-01 K. Handa <handa@gnu.org>
11026
11027 * mule-cmds.el (input-method-use-echo-area): Change :type to
11028 'boolean.
11029
11030 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11031
11032 Start using proportional fonts in eww by default
11033 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
11034 it seems to work well.
11035
11036 Fix links in tables in shr
11037 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
11038 makes (some) links in tables not work.
11039
11040 2015-05-01 Jan D <jan.h.d@swipnet.se>
11041
11042 (ns-get-cut-buffer-internal): Remove this alias.
11043 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
11044
11045 2015-04-30 Glenn Morris <rgm@gnu.org>
11046
11047 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
11048 Update for 2015-02-08 change to indirect-function.
11049
11050 * lisp/term/ns-win.el (ns-get-selection-internal):
11051 Remove declaration for function deleted 2014-10-21.
11052
11053 * lisp/dom.el: Load subr-x when compiling, for when-let.
11054
11055 Silence some compilation warnings
11056 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
11057 * lisp/emulation/cua-base.el (delete-active-region):
11058 * lisp/net/net-utils.el (w32-get-console-output-codepage):
11059 * lisp/term/ns-win.el (ns-own-selection-internal)
11060 (ns-disown-selection-internal, ns-selection-owner-p)
11061 (ns-selection-exists-p, ns-get-selection):
11062 Declare for compiler..
11063
11064 Function declaration updates prompted by 'make check-declare'
11065 * lisp/emacs-lisp/package.el (lm-homepage):
11066 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
11067 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
11068 * lisp/gnus/mml.el (libxml-parse-html-region):
11069 * lisp/gnus/nnrss.el (libxml-parse-html-region):
11070 * lisp/net/eww.el (libxml-parse-html-region):
11071 * lisp/net/shr.el (libxml-parse-html-region):
11072 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
11073 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
11074 * lisp/vc/vc-git.el (vc-annotate-convert-time):
11075 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
11076 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
11077 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
11078 Update declaration.
11079
11080 Remove compatibility code for 20-year old function renaming
11081 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
11082 Make it an obsolete alias.
11083 (idlwave-shell-filter): Change all uses to comint-output-filter.
11084
11085 2015-04-30 Tassilo Horn <tsdh@gnu.org>
11086
11087 Add ace-window face config
11088 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
11089 configuration.
11090
11091 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
11092
11093 Unclutter 'make doc' output a bit
11094 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
11095 Use make subst rather than sh IFS to split target string apart.
11096 This makes 'make' output easier to follow.
11097
11098 Merge from gnulib
11099 * doc/misc/texinfo.tex: Update from gnulib.
11100
11101 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
11102
11103 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
11104 (package-menu--print-info): Obsolete.
11105 (package-menu--print-info-simple): New function.
11106 (package-menu--refresh): Use it, simplify code, and improve
11107 performance.
11108 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11109 Tiny performance improvement.
11110
11111 * lisp/emacs-lisp/package.el (package--message): inhibit-message
11112
11113 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
11114
11115 Omit -Wstrict-overflow workaround in GCC 5
11116 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
11117 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
11118
11119 Merge from gnulib
11120 This incorporates:
11121 2015-04-29 extern-inline: no need for workaround in GCC 5.1
11122 2015-04-26 file-has-acl: port to CentOS 6
11123 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
11124
11125 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
11126
11127 Set next-error-* in xref--xref-buffer-mode
11128 * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
11129 `next-error-last-buffer'.
11130 (xref--next-error-function): New function.
11131 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
11132
11133 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
11134
11135 python.el: Fix warnings on looking-back calls missing LIMIT
11136 * lisp/progmodes/python.el (python-shell-accept-process-output):
11137 Pass LIMIT arg to looking-back.
11138
11139 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
11140
11141 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
11142 (package--download-and-read-archives): Use pushnew instead of
11143 append. If something terrible happened during a previous
11144 download, simply refreshing should now make things work again.
11145
11146 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
11147
11148 Introduce etags-xref-find-definitions-tag-order
11149 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
11150 New variable.
11151 (etags--xref-find-definitions): Use it (bug#19468).
11152
11153 2015-04-29 Eli Zaretskii <eliz@gnu.org>
11154
11155 PATH- and completion-related fixes in Eshell on MS-Windows
11156 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
11157 MS-Windows, prepend "." to list of directories produced from PATH,
11158 as Windows always implicitly searches the current directory first.
11159 (eshell-force-execution): Make it have a non-nil default value on
11160 MS-Windows and MS-DOS.
11161 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
11162 eshell-force-execution is non-nil, complete on readable files and
11163 directories, not only executables. When running on MS-Windows,
11164 prepend "." to list of directories produced from PATH, as Windows
11165 always implicitly searches the current directory first.
11166
11167 2015-04-29 Sam Steingold <sds@gnu.org>
11168
11169 bury RCIRC buffers when there is no activity
11170 lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
11171 (rcirc-bury-buffers): new function
11172 (rcirc-next-active-buffer): when there is no new activity, use
11173 `rcirc-bury-buffers' to hide all RCIRC buffers
11174
11175 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
11176
11177 Fix DBUS query result parsing for secrets-search-items
11178 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
11179 parsing. The function assumed that return value of the
11180 SearchItems method called on a collection is a list of two lists,
11181 however this is true only when no collection is specified. GNOME
11182 had used to incorrectly return a list of two lists in both cases,
11183 but this was already fixed:
11184 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
11185 incorrect information in the secrets-search-items’ docstring.
11186 (Bug#20449)
11187
11188 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
11189
11190 * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
11191 (byte-compile--message): Use `inhibit-message' instead of hiding
11192 the previous message with (message nil).
11193
11194 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
11195
11196 Remove the deprecated INTERNAL_FIELD macro by expanding it
11197 * src/lisp.h (INTERNAL_FIELD): Remove.
11198 (DEFVAR_KBOARD): Modify accordingly.
11199 * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
11200 * syntax.c: Adjust users.
11201 * src/buffer.c (compact_buffer): Use BVAR.
11202
11203 2015-04-29 Glenn Morris <rgm@gnu.org>
11204
11205 Replace an obsolete function alias
11206 * lisp/isearch.el (isearch-yank-x-selection):
11207 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
11208 (mouse-drag-secondary-moving):
11209 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
11210 Replace obsolete alias x-get-selection with gui-get-selection.
11211
11212 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11213
11214 * lisp/mail/rmailsum.el: Use lexical-binding.
11215
11216 2015-04-29 Glenn Morris <rgm@gnu.org>
11217
11218 * test/automated/package-test.el (package-test-update-archives-async):
11219 Skip test on hydra.nixos.org.
11220
11221 2015-04-28 Glenn Morris <rgm@gnu.org>
11222
11223 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
11224 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
11225 (foldout-mouse-hide-or-exit): Use new names for outline functions.
11226
11227 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
11228 Update for 2014-06-26 hideif.el change.
11229
11230 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
11231 (rmail--decode-and-apply): New function.
11232 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
11233
11234 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
11235
11236 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
11237
11238 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
11239 (package-menu--refresh): Delegate obsolete-hiding to
11240 `package--remove-hidden'.
11241 (package--remove-hidden): Disregard high-priority package if it is
11242 older than the installed one.
11243
11244 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
11245
11246 Update source file encoding list
11247 Update admin/notes/unicode, along with coding system cookies in
11248 other files, so that the two match each other better.
11249 * admin/notes/unicode: lisp/language/ethio-util.el and
11250 lisp/language/ethiopic.el also use utf-8-emacs.
11251 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
11252 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
11253 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
11254 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
11255 * etc/refcards/sk-survival.tex:
11256 Add "coding: utf-8" so that this file is not mishandled in a
11257 Latin-1 or Big-5 locale.
11258 * lisp/international/robin.el, lisp/org/ox-ascii.el:
11259 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
11260 * lisp/language/ethio-util.el: Fix trailer.
11261
11262 2015-04-28 Eli Zaretskii <eliz@gnu.org>
11263
11264 Fix synchronous invocation of Ispell
11265 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
11266 value to ispell-process-directory before calling ispell-init-process.
11267 Don't call set-process-coding-system if ispell-async-processp is nil.
11268 (Bug#20448)
11269
11270 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
11271
11272 * lisp/emacs-lisp/package.el: Skip space and comments in init file
11273 (package--ensure-init-file): Insert snippet at first
11274 non-whitespace non-comments line. Respects local-vars at the top
11275 of the file.
11276
11277 2015-04-28 Glenn Morris <rgm@gnu.org>
11278
11279 * lisp/mail/rmail.el (rmail-copy-headers):
11280 Handle rmail-nonignored-headers being nil. (Bug#18878)
11281
11282 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
11283
11284 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
11285 Don't get confused by a bzrlib version mismatch warning.
11286
11287 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11288
11289 Change default location of EUDC options file
11290 * NEWS: Document change to EUDC options file's default location.
11291 * lisp/net/eudc-vars.el (eudc-options-file): Use
11292 `locate-user-emacs-file' to change default options file location.
11293
11294 2015-04-27 Glenn Morris <rgm@gnu.org>
11295
11296 * test/automated/package-test.el (package-test-update-archives-async):
11297 Try to handle the test server script dying.
11298
11299 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * lisp/saveplace.el (save-place-mode): New minor mode.
11302 (save-place): Redefine as an obsolete alias.
11303
11304 * lisp/midnight.el: Make it a minor mode. Allow predicates.
11305 * lisp/midnight.el: Use lexical-binding.
11306 (midnight-mode): Make it a proper minor mode.
11307 (midnight-buffer-display-time): Make arg non-optional.
11308 (midnight-find): Remove.
11309 (clean-buffer-list-kill-never-regexps)
11310 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
11311 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
11312 contain functions.
11313 (clean-buffer-list): Use cl-find.
11314 Allow clean-buffer-list-kill-never-regexps to contain functions.
11315
11316 2015-04-27 Nicolas Petton <nicolas@petton.fr>
11317
11318 Bump version of seq.el to 1.5
11319 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
11320 from seq-doseq. Bump version number of seq.el.
11321
11322 2015-04-27 Glenn Morris <rgm@gnu.org>
11323
11324 * lisp/mail/rmail.el (rmail-reply):
11325 Decode subject before matching "Re:" prefix. (Bug#20396)
11326
11327 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
11328
11329 * lisp/emacs-lisp/package.el: Small improvements
11330 (package--with-work-buffer-async): More informative error.
11331 (package-install-user-selected-packages): Rename to
11332 `package-install-selected-packages'.
11333
11334 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11335
11336 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
11337 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
11338 (eieio--class-make): Remove leftover `tag'.
11339
11340 2015-04-27 Glenn Morris <rgm@gnu.org>
11341
11342 * lisp/gnus/message.el (gnus-extract-address-components):
11343 Remove bogus declaration that was masking previous problem.
11344
11345 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
11346
11347 * lisp/gnus/message.el (message-insert-formatted-citation-line):
11348 Fix typo. (Bug#20318)
11349
11350 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
11353
11354 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
11355 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
11356 the buffer in yet another frame.
11357 (reftex-toc-visit-location): Make sure toc-window has focus at the end
11358 when `final' is nil.
11359 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
11360 silence warnings. Use `--' to clarify that it's internal.
11361 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
11362 (reftex-toc-promote): Clarify unused argument.
11363 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
11364 Add `reftex--' prefix. Fix all users.
11365 (reftex-toc-promote-prepare): Use _ for dummy variable.
11366 (reftex-toc-restore-region): Rename `m
11367
11368 2015-04-27 Eli Zaretskii <eliz@gnu.org>
11369
11370 Fix a typo in bibtex.el
11371 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
11372 last change. (Bug#20429)
11373
11374 Fix redisplay of frame after loading new fonts
11375 * src/xdisp.c (redisplay_internal): When retrying redisplay of a
11376 frame because new fonts were loaded, disable all redisplay
11377 optimizations on that frame by calling SET_FRAME_GARBAGED.
11378 (Bug#20410)
11379
11380 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * lisp/info.el (Info-menu): Properly provide the `default'
11383 (Bug#20391)
11384
11385 * elisp-mode.el: Catch errors from `documentation'
11386 (Bug#20418)
11387 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
11388 Catch errors from documentation.
11389 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
11390
11391 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
11394 Remove redundant ":group 'package".
11395
11396 2015-04-26 Eli Zaretskii <eliz@gnu.org>
11397
11398 Fix a typo in rmail.el
11399 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
11400 last commit. (Bug#20429)
11401
11402 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
11403
11404 Introduce xref-prompt-for-identifier
11405 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
11406 (xref--read-identifier): Use it
11407 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
11408
11409 2015-04-26 João Távora <joaotavora@gmail.com>
11410
11411 `tex-insert-quote' after single `'' opens quotes instead of closing
11412 Without this, it's very hard to precede double quotes with the
11413 apostrophe character, i.e. insert the sequence '``
11414 (quote-backquote-backquote), commonly useful in portuguese, for
11415 instance.
11416 * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
11417 chars making `tex-insert-quote' be in the "opening" context.
11418
11419 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
11420
11421 Pass `id' to `completing-read' as def instead of initial input
11422 * xref.el (xref--read-identifier): Pass `id' to `completing-read'
11423 as the default value instead of initial input
11424 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
11425
11426 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
11427
11428 Don't freeze with unreadable processes
11429 Don't freeze if an exiting process can't be read from. (Bug#19860).
11430 This fixes a bug I introduced in
11431 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
11432 "* process.c: Add sanity checks for file descriptors."
11433 Dmitry Gutov did most of the legwork in finding the problem.
11434 * src/process.c (wait_reading_process_output):
11435 Treat non-running processes that can't be read from
11436 the same as other non-running processes.
11437
11438 2015-04-25 Alan Mackenzie <acm@muc.de>
11439
11440 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
11441 * lisp/subr.el (remove-yank-excluded-properties): put
11442 `with-silent-modifications' around only the last three lines of code.
11443
11444 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
11445
11446 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
11447 (package--all-keywords): Deleted variable.
11448
11449 * etc/NEWS: Document package-hiding functionality
11450
11451 2015-04-25 Eli Zaretskii <eliz@gnu.org>
11452
11453 lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
11454
11455 Clarify the doc string of 'replace-regexp-in-string'
11456 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
11457
11458 Improve doc string of 'insert-buffer-substring'
11459 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
11460
11461 MS-Windows followup for the recent gnulib update
11462 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
11463 acl-internal.c.
11464
11465 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
11466
11467 Spelling fixes
11468
11469 Merge from gnulib
11470 This incorporates:
11471 2015-04-24 file-has-acl: new module, split from acl
11472 2015-04-24 manywarnings: add GCC 5.1 warnings
11473 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
11474 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
11475 2015-04-15 acl: On Linux, check for acls without libacl
11476 2015-04-14 tempname: avoid unused parameter warnings (trivial)
11477 * lib/acl-internal.c: New file, from gnulib.
11478 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
11479 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
11480 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
11481 Update from gnulib.
11482
11483 Port --enable-gcc-warnings to GCC 5.1 x86-64
11484 * lib-src/ebrowse.c (dump_sym):
11485 * lib-src/hexl.c (main):
11486 * src/ccl.c (ccl_driver):
11487 * src/character.c (string_escape_byte8):
11488 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
11489 * src/gnutls.c (Fgnutls_boot):
11490 * src/gtkutil.c (xg_check_special_colors):
11491 * src/image.c (x_build_heuristic_mask):
11492 * src/print.c (safe_debug_print, print_object):
11493 * src/term.c (produce_glyphless_glyph):
11494 * src/xdisp.c (get_next_display_element)
11495 (produce_glyphless_glyph):
11496 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
11497 Don't use a signed format to print an unsigned integer, or vice
11498 versa. GCC 5.1's new -Wformat-signedness option warns about this.
11499 * src/image.c (png_load_body, jpeg_load_body):
11500 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
11501
11502 2015-04-24 Tassilo Horn <tsdh@gnu.org>
11503
11504 Add new faces to tsdh-light-theme
11505 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
11506 definitions for Info-quoted, ace-jump-face-foreground,
11507 hl-paren-face, show-paren-match, and show-paren-mismatch.
11508
11509 2015-04-24 Nicolas Petton <nicolas@petton.fr>
11510
11511 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
11512
11513 2015-04-24 Glenn Morris <rgm@gnu.org>
11514
11515 * build-aux/gitlog-to-emacslog:
11516 Use raw log format rather than wrapped one.
11517
11518 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
11521 (seq-doseq): Fix out-of-scope binding.
11522 Don't call `seq-length at every iteration.
11523 Reduce `if's from 3 to 2 per iteration.
11524 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
11525
11526 2015-04-24 Glenn Morris <rgm@gnu.org>
11527
11528 * lisp/textmodes/text-mode.el (text-mode-hook):
11529 Move text-mode-hook-identify to default.
11530
11531 * lisp/mouse.el (minor-mode-menu-from-indicator):
11532 Handle non-function members of minor-mode-map-alist. (Bug#20201)
11533
11534 * lisp/help-fns.el (describe-function): More type checking.
11535 (describe-function-1): Handle changed symbol-function. (Bug#20201)
11536
11537 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
11538 (Bug#20325)
11539
11540 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
11541
11542 shr: strip leading whitespace when expanding URLs
11543 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
11544
11545 2015-04-24 Eli Zaretskii <eliz@gnu.org>
11546
11547 Clarify "co-authored" some more
11548
11549 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
11550
11551 Clarify doc strings of functions that search for properties
11552 * src/textprop.c (Fnext_char_property_change)
11553 (Fprevious_char_property_change)
11554 (Fnext_single_char_property_change)
11555 (Fprevious_single_char_property_change, Fnext_property_change)
11556 (Fnext_single_property_change, Fprevious_property_change)
11557 (Fprevious_single_property_change): Clarify doc strings wrt return
11558 value and the optional LIMIT argument. (Bug#20411)
11559
11560 2015-04-24 Glenn Morris <rgm@gnu.org>
11561
11562 * test/automated/message-mode-tests.el (message-mode-propertize):
11563 Handle non-writable HOME; eg on hydra.nixos.org.
11564
11565 2015-04-23 Eli Zaretskii <eliz@gnu.org>
11566
11567 Avoid starting threads by w32-shell-execute
11568 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
11569 local file names, before invoking ShellExecute. (Bug#20220)
11570
11571 2015-04-23 Martin Rudalics <rudalics@gmx.at>
11572
11573 Fix following doc-links in `widget-documentation-link-action'
11574 * lisp/wid-edit.el (widget-documentation-link-action): Make
11575 following doc-links less simplistic (Bug#20398).
11576
11577 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11578
11579 Improve EUDC manual
11580 * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
11581
11582 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
11583
11584 Omit needless "\ " after multibyte then newline
11585 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
11586 (print_object): When print-escape-multibyte is non-nil and a
11587 multibyte character is followed by a newline or formfeed, followed
11588 by a hex digit, don't output a needless "\ " before the hex digit.
11589 * test/automated/print-tests.el (print-hex-backslash): New test.
11590
11591 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
11592
11593 Add a new `inhibit-message' variable
11594 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
11595 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
11596 `inhibit_message' is non-zero.
11597 * etc/NEWS: Add an entry.
11598 * doc/lispref/display.texi: Add an entry for `inhibit-message',
11599 mention it in `message'.
11600
11601 2015-04-22 Martin Rudalics <rudalics@gmx.at>
11602
11603 Fix last fix in `display-buffer-record-window'.
11604 * lisp/window.el (display-buffer-record-window): Fix last fix.
11605
11606 2015-04-22 Eli Zaretskii <eliz@gnu.org>
11607
11608 Minor edits in CONTRIBUTE
11609 * CONTRIBUTE: Rearrange instructions about log messages.
11610 Use "Git" capitalized all over.
11611 Use 2 spaces between sentences.
11612
11613 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
11614
11615 * lisp/files.el (basic-save-buffer): Fix argument
11616
11617 * lisp/cus-edit.el (custom-file): Consider init-file-had-error
11618 In case `(and (null custom-file) init-file-had-error)' do the same
11619 thing we'd do if `(null user-init-file)', which is to either error out
11620 or return nil. This is in line with `custom-save-all' which would
11621 throw an error in that situation. (bug#20355)
11622
11623 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
11624 (package-menu-hide-low-priority): New variable, see its doc.
11625 (package-archive-priorities): Update doc.
11626 (package-desc-priority): New function.
11627 (package-desc-priority-version): Use it.
11628 (package--remove-hidden): New function.
11629 (package-menu--refresh): Use it.
11630
11631 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
11632 (package-menu--hide-obsolete): New variable.
11633 (package--remove-hidden): Use it.
11634 (package-menu-hide-obsolete): New interactive function to toggle
11635 the variable.
11636 (package--quick-help-keys): Document it.
11637 (package-menu-async): Add :version tag.
11638 (package-menu-mode-map): Bind package-menu-hide-obsolete.
11639 (package-desc-status): Indicate non-installed obsolete packages as
11640 avail-obso.
11641 (package-menu-mark-install): Allow installation of avail-obso.
11642 (package-menu--status-predicate): Sort avail-obso with available.
11643
11644 2015-04-22 Alan Mackenzie <acm@muc.de>
11645
11646 On C-y, stop some text property entries being written into buffer-undo-list
11647 lisp/subr.el (remove-yank-excluded-properties): enclose the code in
11648 `with-silent-modifications'.
11649
11650 2015-04-22 Martin Rudalics <rudalics@gmx.at>
11651
11652 In display-buffer-record-window record selected window if necessary.
11653 * lisp/window.el (display-buffer-record-window): Store selected window
11654 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
11655
11656 2015-04-22 Tassilo Horn <tsdh@gnu.org>
11657
11658 Fix reftex-citation bug
11659 * reftex-cite.el (reftex-extract-bib-entries): Fix
11660 `wrong-type-argument stringp nil' error that occurs when AUCTeX
11661 integration is enabled and there are no citations in the document
11662 so far.
11663
11664 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
11665
11666 Add or reset based on the presence of MERGE_HEAD
11667 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
11668 `vc-git-resolve-when-done' to `after-save-hook' in either case.
11669 (vc-git-conflicted-files): Add a TODO.
11670 (vc-git-resolve-when-done): Depending on the presence of
11671 MERGE_HEAD, either update the resolved file in the index, or
11672 remove it from there. (Bug#20292)
11673
11674 2015-04-21 Glenn Morris <rgm@gnu.org>
11675
11676 * lisp/custom.el (custom-declare-group): No need to purecopy
11677 custom-current-group-alist members following recent change to set
11678 it to nil before dumping.
11679
11680 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
11681 (Bug#20399)
11682
11683 2015-04-21 Daniel Colascione <dancol@dancol.org>
11684
11685 Unbreak no-op buffer save message
11686 * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
11687 (basic-save-buffer): Accept called-interactively as an argument instead of
11688 directly invoking called-interactively-p, which will always yield nil
11689 in that context.
11690
11691 2015-04-21 Alan Mackenzie <acm@muc.de>
11692
11693 CC Mode: Do nothing in before/after-change-functions for text property changes
11694 Fixes bug#20266.
11695 lisp/progmodes/cc-mode.el (c-basic-common-init): Make
11696 yank-handled-properties buffer local, and remove 'category from it.
11697 (c-called-from-text-property-change-p): New function.
11698 (c-before-change): Don't do anything if a call of the new function
11699 returns non-nil.
11700 (c-after-change): Don't do much if a call of the new function returns
11701 non-nil.
11702 (c-extend-after-change-region): Put changes to text property 'fontified
11703 inside c-save-buffer-state.
11704
11705 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 Fix byte-compiler warnings about looking-back.
11708 * lisp/vc/log-view.el (log-view-end-of-defun-1):
11709 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
11710 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
11711 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
11712 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
11713 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
11714 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
11715 * lisp/org/org.el (org-insert-heading, org-sort-entries):
11716 * lisp/org/org-mouse.el (org-mouse-end-headline)
11717 (org-mouse-context-menu):
11718 * lisp/org/org-clock.el (org-clock-cancel):
11719 * lisp/man.el (Man-default-man-entry):
11720 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
11721 (rmail-ensure-blank-line):
11722 * lisp/mail/footnote.el (Footnote-delete-footnote):
11723 * lisp/mail/emacsbug.el (report-emacs-bug):
11724 * lisp/info.el (Info-follow-reference, Info-fontify-node):
11725 * lisp/info-look.el (info-lookup-guess-custom-symbol):
11726 * lisp/help-fns.el (help-fns--key-bindings):
11727 * lisp/files.el (hack-local-variables):
11728 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
11729 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
11730 (viper-complete-filename-or-exit):
11731 * lisp/emulation/viper-cmd.el (viper-backward-indent):
11732 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
11733 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
11734 * lisp/cus-edit.el (custom-face-edit-value-create):
11735 * lisp/calendar/todo-mode.el (todo-set-item-priority)
11736 (todo-filter-items-1, todo-convert-legacy-files)
11737 (todo-prefix-overlays): Add explicit second arg to looking-back.
11738
11739 2015-04-20 Glenn Morris <rgm@gnu.org>
11740
11741 Avoid non-nil current-load-list at startup
11742 * src/process.c (init_process_emacs): Move Fprovide statement...
11743 (syms_of_process): ... to here.
11744
11745 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
11746
11747 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
11748
11749 2015-04-20 Ludovic Courtès <ludo@gnu.org>
11750
11751 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
11752 (Bug#20330)
11753
11754 2015-04-20 Glenn Morris <rgm@gnu.org>
11755
11756 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
11757
11758 Tweak exec-path in uninstalled case
11759 * src/callproc.c (init_callproc): If running uninstalled, do not
11760 include eventual installation libexec directory in exec-path.
11761
11762 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
11763
11764 * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
11765 (package-menu-filter): Accept a list of keywords.
11766 (package--all-keywords): New variable to cache known keywords.
11767 (package-all-keywords): Populate it if necessary.
11768 (package-refresh-contents): Reset it.
11769
11770 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
11771 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
11772 as special keywords which match agains package archive and status
11773 respectively.
11774 * etc/NEWS: Document it.
11775
11776 2015-04-20 Eli Zaretskii <eliz@gnu.org>
11777
11778 Describe and index "empty overlays".
11779 * doc/lispref/display.texi (Overlays): Improve indexing.
11780 (Managing Overlays): Describe "empty" overlays.
11781 (Overlay Properties, Finding Overlays): Add cross-reference to
11782 where empty overlays are described.
11783
11784 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
11785
11786 Spelling fixes
11787
11788 Quote 'like this' in top-level files
11789 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
11790 Prefer to single-quote 'like this' (instead of the older style
11791 `like this').
11792 * configure.ac: Fix some space-before-tab problems that 'git commit'
11793 complained about.
11794
11795 Use bool for boolean in textprop.c, undo.c
11796 * src/textprop.c (soft, hard): Now constants instead of macros.
11797 (validate_plist): Rewrite to avoid need for boolean local.
11798 (interval_has_all_properties, interval_has_some_properties)
11799 (interval_has_some_properties_list, add_properties)
11800 (remove_properties, get_char_property_and_overlay)
11801 (Fnext_single_char_property_change)
11802 (Fprevious_single_char_property_change, add_text_properties_1)
11803 (Fremove_text_properties, Fremove_list_of_text_properties)
11804 (copy_text_properties):
11805 * src/tparam.c (tparam1):
11806 * src/undo.c (record_change, record_property_change)
11807 (syms_of_undo):
11808 Use 'true' and 'false' for booleans.
11809
11810 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
11811
11812 Call `smerge-start-session' even when dealing with a stash conflict
11813 * lisp/vc/vc-git.el (vc-git-find-file-hook):
11814 Call `smerge-start-session' even when dealing with a stash
11815 conflict (bug#20292).
11816
11817 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
11818
11819 Add option to eshell/clear to clear scrollback.
11820 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
11821 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
11822 scrollback contents are cleared.
11823 * etc/NEWS: Describe change.
11824 * doc/misc/eshell.texi: Add entry for `clear'.
11825
11826 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
11827
11828 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
11829 where either will do.
11830
11831 2015-04-19 Steve Purcell <steve@sanityinc.com>
11832
11833 Assume package archive-contents are UTF8-encoded
11834 * lisp/emacs-lisp/package.el (package--read-archive-file):
11835 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
11836 downloaded and cached archive-contents files, so that non-ASCII
11837 characters in package descriptions are displayed correctly in the
11838 `list-packages' menu. (Bug#20231)
11839
11840 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
11841
11842 Abort when looking at stashed changes
11843 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
11844 stashed changes (bug#20292).
11845
11846 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
11847
11848 Refactor low-level printing for simplicity
11849 * src/print.c (PRINTDECLARE): Remove. Move its contents into
11850 PRINTPREPARE; doable now that we assume C99. All callers changed.
11851 (PRINTCHAR): Remove, as it adds more mystery than clarity.
11852 All callers changed.
11853 (strout): Assume that caller computes length. All callers changed.
11854 (print_c_string): New function.
11855 (write_string, write_string_1): Compute length instead of asking
11856 the caller to compute it. All callers changed.
11857 (write_string): Simplify by using write_string_1.
11858 (write_string_1): Simplify by using print_c_string.
11859 (Fterpri): Compute default val more clearly.
11860 (Fprin1_to_string, print_object):
11861 Assume C99 to avoid unnecessary nesting.
11862 (print_object): Prefer print_c_string to multiple printchar, or
11863 to calling strout with -1 length. Coalesce into sprintf when
11864 this is easy.
11865
11866 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
11867
11868 Prefer "Bug#1234" in commit messages (Bug#20325)
11869 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
11870 as this isn't useful for Git.
11871 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
11872
11873 2015-04-18 Glenn Morris <rgm@gnu.org>
11874
11875 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
11876 (Bug#19506)
11877
11878 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
11879
11880 * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
11881 (Bug#19505)
11882
11883 2015-04-18 Glenn Morris <rgm@gnu.org>
11884
11885 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
11886
11887 * doc/emacs/misc.texi (Sorting): Small edit.
11888 (Bug#19896)
11889
11890 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
11891
11892 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
11893
11894 css-mode.el: Support multi-line comment filling
11895 (Bug#20256)
11896 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
11897 comment filling.
11898 (css-adaptive-fill): New function.
11899 (css-mode): Set `adaptive-fill-function'.
11900 (scss-mode): Set `comment-continue'.
11901
11902 2015-04-18 Nicolas Petton <nicolas@petton.fr>
11903
11904 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
11905
11906 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
11907
11908 Minor improvements in Bulgarian input methods
11909 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
11910 Replace U+042C with U+045D, as the former character is not used in
11911 the modern Bulgarian language.
11912 (Bug#20350)
11913
11914 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
11915
11916 Improve EUDC manual
11917 * eudc.texi (LDAP Configuration): Mention simple and SASL
11918 authentication schemes. Add index items. Shorten example server
11919 name.
11920
11921 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
11922
11923 Don't show both feature and function with the same name
11924 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
11925 Don't show both feature and function with the same name.
11926
11927 (elisp--xref-identifier-location): Skip variable, if it's also a functiong
11928 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
11929 Avoid returning both the variable and the function for the same
11930 minor mode.
11931
11932 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
11933
11934 Fix fontification of keywords clobbered by the prompt.
11935 * lisp/comint.el (comint-output-filter): Remove the uses of
11936 with-silent-modifications I introduced as part of the last change.
11937 This fixes, e.g., erratically missing highlighting when running
11938 ./configure --help; ./configure in a shell-mode buffer with
11939 compilation-shell-minor-mode turned on.
11940
11941 2015-04-17 Glenn Morris <rgm@gnu.org>
11942
11943 * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
11944
11945 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11946
11947 * lisp/indent.el (indent-region): Don't deactivate the mark
11948 (Bug#20357)
11949
11950 2015-04-17 Sam Steingold <sds@gnu.org>
11951
11952 lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
11953
11954 2015-04-16 Leo Liu <sdl.web@gmail.com>
11955
11956 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
11957
11958 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11959
11960 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
11961
11962 2015-04-16 Glenn Morris <rgm@gnu.org>
11963
11964 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
11965
11966 2015-04-16 Eli Zaretskii <eliz@gnu.org>
11967
11968 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
11969 * configure.ac (LIBJPEG): Leave it empty for MinGW.
11970
11971 2015-04-16 Glenn Morris <rgm@gnu.org>
11972
11973 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
11974 to avoid rogue setting after startup.
11975
11976 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
11977
11978 Pre-4.6 GCC succeeds with unknown option
11979 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
11980 (Bug#20338)
11981
11982 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
11983
11984 '[:graph:]' now excludes whitespace, not just ' '
11985 * doc/lispref/searching.texi (Char Classes):
11986 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
11987 sans whitespace (not sans space).
11988 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
11989 not just space.
11990 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
11991
11992 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 (looking-back): Make the second arg non-optional.
11995 * lisp/subr.el (substitute-key-definition-key, special-form-p)
11996 (macrop): Drop deprecated second arg to indirect-function.
11997 (looking-back): Make the second arg non-optional.
11998
11999 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
12000 command is actually sent to the shell.
12001
12002 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
12003
12004 Port jpeg configuration to Solaris 10 with Sun C
12005 * configure.ac: Check for jpeglib 6b by trying to link it, instead
12006 of relying on cpp magic that has problems in practice. Check for
12007 both jpeglib.h and jerror.h features. Remove special case for
12008 mingw32, which should no longer be needed (and if it were needed,
12009 should now be addressable by hotwiring emacs_cv_jpeglib).
12010 (Bug#20332)
12011
12012 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12013
12014 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
12015 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
12016 Move to elisp-mode.el.
12017 (lisp-mode-variables): (Re)move elisp-specific settings.
12018 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
12019 from lisp-mode-variables.
12020 (elisp--font-lock-flush-elisp-buffers): New function, moved from
12021 lisp-mode.el.
12022
12023 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
12024 Avoid pathological slowdown at top-level in large file.
12025
12026 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
12027
12028 Standardize names of ChangeLog history files
12029 Suggested by Glenn Morris in:
12030 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
12031 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
12032 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
12033 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
12034 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
12035 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
12036 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
12037 Remove.
12038
12039 Split top-level entries into pre- and post-April 7
12040 This more clearly distingiushes pre-April-7 ChangeLog entries (which
12041 are for top-level files only) from post-April-7 entries (which are
12042 about files at all levels. Problem reported by Glenn Morris in:
12043 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
12044 * ChangeLog.1: Move post-April-7 entries from here ...
12045 * ChangeLog.2: ... to this new file.
12046 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
12047
12048 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 Fix recent cus-start changes that added customize-rogues
12051 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
12052 vars early.
12053 * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
12054
12055 2015-04-15 Nicolas Petton <nicolas@petton.fr>
12056
12057 Define cl-concatenate as an alias to seq-concatenate
12058 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
12059 code by making cl-concatenate an alias to seq-concatenate.
12060
12061 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * src/lread.c (intern_1): Make sure we'd find the symbol we add
12064 (Bug#20334)
12065 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
12066
12067 2015-04-15 Glenn Morris <rgm@gnu.org>
12068
12069 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
12070
12071 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12072
12073 Clean up gnus-uu saving code slightly
12074 * gnus-uu.el (gnus-uu-save-article): Make the
12075 save-restriction/widen calls make more sense.
12076
12077 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
12078
12079 Make [:graph:] act like [:print:] sans space
12080 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
12081 [:graph:] so that it matches everything that [:print:] does,
12082 except for space.
12083 * doc/lispref/searching.texi (Char Classes):
12084 * etc/NEWS:
12085 * lisp/emacs-lisp/rx.el (rx):
12086 Document [:graph:] to be [:print:] sans ' '.
12087 * src/character.c, src/character.h (graphicp): New function.
12088 * src/regex.c (ISGRAPH) [emacs]: Use it.
12089 (BIT_GRAPH): New macro.
12090 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
12091 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
12092 Return BIT_GRAPH for RECC_GRAPH.
12093 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
12094 and ISPRINT if BIT_PRINT.
12095
12096 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
12099 Don't use call-next-method in a cl-defmethod.
12100
12101 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
12102 (eieio--class-p): Remove, provided by cl-defstruct.
12103
12104 2015-04-14 Nicolas Petton <nicolas@petton.fr>
12105
12106 Add seq-intersection and seq-difference to the seq library
12107 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
12108 functions.
12109 * test/automated/seq-tests.el: Add tests for seq-intersection and
12110 seq-difference.
12111 * doc/lispref/sequences.texi: Add documentation for seq-intersection
12112 and seq-difference.
12113
12114 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
12117
12118 2015-04-14 Sam Steingold <sds@gnu.org>
12119
12120 package--ensure-init-file: widen requires save-restriction
12121
12122 2015-04-14 Eli Zaretskii <eliz@gnu.org>
12123
12124 Improve the commit-msg Git hook for unibyte environments
12125 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
12126 in unibyte environments. (Suggested by Paul Eggert
12127 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
12128 [:print:], based on UTF-8 sequences of the unprintable characters.
12129
12130 Describe problems with cursor caused by Windows Magnifier
12131 * etc/PROBLEMS: Describe the problem with cursor shape on
12132 MS-Windows due to Windows Magnifier.
12133 (Bug#20271)
12134
12135 Make [:print:] support non-ASCII characters correctly
12136 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
12137 (BIT_PRINT): New bit mask.
12138 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
12139 * src/character.c (printablep): New function.
12140 * src/character.h (printablep): Add prototype.
12141 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
12142 of 'print', 'alnum', and 'alphabetic'.
12143 * doc/lispref/searching.texi (Char Classes): Document the new
12144 behavior of [:print:].
12145 * etc/NEWS: Mention the new behavior of [:print:].
12146
12147 Assign correct general-category and names to surrogates
12148 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
12149 surrogates. This avoids assigning them the default
12150 general-category of 'Cn', i.e. unassigned codepoints.
12151 (unidata-get-name): Give surrogates synthetic names.
12152
12153 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
12154
12155 Assume C89 offsetof in xterm.c, xlwmenu.c
12156 * lwlib/xlwmenu.c (offset):
12157 * src/xterm.c (cvt_string_to_pixel_args):
12158 Use offsetof, not XtOffset.
12159
12160 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
12161
12162 Assume C89 offsetof in widget.c
12163 * src/widget.c (XtOffset): Remove; no longer needed.
12164 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
12165
12166 Fix think-o in previous patch
12167 * src/window.c (count_windows, get_leaf_windows):
12168 Don't optimize count_windows incorrectly.
12169
12170 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
12171
12172 Avoid some int overflows in window.c
12173 * src/print.c (print_object):
12174 * src/window.c (sequence_number):
12175 * src/window.h (struct window.sequence_number):
12176 Don't assume window sequence number fits in int.
12177 * src/window.c (window_select_count):
12178 * src/window.h (struct window.use_time, window_select_count):
12179 Don't assume window use time fits in int.
12180 * src/window.c (Fsplit_window_internal):
12181 Don't assume user-supplied integer, or sum, fits in int.
12182 (Fset_window_configuration, count_windows, get_leaf_windows)
12183 (save_window_save, Fcurrent_window_configuration):
12184 Use ptrdiff_t for object counts.
12185 (Fset_window_configuration): Omit unused local 'n'.
12186 (count_windows): Simplify by writing in terms of get_leaf_windows.
12187 (get_leaf_windows): Don't store through FLAT if it's null.
12188 (extract_dimension): New static function.
12189 (set_window_margins, set_window_fringes, set_window_scroll_bars):
12190 Use it to avoid undefined behavior when converting user-supplied
12191 integer to 'int'.
12192
12193 2015-04-13 Glenn Morris <rgm@gnu.org>
12194
12195 Minor doc copyedits
12196 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
12197 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
12198
12199 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
12200
12201 [Gnus] Catch the invalid-operation that idna.el will issue
12202 * lisp/gnus/gnus-art.el (gnus-use-idna):
12203 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
12204 * lisp/gnus/message.el (message-use-idna):
12205 Catch the invalid-operation that idna.el will issue.
12206
12207 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
12208
12209 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
12210
12211 2015-04-13 Sam Steingold <sds@gnu.org>
12212
12213 package--ensure-init-file: widen before looking for "(package-initialize)"
12214
12215 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
12216
12217 Change diff-switches default to `-u'
12218 (Bug#20290)
12219 * doc/emacs/files.texi (Comparing Files): Document the new default
12220 value of `diff-switches'.
12221 * doc/emacs/trouble.texi (Sending Patches): Document the preference
12222 for unified diff format. Escape the plus in the suggested `-F' regexp
12223 value.
12224 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
12225
12226 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 (gnus-group--setup-tool-bar-update): Fix last change
12229 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
12230 cursor-sensor-functions should be a list of functions.
12231
12232 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
12233
12234 Use gmm-called-interactively-p in Gnus
12235 * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
12236
12237 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
12240 (Bug#20321)
12241 * lisp/cus-start.el (read-buffer-function): Don't advertize
12242 iswitchb-read-buffer any more.
12243 (iswitchb): Don't tweak this obsolete group any more.
12244
12245 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
12246
12247 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
12248
12249 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
12250 Adding a string after a constructor's argument list will use
12251 that string as the constructor function docstring. If this string
12252 is absent but the struct itself was given a docstring, use that as
12253 the constructor's docstring.
12254 Fixes (bug#17284).
12255
12256 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 Deprecate `intangible' and `point-entered' properties
12259 * lisp/emacs-lisp/cursor-sensor.el: New file.
12260 * lisp/simple.el (pre-redisplay-functions): New hook.
12261 (redisplay--pre-redisplay-functions): New function.
12262 (pre-redisplay-function): Use it.
12263 (minibuffer-avoid-prompt): Mark obsolete.
12264 (redisplay--update-region-highlight): Adapt it to work as a function on
12265 pre-redisplay-functions.
12266 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
12267 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
12268 than point-entered to make the prompt intangible.
12269 * lisp/forms.el: Move `provide' calls to the end.
12270 (forms-mode): Don't use `run-hooks' on a local var.
12271 (forms--make-format, forms--make-format-elt-using-text-properties):
12272 Use cursor-intangible rather than `intangible'.
12273 (forms-mode): Enable cursor-intangible-mode.
12274 * lisp/isearch.el (isearch-mode): Use defvar-local.
12275 (cursor-sensor-inhibit): Declare.
12276 (isearch-mode): Set cursor-sensor-inhibit.
12277 (isearch-done): Set it back.
12278 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
12279 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
12280 any more.
12281 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
12282 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
12283 Add Edebug spec.
12284 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
12285 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
12286 inhibit-point-motion-hooks any more.
12287 (ses--cell-at-pos, ses--curcell): New functions, extracted from
12288 ses-set-curcell.
12289 (ses-set-curcell): Use them.
12290 (ses-print-cell, ses-setup): Use cursor-intangible instead of
12291 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
12292 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
12293 Use ses--cell-at-pos.
12294 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
12295 extracted from ses-command-hook. Make them work with multiple windows
12296 displaying the same buffer.
12297 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
12298 Enable cursor-intangible-mode.
12299 (ses-command-hook): Remove cell highlight and mode-line update code.
12300 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
12301 Update for new name of text-property holding the cell name.
12302 (ses-rename-cell): Don't mess with mode-line-process.
12303 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
12304 cursor-sensor-functions property instead of point-entered.
12305 (erc-insert-timestamp-right, erc-format-timestamp):
12306 Use cursor-intangible rather than `intangible'.
12307 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
12308 remove-from-invisibility-spec. Enable cursor-intangible-mode and
12309 cursor-sensor-mode if needed.
12310 (erc-echo-timestamp): Adapt to calling convention of
12311 cursor-sensor-functions.
12312 (erc-insert-timestamp-right): Remove unused vars `current-window' and
12313 `indent'.
12314 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
12315 (gnus-update-group-mark-positions): Remove unused `topic' var.
12316 (gnus-group-insert-group-line): Remove unused var `header'.
12317 (gnus-group--setup-tool-bar-update): New function.
12318 (gnus-group-insert-group-line): Use it.
12319 (gnus-group-update-eval-form): Declare local
12320 dynamically-bound variables.
12321 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
12322 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
12323 (gnus-group-prepare-topics, gnus-topic-update-topic)
12324 (gnus-topic-change-level, gnus-topic-catchup-articles)
12325 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
12326 Use inhibit-read-only.
12327 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
12328 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
12329 * lisp/textmodes/reftex-index.el (reftex-display-index):
12330 Use cursor-intangible-mode if available.
12331 (reftex-index-post-command-hook): Check cursor-intangible.
12332 * lisp/textmodes/reftex-toc.el (reftex-toc):
12333 Use cursor-intangible-mode if available.
12334 (reftex-toc-recenter, reftex-toc-post-command-hook):
12335 Check cursor-intangible.
12336 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
12337 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
12338 (sgml-tags-invisible): Use with-silent-modifications and
12339 inhibit-read-only. Enable cursor-sensor-mode.
12340 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
12341 calling convention of cursor-sensor-functions.
12342 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
12343 (table-point-entered-cell-hook, table-point-left-cell-hook):
12344 Don't autoload.
12345 (table-cell-entered-state): Remove var.
12346 (table--put-cell-point-entered/left-property)
12347 (table--remove-cell-properties):
12348 Use cursor-sensor-functions rather than point-entered/left.
12349 (table--point-entered/left-cell-function): Merge
12350 table--point-entered-cell-function and table--point-left-cell-function
12351 and adjust to calling convention of cursor-sensor-functions.
12352
12353 Update ldef-boots.el
12354
12355 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
12356
12357 * doc/misc/eieio.texi: Don't advertize now obsolete constructs
12358
12359 Collapse successive char deletions in the undo log
12360 * src/cmds.c (remove_excessive_undo_boundaries): New function,
12361 extracted from Fself_insert_command.
12362 (Fdelete_char, Fself_insert_command): Use it.
12363 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
12364 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
12365
12366 xterm and OSC 52: Add NEWS entry, and tweak the code
12367 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
12368 top-level.
12369 (terminal-init-xterm-activate-set-selection): Set a terminal property.
12370 (xterm--set-selection): Use it instead of checking the value of
12371 `terminal-initted'. Don't use string-bytes.
12372
12373 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
12374
12375 xterm.el: Implement OSC-52 functionality for setting the X selection
12376 * lisp/term/xterm.el (xterm-max-cut-length): New var.
12377 (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
12378 (terminal-init-xterm, xterm--version-handler): Use them.
12379
12380 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12381
12382 Remove left over code from when we used an obsolete/loaddefs.el file
12383 * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
12384 we used an obsolete/loaddefs.el file.
12385
12386 * cedet/semantic/fw.el: Use declare.
12387 * cedet/semantic/fw.el (semantic-exit-on-input)
12388 (semanticdb-without-unloaded-file-searches): Use declare.
12389 (semantic-fw-add-edebug-spec): Remove.
12390
12391 (completion-lisp-mode-hook): Use completion-separator-chars
12392 * lisp/completion.el (completion-lisp-mode-hook):
12393 Use completion-separator-chars rather than local key binding.
12394
12395 * src/*.c: Set deactivate_mark buffer-locally
12396 (Bug#20260)
12397 * src/insdel.c (prepare_to_modify_buffer_1):
12398 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
12399 buffer-locally.
12400
12401 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
12402
12403 python.el: Keep symmetry on sexp navigation with parens
12404 (Bug#19954)
12405 * lisp/progmodes/python.el
12406 (python-nav--forward-sexp): Add argument skip-parens-p.
12407 (python-nav-forward-sexp, python-nav-backward-sexp)
12408 (python-nav-forward-sexp-safe)
12409 (python-nav-backward-sexp-safe): Use it.
12410 * test/automated/python-tests.el
12411 (python-nav-forward-sexp-1): Fix test.
12412
12413 2015-04-12 João Távora <joaotavora@gmail.com>
12414
12415 Don't use `setq-local' in Gnus code
12416 This might break upstream builds with older Emacsen
12417 * lisp/gnus/message.el (message-mode): Use `set' and
12418 `make-local-variable' instead of `setq-local'.
12419
12420 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
12421
12422 Update Makefile.in's .PHONY dependencies
12423 * Makefile.in (change-history-commit, master-branch-is-current)
12424 (no-ChangeLog): Now phony.
12425
12426 Remove configure's --with-mmdf option
12427 * configure.ac (MAIL_USE_MMDF): Remove.
12428 * etc/NEWS: Document this.
12429 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
12430 (Bug#20308)
12431
12432 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
12433 That way, 'make install' won't think it's a man page.
12434 Reported by Ashish SHUKLA in:
12435 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
12436
12437 Improve 'make change-history' prereq tests
12438 * Makefile.in (gen_origin): Fix to match what's in the master branch.
12439 (no-ChangeLog, master-branch-is-current): New rules.
12440 (change-history): Depend on them, to avoid similar future problems.
12441 Escape the local-variables string to pacify Emacs when editing
12442 Makefile.in.
12443
12444 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
12445
12446 * test/automated/package-test.el (with-package-test): Kill Packages buffer
12447
12448 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
12449 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
12450 "Upgrade" last, and use capitalized instead of all-caps.
12451
12452 * lisp/emacs-lisp/package.el: Completely silence async operations
12453 (package--make-autoloads-and-stuff): Silence autoloads.
12454 (package--save-selected-packages): New function, silences
12455 `customize-save-variable'.
12456 (package--user-selected-p, package-install-from-buffer)
12457 (package-delete, package-install): Use it.
12458 (package-install-from-archive)
12459 (package-menu--perform-transaction): Silence.
12460 (package-menu-execute): Feedback when operation starts.
12461
12462 Use delay-mode-hooks when visiting the init-file
12463 * lisp/emacs-lisp/package.el (package--ensure-init-file):
12464 delay-mode-hooks
12465 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
12466
12467 * lisp/files.el: Only message when saving if save-silently is nil
12468 (save-silently): New variable.
12469 (files--message): New function.
12470 (find-file-noselect, save-buffer, basic-save-buffer)
12471 (basic-save-buffer-2, save-some-buffers, not-modified)
12472 (append-to-file): Use them.
12473
12474 2015-04-12 Johan Bockgård <bojohan@gnu.org>
12475
12476 Support debug declarations in pcase macros
12477 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
12478 (pcase-UPAT): Use it. Remove "`".
12479 (pcase--edebug-match-macro): New function.
12480 (pcase-defmacro): Support debug declarations.
12481 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
12482 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
12483 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
12484
12485 pcase.el: Edebug support for `app' and vector patterns
12486 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
12487 (pcase-UPAT): Use it. Support `app' patterns.
12488 (pcase-QPAT): Support vector patterns.
12489
12490 edebug.el: Disambiguate vector specifications
12491 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
12492 `(vector ...)' as a vector specification, not as a sublist.
12493
12494 (gnus-summary-refer-thread): Don't clobber unread articles
12495 This fixes a bug where `A T' causes "random" articles to become marked
12496 as read.
12497 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
12498 gnus-newsgroup-unreads remains sorted.
12499
12500 mouse-sel.el: Fix mouse-sel-get-selection-function
12501 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
12502 Use gui--last-selected-text-primary instead of no longer existing
12503 gui-last-selected-text.
12504
12505 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
12506
12507 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
12508
12509 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
12510
12511 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
12512
12513 * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
12514
12515 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
12516 (byte-compile--interactive): New var.
12517 (byte-compile--message): New function.
12518 (byte-compile-log-1, byte-force-recompile)
12519 (byte-recompile-directory, byte-recompile-file)
12520 (byte-compile-file, compile-defun)
12521 (byte-compile-file-form-defmumble, byte-compile)
12522 (byte-compile-file-form-defalias, display-call-tree): Use it.
12523
12524 * lisp/files.el: Don't message when nothing happened
12525 (save-some-buffers, basic-save-buffer): Before messaging to say
12526 "nothing was saved" check if (called-interactively-p 'any).
12527
12528 2015-04-12 João Távora <joaotavora@gmail.com>
12529
12530 Summary: Improve sexp-based movement in message-mode
12531 Works by giving citations and smileys a different syntax. This helps
12532 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
12533 sexp-based movement.
12534 * lisp/gnus/message.el (message--syntax-propertize): New function.
12535 (message-mode): Set syntax-related vars.
12536 (message-smileys): New variable.
12537 * test/automated/message-mode-tests.el: New file
12538
12539 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
12540
12541 Use bool for boolean in window.c
12542 * src/window.c: Omit unnecessary static function decls.
12543 (adjust_window_count, select_window, Fselect_window)
12544 (window_body_width, Fwindow_body_height, Fwindow_body_width)
12545 (set_window_hscroll, check_window_containing, Fwindow_at)
12546 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
12547 (unshow_buffer, replace_window, recombine_windows)
12548 (add_window_to_list, candidate_window_p, next_window)
12549 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
12550 (Fget_buffer_window, Fdelete_other_windows_internal)
12551 (replace_buffer_in_windows_safely, set_window_buffer)
12552 (Fset_window_buffer, Fforce_window_update)
12553 (temp_output_buffer_show, make_parent_window)
12554 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
12555 (resize_frame_windows, Fsplit_window_internal)
12556 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
12557 (Fresize_mini_window_internal, mark_window_cursors_off)
12558 (window_scroll, window_scroll_pixel_based)
12559 (window_scroll_line_based, scroll_command, Fscroll_other_window)
12560 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
12561 (Fmove_to_window_line, Fset_window_configuration)
12562 (delete_all_child_windows, apply_window_adjustment)
12563 (set_window_fringes, set_window_scroll_bars)
12564 (Fset_window_vscroll, foreach_window, foreach_window_1)
12565 (compare_window_configurations, Fcompare_window_configurations):
12566 Prefer 'bool', 'true', and 'false' for booleans.
12567 * src/window.h (WINDOW_MODE_LINE_LINES)
12568 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
12569
12570 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
12571
12572 Speed up byte-compilation and autoload generation by avoiding mode-hooks
12573 This prevents emacs-lisp-mode-hook from being run everytime an
12574 autoload file is generated, which can account for a fraction of
12575 package installation time depending on the hooks the user has
12576 configured.
12577 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
12578 * lisp/emacs-lisp/autoload.el (autoload-find-file)
12579 (autoload-find-generated-file): Use delay-mode-hooks.
12580
12581 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
12582 (package-menu-refresh): Respect async and do new package checking.
12583 (list-packages): Use `package-menu-refresh' instead of repeating code.
12584
12585 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
12586 (package--quick-help-keys): New variable.
12587 (package--prettify-quick-help-key): New function.
12588 (package-menu-quick-help): Use it.
12589
12590 * lisp/emacs-lisp/package.el: Fix initially wrong compat table
12591 (package--build-compatibility-table): require finder
12592
12593 * test/automated/package-test.el: Fix new test
12594
12595 * lisp/emacs-lisp/package.el: Silence async operations
12596 (package--silence): New variable.
12597 (package--message): New function.
12598 (package-import-keyring, package-refresh-contents)
12599 (package-compute-transaction, package-install, package-delete)
12600 (package-menu--perform-transaction, package-menu-execute): Use it.
12601
12602 * test/automated/package-test.el: Test async functionality
12603 (package-test-update-archives-async): New test
12604
12605 2015-04-11 Daiki Ueno <ueno@gnu.org>
12606
12607 Utilize `make-process' in epg.el
12608 * lisp/epg.el (epg-error-output): Abolish.
12609 (epg-context): New slot `error-buffer'.
12610 (epg--start): Use `make-process' and `make-pipe-process'.
12611 (epg--process-filter): Remove code separating stderr from stdout.
12612 (epg-wait-for-completion): Simplify `error-output' handling.
12613 (epg-reset): Dispose error buffer.
12614
12615 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
12616
12617 * .gitignore: Ignore doc temps and outputs.
12618
12619 Port commit-msg to MSYS Bash+Gawk
12620 See Eli Zaretskii in:
12621 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
12622 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
12623 (cent_sign, print_at_sign, at_sign): Revert previous change.
12624 (print_at_sign): Prepend "BEGIN".
12625 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
12626
12627 Port commit-msg to broken MS-Windows shell
12628 * build-aux/git-hooks/commit-msg (cent_sign):
12629 Just use UTF-8 here rather than ASCII + printf, as the latter fails
12630 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
12631 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
12632
12633 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
12634
12635 Support GnuTLS v3.4 and later on MS-Windows
12636 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
12637 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
12638 GnuTLS DLL to load according to value of libgnutls-version.
12639 (Bug#20294)
12640
12641 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
12642
12643 Minor quoting etc. fixes to misc manuals
12644 Fix some minor quoting and spacing issues. Distinguish more
12645 clearly among grave accent and apostrophe (which are ASCII) and
12646 single quote (which is not). Prefer the standard terms
12647 "apostrophe" and "grave accent" to alternative names that can be
12648 confusing. Use apostrophes to single-quote ASCII text.
12649 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
12650 rather than approximating it in ASCII with grave accent.
12651
12652 2015-04-11 Daiki Ueno <ueno@gnu.org>
12653
12654 Respect more keyword args in `make-process'
12655 * process.c (Fmake_process): Respect `:sentinel' and `:filter'
12656 keywords as documented.
12657
12658 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
12659
12660 Extract ChangeLog entries when committing a directory
12661 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
12662 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
12663 Add a FIXME comment.
12664 (log-edit-changelog-entries): Extract from
12665 `log-edit-changelog-entries', handle FILE being a directory
12666 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
12667
12668 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
12669
12670 Fix problems found by --enable-gcc-warnings
12671 * src/process.c (create_process, Fmake_pipe_process)
12672 (Fmake_network_process): Omit unused locals.
12673
12674 Fix commit-msg to handle scissors lines
12675 * build-aux/git-hooks/commit-msg:
12676 Ignore every line after a scissors line, such as a line generated
12677 by 'git commit -v'. Problem reported by Johan Bockgård in:
12678 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
12679
12680 port commit-msg to Gawk 3.0.4 (1999)
12681 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
12682 (print_at_sign, at_sign): New vars. Use them to avoid problems
12683 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
12684 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
12685
12686 Have commit-msg report commit failure
12687 * build-aux/git-hooks/commit-msg: If the commit is aborted,
12688 say so. Simplify by doing this at the end. Problem reported
12689 by Eli Zaretskii in:
12690 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
12691
12692 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
12693
12694 Clean up LDAP Configuration section of EUDC manual
12695 * doc/misc/eudc.texi: Combine indices.
12696 (LDAP Configuration): Use command markup. Add index entries.
12697 Change formatting. Wrap long lines. Add noindent markup.
12698
12699 2015-04-10 Daiki Ueno <ueno@gnu.org>
12700
12701 Add facility to collect stderr of async subprocess
12702 * src/w32.h (register_aux_fd): New function declaration.
12703 * src/w32.c (register_aux_fd): New function.
12704 * src/process.h (struct Lisp_Process): New member stderrproc.
12705 * src/process.c (PIPECONN_P): New macro.
12706 (PIPECONN1_P): New macro.
12707 (Fdelete_process, Fprocess_status, Fset_process_buffer)
12708 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
12709 (Fcontinue_process): Handle pipe process specially.
12710 (create_process): Respect p->stderrproc.
12711 (Fmake_pipe_process): New function.
12712 (Fmake_process): Add new keyword argument :stderr.
12713 (wait_reading_process_output): Specially handle a pipe process when
12714 it gets an EOF.
12715 (syms_of_process): Register Qpipe and Smake_pipe_process.
12716 * doc/lispref/processes.texi (Asynchronous Processes): Document
12717 `make-pipe-process' and `:stderr' keyword of `make-process'.
12718 * lisp/subr.el (start-process): Suggest to use `make-process' handle
12719 standard error separately.
12720 * test/automated/process-tests.el (process-test-stderr-buffer)
12721 (process-test-stderr-filter): New tests.
12722 * etc/NEWS: Mention new process type `pipe' and its usage with the
12723 `:stderr' keyword of `make-process'.
12724
12725 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
12726
12727 Minor quoting etc. fixes to lispref manual
12728 * doc/lispref/tips.texi (Documentation Tips):
12729 Distinguish more clearly among grave accent, apostrophe,
12730 and single quote.
12731 * doc/lispref/README, doc/lispref/buffers.texi:
12732 * doc/lispref/commands.texi, doc/lispref/control.texi:
12733 * doc/lispref/customize.texi, doc/lispref/display.texi:
12734 * doc/lispref/elisp.texi, doc/lispref/files.texi:
12735 * doc/lispref/frames.texi, doc/lispref/hash.texi:
12736 * doc/lispref/help.texi, doc/lispref/internals.texi:
12737 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
12738 * doc/lispref/markers.texi, doc/lispref/modes.texi:
12739 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
12740 * doc/lispref/os.texi, doc/lispref/positions.texi:
12741 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
12742 * doc/lispref/text.texi, doc/lispref/tips.texi:
12743 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
12744 Use American-style double quoting in ordinary text,
12745 and quote 'like this' when single-quoting in ASCII text.
12746 Also, fix some minor spacing issues.
12747
12748 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
12749
12750 Handle symlinked test directory in tramp-tests.el
12751 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
12752 (tramp--test-check-files): Use `file-truename' for directories.
12753
12754 2015-04-10 Eli Zaretskii <eliz@gnu.org>
12755
12756 Fix 'recenter' when visual-line-mode is turned on
12757 * src/window.c (Frecenter): Use the same code for GUI and TTY
12758 frames alike; use vmotion only for "initial" frames. This is
12759 because vmotion doesn't support visual-line-mode. Rewrite the
12760 'iarg >= 0' case to use move_it_* functions instead of using
12761 vmotion, for the same reason. Fix the clipping of the argument
12762 value to support scroll-margin in all cases and avoid unwarranted
12763 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
12764 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
12765 which see.
12766
12767 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * abbrev.el (define-abbrev-table): Refine last change.
12770
12771 cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
12772 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
12773 use of c[ad]+r", so as to keep the "cl-" prefix on all
12774 cl-lib definitions.
12775
12776 * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
12777
12778 * lisp/cedet/semantic: Remove some dead code
12779 * lisp/cedet/semantic/util-modes.el
12780 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
12781 any more.
12782 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
12783 not supported any more.
12784 (semantic-safe): Use `declare'.
12785 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
12786 (semantic-tag-intangible-p): Remove unused functions.
12787 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
12788 Remove unused function.
12789
12790 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
12791 (gnus-article-hide-text, gnus-article-unhide-text)
12792 (gnus-article-unhide-text-type): Remove special handling of
12793 `intangible' since that property is not used any more.
12794 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
12795
12796 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
12797
12798 Use the VC root in `log-edit-listfun'
12799 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
12800 `log-edit-listfun'.
12801
12802 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
12803
12804 Fix description of Unix time, mention new function.
12805 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
12806 Unix time.
12807 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
12808 (Basic Operations on Units): Mention `calc-convert-exact-units'.
12809
12810 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
12811
12812 * lisp/emacs-lisp/package.el: Use mode-line-process for notification
12813
12814 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
12815
12816 (log-edit-insert-changelog-entries): Don't add newline after the last entry
12817 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
12818 Don't add newline after the last entry.
12819
12820 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
12821
12822 css-mode.el: Add "not" pseudo-class
12823 (Bug#20267)
12824 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
12825 list of CSS pseudo-classes.
12826
12827 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
12828
12829 etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
12830
12831 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
12832
12833 Stop messing with the EMACS env var
12834 * misc.texi (Interactive Shell): Remove description of EMACS env var.
12835
12836 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
12837
12838 Adapt 'make change-history' to coding cookie
12839 * Makefile.in (change-history): Adjust to change of format of
12840 ChangeLog file, which now has a coding cookie before an indented
12841 copyright notice.
12842
12843 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
12844
12845 Adapt 'make change-history' to coding cookie
12846 * Makefile.in (change-history): Adjust to change of format of
12847 ChangeLog file, which now has a coding cookie before an indented
12848 copyright notice.
12849
12850 gitlog-to-changelog coding cookie and mv -i
12851 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
12852 for copyright notice prototype, so that we get a proper "coding:"
12853 cookie. Use 'mv -i' to avoid unconditionally overwriting an
12854 existing ChangeLog. Problems reported by Eli Zaretskii in:
12855 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
12856
12857 Merge from gnulib
12858 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
12859 2015-04-09 gitlog-to-changelog: port to MS-Windows
12860
12861 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
12862
12863 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
12864 (Bug#20212)
12865
12866 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 Stop messing with the EMACS env var
12869 (Bug#20202)
12870 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
12871 * lisp/comint.el (comint-exec-1):
12872 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
12873 * lisp/progmodes/compile.el (compilation-start): Same and bring
12874 INSIDE_EMACS's format in line with other users.
12875
12876 css-mode.el (css-smie-rules): Fix indentation after complex selectors
12877 (Bug#20282)
12878 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
12879 inner structure of selectors.
12880
12881 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
12882
12883 python.el: Indent docstring lines to base-indent
12884 (Bug#19595)
12885 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
12886 an initial patch.
12887 * lisp/progmodes/python.el
12888 (python-indent-context): Add :inside-docstring context.
12889 (python-indent--calculate-indentation): Handle :inside-docstring.
12890 (python-indent-region): Re-indent docstrings.
12891 * test/automated/python-tests.el (python-indent-region-5)
12892 (python-indent-inside-string-2): Fix tests.
12893
12894 python.el: Increase native completion robustness
12895 (Bug#19755)
12896 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
12897 this and providing useful ideas.
12898 * lisp/progmodes/python.el
12899 (python-shell-completion-native-output-timeout): Increase value.
12900 (python-shell-completion-native-try-output-timeout): New var.
12901 (python-shell-completion-native-try): Use it.
12902 (python-shell-completion-native-setup): New readline setup avoids
12903 polluting current context, ensures output when no-completions are
12904 available and includes output end marker.
12905 (python-shell-completion-native-get-completions): Trigger with one
12906 tab only. Call accept-process-output until output end is found or
12907 python-shell-completion-native-output-timeout is exceeded.
12908
12909 2015-04-08 Samer Masterson <samer@samertm.com>
12910
12911 * lisp/eshell: Make backslash a no-op in front of normal chars
12912 (Bug#8531)
12913 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
12914 (eshell-parse-backslash): Return escaped character after backslash
12915 if it is special. Otherwise, if the backslash is not in a quoted
12916 string, ignore the backslash and return the character after; if
12917 the backslash is in a quoted string, return the backslash and the
12918 character after.
12919 * test/automated/eshell.el (eshell-test/escape-nonspecial)
12920 (eshell-test/escape-nonspecial-unicode)
12921 (eshell-test/escape-nonspecial-quoted)
12922 (eshell-test/escape-special-quoted): Add tests for new
12923 `eshell-parse-backslash' behavior.
12924
12925 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
12926
12927 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
12928 after the file name.
12929 (Bug#20276)
12930
12931 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
12932
12933 Minor quoting etc. fixes to Emacs manual
12934 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
12935 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
12936 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
12937 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
12938 * doc/emacs/indent.texi, doc/emacs/macos.texi:
12939 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
12940 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
12941 * doc/emacs/search.texi, doc/emacs/trouble.texi:
12942 * doc/emacs/vc1-xtra.texi:
12943 Use American-style double quoting in ordinary text,
12944 and quote 'like this' when single-quoting in ASCII text.
12945 Also, fix some minor spacing issues.
12946
12947 Minor quoting etc. fixes to elisp intro
12948 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
12949 American-style double quoting in ordinary text. In ASCII text,
12950 consistently quote 'like this' instead of `like this', unless
12951 Emacs requires the latter.
12952
12953 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
12954
12955 * CONTRIBUTE: Mention log-edit-insert-changelog.
12956
12957 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
12958
12959 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
12960
12961 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
12962
12963 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 (eieio-copy-parents-into-subclass): Fix inheritance of initargs
12966 (Bug#20270)
12967 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
12968 Fix inheritance of initargs.
12969
12970 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
12971
12972 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
12973 while dowloading information.
12974
12975 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
12976 (package--ensure-init-file): Check file contents before visiting.
12977 (package-initialize): Call it.
12978 (package-install-from-buffer, package-install): Don't call it.
12979
12980 2015-04-08 Eli Zaretskii <eliz@gnu.org>
12981
12982 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
12983 (Bug#17517)
12984
12985 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
12986
12987 Fix nasty scoping bug in tramp-cache.el
12988 * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
12989
12990 2015-04-08 Tassilo Horn <tsdh@gnu.org>
12991
12992 Add notice to visual commands section
12993 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
12994 such as git call less with its -F option which omits pagination if
12995 the contents is less than one page long. This interferes with
12996 eshell's visual (sub-)commands.
12997
12998 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
12999
13000 ffap: Support environment variable expansion in file names
13001 (Bug#19839)
13002 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
13003 environment variable expansion in file names.
13004
13005 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
13006
13007 Prefer double-quote to accent-grave in man pages
13008
13009 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
13010
13011 (Bug#20257)
13012 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
13013
13014 2015-04-07 Ivan Shmakov <ivan@siamics.net>
13015
13016 Update etc/PROBLEMS.
13017 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
13018 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
13019 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
13020 respectively); other minor updates and tweaks. (Bug#20011)
13021
13022 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
13023
13024 Add doc strings for some Isearch state vars
13025 * lisp/misearch.el (multi-isearch-buffer-list)
13026 (multi-isearch-file-list): Add doc strings.
13027 (Bug#20232)
13028
13029 2015-04-07 Alan Mackenzie <acm@muc.de>
13030
13031 Always mark "<" and ">" in #include directives with text properties.
13032 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
13033 matcher" with an invocation of c-make-font-lock-search-function to allow
13034 fontification when there's no trailing space on an "#include <..>" line.
13035
13036 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
13037
13038 Generate a ChangeLog file from commit logs
13039 * .gitignore: Add 'ChangeLog'.
13040 * build-aux/gitlog-to-changelog: New file, from Gnulib.
13041 * build-aux/gitlog-to-emacslog: New file.
13042 * CONTRIBUTE: Document the revised workflow.
13043 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
13044 instead of just special cases.
13045 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
13046 (ChangeLog, unchanged-history-files, change-history)
13047 (change-history-commit): New rules.
13048 * admin/admin.el (make-manuals-dist--1):
13049 Don't worry about doc/ChangeLog.
13050 * admin/authors.el: Add a FIXME.
13051 * admin/make-tarball.txt:
13052 * lisp/calendar/icalendar.el:
13053 * lisp/gnus/deuglify.el:
13054 * lisp/obsolete/gulp.el:
13055 * lwlib/README:
13056 Adjust to renamed ChangeLog history files.
13057 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
13058 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
13059 Remove obsolete discussion of merging ChangeLog files.
13060 New section "Maintaining ChangeLog history".
13061 * build-aux/git-hooks/pre-commit:
13062 Reject attempts to commit files named 'ChangeLog'.
13063 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
13064 * make-dist: Make and distribute top-level ChangeLog if there's a
13065 .git directory. Distribute the new ChangeLog history files
13066 instead of scattered ChangeLog files. Distribute the new files
13067 gitlog-to-changelog and gitlog-to-emacslog.
13068 (Bug#19113)
13069
13070 Rename ChangeLogs for gitlog-to-changelog
13071 This patch was implemented via the following shell commands:
13072 find * -name ChangeLog |
13073 sed 's,.*,git mv & &.1,
13074 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
13075 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
13076 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
13077 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
13078 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
13079 sh
13080 git commit -am"[this commit message]"
13081
13082 This file records repository revisions from
13083 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
13084 commit 20b4625117b0303eaba1ef81085f0feb9062695a (inclusive).
13085 See ChangeLog.1 for earlier changes.
13086
13087 ;; Local Variables:
13088 ;; coding: utf-8
13089 ;; End:
13090
13091 Copyright (C) 2015 Free Software Foundation, Inc.
13092
13093 This file is part of GNU Emacs.
13094
13095 GNU Emacs is free software: you can redistribute it and/or modify
13096 it under the terms of the GNU General Public License as published by
13097 the Free Software Foundation, either version 3 of the License, or
13098 (at your option) any later version.
13099
13100 GNU Emacs is distributed in the hope that it will be useful,
13101 but WITHOUT ANY WARRANTY; without even the implied warranty of
13102 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13103 GNU General Public License for more details.
13104
13105 You should have received a copy of the GNU General Public License
13106 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.