]> code.delx.au - gnu-emacs/blob - ChangeLog.2
* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
[gnu-emacs] / ChangeLog.2
1 2015-04-16 Glenn Morris <rgm@gnu.org>
2
3 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
4
5 2015-04-16 Eli Zaretskii <eliz@gnu.org>
6
7 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
8 * configure.ac (LIBJPEG): Leave it empty for MinGW.
9
10 2015-04-16 Glenn Morris <rgm@gnu.org>
11
12 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
13 to avoid rogue setting after startup.
14
15 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
16
17 Pre-4.6 GCC succeeds with unknown option
18 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
19 Fixes: bug#20338
20
21 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
22
23 '[:graph:]' now excludes whitespace, not just ' '
24 * doc/lispref/searching.texi (Char Classes):
25 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
26 sans whitespace (not sans space).
27 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
28 not just space.
29 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
30
31 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 (looking-back): Make the second arg non-optional.
34 * lisp/subr.el (substitute-key-definition-key, special-form-p)
35 (macrop): Drop deprecated second arg to indirect-function.
36 (looking-back): Make the second arg non-optional.
37
38 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
39 command is actually sent to the shell.
40
41 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
42
43 Port jpeg configuration to Solaris 10 with Sun C
44 * configure.ac: Check for jpeglib 6b by trying to link it, instead
45 of relying on cpp magic that has problems in practice. Check for
46 both jpeglib.h and jerror.h features. Remove special case for
47 mingw32, which should no longer be needed (and if it were needed,
48 should now be addressable by hotwiring emacs_cv_jpeglib).
49 Fixes: bug#20332
50
51 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
54 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
55 Move to elisp-mode.el.
56 (lisp-mode-variables): (Re)move elisp-specific settings.
57 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
58 from lisp-mode-variables.
59 (elisp--font-lock-flush-elisp-buffers): New function, moved from
60 lisp-mode.el.
61
62 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
63 Avoid pathological slowdown at top-level in large file.
64
65 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
66
67 Standardize names of ChangeLog history files
68 Suggested by Glenn Morris in:
69 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
70 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
71 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
72 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
73 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
74 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
75 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
76 Remove.
77
78 Split top-level entries into pre- and post-April 7
79 This more clearly distingiushes pre-April-7 ChangeLog entries (which
80 are for top-level files only) from post-April-7 entries (which are
81 about files at all levels. Problem reported by Glenn Morris in:
82 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
83 * ChangeLog.1: Move post-April-7 entries from here ...
84 * ChangeLog.2: ... to this new file.
85 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
86
87 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 Fix recent cus-start changes that added customize-rogues
90 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
91 vars early.
92 * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
93
94 2015-04-15 Nicolas Petton <nicolas@petton.fr>
95
96 Define cl-concatenate as an alias to seq-concatenate
97 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
98 code by making cl-concatenate an alias to seq-concatenate.
99
100 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * src/lread.c (intern_1): Make sure we'd find the symbol we add
103 Fixes: debbugs:20334
104 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
105
106 2015-04-15 Glenn Morris <rgm@gnu.org>
107
108 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
109
110 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
111
112 Clean up gnus-uu saving code slightly
113 * gnus-uu.el (gnus-uu-save-article): Make the
114 save-restriction/widen calls make more sense.
115
116 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
117
118 Make [:graph:] act like [:print:] sans space
119 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
120 [:graph:] so that it matches everything that [:print:] does,
121 except for space.
122 * doc/lispref/searching.texi (Char Classes):
123 * etc/NEWS:
124 * lisp/emacs-lisp/rx.el (rx):
125 Document [:graph:] to be [:print:] sans ' '.
126 * src/character.c, src/character.h (graphicp): New function.
127 * src/regex.c (ISGRAPH) [emacs]: Use it.
128 (BIT_GRAPH): New macro.
129 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
130 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
131 Return BIT_GRAPH for RECC_GRAPH.
132 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
133 and ISPRINT if BIT_PRINT.
134
135 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
138 Don't use call-next-method in a cl-defmethod.
139
140 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
141 (eieio--class-p): Remove, provided by cl-defstruct.
142
143 2015-04-14 Nicolas Petton <nicolas@petton.fr>
144
145 Add seq-intersection and seq-difference to the seq library
146 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
147 functions.
148 * test/automated/seq-tests.el: Add tests for seq-intersection and
149 seq-difference.
150 * doc/lispref/sequences.texi: Add documentation for seq-intersection
151 and seq-difference.
152
153 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
156
157 2015-04-14 Sam Steingold <sds@gnu.org>
158
159 package--ensure-init-file: widen requires save-restriction
160
161 2015-04-14 Eli Zaretskii <eliz@gnu.org>
162
163 Improve the commit-msg Git hook for unibyte environments
164 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
165 in unibyte environments. (Suggested by Paul Eggert
166 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
167 [:print:], based on UTF-8 sequences of the unprintable characters.
168
169 Describe problems with cursor caused by Windows Magnifier
170 * etc/PROBLEMS: Describe the problem with cursor shape on
171 MS-Windows due to Windows Magnifier.
172 Fixes: Bug#20271
173
174 Make [:print:] support non-ASCII characters correctly
175 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
176 (BIT_PRINT): New bit mask.
177 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
178 * src/character.c (printablep): New function.
179 * src/character.h (printablep): Add prototype.
180 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
181 of 'print', 'alnum', and 'alphabetic'.
182 * doc/lispref/searching.texi (Char Classes): Document the new
183 behavior of [:print:].
184 * etc/NEWS: Mention the new behavior of [:print:].
185
186 Assign correct general-category and names to surrogates
187 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
188 surrogates. This avoids assigning them the default
189 general-category of 'Cn', i.e. unassigned codepoints.
190 (unidata-get-name): Give surrogates synthetic names.
191
192 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
193
194 Assume C89 offsetof in xterm.c, xlwmenu.c
195 * lwlib/xlwmenu.c (offset):
196 * src/xterm.c (cvt_string_to_pixel_args):
197 Use offsetof, not XtOffset.
198
199 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
200
201 Assume C89 offsetof in widget.c
202 * src/widget.c (XtOffset): Remove; no longer needed.
203 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
204
205 Fix think-o in previous patch
206 * src/window.c (count_windows, get_leaf_windows):
207 Don't optimize count_windows incorrectly.
208
209 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
210
211 Avoid some int overflows in window.c
212 * src/print.c (print_object):
213 * src/window.c (sequence_number):
214 * src/window.h (struct window.sequence_number):
215 Don't assume window sequence number fits in int.
216 * src/window.c (window_select_count):
217 * src/window.h (struct window.use_time, window_select_count):
218 Don't assume window use time fits in int.
219 * src/window.c (Fsplit_window_internal):
220 Don't assume user-supplied integer, or sum, fits in int.
221 (Fset_window_configuration, count_windows, get_leaf_windows)
222 (save_window_save, Fcurrent_window_configuration):
223 Use ptrdiff_t for object counts.
224 (Fset_window_configuration): Omit unused local 'n'.
225 (count_windows): Simplify by writing in terms of get_leaf_windows.
226 (get_leaf_windows): Don't store through FLAT if it's null.
227 (extract_dimension): New static function.
228 (set_window_margins, set_window_fringes, set_window_scroll_bars):
229 Use it to avoid undefined behavior when converting user-supplied
230 integer to 'int'.
231
232 2015-04-13 Glenn Morris <rgm@gnu.org>
233
234 Minor doc copyedits
235 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
236 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
237
238 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
239
240 [Gnus] Catch the invalid-operation that idna.el will issue
241 * lisp/gnus/gnus-art.el (gnus-use-idna):
242 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
243 * lisp/gnus/message.el (message-use-idna):
244 Catch the invalid-operation that idna.el will issue.
245
246 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
247
248 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
249
250 2015-04-13 Sam Steingold <sds@gnu.org>
251
252 package--ensure-init-file: widen before looking for "(package-initialize)"
253
254 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
255
256 Change diff-switches default to `-u'
257 Fixes: debbugs:20290
258 * doc/emacs/files.texi (Comparing Files): Document the new default
259 value of `diff-switches'.
260 * doc/emacs/trouble.texi (Sending Patches): Document the preference
261 for unified diff format. Escape the plus in the suggested `-F' regexp
262 value.
263 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
264
265 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 (gnus-group--setup-tool-bar-update): Fix last change
268 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
269 cursor-sensor-functions should be a list of functions.
270
271 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
272
273 Use gmm-called-interactively-p in Gnus
274 * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
275
276 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
279 Fixes: debbugs:20321
280 * lisp/cus-start.el (read-buffer-function): Don't advertize
281 iswitchb-read-buffer any more.
282 (iswitchb): Don't tweak this obsolete group any more.
283
284 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
285
286 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
287
288 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
289 Adding a string after a constructor's argument list will use
290 that string as the constructor function docstring. If this string
291 is absent but the struct itself was given a docstring, use that as
292 the constructor's docstring.
293 Fixes (bug#17284).
294
295 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 Deprecate `intangible' and `point-entered' properties
298 * lisp/emacs-lisp/cursor-sensor.el: New file.
299 * lisp/simple.el (pre-redisplay-functions): New hook.
300 (redisplay--pre-redisplay-functions): New function.
301 (pre-redisplay-function): Use it.
302 (minibuffer-avoid-prompt): Mark obsolete.
303 (redisplay--update-region-highlight): Adapt it to work as a function on
304 pre-redisplay-functions.
305 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
306 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
307 than point-entered to make the prompt intangible.
308 * lisp/forms.el: Move `provide' calls to the end.
309 (forms-mode): Don't use `run-hooks' on a local var.
310 (forms--make-format, forms--make-format-elt-using-text-properties):
311 Use cursor-intangible rather than `intangible'.
312 (forms-mode): Enable cursor-intangible-mode.
313 * lisp/isearch.el (isearch-mode): Use defvar-local.
314 (cursor-sensor-inhibit): Declare.
315 (isearch-mode): Set cursor-sensor-inhibit.
316 (isearch-done): Set it back.
317 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
318 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
319 any more.
320 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
321 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
322 Add Edebug spec.
323 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
324 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
325 inhibit-point-motion-hooks any more.
326 (ses--cell-at-pos, ses--curcell): New functions, extracted from
327 ses-set-curcell.
328 (ses-set-curcell): Use them.
329 (ses-print-cell, ses-setup): Use cursor-intangible instead of
330 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
331 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
332 Use ses--cell-at-pos.
333 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
334 extracted from ses-command-hook. Make them work with multiple windows
335 displaying the same buffer.
336 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
337 Enable cursor-intangible-mode.
338 (ses-command-hook): Remove cell highlight and mode-line update code.
339 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
340 Update for new name of text-property holding the cell name.
341 (ses-rename-cell): Don't mess with mode-line-process.
342 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
343 cursor-sensor-functions property instead of point-entered.
344 (erc-insert-timestamp-right, erc-format-timestamp):
345 Use cursor-intangible rather than `intangible'.
346 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
347 remove-from-invisibility-spec. Enable cursor-intangible-mode and
348 cursor-sensor-mode if needed.
349 (erc-echo-timestamp): Adapt to calling convention of
350 cursor-sensor-functions.
351 (erc-insert-timestamp-right): Remove unused vars `current-window' and
352 `indent'.
353 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
354 (gnus-update-group-mark-positions): Remove unused `topic' var.
355 (gnus-group-insert-group-line): Remove unused var `header'.
356 (gnus-group--setup-tool-bar-update): New function.
357 (gnus-group-insert-group-line): Use it.
358 (gnus-group-update-eval-form): Declare local
359 dynamically-bound variables.
360 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
361 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
362 (gnus-group-prepare-topics, gnus-topic-update-topic)
363 (gnus-topic-change-level, gnus-topic-catchup-articles)
364 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
365 Use inhibit-read-only.
366 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
367 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
368 * lisp/textmodes/reftex-index.el (reftex-display-index):
369 Use cursor-intangible-mode if available.
370 (reftex-index-post-command-hook): Check cursor-intangible.
371 * lisp/textmodes/reftex-toc.el (reftex-toc):
372 Use cursor-intangible-mode if available.
373 (reftex-toc-recenter, reftex-toc-post-command-hook):
374 Check cursor-intangible.
375 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
376 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
377 (sgml-tags-invisible): Use with-silent-modifications and
378 inhibit-read-only. Enable cursor-sensor-mode.
379 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
380 calling convention of cursor-sensor-functions.
381 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
382 (table-point-entered-cell-hook, table-point-left-cell-hook):
383 Don't autoload.
384 (table-cell-entered-state): Remove var.
385 (table--put-cell-point-entered/left-property)
386 (table--remove-cell-properties):
387 Use cursor-sensor-functions rather than point-entered/left.
388 (table--point-entered/left-cell-function): Merge
389 table--point-entered-cell-function and table--point-left-cell-function
390 and adjust to calling convention of cursor-sensor-functions.
391
392 Update ldef-boots.el
393
394 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
395
396 * doc/misc/eieio.texi: Don't advertize now obsolete constructs
397
398 Collapse successive char deletions in the undo log
399 * src/cmds.c (remove_excessive_undo_boundaries): New function,
400 extracted from Fself_insert_command.
401 (Fdelete_char, Fself_insert_command): Use it.
402 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
403 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
404
405 xterm and OSC 52: Add NEWS entry, and tweak the code
406 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
407 top-level.
408 (terminal-init-xterm-activate-set-selection): Set a terminal property.
409 (xterm--set-selection): Use it instead of checking the value of
410 `terminal-initted'. Don't use string-bytes.
411
412 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
413
414 xterm.el: Implement OSC-52 functionality for setting the X selection
415 * lisp/term/xterm.el (xterm-max-cut-length): New var.
416 (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
417 (terminal-init-xterm, xterm--version-handler): Use them.
418
419 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 Remove left over code from when we used an obsolete/loaddefs.el file
422 * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
423 we used an obsolete/loaddefs.el file.
424
425 * cedet/semantic/fw.el: Use declare.
426 * cedet/semantic/fw.el (semantic-exit-on-input)
427 (semanticdb-without-unloaded-file-searches): Use declare.
428 (semantic-fw-add-edebug-spec): Remove.
429
430 (completion-lisp-mode-hook): Use completion-separator-chars
431 * lisp/completion.el (completion-lisp-mode-hook):
432 Use completion-separator-chars rather than local key binding.
433
434 * src/*.c: Set deactivate_mark buffer-locally
435 Fixes: debbugs:20260
436 * src/insdel.c (prepare_to_modify_buffer_1):
437 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
438 buffer-locally.
439
440 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
441
442 python.el: Keep symmetry on sexp navigation with parens
443 Fixes: debbugs:19954
444 * lisp/progmodes/python.el
445 (python-nav--forward-sexp): Add argument skip-parens-p.
446 (python-nav-forward-sexp, python-nav-backward-sexp)
447 (python-nav-forward-sexp-safe)
448 (python-nav-backward-sexp-safe): Use it.
449 * test/automated/python-tests.el
450 (python-nav-forward-sexp-1): Fix test.
451
452 2015-04-12 João Távora <joaotavora@gmail.com>
453
454 Don't use `setq-local' in Gnus code
455 This might break upstream builds with older Emacsen
456 * lisp/gnus/message.el (message-mode): Use `set' and
457 `make-local-variable' instead of `setq-local'.
458
459 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
460
461 Update Makefile.in's .PHONY dependencies
462 * Makefile.in (change-history-commit, master-branch-is-current)
463 (no-ChangeLog): Now phony.
464
465 Remove configure's --with-mmdf option
466 * configure.ac (MAIL_USE_MMDF): Remove.
467 * etc/NEWS: Document this.
468 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
469 Fixes: bug#20308
470
471 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
472 That way, 'make install' won't think it's a man page.
473 Reported by Ashish SHUKLA in:
474 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
475
476 Improve 'make change-history' prereq tests
477 * Makefile.in (gen_origin): Fix to match what's in the master branch.
478 (no-ChangeLog, master-branch-is-current): New rules.
479 (change-history): Depend on them, to avoid similar future problems.
480 Escape the local-variables string to pacify Emacs when editing
481 Makefile.in.
482
483 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
484
485 * test/automated/package-test.el (with-package-test): Kill Packages buffer
486
487 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
488 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
489 "Upgrade" last, and use capitalized instead of all-caps.
490
491 * lisp/emacs-lisp/package.el: Completely silence async operations
492 (package--make-autoloads-and-stuff): Silence autoloads.
493 (package--save-selected-packages): New function, silences
494 `customize-save-variable'.
495 (package--user-selected-p, package-install-from-buffer)
496 (package-delete, package-install): Use it.
497 (package-install-from-archive)
498 (package-menu--perform-transaction): Silence.
499 (package-menu-execute): Feedback when operation starts.
500
501 Use delay-mode-hooks when visiting the init-file
502 * lisp/emacs-lisp/package.el (package--ensure-init-file):
503 delay-mode-hooks
504 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
505
506 * lisp/files.el: Only message when saving if save-silently is nil
507 (save-silently): New variable.
508 (files--message): New function.
509 (find-file-noselect, save-buffer, basic-save-buffer)
510 (basic-save-buffer-2, save-some-buffers, not-modified)
511 (append-to-file): Use them.
512
513 2015-04-12 Johan Bockgård <bojohan@gnu.org>
514
515 Support debug declarations in pcase macros
516 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
517 (pcase-UPAT): Use it. Remove "`".
518 (pcase--edebug-match-macro): New function.
519 (pcase-defmacro): Support debug declarations.
520 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
521 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
522 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
523
524 pcase.el: Edebug support for `app' and vector patterns
525 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
526 (pcase-UPAT): Use it. Support `app' patterns.
527 (pcase-QPAT): Support vector patterns.
528
529 edebug.el: Disambiguate vector specifications
530 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
531 `(vector ...)' as a vector specification, not as a sublist.
532
533 (gnus-summary-refer-thread): Don't clobber unread articles
534 This fixes a bug where `A T' causes "random" articles to become marked
535 as read.
536 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
537 gnus-newsgroup-unreads remains sorted.
538
539 mouse-sel.el: Fix mouse-sel-get-selection-function
540 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
541 Use gui--last-selected-text-primary instead of no longer existing
542 gui-last-selected-text.
543
544 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
545
546 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
547
548 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
549
550 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
551
552 * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
553
554 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
555 (byte-compile--interactive): New var.
556 (byte-compile--message): New function.
557 (byte-compile-log-1, byte-force-recompile)
558 (byte-recompile-directory, byte-recompile-file)
559 (byte-compile-file, compile-defun)
560 (byte-compile-file-form-defmumble, byte-compile)
561 (byte-compile-file-form-defalias, display-call-tree): Use it.
562
563 * lisp/files.el: Don't message when nothing happened
564 (save-some-buffers, basic-save-buffer): Before messaging to say
565 "nothing was saved" check if (called-interactively-p 'any).
566
567 2015-04-12 João Távora <joaotavora@gmail.com>
568
569 Summary: Improve sexp-based movement in message-mode
570 Works by giving citations and smileys a different syntax. This helps
571 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
572 sexp-based movement.
573 * lisp/gnus/message.el (message--syntax-propertize): New function.
574 (message-mode): Set syntax-related vars.
575 (message-smileys): New variable.
576 * test/automated/message-mode-tests.el: New file
577
578 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
579
580 Use bool for boolean in window.c
581 * src/window.c: Omit unnecessary static function decls.
582 (adjust_window_count, select_window, Fselect_window)
583 (window_body_width, Fwindow_body_height, Fwindow_body_width)
584 (set_window_hscroll, check_window_containing, Fwindow_at)
585 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
586 (unshow_buffer, replace_window, recombine_windows)
587 (add_window_to_list, candidate_window_p, next_window)
588 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
589 (Fget_buffer_window, Fdelete_other_windows_internal)
590 (replace_buffer_in_windows_safely, set_window_buffer)
591 (Fset_window_buffer, Fforce_window_update)
592 (temp_output_buffer_show, make_parent_window)
593 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
594 (resize_frame_windows, Fsplit_window_internal)
595 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
596 (Fresize_mini_window_internal, mark_window_cursors_off)
597 (window_scroll, window_scroll_pixel_based)
598 (window_scroll_line_based, scroll_command, Fscroll_other_window)
599 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
600 (Fmove_to_window_line, Fset_window_configuration)
601 (delete_all_child_windows, apply_window_adjustment)
602 (set_window_fringes, set_window_scroll_bars)
603 (Fset_window_vscroll, foreach_window, foreach_window_1)
604 (compare_window_configurations, Fcompare_window_configurations):
605 Prefer 'bool', 'true', and 'false' for booleans.
606 * src/window.h (WINDOW_MODE_LINE_LINES)
607 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
608
609 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
610
611 Speed up byte-compilation and autoload generation by avoiding mode-hooks
612 This prevents emacs-lisp-mode-hook from being run everytime an
613 autoload file is generated, which can account for a fraction of
614 package installation time depending on the hooks the user has
615 configured.
616 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
617 * lisp/emacs-lisp/autoload.el (autoload-find-file)
618 (autoload-find-generated-file): Use delay-mode-hooks.
619
620 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
621 (package-menu-refresh): Respect async and do new package checking.
622 (list-packages): Use `package-menu-refresh' instead of repeating code.
623
624 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
625 (package--quick-help-keys): New variable.
626 (package--prettify-quick-help-key): New function.
627 (package-menu-quick-help): Use it.
628
629 * lisp/emacs-lisp/package.el: Fix initially wrong compat table
630 (package--build-compatibility-table): require finder
631
632 * test/automated/package-test.el: Fix new test
633
634 * lisp/emacs-lisp/package.el: Silence async operations
635 (package--silence): New variable.
636 (package--message): New function.
637 (package-import-keyring, package-refresh-contents)
638 (package-compute-transaction, package-install, package-delete)
639 (package-menu--perform-transaction, package-menu-execute): Use it.
640
641 * test/automated/package-test.el: Test async functionality
642 (package-test-update-archives-async): New test
643
644 2015-04-11 Daiki Ueno <ueno@gnu.org>
645
646 Utilize `make-process' in epg.el
647 * lisp/epg.el (epg-error-output): Abolish.
648 (epg-context): New slot `error-buffer'.
649 (epg--start): Use `make-process' and `make-pipe-process'.
650 (epg--process-filter): Remove code separating stderr from stdout.
651 (epg-wait-for-completion): Simplify `error-output' handling.
652 (epg-reset): Dispose error buffer.
653
654 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
655
656 * .gitignore: Ignore doc temps and outputs.
657
658 Port commit-msg to MSYS Bash+Gawk
659 See Eli Zaretskii in:
660 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
661 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
662 (cent_sign, print_at_sign, at_sign): Revert previous change.
663 (print_at_sign): Prepend "BEGIN".
664 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
665
666 Port commit-msg to broken MS-Windows shell
667 * build-aux/git-hooks/commit-msg (cent_sign):
668 Just use UTF-8 here rather than ASCII + printf, as the latter fails
669 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
670 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
671
672 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
673
674 Support GnuTLS v3.4 and later on MS-Windows
675 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
676 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
677 GnuTLS DLL to load according to value of libgnutls-version.
678 Fixes: bug#20294
679
680 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
681
682 Minor quoting etc. fixes to misc manuals
683 Fix some minor quoting and spacing issues. Distinguish more
684 clearly among grave accent and apostrophe (which are ASCII) and
685 single quote (which is not). Prefer the standard terms
686 "apostrophe" and "grave accent" to alternative names that can be
687 confusing. Use apostrophes to single-quote ASCII text.
688 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
689 rather than approximating it in ASCII with grave accent.
690
691 2015-04-11 Daiki Ueno <ueno@gnu.org>
692
693 Respect more keyword args in `make-process'
694 * process.c (Fmake_process): Respect `:sentinel' and `:filter'
695 keywords as documented.
696
697 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
698
699 Extract ChangeLog entries when committing a directory
700 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
701 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
702 Add a FIXME comment.
703 (log-edit-changelog-entries): Extract from
704 `log-edit-changelog-entries', handle FILE being a directory
705 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
706
707 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
708
709 Fix problems found by --enable-gcc-warnings
710 * src/process.c (create_process, Fmake_pipe_process)
711 (Fmake_network_process): Omit unused locals.
712
713 Fix commit-msg to handle scissors lines
714 * build-aux/git-hooks/commit-msg:
715 Ignore every line after a scissors line, such as a line generated
716 by 'git commit -v'. Problem reported by Johan Bockgård in:
717 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
718
719 port commit-msg to Gawk 3.0.4 (1999)
720 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
721 (print_at_sign, at_sign): New vars. Use them to avoid problems
722 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
723 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
724
725 Have commit-msg report commit failure
726 * build-aux/git-hooks/commit-msg: If the commit is aborted,
727 say so. Simplify by doing this at the end. Problem reported
728 by Eli Zaretskii in:
729 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
730
731 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
732
733 Clean up LDAP Configuration section of EUDC manual
734 * doc/misc/eudc.texi: Combine indices.
735 (LDAP Configuration): Use command markup. Add index entries.
736 Change formatting. Wrap long lines. Add noindent markup.
737
738 2015-04-10 Daiki Ueno <ueno@gnu.org>
739
740 Add facility to collect stderr of async subprocess
741 * src/w32.h (register_aux_fd): New function declaration.
742 * src/w32.c (register_aux_fd): New function.
743 * src/process.h (struct Lisp_Process): New member stderrproc.
744 * src/process.c (PIPECONN_P): New macro.
745 (PIPECONN1_P): New macro.
746 (Fdelete_process, Fprocess_status, Fset_process_buffer)
747 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
748 (Fcontinue_process): Handle pipe process specially.
749 (create_process): Respect p->stderrproc.
750 (Fmake_pipe_process): New function.
751 (Fmake_process): Add new keyword argument :stderr.
752 (wait_reading_process_output): Specially handle a pipe process when
753 it gets an EOF.
754 (syms_of_process): Register Qpipe and Smake_pipe_process.
755 * doc/lispref/processes.texi (Asynchronous Processes): Document
756 `make-pipe-process' and `:stderr' keyword of `make-process'.
757 * lisp/subr.el (start-process): Suggest to use `make-process' handle
758 standard error separately.
759 * test/automated/process-tests.el (process-test-stderr-buffer)
760 (process-test-stderr-filter): New tests.
761 * etc/NEWS: Mention new process type `pipe' and its usage with the
762 `:stderr' keyword of `make-process'.
763
764 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
765
766 Minor quoting etc. fixes to lispref manual
767 * doc/lispref/tips.texi (Documentation Tips):
768 Distinguish more clearly among grave accent, apostrophe,
769 and single quote.
770 * doc/lispref/README, doc/lispref/buffers.texi:
771 * doc/lispref/commands.texi, doc/lispref/control.texi:
772 * doc/lispref/customize.texi, doc/lispref/display.texi:
773 * doc/lispref/elisp.texi, doc/lispref/files.texi:
774 * doc/lispref/frames.texi, doc/lispref/hash.texi:
775 * doc/lispref/help.texi, doc/lispref/internals.texi:
776 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
777 * doc/lispref/markers.texi, doc/lispref/modes.texi:
778 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
779 * doc/lispref/os.texi, doc/lispref/positions.texi:
780 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
781 * doc/lispref/text.texi, doc/lispref/tips.texi:
782 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
783 Use American-style double quoting in ordinary text,
784 and quote 'like this' when single-quoting in ASCII text.
785 Also, fix some minor spacing issues.
786
787 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
788
789 Handle symlinked test directory in tramp-tests.el
790 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
791 (tramp--test-check-files): Use `file-truename' for directories.
792
793 2015-04-10 Eli Zaretskii <eliz@gnu.org>
794
795 Fix 'recenter' when visual-line-mode is turned on
796 * src/window.c (Frecenter): Use the same code for GUI and TTY
797 frames alike; use vmotion only for "initial" frames. This is
798 because vmotion doesn't support visual-line-mode. Rewrite the
799 'iarg >= 0' case to use move_it_* functions instead of using
800 vmotion, for the same reason. Fix the clipping of the argument
801 value to support scroll-margin in all cases and avoid unwarranted
802 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
803 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
804 which see.
805
806 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * abbrev.el (define-abbrev-table): Refine last change.
809
810 cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
811 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
812 use of c[ad]+r", so as to keep the "cl-" prefix on all
813 cl-lib definitions.
814
815 * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
816
817 * lisp/cedet/semantic: Remove some dead code
818 * lisp/cedet/semantic/util-modes.el
819 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
820 any more.
821 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
822 not supported any more.
823 (semantic-safe): Use `declare'.
824 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
825 (semantic-tag-intangible-p): Remove unused functions.
826 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
827 Remove unused function.
828
829 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
830 (gnus-article-hide-text, gnus-article-unhide-text)
831 (gnus-article-unhide-text-type): Remove special handling of
832 `intangible' since that property is not used any more.
833 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
834
835 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
836
837 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
838
839 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
840
841 Use the VC root in `log-edit-listfun'
842 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
843 `log-edit-listfun'.
844
845 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
846
847 Fix description of Unix time, mention new function.
848 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
849 Unix time.
850 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
851 (Basic Operations on Units): Mention `calc-convert-exact-units'.
852
853 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
854
855 * lisp/emacs-lisp/package.el: Use mode-line-process for notification
856
857 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
858
859 (log-edit-insert-changelog-entries): Don't add newline after the last entry
860 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
861 Don't add newline after the last entry.
862
863 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
864
865 css-mode.el: Add "not" pseudo-class
866 Fixes: debbugs:20267
867 * textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to list
868 of CSS pseudo-classes.
869
870 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
873
874 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
875
876 Stop messing with the EMACS env var
877 * misc.texi (Interactive Shell): Remove description of EMACS env var.
878
879 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
880
881 Adapt 'make change-history' to coding cookie
882 * Makefile.in (change-history): Adjust to change of format of
883 ChangeLog file, which now has a coding cookie before an indented
884 copyright notice.
885
886 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
887
888 Adapt 'make change-history' to coding cookie
889 * Makefile.in (change-history): Adjust to change of format of
890 ChangeLog file, which now has a coding cookie before an indented
891 copyright notice.
892
893 gitlog-to-changelog coding cookie and mv -i
894 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
895 for copyright notice prototype, so that we get a proper "coding:"
896 cookie. Use 'mv -i' to avoid unconditionally overwriting an
897 existing ChangeLog. Problems reported by Eli Zaretskii in:
898 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
899
900 Merge from gnulib
901 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
902 2015-04-09 gitlog-to-changelog: port to MS-Windows
903
904 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
905
906 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
907 Fixes: debbugs:20212
908
909 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
910
911 Stop messing with the EMACS env var
912 Fixes: debbugs:20202
913 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
914 * lisp/comint.el (comint-exec-1):
915 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
916 * lisp/progmodes/compile.el (compilation-start): Same and bring
917 INSIDE_EMACS's format in line with other users.
918
919 css-mode.el (css-smie-rules): Fix indentation after complex selectors
920 Fixes: debbugs:20282
921 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
922 inner structure of selectors.
923
924 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
925
926 python.el: Indent docstring lines to base-indent
927 Fixes: debbugs:19595
928 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
929 an initial patch.
930 * lisp/progmodes/python.el
931 (python-indent-context): Add :inside-docstring context.
932 (python-indent--calculate-indentation): Handle :inside-docstring.
933 (python-indent-region): Re-indent docstrings.
934 * test/automated/python-tests.el (python-indent-region-5)
935 (python-indent-inside-string-2): Fix tests.
936
937 python.el: Increase native completion robustness
938 Fixes: debbugs:19755
939 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
940 this and providing useful ideas.
941 * lisp/progmodes/python.el
942 (python-shell-completion-native-output-timeout): Increase value.
943 (python-shell-completion-native-try-output-timeout): New var.
944 (python-shell-completion-native-try): Use it.
945 (python-shell-completion-native-setup): New readline setup avoids
946 polluting current context, ensures output when no-completions are
947 available and includes output end marker.
948 (python-shell-completion-native-get-completions): Trigger with one
949 tab only. Call accept-process-output until output end is found or
950 python-shell-completion-native-output-timeout is exceeded.
951
952 2015-04-08 Samer Masterson <samer@samertm.com>
953
954 * lisp/eshell: Make backslash a no-op in front of normal chars
955 Fixes: debbugs:8531
956 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
957 (eshell-parse-backslash): Return escaped character after backslash
958 if it is special. Otherwise, if the backslash is not in a quoted
959 string, ignore the backslash and return the character after; if
960 the backslash is in a quoted string, return the backslash and the
961 character after.
962 * test/automated/eshell.el (eshell-test/escape-nonspecial)
963 (eshell-test/escape-nonspecial-unicode)
964 (eshell-test/escape-nonspecial-quoted)
965 (eshell-test/escape-special-quoted): Add tests for new
966 `eshell-parse-backslash' behavior.
967
968 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
969
970 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
971 after the file name.
972 Fixes: debbugs:20276
973
974 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
975
976 Minor quoting etc. fixes to Emacs manual
977 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
978 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
979 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
980 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
981 * doc/emacs/indent.texi, doc/emacs/macos.texi:
982 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
983 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
984 * doc/emacs/search.texi, doc/emacs/trouble.texi:
985 * doc/emacs/vc1-xtra.texi:
986 Use American-style double quoting in ordinary text,
987 and quote 'like this' when single-quoting in ASCII text.
988 Also, fix some minor spacing issues.
989
990 Minor quoting etc. fixes to elisp intro
991 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
992 American-style double quoting in ordinary text. In ASCII text,
993 consistently quote 'like this' instead of `like this', unless
994 Emacs requires the latter.
995
996 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
997
998 * CONTRIBUTE: Mention log-edit-insert-changelog.
999
1000 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
1001
1002 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
1003
1004 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
1005
1006 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 (eieio-copy-parents-into-subclass): Fix inheritance of initargs
1009 Fixes: debbugs:20270
1010 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
1011 Fix inheritance of initargs.
1012
1013 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
1014
1015 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
1016 while dowloading information.
1017
1018 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
1019 (package--ensure-init-file): Check file contents before visiting.
1020 (package-initialize): Call it.
1021 (package-install-from-buffer, package-install): Don't call it.
1022
1023 2015-04-08 Eli Zaretskii <eliz@gnu.org>
1024
1025 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
1026 Fixes: bug#17517
1027
1028 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
1029
1030 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
1031
1032 Fix nasty scoping bug in tramp-cache.el
1033 * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
1034
1035 2015-04-08 Tassilo Horn <tsdh@gnu.org>
1036
1037 Add notice to visual commands section
1038 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
1039 such as git call less with its -F option which omits pagination if
1040 the contents is less than one page long. This interferes with
1041 eshell's visual (sub-)commands.
1042
1043 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
1044
1045 ffap: Support environment variable expansion in file names
1046 Fixes: debbugs:19839
1047 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
1048 environment variable expansion in file names.
1049
1050 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
1051
1052 Prefer double-quote to accent-grave in man pages
1053
1054 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 Fixes: debbugs:20257
1057 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
1058
1059 2015-04-07 Ivan Shmakov <ivan@siamics.net>
1060
1061 Update etc/PROBLEMS.
1062 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
1063 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
1064 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
1065 respectively); other minor updates and tweaks. (Bug#20011)
1066
1067 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
1068
1069 Add doc strings for some Isearch state vars
1070 * lisp/misearch.el (multi-isearch-buffer-list)
1071 (multi-isearch-file-list): Add doc strings.
1072 Fixes: bug#20232
1073
1074 2015-04-07 Alan Mackenzie <acm@muc.de>
1075
1076 Always mark "<" and ">" in #include directives with text properties.
1077 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
1078 matcher" with an invocation of c-make-font-lock-search-function to allow
1079 fontification when there's no trailing space on an "#include <..>" line.
1080
1081 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
1082
1083 Generate a ChangeLog file from commit logs
1084 * .gitignore: Add 'ChangeLog'.
1085 * build-aux/gitlog-to-changelog: New file, from Gnulib.
1086 * build-aux/gitlog-to-emacslog: New file.
1087 * CONTRIBUTE: Document the revised workflow.
1088 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
1089 instead of just special cases.
1090 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
1091 (ChangeLog, unchanged-history-files, change-history)
1092 (change-history-commit): New rules.
1093 * admin/admin.el (make-manuals-dist--1):
1094 Don't worry about doc/ChangeLog.
1095 * admin/authors.el: Add a FIXME.
1096 * admin/make-tarball.txt:
1097 * lisp/calendar/icalendar.el:
1098 * lisp/gnus/deuglify.el:
1099 * lisp/obsolete/gulp.el:
1100 * lwlib/README:
1101 Adjust to renamed ChangeLog history files.
1102 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
1103 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
1104 Remove obsolete discussion of merging ChangeLog files.
1105 New section "Maintaining ChangeLog history".
1106 * build-aux/git-hooks/pre-commit:
1107 Reject attempts to commit files named 'ChangeLog'.
1108 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1109 * make-dist: Make and distribute top-level ChangeLog if there's a
1110 .git directory. Distribute the new ChangeLog history files
1111 instead of scattered ChangeLog files. Distribute the new files
1112 gitlog-to-changelog and gitlog-to-emacslog.
1113 Fixes: bug#19113
1114
1115 Rename ChangeLogs for gitlog-to-changelog
1116 This patch was implemented via the following shell commands:
1117 find * -name ChangeLog |
1118 sed 's,.*,git mv & &.1,
1119 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
1120 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
1121 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
1122 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
1123 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
1124 sh
1125 git commit -am"[this commit message]"
1126
1127 See ChangeLog.1 for earlier changes.
1128
1129 Copyright (C) 2015 Free Software Foundation, Inc.
1130
1131 This file is part of GNU Emacs.
1132
1133 GNU Emacs is free software: you can redistribute it and/or modify
1134 it under the terms of the GNU General Public License as published by
1135 the Free Software Foundation, either version 3 of the License, or
1136 (at your option) any later version.
1137
1138 GNU Emacs is distributed in the hope that it will be useful,
1139 but WITHOUT ANY WARRANTY; without even the implied warranty of
1140 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1141 GNU General Public License for more details.
1142
1143 You should have received a copy of the GNU General Public License
1144 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
1145
1146 ;; Local Variables:
1147 ;; coding: utf-8
1148 ;; End:
1149