]> code.delx.au - gnu-emacs/blob - ChangeLog.2
; make change-history-commit
[gnu-emacs] / ChangeLog.2
1 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * src/keyboard.c: Use false/true instead of 0/1 for booleans
4 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
5
6 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
7
8 * tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect stderr
9 to /dev/null, this is done in `tramp-send-command-and-check'.
10
11 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
12
13 Flush file properties in Tramp.
14 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
15 (tramp-sh-handle-set-file-times):
16 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
17 (tramp-adb-handle-set-file-times): Flush the file properties of
18 the directory.
19
20 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
21
22 Fixed typo in manual.
23
24 Fixed typo in manual.
25
26 2015-08-14 Eli Zaretskii <eliz@gnu.org>
27
28 Don't miss warnings about removing string text properties while dumping
29 * src/alloc.c (purecopy): Warn about removing a string's text
30 properties even when the same string was already pure-copied
31 earlier.
32 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
33 (elisp--xref-format-extra): Fix the commentary.
34
35 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
38
39 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
40
41 * lisp/progmodes/compile.el: Assume 8-wide TABs (bug#21038)
42 * lisp/progmodes/compile.el: Use lexical-binding.
43 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
44
45 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
48 * lisp/uniquify.el: Remove redundant `:group's.
49
50 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
51
52 Make add_to_log varargs
53 * src/alloc.c (run_finalizer_handler):
54 * src/charset.c (load_charset_map_from_vector):
55 * src/nsimage.m (ns_load_image):
56 * src/xfaces.c (load_pixmap, load_color2):
57 Simplify, now that add_to_log has a variable number of args.
58 * src/image.c (image_error): Take a variable number of args.
59 Callers simplified.
60 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
61 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
62 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
63 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
64
65 Optional args for holiday-greek-orthodox-easter
66 * etc/NEWS: Document this.
67 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
68 Add optional args N and STRING, mimicking the API and code of
69 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
70
71 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
72
73 xref-find-definitions: Exclude more generic function items.
74 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Add doc string.
75 (cl--generic-find-defgeneric-regexp): New.
76 (find-function-regexp-alist): Add it.
77 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
78 elisp-mode.el, change to search for ";;; Code:"
79 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
80 (find-function-regexp-alist): Add them.
81 * lisp/progmodes/elisp-mode.el:
82 (elisp--xref-format, elisp--xref-format-extra): Change back to defvar due
83 to bug#21237.
84 (elisp--xref-find-definitions): Exclude co-located default methods for
85 generic functions. Also exclude implicitly declared defgeneric.
86 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
87 mode variables defined by 'define-minor-mode'.
88 * test/automated/elisp-mode-tests.el: Declare generic functions, add
89 tests for them.
90 (xref-elisp-test-run): Fix bug.
91 (emacs-test-dir): Improve initial value.
92 (find-defs-defun-defvar-el): Don't expect defvar.
93 (find-defs-feature-el): Match change to find-feature-regexp.
94
95 2015-08-13 Eli Zaretskii <eliz@gnu.org>
96
97 Improve warning about purecopy of strings with properties
98 * src/alloc.c (purecopy): Show the offending string with the
99 warning about removing its text properties.
100
101 2015-08-12 Alan Mackenzie <acm@muc.de>
102
103 Introduce new macros to cover Emacs's new names in cl-lib.el.
104 This also eliminates `mapcan' warnings in XEmacs.
105 progmodes/cc-defs.el (c--mapcan-status): new variable to characterise
106 [X]Emacs versions.
107 (top-level): Require either 'cl or 'cl-lib, depending on
108 c--mapcan-status.
109 Change this back to cc-external-require from an eval-when-compile
110 require.
111 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
112 (c--delete-duplicates): New macros which expand into either old or new
113 names.
114 (c-make-keywords-re, c-lang-defconst, c-lang-const) Use the new macros
115 rather than the old names.
116 progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan rather
117 than mapcan.
118 progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
119 progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
120 depending on c--mapcan-status.
121 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
122 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
123 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
124 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
125 (c-decl-block-key, c-keywords, c-keywords-obarray)
126 (c-regular-keywords-regexp, c-primary-expr-regexp,
127 c-primary-expr-regexp)
128 (c-block-prefix-disallowed-chars, c-known-type-key,
129 c-nonlabel-token-key)
130 (c-make-init-lang-vars-fun): Use the new macros rather than the old
131 names.
132
133 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
134
135 loadhist.el (read-feature): Conform to completing-read
136 * lisp/loadhist.el (read-feature): According to `completing-read'
137 documentation, if collection is a list, then it must be a list of
138 strings. And not a list of symbols like before.
139
140 2015-08-12 David Kastrup <dak@gnu.org>
141
142 Deal gracefully with up-events (Bug#19746)
143 * keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
144 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
145 those may easily be injected by user-level Lisp code.
146 (read_key_sequence): Discard unbound up-events like unbound
147 down-events: they are even more likely only relevant for special
148 purposes.
149 While Emacs will not produce up-events on its own currently (those are
150 converted to drag or click events before being converted to
151 Lisp-readable structures), the input queue can be made to contain them
152 by synthesizing events to `unread-command-events'. Emacs should deal
153 consistently with such events.
154
155 2015-08-12 Eli Zaretskii <eliz@gnu.org>
156
157 Fix display of thin lines whose newline has line-height property of t
158 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
159 and descent values of non-empty glyph rows, since they could have
160 forced low values deliberately. (Bug#21243)
161
162 2015-08-12 Richard Stallman <rms@gnu.org>
163
164 Offer to combine multiple To or CC fields.
165 * sendmail.el (mail-combine-fields): New function.
166 (mail-send): Call 'mail-combine-fields'.
167
168 Don't decrypt encrypted files.
169 * mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
170
171 Handle encrypted mbox files.
172 * rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt the mbox
173 file if necessary.
174
175 Re-enable mime processing after decryption. Add 'decrypt' keyword.
176 * rmail.el (rmail-epa-decrypt-1): New subroutine.
177 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
178 In a mime message, reenable Mime and show the parts that
179 were shown before.
180 Add keyword "decrypt" if anything decrypted.
181
182 epa-inhibit inhibits auto-recognition of .gpg files
183 * lisp/epa-file.el (epa-inhibit): New variable.
184 (epa-file-handler): Check epa-inhibit.
185
186 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
187
188 * emacs-lisp/lisp-mnt.el (lm-header): save-excursion
189
190 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
191
192 Respect python.el imenu when semantic-mode is off
193 Fixes debbugs:21220
194 * lisp/cedet/semantic/wisent/python.el: Do not force
195 wisent-python-default-setup on python-mode-hook.
196
197 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
198
199 Give names to Unicode code points in C code
200 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
201 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
202 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
203 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
204 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
205 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
206 (OBJECT_REPLACEMENT_CHARACTER):
207 New named constants for Unicode code points.
208 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
209 * src/composite.c (char_composable_p):
210 * src/lread.c (readevalloop, read1):
211 * src/xdisp.c (get_next_display_element):
212 Use them.
213 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
214 Remove; now in character.h.
215
216 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
217
218 elisp--xref-find-definitions handle cl-defstuct default constructor
219 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
220 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
221 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
222 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
223 from xref-elisp-test for ease of debugging.
224 (xref-elisp-deftest): Rename from xref-elisp-test.
225 (find-defs-constructor): New test.
226 (find-defs-defgeneric-el): Match batch test config.
227 (compile): Required for find-defs compilation-minor-mode test.
228 (find-defs-defvar-el): Match code change.
229 (find-defs-face-el): Match code change.
230 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
231 Improve doc string.
232
233 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * lisp/replace.el (perform-replace): Document `replacements'.
236 (perform-replace): Move the description of the format of `replacements' from
237 the body's comment to the docstring.
238
239 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
240
241 Rewrite elisp--xref-find-definitions to handle many more cases; add tests.
242 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location): deleted
243 (elisp--xref-format-cl-defmethod): new
244 (find-feature-regexp): new
245 (find-alias-regexp): new
246 (elisp--xref-make-xref): new
247 (elisp--xref-find-definitions): Rewrite using the above, handle many more
248 cases. Always output all available definitions.
249 (xref-location-marker): No need for special cases.
250 * test/automated/elisp-mode-tests.el: Add more tests of
251 elisp--xref-find-definitions, improve current tests.
252
253 2015-08-10 Phillip Lord <phillip.lord@newcastle.ac.uk>
254
255 * ChangeLog.2: Formatting update.
256 Formatting for one change entry did not follow standard ChangeLog
257 conventions and has now been updated.
258
259 2015-08-10 Eli Zaretskii <eliz@gnu.org>
260
261 Fix recording of events pushed onto unread-command-events
262 * src/keyboard.c (read_char): Make sure events read from
263 unread-command-events and unread-post-input-method-events are
264 always recorded by record_char. Reported by David Kastrup
265 <dak@gnu.org>, see
266 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
267
268 2015-08-10 Samer Masterson <samer@samertm.com>
269
270 Set file buffer as current for "--file"
271 * lisp/startup.el (command-line-1): Set file buffer as current before
272 it is displayed so it can be used with options like
273 "--eval". (Bug#21095)
274
275 2015-08-10 Eli Zaretskii <eliz@gnu.org>
276
277 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
278 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
279 after setting LC_ALL to the desired locale, to avoid affecting how
280 numbers are read and printed. (Bug#21223)
281
282 2015-08-10 Alan Mackenzie <acm@muc.de>
283
284 Fix "Invalid search bound (wrong side of point)" in fontification.
285 progmodes/cc-fonts.el (c-font-lock-declarators): After skipping an
286 initialization expression, check point is not beyond the fontification
287 limit.
288
289 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
290
291 Fix DPI calculation when Xft/DPI is default
292 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
293 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
294 Remove unnecessary cast while we're in the neighborhood.
295
296 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
297
298 Add project-vc-search-path and project-vc-ignores
299 * lisp/progmodes/project.el (project-vc): New group.
300 (project-vc-search-path, project-vc-ignores): New variables.
301 (project--value-in-dir): Utility function.
302 (project-search-path, project-ignores): Use them.
303 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
304 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
305
306 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
307
308 Fix some minor quoting issues with grave accent
309 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
310 Remove redundant quotes.
311 * src/doc.c (uLSQM, uRSQM): New macros.
312 * src/doc.c (Fsubstitute_command_keys):
313 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
314 preference for quotes rather than hardcoding the ‘grave’ style.
315 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
316 (re_match_2_internal) [DEBUG]: In debugging output, quote C
317 strings with "...", not `...'.
318
319 ChangeLog.2 ignores remote-tracking merges
320 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
321 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
322 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
323
324 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
325
326 Use kpsewhich in ffap-latex-mode, if available
327 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
328 (ffap-latex-mode): Use kpsewhich if available.
329
330 ffap: disallow braces in filenames for tex modes
331 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
332 braces in tex-related modes.
333
334 Remove useless backslashes from ffap-string-at-point-mode-alist
335 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
336 misleading backslashes from default value.
337
338 Augment docstring of ffap-string-at-point-mode-alist
339 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
340 and END are handled.
341
342 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
343
344 Remove no-op calls to substitute-command-keys
345 * lisp/org/org-src.el (org-edit-src-code)
346 (org-edit-fixed-width-region):
347 * lisp/simple.el (completion-setup-function):
348 Remove calls to substitute-command-keys that always just return
349 their argument.
350
351 2015-08-09 Daiki Ueno <ueno@gnu.org>
352
353 Utilize `quit-window' in epa.el
354 * epa.el (epa-exit-buffer-function): Set to `quit-window'.
355 (Bug#21210)
356
357 2015-08-09 Ivan Kanis <ivan@kanis.fr>
358
359 fix link to source code in help window
360 * lisp/help-fns.el (find-lisp-object-file-name): remove code that
361 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
362 'No longer include timestamp in header of .elc files'. Add code
363 that will return .el source file in load-path.
364
365 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
366
367 * isearch.el (isearch-search-fun-default): (Bug#21164)
368 Respect `isearch-lax-whitespace' when searching through
369 `isearch-word'.
370
371 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
374
375 * org.el: Fix up some lexical scoping warnings, and use dolist
376 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
377 (org-set-regexps-and-options, org-assign-fast-keys)
378 (org-contextualize-keys, org-contextualize-validate-key)
379 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
380 (org-find-olp, org-find-exact-heading-in-directory)
381 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
382 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
383 (org-replace-escapes): Use dolist.
384 (org-mode): Optimize away XEmacs-only code.
385 (org-refile-get-targets): Remove unused var `f'.
386 (org-fast-todo-selection): Remove unused var `e'.
387 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
388 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
389 (org-format-latex): Use dolist. Remove unused var `e'.
390 (org-toggle-heading): Access vars lexically rather than dynamically.
391 (org-backward-sentence, org-forward-sentence, org-meta-return)
392 (org-kill-line): Mark arg as unused.
393 (org-submit-bug-report): Silence compiler warning.
394 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
395 (org-get-cursor-date): Remove unused var `tm'.
396 (org-comment-or-uncomment-region): Use standard name `_'.
397 (reftex-docstruct-symbol, reftex-cite-format): Declare to
398 silence byte-compiler.
399 (org-reftex-citation): Add `org--' prefix to dynamically scoped
400 `rds' var.
401
402 2015-08-08 Nicolas Petton <nicolas@petton.fr>
403
404 Merge remote-tracking branch 'origin/fix/subsequence-error-with-negative-sequences'
405
406 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
407
408 Electric quote if coding is undecided or no conv
409 * lisp/electric.el (electric--insertable-p): Also say that a
410 string is insertable if the buffer file coding system is undecided
411 or uses no conversion, as curved quotes will work in either case.
412
413 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
414
415 2015-08-08 Eli Zaretskii <eliz@gnu.org>
416
417 Fix overlay string display regressions introduced in Emacs 24.5
418 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
419 buffer position, if we move the iterator to a new position as
420 result of jumping over text covered by a "replacing" display
421 property.
422 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
423
424 Support recovery from C stack overflow on MS-Windows
425 * src/w32fns.c (w32_reset_stack_overflow_guard)
426 (stack_overflow_handler): New functions for handling C stack
427 overflow exceptions.
428 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
429 specially, and zero out except_addr if we do.
430 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
431 mode.
432 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
433 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
434 the MinGW build, but the code guarded by that is for Posix hosts.
435 * src/keyboard.c (command_loop) [WINDOWSNT]: Call
436 w32_reset_stack_overflow_guard.
437 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
438 (sigsetjmp): New macro.
439 (w32_reset_stack_overflow_guard): Declare the prototype.
440 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
441
442 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
443
444 Improve error signalling for seq-subseq.
445
446 * lisp/seq.el (seq-subseq): The existing behaviour is to error
447 when indexes are too large, but to silently ignore numbers which
448 are too negative for lists. String and vector handling errors in
449 both cases. This has been regularlised. Error signalling behaviour
450 has been explicitly added to the docstring.
451
452 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
453 therefore also impacted by this change. The docstring has been
454 updated to reflect this.
455
456 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
457 added for these exceptional cases, as well as one non exceptional
458 base case.
459
460
461 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
462
463 Improve error checking in tramp-adb.el
464 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
465 Improve error checking. "ls -l" on Android in Enforcing mode can
466 print "lstat './FILENAME failed: Permission denied".
467
468 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
471 non-struct vectors.
472
473 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
474
475 lisp/window.el: fix typo, more `display-buffer-use-some-frame'
476 * lisp/window.el: fix typo that broke build
477 (display-buffer--action-function-custom-type): add
478 `display-buffer-use-some-frame'
479 (display-buffer): add `display-buffer-use-some-frame' to doc string
480
481 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
482 * lisp/window.el (display-buffer-use-some-frame): Add support for
483 'inhibit-same-window in alist.
484 * doc/windows.texi (display-buffer-use-some-frame): Doc support for
485 'inhibit-same-window in alist.
486
487 2015-08-07 Eli Zaretskii <eliz@gnu.org>
488
489 Avoid infinite loop in display of invisible text in strings
490 * src/xdisp.c (handle_invisible_prop): If the next change of
491 invisibility spec does not mean the beginning of a visible text,
492 update the string position from which to start the search for the
493 next invisibility change. This avoids an infinite loop when we
494 have more than one invisibility spec that are made inactive by
495 buffer-invisibility-spec. Simplify code. (Bug#21200)
496 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
497 for the situation that caused bug #21200.
498
499 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
500
501 * lisp/emacs-lisp/package.el: Simplify describe-package-1
502 (package-help-section-name-face): New face.
503 (package--print-help-section): New function.
504 (describe-package-1): Refactor section printing.
505 (package-make-button): Use face instead of font-lock-face, which
506 doesn't work on buttons.
507
508 * lisp/emacs-lisp/package.el: Define custom faces
509 (package-name-face, package-description-face)
510 (package-status-built-in-face, package-status-external-face)
511 (package-status-available-face, package-status-new-face)
512 (package-status-held-face, package-status-disabled-face)
513 (package-status-installed-face, package-status-dependency-face)
514 (package-status-unsigned-face, package-status-incompat-face)
515 (package-status-avail-obso-face): New faces.
516 (package-menu--print-info-simple): Use them.
517
518 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
519
520 Fix some confusion with ‘format’
521 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
522 (allout-graphics-modification-handler):
523 Protect arbitrary string in a format context with "%s" format.
524 * lisp/avoid.el:
525 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
526 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
527 * lisp/erc/erc-button.el (erc-button-beats-to-time):
528 * lisp/gnus/message.el (message-send-form-letter):
529 * lisp/org/ob-core.el (org-babel-check-evaluate)
530 (org-babel-confirm-evaluate):
531 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
532 * lisp/org/ox-latex.el (org-latex-compile):
533 * lisp/org/ox-man.el (org-man-compile):
534 * lisp/org/ox-odt.el (org-odt-template):
535 * lisp/org/ox-texinfo.el (org-texinfo-compile):
536 * lisp/progmodes/prolog.el (prolog-help-info)
537 (prolog-view-predspec):
538 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
539 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
540 * lisp/textmodes/rst.el (rst-replace-lines):
541 Change (message (format ...)) to (message ...), and likewise
542 for ‘error’. This lessens the probability of confusion when the
543 output of ‘format’ contains ‘%’.
544
545 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
546
547 * lisp/replace.el (replace-character-fold): Default to nil
548
549 * lisp/character-fold.el: Fix lax whitespace
550 (character-fold-table): Don't make space match other whitespace chars.
551 (character-fold-to-regexp): Simplify lax behaviour.
552
553 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
554
555 Preserve window point in xref-find-definitions-other-window
556 Fix the problem reported by Ingo Logmar in
557 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
558 * lisp/progmodes/xref.el (xref--goto-char): Extract from
559 xref--goto-location.
560 (xref--pop-to-location): Use it. Replace xref--goto-location with
561 a direct xref-location-marker call.
562 (xref--show-location): Likewise.
563 (xref--display-position): Use xref--goto-char.
564
565 * lisp/progmodes/project.el: Add a paragraph to the front matter.
566
567 2015-08-04 David Kastrup <dak@gnu.org>
568
569 Do not overwrite preexisting contents of unread-command-events
570 * lisp/vc/emerge.el (emerge-show-file-name):
571 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
572 (vhdl-comment-insert, vhdl-hooked-abbrev):
573 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
574 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
575 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
576 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
577 * lisp/obsolete/vip.el (vip-escape-to-emacs)
578 (vip-prefix-arg-value, vip-prefix-arg-com):
579 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
580 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
581 (quail-tibkey-update-translation):
582 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
583 * lisp/leim/quail/lao.el (quail-lao-update-translation):
584 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
585 (quail-japanese-self-insert-and-switch-to-alpha):
586 * lisp/leim/quail/hangul.el (hangul2-input-method)
587 (hangul3-input-method, hangul390-input-method):
588 * lisp/language/hanja-util.el (hangul-to-hanja-char):
589 * lisp/international/robin.el (robin-input-method):
590 * lisp/international/quail.el (quail-start-translation)
591 (quail-start-conversion):
592 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
593 (gnus-article-describe-key-briefly):
594 * lisp/eshell/em-hist.el (eshell-list-history):
595 * lisp/term.el (term-dynamic-list-input-ring)
596 (term-dynamic-list-completions):
597 * lisp/subr.el (momentary-string-display):
598 * lisp/simple.el (read-quoted-char):
599 * lisp/pcomplete.el (pcomplete-show-completions):
600 * lisp/kmacro.el (kmacro-repeat-on-last-key):
601 * lisp/info.el (Info-summary):
602 * lisp/ehelp.el (electric-help-command-loop):
603 * lisp/ebuff-menu.el (electric-buffer-list)
604 (Electric-buffer-menu-exit):
605 * lisp/double.el (double-translate-key):
606 * lisp/comint.el (comint-dynamic-list-input-ring)
607 (comint-dynamic-list-completions): Do not overwrite preexisting
608 contents of `unread-command-events' when putting new events into
609 it.
610
611 2015-08-04 Daniel Colascione <dancol@dancol.org>
612
613 Improve ansi-color filtering of unrecognized escape sequences
614 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
615 escape sequences.
616 (ansi-color-filter-apply): Filter out unrecognized escape sequences
617 (ansi-color-apply): Filter out unrecognized escape sequences
618
619 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
620
621 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
622 definitions to `easy-menu-define', improve a couple to account for
623 async, and add a couple of new commands.
624
625 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
626
627 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
628
629 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
630
631 Add new 'calendar-weekend-days' option
632 Make the days receiving the 'calendar-weekend-header' face freely
633 customizable, as they differ by region/culture.
634 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
635 new variable.
636 * lisp/calendar/calendar.el (calendar-generate-month): New variable
637 calendar-weekend-days to customize day header fontification.
638
639 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
640
641 Redo text-quoting-style variable
642 Rename help-quote-translation to text-quoting-style,
643 and use symbols rather than characters as values.
644 This follows suggestions along these lines by Alan Mackenzie in:
645 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
646 and by Drew Adams in:
647 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
648 * doc/lispref/help.texi (Keys in Documentation)
649 * etc/NEWS:
650 * lisp/cus-start.el (standard):
651 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
652 Document and/or implement the new behavior instead of the old.
653 (syms_of_doc): New symbols 'grave' and 'straight'.
654
655 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
656
657 nnimap.el: Use IMAP MOVE extension if available
658 * lisp/gnus/nnimap.el (nnimap-request-move-article)
659 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
660 Use MOVE extension if available.
661
662 nnimap.el: Explicitly ask for server capabilities
663 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
664 capabilities will be returned in the login-result.
665
666 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
667
668 Treat help strings like other doc strings
669 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
670 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
671 substitute-command-keys.
672 * src/keyboard.c (show_help_echo, parse_menu_item): Call
673 substitute-command-keys on the help string before displaying it.
674
675 Also mention "curly quotes"
676 See Drew Adams's email in:
677 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
678 * doc/lispref/help.texi (Keys in Documentation):
679 Add index entry "curly quotes".
680 * etc/NEWS: Use the phrase "curly quotes" too.
681
682 ede-proj-target-makefile docstring tweaks
683 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
684 Consistently use "all:" to describe the all: target,
685 replacing three different and confusingly-quoted usages.
686
687 2015-08-02 Eli Zaretskii <eliz@gnu.org>
688
689 Whitespace fixes
690
691 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
692
693 Don't abort emacsclientw when -a was specified
694 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
695 out if we are in emacsclientw and -a was specified.
696
697 2015-08-02 Eli Zaretskii <eliz@gnu.org>
698
699 Fix handling of 1st keystroke on MS-Windows
700 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
701 This is needed to correctly handle the session's first keystroke,
702 if it has any modifiers. (Bug#19994)
703
704 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
705
706 Substitute some customization etc. doc strings
707 These changes apply substitute-command-keys to some
708 doc strings that were going through untranslated
709 when creating customization or other widgets.
710 * lisp/cus-edit.el (custom-group-value-create):
711 * lisp/wid-edit.el (widget-default-create):
712 (widget-push-button-value-create):
713 Treat the widget tag as a doc string.
714 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
715 Treat the :documentation value as a doc string.
716 * lisp/wid-edit.el (widget-choose):
717 Treat the choice names as doc strings.
718 (widget-default-create): Treat the :doc value as a doc string.
719 (widget-toggle-value-create): Treat the :on and :off values
720 as doc strings.
721 (widget-documentation-string-value-create):
722 Substitute the doc string.
723
724 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
725
726 Add a second argument to project-ignores
727 * lisp/progmodes/project.el (project-ignores): Add a second
728 argument DIR.
729 * lisp/progmodes/project.el (project-ignores): Only include the VC
730 ignores if DIR is the VC root.
731 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
732
733 2015-08-01 Eli Zaretskii <eliz@gnu.org>
734
735 Prevent incorrect display when 'line-spacing' variable is set
736 * src/xdisp.c (try_window_id): Give up this optimization if the
737 buffer has its 'line-spacing' variable set non-nil.
738
739 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
740
741 Don't pass NOVISIT to find-file
742 * lisp/progmodes/etags.el (next-file):
743 Don't pass NOVISIT to find-file (bug#21175).
744
745 Ignore buffer restriction for tags-loop-eval
746 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
747 restriction (bug#21167).
748
749 2015-08-01 Eli Zaretskii <eliz@gnu.org>
750
751 Fix a thinko in 'ffap-gopher-at-point'
752 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
753
754 Honor 'line-spacing' for empty lines
755 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
756 property and 'line-spacing' frame parameter or variable or
757 property for empty lines, by doing the same processing as in
758 x_produce_glyph for newline characters. (Bug#21165)
759
760 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
761
762 Simplify by assuming C99 integer division
763 * src/floatfns.c (ceiling2, floor2, truncate2):
764 Assume C99 (i.e., Fortran) semantics for integer division.
765 This simplifies the code.
766
767 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
768
769 Don't overflow if computing approximate percentage
770 * lisp/align.el (align-region):
771 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
772 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
773 * lisp/cus-edit.el (custom-buffer-create-internal):
774 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
775 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
776 (checkdoc-next-message-error):
777 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
778 * lisp/epa.el (epa-progress-callback-function):
779 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
780 * lisp/ffap.el (ffap-menu-rescan):
781 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
782 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
783 * lisp/gnus/nneething.el (nneething-retrieve-headers):
784 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
785 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
786 * lisp/gnus/nnml.el (nnml-retrieve-headers):
787 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
788 * lisp/gnus/nntp.el (nntp-retrieve-headers)
789 (nntp-retrieve-articles):
790 * lisp/imenu.el (imenu--relative-position):
791 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
792 (skkdic-convert-okuri-nasi):
793 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
794 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
795 * lisp/org/org-list.el (org-update-checkbox-count):
796 * lisp/org/org.el (org-table-map-tables)
797 (org-update-parent-todo-statistics):
798 * lisp/play/decipher.el (decipher-insert-frequency-counts)
799 (decipher-analyze-buffer):
800 * lisp/profiler.el (profiler-format-percent):
801 * lisp/progmodes/cc-cmds.el (c-progress-update):
802 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
803 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
804 (idlwave-list-load-path-shadows):
805 * lisp/progmodes/opascal.el (opascal-step-progress):
806 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
807 (vhdl-scan-directory-contents):
808 * lisp/textmodes/bibtex.el (bibtex-progress-message):
809 * lisp/textmodes/flyspell.el (flyspell-small-region)
810 (flyspell-external-point-words):
811 * lisp/textmodes/table.el (table-recognize):
812 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
813 progress-report percentages and the like. This avoids problems
814 if (* 100 NUMERATOR) would overflow.
815 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
816 * lisp/gnus/registry.el (registry-reindex):
817 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
818 * lisp/descr-text.el (describe-char):
819 * lisp/org/org-colview.el (org-nofm-to-completion):
820 * lisp/ps-print.el (ps-plot):
821 * lisp/simple.el (what-cursor-position):
822 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
823 more-complicated and less-accurate approximation.
824
825 Fix some int overflows in profiler.c
826 * src/profiler.c (make_log): Make args EMACS_INT, not int,
827 to avoid unwanted behavior on 'int' overflow.
828 (make_log, evict_lower_half, record_backtrace):
829 Use ptrdiff_t, not int, for object indexes.
830
831 Port to pedantic memcpy
832 * src/keyboard.c (menu_bar_items, tool_bar_items):
833 * src/xrdb.c (magic_db):
834 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
835
836 Merge from gnulib
837 This incorporates:
838 2015-07-29 time_rz: port to pedantic memcpy
839 * lib/time_rz.c: Copy from gnulib.
840
841 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
842
843 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Fix bug
844 When updating the very last entry, tabulated-list-print would
845 erase it and then try to look at the next one (which obviously
846 isn't there).
847
848 2015-07-31 Eli Zaretskii <eliz@gnu.org>
849
850 Allow to use the old key processing code on MS-Windows
851 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
852 New variable.
853 (w32_wnd_proc): Use it to invoke the old code that processed
854 character keys, as fallback, when this variable is non-nil. Fix
855 typos in comments. (Bug#19994)
856
857 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
858
859 Improve handling of Unicode keyboard input on MS-Windows
860 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
861 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
862 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
863 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
864 successful, don't call TranslateMessage. (Bug#19994)
865
866 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
867
868 Fix default-directory in changeset diffs after vc-print-log
869 * lisp/vc/log-view.el (log-view-diff-common): Move the
870 revision-granularity check back into log-view-diff-changeset.
871 (log-view-diff-changeset): Bind default-directory to the current
872 VC root.
873
874 Rename project-directories to project-roots
875 * lisp/progmodes/project.el (project-search-path-function)
876 (project-search-path): Update the docstring.
877 (project-directories): Rename to `project-roots', update all
878 callers and implementations accordingly.
879 (project-root): Remove.
880 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
881 as the default file mask.
882
883 2015-07-30 Eli Zaretskii <eliz@gnu.org>
884
885 Support long URLs in w32-shell-execute
886 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
887 and filename_to_ansi to convert the DOCUMENT argument, as it could
888 be a URL that is not limited to MAX_PATH characters. Instead, use
889 MultiByteToWideChar directly, and allocate heap storage as
890 required to accommodate the converted string. Likewise with
891 non-Unicode operation. Ensure OPERATION is null-terminated, even
892 if it is longer than 32K bytes. (Bug#21158)
893
894 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
895
896 vc-mtn-find-revision handle null rev.
897 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): handle null rev
898
899 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
900
901 Add docs for display-buffer action display-buffer-use-some-frame
902 * lisp/window.el (display-buffer-use-some-frame): improve doc string
903 * doc/lispref/windows.texi (Display Action Functions): add
904 display-buffer-use-some-frame
905 * etc/NEWS: mention display-buffer-use-some-frame
906
907 Add display-buffer action display-buffer-use-some-frame
908 * lisp/window.el (display-buffer-use-some-frame): new
909
910 Handle vc-mtn error more gently
911 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): return "" when branch is nil
912
913 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
914
915 Fix Tramp problems with multihops, and nc.
916 * lisp/net/tramp-cache.el (tramp-get-file-property)
917 (tramp-set-file-property, tramp-flush-file-property)
918 (tramp-get-connection-property, tramp-set-connection-property)
919 (tramp-flush-connection-property): Remove hop from vector.
920 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
921 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
922 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
923 netstat to 60".
924 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
925 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
926 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
927 Keep hop in result.
928 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
929 Add hop tests.
930
931 2015-07-29 Eli Zaretskii <eliz@gnu.org>
932
933 Resurrect highlighting of repeated words by Flyspell Mode
934 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
935 characters between point and the doublon candidate, so that
936 flyspell-word-search-backward finds it. (Bug#21157)
937
938 Fix redisplay of large images on expose events
939 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
940 between signed negative values and unsigned values. This
941 prevented redisplay on expose events when the window showed a very
942 large image.
943
944 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
945
946 Remove unnecessary stack overflow dependency
947 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
948 Don't worry about $ac_cv_header_sys_resource_h and
949 $ac_cv_func_getrlimit, as they're no longer needed for this.
950 Problem reported by Eli Zaretskii in:
951 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
952
953 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
954
955 Pacify compilation -Wincompatible-pointer-types warnings
956 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
957 warning.
958 (CompareStringW_Proc): New typedef.
959 (w32_compare_strings): Use it, to pacify compiler warnings under
960 "-Wincompatible-pointer-types".
961 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
962 (GetDiskFreeSpaceExA_Proc): New typedefs.
963 (Ffile_system_info): Use them, to pacify compiler warnings under
964 "-Wincompatible-pointer-types".
965
966 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
967
968 Fix subscript error in calculate_direct_scrolling
969 Use slightly-longer cost vectors. Without this change,
970 calculate_direct_scrolling can have a subscript violation when
971 FRAME_LINES (frame) <= delta.
972 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
973 (line_ins_del, do_line_insertion_deletion_costs):
974 Allocate and use slightly-larger cost vectors, ones based on
975 FRAME_TOTAL_LINES instead of FRAME_LINES.
976
977 Fix uninitalized value in encode_coding_object
978 * src/coding.c (encode_coding_object): Also initialize
979 coding->src_pos and coding->src_pos_byte when NILP (src_object).
980 This avoids later use of uninitialized storage.
981
982 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
983
984 * doc/lispref/variables.texi (Variable Aliases): Typo fix. (Bug#21141)
985
986 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
987
988 Merge from gnulib
989 This incorporates:
990 2015-07-27 time_rz: port better to MinGW
991 2015-07-27 time: port __need_time_t to MinGW
992 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
993 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
994 * lib/time-internal.h: New file, from gnulib.
995
996 2015-07-27 Eli Zaretskii <eliz@gnu.org>
997
998 Handle NULL pointers in w32heap.c allocation routines
999 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
1000 freeable".
1001 (realloc_after_dump, realloc_before_dump, free_before_dump):
1002 Handle NULL pointers gracefully, as Emacs now seems to expect
1003 that.
1004
1005 Fix Cairo build without PNG
1006 * src/image.c: Define PNG function when USE_CAIRO is defined, even
1007 if HAVE_PNG is not. (Bug#21133)
1008
1009 MS-Windows follow-up for recent TZ-related changes
1010 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
1011 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
1012 picking up 'struct timespec' from pthread.h, if it is installed on
1013 the user's system. We want either the definitions from MinGW
1014 system headers, if available, or the Gnulib replacements if not.
1015 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
1016 lib/time.h.
1017 * lib/time.in.h: Don't let __need_* symbols affect what happens on
1018 MinGW. These symbols are defined by MinGW system headers, but we
1019 don't want that to affect whether Gnulib portions of the header
1020 are or aren't used.
1021
1022 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
1023
1024 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
1025
1026 New optional ZONE arg for format-time-string etc.
1027 This simplifies time conversions in other time zones.
1028 It also prevents display-time-world tampering with TZ (Bug#21020).
1029 * admin/admin.el (add-release-logs):
1030 Use improved add-log-time-format API.
1031 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
1032 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
1033 * configure.ac (tzalloc): Remove test for this, since
1034 Emacs no longer uses HAVE_TZALLOC directly.
1035 * doc/lispref/os.texi (Time of Day, Time Conversion)
1036 (Time Parsing):
1037 * etc/NEWS: Document the new behavior.
1038 Merge from gnulib, incorporating:
1039 2015-07-25 strftime: fix newly-introduced bug on Solaris
1040 2015-07-23 fprintftime, strftime: use timezone_t args
1041 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1042 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
1043 * m4/time_h.m4:
1044 Update from gnulib.
1045 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
1046 New files from gnulib.
1047 * lisp/time-stamp.el (time-stamp-string):
1048 * lisp/time.el (display-time-world-list)
1049 (display-time-world-display):
1050 Use new API, with time zone arg.
1051 * lisp/time.el (display-time-world-display):
1052 Fix race when current-time advances while we're running.
1053 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
1054 (add-log-iso8601-time-string): Accept optional time zone arg.
1055 * lisp/vc/add-log.el (add-change-log-entry):
1056 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
1057 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
1058 Add rules for the time module, since they're now needed
1059 for tzalloc etc.
1060 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
1061 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
1062 * src/editfns.c: Include errno.h.
1063 (set_time_zone_rule): Omit unnecessary forward decl.
1064 (initial_tz): Remove, replacing with ...
1065 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
1066 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
1067 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
1068 (tzlookup): New static functions.
1069 (init_editfns): New arg DUMPING. All uses changed.
1070 (init_editfns): Omit most initialization if dumping, not if
1071 !initialized. Initialize wall_clock_tz and local_tz.
1072 (emacs_nmemftime, format_time_string): Time zone argument can now
1073 be any time zone, not just a boolean for UTC or local time. All
1074 callers changed.
1075 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
1076 (Fcurrent_time_zone): New optional arg ZONE.
1077 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
1078 the same form as with the other new additions.
1079 (decode_time_zone): Remove; no longer needed.
1080 (tzvalbuf): Now file-scope.
1081 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
1082 (syms_of_editfns): Define Qwall.
1083 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
1084 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
1085 [!HAVE_TZALLOC]:
1086 Remove; now supplied by gnulib.
1087 * src/emacs.c (main):
1088 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
1089
1090 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1091
1092 Fix infinite loop in delete-consecutive-dups
1093 * lisp/subr.el (delete-consecutive-dups): Work even if the last
1094 element is nil (Bug#20588). Avoid rescan of a circular list in
1095 deletion of last element.
1096
1097 2015-07-26 Martin Rudalics <rudalics@gmx.at>
1098
1099 Have `x-frame-geometry' return nil for terminal and initial frames (Bug#21132)
1100 * src/nsfns.m (Fx_frame_geometry):
1101 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
1102 terminal frames.
1103 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
1104 (Fx_frame_geometry): Return nil for terminal frames
1105
1106 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
1107
1108 * etc/tutorials/TUTORIAL.ja: Improve translation.
1109
1110 2015-07-25 Eli Zaretskii <eliz@gnu.org>
1111
1112 Avoid crashes when w32 GUI functions are called in -batch
1113 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
1114 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
1115 FRAME_W32_WINDOW for initial frame. (Bug#21132)
1116
1117 Fix flyspell-check-previous-highlighted-word
1118 * lisp/textmodes/flyspell.el
1119 (flyspell-check-previous-highlighted-word): Really accept a
1120 numeric argument, as the doc string describes. Fix an off-by-one
1121 error in looking up overlays, so invocation with point immediately
1122 after a word would check that word. Clarify the doc string as
1123 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
1124
1125 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
1126
1127 Minor cleanup in tramp-tests.el
1128 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
1129 Implement using the documented interface
1130 `tramp-connection-properties', rather than with internal functions.
1131
1132 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
1133
1134 Pass lambdas to `skeleton-read'
1135 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
1136 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
1137 lambdas to `skeleton-read' (bug#20386).
1138
1139 2015-07-24 Eli Zaretskii <eliz@gnu.org>
1140
1141 * INSTALL (DETAILED BUILDING AND INSTALLATION): Mention --without-imagemagick.
1142
1143 Don't require GUI frames and mouse for Flyspell menus
1144 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
1145 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
1146 support, since pop-up menus work with text terminals and can be
1147 controlled via the keyboard.
1148
1149 Improve documentation of Flyspell commands
1150 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
1151 can be invoked via the keyboard. Mention those commands by name
1152 and add them to the fn index. (Bug#21125)
1153
1154 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
1155
1156 Fix some Tramp problems with HP-UX
1157 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1158 Add "tab0" to stty call.
1159 * test/automated/tramp-tests.el (tramp-persistency-file-name):
1160 Set to nil.
1161 (tramp--test-hpux-p): New defun.
1162 (tramp--test-utf8): Use it.
1163
1164 2015-07-22 Glenn Morris <rgm@gnu.org>
1165
1166 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
1167
1168 2015-07-22 Eli Zaretskii <eliz@gnu.org>
1169
1170 Fix point positioning in ffap-next-guess
1171 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
1172 as our callers expect. This was clobbered as part of fixing
1173 bug#5673. (Bug#21107)
1174 (ffap-gopher-at-point): Set ffap-string-at-point-region.
1175
1176 2015-07-22 Martin Rudalics <rudalics@gmx.at>
1177
1178 Fix customization type of `even-window-sizes'.
1179 * lisp/window.el (even-window-sizes): Fix customization type.
1180
1181 2015-07-22 Martin Rudalics <rudalics@gmx.at>
1182 Optionally even widths of `display-buffer' windows. (Bug#21100)
1183 * lisp/window.el (quit-restore-window): Restore width if
1184 requested.
1185 (display-buffer-record-window): Record width when window is
1186 reused and horizontally combined.
1187 (even-window-sizes): New option to allow evening window widths.
1188 (even-window-heights): Defalias to `even-window-sizes'.
1189 (window--even-window-heights): Rename to
1190 `window--even-window-sizes'. Handle side-by-side windows.
1191 (display-buffer-use-some-window): Call `window--even-window-sizes'
1192 instead of `window--even-window-heights'.
1193 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
1194 * doc/lispref/windows.texi (Choosing Window Options): Describe
1195 `even-window-sizes'.
1196 (Coordinates and Windows): Fix typo.
1197
1198 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
1199
1200 add file name to autoload error messages.
1201 * lisp/emacs-lisp/autoload.el (autoload-save-buffers): add condition-case
1202 to add file name to error message.
1203
1204 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
1205
1206 Use 0.0.0.1 as test host in Tramp
1207 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
1208 Use 0.0.0.1 as test host.
1209
1210 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
1213 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
1214 Fix inf-loop (bug#21083).
1215
1216 2015-07-21 Glenn Morris <rgm@gnu.org>
1217
1218 * test/automated/package-test.el (package-test-signed):
1219 Update for recent changes.
1220
1221 * test/automated/elisp-mode-tests.el
1222 (elisp-xref-finds-both-function-and-variable)
1223 (elisp-xref-finds-only-function-for-minor-mode):
1224 Update for recent xref name changes.
1225
1226 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
1227
1228 Make eldoc timer non-repeatable
1229 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
1230 non-repeatable. Since it's on post-command hook, that just wasted
1231 CPU cycles.
1232
1233 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
1234
1235 Mention `tramp-connection-properties' in NEWS
1236
1237 Sync with Tramp repository
1238 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
1239 required prior changing its configuration.
1240 (Connection caching, Predefined connection information)
1241 (Remote shell setup): Fix typos.
1242 (Predefined connection information): Describe, how to overwrite
1243 parameters of `tramp-methods'.
1244 (Remote programs, Remote processes, Traces and Profiles):
1245 Simplify example.
1246 (Remote programs): Remove superfluous comment.
1247 * doc/misc/trampver.texi: Update release number.
1248 * lisp/net/tramp-cache.el (tramp-connection-properties): Adapt docstring.
1249 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
1250 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
1251 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
1252 "gvfs-mkdir -p ..." does not work robust.
1253 (tramp-gvfs-maybe-open-connection): Adapt `tramp-get-method-parameter' call.
1254 * lisp/net/tramp-sh.el (tramp-methods):
1255 Add `tramp-remote-shell-login' parameter where it fits.
1256 (tramp-get-remote-path): Use it.
1257 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
1258 (all): Adapt `tramp-get-method-parameter' calls.
1259 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
1260 (tramp-get-method-parameter): Replace argument METHOD by VEC.
1261 Check also for hits in `tramp-connection-properties'. Adapt docstring.
1262 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
1263 (all): Adapt `tramp-get-method-parameter' calls.
1264 * lisp/net/trampver.el Update release number.
1265 * test/automated/tramp-tests.el (tramp--instrument-test-case):
1266 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
1267 (tramp-test13-make-directory, tramp--test-adb-p)
1268 (tramp--test-smb-or-windows-nt-p): Simplify.
1269 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
1270 (tramp--test-special-characters): Fix docstring. Add gvfs and ftp tests.
1271 (tramp--test-utf8): Fix docstring.
1272
1273 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
1274
1275 Add new xref-query-replace command
1276 * lisp/progmodes/xref.el (xref--match-buffer-bounds): New
1277 function, extracted from xref-pulse-momentarily.
1278 (xref-query-replace): New command.
1279 (xref--query-replace-1): New helper function.
1280 (xref--xref-buffer-mode-map): Add `r' binding.
1281
1282 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
1283
1284 Simplify icalendar decoding of Z dates
1285 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
1286 Simplify calculation of time strings with trailing "Z".
1287
1288 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
1289
1290 Do not corrupt grep-find-ignored-files
1291 * lisp/progmodes/project.el (project-ignores): Change the order of
1292 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
1293
1294 Add xref-match-item, and use it
1295 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
1296 (xref-file-location): Add reader for the column slot.
1297 (xref-match-item): New class.
1298 (xref-match-bounds): A method implementation for it.
1299 (xref-make-match): New constructor function.
1300 (xref--current-item): New private variable.
1301 (xref-pulse-momentarily): Use it.
1302 (xref--pop-to-location): Change the first argument to an xref
1303 item, instead of location, bind xref--current-item.
1304 Update all callers.
1305 (xref-next-line, xref-prev-line, xref--next-error-function)
1306 (xref--mouse-2): Look for the property `xref-item',
1307 instead of `xref-location'.
1308 (xref--item-at-point): Likewise. This function replaces
1309 `xref-location-at-point'. Update all callers.
1310 (xref--insert-xrefs): Add the `xref-item' text property, instead
1311 of `xref-location'.
1312 (xref--collect-match): Use xref-make-match.
1313
1314 Rename xref--xref to xref-item
1315 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
1316 Update all references.
1317
1318 Rename xref description slot to summary
1319 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
1320 slot to `summary'.
1321
1322 vc-hg: Perform the print-log call asynchronously
1323 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
1324 asynchronously (bug#21067).
1325
1326 Add xref-after-jump-hook and xref-after-return-hook
1327 * lisp/progmodes/xref.el (xref-after-jump-hook)
1328 (xref-after-return-hook): New hooks.
1329 (xref-pulse-on-jump): Remove, in favor of the above.
1330 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
1331 (xref--pop-to-location, xref--display-position)
1332 (xref-pop-marker-stack): Use the new hooks, as requested in
1333 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
1334
1335 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
1336
1337 Correct js-mode's lighter
1338 * lisp/progmodes/js.el (js-mode): Correct the lighter.
1339
1340 2015-07-19 Leo Liu <sdl.web@gmail.com>
1341
1342 Fix a bug in cfengine3-mode
1343 * progmodes/cfengine.el (cfengine3-mode): Handle nil
1344 eldoc-documentation-function.
1345
1346 2015-07-18 Julien Danjou <julien@danjou.info>
1347
1348 sieve-mode: support "body" test command
1349 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
1350 Add missing "body" test command.
1351
1352 2015-07-18 Eli Zaretskii <eliz@gnu.org>
1353
1354 Fix info-apropos when the default encoding is Latin-N
1355 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
1356 'undecided', so that it is set to the encoding of the Info file we
1357 are about to insert. Otherwise, 'info-apropos' will fail to find
1358 some index nodes in some UTF-8 encoded files, if the buffer's
1359 previous encoding is Latin-N or some such.
1360
1361 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
1362
1363 * epg.el (epg--start): Check that gpgconf can be found before calling it.
1364
1365 Expose more file types to OS X that Emacs understands.
1366 * Cocoa/Emacs.base/Contents/Info.plist: Add editor role for sty, dtx,
1367 json, and org files. Export UTIs for el, elc, and org files.
1368
1369 2015-07-18 Eli Zaretskii <eliz@gnu.org>
1370
1371 Fix visual-order cursor movement when lines are truncated
1372 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
1373 simulate display in a window of infinite width, to allow move_it_*
1374 functions reach positions outside of normal window dimensions.
1375 Remove code that tried to handle a subset of these situations by
1376 manual iteration of buffer text. (Bug#17777)
1377
1378 Fix following Info cross-references to anchors
1379 * lisp/info.el (Info-read-subfile): Add to the returned value the
1380 length of subfile preamble, after converting it to file's byte
1381 offset, as expected by the caller. Use bufferpos-to-filepos.
1382 (Info-find-node-2): If searching for a node with a
1383 1000-character slop fails, try again with a 10000-character slop,
1384 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
1385 * lisp/international/mule-util.el (bufferpos-to-filepos): New
1386 function.
1387 * etc/NEWS: Mention bufferpos-to-filepos.
1388
1389 Fix scrolling backwards on TTY frames under scroll-conservatively
1390 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
1391 in moving backwards on TTY frames. (Bug#21080)
1392
1393 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
1394
1395 Consider a jsdoc tag to be a beginning of a paragraph as well
1396 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
1397 consider a jsdoc tag to be a beginning of a paragraph as well.
1398
1399 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
1400
1401 * lisp/emacs-lisp/package.el: Fix warnings
1402
1403 * lisp/emacs-lisp/package.el (package-buffer-info):
1404 Add author and maintainers to `package-buffer-info'.
1405
1406 * lisp/emacs-lisp/package.el: Many small changes
1407 Replace all instances of 'face with 'font-lock-face.
1408 (describe-package-1): Improve some strings and move the summary up the
1409 list.
1410 (package-install-file): Update docstring.
1411 (package-menu-hide-package): Bind to `H'.
1412
1413 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
1414 Fix error handling.
1415
1416 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
1417
1418 Fix hang with large yanks This should fix the bug fixed by Mike
1419 Crowe's patch in:
1420 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
1421 A problem in this area has been reported by several users; see
1422 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
1423 This fix differs from Mike Crowe's patch in that it should avoid a
1424 race condition that could lose SIGIO signals. ignore_sigio dates
1425 back to the 1980s when some platforms couldn't block signals, and
1426 could only ignore them, which led to races when signals arrived
1427 while being ignored. We shouldn't have to worry about those old
1428 platforms now.
1429 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
1430 * src/emacs.c (shut_down_emacs):
1431 Don't call ignore_sigio; unrequest_sigio should suffice.
1432 * src/keyboard.c (kbd_buffer_store_buffered_event):
1433 Use unrequest_sigio, not ignore_sigio.
1434 (kbd_buffer_get_event):
1435 Call request_sigio when getting the ball rolling again.
1436
1437 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
1438
1439 * lisp/obsolete/longlines.el (longlines-search-function):
1440 Fallback on `isearch-search-fun-default'.
1441
1442 2015-07-17 Tassilo Horn <tsdh@gnu.org>
1443
1444 Support @-mentions
1445 * rcirc.el (rcirc-completion-at-point): Support completion of
1446 mentions/messages with @nick instead of just nick.
1447
1448 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
1449
1450 Fix Bug#20943.
1451 * lisp/autorevert.el (auto-revert-handler): Do not check for
1452 `buffer-modified-p'.
1453 * lisp/files.el (buffer-stale--default-function): Check for
1454 `buffer-modified-p'.
1455 * test/automated/auto-revert-tests.el
1456 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
1457
1458 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
1459
1460 Fix delete-dups bug on long lists
1461 * lisp/subr.el (delete-dups):
1462 Don't mistakenly keep some dups when applied to long lists.
1463
1464 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
1465
1466 Better heuristic for C stack overflow
1467 Improve the heuristic for distinguishing stack overflows from
1468 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
1469 the getrlimit method wasn't portable to Cygwin; see:
1470 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
1471 Corinna suggested pthread_getattr_np but this also has problems.
1472 Instead, replace the low-level system stuff with a simple
1473 heuristic based on known good stack addresses.
1474 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
1475 * src/sysdep.c: Don't include <sys/resource.h>.
1476 (stack_direction): Remove. All uses removed.
1477 (stack_overflow): New function.
1478 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
1479 Make SEGV fatal in non-main threads.
1480
1481 2015-07-16 Daiki Ueno <ueno@gnu.org>
1482
1483 epg: Automatically start pinentry server
1484 * epg-config.el (epg-gpgconf-program): New variable.
1485 * epg.el (epg--start): Call `pinentry-start' if
1486 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
1487
1488 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
1489
1490 * lisp/gnus/nnimap.el: Fix my last bogus change
1491 Reinstall Stefan Monnier's change that was made in
1492 <83d824bc4041332f338ad7e5e830f443535aa300>.
1493
1494 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
1495
1496 Merge from gnulib
1497 This incorporates:
1498 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
1499 2015-07-05 acl-permissions: Fix on FreeBSD
1500 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
1501 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
1502 * lib/set-permissions.c: Copy from gnulib.
1503
1504 Port to stricter C99
1505 * src/keyboard.h (kbd_buffer_store_event_hold):
1506 Don't return a void expression.
1507
1508 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
1509
1510 * doc/emacs/frames.texi (Creating Frames): Fix the command `C-x 5 m' runs.
1511
1512 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
1513
1514 New autorevert tests.
1515 * test/automated/auto-revert-tests.el: New file.
1516
1517 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
1518
1519 Clear gcprolist etc. after stack overflow
1520 After stack overflow, command_loop calls init_eval, and this needs to
1521 clear gcprolist and byte_stack_list (Bug#20996).
1522 * src/alloc.c (init_alloc):
1523 Move gcprolist and byte_stack_list initialization from here ...
1524 * src/eval.c (init_eval): ... to here.
1525
1526 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
1527
1528 * doc/emacs/windows.texi (Pop Up Window): Fix the description of `C-x 4 m'.
1529
1530 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1531
1532 Avoid deprecated enums in mac-ct font backend driver
1533 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
1534 (mac_ctfont_get_advance_width_for_glyph)
1535 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
1536
1537 Cache font family in mac-ct font backend driver
1538 * src/macfont.m (macfont_family_cache): New variable.
1539 (syms_of_macfont): Initialize it.
1540 (macfont_available_families_cache): New variable.
1541 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
1542 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
1543 (macfont_handle_font_change_notification)
1544 (macfont_init_font_change_handler)
1545 (macfont_copy_available_families_cache): New functions.
1546 (macfont_create_family_with_symbol): Use font family caches.
1547 (macfont_list, macfont_list_family): Use
1548 macfont_copy_available_families_cache instead of
1549 mac_font_create_available_families.
1550
1551 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
1552
1553 Show the default value in the prompt
1554 * lisp/progmodes/xref.el: Add `M-?' binding for
1555 xref-find-references. Declare functions `grep-read-files' and
1556 `grep-expand-template'.
1557 (xref--read-identifier): Show the default value in the prompt.
1558
1559 When called with prefix argument, ask for file patterns to search as well
1560 * lisp/progmodes/xref.el (xref-find-regexp): When called with
1561 prefix argument, ask for file patterns to search as well. When
1562 prompting for the directory, require an existing one.
1563 (xref-collect-matches): Add a new argument, FILES. Use it in the
1564 above function.
1565
1566 Add `project-ignores'
1567 * lisp/progmodes/project.el (project-ignores): New generic
1568 function, and an implementation for the VC project type.
1569 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
1570 variant of rgrep-default-command that handles a generic list of
1571 ignores.
1572 (xref-collect-matches): Use it, and pass through to it the value
1573 of the newly added argument.
1574 (xref-find-regexp): Handle ignored paths within the project.
1575 Remove outdated comment.
1576 * lisp/vc/vc.el (vc-default-ignore-completion-table):
1577 Skip the comments and the empty lines.
1578
1579 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
1580
1581 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
1582
1583 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
1584
1585 gnus-registry.el: Correct function argument order
1586 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
1587 Reverse the order of function arguments.
1588
1589 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
1590
1591 Bind grep-highlight-matches to nil
1592 * lisp/progmodes/xref.el (xref-collect-matches):
1593 Bind grep-highlight-matches to nil (bug#20728).
1594
1595 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
1596
1597 nnimap.el: Fix IMAP message size parsing
1598 * lisp/gnus/nnimap.el (nnimap-transform-headers):
1599 Don't assume that UID comes before RFC822.SIZE.
1600
1601 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
1604 (auth-source-creation-prompts): Declare.
1605 (nnimap-retrieve-headers, nnimap-status-message)
1606 (nnimap-request-create-group, nnimap-request-delete-group)
1607 (nnimap-close-group, nnimap-request-move-article)
1608 (nnimap-request-accept-article, nnimap-request-newgroups)
1609 (nnimap-request-post, nnimap-dummy-active-number)
1610 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
1611 (nnimap-parse-flags): Remove unused var `p'.
1612 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
1613 (nnimap-flags-to-marks): Remove unused var `totalp'.
1614
1615 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
1616
1617 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
1618
1619 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1620
1621 * src/macfont.m (macfont_list): Ignore font families lacking font descriptors.
1622
1623 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 Don't check the exit status, it can be misleading
1626 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
1627 exit status, it can be misleading.
1628
1629 Introduce a Project API
1630 * lisp/progmodes/project.el: New file.
1631 * lisp/cedet/ede.el: (project-try-ede): New function.
1632 (project-root): New implementation.
1633 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
1634 Set project-search-path-function.
1635 (elisp--xref-find-references): Delegate some logic to
1636 project-search-path.
1637 (elisp-search-path): New function.
1638 (elisp-xref-find): Don't implement `matches' anymore.
1639 * lisp/progmodes/etags.el: Don't implement `matches'.
1640 Delegate some logic to project-search-path.
1641 (etags-search-path): New function.
1642 * lisp/progmodes/xref.el (xref-find-function):
1643 Remove `matches' from the API.
1644 (xref-find-regexp): Move whatever common logic was in elisp and
1645 etags implementations, and search the directories returned by
1646 project-directories and project-search-path.
1647
1648 2015-07-09 Nicolas Petton <nicolas@petton.fr>
1649
1650 * test/automated/map-tests.el (test-map-delete-return-value): Uncomment test.
1651
1652 Add support for gv.el in map.el
1653 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
1654 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
1655 * test/automated/map-tests.el: Update tests to work with the new
1656 implementations of map-elt and map-put.
1657
1658 2015-07-09 Glenn Morris <rgm@gnu.org>
1659
1660 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
1661
1662 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
1663
1664 Syntax-propertize until the end of the line first
1665 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
1666 until the end of the line first.
1667
1668 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
1669
1670 * doc/emacs/files.texi (File Archives): Add a cross reference.
1671
1672 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
1673
1674 nnimap.el: Handle plain value for nnimap-stream
1675 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
1676 capabilities, so that a 'plain value for the `nnimap-stream' server
1677 variable is handled correctly.
1678 * doc/misc/gnus.texi (Customizing the IMAP Connection):
1679 Document the 'plain option.
1680
1681 2015-07-08 Leo Liu <sdl.web@gmail.com>
1682
1683 Fix bug in thing-at-point--bounds-of-well-formed-url
1684 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
1685 sure boundary contains current point.
1686
1687 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
1688
1689 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse' in the end.
1690
1691 Declare whitespace-line-column a safe file-local
1692 * lisp/whitespace.el (whitespace-line-column): Declare to be a
1693 safe file-local when the value is an integer.
1694
1695 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
1696
1697 gnus-group.el: Check if group names are already strings
1698 * lisp/gnus/gnus-group.el (gnus-group-group-name):
1699 The group name may already be a string.
1700 Specifically, in the group list reached from the *Server* buffer,
1701 the 'gnus-group text property returns a string. Everywhere else
1702 it returns a symbol.
1703
1704 nnimap.el: Remove unused let variables
1705 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
1706
1707 2015-07-08 Eli Zaretskii <eliz@gnu.org>
1708
1709 Support "maximized" property of runemacs's shortcut
1710 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
1711 the '--maximized' switch to Emacs.
1712
1713 Support "minimized" property of runemacs's shortcut
1714 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
1715 pass the '--iconic' switch to Emacs. (Bug#20991)
1716
1717 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
1718
1719 Doc fixes
1720 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
1721 C-w' in Diff mode.
1722 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
1723 Add a cross reference.
1724
1725 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
1726
1727 * lisp/obsolete/landmark.el: Add Obsolete-since header
1728
1729 2015-07-07 Glenn Morris <rgm@gnu.org>
1730
1731 * test/automated/ert-tests.el (ert-test-deftest):
1732 Update for recent changes.
1733
1734 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
1737 * lisp/emacs-lisp/gv.el (gv-setter): New function.
1738 (gv-invalid-place): New error.
1739 (gv-get): Use them.
1740 (gv-synthetic-place, gv-delay-error): New places.
1741 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
1742 (cl-defgeneric, cl-defmethod): Use gv-setter.
1743
1744 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
1745
1746 Make vc-tests work with MSYS svn program
1747 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
1748 svn is an MSYS program.
1749
1750 2015-07-07 Ken Brown <kbrown@cornell.edu>
1751
1752 Improve recent change to emacsclient on Cygwin
1753 * lisp/server.el (server-process-filter): Remove redundant check
1754 that 'cygwin-convert-file-name-from-windows' is defined as a
1755 function on Cygwin. Don't call that function unless its argument
1756 starts with a drive letter.
1757
1758 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
1759
1760 * lisp/emacs-lisp/package.el (package-compute-transaction): Bug fix
1761 Fix void variable due to `found-something' being in the wrong `let'.
1762
1763 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1764
1765 * lisp/play/landmark.el: Move to lisp/obsolete/
1766
1767 2015-07-07 Martin Rudalics <rudalics@gmx.at>
1768
1769 Have `x-show-tip' handle `right' and `bottom' frame parameters.
1770 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
1771 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
1772 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
1773 tooltips also via `right' and `bottom' frame parameters.
1774
1775 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 Add online-help support to describe types
1778 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
1779 (describe-symbol): Improve the selection of default.
1780 * lisp/help-mode.el: Require cl-lib.
1781 (describe-symbol-backends): Move from help-fns.el.
1782 (help-make-xrefs): Use it.
1783 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
1784 for types.
1785 (cl--typedef-regexp): New const.
1786 (find-function-regexp-alist): Add entry for types.
1787 (cl-help-type, cl-type-definition): New buttons.
1788 (cl-find-class): New function.
1789 (cl-describe-type): New command.
1790 (cl--describe-class, cl--describe-class-slot)
1791 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
1792 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
1793 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
1794 New functions. Moved from eieio-opt.el.
1795 (cl--generic-class-parents): New function, extracted from
1796 cl--generic-struct-specializers.
1797 (cl--generic-struct-specializers): Use it.
1798 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
1799 Improve constructor's docstrings.
1800 (cl-struct-unknown-slot): New error.
1801 (cl-struct-slot-offset): Use it.
1802 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
1803 definition in current-load-list.
1804 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
1805 (eieio--add-new-slot): Set it.
1806 (eieio-defclass-internal): Use new name for current-load-list.
1807 (eieio-oref): Add compiler-macro to warn about unknown slots.
1808 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
1809 as compile-time as well. Improve constructor docstrings.
1810 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
1811 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
1812 (eieio-class-def): Remove button.
1813 (eieio-help-constructor): Use new name for load-history element.
1814 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
1815 (eieio-method-documentation): Move to cl-generic.el.
1816 (eieio-display-method-list): Use new names.
1817 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1818 Add "define-linline".
1819 (lisp-fdefs): Remove "defsubst".
1820 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
1821 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
1822 (macroexp--warn-and-return): Use it to avoid inf-loops.
1823 Add `compile-only' argument.
1824
1825 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
1826
1827 python.el: Fix local/remote shell environment setup
1828 * lisp/progmodes/python.el (python-shell-with-environment): Fix
1829 remote/local environment setup.
1830 * test/automated/python-tests.el (python-shell-with-environment-1)
1831 (python-shell-with-environment-2): New tests.
1832
1833 2015-07-06 Glenn Morris <rgm@gnu.org>
1834
1835 * lisp/simple.el (set-variable): Tweak recent doc fix.
1836
1837 2015-07-06 Ken Brown <kbrown@cornell.edu>
1838
1839 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE
1840
1841 2015-07-06 Glenn Morris <rgm@gnu.org>
1842
1843 * lisp/simple.el (set-variable): Use user-error for type mismatch.
1844
1845 2015-07-06 Ken Brown <kbrown@cornell.edu>
1846
1847 * src/emacs.c (main): Don't increase the stack size on Cygwin
1848
1849 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 (describe-symbol): Rewrite describe-function-or-variable
1852 * lisp/help-fns.el (describe-symbol-backends): New var.
1853 (help-xref-stack-item): Declare.
1854 (describe-symbol): Rename from describe-function-or-variable.
1855 Rewrite using describe-symbol-backends instead of help-xref-interned.
1856 * lisp/help.el (help-map): Use it.
1857 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
1858 (help-xref-interned): Make it into an obsolete alias.
1859
1860 (eieio-persistent-save): Don't ignore `file' arg (bug#20972)
1861 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
1862 `file' arg. Always use utf-8-emacs. Use with-temp-buffer and cl-letf.
1863
1864 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
1865
1866 Fix parsing glitches in dired-mark-sexp (bug#13575)
1867 * lisp/dired-x.el (dired-x--string-to-number): New function.
1868 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
1869 of directory-listing-before-filename-regexp. Consider
1870 forward-word harmful and replace it. Add more verbiage in
1871 comments and doc string.
1872
1873 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
1874
1875 python.el: Respect process environment for remote shells
1876 * lisp/progmodes/python.el
1877 (python-shell-calculate-process-environment): Calculate
1878 process-environment or tramp-remote-process-environment depending
1879 whether current file is remote.
1880 (python-shell-calculate-exec-path): Calculate exec-path or
1881 tramp-remote-path depending whether current file is remote.
1882 (python-shell-with-environment): New macro.
1883 (python-shell-prompt-detect, python-shell-calculate-command)
1884 (python-shell-make-comint, python-check): Use it.
1885
1886 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
1887 * lisp/progmodes/python.el (python-shell--interpreter)
1888 (python-shell--interpreter-args): New vars.
1889 (inferior-python-mode, python-shell-make-comint): Use them.
1890
1891 python.el: Fixes for IPython 3.x (Bug#20580)
1892 * lisp/progmodes/python.el:
1893 (python-shell-completion-native-setup): Fix IPython 3.x setup.
1894 (python-shell-completion-native-get-completions): Fix timeout
1895 logic.
1896
1897 python.el: Fix mark-defun behavior (Bug#19665)
1898 * lisp/progmodes/python.el: (python-mark-defun): New function.
1899 * test/automated/python-tests.el (python-mark-defun-1)
1900 (python-mark-defun-2, python-mark-defun-3): New tests.
1901
1902 2015-07-05 Glenn Morris <rgm@gnu.org>
1903
1904 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
1905 such as "extends(parent), private". (Bug#20969)
1906 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
1907 New tests.
1908
1909 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
1910
1911 Avoid duplicate calls to current_timespec
1912 * src/process.c (wait_reading_process_output):
1913 Cache current_timespec results as long as we're not waiting.
1914
1915 2015-07-05 Ian Kelling <ian@iankelling.org>
1916
1917 Avoid returning early reading process output due to SIGIO
1918 * src/process.c (wait_reading_process_output): Extend the behavior of
1919 not breaking due to not finding output when a timer has lowered the
1920 timeout to include when SIGIO lowers the timeout.
1921
1922 Don't return as fast reading any process output
1923 * src/process.c (wait_reading_process_output):
1924 The patch for Bug#17647 returns too fast sometimes when reading
1925 from any processes. Revert part of it, and limit the timeout more
1926 sensibly (Bug#20978).
1927
1928 Refactor timeouts in wait_reading_process_output
1929 * src/process.c (wait_reading_process_output):
1930 Simplify timeouts with an enum. Remove a redundant condition.
1931 (Bug#20978)
1932
1933 Remove ADAPTIVE_READ_BUFFERING ifdef
1934 * src/process.c (make-process, make-pipe-process, deactivate_process)
1935 (wait_reading_process_output, read_process_output, send_process)
1936 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
1937 added in case there was an operating system in which it was not
1938 useful. That was 11 years ago and it hasn't happened. Make
1939 development easier by not considering the effect of changes on a
1940 theoretical OS where this is disabled (Bug#20978).
1941
1942 2015-07-05 Glenn Morris <rgm@gnu.org>
1943
1944 * lisp/simple.el (set-variable): Doc fix.
1945
1946 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
1947
1948 2015-07-05 Ian Kelling <ian@iankelling.org>
1949
1950 accept-process-output fix
1951 This is a followon to the fix for Bug#17647 (Bug#20976).
1952 * src/process.c (status_notify): Fix too high return in some cases.
1953
1954 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
1955
1956 * lisp/character-fold.el (character-fold-table):
1957 Only fold decompositions if at least one character is non-spacing.
1958 (Bug#20975)
1959
1960 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
1961
1962 Merge from gnulib
1963 This incorporates:
1964 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
1965 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
1966 2015-07-02 update-copyright: fix test failure with perl >= 5.22
1967 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
1968 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
1969 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
1970 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
1971
1972 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
1973
1974 Respect `prog-indentation-context' in python.el
1975 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
1976 (python-indent-context, python-indent--calculate-indentation)
1977 (python-info-current-defun)
1978 (python-info-dedenter-opening-block-message)
1979 (python-info-line-ends-backslash-p)
1980 (python-info-beginning-of-backslash)
1981 (python-info-continuation-line-p): Use `prog-widen'.
1982 (python-indent--calculate-indentation)
1983 (python-indent--calculate-levels)
1984 (python-indent-calculate-indentation): Use `prog-first-column'.
1985 (python-indent--calculate-levels): Simplify.
1986 Ignore also initial empty lines for syntax calculation.
1987 * lisp/progmodes/python.el (python-indent-context): Return
1988 :no-indent for first non-empty line, not just in line 1.
1989 * test/automated/python-tests.el (python-indent-base-case)
1990 (python-indent-inside-paren-1, python-indent-inside-paren-2)
1991 (python-indent-inside-paren-3, python-indent-inside-paren-4)
1992 (python-indent-inside-paren-5, python-indent-inside-paren-6)
1993 (python-indent-after-backslash-1)
1994 (python-indent-after-backslash-2)
1995 (python-indent-after-backslash-3)
1996 (python-indent-after-backslash-4, python-indent-inside-string-1):
1997 Expect :no-indent for first non-empty line.
1998
1999 2015-07-04 Daniel Colascione <dancol@dancol.org>
2000
2001 Factor isearch word description into new function
2002 * lisp/isearch.el (isearch--describe-word-mode): New function.
2003 (isearch-message-prefix, isearch-query-replace): Use it.
2004
2005 2015-07-04 Eli Zaretskii <eliz@gnu.org>
2006
2007 Fix mouse pointer on w32 when a menu is active
2008 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
2009 shape while a menu is in use. This started happening since we now
2010 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
2011
2012 2015-07-04 Martin Rudalics <rudalics@gmx.at>
2013
2014 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
2015 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
2016 parameter. (Bug#17344)
2017
2018 Have `compilation-set-window' use right window for getting fringes (Bug#20829)
2019 * lisp/progmodes/compile.el (compilation-set-window): Take
2020 `window-fringes' from argument window. (Bug#20829)
2021
2022 2015-07-03 Glenn Morris <rgm@gnu.org>
2023
2024 Update eieio tests for recent eieio-core change.
2025 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
2026 * test/automated/eieio-tests.el
2027 (eieio-test-32-slot-attribute-override-2):
2028 Replace the deleted eieio--class-v with cl--find-class.
2029
2030 2015-07-03 Martin Rudalics <rudalics@gmx.at>
2031
2032 Fix some issues with `window-divider-mode'
2033 * lisp/frame.el (window-divider-default-places): New option.
2034 (window-divider-mode): Remove option.
2035 (window-divider-mode): Make it a "regular" minor mode.
2036 (window-divider-width-valid-p): Drop frame- prefix.
2037 (window-divider-mode-apply): New argument ENABLE. Drop frame-
2038 prefix. Handle `window-divider-default-places'.
2039 (frame--window-divider-mode-set-and-apply): Remove.
2040 (window-divider-default-bottom-width)
2041 (window-divider-default-right-width): Drop :group entries.
2042 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
2043 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
2044 (menu-bar-no-window-divider): Set `window-divider-default-places'
2045 and call `window-divider-mode'.
2046 * doc/emacs/frames.texi (Window Dividers): Document
2047 `window-divider-default-places'.
2048
2049 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
2050
2051 Add cross references in documentation
2052 * doc/emacs/display.texi (Displaying Boundaries):
2053 * doc/emacs/search.texi (Word Search): Add cross references.
2054
2055 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
2056
2057 -batch should not affect ‘’ -> `' display
2058 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
2059 -batch (Bug#20926).
2060
2061 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
2064 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el,
2065 lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
2066 Use cl--find-class instead.
2067
2068 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
2069
2070 2015-07-02 Martin Rudalics <rudalics@gmx.at>
2071
2072 Some further fixes in Change Window node. (Bug#20183)
2073 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
2074 by "resizing" in section title. Add some concept indices.
2075 Suggested by N. Jackson (Bug#20183).
2076
2077 Reference window dividers in Change Window section.
2078 * doc/emacs/windows.texi (Change Window): Reference window
2079 dividers.
2080
2081 Document new `window-divider-mode'.
2082 * lisp/frame.el (window-divider-mode): Fix doc-string.
2083 * doc/emacs/frames.texi (Window Dividers): New section.
2084
2085 Improve accessibility of window dividers. (Bug#20183)
2086 * lisp/faces.el (window-divider)
2087 (window-divider-first-pixel, window-divider-last-pixel): Change
2088 membership from `frames' to `window-divider' customization group.
2089 * lisp/frame.el (window-divider): New customization group.
2090 (window-divider-mode): New minor mode.
2091 (window-divider-default-bottom-width)
2092 (window-divider-default-right-width): New options.
2093 (frame--window-divider-previous-mode): New variable.
2094 (frame-window-divider-width-valid-p)
2095 (frame--window-divider-mode-apply)
2096 (frame--window-divider-mode-set-and-apply): New functions.
2097 * lisp/menu-bar.el (menu-bar-options-save): Save
2098 window-divider-mode settings.
2099 (menu-bar-window-divider-customize)
2100 (menu-bar-bottom-and-right-window-divider)
2101 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
2102 (menu-bar-no-window-divider): New functions.
2103 (menu-bar-showhide-window-divider-menu): New variable.
2104 (menu-bar-showhide-menu): Show/hide window divider menu.
2105 * lisp/mouse.el (mouse-split-window-vertically)
2106 (mouse-split-window-horizontally): Replace `error' by
2107 `user-error'. Bind `window-combination-resize' to nil.
2108 (top-level): Add/reorder mouse key bindings on mode- and
2109 vertical-line.
2110
2111 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
2112
2113 Don't display ‘’ as `' under X in en_GB
2114 The curved quote setup code invokes (char-displayable-p ?‘),
2115 but this isn’t reliable until after the X frame replaces the
2116 terminal frame (Bug#20926).
2117 * lisp/international/mule-cmds.el (set-locale-environment):
2118 Move curved quote setup code from here ...
2119 * lisp/startup.el (command-line): ... to here, after creating
2120 the X frame.
2121
2122 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
2123
2124 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring
2125
2126 Add argument to reverse the meaning of ido-restrict-to-matches
2127 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
2128 to reverse the meaning (Bug#15631).
2129
2130 2015-07-01 Eli Zaretskii <eliz@gnu.org>
2131
2132 Be more tolerant to fonts named "Foobar-12"
2133 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
2134 don't barf; instead, request a new fontset to be generated. This
2135 avoids unnecessarily rejecting fonts named against XLFD rules. See
2136 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
2137 for the description of the original problem.
2138 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
2139 by a hyphen in a font's name.
2140
2141 Fix value of posn-at-pont in R2L lines
2142 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
2143 coordinate of -1, for a newline in a right-to-left line that
2144 overflowed into the left fringe.
2145
2146 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 (cl--copy-slot-descriptor): Copy the `props' alist as well
2149 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
2150 Rename from cl--copy-slot-descriptor.
2151 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
2152
2153 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
2156 (xterm-query-timeout): New var.
2157 (xterm--query): Use it. Fallback on async method if we timeout before
2158 getting the first byte of the reply (bug#12354).
2159
2160 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
2161
2162 Spelling fixes
2163
2164 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
2165
2166 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
2167
2168 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
2169
2170 In strings, prefer plain ` and ' to \` and \'
2171 * lisp/allout.el (allout-insert-listified):
2172 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2173 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
2174 (ls-lisp-string-lessp):
2175 * lisp/menu-bar.el (menu-bar-open):
2176 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
2177 * lisp/progmodes/compile.el (compile):
2178 * lisp/progmodes/etags.el (tags-loop-scan):
2179 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
2180 * lisp/subr.el (posn-actual-col-row):
2181 * lisp/term/pc-win.el (x-list-fonts):
2182 * lisp/textmodes/texinfmt.el (texinfmt-version):
2183 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
2184 * lisp/time.el (display-time-world-list):
2185 * lisp/tmm.el (tmm-menubar):
2186 * src/buffer.c (syms_of_buffer):
2187 * src/fileio.c (syms_of_fileio):
2188 Omit unnecessary and confusing backslash before quote.
2189 * lisp/erc/erc.el (erc-cmd-LASTLOG):
2190 * lisp/progmodes/flymake.el (flymake-fix-file-name):
2191 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
2192 Fix string that was intended to escape a backslash and not a quote.
2193
2194 2015-06-30 Glenn Morris <rgm@gnu.org>
2195
2196 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
2197
2198 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
2199 Replace hard-coded lists with wildcard + filter-out.
2200
2201 * configure.ac (system-configuration-features): Add X11, NS.
2202
2203 Improve reproducibility of generated loaddefs file.
2204 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2205 Make the return value the modtime of the input file (if no autoloads).
2206 (update-directory-autoloads): In the "no autoloads" section,
2207 use "most recent modtime" rather than "current time".
2208
2209 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
2210
2211 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic
2212 (Bug#20930)
2213
2214 2015-06-30 Nicolas Petton <nicolas@petton.fr>
2215
2216 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
2217
2218 Add seq-min and seq-max
2219 Bump version number.
2220 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
2221 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
2222
2223 2015-06-30 Eli Zaretskii <eliz@gnu.org>
2224
2225 Make sure sleep-for always delays for as long as it's told
2226 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
2227 a loop, to ensure we always wait exactly the required amount of
2228 time. (Bug#15990)
2229
2230 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
2231
2232 Fix pointer signedness glitch
2233 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
2234
2235 2015-06-30 Eli Zaretskii <eliz@gnu.org>
2236
2237 Don't block changes in mouse pointer inside 'track-mouse'
2238 * etc/NEWS:
2239 * doc/lispref/frames.texi (Mouse Tracking): Document the special
2240 effect of setting 'track-mouse' to 'dragging'.
2241 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
2242 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
2243 * lisp/mouse-drag.el (mouse-drag-throw):
2244 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
2245 to avoid changes in the shape of the mouse pointer.
2246 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
2247 pointer shape when do_mouse_tracking has the value of 'dragging',
2248 not just any non-nil value. (Bug#20934)
2249 (syms_of_xdisp): DEFSYM 'dragging'.
2250
2251 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
2252
2253 * lisp/isearch.el (isearch-toggle-word): Fix toggle
2254
2255 * lisp/emacs-lisp/package.el (package-compute-transaction):
2256 Don't assume version sorting.
2257
2258 * lisp/emacs-lisp/package.el (package--save-selected-packages):
2259 Don't save before init time, to avoid overwriting configurations.
2260 (Bug#20855)
2261
2262 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
2263
2264 Add cross references.
2265 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
2266 references.
2267
2268 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
2269
2270 cfengine.el: update for the upcoming CFEngine 3.7 release
2271 Update for the upcoming CFEngine 3.7 release: support macros and
2272 quoted context strings; reformat JSON; indent promise attributes 2
2273 units by default; give function parameter descriptions in the eldoc
2274 glue.
2275 * cfengine.el: Update version and docs and fix name. Autoload
2276 `json-pretty-print'. Support new features in 3.7.
2277 (cfengine-parameters-indent): Set default promise attribute indent to
2278 2 more than the promise itself.
2279 (cfengine3-macro-regex): New variable to match the new macro syntax.
2280 (cfengine3-font-lock-keywords): Use it to highlight macros.
2281 (cfengine3-indent-line): Use it to indent macros to column 0.
2282 (cfengine3-class-selector-regex): Update for the new quoted strings
2283 format.
2284 (cfengine3-reformat-json-string): New function to reformat a JSON
2285 string using `json-pretty-print'.
2286 (cfengine3-format-function-docstring): Use function parameter
2287 description if it's provided by the cf-promises syntax dump.
2288
2289 2015-06-29 Michael R. Mauger <michael@mauger.com>
2290
2291 Cygwin emacsclient handles w32 file names
2292
2293 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
2294
2295 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925).
2296
2297 2015-06-29 Eli Zaretskii <eliz@gnu.org>
2298
2299 * doc/lispref/text.texi (Sticky Properties): Improve wording.
2300 (Bug#20924)
2301
2302 Allow font names that end in "-NN", where NN is a number
2303 * src/font.c (font_load_for_lface): If the font-spec didn't match
2304 any available fonts, try again without interpreting trailing "-NN"
2305 as the font size. For the description of the original problem, see
2306 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
2307
2308 .gdbinit followup to changes in !USE_LSB_TAG
2309 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
2310 !USE_LSB_TAG, as Emacs no longer does.
2311
2312 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
2313
2314 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
2315 Otherwise `s p' of f and F will stomp on each other's value. (Bug#20916)
2316
2317 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
2318
2319 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
2320 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
2321
2322 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2323
2324 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point as additional guess
2325
2326 * lisp/emacs-lisp/package.el (describe-package): Convert the guess to a string
2327
2328 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
2329
2330 apropos-library quoting fix
2331 * lisp/apropos.el (apropos-library): Quote library consistently
2332 with the rest of the quoting used by apropos.
2333
2334 Clarify interpreter-mode-alist doc
2335 * lisp/files.el (interpreter-mode-alist):
2336 Reword to avoid confusing quoting that wasn't working anyway.
2337
2338 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
2339
2340 Sync with Tramp 2.2.12
2341 * doc/misc/trampver.texi:
2342 * lisp/net/trampver.el: Update release number.
2343 * test/automated/tramp-tests.el (tramp-test13-make-directory):
2344 Fix cleanup.
2345
2346 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
2347
2348 * lisp/isearch.el (isearch-mode): Don't char-fold regexps
2349 (bug#20913)
2350
2351 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
2352
2353 Bind grep-highlight-matches around the rgrep call
2354 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
2355 around the rgrep call (bug#20728).
2356
2357 Put "--color" before the other options in grep-command
2358 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
2359 before the other options in grep-command (bug#20912).
2360
2361 Add --color Grep option to the command dynamically
2362 * lisp/progmodes/grep.el (grep-template, grep-find-template):
2363 Update the description for <C>. (Bug#20728)
2364 (grep-compute-defaults): Don't add the --color option to
2365 grep-options. Only add it to grep-command.
2366 (grep-expand-keywords): Expand the env value opts into <C>.
2367 (grep-expand-template): Replace cf in the env with the opts list,
2368 that can include -i and --color.
2369 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
2370 "--color=always" from the template, because we don't have to.
2371
2372 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
2373
2374 cl-extra fixes for most-negative-fixnum
2375 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
2376 Don't mishandle an argument equal to most-negative-fixnum,
2377 whose absolute value equals itself.
2378 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
2379
2380 Initialize cl--gensym-counter to 0
2381 Previously it was initialized to a random value, which made it
2382 harder to reproduce earlier Emacs runs. The need for a random
2383 value went away when Emacs introduced and used the #: syntax for
2384 uninterned symbols (Bug#20862).
2385 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
2386 Document that cl--gensym-counter now starts with 0.
2387 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
2388 (cl--random-time): Move to near only remaining use.
2389 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
2390
2391 Improve docstring for macroexp-let2
2392 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
2393 Improve as per suggestion by RMS in:
2394 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
2395 Also, rename args to match new doc string.
2396
2397 2015-06-27 Eli Zaretskii <eliz@gnu.org>
2398
2399 Fix VC test suite on MS-Windows
2400 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
2401 always starts with 3 slashes after the colon.
2402 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
2403 'w32-application-type' to invoke CVS on MS-Windows with properly
2404 formatted CVSROOT directory name.
2405
2406 Add a new function w32-application-type
2407 * src/w32proc.c (Fw32_application_type): New function.
2408
2409 Avoid error in TLS connections due to incorrect format
2410 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
2411 the call to 'error', instead of the unsupported %u. Reported by
2412 lo2net <fangtao0901@gmail.com>. (Bug#20908)
2413
2414 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
2415
2416 * lisp/replace.el (replace-search): Fix regexp case (bug#20901)
2417
2418 2015-06-26 Leo Liu <sdl.web@gmail.com>
2419
2420 Fix indentation for with-output-to-string
2421 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
2422 `with-output-to-string' in elisp.
2423 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string"
2424 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
2425
2426 2015-06-26 Eli Zaretskii <eliz@gnu.org>
2427
2428 Minor corrections in ELisp manual
2429 * doc/lispref/nonascii.texi (Character Properties): Correct
2430 inaccuracies in description of values of the Unicode properties.
2431
2432 Fix invisible mouse pointers on Windows.
2433 * src/w32fns.c: Include windowsx.h.
2434 (w32_wnd_proc): If the mouse moved and the mouse pointer is
2435 invisible, make it visible again even when the main (Lisp)
2436 thread is busy.
2437 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
2438 garbaging the frame have the input thread call SetCursor.
2439
2440 2015-06-26 Martin Rudalics <rudalics@gmx.at>
2441
2442 Provide invisible mouse pointers on Windows. (Bug#6105) (Bug#12922)
2443 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
2444 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
2445 * src/w32term.c (w32_hide_hourglass): Handle
2446 f->pointer_invisible.
2447 (w32_toggle_invisible_pointer): New function.
2448 (w32_create_terminal): Add w32_toggle_invisible_pointer as
2449 toggle_invisible_pointer_hook for this terminal.
2450
2451 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
2452
2453 Doc fix for deletion commands
2454 'delete-char' does not respect the value of 'delete-active-region'.
2455 * doc/emacs/killing.texi (Deletion):
2456 Fix documentation for some single-char deletion commands.
2457
2458 * doc/emacs/help.texi (Apropos):
2459 Improve documentation of 'apropos-do-all'.
2460
2461 * doc/emacs/help.texi (Help Summary):
2462 Improve documentation of 'describe-mode'.
2463
2464 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
2465
2466 Fix submake dependency bug with .h files
2467 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
2468 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
2469 before the submake in $(libsrc) would spin off a subsubmake
2470 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
2471
2472 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
2473
2474 * lisp/character-fold.el (character-fold-table): Reuse `table'
2475
2476 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
2477
2478 Translate undisplayable ‘ to `
2479 * doc/lispref/help.texi (Keys in Documentation):
2480 * lisp/international/mule-cmds.el (set-locale-environment):
2481 * lisp/term/w32console.el (terminal-init-w32console):
2482 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
2483 If ‘ is not displayable, transliterate it to `, not to '. See:
2484 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
2485
2486 Fix C99 incompatibilities in Cairo code
2487 * src/image.c (xpm_load) [USE_CAIRO]:
2488 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
2489 Fix pointer signedness problem.
2490
2491 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
2492
2493 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
2494 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
2495 `with-output-to-string' should have the same indent as `progn'.
2496 This is in line with the declaration of `with-output-to-string'.
2497
2498 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
2499
2500 Get ‘./configure; make -C src emacs’ to work
2501 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
2502 * lib-src/Makefile.in (../lib/libgnu.a):
2503 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
2504
2505 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
2506
2507 Fix GC bugs --with-wide-int and Qnil == 0
2508 Use the same alignment for the !USE_LSB_TAG case as for the
2509 more-typical USE_LSB_TAG case. The attempt to support arbitrary
2510 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
2511 once we changed the representation of symbols so that Qnil == 0.
2512 Problem reported by Eli Zaretskii (Bug#20862).
2513 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
2514 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
2515 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
2516 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
2517 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
2518 This optimization in the !USE_LSB_TAG case is no longer valid when
2519 symbols are represented via offsets. Change the only use to
2520 assume that pointers might hide in objects.
2521 * src/lisp.h (alignas) [!USE_LSB_TAG]:
2522 Require support in this case, too.
2523 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
2524 This is OK, because the !USE_LSB_TAG case now applies only when
2525 Lisp_Object is wider than void *, so there's no longer any need
2526 to shift the offset. Not shifting the offset means that
2527 symbol representations have the same alignment as pointers,
2528 which the GC assumes.
2529
2530 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
2531
2532 * doc/lispintro/emacs-lisp-intro.texi (Data types):
2533 Improve documentation of 'substring'.
2534
2535 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
2536
2537 * lisp/character-fold.el (character-fold-table): Fix table generation
2538
2539 2015-06-24 Glenn Morris <rgm@gnu.org>
2540
2541 * nextstep/Makefile.in (all): Make it the first target.
2542 (../src/emacs${EXEEXT}): Add rule for making it.
2543
2544 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
2545
2546 * etc/NEWS: Fix mention to old function name
2547
2548 * lisp/character-fold.el: New file (Bug#20887)
2549 (character-fold-to-regexp): New function.
2550 * lisp/replace.el (replace-search): Check value of
2551 `character-fold-search'.
2552 * lisp/isearch.el: Move character-folding code to
2553 character-fold.el
2554 (isearch-toggle-character-fold): New command.
2555 (isearch-mode-map): Bind it to "\M-sf".
2556 (isearch-mode): Check value of `character-fold-search'.
2557
2558 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * lisp/subr.el (remove-from-invisibility-spec): Handle the t case
2561 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
2562 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
2563
2564 * lisp/progmodes/xref.el: Avoid init-args in oref.
2565 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
2566 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
2567
2568 2015-06-24 Glenn Morris <rgm@gnu.org>
2569
2570 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
2571
2572 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * lisp/gnus/nnmaildir.el: Silence lexical warnings
2575 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
2576 functional style.
2577 (nnmaildir--update-nov): Remove unused var `numdir'.
2578 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
2579 (nnmaildir-request-group, nnmaildir-request-create-group)
2580 (nnmaildir-request-post, nnmaildir-request-move-article)
2581 (nnmaildir-request-accept-article, nnmaildir-active-number): Mark unused args.
2582 (nnmaildir-get-new-mail, nnmaildir-group-alist)
2583 (nnmaildir-active-file): Declare.
2584 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
2585 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
2586 `mark', `end', `new-mark', and `mark-sym'.
2587 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
2588 `nlist2'.
2589 (nnmaildir-request-expire-articles):
2590 Remove unused vars `article', `stop' and `nlist2'.
2591 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
2592 `end'. Use nnmaildir--article when dyn-binding is needed.
2593 Give the value directly in the `let' for `del-mark', `del-action',
2594 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
2595 (nnmaildir-close-server): Declare those local vars that need to be
2596 dyn-bound.
2597
2598 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
2599
2600 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
2601
2602 Port selection info fix to clang
2603 * src/keyboard.h (kbd_buffer_store_event_hold):
2604 Don't assume C11 semantics for alignof (Bug#20756).
2605
2606 Fix bug that munged selection info
2607 On some optimizing C compilers, copying a structure did not
2608 copy the padding bytes between elements, and the type punning
2609 between struct input_data and struct selection_input_data did
2610 not work. Change the C code to use a proper union type instead.
2611 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
2612 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
2613 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
2614 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
2615 (mark_kboards):
2616 Use union buffered_input_event, not struct input_event.
2617 (clear_event, deliver_input_available_signal, process_special_events):
2618 Remove unnecessary forward decls.
2619 (kbd_buffer_store_buffered_event): New function, mostly just the
2620 old kbd_buffer_store_event_hold, except its argument is of type
2621 union buffered_input_event, not struct input_event.
2622 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
2623 not needed otherwise. Argument is now of type
2624 struct selection_input_event *, not struct input_event *.
2625 All callers changed.
2626 (clear_event): Arg is now of type union buffered_input_event *,
2627 not struct input_event *. All callers changed.
2628 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
2629 (union buffered_input_event): New type.
2630 (kbd_buffer_store_event_hold): Now an inline function,
2631 defined here.
2632 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
2633 (struct input_event): Use it.
2634 * src/xselect.c (struct selection_event_queue):
2635 Make elements be of type struct selection_input_event,
2636 not struct input_event.
2637 (selection_input_event_equal): New static function.
2638 (x_queue_event): Use it.
2639 (x_queue_event, x_decline_selection_request)
2640 (x_selection_current_request, x_reply_selection_request)
2641 (x_handle_selection_request, x_handle_selection_clear)
2642 (x_handle_selection_event): Use struct selection_input_event,
2643 not struct input_event. All callers changed.
2644 (x_convert_selection): Omit unused first arg. All callers changed.
2645 (Fx_disown_selection_internal): Omit unnecessary union.
2646 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
2647 rather than rolling our own equivalent. Prefer sie.kind when
2648 setting up that kind of structure.
2649 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
2650 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
2651 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
2652 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
2653 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
2654 (SELECTION_EVENT_TIME, x_handle_selection_event):
2655 Arg is now of type struct selection_input_event *)
2656 not struct input_event *. All callers changed.
2657
2658 2015-06-23 Glenn Morris <rgm@gnu.org>
2659
2660 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
2661
2662 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
2663
2664 * lisp/isearch.el: Fold many unicode characters to ASCII
2665 (isearch-character-fold-search, isearch--character-fold-extras)
2666 (isearch--character-fold-table): New variable.
2667 (isearch--character-folded-regexp): New function.
2668 (isearch-search-fun-default): Use them.
2669 * lisp/replace.el (replace-character-fold): New variable.
2670 (replace-search): Use it.
2671 * etc/NEWS: Document it.
2672
2673 2015-06-23 Glenn Morris <rgm@gnu.org>
2674
2675 Check for an input event before showing a dialog box. (Bug#20813)
2676 * lisp/subr.el (y-or-n-p):
2677 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
2678 as last-nonmenu-event.
2679
2680 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
2681
2682 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
2683 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
2684 (switch-to-prev-buffer, switch-to-next-buffer): Respect
2685 switch-to-visible-buffer independent of the windows history.
2686
2687 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
2688
2689 * src/keyboard.c (last_timer_event): Remove unused var.
2690
2691 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
2692
2693 * test/automated/package-test.el (package-test-update-listing):
2694 Fix test.
2695
2696 2015-06-23 Glenn Morris <rgm@gnu.org>
2697
2698 Revert 2014-06-25 nextstep/Makefile change.
2699 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
2700 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
2701 not as an order-only prerequisite.
2702
2703 * configure.ac (--with-ns): Enable by default on OS X.
2704
2705 2015-06-23 Leo Liu <sdl.web@gmail.com>
2706
2707 Fix shell-for/backward-command to exclude spaces
2708 * lisp/shell.el (shell-forward-command, shell-backward-command):
2709 Handle the 'move case from re-search-forward/backward.
2710 fixes debbugs:20873
2711
2712 2015-06-22 Juri Linkov <juri@linkov.net>
2713
2714 * lisp/replace.el (query-replace-read-from): Add separator to
2715 the local binding of text-property-default-nonsticky. (Bug#20690)
2716
2717 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
2718 (Bug#20785)
2719
2720 2015-06-22 Ken Brown <kbrown@cornell.edu>
2721
2722 Enable CPU profiling on Cygwin
2723 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
2724 change that undefined this.
2725 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
2726 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
2727 Cygwin.
2728
2729 Improve diagnostics of profiler-cpu-start
2730 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
2731 return -1 if the sampling interval is invalid.
2732 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
2733 fails. (Bug#20843)
2734
2735 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
2736
2737 * lisp/emacs-lisp/package.el: Exclude packages by name
2738 (package-hidden-regexps): New variable.
2739 (package-menu--refresh): Use it.
2740 (package-menu-hide-package): New command.
2741
2742 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding
2743
2744 2015-06-22 Eli Zaretskii <eliz@gnu.org>
2745
2746 Fix debug-timer-check on systems without HAVE_TIMERFD
2747 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
2748 the expired timers, since wait_reading_process_output doesn't.
2749 (debug_timer_callback): Enlarge the tolerance to 20 msec.
2750
2751 Fix RCS crashes in vc-test
2752 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
2753 ports of 'ci' on MS-Windows by always passing the -t- switch.
2754
2755 2015-06-22 Glenn Morris <rgm@gnu.org>
2756
2757 * doc/emacs/package.texi (Packages):
2758 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
2759
2760 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
2761
2762 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
2763
2764 Port tests to help-quote-translation
2765 * test/automated/ert-x-tests.el (ert-test-describe-test):
2766 * test/automated/package-test.el (package-test-describe-package)
2767 (package-test-signed): Allow straight quotes, too.
2768
2769 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
2770
2771 Make find-function-on-key use the current window
2772 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
2773 Extract from `find-function-on-key', add a second argument.
2774 (find-function-on-key): Use it (bug#19679).
2775 (find-function-on-key-other-window)
2776 (find-function-on-key-other-frame): New commands.
2777
2778 2015-06-21 Nicolas Petton <nicolas@petton.fr>
2779
2780 Revert "Define `map-elt' as a generalized variable"
2781 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
2782
2783 2015-06-21 Ken Brown <kbrown@cornell.edu>
2784
2785 Drop support for CPU profiling on Cygwin
2786 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
2787 (Bug#20843)
2788
2789 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
2790
2791 Fix some “nested” quoting confusion in doc strings
2792 * lisp/emacs-lisp/advice.el (ad-map-arglists):
2793 * lisp/kermit.el (kermit-clean-on):
2794 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
2795 * src/keyboard.c (Frecursive_edit):
2796 Use curved quotes when quoting text containing apostrophe,
2797 so that the apostrophe isn't curved in the output.
2798
2799 2015-06-21 Nicolas Petton <nicolas@petton.fr>
2800
2801 Define `map-elt' as a generalized variable
2802 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
2803 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
2804 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
2805 `setf' with `map-elt'.
2806 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
2807
2808 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
2809
2810 Improve error handling in tramp-adb.el
2811 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
2812 Improve error handling.
2813
2814 2015-06-21 Nicolas Petton <nicolas@petton.fr>
2815
2816 Reuse `alist-get' in map.el
2817 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
2818 elements.
2819
2820 2015-06-21 Eli Zaretskii <eliz@gnu.org>
2821
2822 Fix bytecomp-tests--warnings when $TMPDIR has a long name
2823 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
2824 Allow the warning to begin on the 3rd, not only 2nd line, which
2825 happens if temporary-file-directory has a very long name.
2826
2827 Expect 2 icalendar tests to fail on MS-Windows
2828 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
2829 (icalendar-real-world): Make them expected failures on MS-Windows.
2830
2831 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
2832
2833 Improve port of settings UI to older displays
2834 * lisp/cus-start.el (standard): Don't assume curved quotes are
2835 easily distinguishable when users are tinkering with a setting
2836 that affects how curved quotes are generated.
2837
2838 Fix quoting in electric-quote-mode doc string
2839 * lisp/electric.el (electric-quote-mode): Fix quoting.
2840 This is a fallout from the recent change introducing
2841 ‘help-quote-translation’.
2842
2843 Spelling fix
2844
2845 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
2846
2847 * src/doc.c (syms_of_doc): Remove unused symbols.
2848
2849 2015-06-20 Martin Rudalics <rudalics@gmx.at>
2850
2851 In ‘window-state-put’ undedicate target window. (Bug#20848)
2852 * lisp/window.el (window-state-put): Undedicate target window
2853 before putting STATE into it. (Bug#20848)
2854
2855 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
2856
2857 Merge from origin/emacs-24
2858 a5e6f33 Fixes: debbugs:20832
2859 b9f02cf Fixes: debbugs:20832
2860
2861 2015-06-19 Eli Zaretskii <eliz@gnu.org>
2862
2863 Fix file-in-directory-p when the directory is UNC
2864 * lisp/files.el (file-in-directory-p): Support files and
2865 directories that begin with "//". (Bug#20844)
2866
2867 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
2868
2869 (Bug#20832)
2870 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
2871 in the minibuffer.
2872
2873 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
2874
2875 (Bug#20832)
2876 * lisp/calendar/todo-mode.el (todo-show): Signal an error
2877 if buffer for adding new todo file is empty but modified.
2878
2879 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 (filepos-to-bufferpos): Further tweaks to the utf-16 code
2882 * lisp/international/mule-util.el (filepos-to-bufferpos):
2883 Fix typo. Move non-exact check to the utf-16 branch (the only one
2884 affected). Don't use byte-to-position for the utf-16 case.
2885
2886 2015-06-19 Eli Zaretskii <eliz@gnu.org>
2887
2888 Minor fixes in filepos-to-bufferpos
2889 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
2890 test for utf-8-emacs. Exempt single-byte encodings from the
2891 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
2892 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
2893 UTF-16 encoded files for CR-LF EOLs.
2894
2895 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
2896
2897 Improve the optional translation of quotes
2898 Fix several problems with the recently-added custom variable
2899 help-quote-translation where the code would quote inconsistently
2900 in help buffers. Add support for quoting 'like this', which
2901 is common in other GNU programs in ASCII environments. Change
2902 help-quote-translation to use more mnemonic values: values are now the
2903 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
2904 traditional Emacs help-buffer quoting style `like this'. Change the
2905 default behavior of substitute-command-keys to match what's done in
2906 set-locale-environment, i.e., quote ‘like this’ if displayable,
2907 'like this' otherwise.
2908 * doc/lispref/help.texi (Keys in Documentation): Document
2909 new behavior of substitute-command-keys, and document
2910 help-quote-translation.
2911 * doc/lispref/tips.texi (Documentation Tips):
2912 Mention the effect of help-quote-translation.
2913 * etc/NEWS: Mention new behavior of substitute-command-keys,
2914 and merge help-quote-translation news into it.
2915 When talking about doc strings, mention new ways to type quotes.
2916 * lisp/cedet/mode-local.el (overload-docstring-extension):
2917 Revert my recent change to this function, which shouldn't be
2918 needed as the result is a doc string.
2919 * lisp/cedet/mode-local.el (mode-local-print-binding)
2920 (mode-local-describe-bindings-2):
2921 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
2922 * lisp/cus-theme.el (describe-theme-1):
2923 * lisp/descr-text.el (describe-text-properties-1, describe-char):
2924 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
2925 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
2926 (eieio-help-constructor):
2927 * lisp/emacs-lisp/package.el (describe-package-1):
2928 * lisp/faces.el (describe-face):
2929 * lisp/help-fns.el (help-fns--key-bindings)
2930 (help-fns--compiler-macro, help-fns--parent-mode)
2931 (help-fns--obsolete, help-fns--interactive-only)
2932 (describe-function-1, describe-variable):
2933 * lisp/help.el (describe-mode):
2934 Use substitute-command-keys to ensure a more-consistent quoting
2935 style in help buffers.
2936 * lisp/cus-start.el (standard):
2937 Document new help-quote-translation behavior.
2938 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
2939 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
2940 (help-xref-url-regexp):
2941 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
2942 * lisp/wid-edit.el (widget-documentation-link-regexp):
2943 Also match 'foo', in case we're in a help buffer generated when
2944 help-quote-translation is ?'.
2945 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
2946 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
2947 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
2948 (Fsubstitute_command_keys): Document and implement new behavior.
2949 (Vhelp_quote_translation): Document new behavior.
2950
2951 2015-06-18 Glenn Morris <rgm@gnu.org>
2952
2953 * lisp/cus-start.el (help-quote-translation): Add :version.
2954
2955 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
2956
2957 2015-06-18 Alan Mackenzie <acm@muc.de>
2958
2959 Make translation of quotes to curly in doc strings optional.
2960 src/doc.c (traditional, prefer-unicode): new symbols.
2961 (help-quote-translation): new variable.
2962 (Fsubstitute_command_keys): make translation of quotes dependent on
2963 `help-quote-translation'; also translate curly quotes back to ASCII
2964 ones.
2965 lisp/cus-start.el (top-level): Add a customization entry for
2966 `help-quote-translation'.
2967
2968 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
2969
2970 * lisp/emacs-lisp/package.el: Don't always propagate async errors
2971 (package--with-work-buffer-async): Only propagate the error if the
2972 callback returns non-nil.
2973 (package--download-one-archive): Return nil on the signature
2974 checking callback if we accept unsigned.
2975 (package--download-and-read-archives): Return non-nil on the
2976 archive download callback.
2977
2978 2015-06-18 Martin Rudalics <rudalics@gmx.at>
2979
2980 Fix last fix"
2981
2982 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
2983 * src/nsfns.m (Fx_create_frame):
2984 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
2985 image_cache_refcount before first x_default_parameter call.
2986
2987 2015-06-18 Eli Zaretskii <eliz@gnu.org>
2988
2989 Improve and extend filepos-to-bufferpos
2990 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
2991 Don't barf if F returns nil for some argument.
2992 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
2993 that every encoding of type 'charset' is single-byte.
2994
2995 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
2996
2997 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
2998 Properly delete packages. (Bug#20836)
2999
3000 2015-06-18 Eli Zaretskii <eliz@gnu.org>
3001
3002 Update data files from just-released Unicode 8.0
3003 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
3004 status.
3005 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
3006 * admin/unidata/BidiMirroring.txt:
3007 * admin/unidata/BidiBrackets.txt:
3008 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
3009
3010 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
3011
3012 Document curved quotes a bit better
3013 * doc/emacs/basic.texi (Inserting Text):
3014 Mention C-x 8. Change example to use curved quote rather
3015 than infinity, as this lets us give more ways to do it.
3016 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
3017 and quotation marks.
3018 * doc/emacs/text.texi (Quotation Marks):
3019 * doc/lispref/tips.texi (Documentation Tips):
3020 Add "curly quotes" and "curved quotes" to the index.
3021 * doc/emacs/text.texi (Quotation Marks):
3022 Give the C-x 8 shorthands for curved quotes.
3023 Cross-reference to "Quotation Marks".
3024
3025 2015-06-17 Daiki Ueno <ueno@gnu.org>
3026
3027 Add pinentry.el for better GnuPG integration
3028 * lisp/pinentry.el: New file.
3029 * etc/NEWS: Add entry about pinentry.el.
3030 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
3031 (Bug#20550)
3032
3033 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
3034
3035 * lisp/emacs-lisp/package.el: Slightly better error reporting.
3036
3037 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 (define-minor-mode): Use setq-default for :global minor modes
3040 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
3041 Use setq-default for :global minor modes (bug#20712).
3042
3043 2015-06-17 Eli Zaretskii <eliz@gnu.org>
3044
3045 Avoid infloop in redisplay with tall images
3046 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
3047 down near ZV. (Bug#20808)
3048 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
3049 instead of CHARPOS.
3050
3051 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
3052
3053 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
3054 Fix error reporting.
3055
3056 * lisp/let-alist.el: move to lisp/emacs-lisp/let-alist.el
3057
3058 * lisp/emacs-lisp/package.el: Revert buffer after any operation
3059 Call `package-menu--post-refresh' after any operation that changes
3060 the package database (`package-install' and `package-delete'). To
3061 avoid performance issues in large transactions, these functions
3062 add `post-refresh' to `post-command-hook' instead of calling it
3063 immediately.
3064 (package-menu--mark-or-notify-upgrades): New function.
3065 (list-packages): Add it to `package--post-download-archives-hook'.
3066 (package-menu--post-refresh): Lose the upgrade-checking code, add
3067 code to remove itself from `post-command-hook'.
3068 (package-install, package-delete): Add it to `post-command-hook'.
3069 (package-menu-execute): Don't call `package-menu--post-refresh'.
3070
3071 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
3072
3073 Add missing function xref-location-group for elisp-mode.
3074 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
3075
3076 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
3077
3078 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
3079 The behavior now matches the description in the manual. (Bug#20783)
3080
3081 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
3082
3083 Update tutorials/TUTORIAL.cn
3084 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
3085
3086 2015-06-17 Glenn Morris <rgm@gnu.org>
3087
3088 Generate char-script-table from Unicode source. (Bug#20789)
3089 * admin/unidata/Makefile.in (AWK): New, set by configure.
3090 (all): Add charscript.el.
3091 (blocks): New variable.
3092 (charscript.el, ${unidir}/charscript.el): New targets.
3093 (extraclean): Also remove generated charscript.el.
3094 * admin/unidata/blocks.awk: New script.
3095 * admin/unidata/Blocks.txt: New data file, from unicode.org.
3096 * lisp/international/characters.el: Load charscript.
3097 * src/Makefile.in (charscript): New variable.
3098 (${charscript}): New target.
3099 (${lispintdir}/characters.elc): Depend on charscript.elc.
3100 (temacs$(EXEEXT)): Depend on charscript.
3101
3102 * lisp/international/characters.el (char-script-table): Tweak
3103 some ranges to better match the source. (Bug#20789#17)
3104
3105 Remove "no-byte-compile: t" from a few files.
3106 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
3107 * lisp/obsolete/patcomp.el: No reason not to compile these.
3108
3109 2015-06-16 Glenn Morris <rgm@gnu.org>
3110
3111 Fix some typos in copied Unicode data. (Bug#20789)
3112 * lisp/international/characters.el (char-script-table):
3113 * lisp/international/fontset.el (script-representative-chars)
3114 (setup-default-fontset): Fix typos.
3115
3116 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
3117 Don't print filename twice (it's in the prefix now).
3118
3119 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
3120 No longer needed.
3121
3122 Address a compilation warning.
3123 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
3124 Replace 't' with '_' in pcase.
3125
3126 Address some check-declare warnings.
3127 * lisp/simple.el (tabulated-list-print):
3128 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
3129 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
3130 (ns-get-selection): Update declarations.
3131
3132 Address some compilation warnings.
3133 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
3134 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
3135 Replace 't' with '_' in pcase.
3136
3137 Address some compilation warnings.
3138 * lisp/face-remap.el (text-scale-adjust):
3139 * lisp/menu-bar.el (popup-menu-normalize-position):
3140 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3141 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3142 * lisp/emacs-lisp/generator.el (cps--transform-1):
3143 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
3144 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
3145 * lisp/progmodes/octave.el (octave-goto-function-definition)
3146 (octave-find-definition-default-filename):
3147 Replace 't' with '_' in pcase.
3148
3149 * lisp/emacs-lisp/pcase.el (pcase--u1):
3150 Paper-over today's bootstrap failure.
3151
3152 2015-06-16 Nicolas Petton <nicolas@petton.fr>
3153
3154 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
3155
3156 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
3157
3158 Better confirmation message in `find-alternate-file' (Bug#20830)
3159 * lisp/files.el (find-alternate-file'): Improve the confirmation
3160 message to show the buffer name.
3161
3162 Better docstring for null. (Bug#20815)
3163 * src/data.c (null): Improves the docstring, saying what null returns
3164 when OBJECT is non-nil.
3165
3166 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * lisp/net/newst-treeview.el: Use lexical-binding.
3169
3170 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
3171 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
3172 New auxiliary function, extracted from filepos-to-bufferpos.
3173 Make sure it terminates.
3174 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
3175 Add support for the `exact' quality.
3176
3177 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
3178
3179 Identify feeds in newsticker treeview with :nt-feed property
3180 * lisp/net/newst-treeview.el:
3181 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
3182
3183 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * lisp/emacs-lisp/pcase.el: Improve docs and error handling
3186 (pcase--self-quoting-p): Floats aren't self-quoting.
3187 (pcase): Tweak docstring.
3188 (pcase--u1): Deprecate the t pattern. Improve error detection for
3189 the nil pattern.
3190 (\`): Tweak docstring. Signal an error for unrecognized cases.
3191 (bug#20784)
3192
3193 2015-06-16 Eli Zaretskii <eliz@gnu.org>
3194
3195 Fix infloop in filepos-to-bufferpos
3196 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
3197 offset calculation, and make it conditional on the eol-type of the
3198 file's encoding. (Bug#20825)
3199
3200 2015-06-16 Martin Rudalics <rudalics@gmx.at>
3201
3202 Fix handling of image cache refcounts. (Bug#20802)
3203 This backports Eli Zaretskii's solution of this problem for W32
3204 to X and NS.
3205 * src/nsfns.m (image_cache_refcount): Define unconditionally.
3206 (unwind_create_frame): If the image cache's reference count
3207 hasn't been updated yet, do that now.
3208 (Fx_create_frame): Set image_cache_refcount unconditionally.
3209 * src/xfns.c (image_cache_refcount): Define unconditionally.
3210 (unwind_create_frame): If the image cache's reference count
3211 hasn't been updated yet, do that now.
3212 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
3213 unconditionally.
3214 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
3215 X and NS.
3216
3217 2015-06-16 Nils Ackermann <nils@ackermath.info>
3218
3219 Improve reftex-label-regexps default value
3220 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
3221 keyvals label regexp more strict to better cope with unbalanced
3222 brackets common in math documents.
3223
3224 2015-06-16 Glenn Morris <rgm@gnu.org>
3225
3226 * doc/emacs/calendar.texi (Format of Diary File):
3227 Move "nonmarking" from here...
3228 (Displaying the Diary): ... to here.
3229
3230 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
3231 Swap the order of these nodes.
3232 * doc/emacs/emacs.texi: Update detailed menu for the above change.
3233
3234 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
3235 Update date of examples.
3236 (Diary, Format of Diary File): Move example from former to latter.
3237 Reduce duplication.
3238
3239 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
3240 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
3241 Don't set no-byte-compile in the outputs.
3242 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
3243
3244 2015-06-15 Glenn Morris <rgm@gnu.org>
3245
3246 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
3247 * doc/emacs/calendar.texi (Diary, Format of Diary File):
3248 Update for above diary-file change.
3249 : * etc/NEWS: Mention this.
3250
3251 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
3252 (apply-macro-to-region-lines): Use user-error.
3253
3254 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
3255 (pages-directory-for-addresses): Doc fixes.
3256
3257 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * lisp/info.el: Cleanup bytepos/charpos issues
3260 * lisp/international/mule-util.el: Use lexical-binding.
3261 (filepos-to-bufferpos): New function.
3262 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
3263 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
3264 (Info-read-subfile, Info-search): Use 0-based file positions.
3265
3266 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
3267 (perl--syntax-exp-intro-keywords): New var.
3268 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
3269 (bug#20800).
3270
3271 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
3272
3273 Fix quoting when making derived mode docstring
3274 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
3275 Nest regexp-quote inside format, not the reverse.
3276 Problem reported by Artur Malabarba in:
3277 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
3278
3279 2015-06-15 Eli Zaretskii <eliz@gnu.org>
3280
3281 Fix current-iso639-language on MS-Windows
3282 * lisp/international/mule-cmds.el (set-locale-environment):
3283 Downcase the locale name before interning it. This is so the
3284 'current-iso639-language' on MS-Windows matches the ':lang'
3285 property of font-spec objects.
3286
3287 Limit Symbola usage some more
3288 * lisp/international/fontset.el (setup-default-fontset): Limit
3289 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
3290 (Bug#20727)
3291
3292 2015-06-15 Nicolas Petton <nicolas@petton.fr>
3293
3294 * lisp/emacs-lisp/map.el (map-let): Better docstring.
3295
3296 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
3297
3298 Spelling fixes
3299
3300 2015-06-14 Glenn Morris <rgm@gnu.org>
3301
3302 * lisp/version.el (emacs-repository-version-git): Demote errors.
3303 Check result is a hash.
3304
3305 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
3306
3307 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
3308 Catch errors that happen before going async. (Bug#20809)
3309
3310 2015-06-14 Eli Zaretskii <eliz@gnu.org>
3311
3312 Another improvement of documentation of set-fontset-font
3313 * doc/lispref/display.texi (Fontsets): Say explicitly that
3314 CHARACTER can be a single codepoint.
3315 * src/fontset.c (Fset_fontset_font): Doc fix.
3316
3317 Another improvement for symbol and punctuation characters
3318 * lisp/international/fontset.el (setup-default-fontset): Exclude
3319 from Symbola character ranges for symbols and punctuation covered
3320 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
3321 installed and where its coverage of symbols and punctuation is
3322 known to be good. (Bug#20727)
3323
3324 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
3325
3326 Some generic support for multi-mode indentation.
3327 * lisp/progmodes/prog-mode.el (prog-indentation-context): New
3328 variable.
3329 (prog-first-column, prog-widen): New convenience functions.
3330
3331 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
3332
3333 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
3334 Don't assume that `tabulated-list-printer' will leave point at the
3335 end of the buffer. (Bug#20810)
3336
3337 2015-06-13 Glenn Morris <rgm@gnu.org>
3338
3339 Tweaks for getting repository version; a bit more like it was for bzr.
3340 * lisp/version.el (emacs-repository-version-git)
3341 (emacs-repository--version-git-1): New functions,
3342 split from emacs-repository-get-version.
3343 (emacs-repository-get-version): Make the second argument meaningful.
3344
3345 * lisp/startup.el (command-line-1): Inform if skipping relative
3346 file names due to deleted PWD.
3347
3348 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
3349 when starup directory is missing. (Bug#18851)
3350 (errno.h): Include it.
3351
3352 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
3353
3354 Better fix for documenting `X as "`X"
3355 Fix suggested by Stefan Monnier.
3356 * lisp/help-fns.el (help-fns--signature):
3357 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
3358 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
3359 Don't treat `X specially, as help-fns--signature now handles this.
3360
3361 2015-06-13 Eli Zaretskii <eliz@gnu.org>
3362
3363 Improve the default fontset when Symbola is not installed
3364 * lisp/international/fontset.el (setup-default-fontset): Only
3365 prepend Symbola and FreeMono font specs for symbols and
3366 punctuation; do not replace the default spec for them. This
3367 should have better results when Symbola/FreeMono are not
3368 installed. (Bug#20727)
3369
3370 Improve documentation of ':lang' in font specs
3371 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
3372 use of the ':lang' property of the font spec.
3373 * doc/emacs/frames.texi (Fonts): Document the language names that
3374 can be in the STYLE part of XLFD.
3375 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
3376 property.
3377
3378 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
3379
3380 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
3381
3382 Revert last change in fontset.el
3383 * lisp/international/fontset.el (setup-default-fontset): Revert
3384 the change "Configure Symbola font only if installed", since font
3385 search is evidently not yet set up when this function is called.
3386 (Bug#20727)
3387
3388 2015-06-12 Glenn Morris <rgm@gnu.org>
3389
3390 Ensure early startup warnings are visible at the end. (Bug#20792)
3391 * lisp/emacs-lisp/warnings.el (display-warning):
3392 If startup isn't complete, delay the warning.
3393 * lisp/startup.el (normal-top-level, command-line):
3394 Let display-warning automatically handle the needed delays.
3395 Run delayed-warnings-hook.
3396
3397 * lisp/version.el (emacs-repository-get-version):
3398 Avoid calling external executable if possible. (Bug#20799)
3399
3400 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
3401
3402 Document `X as "`X", not as "(` X)"
3403 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
3404 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
3405
3406 * src/print.c (print_object): Minor simplification.
3407
3408 2015-06-12 Glenn Morris <rgm@gnu.org>
3409
3410 * src/buffer.c (init_buffer): Add final newline to message.
3411
3412 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
3413
3414 Configure Symbola font only if installed
3415 * lisp/international/fontset.el (setup-default-fontset):
3416 Don't specify the Symbola font if it's not installed.
3417 Likewise for FreeMono. (Bug#20727)
3418
3419 2015-06-12 Eli Zaretskii <eliz@gnu.org>
3420
3421 Configure Symbola font only for symbols and punctuation
3422 * lisp/international/fontset.el (setup-default-fontset): Leave
3423 only symbols and punctuation in the fontset setup for Symbola
3424 font; remove "Greek and Coptic" and "Cyrillic Supplement".
3425 (Bug#20798)
3426
3427 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
3428
3429 Fix crash in fontset-info
3430 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
3431 non-nil.
3432
3433 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
3434
3435 Port to Solaris 10 sparc + Sun C 5.13
3436 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
3437 Adjust to process.c change.
3438 * src/process.c (create_process): Declare volatile variables at
3439 top level of this function, so that they're less likely to be
3440 reused later in the function in the code executed by the vforked
3441 child. Do not declare locals used only in the vforked child, as
3442 they might share memory with locals still live in the parent.
3443 Instead, use the same variables in the child as in the parent.
3444 This works around a subtle bug that causes a garbage collector
3445 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
3446
3447 2015-06-12 Glenn Morris <rgm@gnu.org>
3448
3449 * lisp/startup.el (normal-top-level): Don't let *Messages* get
3450 a nil default-directory.
3451
3452 2015-06-11 Glenn Morris <rgm@gnu.org>
3453
3454 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
3455
3456 Some progress towards starting with PWD deleted. (Bug#18851)
3457 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
3458 * lisp/startup.el (normal-top-level, command-line-1):
3459 * lisp/minibuffer.el (read-file-name-default):
3460 Handle default-directory being nil.
3461
3462 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
3463
3464 Fix "not a tty" bug on Solaris 10
3465 * configure.ac (PTY_OPEN): Define to plain 'open'
3466 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
3467 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
3468 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
3469 hosts that call grantpt which does its work via a setuid subcommand
3470 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
3471 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
3472 seems relevant in that case too.
3473
3474 2015-06-11 Juri Linkov <juri@linkov.net>
3475
3476 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
3477 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
3478 (Bug#20785)
3479
3480 2015-06-11 Glenn Morris <rgm@gnu.org>
3481
3482 * lisp/international/characters.el (char-script-table): Fix typo.
3483
3484 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
3485
3486 Fix quoting of help for functions with odd names
3487 While investigating Bug#20759, I discovered other quoting problems:
3488 C-h f mishandled characters like backslash and quote in function names.
3489 This fix changes the behavior so that 'C-h f pcase RET' now
3490 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
3491 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
3492 in src/lread.c's read1 function says that the backslash will be
3493 needed starting in Emacs 25, which implies that 'format' is
3494 correct and the old pcase documention was wrong to omit the backslash.
3495 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
3496 * lisp/help-fns.el (help-fns--signature):
3497 * lisp/help.el (help-add-fundoc-usage):
3498 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
3499 Use help--make-usage-docstring rather than formatting
3500 help-make-usage.
3501 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
3502 Return raw docstring.
3503 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
3504 raw docstring. Take more care to distinguish raw from cooked dstrings.
3505 (describe-function-1): Let help-fns--signature substitute
3506 command keys.
3507 * lisp/help.el (help--docstring-quote): New function.
3508 (help-split-fundoc): Use it, to quote funny characters more
3509 systematically.
3510 (help--make-usage): Rename from help-make-usage, since this
3511 should be private. Leave an obsolete alias for the old name.
3512 (help--make-usage-docstring): New function.
3513 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
3514
3515 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * lisp/thingatpt.el (in-string-p): Revert last change,
3518 since in-string-p is not used in thingatpt.el but only from outside.
3519 Also, use lexical binding.
3520
3521 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
3522
3523 * lisp/let-alist.el (let-alist--deep-dot-search): Fix cons
3524 * test/automated/let-alist.el (let-alist-cons): Test it.
3525
3526 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3527
3528 * src/syntax.c (Fbackward_prefix_chars): Reword docstring
3529
3530 2015-06-10 Glenn Morris <rgm@gnu.org>
3531
3532 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
3533
3534 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
3535 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
3536 * admin/gitmerge.el (gitmerge-commit-message):
3537 Exclude "skipped" messages from ChangeLog once again.
3538
3539 Slight namespace cleanup for thingatpt.el.
3540 * lisp/thingatpt.el (thing-at-point--in-string-p)
3541 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
3542 (thing-at-point--read-from-whole-string): Rename from
3543 old versions without "thing-at-point--" prefix.
3544 Keep old versions as obsolete aliases. Update all uses.
3545
3546 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
3547 Move requiring of finder from here...
3548 (checkdoc-package-keywords): ... to here.
3549
3550 Use 'user-error' in a few calendar files.
3551 * lisp/calendar/appt.el (appt-add):
3552 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
3553 (calendar-generate):
3554 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
3555 Replace 'error' with 'user-error'.
3556
3557 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
3558
3559 * lisp/files-x.el (add-file-local-variable):
3560 Special-case 'lexical-binding'. (Bug#20641)
3561
3562 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
3563 No longer autoload.
3564 * doc/misc/autotype.texi (Executables):
3565 Undocument executable-self-display.
3566
3567 * lisp/progmodes/executable.el (executable-self-display):
3568 Use non-obsolete tail syntax. (Bug#20779)
3569 (executable-self-display): Doc update.
3570
3571 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
3574 (finder-known-keywords): Silence byte-compiler.
3575
3576 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * lisp/simple.el (eval-expression): Macroexpand before evaluating (bug#20730)
3579
3580 * lisp/progmodes/sh-script.el: Better handle nested quotes
3581 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
3582 (sh-font-lock-quoted-subshell): Make sure double quotes within single
3583 quotes don't mistakenly end prematurely the surrounding string.
3584
3585 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
3586
3587 2015-06-09 Glenn Morris <rgm@gnu.org>
3588
3589 * test/automated/Makefile.in (ELFILES): Sort.
3590
3591 * Makefile.in (SUBDIR_MAKEFILES):
3592 * lwlib/Makefile.in (WARN_CFLAGS):
3593 Use built-in Make functions rather than echo+sed.
3594
3595 2015-06-09 Eli Zaretskii <eliz@gnu.org>
3596
3597 Update char-script-table
3598 * lisp/international/characters.el (char-script-table): Update
3599 from Unicode 8.0 Draft.
3600
3601 Improve font selection for punctuation and other symbols
3602 * src/fontset.c (face_for_char): If the character's script is
3603 'symbol', and the font used for ASCII face has a glyph for it, use
3604 the font for the ASCII face instead of searching the fontsets.
3605 This comes instead of NS-specific code that used the current
3606 face's font instead, which is now disabled due to undesirable
3607 consequences. (Bug#20727)
3608
3609 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
3610
3611 Skip past `#' to find BEG
3612 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Skip
3613 past `#' to find BEG (bug#20771).
3614 * test/automated/elisp-mode-tests.el
3615 (elisp-completes-functions-after-hash-quote): New test.
3616
3617 2015-06-08 Eli Zaretskii <eliz@gnu.org>
3618
3619 Fix compilation warning/error in --without-x builds
3620 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
3621 code on HAVE_WINDOW_SYSTEM.
3622
3623 Improve the default fontset wrt symbols
3624 * lisp/international/fontset.el (setup-default-fontset): Better
3625 setup of fontset-default for symbols: use Symbola and FreeMono.
3626 (Bug#20727)
3627
3628 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
3629
3630 Add new command checkdoc-package-keywords
3631 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): New
3632 defcustom.
3633 (checkdoc-list-of-strings-p): Add doc.
3634 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
3635 non-nil, call `checkdoc-package-keywords'.
3636 (checkdoc-get-keywords): New defun.
3637 (checkdoc-package-keywords): New command. Warns if the current file
3638 has package.el-style keywords that aren't in `finder-known-keywords'.
3639 * etc/NEWS: Add entry.
3640
3641 2015-06-08 Eli Zaretskii <eliz@gnu.org>
3642
3643 Avoid crashes when key-binding is called from a timer
3644 * src/keymap.c (Fkey_binding): Don't segfault if called with an
3645 empty vector as KEY. (Bug#20705)
3646
3647 Fix a thinko in arc-mode.el
3648 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
3649 non-Zip64 case. (Bug#20769)
3650
3651 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
3652
3653 * lisp/emacs-lisp/package.el (package-delete): Make interactive
3654
3655 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
3656
3657 checkdoc.el (checkdoc-file): New function
3658 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When
3659 `checkdoc-diagnostic-buffer' is set to "*warn*", print the warning
3660 to the standard output.
3661 (bug#20754)
3662
3663 2015-06-07 Glenn Morris <rgm@gnu.org>
3664
3665 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
3666
3667 * src/font.c (syms_of_font) <font-log>: Doc fix.
3668
3669 Remove the obsolete leading "*" from some C doc strings.
3670 * src/coding.c (syms_of_coding):
3671 * src/font.c (syms_of_font): Remove leading "*" from docs.
3672 * lisp/cus-start.el (enable-character-translation): Add it.
3673
3674 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
3675
3676 Move gen_origin from program to data
3677 That way, 'make change-history' needs to change only ChangeLog.2,
3678 instead of having to change two files.
3679 * ChangeLog.2: Add commit info for range that this file covers.
3680 * Makefile.in (new_commit_regexp): New macro.
3681 (change-history-nocommit): Simplify, by putting what used to be
3682 the gen_origin value into the data (ChangeLog.2) rather than
3683 into the program (gitlog-to-emacslog).
3684 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
3685 the input file (e.g., ChangeLog.2) rather than by having a
3686 constant in the program. Substitute it into the output.
3687
3688 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
3689
3690 Escape any quotes in the function name
3691 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
3692 function name (bug#20759).
3693
3694 2015-06-07 Eli Zaretskii <eliz@gnu.org>
3695
3696 Adapt 'struct timespec' to next release of MinGW runtime
3697 * nt/inc/ms-w32.h (struct timespec): Don't declare if
3698 __struct_timespec_defined is defined.
3699
3700 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
3701
3702 Merge from gnulib
3703 This incorporates:
3704 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
3705 2015-06-05 stdio: Don't redefine gets when using C++
3706 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
3707 2015-06-02 file-has-acl: fix build on Mac OS X 10
3708 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
3709 2015-06-01 pthread_sigmask: discount system version if a simple macro
3710 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
3711 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
3712 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
3713 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
3714 * lib/gnulib.mk: Regenerate.
3715
3716 2015-06-06 Juri Linkov <juri@linkov.net>
3717
3718 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
3719 before calling grep-compute-defaults because now it affects the
3720 command lines computed in grep-compute-defaults. (Bug#20728)
3721
3722 2015-06-06 Glenn Morris <rgm@gnu.org>
3723
3724 Address some compilation warnings.
3725 * lisp/international/mule-cmds.el (w32-get-console-codepage)
3726 (w32-get-console-output-codepage):
3727 * lisp/progmodes/elisp-mode.el (xref-collect-references):
3728 * lisp/version.el (cairo-version-string): Declare.
3729 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
3730
3731 2015-06-06 Eli Zaretskii <eliz@gnu.org>
3732
3733 Fix display when a font claims large values of ascent and descent
3734 This fixes bug#20628.
3735 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
3736 coordinate of a hollow cursor glyph when the original glyph's
3737 ascent is too small.
3738 (get_font_ascent_descent, normal_char_ascent_descent)
3739 (normal_char_height): New functions.
3740 (handle_single_display_spec, append_space_for_newline)
3741 (calc_pixel_width_or_height, produce_stretch_glyph)
3742 (calc_line_height_property): Use normal_char_ascent_descent and
3743 normal_char_height.
3744 (x_produce_glyphs): When font-global values of ascent and descent
3745 are too large, use per-character glyph metrics instead, if
3746 possible. But don't allow the glyph row's ascent and descent
3747 values become smaller than the values from the metrics of the
3748 font's "normal" character.
3749 * src/xftfont.c (xftfont_draw):
3750 * src/w32font.c (w32font_draw): Correct the values of ascent and
3751 descent used to draw glyphless characters' hex code in a box.
3752 * src/xterm.c (x_draw_glyph_string_background):
3753 * src/xdisp.c (x_produce_glyphs):
3754 * src/w32term.c (x_draw_glyph_string_background):
3755 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
3756 to detect fonts whose global ascent and descent values are too
3757 large to be used in layout decision, and redraw the background
3758 when that happens.
3759 * src/dispextern.h (FONT_TOO_HIGH): New macro.
3760 (get_font_ascent_descent): Add prototype.
3761 * src/xterm.c (x_new_font):
3762 * src/w32term.c (x_new_font):
3763 * src/nsterm.m (x_new_font):
3764 * src/font.c (font_open_entity):
3765 * src/composite.c (composition_gstring_width): Use
3766 get_font_ascent_descent to obtain reasonable values for ascent and
3767 descent of a font.
3768
3769 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
3770
3771 Add assertion in adjust_point_for_property
3772 * src/keyboard.c (adjust_point_for_property): Add eassert for
3773 current buffer being shown in selected window.
3774
3775 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
3776
3777 Replace uses of in-string-p; make it obsolete
3778 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
3779 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
3780
3781 2015-06-06 Eli Zaretskii <eliz@gnu.org>
3782
3783 Fix Dired display of an explicit list of files by ls-lisp.el
3784 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
3785 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
3786 correct for when displaying individual files separately, not as
3787 part of listing a directory, in which case these values are not
3788 recomputed by 'ls-lisp-insert-directory', but used verbatim.
3789
3790 * lisp/dired.el (dired): Doc fix. (Bug#20739)
3791
3792 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
3793
3794 Do not adjust point in a non-selected window
3795 * src/keyboard.c (command_loop_1): Do not adjust point when
3796 current buffer is not shown in selected window (Bug#20590).
3797
3798 * etc/DEBUG: Mention 'maybe_call_debugger'
3799
3800 2015-06-05 Nicolas Petton <nicolas@petton.fr>
3801
3802 Fix a unit test for map.el
3803 * test/automated/map-tests.el (test-map-let): Fix the test to work
3804 with the new syntax of `map-let'.
3805
3806 * lisp/emacs-lisp/map.el (map-let): Better docstring.
3807
3808 Better syntax for the map pcase pattern
3809 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
3810 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
3811
3812 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
3813
3814 Fix a byte-compiler error in map-put and map-delete
3815 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
3816 called with a symbol.
3817
3818 2015-06-05 Glenn Morris <rgm@gnu.org>
3819
3820 * admin/gitmerge.el (gitmerge-commit-message):
3821 Revert to including "skipped" messages in ChangeLog once again.
3822
3823 2015-06-05 Tassilo Horn <tsdh@gnu.org>
3824
3825 Use string> instead of equiv lambda with string<
3826 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
3827 lambda with string<.
3828
3829 2015-06-05 Glenn Morris <rgm@gnu.org>
3830
3831 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
3832 (map--delete-array): Fix typo.
3833
3834 * test/automated/map-tests.el: Replace "assert" with "should".
3835
3836 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
3837 (SUBDIRS_REL): Derive from SUBDIRS.
3838
3839 Tweak some build messages.
3840 * lisp/Makefile.in ($(lisp)/loaddefs.el):
3841 * lisp/cus-dep.el (custom-make-dependencies):
3842 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
3843 * lisp/international/titdic-cnv.el (batch-titdic-convert):
3844 Don't say how to compile.
3845
3846 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
3847
3848 Omit U+0332 COMBINING LOW LINE in previous change
3849 It turns out that it does not work on Ubuntu 15.04.
3850
3851 Fix transliteration of Bahá'í months
3852 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
3853 Improve quality of Latin transliteration of Bahá'í month names.
3854
3855 Fix curved quotes in a few places
3856 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
3857 The strings in question are not doc strings, so this partially
3858 undoes the recent change that assumed they were doc strings.
3859 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
3860 * lisp/info.el (Info-finder-find-node):
3861 Use curved quotes.
3862 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
3863 Also allow curved quotes in doc strings.
3864
3865 2015-06-04 Glenn Morris <rgm@gnu.org>
3866
3867 * lisp/Makefile.in (AM_V_at): Add missing definition.
3868
3869 * lisp/Makefile.in: Quieten output a bit.
3870 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
3871 Don't echo directories, since the commands we invoke print them.
3872
3873 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
3874 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
3875 (SUBDIRS_SUBDIRS): New variables.
3876 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
3877 Remove.
3878 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
3879 (update-subdirs, compile-main, compile-clean):
3880 Replace "setwins" usage with new "SUBDIRS" variables.
3881
3882 * lisp/vc/compare-w.el (compare-windows-get-window-function):
3883 Fix :version tag.
3884
3885 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3886
3887 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
3888
3889 Undo removal of x_clear_area call on expose for GTK3 or cairo.
3890 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear
3891 exposed area. (Bug#20677)
3892
3893 2015-06-04 Glenn Morris <rgm@gnu.org>
3894
3895 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
3896
3897 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
3898
3899 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
3900 Rename from quail-lao-update-translation, since lao.el defines that.
3901
3902 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
3903
3904 Handle new-style advice in find-funct
3905 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
3906 Handle new-style advice. Return the symbol's function definition.
3907 (Bug#20718)
3908 (find-function-library): Update accordingly.
3909
3910 2015-06-04 Nicolas Petton <nicolas@petton.fr>
3911
3912 Merge branch 'map'
3913
3914 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
3915
3916 Add new function string-greaterp
3917 * lisp/subr.el (string-greaterp): New function. Also aliased to
3918 `string>'.
3919 * test/automated/subr-tests.el (string-comparison-test): Add unit
3920 tests for `string>'and `string<'.
3921 * src/fns.c (string-lessp): Better docstring.
3922
3923 2015-06-04 Eli Zaretskii <eliz@gnu.org>
3924
3925 Fix timezone-related functions on MS-Windows
3926 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
3927 'xputenv', even if no reallocation of tzvalbuf was necessary.
3928 This fixes a bug in timezone-related functions on MS-Windows.
3929 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
3930
3931 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
3932
3933 Don't pass raw directory name to 'error'
3934 * lisp/files.el (basic-save-buffer-2): Avoid format error if
3935 a directory name contains a string like "%s".
3936
3937 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
3938
3939 Override 'grep --color=always'
3940 * lisp/progmodes/xref.el (xref-collect-matches):
3941 Override --color=always in grep-find-template.
3942
3943 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
3944
3945 Fix error introduced recently in file-notify-tests.el
3946 * test/automated/file-notify-tests.el
3947 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
3948 (file-notify--deftest-remote): Revert previous patch, not
3949 necessary anymore.
3950
3951 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
3952
3953 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
3954 Starting from a display string after a newline, point went to the
3955 previous line. Also, fix an inadvertent use of a buffer position
3956 with FETCH_BYTE. (Bug#20701)
3957
3958 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
3959
3960 Instrument file-notify-test.el in order to catch hydra error.
3961 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
3962 Wrap body by `ignore-case', in order to trap non-local errors.
3963
3964 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3965
3966 Undo previous changes in non-toolkit scroll bar drawing.
3967 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
3968 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
3969
3970 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
3971
3972 * .gitignore: Also ignore doc/*/*/*.html and .ps.
3973
3974 Support quotes 'like this' in info files
3975 This is possible when 'makeinfo --disable-encoding' is used
3976 in Texinfo 5.
3977 * lisp/calc/calc-help.el (calc-describe-thing):
3978 * lisp/gnus/gnus-art.el (gnus-button-alist):
3979 * lisp/info.el (Info-find-index-name):
3980 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
3981 Also support quotes 'like this'.
3982 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
3983 * lisp/finder.el (finder-font-lock-keywords): Remove var that
3984 hasn't been used in years, instead of bothering to fix its quoting.
3985
3986 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
3987
3988 * .gitignore: Remove !test/etags/html-src/*.html.
3989 It's no longer needed, since *.html was removed. Sort.
3990
3991 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
3992
3993 Restore <D> instead of '.' in grep-find-template
3994 * lisp/cedet/semantic/symref/grep.el
3995 (semantic-symref-grep-use-template): Update a comment.
3996 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
3997 instead of '.' in grep-find-template (bug#20719).
3998 (rgrep): Pass nil as the directory to rgrep-default-command.
3999 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
4000 default value for DIR.
4001 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
4002 workaround.
4003
4004 2015-06-02 Glenn Morris <rgm@gnu.org>
4005
4006 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
4007
4008 * configure.ac (emacs_config_features): Add Cairo.
4009
4010 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
4011
4012 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
4013
4014 Ensure, that autorevert works for remote files in file-notify-tests.el
4015 * test/automated/file-notify-tests.el (file-notify--test-desc):
4016 New defvar.
4017 (file-notify--test-remote-enabled)
4018 (file-notify-test00-availability, file-notify-test01-add-watch)
4019 (file-notify-test02-events): Use it.
4020 (file-notify--test-event-test): Check proper descriptor.
4021 (file-notify-test03-autorevert): Ensure, that
4022 `visited-file-modtime' has changed.
4023 (Bug#20392)
4024
4025 2015-06-02 Nicolas Petton <nicolas@petton.fr>
4026
4027 Add a pcase pattern for maps and `map-let' based on it
4028 * lisp/emacs-lisp/map.el (map-let): New macro.
4029 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
4030 * test/automated/map-tests.el: New test for `map-let'.
4031
4032 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
4033
4034 Reuse rgrep mechanics in xref-find-regexp
4035 * lisp/progmodes/grep.el (rgrep-default-command):
4036 Extract from `rgrep'.
4037 * lisp/progmodes/xref.el (xref-collect-references): Split from
4038 `xref-collect-matches'. Only handle the case of symbol search.
4039 (xref-collect-matches): Instead of Semantic Symref, use
4040 `rgrep-default-command', to take advantage of its directory and
4041 file ignore settings.
4042 (xref--collect-match): Remove the last argument, leaving the
4043 regexp construction up to the caller.
4044 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
4045 Change to take the xref-collect- function to use as an argument.
4046 (elisp-xref-find): Update accordingly.
4047 * lisp/progmodes/etags.el (etags--xref-find-matches)
4048 (etags-xref-find): Same.
4049
4050 Move xref-elisp-location to elisp-mode.el
4051 * lisp/progmodes/xref.el (xref-elisp-location)
4052 (xref-make-elisp-location, xref-location-marker): Remove here.
4053 (xref--xref): Don't limit the type of the location slot.
4054 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
4055 Define as a cl-struct here.
4056 (xref-location-marker): Move here.
4057
4058 2015-06-02 Eli Zaretskii <eliz@gnu.org>
4059
4060 Minor tweaks for .gitignore
4061 * .gitignore: Don't ignore versioned *.html and *.ps files. Don't
4062 ignore admin/notes/tags that might be ignored as TAGS on
4063 case-insensitive filesystems. (Bug#20710)
4064
4065 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
4066
4067 Generate curved quotes in ert doc
4068 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
4069 (ert-results-mode-menu)
4070 (ert-results-pop-to-backtrace-for-test-at-point)
4071 (ert-results-pop-to-messages-for-test-at-point)
4072 (ert-results-pop-to-should-forms-for-test-at-point)
4073 (ert-describe-test):
4074 Quote ‘like this’, not `like this', when generating doc strings
4075 and the like.
4076 * test/automated/ert-x-tests.el (ert-test-describe-test):
4077 Allow quoting ‘like this’.
4078
4079 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
4080
4081 Add test for previous commit
4082 * test/automated/replace-tests.el: New file.
4083 (query-replace--split-string-tests): Add test for previous commit.
4084
4085 Avoid confusion in query-replace history when replacing NUL chars
4086 * lisp/replace.el (query-replace--split-string): New function.
4087 (query-replace-read-from): Rely on the 'separator' property
4088 instead of searching for the NUL character (Bug#20690).
4089
4090 2015-06-02 Glenn Morris <rgm@gnu.org>
4091
4092 Merge from origin/emacs-24
4093 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
4094
4095 * admin/gitmerge.el (gitmerge-commit-message):
4096 Exclude "skipped" messages from ChangeLog.
4097
4098 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
4099
4100 Sync with Tramp repository
4101 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
4102 messages.
4103 (tramp-handle-make-auto-save-file-name): When calling
4104 `make-auto-save-file-name' internally, make sure it uses Unix-like
4105 behavior, not Windows-like behavior.
4106 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
4107 the local case, because "chown" might fail on w32.
4108 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
4109 for XEmacs.
4110
4111 2015-06-01 Eli Zaretskii <eliz@gnu.org>
4112
4113 MS-Windows followup for batch stdout/stderr output changes
4114 * lisp/international/mule-cmds.el (set-locale-environment): In
4115 batch mode, use console codepages for keyboard and terminal
4116 encoding. (Bug#20545)
4117
4118 Update .gitattributes for DOS EOL files
4119 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
4120 CRLF end-of-line format.
4121
4122 NS equivalents of xterm.c and w32term.c changes
4123 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
4124 glyph string background also when the font in use claims
4125 preposterously large global height value. Helps to remove
4126 artifacts left from previous displays when glyphless characters
4127 are displayed as hex code in a box.
4128 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
4129 value for FRAME_LINE_HEIGHT, even when a font claims very large
4130 value for its height.
4131
4132 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
4133
4134 Avoid grave accent quoting in stderr diagnostics
4135 A few Emacs diagnostics go directly to stderr, and so can't easily
4136 contain curved quotes (as non-UTF-8 locales might mishandle them).
4137 Instead of bothering to add support for this rarity, reword the
4138 diagnostics so that they don't use grave accent to quote.
4139 * src/alloc.c (mark_memory): Fix comment.
4140 * src/buffer.c (init_buffer):
4141 * src/dispnew.c (init_display):
4142 * src/emacs.c (main, sort_args):
4143 * src/lread.c (dir_warning):
4144 * src/term.c (init_tty):
4145 * src/unexmacosx.c (unexec):
4146 * src/xfns.c (select_visual):
4147 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
4148 Reword stderr diagnostics to avoid quoting `like this'.
4149 * src/unexmacosx.c: Include errno.h.
4150 * src/xfns.c (select_visual): Encode value for locale.
4151
4152 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
4153
4154 Treat batch stdout/stderr like standard display
4155 Calls like (print FOO) could generate improperly encoded or
4156 hard-to-read output if FOO contains characters outside the system
4157 locale. Fix this by treating batch stdout and stderr like
4158 interactive standard display, when it comes to transliterating and
4159 encoding characters (Bug#20545).
4160 * doc/emacs/mule.texi (Communication Coding):
4161 * doc/lispref/display.texi (Active Display Table):
4162 * doc/lispref/nonascii.texi (Locales):
4163 * etc/NEWS:
4164 * src/coding.c (syms_of_coding):
4165 * src/dispnew.c (syms_of_display):
4166 Document this.
4167 * src/print.c: Include disptab.h.
4168 (printchar_to_stream): New function, with much of the guts of the
4169 old Fexternal_debugging_output, except this one also uses the
4170 standard display table.
4171 (printchar, strout, Fexternal_debugging_output): Use it.
4172
4173 2015-05-31 Glenn Morris <rgm@gnu.org>
4174
4175 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
4176
4177 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
4178
4179 Remove unused DEFSYMs
4180 Remove DEFSYMs that aren't used at the C level. Also:
4181 * src/decompress.c (Qzlib_dll):
4182 * src/font.c (Qunicode_sip):
4183 * src/frame.c (Qtip_frame):
4184 * src/ftfont.c (Qserif):
4185 * src/gnutls.c (Qgnutls_dll):
4186 * src/xml.c (Qlibxml2_dll):
4187 Move from here ...
4188 * src/w32fns.c (syms_of_w32fns): ... to here,
4189 as these are used only on MS-Windows.
4190
4191 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
4192
4193 Use another default value for tramp-histfile-override
4194 * lisp/net/tramp-sh.el (tramp-histfile-override):
4195 Use ".tramp_history" as default.
4196 Fixes: debbugs:#20446
4197
4198 2015-05-29 Nicolas Petton <nicolas@petton.fr>
4199
4200 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
4201
4202 2015-05-16 Nicolas Petton <nicolas@petton.fr>
4203
4204 * etc/NEWS: Add an entry about map.el
4205
4206 Improve the docstring of functions in map.el
4207 Since a map is not a data structure but a concept, adding information
4208 about the possible types of maps can be useful information.
4209 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
4210 each public function.
4211
4212 2015-04-29 Nicolas Petton <nicolas@petton.fr>
4213
4214 Faster implementation of map-empty-p
4215 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
4216 specific tests depending on the type of the map.
4217
4218 * lisp/emacs-lisp/map.el: Better docstrings.
4219
4220 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
4221
4222 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda
4223
4224 2015-04-25 Nicolas Petton <nicolas@petton.fr>
4225
4226 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
4227
4228 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
4229
4230 Fix a false negative in `map-elt' with alists and values being nil
4231 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
4232 found but its associated value is nil, do not return the default
4233 value.
4234 * test/automated/map-tests.el: Add a regression test.
4235
4236 2015-04-24 Nicolas Petton <nicolas@petton.fr>
4237
4238 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
4239
4240 Do not signal an error when trying to delete a key from an array
4241 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
4242 the key is present to avoid signaling an error.
4243 * test/automated/map-tests.el: Add a test for deleting non-existing
4244 keys from maps.
4245
4246 * lisp/emacs-lisp/map.el: Better docstring.
4247
4248 Minor improvement in map-elt.
4249 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
4250 doing a lookup in arrays, but check the boundaries of the array
4251 instead.
4252 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
4253 and a negative integer as key.
4254
4255 2015-04-21 Nicolas Petton <nicolas@petton.fr>
4256
4257 * test/automated/map-tests.el: Refactoring of test methods.
4258
4259 * test/automated/map-tests.el: Renamed from map-test.el.
4260
4261 2015-04-18 Nicolas Petton <nicolas@petton.fr>
4262
4263 * lisp/emacs-lisp/map.el (map-into): Better error message.
4264
4265 * lisp/emacs-lisp/map.el: Removes byte-compilation warnings.
4266
4267 Throw an error when converting a map into an unknown map type
4268 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is not valid.
4269 * test/automated/map-test.el: Add a regression test.
4270
4271 New library map.el similar to seq.el but for mapping data structures.
4272 * test/automated/map-test.el: New file.
4273 * lisp/emacs-lisp/map.el: New file.
4274
4275 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
4276
4277 Make sure there's no explicit tag name
4278 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
4279 there's no explicit tag name (bug#20629).
4280
4281 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
4282
4283 Remove format2
4284 * src/editfns.c, src/lisp.h (format2): Remove.
4285 It is more trouble than it's worth, now that we have CALLN.
4286 This is just a minor refactoring.
4287 * src/buffer.c (Fkill_buffer):
4288 * src/dbusbind.c (XD_OBJECT_TO_STRING):
4289 * src/fileio.c (barf_or_query_if_file_exists):
4290 Adjust to format2 going away.
4291
4292 Don't misencode C-generated messages
4293 Also, be more consistent about calls to 'Fmessage' vs 'message'.
4294 * src/alloc.c (Fgc_status):
4295 Prefer AUTO_STRING to build_string for Fmessage call.
4296 * src/data.c (Fmake_variable_buffer_local)
4297 (Fmake_local_variable, Fmake_variable_frame_local):
4298 * src/doc.c (store_function_docstring):
4299 Use Fmessage, not message, since the argument can contain
4300 non-ASCII characters, and this can cause the resulting message
4301 to be incorrectly encoded for the current environment.
4302 * src/fns.c (maybe_resize_hash_table):
4303 * src/xselect.c (x_clipboard_manager_save_all):
4304 Use message, not Fmessage, since Fmessage's power isn't needed here.
4305 * src/process.c (Fmake_network_process): Reword message to avoid %s.
4306 * src/xdisp.c (vmessage): Document restrictions on message contents.
4307 (message_nolog) [false]: Remove unused code.
4308
4309 Use \r rather than ^M in string literals
4310 This is less likely to cause problems on platforms that
4311 use CRLF (or CR!) termination for lines.
4312
4313 Update .gitattributes to match current sources
4314 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
4315 * .gitattributes: Accommodate tests that insist on DOS format.
4316 Remove test/automated/data/decompress/foo-gzipped.
4317 Add etc/e/eterm-color.
4318
4319 2015-05-30 Eli Zaretskii <eliz@gnu.org>
4320
4321 Document 'face-ignored-fonts'
4322 * doc/emacs/mule.texi (Modifying Fontsets): Document
4323 face-ignored-fonts. (Bug#20628)
4324
4325 Add etags test for the new -Q option
4326 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
4327 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
4328 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
4329 test-case changes below.
4330 * test/etags/ETAGS.good_6: New file.
4331 * test/etags/cp-src/x.cc: New file.
4332 * test/etags/Makefile (CPSRC): Add x.cc.
4333 (check): Add one more test, for -Q.
4334
4335 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
4336
4337 Use list for the tags completion table, not obarray
4338 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
4339 list instead of an obarray
4340 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
4341 (tags-completion-table): Combine those lists.
4342 (tags-completion-table): Update the docstring.
4343
4344 2015-05-30 Eli Zaretskii <eliz@gnu.org>
4345
4346 Restore EOL format testing in etags
4347 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
4348 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
4349 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
4350 test-case changes below.
4351 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
4352 * test/etags/cp-src/c.C (B): Add back stray CR character.
4353 * test/etags/c-src/dostorture.c: Add back.
4354 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
4355
4356 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
4357
4358 Declare Emacs on MS-Windows to be DPI-aware
4359 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
4360 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
4361 This avoids Windows entering compatibility mode for Emacs,
4362 which causes fonts to look less nice.
4363
4364 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
4365
4366 Improve Tramp traces.
4367 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
4368 * lisp/net/tramp.el (tramp-debug-message): Use it.
4369
4370 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
4371
4372 backup-buffer minor reworking of internals
4373 * lisp/files.el (backup-buffer): Rework to avoid a couple of
4374 unused locals inadvertently introduced in the previous change.
4375
4376 backup-buffer now reports .emacs.d/%backup% ills
4377 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
4378 fails due to disk space exhaustion or whatever, do not pretend
4379 that it succeeded. More generally, do a better job of checking
4380 for I/O failures, and limit the scope of the condition-case to
4381 just the operations where file errors should be caught and ignored
4382 (Bug#20595). Also, don't bother trying to delete later backups if
4383 an earlier deletion fails, as this is a sign of trouble and it's
4384 better to stop when there's trouble.
4385
4386 copy-file now truncates output after writing
4387 * src/fileio.c (Fcopy_file): Truncate output after writing rather
4388 than before. This is more likely to work than truncation before
4389 writing, if the file system is out of space or the user is over
4390 disk quota (Bug#20595). Also, check for read errors.
4391
4392 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
4393
4394 * lisp/emacs-lisp/package.el: Don't load from parent dir
4395 (package-load-all-descriptors): Don't load descriptors from
4396 directories above the package directories.
4397
4398 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
4399
4400 Merge from gnulib
4401 This incorporates the following (Bug#20681):
4402 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
4403 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
4404 * lib/set-permissions.c: Copy from gnulib.
4405
4406 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
4407
4408 Improve Tramp traces.
4409 * lisp/net/tramp.el (tramp-call-process-region): New defun.
4410 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
4411
4412 2015-05-29 Glenn Morris <rgm@gnu.org>
4413
4414 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
4415
4416 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
4417
4418 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
4419 The signature was changed in the cairo branch, merged on 2015-05-23.
4420 This oversight broke compiling only the non-toolkit X version.
4421
4422 2015-05-29 Samer Masterson <samer@samertm.com>
4423
4424 * doc/lispref/os.texi: Update initial-buffer-choice docs.
4425
4426 2015-05-29 Glenn Morris <rgm@gnu.org>
4427
4428 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
4429 Mark as an expected failure.
4430
4431 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
4432
4433 Change package test to look for curved quotes
4434 * test/automated/package-test.el (package-test-describe-package)
4435 (package-test-signed): Search for curved single quotes as well as
4436 for grave accent and apostrophe.
4437
4438 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
4439
4440 gnus-art.el: Re-revert last change
4441 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
4442 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
4443
4444 2015-05-28 Samer Masterson <samer@samertm.com>
4445
4446 Show files when `initial-buffer-choice' is non-nil
4447 * startup.el (command-line-1): When Emacs is given a file as an
4448 argument and `initial-buffer-choice' is non-nil, display both the file
4449 and `initial-buffer-choice'. For more than one file, show
4450 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
4451 commands out of the command line arg parser.
4452 (initial-buffer-choice): Clarify docstring.
4453
4454 2015-05-28 Eli Zaretskii <eliz@gnu.org>
4455
4456 Fix last commit
4457 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
4458 (gnulib module qcopy-acl): Add back, as it is harmless. This
4459 minimizes differences wrt lib/gnulib.mk.
4460
4461 Fix the MS-Windows build as followup to gnulib update
4462 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
4463 set-permissions.c, as they don't compile on MinGW.
4464 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
4465
4466 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
4467
4468 Revert my change to gnus-art.el
4469 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
4470 It wasn't that important, and it caused a Gnus build to fail. See:
4471 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
4472
4473 New minor mode Electric Quote
4474 This lets you easily insert quotes ‘like this’ by typing
4475 quotes `like this', and similarly you can easily insert
4476 quotes “like this” by typing quotes ``like this'' (Bug#20545).
4477 * doc/emacs/basic.texi (Inserting Text):
4478 * doc/emacs/modes.texi (Minor Modes):
4479 * etc/NEWS: Document it.
4480 * doc/emacs/text.texi (Quotation Marks): New section.
4481 * lisp/electric.el (electric-quote-comment)
4482 (electric-quote-string, electric-quote-paragraph):
4483 New custom vars.
4484 (electric--insertable-p)
4485 (electric-quote-post-self-insert-function): New functions.
4486 (electric-quote-mode, electric-quote-local-mode): New minor modes.
4487 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
4488 Add curved single quotes to electric-pair-text-pairs.
4489 Set electric-quote-string in this buffer.
4490
4491 A few more doc string fixes (Bug#20385)
4492
4493 Accept curved quotes in doc strings
4494 * lisp/info-look.el (info-lookup-guess-custom-symbol):
4495 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
4496
4497 Generate curved quotes in pseudo-info nodes
4498 * lisp/info.el (Info-virtual-index-find-node)
4499 (Info-virtual-index, Info-apropos-find-node, info-apropos):
4500 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
4501
4502 Fix minor quoting problems in doc strings
4503 Most of these fixes involve escaping grave accents that are
4504 actually intended to be grave accents, not left quotes.
4505 (Bug#20385)
4506
4507 Support curved quotes in doc strings
4508 Emacs's traditional doc string style has been to quote symbols
4509 `like this'. This worked well on now-obsolete terminals where
4510 ` and ' were symmetric quotes, but nowadays curved quotes
4511 ‘like this’ look better. Support quoting the new way too.
4512 (Bug#20385)
4513 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
4514 ‘like-this’ as well as `like-this'.
4515 * etc/NEWS: Mention this.
4516 * lisp/cedet/mode-local.el (overload-docstring-extension)
4517 (mode-local-print-binding, mode-local-describe-bindings-2):
4518 * lisp/cus-theme.el (describe-theme-1):
4519 * lisp/descr-text.el (describe-text-properties-1, describe-char):
4520 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4521 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
4522 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
4523 (eieio-help-constructor):
4524 * lisp/emacs-lisp/package.el (describe-package-1):
4525 * lisp/faces.el (describe-face):
4526 * lisp/help-fns.el (help-fns--key-bindings)
4527 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
4528 (help-fns--interactive-only, describe-function-1):
4529 (describe-variable):
4530 * lisp/help.el (describe-mode):
4531 * lisp/international/mule-cmds.el (describe-input-method)
4532 (describe-language-environment):
4533 * lisp/international/mule-diag.el (describe-character-set)
4534 (print-coding-system-briefly, list-input-methods)
4535 (list-input-methods-1):
4536 Insert curved quotes rather than grave accent and apostrophe.
4537 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
4538 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
4539 (checkdoc-proper-noun-region-engine):
4540 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
4541 (lisp-cl-font-lock-keywords-2):
4542 * lisp/finder.el (finder-font-lock-keywords):
4543 * lisp/gnus/gnus-art.el (gnus-button-alist):
4544 * lisp/help-fns.el (help-do-arg-highlight)
4545 (describe-function-1, describe-variable):
4546 * lisp/help-mode.el (help-xref-symbol-regexp)
4547 (help-xref-info-regexp, help-xref-url-regexp):
4548 * lisp/help.el (describe-mode):
4549 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
4550 * lisp/wid-edit.el (widget-documentation-link-regexp):
4551 Parse symbols quoted ‘like-this’ as well as `like-this'.
4552 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
4553 Add "‘" and "’" to electric-pair-text-pairs.
4554 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
4555 (elisp-completion-at-point, elisp--preceding-sexp):
4556 Also treat "‘" and "’" as quoting chars.
4557
4558 substitute-command-keys now curves quotes
4559 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
4560 * doc/lispref/help.texi (Keys in Documentation):
4561 * etc/NEWS: Document this.
4562 * src/doc.c (Fsubstitute_command_keys): Implement it.
4563
4564 2015-05-28 Glenn Morris <rgm@gnu.org>
4565
4566 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
4567 (rmail-summary-by-topic, rmail-summary-by-senders):
4568 No longer strip leading/trailing whitespace.
4569
4570 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
4571 (f90-no-block-limit): Add "enum". (Bug#20680)
4572 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
4573 New tests.
4574
4575 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * lisp/isearch.el (isearch--current-buffer): Give a default value.
4578
4579 Un-revert changes mistakenly dropped by f9fabb2b
4580
4581 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
4582
4583 Merge from gnulib
4584 This incorporates:
4585 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
4586 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
4587 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
4588 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
4589 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
4590 2015-05-26 stdio: fix probe on mingw under gcc 5.1
4591 * admin/merge-gnulib (GNULIB_MODULES):
4592 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
4593 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
4594 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
4595 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
4596 Get latest versions from gnulib.
4597 * lib/get-permissions.c, lib/set-permissions.c: New files.
4598 * lib/gnulib.mk, m4/gnulib-comp.m4:
4599 Regenerate.
4600 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
4601
4602 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
4603
4604 Delete the old process in vc-setup-buffer
4605 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
4606 process here.
4607 (vc-do-command): Rather than here (bug#20608).
4608
4609 2015-05-27 Ivan Shmakov <ivan@siamics.net>
4610
4611 Avoid gratuitous delete-dups in face-at-point.
4612 * lisp/faces.el (face-at-point): Do not compute the properly
4613 ordered, duplicate-free list if only a single value is
4614 requested anyway. (Bug#20519)
4615
4616 Show the exact C-x 8 RET invocation in describe-char.
4617 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
4618 invocation instead of a template. (Bug#20522)
4619
4620 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
4621
4622 * lisp/emacs-lisp/package.el: Don't erase tags on refresh
4623 (package-menu--post-refresh): Call `tabulated-list-print' with the
4624 UPDATE argument. This only affects the refresh action, the revert
4625 action still erases tags.
4626 (package-menu-get-status): Change `assq' to `assoc'.
4627 (package-menu--mark-upgrades-1): New function.
4628 (package-menu--mark-upgrades-pending): New variable.
4629 (package-menu-mark-upgrades): Use them to delay marking until
4630 after refresh is done.
4631 (package-menu--post-refresh): Call mark-upgrades-1 if
4632 mark-upgrades-pending is non-nil.
4633
4634 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
4635
4636 Fix typo in commit 3953c4be2816537be95520605d45b866dc731f4b
4637
4638 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * lisp/isearch.el (isearch--current-buffer): New var
4641 (isearch-update): Set cursor-sensor-inhibit here.
4642 (isearch-done): Unset cursor-sensor-inhibit in the right buffer (bug#20532).
4643
4644 Change inhibit-point-motion-hooks to t
4645 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
4646 to t and document it as obsolete.
4647
4648 2015-05-27 Eli Zaretskii <eliz@gnu.org>
4649
4650 Support ZIP files that use Zip64 extensions
4651 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
4652 format of central directory offsets used by Zip64 extensions.
4653 (Bug#20665)
4654
4655 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
4656
4657 New test tramp-test30-make-auto-save-file-name
4658 * tramp-tests.el (tramp-test30-make-auto-save-file-name): New test.
4659 (tramp-test31-special-characters)
4660 (tramp-test31-special-characters-with-stat)
4661 (tramp-test31-special-characters-with-perl)
4662 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
4663 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
4664 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
4665 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
4666
4667 Improve tramp-handle-make-auto-save-file-name
4668 * tramp.el (tramp-auto-save-directory): Add :tags.
4669 (tramp-handle-make-auto-save-file-name): Let native
4670 `make-auto-save-file-name' use `auto-save-file-name-transforms',
4671 if `tramp-auto-save-directory' is not set.
4672
4673 2015-05-27 Glenn Morris <rgm@gnu.org>
4674
4675 No longer set dired-directory in eshell. (Bug#16477)
4676 * lisp/eshell/esh-mode.el (eshell-mode):
4677 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
4678
4679 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
4680
4681 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
4682 * lisp/progmodes/cc-mode.el (c-mode-help-address):
4683 Change to submit@debbugs.
4684 (c-mode-bug-package): New constant.
4685 (mail-position-on-field): Declare.
4686 (c-submit-bug-report): Insert X-Debbugs-Package header.
4687 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
4688 Mention debbugs.gnu.org.
4689
4690 2015-05-26 Glenn Morris <rgm@gnu.org>
4691
4692 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
4693 (rmail-summary-by-recipients, rmail-summary-by-topic)
4694 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
4695 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
4696
4697 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
4698
4699 Handle curved quotes in info files
4700 * lisp/calc/calc-help.el (calc-describe-thing):
4701 * lisp/info.el (Info-find-index-name)
4702 (Info-try-follow-nearest-node, Info-fontify-node):
4703 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
4704 In info files, process quotes ‘like this’ the same way we process
4705 quotes `like this'. This catches a few places we missed earlier.
4706
4707 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 xref-prompt-for-identifier: Use a list value
4710 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
4711 value, to be interpreted as a list of commands.
4712 (xref--prompt-p): New function.
4713 (xref--read-identifier): Use it.
4714
4715 2015-05-26 Eli Zaretskii <eliz@gnu.org>
4716
4717 Teach MS-Windows font back-end return per-glyph ascent/descent
4718 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
4719 values.
4720 * src/w32font.c (w32font_text_extents): Compute, cache, and
4721 accumulate per-glyph ascent and descent values, instead of copying
4722 global values from the font. If the values are not available from
4723 the font data, i.e., non-TTF fonts, fall back on font-global values.
4724 (compute_metrics): Compute and return per-glyph ascent and descent
4725 values, if returned by GetGlyphOutlineW, falling back on
4726 font-global values. (Bug#20628)
4727 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
4728 height of rectangle to be drawn, to be compatible with
4729 XDrawRectangle. Fixes glyphless-char display as hex codes in a
4730 box, when per-glyph ascent/descent values are used.
4731
4732 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
4733
4734 * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter
4735 (tabulated-list-print): Don't sort if sorter is nil
4736
4737 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
4738
4739 Fix Bug#20621
4740 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
4741 are major modes which set `auto-save-mode' on their own rules;
4742 Tramp shall not overwrite such settings.
4743 (Bug#20621)
4744
4745 2015-05-26 Glenn Morris <rgm@gnu.org>
4746
4747 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
4748 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
4749 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
4750 Doc updates.
4751 (vc-dir-mode): Remove unnecessary autoload.
4752
4753 2015-05-25 Philipp Stephani <phst@google.com>
4754
4755 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52
4756 (xterm--extra-capabilities-type): Add `getSelection'.
4757 (xterm--query): Add `no-async' argument.
4758 (xterm--init-activate-get-selection): New function.
4759 (terminal-init-xterm): Use it.
4760 (xterm--init-modify-other-keys): Rename from
4761 terminal-init-xterm-modify-other-keys.
4762 (xterm--init-bracketed-paste-mode): Rename from
4763 terminal-init-xterm-bracketed-paste-mode.
4764 (xterm--init-activate-set-selection): Rename from
4765 terminal-init-xterm-activate-set-selection.
4766 (xterm--selection-char): New function.
4767 (gui-backend-set-selection): Use it. Use the &context to only apply
4768 this method in terminals where we enabled the feature.
4769 (gui-backend-get-selection): New method.
4770
4771 2015-05-25 Daniel Colascione <dancol@dancol.org>
4772
4773 Add C-language keyword constants to C++
4774 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
4775 keyword constants to C++.
4776
4777 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
4778
4779 Make TAGS files more portable to MS-Windows
4780 * etc/NEWS: Document this.
4781 * lib-src/etags.c (readline_internal) [DOS_NT]:
4782 Don't treat CRs differently from GNUish hosts.
4783 * lisp/progmodes/etags.el (etags-goto-tag-location):
4784 Adjust STARTPOS to account for the skipped CRs in dos-style files.
4785
4786 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
4787
4788 Improve fix of debbugs:20634 in tramp-sh.el
4789
4790 2015-05-25 Eli Zaretskii <eliz@gnu.org>
4791
4792 Fix a typo in last commit
4793 * lib-src/etags.c (C_entries): Fix a typo.
4794 * test/etags/ETAGS.good_1:
4795 * test/etags/ETAGS.good_2:
4796 * test/etags/ETAGS.good_3:
4797 * test/etags/ETAGS.good_4:
4798 * test/etags/ETAGS.good_5:
4799 * test/etags/CTAGS.good: Update due to the change in etags.c.
4800
4801 Fix tagging of class members in C-like OO languages
4802 * lib-src/etags.c (longopts): Add new option --class-qualify and
4803 its shorthand -Q.
4804 (print_help): Add help text for --class-qualify.
4805 (main): Add handling of -Q.
4806 (consider_token, C_entries) <omethodparm>: Append argument types
4807 to Objective C methods only if --class-qualify was specified.
4808 Qualify C++, Objective C, and Java class members with their class
4809 names only if --class-qualify was specified.
4810 (C_entries): If --class-qualify was not specified, remove the
4811 namespace and class qualifiers from tag names of C++ methods.
4812 This allows to use etags.el as xref back-end without the
4813 tag-symbol-match-p method, which greatly increases the number of
4814 potentially false positives. (Bug#20629)
4815 * doc/man/etags.1: Update to document the new --class-qualify
4816 option.
4817 * test/etags/ETAGS.good_1:
4818 * test/etags/ETAGS.good_2:
4819 * test/etags/ETAGS.good_3:
4820 * test/etags/ETAGS.good_4:
4821 * test/etags/ETAGS.good_5:
4822 * test/etags/CTAGS.good: Update due to changes in etags.c.
4823
4824 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 (cl-generic-define-method): Side effects are evil (bug#20644)
4827 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
4828 cons-cells that might be used as keys in an `equal' hash-table.
4829
4830 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4831
4832 Make erc timestamps visible again
4833 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec): Make
4834 timestamps visible again (if requested).
4835
4836 2015-05-25 Eli Zaretskii <eliz@gnu.org>
4837
4838 Fix last change in etags.c that broke tagging compresed files
4839 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
4840 quoting of decompression shell command for MS-Windows/MS-DOS.
4841
4842 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist
4845 (Bug#20639)
4846
4847 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
4848
4849 Fix typo in 89035e247591c8d688fce922b7079881aa110f33
4850
4851 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
4852
4853 Fix IPv6 addresses in Tramp
4854 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
4855 Add sqare brackets around host name.
4856
4857 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
4858
4859 Inhibit `epa-file-handler' in Tramp
4860 (Bug#20634)
4861 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4862 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
4863 `epa-file-handler'.
4864
4865 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring
4868 (pcase-let): Document the behavior in case the pattern doesn't match.
4869
4870 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
4871
4872 * lisp/emacs-lisp/tabulated-list.el: New optional print method
4873 (tabulated-list-print): New optional argument, UPDATE. If
4874 non-nil, the list is printed by only adding and deleting the
4875 changed entries, instead of erasing the whole buffer. This method
4876 is much faster when few or no entries have changed.
4877 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
4878 * etc/NEWS: Document it.
4879
4880 * lisp/emacs-lisp/tabulated-list.el: Improve printing
4881 (tabulated-list--get-sorter): New function.
4882 (tabulated-list-print): Restore window-line when remember-pos is
4883 passed and optimize away the `nreverse'.
4884
4885 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
4886
4887 Simpilify etags TEX mode scanning
4888 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
4889 Remove static vars.
4890 (TeX_commands): Deduce escapes here instead.
4891 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
4892 This removes the need for a reset_input call.
4893
4894 Improve etags I/O error reporting
4895 * lib-src/etags.c:
4896 Don't include sys/types.h and sys/stat.h; no longer needed.
4897 (infilename): New static var.
4898 (process_file_name): Don't call 'stat'. Instead, just open the
4899 file for reading and report any errors. Don't bother making
4900 a copy of the file argument; it's not needed. Be more careful to
4901 use the failing errno when reporting an error.
4902 Quote the real name better (though no perfectly)
4903 when passing it to the shell.
4904 (reset_input): New function, which reports I/O errors.
4905 All uses of 'rewind' changed to use this function.
4906 (perhaps_more_input): New function, which also checks for
4907 I/O errors. All uses of 'feof' changed to use this function.
4908 (analyze_regex): Report an error if fclose fails.
4909 (readline_internal): Report an error if getc fails.
4910 (etags_mktmp): Return an error if close fails.
4911
4912 etags.c: avoid side effects in 'if'
4913 * lib-src/etags.c (process_file_name, Perl_functions)
4914 (TEX_decode_env): Hoist side effects into previous statement.
4915
4916 .gitignore tweaks
4917 * .gitignore: Ignore all *.stamp files. Sort.
4918 Ignore [0-9]*.txt (commonly used name for git patches)
4919 and /vc-dwim-log-* (vc-dwim temporary).
4920
4921 2015-05-24 Eli Zaretskii <eliz@gnu.org>
4922
4923 Fix last change in etags.c, which failed the test suite
4924 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
4925 before the last change.
4926
4927 2015-05-23 Glenn Morris <rgm@gnu.org>
4928
4929 Remove charset map files from repository, generate in first bootstrap
4930 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
4931 (all): Create the stamp file.
4932 (extraclean): Delete the stamp file.
4933 * src/Makefile.in (lispintdir, charsets): New variables.
4934 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
4935 New rules.
4936 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
4937 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
4938 * etc/charsets/*.map: Remove from repository.
4939
4940 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
4941
4942 Cleanup etags.c to use locale-independent code
4943 Although this doesn't alter behavior (as etags doesn't use
4944 setlocale), the new version is more clearly locale-independent and
4945 the executable is a bit smaller on my platform.
4946 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
4947 Include <c-ctype.h> instead of <ctype.h>.
4948 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
4949 (begtk, midtk):
4950 Remove; no longer needed.
4951 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
4952 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
4953 c_islower, c_tolower, respectively.
4954 (notinname, begtoken, intoken, endtoken): Rewrite as functions
4955 instead of macros, and initialize the tables at compile-time
4956 rather than at run-time.
4957
4958 Put default action first in src/Makefile
4959 * src/Makefile.in (all): Put this rule before lisp.mk.
4960 That way, plain 'make' works in the src directory again.
4961
4962 2015-05-23 Glenn Morris <rgm@gnu.org>
4963
4964 * Makefile.in: Fix extraclean rule.
4965 (extraclean_dirs): New.
4966 (extraclean): Use it.
4967
4968 2015-05-23 Eli Zaretskii <eliz@gnu.org>
4969
4970 Avoid compiler warning in image.c on MS-Windows
4971 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
4972 warning in image.c.
4973
4974 2015-05-23 Glenn Morris <rgm@gnu.org>
4975
4976 Fix --without-toolkit-scroll-bars builds.
4977 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
4978 Add new argument to x_clear_area1.
4979 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
4980 Update x_clear_area arguments.
4981
4982 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
4983 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
4984 Change to included version.
4985 (LOCAL, local, totalclean): Remove.
4986 (extraclean): Delete all generated files.
4987
4988 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume CVS/Entries exists.
4991
4992 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
4993
4994 tags-completion-at-point-function: Don't trust the find-tag function
4995 * lisp/progmodes/etags.el (tags-completion-at-point-function):
4996 Don't trust the find-tag function.
4997
4998 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
4999
5000 Pacify --enable-gcc-warnings
5001 * src/frame.h (x_query_color): Remove redundant extern decl.
5002 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
5003 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
5004 (ftcrfont_text_extents, ftcrfont_draw):
5005 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
5006 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
5007 (x_ins_del_lines, frame_highlight, frame_unhighlight)
5008 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
5009 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
5010 (x_update_window_begin, x_connection_closed)
5011 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
5012 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
5013 (*x_gc_get_ext_data, x_extension_initialize)
5014 (x_cr_accumulate_data):
5015 Remove redundant static decl. Many of these GCC doesn't complain
5016 about, but we might as well clean out the duplication while we're
5017 in the neighborhood.
5018 * src/xterm.c (x_fill_trapezoid_for_relief):
5019 Remove decl of nonexistent function.
5020
5021 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 Replace gui-method macros with cl-generic with &context
5024 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
5025 (gui-method-declare, gui-call): Remove.
5026 (frame-creation-function): Use cl-defgeneric.
5027 (make-frame): Adjust callers.
5028 * lisp/menu-bar.el (menu-bar-edit-menu):
5029 Use gui-backend-selection-exists-p.
5030 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
5031 (gui-backend-get-selection): New cl-generic to replace
5032 gui-get-selection method.
5033 (gui-backend-set-selection): New cl-generic to replace
5034 gui-set-selection method.
5035 (gui-selection-owner-p): New cl-generic to replace
5036 gui-selection-owner-p method.
5037 (gui-backend-selection-exists-p): New cl-generic to replace
5038 gui-selection-exists-p method. Adjust all callers.
5039 * lisp/server.el (server-create-window-system-frame): Don't ignore
5040 window-system spec even when unsupported.
5041 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
5042 * lisp/startup.el (handle-args-function, window-system-initialization):
5043 Use cl-defgeneric.
5044 (command-line): Adjust calls accordingly.
5045 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
5046 a window-system-initialization method.
5047 (handle-args-function, frame-creation-function): Use cl-defmethod.
5048 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
5049 (gui-get-selection): Use cl-defmethod on the new functions instead.
5050 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
5051 a gui-backend-get-selection method.
5052 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
5053 Use cl-defmethod on the new functions instead.
5054 (msdos-window-system-initialization): Turn into
5055 a window-system-initialization method.
5056 (frame-creation-function, handle-args-function): Use cl-defmethod.
5057 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
5058 a window-system-initialization method.
5059 (handle-args-function, frame-creation-function): Use cl-defmethod.
5060 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
5061 (gui-get-selection): Use cl-defmethod on the new functions instead.
5062 * lisp/term/x-win.el (x-window-system-initialization): Turn into
5063 a window-system-initialization method.
5064 (handle-args-function, frame-creation-function): Use cl-defmethod.
5065 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
5066 (gui-get-selection): Use cl-defmethod on the new functions instead.
5067 * lisp/term/xterm.el (xterm--set-selection): Turn into
5068 a gui-backend-set-selection method.
5069 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
5070 (Fns_selection_owner_p): Remove unused arg `terminal'.
5071 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
5072
5073 2015-05-23 Eli Zaretskii <eliz@gnu.org>
5074
5075 Revert "Fix etags Bug#20629 that broke C++ support."
5076 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
5077
5078 2015-05-23 Jan D <jan.h.d@swipnet.se>
5079
5080 Fix etags Bug#20629 that broke C++ support.
5081 * etags.el (etags-xref-find-definitions-tag-order): Revert commit
5082 from Sun May 10 (Bug#20629).
5083
5084 Merge branch 'cairo'.
5085 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
5086 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
5087
5088 Merge branch 'master' into cairo
5089
5090 Fixes to compile cairo branch without cairo.
5091 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
5092 first argument.
5093 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
5094 USE_CAIRO.
5095
5096 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
5097
5098 * lisp/emacs-lisp/package.el: Always update selected-packages
5099 (package--update-selected-packages): New function.
5100 (package-menu-execute): Use it before starting the transaction,
5101 this way the list of selected packages is updated even when the
5102 transaction fails.
5103 (package-menu--perform-transaction): Don't edit selected-packages.
5104
5105 2015-05-23 Eli Zaretskii <eliz@gnu.org>
5106
5107 Fix etags reading of compressed files
5108 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
5109 Include fcntl.h, for O_CLOEXEC.
5110 (process_file_name): Don't use 'popen', whose streams cannot be
5111 rewound. Instead, uncompress the file to a temporary file,
5112 created by 'etags_mktmp', and read from that as usual.
5113 (etags_mktmp): New function.
5114 * test/etags/ETAGS.good_1:
5115 * test/etags/ETAGS.good_2:
5116 * test/etags/ETAGS.good_3:
5117 * test/etags/ETAGS.good_4:
5118 * test/etags/ETAGS.good_5: Update to be consistent with latest
5119 changes in etags.c regarding reading compressed files.
5120
5121 Improve documentation of 'set-fontset-font'
5122 * doc/lispref/display.texi (Fontsets): Document the value of nil
5123 for the 3rd argument of 'set-fontset-font'.
5124
5125 Fix documentation of forward-line
5126 * src/cmds.c (Fforward_line): Clarify the return value if the line
5127 at end of accessible portion of the buffer has no newline.
5128 * doc/lispref/positions.texi (Text Lines): Document what happens
5129 if the line at end of accessible portion of buffer has no newline.
5130 (Bug#20587)
5131
5132 2015-05-22 Glenn Morris <rgm@gnu.org>
5133
5134 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
5135
5136 * admin/charsets/mapconv (LC_ALL): Set to C.
5137
5138 * Makefile.in: Add admin/charsets into top-level clean rules.
5139 (clean): Add admin/charsets.
5140 (maybeclean_dirs): New variable.
5141 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
5142
5143 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
5144
5145 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
5146
5147 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc
5148
5149 2015-05-22 Glenn Morris <rgm@gnu.org>
5150
5151 Generate admin/charsets Makefile via configure, and make more portable.
5152 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
5153 (admin/charsets/Makefile): Generate it.
5154 * admin/charsets/Makefile.in: Rename from Makefile.
5155 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
5156 New variables, set by configure.
5157 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
5158 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
5159 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
5160 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
5161 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
5162 (all): Declare PHONY.
5163 (local): New PHONY target.
5164 (map_template): New template. Use to define short PHONY aliases.
5165 (*.map): Add directory prefixes to targets and prerequisites.
5166 Respect make verbosity.
5167 (JISC6226.map): Replace non-portable sed append without newline.
5168 (install): Remove rule.
5169 (clean): Only delete temporary sedscript.
5170 (bootstrap-clean, distclean, maintainer-clean, extraclean)
5171 (totalclean): New PHONY rules.
5172 * admin/charsets/mapconv (BASE): Replace basename with expr.
5173 (FILE): Add "mapfiles" subdirectory.
5174 (AWK): New variable. Use throughout in place of "awk".
5175 (main): Use "gunzip -c" in place of "zcat".
5176 Don't leave whitespace before "p", for older sed.
5177 * admin/charsets/mapfiles/PTCP154: Add final newline,
5178 to make older sed versions happy.
5179
5180 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
5183 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
5184 (auto-revert-notify-watch-descriptor): Use defvar-local.
5185 (find-file-hook, auto-revert-tail-mode, )
5186 (auto-revert-notify-add-watch): Use setq-local.
5187 (auto-revert-notify-add-watch): Don't call make-local-variable on
5188 kill-buffer-hook (bug#20601).
5189
5190 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 Change defgeneric so it doesn't completely redefine the function
5193 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
5194 previously defined methods.
5195 (cl-generic-define-method): Let-bind purify-flag instead of using `fset'.
5196 (cl--generic-prefill-dispatchers): Only define during compilation.
5197 (cl-method-qualifiers): Remove redundant alias.
5198 (help-fns-short-filename): Silence byte-compiler.
5199 * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
5200
5201 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
5202
5203 (package-menu-execute): Remove reference to remove-dups
5204
5205 2015-05-21 kwhite <kwhite@gnu.org>
5206
5207 * lisp/erc/erc.el: Hide network/channel messages
5208 (erc-network-hide-list, etc-channel-hide-list): New lists to define
5209 message types per network/channel.
5210 (erc-add-targets): New function to parse list of targets
5211 (erc-hide-current-message-p): Modified to check for new targets
5212
5213 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
5214
5215 Don't quote nil and t in doc strings
5216 This is as per "Tips for Documentation Strings" in the elisp manual.
5217 For consistency, do the same in diagnostics and comments.
5218
5219 2015-05-21 Eli Zaretskii <eliz@gnu.org>
5220
5221 Fix a minor problem with mouse-face on mode line
5222 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
5223 mouse face also if the mouse pointer hovers above mode-line glyphs
5224 that don't come from any Lisp string. (Bug#20620)
5225
5226 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
5227
5228 * lisp/emacs-lisp/package.el: Fix selected-package logic
5229 (package-menu-execute): Mark as selected all non-upgrade packages
5230 being installed.
5231 (package-menu--perform-transaction): Don't mark anything.
5232
5233 * lisp/emacs-lisp/package.el: Mode-line progress report
5234 (package-menu--transaction-status): New variable.
5235 (package-menu-mode, package-menu--perform-transaction): Use it.
5236
5237 * lisp/emacs-lisp/package.el: Better transaction messages
5238 (package-menu--partition-transaction): New function.
5239 (package-menu--prompt-transaction-p, package-menu-execute): Use
5240 it.
5241 (package-menu--perform-transaction): Don't do any messaging.
5242
5243 * lisp/emacs-lisp/package.el: Revert async package transactions
5244 (package-menu-async): Update doc.
5245 (package-install-from-archive, package-download-transaction)
5246 (package-install, package-menu--perform-transaction)
5247 (package-menu-execute): Remove asynchronous functionality.
5248
5249 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
5250
5251 Revert doc string changes to f90.el
5252 Problem reported by Glenn Morris in:
5253 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
5254 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
5255 Revert recent changes to doc strings, as it's intended that they
5256 use grave accent, not quote.
5257
5258 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
5259
5260 Improve parameter name
5261
5262 Add new inline function `hash-table-empty-p'
5263
5264 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
5265
5266 Don't require help-fns when not needed
5267 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
5268 * lisp/emacs-lisp/elint.el:
5269 Don't require help-fns at the top level.
5270 * lisp/emacs-lisp/advice.el (ad-arglist):
5271 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
5272 Don't require help-fns. (Bug#17001)
5273
5274 2015-05-20 Eli Zaretskii <eliz@gnu.org>
5275
5276 Fix slash collapsing in etags on MS-Windows
5277 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
5278 MS-Windows code from the Posix code, and support collapsing both
5279 forward- and back-slashes on MS-Windows. Fixes a regression found
5280 by the test suite.
5281
5282 Improve documentation of glyphless-char-display
5283 * doc/lispref/display.texi (Glyphless Chars): Improve
5284 documentation of glyphless character display.
5285
5286 Fix "acronym" display of glyphless characters on w32
5287 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
5288 ignore "acronym" substitutes of 1 character for glyphless characters.
5289
5290 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
5291
5292 Add an automated test for let-when-compile
5293 * test/automated/subr-tests.el (let-when-compile): New test.
5294
5295 Add let-when-compile macro instead of using pcase-let
5296 * lisp/subr.el (let-when-compile): New let-like macro that makes its
5297 bindings known to macros like `eval-when-compile' in the body.
5298 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to a
5299 `let-when-compile'. Also comment out the unused lexical var
5300 `el-kws-re'.
5301 The change greatly improves readability, while providing almost the
5302 same (even shorter) byte code: instead of pre-evaluating 10 variables,
5303 tossing them into a list, and destructuring that list a full screen
5304 page later, the variables are simply bound as they are evaluated,
5305 wrapped individually in `eval-when-compile'.
5306
5307 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
5308
5309 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer
5310 (package-delete-button-action): New function.
5311 (describe-package-1): Add Delete button.
5312
5313 * lisp/emacs-lisp/package.el: Better dependency description
5314 (package--used-elsewhere-p): New optional arg, ALL, and return
5315 package-desc objects instead of names.
5316 (package-delete): Update accordingly.
5317 (describe-package-1): Describe which packages require the package.
5318
5319 2015-05-20 Martin Rudalics <rudalics@gmx.at>
5320
5321 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
5322 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
5323 Fix doc-string (Bug#20533).
5324
5325 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
5326 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
5327 (switch-to-buffer): If the selected window is strongly dedicated
5328 to its buffer, signal error before prompting for buffer name. Handle
5329 `switch-to-buffer-in-dedicated-window'. (Bug#20472)
5330 * doc/lispref/windows.texi (Switching Buffers): Document
5331 `switch-to-buffer-in-dedicated-window'.
5332
5333 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
5334
5335 Prefer "this" to “this” in doc strings
5336 This mostly just straightens quotes introduced in my previous patch.
5337 Suggested by Dmitry Gutov in:
5338 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
5339 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
5340 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
5341 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
5342 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
5343 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
5344 Prefer straight double quotes to curved double quotes in doc strings.
5345
5346 Fix minor quoting problems in doc strings
5347 These were glitches regardless of how or whether we tackle the
5348 problem of grave accent in doc strings.
5349 * lisp/calc/calc-aent.el (math-restore-placeholders):
5350 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
5351 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
5352 * lisp/leim/quail/hebrew.el ("hebrew-new")
5353 ("hebrew-biblical-sil"):
5354 * lisp/leim/quail/thai.el ("thai-kesmanee"):
5355 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
5356 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
5357 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
5358 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
5359 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
5360 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
5361 (semantic-tag-components):
5362 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
5363 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
5364 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
5365 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
5366 * lisp/emacs-lisp/generator.el (iter-next):
5367 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
5368 (gnus-article-mode-syntax-table):
5369 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
5370 * lisp/net/soap-client.el (soap-wsdl-get):
5371 * lisp/net/telnet.el (telnet-mode):
5372 * lisp/org/org-compat.el (org-number-sequence):
5373 * lisp/org/org.el (org-remove-highlights-with-change)
5374 (org-structure-template-alist):
5375 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
5376 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
5377 (handwrite-12pt, handwrite-13pt):
5378 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
5379 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
5380 * lisp/progmodes/verilog-mode.el (verilog-tool)
5381 (verilog-string-replace-matches, verilog-preprocess)
5382 (verilog-auto-insert-lisp, verilog-auto-insert-last):
5383 * lisp/textmodes/makeinfo.el (makeinfo-options):
5384 * src/font.c (Ffont_spec):
5385 Fix minor quoting problems in doc strings, e.g., missing quote,
5386 ``x'' where `x' was meant, etc.
5387 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
5388 Fix minor quoting problem in other string.
5389 * lisp/leim/quail/ethiopic.el ("ethiopic"):
5390 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
5391 Omit unnecessary quotes.
5392 * lisp/faces.el (set-face-attribute, set-face-underline)
5393 (set-face-inverse-video, x-create-frame-with-faces):
5394 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
5395 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
5396 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
5397 * lisp/net/tramp.el (tramp-methods):
5398 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
5399 * lisp/textmodes/artist.el (artist-ellipse-right-char)
5400 (artist-ellipse-left-char, artist-vaporize-fuzziness)
5401 (artist-spray-chars, artist-mode, artist-replace-string)
5402 (artist-put-pixel, artist-text-see-thru):
5403 * lisp/vc/ediff-util.el (ediff-submit-report):
5404 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
5405 Use double-quotes rather than TeX markup in doc strings.
5406 * lisp/skeleton.el (skeleton-pair-insert-maybe):
5407 Reword to avoid the need for grave accent and apostrophe.
5408 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
5409 Don't use grave and acute accents to quote.
5410
5411 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * emacs-lisp/generator.el (cps--gensym, cps--transform-1): Silence compiler
5414
5415 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
5416
5417 Try to port new etags tests to MS-Windows
5418 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
5419 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
5420 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
5421 Adjust to test-case changes below.
5422 * test/etags/Makefile (CSRC): Remove dostorture.c.
5423 Whatever it was trying to test, wasn't working portably.
5424 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
5425 just a line-ending problem.
5426 * test/etags/c-src/dostorture.c: Remove.
5427 * test/etags/cp-src/c.C: Remove stray CR.
5428 * test/etags/html-src/algrthms.html: Remove trailing CRs.
5429 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
5430 but if someone edits it later it should stay UTF-8-compatible.
5431
5432 2015-05-19 Eli Zaretskii <eliz@gnu.org>
5433
5434 Fix display of overlapping window-specific overlays
5435 * src/keyboard.c (adjust_point_for_property): When adjusting point
5436 due to display strings, ignore overlays that are specific to
5437 windows other than the currently selected one.
5438 * src/xdisp.c (handle_single_display_spec): If the display
5439 property comes from an overlay, arrange for buffer iteration to
5440 resume only after the end of that overlay. (Bug#20607)
5441
5442 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
5443
5444 New command icomplete-force-complete-and-exit
5445 * lisp/icomplete.el (icomplete-force-complete-and-exit):
5446 New command
5447 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
5448 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
5449 (icomplete-minibuffer-map): Bind C-j to it.
5450 (icomplete-forward-completions, icomplete-backward-completions):
5451 Mention the new command in the docstring.
5452 * lisp/minibuffer.el (minibuffer-force-complete-and-exit): Revert
5453 the previous fix for bug#17545.
5454
5455 2015-05-19 Martin Rudalics <rudalics@gmx.at>
5456
5457 Fix last commit
5458
5459 In Elisp manual explain how to override window manager positioning (Bug#20552)
5460 * doc/lispref/frames.texi (Position Parameters): Give example of
5461 how to override a window manager positioning decision.
5462
5463 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
5464 * src/frame.c (Fdelete_frame): In doc-string mention that frame
5465 can't be deleted if it has a surrogate minibuffer.
5466 * doc/lispref/frames.texi (Minibuffers and Frames)
5467 (Deleting Frames): Explain "surrogate minibuffer frames".
5468
5469 In w32heap.c bump DUMPED_HEAP_SIZE to 19/12 MB
5470 * emacs-git/quick/src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
5471
5472 2015-05-18 Glenn Morris <rgm@gnu.org>
5473
5474 Add option to ignore commit lines matching a pattern in ChangeLog.
5475 * build-aux/gitlog-to-changelog: Add --ignore-line option.
5476 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
5477
5478 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
5479
5480 Don't skip new etags tests on non-UTF-8 hosts
5481 Problem reported by Eli Zaretskii for MS-Windows.
5482 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
5483 (LC_ALL): Set to C if the current locale isn't UTF-8.
5484 (.PHONY): Remove ediff_1 thru ediff_5.
5485 (check): Always run.
5486
5487 2015-05-18 Glenn Morris <rgm@gnu.org>
5488
5489 * lisp/calculator.el (calculator-funcall):
5490 * lisp/textmodes/artist.el (artist-spray-random-points):
5491 Use standard degree/radian conversion utilities.
5492
5493 Further lisp-complete-symbol related cleanup.
5494 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
5495 Unadvertise non-functional argument. Replace obsolete alias.
5496
5497 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
5498
5499 Add a test case for Maven warning ouput
5500 * test/automated/compile-tests.el
5501 (compile-tests--test-regexps-data): Add a case for Maven warning
5502 ouput.
5503 (compile--test-error-line): Check the compilation message type, if
5504 it's specified in the test data.
5505
5506 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
5507
5508 Update Maven compilation-mode entry to distinguish warnings
5509 * lisp/progmodes/compile.el
5510 (compilation-error-regexp-alist-alist): Update Maven entry to
5511 distinguish warnings (bug#20556).
5512
5513 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
5514
5515 * test/automated/sgml-mode-tests.el: New file.
5516
5517 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
5518
5519 Improve handling of the first Git revision
5520 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
5521 there's no next entry, delete until the end of the buffer.
5522 (log-view-end-of-defun-1): Stop at eob.
5523 * lisp/vc/vc-annotate.el
5524 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
5525 when previous-revision is nil.
5526 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
5527 with `--' to avoid ambiguity.
5528 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
5529 returned revision string.
5530 (vc-git-annotate-time): Expect `^' before the first revision.
5531 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
5532 REV1 is nil, and REV2 is not.
5533 * lisp/vc/vc.el: Update the description of the `diff' function.
5534
5535 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
5536
5537 Allow checkdoc to be called in batch
5538 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
5539 is non-nil, echo the error with `warn'.
5540 How it can be used in -batch:
5541 (with-current-buffer (find-file "checkdoc.el")
5542 (checkdoc-current-buffer t))
5543
5544 2015-05-18 Glenn Morris <rgm@gnu.org>
5545
5546 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
5547
5548 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
5549
5550 * admin/notes/unicode: New section "binary files".
5551
5552 Change new etags test to use UTF-8 encoding
5553 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
5554 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
5555 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
5556 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
5557 * test/etags/html-src/softwarelibero.html:
5558 Switch to UTF-8 encoding.
5559 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
5560 Remove Makefile, as it's too incestuous to have the test input
5561 include the build procedure.
5562 (UTF8_LOCALE, UTF_ENCODING): New macros.
5563 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
5564 (check): Skip if not UTF-8.
5565 (.PHONY): New rule.
5566 (FRC): Remove, as superseded by .PHONY. All uses removed.
5567 (regexfile): Prefer printf to echo when outputting oddball chars.
5568 (.PRECIOUS): Remove, as these files are not built.
5569
5570 Rename 'foo-gzipped' to 'foo.gz'
5571 * test/automated/data/decompress/foo.gz:
5572 Rename from test/automated/data/decompress/foo-gzipped,
5573 to make it easier for other tools to tell that it's compressed.
5574 * test/automated/zlib-tests.el (zlib--decompress):
5575 Adjust to renamed file.
5576
5577 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
5578
5579 Set up default-directory
5580 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
5581 binding for `v'.
5582 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
5583 appropriate value for default-directory.
5584
5585 2015-05-17 Samer Masterson <samer@samertm.com>
5586
5587 * lisp/eshell/em-term.el (eshell-term-sentinel):
5588 No-op by default, only kills term buffer if
5589 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
5590 (eshell-destroy-buffer-when-process-dies): New custom to preserve
5591 previous behavior.
5592
5593 eshell: Introduce new buffer syntax
5594 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
5595 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
5596 needed (Bug#19319).
5597 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
5598 (eshell-get-target): Remove shorthand-specific code.
5599 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
5600 '#<buffer-name>'.
5601
5602 2015-05-17 Jan D <jan.h.d@swipnet.se>
5603
5604 Merge branch 'master' into cairo
5605
5606 2015-04-26 Jan D <jan.h.d@swipnet.se>
5607
5608 Merge branch 'master' into cairo
5609
5610 Add PBM support for cairo.
5611 * src/image.c (xcolor_to_argb32): New function.
5612 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
5613 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
5614 XImagePtr if ! USE_CAIRO.
5615 (pbm_load): Add cairo support.
5616
5617 2015-04-12 Jan D <jan.h.d@swipnet.se>
5618
5619 x_free_cr_resources: Renamed from x_prepare_for_xlibdraw.
5620 * src/xterm.c (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw.
5621 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
5622 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
5623 x_free_cr_resources.
5624
5625 Handle specified bg in images. Use generic libpng code for PNG:s.
5626 * src/image.c (get_spec_bg_or_alpha_as_argb)
5627 (create_cairo_image_surface): New functions when USE_CAIRO.
5628 (xpm_load): Call the above functions. Handle XPM without mask
5629 when USE_CAIRO.
5630 (png_load_body): Handle USE_CAIRO case.
5631 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
5632 instead.
5633 (jpeg_load_body): Call create_cairo_image_surface.
5634 (gif_load, svg_load_image): Handle specified background, call
5635 create_cairo_image_surface.
5636 * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
5637
5638 2015-04-11 Jan D <jan.h.d@swipnet.se>
5639
5640 Support GIF and Tiff with cairo.
5641 * configure.ac: Allow jpeg with cairo.
5642 Allow tiff and gif with cairo.
5643 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
5644 (tiff_load): Create cairo image surface if USE_CAIRO.
5645 (gif_load): Ditto.
5646
5647 Support JPEG with USE_CAIRO.
5648 * configure.ac: Allow jpeg with cairo.
5649 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
5650
5651 2015-04-05 Jan D <jan.h.d@swipnet.se>
5652
5653 Support RSVG and cairo.
5654 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
5655 * src/dispextern.h (struct image): add cr_data2 if cairo.
5656 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
5657 (x_clear_image): Free cr_data and cr_data2 if set.
5658 (xpm_load): Assign data to cr_data2.
5659 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
5660
5661 2015-04-03 Jan D <jan.h.d@swipnet.se>
5662
5663 Introduce limited Xpm support (32 bit ZPixmap) for Cairo.
5664 * configure.ac (HAVE_RSVG): Move after cairo.
5665 (USE_CAIRO): Disable rsvg, don't disable Xpm.
5666 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
5667 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
5668 don't return early.
5669 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
5670 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
5671 and create a surface.
5672
5673 Tool tips for menus did not show any text.
5674 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
5675 tip frames, the geometry may be wrong.
5676
5677 Merge branch 'master' into cairo, fixes tooltips not shown.
5678
5679 Merge branch 'master' into cairo
5680
5681 Add CAIRO_CFLAGS to lwlib/Makefile.in
5682 * Makefile.in (CAIRO_CFLAGS): Add.
5683
5684 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5685
5686 * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
5687
5688 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5689
5690 Draw outermost line using black relief and erase corners also for cairo.
5691 * xterm.c [USE_CAIRO]: Include math.h.
5692 (enum corners) [USE_CAIRO]: New enum.
5693 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
5694 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
5695 than 1, draw the outermost line using the black relief.
5696
5697 * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
5698
5699 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5700
5701 * xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
5702
5703 * xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask.
5704
5705 Use int instead of unsigned int for width and height args.
5706 * xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
5707 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
5708 width and height args.
5709
5710 Modernize k&r cairo-related function declarations.
5711 * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
5712 (xg_print_frames_dialog): Modernize k&r declarations.
5713 * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
5714 (Fx_print_frames_dialog): Modernize k&r declarations.
5715 * xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip)
5716 (x_end_cr_clip, x_set_cr_source_with_gc_foreground)
5717 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
5718 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
5719 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
5720 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
5721 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
5722 (x_clear_area): Modernize k&r declarations.
5723
5724 Implement wave-style variant of underlining for cairo.
5725 * xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
5726 (x_draw_underwave) [USE_CAIRO]: Use it.
5727
5728 * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of XFillRectangle.
5729
5730 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5731
5732 Fix fringe bitmap initialization for cairo.
5733 * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for
5734 cairo image surface.
5735 * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty.
5736
5737 2015-02-11 Jan D <jan.h.d@swipnet.se>
5738
5739 Add cairo drawing.
5740 * configure.ac (with-cairo): New option.
5741 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
5742 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
5743 Output "Does Emacs use cairo?".
5744 * lisp/version.el (emacs-version): Add cairo version.
5745 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
5746 (FONT_OBJ): Add comment about ftcrfont.
5747 (ALL_CFLAGS): Add CAIRO_CFLAGS.
5748 (LIBES): Add CAIRO_LIBS.
5749 * src/dispextern.h (struct image): Add cr_data for cairo.
5750 (x_cr_init_fringe): Declare.
5751 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
5752 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
5753 * src/fringe.c (x_cr_init_fringe): New function name that shares code
5754 with w32_init_fringe.
5755 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
5756 * src/ftfont.c (ftfont_info_size); New global variable.
5757 (ftfont_open2): New extern function almost the same as old ftfont_open,
5758 but takes the font_object as argument.
5759 (ftfont_open): Build font object and call ftfont_open2.
5760 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
5761 * src/gtkutil.c (xg_clear_under_internal_border)
5762 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
5763 queue_draw if not cairo. Change args to x_clear_area.
5764 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
5765 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
5766 (xg_print_frames_dialog): New functions for printing.
5767 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
5768 (xg_print_frames_dialog): Declare.
5769 * src/image.c: Add defined (USE_CAIRO) for PNG.
5770 Add !defined USE_CAIRO for W32 PNG code.
5771 (x_clear_image): If cairo, destroy the surface in cr_data.
5772 (png_load): Add new cairo compatible implementation.
5773 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
5774 * src/xfns.c: New section Printing.
5775 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
5776 (x-print-frames-dialog): New printing functions.
5777 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
5778 cairo.
5779 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
5780 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
5781 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
5782 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
5783 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
5784 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
5785 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
5786 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
5787 Declare.
5788 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
5789 (max_fringe_bmp, fringe_bmp): New variables.
5790 (x_gc_get_ext_data, x_extension_initialize)
5791 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
5792 (x_set_cr_source_with_gc_foreground)
5793 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
5794 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
5795 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
5796 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
5797 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
5798 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
5799 (x_update_begin): Create cairo surface if needed.
5800 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
5801 (x_update_end): Paint cairo drawing surface to xlib surface.
5802 (x_clear_under_internal_border, x_after_update_window_line): Adjust
5803 arguments to x_clear_area.
5804 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
5805 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
5806 of XSetClipMask.
5807 (x_set_glyph_string_clipping)
5808 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
5809 instead of XSetClipRectangles.
5810 (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
5811 x_fill_rectangle instead of XFillRectangle.
5812 (x_draw_glyph_string_foreground)
5813 (x_draw_composite_glyph_string_foreground)
5814 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
5815 of XDrawRectangle.
5816 (x_draw_relief_rect): Add code for USE_CAIRO.
5817 Call x_reset_clip_rectangles instead of XSetClipMask.
5818 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
5819 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
5820 instead of XSetClipMask.
5821 (x_draw_image_foreground, x_draw_image_foreground_1):
5822 x_draw_rectangle instead of XDrawRectangle.
5823 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
5824 XFillRectangle.
5825 (x_draw_image_glyph_string): If img has cr_data, use it as
5826 a cairo surface.
5827 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
5828 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
5829 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
5830 x_reset_clip_rectangles instead of XSetClipMask.
5831 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
5832 (x_clear_area1): New function that calls XClearArea.
5833 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
5834 non-cairo.
5835 (x_clear_frame): x_clear_window instead of XClearWindow.
5836 (x_scroll_run): Set frame garbaged if cairo.
5837 (XTmouse_position): Initialize *part to 0.
5838 (x_scroll_bar_create): Adjust arguments to x_clear_area.
5839 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
5840 x_fill_rectangle instead of XFillRectangle.
5841 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
5842 arguments to x_clear_area.
5843 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
5844 (handle_one_xevent): Adjust arguments to x_clear_area.
5845 Destroy cairo surface for frame if ConfigureNotify.
5846 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
5847 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
5848 x_reset_clip_rectangles instead of XSetClipMask.
5849 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
5850 x_reset_clip_rectangles instead of XSetClipMask.
5851 (x_clear_frame_area): Adjust arguments to x_clear_area.
5852 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
5853 (x_term_init): Call x_extension_initialize if cairo.
5854 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
5855 x_cr_destroy_fringe_bitmap for cairo.
5856 (x_initialize): Call x_cr_init_fringe for cairo.
5857 * src/xterm.h: Add include of cairo header files.
5858 (x_bitmap_record): Add img if cairo.
5859 (x_gc_ext_data): New struct for cairo.
5860 (x_display_info): Add ext_codes for cairo.
5861 (x_output): Add cr_context and cr_surface for cairo.
5862 (x_clear_area): Change arguments from Display*/Window to frame pointer.
5863 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
5864 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
5865 (x_cr_draw_frame, x_cr_export_frames): Declare.
5866
5867 2015-05-17 Johan Bockgård <bojohan@gnu.org>
5868
5869 Fix integer-valued `mouse-highlight' (Bug#20590)
5870 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
5871
5872 2015-05-17 Eli Zaretskii <eliz@gnu.org>
5873
5874 MS-Windows followup for ASCIIfication of curved quotes
5875 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
5876 test for curved quotes being displayable, after switching the
5877 terminal encoding. (Bug#20545)
5878
5879 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
5880
5881 Spelling fixes
5882
5883 2015-05-17 Jan D <jan.h.d@swipnet.se>
5884
5885 Add comment that x_shift_glyphs_for_insert is never called.
5886 * xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add
5887 comment that this function is never called.
5888
5889 2015-05-16 Glenn Morris <rgm@gnu.org>
5890
5891 * src/lisp.mk: Remove from repository and generate at build-time.
5892 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
5893 (shortlisp_filter): New variable.
5894 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
5895 (distclean): Remove lisp.mk.
5896 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
5897 * lisp/loadup.el: Tweak layout to make it easier to parse.
5898 * make-dist: Do not distribute src/lisp.mk.
5899
5900 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
5901
5902 Display shorter dates in Git annotate output
5903 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
5904 format (when not overridden with vc-git-annotate-switches).
5905 (vc-git-annotate-time): Support the short format, as well as ISO
5906 8601 that has been used until now (bug#5428).
5907
5908 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
5909
5910 ASCIIfy curved quotes on displays lacking them
5911 * lisp/international/mule-cmds.el (set-locale-environment):
5912 If curved quotes don't work, display straight ASCII approximations
5913 (Bug#20545).
5914
5915 2015-05-16 Glenn Morris <rgm@gnu.org>
5916
5917 Small src/Makefile simplification.
5918 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
5919 * src/Makefile.in (lisp): Derive from shortlisp.
5920 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
5921
5922 2015-05-16 Eli Zaretskii <eliz@gnu.org>
5923
5924 * lisp/help-mode.el (help-go-forward): Doc fix.
5925 (Bug#20577)
5926
5927 * doc/lispref/debugging.texi (Profiling): Improve indexing.
5928 (Bug#20576)
5929
5930 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
5931
5932 Use `unless' to have one fewer `not'
5933 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
5934 have one fewer `not'.
5935
5936 Remove redundant :group declarations from vc-git.el
5937 * lisp/vc/vc-git.el (vc-git-diff-switches)
5938 (vc-git-annotate-switches, vc-git-resolve-conflicts)
5939 (vc-git-program, vc-git-root-log-format): Remove the redundant
5940 :group declarations.
5941
5942 2015-05-16 Nicolas Petton <nicolas@petton.fr>
5943
5944 Removes the predicate from lisp-complete-symbol (Bug#20456)
5945 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
5946 and remove it from the docstring.
5947
5948 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
5949
5950 Add new option vc-git-resolve-conflicts
5951 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
5952 (vc-git-find-file-hook): Add to after-save-hook only when the
5953 above is non-nil.
5954 (vc-git-resolve-when-done): Update to honor the new variable.
5955 (Bug#20292)
5956
5957 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
5958
5959 * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string
5960 (tabulated-list-init-header): Document new behavior.
5961 (tabulated-list-print-fake-header): No nothing if
5962 `tabulated-list--header-string' is nil.
5963 (tabulated-list--header-string): Add a docstring.
5964 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
5965 * etc/NEWS: Document it.
5966
5967 2015-05-15 Leo Liu <sdl.web@gmail.com>
5968
5969 Revert "Fix cps--gensym"
5970 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
5971 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
5972
5973 2015-05-15 Glenn Morris <rgm@gnu.org>
5974
5975 Replace AC_SUBST_FILE in configure with include in Makefiles.
5976 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
5977 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
5978 (AUTO_DEPEND): New output variable.
5979 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
5980 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
5981 (lwlib_deps_frag): Replace by conditional include.
5982 * lwlib/autodeps.mk: Remove file.
5983 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
5984 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
5985 (oldxmenu_deps_frag): Replace by conditional include.
5986 * oldXMenu/autodeps.mk: Remove file.
5987 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
5988 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
5989 (lisp_frag): Replace by an include.
5990 (deps_frag): Replace by conditional include.
5991 * src/autodeps.mk: Remove file.
5992
5993 Tweak japanese.el's loading of dependencies.
5994 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
5995 * lisp/language/japanese.el: Use require rather than load.
5996 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
5997 Provide a feature.
5998 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
5999 Provide a feature in the generated file.
6000
6001 2015-05-15 Jan D <jan.h.d@swipnet.se>
6002
6003 Fix NS warnings.
6004 * nsmenu.m (ns_popup_dialog)
6005 * nsimage.m (initFromXBM:width:height:fg:bg:)
6006 * nsfns.m (Fx_create_frame): Remove unused variables.
6007 (Fns_read_file_name): Initialize fname, remove ret.
6008 * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
6009 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
6010 variable.
6011 (init): Add parantesis in if.
6012 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
6013
6014 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
6015
6016 Fix a enum conversion warning in macfont.m
6017 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
6018 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
6019
6020 2015-05-15 Eli Zaretskii <eliz@gnu.org>
6021
6022 Support de-alt dictionary with Aspell.
6023 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
6024 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
6025
6026 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
6027
6028 cus-start.el: Add ns-confirm-quit.
6029 * cus-start.el: Add ns-confirm-quit.
6030
6031 Fix warnings on OSX 10.10.
6032 * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
6033 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
6034 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
6035 * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
6036 * nsimage.m (allocInitFromFile, setPixmapData): Only call
6037 setScalesWhenResized for OSX < 10.6.
6038 * nsterm.h (EmacsScroller): Declare scrollerWidth.
6039 * nsterm.m (ns_copy_bits): New function that does not use deprecated
6040 NSCopyBits.
6041 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
6042 (runAlertPanel): New function.
6043 (applicationShouldTerminate:): Call runAlertPanel.
6044 (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
6045 for OSX < 10.10.
6046 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
6047 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
6048 (draggingEntered:): Returns NSDragOperation.
6049 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
6050
6051 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
6052
6053 * lisp/emacs-lisp/package.el: Don't ensure-init during startup
6054 (package--init-file-ensured): New variable.
6055 (package-initialize, package--ensure-init-file): Use it.
6056
6057 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
6058
6059 Honor :fore/background for XBM on NS (Bug#14969).
6060 * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
6061 initFromXBM takes bg, fg args, remove flip arg.
6062 (ns_image_from_XBM): Add bg, fg args.
6063 * image.c (x_create_bitmap_from_data)
6064 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
6065 * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
6066 Remove flip arg.
6067 (initFromSkipXBM): Move code to initFromXBM.
6068 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
6069 Use fg, bg from args (Bug#14969). Remove if (length) section, was always
6070 false.
6071 Remove bit flipping (bitPat, swt), generated incorrect images when
6072 width/height wasn't a multiple of 8.
6073 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
6074 * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
6075 flip arg.
6076
6077 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
6078
6079 * lisp/emacs-lisp/package.el: Be more careful with the init file
6080 (package--ensure-init-file): Check that user-init-file is set,
6081 exists, is readable, and is writable. (Bug#20584)
6082 Also expand the docstring.
6083
6084 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
6085
6086 Sync with upstream verilog-mode revision 6232468
6087 * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face)
6088 (verilog-highlight-grouping-keywords): Fix use of face when
6089 `verilog-highlight-grouping-keywords' set. Reported by Jeff
6090 Pompa.
6091 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
6092 parent is reset, bug906. Reported by Ken Schmidt.
6093 (verilog-auto-inout-module): Add fourth regexp argument to
6094 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match,
6095 bug856. Reported by John Tillema.
6096 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
6097 modport if signal attachment is itself a modport. Reported by
6098 Matthew Lovell.
6099 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
6100 always_comb and always_latch, bug844. Reported by Greg Hilton.
6101 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
6102 with many curly-bracket pairs, bug663.
6103 (verilog-set-auto-endcomments): Fix end comments for functions of
6104 type void, etc. Reported by Alex Reed.
6105 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
6106 caused by indent-line-to deleting tabls pre 24.5.
6107 (verilog-nameable-item-re): Fix nameable items that can have an
6108 end-identifier to include endchecker, endgroup, endprogram,
6109 endproperty, and endsequence. Reported by Alex Reed.
6110 (verilog-label-be): When auto-commenting a buffer, consider
6111 auto-comments on all known keywords (not just a subset thereof).
6112 Reported by Alex Reed.
6113 (verilog-auto-end-comment-lines-re)
6114 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
6115 Automatically comment property/endproperty blocks to match other
6116 similar blocks like sequence/endsequence, function/endfunction,
6117 etc. Reported by Alex Reed.
6118 (verilog-set-auto-endcomments): Detect the function- or task-name
6119 when auto-commenting blocks that lack an explicit
6120 portlist. Reported by Alex Reed.
6121 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
6122 allow post-AUTO user fixups, bug826. Reported by Dennis
6123 Muhlestein.
6124 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6125 is nil, fix indenting initial/final to match always statements,
6126 bug825. Reported by Tim Clapp.
6127 (verilog-extended-complete-re): Fix indentation of DPI-C imports
6128 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
6129 Mao and Jason Forkey.
6130 (verilog-read-decls): Fix parsing typed interfaces. Fix
6131 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6132 Fix localparam not being ignored in AUTOINSTPARAM,
6133 bug889. Reported by Shannon Hill.
6134 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
6135 bug793. Reported by Pierre-David Pfister.
6136 (verilog-auto-arg-format, verilog-auto-arg-ports): Add
6137 verilog-auto-arg-format to support newlines in AUTOARG. Reported
6138 by Jie Xiao.
6139 (verilog-batch-execute-func): Do not batch re-auto files loaded by
6140 Local Variables. Fix printing "no changes to be saved" with
6141 verilog-batch. Reported by Dan Dever.
6142 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
6143 interface-only modules, bug721. Reported by Dean Hoyt.
6144 Author: Alex Reed <acreed4@gmail.com>
6145 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't
6146 treat '<keyword>:<identifier>' as the start of a labeled
6147 statement, bug905. Reported by Enzo Chi.
6148 (verilog-directive-re, verilog-compiler-directives)
6149 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
6150 directives (plus some extras) when determining indentation, bug
6151 901. Reported by Bernd Beuster.
6152 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
6153 iff expression doesn't start with word-character, bug900.
6154 (verilog-optional-signed-range-re, verilog-optional-signed-re):
6155 Fix incorrect indentation/alignment of unsigned declarations,
6156 bug897.
6157 (verilog-looking-back, verilog-in-attribute-p): Fix labling of
6158 always constructs, bug895.
6159 (verilog-calc-1): Fix verilog-mode constraint indentation,
6160 bug324. Reported by Eric Mastromarchi.
6161 (verilog-beg-of-statement): Fix indenting for some forms of
6162 constraintsm bug433. Reported by Brad Parker. Fix indentation of
6163 continued assignment incorrect if first line ends with ']',
6164 bug437. Reported by Dan Dever. Fix indention of cover inside an
6165 ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while
6166 blocks, bug842.
6167 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning,
6168 bug859. Reported by Kaushal Modi.
6169 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
6170 (verilog-backward-token): Fix indenting sensitivity lists with
6171 named events, bug840. Reed.
6172 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
6173 nil not honoring 'forever', 'foreach', and 'do' keywords.
6174
6175 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
6176
6177 Check for invalid GTK+ monitor scales
6178 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
6179 INT_MAX for too-large scales. All callers changed to assume the
6180 result is valid (Bug#20432).
6181 (xg_frame_set_char_size, xg_update_scrollbar_pos):
6182 Calculate scale only if needed.
6183 show ASCII approximations instead.
6184
6185 2015-05-14 Eli Zaretskii <eliz@gnu.org>
6186
6187 Fix daemon crashes when linum-mode is turned on early on
6188 * src/window.c (Fwindow_end): Don't try calling display engine
6189 functions on initial-frame frame. (Bug#20565)
6190
6191 Fix selective diff browsing in Ediff
6192 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the
6193 beginning of the region before searching for the
6194 ediff-regexp-focus-* regexps. (Bug#20568)
6195
6196 2015-05-14 Jan D <jan.h.d@swipnet.se>
6197
6198 Fixes Bug#20142.
6199 * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
6200 in the main loop, even for Gtk 3 (Bug#20142).
6201
6202 Don't access display after i/o error (Bug#19147).
6203 * xterm.c (x_connection_closed): Add third arg ioerror.
6204 If ioerror, set display to 0 (Bug#19147).
6205 (x_error_quitter): Call x_connection_closed with third arg false.
6206 (x_io_error_quitter): Call x_connection_closed with third arg true.
6207
6208 Handle GTK_SCALE, fixes Bug#20432.
6209 * gtkutil.c (xg_get_gdk_scale): New function.
6210 (xg_frame_set_char_size)
6211 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
6212 (xg_get_default_scrollbar_height)
6213 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
6214 when setting sizes (Bug#20432).
6215
6216 2015-05-13 Leo Liu <sdl.web@gmail.com>
6217
6218 Fix cps--gensym
6219 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
6220
6221 2015-05-13 Glenn Morris <rgm@gnu.org>
6222
6223 Fix bootstrap (void function cl-member).
6224 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
6225 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
6226
6227 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
6230 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
6231 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
6232 Avoid defalias for closures which are not immutable.
6233 (cl--generic-prefill-dispatchers): New macro. Use it to prefill the
6234 dispatchers table with various entries.
6235 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
6236 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
6237
6238 2015-05-13 Eli Zaretskii <eliz@gnu.org>
6239
6240 Improve tagging of C bindings in DEFVAR_*
6241 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
6242 from DEFVAR_*.
6243
6244 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
6245
6246 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
6247
6248 2015-05-12 Glenn Morris <rgm@gnu.org>
6249
6250 * lisp/progmodes/tcl.el (tcl-filter):
6251 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
6252
6253 Add basic VC push support.
6254 * lisp/vc/vc.el (vc-push): New autoloaded command.
6255 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
6256 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
6257 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
6258 (vc-bzr-push): New.
6259 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
6260 (vc-git-pull): Reimplement using vc-git--pushpull.
6261 (vc-git-push): New.
6262 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
6263 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
6264 * doc/emacs/maintaining.texi (Pulling / Pushing):
6265 Rename from "VC Pull". Mention pushing.
6266 (VC With A Merging VCS, VC Change Log): Update xrefs.
6267 (Branches): Update menu.
6268 * doc/emacs/emacs.texi: Update menu.
6269 * etc/NEWS: Mention this.
6270
6271 2015-05-12 Nicolas Petton <nicolas@petton.fr>
6272
6273 Improve the seq pcase pattern and the `seq-let' macro
6274 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
6275 object is a sequence, and binds each element of ARGS to the
6276 corresponding element of the sequence.
6277
6278 2015-05-12 Eli Zaretskii <eliz@gnu.org>
6279
6280 Fix tags created from DEFVAR_* declarations in C
6281 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
6282 to make tags extracted from DEFVAR_* declarations more accurate.
6283
6284 Add a test suite for etags
6285 * test/etags/: New test suite, adapted from
6286 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
6287 whose original author is Francesco Potortì <pot@gnu.org>.
6288
6289 Fix tagging of symbols in C enumerations
6290 * lib-src/etags.c (consider_token): Don't tag symbols in
6291 expressions that assign values to enum constants. See
6292 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
6293 for details.
6294 (C_entries): Reset fvdef to fvnone after processing a preprocessor
6295 conditional and after a comma outside of parentheses.
6296
6297 2015-05-12 Glenn Morris <rgm@gnu.org>
6298
6299 * lisp/url/url-handlers.el (url-file-name-completion)
6300 (url-file-name-all-completions): Silence compiler.
6301
6302 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
6303
6304 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
6305
6306 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
6309 (cl--generic-mandatory-args): Remove.
6310 (cl--generic-split-args): New function.
6311 (cl-generic-define, cl--generic-lambda): Use it.
6312 (cl-generic-define-method): Use it as well, and add support for
6313 context args.
6314 (cl--generic-get-dispatcher): Handle &context dispatch.
6315 (cl--generic-cache-miss): `dispatch-arg' can now be a context expression.
6316 (cl--generic-dispatchers): Pre-fill.
6317 * test/automated/cl-generic-tests.el (sm-generic-test-12-context): New test.
6318
6319 2015-05-11 Glenn Morris <rgm@gnu.org>
6320
6321 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
6322
6323 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
6326 * lisp/term/rxvt.el: Require term/xterm.
6327 (rxvt-function-map): Use xterm-rxvt-function-map.
6328 (rxvt-standard-colors): Move before first use.
6329 (terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors.
6330 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
6331 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
6332 Move shared bindings between rxvt and xterm to it.
6333 (xterm-function-map): Use it. Move the xterm-paste binding to
6334 xterm-rxvt-function-map (bug#20444).
6335 (xterm-standard-colors): Move before first use.
6336 (xterm--push-map): New function.
6337 (xterm-register-default-colors): Take standard colors as argument.
6338 (terminal-init-xterm): Use it. Adjust call to
6339 xterm-register-default-colors.
6340
6341 2015-05-11 Glenn Morris <rgm@gnu.org>
6342
6343 * lisp/term/x-win.el: Quieten --without-x compilation.
6344 (x-own-selection-internal, x-disown-selection-internal)
6345 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
6346 Declare.
6347
6348 * Makefile.in (emacslog): Remove srcdir.
6349 (ChangeLog): Update for the above.
6350
6351 2015-05-11 Paul Eggert <eggert@cs.ucla.edu>
6352
6353 Spelling fix
6354
6355 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
6356
6357 python.el: better limit for looking-back calls
6358 * lisp/progmodes/python.el (python-shell-accept-process-output):
6359 Use last comint prompt start as limit for looking-back.
6360
6361 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 CEDET (srecode-insert-fcn): Fix use of oref on a class
6364 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref on
6365 a class. Reported by Pierre Lorenzon.
6366 (srecode-template-inserter-point): Remove declaration.
6367
6368 CEDET (srecode-create-dictionary): Avoid obsolete object name
6369 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
6370 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
6371
6372 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
6373
6374 C-x 8 shorthands for curved quotes, Euro, etc.
6375 Although C-x 8 lets you insert arbitrary Unicode characters,
6376 it's awkward to use this to insert commonly used symbols such as curved
6377 quotes, the Euro symbol, etc. This patch adds simpler sequences for
6378 characters commonly found in English text and in basic math.
6379 For example, assuming the Alt key works on your keyboard and iso-transl
6380 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
6381 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
6382 (Bug#20499)
6383 * doc/emacs/mule.texi (Unibyte Mode):
6384 A few other printing characters now work too.
6385 * etc/NEWS: Document this.
6386 * lisp/international/iso-transl.el (iso-transl-char-map):
6387 Also support the following characters:
6388 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
6389
6390 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
6391
6392 Add xref-find-regexp
6393 * lisp/progmodes/xref.el (xref-find-function): Describe the
6394 `matches' action.
6395 (xref-find-regexp): New command, using it.
6396 (xref-collect-references): Rename to xref-collect-matches.
6397 (xref--collect-reference): Rename to xref--collect-match.
6398 (xref-collect-matches, xref--collect-match): Accept new argument,
6399 KIND. Update accordingly.
6400 (xref--regexp-to-extended): New function.
6401 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
6402 `matches' action.
6403 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
6404 * lisp/progmodes/etags.el (etags-xref-find):
6405 Support the `matches' action.
6406 (etags--xref-find-matches): New function.
6407
6408 2015-05-10 Glenn Morris <rgm@gnu.org>
6409
6410 * Makefile.in: Fixes for recent change-history changes.
6411 (change-history-nocommit): Update footer regexp.
6412 Ensure output script stays executable.
6413
6414 2015-05-10 Nicolas Petton <nicolas@petton.fr>
6415
6416 New version of `seq-let' based on a pcase pattern
6417 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
6418 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
6419
6420 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
6421
6422 Add basic HTML5 tags and a template
6423 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
6424 (html-tag-alist): Add HTML5 tags.
6425 (html-tag-help): Add new tags descriptions.
6426 (html-navigational-links): Template for nav links.
6427 (html-html5-template): Template for a HTML5 page.
6428
6429 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
6430
6431 semantic/symref/grep: Don't use word boundaries
6432 * lisp/cedet/semantic/symref/grep.el
6433 (semantic-symref-perform-search): Instead of wrapping input in
6434 word boundaries, check that the characters before and after are
6435 not word constituents.
6436
6437 semantic/symref/grep: Support regexp search
6438 * lisp/cedet/semantic/symref.el
6439 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
6440 the search type is regexp.
6441 * lisp/cedet/semantic/symref/grep.el
6442 (semantic-symref-perform-search): Support the regexp search type.
6443 Pass -E to Grep when it's used.
6444
6445 semantic-symref-regexp: Allow to input an arbitrary string
6446 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
6447 Allow to input an arbitrary string interactively.
6448
6449 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
6450 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
6451 Remove tag-symbol-match-p from the default value
6452 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
6453
6454 Declare find-tag obsolete
6455 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
6456 xref-find-definitions.
6457
6458 2015-05-10 Jan D <jan.h.d@swipnet.se>
6459
6460 Draw composite string correctly (Bug#20537).
6461 * nsterm.m (ns_draw_composite_glyph_string_foreground): New function.
6462 (ns_draw_glyph_string): Call it (Bug#20537).
6463
6464 2015-05-09 Eli Zaretskii <eliz@gnu.org>
6465
6466 Avoid infloop in ERC
6467 * lisp/simple.el (line-move-to-column): Ignore field boundaries
6468 while computing line beginning position. (Bug#20498)
6469
6470 2015-05-08 Glenn Morris <rgm@gnu.org>
6471
6472 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
6473 * build-aux/gitlog-to-emacslog: Check called from right directory.
6474 (srcprefix): Remove.
6475
6476 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
6477 * Makefile.in (ChangeLog): No longer pass "distprefix".
6478 * make-dist: Update "make ChangeLog" syntax for the above change.
6479
6480 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
6481 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
6482
6483 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
6484
6485 Add command-line option-parsing to gitlog-to-emacslog.
6486 * build-aux/gitlog-to-emacslog: Add command-line options.
6487 By default, refuse to remove an existing output file.
6488 * Makefile.in (CHANGELOG): Update default.
6489 (ChangeLog): Do not test for existing file.
6490 (change-history-nocommit): Ensure temp file does not exist.
6491
6492 Quieten --without-x compilation.
6493 * lisp/term/common-win.el: Provide a feature.
6494 * lisp/term/x-win.el (term/common-win): Require it.
6495
6496 * lisp/dired-aux.el (dired-do-print): Require lpr.
6497
6498 Quieten compilation, eg in --without-x builds.
6499 * lisp/dired-aux.el (lpr-printer-switch):
6500 * lisp/frame.el (tool-bar-height):
6501 * lisp/linum.el (font-info):
6502 * lisp/window.el (font-info, overflow-newline-into-fringe)
6503 (tool-bar-height):
6504 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
6505 * lisp/gnus/gnus-util.el (iswitchb-mode):
6506 * lisp/mail/rmailmm.el (libxml-parse-html-region):
6507 * lisp/net/nsm.el (gnutls-peer-status)
6508 (gnutls-peer-status-warning-describe):
6509 * lisp/net/shr.el (libxml-parse-xml-region):
6510 * lisp/url/url-http.el (gnutls-peer-status): Declare.
6511
6512 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
6515 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
6516 `subclass' since they're never called with a class.
6517 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
6518 srecode-dictionary-child-p.
6519
6520 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6521
6522 help--binding-locus: Document argument POSITION.
6523 * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
6524
6525 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
6526
6527 Merge from gnulib.
6528 * doc/misc/texinfo.tex: Get latest version.
6529
6530 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
6531
6532 ffap.el (ffap-read-file-or-url): Fix completing-read call
6533 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
6534 `completing-read' should be a symbol.
6535
6536 2015-05-08 Eli Zaretskii <eliz@gnu.org>
6537
6538 Verify file modifications by other programs
6539 * src/filelock.c (lock_file): Check whether the file was modified
6540 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
6541
6542 Fix keyboard macros that include function keys
6543 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
6544 keys in the macro before returning. (Bug#20454)
6545
6546 2015-05-08 Glenn Morris <rgm@gnu.org>
6547
6548 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
6549 "Copyright-paperwork-exempt". (Bug#20324)
6550
6551 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
6552 (log-edit-rewrite-tiny-change): New variable.
6553 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
6554 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
6555 * etc/NEWS: Mention this.
6556
6557 * lisp/calc/calc.el (math-zerop): Declare.
6558
6559 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
6560
6561 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
6562
6563 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
6564 Support the case when BINDINGS is a single tuple. (Bug#20525)
6565
6566 * etc/NEWS: Fix typo in commit 14bb519
6567
6568 2015-05-07 Jan D <jan.h.d@swipnet.se>
6569
6570 Warn for multiple display crash for all Gtk+ versions.
6571 * configure.ac: Warn for multiple display crash for all Gtk+
6572 versions. Output URL to Gtk+ bug (Bug#20452).
6573
6574 ns-win.el (ns-paste-secondary): Use gui-get-selection.
6575 * ns-win.el (ns-paste-secondary): Use gui-get-selection.
6576
6577 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
6578
6579 * lisp/emacs-lisp/package.el: New "external" package status
6580 An external package is any installed package that's not built-in
6581 and not from `package-user-dir', which usually means it's from an
6582 entry in `package-directory-list'. They are treated much like
6583 built-in packages, in that they cannot be through the Package Menu
6584 deleted and are not considered for upgrades.
6585 (package-desc-status): Identify if a package is installed outside
6586 `package-user-dir'.
6587 (package-menu--print-info-simple)
6588 (package-menu--status-predicate): Add support for it.
6589 * etc/NEWS: Document it.
6590
6591 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * lisp/mail/rmail.el: Use lexical-binding
6594 (rmail-bury): Remove unused var `buffer-to-bury'.
6595 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
6596 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
6597 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
6598 (rmail-insert-inbox-text): Remove unused var `movemail'.
6599 (rmail-add-mbox-headers): Remove unused var `limit'.
6600 (rmail-undelete-previous-message): Remove unused var `value'.
6601 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
6602 `resent-reply-to'.
6603 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
6604 (rmail-restore-desktop-buffer): Rename arguments.
6605
6606 2015-05-06 Glenn Morris <rgm@gnu.org>
6607
6608 * Makefile.in (change-history-commit): Add missing piece of previous.
6609
6610 Avoid unnecessary bumping of Makefile.in's timestamp.
6611 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
6612 (emacslog): New variable.
6613 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
6614 (unchanged-history-files): Use $emacslog rather than Makefile.in.
6615 (change-history-nocommit): Store hash in $emacslog.
6616 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
6617 * admin/update_autogen (changelog_files): Update for the above.
6618
6619 * Makefile.in: Don't always insist on removing existing "ChangeLog".
6620 (CHANGELOG): New variable.
6621 (no-ChangeLog): Remove.
6622 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
6623 (change-history-nocommit): Use a temp file rather than insisting
6624 on deletion of any existing "ChangeLog".
6625
6626 * build-aux/gitlog-to-emacslog: Allow specification of output.
6627
6628 * admin/update_autogen: Add option to update ChangeLog.
6629 (usage): Mention -H.
6630 (changelog_flag, changelog_n, changelog_files): New variables.
6631 (main): Check for -H, and maybe run change-history-nocommit.
6632
6633 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * lisp/subr.el (delete-dups): Pre-size the hashtable.
6636
6637 (define-modify-macro): Make sure cl--arglist-args is defined
6638 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
6639 cl--arglist-args is defined (bug#20517).
6640
6641 2015-05-06 Glenn Morris <rgm@gnu.org>
6642
6643 * Makefile.in (change-history-nocommit): New.
6644
6645 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
6646
6647 Only cancel timer when it is non-nil
6648 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
6649 timer when it is non-nil
6650 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
6651
6652 2015-05-06 Glenn Morris <rgm@gnu.org>
6653
6654 Quieten cedet compilation
6655 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
6656 Invert fboundp test to quieten on current Emacs.
6657 * lisp/cedet/ede/config.el (ede-shell-run-something)
6658 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
6659 (semanticdb-refresh-table): Declare.
6660 (ede-preprocessor-map): Require semantic/db.
6661
6662 Quieten cc-mode compilation
6663 * lisp/progmodes/cc-awk.el (c-forward-sws):
6664 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
6665 Declare.
6666
6667 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
6668
6669 lisp/subr.el (delete-dups): Avoid nreverse.
6670
6671 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
6672
6673 * lisp/subr.el (delete-dups): Make it destructive again.
6674
6675 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
6676
6677 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
6678
6679 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
6682 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
6683 (testcover--read): Rename from testcover-read. Change calling convention.
6684 Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
6685 (testcover-start): Use add-function. Move edebug-all-defs binding to
6686 testcover--read.
6687 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
6688 (testcover-mark): Remove unused var `item'.
6689 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
6690
6691 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
6692
6693 lisp/subr.el (delete-dups): Use a hash table
6694 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
6695 use a hash table. This can result in ~500 times speed-up for typical
6696 collections of size 5000, like that of `load-library'.
6697
6698 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 CEDET: Avoid `oref' on classes in a few more cases
6701 * lisp/cedet/ede/generic.el (ede-find-target):
6702 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
6703 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
6704 var `prefix'.
6705
6706 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
6707 * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
6708 (semantic-symref-perform-search): Remove unused var `pat'.
6709
6710 CEDET (srecode-compile-inserter): Avoid `oref' on classes
6711 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
6712 Avoid `oref' on classes (bug#20491).
6713 (srecode-compile-split-code): Remove unused var `key'.
6714
6715 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
6716
6717 Clean up pulse.el a little
6718 * lisp/cedet/pulse.el (pulse): Remove.
6719 (pulse-momentary-timer): Save instead of the stop time.
6720 (pulse-momentary-highlight-overlay): Call
6721 pulse-momentary-unhighlight first thing. Treat
6722 pulse-momentary-overlay as a single value, not a list. Save the
6723 created timer. Only pass the stop time to the timer.
6724 (pulse-tick): Update accordingly.
6725 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
6726 single value. Cancel the timer.
6727
6728 2015-05-06 Tassilo Horn <tsdh@gnu.org>
6729
6730 Support the biblatex journaltitle field
6731 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
6732 Support the biblatex journaltitle field.
6733
6734 2015-05-05 Glenn Morris <rgm@gnu.org>
6735
6736 Minor declare-function improvement
6737 * lisp/emacs-lisp/bytecomp.el
6738 (byte-compile-macroexpand-declare-function):
6739 Handle declarations after calls. (Bug#20509)
6740
6741 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
6742
6743 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
6744
6745 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
6746
6747 Pulse using a timer
6748 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
6749 (pulse-momentary-highlight-overlay): Set up the timer instead of
6750 calling `pulse'
6751 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
6752 (pulse-tick): New function.
6753 (pulse-momentary-unhighlight): Cut off the stop time.
6754 (pulse-delay): Update the docstring WRT to not using sit-for.
6755
6756 Add semantic/symref/grep file patterns for ruby-mode
6757 * lisp/cedet/semantic/symref/grep.el
6758 (semantic-symref-filepattern-alist): Add patterns for
6759 ruby-mode. Clarify the docstring.
6760
6761 Don't require match
6762 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
6763 match. That doesn't work for every command, and some identifier
6764 completion tables are bound to be imperfect anyway.
6765
6766 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
6769 (semantic-grammar--template-expand): New function.
6770 (semantic-grammar-header, semantic-grammar-footer): Use it.
6771 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
6772 (semantic-grammar-file-regexp): Refine regexp.
6773 (semantic-grammar-eldoc-get-macro-docstring):
6774 Use elisp-get-fnsym-args-string when available.
6775 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
6776 instead of the old eldoc-* names.
6777 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
6778 from elisp-mode.el. Tweak calling convention.
6779 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
6780 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
6781 elisp--get-fnsym-args-string.
6782 (elisp--highlight-function-argument): Add `prefix' arg.
6783 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
6784 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
6785
6786 2015-05-05 Glenn Morris <rgm@gnu.org>
6787
6788 * lisp/help-fns.el (describe-function-1):
6789 Handle builtins with advertised calling conventions. (Bug#20479)
6790
6791 2015-05-05 Nicolas Petton <nicolas@petton.fr>
6792
6793 Merge branch 'seq-let'
6794
6795 Update `seq-let' documentation
6796 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
6797 with the support of `&rest'.
6798
6799 Add support for &rest in `seq-let'
6800 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
6801 in the argument list.
6802 * test/automated/seq-tests.el: Add a test for parsing and binding
6803 `&rest' in `seq-let'.
6804
6805 2015-05-05 Paul Eggert <eggert@cs.ucla.edu>
6806
6807 Spelling fixes
6808
6809 2015-05-05 (tiny change) Pierre Lorenzon <devel@pollock-nageoire.net>
6810
6811 * eieio-custom.el (eieio-object-value-get): Add missing increment
6812 (Bug#20467)
6813
6814 (eieio-object-value-create): Adjust to new slots representation
6815 (Bug#20467)
6816 * eieio-custom.el (eieio-object-value-create):
6817 Fix missed adjustment to new representation of slots metadata.
6818
6819 2015-05-05 Nicolas Petton <nicolas@petton.fr>
6820
6821 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
6822
6823 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
6824
6825 Work around "Attempt to modify read-only object"
6826 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
6827 elisp--xref-find-definitions, to work around "Attempt to modify
6828 read-only object" error.
6829
6830 Only skip some variables that have function counterparts
6831 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
6832 Only skip minor-mode-named variable if it's defined in a Lisp
6833 file, and it's in minor-mode-list (bug#20506).
6834 * test/automated/elisp-mode-tests.el
6835 (elisp-xref-finds-both-function-and-variable)
6836 (elisp-xref-finds-only-function-for-minor-mode): New tests.
6837
6838 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
6839
6840 Buttonize the whole line, including the number at the beginning
6841 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
6842 previous change.
6843 (xref--insert-xrefs): Buttonize the whole line, including the
6844 number at the beginning.
6845
6846 Make sure we're inside the let bindings
6847 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
6848 Make sure we're inside the let bindings.
6849 * test/automated/elisp-mode-tests.el
6850 (elisp-completes-functions-after-let-bindings): New test.
6851
6852 2015-05-04 Glenn Morris <rgm@gnu.org>
6853
6854 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
6855 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
6856 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
6857 Remove outdated declarations.
6858
6859 Replace instances of "(eval-when-compile (autoload ...))"
6860 * lisp/gnus/gnus-art.el (nneething-get-file-name):
6861 Declare rather than autoload.
6862 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
6863 Remove pointless autoload.
6864 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
6865 (gnus-topic-create-topic, gnus-topic-enter-dribble):
6866 Declare rather than autoload.
6867 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
6868 (mailcap-extension-to-mime): Autoload at run-time.
6869 * lisp/gnus/mm-util.el (latin-unity-massage-name)
6870 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
6871 (latin-unity-representations-present-region):
6872 Declare rather than autoload.
6873 * lisp/gnus/mml-smime.el (epg-make-context)
6874 (epg-passphrase-callback-function): Autoload at run-time.
6875 (epg-context-set-signers, epg-context-result-for)
6876 (epg-new-signature-digest-algorithm)
6877 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
6878 (epg-sign-string, epg-encrypt-string)
6879 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
6880 (epg-configuration, epg-expand-group, epa-select-keys):
6881 Declare rather than autoload.
6882 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
6883 Autoload at run-time.
6884 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
6885 (gnus-registry-get-id-key, gnus-registry-action):
6886 Declare rather than autoload.
6887 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
6888 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
6889 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
6890 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
6891 (spam-stat-split-fancy): Remove pointless autoloads.
6892 * lisp/net/mairix.el: Load gnus-util when compiling.
6893 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
6894 (message-field-value): Declare rather than autoload.
6895 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
6896 Check gnus-alive-p is fbound.
6897 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
6898 (vm-check-for-killed-summary, vm-error-if-folder-empty)
6899 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
6900 Declare rather than autoload.
6901
6902 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
6903
6904 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
6905 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
6906
6907 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
6908
6909 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
6910
6911 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
6912 * lisp/emacs-lisp/package.el (epg-signature-status):
6913 Fix declarations.
6914
6915 * lisp/play/gametree.el (gametree-show-children-and-entry)
6916 (gametree-apply-layout, gametree-mouse-show-subtree)
6917 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
6918
6919 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
6920 Handle cl-defgeneric, cl-defmethod.
6921
6922 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
6923
6924 Highlight both type and symbol name
6925 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
6926 Highlight both type and symbol name.
6927
6928 Insert, highlight and align line numbers in xref output
6929 * lisp/progmodes/etags.el (xref-location-line): Specialize for
6930 xref-etags-location.
6931 * lisp/progmodes/xref.el (xref-location-line): New generic method.
6932 (xref-file-location): Add reader for the line slot.
6933 (xref--location-at-point): Skip to the `xref-location' property.
6934 (xref--collect-reference): Drop the line number from description.
6935 (xref--insert-xrefs): Insert, highlight and align line numbers.
6936
6937 2015-05-04 Daniel Colascione <dancol@dancol.org>
6938
6939 Fix previous commit
6940
6941 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
6942
6943 Don't pulse the indentation, or the newline
6944 * lisp/cedet/pulse.el (pulse-lighten-highlight)
6945 (pulse-reset-face): Fall back to the inherited background
6946 attribute in FACE.
6947 (pulse-momentary-highlight-region): Add autoload cookie.
6948 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
6949 indentation, or the newline, if the line's non-empty
6950 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
6951
6952 2015-05-04 Daniel Colascione <dancol@dancol.org>
6953
6954 Add `save-mark-and-excursion', which has the old `save-excursion' behavior
6955 * doc/lispref/positions.texi (Excursions): Document
6956 `save-mark-and-excursion'.
6957 * lisp/font-lock.el (font-lock-fontify-block): Use
6958 `save-mark-and-excursion' instead of `save-excursion', restoring
6959 Emacs 24 behavior.
6960 * lisp/simple.el (save-mark-and-excursion--save)
6961 (save-mark-and-excursion--restore): New functions.
6962 (save-mark-and-excursion): New user macro.
6963 * src/editfns.c (Fsave_excursion): Mention
6964 `save-mark-and-excursion' in `save-excursion' documentation.
6965
6966 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
6967
6968 Classify lone symbol inside let varlist as variable
6969 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
6970 Classify lone symbol inside let varlist as variable.
6971 * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
6972 New test.
6973
6974 Add xref-pulse-on-jump
6975 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
6976 Add autoload cookie.
6977 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
6978 (xref--maybe-pulse): New function.
6979 (xref-pop-marker-stack, xref--pop-to-location)
6980 (xref--display-position): Use it.
6981 (xref--location-at-point): Use back-to-indentation.
6982
6983 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * lisp/org/org-{macs,list}.el: Fix lexical warnings
6986 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
6987 (org-list-get-next-item, org-list-get-prev-item)
6988 (org-list-get-children): Mark unused arg `struct'.
6989 (org-list-use-alpha-bul-p): Remove unused var `bul'.
6990 (org-toggle-checkbox): Mark unused var.
6991 (org-update-checkbox-count): Remove unused var `box-num'.
6992 (org-adapt-indentation): Declare.
6993 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
6994 (org-list-send-list): Remove unused var `txt'.
6995 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
6996 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
6997 * lisp/org/org-macs.el: Use `declare'.
6998 (org-with-limited-levels): Declare dyn-bound vars.
6999
7000 2015-05-04 Eli Zaretskii <eliz@gnu.org>
7001
7002 Fix minor issues with CEDET on MS-Windows
7003 * lisp/cedet/semantic/symref/idutils.el
7004 (semantic-symref-parse-tool-output-one-line): Fix the search
7005 regexp to match MS-Windows file names with drive letters.
7006 (Bug#19468)
7007 * lisp/cedet/semantic/symref/grep.el
7008 (semantic-symref-grep-use-template): Remove "--color=always" from
7009 Grep switches on MS-Windows.
7010 (semantic-symref-grep-shell): Use shell-file-name as the default
7011 value, so this works not only on Posix platforms.
7012 (semantic-symref-perform-search): Use shell-quote-argument instead
7013 of literal '..' for portable quoting of Grep command-line
7014 argument. Use shell-command-switch instead of a literal "-c".
7015 * lisp/cedet/semantic/bovine/gcc.el
7016 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
7017 for an absolute file name in a portable way.
7018
7019 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
7020
7021 * lisp/emacs-lisp/package.el: Remove `package--silence' variable
7022 (package-import-keyring, package-refresh-contents)
7023 (package-compute-transaction, package--save-selected-packages)
7024 (package-install-from-archive, package-delete)
7025 (package-menu--perform-transaction): Use `inhibit-message'
7026 instead.
7027 (package--compile): Set `warning-minimum-level' to :error.
7028
7029 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
7032 (terminal-init-screen): Use it (bug#20356).
7033 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
7034 (xterm--extra-capabilities-type): New const.
7035 (xterm-extra-capabilities): Use it.
7036 (xterm--version-handler): Lower the pseudo-version for `screen'.
7037
7038 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
7039
7040 xref--insert-xrefs: Tweak the faces
7041 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
7042 Always insert a newline at the end (to avoid mouse-face background
7043 tail at the last line).
7044
7045 elisp-completion-at-point: Prioritize being quoted over funpos
7046 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
7047 Only consider function position when not inside quoted form
7048 (bug#20425).
7049 * test/automated/elisp-mode-tests.el: New file.
7050
7051 Stop vc-print-log from jumping to the top
7052 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
7053 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
7054 is not specified.
7055 (vc-incoming-outgoing-internal): Always pass nil.
7056 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
7057 call it, and don't set vc-sentinel-movepoint (bug#15322).
7058 (vc-print-root-log): Don't fetch the root working revision, nor
7059 pass it to vc-print-log-internal.
7060
7061 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
7062
7063 Fix display of keyboard layouts for right-to-left scripts
7064 * lisp/international/quail.el (quail-insert-kbd-layout): Force
7065 left-to-right paragraph direction.
7066
7067 2015-05-02 K. Handa <handa@gnu.org>
7068
7069 * cmds.c (internal_self_insert): When we insert spaces for
7070 padding, set point before the padding spaces, not after them.
7071
7072 2015-05-02 Nicolas Petton <nicolas@petton.fr>
7073
7074 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
7075
7076 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
7077
7078 Fix etags-xref-find for references
7079 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
7080 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
7081 directory if no tags tables are loaded (bug#19468).
7082
7083 2015-05-02 Philipp Stephani <phst@google.com>
7084
7085 Update the options in whitespace-style defcustom
7086 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
7087 `repeat' because the option is really set-like. Add missing
7088 options. Reorder options to match the order in the
7089 documentation. (Bug#20346)
7090
7091 2015-05-02 Eli Zaretskii <eliz@gnu.org>
7092
7093 Fix error diagnostics of c-macro-expand
7094 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
7095 too early if no start-marker string was found -- that generally
7096 means cpp exited abnormally, and we still want to show its error
7097 messages to the user.
7098
7099 Don't require Texinfo 5.0 for Emacs documentation
7100 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
7101 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
7102 "@codequoteundirected on", respectively, to avoid requiring
7103 Texinfo 5.x for Emacs documentation.
7104
7105 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
7106
7107 * lisp/files.el (pwd):
7108 When called with a prefix argument, insert the current default
7109 directory at point.
7110
7111 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
7114 * lisp/isearch.el (isearch-mode-map): Don't inhibit
7115 function-key-map remapping for backspace (bug#20466).
7116
7117 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
7118
7119 Implement xref-find-references in etags and elisp-mode
7120 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
7121 (elisp-xref-find): Use it.
7122 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
7123 * lisp/progmodes/xref.el (xref-collect-references):
7124 (xref--collect-reference): New functions.
7125
7126 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
7127
7128 Prefer plain characters to Texinfo circumlocutions
7129 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
7130 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
7131
7132 Fix single-quoting style in PDF manuals
7133 The PDF versions of the GNU manuals used curved single quotes to
7134 represent grave accent and apostrophe, which made it a pain to cut
7135 and paste code examples from them. Fix the PDF versions to use
7136 grave accent and apostrophe for Lisp source code, keystrokes, etc.
7137 This change does not affect the info files, nor does it affect
7138 ordinary uses of curved single quotes in PDF.
7139 * doc/emacs/docstyle.texi: New file, which specifies treatment for
7140 grave accent and apostrophe, as well as the document encoding.
7141 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
7142 * doc/lispintro/emacs-lisp-intro.texi:
7143 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
7144 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
7145 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
7146 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
7147 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
7148 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
7149 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
7150 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
7151 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
7152 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
7153 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
7154 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
7155 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
7156 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
7157 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
7158 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
7159 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
7160 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
7161 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
7162 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
7163 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
7164 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
7165 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
7166 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
7167 * doc/misc/woman.texi:
7168 Use it instead of '@documentencoding UTF-8', to lessen the need for
7169 global changes like this in the future.
7170 * doc/emacs/Makefile.in (EMACS_XTRA):
7171 * doc/lispintro/Makefile.in (srcs):
7172 * doc/lispref/Makefile.in (srcs):
7173 Add dependency on docstyle.texi.
7174 * doc/misc/Makefile.in (style): New macro.
7175 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
7176 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
7177 Use it.
7178
7179 2015-05-01 Glenn Morris <rgm@gnu.org>
7180
7181 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
7182
7183 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
7184 (help-fns--signature): Declare.
7185
7186 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
7187
7188 2015-05-01 Nicolas Petton <nicolas@petton.fr>
7189
7190 New macro seq-let, providing destructuring support to seq.el
7191 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
7192 to `cl-destructuring-bind' but works on all sequence types supported
7193 by `seq.el'. Bump version number to 1.6.
7194 * test/automated/seq-tests.el: Add tests for seq-let.
7195 * doc/lispref/sequences.texi: Add documentation for seq-let.
7196
7197 2015-05-01 Pontus Michael <m.pontus@gmail.com>
7198
7199 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
7200
7201 2015-05-01 Glenn Morris <rgm@gnu.org>
7202
7203 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
7204
7205 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
7206
7207 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
7208 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
7209 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
7210 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
7211 (Bug#20445).
7212
7213 2015-05-01 K. Handa <handa@gnu.org>
7214
7215 * mule-cmds.el (input-method-use-echo-area): Change :type to
7216 'boolean.
7217
7218 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7219
7220 Start using proportional fonts in eww by default
7221 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
7222 it seems to work well.
7223
7224 Fix links in tables in shr
7225 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
7226 makes (some) links in tables not work.
7227
7228 2015-05-01 Jan D <jan.h.d@swipnet.se>
7229
7230 (ns-get-cut-buffer-internal): Remove this alias.
7231 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
7232
7233 2015-04-30 Glenn Morris <rgm@gnu.org>
7234
7235 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
7236 Update for 2015-02-08 change to indirect-function.
7237
7238 * lisp/term/ns-win.el (ns-get-selection-internal):
7239 Remove declaration for function deleted 2014-10-21.
7240
7241 * lisp/dom.el: Load subr-x when compiling, for when-let.
7242
7243 Silence some compilation warnings
7244 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
7245 * lisp/emulation/cua-base.el (delete-active-region):
7246 * lisp/net/net-utils.el (w32-get-console-output-codepage):
7247 * lisp/term/ns-win.el (ns-own-selection-internal)
7248 (ns-disown-selection-internal, ns-selection-owner-p)
7249 (ns-selection-exists-p, ns-get-selection):
7250 Declare for compiler..
7251
7252 Function declaration updates prompted by 'make check-declare'
7253 * lisp/emacs-lisp/package.el (lm-homepage):
7254 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
7255 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
7256 * lisp/gnus/mml.el (libxml-parse-html-region):
7257 * lisp/gnus/nnrss.el (libxml-parse-html-region):
7258 * lisp/net/eww.el (libxml-parse-html-region):
7259 * lisp/net/shr.el (libxml-parse-html-region):
7260 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
7261 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
7262 * lisp/vc/vc-git.el (vc-annotate-convert-time):
7263 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
7264 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
7265 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
7266 Update declaration.
7267
7268 Remove compatibility code for 20-year old function renaming
7269 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
7270 Make it an obsolete alias.
7271 (idlwave-shell-filter): Change all uses to comint-output-filter.
7272
7273 2015-04-30 Tassilo Horn <tsdh@gnu.org>
7274
7275 Add ace-window face config
7276 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
7277 configuration.
7278
7279 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
7280
7281 Unclutter 'make doc' output a bit
7282 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
7283 Use make subst rather than sh IFS to split target string apart.
7284 This makes 'make' output easier to follow.
7285
7286 Merge from gnulib
7287 * doc/misc/texinfo.tex: Update from gnulib.
7288
7289 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
7290
7291 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
7292 (package-menu--print-info): Obsolete.
7293 (package-menu--print-info-simple): New function.
7294 (package-menu--refresh): Use it, simplify code, and improve
7295 performance.
7296 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7297 Tiny performance improvement.
7298
7299 * lisp/emacs-lisp/package.el (package--message): inhibit-message
7300
7301 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
7302
7303 Omit -Wstrict-overflow workaround in GCC 5
7304 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
7305 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
7306
7307 Merge from gnulib
7308 This incorporates:
7309 2015-04-29 extern-inline: no need for workaround in GCC 5.1
7310 2015-04-26 file-has-acl: port to CentOS 6
7311 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
7312
7313 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
7314
7315 Set next-error-* in xref--xref-buffer-mode
7316 * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
7317 `next-error-last-buffer'.
7318 (xref--next-error-function): New function.
7319 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
7320
7321 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
7322
7323 python.el: Fix warnings on looking-back calls missing LIMIT
7324 * lisp/progmodes/python.el (python-shell-accept-process-output):
7325 Pass LIMIT arg to looking-back.
7326
7327 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
7328
7329 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
7330 (package--download-and-read-archives): Use pushnew instead of
7331 append. If something terrible happened during a previous
7332 download, simply refreshing should now make things work again.
7333
7334 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
7335
7336 Introduce etags-xref-find-definitions-tag-order
7337 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
7338 New variable.
7339 (etags--xref-find-definitions): Use it (bug#19468).
7340
7341 2015-04-29 Eli Zaretskii <eliz@gnu.org>
7342
7343 PATH- and completion-related fixes in Eshell on MS-Windows
7344 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
7345 MS-Windows, prepend "." to list of directories produced from PATH,
7346 as Windows always implicitly searches the current directory first.
7347 (eshell-force-execution): Make it have a non-nil default value on
7348 MS-Windows and MS-DOS.
7349 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
7350 eshell-force-execution is non-nil, complete on readable files and
7351 directories, not only executables. When running on MS-Windows,
7352 prepend "." to list of directories produced from PATH, as Windows
7353 always implicitly searches the current directory first.
7354
7355 2015-04-29 Sam Steingold <sds@gnu.org>
7356
7357 bury RCIRC buffers when there is no activity
7358 lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
7359 (rcirc-bury-buffers): new function
7360 (rcirc-next-active-buffer): when there is no new activity, use
7361 `rcirc-bury-buffers' to hide all RCIRC buffers
7362
7363 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
7364
7365 Fix DBUS query result parsing for secrets-search-items
7366 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
7367 parsing. The function assumed that return value of the
7368 SearchItems method called on a collection is a list of two lists,
7369 however this is true only when no collection is specified. GNOME
7370 had used to incorrectly return a list of two lists in both cases,
7371 but this was already fixed:
7372 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
7373 incorrect information in the secrets-search-items’ docstring.
7374 (Bug#20449)
7375
7376 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
7377
7378 * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
7379 (byte-compile--message): Use `inhibit-message' instead of hiding
7380 the previous message with (message nil).
7381
7382 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
7383
7384 Remove the deprecated INTERNAL_FIELD macro by expanding it
7385 * src/lisp.h (INTERNAL_FIELD): Remove.
7386 (DEFVAR_KBOARD): Modify accordingly.
7387 * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
7388 * syntax.c: Adjust users.
7389 * src/buffer.c (compact_buffer): Use BVAR.
7390
7391 2015-04-29 Glenn Morris <rgm@gnu.org>
7392
7393 Replace an obsolete function alias
7394 * lisp/isearch.el (isearch-yank-x-selection):
7395 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
7396 (mouse-drag-secondary-moving):
7397 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
7398 Replace obsolete alias x-get-selection with gui-get-selection.
7399
7400 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7401
7402 * lisp/mail/rmailsum.el: Use lexical-binding.
7403
7404 2015-04-29 Glenn Morris <rgm@gnu.org>
7405
7406 * test/automated/package-test.el (package-test-update-archives-async):
7407 Skip test on hydra.nixos.org.
7408
7409 2015-04-28 Glenn Morris <rgm@gnu.org>
7410
7411 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
7412 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
7413 (foldout-mouse-hide-or-exit): Use new names for outline functions.
7414
7415 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
7416 Update for 2014-06-26 hideif.el change.
7417
7418 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
7419 (rmail--decode-and-apply): New function.
7420 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
7421
7422 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
7423
7424 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
7425
7426 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
7427 (package-menu--refresh): Delegate obsolete-hiding to
7428 `package--remove-hidden'.
7429 (package--remove-hidden): Disregard high-priority package if it is
7430 older than the installed one.
7431
7432 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
7433
7434 Update source file encoding list
7435 Update admin/notes/unicode, along with coding system cookies in
7436 other files, so that the two match each other better.
7437 * admin/notes/unicode: lisp/language/ethio-util.el and
7438 lisp/language/ethiopic.el also use utf-8-emacs.
7439 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
7440 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
7441 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
7442 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
7443 * etc/refcards/sk-survival.tex:
7444 Add "coding: utf-8" so that this file is not mishandled in a
7445 Latin-1 or Big-5 locale.
7446 * lisp/international/robin.el, lisp/org/ox-ascii.el:
7447 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
7448 * lisp/language/ethio-util.el: Fix trailer.
7449
7450 2015-04-28 Eli Zaretskii <eliz@gnu.org>
7451
7452 Fix synchronous invocation of Ispell
7453 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
7454 value to ispell-process-directory before calling ispell-init-process.
7455 Don't call set-process-coding-system if ispell-async-processp is nil.
7456 (Bug#20448)
7457
7458 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
7459
7460 * lisp/emacs-lisp/package.el: Skip space and comments in init file
7461 (package--ensure-init-file): Insert snippet at first
7462 non-whitespace non-comments line. Respects local-vars at the top
7463 of the file.
7464
7465 2015-04-28 Glenn Morris <rgm@gnu.org>
7466
7467 * lisp/mail/rmail.el (rmail-copy-headers):
7468 Handle rmail-nonignored-headers being nil. (Bug#18878)
7469
7470 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
7471
7472 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
7473 Don't get confused by a bzrlib version mismatch warning.
7474
7475 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7476
7477 Change default location of EUDC options file
7478 * NEWS: Document change to EUDC options file's default location.
7479 * lisp/net/eudc-vars.el (eudc-options-file): Use
7480 `locate-user-emacs-file' to change default options file location.
7481
7482 2015-04-27 Glenn Morris <rgm@gnu.org>
7483
7484 * test/automated/package-test.el (package-test-update-archives-async):
7485 Try to handle the test server script dying.
7486
7487 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * lisp/saveplace.el (save-place-mode): New minor mode.
7490 (save-place): Redefine as an obsolete alias.
7491
7492 * lisp/midnight.el: Make it a minor mode. Allow predicates.
7493 * lisp/midnight.el: Use lexical-binding.
7494 (midnight-mode): Make it a proper minor mode.
7495 (midnight-buffer-display-time): Make arg non-optional.
7496 (midnight-find): Remove.
7497 (clean-buffer-list-kill-never-regexps)
7498 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
7499 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
7500 contain functions.
7501 (clean-buffer-list): Use cl-find.
7502 Allow clean-buffer-list-kill-never-regexps to contain functions.
7503
7504 2015-04-27 Nicolas Petton <nicolas@petton.fr>
7505
7506 Bump version of seq.el to 1.5
7507 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
7508 from seq-doseq. Bump version number of seq.el.
7509
7510 2015-04-27 Glenn Morris <rgm@gnu.org>
7511
7512 * lisp/mail/rmail.el (rmail-reply):
7513 Decode subject before matching "Re:" prefix. (Bug#20396)
7514
7515 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
7516
7517 * lisp/emacs-lisp/package.el: Small improvements
7518 (package--with-work-buffer-async): More informative error.
7519 (package-install-user-selected-packages): Rename to
7520 `package-install-selected-packages'.
7521
7522 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
7525 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
7526 (eieio--class-make): Remove leftover `tag'.
7527
7528 2015-04-27 Glenn Morris <rgm@gnu.org>
7529
7530 * lisp/gnus/message.el (gnus-extract-address-components):
7531 Remove bogus declaration that was masking previous problem.
7532
7533 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
7534
7535 * lisp/gnus/message.el (message-insert-formatted-citation-line):
7536 Fix typo. (Bug#20318)
7537
7538 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
7541
7542 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
7543 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
7544 the buffer in yet another frame.
7545 (reftex-toc-visit-location): Make sure toc-window has focus at the end
7546 when `final' is nil.
7547 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
7548 silence warnings. Use `--' to clarify that it's internal.
7549 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
7550 (reftex-toc-promote): Clarify unused argument.
7551 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
7552 Add `reftex--' prefix. Fix all users.
7553 (reftex-toc-promote-prepare): Use _ for dummy variable.
7554 (reftex-toc-restore-region): Rename `m
7555
7556 2015-04-27 Eli Zaretskii <eliz@gnu.org>
7557
7558 Fix a typo in bibtex.el
7559 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
7560 last change. (Bug#20429)
7561
7562 Fix redisplay of frame after loading new fonts
7563 * src/xdisp.c (redisplay_internal): When retrying redisplay of a
7564 frame because new fonts were loaded, disable all redisplay
7565 optimizations on that frame by calling SET_FRAME_GARBAGED.
7566 (Bug#20410)
7567
7568 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * lisp/info.el (Info-menu): Properly provide the `default'
7571 (Bug#20391)
7572
7573 * elisp-mode.el: Catch errors from `documentation'
7574 (Bug#20418)
7575 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
7576 Catch errors from documentation.
7577 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
7578
7579 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
7582 Remove redundant ":group 'package".
7583
7584 2015-04-26 Eli Zaretskii <eliz@gnu.org>
7585
7586 Fix a typo in rmail.el
7587 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
7588 last commit. (Bug#20429)
7589
7590 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
7591
7592 Introduce xref-prompt-for-identifier
7593 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
7594 (xref--read-identifier): Use it
7595 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
7596
7597 2015-04-26 João Távora <joaotavora@gmail.com>
7598
7599 `tex-insert-quote' after single `'' opens quotes instead of closing
7600 Without this, it's very hard to precede double quotes with the
7601 apostrophe character, i.e. insert the sequence '``
7602 (quote-backquote-backquote), commonly useful in portuguese, for
7603 instance.
7604 * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
7605 chars making `tex-insert-quote' be in the "opening" context.
7606
7607 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
7608
7609 Pass `id' to `completing-read' as def instead of initial input
7610 * xref.el (xref--read-identifier): Pass `id' to `completing-read'
7611 as the default value instead of initial input
7612 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
7613
7614 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
7615
7616 Don't freeze with unreadable processes
7617 Don't freeze if an exiting process can't be read from. (Bug#19860).
7618 This fixes a bug I introduced in
7619 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
7620 "* process.c: Add sanity checks for file descriptors."
7621 Dmitry Gutov did most of the legwork in finding the problem.
7622 * src/process.c (wait_reading_process_output):
7623 Treat non-running processes that can't be read from
7624 the same as other non-running processes.
7625
7626 2015-04-25 Alan Mackenzie <acm@muc.de>
7627
7628 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
7629 * lisp/subr.el (remove-yank-excluded-properties): put
7630 `with-silent-modifications' around only the last three lines of code.
7631
7632 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
7633
7634 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
7635 (package--all-keywords): Deleted variable.
7636
7637 * etc/NEWS: Document package-hiding functionality
7638
7639 2015-04-25 Eli Zaretskii <eliz@gnu.org>
7640
7641 lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
7642
7643 Clarify the doc string of 'replace-regexp-in-string'
7644 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
7645
7646 Improve doc string of 'insert-buffer-substring'
7647 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
7648
7649 MS-Windows followup for the recent gnulib update
7650 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
7651 acl-internal.c.
7652
7653 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
7654
7655 Spelling fixes
7656
7657 Merge from gnulib
7658 This incorporates:
7659 2015-04-24 file-has-acl: new module, split from acl
7660 2015-04-24 manywarnings: add GCC 5.1 warnings
7661 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
7662 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
7663 2015-04-15 acl: On Linux, check for acls without libacl
7664 2015-04-14 tempname: avoid unused parameter warnings (trivial)
7665 * lib/acl-internal.c: New file, from gnulib.
7666 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
7667 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
7668 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
7669 Update from gnulib.
7670
7671 Port --enable-gcc-warnings to GCC 5.1 x86-64
7672 * lib-src/ebrowse.c (dump_sym):
7673 * lib-src/hexl.c (main):
7674 * src/ccl.c (ccl_driver):
7675 * src/character.c (string_escape_byte8):
7676 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
7677 * src/gnutls.c (Fgnutls_boot):
7678 * src/gtkutil.c (xg_check_special_colors):
7679 * src/image.c (x_build_heuristic_mask):
7680 * src/print.c (safe_debug_print, print_object):
7681 * src/term.c (produce_glyphless_glyph):
7682 * src/xdisp.c (get_next_display_element)
7683 (produce_glyphless_glyph):
7684 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
7685 Don't use a signed format to print an unsigned integer, or vice
7686 versa. GCC 5.1's new -Wformat-signedness option warns about this.
7687 * src/image.c (png_load_body, jpeg_load_body):
7688 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
7689
7690 2015-04-24 Tassilo Horn <tsdh@gnu.org>
7691
7692 Add new faces to tsdh-light-theme
7693 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
7694 definitions for Info-quoted, ace-jump-face-foreground,
7695 hl-paren-face, show-paren-match, and show-paren-mismatch.
7696
7697 2015-04-24 Nicolas Petton <nicolas@petton.fr>
7698
7699 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
7700
7701 2015-04-24 Glenn Morris <rgm@gnu.org>
7702
7703 * build-aux/gitlog-to-emacslog:
7704 Use raw log format rather than wrapped one.
7705
7706 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
7709 (seq-doseq): Fix out-of-scope binding.
7710 Don't call `seq-length at every iteration.
7711 Reduce `if's from 3 to 2 per iteration.
7712 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
7713
7714 2015-04-24 Glenn Morris <rgm@gnu.org>
7715
7716 * lisp/textmodes/text-mode.el (text-mode-hook):
7717 Move text-mode-hook-identify to default.
7718
7719 * lisp/mouse.el (minor-mode-menu-from-indicator):
7720 Handle non-function members of minor-mode-map-alist. (Bug#20201)
7721
7722 * lisp/help-fns.el (describe-function): More type checking.
7723 (describe-function-1): Handle changed symbol-function. (Bug#20201)
7724
7725 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
7726 (Bug#20325)
7727
7728 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
7729
7730 shr: strip leading whitespace when expanding URLs
7731 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
7732
7733 2015-04-24 Eli Zaretskii <eliz@gnu.org>
7734
7735 Clarify "co-authored" some more
7736
7737 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
7738
7739 Clarify doc strings of functions that search for properties
7740 * src/textprop.c (Fnext_char_property_change)
7741 (Fprevious_char_property_change)
7742 (Fnext_single_char_property_change)
7743 (Fprevious_single_char_property_change, Fnext_property_change)
7744 (Fnext_single_property_change, Fprevious_property_change)
7745 (Fprevious_single_property_change): Clarify doc strings wrt return
7746 value and the optional LIMIT argument. (Bug#20411)
7747
7748 2015-04-24 Glenn Morris <rgm@gnu.org>
7749
7750 * test/automated/message-mode-tests.el (message-mode-propertize):
7751 Handle non-writable HOME; eg on hydra.nixos.org.
7752
7753 2015-04-23 Eli Zaretskii <eliz@gnu.org>
7754
7755 Avoid starting threads by w32-shell-execute
7756 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
7757 local file names, before invoking ShellExecute. (Bug#20220)
7758
7759 2015-04-23 Martin Rudalics <rudalics@gmx.at>
7760
7761 Fix following doc-links in `widget-documentation-link-action'
7762 * lisp/wid-edit.el (widget-documentation-link-action): Make
7763 following doc-links less simplistic (Bug#20398).
7764
7765 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7766
7767 Improve EUDC manual
7768 * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
7769
7770 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
7771
7772 Omit needless "\ " after multibyte then newline
7773 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
7774 (print_object): When print-escape-multibyte is non-nil and a
7775 multibyte character is followed by a newline or formfeed, followed
7776 by a hex digit, don't output a needless "\ " before the hex digit.
7777 * test/automated/print-tests.el (print-hex-backslash): New test.
7778
7779 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
7780
7781 Add a new `inhibit-message' variable
7782 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
7783 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
7784 `inhibit_message' is non-zero.
7785 * etc/NEWS: Add an entry.
7786 * doc/lispref/display.texi: Add an entry for `inhibit-message',
7787 mention it in `message'.
7788
7789 2015-04-22 Martin Rudalics <rudalics@gmx.at>
7790
7791 Fix last fix in `display-buffer-record-window'.
7792 * lisp/window.el (display-buffer-record-window): Fix last fix.
7793
7794 2015-04-22 Eli Zaretskii <eliz@gnu.org>
7795
7796 Minor edits in CONTRIBUTE
7797 * CONTRIBUTE: Rearrange instructions about log messages.
7798 Use "Git" capitalized all over.
7799 Use 2 spaces between sentences.
7800
7801 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
7802
7803 * lisp/files.el (basic-save-buffer): Fix argument
7804
7805 * lisp/cus-edit.el (custom-file): Consider init-file-had-error
7806 In case `(and (null custom-file) init-file-had-error)' do the same
7807 thing we'd do if `(null user-init-file)', which is to either error out
7808 or return nil. This is in line with `custom-save-all' which would
7809 throw an error in that situation. (bug#20355)
7810
7811 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
7812 (package-menu-hide-low-priority): New variable, see its doc.
7813 (package-archive-priorities): Update doc.
7814 (package-desc-priority): New function.
7815 (package-desc-priority-version): Use it.
7816 (package--remove-hidden): New function.
7817 (package-menu--refresh): Use it.
7818
7819 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
7820 (package-menu--hide-obsolete): New variable.
7821 (package--remove-hidden): Use it.
7822 (package-menu-hide-obsolete): New interactive function to toggle
7823 the variable.
7824 (package--quick-help-keys): Document it.
7825 (package-menu-async): Add :version tag.
7826 (package-menu-mode-map): Bind package-menu-hide-obsolete.
7827 (package-desc-status): Indicate non-installed obsolete packages as
7828 avail-obso.
7829 (package-menu-mark-install): Allow installation of avail-obso.
7830 (package-menu--status-predicate): Sort avail-obso with available.
7831
7832 2015-04-22 Alan Mackenzie <acm@muc.de>
7833
7834 On C-y, stop some text property entries being written into buffer-undo-list
7835 lisp/subr.el (remove-yank-excluded-properties): enclose the code in
7836 `with-silent-modifications'.
7837
7838 2015-04-22 Martin Rudalics <rudalics@gmx.at>
7839
7840 In display-buffer-record-window record selected window if necessary.
7841 * lisp/window.el (display-buffer-record-window): Store selected window
7842 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
7843
7844 2015-04-22 Tassilo Horn <tsdh@gnu.org>
7845
7846 Fix reftex-citation bug
7847 * reftex-cite.el (reftex-extract-bib-entries): Fix
7848 `wrong-type-argument stringp nil' error that occurs when AUCTeX
7849 integration is enabled and there are no citations in the document
7850 so far.
7851
7852 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
7853
7854 Add or reset based on the presence of MERGE_HEAD
7855 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
7856 `vc-git-resolve-when-done' to `after-save-hook' in either case.
7857 (vc-git-conflicted-files): Add a TODO.
7858 (vc-git-resolve-when-done): Depending on the presence of
7859 MERGE_HEAD, either update the resolved file in the index, or
7860 remove it from there. (Bug#20292)
7861
7862 2015-04-21 Glenn Morris <rgm@gnu.org>
7863
7864 * lisp/custom.el (custom-declare-group): No need to purecopy
7865 custom-current-group-alist members following recent change to set
7866 it to nil before dumping.
7867
7868 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
7869 (Bug#20399)
7870
7871 2015-04-21 Daniel Colascione <dancol@dancol.org>
7872
7873 Unbreak no-op buffer save message
7874 * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
7875 (basic-save-buffer): Accept called-interactively as an argument instead of
7876 directly invoking called-interactively-p, which will always yield nil
7877 in that context.
7878
7879 2015-04-21 Alan Mackenzie <acm@muc.de>
7880
7881 CC Mode: Do nothing in before/after-change-functions for text property changes
7882 Fixes bug#20266.
7883 lisp/progmodes/cc-mode.el (c-basic-common-init): Make
7884 yank-handled-properties buffer local, and remove 'category from it.
7885 (c-called-from-text-property-change-p): New function.
7886 (c-before-change): Don't do anything if a call of the new function
7887 returns non-nil.
7888 (c-after-change): Don't do much if a call of the new function returns
7889 non-nil.
7890 (c-extend-after-change-region): Put changes to text property 'fontified
7891 inside c-save-buffer-state.
7892
7893 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 Fix byte-compiler warnings about looking-back.
7896 * lisp/vc/log-view.el (log-view-end-of-defun-1):
7897 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
7898 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
7899 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
7900 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
7901 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
7902 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
7903 * lisp/org/org.el (org-insert-heading, org-sort-entries):
7904 * lisp/org/org-mouse.el (org-mouse-end-headline)
7905 (org-mouse-context-menu):
7906 * lisp/org/org-clock.el (org-clock-cancel):
7907 * lisp/man.el (Man-default-man-entry):
7908 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
7909 (rmail-ensure-blank-line):
7910 * lisp/mail/footnote.el (Footnote-delete-footnote):
7911 * lisp/mail/emacsbug.el (report-emacs-bug):
7912 * lisp/info.el (Info-follow-reference, Info-fontify-node):
7913 * lisp/info-look.el (info-lookup-guess-custom-symbol):
7914 * lisp/help-fns.el (help-fns--key-bindings):
7915 * lisp/files.el (hack-local-variables):
7916 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
7917 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
7918 (viper-complete-filename-or-exit):
7919 * lisp/emulation/viper-cmd.el (viper-backward-indent):
7920 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
7921 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
7922 * lisp/cus-edit.el (custom-face-edit-value-create):
7923 * lisp/calendar/todo-mode.el (todo-set-item-priority)
7924 (todo-filter-items-1, todo-convert-legacy-files)
7925 (todo-prefix-overlays): Add explicit second arg to looking-back.
7926
7927 2015-04-20 Glenn Morris <rgm@gnu.org>
7928
7929 Avoid non-nil current-load-list at startup
7930 * src/process.c (init_process_emacs): Move Fprovide statement...
7931 (syms_of_process): ... to here.
7932
7933 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
7934
7935 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
7936
7937 2015-04-20 Ludovic Courtès <ludo@gnu.org>
7938
7939 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
7940 (Bug#20330)
7941
7942 2015-04-20 Glenn Morris <rgm@gnu.org>
7943
7944 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
7945
7946 Tweak exec-path in uninstalled case
7947 * src/callproc.c (init_callproc): If running uninstalled, do not
7948 include eventual installation libexec directory in exec-path.
7949
7950 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
7951
7952 * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
7953 (package-menu-filter): Accept a list of keywords.
7954 (package--all-keywords): New variable to cache known keywords.
7955 (package-all-keywords): Populate it if necessary.
7956 (package-refresh-contents): Reset it.
7957
7958 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
7959 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
7960 as special keywords which match agains package archive and status
7961 respectively.
7962 * etc/NEWS: Document it.
7963
7964 2015-04-20 Eli Zaretskii <eliz@gnu.org>
7965
7966 Describe and index "empty overlays".
7967 * doc/lispref/display.texi (Overlays): Improve indexing.
7968 (Managing Overlays): Describe "empty" overlays.
7969 (Overlay Properties, Finding Overlays): Add cross-reference to
7970 where empty overlays are described.
7971
7972 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7973
7974 Spelling fixes
7975
7976 Quote 'like this' in top-level files
7977 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
7978 Prefer to single-quote 'like this' (instead of the older style
7979 `like this').
7980 * configure.ac: Fix some space-before-tab problems that 'git commit'
7981 complained about.
7982
7983 Use bool for boolean in textprop.c, undo.c
7984 * src/textprop.c (soft, hard): Now constants instead of macros.
7985 (validate_plist): Rewrite to avoid need for boolean local.
7986 (interval_has_all_properties, interval_has_some_properties)
7987 (interval_has_some_properties_list, add_properties)
7988 (remove_properties, get_char_property_and_overlay)
7989 (Fnext_single_char_property_change)
7990 (Fprevious_single_char_property_change, add_text_properties_1)
7991 (Fremove_text_properties, Fremove_list_of_text_properties)
7992 (copy_text_properties):
7993 * src/tparam.c (tparam1):
7994 * src/undo.c (record_change, record_property_change)
7995 (syms_of_undo):
7996 Use 'true' and 'false' for booleans.
7997
7998 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
7999
8000 Call `smerge-start-session' even when dealing with a stash conflict
8001 * lisp/vc/vc-git.el (vc-git-find-file-hook):
8002 Call `smerge-start-session' even when dealing with a stash
8003 conflict (bug#20292).
8004
8005 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
8006
8007 Add option to eshell/clear to clear scrollback.
8008 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
8009 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
8010 scrollback contents are cleared.
8011 * etc/NEWS: Describe change.
8012 * doc/misc/eshell.texi: Add entry for `clear'.
8013
8014 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8015
8016 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
8017 where either will do.
8018
8019 2015-04-19 Steve Purcell <steve@sanityinc.com>
8020
8021 Assume package archive-contents are UTF8-encoded
8022 * lisp/emacs-lisp/package.el (package--read-archive-file):
8023 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
8024 downloaded and cached archive-contents files, so that non-ASCII
8025 characters in package descriptions are displayed correctly in the
8026 `list-packages' menu. (Bug#20231)
8027
8028 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
8029
8030 Abort when looking at stashed changes
8031 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
8032 stashed changes (bug#20292).
8033
8034 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8035
8036 Refactor low-level printing for simplicity
8037 * src/print.c (PRINTDECLARE): Remove. Move its contents into
8038 PRINTPREPARE; doable now that we assume C99. All callers changed.
8039 (PRINTCHAR): Remove, as it adds more mystery than clarity.
8040 All callers changed.
8041 (strout): Assume that caller computes length. All callers changed.
8042 (print_c_string): New function.
8043 (write_string, write_string_1): Compute length instead of asking
8044 the caller to compute it. All callers changed.
8045 (write_string): Simplify by using write_string_1.
8046 (write_string_1): Simplify by using print_c_string.
8047 (Fterpri): Compute default val more clearly.
8048 (Fprin1_to_string, print_object):
8049 Assume C99 to avoid unnecessary nesting.
8050 (print_object): Prefer print_c_string to multiple printchar, or
8051 to calling strout with -1 length. Coalesce into sprintf when
8052 this is easy.
8053
8054 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
8055
8056 Prefer "Bug#1234" in commit messages (Bug#20325)
8057 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
8058 as this isn't useful for Git.
8059 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
8060
8061 2015-04-18 Glenn Morris <rgm@gnu.org>
8062
8063 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
8064 (Bug#19506)
8065
8066 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
8067
8068 * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
8069 (Bug#19505)
8070
8071 2015-04-18 Glenn Morris <rgm@gnu.org>
8072
8073 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
8074
8075 * doc/emacs/misc.texi (Sorting): Small edit.
8076 (Bug#19896)
8077
8078 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
8079
8080 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
8081
8082 css-mode.el: Support multi-line comment filling
8083 (Bug#20256)
8084 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
8085 comment filling.
8086 (css-adaptive-fill): New function.
8087 (css-mode): Set `adaptive-fill-function'.
8088 (scss-mode): Set `comment-continue'.
8089
8090 2015-04-18 Nicolas Petton <nicolas@petton.fr>
8091
8092 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
8093
8094 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
8095
8096 Minor improvements in Bulgarian input methods
8097 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
8098 Replace U+042C with U+045D, as the former character is not used in
8099 the modern Bulgarian language.
8100 (Bug#20350)
8101
8102 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8103
8104 Improve EUDC manual
8105 * eudc.texi (LDAP Configuration): Mention simple and SASL
8106 authentication schemes. Add index items. Shorten example server
8107 name.
8108
8109 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
8110
8111 Don't show both feature and function with the same name
8112 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
8113 Don't show both feature and function with the same name.
8114
8115 (elisp--xref-identifier-location): Skip variable, if it's also a functiong
8116 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
8117 Avoid returning both the variable and the function for the same
8118 minor mode.
8119
8120 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
8121
8122 Fix fontification of keywords clobbered by the prompt.
8123 * lisp/comint.el (comint-output-filter): Remove the uses of
8124 with-silent-modifications I introduced as part of the last change.
8125 This fixes, e.g., erratically missing highlighting when running
8126 ./configure --help; ./configure in a shell-mode buffer with
8127 compilation-shell-minor-mode turned on.
8128
8129 2015-04-17 Glenn Morris <rgm@gnu.org>
8130
8131 * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
8132
8133 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8134
8135 * lisp/indent.el (indent-region): Don't deactivate the mark
8136 (Bug#20357)
8137
8138 2015-04-17 Sam Steingold <sds@gnu.org>
8139
8140 lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
8141
8142 2015-04-16 Leo Liu <sdl.web@gmail.com>
8143
8144 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
8145
8146 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
8149
8150 2015-04-16 Glenn Morris <rgm@gnu.org>
8151
8152 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
8153
8154 2015-04-16 Eli Zaretskii <eliz@gnu.org>
8155
8156 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
8157 * configure.ac (LIBJPEG): Leave it empty for MinGW.
8158
8159 2015-04-16 Glenn Morris <rgm@gnu.org>
8160
8161 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
8162 to avoid rogue setting after startup.
8163
8164 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
8165
8166 Pre-4.6 GCC succeeds with unknown option
8167 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
8168 (Bug#20338)
8169
8170 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
8171
8172 '[:graph:]' now excludes whitespace, not just ' '
8173 * doc/lispref/searching.texi (Char Classes):
8174 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
8175 sans whitespace (not sans space).
8176 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
8177 not just space.
8178 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
8179
8180 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8181
8182 (looking-back): Make the second arg non-optional.
8183 * lisp/subr.el (substitute-key-definition-key, special-form-p)
8184 (macrop): Drop deprecated second arg to indirect-function.
8185 (looking-back): Make the second arg non-optional.
8186
8187 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
8188 command is actually sent to the shell.
8189
8190 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
8191
8192 Port jpeg configuration to Solaris 10 with Sun C
8193 * configure.ac: Check for jpeglib 6b by trying to link it, instead
8194 of relying on cpp magic that has problems in practice. Check for
8195 both jpeglib.h and jerror.h features. Remove special case for
8196 mingw32, which should no longer be needed (and if it were needed,
8197 should now be addressable by hotwiring emacs_cv_jpeglib).
8198 (Bug#20332)
8199
8200 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
8203 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
8204 Move to elisp-mode.el.
8205 (lisp-mode-variables): (Re)move elisp-specific settings.
8206 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
8207 from lisp-mode-variables.
8208 (elisp--font-lock-flush-elisp-buffers): New function, moved from
8209 lisp-mode.el.
8210
8211 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
8212 Avoid pathological slowdown at top-level in large file.
8213
8214 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
8215
8216 Standardize names of ChangeLog history files
8217 Suggested by Glenn Morris in:
8218 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
8219 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
8220 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
8221 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
8222 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
8223 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
8224 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
8225 Remove.
8226
8227 Split top-level entries into pre- and post-April 7
8228 This more clearly distingiushes pre-April-7 ChangeLog entries (which
8229 are for top-level files only) from post-April-7 entries (which are
8230 about files at all levels. Problem reported by Glenn Morris in:
8231 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
8232 * ChangeLog.1: Move post-April-7 entries from here ...
8233 * ChangeLog.2: ... to this new file.
8234 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
8235
8236 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 Fix recent cus-start changes that added customize-rogues
8239 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
8240 vars early.
8241 * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
8242
8243 2015-04-15 Nicolas Petton <nicolas@petton.fr>
8244
8245 Define cl-concatenate as an alias to seq-concatenate
8246 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
8247 code by making cl-concatenate an alias to seq-concatenate.
8248
8249 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * src/lread.c (intern_1): Make sure we'd find the symbol we add
8252 (Bug#20334)
8253 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
8254
8255 2015-04-15 Glenn Morris <rgm@gnu.org>
8256
8257 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
8258
8259 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8260
8261 Clean up gnus-uu saving code slightly
8262 * gnus-uu.el (gnus-uu-save-article): Make the
8263 save-restriction/widen calls make more sense.
8264
8265 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
8266
8267 Make [:graph:] act like [:print:] sans space
8268 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
8269 [:graph:] so that it matches everything that [:print:] does,
8270 except for space.
8271 * doc/lispref/searching.texi (Char Classes):
8272 * etc/NEWS:
8273 * lisp/emacs-lisp/rx.el (rx):
8274 Document [:graph:] to be [:print:] sans ' '.
8275 * src/character.c, src/character.h (graphicp): New function.
8276 * src/regex.c (ISGRAPH) [emacs]: Use it.
8277 (BIT_GRAPH): New macro.
8278 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
8279 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
8280 Return BIT_GRAPH for RECC_GRAPH.
8281 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
8282 and ISPRINT if BIT_PRINT.
8283
8284 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
8287 Don't use call-next-method in a cl-defmethod.
8288
8289 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
8290 (eieio--class-p): Remove, provided by cl-defstruct.
8291
8292 2015-04-14 Nicolas Petton <nicolas@petton.fr>
8293
8294 Add seq-intersection and seq-difference to the seq library
8295 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
8296 functions.
8297 * test/automated/seq-tests.el: Add tests for seq-intersection and
8298 seq-difference.
8299 * doc/lispref/sequences.texi: Add documentation for seq-intersection
8300 and seq-difference.
8301
8302 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
8305
8306 2015-04-14 Sam Steingold <sds@gnu.org>
8307
8308 package--ensure-init-file: widen requires save-restriction
8309
8310 2015-04-14 Eli Zaretskii <eliz@gnu.org>
8311
8312 Improve the commit-msg Git hook for unibyte environments
8313 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
8314 in unibyte environments. (Suggested by Paul Eggert
8315 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
8316 [:print:], based on UTF-8 sequences of the unprintable characters.
8317
8318 Describe problems with cursor caused by Windows Magnifier
8319 * etc/PROBLEMS: Describe the problem with cursor shape on
8320 MS-Windows due to Windows Magnifier.
8321 (Bug#20271)
8322
8323 Make [:print:] support non-ASCII characters correctly
8324 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
8325 (BIT_PRINT): New bit mask.
8326 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
8327 * src/character.c (printablep): New function.
8328 * src/character.h (printablep): Add prototype.
8329 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
8330 of 'print', 'alnum', and 'alphabetic'.
8331 * doc/lispref/searching.texi (Char Classes): Document the new
8332 behavior of [:print:].
8333 * etc/NEWS: Mention the new behavior of [:print:].
8334
8335 Assign correct general-category and names to surrogates
8336 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
8337 surrogates. This avoids assigning them the default
8338 general-category of 'Cn', i.e. unassigned codepoints.
8339 (unidata-get-name): Give surrogates synthetic names.
8340
8341 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
8342
8343 Assume C89 offsetof in xterm.c, xlwmenu.c
8344 * lwlib/xlwmenu.c (offset):
8345 * src/xterm.c (cvt_string_to_pixel_args):
8346 Use offsetof, not XtOffset.
8347
8348 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
8349
8350 Assume C89 offsetof in widget.c
8351 * src/widget.c (XtOffset): Remove; no longer needed.
8352 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
8353
8354 Fix think-o in previous patch
8355 * src/window.c (count_windows, get_leaf_windows):
8356 Don't optimize count_windows incorrectly.
8357
8358 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
8359
8360 Avoid some int overflows in window.c
8361 * src/print.c (print_object):
8362 * src/window.c (sequence_number):
8363 * src/window.h (struct window.sequence_number):
8364 Don't assume window sequence number fits in int.
8365 * src/window.c (window_select_count):
8366 * src/window.h (struct window.use_time, window_select_count):
8367 Don't assume window use time fits in int.
8368 * src/window.c (Fsplit_window_internal):
8369 Don't assume user-supplied integer, or sum, fits in int.
8370 (Fset_window_configuration, count_windows, get_leaf_windows)
8371 (save_window_save, Fcurrent_window_configuration):
8372 Use ptrdiff_t for object counts.
8373 (Fset_window_configuration): Omit unused local 'n'.
8374 (count_windows): Simplify by writing in terms of get_leaf_windows.
8375 (get_leaf_windows): Don't store through FLAT if it's null.
8376 (extract_dimension): New static function.
8377 (set_window_margins, set_window_fringes, set_window_scroll_bars):
8378 Use it to avoid undefined behavior when converting user-supplied
8379 integer to 'int'.
8380
8381 2015-04-13 Glenn Morris <rgm@gnu.org>
8382
8383 Minor doc copyedits
8384 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
8385 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
8386
8387 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
8388
8389 [Gnus] Catch the invalid-operation that idna.el will issue
8390 * lisp/gnus/gnus-art.el (gnus-use-idna):
8391 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
8392 * lisp/gnus/message.el (message-use-idna):
8393 Catch the invalid-operation that idna.el will issue.
8394
8395 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
8396
8397 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
8398
8399 2015-04-13 Sam Steingold <sds@gnu.org>
8400
8401 package--ensure-init-file: widen before looking for "(package-initialize)"
8402
8403 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
8404
8405 Change diff-switches default to `-u'
8406 (Bug#20290)
8407 * doc/emacs/files.texi (Comparing Files): Document the new default
8408 value of `diff-switches'.
8409 * doc/emacs/trouble.texi (Sending Patches): Document the preference
8410 for unified diff format. Escape the plus in the suggested `-F' regexp
8411 value.
8412 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
8413
8414 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 (gnus-group--setup-tool-bar-update): Fix last change
8417 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
8418 cursor-sensor-functions should be a list of functions.
8419
8420 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
8421
8422 Use gmm-called-interactively-p in Gnus
8423 * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
8424
8425 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
8428 (Bug#20321)
8429 * lisp/cus-start.el (read-buffer-function): Don't advertize
8430 iswitchb-read-buffer any more.
8431 (iswitchb): Don't tweak this obsolete group any more.
8432
8433 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
8434
8435 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
8436
8437 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
8438 Adding a string after a constructor's argument list will use
8439 that string as the constructor function docstring. If this string
8440 is absent but the struct itself was given a docstring, use that as
8441 the constructor's docstring.
8442 Fixes (bug#17284).
8443
8444 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 Deprecate `intangible' and `point-entered' properties
8447 * lisp/emacs-lisp/cursor-sensor.el: New file.
8448 * lisp/simple.el (pre-redisplay-functions): New hook.
8449 (redisplay--pre-redisplay-functions): New function.
8450 (pre-redisplay-function): Use it.
8451 (minibuffer-avoid-prompt): Mark obsolete.
8452 (redisplay--update-region-highlight): Adapt it to work as a function on
8453 pre-redisplay-functions.
8454 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
8455 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
8456 than point-entered to make the prompt intangible.
8457 * lisp/forms.el: Move `provide' calls to the end.
8458 (forms-mode): Don't use `run-hooks' on a local var.
8459 (forms--make-format, forms--make-format-elt-using-text-properties):
8460 Use cursor-intangible rather than `intangible'.
8461 (forms-mode): Enable cursor-intangible-mode.
8462 * lisp/isearch.el (isearch-mode): Use defvar-local.
8463 (cursor-sensor-inhibit): Declare.
8464 (isearch-mode): Set cursor-sensor-inhibit.
8465 (isearch-done): Set it back.
8466 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
8467 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
8468 any more.
8469 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
8470 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
8471 Add Edebug spec.
8472 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
8473 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
8474 inhibit-point-motion-hooks any more.
8475 (ses--cell-at-pos, ses--curcell): New functions, extracted from
8476 ses-set-curcell.
8477 (ses-set-curcell): Use them.
8478 (ses-print-cell, ses-setup): Use cursor-intangible instead of
8479 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
8480 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
8481 Use ses--cell-at-pos.
8482 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
8483 extracted from ses-command-hook. Make them work with multiple windows
8484 displaying the same buffer.
8485 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
8486 Enable cursor-intangible-mode.
8487 (ses-command-hook): Remove cell highlight and mode-line update code.
8488 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
8489 Update for new name of text-property holding the cell name.
8490 (ses-rename-cell): Don't mess with mode-line-process.
8491 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
8492 cursor-sensor-functions property instead of point-entered.
8493 (erc-insert-timestamp-right, erc-format-timestamp):
8494 Use cursor-intangible rather than `intangible'.
8495 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
8496 remove-from-invisibility-spec. Enable cursor-intangible-mode and
8497 cursor-sensor-mode if needed.
8498 (erc-echo-timestamp): Adapt to calling convention of
8499 cursor-sensor-functions.
8500 (erc-insert-timestamp-right): Remove unused vars `current-window' and
8501 `indent'.
8502 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
8503 (gnus-update-group-mark-positions): Remove unused `topic' var.
8504 (gnus-group-insert-group-line): Remove unused var `header'.
8505 (gnus-group--setup-tool-bar-update): New function.
8506 (gnus-group-insert-group-line): Use it.
8507 (gnus-group-update-eval-form): Declare local
8508 dynamically-bound variables.
8509 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
8510 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
8511 (gnus-group-prepare-topics, gnus-topic-update-topic)
8512 (gnus-topic-change-level, gnus-topic-catchup-articles)
8513 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
8514 Use inhibit-read-only.
8515 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
8516 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
8517 * lisp/textmodes/reftex-index.el (reftex-display-index):
8518 Use cursor-intangible-mode if available.
8519 (reftex-index-post-command-hook): Check cursor-intangible.
8520 * lisp/textmodes/reftex-toc.el (reftex-toc):
8521 Use cursor-intangible-mode if available.
8522 (reftex-toc-recenter, reftex-toc-post-command-hook):
8523 Check cursor-intangible.
8524 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
8525 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
8526 (sgml-tags-invisible): Use with-silent-modifications and
8527 inhibit-read-only. Enable cursor-sensor-mode.
8528 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
8529 calling convention of cursor-sensor-functions.
8530 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
8531 (table-point-entered-cell-hook, table-point-left-cell-hook):
8532 Don't autoload.
8533 (table-cell-entered-state): Remove var.
8534 (table--put-cell-point-entered/left-property)
8535 (table--remove-cell-properties):
8536 Use cursor-sensor-functions rather than point-entered/left.
8537 (table--point-entered/left-cell-function): Merge
8538 table--point-entered-cell-function and table--point-left-cell-function
8539 and adjust to calling convention of cursor-sensor-functions.
8540
8541 Update ldef-boots.el
8542
8543 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
8544
8545 * doc/misc/eieio.texi: Don't advertize now obsolete constructs
8546
8547 Collapse successive char deletions in the undo log
8548 * src/cmds.c (remove_excessive_undo_boundaries): New function,
8549 extracted from Fself_insert_command.
8550 (Fdelete_char, Fself_insert_command): Use it.
8551 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
8552 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
8553
8554 xterm and OSC 52: Add NEWS entry, and tweak the code
8555 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
8556 top-level.
8557 (terminal-init-xterm-activate-set-selection): Set a terminal property.
8558 (xterm--set-selection): Use it instead of checking the value of
8559 `terminal-initted'. Don't use string-bytes.
8560
8561 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
8562
8563 xterm.el: Implement OSC-52 functionality for setting the X selection
8564 * lisp/term/xterm.el (xterm-max-cut-length): New var.
8565 (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
8566 (terminal-init-xterm, xterm--version-handler): Use them.
8567
8568 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 Remove left over code from when we used an obsolete/loaddefs.el file
8571 * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
8572 we used an obsolete/loaddefs.el file.
8573
8574 * cedet/semantic/fw.el: Use declare.
8575 * cedet/semantic/fw.el (semantic-exit-on-input)
8576 (semanticdb-without-unloaded-file-searches): Use declare.
8577 (semantic-fw-add-edebug-spec): Remove.
8578
8579 (completion-lisp-mode-hook): Use completion-separator-chars
8580 * lisp/completion.el (completion-lisp-mode-hook):
8581 Use completion-separator-chars rather than local key binding.
8582
8583 * src/*.c: Set deactivate_mark buffer-locally
8584 (Bug#20260)
8585 * src/insdel.c (prepare_to_modify_buffer_1):
8586 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
8587 buffer-locally.
8588
8589 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8590
8591 python.el: Keep symmetry on sexp navigation with parens
8592 (Bug#19954)
8593 * lisp/progmodes/python.el
8594 (python-nav--forward-sexp): Add argument skip-parens-p.
8595 (python-nav-forward-sexp, python-nav-backward-sexp)
8596 (python-nav-forward-sexp-safe)
8597 (python-nav-backward-sexp-safe): Use it.
8598 * test/automated/python-tests.el
8599 (python-nav-forward-sexp-1): Fix test.
8600
8601 2015-04-12 João Távora <joaotavora@gmail.com>
8602
8603 Don't use `setq-local' in Gnus code
8604 This might break upstream builds with older Emacsen
8605 * lisp/gnus/message.el (message-mode): Use `set' and
8606 `make-local-variable' instead of `setq-local'.
8607
8608 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
8609
8610 Update Makefile.in's .PHONY dependencies
8611 * Makefile.in (change-history-commit, master-branch-is-current)
8612 (no-ChangeLog): Now phony.
8613
8614 Remove configure's --with-mmdf option
8615 * configure.ac (MAIL_USE_MMDF): Remove.
8616 * etc/NEWS: Document this.
8617 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
8618 (Bug#20308)
8619
8620 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
8621 That way, 'make install' won't think it's a man page.
8622 Reported by Ashish SHUKLA in:
8623 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
8624
8625 Improve 'make change-history' prereq tests
8626 * Makefile.in (gen_origin): Fix to match what's in the master branch.
8627 (no-ChangeLog, master-branch-is-current): New rules.
8628 (change-history): Depend on them, to avoid similar future problems.
8629 Escape the local-variables string to pacify Emacs when editing
8630 Makefile.in.
8631
8632 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
8633
8634 * test/automated/package-test.el (with-package-test): Kill Packages buffer
8635
8636 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
8637 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
8638 "Upgrade" last, and use capitalized instead of all-caps.
8639
8640 * lisp/emacs-lisp/package.el: Completely silence async operations
8641 (package--make-autoloads-and-stuff): Silence autoloads.
8642 (package--save-selected-packages): New function, silences
8643 `customize-save-variable'.
8644 (package--user-selected-p, package-install-from-buffer)
8645 (package-delete, package-install): Use it.
8646 (package-install-from-archive)
8647 (package-menu--perform-transaction): Silence.
8648 (package-menu-execute): Feedback when operation starts.
8649
8650 Use delay-mode-hooks when visiting the init-file
8651 * lisp/emacs-lisp/package.el (package--ensure-init-file):
8652 delay-mode-hooks
8653 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
8654
8655 * lisp/files.el: Only message when saving if save-silently is nil
8656 (save-silently): New variable.
8657 (files--message): New function.
8658 (find-file-noselect, save-buffer, basic-save-buffer)
8659 (basic-save-buffer-2, save-some-buffers, not-modified)
8660 (append-to-file): Use them.
8661
8662 2015-04-12 Johan Bockgård <bojohan@gnu.org>
8663
8664 Support debug declarations in pcase macros
8665 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
8666 (pcase-UPAT): Use it. Remove "`".
8667 (pcase--edebug-match-macro): New function.
8668 (pcase-defmacro): Support debug declarations.
8669 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
8670 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
8671 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
8672
8673 pcase.el: Edebug support for `app' and vector patterns
8674 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
8675 (pcase-UPAT): Use it. Support `app' patterns.
8676 (pcase-QPAT): Support vector patterns.
8677
8678 edebug.el: Disambiguate vector specifications
8679 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
8680 `(vector ...)' as a vector specification, not as a sublist.
8681
8682 (gnus-summary-refer-thread): Don't clobber unread articles
8683 This fixes a bug where `A T' causes "random" articles to become marked
8684 as read.
8685 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
8686 gnus-newsgroup-unreads remains sorted.
8687
8688 mouse-sel.el: Fix mouse-sel-get-selection-function
8689 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
8690 Use gui--last-selected-text-primary instead of no longer existing
8691 gui-last-selected-text.
8692
8693 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
8694
8695 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
8696
8697 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
8698
8699 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
8700
8701 * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
8702
8703 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
8704 (byte-compile--interactive): New var.
8705 (byte-compile--message): New function.
8706 (byte-compile-log-1, byte-force-recompile)
8707 (byte-recompile-directory, byte-recompile-file)
8708 (byte-compile-file, compile-defun)
8709 (byte-compile-file-form-defmumble, byte-compile)
8710 (byte-compile-file-form-defalias, display-call-tree): Use it.
8711
8712 * lisp/files.el: Don't message when nothing happened
8713 (save-some-buffers, basic-save-buffer): Before messaging to say
8714 "nothing was saved" check if (called-interactively-p 'any).
8715
8716 2015-04-12 João Távora <joaotavora@gmail.com>
8717
8718 Summary: Improve sexp-based movement in message-mode
8719 Works by giving citations and smileys a different syntax. This helps
8720 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
8721 sexp-based movement.
8722 * lisp/gnus/message.el (message--syntax-propertize): New function.
8723 (message-mode): Set syntax-related vars.
8724 (message-smileys): New variable.
8725 * test/automated/message-mode-tests.el: New file
8726
8727 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
8728
8729 Use bool for boolean in window.c
8730 * src/window.c: Omit unnecessary static function decls.
8731 (adjust_window_count, select_window, Fselect_window)
8732 (window_body_width, Fwindow_body_height, Fwindow_body_width)
8733 (set_window_hscroll, check_window_containing, Fwindow_at)
8734 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
8735 (unshow_buffer, replace_window, recombine_windows)
8736 (add_window_to_list, candidate_window_p, next_window)
8737 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
8738 (Fget_buffer_window, Fdelete_other_windows_internal)
8739 (replace_buffer_in_windows_safely, set_window_buffer)
8740 (Fset_window_buffer, Fforce_window_update)
8741 (temp_output_buffer_show, make_parent_window)
8742 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
8743 (resize_frame_windows, Fsplit_window_internal)
8744 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
8745 (Fresize_mini_window_internal, mark_window_cursors_off)
8746 (window_scroll, window_scroll_pixel_based)
8747 (window_scroll_line_based, scroll_command, Fscroll_other_window)
8748 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
8749 (Fmove_to_window_line, Fset_window_configuration)
8750 (delete_all_child_windows, apply_window_adjustment)
8751 (set_window_fringes, set_window_scroll_bars)
8752 (Fset_window_vscroll, foreach_window, foreach_window_1)
8753 (compare_window_configurations, Fcompare_window_configurations):
8754 Prefer 'bool', 'true', and 'false' for booleans.
8755 * src/window.h (WINDOW_MODE_LINE_LINES)
8756 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
8757
8758 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
8759
8760 Speed up byte-compilation and autoload generation by avoiding mode-hooks
8761 This prevents emacs-lisp-mode-hook from being run everytime an
8762 autoload file is generated, which can account for a fraction of
8763 package installation time depending on the hooks the user has
8764 configured.
8765 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
8766 * lisp/emacs-lisp/autoload.el (autoload-find-file)
8767 (autoload-find-generated-file): Use delay-mode-hooks.
8768
8769 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
8770 (package-menu-refresh): Respect async and do new package checking.
8771 (list-packages): Use `package-menu-refresh' instead of repeating code.
8772
8773 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
8774 (package--quick-help-keys): New variable.
8775 (package--prettify-quick-help-key): New function.
8776 (package-menu-quick-help): Use it.
8777
8778 * lisp/emacs-lisp/package.el: Fix initially wrong compat table
8779 (package--build-compatibility-table): require finder
8780
8781 * test/automated/package-test.el: Fix new test
8782
8783 * lisp/emacs-lisp/package.el: Silence async operations
8784 (package--silence): New variable.
8785 (package--message): New function.
8786 (package-import-keyring, package-refresh-contents)
8787 (package-compute-transaction, package-install, package-delete)
8788 (package-menu--perform-transaction, package-menu-execute): Use it.
8789
8790 * test/automated/package-test.el: Test async functionality
8791 (package-test-update-archives-async): New test
8792
8793 2015-04-11 Daiki Ueno <ueno@gnu.org>
8794
8795 Utilize `make-process' in epg.el
8796 * lisp/epg.el (epg-error-output): Abolish.
8797 (epg-context): New slot `error-buffer'.
8798 (epg--start): Use `make-process' and `make-pipe-process'.
8799 (epg--process-filter): Remove code separating stderr from stdout.
8800 (epg-wait-for-completion): Simplify `error-output' handling.
8801 (epg-reset): Dispose error buffer.
8802
8803 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
8804
8805 * .gitignore: Ignore doc temps and outputs.
8806
8807 Port commit-msg to MSYS Bash+Gawk
8808 See Eli Zaretskii in:
8809 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
8810 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
8811 (cent_sign, print_at_sign, at_sign): Revert previous change.
8812 (print_at_sign): Prepend "BEGIN".
8813 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
8814
8815 Port commit-msg to broken MS-Windows shell
8816 * build-aux/git-hooks/commit-msg (cent_sign):
8817 Just use UTF-8 here rather than ASCII + printf, as the latter fails
8818 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
8819 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
8820
8821 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
8822
8823 Support GnuTLS v3.4 and later on MS-Windows
8824 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
8825 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
8826 GnuTLS DLL to load according to value of libgnutls-version.
8827 (Bug#20294)
8828
8829 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
8830
8831 Minor quoting etc. fixes to misc manuals
8832 Fix some minor quoting and spacing issues. Distinguish more
8833 clearly among grave accent and apostrophe (which are ASCII) and
8834 single quote (which is not). Prefer the standard terms
8835 "apostrophe" and "grave accent" to alternative names that can be
8836 confusing. Use apostrophes to single-quote ASCII text.
8837 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
8838 rather than approximating it in ASCII with grave accent.
8839
8840 2015-04-11 Daiki Ueno <ueno@gnu.org>
8841
8842 Respect more keyword args in `make-process'
8843 * process.c (Fmake_process): Respect `:sentinel' and `:filter'
8844 keywords as documented.
8845
8846 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
8847
8848 Extract ChangeLog entries when committing a directory
8849 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
8850 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
8851 Add a FIXME comment.
8852 (log-edit-changelog-entries): Extract from
8853 `log-edit-changelog-entries', handle FILE being a directory
8854 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
8855
8856 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
8857
8858 Fix problems found by --enable-gcc-warnings
8859 * src/process.c (create_process, Fmake_pipe_process)
8860 (Fmake_network_process): Omit unused locals.
8861
8862 Fix commit-msg to handle scissors lines
8863 * build-aux/git-hooks/commit-msg:
8864 Ignore every line after a scissors line, such as a line generated
8865 by 'git commit -v'. Problem reported by Johan Bockgård in:
8866 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
8867
8868 port commit-msg to Gawk 3.0.4 (1999)
8869 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
8870 (print_at_sign, at_sign): New vars. Use them to avoid problems
8871 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
8872 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
8873
8874 Have commit-msg report commit failure
8875 * build-aux/git-hooks/commit-msg: If the commit is aborted,
8876 say so. Simplify by doing this at the end. Problem reported
8877 by Eli Zaretskii in:
8878 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
8879
8880 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8881
8882 Clean up LDAP Configuration section of EUDC manual
8883 * doc/misc/eudc.texi: Combine indices.
8884 (LDAP Configuration): Use command markup. Add index entries.
8885 Change formatting. Wrap long lines. Add noindent markup.
8886
8887 2015-04-10 Daiki Ueno <ueno@gnu.org>
8888
8889 Add facility to collect stderr of async subprocess
8890 * src/w32.h (register_aux_fd): New function declaration.
8891 * src/w32.c (register_aux_fd): New function.
8892 * src/process.h (struct Lisp_Process): New member stderrproc.
8893 * src/process.c (PIPECONN_P): New macro.
8894 (PIPECONN1_P): New macro.
8895 (Fdelete_process, Fprocess_status, Fset_process_buffer)
8896 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
8897 (Fcontinue_process): Handle pipe process specially.
8898 (create_process): Respect p->stderrproc.
8899 (Fmake_pipe_process): New function.
8900 (Fmake_process): Add new keyword argument :stderr.
8901 (wait_reading_process_output): Specially handle a pipe process when
8902 it gets an EOF.
8903 (syms_of_process): Register Qpipe and Smake_pipe_process.
8904 * doc/lispref/processes.texi (Asynchronous Processes): Document
8905 `make-pipe-process' and `:stderr' keyword of `make-process'.
8906 * lisp/subr.el (start-process): Suggest to use `make-process' handle
8907 standard error separately.
8908 * test/automated/process-tests.el (process-test-stderr-buffer)
8909 (process-test-stderr-filter): New tests.
8910 * etc/NEWS: Mention new process type `pipe' and its usage with the
8911 `:stderr' keyword of `make-process'.
8912
8913 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
8914
8915 Minor quoting etc. fixes to lispref manual
8916 * doc/lispref/tips.texi (Documentation Tips):
8917 Distinguish more clearly among grave accent, apostrophe,
8918 and single quote.
8919 * doc/lispref/README, doc/lispref/buffers.texi:
8920 * doc/lispref/commands.texi, doc/lispref/control.texi:
8921 * doc/lispref/customize.texi, doc/lispref/display.texi:
8922 * doc/lispref/elisp.texi, doc/lispref/files.texi:
8923 * doc/lispref/frames.texi, doc/lispref/hash.texi:
8924 * doc/lispref/help.texi, doc/lispref/internals.texi:
8925 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
8926 * doc/lispref/markers.texi, doc/lispref/modes.texi:
8927 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
8928 * doc/lispref/os.texi, doc/lispref/positions.texi:
8929 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
8930 * doc/lispref/text.texi, doc/lispref/tips.texi:
8931 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
8932 Use American-style double quoting in ordinary text,
8933 and quote 'like this' when single-quoting in ASCII text.
8934 Also, fix some minor spacing issues.
8935
8936 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
8937
8938 Handle symlinked test directory in tramp-tests.el
8939 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
8940 (tramp--test-check-files): Use `file-truename' for directories.
8941
8942 2015-04-10 Eli Zaretskii <eliz@gnu.org>
8943
8944 Fix 'recenter' when visual-line-mode is turned on
8945 * src/window.c (Frecenter): Use the same code for GUI and TTY
8946 frames alike; use vmotion only for "initial" frames. This is
8947 because vmotion doesn't support visual-line-mode. Rewrite the
8948 'iarg >= 0' case to use move_it_* functions instead of using
8949 vmotion, for the same reason. Fix the clipping of the argument
8950 value to support scroll-margin in all cases and avoid unwarranted
8951 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
8952 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
8953 which see.
8954
8955 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * abbrev.el (define-abbrev-table): Refine last change.
8958
8959 cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
8960 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
8961 use of c[ad]+r", so as to keep the "cl-" prefix on all
8962 cl-lib definitions.
8963
8964 * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
8965
8966 * lisp/cedet/semantic: Remove some dead code
8967 * lisp/cedet/semantic/util-modes.el
8968 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
8969 any more.
8970 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
8971 not supported any more.
8972 (semantic-safe): Use `declare'.
8973 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
8974 (semantic-tag-intangible-p): Remove unused functions.
8975 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
8976 Remove unused function.
8977
8978 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
8979 (gnus-article-hide-text, gnus-article-unhide-text)
8980 (gnus-article-unhide-text-type): Remove special handling of
8981 `intangible' since that property is not used any more.
8982 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
8983
8984 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
8985
8986 Use the VC root in `log-edit-listfun'
8987 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
8988 `log-edit-listfun'.
8989
8990 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
8991
8992 Fix description of Unix time, mention new function.
8993 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
8994 Unix time.
8995 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
8996 (Basic Operations on Units): Mention `calc-convert-exact-units'.
8997
8998 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
8999
9000 * lisp/emacs-lisp/package.el: Use mode-line-process for notification
9001
9002 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
9003
9004 (log-edit-insert-changelog-entries): Don't add newline after the last entry
9005 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
9006 Don't add newline after the last entry.
9007
9008 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
9009
9010 css-mode.el: Add "not" pseudo-class
9011 (Bug#20267)
9012 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
9013 list of CSS pseudo-classes.
9014
9015 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
9018
9019 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
9020
9021 Stop messing with the EMACS env var
9022 * misc.texi (Interactive Shell): Remove description of EMACS env var.
9023
9024 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
9025
9026 Adapt 'make change-history' to coding cookie
9027 * Makefile.in (change-history): Adjust to change of format of
9028 ChangeLog file, which now has a coding cookie before an indented
9029 copyright notice.
9030
9031 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
9032
9033 Adapt 'make change-history' to coding cookie
9034 * Makefile.in (change-history): Adjust to change of format of
9035 ChangeLog file, which now has a coding cookie before an indented
9036 copyright notice.
9037
9038 gitlog-to-changelog coding cookie and mv -i
9039 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
9040 for copyright notice prototype, so that we get a proper "coding:"
9041 cookie. Use 'mv -i' to avoid unconditionally overwriting an
9042 existing ChangeLog. Problems reported by Eli Zaretskii in:
9043 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
9044
9045 Merge from gnulib
9046 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
9047 2015-04-09 gitlog-to-changelog: port to MS-Windows
9048
9049 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
9050
9051 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
9052 (Bug#20212)
9053
9054 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 Stop messing with the EMACS env var
9057 (Bug#20202)
9058 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
9059 * lisp/comint.el (comint-exec-1):
9060 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
9061 * lisp/progmodes/compile.el (compilation-start): Same and bring
9062 INSIDE_EMACS's format in line with other users.
9063
9064 css-mode.el (css-smie-rules): Fix indentation after complex selectors
9065 (Bug#20282)
9066 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
9067 inner structure of selectors.
9068
9069 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
9070
9071 python.el: Indent docstring lines to base-indent
9072 (Bug#19595)
9073 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
9074 an initial patch.
9075 * lisp/progmodes/python.el
9076 (python-indent-context): Add :inside-docstring context.
9077 (python-indent--calculate-indentation): Handle :inside-docstring.
9078 (python-indent-region): Re-indent docstrings.
9079 * test/automated/python-tests.el (python-indent-region-5)
9080 (python-indent-inside-string-2): Fix tests.
9081
9082 python.el: Increase native completion robustness
9083 (Bug#19755)
9084 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
9085 this and providing useful ideas.
9086 * lisp/progmodes/python.el
9087 (python-shell-completion-native-output-timeout): Increase value.
9088 (python-shell-completion-native-try-output-timeout): New var.
9089 (python-shell-completion-native-try): Use it.
9090 (python-shell-completion-native-setup): New readline setup avoids
9091 polluting current context, ensures output when no-completions are
9092 available and includes output end marker.
9093 (python-shell-completion-native-get-completions): Trigger with one
9094 tab only. Call accept-process-output until output end is found or
9095 python-shell-completion-native-output-timeout is exceeded.
9096
9097 2015-04-08 Samer Masterson <samer@samertm.com>
9098
9099 * lisp/eshell: Make backslash a no-op in front of normal chars
9100 (Bug#8531)
9101 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
9102 (eshell-parse-backslash): Return escaped character after backslash
9103 if it is special. Otherwise, if the backslash is not in a quoted
9104 string, ignore the backslash and return the character after; if
9105 the backslash is in a quoted string, return the backslash and the
9106 character after.
9107 * test/automated/eshell.el (eshell-test/escape-nonspecial)
9108 (eshell-test/escape-nonspecial-unicode)
9109 (eshell-test/escape-nonspecial-quoted)
9110 (eshell-test/escape-special-quoted): Add tests for new
9111 `eshell-parse-backslash' behavior.
9112
9113 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
9114
9115 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
9116 after the file name.
9117 (Bug#20276)
9118
9119 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
9120
9121 Minor quoting etc. fixes to Emacs manual
9122 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
9123 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
9124 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
9125 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
9126 * doc/emacs/indent.texi, doc/emacs/macos.texi:
9127 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
9128 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
9129 * doc/emacs/search.texi, doc/emacs/trouble.texi:
9130 * doc/emacs/vc1-xtra.texi:
9131 Use American-style double quoting in ordinary text,
9132 and quote 'like this' when single-quoting in ASCII text.
9133 Also, fix some minor spacing issues.
9134
9135 Minor quoting etc. fixes to elisp intro
9136 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
9137 American-style double quoting in ordinary text. In ASCII text,
9138 consistently quote 'like this' instead of `like this', unless
9139 Emacs requires the latter.
9140
9141 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
9142
9143 * CONTRIBUTE: Mention log-edit-insert-changelog.
9144
9145 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
9146
9147 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
9148
9149 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
9150
9151 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 (eieio-copy-parents-into-subclass): Fix inheritance of initargs
9154 (Bug#20270)
9155 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
9156 Fix inheritance of initargs.
9157
9158 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
9159
9160 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
9161 while dowloading information.
9162
9163 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
9164 (package--ensure-init-file): Check file contents before visiting.
9165 (package-initialize): Call it.
9166 (package-install-from-buffer, package-install): Don't call it.
9167
9168 2015-04-08 Eli Zaretskii <eliz@gnu.org>
9169
9170 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
9171 (Bug#17517)
9172
9173 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
9174
9175 Fix nasty scoping bug in tramp-cache.el
9176 * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
9177
9178 2015-04-08 Tassilo Horn <tsdh@gnu.org>
9179
9180 Add notice to visual commands section
9181 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
9182 such as git call less with its -F option which omits pagination if
9183 the contents is less than one page long. This interferes with
9184 eshell's visual (sub-)commands.
9185
9186 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
9187
9188 ffap: Support environment variable expansion in file names
9189 (Bug#19839)
9190 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
9191 environment variable expansion in file names.
9192
9193 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
9194
9195 Prefer double-quote to accent-grave in man pages
9196
9197 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 (Bug#20257)
9200 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
9201
9202 2015-04-07 Ivan Shmakov <ivan@siamics.net>
9203
9204 Update etc/PROBLEMS.
9205 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
9206 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
9207 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
9208 respectively); other minor updates and tweaks. (Bug#20011)
9209
9210 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
9211
9212 Add doc strings for some Isearch state vars
9213 * lisp/misearch.el (multi-isearch-buffer-list)
9214 (multi-isearch-file-list): Add doc strings.
9215 (Bug#20232)
9216
9217 2015-04-07 Alan Mackenzie <acm@muc.de>
9218
9219 Always mark "<" and ">" in #include directives with text properties.
9220 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
9221 matcher" with an invocation of c-make-font-lock-search-function to allow
9222 fontification when there's no trailing space on an "#include <..>" line.
9223
9224 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
9225
9226 Generate a ChangeLog file from commit logs
9227 * .gitignore: Add 'ChangeLog'.
9228 * build-aux/gitlog-to-changelog: New file, from Gnulib.
9229 * build-aux/gitlog-to-emacslog: New file.
9230 * CONTRIBUTE: Document the revised workflow.
9231 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
9232 instead of just special cases.
9233 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
9234 (ChangeLog, unchanged-history-files, change-history)
9235 (change-history-commit): New rules.
9236 * admin/admin.el (make-manuals-dist--1):
9237 Don't worry about doc/ChangeLog.
9238 * admin/authors.el: Add a FIXME.
9239 * admin/make-tarball.txt:
9240 * lisp/calendar/icalendar.el:
9241 * lisp/gnus/deuglify.el:
9242 * lisp/obsolete/gulp.el:
9243 * lwlib/README:
9244 Adjust to renamed ChangeLog history files.
9245 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
9246 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
9247 Remove obsolete discussion of merging ChangeLog files.
9248 New section "Maintaining ChangeLog history".
9249 * build-aux/git-hooks/pre-commit:
9250 Reject attempts to commit files named 'ChangeLog'.
9251 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
9252 * make-dist: Make and distribute top-level ChangeLog if there's a
9253 .git directory. Distribute the new ChangeLog history files
9254 instead of scattered ChangeLog files. Distribute the new files
9255 gitlog-to-changelog and gitlog-to-emacslog.
9256 (Bug#19113)
9257
9258 Rename ChangeLogs for gitlog-to-changelog
9259 This patch was implemented via the following shell commands:
9260 find * -name ChangeLog |
9261 sed 's,.*,git mv & &.1,
9262 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
9263 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
9264 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
9265 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
9266 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
9267 sh
9268 git commit -am"[this commit message]"
9269
9270 This file records repository revisions from
9271 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
9272 commit e1e33f201698229ae30a29c7008c3f6a3635d71f (inclusive).
9273 See ChangeLog.1 for earlier changes.
9274
9275 ;; Local Variables:
9276 ;; coding: utf-8
9277 ;; End:
9278
9279 Copyright (C) 2015 Free Software Foundation, Inc.
9280
9281 This file is part of GNU Emacs.
9282
9283 GNU Emacs is free software: you can redistribute it and/or modify
9284 it under the terms of the GNU General Public License as published by
9285 the Free Software Foundation, either version 3 of the License, or
9286 (at your option) any later version.
9287
9288 GNU Emacs is distributed in the hope that it will be useful,
9289 but WITHOUT ANY WARRANTY; without even the implied warranty of
9290 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9291 GNU General Public License for more details.
9292
9293 You should have received a copy of the GNU General Public License
9294 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.