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