]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Spelling fix
[gnu-emacs] / lisp / ChangeLog
1 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
2
3 * emacs-lisp/package.el (package-refresh-contents): Fix spelling
4 error in previous change.
5
6 2015-03-28 Tom Willemse <tom@ryuslash.org> (tiny change)
7
8 * elec-pair.el (electric-pair-local-mode): New command.
9 (electric-pair-mode): Mention `electric-pair-local-mode' in the
10 docstring.
11
12 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
13
14 * emacs-lisp/package.el (package-refresh-contents): Add a message at
15 the end so it does not appear to have hanged (Bug#17879).
16
17 2015-03-27 Wolfgang Jenkner <wjenkner@inode.at>
18
19 * font-lock.el (font-lock--remove-face-from-text-property): New
20 function. Adapted from the previously commented out
21 remove-single-text-property.
22 Remove previously unused and commented out auxiliary function
23 remove-text-property and obsolete comment.
24 * comint.el (comint-output-filter): Use it to remove
25 comint-highlight-prompt.
26 (comint-snapshot-last-prompt, comint-output-filter): Use
27 font-lock-prepend-text-property for comint-highlight-prompt.
28 (Bug#20084)
29
30 2015-03-26 Daniel Colascione <dancol@dancol.org>
31 * progmodes/python.el
32 (python-indent-guess-indent-offset-verbose): New defcustom.
33 (python-indent-guess-indent-offset): Use it.
34
35 2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * emacs-lisp/eieio.el (defclass): Change internal name so as to make
38 sure only EIEIO files should have "eieio--" prefixes in their .elc.
39
40 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
41
42 2015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change)
43
44 * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
45
46 2015-03-25 Dmitry Gutov <dgutov@yandex.ru>
47
48 * json.el (json-special-chars): Don't treat `/' specially, there's
49 no need to.
50 (json-encode-string): Only escape quotation mark, backslash and
51 the control characters U+0000 to U+001F.
52
53 2015-03-25 Artur Malabarba <bruce.connor.am@gmail.com>
54
55 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
56 Don't complain about args starting with _.
57
58 2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * international/mule-cmds.el (mule--ucs-names-annotation): New func.
61 (read-char-by-name): Use it.
62
63 * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
64
65 2015-03-25 Nicolas Petton <nicolas@petton.fr>
66
67 * emacs-lisp/seq.el: Documentation improvements.
68
69 2015-03-25 Glenn Morris <rgm@gnu.org>
70
71 * net/browse-url.el (browse-url-browser-function)
72 (browse-url-default-browser):
73 Remove obsolete items from the explicit listing.
74 (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
75 (browse-url-netscape-program, browse-url-netscape-arguments)
76 (browse-url-netscape-startup-arguments)
77 (browse-url-galeon-program, browse-url-galeon-arguments)
78 (browse-url-galeon-startup-arguments)
79 (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
80 (browse-url-galeon-new-window-is-tab)
81 (browse-url-netscape-new-window-is-tab)
82 (browse-url-mosaic-program, browse-url-mosaic-arguments)
83 (browse-url-mosaic-pidfile, browse-url-CCI-port)
84 (browse-url-CCI-host, browse-url-netscape-version)
85 (browse-url-netscape, browse-url-netscape-sentinel)
86 (browse-url-netscape-reload, browse-url-netscape-send)
87 (browse-url-galeon, browse-url-galeon-sentinel)
88 (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
89 (browse-url-w3-gnudoit): Make obsolete.
90 * ffap.el (ffap-url-fetcher): Simplify default and doc.
91
92 2015-03-25 Olaf Rogalsky <olaf.rogalsky@gmail.com>
93
94 * xt-mouse.el: Add mouse-tracking support (bug#19416).
95 (xterm-mouse-translate-1): Handle mouse-movement events.
96 (xterm-mouse--read-event-sequence-1000)
97 (xterm-mouse--read-event-sequence-1006): Delete functions.
98 (xterm-mouse--read-event-sequence): New function that handles both at
99 the same time. Handle mouse-movements.
100 (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
101 New functions.
102 (xterm-mouse-event): Simplify.
103 (xterm-mouse-tracking-enable-sequence)
104 (xterm-mouse-tracking-disable-sequence): Enable mouse tracking.
105
106 * mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
107
108 2015-03-24 Michael Albinus <michael.albinus@gmx.de>
109
110 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
111 (tramp-do-file-attributes-with-stat): Quote file names in output.
112 (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
113
114 2015-03-24 Daiki Ueno <ueno@gnu.org>
115
116 * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
117 invocation; make the PARAMETERS documentation clearer.
118
119 2015-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 Add cl-struct specific optimizations to pcase.
122 * emacs-lisp/cl-macs.el (cl--struct-all-parents)
123 (cl--pcase-mutually-exclusive-p): New functions.
124 (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.
125
126 * emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
127
128 2015-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 Add new `cl-struct' and `eieio' pcase patterns.
131 * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
132 * emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
133 (eieio-pcase-slot-index-from-index-table): New functions.
134 (eieio): New pcase pattern.
135 * emacs-lisp/pcase.el (pcase--make-docstring): New function.
136 (pcase): Use it to build the docstring.
137 (pcase-defmacro): Make sure the macro is lazy-loaded.
138 (\`): Move its docstring from `pcase'.
139
140 2015-03-23 Glenn Morris <rgm@gnu.org>
141
142 * emacs-lisp/authors.el (authors-aliases)
143 (authors-obsolete-files-regexps): Additions.
144
145 2015-03-23 Jan Djärv <jan.h.d@swipnet.se>
146
147 * simple.el (deactivate-mark): Only modify PRIMARY if we own
148 PRIMARY (Bug#18939).
149
150 2015-03-23 Martin Rudalics <rudalics@gmx.at>
151
152 * emacs-lisp/debug.el (debug): Don't try using "previous" window
153 when its not live or on an invisible frame (Bug#17170).
154
155 2015-03-23 Dmitry Gutov <dgutov@yandex.ru>
156
157 * json.el (json-decode-char0): Delete this alias as well.
158 (json-read-escaped-char): Don't call it (bug#20154).
159
160 2015-03-23 Daniel Colascione <dancol@dancol.org>
161
162 * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
163 (lisp--el-match-keyword): Use it.
164
165 2015-03-23 Daiki Ueno <ueno@gnu.org>
166
167 * subr.el (start-process): New function, ported from the C
168 implementation.
169
170 2015-03-23 Daniel Colascione <dancol@dancol.org>
171
172 Automatically adjust process window sizes.
173
174 * window.el (window-adjust-process-window-size-function): New
175 customizable variable.
176 (window-adjust-process-window-size)
177 (window-adjust-process-window-size-smallest)
178 (window-adjust-process-window-size-largest)
179 (window--process-window-list, window--adjust-process-windows):
180 New functions.
181 (window-configuration-change-hook): Add
182 `window--adjust-process-windows'.
183 * term.el (term-mode): Observe result of
184 `window-adjust-process-window-size-function'.
185 (term-check-size): Delete.
186
187 2015-03-22 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
188
189 * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
190 (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
191 indentation (bug#20161).
192
193 2015-03-22 Dmitry Gutov <dgutov@yandex.ru>
194
195 * json.el (json-encode-char0): Delete this alias.
196 (json-encode-string): Rewrite to improve performance (bug#20154).
197 (json-encode-char): Fold into `json-encode-string'.
198
199 2015-03-22 Artur Malabarba <bruce.connor.am@gmail.com>
200
201 * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
202 for `buffers-menu-max-size', not total buffers.
203
204 2015-03-21 Titus von der Malsburg <malsburg@posteo.de>
205
206 * window.el (window-font-width, window-font-height)
207 (window-max-chars-per-line): New functions.
208
209 * simple.el (default-font-height): Doc fix.
210 (default-font-width): New function.
211
212 2015-03-21 Tassilo Horn <tsdh@gnu.org>
213
214 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Also
215 recognize (cl-)defmethod with (setf method) name.
216
217 2015-03-20 Tassilo Horn <tsdh@gnu.org>
218
219 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
220 false positive in function name font-locking.
221 (lisp-cl-font-lock-keywords-1): Ditto.
222
223 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
226 occurrences of args via &cl-defs (bug#20149).
227
228 2015-03-20 Alan Mackenzie <acm@muc.de>
229
230 Fix debbugs#20146
231
232 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
233 Return the calculated values, as per spec.
234
235 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
236
237 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
238 and `callcc' to the "methods with required arguments" section,
239 they need a block argument. Remove a `throw' duplicate.
240
241 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
242
243 * progmodes/cperl-mode.el (cperl-electric-backspace):
244 Call delete-backward-space interactively instead of delete-char.
245
246 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
249
250 * emacs-lisp/eieio.el (object-slots): Return slot names as before
251 (bug#20141).
252
253 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 EIEIO: Change class's representation to unify instance and class slots
256 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
257 to match those of cl--class; use cl--slot for both instance slots and
258 class slots.
259 (eieio--object-num-slots): Use cl-struct-slot-info.
260 (eieio--object-class): Rename from eieio--object-class-object.
261 (eieio--object-class-name): Remove.
262 (eieio-defclass-internal): Adjust to new slot representation.
263 Store doc in class rather than in `variable-documentation'.
264 (eieio--perform-slot-validation-for-default): Change API to take
265 a slot object.
266 (eieio--slot-override): New function.
267 (eieio--add-new-slot): Rewrite.
268 (eieio-copy-parents-into-subclass): Rewrite.
269 (eieio--validate-slot-value, eieio--validate-class-slot-value)
270 (eieio-oref-default, eieio-oset-default)
271 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
272 slot representation.
273 (eieio--c3-merge-lists): Simplify.
274 (eieio--class/struct-parents): New function.
275 (eieio--class-precedence-bfs): Use it.
276
277 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
278 (object-class-fast): Change recommend replacement.
279 (eieio-object-class): Rewrite.
280 (slot-exists-p): Adjust to new slot representation.
281 (initialize-instance): Adjust to new slot representation.
282 (object-write): Adjust to new slot representation.
283
284 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
285 extracted from eieio-help-class-slots.
286 (eieio-help-class-slots): Use it. Adjust to new slot representation.
287
288 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
289 Declare to silence warnings.
290 (data-debug-insert-object-button): Avoid `object-slots'.
291 (data-debug/eieio-insert-slots): Adjust to new slot representation.
292
293 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
294 (eieio-object-value-get): Adjust to new slot representation.
295
296 * emacs-lisp/eieio-compat.el
297 (eieio--generic-static-symbol-specializers):
298 Extract from eieio--generic-static-symbol-generalizer.
299 (eieio--generic-static-symbol-generalizer): Use it.
300
301 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
302 Manually map initargs to slot names.
303 (eieio-persistent-validate/fix-slot-value): Adjust to new
304 slot representation.
305
306 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
307
308 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
309
310 * leim/quail/hangul.el (hangul-delete-backward-char)
311 (hangul-to-hanja-conversion):
312 * progmodes/cperl-mode.el (cperl-electric-keyword)
313 (cperl-electric-backspace): Use delete-char instead of
314 delete-backward-char, fixes compilation warnings.
315
316 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
317
318 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
319 Mark apostrophs with ?/ instead of \037. (Bug#20117)
320
321 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 Add classes as run-time descriptors of cl-structs.
324 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
325 (cl--make-slot-desc): New constructor.
326 (cl--plist-remove, cl--struct-register-child): New functions.
327 (cl-struct-define): Rewrite.
328 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
329 (cl--class): New structs.
330 (cl--struct-default-parent): Initialize it here.
331 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
332 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
333 (cl--struct-default-parent): New var.
334 (cl-defstruct): Adjust to new representation of classes; add
335 default parent. In accessors, signal `wrong-type-argument' rather than
336 a generic error.
337 (cl-struct-sequence-type, cl-struct-slot-info)
338 (cl-struct-slot-offset): Rewrite.
339 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
340 (cl-generic-generalizers): Rewrite.
341
342 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
343 (internal-macroexpand-for-load): Use it.
344
345 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
346 Bind inhibit-debug-on-entry here...
347 (debug): Instead of here.
348
349 2015-03-18 Dima Kogan <dima@secretsauce.net>
350
351 Have gud-display-line not display source buffer in gud window.
352 * progmodes/gud.el (gud-display-line): Make display-buffer
353 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
354
355 2015-03-17 Tassilo Horn <tsdh@gnu.org>
356
357 * emacs-lisp/byte-run.el (macro-declarations-alist):
358 New declaration no-font-lock-keyword.
359 (defmacro): Flush font-lock in existing elisp buffers.
360
361 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
362 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
363 Delete functions and defconst.
364 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
365 (lisp--el-font-lock-flush-elisp-buffers): New function.
366 (lisp-mode-variables): Remove code for updating
367 lisp--el-macro-regexp, and add
368 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
369
370 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
371
372 * textmodes/css-mode.el (css--font-lock-keywords):
373 Discriminate between pseudo-classes and pseudo-elements.
374 (css-pseudo-ids): Remove.
375 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
376 (css--complete-property): New function for completing CSS properties.
377 (css--complete-pseudo-element-or-class): New function
378 completing CSS pseudo-elements and pseudo-classes.
379 (css--complete-at-rule): New function for completing CSS at-rules.
380 (css-completion-at-point): New function.
381 (css-mode): Add support for completion.
382 (css-extract-keyword-list, css-extract-parse-val-grammar)
383 (css-extract-props-and-vals): Remove function in favor of manual
384 extraction.
385 (css-at-ids): Update list of CSS at-rule ids.
386 (css-property-ids): Update list of CSS properties.
387
388 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
389
390 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
391 more Kernel methods.
392
393 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
394
395 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
396 shell scripts. (Bug#20118)
397
398 2015-03-17 Eli Zaretskii <eliz@gnu.org>
399
400 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
401 nil, construct a menu of fixed fonts. This resurrects a feature
402 lost in Emacs 23.
403
404 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
405 reset mouse-appearance-menu-map, so the font dialog is recomputed
406 the next time the menu is requested.
407 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
408
409 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
412 (bug#20125).
413
414 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
415
416 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
417 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
418
419 2015-03-16 Alan Mackenzie <acm@muc.de>
420
421 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
422 Also display the overlay arrow in go and go-nonstop modes.
423
424 * emacs-lisp/edebug.el (edebug--display-1): Move the
425 `input-pending' test to after trace mode's `sit-for'.
426 (edebug--recursive-edit): Insert "(sit-for 0)" after
427 "(edebug-overlay-arrow)".
428
429 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
432 cl--do-arglist in more cases; add comments to explain what's going on.
433 (cl--do-&aux): New function extracted from cl--do-arglist.
434 (cl--do-arglist): Use it.
435
436 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
437
438 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
439 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
440 * ido.el (ido-read-buffer): Add `predicate' argument.
441 * misearch.el (unload-function-defs-list): Declare before use.
442
443 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
444
445 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
446 (browse-url-conkeror-program, browse-url-conkeror-arguments)
447 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
448 (browse-url-default-browser): Check for `browse-url-conkeror'
449 and call `browse-url-conkeror-program'.
450 (browse-url-conkeror): New command.
451 (bug#19863)
452
453 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
454
455 * eshell/esh-mode.el (eshell/clear): New function.
456
457 2015-03-16 Alan Mackenzie <acm@muc.de>
458
459 Make Edebug work with Follow Mode.
460
461 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
462 edebug-adjust-window.
463 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
464 over the recursive edit.
465 (edebug-adjust-window): Remove.
466
467 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
468
469 * net/tramp-adb.el:
470 * net/tramp-gvfs.el:
471 * net/tramp-sh.el:
472 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
473
474 * net/tramp.el (tramp-ssh-controlmaster-options)
475 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
476 (tramp-default-method): Do not check for
477 `tramp-ssh-controlmaster-options'.
478
479 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
480 New defcustom, moved from tramp.el.
481 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
482 but with a nil initial value.
483 (tramp-ssh-controlmaster-options): New defun.
484 (tramp-do-copy-or-rename-file-out-of-band)
485 (tramp-maybe-open-connection): Use it. (Bug#20015)
486
487 2015-03-15 Tassilo Horn <tsdh@gnu.org>
488
489 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
490 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
491 (lisp--el-match-macro): New functions.
492 (lisp-mode-variables): Update lisp--el-macro-regexp and add
493 lisp--el-update-after-load to after-load-functions.
494
495 2015-03-15 Daniel Colascione <dancol@dancol.org>
496
497 * emacs-lisp/cl-indent.el
498 (lisp-indent-backquote-substitution-mode): New user option.
499 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
500 (common-lisp-indent-function): Support normally indenting
501 backquote substitutions.
502 (extended-loop-p): Rename to `lisp-extended-loop-p'.
503
504 2015-03-14 Michael R. Mauger <michael@mauger.com>
505
506 * progmodes/sql.el: Version 3.5
507 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
508 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
509
510 2015-03-14 Daniel Colascione <dancol@dancol.org>
511
512 * widget.el (define-widget): Check that documentation is a string
513 or nil; prevent wailing and gnashing of teeth when users forget to
514 pass a docstring and wonder why their properties don't work.
515
516 * startup.el (command-line): Process "--no-x-resources".
517
518 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
519
520 info-look fixes for Texinfo 5
521 * info-look.el (c-mode, bison-mode, makefile-mode)
522 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
523 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
524 Match `foo' and 'foo' and ‘foo’ for @item and similar.
525 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
526 suffix regexp.
527
528 2015-03-12 Juri Linkov <juri@linkov.net>
529
530 * simple.el (next-line-or-history-element)
531 (previous-line-or-history-element): Remember the goal column of
532 possibly multi-line input, and restore it afterwards. (Bug#19824)
533
534 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
535
536 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
537 files (bug#19335).
538
539 2015-03-12 Eli Zaretskii <eliz@gnu.org>
540
541 * international/fontset.el (script-representative-chars): Add a
542 representative character for 'vai'.
543
544 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * international/quail.el (quail-input-method):
547 Use with-silent-modifications.
548
549 * simple.el (goto-history-element): Don't burp on t history.
550
551 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
552
553 Prefer "initialize" to "initialise"
554 * progmodes/js.el (js-indent-first-init):
555 Rename from js-indent-first-initialiser, to avoid worrying about
556 American vs British spelling. All uses changed.
557
558 2015-03-10 Glenn Morris <rgm@gnu.org>
559
560 * progmodes/js.el (js-indent-first-initialiser):
561 Fix doc, type, version.
562
563 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
564
565 * progmodes/js.el (js-indent-first-initialiser): New option.
566 (js--maybe-goto-declaration-keyword-end): New function.
567 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
568
569 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
570
571 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
572 from RFC2798 Section 9.1.1. (Bug#8983)
573
574 2015-03-09 Nicolas Petton <nicolas@petton.fr>
575
576 * emacs-lisp/seq.el (seq-into): New function.
577 Bump seq.el version to 1.3.
578
579 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
580
581 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
582 `=' a part of symbol when followed by `>'. (Bug#18644)
583 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
584 (Bug#19285)
585
586 2015-03-09 Eli Zaretskii <eliz@gnu.org>
587
588 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
589
590 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
591 Thomas Fitzsimmons <fitzsim@fitzsim.org>
592
593 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
594 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
595 (eudc-bbdb-format-record-as-result): Likewise.
596
597 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
598
599 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
600 Use `font-lock-constant-face' for nil, true and false.
601 Highlight `self' as a keyword. (Bug#17733)
602
603 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
604
605 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
606 Expect beginning of regexp also after open brace or vertical bar.
607 (Bug#20026)
608
609 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * battery.el (battery-echo-area-format): Simplify default.
612 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
613 for AC adapter.
614
615 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
616 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
617 do it.
618
619 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
620
621 * net/browse-url.el (browse-url-firefox): Remove outdated
622 MS-Windows limitations.
623
624 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
625
626 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
627 obsolete.
628 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
629 Don't clean up postal addresses if ldap-ignore-attribute-codings
630 is set. Combine mail addresses into one field. (Bug#17720)
631 (eudc-ldap-simple-query-internal):
632 Call eudc-ldap-cleanup-record-filtering-addresses instead of
633 eudc-ldap-cleanup-record-simple.
634 (eudc-ldap-get-field-list): Likewise.
635
636 2015-03-05 Ivan Shmakov <ivan@siamics.net>
637
638 * net/eww.el (eww-html-p): New function (bug#20009).
639 (eww-render): Use it.
640
641 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
642
643 * desktop.el (desktop-buffer-info): Write docstring.
644 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
645 unquote lamda.
646
647 * emacs-lisp/package.el (package-refresh-contents): Update doc.
648
649 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
650
651 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
652
653 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 Replace *-function vars with generic functions in cl-generic.
656 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
657 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
658 (cl--generic-t-generalizer): New const.
659 (cl--generic-make-method): Rename from `cl--generic-method-make'.
660 (cl--generic-make): Change calling convention.
661 (cl--generic): Add `options' field.
662 (cl-generic-function-options): New function.
663 (cl-defgeneric): Rewrite handling of options. Add support for :method
664 options and allow the use of a default body.
665 (cl-generic-define): Save options in the corresponding new field.
666 (cl-defmethod): Fix ordering of qualifiers.
667 (cl-generic-define-method): Use cl-generic-generalizers.
668 (cl--generic-get-dispatcher): Change calling convention, and change
669 calling convention of the returned function as well so as to take the
670 list of methods separately from the generic function object, so that it
671 can receive the original generic function object.
672 (cl--generic-make-next-function): New function, extracted from
673 cl--generic-make-function.
674 (cl--generic-make-function): Use it.
675 (cl-generic-method-combination-function): Remove.
676 (cl--generic-cyclic-definition): New error.
677 (cl-generic-call-method): Take a generic function object rather than
678 its name.
679 (cl-method-qualifiers): New alias.
680 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
681 don't segregate by qualifiers here any more.
682 (cl--generic-standard-method-combination): Segregate by qualifiers
683 here instead. Add support for the `:extra' qualifier.
684 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
685 (cl-generic-generalizers, cl-generic-combine-methods):
686 New generic functions.
687 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
688 Use the new "default method in defgeneric" functionality, change
689 calling convention to receive a generic function object.
690 (cl--generic-head-used): New var.
691 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
692 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
693 New consts.
694 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
695 (eieio--generic-subclass-generalizer): New consts.
696 (cl-generic-generalizers): New methods.
697 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
698 (eieio--generic-static-object-generalizer): New consts.
699 (cl-generic-generalizers) <(head eieio--static)>: New method.
700 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
701 Unfold closures like lambdas.
702
703 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
704
705 * autorevert.el (auto-revert-notify-add-watch):
706 Fix handler installation. (Bug#20000)
707
708 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
709
710 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
711 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
712 (eww): Do not end error messages with a period.
713
714 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
715
716 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
717 New user option.
718 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
719 names starting with a space.
720 (tramp-methods): Add `tramp-default-port' for "adb".
721 (tramp-adb-parse-device-names): Add traces. Return device names
722 with port, if present.
723 (tramp-adb-handle-directory-files-and-attributes): Quote all
724 remote file names.
725 (tramp-adb-get-device): New defun.
726 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
727 Use it.
728 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
729 variables. Remove checks for listed devices.
730
731 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
732
733 * net/tramp.el (tramp): Add :link property.
734 (tramp-login-prompt-regexp): Allow also "user", as required by
735 Fritz!Box telnet.
736 (tramp-autoload-file-name-handler): Use "/".
737 (tramp-handle-unhandled-file-name-directory): Return nil when
738 required by the spec.
739
740 * net/tramp-cache.el (tramp-dump-connection-properties):
741 Use `with-temp-file'.
742
743 * net/tramp-sh.el (tramp-perl-file-attributes)
744 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
745 file names.
746 (tramp-do-file-attributes-with-stat): Quote file name.
747 (tramp-sh-handle-directory-files-and-attributes): Fall back to
748 `tramp-handle-directory-files-and-attributes' in case of problems.
749 (tramp-do-directory-files-and-attributes-with-stat)
750 (tramp-sh-handle-file-name-all-completions)
751 (tramp-sh-handle-delete-directory)
752 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
753 Normalize use of "cd".
754 (tramp-do-directory-files-and-attributes-with-stat): Use the
755 `quoting-style' arg of `ls' if possible. Make it also working for
756 file names with apostrophes.
757 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
758 in proper order.
759 (tramp-do-copy-or-rename-file-via-buffer)
760 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
761 (tramp-get-remote-locale): Accept also \r in output.
762 (tramp-get-ls-command-with-quoting-style): New defun.
763 (tramp-get-inline-coding): Set `default-directory' to a local
764 directory. Sporadically, `call-process-region' does not handle a
765 remote default directory properly.
766
767 * net/trampver.el: Update release number.
768
769 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
770
771 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
772 .dat files for aspell dicts are also searched for in location
773 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
774 variable.
775
776 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
777
778 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
779 (ispell-hunspell-fill-dictionary-entry)
780 (ispell-find-hunspell-dictionaries)
781 (ispell-set-spellchecker-params): New generic name for
782 `ispell-hunspell-dictionary-equivs-alist'.
783 (ispell-aspell-add-aliases): Also use
784 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
785 standard dict names.
786
787 2015-03-03 Glenn Morris <rgm@gnu.org>
788
789 * net/browse-url.el (browse-url-firefox-startup-arguments):
790 Make obsolete.
791 (browse-url-firefox): Doc fix. Remove -remote, which no longer
792 exists in Firefox 36. (Bug#19921)
793 (browse-url-firefox-sentinel): Remove function.
794
795 2015-03-03 Eli Zaretskii <eliz@gnu.org>
796
797 * frame.el (blink-cursor-timer-function): Don't increment
798 blink-cursor-blinks-done counter when a menu is active on a w32
799 frame. (Bug#19925)
800
801 2015-03-03 Juri Linkov <juri@linkov.net>
802
803 * comint.el (comint-line-beginning-position): Revert searching for
804 the prompt when comint-use-prompt-regexp is non-nil because it
805 doesn't distinguish input from output. Check the field property
806 `output' for the case when comint-use-prompt-regexp is nil.
807 (Bug#19710)
808
809 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
810
811 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
812 with PAGER=cat. (Bug#19870)
813
814 2015-03-03 Glenn Morris <rgm@gnu.org>
815
816 * textmodes/flyspell.el (flyspell-duplicate-distance):
817 Bump :version.
818
819 2015-03-03 Eli Zaretskii <eliz@gnu.org>
820
821 * textmodes/text-mode.el (text-mode-syntax-table): Make some
822 punctuation character behave as word-constituent, for more
823 compatibility with Unicode.
824
825 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
826
827 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
828
829 Improve string search in `flyspell-word-search-*`. (Bug#16800)
830 * textmodes/flyspell.el (flyspell-duplicate-distance):
831 Limit default search distance for duplicated words to 40000.
832 (flyspell-word-search-backward, flyspell-word-search-forward):
833 Search as full word with defined casechars, not as substring.
834
835 2015-03-03 Juri Linkov <juri@linkov.net>
836
837 Better support for the case of typing RET on the prompt in comint.
838 * comint.el (comint-get-old-input-default): Go to the field end
839 when comint-use-prompt-regexp is nil.
840 (comint-line-beginning-position): Check if point is already
841 on the prompt before searching for the prompt when
842 comint-use-prompt-regexp is non-nil. (Bug#19710)
843
844 2015-03-03 Eli Zaretskii <eliz@gnu.org>
845
846 * frame.el (frame-notice-user-settings): Refresh the value of
847 frame parameters after calling tty-handle-reverse-video.
848 Call face-set-after-frame-default with the actual parameters, to avoid
849 resetting colors back to unspecified.
850 (set-background-color, set-foreground-color): Pass the foreground
851 and background colors to face-set-after-frame-default. (Bug#19802)
852
853 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
854
855 * net/network-stream.el (network-stream-open-tls): Respect the
856 :end-of-capability setting.
857
858 2015-03-03 Juri Linkov <juri@linkov.net>
859
860 Revert the previous change of comint-line-beginning-position callers,
861 and modify comint-line-beginning-position instead.
862
863 * comint.el (comint-history-isearch-search)
864 (comint-history-isearch-message, comint-history-isearch-wrap):
865 Use comint-line-beginning-position instead of field-beginning.
866 (comint-send-input): Use either end-of-line or field-end
867 depending on comint-use-prompt-regexp.
868 (comint-line-beginning-position): Search backward
869 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
870 Use field-beginning instead of line-beginning-position
871 if comint-use-prompt-regexp is nil. (Bug#19710)
872
873 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
874
875 * calendar/todo-mode.el (todo-item-done): When done items are
876 hidden, restore point to its location prior to invoking this
877 command. (Bug#19727)
878
879 2015-03-03 Eli Zaretskii <eliz@gnu.org>
880
881 * textmodes/artist.el (artist-ellipse-compute-fill-info):
882 Use mapcar, not mapc, to create the other half of fill-info.
883 (Bug#19763)
884
885 2015-03-03 Nicolas Petton <nicolas@petton.fr>
886
887 * emacs-lisp/authors.el (authors-ignored-files)
888 (authors-renamed-files-alist): Additions.
889
890 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
891
892 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
893 tempfile for ControlPath. (Bug#19702)
894
895 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
896
897 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
898 ControlPath if possible. (Bug#19702)
899
900 2015-03-03 Glenn Morris <rgm@gnu.org>
901
902 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
903 (authors-valid-file-names, authors-renamed-files-alist): Additions.
904
905 2015-03-03 Alan Mackenzie <acm@muc.de>
906
907 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
908 * progmodes/cc-mode.el (c-font-lock-init):
909 Set font-lock-extend-region-functions to nil.
910
911 2015-03-03 Daniel Colascione <dancol@dancol.org>
912
913 * emacs-lisp/generator.el: Make globals conform to elisp
914 style throughout. Use more efficient font-lock patterns.
915 (cps-inhibit-atomic-optimization): Rename from
916 `cps-disable-atomic-optimization'.
917 (cps--gensym): New macro; replaces `cl-gensym' throughout.
918 (cps-generate-evaluator): Move the `iter-yield' local macro
919 definition here
920 (iter-defun, iter-lambda): from here.
921
922 (iter-defun): Use `macroexp-parse-body'.
923
924 2015-03-03 Daniel Colascione <dancol@dancol.org>
925
926 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * progmodes/gud.el: Use lexical-binding (bug#19966).
929
930 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
931
932 2015-03-03 Daniel Colascione <dancol@dancol.org>
933
934 * emacs-lisp/generator.el: Make globals conform to elisp
935 style throughout. Use more efficient font-lock patterns.
936 (cps-inhibit-atomic-optimization): Rename from
937 `cps-disable-atomic-optimization'.
938 (cps--gensym): New macro; replaces `cl-gensym' throughout.
939 (cps-generate-evaluator): Move the `iter-yield' local macro
940 definition here...
941 (iter-defun, iter-lambda): ...from here.
942
943 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
944
945 * emacs-lisp/package.el (package-autoremove): Fix if logic.
946
947 2015-03-03 Martin Rudalics <rudalics@gmx.at>
948
949 * window.el (window--dump-frame): For pixel height return total
950 number of frame's lines.
951
952 2015-03-03 Daniel Colascione <dancol@dancol.org>
953
954 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
955
956 * emacs-lisp/generator.el (iter-defun): Correctly propagate
957 docstrings and declarations to underlying function.
958
959 2015-03-02 Daniel Colascione <dancol@dancol.org>
960
961 * emacs-lisp/generator.el: New file.
962
963 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
964 `vc-responsible-backend'.
965
966 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
967
968 * vc/vc-hooks.el (vc-state, vc-working-revision):
969 Use `vc-responsible-backend' in order to support unregistered files.
970
971 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
972
973 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
974 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
975 master name.
976
977 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
978
979 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
980
981 * net/shr.el (shr-insert): Remove soft hyphens.
982 (shr-insert): Also remove soft hypens from non-folded text.
983
984 2015-02-28 Eli Zaretskii <eliz@gnu.org>
985
986 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
987 when the charset is only given by the HTML <head>, and allow to
988 specify the encoding with "C-x RET c".
989
990 2015-02-27 Mark Laws <mdl@60hz.org>
991
992 Support daemon mode on MS-Windows (bug#19688)
993 * server.el (server-process-filter): Force GUI frames on
994 MS-Windows in daemon mode, even if a TTY frame was requested.
995
996 * frameset.el (frameset-keep-original-display-p): Don't assume
997 windows-nt cannot be in daemon mode.
998
999 * frame.el (window-system-for-display): Don't assume windows-nt
1000 cannot be in daemon mode.
1001
1002 2015-02-26 Ivan Shmakov <ivan@siamics.net>
1003
1004 * faces.el (face-list-p): Split from face-at-point.
1005 (face-at-point): Use it.
1006 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
1007
1008 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
1009
1010 * vc/vc.el (vc-annotate-switches): New defcustom.
1011 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
1012 (vc-bzr-annotate-command): Use vc-switches.
1013 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
1014 (vc-cvs-annotate-command): Use vc-switches.
1015 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
1016 (vc-git-annotate-command): Use vc-switches.
1017 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
1018 (vc-hg-annotate-command): Use vc-switches.
1019 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
1020 (vc-mtn-annotate-command): Use vc-switches.
1021 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
1022 (vc-svn-annotate-command): Use vc-switches.
1023
1024 2015-02-26 Alan Mackenzie <acm@muc.de>
1025
1026 Handle "#" operator properly inside macro. Fix coding bug.
1027
1028 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1029 On finding a "#" which looks like the start of a macro, check it
1030 isn't already inside a macro.
1031
1032 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
1033 "safe" position into the list of them when this is beyond our
1034 current position.
1035
1036 2015-02-26 Martin Rudalics <rudalics@gmx.at>
1037
1038 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
1039 the menu frame is dead. (Bug#19728)
1040
1041 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1042
1043 python.el: Handle tabs in python-indent-dedent-line.
1044 * progmodes/python.el (python-indent-dedent-line): Fixes for
1045 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
1046
1047 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1048
1049 * progmodes/python.el (python-indent-context): Respect user
1050 indentation after comment.
1051
1052 2015-02-26 Tassilo Horn <tsdh@gnu.org>
1053
1054 * textmodes/reftex-vars.el (featurep): Conditionalize value of
1055 reftex-label-regexps in order to stay compatible with XEmacs 21.5
1056 which has no explicitly numbered groups in regexps (bug#19714).
1057
1058 2015-02-26 Daiki Ueno <ueno@gnu.org>
1059
1060 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
1061 integer before comparison.
1062
1063 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1064
1065 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
1066
1067 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1068
1069 * emacs-lisp/check-declare.el (check-declare-warn):
1070 Use compilation-style warnings.
1071 (check-declare-files): Make sure that
1072 `check-declare-warning-buffer' is in `compilation-mode'.
1073
1074 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1075
1076 * emacs-lisp/check-declare.el (check-declare-ext-errors):
1077 New defcustom.
1078 (check-declare): New defgroup.
1079 (check-declare-verify): When `check-declare-ext-errors' is
1080 non-nil, warn about an unfound function, instead of saying
1081 "skipping external file".
1082
1083 2015-02-25 Tassilo Horn <tsdh@gnu.org>
1084
1085 * textmodes/reftex-vars.el (reftex-include-file-commands):
1086 Call reftex-set-dirty on changes.
1087
1088 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
1091 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
1092 save-excursion.
1093
1094 2015-02-24 Glenn Morris <rgm@gnu.org>
1095
1096 * mail/rmailsum.el (rmail-summary-previous-all)
1097 (rmail-summary-previous-msg): Simplify.
1098
1099 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
1100
1101 * simple.el (region-active-p): Fix doc to say non-nil.
1102
1103 2015-02-24 Samer Masterson <nosefrog@gmail.com>
1104
1105 * eshell/em-hist.el (eshell-hist-parse-word-designator):
1106 Return args joined with " ".
1107 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
1108 (eshell-hist-parse-modifier): Pass mod a list instead of a string
1109 (bug#18960).
1110
1111 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
1112
1113 * comint.el (comint-mode-map): Fix obvious typo.
1114
1115 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
1116
1117 * filecache.el (file-cache-filter-regexps):
1118 Add lock files. (Bug#19516)
1119
1120 2015-02-24 Glenn Morris <rgm@gnu.org>
1121
1122 * mail/rmailsum.el (rmail-summary-next-all)
1123 (rmail-summary-previous-all, rmail-summary-next-msg):
1124 Fix handling of optional argument. (Bug#19916)
1125
1126 * progmodes/f90.el (f90-beginning-of-subprogram)
1127 (f90-end-of-subprogram, f90-match-end):
1128 Handle continued strings where the continuation does not start
1129 with "&" and happens to match our regexp. (Bug#19809)
1130
1131 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
1132
1133 * comint.el (comint-clear-buffer): New command.
1134 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
1135
1136 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
1137
1138 Use ${EXEEXT} more uniformly in makefiles
1139 * Makefile.in (EMACS): Append ${EXEEXT}.
1140
1141 2015-02-23 Sam Steingold <sds@gnu.org>
1142
1143 * files.el (recover-session): Handle `auto-save-list-file-prefix'
1144 being a directory (empty non-directory part).
1145
1146 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
1147
1148 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
1149 instead of sasl-scram-sha-1, as the former is the name that can be
1150 required.
1151
1152 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
1153 (sasl-scram-sha-1-client-final-message)
1154 (sasl-scram-sha-1-authenticate-server): Move to end of file.
1155
1156 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
1157
1158 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
1159 (Bug#19826)
1160
1161 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
1164 and :documentation. Change return value format accordingly.
1165 * emacs-lisp/cl-generic.el (cl--generic-lambda):
1166 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
1167 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
1168
1169 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
1170
1171 Introduce `xref-etags-mode'.
1172 * progmodes/xref.el (xref-etags-mode--saved): New variable.
1173 (xref-etags-mode): New minor mode. (Bug#19466)
1174
1175 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1176
1177 * dom.el (dom-previous-sibling): New function.
1178
1179 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
1180
1181 * bindings.el (ctl-x-map): There is no 'C-;'.
1182 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
1183 Perhaps some other binding should be chosen. (Bug#19826)
1184
1185 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
1186
1187 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
1188
1189 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
1190
1191 * autorevert.el (auto-revert-notify-add-watch)
1192 (auto-revert-notify-handler, auto-revert-buffers): Handle also
1193 buffers without an associated file, like dired buffers. (Bug#16112)
1194
1195 2015-02-21 Dima Kogan <dima@secretsauce.net>
1196
1197 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1198 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1199 wrappers. Call (auto-revert-buffers) consequently in order to
1200 install handlers.
1201
1202 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
1203
1204 Sync with upstream verilog-mode revision 0d6420b.
1205 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1206 (vector-skip-list): Remove.
1207 (verilog-auto-inst-port, verilog-auto-inst-port-list)
1208 (verilog-auto-inst, verilog-auto-inst-param):
1209 Use arguments rather than vector-skip.
1210 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1211 modport if signal attachment is itself a modport.
1212 Reported by Matthew Lovell.
1213
1214 2015-02-21 Reto Zimmermann <reto@gnu.org>
1215
1216 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1217 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1218 (vhdl-doc-release-notes): Update.
1219 (vhdl-standard): Add VHDL'08 option.
1220 (vhdl-sensitivity-list-all): New option.
1221 (vhdl-directive-keywords): Add psl.
1222 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1223 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1224 (vhdl-imenu-generic-expression): Add context, directive.
1225 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1226 (vhdl-template-map-init): Add vhdl-template-context.
1227 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1228 (vhdl-create-mode-menu): Add some entries.
1229 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1230 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1231 New constants.
1232 (vhdl-directives): New variable.
1233 (vhdl-words-init, vhdl-template-process)
1234 (vhdl-template-replace-header-keywords): Support VHDL'08.
1235 (vhdl-abbrev-list-init): Add vhdl-directives.
1236 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1237 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1238 (vhdl-lineup-comment): Handle block comments and directives.
1239 (vhdl-beginning-of-directive, vhdl-template-context)
1240 (vhdl-template-context-hook): New functions.
1241 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1242 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1243 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1244 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1245 (vhdl-scan-context-clause): Add context.
1246
1247 2015-02-20 Glenn Morris <rgm@gnu.org>
1248
1249 * calendar/solar.el (solar-sunrise-sunset-string):
1250 Shorten message a little.
1251 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1252
1253 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1254 (f90-font-lock-keywords-2): Some F2008 additions.
1255
1256 2015-02-19 Dima Kogan <dima@secretsauce.net>
1257
1258 * autorevert.el (auto-revert-buffers-counter)
1259 (auto-revert-buffers-counter-lockedout): New variables.
1260 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1261 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1262 suppressed by lockout. (Bug#18958)
1263
1264 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1267 returns classes, not class names (bug#19891).
1268
1269 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1270
1271 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1272
1273 2015-02-18 Kelly Dean <kelly@prtime.org>
1274
1275 * register.el (jump-to-register):
1276 * emacs-lisp/lisp.el (check-parens):
1277 Push mark before goto-char so user doesn't lose his previous place.
1278
1279 2015-02-18 Kelly Dean <kelly@prtime.org>
1280
1281 * rect.el (rectangle-mark-mode):
1282 Suppress superfluous "Mark set" message from push-mark.
1283
1284 2015-02-18 Kelly Dean <kelly@prtime.org>
1285
1286 * help-mode.el (help-go-back, help-go-forward, help-follow):
1287 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1288 * winner.el (winner-redo):
1289 * windmove.el (windmove-do-window-select):
1290 * register.el (jump-to-register, increment-register, insert-register)
1291 (append-to-register, prepend-to-register):
1292 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1293 (set-visited-file-name):
1294 * emacs-lisp/lisp.el (kill-backward-up-list):
1295 Use user-error instead of error. (Bug#14480)
1296
1297 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1300 assumptions about window ordering.
1301
1302 2015-02-16 Kelly Dean <kelly@prtime.org>
1303
1304 * files.el (insert-file-contents-literally): Fix docstring typo.
1305
1306 2015-02-16 Kelly Dean <kelly@prtime.org>
1307
1308 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1309 arguments correctly. (Bug#19685)
1310 (define-minor-mode): Clarify docstring.
1311 Clarify mode switch messages for minor modes. (Bug#19690)
1312
1313 2015-02-16 Kelly Dean <kelly@prtime.org>
1314
1315 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1316 Create valid tar files. (Bug#19536)
1317
1318 2015-02-16 Kelly Dean <kelly@prtime.org>
1319
1320 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1321 (Bug#19059)
1322
1323 2015-02-16 Kelly Dean <kelly@prtime.org>
1324
1325 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1326 buffer, and prevent interference with existing buffer. (Bug#13190)
1327
1328 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1329
1330 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1331
1332 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1333 Do not deactivate mark on fontification.
1334
1335 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1336
1337 * net/eww.el: Fix desktop support. (Bug#19226)
1338 (eww-mode): Add autoload cookie.
1339 (eww-restore-desktop): Use inhibit-read-only.
1340
1341 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1342 add-hook works correctly even if the file is not yet loaded.
1343
1344 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1347 eieio-constructor.
1348 (set-slot-value): Mark as obsolete.
1349 (eieio-object-class-name): Improve call to eieio-class-name.
1350 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1351 (object-slots): Use it. Declare obsolete.
1352 (eieio-constructor): Merge it with `make-instance'.
1353 (initialize-instance): Use `dolist'.
1354 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1355 Use eieio--class-print-name.
1356
1357 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1358 (eieio-class-name): Make it do what the docstring claims.
1359 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1360 (eieio--slot-name-index): Simplify accordingly.
1361 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1362 name to `slot-unbound'.
1363
1364 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1365 than on eieio-constructor.
1366
1367 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1370 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1371 about relationship between `type', `named', and `slots'.
1372 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1373 value of `cl-struct-type' property.
1374
1375 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1376
1377 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1378 with PAGER=cat. (Bug#19870)
1379
1380 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1381
1382 * emacs-lisp/package.el (package-read-all-archive-contents):
1383 Don't build the compatibility table.
1384 (package-refresh-contents, package-initialize): Do build the
1385 compatibility table.
1386 (package--build-compatibility-table): New function.
1387 (describe-package-1): Describe why a package is incompatible.
1388
1389 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1392 of the parent.
1393 (cl--assertion-failed): New function.
1394 (cl-assertion-failed): Move in from cl-lib.el.
1395
1396 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1397 as children of its parents.
1398 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1399 (cl-typep): Reimplement using define-inline.
1400 (cl-assert): Use cl--assertion-failed.
1401 (cl-struct-slot-value): Use define-inline.
1402
1403 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1404
1405 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1406 (flyspell-generic-check-word-p): Mark as obsolete.
1407
1408 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1409
1410 * emacs-lisp/package.el (package--compatibility-table): New var.
1411 (package--add-to-compatibility-table): New function.
1412 (package-read-all-archive-contents): Populate compatibility table.
1413 (package--incompatible-p): Also look in dependencies.
1414 (describe-package-1): Fix "incompat" handling.
1415
1416 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1417
1418 * net/rfc2104.el: Moved here from lisp/gnus.
1419
1420 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1421
1422 * net/sasl-scram-rfc.el: New file.
1423
1424 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1425 Add SCRAM-SHA-1 first.
1426 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1427 entry (bug#17636).
1428
1429 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1430
1431 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1432 <ul>.
1433
1434 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1435
1436 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1437 (gdb-inferior-filter): Don't pop up the buried output buffer when
1438 `gdb-display-io-nopopup' is non-nil.
1439
1440 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1441
1442 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1443
1444 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1445 Don't require a running process.
1446 (python-shell-font-lock-post-command-hook): Fontify only if the
1447 shell process is running.
1448
1449 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * hi-lock.el (hi-lock-unface-buffer): Don't call
1452 font-lock-remove-keywords if not needed (bug#19796).
1453
1454 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1455
1456 * emacs-lisp/package.el (package-install): Invert the second
1457 argument, for better backwards compatibility.
1458 (package-install-button-action, package-reinstall)
1459 (package-menu-execute): Account for the change.
1460
1461 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1462
1463 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1464 version of seq-reverse that works on sequences in Emacs 24.
1465 Bump seq.el version to 1.2.
1466
1467 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1468
1469 * emacs-lisp/package.el (package--incompatible-p): New function.
1470 Return non-nil if PKG has no chance of being installable.
1471 (package--emacs-version-list): New variable.
1472 (describe-package-1, package-desc-status)
1473 (package-menu--print-info, package-menu--status-predicate):
1474 Account for the "incompat" status.
1475
1476 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1477
1478 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1479 Rename frame parameter `maximized' to `fullscreen-restore'.
1480 Restore fullwidth/-height after fullboth state. Update doc-strings.
1481
1482 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1483
1484 * net/shr.el (shr-insert): Make sure the space inserted has the
1485 right font (for width).
1486 (shr-fill-line): Preserve background colours when indenting/folding.
1487 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1488 item in a <li>.
1489
1490 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1491
1492 * net/shr.el (shr-use-fonts): New variable.
1493 (shr-fill-text): Rename from "fold".
1494 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1495 New functions.
1496 (shr-insert): Just insert, don't fill the text. Filling is now
1497 done afterwards per display unit.
1498 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1499 per-unit base.
1500 (shr-find-fill-point): Take a "beginning" parameter.
1501 (shr-indent): Indent using the :width display parameter when using
1502 fonts.
1503 (shr-parse-style): Ignore "inherit" values, since we already do that.
1504 (shr-tag-img): Remove the insertion states.
1505 (shr-tag-blockquote): New-style filling.
1506 (shr-tag-dd): Ditto.
1507 (shr-tag-li): Ditto.
1508 (shr-mark-fill): New function to mark lines that need filling.
1509 (shr-tag-h1): Use a larger font.
1510 (shr-tag-table-1): Get the natural and suggested widths in one
1511 rendering.
1512 (shr-tag-table): Create the "fixed" version of the table only once
1513 so that we can cache data in the table.
1514 (shr-insert-table): Get colspan calculations right by having
1515 zero-width columns after colspan ones.
1516 (shr-expand-alignments): New function to make :align-to specs work
1517 right when rendered in one buffer and displayed in another one.
1518 (shr-insert-table-ruler): Use :align-to to get the widths right.
1519 (shr-make-table): Cache more.
1520 (shr-make-table-1): Use the new <td> data layout.
1521 (shr-pixel-buffer-width): New function.
1522 (shr-render-td): Add a caching layer.
1523 (shr-dom-max-natural-width): New function.
1524 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1525 (shr-tag-tt): New function.
1526 (shr-tag-hr): Compute the right length when using fonts.
1527 (shr-table-widths): Off-by-one error in width computation.
1528 (shr-expand-newlines): Remove dead code.
1529 (shr-insert-table): Extend background colors to the end of the column.
1530 (shr-insert-table): Only copy the background, not underline and
1531 the like.
1532 (shr-face-background): New function.
1533
1534 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1535
1536 python.el: Improved shell font lock respecting markers. (Bug#19650)
1537
1538 * progmodes/python.el
1539 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1540 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1541 (python-shell-font-lock-post-command-hook): Fontify by copying text
1542 properties from fontified buffer to shell, keeping markers unchanged.
1543 (python-shell-font-lock-turn-off): Fix typo.
1544 (python-util-text-properties-replace-name): Delete function.
1545
1546 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1547
1548 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1549 return sequence elements in correct order.
1550
1551 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1552
1553 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1554
1555 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1558
1559 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1560 case where the default value would be re-interpreted as a form!
1561
1562 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1563
1564 * help-fns.el (help-fns--signature): Keep doc for keymap.
1565
1566 2015-02-09 Kelly Dean <kelly@prtime.org>
1567
1568 * desktop.el: Save mark-ring less verbosely.
1569 (desktop-var-serdes-funs): New var.
1570 (desktop-buffer-info, desktop-create-buffer): Use it.
1571 (desktop-file-version): Update to 208.
1572
1573 2015-02-09 Leo Liu <sdl.web@gmail.com>
1574
1575 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1576
1577 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1578
1579 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1580
1581 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1582
1583 Port to platforms lacking test -a and -o
1584 * Makefile.in (compile-clean):
1585 * net/tramp-sh.el (tramp-find-executable):
1586 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1587
1588 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1589
1590 * newcomment.el (comment-line): Fix missing paren.
1591
1592 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1593
1594 * play/gamegrid.el: Update comment to reflect that the
1595 'update-game-score' helper program is now setgid by default.
1596
1597 2015-02-08 David Kastrup <dak@gnu.org>
1598
1599 * subr.el (apply-partially): Use lexical binding here.
1600
1601 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1602
1603 * newcomment.el (comment-line): New command.
1604
1605 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1606
1607 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1608
1609 * outline.el (outline-show-entry): Fix one invisible char for the
1610 file's last outline. (Bug#19493)
1611
1612 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * subr.el (indirect-function): Change advertised calling convention.
1615
1616 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1617
1618 python.el: Fix completion-at-point. (Bug#19667)
1619
1620 * progmodes/python.el
1621 (python-shell-completion-native-get-completions): Force process buffer.
1622 (python-shell-completion-at-point): Handle case where call is not
1623 in a shell buffer.
1624
1625 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1626
1627 python.el: Fix shell font-lock multiline input. (Bug#19744)
1628
1629 * progmodes/python.el
1630 (python-shell-font-lock-post-command-hook): Handle multiline input.
1631
1632 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1633
1634 python.el: Make shell font-lock respect markers. (Bug#19650)
1635
1636 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1637 Use `erase-buffer`.
1638 (python-shell-font-lock-comint-output-filter-function):
1639 Handle newlines.
1640 (python-shell-font-lock-post-command-hook): Respect markers on
1641 text fontification.
1642
1643 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1644
1645 python.el: Keep eldoc visible while typing args. (Bug#19637)
1646 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1647 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1648 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1649
1650 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1651
1652 Fix hideshow integration. (Bug#19761)
1653 * progmodes/python.el
1654 (python-hideshow-forward-sexp-function): New function based on
1655 Carlos Pita <carlosjosepita@gmail.com> patch.
1656 (python-mode): Make `hs-special-modes-alist` use it and initialize
1657 the end regexp with the empty string to avoid skipping parens.
1658
1659 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1660
1661 * progmodes/python.el (python-check-custom-command): Do not use
1662 defvar-local for compat with Emacs<24.3.
1663
1664 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1665
1666 * frame.el (frame-notice-user-settings):
1667 Update `frame-size-history'.
1668 (make-frame): Update `frame-size-history'.
1669 Call `frame-after-make-frame'.
1670 * faces.el (face-set-after-frame-default): Remove call to
1671 frame-can-run-window-configuration-change-hook.
1672
1673 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1674
1675 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1676 `vc-cvs-command' (bug#19732).
1677
1678 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1679
1680 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1681 New functions.
1682 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1683 (seq--drop-list, seq--take-list, seq--take-while-list):
1684 Better docstring.
1685
1686 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1687
1688 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1689 `image-kill-buffer' instead.
1690
1691 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1692
1693 * net/ldap.el (ldap-search-internal): Fix docstring.
1694
1695 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1696
1697 * subr.el (define-error): The error conditions may be constant
1698 lists, so use `append' to concatenate them.
1699
1700 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1701
1702 * net/network-stream.el (network-stream-open-tls): Respect the
1703 :end-of-capability setting.
1704
1705 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1706
1707 * emacs-lisp/package.el (package--sort-by-dependence):
1708 New function. Return PACKAGE-LIST sorted by dependencies.
1709 (package-menu-execute): Use it to delete packages in order.
1710 (package--sort-deps-in-alist): New function.
1711 (package-menu-mark-install): Can mark dependencies.
1712 (package--newest-p): New function.
1713 (package-delete): Don't deselect when deleting an older version of
1714 an upgraded package.
1715
1716 * emacs-lisp/package.el: Add missing (require 'subr-x)
1717
1718 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1721 hyphenated (bug#19263).
1722
1723 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1724 of variable interpolation (bug#19751).
1725
1726 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1727
1728 * json.el (json-end-of-file): New error (bug#19768).
1729 (json-pop, json-read): Use it.
1730
1731 2015-02-05 Kelly Dean <kelly@prtime.org>
1732
1733 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1734 `describe-variable'.
1735
1736 * help-fns.el (describe-function-or-variable): New function.
1737
1738 * help.el (help-map): Bind `describe-function-or-variable' to o.
1739 (help-for-help-internal): Document o key.
1740
1741 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1744 special (:documentation ...) feature.
1745 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1746 (eieio-make-child-predicate): Same.
1747 (eieio-copy-parents-into-subclass): Remove unused arg.
1748 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1749 `pname' var.
1750 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1751 callers accordingly.
1752
1753 * emacs-lisp/cconv.el (cconv--convert-function):
1754 Add `docstring' argument.
1755 (cconv-convert): Use it to handle the new (:documentation ...) form.
1756 (cconv-analyze-form): Handle the new (:documentation ...) form.
1757
1758 * emacs-lisp/bytecomp.el:
1759 (byte-compile-initial-macro-environment): Use macroexp-progn.
1760 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1761 (byte-compile-file-form-defvar-function): Rename from
1762 byte-compile-file-form-define-abbrev-table.
1763 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1764 (byte-compile): Use byte-compile-top-level rather than
1765 byte-compile-lambda so we can compile non-values.
1766 (byte-compile-form): Add warnings for failed uses of lexical vars via
1767 quoted symbols.
1768 (byte-compile-unfold-bcf): Improve message for failed inlining.
1769 (byte-compile-make-closure): Handle new format of internal-make-closure
1770 for dynamically-generated docstrings.
1771
1772 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1773 (open-line): Delete like all other commands, instead of killing.
1774 (delete-active-region): Don't define any return any value.
1775
1776 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1777 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1778 default.
1779
1780 2015-02-04 Sam Steingold <sds@gnu.org>
1781
1782 * progmodes/python.el (python-indent-calculate-indentation):
1783 Avoid the error when computing top-level indentation.
1784
1785 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1788
1789 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1790 (mail-mode-flyspell-verify): Fix last change.
1791 (flyspell-external-point-words, flyspell-large-region):
1792 Avoid add-to-list on local vars.
1793
1794 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1795
1796 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1797 void-variable error.
1798
1799 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1800
1801 * image-mode.el (image-kill-buffer): New command.
1802 (image-mode-map): Bind it to k.
1803
1804 * emacs-lisp/package.el (package-delete): Remove package from
1805 `package-selected-packages' even if it can't be deleted.
1806 (package-installed-p): Accept package-desc objects.
1807 (package-install): Can be used to mark dependencies as
1808 selected. When given a package-desc object which is already
1809 installed, the package is not downloaded again, but it is marked
1810 as selected (if it wasn't already).
1811 (package-reinstall): Accept package-desc objects.
1812
1813 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1814
1815 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1816 (package--get-deps): delete-dups when ONLY is nil.
1817 (package-autoremove): Warn the user if `package-selected-packages'
1818 is empty.
1819
1820 (package--user-selected-p): New function.
1821 (package-delete, package-install, package-install-from-buffer):
1822 Use it
1823 (package-selected-packages): Mention it.
1824
1825 (package-initialize): Don't populate `package-selected-packages'.
1826 (package-install-user-selected-packages, package-autoremove):
1827 Special handling for empty `package-selected-packages'.
1828 (package-install): Fix when PKG is a package-desc.
1829
1830 (package-desc-status): Add "dependency" status to the Package
1831 Menu.
1832 (package-menu--status-predicate, package-menu--print-info)
1833 (package-menu-mark-delete, package-menu--find-upgrades)
1834 (package-menu--status-predicate, describe-package-1): Use it
1835
1836 (package--removable-packages): New function.
1837 (package-autoremove): Use it.
1838 (package-menu-execute): Offer to remove unneeded packages.
1839
1840 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1841 tar-desc.
1842
1843 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1844
1845 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1846 (package-delete): New NOSAVE argument.
1847
1848 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1849
1850 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1851 (tramp-open-shell, tramp-maybe-open-connection): Set also
1852 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1853
1854 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1855
1856 * emacs-lisp/package.el (package--find-non-dependencies):
1857 New function.
1858 (package-initialize): Use it to populate `package-selected-packages'.
1859 (package-menu-execute): Clean unnecessary `and'.
1860 (package--get-deps): Fix returning duplicates.
1861
1862 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1865 Use it as default.
1866 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1867 (Bug#19731)
1868
1869 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1870
1871 * emacs-lisp/package.el (package-delete): Remove package from
1872 package-selected-packages.
1873 (package-autoremove): Remove unneeded variable.
1874
1875 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1876
1877 * emacs-lisp/package.el (package-selected-packages): Fix :type
1878 (package-install): Rename ARG to MARK-SELECTED.
1879 (package--get-deps): Fix for indirect dependencies.
1880 (package-used-elsewhere-p): Rename to
1881 (package--used-elsewhere-p): New function.
1882 (package-reinstall, package-user-selected-packages-install)
1883 (package-autoremove): Use sharp-quote.
1884 (package-user-selected-packages-install): Reindent and rename to
1885 (package-install-user-selected-packages): New function.
1886
1887 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1888
1889 * emacs-lisp/package.el: Don't allow deleting dependencies.
1890
1891 (package-used-elsewhere-p): New function.
1892 (package-delete): Use it, return now an error when trying to
1893 delete a package used as dependency by another package.
1894
1895 Add a reinstall package command.
1896 (package-reinstall): New function.
1897
1898 Add a package-autoremove command.
1899 (package-selected-packages): New user var.
1900 (package-install): Add an optional arg to notify interactive use.
1901 Fix docstring. Save installed package to
1902 packages-installed-directly.
1903 (package-install-from-buffer): Same.
1904 (package-user-selected-packages-install): Allow installing all
1905 packages in packages-installed-directly at once.
1906 (package--get-deps): New function.
1907 (package-autoremove): New function.
1908 (package-install-button-action): Call package-install with
1909 interactive arg.
1910 (package-menu-execute): Same but only for only for not installed
1911 packages.
1912
1913 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1916 and eieio-make-child-predicate.
1917 (eieio-class-parents): Use eieio--class-object.
1918 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1919 (slot-exists-p): Use find-class.
1920
1921 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1922 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1923 convention for eieio-class-def.
1924 (eieio-build-class-list): Remove function, unused.
1925 (eieio-method-def): Remove button type, unused.
1926 (eieio-class-def): Inherit from help-function-def.
1927 (eieio--defclass-regexp): New constant.
1928 (find-function-regexp-alist): Use it.
1929 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1930 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1931 Remove functions.
1932
1933 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1934 Use cl-check-type everywhere instead.
1935 (eieio-class-object): Remove, use find-class instead when needed.
1936 (class-p): Don't inline.
1937 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1938 such as eieio classes, as objects. Don't inline.
1939 (object-p): Mark as obsolete.
1940 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1941 (eieio--generic-tagcode): Avoid `class-p'.
1942 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1943 (eieio-defclass-internal): Use current-load-list rather than
1944 `class-location'.
1945
1946 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1947
1948 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1951 since it may be "equivalent" in some sense, yet different (bug#19734).
1952
1953 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1954
1955 * outline.el (outline-font-lock-face): Add docstring.
1956 (outline-invisible-p): Improve docstring.
1957 (outline-invent-heading): Add docstring.
1958 (outline-promote): Improve docstring.
1959 (outline-demote): Improve docstring.
1960 (outline-head-from-level): Improve docstring.
1961 (outline-end-of-heading): Add docstring.
1962 (outline-next-visible-heading): Improve docstring.
1963 (outline-previous-visible-heading): Improve docstring.
1964 (outline-hide-region-body): Improve docstring.
1965 (outline-flag-subtree): Add docstring.
1966 (outline-end-of-subtree): Add docstring.
1967 (outline-headers-as-kill): Improve docstring.
1968
1969 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1970
1971 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1972 (hide-entry): Declare as obsolete.
1973 (outline-show-entry): Rename from `show-entry'.
1974 (show-entry): Declare as obsolete.
1975 (outline-hide-body): Rename from `hide-body'.
1976 (hide-body): Declare as obsolete.
1977 (outline-hide-region-body): Rename from `hide-region-body'.
1978 (hide-region-body): Declare as obsolete.
1979 (outline-show-all): Rename from `show-all'.
1980 (show-all): Declare as obsolete.
1981 (outline-hide-subtree): Rename from `hide-subtree'.
1982 (hide-subtree): Declare as obsolete.
1983 (outline-hide-leaves): Rename from `hide-leaves'.
1984 (hide-leaves): Declare as obsolete.
1985 (outline-show-subtree): Rename from `show-subtree'.
1986 (show-subtree): Declare as obsolete.
1987 (outline-hide-sublevels): Rename from `hide-sublevels'.
1988 (hide-sublevels): Declare as obsolete.
1989 (outline-hide-other): Rename from `hide-other'.
1990 (hide-other): Declare as obsolete.
1991 (outline-show-children): Rename from `show-children'.
1992 (show-children): Declare as obsolete.
1993 (outline-show-branches): Rename from `show-branches'.
1994 (show-branches): Declare as obsolete.
1995
1996 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1997
1998 * outline.el (outline-mode): Clean up docstring.
1999 (font-lock-warning-face): Remove obsolete declaration.
2000 (outline-font-lock-face): Remove obsolete comment.
2001
2002 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2003
2004 * custom.el (defface): Set `indent' to 1.
2005
2006 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2007
2008 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
2009
2010 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
2011
2012 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
2013 is set, but user has just been asked whether they really want to
2014 kill Emacs (for example with a ‘Modified buffers exist; exit
2015 anyway?’ prompt), do not ask them for another confirmation.
2016
2017 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
2018
2019 * calc/calc-units.el (calc-convert-exact-units): New function.
2020 (calc-convert-units): Check for missing units.
2021 (math-consistent-units-p): Strengthen the test for consistent units.
2022
2023 * calc/calc-ext.el (calc-init-extensions): Autoload
2024 `calc-convert-exact-units' and assign it a keybinding.
2025
2026 * calc/calc-help (calc-u-prefix-help): Add help for the
2027 "un" keybinding.
2028
2029 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * emacs-lisp/cl.el (cl--function-convert): Simplify.
2032
2033 2015-01-28 Tassilo Horn <tsdh@gnu.org>
2034
2035 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
2036 punctuation syntax since to allow bibtex fields with values such
2037 as {Test 1) and 2)} (bug#19205, bug#19707).
2038 (reftex--prepare-syntax-tables): New function.
2039 (reftex-mode): Use it.
2040
2041 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
2042
2043 python.el: New non-global state dependent indentation engine.
2044 (Bug#18319, Bug#19595)
2045 * progmodes/python.el (python-syntax-comment-or-string-p):
2046 Accept PPSS as argument.
2047 (python-syntax-closing-paren-p): New function.
2048 (python-indent-current-level)
2049 (python-indent-levels): Mark obsolete.
2050 (python-indent-context): Return more context cases.
2051 (python-indent--calculate-indentation)
2052 (python-indent--calculate-levels): New functions.
2053 (python-indent-calculate-levels): Use them.
2054 (python-indent-calculate-indentation, python-indent-line):
2055 (python-indent-line-function): Rewritten to use new API.
2056 (python-indent-dedent-line): Simplify logic.
2057 (python-indent-dedent-line-backspace): Use `unless`.
2058 (python-indent-toggle-levels): Delete function.
2059
2060 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
2061
2062 * subr.el (posnp): Correct docstring of `posnp'.
2063 (posn-col-row): Make it work with all mouse position objects.
2064 * textmodes/artist.el (artist-mouse-draw-continously):
2065 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
2066
2067 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2068
2069 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
2070
2071 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
2072
2073 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
2074 Adapt docstring.
2075 (file-notify--descriptor): New defun.
2076 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
2077 Adapt docstring. Handle multiple values for
2078 `file-notify-descriptors' entries. (Bug#18880)
2079
2080 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
2081 `file-notify-descriptors', the implementation has been changed.
2082
2083 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2084
2085 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
2086 On MS-Windows, bind coding-system-for-read to the console output
2087 codepage. (Bug#19458)
2088
2089 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
2090
2091 Unbreak `mouse-action' property in text buttons.
2092 * button.el (push-button): Fix regression from 2012-12-06.
2093
2094 2015-01-28 Glenn Morris <rgm@gnu.org>
2095
2096 * progmodes/sh-script.el (sh-mode): Doc fix.
2097 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
2098
2099 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
2100
2101 Fix dired quoting bug with "Hit`N`Hide".
2102 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
2103
2104 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 Tighten up the tagcode used for eieio and cl-struct objects.
2107 * loadup.el: Load cl-preloaded.
2108 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
2109 slot of the tag symbol to :quick-object-witness-check.
2110 (eieio-object-p): Use :quick-object-witness-check.
2111 (eieio--generic-tagcode): Use cl--generic-struct-tag.
2112 * emacs-lisp/cl-preloaded.el: New file.
2113 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
2114 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
2115 (cl--make-usage-args): Strip away &aux args.
2116 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
2117 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
2118 (cl-defstruct): Use `declare' and cl-struct-define.
2119 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
2120 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
2121
2122 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2123
2124 * emacs-lisp/cl.el (cl--function-convert):
2125 Merge cache that cl--labels-convert adds (bug#19699).
2126
2127 2015-01-27 Ivan Shmakov <ivan@siamics.net>
2128
2129 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
2130 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
2131 (tar-header-serialize): New functions.
2132 (tar-current-position): Split from tar-current-descriptor.
2133 (tar-current-descriptor): Use it.
2134 (tar-new-entry): New command.
2135 (tar-mode-map): Bind it.
2136
2137 2015-01-27 Sam Steingold <sds@gnu.org>
2138
2139 * progmodes/python.el (python-check-custom-command): Buffer local
2140 because it usually includes the buffer name.
2141 (python-check-command): Set to epylint when pyflakes is not available.
2142
2143 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
2144
2145 * isearch.el (isearch-process-search-char): Add docstring.
2146
2147 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
2148
2149 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
2150
2151 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2152
2153 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
2154 for the case cl-flet or cl-labels form is wrapped with lexical-let
2155 (bug#19613).
2156
2157 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
2160 (cl--generic): The method-table is now a (list-of cl--generic-method).
2161 (cl--generic-member-method): New function.
2162 (cl-generic-define-method): Use it.
2163 (cl--generic-build-combined-method, cl--generic-cache-miss):
2164 Adapt to new method-table.
2165 (cl--generic-no-next-method-function): Add `method' argument.
2166 (cl-generic-call-method): Adapt to new method representation.
2167 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
2168 (cl-find-method, cl-method-qualifiers): New functions.
2169 (cl--generic-method-info): Adapt to new method representation.
2170 Return a string for the qualifiers.
2171 (cl--generic-describe):
2172 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
2173 (eieio-all-generic-functions, eieio-method-documentation):
2174 Adjust to new method representation.
2175
2176 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
2177
2178 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * emacs-lisp/cl-generic.el: Add a method-combination hook.
2181 (cl-generic-method-combination-function): New var.
2182 (cl--generic-lambda): Remove `with-cnm' arg.
2183 (cl-defmethod): Change accordingly.
2184 (cl-generic-define-method): Don't check qualifiers validity.
2185 Preserve all qualifiers in `method-table'.
2186 (cl-generic-call-method): New function.
2187 (cl--generic-nest): Remove (morph into cl-generic-call-method).
2188 (cl--generic-build-combined-method): Adjust to new format of method-table
2189 and use cl-generic-method-combination-function.
2190 (cl--generic-standard-method-combination): New function, extracted from
2191 cl--generic-build-combined-method.
2192 (cl--generic-cnm-sample): Adjust to new format of method-table.
2193
2194 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2195 instead of :primary.
2196
2197 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2198 Remove obsolete function.
2199
2200 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
2201
2202 * net/shr.el (shr-make-table-1): Fix colspan typo.
2203 (shr-make-table-1): Add comments.
2204 (shr-make-table-1): Make colspan display more sensibly.
2205
2206 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2207 slightly.
2208
2209 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2212 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2213 (bug#19672).
2214 (cl--generic-typeof-types): Add support for `sequence'.
2215 (cl-defmethod): Add non-keywords in the qualifiers.
2216
2217 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2218
2219 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2220 `defgroup' (regression from the previous change here).
2221
2222 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2223
2224 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2225 credentials error message.
2226
2227 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2228
2229 * net/ldap.el (ldap-password-read): Validate password before
2230 caching it.
2231 (ldap-search-internal): Handle ldapsearch error conditions.
2232
2233 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2234
2235 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2236
2237 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2238
2239 * net/eudc.el (eudc-expand-inline): Always restore former server
2240 and protocol.
2241
2242 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2243
2244 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2245 provided by the LDAP system configuration file.
2246
2247 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2248
2249 * net/eudc.el (eudc-format-query): Preserve the
2250 eudc-inline-query-format ordering of attributes in the returned list.
2251 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2252 Append the LDAP wildcard character to the last attribute value.
2253
2254 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2255
2256 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2257 Downcase field names of LDAP results.
2258 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2259
2260 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2261
2262 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2263 (ldap-search-internal): Send password to ldapsearch through a pipe
2264 instead of via the command line.
2265
2266 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2267
2268 * net/ldap.el: Require password-cache.
2269 (ldap-password-read): New function.
2270 (ldap-search-internal): Call ldap-password-read when it is
2271 configured to be called.
2272
2273 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2274
2275 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2276 Change default to nil.
2277
2278 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2279
2280 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2281 string-to-expand.
2282
2283 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2284
2285 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2286 format that includes first name and surname.
2287
2288 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2289
2290 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2291 query email and first name instead of surname.
2292
2293 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2294
2295 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2296
2297 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2298
2299 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2300 eudc-server-hotlist.
2301 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2302 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2303 (eudc-set-server): Allow setting protocol to nil.
2304 (eudc-expand-inline): Support hotlist-only expansions when server
2305 is not set.
2306
2307 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2310 (cl--generic-build-combined-method): Use it.
2311
2312 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2313
2314 Don't downcase system diagnostics' first letters
2315 * emacs-lisp/bytecomp.el (byte-compile-file):
2316 * ffap.el (find-file-at-point):
2317 * files.el (insert-file-1):
2318 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2319 (ange-ftp-copy-file-internal):
2320 * progmodes/etags.el (visit-tags-table):
2321 Keep diagnostics consistent with system's.
2322 * ffap.el (ffap-machine-p):
2323 Ignore case while comparing diagnostics.
2324
2325 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2328 arg (bug#19645).
2329 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2330 body with a docstring.
2331
2332 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2333
2334 * progmodes/xref.el (xref-location-marker, xref-location-group):
2335 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2336 counterparts.
2337
2338 * progmodes/etags.el (xref-location-marker): Same.
2339
2340 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2341 (xref--inhibit-mark-current): Rename from
2342 `xref--inhibit-mark-selected'. Update the usages.
2343 (xref-quit): Reword the docstring. Kill buffers after quitting
2344 windows instead of before.
2345 (xref--insert-xrefs): Tweak help-echo.
2346 (xref--read-identifier-history, xref--read-pattern-history):
2347 New variables.
2348 (xref--read-identifier, xref-find-apropos): Use them.
2349
2350 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2351
2352 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2353 Allow the 'update-game-score' helper program to run suid or sgid.
2354
2355 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * emacs-lisp/eieio.el: Use cl-defmethod.
2358 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2359 (eieio-object-name-string): Declare as obsolete.
2360
2361 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2362 (eieio--specializers-apply-to-class-p): New function.
2363 (eieio-all-generic-functions): Use it.
2364 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2365 Change format of return value.
2366 (eieio-help-class): Adapt accordingly.
2367
2368 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2369 errors when there's a `before' but no `primary' (bug#19645).
2370 (next-method-p): Return nil rather than signal an error.
2371 (eieio-defgeneric): Remove bogus (fboundp 'method).
2372
2373 * emacs-lisp/eieio-speedbar.el:
2374 * emacs-lisp/eieio-datadebug.el:
2375 * emacs-lisp/eieio-custom.el:
2376 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2377
2378 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2379 (cl--generic-setf-rewrite): Setup the setf expander right away.
2380 (cl-defmethod): Make sure the setf expander is setup before we expand
2381 the body.
2382 (cl-defmethod): Silence byte-compiler warnings.
2383 (cl-generic-define-method): Shuffle code to change return value.
2384 (cl--generic-method-info): New function, extracted from
2385 cl--generic-describe.
2386 (cl--generic-describe): Use it.
2387
2388 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2389
2390 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2391 the major mode. Remap `quit-window' to `xref-quit'.
2392 (xref--xref-buffer-mode): Inherit from special-mode.
2393
2394 xref: Keep track of temporary buffers (bug#19466).
2395 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2396 (xref--inhibit-mark-selected): New variables.
2397 (xref--mark-selected): New function.
2398 (xref--show-location): Maybe add the buffer to
2399 `xref--temporary-buffers', add `xref--mark-selected' to
2400 `buffer-list-update-hook' there.
2401 (xref--window): Add docstring.
2402 (xref-quit): Rename from `xref--quit'. Update both references.
2403 Add KILL argument. When it's non-nil, kill the temporary buffers
2404 that haven't been selected by the user.
2405 (xref--show-xref-buffer): Change the second argument to alist,
2406 extract the values for `xref--window' and
2407 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2408 `buffer-list-update-hook' to each buffer in the list.
2409 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2410 here. Save the difference between buffer lists before and after
2411 it's called as "temporary buffers", and `pass it to
2412 `xref-show-xrefs-function'.
2413 (xref--find-definitions, xref-find-references)
2414 (xref-find-apropos): Update accordingly.
2415
2416 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2417
2418 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2419
2420 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * emacs-lisp/eieio-generic.el: Remove.
2423 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2424 * emacs-lisp/eieio-compat.el: New file.
2425 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2426 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2427 Remove unused function.
2428 (eieio-defclass): Move to eieio-compat.el.
2429 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2430 (macroexp--expand-all): Use it.
2431 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2432
2433 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2434
2435 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2436 major modes should use `add-function' to alter value of the variable.
2437 * hexl.el (hexl-mode):
2438 * ielm.el (inferior-emacs-lisp-mode):
2439 * progmodes/cfengine.el (cfengine3-mode):
2440 * progmodes/elisp-mode (emacs-lisp-mode):
2441 * progmodes/octave.el (octave-mode):
2442 * progmodes/python.el (python-mode):
2443 * simple.el (read--expression): Set `eldoc-documentation-function'
2444 using `add-function' so the default value is always used.
2445
2446 * descr-text.el (describe-char-eldoc): New function returning
2447 basic Unicode codepoint information (e.g. name) about character
2448 at point. It is meant to be used as a default value of the
2449 `eldoc-documentation-function' variable.
2450 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2451 New helper functions for `describe-char-eldoc' function.
2452
2453 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2454
2455 * textmodes/paragraphs.el (sentence-end-base): Include an
2456 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2457 and a closing single quote (’) as an end of a quote.
2458
2459 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2460
2461 * textmodes/tildify.el (tildify-double-space-undos): A new
2462 variable specifying whether pressing space in `tildify-mode' after
2463 a space has been replaced with hard space undos the substitution.
2464 (tildify-space): Add code branch for handling `tildify-doule-space'.
2465
2466 * textmodes/tildify.el (tildify-space): A new function
2467 which can be used as a `post-self-insert-hook' to automatically
2468 convert spaces into hard spaces.
2469 (tildify-space-pattern): A new variable specifying pattern where
2470 `tildify-space' should take effect.
2471 (tildify-space-predicates): A new variable specifying list of
2472 predicate functions that all must return non-nil for
2473 `tildify-space' to take effect.
2474 (tildify-space-region-predicate): A new functions meant to be
2475 used as a predicate in `tildify-space-predicates' list.
2476 (tildify-mode): A new minor mode enabling `tildify-space' as a
2477 `post-self-insert-hook'
2478
2479 2015-01-20 Daniel Colascione <dancol@dancol.org>
2480
2481 * vc/vc-dir.el (vc-dir): Default to repository root, not
2482 default-directory.
2483
2484 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2485
2486 * progmodes/etags.el (xref-etags-location): New class.
2487 (xref-make-etags-location): New function.
2488 (etags--xref-find-definitions): Use it.
2489 (xref-location-marker): New method implementation.
2490
2491 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2492 (xref--insert-xrefs): Expand help-echo string.
2493
2494 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2495
2496 * ido.el: Update Customization instructions.
2497
2498 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2499
2500 Define Ido keymaps once (bug#17000).
2501 * ido.el (ido-common-completion-map)
2502 (ido-file-dir-completion-map)
2503 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2504 bindings when each variable is defined.
2505 (ido-completion-map): Move definition.
2506 (ido-init-completion-maps): Noop.
2507 (ido-common-initialization): Don't call it.
2508 (ido-setup-completion-map): Improve doc-string, cleanup.
2509
2510 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2511
2512 * cus-dep.el (custom-make-dependencies): Ensure that
2513 default-directory is interpreted as a directory (see bug#19140.)
2514
2515 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2516
2517 * progmodes/xref.el (xref--display-position):
2518 Set `other-window-scroll-buffer'.
2519 (xref-goto-xref): Use `user-error'.
2520
2521 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2522
2523 * progmodes/xref.el (xref--display-history): New variable.
2524 (xref--window-configuration): Remove.
2525 (xref--save-to-history): New function.
2526 (xref--display-position): Use it. Add new argument.
2527 (xref--restore-window-configuration): Remove.
2528 (xref--show-location, xref-show-location-at-point):
2529 Update accordingly.
2530 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2531 (xref--quit): New command.
2532 (xref-goto-xref): Use it.
2533 (xref--xref-buffer-mode-map): Bind `q' to it.
2534
2535 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2536
2537 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2538 indentation or at eol.
2539
2540 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2543 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2544 New functions.
2545 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2546
2547 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2548 `newname' argument.
2549
2550 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2551 introduction of a new dispatch argument.
2552 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2553 considered as dispatchable for this method.
2554 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2555 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2556
2557 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2558
2559 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2560
2561 * emacs-lisp/package.el (package--append-to-alist): Rename from
2562 `package--add-to-alist'
2563 Updated docstring due to new name.
2564
2565 2015-01-18 Leo Liu <sdl.web@gmail.com>
2566
2567 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2568 multiple evaluation. (Bug#19519)
2569
2570 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2571 error. (Bug#19434)
2572
2573 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2576 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2577 New functions.
2578 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2579
2580 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2581 or print is nil.
2582 (cl-struct-type-p): New function.
2583
2584 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2585 (cl-defmethod): Add edebug spec.
2586 (cl--generic-build-combined-method): Fix call to
2587 cl-no-applicable-method.
2588 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2589 (cl--generic-isnot-nnm-p): New function.
2590 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2591 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2592 (cl-next-method-p): New function.
2593
2594 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2595
2596 * version.el (emacs-repository-get-version): Update docstring.
2597
2598 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2599
2600 * files.el (find-file-other-window, find-file-other-frame):
2601 Use mapc instead of mapcar. (Bug#18175)
2602
2603 * files.el (dir-locals-collect-variables): Use default-directory
2604 in place of the file name while working on non-file buffers, just
2605 like hack-dir-local-variables already does. (Bug#19140)
2606
2607 * textmodes/enriched.el (enriched-encode):
2608 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2609 (Bug#18246)
2610
2611 * desktop.el (desktop-read): Do not call desktop-clear when no
2612 desktop file is found. (Bug#18371)
2613
2614 * misearch.el (multi-isearch-unload-function): New function.
2615 (misearch-unload-function): New alias. (Bug#19566)
2616
2617 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2620 class-constructor, and make it an alias for `identity'.
2621 Update all callers.
2622
2623 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2624 argument here (bug#19620)...
2625 (defclass): ...instead of in the constructor here.
2626
2627 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2628
2629 * emacs-lisp/package.el (package-archive-priorities):
2630 Specify correct type.
2631
2632 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2633
2634 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2635 Remove.
2636 (emacs-repository-get-version): Discard the Bazaar case.
2637 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2638 emacs-bzr-version-dirstate and move from version.el to here.
2639 (vc-bzr-working-revision): Use it.
2640
2641 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2644 eieio--scoped-class any more.
2645
2646 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2647 (eieio--scoped-class): Remove function.
2648 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2649 (eieio--slot-name-index): Don't check the :protection anymore.
2650 (eieio-initializing-object): Remove var.
2651 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2652
2653 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 Improve handling of doc-strings and describe-function for cl-generic.
2656
2657 * help-mode.el (help-function-def): Add optional arg `type'.
2658
2659 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2660 as it's a symbol.
2661 (help-fns-short-filename): New function.
2662 (describe-function-1): Use it. Use autoload-do-load.
2663
2664 * emacs-lisp/find-func.el: Use lexical-binding.
2665 (find-function-regexp): Don't rule out `defgeneric'.
2666 (find-function-regexp-alist): Document new possibility of including
2667 a function instead of a regexp.
2668 (find-function-search-for-symbol): Implement that new possibility.
2669 (find-function-library): Don't assume that `function' is a symbol.
2670 (find-function-do-it): Remove unused var `orig-buf'.
2671
2672 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2673 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2674 (eieio--method-optimize-primary): Don't mess with the docstring.
2675 (defgeneric): Keep the `args' in the docstring.
2676 (defmethod): Don't use the method's docstring for the generic
2677 function's docstring.
2678
2679 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2680 (eieio-defclass-autoload): Don't record the superclasses any more.
2681 (eieio-defclass-internal): Reuse the old class object if it was just an
2682 autoload stub.
2683 (eieio--class-precedence-list): Load the class if it's autoloaded.
2684
2685 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2686 override an autoload.
2687 (cl-generic-current-method-specializers): Replace dyn-bind variable
2688 with a lexically-scoped macro.
2689 (cl--generic-lambda): Update accordingly.
2690 (cl-generic-define-method): Record manually in the load-history with
2691 type `cl-defmethod'.
2692 (cl--generic-get-dispatcher): Minor optimization.
2693 (cl--generic-search-method): New function.
2694 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2695 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2696 specializers and the function's arguments.
2697
2698 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2699
2700 * emacs-lisp/package.el (package--read-pkg-desc):
2701 New function. Read a `define-package' form in current buffer.
2702 Return the pkg-desc, with desc-kind set to KIND.
2703 (package-dir-info): New function. Find package information for a
2704 directory. The return result is a `package-desc'.
2705 (package-install-from-buffer): Install packages from dired buffer.
2706 (package-install-file): Install packages from directory.
2707 (package-desc-suffix)
2708 (package-install-from-archive)
2709 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2710 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2711 value.
2712
2713 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2714
2715 * emacs-lisp/package.el: Provide repository priorities.
2716 (package-archive-priorities): New variable.
2717 (package--add-to-alist): New function.
2718 (package--add-to-archive-contents): Use it.
2719 (package-menu--find-upgrades): Use it as well. Small clean up to
2720 make the use of the package name here explicit.
2721 (package-archive-priority): New function.
2722 (package-desc-priority-version): New function.
2723
2724 2015-01-16 Daniel Colascione <dancol@dancol.org>
2725
2726 * cus-start.el (all): Make `ring-bell-function' customizable.
2727
2728 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2729
2730 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2731 vc-svn-after-dir-status's second argument. (Bug#19429)
2732
2733 2015-01-16 Samer Masterson <samer@samertm.com>
2734
2735 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2736 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2737
2738 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2739
2740 * dom.el (dom-strings): New function.
2741
2742 * files.el (directory-files-recursively): Don't use the word
2743 "path" for a file name.
2744
2745 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2746
2747 * calc/calc-units.el (math-units-in-expr-p)
2748 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2749 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2750
2751 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2754 (cl--labels-convert): Use it to ask the macro what is its replacement
2755 in the #'f case.
2756
2757 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2758 Return the value of the primary rather than the after method.
2759
2760 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2761 (eieio--generic-tagcode): New function.
2762 (cl-generic-tagcode-function): Use it.
2763 (eieio--generic-tag-types): New function.
2764 (cl-generic-tag-types-function): Use it.
2765 (eieio-object-p): Tighten up the test.
2766
2767 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2768
2769 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * emacs-lisp/cl-generic.el: New file.
2772
2773 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2774 (cl-load-time-value, cl-labels): Use closures rather than
2775 backquoted lambdas.
2776 (cl-macrolet): Use `eval' to create the function value, and support CL
2777 style arguments in for the defined macros.
2778
2779 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * net/eww.el: Use lexical-binding.
2782 (eww-links-at-point): Remove unused arg.
2783 (eww-mode-map): Inherit from special-mode-map.
2784 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2785
2786 2015-01-13 Alan Mackenzie <acm@muc.de>
2787
2788 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2789 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2790 New function which walks the stack to discover whether we're compiling
2791 or loading.
2792 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2793 (cc-bytecomp-is-loading): New defsubst.
2794 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2795 Use the above defsubsts.
2796 (cc-require-when-compile, cc-bytecomp-defvar)
2797 (cc-bytecomp-defun): Simplify conditionals.
2798 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2799 "Borrow" this function from cc-bytecomp.el.
2800 (c-get-current-file): Reformulate using the above.
2801 (c-lang-defconst): Prevent duplicate entries of file names in a
2802 symbol's 'source property.
2803 (c-lang-const): Use cc-bytecomp-is-compiling.
2804 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2805 Use cc-bytecomp-is-compiling.
2806
2807 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2810 (bug#19552).
2811
2812 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2813
2814 * menu-bar.el (menu-bar-goto-menu): Before calling
2815 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2816 (Bug#19554)
2817
2818 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2819
2820 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2821 cookie (Bug#19554).
2822
2823 * frame.el (frame-notice-user-settings): Remove code dealing with
2824 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2825 only if `window-system-frame-alist' or `default-frame-alist' ask
2826 for it.
2827 (make-frame): Update frame-adjust-size-history if needed.
2828
2829 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2830
2831 Have 'make' output better GEN names
2832 * Makefile.in (PHONY_EXTRAS): New macro.
2833 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2834 relevant files' time stamps are ignored.
2835 (custom-deps, $(lisp)/cus-load.el, finder-data)
2836 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2837 (custom-deps, $(lisp)/cus-load.el, finder-data)
2838 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2839 ($(lisp)/subdirs.el, update-subdirs):
2840 Output more-accurate destination names with GEN.
2841
2842 Say "ELC foo.elc" instead of "GEN foo.elc"
2843 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2844 New macros.
2845 ($(THEFILE)c, .el.elc): Use them.
2846
2847 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * files.el (directory-files-recursively): Do not include
2850 superfluous remote file names.
2851
2852 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2853
2854 * net/eww.el (eww): Interpret anything that looks like a protocol
2855 designator as a full URL.
2856
2857 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2858
2859 * net/shr.el (shr-urlify): Don't bother the user about
2860 invalidly-encoded display strings.
2861
2862 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2863
2864 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2865 (bug#19555).
2866
2867 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2868
2869 * net/eww.el (eww): Always interpret URLs that start with https?:
2870 as plain URLs, even if they have spaces in them (bug#19556).
2871 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2872 software" as an URL.
2873 (eww): Don't interpret "org/foo" as an URL.
2874 (eww): Clear the title when loading so that we don't display
2875 misleading information.
2876
2877 2015-01-10 Daniel Colascione <dancol@dancol.org>
2878
2879 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2880 by analogy with dired.
2881
2882 2015-01-09 Daniel Colascione <dancol@dancol.org>
2883
2884 * progmodes/js.el (js--function-heading-1-re)
2885 (js--function-prologue-beginning): Parse ES6 generator function
2886 declarations. (That is, "function* name()").
2887
2888 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2891 that creates functions, and most of the sanity checks.
2892 Mark as obsolete the <class>-child-p function.
2893 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2894 (eieio--class, eieio--object): Use cl-defstruct.
2895 (eieio--object-num-slots): Define manually.
2896 (eieio-defclass-autoload): Use eieio--class-make.
2897 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2898 `(lambda...) definitions and most of the sanity checks to `defclass'.
2899 Mark as obsolete the <class>-list-p function, the <class> variable and
2900 the <initarg> variables. Use pcase-dolist.
2901 (eieio-defclass): New compatibility function.
2902 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2903 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2904
2905 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emacs-lisp/eieio-generic.el: New file.
2908 * emacs-lisp/eieio-core.el: Move all generic function code to
2909 eieio-generic.el.
2910 (eieio--defmethod): Declare.
2911
2912 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2913 function code to eieio-generic.el.
2914 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2915 eieio-generic.el.
2916 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2917 to eieio--generic-call.
2918 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2919 <class>-child type.
2920
2921 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2924 Don't use <class> as a variable.
2925
2926 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2927 (call-next-method): Simplify.
2928 (clone): Obey eieio-backward-compatibility.
2929
2930 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2931 (eieio-read-generic): Use `generic-p' instead.
2932
2933 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2934 (eieio-defclass-autoload): Obey it.
2935 (eieio--class-object): Improve error behavior.
2936 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2937 every use site.
2938 (eieio--defgeneric-form-primary-only): Rename from
2939 eieio-defgeneric-form-primary-only; update all callers.
2940 (eieio--defgeneric-form-primary-only-one): Rename from
2941 eieio-defgeneric-form-primary-only-one; update all callers.
2942 (eieio-defgeneric-reset-generic-form)
2943 (eieio-defgeneric-reset-generic-form-primary-only)
2944 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2945 (eieio--method-optimize-primary): New function to replace them.
2946 (eieio--defmethod, eieio-defmethod): Use it.
2947 (eieio--perform-slot-validation): Rename from
2948 eieio-perform-slot-validation; update all callers.
2949 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2950 Change `class' to be a class object. Update all callers.
2951 (eieio--validate-class-slot-value): Rename from
2952 eieio-validate-class-slot-value. Change `class' to be a class object.
2953 Update all callers.
2954 (eieio-oset-default): Accept class object as well.
2955 (eieio--generic-call-primary-only): Rename from
2956 eieio-generic-call-primary-only. Update all callers.
2957
2958 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2959 Improve error messages.
2960 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2961 well as user-defined types. Emit errors for legacy types like
2962 <class>-child and <class>-list, if not eieio-backward-compatibility.
2963
2964 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2967 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2968 Change `class' arg to be a class object. Update all callers.
2969 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2970 (eieio-default-superclass): Set var to the class object.
2971 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2972 Change print behavior to affect class objects rather than
2973 class symbols.
2974
2975 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2976 (eieio-class-parents-fast): Remove macro.
2977 (eieio--class-option-assoc): Rename from class-option-assoc.
2978 Update all callers.
2979 (eieio--class-option): Rename from class-option. Change `class' arg to
2980 be a class object. Update all callers.
2981 (eieio--class-method-invocation-order): Rename from
2982 class-method-invocation-order. Change `class' arg to be a class
2983 object. Update all callers.
2984 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2985 a list of class objects rather than names.
2986 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2987 for accessors to class allocated slots.
2988 (eieio--perform-slot-validation-for-default): Rename from
2989 eieio-perform-slot-validation-for-default. Update all callers.
2990 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2991 Update all callers. Use push.
2992 (eieio-copy-parents-into-subclass): Adjust to new content of
2993 `parent' field. Use dolist.
2994 (eieio-oref): Remove support for providing a class rather than
2995 an object.
2996 (eieio-oref-default): Prefer class objects over class names.
2997 (eieio--slot-originating-class-p): Rename from
2998 eieio-slot-originating-class-p. Update all callers. Use `or'.
2999 (eieio--slot-name-index): Turn check into assertion.
3000 (eieio--class-slot-name-index): Rename from
3001 eieio-class-slot-name-index. Change `class' arg to be a class object.
3002 Update all callers.
3003 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
3004 (eieio--c3-candidate): Rename from eieio-c3-candidate.
3005 Update all callers.
3006 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
3007 Update all callers.
3008 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
3009 Update all callers.
3010 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
3011 Update all callers.
3012 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
3013 Update all callers. Adjust to new `parent' content.
3014 (eieio--class-precedence-list): Rename from -class-precedence-list.
3015 Update all callers.
3016 (eieio-generic-call): Use autoloadp and autoload-do-load.
3017 Slight simplification.
3018 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
3019 return value of `eieio-generic-form'.
3020 (eieiomt-add): Index the hashtable with class objects rather than
3021 class names.
3022 (eieio-generic-form): Accept class objects as well.
3023
3024 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
3025 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
3026 (eieio-persistent-validate/fix-slot-value):
3027 Change `class' arg to be a class object. Update all callers.
3028
3029 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
3032 additionally to class names.
3033
3034 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
3035 (object): Remove first (constant) slot; rename second to `class-tag'.
3036 (eieio--object-class-object, eieio--object-class-name): New funs
3037 to replace eieio--object-class.
3038 (eieio--class-object, eieio--class-p): New functions.
3039 (same-class-fast-p): Make it a defsubst, change its implementation
3040 to check the class objects rather than their names.
3041 (eieio-object-p): Rewrite.
3042 (eieio-defclass): Adjust the object initialization according to the new
3043 object layout.
3044 (eieio--scoped-class): Declare it returns a class object (not a class
3045 name any more). Adjust calls accordingly (along with calls to
3046 eieio--with-scoped-class).
3047 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
3048 its class arg to be a class object. Adjust callers accordingly.
3049 (eieio-slot-originating-class-p): Make its start-class arg a class
3050 object. Adjust all callers.
3051 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
3052 Make its `class' arg a class object. Adjust all callers.
3053
3054 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3055 Use eieio--slot-name-index rather than eieio-slot-name-index.
3056
3057 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
3060 name argument.
3061 (eieio-object-name): Use eieio-object-name-string.
3062 (eieio--object-names): New const.
3063 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
3064 using a hashtable rather than a built-in slot.
3065 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
3066 (clone): Don't mess with the object's "name".
3067
3068 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
3069 (eieio-object-value-get): Use eieio-object-set-name-string.
3070
3071 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
3072 (eieio--object): Remove `name' field.
3073 (eieio-defclass): Adjust to new convention where constructors don't
3074 take an "object name" any more.
3075 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
3076 (eieio-validate-slot-value, eieio-oset-default)
3077 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
3078 (eieio-generic-call-primary-only): Simplify.
3079
3080 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
3081 Use call-next-method.
3082 (eieio-constructor): Rename from `constructor'.
3083 (eieio-persistent-convert-list-to-object): Drop objname.
3084 (eieio-persistent-validate/fix-slot-value): Don't hardcode
3085 eieio--object-num-slots.
3086 (eieio-named): Use a normal slot.
3087 (slot-missing) <eieio-named>: Remove.
3088 (eieio-object-name-string, eieio-object-set-name-string, clone)
3089 <eieio-named>: New methods.
3090
3091 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
3094 (method-*): Add a "eieio--" prefix to those constants.
3095
3096 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
3097
3098 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
3099
3100 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
3103 `eieio-default-superclass'.
3104
3105 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
3106
3107 * emacs-lisp/eieio-custom.el: Use lexical-binding.
3108 (eieio-object-value-to-abstract): Simplify.
3109
3110 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
3111 (eieio-build-class-alist): Use dolist.
3112 (eieio-all-generic-functions): Adjust to use of hashtables.
3113
3114 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
3115 symbol-hashtable. It contains a hashtable instead of an obarray.
3116 (generic-p): Use symbol property `eieio-method-hashtable' instead of
3117 `eieio-method-obarray'.
3118 (generic-primary-only-p, generic-primary-only-one-p):
3119 Slight optimization.
3120 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
3121 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
3122 (eieio-class-un-autoload): Use autoload-do-load.
3123 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
3124 Use new cl-deftype-satisfies. Adjust to use of hashtables.
3125 Don't hardcode the value of eieio--object-num-slots.
3126 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
3127 Use a closure rather than a backquoted lambda.
3128 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
3129 function-documentation property.
3130 (eieio-slot-originating-class-p, eieio-slot-name-index)
3131 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
3132 (eieio-generic-form): Adjust to use of hashtables.
3133 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
3134 additional class argument.
3135 (eieio-generic-call-methodname): Remove, unused.
3136
3137 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
3138 Prefer \' to $.
3139
3140 2015-01-08 Eli Zaretskii <eliz@gnu.org>
3141
3142 * simple.el (line-move-visual): When converting X pixel coordinate
3143 to temporary-goal-column, adjust the value for right-to-left
3144 screen lines. This fixes vertical-motion, next/prev-line, etc.
3145
3146 2015-01-08 Glenn Morris <rgm@gnu.org>
3147
3148 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
3149
3150 2015-01-07 K. Handa <handa@gnu.org>
3151
3152 * international/ccl.el (define-ccl-program): Improve the docstring.
3153
3154 2015-01-06 Sam Steingold <sds@gnu.org>
3155
3156 * shell.el (shell-display-buffer-actions): Remove,
3157 use `display-buffer-alist' instead.
3158
3159 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
3160
3161 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
3162 to the references.
3163
3164 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
3165
3166 * minibuffer.el (completion-category-defaults): New var.
3167 Set unicode-name to use substring completion.
3168 (completion-category-defaults): Set it to nil.
3169
3170 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3171
3172 Add mouse interaction to xref.
3173 * progmodes/xref.el (xref--button-map): New variable.
3174 (xref--mouse-2): New command.
3175 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
3176 the inserted references.
3177
3178 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
3179
3180 Less 'make' chatter for lisp dir
3181 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
3182 to make it clearer that the caller must specify it.
3183 (compile-onefile): Remove, replacing by ...
3184 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
3185 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
3186 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3187 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3188 Use AM_V_GEN to lessen 'make' chatter.
3189 (.el.elc): Omit duplicate comment.
3190
3191 Less 'make' chatter in batch mode
3192 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3193 * emacs-lisp/bytecomp.el (byte-compile-file):
3194 * files.el (save-buffer, basic-save-buffer):
3195 * international/quail.el (quail-update-leim-list-file):
3196 Don't output messages like "Generating ..." in batch mode.
3197
3198 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3199
3200 Unbreak `mouse-action' property in text buttons.
3201 * button.el (push-button): Fix regression from 2012-12-06.
3202
3203 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3204
3205 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3206
3207 * menu-bar.el (menu-bar-goto-menu): Use it.
3208
3209 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3210
3211 * progmodes/xref.el (xref--window-configuration): New variable.
3212 (xref-show-location-at-point): New command.
3213 (xref--restore-window-configuration): New function.
3214 (xref-next-line, xref-prev-line): Delegate to
3215 `xref-show-location-at-point'.
3216 (xref--location-at-point): Don't signal the error.
3217 (xref-goto-xref): Do that here instead.
3218 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3219 to `pre-command-hook'.
3220 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3221 `previous-line'. Additionally bind `xref-next-line' and
3222 `xref-prev-line' to `n' and `p' respectively.
3223 Bind `xref-show-location-at-point' to `C-o'.
3224
3225 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3226
3227 * tool-bar.el (tool-bar-local-item)
3228 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3229 make sure the tool-bar changes show on display.
3230
3231 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3232
3233 Sync with Tramp 2.2.11.
3234
3235 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3236 Make an alias for `default-toplevel-value' if it doesn't exist.
3237
3238 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3239 Use `tramp-compat-delete-directory'.
3240
3241 * net/trampver.el: Update release number.
3242
3243 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3244
3245 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3246 for remote files. (Bug#19449)
3247
3248 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3249
3250 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3251
3252 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3253
3254 Less 'make' chatter in lisp directory
3255 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3256 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3257 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3258
3259 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3260
3261 * info.el (info-display-manual): Limit the completion alternatives
3262 to currently visited manuals if prefix argument is non-nil.
3263
3264 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3265
3266 * Makefile.in (semantic): Simplify.
3267
3268 2014-12-30 Juri Linkov <juri@linkov.net>
3269
3270 * net/eww.el (eww-isearch-next-buffer): New function.
3271 (eww-mode): Set multi-isearch-next-buffer-function to it.
3272
3273 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3274
3275 * progmodes/xref.el (xref-find-definitions): Mention "no
3276 identifier at point" case in the docstring.
3277
3278 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3279 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3280 and `separator-tag-file' items.
3281
3282 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3283
3284 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3285 This is instead of system-name, which is both wrong here and obsolete.
3286 * desktop.el (desktop-save-frameset):
3287 * dnd.el (dnd-get-local-file-uri):
3288 * nxml/rng-uri.el (rng-uri-file-name-1):
3289 Prefer (system-name) to system-name, and avoid naming
3290 locals 'system-name'.
3291 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3292
3293 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3294
3295 * menu-bar.el (menu-bar-next-tag-other-window)
3296 (menu-bar-next-tag): Remove.
3297
3298 2014-12-29 K. Handa <handa@gnu.org>
3299
3300 * international/mule.el (make-translation-table-from-alist):
3301 Accept nil or zero-length vector for FROM and TO.
3302
3303 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3304
3305 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3306 display when resizing.
3307
3308 * net/shr.el (shr-width): Default to using the window width when
3309 rendering.
3310
3311 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3312
3313 Unbreak jumping to an alias's definition.
3314 * emacs-lisp/find-func.el (find-function-library): Return a pair
3315 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3316 (find-function-noselect): Use it.
3317 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3318 `elisp--xref-identifier-location', incorporate logic from
3319 `elisp--xref-find-definitions', use the changed
3320 `find-function-library' return value.
3321
3322 2014-12-29 Juri Linkov <juri@linkov.net>
3323
3324 * comint.el (comint-history-isearch-message): Use field-beginning
3325 instead of comint-line-beginning-position - that's more fixes for
3326 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3327 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3328
3329 2014-12-29 Juri Linkov <juri@linkov.net>
3330
3331 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3332 (vc-dir-mode-map): Bind it to "\C-o".
3333 (vc-dir-menu-map): Add it to menu.
3334
3335 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3336
3337 * progmodes/etags.el (find-tag-other-window)
3338 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3339 (tags-apropos): Declare obsolete.
3340
3341 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3342 with xref ones.
3343
3344 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3345
3346 * international/mule.el (define-coding-system): Fix typos in the
3347 doc string.
3348
3349 2014-12-28 Kenichi Handa <handa@gnu.org>
3350
3351 * international/mule.el (define-coding-system): Improve the doc
3352 string.
3353
3354 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3355
3356 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3357 elements in tables (bug#19444).
3358
3359 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3360 (bug#19445).
3361
3362 2014-12-28 Juri Linkov <juri@linkov.net>
3363
3364 * vc/compare-w.el: Require diff-mode for diff faces.
3365 (compare-windows-removed, compare-windows-added): New faces
3366 inheriting from diff faces.
3367 (compare-windows): Define obsolete face alias.
3368 (compare-windows-highlight): Replace face `compare-windows' with
3369 new faces `compare-windows-added' and `compare-windows-removed'
3370 (bug#19451).
3371 (compare-windows-get-recent-window): Signal an error when
3372 no other window is found (bug#19170).
3373
3374 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3375
3376 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3377 Skip features that have no sources.
3378
3379 * simple.el (execute-extended-command):
3380 When `suggest-key-bindings' is nil, don't.
3381
3382 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3383
3384 python.el: Native readline completion.
3385 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3386 (python-shell-completion-native-enable)
3387 (python-shell-completion-native-output-timeout): New defcustoms.
3388 (python-shell-completion-native-interpreter-disabled-p)
3389 (python-shell-completion-native-try)
3390 (python-shell-completion-native-setup)
3391 (python-shell-completion-native-turn-off)
3392 (python-shell-completion-native-turn-on)
3393 (python-shell-completion-native-turn-on-maybe)
3394 (python-shell-completion-native-turn-on-maybe-with-msg)
3395 (python-shell-completion-native-toggle): New functions.
3396 (python-shell-completion-native-get-completions): New function.
3397 (python-shell-completion-at-point): Use it.
3398
3399 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3400
3401 python.el: Enhance shell user interaction and deprecate
3402 python-shell-get-or-create-process.
3403 * progmodes/python.el (python-shell-get-process-or-error):
3404 New function.
3405 (python-shell-with-shell-buffer): Use it.
3406 (python-shell-send-string, python-shell-send-region)
3407 (python-shell-send-buffer, python-shell-send-defun)
3408 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3409 Add argument MSG to display user-friendly message when no process
3410 is running.
3411 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3412 (python-shell-make-comint): Rename argument SHOW from POP.
3413 Use display-buffer instead of pop-to-buffer.
3414 (run-python): Doc fix. Return process.
3415 (python-shell-get-or-create-process): Make obsolete.
3416
3417 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3418
3419 * progmodes/python.el (python-shell-buffer-substring):
3420 Handle cornercase when region sent starts at point-min.
3421
3422 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3423
3424 * language/misc-lang.el (composition-function-table): Add Syriac
3425 characters and also ZWJ/ZWNJ.
3426 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3427 for the details.
3428
3429 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3430
3431 python.el: Fix message when sending region.
3432 * progmodes/python.el (python-shell-send-region): Rename argument
3433 send-main from nomain. Fix message.
3434 (python-shell-send-buffer): Rename argument send-main from arg.
3435
3436 python.el: Cleanup temp files even with eval errors.
3437 * progmodes/python.el (python-shell-send-file): Make file-name
3438 mandatory. Fix temp file removal in the majority of cases.
3439
3440 python.el: Handle file encoding for shell.
3441 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3442 (python-shell--save-temp-file): Write file with proper encoding.
3443 (python-shell-buffer-substring): Add coding cookie for detected
3444 encoding to generated content. Fix blank lines when removing
3445 if-name-main block.
3446 (python-shell-send-file): Handle file encoding.
3447 (python-info-encoding-from-cookie)
3448 (python-info-encoding): New functions.
3449
3450 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3451
3452 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3453 Use `tramp-rsh-end-of-line', it ought to be more robust.
3454
3455 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3458 (bug#19397).
3459
3460 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3461
3462 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3463
3464 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3465 as end-of-line delimeter for passwords, when running on MS Windows.
3466
3467 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3470 of indent-line-function (bug#19433).
3471
3472 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3473
3474 Fix line numbers on Python shell.
3475 * progmodes/python.el (python-shell--save-temp-file): Do not
3476 append coding cookie.
3477 (python-shell-send-string): Generalize for
3478 python-shell-send-region.
3479 (python--use-fake-loc): Delete var.
3480 (python-shell-buffer-substring): Cleanup fake-loc logic.
3481 (python-shell-send-region): Remove fake-loc logic, simplify.
3482
3483 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3484
3485 * progmodes/python.el (python-indent-post-self-insert-function):
3486 Make colon to re-indent only for dedenters, handling
3487 multiline-statements gracefully.
3488
3489 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp.el (tramp-handle-insert-file-contents):
3492 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3493
3494 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3497 arg MARKER.
3498 (tramp-get-remote-path): Use it.
3499
3500 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * subr.el (redisplay-dont-pause): Mark as obsolete.
3503
3504 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3505
3506 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3507 (tramp-accept-process-output): Use nil as argument for
3508 `accept-process-output', when there is a gateway prepended.
3509
3510 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3511 wrong debug buffer.
3512 (tramp-gw-open-connection): Set process coding system 'binary.
3513 (tramp-gw-open-network-stream): Handle HTTP error 403.
3514
3515 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3516 wrong debug buffer.
3517 (tramp-maybe-open-connection): Set connection property "gateway".
3518
3519 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * subr.el (sit-for): Tweak docstring (bug#19381).
3522
3523 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3524
3525 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3526 stage to after `diff-index' (bug#19386).
3527
3528 2014-12-27 João Távora <joaotavora@gmail.com>
3529
3530 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3531 `electric-pair-mode' (bug#19356).
3532
3533 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3534
3535 elisp-xref-find: Don't create buffers eagerly.
3536
3537 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3538 into `elisp--company-location'.
3539 (elisp--identifier-completion-table): Rename to
3540 `elisp--identifier-completion-table', and do not include just any
3541 symbols with a property list.
3542 (elisp-completion-at-point): Revert the 2014-12-25 change.
3543 (elisp--xref-identifier-file): New function.
3544 (elisp--xref-find-definitions): Use it.
3545
3546 * emacs-lisp/find-func.el (find-function-library): New function,
3547 extracted from `find-function-noselect'.
3548
3549 * progmodes/xref.el (xref-elisp-location): New class.
3550 (xref-make-elisp-location): New function.
3551 (xref-location-marker): New implementation.
3552
3553 2014-12-27 Juri Linkov <juri@linkov.net>
3554
3555 * minibuffer.el (minibuffer-completion-help):
3556 Use shrink-window-if-larger-than-buffer in window-height
3557 when temp-buffer-resize-mode is nil.
3558
3559 * window.el (with-displayed-buffer-window): Remove window-height
3560 from the action alist in the temp-buffer-window-show call
3561 when window-height is handled explicitly afterwards (bug#19355).
3562
3563 2014-12-27 Juri Linkov <juri@linkov.net>
3564
3565 Support subdirectories when saving places in dired.
3566 * saveplace.el (toggle-save-place, save-place-to-alist)
3567 (save-places-to-alist, save-place-dired-hook):
3568 Use dired-current-directory instead of dired-directory (bug#19436).
3569 (save-place-dired-hook): Add check for alist to make the new
3570 format future-proof to allow other possible formats.
3571
3572 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3573
3574 python.el: Generate clearer shell buffer names.
3575 * progmodes/python.el (python-shell-get-process-name)
3576 (python-shell-internal-get-process-name): Use `buffer-name`.
3577 (python-shell-internal-get-or-create-process): Simplify.
3578
3579 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3580
3581 Add basic xref apropos implementation to elisp-mode.
3582
3583 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3584 Filter out nil results.
3585 (elisp--xref-find-apropos): New function.
3586 (elisp-xref-find): Use it.
3587
3588 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3589
3590 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3591
3592 * dired-aux.el (dired-maybe-insert-subdir):
3593 Make dired-maybe-insert-subdir always skip trivial files.
3594
3595 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3596 Dmitry Gutov <dgutov@yandex.ru>
3597
3598 Consolidate cross-referencing commands.
3599
3600 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3601 `C-x 5 .' from etags.el to xref.el.
3602
3603 * progmodes/xref.el: New file.
3604
3605 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3606 (elisp--identifier-location): New function, extracted from
3607 `elisp--company-location'.
3608 (elisp--company-location): Use it.
3609 (elisp--identifier-completion-table): New variable.
3610 (elisp-completion-at-point): Use it.
3611 (emacs-lisp-mode): Set the local values of `xref-find-function'
3612 and `xref-identifier-completion-table-function'.
3613 (elisp-xref-find, elisp--xref-find-definitions)
3614 (elisp--xref-identifier-completion-table): New functions.
3615
3616 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3617 favor of `xref--marker-ring'.
3618 (tags-lazy-completion-table): Autoload.
3619 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3620 (find-tag-noselect): Use `xref-push-marker-stack'.
3621 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3622 (etags--xref-limit): New constant.
3623 (etags-xref-find, etags--xref-find-definitions): New functions.
3624
3625 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3626
3627 * cus-start.el (resize-mini-windows): Make it customizable.
3628
3629 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3630
3631 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3632 to (info "(emacs)Contributing"). (Bug#19299)
3633
3634 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3635
3636 * window.el (mouse-autoselect-window-position-1): New variable.
3637 (mouse-autoselect-window-cancel)
3638 (mouse-autoselect-window-select, handle-select-window):
3639 With delayed autoselection select window only if mouse moves after
3640 selecting its frame.
3641
3642 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3643
3644 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3645 remote file names. (Bug#18782)
3646
3647 2014-12-23 Sam Steingold <sds@gnu.org>
3648
3649 * shell.el (shell-display-buffer-actions): New user option.
3650 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3651 `pop-to-buffer-same-window'.
3652
3653 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3656 (js-syntax-propertize-regexp): Use it to recognize "slash in
3657 a character class" (bug#19397).
3658
3659 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * completion.el: Use post-self-insert-hook (bug#19400).
3662 (completion-separator-self-insert-command)
3663 (completion-separator-self-insert-autofilling): Remove.
3664 (completion-separator-chars): New var.
3665 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3666 of changing the keymap.
3667 (completion--post-self-insert): New function.
3668 (dynamic-completion-mode): Use it instead of rebinding keys.
3669 (cmpl--completion-string): Rename from completion-string.
3670 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3671
3672 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3673
3674 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3675 by leveraging `syntax-ppss'.
3676
3677 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3678
3679 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3680
3681 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3684
3685 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3686
3687 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3688
3689 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3690
3691 * let-alist.el (let-alist): Enable access to deeper alists by
3692 using dots inside the dotted symbols.
3693
3694 2014-12-19 Alan Mackenzie <acm@muc.de>
3695
3696 Make C++11 uniform init syntax work.
3697 New keywords "final" and "override".
3698 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3699 New function.
3700 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3701 new function.
3702 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3703 carefully for "are we at a declarator?" using
3704 c-back-over-member-initializers.
3705 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3706 and "override" in the C++ value.
3707
3708 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3709
3710 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3711
3712 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3713
3714 * net/nsm.el (nsm-save-host): Don't save the host name twice
3715 (bug#19269).
3716
3717 2014-12-18 Sam Steingold <sds@gnu.org>
3718
3719 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3720 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3721 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3722 * menu-bar.el (menu-bar-buffer-vector): Extract from
3723 `menu-bar-update-buffers'.
3724 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3725 (buffer-menu-open): New user command, bound globally to C-f10,
3726 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3727 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3728 convert the value returned by `mouse-buffer-menu-map' to a list
3729 acceptable to `popup-menu' for `buffer-menu-open'.
3730
3731 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3732
3733 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3734
3735 2014-12-18 Sam Steingold <sds@gnu.org>
3736
3737 * emacs-lisp/package.el: Avoid compilation warning by declaring
3738 the `find-library-name' function.
3739 (package-activate-1): Fix the `with-demoted-errors' calls:
3740 the first argument must be a string literal.
3741
3742 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3743
3744 Add code for "preserving" window sizes.
3745 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3746 `preserve-size' t.
3747 (dired-mark-pop-up): Preserve size of window showing marked files.
3748 * electric.el (Electric-pop-up-window):
3749 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3750 with `preserve-size' t.
3751 * minibuffer.el (minibuffer-completion-help):
3752 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3753 (Bug#19355). Preserve size of completions window.
3754 * register.el (register-preview): Preserve size of register
3755 preview window.
3756 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3757 with `preserve-size' t (Bug#1291).
3758 * window.el (with-displayed-buffer-window): Add calls to
3759 `window-preserve-size'.
3760 (window-min-pixel-size, window--preservable-size)
3761 (window-preserve-size, window-preserved-size)
3762 (window--preserve-size, window--min-size-ignore-p): New functions.
3763 (window-min-size, window-min-delta, window--resizable)
3764 (window--resize-this-window, split-window-below)
3765 (split-window-right): Amend doc-string.
3766 (window--min-size-1, window-sizable, window--size-fixed-1)
3767 (window-size-fixed-p, window--min-delta-1)
3768 (frame-windows-min-size, window--max-delta-1, window-resize)
3769 (window--resize-child-windows, window--resize-siblings)
3770 (enlarge-window, shrink-window, split-window): Handle preserving
3771 window sizes.
3772 (adjust-window-trailing-edge): Handle preserving window
3773 sizes. Signal user-error instead of an error when there's no
3774 window above or below.
3775 (window--state-put-2): Handle horizontal scroll bars.
3776 (window--display-buffer): Call `preserve-size' if asked for.
3777 (display-buffer): Mention `preserve-size' alist member in doc-string.
3778 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3779 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3780 scroll bar on ispell's windows. Don't count window lines and
3781 don't deal with dedicated windows.
3782 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3783 do the window handling.
3784 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3785 (ispell-display-buffer): New function to reuse, create and fit
3786 window to ispell's buffers. (Bug#3413)
3787
3788 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3789
3790 * emacs-lisp/package.el (package-activate): Do not re-activate or
3791 reload the dependencies (bug#19390).
3792
3793 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3796 (c-update-modeline):
3797 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3798 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3799 (c-mode-base-map): Use c-subword-mode.
3800
3801 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3802
3803 * international/mule-diag.el (describe-font-internal):
3804 Display additional info returned by font-info.
3805
3806 * linum.el (linum--face-width): Rename from linum--face-height,
3807 and use the new functionality of font-info.
3808 (linum-update-window): Use linum--face-width and frame-char-width,
3809 instead of approximating with height.
3810
3811 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3812
3813 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3814 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3815
3816 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3817 and a docstring.
3818 (package-activate): Call itself on dependencies on PACKAGE with
3819 the same FORCE argument. Pass FORCE as RELOAD into
3820 `package-activate-1' (bug#19390).
3821
3822 2014-12-17 Sam Steingold <sds@gnu.org>
3823
3824 * emacs-lisp/package.el (package--list-loaded-files):
3825 Handle `(nil ...)' elements in `load-history'.
3826
3827 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3828
3829 * net/tramp-sh.el (tramp-histfile-override): New variable.
3830 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3831
3832 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3833
3834 * vc/vc.el: Improve `dir-status-files' description.
3835
3836 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3837 file-truename on load-history elements (bug#19390).
3838
3839 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3840
3841 * emacs-lisp/seq.el: New file.
3842
3843 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3844
3845 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3846 is 0 and there is no input pending.
3847
3848 2014-12-15 Juri Linkov <juri@linkov.net>
3849
3850 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3851 only on the return value (bug#19383).
3852
3853 2014-12-15 Juri Linkov <juri@linkov.net>
3854
3855 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3856 the wrapped search by the length of the search string to be able
3857 to lazy-highlight the whole search string at point (bug#19353).
3858
3859 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3860
3861 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3862
3863 2014-12-14 Alan Mackenzie <acm@muc.de>
3864
3865 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3866
3867 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3868
3869 * let-alist.el: Add lexical binding.
3870
3871 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3872
3873 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3874 for the "Version" column, to accomodate date-and-time-based versions.
3875
3876 2014-12-14 Cameron Desautels <camdez@gmail.com>
3877
3878 * cus-edit.el (custom-unsaved-options): New function, extracted
3879 from `customize-unsaved'.
3880 (custom-unsaved): Use it.
3881 (custom-prompt-customize-unsaved-options): New function.
3882 (Bug#19328)
3883
3884 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3885
3886 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3887
3888 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3889
3890 Move ASYNC argument to the `diff' VC command to the fifth
3891 position, for better compatibility with existing third-party code,
3892 and document it.
3893
3894 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3895 backend `diff' command in the last position.
3896
3897 * vc/vc-svn.el (vc-svn-diff):
3898 * vc/vc-src.el (vc-src-diff):
3899 * vc/vc-sccs.el (vc-sccs-diff):
3900 * vc/vc-rcs.el (vc-rcs-diff):
3901 * vc/vc-mtn.el (vc-mtn-diff):
3902 * vc/vc-hg.el (vc-hg-diff):
3903 * vc/vc-git.el (vc-git-diff):
3904 * vc/vc-dav.el (vc-dav-diff):
3905 * vc/vc-cvs.el (vc-cvs-diff):
3906 * vc/vc-bzr.el (vc-bzr-diff):
3907 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3908
3909 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3910
3911 * emacs-lisp/cconv.el (cconv--analyze-use):
3912 Rename from cconv--analyse-use.
3913 (cconv--analyze-function): Rename from cconv--analyse-function.
3914 (cconv-analyze-form): Rename from cconv-analyse-form.
3915
3916 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3917
3918 * net/shr.el (shr-next-link): Don't error out at eob.
3919
3920 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3921
3922 * isearch.el (isearch-open-necessary-overlays): Open overlay
3923 ending at point (bug#19333).
3924
3925 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3926
3927 * net/shr.el (shr-fold-text): New function.
3928 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3929 alt/title texts.
3930 (shr-fold-text): Inhibit state from being altered.
3931
3932 * files.el (directory-files-recursively): Really check whether
3933 files are symlinks.
3934 (directory-name-p): New function.
3935 (directory-files-recursively): Use it.
3936
3937 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3938
3939 * emacs-lisp/package.el (package--list-loaded-files): New function
3940 to list files in a given directory which correspond to already
3941 loaded files.
3942 (package-activate-1): Reload files given by `package--list-loaded-files'.
3943 Fix bug#10125, bug#18443, and bug#18448.
3944
3945 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3946
3947 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3948
3949 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3950
3951 * simple.el (password-word-equivalents): Add "passcode", used for
3952 numeric secrets like PINs or RSA tokens.
3953
3954 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3955
3956 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3957 order to determine `tramp-own-remote-path'.
3958
3959 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3960
3961 * progmodes/python.el (python-shell-parse-command):
3962 Quote `python-shell-interpreter`. (Bug#19289)
3963
3964 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3967 (python-indent-levels): Document extra value.
3968 (python-indent-calculate-indentation): Return `noindent' in strings.
3969 (python-indent-post-self-insert-function)
3970 (python-indent-calculate-levels): Handle new value.
3971
3972 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3973
3974 * net/network-stream.el (network-stream-open-starttls): No need to
3975 check for the availability of `gnutls-available-p'.
3976
3977 * files.el (directory-files-recursively): Don't follow symlinks to
3978 other directories.
3979
3980 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3981
3982 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3983 * vc/vc.el: latest-on-branch-p is no longer a public method.
3984
3985 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3986 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3987 Remove `rollback' method, to be replaced in the future by uncommit.
3988
3989 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3990
3991 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3992 that there is empty output.
3993
3994 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3997 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3998
3999 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
4000
4001 * let-alist.el: Add new package and macro.
4002
4003 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
4004
4005 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
4006 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
4007 it's a shoot-self-in-foot archaism. Workfiles are always kept.
4008
4009 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
4010
4011 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
4012 trouble with ls over ftp. These flags result in ls returning no
4013 output, causing Tramp-breakage. (bug#19192)
4014
4015 2014-12-10 Andreas Schwab <schwab@suse.de>
4016
4017 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
4018
4019 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4020
4021 * files.el (directory-files-recursively):
4022 Use `file-name-all-completions' instead of `directory-files' for
4023 greater speed.
4024
4025 * net/shr.el (shr-tag-object): Don't bug out on text elements in
4026 <object>.
4027
4028 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
4029
4030 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
4031 and Puppetfile.
4032 (ruby-toggle-string-quotes): New command that allows you to quickly
4033 toggle between single-quoted and double-quoted string literals.
4034
4035 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
4036
4037 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
4038 list, avoids problems witt names containing hyphens.
4039
4040 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
4041
4042 Sync with upstream verilog-mode revision aa4b777.
4043 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4044 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
4045 (verilog-set-auto-endcomments): Automatically comment property/
4046 endproperty blocks to match other similar blocks like sequence/
4047 endsequence, function/endfunction, etc. Reported by Alex Reed.
4048 (verilog-set-auto-endcomments): Fix end comments for functions of
4049 type void, etc. Detect the function- or task-name when
4050 auto-commenting blocks that lack an explicit portlist.
4051 Reported by Alex Reed.
4052 (verilog-nameable-item-re): Fix nameable items that can have an
4053 end-identifier to include endchecker, endgroup, endprogram,
4054 endproperty, and endsequence. Reported by Alex Reed.
4055 (verilog-preprocessor-re, verilog-beg-of-statement):
4056 Fix indentation of property/endproperty around pre-processor
4057 directives. Reported by Alex Reed.
4058 (verilog-label-be): When auto-commenting a buffer, consider
4059 auto-comments on all known keywords (not just a subset thereof).
4060 Reported by Alex Reed.
4061 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
4062 Reported by Alex Reed.
4063 (verilog-beg-of-statement-1, verilog-at-constraint-p):
4064 Fix hanging with many curly-bracket pairs, bug663.
4065 (verilog-do-indent): Fix electric tab deleting form-feeds.
4066 Note caused by indent-line-to deleting tabls pre 24.5.
4067 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
4068 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
4069 (verilog-read-always-signals, verilog-auto-sense-sigs)
4070 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
4071 bug844. Reported by Greg Hilton.
4072
4073 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
4074
4075 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
4076 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
4077 'foreach', and 'do' keywords.
4078 (verilog-endcomment-reason-re, verilog-beg-of-statement):
4079 Fix labeling do-while blocks, bug842.
4080 (verilog-backward-token): Fix indenting sensitivity lists with
4081 named events, bug840.
4082
4083 2014-12-09 Reto Zimmermann <reto@gnu.org>
4084
4085 Sync with upstream vhdl mode v3.36.1.
4086 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4087 (vhdl-compiler-alist): Anchor all error regexps.
4088 (vhdl-compile-use-local-error-regexp): Change default to nil.
4089 (vhdl-asort, vhdl-anot-head-p): Remove.
4090 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
4091 Remove optional argument of vhdl-aget and update all callers.
4092 (vhdl-import-project): Also set `vhdl-compiler'.
4093
4094 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4095
4096 * files.el (find-files): New function.
4097
4098 * net/shr.el (shr-dom-print): Don't print comments.
4099 (shr-tag-svg): Give inline SVG images the right type.
4100
4101 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
4102 certificates in the header line.
4103 (eww-invalid-certificate, eww-valid-certificate): New faces.
4104
4105 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
4106
4107 * progmodes/python.el (inferior-python-mode):
4108 Set `comint-prompt-read-only` to `t` only locally.
4109
4110 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4111
4112 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
4113 (nsm-format-certificate): Include more data about the connection.
4114 (nsm-query): Fill the text to that it looks nicer.
4115 (nsm-check-protocol): Also warn if using SSL3 or older.
4116
4117 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
4120
4121 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
4122
4123 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
4124
4125 * info.el (Info-mode-map): Remove left-over binding.
4126
4127 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
4128 (avl-tree--root): Remove redundant defsetf.
4129
4130 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4131
4132 * net/nsm.el (network-security-level): Remove the detailed
4133 description, which was already outdated, and refer the users to
4134 the manual.
4135 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
4136 (bug#19153).
4137
4138 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
4139
4140 * net/eww.el (eww-buffers-mode): New major mode.
4141 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
4142 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
4143 New commands/functions (bug#19131).
4144
4145 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4146
4147 * net/gnutls.el (gnutls-negotiate): Ignore files found via
4148 'file-name-handler-alist' since the gnutls library can't use those
4149 (bug#15866).
4150
4151 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
4152
4153 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
4154 when FILES is non-nil (bug#19304).
4155
4156 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
4157
4158 * vc/vc-arch.el: Move to obsolete directory so a test framework
4159 won't trip over bit-rot in it. There has been no Arch snapshot
4160 for nine years.
4161
4162 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4163
4164 * net/eww.el (eww-follow-link): Revert prefix behaviour to
4165 previous behavior.
4166 (eww-copy-page-url): Add doc string.
4167
4168 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4169
4170 * net/eww.el (eww): Move history recording here...
4171 (eww-browse-url): ... from here (bug#19253).
4172
4173 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
4174 iterating over possible buffer names.)
4175
4176 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4177
4178 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
4179 (eww-current-buffer): Compilation fix for bug#18550 patch.
4180
4181 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4182
4183 * net/eww.el (eww-list-histories): Restore the history in the
4184 correct buffer (bug#18550).
4185
4186 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4187
4188 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
4189 displaying shortened titles first (bug#16398).
4190
4191 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
4192
4193 * progmodes/python.el: Recognize docstrings.
4194 (python-docstring-at-p, python-font-lock-syntactic-face-function):
4195 New functions.
4196 (python-mode): Use them.
4197
4198 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
4199
4200 * net/newst-treeview.el (newsticker--treeview-list-add-item)
4201 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4202 (newsticker--treeview-create-groups-menu)
4203 (newsticker--treeview-create-tree-menu): Remove.
4204 (newsticker--treeview-tree-open-menu): New.
4205 (newsticker-treeview-tree-click): Pass event to
4206 `newsticker-treeview-tree-do-click'.
4207 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4208
4209 2014-12-05 Juri Linkov <juri@linkov.net>
4210
4211 * comint.el (comint-history-isearch-search)
4212 (comint-history-isearch-wrap): Use field-beginning instead of
4213 comint-line-beginning-position.
4214 (comint-send-input): Go to the end of the field instead of the end
4215 of the line to accept whole multi-line input.
4216 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4217
4218 2014-12-05 Juri Linkov <juri@linkov.net>
4219
4220 * minibuffer.el (minibuffer-completion-help):
4221 Compare selected-window with minibuffer-window to check whether
4222 completions should be displayed near the minibuffer. (Bug#17809)
4223 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4224
4225 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * vc/vc-mtn.el (vc-mtn-root):
4228 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4229
4230 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4233 of the whole pipe when indenting an opening keyword after a |.
4234 Generalize this treatment to opening keywords like "while" (bug#18031).
4235
4236 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4237
4238 * simple.el (newline): Place the hook buffer-locally,
4239 to make sure it's first.
4240
4241 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4242 Fix handling of symbols with different syntax at beginning/end or with
4243 symbol rather than word syntax.
4244
4245 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4246
4247 * simple.el (line-move): If noninteractive, call line-move-1, not
4248 forward-line, since the former is compatible with line-move-visual
4249 both in terms of the column to which it moves and the return
4250 value. (Bug#19211)
4251
4252 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * vc/ediff-init.el (ediff-odd-p): Remove.
4255 (ediff-background-face): Use cl-oddp instead.
4256 (ediff-buffer-live-p): Make it a defsubst.
4257
4258 * tooltip.el (tooltip-region-active-p): Remove.
4259
4260 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4261 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4262
4263 * fringe.el (fringe-bitmap-p): Make it a plain function.
4264
4265 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4266 (class-p, generic-p, eieio-object-p, class-abstract-p):
4267 Make them defsubst, so as to avoid corner case problems where
4268 the arg might be evaluated in the condition-case, or it can't be passed
4269 to higher-order functions like `cl-some'.
4270
4271 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4272
4273 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4274 and remove old menu-related code.
4275
4276 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4277
4278 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4279 display PDF files (bug#19270).
4280
4281 2014-12-05 Juri Linkov <juri@linkov.net>
4282
4283 Compare with the most recent window by default.
4284 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4285 (compare-windows-get-recent-window)
4286 (compare-windows-get-next-window): New functions.
4287 (compare-windows, compare-windows-sync-default-function):
4288 Use `compare-windows-get-window-function' instead of `next-window'.
4289 (compare-windows): Add diff/match messages with region boundaries.
4290 (Bug#19170)
4291
4292 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4295
4296 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4297
4298 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4299
4300 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4301
4302 Implement copying of a buffer portion while preserving visual order.
4303 * simple.el (bidi-directional-controls-chars)
4304 (bidi-directional-non-controls-chars): New variables.
4305 (squeeze-bidi-context-1, squeeze-bidi-context)
4306 (line-substring-with-bidi-context)
4307 (buffer-substring-with-bidi-context): New functions.
4308
4309 * files.el (file-tree-walk): Doc fix.
4310
4311 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4312 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4313
4314 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4315 program support to match more extensions. Replace non-alnum
4316 characters when generating include guards (headers) and check for
4317 more extensions when generating includes (programs)
4318 (bug#19254).
4319
4320 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4321
4322 * files.el (file-tree-walk): Fix docstring.
4323
4324 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4325
4326 Fix bug whereby saving files hung in VC hook.
4327
4328 Saving a buffer visiting a file under SVN control would hang if
4329 the remote repository were unreachable, because the VC hooks tried
4330 to run "svn status -u" on the file, where the "-u" tells svn to
4331 get update information from the remote repository.
4332 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4333
4334 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4335 argument and always pass "-v" to "svn status", never "-u".
4336
4337 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * emacs-lisp/inline.el: Fix up copyright header.
4340 (inline-quote, inline-const-p, inline-const-val, inline-error):
4341 Silence compiler warnings.
4342 (inline-letevals): Fix edebug spec.
4343 (inline--testconst-p): Consider lambda expressions as const-p.
4344 (inline--getconst-val): Use inline--testconst-p.
4345
4346 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4347 and change default to stay in the minibuffer when called from
4348 the minibuffer (bug#19250).
4349 (lazy-completion-table): Use this new argument to preserve the
4350 old behavior.
4351
4352 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4353 incorrect lexical elements (bug#19250).
4354
4355 2014-12-03 A. N. Other <none@example.com>
4356
4357 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4358
4359 2014-12-02 Glenn Morris <rgm@gnu.org>
4360
4361 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4362
4363 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4364
4365 * subr.el (filter): New macro. Because it's just silly for a Lisp
4366 not to have this in 2014. And VC needs it.
4367
4368 * vc.el: All backends: API simplification: Abolish dir-status.
4369 It's replaced by dir-status-files.
4370
4371 * vc.el: All backends: API simplification: Remove 4th
4372 'default-state' argument from vc-dir-status files and its backend
4373 methods - no backend method ever set it. It was used only in the
4374 fallback method to to set a default of 'up-to-date, though a
4375 convoluted call chain obscured this.
4376
4377 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4378
4379 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4380 improving behavior on directories using multiple file-oriented VCSes.
4381
4382 * vc/vc.el: All backends: API simplification; clear-headers
4383 is no longer a public method. It is now local to the one place
4384 it's used, in the RCS steal-lock method.
4385
4386 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4387
4388 * vc/vc.el: In all backends: API simplification; could-register
4389 is no longer a public method. (vc-cvs.el still has a private
4390 implementation.)
4391
4392 * vc/vc.el: In all backends: API cleanup; the backend diff method
4393 takes an explicit async flag. This eliminates a particularly ugly
4394 global.
4395
4396 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4397 VC randomly/unpredictably fails without it; cause not yet established.
4398
4399 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 Merge some of the differences from the standalone CC-mode.
4402 The main change is to only use the `category' text-property only when
4403 available. For that many calls are changed to use c-get-char-property,
4404 c-next-single-property-change, c-sc-scan-lists,
4405 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4406
4407 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4408 (c-basic-common-init): Initialize it.
4409 (c-common-init): Only use mode-require-final-newline when available.
4410 (c-before-change): Check and set c-just-done-before-change.
4411 (c-after-change): Re-set c-just-done-before-change.
4412 (c-advise-fl-for-region): New macro.
4413 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4414 (font-lock-after-change-function, jit-lock-after-change):
4415 Advise if needed.
4416
4417 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4418 (c-known-type-key): Don't make a list just to throw it away.
4419
4420 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4421 Handle the case where categories are not available.
4422 (c-record-parse-state-state, c-replay-parse-state-state):
4423 Handle marker values.
4424 (c-before-change-check-<>-operators): Look for the `syntax-table'
4425 property rather than for the corresponding `category'.
4426 (c-looking-at-decl-block): Remove unused var
4427 `c-disallow-comma-in-<>-arglists'.
4428 (c-forward-<>-arglist-recur): Remove unused var
4429 `orig-record-found-types'.
4430
4431 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4432 (c-use-category): New const.
4433 (c-next-single-property-change): New macro.
4434 (c-region-is-active-p): Prefer region-active-p when available.
4435 (c-search-backward-char-property): Fix old min/max typo; probably
4436 a copy/paste error.
4437 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4438 Turn them into macros that obey c-use-category.
4439 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4440 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4441 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4442 (c-looking-at-non-alphnumspace): New macros.
4443 (c-sc-parse-partial-sexp-no-category): New function.
4444 (c-emacs-features): Add `category-properties' element.
4445
4446 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4447 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4448 not available.
4449 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4450 (c-indent-line-or-region): Use c-region-is-active-p.
4451
4452 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4453 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4454 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4455 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4456 (cc-bytecomp-obsolete-fun): Delete unused functions.
4457
4458 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4459
4460 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4461
4462 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4463 dom.el changes.
4464
4465 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4468 current "project" rather than just the current directory.
4469 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4470 the file names make sense.
4471
4472 * vc/smerge-mode.el (smerge-swap): New command.
4473
4474 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4475
4476 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4477
4478 * net/newst-treeview.el (newsticker--treeview-item-show):
4479 Check window liveliness before measuring its width.
4480
4481 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4482 Pass correct status to `newsticker--sentinel-work'.
4483 (newsticker--sentinel-work): Use "newsticker--download-error" as
4484 guid in order to prevent multiple "Could not download..."
4485 messages. (Bug#19166)
4486
4487 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4488
4489 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4490 correct buffer (bug#19225).
4491
4492 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4493
4494 * net/nsm.el (network-security-level): Change the default to `medium'.
4495
4496 * net/eww.el (eww): Leave point in a place that doesn't cause
4497 scrolling when displaying "Loading...".
4498
4499 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4500
4501 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4502 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4503 'merge-branch'. Prompting for merge revisions is pushed down to
4504 the back ends; this fixes a layering violation that caused bad
4505 behavior with SVN.
4506
4507 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4508 vc-stay-local-p and repository-hostname are no longer public
4509 methods. Only the CVS and SVN backends used these, and the SVN
4510 support was conditioned out because svn status -v is too slow.
4511 The CVS back end retains this machinery and the vc-stay-local
4512 configuration variable now only affects it.
4513
4514 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * emacs-lisp/inline.el: New file.
4517
4518 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4519
4520 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4521 vc-state-heuristic is no longer a public method, having been
4522 removed where it is redundant, unnecessary, or known buggy.
4523 This eliminated all backends except CVS. Eliminates bug#7850.
4524
4525 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4526 Eliminate vc-mistrust-permissions. It was only relevant to the
4527 RCS and SCCS back ends and defaulted to t. Code now always
4528 mistrusts permissions - by actual measurement the effect on
4529 performance is negligible. As a side effect bug#11490 is now
4530 irrelevant.
4531
4532 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4533 vc-workfile-unchanged-p is no longer a public method (but the RCS
4534 and SCCS back ends retain it as a private method used in state
4535 computation). This method was redundant with vc-state and usually
4536 implemented as a trivial call to same. Fixes the failure mode
4537 described in bug#694.
4538
4539 * vc/vc.el: All backends: API simplification; init-revision is
4540 gone, and vc-registered functions no longer take an
4541 initial-revision argument.
4542
4543 2014-11-29 Glenn Morris <rgm@gnu.org>
4544
4545 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4546 (vc-src-master-templates): Fix :version tags.
4547
4548 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4549
4550 * outline.el (outline-move-subtree-down): Refactor and improve code.
4551
4552 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4553 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * outline.el (outline-move-subtree-down): Make sure we can move
4556 forward to find the end of the subtree and the insertion point
4557 (bug#19102).
4558
4559 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4560
4561 * progmodes/python.el (python-shell-completion-setup-code):
4562 Use __builtin__ module (or builtins in Python 3) and catch all errors
4563 when importing readline and rlcompleter.
4564
4565 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4566
4567 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4568 (todo-revert-buffer): New function.
4569 (todo-modes-set-1): Use it as the buffer-local value of
4570 revert-buffer-function.
4571
4572 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4573
4574 * calendar/todo-mode.el (todo-mode): If called interactively, just
4575 display a message saying to call todo-show to enter Todo mode
4576 (Bug#19112).
4577
4578 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4579
4580 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4581 (Bug#18579)
4582
4583 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4584 files. (Bug#18579)
4585
4586 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4587
4588 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4589 remote `buffer-file-name'.
4590
4591 2014-11-29 Leo Liu <sdl.web@gmail.com>
4592
4593 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4594
4595 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4596
4597 Set PYTHONUNBUFFERED on shell startup.
4598
4599 * progmodes/python.el (python-shell-unbuffered): New var.
4600 (python-shell-calculate-process-environment): Use it.
4601
4602 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4603
4604 * net/tramp.el (tramp-action-password): Clean password on subsequent
4605 attempts even if there was no wrong password indication. (Bug#19047)
4606
4607 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4608 fallback.
4609 (tramp-open-connection-setup-interactive-shell): No need to check
4610 for nil as `tramp-get-remote-locale' return value.
4611
4612 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4613
4614 * vc/vc-git.el (vc-git-command, vc-git--call):
4615 Bind coding-system-for-read and coding-system-for-write to
4616 vc-git-commits-coding-system.
4617 (vc-git-previous-revision): Use "~1" instead of "^", since the
4618 latter is a special character for MS-Windows system shells.
4619
4620 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4621
4622 Improve XEmacs compatibility.
4623
4624 * net/tramp.el (tramp-autoload-file-name-handler):
4625 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4626 exist in XEmacs.
4627 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4628 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4629 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4630 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4631 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4632 * net/tramp-cache.el (tramp-get-file-property):
4633 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4634 Use `time-less-p' and `time-subtract, respectively.
4635
4636 * net/tramp-adb.el (top): Do not require time-date.el.
4637
4638 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4639
4640 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4641 Check, whether `utf-8' is a valid coding system.
4642
4643 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4644
4645 * vc/vc.el (vc-retrieve-tag): Doc fix.
4646
4647 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4650 (bug#19152).
4651
4652 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4653
4654 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4655 * help.el (help-window-old-frame): New variable.
4656 (help-window-select): Default to nil (Bug#11039).
4657 Rewrite doc-string.
4658 (help-window-setup): When the help window appears on another
4659 frame and `help-window-select' is non-nil, give that frame input
4660 focus too (Bug#19012).
4661 (with-help-window): Store selected frame in
4662 help-window-old-frame.
4663
4664 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4665
4666 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4667 nil value for `newsticker-groups-filename'.
4668
4669 2014-11-28 Daiki Ueno <ueno@gnu.org>
4670
4671 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4672 (epa-sign-region, epa-encrypt-region):
4673 Use `epg-context-set-{passphrase,progress}-callback', instead of
4674 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4675 Reported by José A. Romero L.
4676
4677 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4678
4679 * net/eww.el (eww-restore-history):
4680 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4681
4682 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4683
4684 * net/newst-backend.el (newsticker--parse-atom-1.0):
4685 Handle embedded (x)html in summary node.
4686
4687 2014-11-27 Sam Steingold <sds@gnu.org>
4688
4689 * menu-bar.el (menu-bar-open): When everything else fails,
4690 use (mouse-menu-bar-map).
4691
4692 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4693
4694 * net/newst-treeview.el (newsticker-groups-filename):
4695 Change default value to nil. Point out that variable is obsolete in doc
4696 string.
4697 (newsticker--treeview-load): Change wording of the questions the
4698 user is asked when `newsticker-groups-filename' is found to be
4699 used and we offer to read and remove the groups file. (Bug#19165)
4700
4701 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4702
4703 * net/eww.el (eww): Record the new URL immediately, so that if the
4704 HTTP fetch fails, we have the right URL in the buffer.
4705 (eww-process-text-input): Don't shorten the input field if
4706 deleting at the last character (bug#19085).
4707 (eww-restore-history): Inhibit change functions while restoring
4708 the history.
4709 (eww-process-text-input): Fix deletion at the start of the field, too.
4710 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4711 (eww-process-text-input): Try to keep track of the size more reliably.
4712
4713 * dom.el (dom-pp): New function.
4714
4715 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4716
4717 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4718 Don't assume --long is the default for "bzr log", always specify
4719 it explicitly, in case the user defined an alias for 'log' that
4720 uses some other format.
4721
4722 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4723
4724 * progmodes/python.el (python-eldoc--get-doc-at-point):
4725 Strip shell output before returning. (bug#18794)
4726
4727 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4728
4729 Fix indentation before `!=' and after `+='. Originally reported
4730 in https://github.com/mooz/js2-mode/issues/174.
4731 * progmodes/js.el (js--indent-operator-re): Make assignments and
4732 (in)equality operator a separate case.
4733 (js--continued-expression-p): Escape the second `+' in the regexp.
4734
4735 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4738
4739 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4740
4741 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4742 when querying about new certificates.
4743
4744 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4745
4746 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4747 can be strings.
4748 (dom-elements): Protect against non-text nodes.
4749 (dom-non-text-children): New function.
4750
4751 * net/eww.el (eww-tag-title): Use `dom-text'.
4752
4753 2014-11-26 Sam Steingold <sds@gnu.org>
4754
4755 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4756
4757 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4758
4759 * net/eww.el (eww-highest-readability): More dom.el fixes.
4760
4761 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4762
4763 * net/newst-backend.el (newsticker--parse-generic-items):
4764 Take care of UIDs when adding elements to cache.
4765
4766 2014-11-26 Alan Mackenzie <acm@muc.de>
4767
4768 Remove spurious reference to symbol category_properties.
4769 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4770
4771 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4772
4773 * net/eww.el: Use the new dom.el accessors throughout.
4774
4775 * net/shr.el: Ditto.
4776
4777 * dom.el: New file.
4778
4779 2014-11-26 Glenn Morris <rgm@gnu.org>
4780
4781 * arc-mode.el (archive-visit-single-files): Add :version.
4782
4783 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4784
4785 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4786 elements.
4787 (nsm-warnings-ok-p): The new version of this function always
4788 returned nil when everything was OK.
4789
4790 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4791
4792 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4793
4794 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4795 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4796
4797 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4798
4799 * emacs-lisp/byte-run.el (function-put): Match argument names to
4800 docstring.
4801
4802 2014-11-24 Sam Steingold <sds@gnu.org>
4803
4804 * vc/vc-hooks.el (vc-directory-exclusion-list):
4805 Fix a trivial typo (bug#19171).
4806
4807 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * vc/vc-hooks.el (vc-state-base-face): Don't override
4810 mode-line-inactive.
4811
4812 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
4814 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4815 (eww-process-text-input): Inhibit read only so that input fields
4816 don't get shortened (bug#19085).
4817
4818 2014-11-24 Leo Liu <sdl.web@gmail.com>
4819
4820 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4821
4822 * window.el (with-temp-buffer-window)
4823 (with-current-buffer-window, with-displayed-buffer-window):
4824 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4825 * emacs-lisp/cl-lib.el (substring):
4826 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4827
4828 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4829
4830 * isearch.el (isearch-update): Don't assume
4831 pos-visible-in-window-p will return nil when point is hscrolled
4832 out of view. (Bug#19157)
4833
4834 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4835
4836 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4837 (eww-follow-link): Follow in new buffer in case of prefix
4838 argument, open externally with double prefix (bug#19130).
4839
4840 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4841
4842 * net/eww.el (eww-display-html): Decode the document-defined charset.
4843 (eww): Pop to the *eww* buffer immediately after executing the
4844 `M-x eww' command to avoid having buffers pop up later.
4845 (eww-display-html): Don't pop the *eww* buffer.
4846 (eww-display-raw): Ditto.
4847 (eww-display-image): Ditto.
4848 (eww-follow-link): Make going to #targets in the page work again.
4849
4850 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4851
4852 * net/eww.el (eww-suggest-uris): New variable.
4853 (eww-suggested-uris): New function.
4854 (eww): Default to URL under point.
4855 (eww-links-at-point): New function.
4856
4857 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4858
4859 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4860
4861 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4862
4863 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4864
4865 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4866
4867 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4868 (eww-display-raw): Use it (bug#16225).
4869
4870 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4871
4872 * net/nsm.el (network-security-level): Rename from
4873 `nsm-security-level' and documented.
4874
4875 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4876 we're sending a password.
4877
4878 * net/nsm.el: New file that implements a Network Security Manager.
4879
4880 * net/network-stream.el (open-network-stream): Add a new
4881 :warn-unless-encrypted parameter.
4882 (network-stream-open-plain): Allow warning unless encrypted.
4883 (network-stream-open-starttls): Call the Network Security Manager.
4884 (network-stream-open-tls): Ditto.
4885
4886 2014-11-23 Leo Liu <sdl.web@gmail.com>
4887
4888 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4889 (calendar-chinese-to-absolute-for-diary)
4890 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4891 Handle leap months in Chinese calendar. (Bug#18953)
4892
4893 2014-11-22 Alan Mackenzie <acm@muc.de>
4894
4895 Fix error with `mark-defun' and "protected:" in C++ Mode.
4896 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4897 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4898
4899 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4900
4901 * net/newst-backend.el (newsticker--sentinel-work):
4902 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4903
4904 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4905
4906 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4907 (tramp-sh-handle-process-file): Propagate `process-environment'.
4908
4909 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4910 Tramp propagates environment variables now.
4911
4912 2014-11-22 Eric S. Raymond <esr@snark>
4913
4914 * vc/vc-filewise.el: New file to isolate code used only by the
4915 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4916 live in vc.el and certainly not in vc-hooks.el.
4917
4918 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4919 This is preparatory to isolating all the 'master' functions
4920 used only by the file-oriented back ends. With this done first,
4921 the substantive diffs will be easier to read.
4922
4923 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4924
4925 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4926 that is recognized by `help-mode'.
4927
4928 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4929
4930 * desktop.el (desktop-create-buffer): Use activate-mark to set
4931 `mark-active' (bug#19058).
4932
4933 2014-11-21 Eric S. Raymond <esr@snark>
4934
4935 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4936 nil state.
4937
4938 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4939
4940 * vc/vc.el (vc-deduce-fileset): Support invocation from
4941 *vc-change-log* buffer. (Bug#19084)
4942
4943 2014-11-13 Matthew Leach <matthew@mattleach.net>
4944
4945 * arc-mode.el (archive-visit-single-files): New.
4946 (archive-mode): Visit file if archive contains a single file.
4947 (Bug#1702)
4948
4949 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4950
4951 * vc/vc.el: Fix a typo in the commentary.
4952
4953 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4954
4955 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4956 testing and a real log-view mode.
4957
4958 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4959 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4960 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4961 checkout methods; where it matters (which is only in SCCS and RCS)
4962 files are always checked out editable. This may actually have
4963 been dynamically true already - it looks like the vc-next-action
4964 code evolved past visiting the other case. Tested with RCS.
4965
4966 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4967 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4968 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4969 argument from the backend checkin methods. Only the RCS, SCCS,
4970 and CVS back ends tried to do anything with it, and that code was
4971 never exercised. Chiseling away the cruft of decades...
4972
4973 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4974
4975 * net/eww.el (eww-render): Remove a no-op :title setting.
4976
4977 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4978
4979 * net/eww.el (eww-history-limit): New variable.
4980 (eww-save-history): Use it (bug#19105).
4981 (eww-reload): Reload the page in the right buffer.
4982
4983 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4984
4985 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4986
4987 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4988
4989 * net/eww.el (eww-desktop-remove-duplicates)
4990 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4991 (eww-mode): Set up desktop mode (bug#18010).
4992 (eww-desktop-data-save, eww-desktop-data-1)
4993 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4994 (eww-restore-desktop): New functions.
4995
4996 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4997
4998 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4999 correct buffer. (Bug#19101)
5000
5001 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5002
5003 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
5004 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
5005
5006 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
5007
5008 * ido.el (ido-bury-buffer-at-head): New command.
5009 (ido-buffer-completion-map): Bind it to C-S-b.
5010
5011 2014-11-18 Juri Linkov <juri@linkov.net>
5012
5013 * simple.el (next-line-or-history-element): Wrap next-line
5014 in with-no-warnings.
5015 (previous-line-or-history-element): Wrap previous-line
5016 in with-no-warnings.
5017
5018 2014-11-18 Juri Linkov <juri@linkov.net>
5019
5020 * progmodes/grep.el (grep-compute-defaults):
5021 Compute grep-highlight-matches before its use.
5022
5023 2014-11-18 Juri Linkov <juri@linkov.net>
5024
5025 * replace.el (query-replace-from-to-separator): Turn defvar into
5026 defcustom. Wrap char-displayable-p in ignore-errors because an
5027 attempt to autoload char-displayable-p fails during pre-loading.
5028 Move (propertize "\0" ... 'separator t) out of customizable part
5029 to query-replace-read-from.
5030 (query-replace-read-from): Call custom-reevaluate-setting on
5031 query-replace-from-to-separator to reevaluate the separator
5032 depending on the return value of char-displayable-p.
5033 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
5034
5035 2014-11-18 Juri Linkov <juri@linkov.net>
5036
5037 * bindings.el (minibuffer-local-map): Rebind [down] from
5038 next-history-element to next-line-or-history-element, and [up]
5039 from previous-history-element to previous-line-or-history-element.
5040
5041 * simple.el (next-line-or-history-element)
5042 (previous-line-or-history-element): New commands.
5043 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
5044
5045 2014-11-18 Leo Liu <sdl.web@gmail.com>
5046
5047 * emacs-lisp/nadvice.el (define-advice): New macro.
5048 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5049 Add define-advice.
5050 (lisp-font-lock-keywords-1): Add define-advice.
5051
5052 2014-11-18 Daiki Ueno <ueno@gnu.org>
5053
5054 * epg.el (epg-context): New slot EDIT-CALLBACK.
5055 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
5056 (epg-reset): Reset EDIT-CALLBACK of the context.
5057 (epg-start-edit-key): New function.
5058 (epg-edit-key): New function.
5059
5060 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
5061
5062 Port new time stamp handling to Emacs 23.2.
5063 This fix is for Gnus. Reported by Katsumi Yamaoka.
5064 * calendar/time-date.el (time-add, time-subtract, time-less-p):
5065 Use eval-and-compile, not eval-when-compile.
5066
5067 2014-11-18 Daiki Ueno <ueno@gnu.org>
5068
5069 * epg.el (epg-context-set-passphrase-callback)
5070 (epg-context-set-progress-callback): Check if the CALLBACK
5071 argument is a function, instead of a cons.
5072
5073 2014-11-18 Daiki Ueno <ueno@gnu.org>
5074
5075 * epa-file.el (epa-file-insert-file-contents)
5076 (epa-file-write-region): Remove redundant check of
5077 epa-pinentry-mode.
5078 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5079 (epa-sign-region, epa-encrypt-region): Remove redundant check of
5080 epa-pinentry-mode.
5081
5082 2014-11-18 Daiki Ueno <ueno@gnu.org>
5083
5084 * epa-file.el (epa-file-insert-file-contents): Don't show
5085 "*Error*" buffer if input file does not exist.
5086 Reported by Herbert J. Skuhra.
5087
5088 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
5089 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5090
5091 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
5092 An alternative version of the patch from bug#13871.
5093 (c-operators): Add "alignof".
5094 (c-primitive-type-kwds): Add "char16_t", "char32_t".
5095 (c-type-modifier-kwds): Add "constexpr", "noexcept".
5096 (c-modifier-kwds): Add "thread_local".
5097 (c-constant-kwds): Add "nullptr".
5098
5099 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
5100
5101 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
5102 New variables for specifying tildify pattern and representation of
5103 a hard space -- a no-break space by default -- respectively.
5104 Being buffer-local they are much easier to handle than
5105 `tildify-string-alist' and `tildify-pattern-alist' respectively
5106 that have been used so far. They also works better with derived
5107 modes.
5108 (tildify-foreach-region-function): New variable specifying
5109 a function determining portions of buffer that should be
5110 tildified. It allows major modes to create a filtering function
5111 more elaborate than a set of regular expressions. Initialized to
5112 `tildify--deprecated-ignore-evironments' by default to handle now
5113 deprecated `tildify-ignored-environments-alist' variable.
5114 (tildify--foreach-region): A new function that takes
5115 `tildify-foreach-region-function' into account and calls callback
5116 for regions of the buffer that should be tildified.
5117 (tildify-foreach-ignore-environments): A new function which can be
5118 partially applied and used as `tildify-foreach-region-function'.
5119 (tildify-ignored-environments-alist, tildify-pattern)
5120 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
5121 (tildify--find-env): Rename from `tildify-find-env' and mark as
5122 obsolete.
5123 (tildify--deprecated-ignore-evironments): New function,
5124 immediately marked as obsolete, used to handle deprecated
5125 `tildify-ignored-environments-alist'.
5126
5127 * textmodes/tex-mode.el (tex-common-initialization):
5128 Set `tildify-space-string' and `tildify-foreach-region-function'
5129 variables in all variants of TeX mode since `tildify-string-alist'
5130 and `tildify-ignored-environments-alist' are now empty by default.
5131
5132 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
5133 If encoding supports it use no-break space instead of character
5134 entity; this changes previous default which used a numeric
5135 reference.
5136
5137 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
5138 If encoding does not support no-break space, use numeric reference;
5139 this changes previous default which used named entity (“&nbsp;”)
5140 in HTML mode.
5141
5142 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
5143
5144 * calendar/icalendar.el (icalendar-export-alarms):
5145 New customizable variable. (Bug#5433)
5146 (icalendar-export-region): Export alarms as specified in
5147 `icalendar-export-alarms'.
5148 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
5149 New functions for exporting alarms.
5150
5151 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5152
5153 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
5154
5155 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
5156
5157 Port new time stamp handling to old Emacs and to XEmacs.
5158 This is needed for Gnus, which copies time-date.el and which
5159 runs on older Emacs implementations.
5160 * calendar/time-date.el (with-decoded-time-value):
5161 Handle 'nil' and floating-point arg more compatibly with new Emacs.
5162 (encode-time-value, with-decoded-time-value):
5163 Obsolete only if new Emacs.
5164 (time-add, time-subtract, time-less-p): Define if not new Emacs.
5165
5166 Improve time stamp handling, and be more consistent about it.
5167 This implements a suggestion made in:
5168 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
5169 Among other things, this means timer.el no longer needs to
5170 autoload the time-date module.
5171 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
5172 * arc-mode.el (archive-ar-summarize):
5173 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
5174 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
5175 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
5176 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5177 * proced.el (proced-time-lessp):
5178 * timezone.el (timezone-time-from-absolute):
5179 * type-break.el (type-break-schedule, type-break-time-sum):
5180 Simplify by using new functionality.
5181 * calendar/cal-dst.el (calendar-next-time-zone-transition):
5182 Do not return time values in obsolete and undocumented (HI . LO)
5183 format; use (HI LO) instead.
5184 * calendar/time-date.el (with-decoded-time-value):
5185 Treat 'nil' as current time. This is mostly for XEmacs.
5186 (encode-time-value, with-decoded-time-value): Obsolete.
5187 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
5188 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
5189 * ldefs-boot.el: Update to match new time-date.el
5190 * proced.el: Do not require time-date.
5191
5192 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5193
5194 * net/eww.el (eww-mode): Make the buffer read-only.
5195 (eww-form-text): Inhibit read-only-ness in text input fields
5196 (bug#16476).
5197
5198 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * simple.el (execute-extended-command--shorter): Cut search here.
5201 (execute-extended-command): Instead of here.
5202
5203 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5204
5205 * progmodes/python.el (python-mode): Avoid use of set-local to
5206 keep Emacs 24.x compatibility.
5207
5208 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5209
5210 * net/shr.el (shr): Move to the new defgroup `web'.
5211
5212 * net/eww.el (eww): Ditto.
5213
5214 * simple.el (execute-extended-command): Don't show the help
5215 message if the binding isn't significantly shorter than the
5216 M-x command the user typed (bug#19013).
5217
5218 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5219
5220 * calendar/icalendar.el (icalendar--convert-tz-offset):
5221 Return complete cons when offsets of standard time and daylight saving
5222 time are equal.
5223 (icalendar-export-region): Fix unbound variable warning.
5224
5225 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5226
5227 * progmodes/python.el (run-python): Allow CMD to be optional and
5228 default it to a safe command, even for Windows. (bug#18596)
5229
5230 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5231
5232 * progmodes/python.el (python-shell-calculate-command):
5233 Rename from python-shell-parse-command. Cleanup.
5234 (run-python, run-python-internal): Use it.
5235 (python-shell-calculate-pythonpath): Rename from
5236 python-new-pythonpath.
5237 (python-shell-calculate-process-environment): Use it.
5238 (python-shell-calculate-exec-path): Add comment.
5239
5240 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5241
5242 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5243 for date handling.
5244
5245 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * version.el (emacs-repository-get-version): Use git rev-parse
5248 instead of git log.
5249
5250 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5251
5252 * progmodes/python.el (python-indent-calculate-levels):
5253 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5254
5255 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5256
5257 * progmodes/python.el (python-indent-region):
5258 Use python-indent-line and skip special cases. (Bug#18843)
5259
5260 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5261
5262 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5263 envelope-from when reporting through sendmail (bug#19054).
5264
5265 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5266
5267 Add faces for the VC modeline state indicator.
5268 * vc/vc-hooks.el:
5269 (vc-state-faces, vc-state-base-face)
5270 (vc-up-to-date-state, vc-needs-update-state)
5271 (vc-locked-state, vc-locally-added-state)
5272 (vc-conflict-state, vc-removed-state)
5273 (vc-missing-state, vc-edited-state):
5274 New faces.
5275 (vc-default-mode-line-string): Use them
5276
5277 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5280
5281 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5282
5283 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5284
5285 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5286
5287 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5288 type checks, simplify printing. (Bug#18962)
5289
5290 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5291
5292 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5293 (python-shell-font-lock-with-font-lock-buffer)
5294 (python-shell-get-buffer, python-ffap-module-path):
5295 Use `derived-mode-p' instead of equality test on `major-mode'.
5296
5297 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5298
5299 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5300 python-shell-virtualenv-path.
5301 (python-shell-internal-get-process-name)
5302 (python-shell-calculate-process-environment)
5303 (python-shell-calculate-exec-path): Use it.
5304
5305 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5306
5307 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5308 bindings.el, since it is not yet loaded when bindings.el is
5309 preloaded.
5310
5311 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5312
5313 * progmodes/python.el (python-shell-completion-get-completions):
5314 Fix previous merge.
5315
5316 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5317
5318 * net/eww.el (eww-render): Don't set the title to the URL.
5319
5320 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5321
5322 * version.el (emacs-repository-get-version): Call `git log'
5323 command with proper format argument (bug#19049).
5324
5325 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5326
5327 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5328
5329 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5330
5331 * net/eww.el (eww-search-words): New command (bug#16258).
5332
5333 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5334
5335 * net/shr.el (shr-inhibit-images): Add a doc string.
5336
5337 * net/eww.el (eww-after-render-hook): New variable.
5338 (eww-render): Use it.
5339
5340 * net/shr.el (shr-descend): Don't descend further than
5341 `max-specpdl-size' allows (bug#16587).
5342 (shr-depth): New variable.
5343 (shr-warning): New variable.
5344
5345 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5346
5347 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5348 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5349
5350 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5351
5352 * net/eww.el (eww): Add comment to clarify.
5353
5354 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5355 external SVG images.
5356 (shr-tag-object): Display images in <object> forms (bug#16244).
5357 (shr-tag-table): Also insert <objects> after the tables.
5358
5359 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5360
5361 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5362
5363 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5364
5365 * net/eww.el (eww-form-file): Fix version number.
5366
5367 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5368
5369 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5370
5371 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5372
5373 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5374 (eww-submit-file): New key map of file upload.
5375 (eww-form-file): New file upload button and file name context.
5376 (eww-select-file): Select file and display selected file name.
5377 (eww-tag-input): Handle input tag of file type.
5378 (eww-update-field): Add point offset.
5379 (eww-submit): Add submit with multipart/form-data.
5380
5381 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5382
5383 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5384 Allow taking a buffer to render data in. This allows using several
5385 eww buffers (bug#16211).
5386
5387 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5388
5389 * net/eww.el (eww-download-callback): Save only the file contents,
5390 not the headers.
5391
5392 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5393
5394 * net/eww.el (eww-data): New plist to store all the data relevant
5395 to a single page, used throughout the file instead of the
5396 variables `eww-current-url', `eww-current-dom',
5397 `eww-current-source', and `eww-current-title'.
5398 (eww-readable): Copy over pertinent data from the parent page.
5399 (eww-save-history): Don't let the history grow infinitely.
5400
5401 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5402 `eww-up-url', `eww-home-url', `eww-start-url' and
5403 `eww-contents-url' and put the data into the `eww-data' plist.
5404 This allow restoring these values after going back in the history.
5405
5406 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5407
5408 Allow VTIMEZONE where daylight and standard time zones are equal.
5409 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5410 * calendar/icalendar.el (icalendar--convert-tz-offset):
5411 Support timezone without daylight saving time.
5412
5413 2014-11-10 Glenn Morris <rgm@gnu.org>
5414
5415 * startup.el (command-line): Handle nil elements in load-path.
5416
5417 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * help.el (view-lossage): Include the actual commands run.
5420
5421 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5422
5423 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5424 no state is specified. (Bug#18964)
5425
5426 2014-11-09 Eric Ludlam <zappo@gnu.org>
5427
5428 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5429 Set eieio-cog (current group) to g, which is an improved form of input
5430 group.
5431
5432 2014-11-09 Juri Linkov <juri@jurta.org>
5433
5434 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5435 "Multi-buffer" instead of "Multi". (Bug#13592)
5436
5437 * misearch.el (multi-isearch-file-list):
5438 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5439 (multi-isearch-end): Reset multi-isearch-buffer-list and
5440 multi-isearch-file-list to nil.
5441
5442 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5445 Don't call byte-compile-preprocess since the result will go through
5446 cconv.
5447 (byte-compile-output-docform): Handle uninterned `name' correctly.
5448 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5449 to circumvent byte-compiler bug.
5450
5451 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5452 (macroexp--compiler-macro): Remove left-over debug code.
5453
5454 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5455
5456 2014-11-08 Juri Linkov <juri@jurta.org>
5457
5458 * simple.el (shell-command): Use buffer-name when output-buffer is
5459 a buffer. (Bug#18096)
5460
5461 2014-11-08 Juri Linkov <juri@jurta.org>
5462
5463 * minibuffer.el (minibuffer-completion-help): Compare this-command
5464 with completion-at-point. (Bug#17809)
5465
5466 2014-11-08 Glenn Morris <rgm@gnu.org>
5467
5468 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5469 Allow the argument to be a string. Due to the vague doc,
5470 it was already being used this way.
5471
5472 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5473
5474 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5475 the constructed Tramp file name. (Bug#18943)
5476
5477 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5480 (bug#18952).
5481 (cua-set-mark, cua--post-command-handler-1):
5482 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5483
5484 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5485
5486 * files.el (file-name-non-special): Wrap the call of
5487 `insert-file-contents' by `unwind-protect', in order to set the
5488 buffer's file name anyway. (Bug#18891)
5489
5490 2014-11-08 Alan Mackenzie <acm@muc.de>
5491
5492 Fix wrong bound to c-font-lock-declarators.
5493 * progmodes/cc-fonts.el (c-font-lock-declarations):
5494 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5495 the buffer is sometimes narrowed to less than "limit" (e.g., in
5496 the presence of macros). (Bug#18948)
5497
5498 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5499
5500 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5501 only when message appeared in minibuffer. (Bug#18891)
5502
5503 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5504 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5505 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5506 case of errors.
5507
5508 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5511 Don't compile before eval in `eval-and-compile'.
5512 (byte-compile-arglist-warn): Add check for defining macros after their
5513 first use. Check call use even if the function is fboundp.
5514
5515 2014-11-08 Richard Stallman <rms@gnu.org>
5516
5517 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5518 Check more carefully for mime-part specified character set.
5519 Check for mime-part Content Transfer Encoding.
5520 Notify if no armor found.
5521
5522 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5523
5524 * faces.el (face-set-after-frame-default): Enable running
5525 `window-configuration-change-hook'.
5526
5527 2014-11-07 Juri Linkov <juri@jurta.org>
5528
5529 * replace.el: History for query replace pairs.
5530 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5531 (query-replace-from-to-separator): New variable.
5532 (query-replace-read-from): Let-bind query-replace-from-to-history
5533 to a list of FROM-TO strings created from query-replace-defaults
5534 and separated by query-replace-from-to-separator. Use it as
5535 the history while reading from the minibuffer. Split the returned
5536 string by the separator to get FROM and TO parts, and add them
5537 to the history variables.
5538 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5539 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5540 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5541
5542 * isearch.el (isearch-text-char-description): Keep characters
5543 intact and put formatted strings with the `display' property.
5544
5545 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5546
5547 * cus-start.el (frame-resize-pixelwise): Fix group.
5548 (frame-inhibit-implied-resize): Add entry.
5549
5550 2014-11-07 Daiki Ueno <ueno@gnu.org>
5551
5552 * epa.el (epa-pinentry-mode): New user option.
5553 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5554 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5555 * epa-file.el (epa-file-insert-file-contents)
5556 (epa-file-write-region): Respect epa-pinentry-mode.
5557
5558 2014-11-07 Daiki Ueno <ueno@gnu.org>
5559
5560 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5561 (bug#18979). Reported by Hideki Saito.
5562
5563 2014-11-06 Daiki Ueno <ueno@gnu.org>
5564
5565 * emacs-lisp/package.el (package--display-verify-error): New function.
5566 (package--check-signature): Use it to display output sent to stderr.
5567
5568 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * subr.el (pop): Don't call the getter twice (bug#18968).
5571
5572 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5573 uses of `funcall'.
5574
5575 2014-11-06 Daiki Ueno <ueno@gnu.org>
5576
5577 * epa.el (epa-error-buffer): New variable.
5578 (epa-display-error): New function.
5579 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5580 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5581 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5582 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5583 Use setf instead of epg-context-set-*.
5584 * epa-file.el (epa-file-insert-file-contents):
5585 Use epa-display-error instead of epa-display-info. Mimic the behavior
5586 of jka-compr when decryption program is not found.
5587 (epa-file-write-region): Use epa-display-error instead of
5588 epa-display-info.
5589
5590 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * vc/vc.el (vc-region-history): New command.
5593 (vc-print-log-internal): Use cl-some.
5594
5595 * vc/vc-git.el (vc-git-region-history): New function.
5596 (vc-git-region-history-mode-map)
5597 (vc-git--log-view-long-font-lock-keywords)
5598 (vc-git-region-history-font-lock-keywords): New vars.
5599 (vc-git-region-history-font-lock): New function.
5600 (vc-git-region-history-mode): New major mode.
5601
5602 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5603
5604 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5605 uses string-trim.
5606
5607 2014-11-05 Daiki Ueno <ueno@gnu.org>
5608
5609 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5610 (epg-error-output): New buffer-local variable.
5611 (epg--start): Initialize epg-error-output.
5612 (epg--process-filter): Record output lines sent to stderr, in
5613 epg-error-output.
5614 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5615 slot of context.
5616 * epa-file.el (epa-file-insert-file-contents): On error, display
5617 output sent to stderr.
5618 (epa-file-write-region): Likewise.
5619
5620 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5621
5622 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5623 returned by load-average.
5624
5625 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5626
5627 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5628 a local copy; setting `inhibit-file-name-handlers' proper might be
5629 more performant. (Bug#18751)
5630
5631 2014-11-05 Glenn Morris <rgm@gnu.org>
5632
5633 * mail/emacsbug.el (report-emacs-bug): No longer include
5634 recent-keys in the report. (Bug#18900)
5635
5636 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5637
5638 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5639
5640 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5641
5642 * net/eww.el (eww): Trim URL with `string-trim'.
5643 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5644
5645 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5646
5647 * net/eww.el (eww-score-readability): Don't count comments positively.
5648
5649 * net/shr.el (shr-retransform-dom): Typo fix.
5650
5651 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5652 (eww-display-html): Don't leave point inside forms.
5653
5654 * net/shr.el: Ditto.
5655
5656 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5659 edebug-prin1-to-string already handles circularity.
5660
5661 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5662 autoloading when specified as a lambda.
5663
5664 * simple.el (execute-extended-command--last-typed): New var.
5665 (read-extended-command): Set it.
5666 Don't complete obsolete commands.
5667 (execute-extended-command--shorter-1)
5668 (execute-extended-command--shorter): New functions.
5669 (execute-extended-command): Use them to suggest shorter names.
5670 (indicate-copied-region, deactivate-mark): Use region-active-p.
5671
5672 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5673
5674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5675 local copy of FILENAME, when it is remote. (Bug#18751)
5676
5677 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5678 an error when the command fails; the return code must indicate.
5679 (tramp-adb-send-command-and-check): Fix docstring.
5680
5681 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5682
5683 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5684 have no children like <br />.
5685
5686 * net/eww.el (eww-display-html): Clear `url-queue'.
5687 (eww-display-pdf): New function.
5688 (eww-render): Display PDFs with `doc-view'.
5689 (url-queue): Require `url-queue' to avoid compilation warning.
5690 (eww-colorize-region): Remove duplicate function.
5691 (eww-tag-body): Use `shr-colorize-region'.
5692
5693 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5694
5695 * net/eww.el (eww-list-bookmarks): Autoload.
5696
5697 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5698
5699 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5700
5701 * net/eww.el (eww-display-html): The charset is called `utf-8',
5702 not `utf8'.
5703 (eww-readable): Decode the saved text correctly.
5704 (eww-readable): Save the history before displaying so that we can
5705 go back to the non-readable version.
5706 (eww-display-html): Don't try to decode the text if we've been
5707 passed in a pre-parsed DOM.
5708 (eww-tag-title): Remove newlines and extra whitespace from the
5709 displayed title.
5710
5711 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712
5713 * net/eww.el (eww-readable): New command and keystroke.
5714
5715 * net/shr.el (shr-retransform-dom): New function.
5716
5717 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5718 correct buffer.
5719 (eww-view-source): Use it.
5720
5721 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5722
5723 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5724 (Bug#18603).
5725
5726 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5727
5728 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5729
5730 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5731
5732 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5733
5734 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5735
5736 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5737 (Bug#18834).
5738
5739 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5740
5741 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5742 use as advice.
5743 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5744
5745 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5748 (bug#18821).
5749 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5750
5751 2014-11-01 Michael R. Mauger <michael@mauger.com>
5752
5753 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5754 syntax, add new keywords, and parse longer keywords first.
5755 (sql-redirect-one): Protect against empty command.
5756 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5757 to SQL. (Bug#14759)
5758
5759 2014-11-01 Michael R. Mauger <michael@mauger.com>
5760
5761 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5762 Bug#16814 with let-bind of comint-input-ring variables around read
5763 and save functions.
5764
5765 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5766
5767 * net/tramp-cache.el (tramp-get-file-property)
5768 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5769 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5770 be compiler warnings.
5771
5772 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5773 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5774
5775 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5776
5777 * progmodes/compile.el (compilation-mode): Turn off deferred
5778 fontifications locally. (Bug#18856)
5779
5780 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5781
5782 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5783 remote-echo connection property is non-nil (bug#18858).
5784
5785 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * simple.el (newline): Add assertions to try and help catch bug#18913.
5788
5789 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5790 (bug#18886).
5791 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5792
5793 2014-11-01 Kim F. Storm <storm@cua.dk>
5794
5795 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5796 * delsel.el (delete-selection-save-to-register)
5797 (delsel--replace-text-or-position): New vars.
5798 (delete-active-region): Use them.
5799 (delete-selection-repeat-replace-region): New command, moved from
5800 cua-base.el.
5801 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5802 (cua-repeat-replace-region): Move command to delsel.el.
5803 (cua--init-keymaps): Update binding accordingly.
5804 (cua-mode): Set delete-selection-save-to-register.
5805
5806 2014-11-01 Alan Mackenzie <acm@muc.de>
5807
5808 Make blink-parens work with a closing template delimiter.
5809 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5810 before calling blink-paren-function, so as to apply syntax-table
5811 properties to the ">".
5812
5813 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5814
5815 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5816
5817 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5820 (macroexp--expand-all): Unrelated tweaks.
5821
5822 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5823
5824 2014-10-30 Glenn Morris <rgm@gnu.org>
5825
5826 * startup.el (command-line): Remove pointless attempt to avoid
5827 statting the file-system (which expand-file-name doesn't do).
5828
5829 2014-10-30 Daniel Colascione <dancol@dancol.org>
5830
5831 Add "enum class" support to C++ mode.
5832 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5833 (c-after-brace-list-key): New language consts/variables.
5834 * progmodes/cc-engine.el (c-looking-at-decl-block):
5835 Exclude spurious match of "enum struct" from decl-block recognition.
5836 (c-backward-colon-prefixed-type): New function.
5837 (c-backward-over-enum-header): Call above function to extend
5838 recognition of enum structure.
5839
5840 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5843 (c-lang-defconst):
5844 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5845
5846 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5847
5848 * progmodes/compile.el (compilation-start):
5849 If compilation-scroll-output is non-nil, don't force window-start of
5850 the compilation buffer to be at beginning of buffer. (Bug#18874)
5851
5852 * startup.el (fancy-about-text): Read the entire tutorial, not
5853 just its first 256 bytes. (Bug#18760)
5854
5855 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5858 * emacs-lisp/cl-extra.el: Add missing provide.
5859
5860 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5861 all args are copyable (bug#18767).
5862 (=, <, >, <=, >=): Re-enable the optimization.
5863
5864 2014-10-29 Glenn Morris <rgm@gnu.org>
5865
5866 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5867
5868 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5869 Revert 2014-10-26 change.
5870
5871 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5872
5873 Simplify use of current-time and friends.
5874 * allout-widgets.el (allout-widgets-hook-error-handler):
5875 * calendar/appt.el (appt-display-message):
5876 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5877 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5878 (timeclock-last-period, timeclock-day-base):
5879 * eshell/em-ls.el (eshell-ls-file):
5880 * eshell/esh-util.el (eshell-parse-ange-ls):
5881 * generic-x.el (named-database-print-serial):
5882 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5883 (newsticker-get-news, newsticker--sentinel-work)
5884 (newsticker--image-get, newsticker--image-sentinel):
5885 * net/tramp-sh.el (tramp-get-remote-touch):
5886 * progmodes/opascal.el (opascal-debug-log):
5887 * textmodes/remember.el (remember-mail-date)
5888 (remember-store-in-files):
5889 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5890 (vc-default-annotate-current-time):
5891 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5892 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5893 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5894 Omit unnecessary call to current-time.
5895 * calendar/time-date.el (time-to-seconds) [!float-time]:
5896 * vc/vc-annotate.el (vc-annotate-convert-time):
5897 Use current time if arg is nil, to be compatible with float-time.
5898 (time-date--day-in-year): New function, with most of the guts of
5899 the old time-to-day-in-year.
5900 (time-to-day-in-year): Use it.
5901 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5902 * calendar/timeclock.el (timeclock-time-to-date):
5903 Arg is now optional, like current-time-string.
5904 (timeclock-update-mode-line):
5905 Don't call current-time twice to get the current time stamp,
5906 as this can lead to inconsistent results.
5907 * completion.el (cmpl-hours-since-origin):
5908 * ido.el (ido-time-stamp):
5909 * vc/vc-annotate.el (vc-annotate-convert-time):
5910 Simplify by using float-time.
5911 * completion.el (save-completions-to-file):
5912 Rename local var to avoid confusion.
5913 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5914 time-to-seconds now behaves like float-time with respect to nil arg.
5915 * subr.el (progress-reporter-do-update):
5916 Don't call float-time unless needed.
5917
5918 2014-10-29 Leo Liu <sdl.web@gmail.com>
5919
5920 * net/rcirc.el (rcirc-fill-column): Use function.
5921 (rcirc-markup-fill): Remove adjustment.
5922
5923 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5924
5925 * calc/calc.el (quick-calc):
5926 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5927
5928 2014-10-28 Sam Steingold <sds@gnu.org>
5929
5930 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5931 the sake of `window-body-width' (in addition to `frame-width').
5932
5933 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5934
5935 * version.el: Fix some fallback values to conform to the actual
5936 release number.
5937
5938 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5939
5940 * Makefile.in: Change some production names so they're neutral
5941 about the repository type.
5942
5943 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5944
5945 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5946 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5947 during initialization. (Bug#18774)
5948
5949 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5950
5951 * ses.el (macroexp): Add require for this package, so that
5952 function `ses--cell' gets macroexp-quote --- this change was
5953 supposed to be in my previous commit, but left out by mistake.
5954 (ses--cell): Do not make formula a macroexp-quote of value when
5955 value, not formula, is *skip*.
5956
5957 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5958
5959 * ses.el (macroexp): Add require for this package, so that function
5960 `ses--cell gets macroexp-quote.
5961 (ses--cell): Makes formula a macroexp-quote of value when formula
5962 is nil. The rationale of this changr is to allow in the future
5963 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5964 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5965 reference list REFLIST would be re-computed after load --- thus
5966 trading off load time against file size.
5967
5968 * emacs-lisp/package.el (package--alist-to-plist-args):
5969 Use macroexp-quote instead of a lambda expression which has the same
5970 content as macroexp-quote.
5971 (macroexp): Add require for this package, so that function
5972 `package--alist-to-plist-args' gets macroexp-quote.
5973
5974 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5975
5976 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * term/ns-win.el (ns-store-cut-buffer-internal)
5979 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5980
5981 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5982
5983 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5984 Calculate increment from last position instead of window edge.
5985 Add right- and bottom-divider bindings to transient map.
5986
5987 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5990 even if :predicate was nil, for the benefit of typep.
5991 Record the name of the predicate for typep's use.
5992 (cl--make-type-test): Use pcase. Obey new
5993 cl-deftype-satisfies property.
5994
5995 * epg.el: Use cl-defstruct.
5996 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5997 (epg-data-string): Define via cl-defstruct.
5998 (epg--gv-nreverse): New macro.
5999 (epg-context--make): New constructor (provided vi cl-defstruct).
6000 (epg-make-context): Rewrite using it.
6001 (epg-context-protocol, epg-context-program)
6002 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
6003 (epg-context-include-certs, epg-context-cipher-algorithm)
6004 (epg-context-digest-algorithm, epg-context-compress-algorithm)
6005 (epg-context-passphrase-callback, epg-context-progress-callback)
6006 (epg-context-signers, epg-context-sig-notations, epg-context-process)
6007 (epg-context-output-file, epg-context-result, epg-context-operation)
6008 (epg-context-pinentry-mode): Define using cl-defstruct.
6009 (epg-context-set-protocol, epg-context-set-program)
6010 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
6011 (epg-context-set-digest-algorithm)
6012 (epg-context-set-sig-notations, epg-context-set-process)
6013 (epg-context-set-output-file, epg-context-set-result)
6014 (epg-context-set-operation, epg-context-set-pinentry-mode)
6015 (epg-context-set-compress-algorithm): Remove. Use setf instead.
6016 (epg-context-set-armor, epg-context-set-textmode)
6017 (epg-context-set-signers): Redefine using setf
6018 and declare as obsolete.
6019 (epg-context-set-passphrase-callback)
6020 (epg-context-set-progress-callback): Use setf.
6021 (epg-signature-notations): Rename from epg-sig-notations.
6022 (epg-make-signature, epg-signature-status, epg-signature-key-id)
6023 (epg-signature-validity, epg-signature-fingerprint)
6024 (epg-signature-creation-time, epg-signature-expiration-time)
6025 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
6026 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
6027 (epg-signature-set-status, epg-signature-set-key-id)
6028 (epg-signature-set-validity, epg-signature-set-fingerprint)
6029 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
6030 (epg-signature-set-pubkey-algorithm)
6031 (epg-signature-set-digest-algorithm, epg-signature-set-class)
6032 (epg-signature-set-version, epg-signature-set-notations): Remove.
6033 Use setf instead.
6034 (epg-make-new-signature, epg-new-signature-type)
6035 (epg-new-signature-pubkey-algorithm)
6036 (epg-new-signature-digest-algorithm, epg-new-signature-class)
6037 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
6038 Define using cl-defstruct.
6039 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
6040 (epg-key-user-id-list): Define using cl-defstruct.
6041 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
6042 Use setf instead.
6043 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
6044 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
6045 (epg-sub-key-id, epg-sub-key-creation-time)
6046 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
6047 cl-defstruct.
6048 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
6049 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
6050 (epg-user-id-signature-list): Define using cl-defstruct.
6051 (epg-user-id-set-signature-list): Remove. Use setf instead.
6052 (epg-make-key-signature, epg-key-signature-validity)
6053 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
6054 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
6055 (epg-key-signature-user-id, epg-key-signature-class)
6056 (epg-key-signature-exportable-p): Define using cl-defstruct.
6057 (epg-make-sig-notation, epg-sig-notation-name)
6058 (epg-sig-notation-value, epg-sig-notation-human-readable)
6059 (epg-sig-notation-critical): Define using cl-defstruct.
6060 (epg-sig-notation-set-value): Remove. Use setf instead.
6061 (epg-make-import-status, epg-import-status-fingerprint)
6062 (epg-import-status-reason, epg-import-status-new)
6063 (epg-import-status-user-id, epg-import-status-signature)
6064 (epg-import-status-sub-key, epg-import-status-secret): Define using
6065 cl-defstruct.
6066 (epg-make-import-result, epg-import-result-considered)
6067 (epg-import-result-no-user-id, epg-import-result-imported)
6068 (epg-import-result-imported-rsa, epg-import-result-unchanged)
6069 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
6070 (epg-import-result-new-signatures, epg-import-result-new-revocations)
6071 (epg-import-result-secret-read, epg-import-result-secret-imported)
6072 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
6073 (epg-import-result-imports): Define using cl-defstruct.
6074
6075 * emacs-lisp/package.el: Require EPG during macroexpansion.
6076 (package--check-signature, package-import-keyring): Use setf instead of
6077 epg-context-set-home-directory.
6078
6079 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6080
6081 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
6082
6083 2014-10-23 Leo Liu <sdl.web@gmail.com>
6084
6085 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
6086 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
6087 (cfengine3-current-defun): New function.
6088 (cfengine3-mode): Set add-log-current-defun-function.
6089
6090 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * select.el: Use lexical-binding.
6093 (gui-set-selection): Provide an implementation for non-GUI frames
6094 (bug#18791).
6095 * term/x-win.el: Use lexical-binding.
6096 (x-clipboard-yank): Fix up missed renamings.
6097 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
6098 (w32--set-selection): Fix up var names.
6099 * term/pc-win.el: Use lexical-binding.
6100 (w16-selection-exists-p): Silence compiler warning.
6101 (w16-selection-owner-p): Fix up missed renamings.
6102
6103 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
6104
6105 * frame.el (frame-notice-user-settings): Fix excessive quoting.
6106
6107 2014-10-22 Tassilo Horn <tsdh@gnu.org>
6108
6109 * doc-view.el (doc-view-open-text): View the document's plain text
6110 in the current buffer instead of a new one.
6111 (doc-view-toggle-display): Handle the case where the current
6112 buffer contains the plain text contents of the document.
6113 (doc-view-initiate-display): Don't switch to fallback mode if the
6114 user wants to view the doc's plain text.
6115 (doc-view-set-doc-type): Use assoc-string instead of
6116 assoc-ignore-case.
6117
6118 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * subr.el (read-key): Fix clicks on the mode-line.
6121 (set-transient-map): Return exit function.
6122
6123 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
6124 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
6125 (mouse-yank-secondary): Use gui-get-selection.
6126 (mouse--down-1-maybe-follows-link): Use read-key.
6127
6128 * xt-mouse.el: Add `event-kind' property on the fly from
6129 xterm-mouse-translate-1 rather than statically at the outset.
6130
6131 2014-10-21 Daniel Colascione <dancol@dancol.org>
6132
6133 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
6134 change window configuration when we turn it off.
6135
6136 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 Get rid of backend-dependent selection-handling functions for kill/yank
6139 and make it generic instead by relying on the lower-level selection
6140 management functions.
6141
6142 * select.el (select-enable-clipboard): Rename from
6143 gui-select-enable-clipboard.
6144 (select-enable-primary): Move from x-win.el and rename from
6145 x-select-enable-primary.
6146 (gui-last-selected-text): Remove.
6147 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
6148 New vars.
6149 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
6150 (gui-select-text-alist, gui-selection-value-alist): Remove.
6151 (x-select-request-type): Move from x-win.el.
6152 (gui--selection-value-internal): New function, taken from x-win's
6153 x-selection-value-internal.
6154 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
6155 (gui-set-selection-alist): Rename from gui-own-selection-alist and
6156 extend it to handle a nil value as a "disown" request.
6157 (gui-disown-selection-alist): Remove.
6158 (xselect-convert-to-delete): Adjust accordingly.
6159 (gui-set-selection): Simplify accordingly as well. Use dotimes.
6160
6161 * term/x-win.el (x-last-selected-text-primary)
6162 (x-select-enable-primary): Remove (moved to select.el).
6163 (x-select-request-type): Move to select.el.
6164 (x-selection-value-internal, x--selection-value): Remove functions.
6165 (gui-selection-value, gui-select-text): Remove moethods.
6166 (gui-set-selection): Merge own and disown methods.
6167
6168 * term/w32-win.el (w32--select-text, w32--get-selection-value):
6169 Delete function (move functionality into w32--set-selection and
6170 w32--get-selection).
6171 (gui-select-text, gui-selection-value): Don't define methods.
6172 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
6173 New functions.
6174 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
6175 Use them.
6176 (gui-selection-exists-p): Adjust to new name of C primitive.
6177
6178 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
6179 test of gui-select-enable-clipboard, to make it usable as
6180 a gui-get-selection method.
6181 (gui-selection-exists-p): Adjust to new name of C primitive.
6182 (gui-set-selection): Merge own and disown methods.
6183 (gui-select-text, gui-selection-value): Delete methods.
6184 (w16--select-text): Delete function.
6185
6186 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
6187 (ns-selection-value): Remove functions.
6188 (gui-select-text, gui-selection-value): Don't define method any more.
6189 (gui-set-selection): Merge the old own and disown methods.
6190 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
6191 underlying C primitive.
6192
6193 * startup.el (command-line): Adjust now that `gui-method' expects nil
6194 for ttys.
6195
6196 * frame.el (gui-method): Use window-system rather than framep.
6197 (gui-method-declare): The tty case is now nil rather than t.
6198 (make-frame): Adjust accordingly.
6199
6200 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * net/newst-reader.el (newsticker--image-read): Simplify.
6203 (newsticker--icon-read): Use dolist and fix free var error.
6204
6205 * imenu.el (imenu--menubar-keymap): New var.
6206 (imenu-add-to-menubar): Set it to remember the keymap we used.
6207 (imenu-update-menubar): Use it instead of asking lookup-key.
6208
6209 * obsolete/cc-compat.el: Make obsolete (bug#18561).
6210
6211 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6212
6213 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6214 case (bug#18767).
6215
6216 2014-10-21 Glenn Morris <rgm@gnu.org>
6217
6218 * Merge in all changes up to version 24.4 release.
6219
6220 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6223 case (bug#18767).
6224
6225 2014-10-20 Glenn Morris <rgm@gnu.org>
6226
6227 * Merge in all changes up to 24.4 release.
6228
6229 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6230
6231 * net/newst-backend.el
6232 (newsticker--image-download-by-url-callback): Make this function
6233 actually work: Check status properly, then save image.
6234
6235 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6238 `this-event'.
6239 (mouse-drag-line): Unless there's no actual mouse, use the event's
6240 position info.
6241
6242 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * textmodes/css-mode.el (scss-mode): New major-mode.
6245 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6246 (css-ident-re): Allow things like @-moz-keyframes.
6247 (scss--hash-re): New const.
6248 (css--font-lock-keywords): New function, extracted from
6249 css-font-lock-keywords.
6250
6251 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6252
6253 * net/newst-backend.el: Require url-parse.
6254 (newsticker--get-news-by-wget): Store feed name as process property.
6255 (newsticker--sentinel): Read feed name from process property.
6256 (newsticker--sentinel-work): Rename argument name to feed-name.
6257 Rename variable imageurl to image-url. Pick icon url from Atom
6258 1.0 data. Launch download of feed icon.
6259 (newsticker--get-icon-url-atom-1.0): New.
6260 (newsticker--unxml)
6261 (newsticker--unxml-node)
6262 (newsticker--unxml-attribute): Documentation.
6263 (newsticker--icons-dir): New.
6264 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6265 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6266 (newsticker--image-download-by-wget): New. Use process properties
6267 for storing informations.
6268 (newsticker--image-sentinel): Read informations from process properties.
6269 (newsticker--image-save)
6270 (newsticker--image-remove)
6271 (newsticker--image-download-by-url)
6272 (newsticker--image-download-by-url-callback): New.
6273 (newsticker-opml-export): Handle url list entries containing a
6274 function instead of an url string.
6275
6276 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6277 (newsticker--print-extra-elements)
6278 (newsticker--do-print-extra-element):
6279 Documentation (newsticker--image-read): Optionally limit image height.
6280 Use imagemagick if possible.
6281 (newsticker--icon-read): New.
6282
6283 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6284 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6285 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6286 (newsticker--tree-widget-leaf-icon): Use feed icon.
6287
6288 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6291 Use help-function-arglist instead.
6292
6293 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6294 (eieio--with-scoped-class): Use `declare'.
6295 (eieio-defclass): Remove compatibility code.
6296 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6297 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6298
6299 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6300
6301 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6302
6303 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6304 replacements to stock names before stock names in a list.
6305 Cdr may be a list, each name is tried in turn until one is found.
6306
6307 2014-10-18 Alan Mackenzie <acm@muc.de>
6308
6309 Check that a "macro" found near point-min isn't a ## operator.
6310 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6311 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6312
6313 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6314
6315 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6316 correct data to `gnutls-boot' (Bug#18664).
6317 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6318
6319 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6320
6321 * whitespace.el (whitespace-style, whitespace-big-indent)
6322 (whitespace-big-indent-regexp, whitespace-style-value-list)
6323 (whitespace-toggle-option-alist, whitespace-interactive-char)
6324 (whitespace-toggle-options)
6325 (global-whitespace-toggle-options, whitespace-help-text)
6326 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6327 style to `whitespace-mode' to indicate that the line indentation
6328 is too deep. By default, 32 SPACEs or four TABs are considered
6329 too many but `whitespace-big-indent-regexp' can be configured.
6330
6331 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6332
6333 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6334 tildify-mode-alist.
6335
6336 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6339 (defclass, defgeneric, defmethod): Add doc-string position.
6340 (with-slots): Require cl-lib.
6341
6342 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6343 (list-of): New type.
6344 (eieio--typep): Remove.
6345 (eieio-perform-slot-validation): Use cl-typep instead.
6346
6347 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6348
6349 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6350
6351 2014-10-16 Alan Mackenzie <acm@muc.de>
6352
6353 Trigger showing when point is in the "periphery" of a line or just
6354 inside a paren.
6355 * paren.el (show-paren-style, show-paren-delay)
6356 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6357 Remove superfluous :group specifications.
6358 (show-paren-when-point-inside-paren)
6359 (show-paren-when-point-in-periphery): New customizable variables.
6360 (show-paren-highlight-openparen): Make into a defcustom.
6361 (show-paren--unescaped-p, show-paren--categorize-paren)
6362 (show-paren--locate-near-paren): New defuns.
6363 (show-paren--default): Refaactor and trigger on more paren
6364 positions.
6365 (show-paren-function): Small consequential changes.
6366
6367 2014-10-16 Tom Tromey <tom@tromey.com>
6368
6369 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6370 (bug #18719).
6371
6372 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6373
6374 * international/characters.el (bracket-type): Force pre-loading of
6375 uni-brackets.el.
6376
6377 2014-10-16 Alan Mackenzie <acm@muc.de>
6378
6379 * cus-edit.el (custom-command-apply): Specify the return value in
6380 the doc string.
6381 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6382 custom-command-apply has returned non-nil.
6383
6384 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6387 Remove incorrect handling of eldoc-print-after-edit.
6388 (eldoc-message-commands, eldoc-last-data): Use defvar.
6389 * loadup.el (emacs-lisp/eldoc): Load it.
6390
6391 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6392 (m4-mode): Use it.
6393 (m4--quoted-p): New function.
6394 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6395 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6396 for most special characters.
6397
6398 * progmodes/compile.el (compilation--previous-directory): Simplify.
6399 (compilation-next-error): Ensure the parse before we look at
6400 compilation-message property.
6401
6402 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6403
6404 * simple.el (what-cursor-position):
6405 * descr-text.el (describe-char): Update to support the new bidi
6406 characters.
6407
6408 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6409 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6410 buffer-menu display when the first buffer happens to start with
6411 R2L letter.
6412
6413 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * progmodes/elisp-mode.el (elisp--local-variables-1):
6416 Handle quoted expressions (bug#18688).
6417
6418 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6419 Michael Albinus <michael.albinus@gmx.de>
6420
6421 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6422 Reduce the amount of set environment variable commands.
6423
6424 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6425
6426 Fix import completion. (Bug#18582)
6427 * progmodes/python.el (python-shell-completion-get-completions):
6428 Fix import case regexp.
6429
6430 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6433 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6434 * progmodes/prolog.el (prolog-electric--underscore): Same.
6435
6436 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6437
6438 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6439
6440 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6441
6442 * cus-start.el (all): Add missing ns and boolean to
6443 ns-use-fullscreen-animation.
6444
6445 2014-10-11 Leo Liu <sdl.web@gmail.com>
6446
6447 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6448 Use strings.
6449 (cfengine3-create-imenu-index): New function.
6450 (cfengine3-mode): Use it for `imenu-create-index-function'.
6451 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6452 buffer is empty.
6453
6454 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6455
6456 * cus-start.el (all): Add ns-use-fullscreen-animation.
6457
6458 2014-10-11 Glenn Morris <rgm@gnu.org>
6459
6460 * calendar/diary-lib.el (diary-display-function):
6461 Drop support for deprecated nil and list forms.
6462 (diary-list-entries): Update for the above.
6463 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6464
6465 2014-10-10 Leo Liu <sdl.web@gmail.com>
6466
6467 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6468 (Bug#18656)
6469
6470 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * select.el (gui-selection-exists-p-alist): New method.
6473 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6474 * simple.el (deactivate-mark): Use it.
6475 * term/x-win.el (gui-selection-exists-p):
6476 * term/w32-win.el (gui-selection-exists-p):
6477 * term/pc-win.el (gui-selection-exists-p):
6478 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6479
6480 2014-10-10 Glenn Morris <rgm@gnu.org>
6481
6482 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6483 Fix :type. Allow t to mean no limit.
6484 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6485
6486 2014-10-09 Glenn Morris <rgm@gnu.org>
6487
6488 * frame.el (display-monitor-attributes-list): Doc tweaks.
6489
6490 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6491
6492 * faces.el (display-grayscale-p): Mention in the doc string that
6493 the argument can be either a display name or a frame.
6494
6495 * frame.el (display-pixel-height, display-pixel-width)
6496 (display-mm-height, display-mm-width, display-backing-store)
6497 (display-save-under, display-planes, display-color-cells)
6498 (display-visual-class, display-monitor-attributes-list)
6499 (display-screens): Mention in the doc string that the argument can
6500 be either a display name or a frame. Improve the docs of the
6501 monitor attributes. (Bug#18636)
6502
6503 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6504
6505 * term.el (term-window-width): Subtract 1 from the width when
6506 any fringe has zero width, not just the right fringe. (Bug#18601)
6507
6508 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6511
6512 2014-10-08 Leo Liu <sdl.web@gmail.com>
6513
6514 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6515
6516 2014-10-08 Glenn Morris <rgm@gnu.org>
6517
6518 * calendar/cal-x.el (calendar-dedicate-diary):
6519 Drop support for recently deleted aliases.
6520
6521 2014-10-08 Leo Liu <sdl.web@gmail.com>
6522
6523 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6524 Always return a syntax. Replace call-process-shell-command with
6525 process-file. Ensure cfengine-mode-syntax-functions-regex is
6526 always set. Ensure cache when cfengine-cf-promises fails.
6527 (Bug#18620)
6528
6529 2014-10-07 Glenn Morris <rgm@gnu.org>
6530
6531 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6532
6533 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6534
6535 Sync with upstream verilog-mode revision c075a492.
6536 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6537 (verilog-menu): Add AUTOINSERTLAST.
6538 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6539 is nil, fix indenting initial/final to match always statements, bug825.
6540 Reported by Tim Clapp.
6541 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6542 bug557. Reported by ZeDong Mao and Jason Forkey.
6543 (verilog-read-decls): Fix parsing typed interfaces.
6544 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6545 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6546 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6547 Reported by Pierre-David Pfister.
6548 (verilog-auto-insert-lisp): Doc fix.
6549 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6550 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6551 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6552 (verilog-sk-uvm-component): Fix missing string keyword in class
6553 skeletons, bug824. Reported by eldad faruhi.
6554
6555 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * term/w32-win.el: Move all code from 32-common-fns.el here.
6558 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6559 console as well (bug#18629).
6560 * w32-common-fns.el: Remove.
6561 * loadup.el: Don't load w32-common-fns.el.
6562 * w32-fns.elc: Don't require w32-common-fns.
6563
6564 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6565 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6566 Remove redundant obsolescence thingy.
6567 * loadup.el: Don't load obsolete/loaddefs.el.
6568 * Makefile.in (obsolete-autoloads): Remove.
6569 (AUTOGENEL): Remove obsolete/loaddefs.el.
6570
6571 2014-10-06 Glenn Morris <rgm@gnu.org>
6572
6573 * Makefile.in (obsolete-autoloads): Write to a separate file,
6574 to workaround autoloads bug. (Bug#17407)
6575 (AUTOGENEL): Add obsolete/loaddefs.el.
6576 * loadup.el: Load obsolete/loaddefs.el if present.
6577 * subr.el (do-after-load-evaluation):
6578 Don't warn about obsolete/loaddefs.el.
6579
6580 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6581 It has zero relationship to a game.
6582
6583 2014-10-06 Leo Liu <sdl.web@gmail.com>
6584
6585 * imenu.el (imenu): Re-write for clarity.
6586
6587 2014-10-06 Glenn Morris <rgm@gnu.org>
6588
6589 Remove calendar code obsolete since at least version 23.1.
6590 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6591 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6592 (calendar-goto-bahai-date, list-bahai-diary-entries)
6593 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6594 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6595 (insert-yearly-bahai-diary-entry):
6596 * calendar/cal-china.el (chinese-calendar-time-zone)
6597 (chinese-calendar-location-name)
6598 (chinese-calendar-daylight-time-offset)
6599 (chinese-calendar-standard-time-zone-name)
6600 (chinese-calendar-daylight-time-zone-name)
6601 (chinese-calendar-daylight-savings-starts)
6602 (chinese-calendar-daylight-savings-ends)
6603 (chinese-calendar-daylight-savings-starts-time)
6604 (chinese-calendar-daylight-savings-ends-time)
6605 (chinese-calendar-celestial-stem)
6606 (chinese-calendar-terrestrial-branch)
6607 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6608 (calendar-goto-chinese-date):
6609 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6610 (calendar-print-coptic-date, coptic-prompt-for-date)
6611 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6612 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6613 * calendar/cal-french.el (calendar-absolute-from-french)
6614 (calendar-print-french-date, calendar-goto-french-date):
6615 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6616 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6617 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6618 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6619 (holiday-passover-etc, holiday-tisha-b-av-etc)
6620 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6621 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6622 (insert-monthly-hebrew-diary-entry)
6623 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6624 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6625 (diary-sabbath-candles):
6626 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6627 (calendar-print-islamic-date, calendar-goto-islamic-date)
6628 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6629 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6630 (insert-monthly-islamic-diary-entry)
6631 (insert-yearly-islamic-diary-entry):
6632 * calendar/cal-iso.el (calendar-absolute-from-iso)
6633 (calendar-print-iso-date, calendar-iso-read-args)
6634 (calendar-goto-iso-date, calendar-goto-iso-week):
6635 * calendar/cal-julian.el (calendar-absolute-from-julian)
6636 (calendar-print-julian-date, calendar-goto-julian-date)
6637 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6638 (calendar-goto-astro-day-number):
6639 * calendar/cal-mayan.el (calendar-print-mayan-date)
6640 (calendar-next-haab-date, calendar-previous-haab-date)
6641 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6642 (calendar-next-calendar-round-date)
6643 (calendar-previous-calendar-round-date)
6644 (calendar-absolute-from-mayan-long-count)
6645 (calendar-goto-mayan-long-count-date):
6646 * calendar/cal-move.el (scroll-calendar-left)
6647 (scroll-calendar-right, scroll-calendar-left-three-months)
6648 (scroll-calendar-right-three-months):
6649 * calendar/cal-persia.el (calendar-absolute-from-persian)
6650 (calendar-print-persian-date, persian-prompt-for-date)
6651 (calendar-goto-persian-date):
6652 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6653 * calendar/calendar.el (view-diary-entries-initially)
6654 (mark-diary-entries-in-calendar, calendar-today-face)
6655 (diary-face, holiday-face, view-calendar-holidays-initially)
6656 (mark-holidays-in-calendar, initial-calendar-window-hook)
6657 (today-visible-calendar-hook, today-invisible-calendar-hook)
6658 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6659 (bahai-diary-entry-symbol, american-date-diary-pattern)
6660 (european-date-diary-pattern, european-calendar-display-form)
6661 (american-calendar-display-form, holidays-in-diary-buffer)
6662 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6663 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6664 (fancy-diary-buffer, increment-calendar-month)
6665 (extract-calendar-month, extract-calendar-day)
6666 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6667 (mark-visible-calendar-date, calendar-version):
6668 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6669 (diary-display-hook, list-diary-entries-hook)
6670 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6671 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6672 (abbreviated-calendar-year, number-of-diary-entries)
6673 (view-other-diary-entries, add-to-diary-list)
6674 (include-other-diary-files, simple-diary-display)
6675 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6676 (mark-sexp-diary-entries, mark-included-diary-files)
6677 (mark-calendar-days-named, mark-calendar-month)
6678 (mark-calendar-date-pattern, sort-diary-entries)
6679 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6680 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6681 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6682 (insert-block-diary-entry, insert-cyclic-diary-entry)
6683 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6684 * calendar/holidays.el (general-holidays, oriental-holidays)
6685 (local-holidays, other-holidays, hebrew-holidays)
6686 (christian-holidays, islamic-holidays, bahai-holidays)
6687 (solar-holidays, list-calendar-holidays)
6688 (check-calendar-holidays, mark-calendar-holidays)
6689 (filter-visible-calendar-holidays):
6690 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6691 (diary-phases-of-moon): Remove obsolete aliases.
6692 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6693 * calendar/cal-x.el (calendar-one-frame-setup)
6694 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6695 Remove obsolete functions.
6696 (cal-x-load-hook): Remove obsolete hook.
6697 * calendar/calendar.el (european-calendar-style):
6698 Remove obsolete variable.
6699 (calendar-date-style): No longer consult european-calendar-style.
6700 * calendar/calendar.el (european-calendar, american-calendar):
6701 Remove obsolete commands.
6702 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6703 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6704 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6705 Use the face `diary' instead of the variable `diary-face'.
6706 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6707 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6708 * calendar/icalendar.el (icalendar--date-style): Remove function.
6709 Replace all uses with calendar-date-style.
6710 * textmodes/remember.el (calendar-date-style): Declare.
6711 (remember-diary-convert-entry):
6712 No longer consult european-calendar-style.
6713
6714 2014-10-05 Leo Liu <sdl.web@gmail.com>
6715
6716 * imenu.el (imenu-default-goto-function): Fix typo.
6717
6718 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6719
6720 * net/ntlm.el (ntlm-build-auth-request):
6721 Add NTLM2 Session support. (Bug#15603)
6722
6723 2014-10-04 Glenn Morris <rgm@gnu.org>
6724
6725 * apropos.el (apropos-symbols-internal):
6726 Avoid error with non-symbol properties. (Bug#18337#16)
6727
6728 * startup.el (command-line):
6729 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6730
6731 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6732
6733 * window.el (window-full-height-p): Make it behave correctly for
6734 minibuffer window.
6735 (window-current-scroll-bars): Fix code.
6736 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6737 window-scroll-bars.
6738 * frame.el (frame-current-scroll-bars): Fix doc-string.
6739 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6740
6741 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6742
6743 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6744
6745 2014-10-04 Glenn Morris <rgm@gnu.org>
6746
6747 * frame.el (frame-monitor-attributes)
6748 (display-monitor-attributes-list): Doc fixes.
6749
6750 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 Merge trivially safe differences from standalone CC-mode.
6753 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6754 just to then pass it to `symbol-value'.
6755 (prog-mode): Provide fallback definition, if needed.
6756 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6757 Remove "cl-" prefix accordingly.
6758 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6759 characterp depending on the type of characters.
6760 (c-font-lock-enum-tail): Remove unused var `start'.
6761 * progmodes/cc-engine.el: Load CL at compile-time.
6762 (c-declare-lang-variables): Use mapcan.
6763 (c-append-to-state-cache): Remove unused var `ce+1'.
6764 (c-parse-state-state): Make buffer-local.
6765 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6766 (c-just-after-func-arglist-p): Remove unused var `end'.
6767 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6768 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6769 (c-make-keywords-re): Use delete-dups.
6770 (c-get-current-file): Avoid file-name-base.
6771 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6772 `close-paren-inserted'.
6773 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6774
6775 * progmodes/python.el: Avoid building unneeded markers.
6776 (python-font-lock-keywords, python-indent-dedent-line)
6777 (python-fill-paren, python-shell-completion-complete-or-indent):
6778 Prefer point over point-marker.
6779 (inferior-python-mode): Remove redundant completion settings.
6780
6781 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6782
6783 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6784 (vc-svn-ignore): Use it. (Bug#18619)
6785
6786 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6787
6788 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6789 In doc-string mention need to set `frame-resize-pixelwise'.
6790
6791 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6794 similarly to Rogers's 2010-06-16 change for the remote case
6795 (bug#18605).
6796
6797 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 New gui-selection-value consolidating x-selection-value.
6800 * select.el (gui-selection-value-alist): New method.
6801 (gui-selection-value): New function.
6802 (x-selection-value): Make it an obsolete alias.
6803 * simple.el (interprogram-paste-function): Default to
6804 gui-selection-value.
6805 * w32-common-fns.el (w32-get-selection-value): Simplify.
6806 (x-selection-value): Remove alias.
6807 (interprogram-paste-function): Don't set.
6808 (gui-selection-value): Define for w32.
6809 * term/x-win.el (gui-selection-value): Define for x.
6810 (x--selection-value): Rename from x--selection-value.
6811 (interprogram-paste-function): Don't set.
6812 * term/pc-win.el (w16-get-selection-value): Simplify.
6813 (msdos-initialize-window-system): Don't set
6814 interprogram-paste-function.
6815 (gui-selection-value): Define for pc.
6816 * term/ns-win.el (x-selection-value): Remove.
6817 (gui-selection-value): Define for ns, instead.
6818 * term/common-win.el (x-setup-function-keys): Don't set
6819 interprogram-paste-function.
6820 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6821 Use gui-selection-value.
6822
6823 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6824
6825 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6826
6827 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * obsolete/lucid.el (read-number): Remove, redundant.
6830 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6831 Remove, broken.
6832
6833 2014-10-02 Glenn Morris <rgm@gnu.org>
6834
6835 * emacs-lisp/package.el (package-import-keyring):
6836 Create gnupg directory private. (Bug#17625#155)
6837
6838 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * progmodes/python.el (python-shell-completion-get-completions):
6841 Use python-shell--prompt-calculated-input-regexp from the
6842 process buffer (bug#18582).
6843 Don't assume that `line' comes from the process buffer.
6844
6845 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 * frame.el: Use lexical-binding (bug#18598).
6848 (make-frame): Use t rather than nil for tty's window-system.
6849 * startup.el (command-line): Use gui-method.
6850
6851 Consolidate management/ownership of selections.
6852 * select.el (gui-get-selection-alist): New method.
6853 (gui-get-selection): Use it. Rename from x-get-selection.
6854 (x-get-selection): Define as obsolete alias.
6855 (x-get-clipboard): Mark obsolete.
6856 (gui-get-primary-selection): New function.
6857 (x-get-selection-value): Mark obsolete.
6858 (gui-own-selection-alist, gui-disown-selection-alist)
6859 (gui-selection-owner-p-alist): New methods.
6860 (gui-set-selection): Use them. Rename from x-set-selection.
6861 (x-set-selection): Define as obsolete alias.
6862 (gui--valid-simple-selection-p): Rename from
6863 x-valid-simple-selection-p.
6864 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6865 (gui-selection-owner-p, gui-get-selection): Define for w32.
6866 (w32-get-selection-value): Rename from x-get-selection-value.
6867 Use the new gui-last-selected-text.
6868 * term/x-win.el (x-get-selection-value): Remove.
6869 (x-clipboard-yank): Declare obsolete.
6870 (gui-own-selection, gui-disown-selection, gui-get-selection)
6871 (gui-selection-owner-p): Define for x.
6872 * term/w32-win.el (w32-win-suspend-error): Rename from
6873 x-win-suspend-error.
6874 * term/pc-win.el (w16-get-selection-value): Rename from
6875 x-get-selection-value.
6876 (w16-selection-owner-p): Rename from x-selection-owner-p.
6877 (gui-own-selection, gui-disown-selection, gui-get-selection)
6878 (gui-selection-owner-p): Define for pc.
6879 (w16--select-text): New function.
6880 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6881 (gui-get-selection, gui-selection-owner-p): Define for ns.
6882 * term.el (term-mouse-paste):
6883 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6884
6885 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6886
6887 * calc/calc-help.el (calc-describe-thing): Quote strings
6888 which could look like regexps.
6889
6890 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 Consolidate x-select-text.
6893 * frame.el (gui-method, gui-method-define, gui-method-declare)
6894 (gui-call): New macros.
6895 (gui-method--name): New function.
6896 (frame-creation-function-alist): Use gui-method-declare.
6897 (make-frame): Use gui-method.
6898 * select.el (gui-select-enable-clipboard): Rename from
6899 x-select-enable-clipboard and move here.
6900 (x-select-enable-clipboard): Define as obsolete alias.
6901 (gui-last-selected-text): New var, to replace x-last-selected-text.
6902 (gui-select-text): New GUI method.
6903 (gui-select-text): New function.
6904 (x-select-text): Define as obsolete alias.
6905 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6906 Move to select.el.
6907 * simple.el (interprogram-cut-function): Change default to
6908 x-select-text.
6909 (interprogram-paste-function): Change default to `ignore'.
6910 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6911 * term/x-win.el (interprogram-cut-function): Don't modify.
6912 (gui-select-text): Add method for x.
6913 * term/w32-win.el (gui-select-text): Add method for w32.
6914 * term/pc-win.el (x-last-selected-text): Remove, use
6915 gui-last-selected-text instead.
6916 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6917 (gui-select-text): Add method for pc.
6918 * term/ns-win.el (ns-last-selected-text): Remove, use
6919 gui-last-selected-text instead.
6920 (gui-select-text): Add method for ns.
6921 (x-setup-function-keys): Don't change interprogram-cut-function.
6922 * loadup.el ("startup"): Load after "frame".
6923 * subr.el (package--builtin-versions, package--description-file):
6924 Move from startup.el.
6925 * startup.el (package--builtin-versions, package--description-file):
6926 Move to subr.el.
6927 (handle-args-function-alist, window-system-initialization-alist):
6928 Use gui-method-declare.
6929 (command-line): Use gui-method.
6930
6931 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * subr.el (alist-get): New accessor.
6934 * emacs-lisp/gv.el (alist-get): Provide expander.
6935 * winner.el (winner-remember):
6936 * tempo.el (tempo-use-tag-list):
6937 * progmodes/gud.el (minor-mode-map-alist):
6938 * international/mule-cmds.el (define-char-code-property):
6939 * frameset.el (frameset-filter-params):
6940 * files.el (dir-locals-set-class-variables):
6941 * register.el (get-register, set-register):
6942 * calc/calc-yank.el (calc-set-register): Use it.
6943 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6944 * tooltip.el (tooltip-set-param): Mark as obsolete.
6945 (tooltip-show): Use alist-get instead.
6946 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6947
6948 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6949
6950 * net/newst-backend.el: Remove Time-stamp. Rename variable
6951 `newsticker--download-logos' to `newsticker-download-logos' and
6952 make it customizable.
6953 (newsticker--sentinel-work): Move xml-workarounds to function
6954 `newsticker--do-xml-workarounds', call unless libxml-parser is
6955 used. Allow single quote in regexp for encoding.
6956 Use libxml-parser if available, else fall back to `xml-parse-region'.
6957 Take care of possibly missing namespace prefixes (like "RDF"
6958 instead of "rdf:RDF") when checking xml nodes and attributes (as
6959 libxml correctly removes the prefixes). Always use Atom 1.0 as
6960 fallback feed type. Rename `newsticker--download-logos' to
6961 `newsticker-download-logos'
6962 (newsticker--unxml, newsticker--unxml-node)
6963 (newsticker--unxml-attribute): New.
6964 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6965 HTML code has become part of the xml parse tree.
6966 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6967 of possibly missing namespace prefixes.
6968 (newsticker--parse-generic-items): Code formatting. Typo.
6969 (newsticker--images-dir): Add trailing slash.
6970 (newsticker--image-get): Fix error message.
6971
6972 * net/newst-plainview.el: Remove Time-stamp.
6973
6974 * net/newst-reader.el: Remove Time-stamp.
6975 (newsticker-download-logos): Rename variable
6976 `newsticker--download-logos' to `newsticker-download-logos' and
6977 make it customizable.
6978 (newsticker--print-extra-elements): Add optional parameter
6979 'htmlish for using html markup. Amend list of ignored elements.
6980 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6981 using html markup.
6982
6983 * net/newst-ticker.el: Remove Time-stamp.
6984
6985 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6986 for formatting extra elements.
6987
6988 * net/newsticker.el: Remove Time-stamp, Version.
6989 (newsticker-version): Make obsolete.
6990
6991 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6992
6993 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6994 (bug#18462).
6995
6996 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * emacs-lisp/package.el (package-check-signature): Default to nil if
6999 GPG is not available.
7000 (package-refresh-contents): Don't mess with the keyring if we won't
7001 check the signatures anyway.
7002
7003 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
7006 (ses-center, ses-center-span): Use them.
7007 (ses-print-cell): Bind them while calling the printer.
7008 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
7009 (ses-dorange): Revert last change.
7010 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
7011 the formula.
7012 (ses-set-cell): Avoid `eval'.
7013 (ses--time-check): Rename it from ses-time-check and turn it into
7014 a macro.
7015
7016 * ses.el (ses-setup): Don't assume modifying the iteration var of
7017 dotimes affects the iteration (bug#18191).
7018
7019 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
7020
7021 * ses.el (ses-calculate-cell): Bind row and col dynamically to
7022 their values with 'cl-progv'.
7023 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
7024 their values with 'cl-progv', also use non-interned symbols for
7025 row, minrow, maxrow, mincol and maxcol.
7026 (maxrow maxcol): New defvar, to make the compiler happy.
7027
7028 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
7031 completion functions.
7032
7033 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
7034
7035 * ses.el (ses--letref): Quote value before it gets re-evaluated.
7036
7037 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
7038
7039 Font-lock `cl-flet*', too.
7040 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
7041 Add "flet*" to intermediate var `cl-lib-kw'.
7042
7043 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * epg-config.el (epg-gpg-program): Use the plain program names rather
7046 than their absolute file name.
7047
7048 * subr.el (track-mouse): New macro.
7049 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7050 Remove track-mouse case.
7051 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
7052
7053 2014-09-27 Leo Liu <sdl.web@gmail.com>
7054
7055 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
7056
7057 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
7058
7059 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
7062 Handle the case where `match' is :pcase--succeed or :pcase--fail
7063 (bug#18554).
7064
7065 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
7066 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
7067 (eldoc-schedule-timer): Obey it.
7068 (eldoc-documentation-function): Default to nil.
7069 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
7070 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
7071 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
7072 (eldoc-last-data-store, eldoc-docstring-first-line)
7073 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
7074 (eldoc-beginning-of-sexp, eldoc-current-symbol)
7075 (eldoc-function-argstring): Move to elisp-mode.el.
7076 (eldoc-symbol-function): Remove, unused.
7077 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
7078 (elisp-completion-at-point): Rename from lisp-completion-at-point.
7079 (elisp--preceding-sexp): Rename from preceding-sexp.
7080 * loadup.el: Load new file progmodes/elisp-mode.
7081 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
7082 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
7083 (lisp--local-variables-completion-table, lisp--expect-function-p)
7084 (lisp--form-quoted-p, lisp--company-doc-buffer)
7085 (lisp--company-doc-string, lisp--company-location)
7086 (lisp-completion-at-point): Move to elisp-mode.el.
7087 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
7088 extracted from emacs-lisp-mode-syntax-table.
7089 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
7090 elisp-mode.el.
7091 (lisp-imenu-generic-expression): Add comments to document what comes
7092 from which Lisp dialect.
7093 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
7094 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
7095 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
7096 (emacs-lisp-byte-code-comment)
7097 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
7098 (lisp-interaction-mode-map, lisp-interaction-mode)
7099 (eval-print-last-sexp, last-sexp-setup-props)
7100 (last-sexp-toggle-display, prin1-char, preceding-sexp)
7101 (eval-last-sexp-1, eval-last-sexp-print-value)
7102 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
7103 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
7104
7105 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
7106
7107 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
7108 Do not match file names that end in '/', as they cannot be 'grep'
7109 hits nowadays. This prevents confusion when 'grep -r' reports a
7110 match in a file whose basename is ':12345:'. Conversely, do not
7111 require exactly the same sequence of spaces and tabs after both
7112 colons, and allow spaces or tabs before the second colon, as per
7113 the POSIX spec for 'grep' output.
7114
7115 2014-09-26 Leo Liu <sdl.web@gmail.com>
7116
7117 Add cl-parse-integer based on parse-integer (Bug#18557)
7118 * calendar/parse-time.el (parse-time-digits): Remove.
7119 (digit-char-p, parse-integer) Moved to cl-lib.el.
7120 (parse-time-tokenize, parse-time-rules, parse-time-string):
7121 Use cl-parse-integer.
7122
7123 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
7124
7125 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
7126 (cl-digit-char-p): New function.
7127
7128 2014-09-25 Juri Linkov <juri@jurta.org>
7129
7130 * vc/add-log.el (change-log-next-buffer): Don't create an empty
7131 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
7132 Return the current buffer if no files match the default pattern
7133 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
7134
7135 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
7138 the global vc-handled-backends (bug#18535).
7139
7140 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
7143 Suggested by <lompik@voila.fr>.
7144
7145 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
7146
7147 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
7148 Rename from `newsticker--treeview-do-get-node'.
7149 (newsticker--treeview-get-node-by-id):
7150 Rename from `newsticker--treeview-get-node'.
7151 (newsticker--treeview-buffer-init)
7152 (newsticker--treeview-buffer-init): Disable buffer undo.
7153 (newsticker--treeview-unfold-node): Adapt to modified
7154 `newsticker--group-find-parent-group'.
7155 (newsticker--group-do-find-group):
7156 Rename from `newsticker--group-do-find-group-for-feed'.
7157 Now works for both, groups and feeds.
7158 (newsticker--group-find-parent-group):
7159 Rename from `newsticker--group-find-group-for-feed'.
7160 Now works for both, groups and feeds.
7161 (newsticker--group-do-get-parent-group)
7162 (newsticker--group-get-parent-group): Remove.
7163 (newsticker-group-add-group): Change interactive prompts.
7164 (newsticker-group-add-group): Finally jump to added group.
7165 (newsticker-group-delete-group): Finally jump to current feed.
7166 (newsticker--group-do-rename-group, newsticker-group-rename-group)
7167 (newsticker--get-group-names, newsticker--group-names): New.
7168 (newsticker-group-move-feed): Finally jump to moved feed.
7169 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
7170 (newsticker-group-shift-group-down)
7171 (newsticker-group-shift-group-up, newsticker--group-shift): New.
7172 (newsticker-treeview-mode-map): New keybindings for new shift commands.
7173
7174 * net/newst-backend.el (newsticker--item-list)
7175 (newsticker--item-position, newsticker--prev-message)
7176 (newsticker--scrollable-text): Move to newst-ticker.el.
7177
7178 * net/newst-ticker.el (newsticker--item-list)
7179 (newsticker--item-position, newsticker--prev-message)
7180 (newsticker--scrollable-text): Move from newst-backend.el.
7181
7182 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
7183
7184 * window.el (fit-window-to-buffer): When counting buffer width,
7185 count the whole visible buffer. Correctly convert the body-height
7186 to pixel size for window-text-pixel-size (Bug#18498).
7187
7188 2014-09-22 Sam Steingold <sds@gnu.org>
7189
7190 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
7191 (sql-execute): Use `special-mode'.
7192
7193 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 Add pcase-defmacro, as well as `quote' and `app' patterns.
7196 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7197 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7198 (pcase--funcall, pcase--eval): New functions.
7199 (pcase--u1): Use them for guard, pred, let, and app.
7200 (\`): Use the new feature to generate better code for vector patterns.
7201 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7202 (pcase--upat): Remove.
7203 (pcase--macroexpand): Don't hardcode handling of `.
7204 (pcase--split-consp, pcase--split-vector): Remove.
7205 (pcase--split-equal): Disregard ` since it's expanded away.
7206 (pcase--split-member): Optimize for quote rather than for `.
7207 (pcase--split-pred): Optimize for quote rather than for `.
7208 (pcase--u1): Remove handling of ` (and of `or' and `and').
7209 Quote non-selfquoting values when passing them to `eq'.
7210 Drop `app's let-binding if the variable is not used.
7211 (pcase--q1): Remove.
7212 (`): Define as a pattern macro.
7213 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7214 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7215 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7216 quote patterns.
7217 (pcase--split-match): Don't hoist or/and here any more.
7218 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7219 (pcase--flip): New helper macro.
7220 (pcase--u1): Optimize the memq case directly.
7221 Don't handle neither self-quoting nor and/or patterns any more.
7222 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7223 (pcase--macroexpand): New function.
7224 (pcase--expand): Use it.
7225 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7226 New optimization functions.
7227 (pcase--u1): Add support for `quote' and `app'.
7228 (pcase): Document them in the docstring.
7229
7230 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7231
7232 Use lexical-bindin in Ibuffer.
7233 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7234 (ibuffer-compile-format): Simplify.
7235 (ibuffer-clear-summary-columns): Simplify.
7236 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7237 elem of dotimes when we don't refer to the iteration var from it.
7238 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7239 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7240 Silence byte-compiler.
7241
7242 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7243
7244 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7245 expression for a list.
7246
7247 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7248 for functions with no arguments.
7249
7250 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7251 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7252
7253 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7254
7255 * simple.el (clone-indirect-buffer): Mention the return value
7256 (bug#18478).
7257
7258 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7259 Text mode in docstring (bug#18464).
7260
7261 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7264 Accept underscores in identifiers after "sub" (bug#18502).
7265
7266 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7267
7268 * textmodes/reftex-sel.el (reftex-select-label-mode)
7269 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7270 from special-mode (instead of fundamental-mode) and propertize
7271 with font-lock-face instead of just face. (Bug#18496)
7272
7273 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7274
7275 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7276
7277 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7278 `table-etc' when `end' is non-nil.
7279 (lisp-completion-at-point): Move `end' back if it's after quote.
7280 If in comment or string, only complete when after backquote.
7281 (Bug#18265)
7282 (lisp-completion-at-point): Don't use
7283 `lisp--local-variables-completion-table' in the
7284 `lisp--form-quoted-p' case.
7285
7286 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7287
7288 * emacs-lisp/lisp.el (lisp--expect-function-p)
7289 (lisp--form-quoted-p): New functions.
7290 (lisp-completion-at-point): Use them to see if we're completing a
7291 variable reference, a function name, or just any symbol.
7292 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7293
7294 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7295
7296 * net/shr.el, net/eww.el: Don't override `shr-width', but
7297 introduce a new variable `shr-internal-width'. This allows users
7298 to specify a width themselves.
7299
7300 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301
7302 * image-mode.el (image-toggle-display-image): If we have a
7303 `fit-width' or a `fit-height', don't limit the size of the image
7304 to the window size, because that doesn't preserve the aspect ratio.
7305 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7306 warning.
7307
7308 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7309
7310 * progmodes/js.el: Add interpreter-mode-alist support for various
7311 JavaScript interpreters.
7312
7313 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7314
7315 Don't assume 'grep' supports GREP_OPTIONS.
7316 The GREP_OPTIONS environment variable is planned to be marked
7317 obsolescent in GNU grep, due to problems in its use, so stop
7318 relying on it.
7319 * progmodes/grep.el (grep-highlight-matches): Document this.
7320 (grep-process-setup): Do not set GREP_OPTIONS.
7321 (grep-compute-defaults): Use an explicit --color option if supported.
7322
7323 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7326 Don't add outdated key-shortcut cache (bug#18482).
7327
7328 2014-09-15 Glenn Morris <rgm@gnu.org>
7329
7330 * image.el (image-multi-frame-p): Fix thinko - do not force
7331 a delay if none was specified. (Bug#18334)
7332
7333 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7334
7335 * window.el (fit-window-to-buffer): Doc fix.
7336
7337 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7338
7339 * desktop.el (desktop-create-buffer): Check that buffers are still live
7340 before burying them (bug#18373).
7341
7342 2014-09-15 Glenn Morris <rgm@gnu.org>
7343
7344 * calendar/diary-lib.el (diary-list-entries):
7345 Restore 24.3 display behavior. (Bug#18381)
7346
7347 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7348
7349 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7350 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7351 discrepancy between window-pixel-edges and mouse events, and
7352 avoids moving mode line up when the mouse click is on the modeline
7353 and no drag is attempted.
7354
7355 2014-09-14 Daniel Colascione <dancol@dancol.org>
7356
7357 * register.el (insert-register): Change default interactive
7358 insertion mode.
7359
7360 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7361
7362 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7363 Suppress debug messages.
7364
7365 * net/tramp.el (tramp-file-name-handler):
7366 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7367 appropriate.
7368
7369 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7370
7371 * calendar/calendar.el (calendar-update-mode-line):
7372 Do not overwrite mode-line-format if calendar-mode-line-format is
7373 nil. (Bug#18467)
7374
7375 2014-09-13 Leo Liu <sdl.web@gmail.com>
7376
7377 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7378 (pcase--expand): Use it.
7379 (pcase-exhaustive): New macro. (Bug#16567)
7380
7381 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7382 Add pcase-exhaustive.
7383
7384 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7385
7386 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7387 using the specified transfer-encoding, if any, or 'undecided'.
7388 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7389 broken at the window margin.
7390
7391 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7392
7393 Support rendering of HTML parts in Rmail (bug#4258).
7394 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7395 separately from other text/ types. Suppress tagline for
7396 multipart body.
7397 (rmail-mime-parse): Don't change visibility of tagline here.
7398 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7399 Handle text/html specially.
7400 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7401 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7402 (rmail-mime-render-html-lynx): New functions.
7403 (rmail-mime-fix-inserted-faces): New function.
7404 (rmail-mime-process-multipart): Find the best part to show
7405 following rmail-mime-prefer-html if set.
7406 (rmail-mime-searching): New variable.
7407 (rmail-search-mime-message): Bind rmail-mime-searching to
7408 suppress rendering while searching.
7409
7410 2014-09-12 Sam Steingold <sds@gnu.org>
7411
7412 * progmodes/sql.el (sql-product-alist): Add vertica.
7413 (sql-vertica-program, sql-vertica-options)
7414 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7415 New functions and variables to support Vertica.
7416 Inspired by code by Roman Scherer <roman@burningswell.com>.
7417
7418 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7419
7420 * ses.el (ses-file-format-extend-parameter-list): Rename from
7421 ses-file-format-extend-paramter-list, to correct a misspelling.
7422 All uses changed.
7423
7424 2014-09-10 Alan Mackenzie <acm@muc.de>
7425
7426 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7427 gets loaded at run-time).
7428 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7429 c-lang-const to c-make-no-parens-syntax-table and correct the
7430 logic.
7431 (c-no-parens-syntax-table): Correct the logic of the
7432 c-lang-defvar.
7433
7434 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7437 plus misc cleanup.
7438 * progmodes/cc-mode.el (c-basic-common-init):
7439 Set open-paren-in-column-0-is-defun-start.
7440 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7441 Remove declarations, unused.
7442 (run-mode-hooks): Remove declaration.
7443 (font-lock-defaults): Use plain `defvar' to declare.
7444 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7445 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7446 (c-make-mode-syntax-table): Don't micro-optimize.
7447 (c-keywords, c-keyword-member-alist): Simplify.
7448 (c-kwds-lang-consts): Don't eval at compile-time.
7449 (c-primary-expr-regexp): Comment out unused vars.
7450 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7451 (c-font-byte-compile): New var.
7452 (c--compile): New function. Use it instead of `byte-compile'.
7453 (c-cpp-matchers): Quote the value returned by
7454 `c-make-syntactic-matcher' in case it's not self-evaluating.
7455 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7456 parentheses instead (in case MATCHER happens to be a list).
7457 (c-font-lock-enum-tail): Remove unused var `start'.
7458 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7459 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7460 test into an argument.
7461 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7462 (c-get-char-property): Don't use `eval' just to unquote a constant.
7463 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7464 more efficiently.
7465 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7466 (c-clear-char-property, c-clear-char-properties): Check that `property'
7467 is a quoted constant.
7468 (c-emacs-features): Remove `infodock', `syntax-properties', and
7469 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7470 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7471 changing buffer, so we don't have to setq them again afterwards.
7472 (c-lang-const): Remove redundant symbolp assertions.
7473 (c-find-assignment-for-mode): Use `or'.
7474 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7475
7476 2014-09-09 Sam Steingold <sds@gnu.org>
7477
7478 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7479
7480 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7483 Change doc comments into docstrings.
7484 * Makefile.in: Remove cc-awk dependency.
7485
7486 2014-09-08 Sam Steingold <sds@gnu.org>
7487
7488 * progmodes/sql.el (sql-send-line-and-next): New command,
7489 bound to C-c C-n.
7490 (sql-show-sqli-buffer): Display the buffer instead of its name and
7491 bind the command to C-c C-z.
7492 (sql-default-directory): New user option.
7493 (sql-product-interactive): Bind `default-directory' to it to
7494 enable remote connections using Tramp.
7495 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7496 suitable buffer is available.
7497
7498 2014-09-08 Glenn Morris <rgm@gnu.org>
7499
7500 * calendar/calendar.el (calendar-basic-setup):
7501 Fix calendar-view-holidays-initially-flag and fancy display.
7502 * calendar/diary-lib.el (diary-live-p): Doc fix.
7503
7504 * calendar/calendar.el (calendar-basic-setup):
7505 Avoid clobbering calendar with diary. (Bug#18381)
7506
7507 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7510
7511 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7512
7513 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7514 as well (bug#18400).
7515
7516 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7517
7518 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7519
7520 2014-09-06 Leo Liu <sdl.web@gmail.com>
7521
7522 * emacs-lisp/pcase.el (pcase): Doc fix.
7523 (pcase--split-vector): New function.
7524 (pcase--q1): Support vector qpattern. (Bug#18327)
7525
7526 2014-09-05 Sam Steingold <sds@gnu.org>
7527
7528 * textmodes/tex-mode.el (tex-print-file-extension): New user
7529 option.
7530 (tex-print): Use it instead of the hard-coded string.
7531
7532 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7533
7534 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7535 Expand `default-directory'.
7536
7537 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7538
7539 * scroll-bar.el (horizontal-scroll-bars-available-p):
7540 New function.
7541 (horizontal-scroll-bar-mode): Rewrite using
7542 horizontal-scroll-bars-available-p.
7543 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7544 horizontal-scroll-bars-available-p.
7545
7546 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * subr.el (call-process-shell-command, process-file-shell-command):
7549 Make the `args' obsolete (bug#18409).
7550 (start-process-shell-command, start-file-process-shell-command):
7551 Use `declare'.
7552
7553 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7554
7555 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7556 "negative" hms forms.
7557
7558 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7559
7560 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7561 returns nil (bug#18391).
7562
7563 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7566 terminating paren (bug#18352).
7567 (eldoc-last-data-store): Return cached data.
7568 (eldoc-get-var-docstring): Avoid setq.
7569 (eldoc-get-fnsym-args-string): Clarify data flow.
7570
7571 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7572
7573 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7574 case where we're currently providing part of the &rest arg after some
7575 &key args, as in define-ibuffer-op (bug#18048).
7576
7577 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7580 buffer-local setting of which-func-mode.
7581 (which-func-mode): Use defvar-local.
7582 (which-function-mode): Don't reset which-func-mode in each buffer since
7583 it might have been set by someone else.
7584 (which-func-update-ediff-windows): Check which-function-mode.
7585
7586 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7587
7588 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7589 from frame-initial-frame-alist.
7590 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7591 (horizontal-scroll-bar-mode-explicit)
7592 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7593 (toggle-horizontal-scroll-bar): Remove.
7594 (horizontal-scroll-bar-mode): Remove defcustom.
7595 (horizontal-scroll-bar-mode): Fix doc-string.
7596 (scroll-bar-toolkit-scroll)
7597 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7598
7599 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * emacs-lisp/package.el (package-generate-description-file):
7602 Properly quote the arguments (bug#18332). Change second arg.
7603 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7604 quote the elements.
7605 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7606 the *-pkg.el file. Adjust to new calling convention of
7607 package-generate-description-file.
7608
7609 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7610 (gud-gdb-completions): Remove obsolete workaround.
7611
7612 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7613
7614 * subr.el (posn-col-row): Revert the change from commit
7615 2010-11-13T21:07:58Z!eliz@gnu.org, which
7616 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7617 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7618 introduced an off-by-one error in the reported row when there is a
7619 header line. (Bug#18384)
7620
7621 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7622
7623 * progmodes/python.el (python-indent-post-self-insert-function):
7624 Avoid electric colon at beginning-of-defun. (Bug#18228)
7625
7626 2014-09-03 Glenn Morris <rgm@gnu.org>
7627
7628 * tutorial.el (tutorial--display-changes):
7629 Fix 2014-08-01 change. (Bug#18382)
7630
7631 2014-09-03 Ken Brown <kbrown@cornell.edu>
7632
7633 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7634 the Cygwin-w32 build. (Bug#18347)
7635
7636 2014-09-03 Glenn Morris <rgm@gnu.org>
7637
7638 * tar-mode.el (tar--extract, tar-extract):
7639 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7640
7641 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7642
7643 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7644 handle multiline elements (bug#18380).
7645
7646 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7647
7648 * ls-lisp.el (ls-lisp-use-string-collate)
7649 (ls-lisp-UCA-like-collation): New defcustoms.
7650 (ls-lisp-string-lessp): Use them to control sorting by file
7651 names. (Bug#18051)
7652 (ls-lisp-version-lessp): New function.
7653 (ls-lisp-handle-switches): Use it to implement the -v switch of
7654 GNU ls.
7655 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7656
7657 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7658
7659 * ibuffer.el: Replace mode-specific quit function with
7660 `quit-window' via `special-mode'.
7661 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7662 of local overrides.
7663 (ibuffer): Don't store previous windows configuration.
7664 Let `quit-window' handle restoring.
7665 (ibuffer-quit): Remove function. Use `quit-window' instead.
7666 (ibuffer-restore-window-config-on-quit): Remove variable.
7667 (ibuffer-prev-window-config): Remove variable.
7668
7669 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7670
7671 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7672 name instead of variable name in hook docstring. (Bug#18349)
7673
7674 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7675
7676 * window.el (display-buffer-at-bottom): Prefer bottom-left
7677 window to other bottom windows. Reuse a bottom window if it
7678 shows the buffer already. Suggested by Juri Linkov
7679 <juri@jurta.org> in discussion of (Bug#18181).
7680
7681 2014-08-29 Leo Liu <sdl.web@gmail.com>
7682
7683 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7684 append to minibuffer-setup-hook. (Bug#18341)
7685
7686 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7689 byte-compiler.
7690 (lookup-syntax-properties): Silence byte-compiler.
7691 (c-lang-defconst): Quote the code with `lambda' rather than with
7692 `quote'.
7693 (c-lang-const): Avoid unneeded setq.
7694 (c-lang-constants-under-evaluation): Add docstring.
7695 (c-lang--novalue): New constant.
7696 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7697 (c-get-lang-constant): Same here.
7698 Get the mode's value using `funcall' now that the code is quoted
7699 with `lambda'.
7700
7701 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7702
7703 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7704 (Bug#18326)
7705
7706 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7707
7708 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7709 interpretation of `portion-whole'.
7710
7711 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7712
7713 * net/tramp-adb.el: Spell author name correctly.
7714
7715 2014-08-28 João Távora <joaotavora@gmail.com>
7716
7717 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7718 use url-expand-file-name. (Bug#18310)
7719
7720 2014-08-28 Glenn Morris <rgm@gnu.org>
7721
7722 * emulation/cua-rect.el (cua--highlight-rectangle):
7723 Avoid error at point-min. (Bug#18309)
7724
7725 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7728 executable-find (bug#18244).
7729
7730 * simple.el (self-insert-uses-region-functions): Defvar.
7731
7732 2014-08-28 Glenn Morris <rgm@gnu.org>
7733
7734 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7735
7736 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7737
7738 * startup.el (normal-top-level): Now use internal--top-level-message.
7739
7740 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7741
7742 * startup.el (normal-top-level): Use top-level-message.
7743
7744 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7745
7746 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7747 URLs containing spaces and the like.
7748
7749 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7750
7751 * subr.el (remq): Fix docstring (Bug#18253).
7752
7753 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7754
7755 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7756
7757 2014-08-24 Alan Mackenzie <acm@muc.de>
7758
7759 Handle C++11's "auto" and "decltype" constructions.
7760 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7761 and return 'decltype.
7762 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7763 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7764 keyword.
7765 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7766 "decltype" keyword.
7767 (c-font-lock-c++-new): Handle "decltype" constructions.
7768 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7769 New c-lang-defconsts/defvars.
7770 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7771 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7772 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7773 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7774
7775 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7776 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7777 off from c->-op-cont-re.
7778 (c->-op-cont-tokens): Change to use the above.
7779 (c->-op-without->-cont-regexp): New lang-const.
7780 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7781 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7782
7783
7784 2014-08-23 Alan Mackenzie <acm@muc.de>
7785
7786 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7787 loop, bug #18306. The bug was introduced on 2014-08-02.
7788
7789 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7790
7791 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7792 Don't recognize a Top node if there are other sectioning commands
7793 earlier in the Texinfo file. This fixes a bug in
7794 texinfo-make-menu and avoids inflooping in
7795 texinfo-all-menus-update when they are invoked on texinfo.texi.
7796
7797 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7798
7799 * window.el (window--side-window-p): New function.
7800 (split-window, window-splittable-p): Use window--side-window-p to
7801 determine whether WINDOW can be split (Bug#18304).
7802 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7803 `window-splittable-p' and add another (Bug#18304).
7804
7805 2014-08-20 Sam Steingold <sds@gnu.org>
7806
7807 * progmodes/python.el (python-new-pythonpath): Extract from
7808 `python-shell-calculate-process-environment'.
7809
7810 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7811
7812 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7813 for &key args (bug#18048).
7814
7815 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7818 (eldoc-function-argstring-format): Remove.
7819 (eldoc-function-argstring): Always return upcase args.
7820 Use help-make-usage. Don't add parens.
7821 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7822 it's too late to do it right (bug#18048).
7823
7824 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7825
7826 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7827 (scroll-bar-toolkit-horizontal-scroll): When determining the
7828 paragraph direction, use the buffer of the window designated in
7829 the event.
7830
7831 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7832
7833 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7834 context of unified diff.
7835
7836 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7837
7838 Add dependencies to fix loaddefs race during parallel builds.
7839 Without this, for example, 'make -j bootstrap' can fail and report
7840 "Opening input file: no such file or directory,
7841 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7842 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7843 got confused because diary-loaddefs.el was being built in parallel.
7844 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7845 Depend on $(CAL_DIR)/cal-loaddefs.el.
7846 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7847
7848 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7849
7850 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7851 portion-whole for scrolling right-to-left text.
7852
7853 2014-08-15 Leo Liu <sdl.web@gmail.com>
7854
7855 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7856 elements from imenu.
7857
7858 2014-08-15 Glenn Morris <rgm@gnu.org>
7859
7860 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7861
7862 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7863
7864 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7865 Add Guile regexpses.
7866
7867 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7868
7869 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7870 add Guile debugger support for GUD.
7871
7872 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7875 (mouse-sel--ignore): New function.
7876 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7877 (mouse-sel-original-interprogram-cut-function)
7878 (mouse-sel-original-interprogram-paste-function): Remove.
7879
7880 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7881
7882 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7883 Call "git add" when there are no longer conflict markers.
7884
7885 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7886
7887 * vc/vc-git.el (vc-git-find-file-hook): New function.
7888 Adds support for calling smerge (and resolve) on a conflicted file.
7889 (vc-git-conflicted-files): New function.
7890 Useful in itself and a step towards better smerge support.
7891
7892 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7895 to the first part if they're the same as the selection.
7896
7897 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7898
7899 * image-mode.el (image-transform-reset): New command and menu item.
7900 (image-mode-map): Rearrange the menu items to put presumably more
7901 obscure items at the end.
7902
7903 2014-08-12 Juri Linkov <juri@jurta.org>
7904
7905 * vc/vc-annotate.el (vc-annotate-background-mode):
7906 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7907
7908 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7911
7912 2014-08-11 Sam Steingold <sds@gnu.org>
7913
7914 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7915 the presence of known validators (tidy, (o)nsgmls).
7916
7917 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7918
7919 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7920 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7921 (newsticker--treeview-list-add-item):
7922 Use `newsticker-treeview-date-format'.
7923
7924 2014-08-11 Glenn Morris <rgm@gnu.org>
7925
7926 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7927 chose coding system for writing before backing up, since it causes
7928 a more serious problem than the one it solves. (Closes Bug#18141,
7929 reopens Bug#13522.)
7930
7931 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7932
7933 * window.el (window-total-size): Make doc-string more self-contained.
7934
7935 * window.el (display-buffer-below-selected): Restore original
7936 behavior if buffer is already displayed in the window below the
7937 selected one (Bug#18181).
7938
7939 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7942 event (bug#18212).
7943
7944 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7945
7946 * info.el (info): Doc fix.
7947
7948 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7951 (bug#18212).
7952
7953 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7954
7955 * simple.el (default-line-height): A floating-point value of
7956 line-spacing means a fraction of the default frame font's height,
7957 not of the font currently used by the 'default' face.
7958 Truncate the pixel value, like the display engine does.
7959 (window-screen-lines): Use window-inside-pixel-edges for
7960 determining the window height in pixels. (Bug#18195)
7961
7962 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7963
7964 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7965
7966 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7967
7968 Enumerate evaluated sexp diary entries (Bug#7911).
7969 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7970 (icalendar-export-sexp-enumeration-days): New.
7971 (icalendar-export-region): Now `icalendar--convert-to-ical'
7972 returns a cons cell or a list of cons cells.
7973 (icalendar--convert-to-ical): Take care of
7974 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7975 (icalendar--convert-ordinary-to-ical)
7976 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7977 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7978 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7979 (icalendar--convert-anniversary-to-ical): Return cons cell.
7980 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7981 entries. Return (list of) cons cells.
7982
7983 2014-08-09 Juri Linkov <juri@jurta.org>
7984
7985 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7986 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7987
7988 2014-08-09 Alan Mackenzie <acm@muc.de>
7989
7990 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7991 for top-level that can cause unacceptable slow-down in scrolling.
7992 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7993 Antipov from 2013-10-14 in emacs-devel.
7994
7995 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7996
7997 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7998 `ibuffer-auto-mode' menu entry.
7999 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
8000
8001 2014-08-08 Matthias Meulien <orontee@gmail.com>
8002
8003 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
8004 (Bug#16394)
8005
8006 2014-08-07 Martin Rudalics <rudalics@gmx.at>
8007
8008 * window.el (window--min-size-1): Explicitly set WINDOW arg in
8009 calls of window-min-pixel-height and window-min-pixel-width.
8010
8011 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8012
8013 * progmodes/ada-mode.el:
8014 * net/tramp.el (tramp-handle-file-symlink-p):
8015 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
8016 about VMS, which we no longer support.
8017 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
8018 and fix a FIXME, using convert-standard-filename in place of
8019 removed ada-convert-file-name.
8020
8021 2014-08-07 Eli Zaretskii <eliz@gnu.org>
8022
8023 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
8024
8025 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8026
8027 Refer to MS-DOS using the same name everywhere.
8028 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
8029 ``msdog'' become ``MS-DOS''.
8030
8031 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8034 Use cached "remote-copy-args" value, if available. (Bug#18199)
8035
8036 2014-08-07 Leo Liu <sdl.web@gmail.com>
8037
8038 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
8039 Revert change on 2014-03-22.
8040
8041 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
8042
8043 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
8044 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
8045 (Bug#13750).
8046
8047
8048 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8049
8050 * image-mode.el (image-toggle-display-image): Always rescale images
8051 to not be bigger than the current window.
8052
8053 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
8054
8055 * net/eww.el (eww-bookmarks-directory): New variable.
8056 (eww-write-bookmarks): Use it.
8057 (eww-read-bookmarks): Ditto.
8058
8059 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8060
8061 * net/shr.el (shr-copy-url): Also copy the image URL.
8062
8063 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
8064
8065 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
8066 also for Tramp working buffers.
8067
8068 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8069
8070 * progmodes/python.el: Fix completions inside (i)pdb.
8071 (python-shell-completion-pdb-string-code): Make obsolete.
8072 (python-shell-completion-get-completions):
8073 Use python-shell-completion-string-code resending setup code
8074 continuously for (i)pdb.
8075
8076 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
8077
8078 * rect.el (rectangle--default-line-number-format): Rename
8079 from misspelled rectange--default-line-number-format (Bug#18045).
8080 All uses changed.
8081
8082 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
8083
8084 Don't mishandle year-9999 dates (Bug#18176).
8085 * calendar/parse-time.el (parse-time-rules):
8086 Allow years up to most-positive-fixnum.
8087 * calendar/time-date.el (date-to-time):
8088 Pass "Specified time is not representable" errors through.
8089
8090 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8091
8092 * progmodes/python.el: Completion code cleanups.
8093 (python-shell-completion-get-completions): Detect and send import
8094 statements directly to completion function.
8095 (python-shell-completion-at-point): Simplify prompt calculation
8096 and import vs input completion logic.
8097
8098 2014-08-02 Alan Mackenzie <acm@muc.de>
8099
8100 Fix confusion in C++ file caused by comma in "= {1,2},".
8101 Bug #17756.
8102 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
8103 for a statement boundary marked by "}", check there's no "="
8104 before the "{".
8105 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
8106 non-nil `comma-delim' argument.
8107 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
8108 initializer expression more accurately.
8109
8110 Correct loop termination condition in c-syntactic-skip-backward.
8111 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
8112 the situation where, after moving back out of a literal,
8113 skip-chars-backward doesn't move further, yet checks have still to
8114 be done.
8115
8116 2014-08-01 Eli Zaretskii <eliz@gnu.org>
8117
8118 * tutorial.el (tutorial--display-changes): Accept punctuation
8119 characters before the key binding. (Bug#18146)
8120
8121 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
8122
8123 * progmodes/python.el: Shell output capture enhancements.
8124 (python-shell-accept-process-output): New function.
8125 (inferior-python-mode)
8126 (python-shell-send-setup-code): Use it.
8127
8128 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
8129
8130 * calendar/icalendar.el (icalendar--decode-isodatetime):
8131 Use actual current-time-zone when converting to local time. (Bug#15408)
8132
8133 2014-07-29 Martin Rudalics <rudalics@gmx.at>
8134
8135 * window.el (window--state-put-2): Handle horizontal scroll
8136 bars, if present.
8137
8138 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8139
8140 * menu-bar.el (menu-bar-update-buffers): Update item list format
8141 in `buffers-menu' to confirm with changes to `get_keyelt'
8142 (r117463). (Bug#18016)
8143
8144 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8145
8146 * progmodes/python.el (inferior-python-mode): Make input prompts
8147 read-only.
8148
8149 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
8150
8151 * net/tramp-sh.el (tramp-get-remote-python): Also search for
8152 executables named "python2" or "python3".
8153 (tramp-get-remote-uid-with-python): Use parentheses around
8154 arguments to `print' to make it compatible with Python 3.
8155 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
8156
8157 2014-07-28 Eli Zaretskii <eliz@gnu.org>
8158
8159 * window.el (window--pixel-to-total): Use FRAME's root window, not
8160 that of the selected frame. (Bug#18112, Bug#16674)
8161
8162 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
8163
8164 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
8165 (Bug#18117)
8166
8167 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8168
8169 * progmodes/python.el (inferior-python-mode): Doc fix.
8170
8171 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8172
8173 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
8174 not a character, ignore it instead of raising an error.
8175
8176 * calendar/todo-mode.el: Fix handling of marked items and make
8177 minor code improvements.
8178 (todo-edit-item): If there are marked items, ensure user can only
8179 invoke editing commands that work with marked items.
8180 (todo-edit-item--text): When there are marked items, make it a
8181 noop if invoked with point not on an item; otherwise, ensure it
8182 applies only to item at point.
8183 (todo-item-undone): If there are marked not-done items, return
8184 point to its original position before signaling user error.
8185 (todo--user-error-if-marked-done-item): New function.
8186 (todo-edit-item--header, todo-edit-item--diary-inclusion)
8187 (todo-item-done): Use it.
8188
8189 2014-07-28 Glenn Morris <rgm@gnu.org>
8190
8191 * files.el (toggle-read-only): Re-add basic doc-string.
8192 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8193
8194 * progmodes/prolog.el (prolog-mode-keybindings-edit):
8195 Replace missing `switch-to-prolog' with `run-prolog'.
8196 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8197
8198 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8199
8200 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8201 of file-wide setting when changing category-wide setting.
8202
8203 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8204
8205 * doc-view.el (doc-view-open-text): Don't require that the
8206 document is saved in a file (e.g., email attachment).
8207
8208 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8209
8210 Parse completion input in a iPython friendly way. (Bug#18084)
8211 * progmodes/python.el
8212 (python-shell-completion-at-point): Rename from
8213 python-shell-completion-complete-at-point.
8214 (inferior-python-mode): Use it.
8215 (python-completion-at-point): Rename from
8216 python-completion-complete-at-point. Parse input up to first
8217 backward occurrence of whitespace, open-paren, close-paren or
8218 string delimiter.
8219 (python-mode): Use it.
8220
8221 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8222
8223 * progmodes/python.el
8224 (python-shell-with-shell-buffer): New macro.
8225 (python-shell-font-lock-get-or-create-buffer)
8226 (python-shell-font-lock-kill-buffer)
8227 (python-shell-font-lock-with-font-lock-buffer)
8228 (python-shell-font-lock-cleanup-buffer)
8229 (python-shell-font-lock-toggle): Use it.
8230 (python-shell-font-lock-turn-on)
8231 (python-shell-font-lock-turn-off): Use it. Make command.
8232
8233 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8234
8235 Grab all Python process output before inferior-python-mode hooks.
8236 * progmodes/python.el (inferior-python-mode):
8237 Call accept-process-output and sit-for to ensure all output for process
8238 has been received before running hooks.
8239 (python-shell-internal-get-or-create-process):
8240 Cleanup accept-process-output and sit-for calls.
8241
8242 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8243
8244 More robust shell startup and code setup.
8245 * progmodes/python.el (python-shell-make-comint):
8246 Remove accept-process-output call.
8247 (python-shell-get-buffer): Return current buffer if major-mode is
8248 inferior-python-mode.
8249 (python-shell-get-or-create-process): Use it.
8250 (python-shell-send-setup-code): Send all setup code in one string,
8251 output success message and accept-process-output.
8252
8253 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8254
8255 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8256 Add rudimentary support for bidirectional text.
8257
8258 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8259
8260 * frame.el (frame-notice-user-settings): Rewrite using
8261 frame-initial-frame-tool-bar-height.
8262 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8263 (menu-bar-no-horizontal-scroll-bar): New functions.
8264 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8265 scroll bars.
8266 * scroll-bar.el (scroll-bar-lines)
8267 (set-horizontal-scroll-bar-mode)
8268 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8269 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8270 (scroll-bar-toolkit-horizontal-scroll): New functions.
8271 (horizontal-scroll-bar-mode)
8272 (previous-horizontal-scroll-bar-mode)
8273 (horizontal-scroll-bar-mode-explicit): New variables.
8274 (horizontal-scroll-bar-mode): New option.
8275 (toggle-horizontal-scroll-bar): Do something.
8276 (top-level): Bind horizontal-scroll-bar mouse-1.
8277 * startup.el (tool-bar-originally-present): Remove variable.
8278 (command-line): Don't set tool-bar-originally-present.
8279 * window.el (window-min-height): Update doc-string.
8280 (window--dump-frame): Dump horizontal scroll bar values.
8281 (window--min-size-1): Handle minibuffer window separately.
8282 Count in margins and horizontal scroll bar. Return safe value
8283 iff IGNORE equals 'safe.
8284 (frame-windows-min-size): New function (used by frame resizing
8285 routines).
8286 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8287 scroll bars.
8288 (window--sanitize-window-sizes): New function.
8289 (window-split-min-size): Remove.
8290 (split-window): Count divider-width. Don't use
8291 `window-split-min-size' any more. Reword error messages.
8292 Sanitize windows sizes after splitting.
8293
8294 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8295
8296 Use `defvar-local' more.
8297 * progmodes/hideshow.el
8298 (hs-c-start-regexp, hs-block-start-regexp)
8299 (hs-block-start-mdata-select, hs-block-end-regexp)
8300 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8301 remove corresponding `make-variable-buffer-local' top-level calls.
8302
8303 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8304
8305 Cleanup error signals. (Bug#18067)
8306 * progmodes/python.el
8307 (python-indent-shift-left): Use user-error instead.
8308 (python-shell-prompt-detect): Use lwarn with python group.
8309 (python-completion-complete-at-point)
8310 (python-eldoc--get-doc-at-point): Don't signal error.
8311
8312 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8313
8314 Support for packages in Python shell. (Bug#13570)
8315 * progmodes/python.el (python-shell--package-depth): New var.
8316 (python-shell-package-enable): New command.
8317 (python-util-list-directories, python-util-list-files)
8318 (python-util-list-packages): New functions.
8319
8320 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8321
8322 Faster comint output. (Bug#16875)
8323 * progmodes/python.el:
8324 (python-comint-output-filter-function): Make obsolete.
8325 (python-comint-postoutput-scroll-to-bottom): New function.
8326 (inferior-python-mode): Set comint-output-filter-functions to a
8327 minimum.
8328
8329 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8330
8331 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8332 Safeguard current point and undo history.
8333
8334 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8335
8336 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8337 * progmodes/python.el:
8338 (python-shell-prompt-input-regexps): Add iPython block prompt.
8339 (python-shell-output-syntax-table): Delete var.
8340 (python-shell-font-lock-with-font-lock-buffer): New macro.
8341 (python-shell-font-lock-get-or-create-buffer)
8342 (python-shell-font-lock-kill-buffer)
8343 (python-shell-font-lock-cleanup-buffer)
8344 (python-shell-font-lock-post-command-hook)
8345 (python-shell-font-lock-turn-off): New functions.
8346 (python-shell-font-lock-turn-on): New function.
8347 (inferior-python-mode): Use it.
8348 (python-shell-font-lock-toggle): New command.
8349 (python-shell-font-lock-enable): Rename from
8350 python-shell-enable-font-lock.
8351 (run-python-internal): Use it.
8352 (python-shell-font-lock-comint-output-filter-function): New function.
8353 (python-shell-comint-end-of-output-p): New function.
8354 (python-shell-output-filter): Use it.
8355 (python-util-comint-last-prompt): New function.
8356 (python-util-text-properties-replace-name): New function.
8357
8358 2014-07-25 Glenn Morris <rgm@gnu.org>
8359
8360 * vc/ediff-init.el (ediff-toggle-read-only-function):
8361 * vc/ediff-util.el (ediff-toggle-read-only):
8362 Replace obsolete toggle-read-only with read-only-mode.
8363
8364 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8365
8366 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8367 with `save-match-data'. (Bug#18095)
8368
8369 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8370
8371 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8372 order to ensure that row and col are lexically bound inside the
8373 evaluated sexp.
8374
8375 2014-07-21 Glenn Morris <rgm@gnu.org>
8376
8377 * progmodes/hideif.el (hide-ifdef-mode-submap):
8378 Also substitute read-only-mode.
8379 * bindings.el (mode-line-toggle-read-only):
8380 * bs.el (bs-toggle-readonly):
8381 * buff-menu.el (Buffer-menu-toggle-read-only):
8382 * dired.el (dired-toggle-read-only):
8383 * files.el (view-read-only, find-file-read-only)
8384 (find-file-read-only-other-window)
8385 (find-file-read-only-other-frame):
8386 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8387 Doc fixes re toggle-read-only.
8388
8389 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8390
8391 * progmodes/python.el: Add comment about pipe buffering and
8392 solutions for missing/delayed output in inferior Python shells.
8393 (Bug#17304)
8394
8395 * progmodes/python.el (python-mode): Don't set
8396 mode-require-final-newline. (Bug#17990)
8397
8398 Make python.el work with IPython automatically. (Bug#15510)
8399 * progmodes/python.el:
8400 (python-shell-completion-setup-code): New value supporting iPython.
8401 (python-shell-completion-string-code): New value supporting iPython.
8402 (python-shell-completion-get-completions): Use them.
8403 (python-shell-completion-module-string-code): Make obsolete.
8404 (python-shell-prompt-input-regexps)
8405 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8406 (python-shell-output-filter): Fix comment typo.
8407
8408 Fix Python shell prompts detection for remote hosts.
8409 * progmodes/python.el (python-shell-prompt-detect):
8410 Replace call-process with process-file and make it more robust.
8411
8412 Autodetect Python shell prompts. (Bug#17370)
8413 * progmodes/python.el:
8414 (python-shell-interpreter-interactive-arg)
8415 (python-shell-prompt-detect-enabled)
8416 (python-shell-prompt-detect-failure-warning)
8417 (python-shell-prompt-input-regexps)
8418 (python-shell-prompt-output-regexps): New vars.
8419 (python-shell-prompt-calculated-input-regexp)
8420 (python-shell-prompt-calculated-output-regexp): New vars.
8421 (python-shell-get-process-name)
8422 (python-shell-internal-get-process-name)
8423 (python-shell-output-filter)
8424 (python-shell-completion-get-completions): Use them.
8425 (python-shell-prompt-detect)
8426 (python-shell-prompt-validate-regexps): New functions.
8427 (python-shell-prompt-set-calculated-regexps): New function.
8428 (inferior-python-mode): Use it. Also honor overriden
8429 python-shell-interpreter and python-shell-interpreter-args.
8430 (python-shell-make-comint): Honor overriden
8431 python-shell-interpreter and python-shell-interpreter-args.
8432 (python-shell-get-or-create-process): Make it testable by allowing
8433 to call run-python non-interactively.
8434 (python-util-valid-regexp-p): New function.
8435 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8436 (python-shell-prompt-output-regexp)
8437 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8438
8439 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8442 smie-config--guess.
8443 (smie-config--guess): Use it.
8444
8445 * emacs-lisp/edebug.el: Use nadvice.
8446 (edebug-original-read): Remove.
8447 (edebug--read): Rename from edebug-read and add `orig' arg.
8448 (edebug-uninstall-read-eval-functions)
8449 (edebug-install-read-eval-functions): Use nadvice.
8450 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8451 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8452 (edebug-read-string, edebug-read-function): Use just `read'.
8453 (edebug-original-debug-on-entry): Remove.
8454 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8455 `orig' arg.
8456 (debug-on-entry): Override with nadvice.
8457
8458 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8459 it also makes sense to bind it to a non-mouse event.
8460
8461 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8462
8463 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8466 (bug#18015).
8467
8468 * rect.el (rectangle--string-preview): Don't assume there
8469 a non-nil default (bug#17984).
8470
8471 2014-07-16 Glenn Morris <rgm@gnu.org>
8472
8473 * desktop.el (after-init-hook): Disable startup frame restoration
8474 in non-graphical situations. (Bug#17693)
8475
8476 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8477 if it was "empty", or used for a different set of files. (Bug#17884)
8478
8479 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8480
8481 * bindings.el (mode-line-remote): If default-directory is not a
8482 string, don't call file-remote-p on it; instead state in the
8483 help-echo that it is nil. (Bug#17986)
8484
8485 2014-07-14 Daniel Colascione <dancol@dancol.org>
8486
8487 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8488 to `macroexpand-all'
8489
8490 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8491 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8492
8493 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8494
8495 Fix bug: C-x v v discarded existing log message (Bug#17884).
8496 * vc/vc-dispatcher.el (vc-log-edit):
8497 Don't clobber an already-existing log message.
8498
8499 2014-07-12 Glenn Morris <rgm@gnu.org>
8500
8501 * vc/log-edit.el (log-edit-changelog-entries):
8502 Check for a visited-but-never-saved ChangeLog.
8503
8504 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8507 a non-existing file (bug#17970).
8508
8509 * faces.el (face-name): Undo last change.
8510 (x-resolve-font-name): Don't call face-name (bug#17956).
8511
8512 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8513
8514 Fix dedenters and electric colon handling. (Bug#15163)
8515 * progmodes/python.el
8516 (python-rx-constituents): Add dedenter and block-ender.
8517 (python-indent-dedenters, python-indent-block-enders): Delete.
8518 (python-indent-context): Return new case for dedenter-statement.
8519 (python-indent-calculate-indentation): Handle new case.
8520 (python-indent-calculate-levels): Fix levels calculation for
8521 dedenter statements.
8522 (python-indent-post-self-insert-function): Fix colon handling.
8523 (python-info-dedenter-opening-block-message): New function.
8524 (python-indent-line): Use it.
8525 (python-info-closing-block)
8526 (python-info-closing-block-message): Remove.
8527 (python-info-dedenter-opening-block-position)
8528 (python-info-dedenter-opening-block-positions)
8529 (python-info-dedenter-statement-p): New functions.
8530
8531 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8532
8533 * files.el (out-of-memory-warning-percentage): New defcustom.
8534 (warn-maybe-out-of-memory): Use it.
8535
8536 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8537
8538 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8539 when calling `read-string'. (Bug#17839)
8540
8541 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8542
8543 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8544 warning.
8545
8546 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8547
8548 * files.el (warn-maybe-out-of-memory): New function.
8549 (find-file-noselect): Use it.
8550
8551 2014-07-09 Sam Steingold <sds@gnu.org>
8552
8553 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8554 `constant' like `bless', `return' &c
8555
8556 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8559 next line.
8560
8561 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8564 the middle of a line (bug#17896).
8565
8566 2014-07-09 Juri Linkov <juri@jurta.org>
8567
8568 * startup.el (command-line): Append displaying the warning about
8569 the errors in the init file to the end of `after-init-hook'.
8570 (Bug#17927)
8571
8572 * faces.el (face-name): Return input arg `face' as-is
8573 when it's not a symbol.
8574 (x-resolve-font-name): Don't check if the face is a symbol.
8575 (Bug#17956)
8576
8577 * facemenu.el (list-colors-print): In help-echo format use %.2f
8578 instead of %d because now HSV values are floating-point components
8579 between 0.0 and 1.0.
8580
8581 2014-07-09 Glenn Morris <rgm@gnu.org>
8582
8583 * emulation/cua-rect.el (cua--activate-rectangle):
8584 Avoid setting cua--rectangle to nil. (Bug#17877)
8585
8586 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8587
8588 * calendar/todo-mode.el: Fix wrong-type-argument error when
8589 marking multiple consecutive items.
8590 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8591 end of the todo and done items sections. Note in doc string that
8592 items marked by passing a numeric prefix argument can include the
8593 last todo and first done items.
8594 (todo-mark-category): Don't try to mark the empty line between the
8595 todo and done items sections.
8596
8597 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8600 proper Lisp quoting (bug#17934).
8601
8602 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8603 require-final-newline since prog-mode already took care of it (bug#17947).
8604
8605 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8606
8607 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8608 refer to the Todo mode Info manual. Update the comment on
8609 requiring cl-lib.
8610 (todo-find-filtered-items-file): Add todo-prefix overlays.
8611 (todo-filter-items): Reorder a let-bound variable to avoid a
8612 wrong-type-argument error on canceling the file choice dialog.
8613
8614 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * progmodes/octave.el (inferior-octave-mode):
8617 Set comint-input-ring-size to a number (bug#17912).
8618
8619 2014-07-09 Juri Linkov <juri@jurta.org>
8620
8621 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8622 and `isearch-mode' associated with nil. (Bug#17849)
8623
8624 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * linum.el (linum--face-height): New function (bug#17813).
8627 (linum-update-window): Use it to adjust margin to linum's width.
8628
8629 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8630 * eshell/em-smart.el (eshell-smart-scroll-window):
8631 Use with-selected-window.
8632
8633 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8634 Remove also pointless window&mark manipulation.
8635
8636 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8637 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8638 (perl-continuation-line-p): Don't skip over anything else than labels.
8639 Return the previous char.
8640 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8641 and update callers accordingly. For continuation lines, check the
8642 the case of array hashes.
8643 (perl-backward-to-noncomment): Make it non-interactive.
8644 (perl-backward-to-start-of-continued-exp): Rewrite.
8645
8646 2014-07-08 Sam Steingold <sds@gnu.org>
8647
8648 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8649 New user commands.
8650
8651 2014-07-08 Juri Linkov <juri@jurta.org>
8652
8653 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8654 (vc-annotate-color-map): Use less saturated colors (20%) for
8655 background-mode.
8656 (vc-annotate-very-old-color): Add default value for background-mode.
8657 (vc-annotate-background): Set default value to nil since now text on
8658 the default backgrounds should be legible in light and dark modes.
8659 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8660 (Bug#17808)
8661
8662 2014-07-08 Juri Linkov <juri@jurta.org>
8663
8664 * simple.el (transpose-chars): Don't move point into read-only area.
8665 (Bug#17829)
8666
8667 2014-07-08 Juri Linkov <juri@jurta.org>
8668
8669 * window.el (with-displayed-buffer-window): New macro.
8670 (with-temp-buffer-window, with-current-buffer-window):
8671 Use `macroexp-let2' to evaluate and bind variables
8672 in the same order as macro arguments.
8673 (display-buffer--action-function-custom-type):
8674 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8675
8676 * minibuffer.el (minibuffer-completion-help): Replace
8677 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8678 with actions that display *Completions* at-bottom when called
8679 from the minibuffer, or below-selected in a normal buffer.
8680 Associate `window-height' with `fit-window-to-buffer'.
8681 Let-bind `pop-up-windows' to nil.
8682
8683 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8684 instead of `with-current-buffer-window'. (Bug#17809)
8685
8686 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8687
8688 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8689 (hide-ifdef-env-backup): New variable.
8690 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8691 New customizable variables.
8692 (hif-clear-all-ifdef-defined): New defun.
8693 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8694 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8695 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8696 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8697 Fix bug to hide the correct #elif region(s).
8698 (hif-range-elif): New defun.
8699 (hif-recurse-level): New var.
8700 (hif-evaluate-region, hif-evaluate-macro): New defun.
8701 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8702 fully hidden.
8703 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8704 Better interaction.
8705
8706 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8707
8708 * net/dbus.el (dbus-peer-handler): New defun.
8709 (dbus-register-service): Register it. (Bug#17858)
8710 (dbus-managed-objects-handler): Fix docstring.
8711
8712 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8713
8714 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8715 (narrow-to-defun): New arg include-comments, defaulting to it
8716 (bug#16328).
8717
8718 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8721 different calling convention to rectangle--unhighlight-for-redisplay.
8722
8723 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8724
8725 * net/tramp.el (tramp-call-process): Handle error strings.
8726
8727 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8728
8729 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8730 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8731
8732 * net/trampver.el: Update release number.
8733
8734 2014-07-03 Juri Linkov <juri@jurta.org>
8735
8736 * desktop.el (desktop-save): Rename arg `auto-save' to
8737 `only-if-changed'. Doc fix. (Bug#17873)
8738
8739 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8740
8741 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8742 Use insert-for-yank (bug#17271).
8743
8744 2014-07-03 Leo Liu <sdl.web@gmail.com>
8745
8746 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8747 Support lexical-binding.
8748
8749 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * vc/log-edit.el (log-edit-goto-eoh): New function.
8752 (log-edit--match-first-line): Use it (bug#17861).
8753
8754 2014-07-03 Glenn Morris <rgm@gnu.org>
8755
8756 * vc/log-edit.el (log-edit-hook): Add missing :version.
8757
8758 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8759
8760 * progmodes/python.el (python-indent-post-self-insert-function):
8761 Enhancements to electric indentation behavior inside
8762 parens. (Bug#17658)
8763
8764 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8767 buffer-invisibility-spec (bug#17867).
8768
8769 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8770
8771 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8772 pass "-a".
8773
8774 2014-07-03 Glenn Morris <rgm@gnu.org>
8775
8776 * cus-edit.el (help):
8777 * finder.el (finder-known-keywords):
8778 * help.el (help-for-help-internal):
8779 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8780 (ediff-redraw-registry-buffer):
8781 * vc/ediff-ptch.el (ediff-patch-file-internal):
8782 Doc fixes re "online" help. (Bug#17803)
8783
8784 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8785 (idlwave-mode): Doc URL update.
8786
8787 2014-07-01 Juri Linkov <juri@jurta.org>
8788
8789 * man.el: Display man pages immediately and use process-filter
8790 to format them asynchronously.
8791 (Man-width): Doc fix.
8792 (man): Doc fix.
8793 (Man-start-calling): Use `with-selected-window' to get
8794 `frame-width' and `window-width'.
8795 (Man-getpage-in-background): Call `Man-notify-when-ready'
8796 immediately after creating a new buffer. Call `Man-mode' and set
8797 `mode-line-process' in the created buffer. Set process-filter to
8798 `Man-bgproc-filter' in start-process branch. In call-process branch
8799 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8800 Use `Man-start-calling' inside `with-current-buffer'.
8801 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8802 (Man-cleanup-manpage): Don't print messages.
8803 (Man-bgproc-filter): New function.
8804 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8805 user moved it during asynchronous formatting. Move calls of
8806 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8807 `Man-bgproc-filter'. Move the call of `Man-mode' to
8808 `Man-getpage-in-background'. Use `quit-restore-window'
8809 instead of `kill-buffer'. Use `message' instead of `error'
8810 because errors are caught by process sentinel.
8811 (Man-mode): Move calls of `Man-build-page-list',
8812 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8813 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8814
8815 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8816 for the message about the man page cleaned up.
8817
8818 2014-07-01 Mario Lang <mlang@delysid.org>
8819
8820 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8821 cosutomization option `gnutls-verify-error'.
8822
8823 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8826 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8827
8828 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8829 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8830 is suspended (bug#17857).
8831
8832 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8833
8834 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8835 Prefer utf-8 coding. (Bug#17859)
8836
8837 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8838
8839 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8840 for `reverse'.
8841
8842 2014-06-30 Glenn Morris <rgm@gnu.org>
8843
8844 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8845 (autoload-ensure-default-file): Maybe make existing output writable.
8846 * Makefile.in (AUTOGEN_VCS): Remove.
8847 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8848
8849 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8850
8851 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8852
8853 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8854
8855 New if-let, when-let, thread-first and thread-last macros.
8856
8857 * emacs-lisp/subr-x.el
8858 (internal--listify, internal--check-binding)
8859 (internal--build-binding-value-form, internal--build-binding)
8860 (internal--build-bindings): New functions.
8861 (internal--thread-argument, thread-first, thread-last)
8862 (if-let, when-let): New macros.
8863
8864 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8865
8866 * net/rcirc.el (rcirc-buffer-process): Restore previous
8867 behaviour. (Bug#17772)
8868
8869 2014-06-29 Alan Mackenzie <acm@muc.de>
8870
8871 Don't call c-parse-state when c++-template-syntax-table is active.
8872 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8873 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8874 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8875
8876 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8877
8878 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8879 account for file-wide setting of todo-top-priorities-overrides.
8880 Make code a bit cleaner.
8881
8882 2014-06-28 Glenn Morris <rgm@gnu.org>
8883
8884 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8885
8886 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8887
8888 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8889 category-wide setting of todo-top-priorities-overrides, check for
8890 a file-wide setting and fontify accordingly.
8891
8892 2014-06-28 Glenn Morris <rgm@gnu.org>
8893
8894 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8895
8896 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8899
8900 2014-06-28 K. Handa <handa@gnu.org>
8901
8902 Fix Bug#17739.
8903
8904 * composite.el: Setup composition-function-table for dotted circle.
8905 (compose-gstring-for-dotted-circle): New function.
8906
8907 * international/characters.el: Add category "^" to all
8908 non-spacing characters.
8909
8910 2014-06-28 Glenn Morris <rgm@gnu.org>
8911
8912 * Makefile.in (doit): Remove force rule.
8913 (custom-deps, finder-data, autoloads, update-subdirs)
8914 (compile-one-process): PHONY targets do not need force rules.
8915
8916 * Makefile.in (compile-main, compile, compile-always):
8917 No need to explicitly pass variables to ourself in recursive calls.
8918
8919 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8922
8923 2014-06-26 Glenn Morris <rgm@gnu.org>
8924
8925 * Makefile.in (update-authors): Update for moved authors.el.
8926
8927 2014-06-26 Leo Liu <sdl.web@gmail.com>
8928
8929 * skeleton.el (skeleton-end-hook): Default to nil and move the
8930 work to skeleton-insert. (Bug#17850)
8931
8932 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8933
8934 * calc/calc-alg.el (math-beforep):
8935 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8936 Simplify because string-lessp can accept symbols as args.
8937
8938 2014-06-26 Daiki Ueno <ueno@gnu.org>
8939
8940 * emacs-lisp/package.el (package--check-signature):
8941 If package-check-signature is allow-unsigned, don't signal error when
8942 we can't verify signature because of missing public key
8943 (bug#17625).
8944
8945 2014-06-26 Glenn Morris <rgm@gnu.org>
8946
8947 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8948 Remove outdated declaration.
8949
8950 * emacs-lisp/authors.el (authors-valid-file-names)
8951 (authors-renamed-files-alist): Additions.
8952
8953 2014-06-26 Leo Liu <sdl.web@gmail.com>
8954
8955 * textmodes/picture.el (picture-set-tab-stops):
8956 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8957 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8958
8959 * progmodes/asm-mode.el (asm-calculate-indentation):
8960 Use indent-next-tab-stop.
8961
8962 * indent.el (indent-accumulate-tab-stops): New function.
8963
8964 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8965
8966 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8967 (package-desc-status): Obey it.
8968
8969 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8970
8971 * calendar/todo-mode.el: Fix two bugs.
8972 (todo-insert-item--basic): If user cancels item insertion to
8973 another category before setting priority, show original category
8974 whether it is in the same or a different file.
8975 (todo-set-item-priority): After selecting category, instead of
8976 moving point to top, which extends an active region, restore it.
8977
8978 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 * help-fns.el (describe-function-1): Check file-name is a string before
8981 calling help-fns--autoloaded-p (bug#17564).
8982
8983 2014-06-26 Juri Linkov <juri@jurta.org>
8984
8985 * desktop.el (desktop-auto-save-enable)
8986 (desktop-auto-save-disable): New functions.
8987 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8988 (desktop-read): Disable the autosave before loading the desktop,
8989 and enable afterwards. (Bug#17351)
8990
8991 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 Fix some indentation problem with \; and pipes (bug#17842).
8994 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8995 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8996 New functions.
8997 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8998 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8999 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
9000
9001 2014-06-26 Glenn Morris <rgm@gnu.org>
9002
9003 * emacs-lisp/find-func.el (find-function-C-source-directory):
9004 Use file-accessible-directory-p.
9005
9006 * ps-samp.el: Make it slightly less awful.
9007 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
9008 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
9009 Only set local values.
9010 (ps-article-subject, ps-article-author): Use standard functions
9011 like mail-fetch-field.
9012 (ps-info-file, ps-info-node): Use match-string.
9013 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
9014 (ps-samp-ps-setup): ... new function.
9015
9016 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
9017 Optimize away code unneeded on any modern Emacs.
9018
9019 * emacs-lisp/authors.el: Move to ../admin.
9020
9021 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
9022
9023 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
9024
9025 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
9026 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
9027 performance enhancements.
9028 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
9029 expansion.
9030 (hif-factor, hif-string-concatenation, intern-safe): Support string
9031 concatenation and argumented macro expansion.
9032 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
9033 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
9034 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
9035 (hif-canonicalize-tokens, hif-place-macro-invocation)
9036 (hif-parse-macro-arglist): Mostly new functions for supporting
9037 argumented macro expansion.
9038 (hif-string-concatenation, hif-stringify, hif-token-concat)
9039 (hif-token-stringification, hif-token-concatenation):
9040 Stringification and concatenation.
9041 (hif-find-next-relevant): Fix comments.
9042 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
9043 some cases involving #elif.
9044 (hif-find-define, hif-add-new-defines): New functions for automatically
9045 scanning of defined symbols.
9046 (hide-ifdef-guts): Fix for defined symbol auto scanning.
9047 (hide-ifdef-undef): Fix behavior to match CPP.
9048
9049 2014-06-25 Glenn Morris <rgm@gnu.org>
9050
9051 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
9052 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
9053 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
9054 files. They are not relevant to the original issue (bug#1004),
9055 and cause unnecessary recompilation (bug#2151).
9056
9057 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * play/landmark.el: Use lexical-binding and avoid `intangible'.
9060 (landmark--last-pos): New var.
9061 (landmark--intangible-chars): New const.
9062 (landmark--intangible): New function.
9063 (landmark-mode, landmark-move): Use it.
9064 (landmark-mode): Remove properties.
9065 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
9066 (landmark-cross-qtuple):
9067 Don't worry about `intangible' any more.
9068 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
9069 (landmark-init-display): Don't set `intangible' and `point-entered'.
9070 (square): Remove. Inline it instead.
9071 (landmark--distance): Rename from `distance'.
9072 (landmark-calc-distance-of-robot-from): Rename from
9073 calc-distance-of-robot-from.
9074 (landmark-calc-smell-internal): Rename from calc-smell-internal.
9075
9076 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
9077
9078 * files.el (dir-locals-find-file, file-relative-name):
9079 * info.el (Info-complete-menu-item):
9080 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
9081 to compare-strings to avoid out-of-range errors.
9082 * subr.el (string-prefix-p): Adjust to match strict range
9083 checking in compare-strings.
9084
9085 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
9086
9087 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
9088 for comment lines non-greedy and stopping at newlines to fix stack
9089 overflows with large files.
9090
9091 2014-06-24 Eli Barzilay <eli@barzilay.org>
9092
9093 * calculator.el (calculator-last-input): Drop 'ascii-character property
9094 lookup.
9095
9096 2014-06-24 Leo Liu <sdl.web@gmail.com>
9097
9098 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
9099 tab-stop-list to nil. (Bug#16381)
9100
9101 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
9102 (indent-rigidly-left-to-tab-stop)
9103 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
9104 (move-to-tab-stop): Change callers.
9105
9106 2014-06-24 Eli Zaretskii <eliz@gnu.org>
9107
9108 * skeleton.el (skeleton-insert): Yet another fix of the doc string
9109 wrt behavior of \n as the first/last element of a skeleton.
9110
9111 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
9112
9113 * net/tramp-adb.el (tramp-adb-handle-process-file):
9114 * net/tramp-sh.el (tramp-sh-handle-process-file):
9115 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
9116 the output buffer when DISPLAY is non-nil. (Bug#17815)
9117
9118 2014-06-24 Glenn Morris <rgm@gnu.org>
9119
9120 * play/landmark.el (landmark-move-down, landmark-move-up):
9121 Fix 2007-10-20 change - preserve horizontal position.
9122
9123 2014-06-23 Sam Steingold <sds@gnu.org>
9124
9125 * simple.el (kill-append): Remove undo boundary depending on ...
9126 (kill-append-merge-undo): New user option.
9127
9128 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * simple.el (handle-shift-selection, exchange-point-and-mark)
9131 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
9132 (transient-mark-mode): Use&set the global value.
9133 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
9134 * emulation/edt.el (edt-emulation-off): Save&restore the global
9135 transient-mark-mode setting.
9136 * obsolete/pc-select.el (pc-selection-mode): Use the
9137 transient-mark-mode function.
9138
9139 2014-06-23 Eli Zaretskii <eliz@gnu.org>
9140
9141 * international/fontset.el (script-representative-chars):
9142 Add representative characters for scripts added in Unicode 7.0.
9143 (otf-script-alist): Synchronize with the latest registry of OTF
9144 script tags.
9145
9146 * international/characters.el (char-script-table): Update for
9147 scripts added and codepoint ranges changed in Unicode 7.0.
9148
9149 2014-06-23 Eli Barzilay <eli@barzilay.org>
9150
9151 * calculator.el (calculator-standard-displayer): Fix bug in use of
9152 `calculator-groupize-number'.
9153 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
9154 `eval' code, so it works in v24.3.1 too.
9155 (calculator-last-input): Comment to clarify purpose.
9156
9157 2014-06-22 Mario Lang <mlang@delysid.org>
9158
9159 * textmodes/rst.el (rst-comment-region): From from -> from.
9160
9161 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
9162
9163 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
9164
9165 * electric.el (electric-layout-post-self-insert-function):
9166 * emacs-lisp/ert.el (ert--insert-infos):
9167 * obsolete/vi.el (vi-set-mark):
9168 * term.el (term-handle-scroll):
9169 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
9170 * wid-edit.el (widget-editable-list-value-create):
9171 Prefer point-marker to copy-marker of point.
9172
9173 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9174
9175 Fix completion retrieval parsing (bug#17209).
9176 * progmodes/python.el (python-mode):
9177 (python-util-strip-string): New function.
9178 (python-shell-completion-get-completions): Use it.
9179
9180 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9181
9182 * skeleton.el (skeleton-insert): Fix last change.
9183
9184 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9185
9186 Enhancements for outline integration (bug#17796).
9187 * progmodes/python.el (python-mode): Properly set
9188 outline-heading-end-regexp so that comments after colons for
9189 defuns are supported.
9190
9191 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9192
9193 * skeleton.el (skeleton-insert): Doc fix.
9194
9195 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9198 (smie-config-guess): Use smie-config-local so the rules are obeyed
9199 (bug#17818).
9200
9201 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9202 since it's already done inside the loop (bug#17819).
9203
9204 2014-06-21 Martin Rudalics <rudalics@gmx.at>
9205
9206 * mouse.el (mouse-drag-line): Re-remove code initially removed
9207 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9208 (Bug#17819).
9209
9210 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9213 align with the surrounding parent (bug#17721).
9214
9215 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9216
9217 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9218 locally to nil.
9219 (texinfo-insert-block, texinfo-insert-@end)
9220 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9221 local setting of skeleton-end-newline by adding an explicit \n to
9222 the skeletons where appropriate. (Bug#17801)
9223
9224 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9227 (smie-indent--hanging-p): Use it.
9228 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9229
9230 2014-06-21 Leo Liu <sdl.web@gmail.com>
9231
9232 * simple.el (read-quoted-char): Don't let help chars pop up help
9233 buffer. (Bug#16617)
9234
9235 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9238 for | (bug#17621).
9239
9240 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9241 Drop unknown events instead of burping.
9242
9243 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9244
9245 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9246 and later. (Bug#17790)
9247
9248 2014-06-21 Juri Linkov <juri@jurta.org>
9249
9250 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9251 to `soft'. (Bug#17554)
9252
9253 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9256 (bug#17737).
9257
9258 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9259
9260 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9261 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9262
9263 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9264
9265 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9266 `unread-command-events'.
9267
9268 2014-06-19 William Xu <william.xwl@gmail.com>
9269
9270 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9271 hex integer constants (bug#17807).
9272
9273 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * international/mule-util.el (truncate-string-ellipsis): New var.
9276 (truncate-string-to-width): Use it.
9277
9278 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9279
9280 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9281 (lisp-string-in-doc-position-p): New function, extracted from
9282 lisp-font-lock-syntactic-face-function.
9283 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9284
9285 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9286
9287 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9288
9289 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9292 (bubbles--game-over): Don't add `intangible' properties since they
9293 didn't work anyway.
9294
9295 2014-06-18 Juri Linkov <juri@jurta.org>
9296
9297 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9298 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9299 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9300 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9301 Add `min-colors 88' version with removed black/white foregrounds.
9302 (Bug#10181)
9303
9304 2014-06-18 Juri Linkov <juri@jurta.org>
9305
9306 * vc/diff-mode.el (diff-changed): Empty face definition to use
9307 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9308 (diff-context): Use darker color on light background and
9309 lighter color on dark background.
9310
9311 2014-06-18 Juri Linkov <juri@jurta.org>
9312
9313 * vc/diff-mode.el (diff-refine-changed): Rename from
9314 `diff-refine-change' for consistency with `diff-changed'.
9315 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9316
9317 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9318 `smerge-refined-change'.
9319 (smerge-refined-change): Add obsolete face alias.
9320
9321 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9322
9323 * rect.el (rectangle-preview): New custom.
9324 (rectangle): New group.
9325 (rectangle--pos-cols): Add `window' argument.
9326 (rectangle--string-preview-state, rectangle--string-preview-window):
9327 New vars.
9328 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9329 (rectangle--space-to, rectangle--string-preview): New functions.
9330 (string-rectangle): Use them.
9331 (rectangle--inhibit-region-highlight): New var.
9332 (rectangle--highlight-for-redisplay): Obey it. Make sure
9333 `apply-on-region' uses the point-crutches of the right window.
9334 Use :align-to rather than multiple spaces.
9335
9336 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9337
9338 * ruler-mode.el (ruler-mode-window-col)
9339 (ruler-mode-mouse-set-left-margin)
9340 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9341 from mouse position (Bug#17768).
9342
9343 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9344
9345 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9346 without varname or rhs causes crash.
9347 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9348 impossible to win endgame.
9349 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9350 rlogin is anymore.
9351 (dun-help): Bump version number; update contact info.
9352
9353 2014-06-15 Eli Barzilay <eli@barzilay.org>
9354
9355 * calculator.el (calculator-prompt, calculator-remove-zeros)
9356 (calculator-mode-hook, calculator-operators, calculator-stack)
9357 (calculator-mode): Tweak docstring.
9358 (calculator-user-operators): Tweak docstring, fix a bug in the last
9359 example.
9360 (calculator-displayer): `std' case has an optional boolean.
9361 (calculator-displayers): Use the new boolean to group in decimal mode.
9362 (calculator-mode-map, calculator, calculator-message)
9363 (calculator-op-arity, calculator-add-operators)
9364 (calculator-string-to-number, calculator-displayer-prev)
9365 (calculator-displayer-next, calculator-remove-zeros)
9366 (calculator-eng-display, calculator-number-to-string)
9367 (calculator-update-display, calculator-last-input)
9368 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9369 (calculator-exp, calculator-saved-move, calculator-clear)
9370 (calculator-copy, calculator-put-value, calculator-help)
9371 (calculator-expt, calculator-truncate): Minor code improvements.
9372 (calculator-need-3-lines): New function pulling out code from
9373 `calculator'.
9374 (calculator-get-display): Rename from `calculator-get-prompt', and
9375 improved.
9376 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9377 extended for all uses of it. All callers changed.
9378 (calculator-groupize-number): New utility for splitting a number into
9379 groups.
9380 (calculator-standard-displayer): Improve code, new optional argument to
9381 use comma-split groups, make second argument optional too to use with
9382 'left/'right inputs. All callers changed.
9383 (calculator-reduce-stack-once): New utility, doing the meat of what
9384 `calculator-reduce-stack' used to do, much improved (mostly using
9385 `pcase' for conciseness and clarity).
9386 (calculator-reduce-stack): Now doing just the reduction loop using
9387 `calculator-reduce-stack-once'.
9388 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9389 (calculator-last-input): Improve code, remove some old cruft.
9390 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9391 (calculator-integer-p): Remove.
9392 (calculator-fact): Improve code, make it work on non-integer values
9393 too (using truncated numbers).
9394
9395 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9396
9397 Sync with Tramp 2.2.10.
9398
9399 * net/tramp.el (tramp-methods): Tweak docstring.
9400 (tramp-handle-file-accessible-directory-p): Check for
9401 `file-readable-p' instead of `file-executable-p'.
9402 (tramp-check-cached-permissions):
9403 Use `tramp-compat-file-attributes'.
9404 (tramp-call-process): Add new argument VEC. Adapt callees in all
9405 tramp*.el files.
9406
9407 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9408 (tramp-adb-maybe-open-connection): Don't set
9409 `tramp-current-*' variables.
9410
9411 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9412 file properties of temporary buffers.
9413
9414 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9415
9416 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9417 (tramp-gvfs-handle-delete-file): Flush file
9418 properties, not directory properties.
9419 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9420 reading "unix::mode".
9421 (tramp-gvfs-handle-file-name-all-completions):
9422 Use "-h" option for "gvfs-ls".
9423 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9424 (tramp-gvfs-send-command): Simplify traces.
9425
9426 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9427 (vc-git-program, vc-hg-program): Declare.
9428 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9429 (tramp-methods) <nc>: Add new method.
9430 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9431 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9432 `tramp-login-args'.
9433 (tramp-default-user-alist): Add "nc".
9434 (top): Remove completion function for "sftp". Add completion
9435 functions for "nc" and "psftp".
9436 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9437 Implement support for "nc" method.
9438 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9439 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9440 Tweak docstring.
9441 (tramp-sh-handle-write-region): Tweak error message.
9442 (tramp-sh-handle-vc-registered): Remove backends when the remote
9443 binary does not exist.
9444 (tramp-find-inline-encoding): Do not raise an error.
9445 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9446 the "nc" case. Quote result also locally.
9447
9448 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9449 (tramp-smb-handle-set-file-acl): Use `start-process'.
9450 (tramp-smb-handle-insert-directory): Use progress reporter.
9451 (tramp-smb-handle-rename-file): Flush also file properties of
9452 FILENAME.
9453
9454 * net/trampver.el: Update release number.
9455
9456 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9459 add-to-list.
9460 (ses-localvars): Remove ses--local-printer-list, unused.
9461 (ses--metaprogramming): New macro. Use it to defvar variables.
9462 (ses-set-localvars): Simplify.
9463 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9464 property-list into an alist.
9465 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9466 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9467 Remove; use defstruct accessors/setters instead.
9468 (ses-cell-formula-aset, ses-cell-printer-aset)
9469 (ses-cell-references-aset): Remove, use setf instead.
9470 (ses--alist-get): New function.
9471 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9472 Use an alist instead of a plist and don't do move-to-front since the
9473 list is always short.
9474 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9475 (ses-cell-property-set-fun, ses-cell-property-set)
9476 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9477 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9478 (ses--letref): New macro.
9479 (ses-cell-property-pop): Rewrite.
9480 (ses--cell): Rename from ses-cell and make it into a function.
9481 Make `formula' fallback on `value' if nil.
9482 (ses--local-printer): Rename from ses-local-printer and make it into
9483 a function.
9484 (ses-set-cell): Turn it into a macro so finding the accessor from the
9485 field name is done at compile time.
9486 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9487 `ref' before adding `sym' to :ses-repair-reference.
9488 (ses-calculate-cell): Use ses--letref rather than
9489 ses-cell-property-get-handle.
9490 (ses-write-cells): Use a single prin1-to-string.
9491 (ses-setter-with-undo): New function.
9492 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9493 (ses-unset-with-undo): Remove.
9494 (ses-load): Prefer apply' over `eval'.
9495 (ses-read-printer, ses-set-column-width): Use standard "(default
9496 foo)" format.
9497
9498 2014-06-15 Glenn Morris <rgm@gnu.org>
9499
9500 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9501
9502 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9503 Replace delete-duplicates and mapcan by cl- versions throughout.
9504 And cl-macroexpand-all by macroexpand-all.
9505 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9506
9507 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9508
9509 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9510
9511 2014-06-15 Juri Linkov <juri@jurta.org>
9512
9513 * bindings.el: Put `ascii-character' property on keypad keys
9514 mapped to characters. (Bug#17759)
9515
9516 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9519 bumping forward into a closing paren (bug#17761).
9520
9521 * term/xterm.el (xterm--version-handler): Work around for OSX
9522 Terminal.app (bug#17607).
9523
9524 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9525
9526 * play/dunnet.el (dun-describe-room, dun-mode):
9527 If a lamp is in the room, you won't be eaten by a grue.
9528
9529 2014-06-13 Glenn Morris <rgm@gnu.org>
9530
9531 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9532 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9533 (compile-always): GNU make automatically passes
9534 command-line arguments to sub-makes.
9535
9536 * calendar/calendar.el (calendar-generate-window):
9537 Remove pointless call to font-lock-fontify-buffer.
9538
9539 2014-06-13 Matthias Meulien <orontee@gmail.com>
9540
9541 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9542 (bug#17767).
9543
9544 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * simple.el (set-mark-command): Simplify a bit.
9547
9548 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9549
9550 * help.el (help--key-binding-keymap): New function.
9551 (help--binding-locus): New function.
9552 (describe-key): Mention the keymap in which the binding was
9553 found. (bug#13948)
9554
9555 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * hippie-exp.el (he--all-buffers): New function.
9558 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9559 (try-expand-dabbrev-all-buffers): Use it.
9560
9561 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9562
9563 * hippie-exp.el (try-expand-line-all-buffers)
9564 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9565 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9566 original buffer, in case they're buffer-local.
9567
9568 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9569
9570 * ses.el (ses-initial-global-parameters-re): New defconst, a
9571 specific regexp is needed now that ses.el can handle both
9572 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9573 local printers.
9574 (ses-localvars): Add local variables needed for local printer handling.
9575 (ses-set-localvars): Handle hashmap initialization.
9576 (ses-paramlines-plist): Add param-line for number of local printers.
9577 (ses-paramfmt-plist): New defconst, needed for code factorization
9578 between functions `ses-set-parameter' and
9579 `ses-file-format-extend-paramter-list'
9580 (ses-make-local-printer-info): New defsubst.
9581 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9582 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9583 (ses-cell-printer-aset): New defmacro.
9584 (ses-local-printer-compile): New defun.
9585 (ses-local-printer): New defmacro.
9586 (ses-printer-validate, ses-call-printer): Add support for local
9587 printer functions.
9588 (ses-file-format-extend-paramter-list): New defun.
9589 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9590 factorization.
9591 (ses-load): Add support for local printer functions.
9592 (ses-read-printer): Update docstring and add support for local printer
9593 functions.
9594 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9595 (ses-safe-printer): Add support for local printer functions.
9596
9597 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9598
9599 * ffap.el (ffap-lax-url): New var (bug#17723).
9600 (ffap-url-at-point): Use it.
9601 (ffap-file-at-point): Avoid returning just "/".
9602
9603 2014-06-12 Matthias Meulien <orontee@gmail.com>
9604
9605 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9606 (python-mode-map): Bind it.
9607
9608 * progmodes/python.el (class skeleton): Don't erase last char of class
9609 name (bug#17683).
9610
9611 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9612
9613 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9614
9615 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9616
9617 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9618 (bug#17745).
9619
9620 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9621
9622 * international/mule-cmds.el: Use lexical-binding.
9623 (ucs-names): Simplify.
9624
9625 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9626
9627 * progmodes/python.el (run-python): Use read-shell-command.
9628
9629 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9630
9631 * rect.el: Make it possible to move bounds past EOL or into TABs.
9632 (operate-on-rectangle): Use apply-on-rectangle.
9633 (rectangle--mark-crutches): New var.
9634 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9635 (rectangle--crutches, rectangle--reset-crutches): New functions.
9636 (apply-on-rectangle): Obey crutches. Avoid setq.
9637 Fix missing final iteration if end is at EOB&BOL.
9638 (rectangle-mark-mode-map): Add remap bindings for
9639 exchange-point-and-mark and char/line movements.
9640 (rectangle--*-char): New function.
9641 (rectangle-exchange-point-and-mark, rectangle-right-char)
9642 (rectangle-left-char, rectangle-forward-char)
9643 (rectangle-backward-char, rectangle-next-line)
9644 (rectangle-previous-line): New commands.
9645 (rectangle--place-cursor): New function.
9646 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9647
9648 2014-06-08 Glenn Morris <rgm@gnu.org>
9649
9650 * startup.el (initial-buffer-choice): Doc fix.
9651 Reset :version (adding an option does not merit a :version bump).
9652
9653 * bookmark.el (bookmark-load):
9654 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9655
9656 2014-06-08 Juri Linkov <juri@jurta.org>
9657
9658 * desktop.el: Activate auto-saving on window configuration changes.
9659 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9660 `desktop-auto-save-set-timer' to/from
9661 `window-configuration-change-hook'.
9662 (desktop-auto-save-set-timer): Change REPEAT arg of
9663 `run-with-idle-timer' from t to nil.
9664 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9665
9666 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9667
9668 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9669 vc-hg-command (bug#17570).
9670
9671 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9674 (bug#17702).
9675
9676 2014-06-08 Glenn Morris <rgm@gnu.org>
9677
9678 * startup.el (window-setup-hook): Doc fix.
9679
9680 * emacs-lisp/package.el (package-check-signature)
9681 (package-unsigned-archives): Doc fixes.
9682
9683 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9684
9685 * window.el (display-buffer-use-some-window): Don't make window
9686 used smaller than it was before (Bug#17671).
9687
9688 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9689
9690 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9691 'redisplay' instead of '(sit-for 0)'.
9692
9693 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9694
9695 * net/tramp.el (tramp-ssh-controlmaster-options):
9696 Improve search regexp. (Bug#17653)
9697
9698 2014-06-08 Glenn Morris <rgm@gnu.org>
9699
9700 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9701
9702 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9703
9704 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9705
9706 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9707
9708 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9709 (bug#17586).
9710
9711 * vc/vc-hg.el (vc-hg-log-graph): New var.
9712 (vc-hg-print-log): Use it.
9713 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9714 graph output (bug#17515).
9715
9716 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9717
9718 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9719 even happened elsewhere.
9720
9721 2014-06-06 Mario Lang <mlang@delysid.org>
9722
9723 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9724 `recenter' if `current-buffer' is equal to `window-buffer'.
9725
9726 2014-06-05 Leo Liu <sdl.web@gmail.com>
9727
9728 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9729
9730 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9731
9732 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9733 New function which calls a callback on portions of the buffer that are
9734 outside of ignored environments.
9735 (tildify-build-regexp): Remove function since it is now
9736 incorporated in `tildify-foreach-region-outside-env' where it is
9737 optimized and simplified by the use of `mapconcat'.
9738 (tildify-tildify): Return number of substitutions made so that…
9739 (tildify-count): …can be removed.
9740 (tildify-find-env): Accept a new PAIRS argument which was
9741 previously looked up in `tildify-ignored-environments-alist' each
9742 time the function was called. With this change, the lookup is
9743 performed only once in `tildify-foreach-region-outside-env'.
9744 (tildify-region): Greatly simplify the function since now most of
9745 the work is done by `tildify-foreach-region-outside-env'.
9746 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9747 and instead using or.
9748
9749 * textmodes/tildify.el (tildify-ignored-environments-alist):
9750 Optimize environments regexes
9751
9752 Each time beginning of an environment to ignore is found,
9753 `tildify-find-env' needs to identify regexp for the ending
9754 of the environment. This is done by trying all the opening
9755 regexes on matched text in a loop, so to speed that up, this
9756 loop should have fewer things to match, which can be done by
9757 using alternatives in the opening regexes.
9758
9759 Coincidentally, this should make matching of the opening
9760 regexp faster as well thanks to the use of `regexp-opt' and
9761 having common prefix pulled from many regexes.
9762
9763 * textmodes/tildify.el (tildify-string-alist)
9764 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9765 of supported modes since `xml-mode' is no longer a thing but just
9766 an alias to the former. Also include comments and insides of tags
9767 in `tildify-ignored-environments-alist' for XML modes. Finally,
9768 since XML does not define “&nbsp;”[1], use a numeric reference for
9769 a no-break space (namely “&#160;”)
9770
9771 [1] XML specification defines only a handful of predefined entities.
9772 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9773 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9774 >, &, ' and " respectively). This is in contrast to HTML and even
9775 XHTML which defined a whole bunch of entities including “&nbsp;”.
9776
9777 * textmodes/tildify.el (tildify-pattern-alist)
9778 (tildify-string-alist, tildify-ignored-environments-alist):
9779 Improve defcustom's types by adding more tags explaining what each
9780 value means and replace “sexp” used in
9781 `tildify-ignored-environments-alist' with a full type declaration.
9782
9783 * textmodes/tildify.el (tildify-find-env): Fix matched group
9784 indexes in end-regex building
9785
9786 When looking for a start of an ignore-environment, the regex is built
9787 by concatenating regexes of all the environments configured in
9788 `tildify-ignored-environments-alist'. So for example, the following
9789 list could be used to match TeX's \verb and \verb* commands:
9790
9791 (("\\\\verb\\(.\\)" . (1))
9792 ("\\\\verb\\*\\(.\\)" . (1)))
9793
9794 This would result in the following regex being used to find the start
9795 of any of the variants of the \verb command:
9796
9797 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9798
9799 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9800 won't match anything, and thus (match-string 1) will be nil, which
9801 will cause building of the end-matching regex to fail.
9802
9803 Fix this by using capture groups from the time when the opening
9804 regexes are matched individually.
9805
9806 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9807 in `tildify-find-env'
9808
9809 The `tildify-ignored-environments-alist' allows the end-regex to
9810 be provided not as a static string but mix of strings and indexes
9811 of groups matched the begin-regex. For example, the “\verb!…!”
9812 TeX-command (where “!” is an arbitrary character) is handled
9813 using:
9814
9815 ("\\\\verb\\*?\\(.\\)" . (1))
9816
9817 In the same way, the following should be supported as well:
9818
9819 ("open-\\(.\\)" . ("end-" 1))
9820
9821 However the tildify-find-env function fails at
9822
9823 (concat result
9824 (if (stringp (setq aux (car expression)))
9825 expression ; BUG: expression is a list
9826 (regexp-quote (match-string aux))))
9827
9828 where the string part is handled incorrectly.
9829
9830 The most trivial fix would be to replace `expression' in the
9831 true-part of the if-statement with `aux', but instead, this commit
9832 optimizes `tildify-find-env' by changing it to use `mapconcat'
9833 rather than open-coded while-loop.
9834
9835 2014-06-05 Mario Lang <mlang@delysid.org>
9836
9837 * woman.el (woman-mapcan): Remove.
9838 (woman-parse-colon-path): Use cl-mapcan instead.
9839
9840 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9841
9842 * register.el: Add link to Emacs manual in Commentary.
9843
9844 2014-06-02 Sam Steingold <sds@gnu.org>
9845
9846 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9847 (popup-menu): ...here.
9848 (menu-bar-open): Use it to avoid an error when `lookup-key'
9849 returns a number.
9850
9851 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9852
9853 * net/tramp.el (tramp-call-process): Add traces.
9854 (tramp-handle-unhandled-file-name-directory): Return "/".
9855
9856 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9857
9858 Sync with upstream verilog-mode revision 3cd8144.
9859 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9860 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9861 (verilog-type-font-keywords): Add nor.
9862 (verilog-batch-execute-func): Force reading of Local Variables.
9863 Fix printing "no changes to be saved" with verilog-batch.
9864 (verilog-auto-arg-ports): Doc fix.
9865 Add verilog-auto-arg-format to support newlines in AUTOARG.
9866 (verilog-auto-arg): Doc fix.
9867
9868 2014-06-02 Glenn Morris <rgm@gnu.org>
9869
9870 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9871 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9872 * emulation/ws-mode.el: Move to obsolete/.
9873 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9874
9875 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9876
9877 * simple.el (keyboard-quit): Force update of mode lines, to remove
9878 the "Def" indicator, if we were defining a macro. (Bug#17615)
9879
9880 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * minibuffer.el (minibuffer-force-complete-and-exit):
9883 Obey minibuffer-default (bug#17545).
9884
9885 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9886 (bug#17619).
9887
9888 * subr.el (set-transient-map): Don't wait for some "nested"
9889 transient-map to finish if we're only supposed to be active for
9890 the next command (bug#17642).
9891
9892 2014-06-02 Leo Liu <sdl.web@gmail.com>
9893
9894 * emacs-lisp/gv.el (window-buffer, window-display-table)
9895 (window-dedicated-p, window-hscroll, window-point, window-start):
9896 Fix gv-expander. (Bug#17630)
9897
9898 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9901 clicks (bug#17633).
9902
9903 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9904 for the single comma, since ", " is *very* common in normal French text
9905 (bug#17643).
9906
9907 2014-06-02 Glenn Morris <rgm@gnu.org>
9908
9909 * emacs-lisp/package.el (package-check-signature)
9910 (package-unsigned-archives): Fix :version.
9911
9912 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * subr.el (sit-for): Don't run input-methods (bug#15614).
9915
9916 2014-06-02 Glenn Morris <rgm@gnu.org>
9917
9918 * cus-start.el: Fix some :version numbers.
9919
9920 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * simple.el (deactivate-mark): Set mark-active to nil even if
9923 deactivation is done via setting transient-mark-mode to nil,
9924 since one is buffer-local and the other is global.
9925
9926 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9927 there can't be more than 2 arguments (bug#17584).
9928
9929 2014-06-02 Glenn Morris <rgm@gnu.org>
9930
9931 * simple.el (filter-buffer-substring-functions)
9932 (filter-buffer-substring-function, buffer-substring-filters)
9933 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9934
9935 * minibuffer.el (completion-in-region-functions, completion-in-region)
9936 (completion--in-region): Doc fixes.
9937
9938 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9939 (expand-abbrev, abbrev--default-expand): Doc fixes.
9940
9941 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9942
9943 Include sources used to create macuvs.h.
9944 * international/README: Refer to the Unicode Terms of Use rather
9945 than copying it bodily here, as that simplifies maintenance.
9946
9947 2014-06-01 Glenn Morris <rgm@gnu.org>
9948
9949 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9950
9951 2014-05-31 Glenn Morris <rgm@gnu.org>
9952
9953 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9954
9955 2014-05-30 Glenn Morris <rgm@gnu.org>
9956
9957 * loadup.el: Treat `command-line-args' more flexibly.
9958
9959 2014-05-30 Alan Mackenzie <acm@muc.de>
9960
9961 Guard (looking-at "\\s!") from XEmacs.
9962 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9963
9964 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9965
9966 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9967 The argument COUNT is now optional, to be more backward-compatible.
9968 Doc fix. (Bug#17560)
9969
9970 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9971
9972 * whitespace.el (whitespace-report-region):
9973 Simplify documentation.
9974 (whitespace-report-region): Allow report-if-bogus to take the
9975 value `never', for non-interactive use.
9976 (whitespace-report): Refer to whitespace-report-region's
9977 documentation.
9978
9979 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9982 Side benefit: it works without jit-lock.
9983 (whitespace-point--used): New buffer-local var.
9984 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9985 (whitespace-color-off): Use font-lock-flush.
9986 (whitespace-point--used, whitespace-point--flush-used): New functions.
9987 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9988 (whitespace-empty-at-eob-regexp): Use them.
9989 (whitespace-post-command-hook): Rewrite.
9990
9991 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9992 (font-lock-fontify-buffer): Mark interactive-only.
9993 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9994 Make buffer-local.
9995 (font-lock-specified-p): Remove redundant boundp check.
9996 (font-lock-flush-function, font-lock-ensure-function): New vars.
9997 (font-lock-turn-on-thing-lock): Set them.
9998 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9999 (font-lock-after-change-function): Make `old-len' optional.
10000 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
10001 Call font-lock-flush, just in case.
10002 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
10003 recent Emacsen.
10004 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
10005 (vera-mode-map, vera-mode-menu): Remove bindings to it.
10006 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
10007 and with-syntax-table.
10008 * textmodes/conf-mode.el (conf-quote-normal):
10009 * progmodes/sh-script.el (sh-set-shell):
10010 * progmodes/prog-mode.el (prettify-symbols-mode):
10011 * progmodes/f90.el (f90-font-lock-n):
10012 * progmodes/cwarn.el (cwarn-mode):
10013 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
10014 * progmodes/compile.el (compilation-setup, compilation--unsetup):
10015 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
10016 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
10017 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
10018 font-lock-fontify-buffer-function and
10019 font-lock-unfontify-buffer-function.
10020 (rmail-unfontify-buffer-function, rmail-fontify-message):
10021 Use with-silent-modifications.
10022 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
10023 and font-lock-ensure.
10024 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
10025
10026 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
10027
10028 * emacs-lisp/package.el (package-generate-autoloads):
10029 Inhibit backup files.
10030
10031 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
10034 (bug#17608).
10035
10036 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
10037
10038 * textmodes/tildify.el (tildify-buffer, tildify-region):
10039 Add dont-ask option.
10040
10041 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
10044 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
10045
10046 * subr.el (internal--funcall-interactively): New.
10047 (internal--call-interactively): Remove.
10048 (called-interactively-p): Detect funcall-interactively instead of
10049 call-interactively.
10050 * simple.el (repeat-complex-command): Use funcall-interactively.
10051 (repeat-complex-command--called-interactively-skip): Remove.
10052
10053 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * register.el (register-read-with-preview): Don't burp on
10056 frame switches (e.g. due to the frame we just popped).
10057
10058 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
10059 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
10060
10061 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
10062
10063 * cus-face.el (custom-face-attributes): Add :distant-foreground.
10064
10065 2014-05-26 Martin Rudalics <rudalics@gmx.at>
10066
10067 * window.el (window--dump-frame): Remove interactive specification.
10068
10069 2014-05-26 Glenn Morris <rgm@gnu.org>
10070
10071 * hippie-exp.el (he-line-search-regexp):
10072 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
10073
10074 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10075
10076 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
10077 to avoid errors when trying to create or visit a file foo.todo
10078 located outside to todo-directory, and to allow having such files
10079 without them being tied to Todo mode (bug#17482).
10080 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
10081 (todo-archive-done-item, todo-find-filtered-items-file)
10082 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
10083 (todo-category-completions, todo-read-category): When visiting a
10084 Todo file, make sure we're in the right mode and the buffer local
10085 variables are set.
10086 (todo-make-categories-list, todo-reset-nondiary-marker)
10087 (todo-reset-done-string, todo-reset-comment-string):
10088 After processing all Todo files, kill the buffers of those files that
10089 weren't being visited before the processing.
10090 (todo-display-as-todo-file, todo-add-to-buffer-list)
10091 (todo-visit-files-commands): Comment out.
10092 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
10093 (auto-mode-alist): Remove add-to-list calls making Todo file
10094 extensions unrestrictedly tied to Todo modes.
10095
10096 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
10099 (advice-function-member-p): Tell it to check both names and functions
10100 (bug#17531).
10101 (advice--add-function): Adjust call accordingly.
10102
10103 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10104
10105 * calendar/todo-mode.el: Miscellaneous bug fixes.
10106 (todo-delete-file): When deleting an archive but not its todo
10107 file, make sure to update the todo file's category sexp.
10108 (todo-move-category): Keep the moved category's name unless the
10109 file moved to already has a category with that name. If the
10110 numerically last category of the source file was moved, make the
10111 first category current to avoid selecting a nonexisting category.
10112 (todo-merge-category): Fix implementation to make merging to a
10113 category in another file work as documented. Eliminate now
10114 insufficient and unnecessary renaming of archive category, correct
10115 document string accordingly, and clarify it. If the numerically
10116 last category of the source file was merged, make the first
10117 category current to avoid selecting a nonexisting category.
10118 (todo-archive-done-item): When there are marked items and point
10119 happens to be on an unmarked item, ignore the latter. Don't leave
10120 point below last item after archiving marked items.
10121 (todo-unarchive-items): Fix logic to ensure unarchiving an item
10122 from an archive with only one category deletes the archive only
10123 when the category is empty after unarchiving. Make sure the todo
10124 file's category sexp is updated.
10125 (todo-read-file-name): Allow an existing file name even when it is
10126 not required (todo-move-category needs this to work as documented).
10127 (todo-add-file): Call todo-validate-name to reject the name of an
10128 existing todo file (needed due to fix in todo-read-file-name).
10129 (todo-reset-nondiary-marker): Also reset in filtered items files.
10130 (todo-reset-done-string, todo-reset-comment-string): Also reset in
10131 regexp filtered items files.
10132 (todo-reset-highlight-item): Also reset in filtered items files.
10133 Fix incorrect variable reference in document string.
10134
10135 2014-05-26 Glenn Morris <rgm@gnu.org>
10136
10137 * window.el (window--dump-frame): Avoid error in --without-x builds.
10138
10139 2014-05-26 Glenn Morris <rgm@gnu.org>
10140
10141 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
10142
10143 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10144
10145 * frame.el (set-frame-font): Doc fix.
10146
10147 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
10148
10149 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
10150
10151 * emacs-lisp/package.el (package--download-one-archive):
10152 Use `write-region' instead of `save-buffer' to avoid running various
10153 hooks. (Bug#17155)
10154 (describe-package-1): Same. Insert newline at the end of the
10155 buffer if appropriate.
10156
10157 2014-05-26 Juri Linkov <juri@jurta.org>
10158
10159 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
10160 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
10161 Add more modifiers: meta, control, shift, hyper, super, alt.
10162 (Bug#17439)
10163
10164 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
10165 to allow changing its value with `set-variable'.
10166
10167 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10168
10169 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
10170 #; comments.
10171 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
10172 New functions.
10173 (scheme-mode-variables): Set syntax-propertize-function instead of
10174 font-lock-syntactic-face-function.
10175 (scheme-font-lock-syntactic-face-function): Delete.
10176
10177 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
10178
10179 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
10180 (bug#17392).
10181
10182 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10183
10184 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
10185 for a temporary file name.
10186
10187 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10188
10189 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
10190
10191 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10192
10193 * net/dbus.el (dbus-init-bus, dbus-call-method)
10194 (dbus-call-method-asynchronously, dbus-send-signal)
10195 (dbus-method-return-internal, dbus-method-error-internal):
10196 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
10197
10198 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10199
10200 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10201 methods which do not have a doc string. (Bug#17490)
10202
10203 2014-05-25 Tassilo Horn <tsdh@gnu.org>
10204
10205 * textmodes/reftex-ref.el (reftex-format-special): Make it work
10206 also for AMS Math's \eqref macro.
10207
10208 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10209
10210 Arrange to never byte-compile the generated -pkg.el file.
10211
10212 * emacs-lisp/package.el (package-generate-description-file):
10213 Output first-line comment to set buffer-local var `no-byte-compile'.
10214 Suggested by Dmitry Gutov:
10215 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10216
10217 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10218
10219 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10220
10221 * emacs-lisp/package.el (package-generate-description-file):
10222 Inline `package--alist-to-plist'; rewrite to selectively
10223 quote alist values that are not self-quoting.
10224 (package--alist-to-plist): Delete func.
10225
10226 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10227
10228 * term/xterm.el (xterm-function-map): Add mapping for shifted
10229 keypad keys.
10230
10231 2014-05-24 Daniel Colascione <dancol@dancol.org>
10232
10233 * progmodes/subword.el (subword-find-word-boundary): Move point to
10234 correct spot before search. (Bug#17580)
10235
10236 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10237 breaking the build.
10238
10239 2014-05-24 Leo Liu <sdl.web@gmail.com>
10240
10241 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10242
10243 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * minibuffer.el (completion--sreverse): Remove.
10246 (completion--common-suffix): Use `reverse' instead.
10247 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10248
10249 2014-05-22 Glenn Morris <rgm@gnu.org>
10250
10251 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10252
10253 2014-05-21 Daniel Colascione <dancol@dancol.org>
10254
10255 * files.el (interpreter-mode-alist): Add mksh.
10256
10257 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10258 derivative.
10259 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10260 mksh. Improve custom spec; allow regular expressions.
10261 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10262 (sh-after-hack-local-variables): New function.
10263 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10264 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10265 the normalization.
10266 (sh-canonicalize-shell): Rewrite to support regexes.
10267
10268 2014-05-21 Leo Liu <sdl.web@gmail.com>
10269
10270 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10271
10272 2014-05-19 Leo Liu <sdl.web@gmail.com>
10273
10274 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10275
10276 2014-05-18 Glenn Morris <rgm@gnu.org>
10277
10278 * loadup.el:
10279 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10280
10281 2014-05-14 Sam Steingold <sds@gnu.org>
10282
10283 * progmodes/python.el (python-shell-get-or-create-process):
10284 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10285 back unless requested.
10286
10287 2014-05-14 Glenn Morris <rgm@gnu.org>
10288
10289 * subr.el (with-file-modes): New macro.
10290 * printing.el (pr-save-file-modes): Make obsolete.
10291 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10292 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10293 Add with-file-modes.
10294 * doc-view.el (doc-view-make-safe-dir):
10295 * epg.el (epg--start):
10296 * files.el (locate-user-emacs-file, make-temp-file)
10297 (backup-buffer-copy, move-file-to-trash):
10298 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10299 * eshell/esh-util.el (eshell-with-private-file-modes)
10300 (eshell-make-private-directory):
10301 * net/browse-url.el (browse-url-mosaic):
10302 * obsolete/mailpost.el (post-mail-send-it):
10303 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10304 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10305 Use with-file-modes.
10306
10307 * vc/emerge.el (emerge-make-temp-file): Simplify.
10308
10309 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10310 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10313 suffix (bug#15419).
10314
10315 2014-05-14 Glenn Morris <rgm@gnu.org>
10316
10317 * vc/emerge.el (emerge-temp-file-prefix):
10318 Make pointless option obsolete.
10319 (emerge-temp-file-mode): Make non-functional option obsolete.
10320
10321 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10322
10323 * net/browse-url.el (browse-url):
10324 Use `unhandled-file-name-directory' when setting `default-directory',
10325 in order to circumvent stalled remote connections. (Bug#17425)
10326
10327 2014-05-14 Glenn Morris <rgm@gnu.org>
10328
10329 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10330 Optimize on Emacs, which has the relevant functions for ages.
10331
10332 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10335
10336 2014-05-12 Sam Steingold <sds@gnu.org>
10337
10338 * calendar/time-date.el (seconds-to-string): New function to
10339 pretty print time delay in seconds.
10340
10341 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * mpc.el (mpc-format): Trim Date to the year.
10344 (mpc-songs-hashcons): Shorten the Date field.
10345
10346 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10347 into autoloading just because of a silly indirection.
10348
10349 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10350
10351 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10352
10353 2014-05-12 Glenn Morris <rgm@gnu.org>
10354
10355 * emacs-lisp/find-gc.el: Move to ../admin.
10356
10357 * printing.el (pr-version):
10358 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10359
10360 * net/browse-url.el (browse-url-mosaic):
10361 Create /tmp/Mosaic.PID as a private file.
10362
10363 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10366 (advice--member-p): If name is given, only compare the name.
10367 (advice--remove-function): Don't stop at the first match.
10368 (advice--normalize-place): New function.
10369 (add-function, remove-function): Use it.
10370 (advice--add-function): Pass the name, if any, to
10371 advice--remove-function.
10372
10373 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10374
10375 * electric.el (electric-indent-post-self-insert-function): Don't use
10376 `pos' after modifying the buffer (bug#17449).
10377
10378 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10379
10380 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10381 Correct argument list to conform to todo-insert-item--basic.
10382
10383 2014-05-12 Glenn Morris <rgm@gnu.org>
10384
10385 * files.el (cd-absolute): Test if directory is accessible
10386 rather than executable. (Bug#17330)
10387
10388 * progmodes/compile.el (recompile):
10389 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10390
10391 * net/browse-url.el (browse-url-mosaic):
10392 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10393 This is CVE-2014-3423.
10394
10395 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * mouse.el: Use the normal toplevel loop while dragging.
10398 (mouse-set-point): Handle multi-clicks.
10399 (mouse-set-region): Handle multi-clicks for drags.
10400 (mouse-drag-region): Update call accordingly.
10401 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10402 Use the normal event loop instead of a local while/read-event loop.
10403 (global-map): Remove redundant bindings for double/triple-mouse-1.
10404 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10405 Generate synthetic down events when the protocol only sends up events.
10406 (xterm-mouse-last): Remove.
10407 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10408 terminal parameter instead.
10409 (xterm-mouse--set-click-count): New function.
10410 (xterm-mouse-event): Detect/generate double/triple clicks.
10411 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10412
10413 * info.el (Info-quoted): New face.
10414 (Info-mode-font-lock-keywords): New var.
10415 (Info-mode): Use it.
10416
10417 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10418 are a hindrance for C-x C-e.
10419
10420 2014-05-11 Leo Liu <sdl.web@gmail.com>
10421
10422 * net/rcirc.el (rcirc-sentinel): Fix last change.
10423
10424 2014-05-08 Sam Steingold <sds@gnu.org>
10425
10426 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10427 (rcirc-sentinel): Auto-reconnect to the server if
10428 `rcirc-reconnect-delay' is non-0 (but not more often than its
10429 value in case the host is off-line).
10430
10431 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10432
10433 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10434
10435 2014-05-09 Glenn Morris <rgm@gnu.org>
10436
10437 * files.el (file-expand-wildcards):
10438 * man.el (Man-support-local-filenames):
10439 * printing.el (pr-i-directory, pr-interface-directory):
10440 * progmodes/grep.el (lgrep, rgrep):
10441 * textmodes/ispell.el (ispell-call-process)
10442 (ispell-call-process-region, ispell-start-process)
10443 (ispell-init-process): Use file-accessible-directory-p.
10444
10445 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10448 (xterm-mouse--read-event-sequence-1000): Return nil if something
10449 looks fishy.
10450 (xterm-mouse-event): Propagate it.
10451 (xterm-mouse-translate-1): Handle it.
10452
10453 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10454
10455 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10456 four slots of the parameter list are filled, make sure to pass it
10457 to the argument list of todo-insert-item--basic.
10458
10459 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10462 Add optional `seen' argument to detect and break infinite loops.
10463
10464 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10465
10466 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10467 (trace-unsafe, trace-use-tree): Make parentheses style be
10468 according to Emacs style.
10469
10470 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10471
10472 * net/tramp-sh.el (tramp-remote-process-environment):
10473 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10474 Add :version entry.
10475 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10476 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10477 extra "PSx=..." commands.
10478 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10479 (Bug#17295)
10480
10481 (tramp-uudecode): Replace the hard-coded temporary file name by a
10482 format specifier.
10483 (tramp-remote-coding-commands): Enhance docstring.
10484 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10485 name. (Bug#17415)
10486 This is CVE-2014-3424.
10487
10488 2014-05-08 Glenn Morris <rgm@gnu.org>
10489
10490 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10491 (find-gc-source-files): Update some names.
10492 (trace-call-tree): Simplify and update.
10493 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10494 This is CVE-2014-3422.
10495
10496 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * minibuffer.el (completion--try-word-completion): Revert fix for
10499 Bug#15980 (bug#17375).
10500
10501 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10502 Always store button numbers in the same way in xterm-mouse-last;
10503 Don't burp is xterm-mouse-last is not set as expected.
10504 Never return negative indices.
10505
10506 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10507
10508 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10509 Backtrack one char if the global/char-literal var matcher hits
10510 inside a string. The next char could be the beginning of an
10511 expression expansion.
10512
10513 2014-05-08 Glenn Morris <rgm@gnu.org>
10514
10515 * help-fns.el (describe-function-1): Test for an autoload before a
10516 macro, since `macrop' works on autoloads. (Bug#17410)
10517
10518 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10519
10520 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10521
10522 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10523 Make sure the new point we return is within the new string (bug#17239).
10524
10525 2014-05-05 Daniel Colascione <dancol@dancol.org>
10526
10527 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10528 Port `gnu' pattern to rx.
10529
10530 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10531
10532 Remove unneeded prompt when closing a buffer with active
10533 emacsclient ("Buffer ... still has clients"), #16548.
10534 * server.el (server-start): Remove the only call to:
10535 (server-kill-buffer-query-function): Remove.
10536
10537 2014-05-04 Leo Liu <sdl.web@gmail.com>
10538
10539 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10540 Defvar to pacify compiler.
10541
10542 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10543
10544 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10545
10546 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10549 Use nil rather than `default' for the "default" appearance (bug#17388).
10550 * vc/ediff-util.el (ediff-inferior-compare-regions)
10551 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10552 a misleading `default' value when it's really a boolean.
10553 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10554 overlay is not visible.
10555
10556 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10557
10558 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10559 (todo-menu): Uncomment and update.
10560
10561 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10562
10563 * calendar/todo-mode.el: Reimplement item editing to have the same
10564 basic user interface as item insertion, and make small UI and
10565 larger internal improvements to the latter.
10566 (todo-insert-item): Add reference to the Todo mode user manual to
10567 the documentation string.
10568 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10569 adjust all callers. Change signature to combine diary and
10570 nonmarking arguments. Incorporate functionality of deleted item
10571 copying command and add error checking. Remove detailed
10572 descriptions of the arguments from the documentation string, since
10573 this is treated in the Todo mode user manual.
10574 (todo-copy-item, todo-edit-multiline-item)
10575 (todo-edit-done-item-comment, todo-edit-item-header)
10576 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10577 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10578 (todo-edit-item-date-year, todo-edit-item-date-month)
10579 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10580 Remove.
10581 (todo-edit-item): Reimplement as wrapper command for
10582 todo-edit-item--next-key and make it distinguish done and not done
10583 todo items.
10584 (todo-edit-item--text): New function, replacing old command
10585 todo-edit-item and incorporating deleted commands
10586 todo-edit-multiline-item and todo-edit-done-item-comment.
10587 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10588 Use only numeric value of prefix argument. Remove detailed
10589 descriptions of the arguments from the documentation string, since
10590 this is treated in the Todo mode user manual.
10591 (todo-edit-item--diary-inclusion): New function, replacing old
10592 command todo-edit-item-diary-inclusion and incorporating and fixing
10593 functionality of deleted command todo-edit-item-diary-nonmarking,
10594 making sure to remove todo-nondiary-marker when adding
10595 diary-nonmarking-symbol.
10596 (todo-edit-category-diary-inclusion): Make sure to delete
10597 diary-nonmarking-symbol when adding todo-nondiary-marker.
10598 (todo-edit-category-diary-nonmarking): Fix indentation.
10599 (todo-insert-item--parameters): Group diary and nonmarking
10600 parameters together.
10601 (todo-insert-item--apply-args): Adjust to signature of
10602 todo-insert-item--basic and incorporate copy parameter.
10603 Make small code improvements.
10604 (todo-insert-item--next-param): Improve prompt and adjust it to
10605 new parameter grouping. Remove obsolete code.
10606 (todo-edit-item--param-key-alist)
10607 (todo-edit-item--date-param-key-alist)
10608 (todo-edit-done-item--param-key-alist): New defconsts.
10609 (todo-edit-item--prompt): New variable.
10610 (todo-edit-item--next-key): New function.
10611 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10612 Remove bindings of deleted commands.
10613
10614 2014-05-04 Leo Liu <sdl.web@gmail.com>
10615
10616 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10617
10618 2014-05-04 Glenn Morris <rgm@gnu.org>
10619
10620 * allout-widgets.el (allout-widgets-tally)
10621 (allout-decorate-item-guides):
10622 * menu-bar.el (menu-bar-positive-p):
10623 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10624 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10625 * progmodes/js.el (js--inside-param-list-p)
10626 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10627 * progmodes/prolog.el (region-exists-p):
10628 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10629 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10630 Doc fixes (replace `iff').
10631
10632 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10635
10636 2014-05-04 Leo Liu <sdl.web@gmail.com>
10637
10638 Support Chinese diary entries in calendar and diary. (Bug#17393)
10639 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10640 (calendar-chinese-from-absolute-for-diary)
10641 (calendar-chinese-to-absolute-for-diary)
10642 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10643 (diary-chinese-list-entries): New functions to list and mark
10644 Chinese diary entries in the calendar window.
10645 (diary-chinese-anniversary)
10646 (diary-chinese-insert-anniversary-entry)
10647 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10648 (diary-chinese-insert-yearly-entry): New commands to insert
10649 Chinese diary entries.
10650
10651 * calendar/diary-lib.el (diary-font-lock-keywords):
10652 Support font-locking Chinese dates.
10653
10654 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10655 inserting Chinese diary entries.
10656
10657 * calendar/calendar.el (diary-chinese-entry-symbol):
10658 New customizable variable.
10659 (calendar-mode-map): Add bindings for inserting Chinese diary
10660 entries.
10661
10662 2014-05-03 Juri Linkov <juri@jurta.org>
10663
10664 * dired.el (dired-check-switches, dired-switches-recursive-p):
10665 New functions. (Bug#17218)
10666 (dired-switches-escape-p, dired-move-to-end-of-filename):
10667 Use `dired-check-switches'.
10668 (dired-insert-old-subdirs, dired-build-subdir-alist)
10669 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10670
10671 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10672
10673 * simple.el (undo-make-selective-list): New algorithm fixes
10674 incorrectness of position adjustments when undoing in region.
10675 (Bug#17235)
10676 (undo-elt-crosses-region): Make obsolete.
10677 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10678 New functions to adjust positions using undo-deltas.
10679
10680 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10683 the last consecutive closing paren (bug#17345).
10684
10685 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10686
10687 * dired.el (dired-mode): make terminology for eXpunge command
10688 consistent. (Bug#17276)
10689
10690 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10691
10692 * dired.el (dired-initial-position-hook, dired-initial-position):
10693 Doc string fixes.
10694
10695 2014-04-30 Glenn Morris <rgm@gnu.org>
10696
10697 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10698
10699 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10700
10701 * faces.el (face-spec-recalc): Apply X resources only after the
10702 defface spec has been applied. Thus, X resources are no longer
10703 overriden by the defface spec which also fixes issues on win32 where
10704 the toolbar coloring was wrong because it is set through X resources
10705 and was (wrongfully) overriden. (Bug#16694)
10706
10707 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * textmodes/rst.el (electric-pair-pairs): Declare.
10710 (rst-mode): Set it (bug#17131).
10711
10712 2014-04-30 Juri Linkov <juri@jurta.org>
10713
10714 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10715 and `print-level' to nil. (Bug#17351)
10716
10717 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10718
10719 * battery.el (battery-update): Handle the case where battery
10720 status is "N/A" (bug#17319).
10721
10722 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10723
10724 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10725 to syntax-propertize.
10726 (ps-mode-auto-indent): Mark as obsolete.
10727 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10728 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10729 word regexp operators.
10730 (ps-mode-map): Move initialization into declaration. Remove binding
10731 for TAB, RET, >, ], and }.
10732 (ps-mode-syntax-table): Move initialization into declaration.
10733 Don't give word syntax to non-word chars.
10734 (ps-run-mode-map): Move initialization into declaration.
10735 (ps-mode-menu-main): Remove auto-indent entry.
10736 (ps-mode-smie-rules): New function.
10737 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10738 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10739 (ps-mode--string-syntax-table): New const.
10740 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10741 New functions.
10742 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10743 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10744
10745 2014-04-27 Daniel Colascione <dancol@dancol.org>
10746
10747 * term/xterm.el (xterm-paste): Use large finite timeout when
10748 reading event to avoid putting keys in this-command-keys.
10749
10750 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10753 (perl-syntax-propertize-function): Use it. Extend handling of
10754 here-docs to the unquoted case.
10755
10756 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10757
10758 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10759 Use equal-including-properties to compare help-echo strings (bug#17331).
10760
10761 2014-04-25 Leo Liu <sdl.web@gmail.com>
10762
10763 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10764 Fix syntax for @. (Bug#17325)
10765
10766 2014-04-25 Daniel Colascione <dancol@dancol.org>
10767
10768 * emacs-lisp/cl.el (gv): Require gv early to break eager
10769 macro-expansion cycles.
10770
10771 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10772
10773 * simple.el (region-active-p): Check there's a mark (bug#17324).
10774
10775 * simple.el (completion-list-mode-map): Use choose-completion for the
10776 mouse binding as well (bug#17302).
10777 (completion-list-mode, completion-setup-function): Adjust docstring and
10778 echo area message accordingly.
10779 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10780 calling convention of choose-completion.
10781 * comint.el (comint-dynamic-list-completions):
10782 * term.el (term-dynamic-list-completions): Accept choose-completion.
10783
10784 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10785 &, |, +, - and * can't be a division (bug#17317).
10786
10787 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10788 features on gnome-terminal (bug#16988).
10789
10790 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10791
10792 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10793
10794 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10795 the declared object, ignore zero or more parens, not zero or one.
10796
10797 2014-04-24 Leo Liu <sdl.web@gmail.com>
10798
10799 * progmodes/xscheme.el (xscheme-expressions-ring)
10800 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10801 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10802 (xscheme-allow-output-p, xscheme-prompt)
10803 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10804
10805 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10806 Comment out unused functions.
10807
10808 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * info.el: Use lexical-binding and cl-lib.
10811 Use defvar-local and setq-local instead of make-local-variable.
10812 (Info-apropos-matches): Avoid add-to-list.
10813 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10814
10815 2014-04-24 Daniel Colascione <dancol@dancol.org>
10816
10817 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10818
10819 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10822
10823 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10824
10825 * dired.el (dired-insert-set-properties): Do not consider
10826 subdirectory headings and empty lines to be information that
10827 `dired-hide-details-mode' should hide. (Bug#17228)
10828
10829 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10830
10831 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10832 Remove test messages.
10833 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10834 and `target' twice.
10835
10836 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10839 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10840
10841 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10842
10843 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10844
10845 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10846 Set "IFS=" when using read builtin, in order to preserve spaces in
10847 the file name. Add test messages for hunting a bug on hydra.
10848 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10849
10850 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10853 Don't prettify a word within a symbol.
10854
10855 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10856
10857 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10858 possible.
10859
10860 2014-04-22 Daniel Colascione <dancol@dancol.org>
10861
10862 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10863 use defun to define `function-put'.
10864
10865 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10868 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10869 (lisp-mode-variables): Set font-lock-extra-managed-props.
10870
10871 * emacs-lisp/byte-run.el (function-put): New function.
10872 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10873 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10874 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10875 Use them.
10876
10877 2014-04-22 Daniel Colascione <dancol@dancol.org>
10878
10879 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10880 Add `full-p' parameter; when nil, call `macroexpand' instead of
10881 `macroexpand-all'.
10882
10883 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10884 Improve docstrings.
10885
10886 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10887 Use lambda function values, not quoted lambdas.
10888 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10889
10890 * emacs-lisp/cl-macs.el
10891 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10892 (cl-struct-slot-value): Conditionally use aref or nth so that the
10893 compiler produces optimal code.
10894
10895 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10898 (inline): Don't inline cl--set-elt.
10899 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10900 Define as inlinable instead.
10901 (cl-struct-set-slot-value): Remove.
10902
10903 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10904 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10905 Use setf instead.
10906
10907 2014-04-21 Daniel Colascione <dancol@dancol.org>
10908
10909 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10910 last two parameters after all.
10911 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10912 (cl--compiler-macro-assoc,cl-struct-slot-value)
10913 (cl-struct-set-slot-value): Stop using them.
10914
10915 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10918 entry in image-mode-winprops-alist.
10919
10920 2014-04-21 Daniel Colascione <dancol@dancol.org>
10921
10922 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10923 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10924 (byte-compile-toplevel-file-form): Use it.
10925
10926 * emacs-lisp/cl-macs.el:
10927 (cl--loop-let): Properly destructure `while' clauses.
10928
10929 2014-04-20 Daniel Colascione <dancol@dancol.org>
10930
10931 * vc/vc.el (vc-root-dir): New public autoloaded function for
10932 generically finding the current VC root.
10933 * vc/vc-hooks.el (vc-not-supported): New error.
10934 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10935
10936 2014-04-20 Daniel Colascione <dancol@dancol.org>
10937
10938 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10939 argument.
10940 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10941 argument in case we're inside a symbol-macrolet.
10942 (cl--do-arglist, cl--compiler-macro-typep)
10943 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10944 environment to `cl--const-expr-val'.
10945 (cl-struct-sequence-type,cl-struct-slot-info)
10946 (cl-struct-slot-offset, cl-struct-slot-value)
10947 (cl-struct-set-slot-value): New functions.
10948
10949 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10950
10951 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10952 assignments such as "case=hello" (bug#17297).
10953
10954 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10955
10956 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10957 Do not autoload.
10958 (tramp-file-name-handler, tramp-completion-file-name-handler):
10959 Revert patch from 2014-04-10, it isn't necessary anymore.
10960 (tramp-autoload-file-name-handler)
10961 (tramp-register-autoload-file-name-handlers): New defuns.
10962 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10963 (tramp-register-file-name-handlers): Remove also
10964 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10965 Do not autoload its invocation, but eval it after loading of 'tramp.
10966
10967 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10968
10969 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10970
10971 2014-04-17 Daniel Colascione <dancol@dancol.org>
10972
10973 Add support for bracketed paste mode; add infrastructure for
10974 managing terminal mode enabling and disabling automatically.
10975
10976 * xt-mouse.el:
10977 (xterm-mouse-mode): Simplify.
10978 (xterm-mouse-tracking-enable-sequence)
10979 (xterm-mouse-tracking-disable-sequence): New constants.
10980 (turn-on-xterm-mouse-tracking-on-terminal)
10981 (turn-off-xterm-mouse-tracking-on-terminal):
10982 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10983 parameters instead of random hooks.
10984 (turn-on-xterm-mouse-tracking)
10985 (turn-off-xterm-mouse-tracking): Delete.
10986
10987 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10988 (xterm-paste-ending-sequence): New constant.
10989 (xterm-paste): New command used for bracketed paste support.
10990
10991 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10992 (terminal-init-xterm-bracketed-paste-mode): New function.
10993 (terminal-init-xterm): Call it.
10994 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10995 and tty-mode-reset-strings instead of random hooks.
10996 (xterm-turn-on-modify-other-keys)
10997 (xterm-turn-off-modify-other-keys)
10998 (xterm-remove-modify-other-keys): Delete obsolete functions.
10999
11000 * term/screen.el: Rewrite to just use the xterm code.
11001 Add copyright notice. Mention tmux.
11002
11003 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
11004
11005 * image-mode.el (image-mode-window-put): Also update the property of
11006 the "default window".
11007 * doc-view.el (doc-view-new-window-function): If no window
11008 exists, move to the last known page.
11009
11010 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
11013 here-documents (bug#17262).
11014
11015 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11016
11017 * term/pc-win.el (x-list-fonts, x-get-selection-value):
11018 Provide doc strings, as required by snarf-documentation.
11019
11020 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
11023 arg of overlays-at. Use `invisible-p'.
11024
11025 * obsolete/lucid.el (extent-at):
11026 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
11027 overlays-at.
11028 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
11029
11030 2014-04-16 João Távora <joaotavora@gmail.com>
11031
11032 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
11033 links. (Bug#17217).
11034
11035 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11036
11037 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
11038 Use mapc to loop over a vector. (Bug#17257).
11039
11040 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
11041
11042 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
11043 patch, there are new problems with file names containing spaces.
11044 Get rid of backticks. (Bug#17238)
11045
11046 2014-04-16 João Távora <joaotavora@gmail.com>
11047
11048 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
11049 possible bug.
11050
11051 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11052
11053 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
11054 (blink-cursor-mode): Mention customization variables and the
11055 effect of 'blink-cursor-blinks'.
11056
11057 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
11058
11059 * simple.el (undo): Prevent insertion of identity mapping into
11060 undo-equiv-table so as undo-only does not inf loop in the presence
11061 of consecutive nils in undo list.
11062
11063 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
11064
11065 * faces.el (make-face): Deprecate optional argument as it is no
11066 longer needed/used since the conditional X resources handling
11067 has been pushed down to make-face-x-resource-internal itself.
11068 (make-empty-face): Don't pass optional argument to make-face.
11069
11070 2014-04-16 Karl Fogel <kfogel@red-bean.com>
11071
11072 * savehist.el (savehist-save): Remove workaround for a read-passwd
11073 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
11074 noticing that the shim was still present.
11075
11076 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
11079
11080 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
11081
11082 * faces.el (face-set-after-frame-default): Remove unused local variable.
11083
11084 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * progmodes/grep.el: Use lexical-binding.
11087 (grep-expand-template): Pass explicit lexical env to `eval'.
11088 (zrgrep): Let-bind grep-find-template explicitly.
11089
11090 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
11091 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
11092
11093 2014-04-12 Eli Zaretskii <eliz@gnu.org>
11094
11095 * international/characters.el <standard-case-table>: Add entries
11096 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
11097 Set category of Coptic characters be 'g' (Greek).
11098
11099 2014-04-12 Leo Liu <sdl.web@gmail.com>
11100
11101 * progmodes/octave.el (completion-table-with-cache):
11102 Define if not available.
11103 (octave-goto-function-definition, octave-sync-function-file-names)
11104 (octave-find-definition-default-filename):
11105 Backquote upattern for compatibility.
11106
11107 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
11108
11109 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
11110 name twice due to backticks. (Bug#17238)
11111
11112 2014-04-12 Glenn Morris <rgm@gnu.org>
11113
11114 * term/w32-win.el (x-win-suspend-error):
11115 * term/x-win.el (x-win-suspend-error): Sync docs.
11116
11117 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
11118
11119 * faces.el (make-face): Remove deprecated optional argument.
11120 The conditional application of X resources is handled directly by
11121 make-face-x-resource-internal since Emacs 24.4.
11122 (make-empty-face): Don't pass optional argument to make-face.
11123
11124 2014-04-11 Glenn Morris <rgm@gnu.org>
11125
11126 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
11127
11128 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 Ediff's overlay priorities cause more trouble than they solve.
11131 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
11132 (ediff-highest-priority): Remove function (bug#17234).
11133 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
11134 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
11135 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
11136 overlay priorities.
11137
11138 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
11139
11140 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
11141 entry; use symbol boundaries to avoid mis-matches.
11142
11143 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
11144
11145 * net/tramp.el (tramp-file-name-handler)
11146 (tramp-completion-file-name-handler): Avoid recursive loading.
11147
11148 * net/tramp-sh.el (tramp-make-copy-program-file-name):
11149 Quote result also locally.
11150
11151 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11152
11153 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
11154 Remove left-over code.
11155
11156 * newcomment.el (comment-indent-new-line): Sink code where it's used.
11157 Reuse the previous comment's indentation unconditionally if it's on its
11158 own line.
11159
11160 2014-04-09 Daniel Colascione <dancol@dancol.org>
11161
11162 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
11163 `no-syntax-crossing' arguments. Forward to `up-list'.
11164 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
11165 Implement logic for escaping from strings. Use narrowing to deal
11166 with corner cases.
11167
11168 2014-04-09 Leo Liu <sdl.web@gmail.com>
11169
11170 * net/rcirc.el (rcirc-connection-info): New variable.
11171 (rcirc-connect): Use it to store connection info.
11172 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
11173 for killed process.
11174 (rcirc-cmd-reconnect): New command. (Bug#17045)
11175 (rcirc-mode, set-rcirc-encode-coding-system)
11176 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
11177
11178 2014-04-09 Daniel Colascione <dancol@dancol.org>
11179
11180 * emacs-lisp/cl-indent.el: Add comment claiming
11181 facility is also good for elisp.
11182 (lisp-indent-find-method): New function.
11183 (common-lisp-indent-function): Recognize cl-loop.
11184 (common-lisp-indent-function-1): Recognize cl constructs; use
11185 `lisp-indent-find-method' instead of `get' directly.
11186 (if): Use else-body style for elisp.
11187
11188 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
11189
11190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11191 Module methods. (Bug#17216)
11192
11193 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * help.el (describe-bindings): Fix buffer handling (bug#17210).
11196 (describe-bindings-internal): Mark obsolete.
11197
11198 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11201 buffer-file-name, and buffer-file-truename any more.
11202
11203 2014-04-08 Leo Liu <sdl.web@gmail.com>
11204
11205 Use lexical-binding and require cl-lib.
11206 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11207 (rcirc-handler-generic, rcirc-fill-paragraph)
11208 (rcirc-format-response-string, rcirc-target-buffer)
11209 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11210 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11211 (rcirc-ctcp-sender-PING, rcirc-browse-url)
11212 (rcirc-markup-timestamp, rcirc-markup-attributes)
11213 (rcirc-markup-my-nick, rcirc-markup-urls)
11214 (rcirc-markup-bright-nicks, rcirc-markup-fill)
11215 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11216 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11217 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11218 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11219 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11220 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11221 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11222 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11223 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11224 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11225 use cl-lib.
11226
11227 2014-04-07 João Távora <joaotavora@gmail.com>
11228
11229 * elec-pair.el (electric-pair--syntax-ppss):
11230 When inside comments parse from comment beginning.
11231 (electric-pair--balance-info): Fix typo in comment.
11232 (electric-pair--in-unterminated-string-p): Delete.
11233 (electric-pair--unbalanced-strings-p): New function.
11234 (electric-pair-string-bound-function): New var.
11235 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11236 according to `electric-pair--in-unterminated-string-p'
11237
11238 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11239 Inhibit quote pairing if point-max is inside an unterminated string.
11240 (electric-pair--looking-at-unterminated-string-p): Delete.
11241 (electric-pair--in-unterminated-string-p): New function.
11242
11243 2014-04-07 Glenn Morris <rgm@gnu.org>
11244
11245 * shell.el (shell-directory-tracker):
11246 Go back to just ignoring failures. (Bug#17159)
11247
11248 2014-04-07 João Távora <joaotavora@gmail.com>
11249
11250 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11251 backspace. (Bug#16981)
11252 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11253 (electric-pair-backward-delete-char-untabify): Delete.
11254 (electric-pair-mode-map): Bind backspace to a menu item filtering
11255 a new `electric-pair-delete-pair' command.
11256 (electric-pair-delete-pair): New command.
11257
11258 * progmodes/python.el (python-electric-pair-string-delimiter):
11259 Fix triple-quoting electricity. (Bug#17192)
11260
11261 * elec-pair.el (electric-pair-post-self-insert-function):
11262 Don't skip whitespace when `electric-pair-text-pairs' and
11263 `electric-pair-pairs' were used. syntax to
11264 electric-pair--skip-whitespace. (Bug#17183)
11265
11266 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11267
11268 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11269 "<F>". (Bug#17199)
11270
11271 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11272
11273 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11274 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11275
11276 2014-04-07 Glenn Morris <rgm@gnu.org>
11277
11278 * help.el (view-lossage): Doc tweak.
11279
11280 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11281
11282 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11283 only when inhibit-x-resources is nil, and do that earlier in the
11284 function. Doc fix. (Bug#16694)
11285 (face-spec-choose): Accept additional optional argument, whose
11286 value is returned if no matching attributes are found.
11287 (face-spec-recalc): Use the new optional argument when calling
11288 face-spec-choose. (Bug#16378)
11289 (make-face-x-resource-internal): Do nothing when
11290 inhibit-x-resources is non-nil. Don't touch the default face if
11291 reversed video is given--as was done in previous versions of Emacs.
11292 (face-set-after-frame-default): Don't call
11293 make-face-x-resource-internal here. (Bug#16434)
11294
11295 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11296
11297 * doc-view.el (doc-view-bookmark-jump):
11298 Use `bookmark-after-jump-hook' to jump to the right page after the
11299 buffer is shown in a window. (bug#16090)
11300
11301 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11302
11303 * international/characters.el (mirroring): Fix last change:
11304 instead of loading uni-mirrored.el explicitly, do that implicitly
11305 by creating the 'mirroring' uniprop table. This avoids announcing
11306 the loading of uni-mirrored.el.
11307
11308 2014-04-07 Glenn Morris <rgm@gnu.org>
11309
11310 * files.el (buffer-stale--default-function)
11311 (buffer-stale-function, revert-buffer--default):
11312 * autorevert.el (auto-revert-buffers): Doc tweaks.
11313
11314 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11315
11316 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11317
11318 2014-04-07 Glenn Morris <rgm@gnu.org>
11319
11320 * files.el (make-backup-file-name-function)
11321 (make-backup-file-name, make-backup-file-name--default-function)
11322 (make-backup-file-name-1, find-backup-file-name)
11323 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11324 (buffer-stale--default-function, buffer-stale-function)
11325 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11326 (revert-buffer, revert-buffer--default)
11327 (revert-buffer-insert-file-contents--default-function):
11328 Doc fixes related to defaults no longer being nil.
11329 (make-backup-file-name-function): Bump :version.
11330 Restore nil as a valid but deprecated custom type.
11331
11332 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11335 Handle $' used as a variable (bug#17174).
11336
11337 * progmodes/perl-mode.el (perl-indent-new-calculate):
11338 Handle forward-sexp failure (bug#16985).
11339 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11340 modifiers introducing expressions (bug#17116).
11341
11342 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11345
11346 2014-04-05 Leo Liu <sdl.web@gmail.com>
11347
11348 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11349 Add define-compilation-mode.
11350
11351 2014-04-04 João Távora <joaotavora@gmail.com>
11352
11353 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11354 parse from comment beginning.
11355 (electric-pair--balance-info): Fix typo in comment.
11356 (electric-pair--in-unterminated-string-p): Delete.
11357 (electric-pair--unbalanced-strings-p): New function.
11358 (electric-pair-string-bound-function): New var.
11359 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11360 according to `electric-pair--in-unterminated-string-p'.
11361
11362 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11363
11364 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11365 Move declaration before first use.
11366 (reftex-move-to-next-arg): Silence compiler warning.
11367
11368 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11369
11370 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11371 Use `window-total-width' instead of `window-width'.
11372
11373 2014-04-03 Daniel Colascione <dancol@dancol.org>
11374
11375 * subr.el (set-transient-map): Remove rms's workaround entirely;
11376 use new `suspicious-object' subr to mark our lambda for closer
11377 scrutiny during gc.
11378
11379 2014-04-02 Richard Stallman <rms@gnu.org>
11380
11381 * subr.el (set-transient-map): Comment out previous change.
11382
11383 2014-04-02 Glenn Morris <rgm@gnu.org>
11384
11385 * menu-bar.el (menu-bar-file-menu):
11386 * vc/ediff.el (ediff-current-file):
11387 Update for revert-buffer-function no longer being nil by default.
11388
11389 * simple.el (command-execute): Respect nil disabled-command-function.
11390
11391 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11392
11393 * simple.el (command-execute): Do not execute the command when it
11394 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11395
11396 2014-04-02 Juri Linkov <juri@jurta.org>
11397
11398 * dired-aux.el (dired-compress-file): Don't use string-match-p
11399 because its match data is used afterwards.
11400
11401 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11404 0 like nil.
11405
11406 2014-04-02 João Távora <joaotavora@gmail.com>
11407
11408 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11409 Inhibit quote pairing if point-max is inside an unterminated string.
11410 (electric-pair--looking-at-unterminated-string-p):
11411 Delete.
11412 (electric-pair--in-unterminated-string-p): New function.
11413
11414 2014-04-01 Daniel Colascione <dancol@dancol.org>
11415
11416 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11417 when trying to complete the prompt.
11418
11419 2014-03-31 Leo Liu <sdl.web@gmail.com>
11420
11421 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11422 Refactor out eldoc-documentation-function-default.
11423 (eldoc-documentation-function-default): New function.
11424 (eldoc-documentation-function): Change value.
11425
11426 2014-03-31 Glenn Morris <rgm@gnu.org>
11427
11428 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11429
11430 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11431 (vhdl-compose-components-package, vhdl-compose-configuration):
11432 Abbreviate default-directory (missing from some previous upstream sync).
11433
11434 2014-03-31 Reto Zimmermann <reto@gnu.org>
11435
11436 Sync with upstream vhdl mode v3.35.2.
11437 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11438 (top-level): No longer require assoc.
11439 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11440 New functions. Use throughout to replace aget etc.
11441 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11442 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11443 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11444 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11445 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11446 except `vhdl-compiler'.
11447 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11448 when appropriate.
11449
11450 2014-03-31 Glenn Morris <rgm@gnu.org>
11451
11452 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11453 Revert 2014-03-26 merge goof; go back to using defalias.
11454
11455 2014-03-30 Daniel Colascione <dancol@dancol.org>
11456
11457 * comint.el (comint-send-input):
11458 Deactivate completion-in-region-mode before we send comint input.
11459 (Bug#17139).
11460
11461 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11462 on keyboard-quit.
11463
11464 2014-03-29 Glenn Morris <rgm@gnu.org>
11465
11466 * textmodes/reftex.el: Manage most autoloads automatically.
11467 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11468 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11469 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11470 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11471 * textmodes/reftex-toc.el: Set generated-autoload-file,
11472 and add autoload cookies for reftex.el.
11473 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11474
11475 2014-03-28 Glenn Morris <rgm@gnu.org>
11476
11477 * cus-start.el (report-emacs-bug-address): Set custom properties.
11478 * mail/emacsbug.el (report-emacs-bug-address):
11479 Variable is now defined in emacs.c.
11480
11481 * mail/emacsbug.el (report-emacs-bug):
11482 Include system-configuration-features.
11483
11484 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11485
11486 * simple.el (cycle-spacing): Never delete spaces on first run by
11487 default, but do so in a new 'fast mode and if there are already
11488 N spaces (the previous behavior).
11489 Compare N with its value in previous invocation so that changing
11490 prefix argument restarts `cycle-spacing' sequence.
11491 The idea is that with this change, binding M-SPC to
11492 `cycle-spacing' should not introduce any changes in behavior of
11493 the binding so long as users do not type M-SPC twice in a raw with
11494 the same prefix argument or lack thereof.
11495
11496 2014-03-28 Glenn Morris <rgm@gnu.org>
11497
11498 * faces.el (term-file-aliases): New variable.
11499 (tty-run-terminal-initialization): Respect term-file-aliases.
11500 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11501 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11502 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11503
11504 2014-03-27 Glenn Morris <rgm@gnu.org>
11505
11506 * startup.el (inhibit-startup-hooks): Doc tweak.
11507 (normal-top-level): Simplify running of hooks.
11508 For window-setup-hook, respect inhibit-startup-hooks.
11509 (command-line-1): Don't set window-setup-hook to nil.
11510
11511 Allow selective autoloading from obsolete/ directory.
11512 * Makefile.in (obsolete-autoloads): New rule.
11513 (autoloads): Run obsolete-autoloads.
11514 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11515 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11516
11517 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11518
11519 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11520 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11521
11522 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11523 Don't propertize `?' or `!' as symbol constituent when after
11524 colon. (Bug#17097)
11525
11526 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11529 which is no longer needed and causes trouble in GTK builds (bug#17046).
11530
11531 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11532 Use url-insert-file-contents; package-handle-response no longer exists.
11533
11534 2014-03-26 Daniel Colascione <dancol@dancol.org>
11535
11536 * simple.el (process-menu-mode-map): New variable.
11537 (process-menu-delete-process): New command.
11538
11539 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11540
11541 * emacs-lisp/package.el: Fix bug#16733 (again).
11542 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11543 (url-http-target-url): Remove unused declarations.
11544 (package-handle-response): Remove.
11545 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11546 (package--download-one-archive): Use current-buffer instead of
11547 dynamic binding of `buffer'.
11548 (describe-package-1): Do not decode readme-string.
11549
11550 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11551
11552 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11553
11554 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11555 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11556 `remote-file-name-inhibit-cache' to nil in the second pass.
11557 (tramp-find-executable): Do not call "which" on SunOS.
11558 (tramp-send-command-and-check): Fix docstring.
11559 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11560 check whether source directory has set the sticky bit.
11561
11562 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11563
11564 * simple.el (primitive-undo): Only process marker adjustments
11565 validated against their corresponding (TEXT . POS). Issue warning
11566 for lone marker adjustments in undo history. (Bug#16818)
11567 (undo-make-selective-list): Add marker adjustments to selective
11568 undo list based on whether their corresponding (TEXT . POS) is in
11569 the region. Remove variable adjusted-markers, which was unused
11570 and only non nil during undo-make-selective-list.
11571 (undo-elt-in-region): Return nil when passed a marker adjustment
11572 and explain in function doc.
11573
11574 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11575
11576 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11577
11578 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11579
11580 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11581 Match special global variables without curlies, too.
11582 (ruby-font-lock-keywords): Simplify the matcher for special global
11583 variables. Don't require a non-word character after the variable.
11584 (Bug#17057)
11585
11586 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11587
11588 * simple.el (redisplay-highlight-region-function): Increase priority of
11589 overlay to make sure boundaries are visible (bug#15899).
11590
11591 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11592
11593 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11594 (frameset-restore): Compare display strings with equal.
11595
11596 * frame.el (make-frame): Don't quote display name in error message,
11597 it is already a string.
11598
11599 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11600
11601 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11602 the password.
11603
11604 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11605
11606 * emacs-lisp/package.el (package--add-to-archive-contents):
11607 Include already installed and built-in packages in
11608 `package-archive-contents'.
11609 (package-install): Don't include already installed packages in the
11610 options during interactive invocation. (Bug#16762)
11611 (package-show-package-list): If the buffer is already displayed in
11612 another window, switch to that window.
11613
11614 2014-03-26 Reto Zimmermann <reto@gnu.org>
11615
11616 Sync with upstream vhdl mode v3.35.1.
11617 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11618 (vhdl-compiler-alist): Doc fix.
11619 (vhdl-goto-line): Remove.
11620 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11621 (vhdl-mode) <paragraph-start>: Fix value.
11622 (vhdl-fix-statement-region): Not `for' in wait-statement.
11623 (vhdl-beautify-region): Also (un)tabify.
11624 (vhdl-get-visible-signals):
11625 Scan declarative part of generate statements.
11626 (vhdl-template-record): Fix indentation for record type declaration.
11627 (vhdl-expand-abbrev, vhdl-expand-paren):
11628 Revert to using fset again rather than defalias.
11629 (vhdl-scan-directory-contents): Tweak.
11630 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11631 (vhdl-compose-components-package):
11632 Replace vhdl-goto-line with forward-line.
11633 (top-level): Tweak speedbar frame selection.
11634 (vhdl-generate-makefile-1): Support for compilers with no
11635 unit-to-file name mapping (create directory with dummy files).
11636
11637 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11638
11639 Sync with upstream verilog-mode revision 702457d.
11640 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11641 (create-lockfiles): Declare.
11642 (verilog-read-decls): Fix module header imports, bug709.
11643 Reported by Victor Lau.
11644 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11645 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11646 interface-only modules, bug721. Reported by Dean Hoyt.
11647
11648 2014-03-26 Glenn Morris <rgm@gnu.org>
11649
11650 * obsolete/gulp.el: Move here from emacs-lisp/.
11651
11652 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11653 Remove fallback aliases, since they are always defined now.
11654
11655 2014-03-24 Daniel Colascione <dancol@dancol.org>
11656
11657 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11658 instead of cl-loop search function.
11659
11660 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11661
11662 * calendar/parse-time.el (parse-time-iso8601-regexp)
11663 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11664 it more generally.
11665
11666 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11667
11668 * net/dns.el (network-interface-list): Define for XEmacs.
11669
11670 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11671
11672 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11673 the network interfaces changed.
11674 (dns-query): Use it to flush the data.
11675
11676 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11677
11678 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11679
11680 2014-03-23 Daniel Colascione <dancol@dancol.org>
11681
11682 Change subword-mode to use `find-word-boundary-function-table' and
11683 replace `capitalized-words-mode'. Also, convert to lexical binding.
11684 * progmodes/cap-words.el: Delete now-obsolete file.
11685 * progmodes/subword.el: Reimplement using
11686 `find-word-boundary-function-table'.
11687 (subword-mode-map): Hollow out.
11688 (capitalized-words-mode): Define as obsolete alias for
11689 `subword-mode'.
11690 (subword-mode, superword-mode): Tweak documentation to reflect new
11691 implementation; call `subword-setup-buffer'.
11692 (subword-forward, subword-capitalize): Add underscore to indicate
11693 unused variable.
11694 (subword-find-word-boundary-function-table): New constant.
11695 (subword-empty-char-table): New constant.
11696 (subword-setup-buffer): New function.
11697 (subword-find-word-boundary): New function.
11698
11699 2014-03-23 Daniel Colascione <dancol@dancol.org>
11700
11701 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11702 list to look for keyword arguments instead of `memq', fixing
11703 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11704 Please make bootstrap.
11705
11706 2014-03-22 Glenn Morris <rgm@gnu.org>
11707
11708 * dired.el (dired-read-regexp): Make obsolete.
11709 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11710 (dired-flag-files-regexp):
11711 * dired-aux.el (dired-mark-read-regexp):
11712 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11713
11714 * startup.el (fancy-startup-text):
11715 * help.el (describe-gnu-project): Visit online info about GNU project.
11716
11717 * help-fns.el (help-fns--interactive-only): New function.
11718 (help-fns-describe-function-functions): Add the above function.
11719 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11720 (next-line, previous-line): Remove hand-written interactive-only
11721 information from doc strings, it is auto-generated now.
11722 * bookmark.el (bookmark-write):
11723 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11724 (epa-mail-import-keys): Mark interactive-only,
11725 and remove hand-written interactive-only information from doc strings.
11726 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11727 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11728 * files.el (not-modified):
11729 * simple.el (mark-whole-buffer): Mark interactive-only.
11730
11731 * emacs-lisp/byte-run.el (defun-declarations-alist):
11732 Add interactive-only. Doc tweak.
11733 (macro-declarations-alist): Doc tweak.
11734 * subr.el (declare): Doc tweak (add xref to manual).
11735 * comint.el (comint-run):
11736 * files.el (insert-file-literally, insert-file):
11737 * replace.el (replace-string, replace-regexp):
11738 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11739 (delete-forward-char, goto-line, insert-buffer, next-line)
11740 (previous-line): Set interactive-only via declare.
11741
11742 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11743
11744 * emacs-lisp/package.el (package-desc): Use the contents of the
11745 quoted form, not its cdr. (Bug#16873)
11746
11747 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11748
11749 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11750 benefit of doc.c; change parameter profile to match the X function.
11751
11752 2014-03-22 Leo Liu <sdl.web@gmail.com>
11753
11754 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11755 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11756
11757 2014-03-21 Richard Stallman <rms@gnu.org>
11758
11759 * battery.el (battery-linux-sysfs): Search for each field
11760 from the beginning of the buffer.
11761
11762 * subr.el (set-transient-map): Clear out function and value
11763 of the temporary symbol when we're done with it.
11764
11765 * mail/rmailsum.el (rmail-summary-delete-forward):
11766 Optimize case of reaching end and handling count.
11767 (rmail-summary-mark-deleted): Optimize when N is current msg.
11768 Don't create new summary line.
11769 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11770 (rmail-summary-undelete-many): Rewrite for speed.
11771 (rmail-summary-msg-number): New function.
11772
11773 * mail/rmail.el (rmail-delete-message): Update summary.
11774 (rmail-undelete-previous-message): Handle repeat count arg.
11775 (rmail-delete-backward, rmail-delete-forward): Likewise.
11776
11777 2014-03-21 Daniel Colascione <dancol@dancol.org>
11778
11779 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11780 information in bug reports.
11781
11782 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11783
11784 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11785 and `tramp-copy-env'.
11786
11787 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11788 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11789
11790 2014-03-21 Glenn Morris <rgm@gnu.org>
11791
11792 * electric.el (electric-indent-post-self-insert-function): Add doc.
11793
11794 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11795
11796 * emacs-lisp/package.el (package-compute-transaction):
11797 Use `version-list-<=' to compare the requirement version against
11798 the version of package already to be installed. Update the error
11799 message. (Bug#16826)
11800
11801 * progmodes/ruby-mode.el (ruby-smie-rules):
11802 Add indentation rule for ` @ '. (Bug#17050)
11803
11804 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11805
11806 * align.el (align-regexp): Remove superfluous backslash.
11807
11808 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11809 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11810 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11811 Fix docstring typos.
11812 (ffap-next): Use C-u in docstring.
11813 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11814 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11815 Remove superfluous backslashes.
11816 (ffap-string-at-point): Reflow docstring.
11817
11818 * server.el (server-host): Reflow docstring.
11819 (server-unload-function): Fix docstring typo.
11820 (server-eval-at): Remove superfluous backslash.
11821
11822 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11823 (skeleton-insert): Doc fix.
11824 (skeleton-insert): Reflow docstring.
11825
11826 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11827 (tty-color-approximate, tty-color-by-index, tty-color-values)
11828 (tty-color-desc): Remove superfluous backslashes.
11829
11830 2014-03-21 Glenn Morris <rgm@gnu.org>
11831
11832 * cus-start.el (history-length): Bump :version.
11833
11834 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11835 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11836 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11837 Don't set `make-backup-files'.
11838
11839 * info.el (info--prettify-description): New function,
11840 to give info-finder descriptions consistent case, punctuation.
11841 (Info-finder-find-node): Use it. Sort packages.
11842 Refer to "description" rather than "commentary".
11843
11844 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11845
11846 * frameset.el (frameset--print-register): New function.
11847 (frameset-to-register): Use it.
11848
11849 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11850
11851 * progmodes/hideif.el (hif-string-to-number): New function.
11852 (hif-tokenize): Use it to understand non-decimal floats.
11853
11854 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11855
11856 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11857
11858 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * electric.el (electric-newline-and-maybe-indent): New command.
11861 Bind it globally to C-j.
11862 (electric-indent-mode): Don't mess with the global map any more.
11863 Don't drop the post-self-insert-hook is some buffer is still using it
11864 (bug#16770).
11865
11866 * bindings.el (global-map): Remove C-j binding.
11867
11868 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11869 the docstring of functions advised before dumping (bug#16993).
11870
11871 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11872
11873 * ps-print.el (ps-generate-postscript-with-faces):
11874 Explicitly deactivate the mark (bug#16866).
11875 * simple.el (deactivate-mark): Update region highlight.
11876
11877 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11878
11879 * emacs-lisp/package.el (describe-package-1):
11880 Decode commentary (bug#16733).
11881
11882 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11883
11884 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11885 modification of the value argument of :set (bug#16755).
11886
11887 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11888
11889 * simple.el (newline-and-indent): Do autofill (bug#17031).
11890
11891 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11892
11893 * newcomment.el (comment-normalize-vars): Only add escaping check
11894 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11895 (comment-beginning): Use `narrow-to-region' instead of moving back
11896 one character.
11897 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11898 (comment-start-skip): Update the docstring.
11899
11900 2014-03-18 Richard Stallman <rms@gnu.org>
11901
11902 * dired.el (dired-display-file): Force use of other window.
11903
11904 2014-03-18 Daniel Colascione <dancol@dancol.org>
11905
11906 * startup.el (tty-handle-args): Remove debug message from 2007.
11907
11908 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11911 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11912 (advice--make-1, advice-add, advice-remove):
11913 Remove braindead :advice-pending hack.
11914
11915 2014-03-17 Glenn Morris <rgm@gnu.org>
11916
11917 * calendar/calendar.el (calendar-generate-month): Apply weekend
11918 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11919
11920 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11921
11922 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11923 (tramp-call-process): Trace also DESTINATION.
11924
11925 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11926 Quote file names when they are local. Remove superfluous trace.
11927
11928 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11929
11930 * newcomment.el (comment-beginning): If `comment-start-skip'
11931 doesn't match, move back one char and try again. (Bug#16971)
11932
11933 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11934 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11935 Set `comment-start-skip' to a simpler value that doesn't try to
11936 check if the semicolon is escaped (this is handled by
11937 `syntax-ppss' now). (Bug#16971)
11938
11939 * progmodes/scheme.el (scheme-mode-variables): Same.
11940
11941 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11942
11943 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11944 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11945 current (Bug#16816, Bug#17007).
11946 (with-current-buffer-window): New macro doing the same as
11947 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11948 * help.el (help-print-return-message): Warn in doc-string to not
11949 use this in `with-help-window'.
11950 (describe-bindings-internal): Call `describe-buffer-bindings'
11951 from within help buffer. See Juanma's scenario in (Bug#16816).
11952 (with-help-window): Update doc-string.
11953 * dired.el (dired-mark-pop-up):
11954 * files.el (save-buffers-kill-emacs):
11955 * register.el (register-preview): Use `with-current-buffer-window'
11956 instead of `with-temp-buffer-window'.
11957
11958 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11961 Implement inserting into current buffer, documented in their docstrings.
11962 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11963 (rst-section-tree-point, rst-forward-section, rst-indent)
11964 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11965 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11966 (rst-font-lock-handle-adornment-pre-match-form)
11967 (rst-repeat-last-character): Reflow docstrings.
11968 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11969 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11970 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11971 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11972 Fix docstring typos.
11973 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11974 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11975 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11976
11977 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11978
11979 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11980 for compatibility with other ports.
11981 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11982 from the -xrm command line argument, but in the Nextstep port its value
11983 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11984
11985 * progmodes/python.el (defconst, python-syntax-count-quotes)
11986 (python-indent-region, python-indent-shift-right)
11987 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11988 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11989 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11990 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11991 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11992 (python-shell-buffer-substring, python-shell-send-buffer)
11993 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11994 (python-completion-complete-at-point, python-fill-docstring-style)
11995 (python-eldoc-function, python-imenu-format-item-label)
11996 (python-imenu-format-parent-item-label)
11997 (python-imenu-format-parent-item-jump-label)
11998 (python-imenu--build-tree, python-imenu-create-index)
11999 (python-imenu-create-flat-index): Fix docstring typos.
12000 (python-indent-context, python-shell-prompt-regexp, run-python):
12001 Remove superfluous backslashes.
12002 (python-indent-line, python-nav-beginning-of-defun)
12003 (python-shell-get-buffer, python-shell-get-process)
12004 (python-info-current-defun, python-info-current-line-comment-p)
12005 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
12006 (python-indent-post-self-insert-function, python-shell-send-file)
12007 (python-shell-completion-get-completions)
12008 (python-shell-completion-complete-or-indent)
12009 (python-eldoc--get-doc-at-point): Reflow docstrings.
12010
12011 2014-03-14 Glenn Morris <rgm@gnu.org>
12012
12013 * emacs-lisp/package.el (package-menu-mode-map):
12014 Replace use of obsolete function alias. Tweak menu item text.
12015
12016 * info.el (Info-finder-find-node):
12017 Ignore the `emacs' metapackage. (Bug#10813)
12018
12019 * finder.el (finder-list-matches): Include unversioned packages
12020 in the result of a keyword search.
12021
12022 * finder.el (finder--builtins-descriptions): New constant.
12023 (finder-compile-keywords): Use finder--builtins-descriptions.
12024
12025 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
12026
12027 * simple.el (blink-matching-paren): Describe the new value,
12028 `jump', enabling the old behavior.
12029 (blink-matching-open): Use that value. (Bug#17008)
12030
12031 2014-03-14 Glenn Morris <rgm@gnu.org>
12032
12033 * finder.el (finder-no-scan-regexp): Add leim-list.
12034 (finder-compile-keywords):
12035 Don't skip files with same basename. (Bug#14010)
12036 * Makefile.in (setwins_finder): New, excluding leim.
12037 (finder-data): Use setwins_finder.
12038
12039 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
12040 (help-function-arglist, help-make-usage): Move from here...
12041 * help.el (help-split-fundoc, help-add-fundoc-usage)
12042 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
12043 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
12044
12045 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
12046
12047 * net/socks.el (socks, socks-override-functions)
12048 (socks-find-services-entry):
12049 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
12050 (hif-find-ifdef-block):
12051 * progmodes/modula2.el (m2-indent): Fix docstring typos.
12052
12053 * net/tls.el (tls-program): Reflow docstring.
12054
12055 * progmodes/pascal.el (pascal-mode-abbrev-table)
12056 (pascal-imenu-generic-expression, pascal-auto-endcomments)
12057 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
12058 (pascal-outline-mode): Fix docstring typos.
12059 (pascal-mode): Let define-derived-mode document mode hook.
12060 (pascal-uncomment-area): Reflow.
12061 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
12062
12063 * progmodes/opascal.el (opascal-compound-block-indent)
12064 (opascal-case-label-indent): Fix docstring typos.
12065 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
12066
12067 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
12068
12069 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12070 Fontify multiple adjacent negation chars. (Bug#17004)
12071
12072 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
12073
12074 * emacs-lisp/package.el (package--prepare-dependencies):
12075 Accept requirements without explicit version (bug#14941).
12076
12077 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12078
12079 * register.el (register-separator, copy-to-register): Doc fixes.
12080 (register-preview-default): Remove unnecessary call to concat.
12081
12082 * frameset.el (frameset-restore): When checking for a visible frame,
12083 use the action map instead of calling visible-frame-list.
12084
12085 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
12086
12087 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
12088
12089 2014-03-12 Martin Rudalics <rudalics@gmx.at>
12090
12091 * window.el (fit-frame-to-buffer): Get maximum width from
12092 display's width instead of height.
12093
12094 2014-03-12 Glenn Morris <rgm@gnu.org>
12095
12096 * desktop.el (desktop-restore-frames)
12097 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
12098 (desktop-restore-reuses-frames): Doc tweaks.
12099
12100 * electric.el (electric-indent-mode): Doc fix.
12101
12102 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12103
12104 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
12105 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
12106 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
12107 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
12108 (cvs-dired-use-hook): Fix docstring typos.
12109 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
12110 Doc fixes.
12111
12112 * vc/pcvs-defs.el (cvs-auto-remove-handled)
12113 (cvs-auto-remove-directories, cvs-default-ignore-marks)
12114 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
12115 (cvs-execute-single-dir): Fix docstring typos.
12116
12117 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
12118 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
12119
12120 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
12121
12122 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
12123 Fix docstring typos.
12124
12125 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12126
12127 * frameset.el (frameset--jump-to-register): Add autoload; it could be
12128 called from jump-to-register after unloading the frameset package.
12129
12130 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
12133 (bug#16975). Deactivate the mark before setting it to nil.
12134 (activate-mark): Do nothing if region is already active.
12135
12136 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12137
12138 * frameset.el (frameset--target-display): Remove definition; declare.
12139 (frameset-save, frameset-restore): Let-bind frameset--target-display.
12140
12141 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
12144 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
12145 when the advice is pending.
12146 (advice-remove): Remove this marker when not needed any more.
12147
12148 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12149
12150 * frameset.el: Separate options for reusing frames and cleaning up.
12151 (frameset--reuse-list): Remove definition; declare.
12152 (frameset--action-map): Declare.
12153 (frameset--find-frame-if): Doc fix.
12154 (frameset--restore-frame): Cache frame action.
12155 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
12156 how to clean up the frame list after restoring. Remove cleaning
12157 options from REUSE-FRAMES. Change all keyword values to symbols.
12158 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
12159
12160 * desktop.el (desktop-restore-forces-onscreen)
12161 (desktop-restore-reuses-frames): Use non-keyword values.
12162 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
12163
12164 2014-03-10 Glenn Morris <rgm@gnu.org>
12165
12166 * files.el (find-file): Doc fix: update info node name.
12167
12168 * emacs-lisp/advice.el (ad-add-advice, defadvice):
12169 Doc fix: remove references to deleted info nodes.
12170
12171 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
12172
12173 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12174 Do not add nil to the environment, when there's no remote `locale'.
12175 (tramp-find-inline-encoding): Check, that the remote host has
12176 installed perl, before sending scripts.
12177
12178 2014-03-10 Leo Liu <sdl.web@gmail.com>
12179
12180 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12181 Clear eldoc-last-message. (Bug#16920)
12182
12183 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
12186 (bug#14430).
12187
12188 2014-03-09 Juri Linkov <juri@jurta.org>
12189
12190 * ansi-color.el (ansi-color-names-vector): Copy default colors
12191 from `xterm-standard-colors' that look well on the default white
12192 background (and also on the black background) to avoid illegible
12193 color combinations like yellow-on-white and white-on-white.
12194 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12195
12196 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
12197
12198 * frameset.el (frameset-restore): When no frame is visible, do not
12199 generate a list of frames, just make visible the selected one.
12200
12201 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
12202
12203 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12204 it only contains the repository root. (Bug#16897)
12205
12206 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
12207
12208 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12209 only when `remote-file-name-inhibit-cache' is nil.
12210 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
12211
12212 2014-03-06 Martin Rudalics <rudalics@gmx.at>
12213
12214 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12215 Fix doc-strings.
12216 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12217 fit-frame-to-buffer variable. Fix doc-string.
12218 (fit-window-to-buffer): Set ONLY argument in call of
12219 fit-frame-to-buffer. Fix doc-string.
12220
12221 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12222
12223 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12224 (tramp-action-password): Clear password cache if needed.
12225 (tramp-read-passwd): Do not clear password cache.
12226
12227 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12228 cache unless it is the first password request.
12229
12230 2014-03-06 Glenn Morris <rgm@gnu.org>
12231
12232 * simple.el (newline): Doc tweak.
12233
12234 * emacs-lisp/shadow.el (load-path-shadows-find):
12235 Ignore dir-locals. (Bug#12357)
12236
12237 2014-03-05 Glenn Morris <rgm@gnu.org>
12238
12239 * files.el (interpreter-mode-alist):
12240 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12241
12242 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12243
12244 * frameset.el (frameset--initial-params): Filter out null entries.
12245
12246 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12247
12248 * window.el (window-min-height, window-min-width):
12249 Rewrite doc-strings.
12250 (window-body-size): Add PIXELWISE argument to make it consistent
12251 with its callees.
12252
12253 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12254
12255 * finder.el (finder-mode-map, finder-mode-syntax-table):
12256 Revert part of 2014-02-28 change.
12257
12258 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12259
12260 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12261 (eww-setup-buffer): Clear next/prev/etc more reliably.
12262 (eww-textarea-map): [tab] doesn't work on tty.
12263 Reported by Mario Lang.
12264
12265 * net/shr.el (shr-map): Ditto.
12266
12267 2014-03-04 Glenn Morris <rgm@gnu.org>
12268
12269 * minibuffer.el (completion-hilit-commonality):
12270 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12271
12272 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12273
12274 * hilit-chg.el (hilit-chg-unload-function): New function.
12275 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12276 (hilit-chg-map-changes): Prefer cardinal number to digit.
12277 (hilit-chg-display-changes): Reflow docstring.
12278 (highlight-changes-rotate-faces): Remove superfluous backslash.
12279
12280 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12281
12282 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12283 `tramp-send-command-and-check'.
12284
12285 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12286
12287 * hexl.el (hexl-address-region, hexl-ascii-region)
12288 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12289 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12290 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12291 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12292 (hexl-mode): Doc fix.
12293 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12294 (hexl-mode-ruler): Fix typos in docstrings.
12295
12296 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12297 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12298 Remove superfluous backslashes.
12299 (strokes-last-stroke, strokes-global-map, strokes-mode):
12300 Reflow docstrings.
12301 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12302 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12303 (strokes-distance-squared, strokes-global-set-stroke)
12304 (strokes-global-set-stroke-string): Doc fixes.
12305 (strokes-help): Fix typos; reflow docstring.
12306
12307 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12308
12309 * window.el (window-in-direction): Fix doc-string.
12310
12311 2014-03-04 Glenn Morris <rgm@gnu.org>
12312
12313 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12314 Explicit error if no grammar.
12315 (smie-config-save): Doc fix. Fix quote typo.
12316
12317 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12320 electric-indent-mode-hook if we obey electric-indent-mode.
12321 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12322 decide whether we obey electric-indent-mode.
12323 (c-change-set-fl-decl-start, c-extend-after-change-region):
12324 Silence warnings.
12325 (c-electric-indent-mode-hook): Assume we do want to obey
12326 electric-indent-mode.
12327
12328 * electric.el (electric-indent-mode-has-been-called): Remove.
12329 (electric-indent-mode): Fix accordingly.
12330
12331 * files.el (hack-local-variables): Mention file name in warning.
12332
12333 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12334
12335 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12336
12337 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12338 * simple.el (delete-forward-char): Mark as interactive-only.
12339
12340 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12341
12342 * icomplete.el (icomplete-completions):
12343 Follow-up to 2014-03-01 change.
12344
12345 * icomplete.el: Miscellaneous doc fixes.
12346 Use Icomplete everywhere instead of icomplete for consistency.
12347 (icomplete-max-delay-chars): Fix typo.
12348 (icomplete-mode): Use \[].
12349 (icomplete-tidy, icomplete-exhibit): Reflow.
12350 (icomplete-minibuffer-setup-hook, icomplete-completions):
12351 Remove superfluous backlashes.
12352
12353 * ido.el: Miscellaneous doc fixes.
12354 Use Ido everywhere instead of ido or `ido' for consistency.
12355 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12356 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12357 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12358 (ido-separator): Extract obsolescence info from docstring and declare
12359 with make-obsolete-variable.
12360 (ido-minibuffer-setup-hook): Simplify example.
12361 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12362 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12363 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12364 (ido-everywhere): Reflow docstring.
12365 (ido-toggle-vc): Doc fix.
12366 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12367 of long list of keybindings.
12368
12369 2014-03-03 Glenn Morris <rgm@gnu.org>
12370
12371 * frame.el (display-pixel-height, display-pixel-width)
12372 (display-mm-dimensions-alist, display-mm-height)
12373 (display-mm-width): Doc tweaks.
12374
12375 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12376
12377 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12378 case of undo in region.
12379
12380 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12381
12382 * window.el (fit-window-to-buffer): Fix argument in window-size
12383 call when window is horizontally combined.
12384
12385 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12386
12387 * icomplete.el (icomplete-completions): Use string-width.
12388 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12389
12390 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12391
12392 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12393 Highlight regexp options. (Bug#16914)
12394
12395 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12396
12397 * window.el (window--max-delta-1): Round down when calculating
12398 how many lines/columns we can get from a window.
12399
12400 2014-03-01 Glenn Morris <rgm@gnu.org>
12401
12402 * isearch.el (search-invisible): Doc fix.
12403
12404 * minibuffer.el (completion-hilit-commonality):
12405 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12406 * comint.el (comint-dynamic-list-completions): Doc fix.
12407 * comint.el (comint-dynamic-list-completions):
12408 * filecache.el (file-cache-minibuffer-complete):
12409 * tempo.el (tempo-display-completions):
12410 * eshell/em-hist.el (eshell-list-history):
12411 Replace use of obsolete argument of display-completion-list.
12412
12413 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12414
12415 * icomplete.el (icomplete-completions):
12416 Revert back to using "..." when ?… cannot be displayed.
12417
12418 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12419
12420 * finder.el (finder-unload-function): New function.
12421
12422 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12423
12424 * dframe.el (dframe-detach):
12425 * find-dired.el (find-dired, find-name-dired):
12426 * finder.el (finder-mode-map, finder-mode-syntax-table)
12427 (finder-headmark, finder-select, finder-mouse-select):
12428 Fix docstring typos.
12429
12430 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12431
12432 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12433 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12434 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12435 Fix doc-string based on a suggestion by Nicolas Richard
12436 <theonewiththeevillook@yahoo.fr>.
12437 * help.el (with-help-window): Fix doc-string.
12438
12439 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12440
12441 * net/shr.el (shr-image-animate): New option.
12442 (shr-put-image): Respect shr-image-animate.
12443
12444 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12445
12446 * net/tramp-adb.el (tramp-adb-parse-device-names):
12447 Use `accept-process-output'.
12448 (tramp-adb-handle-file-truename): Cache the localname only.
12449 (tramp-adb-handle-make-directory)
12450 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12451 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12452 modes cannot be changed.
12453
12454 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12455 file properties of symlinks.
12456
12457 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12458
12459 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12460 required/optional fields to match development biblatex. (Bug#16781)
12461
12462 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12463
12464 * saveplace.el (toggle-save-place):
12465 Fix argument handling. (Bug#16673)
12466
12467 2014-02-28 Glenn Morris <rgm@gnu.org>
12468
12469 * minibuffer.el (completions-first-difference)
12470 (completions-common-part, completion-hilit-commonality): Doc fixes.
12471
12472 2014-02-28 Karl Berry <karl@gnu.org>
12473
12474 * info.el (Info-mode-map): Add H for describe-mode,
12475 to synchronize with standalone Info.
12476
12477 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12478
12479 * progmodes/sql.el (sql-interactive-mode):
12480 Avoid setting global comint-input-ring-separator. (Bug#16814)
12481
12482 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12483
12484 * net/dbus.el (dbus--init-bus): Declare function.
12485 (dbus-path-local, dbus-interface-local): New defconst.
12486 (dbus-init-bus): Use them.
12487 (dbus-return-values-table): Extend doc.
12488 (dbus-handle-bus-disconnect): Extend error message.
12489
12490 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12491
12492 * subr.el (y-or-n-p): Fix double space issue in message.
12493
12494 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12495
12496 * net/tramp.el (tramp-call-process): Improve trace message.
12497 (tramp-handle-insert-file-contents): Trace error case.
12498
12499 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12500 <insert-directory>: Use `tramp-handle-insert-directory'.
12501 (tramp-adb-handle-insert-directory): Remove function.
12502 (tramp-adb-send-command-and-check): New defun, replacing
12503 `tramp-adb-command-exit-status'. Change all callees.
12504 (tramp-adb-handle-file-attributes)
12505 (tramp-adb-handle-directory-files-and-attributes): Use it.
12506 (tramp-adb-ls-output-name-less-p):
12507 Use `directory-listing-before-filename-regexp'.
12508 (tramp-adb-handle-delete-directory): Flush also file properties of
12509 the truename of directory.
12510 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12511 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12512 (tramp-adb-handle-write-region): Implement APPEND.
12513 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12514 properties correctly.
12515 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12516 variables. Check for connected devices only when needed.
12517
12518 2014-02-27 Glenn Morris <rgm@gnu.org>
12519
12520 * minibuffer.el (completion-table-dynamic)
12521 (completion-table-with-cache): Doc fixes.
12522
12523 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12524 (completing-read-multiple): Doc fixes.
12525
12526 2014-02-27 Daniel Colascione <dancol@dancol.org>
12527
12528 * minibuffer.el (completion--nth-completion): Fix indentation.
12529
12530 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12531 explicit tramp path is empty.
12532
12533 2014-02-27 Glenn Morris <rgm@gnu.org>
12534
12535 * emacs-lisp/crm.el (completing-read-multiple):
12536 Empower help-enable-auto-load.
12537
12538 2014-02-26 Glenn Morris <rgm@gnu.org>
12539
12540 * startup.el (command-line): Don't init the tty in daemon mode.
12541
12542 Avoid calling tty-setup-hook twice, eg if a term file
12543 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12544 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12545 (tty-create-frame-with-faces): Use it.
12546 * startup.el (command-line): Pass run-hook argument
12547 to tty-run-terminal-initialization.
12548
12549 * dired.el (dired-restore-desktop-buffer): Demote errors;
12550 eg in case a glob match fails. (Bug#16884)
12551
12552 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12553
12554 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12555 error from `read-from-string'. (Bug#16850)
12556
12557 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12558 result of `completing-read' in the interactive form. (Bug#16854)
12559
12560 2014-02-25 Glenn Morris <rgm@gnu.org>
12561
12562 * image.el (image-animate, image-animate-timeout):
12563 Stop animating images in dead buffers. (Bug#16878)
12564
12565 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12566
12567 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12568 Doc fixes.
12569 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12570 * term/sun.el (sun-raw-prefix-hooks):
12571 Use tty-setup-hook instead of term-setup-hook.
12572 (terminal-init-sun): Construct message from bytecomp plist.
12573 * term/wyse50.el (enable-arrow-keys): Doc fix.
12574
12575 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12576
12577 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12578 Fix docstring typos.
12579
12580 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12581
12582 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12583
12584 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12585
12586 * minibuffer.el (completion--try-word-completion):
12587 Fix error when completing M-x commands (bug#16808).
12588
12589 2014-02-24 Leo Liu <sdl.web@gmail.com>
12590
12591 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12592
12593 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12594
12595 * apropos.el (apropos-print): Avoid formatting error when
12596 apropos-do-all and apropos-compact-layout are both t.
12597
12598 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12599
12600 * apropos.el (apropos-property, apropos-all-words-regexp)
12601 (apropos-true-hit, apropos-variable, apropos-print):
12602 Fix docstring typos, and remove obsolete comment.
12603
12604 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12605
12606 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12607 Preserve trailing "/". (Bug#16851)
12608
12609 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12610
12611 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12612 after `=>' (bug#16811).
12613 (ruby-smie-rules): Handle the inconsistent second element of the
12614 list returned by `smie-indent--parent'.
12615 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12616 method call.
12617
12618 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12619
12620 * elec-pair.el (electric-pair-text-syntax-table)
12621 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12622 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12623 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12624 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12625
12626 2014-02-22 Glenn Morris <rgm@gnu.org>
12627
12628 * imenu.el (imenu--generic-function): Doc fix.
12629
12630 * register.el (frame-configuration-to-register): Make obsolete.
12631
12632 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12633
12634 * desktop.el (desktop-save-buffer-p): Do not fail when
12635 desktop-files-not-to-save is nil. Return t for true result
12636 as the doc says.
12637
12638 2014-02-22 Daniel Colascione <dancol@dancol.org>
12639
12640 * net/secrets.el (secrets-create-item, secrets-search-items):
12641 Check that attribute values are strings, avoiding the construction
12642 of invalid dbus messages.
12643
12644 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12645
12646 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12647 defun-declarations-alist.
12648
12649 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12652 (bug#16829).
12653
12654 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12655
12656 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12657 (whitespace-newline, whitespace-trailing, whitespace-line)
12658 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12659 (whitespace-space-after-tab): Fix typo in docstrings.
12660
12661 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12662
12663 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12664
12665 * electric.el (electric-indent-functions-without-reindent):
12666 Add `yaml-indent-line'.
12667
12668 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12669
12670 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12671 It has done nothing for years; should be removed after the release.
12672
12673 * simple.el (choose-completion): Fix docstring typo.
12674 (read-quoted-char-radix): Remove unneeded * in docstring.
12675 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12676 Don't escape parentheses unnecessarily in docstrings.
12677
12678 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12679
12680 Fix handling of window-min-height/-width (Bug#16738).
12681 * window.el (window--dump-window, window--dump-frame):
12682 New functions.
12683 (window--min-size-1): Account for window dividers.
12684 When window-resize-pixelwise is nil, delay rounding till after the
12685 sum of the window components has been calculated.
12686 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12687 nil make sure at least one text line and two text columns remain
12688 fully visible.
12689 (window-resize): Signal an error when window-resize-apply fails.
12690 (window--resize-child-windows): Fix calculation of by how many
12691 pixels a window can still be shrunk via window-new-normal.
12692 (adjust-window-trailing-edge): Call window--resizable with
12693 correct TRAIL argument.
12694
12695 (with-temp-buffer-window): Don't evaluate BODY within
12696 with-current-buffer (Bug#16816).
12697
12698 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12699
12700 * net/tramp.el (tramp-check-cached-permissions):
12701 Call `file-attributes' with `suffix' being a symbol but a string.
12702
12703 2014-02-21 Daniel Colascione <dancol@dancol.org>
12704
12705 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12706 (dbus-init-bus): New function: call into dbus-init-bus-1
12707 and installs a handler for the disconnect signal.
12708 (dbus-call-method): Rewrite to look for result in cons.
12709 (dbus-call-method-handler): Store result in cons.
12710 (dbus-check-event): Recognize events with nil sender as valid.
12711 (dbus-handle-bus-disconnect): New function. React to bus
12712 disconnection signal by synthesizing dbus error for each
12713 pending synchronous or asynchronous call.
12714 (dbus-notice-synchronous-call-errors): New function.
12715 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12716 is true, not all the time.
12717
12718 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12719
12720 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12721 Remove obsolescence declarations, these variables do not exist anymore.
12722
12723 * savehist.el (savehist-save-minibuffer-history)
12724 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12725 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12726 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12727 mostly, refer to "Savehist mode" when talking about the mode,
12728 and not the function.
12729
12730 * saveplace.el (save-place): Remove redundant info in docstring.
12731 (save-place-forget-unreadable-files, toggle-save-place)
12732 (save-place-forget-unreadable-files, save-place-dired-hook):
12733 Fix typos and remove unneeded backslashes.
12734
12735 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12736
12737 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12738 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12739
12740 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12741 <insert-directory>: Use `tramp-handle-insert-directory'.
12742 (tramp-gvfs-handle-insert-directory): Remove function.
12743
12744 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12745 Call `tramp-handle-insert-directory'.
12746
12747 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12748
12749 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12750 before the start of buffer/region (bug#16799).
12751
12752 2014-02-20 Glenn Morris <rgm@gnu.org>
12753
12754 * isearch.el (search-invisible): Doc fix.
12755
12756 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12757
12758 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12759 (bug#16657).
12760
12761 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12762
12763 * frameset.el (frameset-restore): Delay removing an old frame's
12764 duplicate id until the new frame has been correctly created.
12765
12766 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12767
12768 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12769 (tramp-check-cached-permissions): Call `file-attributes' if the
12770 cache is empty.
12771
12772 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12773 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12774
12775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12776 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12777 (tramp-gvfs-maybe-open-connection): Set always connection
12778 properties, even if target is mounted already.
12779
12780 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12781 Set tramp-autoload cookie.
12782 (tramp-get-remote-touch): New defun.
12783 (tramp-sh-handle-set-file-times): Use it.
12784 (tramp-sh-handle-directory-files-and-attributes):
12785 Use `tramp-handle-directory-files-and-attributes' if neither stat
12786 nor perl are available on the remote host.
12787
12788 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12789 "/". Write long listing only when "l" belongs to the switches.
12790
12791 * net/trampver.el: Update release number.
12792
12793 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12794
12795 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12796
12797 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12798
12799 * window.el (window-state-put): Allow WINDOW to refer to an
12800 internal window (Bug#16793).
12801
12802 2014-02-19 Glenn Morris <rgm@gnu.org>
12803
12804 * textmodes/remember.el: Move provide statement to end.
12805 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12806 (remember-notes): Doc fixes.
12807
12808 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * delsel.el (delete-char): Restore incorrectly erased property
12811 (bug#16795).
12812
12813 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12814
12815 * frameset.el (frameset--restore-frame): When a frame is being reused
12816 and its root window is not alive, delete all the frame's windows before
12817 restoring the window state. This works around the issue in bug#16793.
12818
12819 2014-02-18 Glenn Morris <rgm@gnu.org>
12820
12821 * textmodes/remember.el (remember-data-directory)
12822 (remember-directory-file-name-format, remember-store-in-files)
12823 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12824 (remember-notes-save-and-bury-buffer)
12825 (remember-notes--kill-buffer-query): Doc fixes.
12826
12827 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12828
12829 2014-02-17 Alan Mackenzie <acm@muc.de>
12830
12831 Connect electric-indent-mode up with CC Mode. Bug #15478.
12832 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12833 to electric-indent-{,local-}-mode.
12834 (c-basic-common-init): Set electric-indent-inhibit.
12835 Initialize c-electric-flag from electric-indent-mode.
12836 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12837 New hook functions which propagate electric-indent-mode to CC mode.
12838
12839 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12840 hit, toggle electric-indent-local-mode.
12841
12842 * electric.el (electric-indent-mode-has-been-called):
12843 New variable.
12844
12845 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12846
12847 * frameset.el (frameset-cfg-id): New function.
12848 (frameset--reuse-frame, frameset-restore): Use it.
12849 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12850
12851 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * ido.el (ido-file-internal): Remove unused var `d'.
12854 Use \` for to match BoS. Fit within 80n columns.
12855
12856 2014-02-17 Daniel Colascione <dancol@dancol.org>
12857
12858 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12859 dbus-call-method check for completion using a busy-wait loop with
12860 gradual backoff.
12861
12862 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12863
12864 Sync with Tramp 2.2.9.
12865
12866 * net/trampver.el: Update release number.
12867
12868 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12869
12870 * ido.el (ido-file-internal): Don't add the name of an existing
12871 directory twice. (Bug#16747)
12872
12873 2014-02-16 Glenn Morris <rgm@gnu.org>
12874
12875 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12876 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12877
12878 2014-02-15 Michael R. Mauger <michael@mauger.com>
12879
12880 * progmodes/sql.el: Version 3.4
12881 (sql-oracle-options): New default value ("-L").
12882 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12883 (sql-placeholders-filter): Correct placeholder pattern.
12884 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12885 (sql-login-delay): New variable.
12886 (sql-product-interactive): Use it.
12887
12888 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12889
12890 * frameset.el (frameset--jump-to-register): Check that buffer is live
12891 (bug#16749).
12892
12893 2014-02-15 Glenn Morris <rgm@gnu.org>
12894
12895 * info.el (info-initialize): Revert 2014-01-10 change.
12896
12897 2014-02-14 Glenn Morris <rgm@gnu.org>
12898
12899 * replace.el (map-query-replace-regexp)
12900 (read-regexp-defaults-function, read-regexp): Doc fixes.
12901
12902 * dired.el (dired-read-regexp):
12903 * faces.el (list-faces-display):
12904 * misearch.el (multi-isearch-read-matching-buffers)
12905 (multi-isearch-read-matching-files):
12906 * play/cookie1.el (cookie-apropos):
12907 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12908
12909 * textmodes/remember.el (remember): Use frameset-to-register
12910 rather than frame-configuration-to-register.
12911
12912 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12913
12914 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12915 incorrect keybinding.
12916
12917 2014-02-13 Daniel Colascione <dancol@dancol.org>
12918
12919 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12920 when adding overlays so that line numbers from compiler match line
12921 numbers we use.
12922
12923 2014-02-13 Glenn Morris <rgm@gnu.org>
12924
12925 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12926
12927 * jit-lock.el (jit-lock-mode): Doc fix.
12928
12929 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12930
12931 * apropos.el (apropos-read-pattern): When the user passes an empty
12932 string, give a more helpful error message than "Wrong type
12933 argument: stringp, nil".
12934
12935 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12936
12937 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12938
12939 2014-02-13 Glenn Morris <rgm@gnu.org>
12940
12941 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12942
12943 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12944
12945 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12946 shift-select commands.
12947
12948 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12949
12950 * progmodes/js.el (js-indent-line): Don't widen.
12951 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12952
12953 2014-02-12 Glenn Morris <rgm@gnu.org>
12954
12955 * icomplete.el (icomplete): Add info-link to defgroup.
12956 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12957 (icomplete-minibuffer-map, icomplete-mode)
12958 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12959
12960 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12961 (package-menu-filter): Rename from package-menu-filter-interactive.
12962 Doc fix.
12963
12964 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12965
12966 * frameset.el (frameset--jump-to-register): Select the required
12967 window and buffer before restoring position (bug#16696).
12968
12969 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12970
12971 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12972
12973 2014-02-10 Glenn Morris <rgm@gnu.org>
12974
12975 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12976
12977 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12978
12979 * w32-common-fns.el (x-get-selection): Doc fix.
12980 * select.el (x-get-selection): Doc fix. (Bug#15109)
12981
12982 * face-remap.el (face-remap-add-relative)
12983 (face-remap-remove-relative, face-remap-reset-base)
12984 (face-remap-set-base): Call force-mode-line-update to redisplay
12985 the current buffer due to potential change in faces. (Bug#16709)
12986
12987 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12988
12989 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12990 script more robustly.
12991
12992 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12993
12994 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12995
12996 * simple.el (choose-completion): Doc fix (bug#14160).
12997
12998 * subr.el (event-start): Say what a nil EVENT value means.
12999
13000 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
13001 (bug#14197).
13002
13003 * progmodes/grep.el (find-program): Doc fix (bug#14289).
13004
13005 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
13006
13007 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
13008
13009 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
13010 predicate function (bug#15455).
13011
13012 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
13013
13014 * ielm.el (inferior-emacs-lisp-mode): Instead of
13015 `comment-use-global-state', set `comment-use-syntax'.
13016
13017 2014-02-10 Glenn Morris <rgm@gnu.org>
13018
13019 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
13020
13021 2014-02-09 Alan Mackenzie <acm@muc.de>
13022
13023 Fix c-invalidate-state-cache on narrowed buffers.
13024 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
13025 Widen when setting and clearing the CPP delimiter properties.
13026
13027 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
13028
13029 * help.el (describe-bindings): Doc fix (bug#9888).
13030
13031 * files.el (save-buffer): Use ARG as the parameter name for
13032 consistency (bug#10346).
13033 (save-buffer): Clarify the 0 argument (bug#10346).
13034
13035 * cus-edit.el (customize-apropos): Fix error string.
13036 (custom-buffer-create): Doc fix (bug#11122).
13037 (custom-sort-items): Doc fix (bug#11121).
13038
13039 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
13040
13041 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
13042 (icomplete-simple-completing-p): Mention the previous variable.
13043
13044 * font-lock.el (font-lock-value-in-major-mode): Clarify the
13045 meaning of the parameter (bug#12282).
13046
13047 * files.el (find-file-noselect): Clarify prompt when changing
13048 readedness (bug#13261).
13049 (locate-file): Suffixes aren't returned, so don't say that they
13050 are (bug#12674).
13051 (backup-inhibited): Doc clarification (bug#12525).
13052
13053 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
13054 before we actually start to delete things (bug#16331).
13055
13056 * subr.el (event-start): Doc fix (bug#14228).
13057 (event-end): Ditto.
13058
13059 2014-02-09 Glenn Morris <rgm@gnu.org>
13060
13061 * emacs-lisp/warnings.el (lwarn):
13062 Empower help-enable-auto-load. (Bug#15940)
13063
13064 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13065
13066 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
13067 (Bug#16690)
13068
13069 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
13070
13071 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13072 Insert output at end of buffer. (Bug#16120)
13073
13074 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13075
13076 * simple.el (choose-completion-string-functions): Document new
13077 calling convention (bug#14153).
13078 (execute-extended-command): Clarify doc string (bug#13373).
13079
13080 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
13081
13082 * find-dired.el (find-name-dired): Doc fix (bug#14290).
13083 (find-grep-dired): Doc fix (bug#14288).
13084
13085 2014-02-08 Juri Linkov <juri@jurta.org>
13086
13087 * isearch.el (isearch-quote-char): Check character validity
13088 like in `quoted-insert' (bug#16677).
13089
13090 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13091
13092 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
13093
13094 * isearch.el (isearch-hide-immediately): Doc clarification
13095 (bug#14723).
13096
13097 * simple.el (line-move): Document utility function used many
13098 places in the Emacs sources (bug#14843).
13099
13100 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
13101 (dired-prev-marked-file): Doc fix (bug#14855).
13102 (dired-up-directory): Doc fix (bug#14848).
13103
13104 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
13105
13106 * files.el (file-relative-name): Doc fix (bug#15159).
13107
13108 * fringe.el (fringe-styles): Doc fix (bug#15239).
13109
13110 * isearch.el (isearch-filter-predicate): Documentation typo fix
13111 (bug#15474).
13112
13113 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
13114
13115 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
13116
13117 * replace.el (replace-match-maybe-edit): Doc clarification
13118 (bug#15632).
13119
13120 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
13121
13122 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
13123
13124 2014-02-08 Glenn Morris <rgm@gnu.org>
13125
13126 * help-fns.el (describe-variable):
13127 Check {file,dir}-local-variables-alist, and buffer-file-name,
13128 in the correct buffer.
13129
13130 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
13131
13132 * help-fns.el (describe-variable): Fix the case where
13133 a value is directory-local with no dir-locals file. (Bug#16635)
13134
13135 2014-02-08 Glenn Morris <rgm@gnu.org>
13136
13137 * abbrev.el (edit-abbrevs-mode):
13138 Derive from fundamental-mode. (Bug#16682)
13139
13140 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
13141
13142 * simple.el (quoted-insert): Check character validity (bug#16677).
13143
13144 2014-02-07 Juri Linkov <juri@jurta.org>
13145
13146 * desktop.el (desktop-read): Claim the lock when the owner is not
13147 the current process. (Bug#16157)
13148
13149 2014-02-07 Juri Linkov <juri@jurta.org>
13150
13151 * desktop.el (desktop-buffers-not-to-save): Change default from nil
13152 to "\\` ". (Bug#16651)
13153
13154 2014-02-07 Juri Linkov <juri@jurta.org>
13155
13156 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
13157 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
13158 (desktop-auto-save-cancel-timer): New function with some code from
13159 `desktop-auto-save-set-timer'.
13160 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
13161 Instead of setting `desktop-save-mode' to nil, call
13162 `desktop-save-mode' with arg 0. (Bug#16630)
13163
13164 2014-02-07 Glenn Morris <rgm@gnu.org>
13165
13166 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
13167 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
13168 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
13169
13170 * obsolete/iswitchb.el: Move to obsolete/.
13171 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
13172 since obsolete/ is not scanned for autoloads.
13173 * emacs-lisp/authors.el (authors-valid-file-names):
13174 Add iswitchb.el.
13175
13176 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
13177 Disable now non-functional find-file-hook.
13178
13179 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
13180
13181 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
13182 instead of ";" in order to avoid additional prompts. Let heredoc
13183 scripts read from tty. (Bug#16582)
13184 (tramp-send-command): No special handling of heredocs, it isn't
13185 necessary anymore.
13186
13187 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
13190 with a space (bug#16664). Limit the symbols considered to the ones
13191 that are bound or fbound (bug#16646).
13192
13193 2014-02-06 Glenn Morris <rgm@gnu.org>
13194
13195 * epa.el (epa-mail-aliases): Doc fix.
13196
13197 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
13198
13199 * emacs-lisp/lisp.el (lisp-completion-at-point):
13200 Use `completion-table-merge' instead of `completion-table-in-turn'
13201 (bug#16604).
13202
13203 * minibuffer.el (completion-table-merge): New function.
13204
13205 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
13206
13207 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13208 (tramp-sh-handle-set-file-acl)
13209 (tramp-sh-handle-start-file-process)
13210 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13211 (tramp-find-executable, tramp-send-command): Use it.
13212
13213 2014-02-05 Glenn Morris <rgm@gnu.org>
13214
13215 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13216
13217 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13218
13219 * progmodes/python.el (python-shell-send-string)
13220 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13221
13222 2014-02-04 Anders Lindgren <andlind@gmail.com>
13223
13224 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13225 the names (bug#16620).
13226
13227 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13228
13229 * faces.el (window-divider): New default value. Rewrite doc-string.
13230 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13231
13232 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13233
13234 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13235 `protected' and `public' can also be called without arguments.
13236
13237 2014-02-03 Glenn Morris <rgm@gnu.org>
13238
13239 * register.el (window-configuration-to-register)
13240 (frame-configuration-to-register): Unadvertise unused argument.
13241 * frameset.el (frameset-to-register): Remove unused argument.
13242
13243 * frameset.el (frameset-to-register):
13244 * kmacro.el (kmacro-to-register):
13245 * register.el (increment-register):
13246 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13247 (calc-append-to-register, calc-prepend-to-register):
13248 * play/gametree.el (gametree-layout-to-register)
13249 (gametree-apply-register-layout):
13250 * textmodes/picture.el (picture-clear-rectangle-to-register)
13251 (picture-yank-rectangle-from-register):
13252 * vc/emerge.el (emerge-combine-versions-register):
13253 Use register-read-with-preview to read registers.
13254
13255 2014-02-03 João Távora <joaotavora@gmail.com>
13256
13257 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13258 when at beginning of (possibly narrowed) buffer.
13259
13260 2014-02-02 Daniel Colascione <dancol@dancol.org>
13261
13262 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13263 Also try to display local help from just before point.
13264
13265 2014-02-02 Alan Mackenzie <acm@muc.de>
13266
13267 c-parse-state. Don't "append-lower-brace-pair" in certain
13268 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13269 recognised as a comment.
13270
13271 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13272 as well as normal comment starter.
13273 (c-parse-state-get-strategy): Extra return possibility
13274 'back-and-forward.
13275 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13276 return value list to indicate replacement of a brace-pair cons
13277 with its car.
13278 (c-parse-state-1): With 'back-and-forward, only call
13279 c-append-lower-brace-pair-to state-cache when cons-separated.
13280
13281 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13282
13283 * term/ns-win.el (ns-suspend-error): New function.
13284 (ns-initialize-window-system): Add ns-suspend-error to
13285 suspend-hook (Bug#16612).
13286
13287 2014-02-02 Daniel Colascione <dancol@dancol.org>
13288
13289 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13290 Make loading cc-mode silent.
13291
13292 2014-02-02 Daniel Colascione <dancol@dancol.org>
13293
13294 * comint.el (comint-prompt-read-only): Change doc to suggest
13295 remap keybinding.
13296
13297 2014-02-02 Glenn Morris <rgm@gnu.org>
13298
13299 * register.el (register-read-with-preview, point-to-register)
13300 (window-configuration-to-register, frame-configuration-to-register)
13301 (jump-to-register, number-to-register, view-register, insert-register)
13302 (copy-to-register, append-to-register, prepend-to-register)
13303 (copy-rectangle-to-register): Doc fixes.
13304
13305 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13306
13307 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13308 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13309 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13310 * help-fns.el (describe-function-1): Use it.
13311
13312 2014-02-02 Glenn Morris <rgm@gnu.org>
13313
13314 * register.el (register-preview-default): New function,
13315 split from register-preview.
13316 (register-preview-function): Rename from register-preview-functions,
13317 make it not a hook.
13318 (register-preview): Use register-preview-function.
13319 (register-read-with-preview): Error on non-character event. (Bug#16595)
13320
13321 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13322
13323 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13324 `:' before binary operators (bug#16609). Don't check for `:'
13325 before `[' and `(', or their syntax status. A percent literal
13326 can't end with either.
13327 (ruby-font-lock-keywords): For built-ins that require arguments,
13328 check that they're followed by something that looks like argument
13329 (bug#16610).
13330
13331 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13332
13333 * subr.el (butlast): Document what an omitted N means (bug#13437).
13334 (nbutlast): Ditto.
13335
13336 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13337
13338 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13339 depth shallower (bug#16587).
13340 (shr-tag-svg): Respect `shr-inhibit-images'.
13341 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13342
13343 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13344
13345 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13346 (ruby-smie-grammar): Make "." right-associative. Make its priority
13347 lower than the ternary and all binary operators.
13348 (ruby-smie-rules): Indent "(" relative to the first non-"."
13349 parent, or the first "." parent at indentation.
13350 Use `ruby-align-chained-calls' for indentation of "." tokens.
13351 (Bug#16593)
13352
13353 2014-01-31 Juri Linkov <juri@jurta.org>
13354
13355 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13356 from `make-hash-table'.
13357
13358 * textmodes/ispell.el (ispell-init-process): Change message format
13359 to be consistent with other messages.
13360
13361 2014-01-31 Glenn Morris <rgm@gnu.org>
13362
13363 * delsel.el (delete-selection-mode): Doc fix.
13364
13365 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13366 (trace-function-background): Doc fixes.
13367
13368 * ido.el (ido-use-virtual-buffers): Doc fix.
13369 Reset :version, since the default value has not changed.
13370
13371 * register.el (register-preview-delay, register-read-with-preview):
13372 Doc fixes.
13373
13374 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13375 do not mess with mail-buffer position (fixes 2009-11-03 change).
13376 * progmodes/cc-mode.el (c-submit-bug-report):
13377 Check auto-fill-mode is bound. (Bug#16592)
13378
13379 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13380
13381 * startup.el (fancy-splash-image-file): New function,
13382 split from fancy-splash-head.
13383 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13384 so that we are both using the same image. (Bug#16574)
13385
13386 2014-01-30 Glenn Morris <rgm@gnu.org>
13387
13388 * simple.el (eval-expression): Doc fix.
13389
13390 * hexl.el (hexl-mode-hook):
13391 * ielm.el (ielm-mode-hook):
13392 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13393 (lisp-interaction-mode-hook):
13394 * progmodes/cfengine.el (cfengine3-documentation-function):
13395 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13396
13397 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13398
13399 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13400 is a symbol (bug#16584).
13401
13402 2014-01-30 Glenn Morris <rgm@gnu.org>
13403
13404 * help.el (help-for-help-internal): Add "P" to text.
13405
13406 2014-01-29 Glenn Morris <rgm@gnu.org>
13407
13408 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13409
13410 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13411
13412 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13413 height constraints.
13414
13415 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13416
13417 * progmodes/hideif.el: Extend to full CPP expression syntax.
13418 (hif-token-alist): Add missing tokens.
13419 (hif-token-regexp): Add support for float/octal/hex immediates.
13420 (hif-string-literal-regexp): New const.
13421 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13422 (hif-exprlist): New function.
13423 (hif-parse-if-exp): Use it.
13424 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13425 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13426 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13427 (hif-logxor, hif-comma): New functions.
13428
13429 2014-01-28 Glenn Morris <rgm@gnu.org>
13430
13431 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13432
13433 * indent.el (tab-stop-list): Doc fix. Add :version.
13434
13435 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13436 (cvs-append-to-ignore): Add compatibility alias.
13437
13438 2014-01-27 Glenn Morris <rgm@gnu.org>
13439
13440 * dired.el (dired-hide-details-mode): Don't autoload it,
13441 since it cannot be used outside Dired buffers anyway.
13442
13443 * emulation/cua-base.el (cua-mode): Doc fix.
13444
13445 * dired.el (dired-hide-details-hide-symlink-targets)
13446 (dired-hide-details-hide-information-lines)
13447 (dired-hide-details-mode): Doc fixes.
13448
13449 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13450 * strokes.el (strokes-file): Doc fix. Bump :version.
13451 (strokes-help): Doc fix.
13452 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13453 * emulation/viper.el (viper): Doc fix for custom group.
13454 (top-level): Remove oh-so-no-longer-relevant text about vip.
13455 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13456
13457 * ido.el (ido-save-directory-list-file):
13458 * saveplace.el (save-place-file):
13459 * calendar/timeclock.el (timeclock-file):
13460 * net/quickurl.el (quickurl-url-file):
13461 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13462 * progmodes/idlwave.el (idlwave-config-directory):
13463 * textmodes/remember.el (remember-data-file):
13464 Bump :version.
13465
13466 2014-01-26 Glenn Morris <rgm@gnu.org>
13467
13468 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13469 Doc fix. Make obsolete.
13470 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13471
13472 * sort.el (delete-duplicate-lines): Doc fix.
13473
13474 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13475
13476 * progmodes/ada-mode.el (ada):
13477 * woman.el (woman): Link to info manual and Commentary section.
13478
13479 * progmodes/flymake.el (flymake):
13480 * nxml/nxml-mode.el (nxml):
13481 * net/eww.el (eww):
13482 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13483 * htmlfontify.el (htmlfontify):
13484 * ses.el (ses):
13485 * epa.el (epa):
13486 * ido.el (ido): Link to info manual.
13487
13488 2014-01-25 Leo Liu <sdl.web@gmail.com>
13489
13490 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13491
13492 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13493
13494 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13495 (bug#16537).
13496
13497 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13498
13499 * net/eww.el (eww-download-callback):
13500 Fix reference to eww-download-directory.
13501
13502 * emacs-lisp/bytecomp.el (byte-compile-file):
13503 Remove unused local variable `file-name'.
13504
13505 2014-01-24 Glenn Morris <rgm@gnu.org>
13506
13507 * woman.el (woman-default-faces, woman-monochrome-faces):
13508 Fix obsolescence specification.
13509
13510 * subr.el (with-demoted-errors): Doc fix.
13511
13512 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13515 (cl--macroexp-fboundp): New function.
13516 (cl--make-type-test): Use it.
13517
13518 2014-01-23 Glenn Morris <rgm@gnu.org>
13519
13520 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13521 * simple.el (eval-expression): Doc fixes.
13522
13523 2014-01-22 Glenn Morris <rgm@gnu.org>
13524
13525 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13526
13527 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13528
13529 * emacs-lisp/package.el: Write files silently.
13530 (package-autoload-ensure-default-file, package--write-file-no-coding)
13531 (package-generate-description-file, package--download-one-archive)
13532 (package-install-from-archive): Tell `write-region' to stay quiet.
13533 (package-menu-mode, package-menu--print-info): Omit the Archive column
13534 if there's only one archive.
13535 (package-all-keywords, package--has-keyword-p): Remove dead code.
13536
13537 2014-01-22 Glenn Morris <rgm@gnu.org>
13538
13539 * version.el (emacs-bzr-version-bzr): Fix typo.
13540
13541 * version.el (emacs-repository-get-version):
13542 Check either .bzr or .git, but not both.
13543 Make the git case actually use the DIR argument, and return nil
13544 rather than the empty string.
13545 Avoid error if .git exists but the git executable is not found.
13546
13547 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13548
13549 Fixes in window size functions around Bug#16430 and Bug#16470.
13550 * window.el (window-total-size, window-size): New argument ROUND.
13551 (window--min-delta-1, window-min-delta, window--max-delta-1):
13552 Be more conservative when calculating the numbers of lines or
13553 columns a window can shrink (Bug#16430).
13554 (fit-window-to-buffer): Simplify code.
13555 * term.el (term-window-width): Call window-body-width again.
13556
13557 2014-01-22 Glenn Morris <rgm@gnu.org>
13558
13559 * image.el (image-format-suffixes): Doc fix.
13560
13561 * international/quail.el (quail-define-package): Doc fix.
13562
13563 * emacs-lisp/authors.el (authors-valid-file-names)
13564 (authors-renamed-files-alist): Additions.
13565
13566 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13567 reverts 2014-01-09 change. (Bug#16422)
13568
13569 * calc/calc-embed.el (thing-at-point-looking-at):
13570 * emacs-lisp/map-ynp.el (x-popup-dialog):
13571 * obsolete/lmenu.el (x-popup-dialog):
13572 * emacs-lisp/package.el (url-recreate-url):
13573 * mail/mailclient.el (clipboard-kill-ring-save):
13574 * subr.el (x-popup-dialog): Update declaration.
13575 * mail/rmail.el (rmail-mime-message-p):
13576 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13577
13578 2014-01-21 Daniel Colascione <dancol@dancol.org>
13579
13580 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13581 Correctly detect when we're inside an arithmetic expansion form
13582 containing nested parenthesis.
13583 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13584 to detect cases where we shouldn't expand "<<" to a heredoc
13585 skeleton.
13586
13587 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13590 (eldoc--message-command-p): New function.
13591 (eldoc-display-message-p): Use it.
13592 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13593 message is not automatically erased for us.
13594 (eldoc-print-current-symbol-info): Erase previous message, if any.
13595
13596 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13597
13598 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13599 specify it's an interactive function.
13600
13601 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13602 Fix regex used for scanning for citation keys which failed for
13603 citations with optional arguments.
13604
13605 2014-01-21 Leo Liu <sdl.web@gmail.com>
13606
13607 * simple.el (read--expression): Don't enable eldoc-mode.
13608
13609 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * simple.el (move-beginning-of-line): Make sure we don't move forward
13612 (bug#16497).
13613
13614 2014-01-20 Juri Linkov <juri@jurta.org>
13615
13616 * saveplace.el (toggle-save-place, save-place-to-alist)
13617 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13618 'dired-mode) before checking for dired-directory. (Bug#16477)
13619
13620 2014-01-20 Juri Linkov <juri@jurta.org>
13621
13622 * indent.el (indent-line-to): Use backward-to-indentation
13623 instead of back-to-indentation. (Bug#16461)
13624
13625 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13626
13627 Revert some of the CANNOT_DUMP fix (Bug#16494).
13628 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13629 but fixing this can wait until after the next release.
13630 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13631
13632 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13633
13634 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13635 Use `password-word-equivalents'.
13636 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13637 to t. (Bug#5664, Bug#13124)
13638
13639 2014-01-19 Alan Mackenzie <acm@muc.de>
13640
13641 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13642 points.
13643 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13644 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13645 * progmodes/cc-mode.el (c-before-change, c-after-change)
13646 (c-font-lock-fontify-region): Bind it here.
13647
13648 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13649
13650 * term.el (term-window-width): Call window-text-width instead of
13651 window-width (Bug#16470).
13652
13653 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13654
13655 * simple.el (password-word-equivalents): Remove duplicates.
13656 Sort, to make this easier next time.
13657 Downcase. Omit ": " after "jelszó".
13658
13659 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13660
13661 * term/common-win.el (saved-region-selection): Defvar it.
13662 (x-select-text): Set saved-region-selection (Bug#16382).
13663
13664 2014-01-18 Glenn Morris <rgm@gnu.org>
13665
13666 * emacs-lisp/authors.el (authors-aliases)
13667 (authors-renamed-files-alist): Add some entries.
13668
13669 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13670
13671 * net/tramp.el (tramp-password-prompt-regexp):
13672 Use `password-word-equivalents' if available.
13673 (tramp-action-password, tramp-process-one-action)
13674 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13675
13676 2014-01-17 Chong Yidong <cyd@gnu.org>
13677
13678 * simple.el (password-word-equivalents): New defcustom.
13679 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13680 to 24.4.
13681 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13682 to t. (Bug#13124)
13683
13684 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13685
13686 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13687 (ruby-align-to-stmt-keywords): Change the default value.
13688 Use `ruby-alignable-keywords' to generate the possible customization
13689 choices.
13690 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13691 keywords, check against the value of `ruby-alignable-keywords'
13692 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13693
13694 2014-01-17 Glenn Morris <rgm@gnu.org>
13695
13696 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13697
13698 Make M-x authors return zero *Authors Errors* from current logs.
13699 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13700 (authors-ignored-files): Add some entries, remove others.
13701 (authors-ambiguous-files, authors-valid-file-names):
13702 Add some entries.
13703 (authors-renamed-files-alist): Add, remove, and adjust entries.
13704 (authors-renamed-files-regexps): Add some entries.
13705 Remove some very broad ones. Make some entries `lax'.
13706 (authors-lax-changelogs): New constant.
13707 (authors-disambiguate-file-name): Treat top-level specially.
13708 (authors-lax-changelog-p): New function.
13709 (authors-canonical-file-name): Check file as written against
13710 authors-valid-file-names. Do not special-case etc/.
13711 Handle `lax' logs and authors-renamed-files-regexps elements.
13712
13713 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13714
13715 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13716 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13717 callers.
13718
13719 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13722 Assume we're already in the proper buffer.
13723 Inspired by Anders Lindgren <andlind@gmail.com>.
13724 (follow-post-command-hook): Call it from the right buffer.
13725 (follow-comint-scroll-to-bottom): Adjust call.
13726 (follow-all-followers): Use get-buffer-window-list.
13727
13728 2014-01-15 Daniel Colascione <dancol@dancol.org>
13729
13730 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13731 `buffer-file-name' in interactive-form so that we don't leave
13732 pathless file names in `file-name-history'.
13733
13734 2014-01-15 Juri Linkov <juri@jurta.org>
13735
13736 * indent.el (indent-rigidly): Set deactivate-mark to nil
13737 in transient indentation mode. (Bug#16438)
13738
13739 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13740
13741 * emacs-lisp/package.el (package-desc-keywords): New function
13742 (Bug#16222).
13743 (describe-package-1, package-all-keywords)
13744 (package--has-keyword-p): Use it.
13745
13746 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13747
13748 * simple.el (define-alternatives): When creating the
13749 COMMAND-alternatives variable, assign COMMAND as its definition
13750 name so that `describe-variable' can relocate it.
13751
13752 2014-01-14 Matthew Leach <matthew@mattleach.net>
13753
13754 * font-lock.el (font-lock-keywords): Fix typo in docstring
13755 (bug#16307).
13756
13757 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13758
13759 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13760 line instead of wrongly reset `add-coment' (bug#13577).
13761
13762 2014-01-14 Daiki Ueno <ueno@gnu.org>
13763
13764 * epa-file.el (epa-file-write-region): Encode the region according
13765 to `buffer-file-format'. Problem reported at:
13766 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13767
13768 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13769
13770 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13771 so it applies in the right buffer (bug#16410).
13772
13773 2014-01-13 Daniel Colascione <dancol@dancol.org>
13774
13775 * textmodes/rst.el (rst-define-key): Provide deprecated
13776 keybindings through named functions instead of anonymous ones so
13777 that "??" doesn't appear in describe-mode output.
13778
13779 2014-01-13 Bastien Guerry <bzg@gnu.org>
13780
13781 * simple.el (define-alternatives): Call the selected command
13782 interactively. When setting `COMMAND--implementation' for the
13783 first time, tell the user how to chose another implementation.
13784 Enhance the docstring.
13785
13786 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13787
13788 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13789 (log-edit--match-first-line): New function.
13790 (log-edit-font-lock-keywords): Use it.
13791 (log-edit-mode): Make jit-lock-defer-multiline work.
13792
13793 2014-01-13 Bastien Guerry <bzg@gnu.org>
13794
13795 * rect.el (rectangle-mark-mode): When the region is not active,
13796 display a message saying that the mark as been set and that
13797 rectangle mode is in use.
13798 (rectangle--highlight-for-redisplay): Only put an overlay with a
13799 visible vertical bar when (display-graphic-p) is non-nil.
13800 This partially fixes Bug#16403.
13801
13802 2014-01-13 Juri Linkov <juri@jurta.org>
13803
13804 * info.el (Info-find-file): Go to DIR before displaying the error
13805 about a nonexistent file if no previous Info file is visited.
13806 Use `user-error' instead of `error' for "Info file %s does not exist".
13807 (Info-find-node-2): In case of a nonexistent node in unwind forms
13808 go to the Top node if there is no previous node to revert to.
13809 (Bug#16405)
13810
13811 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13812
13813 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13814 * window.el (fit-frame-to-buffer): Fix doc-string.
13815 Respect window-min-height/-width. Fit pixelwise when
13816 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13817 when avoiding that frame goes partially off-screen.
13818 (fit-window-to-buffer): Respect window-min-height/-width
13819 (Bug#14096).
13820
13821 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13822
13823 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13824 after an empty line.
13825
13826 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13827
13828 * net/shr.el (shr-render-region): Autoload.
13829
13830 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13831
13832 * net/eww.el (eww-download-directory): Rename from
13833 `eww-download-path' (Bug#16419).
13834
13835 2014-01-12 Leo Liu <sdl.web@gmail.com>
13836
13837 * dired-x.el (dired-mode-map): Fix last change.
13838
13839 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13840
13841 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13842
13843 Spelling fixes.
13844 * emacs-lisp/generic.el (generic--normalize-comments):
13845 Rename from generic--normalise-comments. All uses changed.
13846 * play/bubbles.el (bubbles--neighborhood-score)
13847 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13848 (bubbles--neighborhood-available)
13849 (bubbles--update-neighborhood-score):
13850 Rename from names with 'neighbourhood'. All uses changed.
13851
13852 2014-01-12 Leo Liu <sdl.web@gmail.com>
13853
13854 Re-implement the feature of showing eldoc info after editing.
13855 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13856 (eldoc-edit-message-commands): New function.
13857 (eldoc-print-after-edit): New variable.
13858 (eldoc-pre-command-refresh-echo-area): Emit message only by
13859 eldoc-message-commands.
13860 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13861 if eldoc-print-after-edit is set. (Bug#16346)
13862 * simple.el (read--expression): Enable eldoc-mode.
13863 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13864
13865 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13866 Eric S. Raymond <esr@thyrsus.com>
13867
13868 * version.el (emacs-repository-get-version): Enhance so the
13869 function works correctly in either a Bazaar or Git repo.
13870
13871 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13872
13873 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13874 Goes with removal of the joke manpages from /etc.
13875
13876 2014-01-10 Kenichi Handa <handa@gnu.org>
13877
13878 * mail/rmail.el (rmail-get-coding-system):
13879 Check rmail-get-coding-function before "funcall"ing it.
13880
13881 2014-01-10 Glenn Morris <rgm@gnu.org>
13882
13883 * emacs-lisp/authors.el (authors-fixed-entries):
13884 Update for files that no longer exist.
13885
13886 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13887
13888 * version.el (emacs-bzr-get-version): Restore compatibilty with
13889 24.3 (Tested).
13890
13891 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13892
13893 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13894 and Podfile.
13895
13896 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13897
13898 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13899
13900 2014-01-10 Chong Yidong <cyd@gnu.org>
13901
13902 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13903
13904 2014-01-10 Anders Lindgren <andlind@gmail.com>
13905
13906 * follow.el (follow-cache-command-list): Include right-char and
13907 left-char.
13908
13909 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13910
13911 Spelling fixes.
13912 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13913 * woman.el (woman-mark-horizontal-position):
13914 Rename from woman-mark-horizonal-position. Use changed.
13915
13916 2014-01-10 Glenn Morris <rgm@gnu.org>
13917
13918 * info.el (info-initialize): If running uninstalled, ensure our
13919 own info files are always found first, even if INFOPATH is set.
13920
13921 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13922
13923 2014-01-09 David Engster <deng@randomsample.de>
13924
13925 * emacs-lisp/eieio-custom.el:
13926 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13927 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13928 * emacs-lisp/eieio.el: Regenerate autoloads.
13929
13930 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13931
13932 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13933 following renames. (Bug#8756)
13934
13935 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13938 (bug#16382).
13939 (activate-mark): Add `no-tmm' argument.
13940 (set-mark, push-mark-command): Use it instead of running
13941 activate-mark-hook by hand.
13942
13943 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13944
13945 In preparation for the move to git, sanitize out some
13946 Bazaar-specific names.
13947
13948 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13949
13950 * version.el (emacs-bzr-version): Name changed to
13951 emacs-repository-version. Obsolete-variable alias made.
13952 * loadup.el: Follow through on this name change.
13953 * mail/emacsbug.el (report-emacs-bug): Factor out any
13954 assumption about the version control system in use.
13955
13956 2014-01-08 David Engster <deng@randomsample.de>
13957
13958 * help-fns.el (help-fns-describe-function-functions):
13959 New variable to call functions for augmenting help buffers.
13960 (describe-function-1): Remove explicit calls to
13961 `help-fns--compiler-macro', `help-fns--parent-mode' and
13962 `help-fns--obsolete'. Put them in above new variable instead, and
13963 call them through `run-hook-with-args'.
13964 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13965 `eieio-describe-class'. Not meant for interactive use anymore,
13966 but to augment existing help buffers. Remove optional second
13967 argument. Create proper button for file location.
13968 Rewrite function to use `insert' instead of `princ' and `prin1' where
13969 possible.
13970 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13971 (eieio-method-def, eieio-class-def): Move further up.
13972 (describe-method, describe-generic, eieio-describe-method):
13973 Remove aliases.
13974 (eieio-help-constructor, eieio-help-generic): Rename from
13975 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13976 Rewrite to use `insert' in the current buffer and use proper help
13977 buttons.
13978 (eieio-help-find-method-definition)
13979 (eieio-help-find-class-definition): Also accept symbols as
13980 arguments.
13981 (eieio-help-mode-augmentation-maybee): Remove.
13982 (eieio-describe-class-sb): Use `describe-function'.
13983 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13984 Add `eieio-help-generic' and `eieio-help-constructor'.
13985
13986 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13987
13988 Spelling fixes.
13989 * language/china-util.el (hz-ascii-designation):
13990 Rename from hz-ascii-designnation.
13991 (hz-ascii-designation): Rename from hz-ascii-designnation.
13992 All uses changed.
13993
13994 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13997 package-alist.
13998
13999 2014-01-08 Bastien Guerry <bzg@gnu.org>
14000
14001 * emacs-lisp/package.el (package-delete):
14002 Correctly delete the package from package-alist.
14003
14004 2014-01-08 Daiki Ueno <ueno@gnu.org>
14005
14006 * emacs-lisp/package.el (url-recreate-url): Declare.
14007 (url-http-target-url): Declare.
14008 (package-handle-response): Include requested URL in the error message.
14009 (package--check-signature): Don't re-signal errors from
14010 package--with-work-buffer. Suggested by Stefan Monnier.
14011
14012 2014-01-07 Bastien Guerry <bzg@gnu.org>
14013
14014 * minibuffer.el (completion--try-word-completion): When both a
14015 hyphen and a space are possible candidates for the character
14016 following a word, display both candidates. (Bug#15980)
14017
14018 2014-01-07 Martin Rudalics <rudalics@gmx.at>
14019
14020 * window.el (balance-windows-2): While rounding don't give a
14021 window more than the remainder. Bug#16351, bug#16383.
14022
14023 2014-01-07 Glenn Morris <rgm@gnu.org>
14024
14025 * menu-bar.el (menu-bar-help-extra-packages): Remove.
14026 (menu-bar-help-menu): Use view-external-packages instead.
14027
14028 2014-01-07 Bastien Guerry <bzg@gnu.org>
14029
14030 * emacs-lisp/package.el (package-delete): Also delete the package
14031 name from `package-alist', not its description only.
14032
14033 2014-01-07 Glenn Morris <rgm@gnu.org>
14034
14035 * help.el (view-external-packages):
14036 * menu-bar.el (menu-bar-help-extra-packages):
14037 Visit efaq.info rather than etc/MORE.STUFF.
14038
14039 2014-01-07 Juri Linkov <juri@jurta.org>
14040
14041 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
14042 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
14043
14044 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
14045 that shadows RET. (Bug#16342)
14046
14047 2014-01-07 Chong Yidong <cyd@gnu.org>
14048
14049 * isearch.el (isearch-yank-char, isearch-yank-word)
14050 (isearch-yank-line): Doc fix.
14051
14052 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
14055 * emacs-lisp/elint.el (elint-find-builtins):
14056 * emacs-lisp/eldoc.el (eldoc-symbol-function):
14057 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
14058 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
14059 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
14060 * apropos.el (apropos-safe-documentation):
14061 * subr.el (symbol-file): Remove redundant fboundp.
14062 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
14063
14064 2014-01-06 Bastien Guerry <bzg@gnu.org>
14065
14066 * hl-line.el (global-hl-line-overlay): Make a local variable.
14067 (global-hl-line-overlays): New variable to store all overlays.
14068 (global-hl-line-mode): Don't delete overlays from the current
14069 buffer when `global-hl-line-sticky-flag' is non-nil.
14070 (global-hl-line-highlight): Add new overlays to
14071 `global-hl-line-overlays'.
14072 (global-hl-line-unhighlight-all): New function to delete all
14073 overlays when turning off `global-hl-line-mode'.
14074 This fixes Bug#16183.
14075
14076 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14077
14078 * subr.el (set-transient-map): Fix nested case and docstring.
14079
14080 2014-01-06 Tassilo Horn <tsdh@gnu.org>
14081
14082 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
14083 `Texinfo' entry.
14084
14085 2014-01-06 Daniel Colascione <dancol@dancol.org>
14086
14087 Fix defun navigation in vc log view.
14088
14089 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
14090 like `beginning-of-defun'.
14091 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
14092 log-view-end-of-defun to log-view-end-of-defun-1. Replace
14093 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
14094 (log-view-extract-comment): Call `log-view-current-entry' directly
14095 instead of relying on broken `log-view-beginning-of-defun' behavior.
14096
14097 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
14098
14099 Spelling fixes.
14100 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
14101 * emacs-lisp/debug.el (cancel-debug-on-entry):
14102 * epg.el (epg-error-to-string):
14103 * files.el (recover-file):
14104 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
14105 * mail/emacsbug.el (report-emacs-bug-hook):
14106 * mail/sendmail.el (mail-recover):
14107 * ses.el (ses-yank-resize):
14108 * term/ns-win.el (ns-print-buffer):
14109 Spelling fixes in diagnostics, mostly for "canceled" with one L.
14110 * epg.el (epg-key-capability-alist): Rename from misspelled version.
14111 All uses changed.
14112 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
14113
14114 2014-01-06 Leo Liu <sdl.web@gmail.com>
14115
14116 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
14117 to avoid shadowing global key. (Bug#16354)
14118
14119 2014-01-06 Daniel Colascione <dancol@dancol.org>
14120
14121 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
14122 rst-mode.
14123
14124 2014-01-05 Martin Rudalics <rudalics@gmx.at>
14125
14126 * window.el (balance-windows): Add mising t to fix Bug#16351.
14127
14128 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14129
14130 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
14131 (bug#16285).
14132 (shr-insert): If we have a word that's longer than `shr-width',
14133 break after it anyway. Otherwise we'll do no breaking once we get
14134 such a long word.
14135
14136 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14137
14138 * net/eww.el (eww): Support single/double quote for search.
14139 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
14140 (eww-history-quit): Delete and use quit-window.
14141 (eww-history-kill): Delete, because it doesn't work well and
14142 not necessary.
14143 (eww-history-mode-map): Delete some keys and add easy-menu.
14144
14145 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
14146
14147 Fix misspelling of 'chinese' in rx (Bug#16237).
14148 * emacs-lisp/rx.el (rx-categories): Correct spelling of
14149 chinese-two-byte.
14150
14151 Change subword regexps back to vars (Bug#16296).
14152 * progmodes/subword.el (subword-forward-regexp)
14153 (subword-backward-regexp): Change these back to variables.
14154
14155 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
14158 syntax-begin-function (bug#16247).
14159
14160 2014-01-03 Chong Yidong <cyd@gnu.org>
14161
14162 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
14163 (advice--docstring): Delete variable.
14164 (advice--make-1): Leave the docstring empty.
14165 (advice-add): Use function-documentation for advised docstring.
14166
14167 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
14168 Ignore function-documentation property when getting documentation.
14169 (ad-activate-advised-definition): Use function-documentation
14170 generate the docstring.
14171 (ad-make-advised-definition): Don't call
14172 ad-make-advised-definition-docstring.
14173 (ad-make-advised-definition-docstring, ad-advised-definition-p):
14174 Delete functions.
14175
14176 * progmodes/sql.el (sql-help): Use function-documentation instead
14177 of dynamic-docstring-function property. No need to autoload now.
14178 (sql--help-docstring): New variable.
14179 (sql--make-help-docstring): Use it.
14180
14181 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14182
14183 * ielm.el (ielm-tab): Retarget.
14184 (ielm-map): Use ielm-tab for tab.
14185 (ielm-complete-filename): Use comint-filename-completion.
14186 (ielm-complete-symbol): Remove.
14187 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
14188 remove ielm-tab from completion-at-point-functions (bug#16224).
14189
14190 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
14191 Beware signals raised by predicates (bug#16201).
14192
14193 2014-01-02 Richard Stallman <rms@gnu.org>
14194
14195 * dired-aux.el (dired-do-print): Handle printer-name.
14196
14197 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14198 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14199 (rmail-epa-decrypt): Turn off mime processing.
14200
14201 * mail/rmail.el (rmail-make-in-reply-to-field):
14202 Add parens in message-id.
14203
14204 * mail/rmail.el (rmail-get-coding-function): Variable.
14205 (rmail-get-coding-system): Use it.
14206
14207 2013-12-31 Eli Zaretskii <eliz@gnu.org>
14208
14209 * international/mule-conf.el: Unify the charset indian-is13194.
14210 (indian-is13194): Specify unify-map.
14211
14212 2013-12-31 Leo Liu <sdl.web@gmail.com>
14213
14214 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
14215
14216 2013-12-30 Daniel Colascione <dancol@dancol.org>
14217
14218 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14219 of printing a useless when we resume from sleep.
14220
14221 * progmodes/sh-script.el
14222 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14223 in indentation code. (Bug#16233)
14224
14225 2013-12-28 João Távora <joaotavora@gmail.com>
14226
14227 * elec-pair.el (electric-pair-post-self-insert-function):
14228 Don't open extra newlines at beginning of buffer. (Bug#16272)
14229
14230 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14231
14232 * frame.el (window-system-for-display): Don't allow to create a
14233 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14234
14235 2013-12-28 Glenn Morris <rgm@gnu.org>
14236
14237 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14238 Update callers.
14239
14240 * apropos.el (apropos-match-face):
14241 * calculator.el (calculator-displayer):
14242 * dabbrev.el (dabbrev-search-these-buffers-only):
14243 * face-remap.el (buffer-face-mode-face):
14244 * simple.el (yank-handled-properties):
14245 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14246 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14247 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14248 (hashcash-double-spend-database):
14249 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14250 (ruby-deep-indent-paren-style):
14251 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14252 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14253 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14254 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14255 Specify custom types.
14256
14257 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14258 * bookmark.el (bookmark-bmenu-use-header-line):
14259 * doc-view.el (doc-view-scale-internally):
14260 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14261 * register.el (register-preview-delay):
14262 * net/shr.el (shr-bullet):
14263 * progmodes/cfengine.el (cfengine-cf-promises)
14264 (cfengine-parameters-indent):
14265 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14266 * textmodes/reftex-vars.el (reftex-label-regexps):
14267 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14268
14269 * net/tls.el (tls-certtool-program): Fix default value.
14270
14271 * desktop.el (desktop-restore-in-current-display):
14272 * newcomment.el (comment-empty-lines):
14273 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14274 (idlwave-pad-keyword):
14275 * progmodes/tcl.el (tcl-tab-always-indent):
14276 * textmodes/reftex-vars.el (reftex-index-default-tag):
14277 * elec-pair.el (electric-pair-skip-whitespace):
14278 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14279
14280 * emacs-lisp/authors.el (authors-ignored-files)
14281 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14282
14283 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14284
14285 * shell.el (shell-dynamic-complete-command): Doc fix.
14286 (shell--command-completion-data): Shell completion now matches
14287 executable filenames from the current buffer's directory, on
14288 systems in which this behavior is the default (windows-nt, ms-dos).
14289
14290 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14291
14292 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14293
14294 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14297 (bug#16251).
14298
14299 * electric.el: Move all electric-pair-* to elec-pair.el.
14300 * elec-pair.el: New file, split from electric.el.
14301
14302 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14303
14304 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14305 indentation level is larger than the width, because that will
14306 infloop.
14307 (shr-insert): Fill repeatedly long texts, so that Japanese is
14308 formatted correctly (bug#16263).
14309 (shr-find-fill-point): Off by one error in comparison with the
14310 indentation.
14311
14312 2013-12-26 João Távora <joaotavora@gmail.com>
14313
14314 * electric.el (electric-pair-mode): More flexible engine for skip-
14315 and inhibit predicates, new options for pairing-related functionality.
14316 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14317 if that keeps or improves their balance in buffers.
14318 (electric-pair-delete-adjacent-pairs): Delete the pair when
14319 backspacing over adjacent matched delimiters.
14320 (electric-pair-open-extra-newline): Open extra newline when
14321 inserting newlines between adjacent matched delimiters.
14322 (electric--sort-post-self-insertion-hook):
14323 Sort post-self-insert-hook according to priority values when
14324 minor-modes are activated.
14325 * simple.el (newline-and-indent): Call newline with interactive
14326 set to t.
14327 (blink-paren-post-self-insert-function): Set priority to 100.
14328 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14329 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14330 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14331 electric-pair-open-newline-between-pairs to nil.
14332
14333 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14334
14335 * progmodes/python.el: Use lexical-binding.
14336 (python-nav-beginning-of-defun): Stop searching ASAP.
14337
14338 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14339
14340 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14341 Fix interactive spec. Doc fix. (Bug#15754)
14342
14343 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14344
14345 * emacs-lisp/byte-run.el (eval-when-compile):
14346 * progmodes/cc-defs.el (cc-eval-when-compile):
14347 Fix edebug spec (bug#16184).
14348
14349 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14350
14351 * net/shr.el (shr-visit-file): Remove debugging function.
14352 (shr-insert): Don't infloop if we can't find a good place to break
14353 the line (bug#16256).
14354
14355 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14356
14357 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14358 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14359 python-nav-lisp-forward-sexp-safe.
14360 (python-nav--forward-sexp): New argument SAFE allows switching
14361 forward sexp movement behavior for parens.
14362 (python-nav-forward-sexp): Throw errors on unterminated parens
14363 (Bug#16191).
14364 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14365 (python-nav-backward-sexp-safe): New functions.
14366 (python-shell-buffer-substring):
14367 Use `python-nav-forward-sexp-safe'.
14368
14369 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14370
14371 * net/shr.el (shr-find-fill-point): Don't break lines before a
14372 quotation mark.
14373 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14374 (shr-find-fill-point): Remove the special checks for the quotation
14375 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14376
14377 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14378
14379 * net/eww.el (eww-form-textarea): Use a different face for
14380 textareas than text input since they have different keymaps
14381 (bug#16142).
14382
14383 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14384
14385 * progmodes/python.el (python-nav-beginning-of-statement):
14386 Speed up (Bug#15295).
14387
14388 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14389
14390 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14391 the window configuration.
14392
14393 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14394
14395 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14396 we run on MS-Windows or MS-DOS.
14397
14398 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14399
14400 * window.el (balance-windows-area): Call window-size instead of
14401 window-height and window-width. Bug#16241.
14402
14403 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14404
14405 * net/eww.el (eww-bookmark-quit): Remove.
14406 (eww-bookmark-browse): Restore the window configuration when you
14407 choose a bookmark (bug#16144).
14408
14409 2013-12-24 Daniel Colascione <dancol@dancol.org>
14410
14411 * icomplete.el: Remove redundant :group arguments to `defcustom'
14412 throughout.
14413 (icomplete-show-matches-on-no-input): New customizable variable.
14414 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14415 we have something to show.
14416 (icomplete-exhibit): Compute completions even if we have no user input.
14417
14418 2013-12-23 Daniel Colascione <dancol@dancol.org>
14419
14420 * icomplete.el: Move `provide' to end of file.
14421
14422 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14423
14424 * net/gnutls.el (gnutls-verify-error): Add version tag.
14425
14426 2013-12-23 Chong Yidong <cyd@gnu.org>
14427
14428 * subr.el (set-transient-map): Rename from
14429 set-temporary-overlay-map. Doc fix.
14430
14431 * face-remap.el (text-scale-adjust):
14432 * indent.el (indent-rigidly):
14433 * kmacro.el (kmacro-call-macro):
14434 * minibuffer.el (minibuffer-force-complete):
14435 * repeat.el (repeat):
14436 * simple.el (universal-argument--mode):
14437 * calendar/todo-mode.el (todo-insert-item--next-param):
14438 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14439
14440 * indent.el (indent-rigidly): Use substitute-command-keys.
14441
14442 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14443
14444 * net/eww.el (eww-tag-select): Add text-property to jump to next
14445 select field.
14446 (eww): Add non-supported ftp error.
14447
14448 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14449
14450 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14451 comments. Handle electric indent after typing `?' and `!'.
14452
14453 2013-12-22 Chong Yidong <cyd@gnu.org>
14454
14455 * faces.el (face-spec-recalc): If the theme specs are not
14456 applicable to a frame, fall back on the defface spec.
14457 This prevents themes from obliterating faces on low-color terminals.
14458
14459 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14460
14461 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14462 after `{'. We need it after block openers, and it doesn't seem
14463 to hurt after hash openers.
14464
14465 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14466
14467 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14468 extracted from `ruby-smie-rules'.
14469 (ruby--electric-indent-chars): New variable.
14470 (ruby--electric-indent-p): New function.
14471 (ruby-mode): Use `electric-indent-functions' instead of
14472 `electric-indent-chars'.
14473
14474 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14475
14476 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14477 docstring.
14478 (ruby-smie-rules): Indent plus one level after `=>'.
14479
14480 2013-12-21 Richard Stallman <rms@gnu.org>
14481
14482 * simple.el (newline): Doc fix.
14483
14484 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14485
14486 * net/eww.el (eww-list-histories, eww-list-histories)
14487 (eww-history-browse, eww-history-quit, eww-history-kill)
14488 (eww-history-mode-map, eww-history-mode): New command and
14489 functions to list browser histories.
14490 (eww-form-text): Support text form with disabled
14491 and readonly attributes.
14492 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14493
14494 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14495
14496 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14497 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14498 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14499 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14500 Use `user-error'.
14501 (eww-bookmark-mode-map): Add menu.
14502 (eww-render, eww-mode): Use `setq-local'.
14503 (eww-tool-bar-map): New variable.
14504 (eww-mode): Set `tool-bar-map'.
14505 (eww-view-source): Check for `html-mode' with `fboundp'.
14506
14507 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14508
14509 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14510 elements with text inside. Also remove debugging.
14511
14512 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14513
14514 * cus-start.el (all): Add ns-use-srgb-colorspace.
14515
14516 2013-12-21 Chong Yidong <cyd@gnu.org>
14517
14518 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14519 undefined. Thus, theme settings for undefined faces do not take
14520 effect until the faces are defined with defface, the same as with
14521 theme variables.
14522
14523 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14524 (face-spec-reset-face): Don't assign extra properties in temacs.
14525 (face-spec-recalc): Apply X resources too.
14526
14527 2013-12-21 Chong Yidong <cyd@gnu.org>
14528
14529 * faces.el (face-spec-set):
14530 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14531 * custom.el (defface): Doc fixes (Bug#16203).
14532
14533 * indent.el (indent-rigidly-map): Add docstring, and move commands
14534 into named functions.
14535 (indent-rigidly-left, indent-rigidly-right)
14536 (indent-rigidly-left-to-tab-stop)
14537 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14538 indentation direction based on bidi direction, and accumulate
14539 sequential commands in a single undo boundary.
14540 (indent-rigidly--pop-undo): New utility function.
14541
14542 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14543
14544 * faces.el (read-face-name): Require crm.el when using crm-separator.
14545
14546 2013-12-20 Daniel Colascione <dancol@dancol.org>
14547
14548 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14549 so that we don't reflow comments into the shebang line.
14550
14551 2013-12-20 Juri Linkov <juri@jurta.org>
14552
14553 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14554 a position when `dired-directory' is non-nil. Check integer
14555 positions with `integerp'.
14556 (toggle-save-place, save-places-to-alist): Add check for
14557 `dired-directory'.
14558 (save-place-find-file-hook): Check integer positions with
14559 `integerp'.
14560 (save-place-dired-hook): Use `dired-goto-file' when
14561 `dired-filename' is found in the assoc list. Check integer
14562 positions with `integerp'.
14563 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14564
14565 * dired.el (dired-initial-position-hook): Rename back from
14566 `dired-initial-point-hook'.
14567 (dired-initial-position): Rename `dired-initial-point-hook' to
14568 `dired-initial-position-hook'.
14569 (dired-file-name-at-point): Doc fix. (Bug#15329)
14570
14571 2013-12-20 Juri Linkov <juri@jurta.org>
14572
14573 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14574 (read-regexp-suggestions): New function.
14575 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14576 Use `read-regexp-suggestions'. Add non-empty default to history
14577 for empty input.
14578 (occur-read-regexp-defaults-function): Remove function.
14579 (occur-read-primary-args): Use `regexp-history-last' instead of
14580 `occur-read-regexp-defaults-function'.
14581
14582 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14583 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14584 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14585 `hi-lock-read-regexp-defaults-function'. Doc fix.
14586 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14587 with `find-tag-default-as-symbol-regexp'. Doc fix.
14588 (hi-lock-read-regexp-defaults): Remove function.
14589 (hi-lock-regexp-okay): Add check for null.
14590
14591 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14592 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14593
14594 * subr.el (find-tag-default-as-symbol-regexp): New function.
14595 (find-tag-default-as-regexp): Move symbol regexp formatting to
14596 `find-tag-default-as-symbol-regexp'.
14597
14598 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14599
14600 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14601 (Bug#14179)
14602
14603 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14604
14605 * calendar/todo-mode.el: New implementation of item insertion
14606 commands and key bindings.
14607 (todo-key-prompt): New face.
14608 (todo-insert-item): New command.
14609 (todo-insert-item--parameters): New defconst, replacing defvar
14610 todo-insertion-commands-args-genlist.
14611 (todo-insert-item--param-key-alist): New defconst, replacing
14612 defvar todo-insertion-commands-arg-key-list.
14613 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14614 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14615 (todo-insert-item--next-param): New functions.
14616 (todo-insert-item--args, todo-insert-item--argleft)
14617 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14618 New variables.
14619 (todo-key-bindings-t): Change binding of "i" from
14620 todo-insertion-map to todo-insert-item.
14621 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14622 (todo-insertion-command-name, todo-insertion-commands-names)
14623 (todo-define-insertion-command, todo-insertion-commands)
14624 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14625
14626 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14627
14628 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14629 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14630 eval-when-compile.
14631 (todo-move-category): Allow choosing a non-existing todo file to
14632 move the category to, and create that file.
14633 (todo-default-priority): New user option.
14634 (todo-set-item-priority): Use it.
14635 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14636 (desktop-restore-file-buffer): Declare.
14637 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14638 (todo-modes-set-2): Locally set desktop-save-buffer to
14639 todo-desktop-save-buffer.
14640 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14641 (auto-mode-alist): Add autoload cookie.
14642
14643 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14644
14645 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14646 helpers.el was a poor choice of name.
14647 (string-remove-prefix): New function.
14648 (string-remove-suffix): New function.
14649
14650 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14651
14652 Fix assignment for new window total sizes.
14653 * window.el (window--pixel-to-size): Remove function.
14654 (window--pixel-to-total-1, window--pixel-to-total):
14655 Fix calculation of new total sizes.
14656
14657 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14658
14659 * comint.el (comint-output-filter): Fix rear-nonsticky property
14660 placement (Bug#16010).
14661
14662 2013-12-20 Chong Yidong <cyd@gnu.org>
14663
14664 * faces.el (read-color): Minor fix for completion function.
14665
14666 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14667
14668 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14669 New option. (Bug#16182)
14670 (ruby-smie--indent-to-stmt-p): Use it.
14671 (ruby-smie-rules): Revert the logic in the handling of `when'.
14672 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14673 (ruby-deep-arglist, ruby-deep-indent-paren)
14674 (ruby-deep-indent-paren-style): Update docstrings to note that the
14675 vars don't have any effect with SMIE.
14676
14677 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14678
14679 * calc/calc.el (calc-enter, calc-pop): Use the variable
14680 `calc-context-sensitive-enter'.
14681
14682 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14683
14684 * net/shr.el (shr-insert): Protect against infloops in degenerate
14685 tables.
14686
14687 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14688
14689 * progmodes/octave.el (octave): Add link to manual and octave
14690 homepage.
14691 (octave-mode-menu): Link to octave-mode manual.
14692
14693 2013-12-20 Leo Liu <sdl.web@gmail.com>
14694
14695 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14696 insertion using skeleton-end-newline. (Bug#16138)
14697
14698 2013-12-20 Juri Linkov <juri@jurta.org>
14699
14700 * replace.el (occur-engine): Use `add-face-text-property'
14701 to add the face property to matches and titles. (Bug#14645)
14702
14703 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14704 the palette of other hi-lock colors.
14705 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14706
14707 2013-12-19 Juri Linkov <juri@jurta.org>
14708
14709 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14710 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14711 (minibuffer-history-symbol): Move variable declaration closer to
14712 its usage.
14713
14714 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14715 (Bug#14785)
14716
14717 2013-12-19 Juri Linkov <juri@jurta.org>
14718
14719 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14720 New function.
14721 (log-edit-hook): Add it to :options. (Bug#16170)
14722
14723 2013-12-19 Juri Linkov <juri@jurta.org>
14724
14725 * simple.el (eval-expression-print-format): Don't check for
14726 command names and the last command. Always display additional
14727 formats of the integer result in the echo area, and insert them
14728 to the current buffer only with a zero prefix arg.
14729 Display character when char-displayable-p is non-nil.
14730 (eval-expression): With a zero prefix arg, set `print-length' and
14731 `print-level' to nil, and insert the integer values from
14732 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14733
14734 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14735 `eval-last-sexp-arg-internal'. Doc fix.
14736 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14737 `eval-last-sexp-print-value'. Doc fix.
14738 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14739 Set `print-length' and `print-level' to nil when arg is zero.
14740 (eval-last-sexp): Doc fix.
14741 (eval-defun-2): Print the integer values from
14742 `eval-expression-print-format' at the end.
14743
14744 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14745 values from `eval-expression-print-format' at the end.
14746
14747 * ielm.el (ielm-eval-input): Print the integer
14748 values from `eval-expression-print-format' at the end.
14749
14750 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14751
14752 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14753 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14754
14755 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14758 (hl-line-highlight, global-hl-line-highlight): Use it.
14759 (hl-line-overlay): Use defvar-local.
14760
14761 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14762
14763 * term/ns-win.el: Require dnd.
14764 (global-map): Remove drag items.
14765 (ns-insert-text, ns-set-foreground-at-mouse)
14766 (ns-set-background-at-mouse):
14767 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14768 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14769 New functions.
14770
14771 2013-12-19 Glenn Morris <rgm@gnu.org>
14772
14773 * emacs-lisp/ert.el (ert-select-tests):
14774 Fix string/symbol mixup. (Bug#16121)
14775
14776 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14777
14778 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14779 keywords to their parent.
14780
14781 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14782
14783 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14784 first arg to be a string (fixed dead code), or an operator symbol.
14785 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14786 operator symbols.
14787 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14788 did nothing. Don't respond to `(:after ".")', it will be called
14789 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14790 change anything. Only return indentation for binary operators
14791 when they are hanging. De-dent opening paren when its parent is
14792 `.', otherwise it looks bad when the dot is not at bol or eol
14793 (bug#16182).
14794
14795 2013-12-19 Juri Linkov <juri@jurta.org>
14796
14797 * replace.el (query-replace-read-args): Split a non-negative arg
14798 and a negative arg into separate elements.
14799 (query-replace, query-replace-regexp, replace-string)
14800 (replace-regexp): Add arg `backward'. Doc fix.
14801 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14802 move point to the beginning of the match.
14803 (replace-search, replace-highlight): Use new arg `backward'
14804 to set the value of `isearch-forward'.
14805 (perform-replace): Add arg `backward' and use it to perform
14806 replacement backward. (Bug#14979)
14807
14808 * isearch.el (isearch-query-replace): Use a negative prefix arg
14809 to call `perform-replace' with a non-nil arg `backward'.
14810
14811 2013-12-18 Juri Linkov <juri@jurta.org>
14812
14813 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14814 to the default list. Move `log-edit-show-files' to the end.
14815 Add more available functions to options.
14816 (log-edit): Move default specific settings to
14817 `log-edit-insert-message-template'. Don't move point.
14818 (log-edit-insert-message-template): New function.
14819 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14820 (Bug#16170)
14821
14822 2013-12-18 Juri Linkov <juri@jurta.org>
14823
14824 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14825 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14826
14827 2013-12-18 Leo Liu <sdl.web@gmail.com>
14828
14829 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14830 (Bug#16186)
14831
14832 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14833
14834 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14835 formats for displaying file sizes when the -s switch is given.
14836 Instead, compute a separate format for displaying the size in
14837 blocks, which is displayed in addition to the "regular" size.
14838 When -h is given in addition to -s, produce size in blocks in
14839 human-readable form as well. (Bug#16179)
14840
14841 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14842
14843 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14844 Reference tables with ~\ref{...} instead of only \ref{...}.
14845
14846 2013-12-18 Chong Yidong <cyd@gnu.org>
14847
14848 * cus-edit.el (custom-magic-alist): Fix "themed" description
14849 (Bug#14348).
14850
14851 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14852 is non-nil, do not create a new entry in the symbol's theme-value
14853 or theme-face property; update theme-settings only (Bug#14664).
14854 (custom-available-themes): Doc fix.
14855
14856 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14857 (Bug#15674).
14858
14859 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14860
14861 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14862
14863 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14864 (Bug#13914).
14865
14866 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14867
14868 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14869
14870 2013-12-18 Glenn Morris <rgm@gnu.org>
14871
14872 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14873 * cus-start.el (load-prefer-newer): New option.
14874
14875 2013-12-18 Le Wang <l26wang@gmail.com>
14876
14877 * comint.el (comint-previous-matching-input-from-input):
14878 Retain point (Bug#13404).
14879
14880 2013-12-18 Chong Yidong <cyd@gnu.org>
14881
14882 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14883
14884 2013-12-18 Glenn Morris <rgm@gnu.org>
14885
14886 * mail/emacsbug.el (report-emacs-bug):
14887 Only mention enable-multibyte-characters if non-standard.
14888
14889 2013-12-17 Juri Linkov <juri@jurta.org>
14890
14891 * arc-mode.el (archive-extract-by-file): Check if directory exists
14892 before deletion to not show irrelevant errors if it doesn't exist.
14893
14894 2013-12-17 Juri Linkov <juri@jurta.org>
14895
14896 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14897 (Bug#14751)
14898
14899 * net/eww.el (browse-web): Add alias to `eww'.
14900 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14901 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14902
14903 * net/browse-url.el (browse-url-browser-function): Move `eww'
14904 closer to similar functions.
14905
14906 * startup.el (fancy-startup-screen, fancy-about-screen):
14907 Set browse-url-browser-function to eww-browse-url locally.
14908 (Bug#14751)
14909
14910 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14911
14912 * window.el (window--pixel-to-total): Remove unused `mini' var.
14913 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14914 (split-window): Remove unused `new' var.
14915 (window--display-buffer): Remove unused `frame' and `delta' vars.
14916 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14917 and display-width'.
14918
14919 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14920
14921 * dired.el (dired-mark-pop-up):
14922 * register.el (register-preview): Don't bind
14923 split-height-threshold here since it's now done in
14924 display-buffer-below-selected.
14925
14926 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14927
14928 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14929 xterm-rgb-convert-to-16bit.
14930 (rxvt-register-default-colors): Standardize with
14931 xterm-register-default-colors (Bug#14078).
14932
14933 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14934
14935 * simple.el (kill-region): Pass mark first, then point, so that
14936 kill-append works right (Bug#12819).
14937 (copy-region-as-kill, kill-ring-save): Likewise.
14938
14939 2013-12-17 Leo Liu <sdl.web@gmail.com>
14940
14941 * net/rcirc.el (rcirc-add-face):
14942 * eshell/em-prompt.el (eshell-emit-prompt):
14943 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14944 (Bug#16167)
14945
14946 2013-12-17 Chong Yidong <cyd@gnu.org>
14947
14948 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14949 Suggested by Xue Fuqiao.
14950
14951 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14952
14953 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14954
14955 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14956
14957 * net/shr.el (shr-insert-document): Remove unused var
14958 `shr-preliminary-table-render'.
14959 (shr-rescale-image): Remove unused arg `force'.
14960 (shr-put-image): Update calls accordingly.
14961 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14962
14963 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14964
14965 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14966 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14967 :close-all, to see which indentation method to use (Bug#16116).
14968 (smie-rules-function): Document the method :close-all.
14969
14970 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14971
14972 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14973
14974 * net/eww.el (eww-display-html): If we can't find the anchor we're
14975 looking for, then go to point-min.
14976
14977 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14978
14979 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14980 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14981 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14982 Expand dir too, in case it's relative.
14983
14984 2013-12-16 Juri Linkov <juri@jurta.org>
14985
14986 * desktop.el (desktop-auto-save-timeout): Change default to
14987 `auto-save-timeout'. Doc fix.
14988 (desktop-save): Skip the timestamp in desktop-saved-frameset
14989 when checking for auto-save changes.
14990 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14991 `desktop-auto-save' is called repeatedly by the idle timer.
14992 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14993 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14994 (Bug#15331)
14995
14996 2013-12-16 Juri Linkov <juri@jurta.org>
14997
14998 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14999 (Bug#16035)
15000 (isearch-pre-command-hook): Check `this-command' for symbolp.
15001
15002 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
15005
15006 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
15007
15008 * progmodes/cfengine.el (cfengine3--current-word): Remove.
15009 (cfengine3--current-function): Bring in the current-function
15010 functionality from `cfengine3--current-word'.
15011 (cfengine3-completion-function): Bring in the
15012 bounds-of-current-word functionality from
15013 `cfengine3--current-word'.
15014
15015 2013-12-16 Martin Rudalics <rudalics@gmx.at>
15016
15017 * window.el (display-buffer-below-selected):
15018 Bind split-height-threshold to 0 as suggested by Juri Linkov.
15019
15020 2013-12-16 Leo Liu <sdl.web@gmail.com>
15021
15022 * progmodes/compile.el (compile-goto-error): Do not push-mark.
15023 Remove NOMSG arg and all uses changed.
15024
15025 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
15028 (cua--deactivate-rectangle): Don't deactivate the mark.
15029 (cua-set-rectangle-mark): Don't set mark-active since
15030 cua--activate-rectangle already does it for us.
15031 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
15032 non-rectangular region.
15033
15034 * emulation/cua-base.el (cua-repeat-replace-region):
15035 Use with-current-buffer.
15036
15037 * net/gnutls.el: Use cl-lib.
15038 (gnutls-negotiate): `mapcan' -> cl-mapcan.
15039
15040 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15041
15042 * emacs-lisp/package.el (package-built-in-p): Support both
15043 built-in and the package.el converted package descriptions.
15044 (package-show-package-list): Allow keywords.
15045 (package-keyword-button-action): Use it instead of
15046 `finder-list-matches'.
15047 (package-menu-filter-interactive): Interactive filtering (by
15048 keyword) function.
15049 (package-menu--generate): Support keywords and change keymappings
15050 and headers when they are given.
15051 (package--has-keyword-p): Helper function.
15052 (package-menu--refresh): Use it.
15053 (package--mapc): Helper function.
15054 (package-all-keywords): Use it.
15055 (package-menu-mode-map): Set up menu items and keybindings to
15056 provide a filtering UI.
15057
15058 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15059
15060 * net/gnutls.el (gnutls-verify-error): New defcustom to control
15061 the behavior when a certificate fails validation. Defaults to
15062 old behavior: never abort, just warn.
15063 (gnutls-negotiate): Use it.
15064
15065 2013-12-14 Martin Rudalics <rudalics@gmx.at>
15066
15067 * window.el (display-buffer-below-selected): Never split window
15068 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
15069
15070 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
15071
15072 * emacs-lisp/package.el (package--prepare-dependencies): New function.
15073 (package-buffer-info): Use it (bug#15108).
15074
15075 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
15076
15077 * icomplete.el (icomplete-completions): Make sure the prefix is already
15078 displayed elsewhere before hiding it (bug#16219).
15079
15080 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
15081
15082 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
15083 open-paren tokens when preceded by a open-paren, too.
15084 (ruby-smie-rules): Handle virtual indentation after open-paren
15085 tokens specially. If there is code between it and eol, return the
15086 column where is starts (Bug#16118).
15087
15088 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15089
15090 * progmodes/cfengine.el: Fix `add-hook' doc.
15091 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
15092 (cfengine3--current-word): Fix parameters.
15093 (cfengine3-make-syntax-cache): Simplify further.
15094 (cfengine3-completion-function, cfengine3--current-function):
15095 Use `assq' for symbols.
15096 (cfengine3--current-function): Fix `cfengine3--current-word' call.
15097
15098 2013-12-13 Glenn Morris <rgm@gnu.org>
15099
15100 * loadup.el (load-path): Warn if site-load or site-init changes it.
15101 No more need to reset it when bootstrapping.
15102
15103 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15104
15105 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
15106 locations for cf-promises.
15107 (cfengine-mode-syntax-functions-regex): New caching variable.
15108 (cfengine3-fallback-syntax): Fallback syntax for cases where
15109 cf-promises doesn't run.
15110 (cfengine3--current-word): Reimplement using
15111 `cfengine-mode-syntax-functions-regex'.
15112 (cfengine3-completion-function, cfengine3--current-function):
15113 Use `cfengine3-make-syntax-cache' directly.
15114 (cfengine3-clear-syntax-cache): New function.
15115 (cfengine3-make-syntax-cache): Simplify and create
15116 `cfengine-mode-syntax-functions-regex' on demand.
15117 (cfengine3-format-function-docstring): Don't call
15118 `cfengine3-make-syntax-cache' explicitly.
15119
15120 2013-12-13 Martin Rudalics <rudalics@gmx.at>
15121
15122 Fix windmove-find-other-window broken after pixelwise resizing
15123 (Bug#16017).
15124 * windmove.el (windmove-other-window-loc): Revert change from
15125 2013-12-04.
15126 (windmove-find-other-window): Call window-in-direction.
15127 * window.el (window-in-direction): New arguments SIGN, WRAP and
15128 MINI to emulate original windmove-find-other-window behavior.
15129
15130 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
15131
15132 * simple.el (blink-matching--overlay): New variable.
15133 (blink-matching-open): Instead of moving point, highlight the
15134 matching paren with an overlay
15135 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
15136
15137 * faces.el (paren-showing-faces, show-paren-match)
15138 (show-paren-mismatch): Move from paren.el.
15139
15140 2013-12-13 Leo Liu <sdl.web@gmail.com>
15141
15142 * indent.el (indent-region): Disable progress reporter in
15143 minibuffer. (Bug#16108)
15144
15145 * bindings.el (visual-order-cursor-movement): Fix version.
15146
15147 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
15148
15149 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
15150 Also match after beginning of line.
15151 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
15152 files. Thanks to Russell Sim. (Bug#15378)
15153
15154 2013-12-13 Juri Linkov <juri@jurta.org>
15155
15156 * simple.el <Keypad support>: Remove key bindings duplicated
15157 with bindings.el. (Bug#14397)
15158
15159 2013-12-13 Juri Linkov <juri@jurta.org>
15160
15161 * comint.el (comint-mode-map): Replace `delete-char' with
15162 `delete-forward-char'. (Bug#16109)
15163
15164 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15165
15166 * progmodes/python.el (python-indent-calculate-indentation):
15167 Fix de-denters cornercase. (Bug#15731)
15168
15169 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15170
15171 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
15172 (advice--make): Pay attention to `depth'.
15173 (advice--make-1): Don't autoload commands eagerly.
15174 * emacs-lisp/elp.el (elp-instrument-function):
15175 * emacs-lisp/trace.el (trace-function-internal):
15176 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
15177
15178 * iswitchb.el (iswitchb-mode): Don't belittle ido.
15179
15180 2013-12-12 Eli Zaretskii <eliz@gnu.org>
15181
15182 * term/w32-win.el (w32-handle-dropped-file):
15183 * startup.el (normal-top-level):
15184 * net/browse-url.el (browse-url-file-url):
15185 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
15186 decode file names using 'utf-8' rather than
15187 file-name-coding-system.
15188
15189 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15190
15191 * progmodes/python.el (python-indent-context)
15192 (python-indent-calculate-indentation): Fix auto-identation
15193 behavior for comment blocks. (Bug#15916)
15194
15195 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15196
15197 * progmodes/python.el (python-indent-calculate-indentation):
15198 When determining indentation, don't treat "return", "pass", etc., as
15199 operators when they are just string constituents. (Bug#15812)
15200
15201 2013-12-12 Juri Linkov <juri@jurta.org>
15202
15203 * uniquify.el (uniquify-buffer-name-style): Change default to
15204 `post-forward-angle-brackets'.
15205
15206 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15207 `uniquify'. Change default to `post-forward-angle-brackets'.
15208
15209 2013-12-11 Glenn Morris <rgm@gnu.org>
15210
15211 * emacs-lisp/package.el (finder-list-matches):
15212 Autoload rather than falsely declaring.
15213
15214 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
15215
15216 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15217 (eww-mode-map): Use them.
15218
15219 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15220
15221 * window.el (display-buffer-in-side-window): Fix doc-string
15222 (Bug#16115).
15223
15224 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15225
15226 * vc/vc-git.el: Silence byte-compiler warnings.
15227 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15228 (log-edit-set-header): Declare.
15229
15230 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15231
15232 * Makefile.in (custom-deps, finder-data): Run output file names
15233 through unmsys--file-name. (Bug#16099)
15234
15235 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15236
15237 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15238 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15239
15240 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15241 instead of deleting the selection "by hand" (bug#16098).
15242 Rely on insert-for-yank to yank rectangles.
15243 (cua-highlight-region-shift-only): Mark obsolete.
15244 (cua-mode): Don't enable/disable transient-mark-mode,
15245 shift-select-mode (cua-mode works both with and without them), and
15246 pc-selection-mode (obsolete).
15247 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15248 (cua--deactivate-rectangle): Deactivate it.
15249
15250 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15251 (delete-selection-helper): Make sure yank starts at the top of the
15252 deleted region.
15253 (minibuffer-keyboard-quit): Use region-active-p.
15254
15255 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15256
15257 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15258 to `delete' (bug#16109).
15259
15260 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15261
15262 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15263 info manual and show keybindings and set `:group' keyword.
15264
15265 2013-12-11 Juri Linkov <juri@jurta.org>
15266
15267 * delsel.el (delete-active-region): Let-bind `this-command'
15268 to prevent `kill-region' from changing its original value.
15269 (delete-selection-helper): Handle `overwrite-mode' for the type
15270 `kill' exactly the same way as for the type `t'.
15271 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15272 Support more commands. (Bug#13312)
15273
15274 2013-12-11 Juri Linkov <juri@jurta.org>
15275
15276 * bindings.el: Map kp keys to non-kp keys systematically
15277 with basic modifiers control, meta and shift. (Bug#14397)
15278
15279 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15280
15281 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15282 "Close browser" menu items. Fix wrong function of "List
15283 bookmarks".
15284
15285 2013-12-11 Juri Linkov <juri@jurta.org>
15286
15287 * misearch.el (multi-isearch-buffers): Set the value of
15288 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15289 arg of isearch-forward to t.
15290 (multi-isearch-buffers-regexp): Set the value of
15291 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15292 arg of isearch-forward-regexp to t.
15293 (multi-isearch-files): Set the value of
15294 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15295 arg of isearch-forward to t.
15296 (multi-isearch-files-regexp): Set the value of
15297 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15298 arg of isearch-forward-regexp to t. (Bug#16035)
15299
15300 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15301 arg of isearch-forward to t.
15302 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15303 arg of isearch-forward-regexp to t.
15304 (dired-isearch-filter-filenames): Remove unnecessary check for
15305 `dired-isearch-filenames'.
15306
15307 * comint.el (comint-history-isearch-backward):
15308 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15309 (comint-history-isearch-backward-regexp):
15310 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15311
15312 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15313
15314 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15315 unmsys--file-name. (Bug#16099)
15316
15317 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15318
15319 * emacs-lisp/package.el (package-keyword-button-action):
15320 Remove finder.el require dependency.
15321
15322 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15323
15324 * emacs-lisp/package.el: Require finder.el.
15325 (describe-package-1): Add keyword buttons.
15326 (package-make-button): New convenience function.
15327 (package-keyword-button-action): Keyword button action using
15328 `finder-list-matches'.
15329
15330 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15331
15332 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15333 last commit.
15334
15335 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15336
15337 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15338 symlinked files.
15339
15340 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15341
15342 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15343 after the end of a percent literal.
15344
15345 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15346
15347 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15348 Handle caret-delimited strings (Bug#16079).
15349
15350 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15351
15352 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15353 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15354 `ruby-parse-partial' (Bug#16078).
15355
15356 2013-12-09 Leo Liu <sdl.web@gmail.com>
15357
15358 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15359
15360 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15361
15362 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15363 (js-switch-indent-offset): New option.
15364 (js--proper-indentation): Use it. And handle the case when
15365 "default" is actually a key in an object literal.
15366 (js--same-line): New function.
15367 (js--multi-line-declaration-indentation): Use it.
15368 (js--indent-in-array-comp, js--array-comp-indentation):
15369 New functions.
15370 (js--proper-indentation): Use them, to handle array comprehension
15371 continuations.
15372
15373 2013-12-08 Leo Liu <sdl.web@gmail.com>
15374
15375 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15376 (flymake-make-overlay): Remove arg MOUSE-FACE.
15377 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15378
15379 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15380
15381 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15382 New function.
15383 (redisplay-highlight-region-function): Use it.
15384
15385 * emulation/cua-base.el (cua--explicit-region-start)
15386 (cua--last-region-shifted): Remove.
15387 (cua--deactivate): Use deactivate-mark.
15388 (cua--pre-command-handler-1): Don't handle shift-selection.
15389 (cua--post-command-handler-1): Don't change transient-mark-mode.
15390 (cua--select-keymaps): Use region-active-p rather than
15391 cua--explicit-region-start or cua--last-region-shifted.
15392 (cua-mode): Enable shift-select-mode.
15393
15394 2013-12-08 Leo Liu <sdl.web@gmail.com>
15395
15396 * progmodes/flymake.el (flymake-popup-current-error-menu):
15397 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15398 (flymake-posn-at-point-as-event, flymake-popup-menu)
15399 (flymake-make-emacs-menu): Remove. (Bug#16077)
15400
15401 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15402
15403 * rect.el (rectangle-mark-mode): Activate mark even if
15404 transient-mark-mode is off (bug#16066).
15405 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15406 is > mark and at bolp.
15407
15408 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15409 (region-extract-function): Use it.
15410 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15411 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15412 Delete functions.
15413 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15414 kill-ring-save, kill-region, delete-char, delete-forward-char.
15415 Ignore self-insert-iso.
15416
15417 * emulation/cua-gmrk.el (cua--init-global-mark):
15418 Ignore `self-insert-iso'.
15419
15420 * emulation/cua-base.el (cua--prefix-copy-handler)
15421 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15422 checking cua--rectangle.
15423 (cua-delete-region): Use region-extract-function.
15424 (cua-replace-region): Delete function.
15425 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15426 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15427 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15428 (cua--init-keymaps): Don't remap delete-selection commands.
15429 (cua-mode): Use delete-selection-mode instead of rolling our own
15430 (bug#16085).
15431
15432 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15433 Obey region-extract-function.
15434
15435 Make registers and delete-selection-mode work on rectangles.
15436 * register.el (describe-register-1): Don't modify the register's value.
15437 (copy-to-register): Obey region-extract-function.
15438 * delsel.el (delete-active-region): Obey region-extract-function.
15439
15440 2013-12-08 Leo Liu <sdl.web@gmail.com>
15441
15442 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15443 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15444 (flymake-compilation-prevents-syntax-check)
15445 (flymake-start-syntax-check-on-newline)
15446 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15447 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15448 (flymake-xml-program, flymake-master-file-dirs)
15449 (flymake-master-file-count-limit)
15450 (flymake-allowed-file-name-masks): Relocate.
15451 (flymake-makehash, flymake-float-time)
15452 (flymake-replace-regexp-in-string, flymake-split-string)
15453 (flymake-get-temp-dir): Remove.
15454 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15455 (flymake-current-row, flymake-selected-frame)
15456 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15457 related functions. (Bug#16077)
15458
15459 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15460
15461 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15462
15463 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15464
15465 * help-fns.el (describe-function-1): Use new advice-* functions
15466 rather than old ad-* functions. Fix function type description and
15467 source links for advised functions and subrs.
15468
15469 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15470
15471 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15472
15473 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15474
15475 * progmodes/compile.el (compilation-start):
15476 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15477
15478 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15479 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15480
15481 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15482
15483 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15484 Touch up the last change.
15485
15486 2013-12-06 Leo Liu <sdl.web@gmail.com>
15487
15488 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15489 (inferior-octave-startup): Always use "octave> " for prompt.
15490 (octave-goto-function-definition)
15491 (octave-sync-function-file-names)
15492 (octave-find-definition-default-filename): Remove redundant backquotes.
15493
15494 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15495
15496 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15497 syntax for `?'.
15498 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15499 where appropriate already.
15500 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15501 end of method names (Bug#15874).
15502
15503 2013-12-06 Juri Linkov <juri@jurta.org>
15504
15505 * isearch.el (isearch--saved-overriding-local-map):
15506 New internal variable.
15507 (isearch-mode): Set it to the initial value of
15508 `overriding-terminal-local-map'.
15509 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15510 with `isearch--saved-overriding-local-map'. (Bug#16035)
15511
15512 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15513
15514 * progmodes/octave.el (inferior-octave-completion-table):
15515 Turn back into function, use `completion-table-with-cache'
15516 (Bug#11906). Update all references.
15517
15518 * minibuffer.el (completion-table-with-cache): New function.
15519
15520 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15521
15522 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15523
15524 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15525
15526 * net/eww.el (eww-current-source): New variable to store page
15527 source.
15528 (eww-display-html, eww-mode, eww-save-history)
15529 (eww-restore-history): Use it.
15530 (eww-view-source): New command to view page source.
15531 Opportunistically uses `html-mode' to highlight the buffer.
15532 (eww-mode-map): Install it.
15533
15534 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15535
15536 * net/dbus.el (dbus-unregister-service)
15537 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15538 Fix docstring.
15539 (dbus-unregister-service): Skip :serial entries in
15540 `dbus-registered-objects-table'.
15541 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15542
15543 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15544
15545 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15546 around keywords with extra `split-string' argument.
15547
15548 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15549
15550 * windmove.el (windmove-other-window-loc): Handle navigation
15551 between windows (excluding the minibuffer window - Bug#16017).
15552
15553 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15554
15555 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15556 in D-Bus type syntax.
15557 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15558 preserve unibyte strings. (Bug#16048)
15559
15560 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15563 Call force-mode-line-update is the proper buffer (bug#16042).
15564
15565 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15566
15567 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15568 `log-edit-remember-comment', make argument optional. Adjust all
15569 callers.
15570 (log-edit-mode): Add `log-edit-remember-comment' to
15571 `kill-buffer-hook' locally.
15572 (log-edit-kill-buffer): Don't remember comment explicitly since
15573 the buffer is killed anyway.
15574
15575 2013-12-04 Juri Linkov <juri@jurta.org>
15576
15577 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15578 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15579
15580 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15581
15582 * notifications.el (notifications-close-notification): Call the
15583 D-Bus method with ID being a `:uint32'. (Bug#16030)
15584
15585 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15586
15587 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15588
15589 2013-12-03 Juri Linkov <juri@jurta.org>
15590
15591 * progmodes/compile.el (compilation-start): Rename window alist
15592 entry `no-display-ok' to `allow-no-window'.
15593
15594 * simple.el (shell-command): Add window alist entry
15595 `allow-no-window' to `display-buffer'.
15596 (async-shell-command): Doc fix.
15597
15598 * window.el (display-buffer-no-window): New action function.
15599 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15600
15601 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15602
15603 * vc/log-edit.el (log-edit-set-header): Extract from
15604 `log-edit-toggle-header'.
15605 (log-edit-extract-headers): Separate the summary, when extracted
15606 from header, from the rest of the message with an empty line.
15607
15608 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15609 line, if present, to the Summary header.
15610
15611 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15612
15613 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15614 in current-buffer (bug#16029).
15615
15616 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15617
15618 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15619 (debugger-mode-map): Bind it.
15620 (debugger--backtrace-base): New function.
15621 (debugger-eval-expression): Use it.
15622 (debugger-frame-number): Skip local vars when present.
15623 (debugger--locals-visible-p, debugger--insert-locals)
15624 (debugger--show-locals, debugger--hide-locals): New functions.
15625
15626 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15627
15628 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15629 "LC_ALL".
15630 (tramp-get-remote-locale): New defun.
15631 (tramp-open-connection-setup-interactive-shell): Use it.
15632
15633 2013-12-02 Leo Liu <sdl.web@gmail.com>
15634
15635 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15636
15637 * progmodes/sh-script.el (sh-shell-process):
15638 * progmodes/octave.el (inferior-octave-process-live-p):
15639 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15640 (gdb-inferior-io-sentinel):
15641 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15642
15643 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15644
15645 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15646 `save-selected-window' to `log-edit-hide-buf'. This makes
15647 `log-edit-show-files' idempotent.
15648 (log-edit-show-files): Mark the new window as dedicated.
15649
15650 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15651
15652 * vc/log-edit.el (log-edit-mode-map): Add binding for
15653 `log-edit-kill-biffer'.
15654 (log-edit-hide-buf): Add a FIXME comment.
15655 (log-edit-add-new-comment): New function, extracted from
15656 `log-edit-done'.
15657 (log-edit-done, log-edit-add-to-changelog): Use it.
15658 (log-edit-kill-buffer): New command.
15659
15660 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15661
15662 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15663 instead of killing the buffer.
15664
15665 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15666
15667 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15668
15669 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15670
15671 * net/eww.el (eww-form-checkbox-selected-symbol)
15672 (eww-form-checkbox-symbol): New customizable variable.
15673 (eww-form-checkbox, eww-toggle-checkbox):
15674 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15675
15676 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15677 (shr--get-media-pref, shr--extract-best-source): New function.
15678 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15679 no :src tag was specified.
15680
15681 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15682 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15683 Use \\` to match beginning of string instead of ^.
15684 (eww-browse-with-external-browser): Provide optional URL parameter.
15685 (eww-render): Set `eww-current-title' back to "".
15686
15687 * net/shr.el (shr-tag-video): Display content for video if no
15688 poster is available.
15689 (shr-tag-audio): Add support for <audio> tag.
15690
15691 * net/eww.el (eww-text-input-types): New const.
15692 (eww-process-text-input): Treat input types in
15693 `eww-text-input-types' as text.
15694
15695 * net/shr.el (shr-tag-table): Fix comment typo.
15696
15697 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15698
15699 * net/eww.el (eww-follow-link): New command to avoid reloading
15700 pages when we follow #target links (bug#15243).
15701 (eww-quit): Special mode buffers shouldn't query before exiting.
15702
15703 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15704
15705 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15706 forms.
15707
15708 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15709
15710 * net/eww.el (eww-restore-history): Update the window title after
15711 moving in the history.
15712 (eww-current-dom): New variable used to save the current DOM.
15713
15714 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15715
15716 * vc/log-edit.el (log-edit-mode-map): Add binding for
15717 `log-edit-beginning-of-line'.
15718 (log-edit-setup-add-author): New user option.
15719 (log-edit-beginning-of-line): New command.
15720 (log-edit): Move major mode call above the contents setup so that
15721 the local variable values are already applied.
15722 (log-edit): Only insert "Author: " when
15723 `log-edit-setup-add-author' is non-nil.
15724 (log-edit): When SETUP is non-nil, position point after ": "
15725 instead of point-min.
15726
15727 2013-12-01 Glenn Morris <rgm@gnu.org>
15728
15729 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15730
15731 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15732
15733 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15734 redisplay to make sure the initial frame gets a chance to become
15735 visible. (Bug#16014)
15736
15737 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15738
15739 Support resizing frames and windows pixelwise.
15740 * cus-start.el (frame-resize-pixelwise)
15741 (window-resize-pixelwise): New entries.
15742 * emacs-lisp/debug.el (debug): Use window-total-height instead
15743 of window-total-size.
15744 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15745 * help.el (describe-bindings-internal): Use help-buffer as
15746 argument for with-help-window.
15747 (temp-buffer-max-width): New option.
15748 (resize-temp-buffer-window, help-window-setup)
15749 (with-help-window): Rewrite.
15750 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15751 dragging dividers.
15752 * window.el (frame-char-size, window-min-pixel-height)
15753 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15754 (window-min-pixel-width, window-safe-min-pixel-size)
15755 (window-combination-p, window-safe-min-size)
15756 (window-resizable-p, window--size-to-pixel)
15757 (window--pixel-to-size, window--resize-apply-p): New functions.
15758 (window-safe-min-height): Fix doc-string.
15759 (window-size, window-min-size, window--min-size-1)
15760 (window-sizable, window-sizable-p, window--min-delta-1)
15761 (window-min-delta, window--max-delta-1, window-max-delta)
15762 (window--resizable, window--resizable-p, window-resizable)
15763 (window-full-height-p, window-full-width-p, window-at-side-p)
15764 (window--in-direction-2, window-in-direction)
15765 (window--resize-reset-1, window--resize-mini-window)
15766 (window-resize, window-resize-no-error)
15767 (window--resize-child-windows-normal)
15768 (window--resize-child-windows, window--resize-siblings)
15769 (window--resize-this-window, window--resize-root-window)
15770 (window--resize-root-window-vertically)
15771 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15772 (maximize-window, minimize-window, delete-window)
15773 (quit-restore-window, window-split-min-size, split-window)
15774 (balance-windows-2, balance-windows)
15775 (balance-windows-area-adjust, balance-windows-area)
15776 (window--state-get-1, window-state-get, window--state-put-1)
15777 (window--state-put-2, window-state-put)
15778 (display-buffer-record-window, window--display-buffer):
15779 Make functions handle pixelwise sizing of windows.
15780 (display-buffer--action-function-custom-type)
15781 (display-buffer-fallback-action):
15782 Add display-buffer-in-previous-window.
15783 (display-buffer-use-some-window): Resize window to height it had
15784 before.
15785 (fit-window-to-buffer-horizontally): New option.
15786 (fit-frame-to-buffer): Describe new values.
15787 (fit-frame-to-buffer-bottom-margin): Replace with
15788 fit-frame-to-buffer-margins.
15789 (window--sanitize-margin): New function.
15790 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15791 using window-text-pixel-size.
15792
15793 2013-11-30 Glenn Morris <rgm@gnu.org>
15794
15795 * emacs-lisp/bytecomp.el (byte-compile-form):
15796 Make the `interactive-only' warning like the `obsolete' one.
15797 * comint.el (comint-run):
15798 * files.el (insert-file-literally, insert-file):
15799 * replace.el (replace-string, replace-regexp):
15800 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15801 (goto-line, insert-buffer, next-line, previous-line):
15802 Tweak `interactive-only' spec.
15803
15804 Stop keeping (most) generated cedet grammar files in the repository.
15805 * Makefile.in (semantic): New.
15806 (compile-main): Depend on semantic.
15807
15808 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15809
15810 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15811 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15812
15813 * uniquify.el (uniquify-buffer-name-style): Change default.
15814
15815 * loadup.el: Preload "uniquify".
15816
15817 * time.el (display-time-update): Update all mode lines (bug#15999).
15818
15819 * electric.el (electric-indent-mode): Enable by default.
15820 * loadup.el: Preload "electric".
15821
15822 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15823
15824 * emacs-lisp/helpers.el (string-empty-p): New function.
15825 (string-blank-p): New function.
15826
15827 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15828
15829 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15830 (Bug#14029).
15831
15832 2013-11-29 Andreas Politz <politza@fh-trier.de>
15833 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15834 allow non-lambda lists as functions.
15835 (imenu--in-alist): Don't recurse into non-subalists.
15836 (imenu): Don't pass function itself as an argument (Bug#14029).
15837
15838 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15839
15840 * progmodes/python.el (python-mode-map): Remove binding for ":".
15841 (python-indent-electric-colon): Remove command.
15842 (python-indent-post-self-insert-function): Integrate the previous code
15843 of python-indent-electric-colon. Make it conditional on
15844 electric-indent-mode.
15845 (python-mode): Add ?: to electric-indent-chars.
15846 Move python-indent-post-self-insert-function to the end of
15847 post-self-insert-hook.
15848
15849 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15850
15851 * doc-view.el (doc-view-goto-page): Update mode-line.
15852
15853 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15854
15855 2013-11-27 Glenn Morris <rgm@gnu.org>
15856
15857 * international/charprop.el, international/uni-bidi.el:
15858 * international/uni-category.el, international/uni-combining.el:
15859 * international/uni-comment.el, international/uni-decimal.el:
15860 * international/uni-decomposition.el, international/uni-digit.el:
15861 * international/uni-lowercase.el, international/uni-mirrored.el:
15862 * international/uni-name.el, international/uni-numeric.el:
15863 * international/uni-old-name.el, international/uni-titlecase.el:
15864 * international/uni-uppercase.el:
15865 Remove generated files from VCS repository.
15866
15867 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15868
15869 * filenotify.el (file-notify-add-watch): Don't special-case
15870 w32notify when computing the directory to watch.
15871
15872 2013-11-27 Glenn Morris <rgm@gnu.org>
15873
15874 Make bootstrap without generated uni-*.el files possible again.
15875 * loadup.el: Update command-line-args checking for unidata-gen.
15876 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15877 * composite.el, international/characters.el:
15878 Handle unicode tables being undefined.
15879
15880 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15881 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15882 (compile-main): Depend on leim rule.
15883 (leim): New rule.
15884 * loadup.el: Move leim-list.el to leim/ subdirectory.
15885 * startup.el (normal-top-level): No more leim directory.
15886 * international/ja-dic-cnv.el (skkdic-convert):
15887 Disable version-control and autoloads in output files.
15888 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15889 Disable version-control and autoloads in output files.
15890 * leim/quail: Move here from ../leim.
15891 * leim/quail/hangul.el (hangul-input-method-activate):
15892 Add autoload cookie.
15893 (generated-autoload-load-name): Set file-local value.
15894 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15895 (generated-autoload-load-name): Set file-local value.
15896
15897 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15898
15899 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15900 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15901 (eww-quit): Ask confirmation before quitting eww.
15902
15903 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15904
15905 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15906 reading output from Diff on MS-Windows and MS-DOS.
15907
15908 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15909
15910 * emacs-lisp/helpers.el (string-reverse): New function.
15911
15912 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15913
15914 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15915 names on MS Windows, like "/[::1]:".
15916
15917 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15918 SWITCHES.
15919
15920 2013-11-26 Glenn Morris <rgm@gnu.org>
15921
15922 * progmodes/python.el (python-indent-guess-indent-offset):
15923 Avoid corner-case error. (Bug#15975)
15924
15925 Preload leim-list.el. (Bug#4789)
15926 * loadup.el: Load leim-list.el when found.
15927 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15928
15929 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15930
15931 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15932
15933 * emacs-lisp/helpers.el (string-join): New function.
15934
15935 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15936
15937 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15938 Mark as obsolete and replace it with a symbol property.
15939 (byte-compile-form): Use new 'interactive-only property.
15940 * comint.el, files.el, replace.el, simple.el:
15941 Apply new 'interactive-only properly.
15942
15943 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15944
15945 * window.el (display-buffer-at-bottom): Make sure that
15946 split-window-sensibly creates the new window on bottom
15947 (Bug#15961).
15948
15949 2013-11-23 David Kastrup <dak@gnu.org>
15950
15951 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15952 on the conflict markers when available.
15953 (smerge--get-marker): New function.
15954 (smerge-end-re, smerge-base-re): Add subgroup.
15955
15956 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15957
15958 * frame.el (handle-focus-in, handle-focus-out): Add missing
15959 interactive spec.
15960
15961 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15962
15963 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15964 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15965
15966 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15967
15968 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15969 (gomoku--last-pos): New var.
15970 (gomoku--intangible-chars): New const.
15971 (gomoku--intangible): New function.
15972 (gomoku-mode): Use it. Derive from special-mode.
15973 (gomoku-move-up): Adjust line count.
15974 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15975 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15976 Simplify accordingly.
15977
15978 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15979 Remove blink-cursor code.
15980 (blink-cursor-timer-function, blink-cursor-suspend):
15981 Don't special-case GUIs.
15982 (blink-cursor-mode): Use focus-in/out-hook.
15983
15984 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15985
15986 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15987 work when annotation is invisible (Bug#13886).
15988
15989 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15990
15991 * json.el (json-alist-p): Only return non-nil if the alist has
15992 simple keys (Bug#13518).
15993
15994 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15995
15996 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15997 when control-statement is the first statement in a buffer (Bug#15956).
15998
15999 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
16000
16001 * imenu.el (imenu-generic-skip-comments-and-strings):
16002 New option (Bug#15560).
16003 (imenu--generic-function): Use it.
16004
16005 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
16006
16007 * minibuffer.el (completion--in-region-1): Scroll the correct window.
16008 (Bug#13898)
16009
16010 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
16011
16012 * emacs-lisp/helpers.el: Add some string helpers.
16013 (string-trim-left): Removes leading whitespace.
16014 (string-trim-right): Removes trailing whitespace.
16015 (string-trim): Removes leading and trailing whitespace.
16016
16017 * subr.el (string-suffix-p): New function.
16018
16019 2013-11-23 Glenn Morris <rgm@gnu.org>
16020
16021 * progmodes/python.el (python-shell-send-file):
16022 Add option to delete file when done. (Bug#15647)
16023 (python-shell-send-string, python-shell-send-region): Use it.
16024
16025 2013-11-23 Ivan Shmakov <ivan@siamics.net>
16026
16027 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
16028 to set buffer-read-only to t, never to nil. (Bug#15938)
16029
16030 * textmodes/tex-mode.el (latex-noindent-environments):
16031 Add safe-local-variable property. (Bug#15936)
16032
16033 2013-11-23 Glenn Morris <rgm@gnu.org>
16034
16035 * textmodes/enriched.el (enriched-mode): Doc fix.
16036 * emacs-lisp/authors.el (authors-renamed-files-alist):
16037 Add enriched.doc -> enriched.txt.
16038
16039 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
16040
16041 2013-11-22 Leo Liu <sdl.web@gmail.com>
16042
16043 * progmodes/octave.el (inferior-octave-startup): Spit out error
16044 message.
16045
16046 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
16047
16048 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16049 Improve docstring.
16050 Add :version.
16051 (ruby-encoding-magic-comment-style): Add :version.
16052
16053 2013-11-22 Leo Liu <sdl.web@gmail.com>
16054
16055 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
16056 (Bug#15076)
16057 (octave-help-mode): Adapt to change to help-mode-finish to use
16058 derived-mode-p on 2013-09-17.
16059 (inferior-octave-prompt): Also match octave-gui.
16060 (octave-kill-process): Don't ask twice. (Bug#10564)
16061
16062 2013-11-22 Leo Liu <sdl.web@gmail.com>
16063
16064 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
16065 (inferior-octave-startup, inferior-octave-check-process)
16066 (inferior-octave-track-window-width-change)
16067 (octave-completion-at-point, octave-eldoc-function): Use it.
16068 (octave-kill-process): Provide confirmation. (Bug#10564)
16069
16070 2013-11-21 Leo Liu <sdl.web@gmail.com>
16071
16072 * progmodes/octave.el (octave-mode, inferior-octave-mode):
16073 Fix obsolete variable comment-use-global-state.
16074
16075 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16076
16077 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
16078 Add `octave-source-file'.
16079 (octave-source-file): New function. (Bug#15935)
16080
16081 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
16082
16083 * net/eww.el (eww-local-regex): New variable.
16084 (eww): Use it to detect localhost and similar.
16085
16086 2013-11-21 Leo Liu <sdl.web@gmail.com>
16087
16088 Add completion for command `ag'.
16089 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
16090 (pcomplete/ag): New function.
16091 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
16092
16093 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16094
16095 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
16096 (bug#14646).
16097 (make-obsolete): Remove interactive spec.
16098
16099 2013-11-21 Glenn Morris <rgm@gnu.org>
16100
16101 * startup.el (command-line-1): Use path-separator with -L.
16102
16103 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
16104
16105 * emacs-lisp/package.el (describe-package-1): Add package archive
16106 to shown fields.
16107
16108 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
16109
16110 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16111 Change default to "# encoding: %s" to differentiate it from the
16112 default Ruby encoding comment template.
16113
16114 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
16115
16116 * ses.el (ses-mode): Doc fix. (Bug#14748)
16117
16118 2013-11-20 Leo Liu <sdl.web@gmail.com>
16119
16120 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
16121
16122 2013-11-19 Dan Nicolaescu <dann@gnu.org>
16123
16124 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
16125 when rebase or bisect are in progress.
16126
16127 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
16128
16129 * filenotify.el (file-notify-add-watch): Doc fix.
16130
16131 2013-11-19 Leo Liu <sdl.web@gmail.com>
16132
16133 * obsolete/rcompile.el: Mark obsolete.
16134
16135 * progmodes/compile.el (compilation-start)
16136 (compilation-goto-locus, compilation-find-file):
16137 Pass no-display-ok and handle nil value from display-buffer.
16138 (Bug#13594)
16139
16140 * window.el (display-buffer-alist, display-buffer): Document the
16141 new parameter no-display-ok. Return either a window or nil
16142 but never a non-window value.
16143
16144 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16145
16146 * electric.el (electric-indent-mode-map): Remove.
16147 (electric-indent-mode): Change the global-map instead (bug#15915).
16148
16149 * textmodes/text-mode.el (paragraph-indent-minor-mode):
16150 Use add-function.
16151
16152 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
16153
16154 * emacs-lisp/nadvice.el (remove-function): Align with
16155 add-function's behavior.
16156
16157 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
16158 (gdb--string-regexp): New constant.
16159 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
16160 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
16161 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
16162 submatch 1.
16163 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
16164 Adjust use accordingly.
16165 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
16166
16167 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
16168
16169 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
16170 interpolation curlies (Bug#15914).
16171
16172 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
16173
16174 * calc/calc.el (calc-context-sensitive-enter): New variable.
16175 (calc-enter): Use `calc-context-sensitive-enter'.
16176
16177 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
16178
16179 * progmodes/cfengine.el: Version bump.
16180 (cfengine-cf-promises): New defcustom to locate cf-promises.
16181 (cfengine3-vartypes): Add new "data" type.
16182 (cfengine3--current-word): New function to get current name-like
16183 word or its bounds.
16184 (cfengine3--current-function): New function to look up a CFEngine
16185 function's definition.
16186 (cfengine3-format-function-docstring): New function.
16187 (cfengine3-make-syntax-cache): New function.
16188 (cfengine3-documentation-function): New function: ElDoc glue.
16189 (cfengine3-completion-function): New function: completion glue.
16190 (cfengine3-mode): Set `compile-command',
16191 `eldoc-documentation-function', and add to
16192 `completion-at-point-functions'.
16193
16194 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
16195
16196 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16197 `tramp-current-connection'.
16198
16199 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
16200
16201 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16202 nil/self/true/false with "end of symbol".
16203
16204 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
16205
16206 * subr.el (version-regexp-alist): Fix a typo.
16207
16208 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
16209
16210 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16211 "en_US.utf8" and "LC_CTYPE" to "".
16212 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16213 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16214
16215 2013-11-15 Leo Liu <sdl.web@gmail.com>
16216
16217 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16218
16219 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16220
16221 * progmodes/gud.el (ctl-x-map):
16222 Remove C-x SPC binding. (Bug#12342)
16223 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16224
16225 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16226
16227 * subr.el (version-regexp-alist):
16228 Recognize hg, svn and darcs versions as snapshot versions.
16229
16230 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16231 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16232 (ruby--encoding-comment-required-p): Extract from
16233 `ruby-mode-set-encoding'.
16234 (ruby-mode-set-encoding): Add the ability to always insert an
16235 utf-8 encoding comment. Fix and simplify coding comment update
16236 logic.
16237
16238 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16239
16240 * net/tramp-gvfs.el (top): Run init code only when
16241 `tramp-gvfs-enabled' is not nil.
16242 (tramp-gvfs-enabled): Check also :system bus.
16243
16244 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 Sync with upstream verilog-mode revision 78e66ba.
16247 * progmodes/verilog-mode.el (verilog-end-of-defun)
16248 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16249 (verilog-get-end-of-defun): Remove unused argument.
16250 (verilog-comment-depth): Remove unused local `e'.
16251 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16252 Don't pass arg to verilog-get-end-of-defun.
16253
16254 2013-11-14 Glenn Morris <rgm@gnu.org>
16255
16256 * obsolete/assoc.el (aget): Prefix dynamic variable.
16257
16258 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16259
16260 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16261
16262 * widget.el, hfy-cmap.el: Remove bogus package version number.
16263
16264 2013-11-13 Glenn Morris <rgm@gnu.org>
16265
16266 * replace.el (replace-eval-replacement):
16267 Try to give more helpful error message. (Bug#15836)
16268
16269 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16270 (archive-7z-update): Avoid custom type mismatches.
16271
16272 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16273
16274 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16275
16276 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16277 address can be empty.
16278
16279 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16280 Accept nil SWITCHES.
16281 (tramp-gvfs-handle-write-region): Implement APPEND.
16282
16283 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16284
16285 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16286 binary "|" operator and closing block args delimiter.
16287 Remove FIXME comment referring to Ruby 1.8-only syntax.
16288 (ruby-smie--implicit-semi-p): Not after "|" operator.
16289 (ruby-smie--closing-pipe-p): New function.
16290 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16291 (ruby-smie-rules): Indent after "|".
16292
16293 2013-11-12 Glenn Morris <rgm@gnu.org>
16294
16295 * ps-print.el (ps-face-attribute-list):
16296 Handle anonymous faces. (Bug#15827)
16297
16298 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16299
16300 * window.el (display-buffer-other-frame): Fix doc-string.
16301 (Bug#15868)
16302
16303 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16304
16305 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16306
16307 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16308
16309 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16310 (tramp-sh-handle-file-local-copy): Don't write a message when
16311 saving temporary files.
16312
16313 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16314 both directories are remote.
16315 (tramp-smb-handle-directory-files): Do not return double entries.
16316 Do not expand full file names.
16317 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16318 (tramp-smb-handle-write-region): Implement APPEND.
16319 (tramp-smb-get-stat-capability): Fix a stupid bug.
16320
16321 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16322
16323 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16324
16325 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16326
16327 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16328 throwing error over malformed let/let* (bug#15814).
16329
16330 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * iswitchb.el (iswitchb-mode): Mark obsolete.
16333
16334 2013-11-11 Glenn Morris <rgm@gnu.org>
16335
16336 * international/uni-bidi.el, international/uni-category.el:
16337 * international/uni-name.el, international/uni-numeric.el:
16338 Regenerate for Unicode 6.3.0.
16339
16340 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16341
16342 * net/tramp.el (tramp-methods):
16343 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16344 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16345
16346 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16347
16348 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16349 Force highlighting text after Summary keyword in doc face for rpm.
16350
16351 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16352
16353 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16354 available and the word has no wildcards, append one to the grep pattern.
16355 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16356 (ispell-complete-word): Call `ispell-lookup-words' with the value
16357 independent of `ispell-look-p'.
16358
16359 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16360
16361 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16362 Not after "||".
16363 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16364 their parent.
16365
16366 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16367
16368 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16369 (ruby-font-lock-keywords): Use backquote.
16370
16371 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16372
16373 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16374 (ruby-smie--backward-token): Only consider full-string matches.
16375
16376 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16377
16378 * faces.el (describe-face): Add distant-foreground.
16379
16380 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16381
16382 * progmodes/ruby-mode.el: Improve encoding comment handling.
16383 (ruby-encoding-magic-comment-style): New option.
16384 (ruby-custom-encoding-magic-comment-template): New option.
16385 (ruby--insert-coding-comment, ruby--detect-encoding):
16386 New functions extracted from `ruby-mode-set-encoding'.
16387 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16388 to control the style of the auto-inserted encoding comment.
16389
16390 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16391
16392 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16393 Use `smie-backward-sexp' with token argument.
16394
16395 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16396
16397 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16398 Remove instrumentation code.
16399
16400 2013-11-08 Glenn Morris <rgm@gnu.org>
16401
16402 * progmodes/autoconf.el (autoconf-mode):
16403 Tweak comment-start-skip. (Bug#15822)
16404
16405 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16406
16407 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16408 at bobp (bug#15826).
16409 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16410
16411 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16412
16413 * man.el (Man-start-calling): New macro, extracted from
16414 Man-getpage-in-background.
16415 (Man-getpage-in-background): Use it.
16416 (Man-update-manpage): New command.
16417 (Man-mode-map): Bind it.
16418
16419 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16420
16421 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16422 of "and", "or", "&&" and "||".
16423 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16424 argument. Prohibit opening curly brace because it could only be a
16425 block opener in that position.
16426 (ruby-smie--forward-token, ruby-smie--backward-token):
16427 Separate "|" from "&" or "*" going after it. That can happen in block
16428 arguments.
16429 (ruby-smie--indent-to-stmt): New function, seeks the end of
16430 previous statement or beginning of buffer.
16431 (ruby-smie-rules): Use it.
16432 (ruby-smie-rules): Check if there's a ":" before a curly block
16433 opener candidate; if there is, it's a hash.
16434
16435 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16438 (cl--block-wrapper): Fix last accidental change.
16439
16440 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16441
16442 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16443 Instrument, in order to hunt failure on hydra.
16444
16445 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16446
16447 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16448 malformed bindings form (bug#15814).
16449
16450 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16451
16452 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16453 "." compared to " @ ". This incidentally fixes some indentation
16454 examples with "do".
16455 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16456 (ruby-smie-grammar): New tokens: "and" and "or".
16457 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16458 Exclude "and" and "or". Remove "do" in order to work around token
16459 priorities.
16460 (ruby-smie-rules): Add all infix tokens. Handle the case of
16461 beginning-of-buffer.
16462
16463 2013-11-06 Glenn Morris <rgm@gnu.org>
16464
16465 * Makefile.in (setwins_almost, setwins_for_subdirs):
16466 Avoid accidental matches.
16467
16468 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16469
16470 * menu-bar.el (popup-menu): Use key-binding.
16471
16472 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16473
16474 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16475 menus, support also the menus produced by minor modes.
16476 (Bug#15817)
16477
16478 2013-11-06 Leo Liu <sdl.web@gmail.com>
16479
16480 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16481 DISTANCE to bound the search. All uses changed. (Bug#15808)
16482
16483 2013-11-06 Glenn Morris <rgm@gnu.org>
16484
16485 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16486 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16487 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16488
16489 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * electric.el (electric-indent-just-newline): New command.
16492 (electric-indent-mode-map): New keymap.
16493 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16494 Re-add :group which weren't redundant.
16495
16496 * electric.el (electric-indent-local-mode): New minor mode.
16497 (electric-indent-functions-without-reindent): New var.
16498 (electric-indent-post-self-insert-function): Use it.
16499 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16500
16501 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16502
16503 * international/quail.el (quail-help): Be more explicit about the
16504 meaning of the labels shown on the keys. (Bug#15800)
16505
16506 * startup.el (normal-top-level): Load the subdirs.el files before
16507 setting the locale environment. (Bug#15805)
16508
16509 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16510
16511 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16512 via arguments so as to get the right ones (bug#15418).
16513
16514 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16515
16516 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16517
16518 Fix problems found while writing a test suite.
16519
16520 * net/tramp-compat.el (tramp-compat-load): New defun.
16521 * net/tramp.el (tramp-handle-load): Use it.
16522
16523 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16524 "(numberp ok-if-already-exists)" correctly.
16525
16526 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16527
16528 * international/characters.el (glyphless-char-display-control):
16529 Add usage note.
16530
16531 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16532
16533 * progmodes/python.el (python-mode):
16534 * progmodes/scheme.el (scheme-mode):
16535 * progmodes/prolog.el (prolog-mode):
16536 * progmodes/ruby-mode.el (ruby-mode):
16537 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16538 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16539
16540 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16541
16542 * rect.el (rectangle--highlight-for-redisplay):
16543 * emacs-lisp/smie.el (smie--next-indent-change):
16544 Use buffer-chars-modified-tick.
16545
16546 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16547
16548 * electric.el (electric-indent-post-self-insert-function):
16549 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16550
16551 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16552
16553 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16554
16555 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16556
16557 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16558 (bug#15786).
16559
16560 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16561
16562 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16563
16564 * progmodes/python.el: Fix up last change.
16565 (python-shell--save-temp-file): New function.
16566 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16567 `string' comes from the current buffer.
16568 (python-shell-send-string-no-output): Remove `msg' arg.
16569 (python--use-fake-loc): New var.
16570 (python-shell-buffer-substring): Obey it. Try to compensate for the
16571 extra coding line added by python-shell--save-temp-file.
16572 (python-shell-send-region): Use python-shell--save-temp-file and
16573 python-shell-send-file directly. Add `nomain' argument.
16574 (python-shell-send-buffer): Use python-shell-send-region.
16575 (python-electric-pair-string-delimiter): New function.
16576 (python-mode): Use it.
16577
16578 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16579
16580 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16581 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16582 environment and decoding all of the default-directory's to here
16583 from command-line.
16584 (command-line): Decode also argv[0].
16585
16586 * loadup.el: Error out if default-directory is a multibyte string
16587 when we are dumping.
16588
16589 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16590
16591 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16592
16593 * emacs-lisp/package.el (package-menu-mode)
16594 (package-menu--print-info, package-menu--archive-predicate):
16595 Add Archive column to package list.
16596
16597 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16598
16599 Fix problems found while writing a test suite.
16600
16601 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16602 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16603 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16604 to nil when running original file name handler. Otherwise,
16605 there are problems with constructs like "$$FOO".
16606
16607 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16608 for `localname'.
16609
16610 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16611
16612 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16613
16614 * subr.el (version<, version<=, version=):
16615 Update docstrings with information for snapshot versions.
16616
16617 * helpers.el: New library for misc helper functions.
16618 (hash-table-keys): New function returning a list of hash keys.
16619 (hash-table-values): New function returning a list of hash values.
16620
16621 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16622
16623 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16624 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16625
16626 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16627
16628 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16629 checking whether point is after a 1-letter word.
16630
16631 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16632
16633 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16634 Don't infloop when expanding region over `multiline' syntax-type that
16635 begins a line (bug#15778).
16636
16637 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16638
16639 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16640 Make it into a proper minor mode.
16641 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16642 (rectangle-mark-mode-map): New keymap.
16643 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16644
16645 2013-11-04 Glenn Morris <rgm@gnu.org>
16646
16647 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16648
16649 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16650
16651 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16652 (ruby-smie-rules): Use smie-rule-parent instead.
16653
16654 * emacs-lisp/smie.el (smie-rule-parent): Always call
16655 smie-indent-virtual rather than only for hanging tokens.
16656 (smie--next-indent-change): New helper command.
16657
16658 2013-11-03 Glenn Morris <rgm@gnu.org>
16659
16660 * Makefile.in (abs_srcdir): Remove.
16661 (emacs): Unset EMACSLOADPATH.
16662
16663 2013-11-02 Glenn Morris <rgm@gnu.org>
16664
16665 * Makefile.in (EMACS): Use a relative filename.
16666 (abs_top_builddir): Remove.
16667 (custom-deps, finder-data, autoloads): Use --chdir.
16668
16669 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16670
16671 Use relative filenames in TAGS files.
16672 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16673 (lisptagsfiles4, TAGS): Use relative file names.
16674 (TAGS-LISP): Remove.
16675 (maintainer-clean): No more TAGS-LISP file.
16676
16677 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16678 (lisptagsfiles4): Use absolute filenames again.
16679 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16680 Remove all *loaddefs files, not just the first. Remove esh-groups.
16681 (maintainer-clean): Delete TAGS, TAGS-LISP.
16682
16683 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16684
16685 * emacs-lisp/package.el (package-version-join):
16686 Recognize snapshot versions.
16687
16688 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16689
16690 * subr.el (version-regexp-alist): Add support for snapshot versions.
16691
16692 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16693
16694 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16695 New function, replacement for `smie-rule-parent' for when we want to
16696 skip over our direct parent if it's an assignment token..
16697 (ruby-smie-rules): Use it.
16698
16699 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16700
16701 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16702 unconditionally. Remove now unnecessary forward declarations.
16703 Remove XEmacs-specific setup.
16704 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16705 (ruby-font-lock-syntactic-keywords)
16706 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16707 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16708 (ruby-here-doc-end-syntax): Remove.
16709 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16710 defined as function.
16711
16712 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16713
16714 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16715
16716 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16717
16718 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16719 table and abbrev table, `define-derived-mode' does that for us
16720 anyway.
16721
16722 2013-11-01 Glenn Morris <rgm@gnu.org>
16723
16724 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16725 files is atomic for some time, so no parallel compilation issues).
16726
16727 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16728
16729 * faces.el (face-x-resources): Add :distant-foreground.
16730 (region): Use :distant-foreground for gtk and ns.
16731
16732 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16733
16734 Allow multiple bibliographies when BibLaTeX is used rather than
16735 BibTeX.
16736 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16737 (reftex-locate-bibliography-files): Us it.
16738
16739 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16740
16741 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16742 allow comments in pbm files.
16743
16744 * term/w32-win.el (dynamic-library-alist): Support newer versions
16745 of libjpeg starting with v7: look only for the DLL from the
16746 version against which Emacs was built.
16747 Support versions of libpng beyond 1.4.x.
16748 Support libtiff v4.x.
16749
16750 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16751
16752 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16753 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16754 Add property :safe.
16755 (ruby-deep-arglist): Add property :type.
16756
16757 2013-10-31 Glenn Morris <rgm@gnu.org>
16758
16759 * Makefile.in (custom-deps, finder-data): No need to setq the target
16760 variables, we are in the right directory and the defaults work fine.
16761
16762 2013-10-30 Glenn Morris <rgm@gnu.org>
16763
16764 * Makefile.in (autoloads): Do not use abs_lisp.
16765
16766 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16767 `newline' does not respect `standard-output', so use `princ'.
16768
16769 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16770
16771 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16772 * buff-menu.el (Buffer-menu--unmark): New function.
16773 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16774
16775 2013-10-30 Glenn Morris <rgm@gnu.org>
16776
16777 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16778
16779 * emacs-lisp/package.el (lm-homepage): Declare.
16780
16781 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16782 Fix doc typos.
16783
16784 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16785
16786 * Makefile.in (finder-data, autoloads, update-subdirs)
16787 (compile-main, compile-clean, compile-always, bootstrap-clean):
16788 Check return value of cd.
16789 (compile-calc): Remove.
16790
16791 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16794
16795 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16796 (byte-compile-and-folded): New function.
16797 (=, <, >, <=, >=): Use it.
16798
16799 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16800 (path-separator, null-device, buffer-file-coding-system)
16801 (lpr-headers-switches): Check system-type before modifying them.
16802 (find-buffer-file-type-coding-system): Mark obsolete.
16803 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16804 find-file-not-found-set-buffer-file-coding-system.
16805 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16806 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16807 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16808 (w32-direct-print-region-helper, w32-direct-print-region-function)
16809 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16810 * startup.el (normal-top-level-add-subdirs-to-load-path):
16811 * ps-print.el (ps-print-region-function):
16812 * lpr.el (print-region-function): Use new name.
16813
16814 * subr.el (custom-declare-variable-early): Remove function.
16815 (custom-declare-variable-list): Remove var.
16816 (error, user-error): Remove `while' loop.
16817 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16818 (user-emacs-directory-warning, locate-user-emacs-file):
16819 Move to files.el.
16820 * simple.el (read-quoted-char-radix, read-quoted-char):
16821 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16822 Move from subr.el.
16823 * custom.el (custom-declare-variable-list): Don't process
16824 custom-declare-variable-list.
16825
16826 * progmodes/python.el (python-shell-get-buffer): New function.
16827 (python-shell-get-process): Use it.
16828 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16829 Python which encoding was used. Don't split-string since we only care
16830 about the first line. Return the temp-file, if applicable.
16831 (python-shell-send-region): Tell compile.el how to turn locations in
16832 the temp-file into locations in the source buffer.
16833
16834 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16835
16836 * subr.el (undefined): Add missing behavior from the C code for
16837 unbound keys.
16838
16839 * rect.el: Use lexical-binding. Add new rectangular region support.
16840 (rectangle-mark): New command.
16841 (rectangle--region): New var.
16842 (deactivate-mark-hook): Reset rectangle--region.
16843 (rectangle--extract-region, rectangle--insert-for-yank)
16844 (rectangle--highlight-for-redisplay)
16845 (rectangle--unhighlight-for-redisplay): New functions.
16846 (region-extract-function, redisplay-unhighlight-region-function)
16847 (redisplay-highlight-region-function): Use them to handle
16848 rectangular region.
16849 * simple.el (region-extract-function): New var.
16850 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16851 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16852 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16853 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16854 (redisplay-unhighlight-region-function)
16855 (redisplay-highlight-region-function): New vars.
16856 (redisplay--update-region-highlight): New function.
16857 (pre-redisplay-function): Use it.
16858 (exchange-point-and-mark): Don't deactivate the mark before
16859 reactivate-it anyway.
16860 * comint.el (comint-kill-region): Remove yank-handler argument.
16861 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16862 (delete-char): Remove property, since it's now part of their
16863 default behavior.
16864 (self-insert-iso): Remove property since this command doesn't exist.
16865
16866 * emacs-lisp/package.el (package--download-one-archive)
16867 (describe-package-1): Don't query the user about final newline.
16868
16869 2013-10-29 Daniel Colascione <dancol@dancol.org>
16870
16871 * net/tramp.el (tramp-methods): Document new functionality.
16872 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16873 tramp-hostname-checker if method provides one instead of scanning
16874 argument list for "%h" to decide hostname acceptability.
16875
16876 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16877
16878 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16879 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16880 Handle COPY-CONTENTS. (Bug#15737)
16881
16882 2013-10-28 Daiki Ueno <ueno@gnu.org>
16883
16884 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16885 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16886
16887 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16888
16889 * image.el (defimage, image-load-path): Doc fixes.
16890
16891 2013-10-27 Alan Mackenzie <acm@muc.de>
16892
16893 Indent statements in macros following "##" correctly.
16894 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16895 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16896
16897 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16898
16899 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16900
16901 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16902
16903 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16904 after `=' is probably a new expression.
16905
16906 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16907
16908 * man.el (man-imenu-title): New option.
16909 (Man-mode-map): Add menu. (Bug#15722)
16910 (Man-mode): Add imenu to menu.
16911
16912 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16913
16914 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16915 specific in what the first arg can be: a non-keyword word,
16916 string/regexp/percent literal opener, opening paren, or unary
16917 operator followed directly by word.
16918
16919 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16920
16921 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16922 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16923 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16924 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16925 Remove vars, they do not apply any more.
16926 (prolog-mode-abbrev-table): Remove redundant declaration.
16927 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16928 (prolog-use-smie): Remove.
16929 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16930 supported by prolog-electric-if-then-else-flag.
16931 (prolog-mode-variables, prolog-menu): Use setq-local.
16932 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16933 Remove binding to `Backspace' since this key doesn't exist anyway.
16934 Remove bindings for electric self-inserting keys.
16935 (prog-mode): Assume it's defined.
16936 (prolog-post-self-insert): New function.
16937 (prolog-mode): Use it.
16938 (prolog-indent-line, prolog-indent-level)
16939 (prolog-find-indent-of-matching-paren)
16940 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16941 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16942 (prolog-goto-next-paren, prolog-in-string-or-comment)
16943 (prolog-tokenize, prolog-inside-mline-comment)
16944 (prolog-find-start-of-mline-comment): Remove functions.
16945 (prolog-find-unmatched-paren, prolog-clause-end)
16946 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16947 (prolog-electric--if-then-else): Rename from
16948 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16949 (prolog-tokenize-searchkey): Remove const.
16950 (prolog-clause-info): Use forward-sexp.
16951 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16952 (prolog-electric-if-then-else): Remove commands.
16953 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16954 for use in post-self-insert-hook.
16955 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16956 for use in post-self-insert-hook.
16957 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16958 for use in post-self-insert-hook.
16959 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16960 adapt it for use in post-self-insert-hook.
16961
16962 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16963
16964 * emacs-lisp/ert.el (ert-run-tests-interactively):
16965 Use `completing-read'. (Bug#9756)
16966
16967 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16968
16969 * simple.el (line-move): Call line-move-1 instead of
16970 line-move-visual when the current window hscroll is zero, but
16971 temporary-goal-column indicates we will need to hscroll as result
16972 of the movement. (Bug#15712)
16973
16974 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16975
16976 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16977 capitalization. Use :visible instead of :active.
16978 Fix `ruby-indent-exp' reference. Add menu items for the generic
16979 commands that are used with SMIE.
16980 (ruby-do-end-to-brace): Insert space after `{'.
16981
16982 2013-10-25 John Anthony <john@jo.hnanthony.com>
16983
16984 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16985
16986 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16987
16988 2013-10-25 Glenn Morris <rgm@gnu.org>
16989
16990 * vc/vc.el (vc-print-log): Don't use a working revision unless
16991 one was explicitly specified. (Bug#15322)
16992
16993 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16994
16995 * subr.el (add-to-list): Preserve return value in compiler-macro
16996 (bug#15692).
16997
16998 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16999
17000 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
17001 result. Ask user to retry using '-all' flag. (Bug#15701)
17002
17003 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17004
17005 * emacs-lisp/smie.el: New smie-config system.
17006 (smie-config): New defcustom.
17007 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
17008 (smie-config-guess, smie-config-save): New commands.
17009 (smie-config--mode-local, smie-config--buffer-local)
17010 (smie-config--trace, smie-config--modefuns): New vars.
17011 (smie-config--advice, smie-config--mode-hook)
17012 (smie-config--setter, smie-config-local, smie-config--get-trace)
17013 (smie-config--guess-value, smie-config--guess): New functions.
17014 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
17015 text properties. Treat "string fence" syntax like string syntax.
17016
17017 * progmodes/sh-script.el (sh-use-smie): Change default.
17018 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
17019 (sh-var-value): Simplify by CSE.
17020 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
17021 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
17022 is used.
17023 (sh-guess-basic-offset): Use cl-incf.
17024 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
17025
17026 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
17027
17028 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
17029 (bug#15699).
17030
17031 2013-10-24 Glenn Morris <rgm@gnu.org>
17032
17033 * Makefile.in (abs_top_srcdir): Remove.
17034 (update-subdirs): Use relative path to update-subdirs.
17035
17036 2013-10-24 Eli Zaretskii <eliz@gnu.org>
17037
17038 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
17039 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
17040 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
17041 Call unmsys--file-name before expand-file-name, not after it.
17042
17043 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
17044
17045 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
17046 (ert-test-skipped): New error.
17047 (ert-skip, ert-stats-skipped): New defuns.
17048 (ert--skip-unless): New macro.
17049 (ert-test-skipped): New struct.
17050 (ert--run-test-debugger, ert-test-result-type-p)
17051 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
17052 (ert--stats-set-test-and-result, ert-char-for-test-result)
17053 (ert-string-for-test-result, ert-run-tests-batch)
17054 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
17055 Handle skipped tests. (Bug#9803)
17056
17057 2013-10-24 Glenn Morris <rgm@gnu.org>
17058
17059 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
17060
17061 * Makefile.in (abs_top_srcdir): New, set by configure.
17062 (update-subdirs): Correct build-aux location.
17063
17064 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
17065
17066 * vc/vc.el (vc-print-root-log): Always set `default-directory'
17067 value, whether we could auto-deduce `backend', or not.
17068
17069 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
17070 with parameters" example. Simplify the "is it block or is it
17071 hash" check, but also make it more thorough.
17072
17073 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
17074
17075 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
17076
17077 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17078
17079 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
17080 { if it is hanging.
17081
17082 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
17083 :before ";".
17084
17085 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
17086
17087 * progmodes/compile.el (compilation-directory-matcher)
17088 (compilation-page-delimiter):
17089 Support GNU Make-4.0 directory quoting. (Bug#15678)
17090
17091 2013-10-23 Leo Liu <sdl.web@gmail.com>
17092
17093 * ido.el (ido-tidy): Handle read-only text.
17094
17095 2013-10-23 Glenn Morris <rgm@gnu.org>
17096
17097 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
17098 (emacs, compile, compile-always):
17099 Quote entities that might contain whitespace.
17100 (custom-deps, finder-data, autoloads): Use abs_lisp.
17101 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17102 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17103 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
17104
17105 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
17106
17107 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
17108 Use `following-char'.
17109
17110 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17111
17112 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
17113 * progmodes/ruby-mode.el (ruby-smie-rules):
17114 Remove corresponding workaround. Fix indentation rule of ";" so it
17115 also applies when ";" is the parent.
17116
17117 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
17118
17119 * frame.el (display-screens, display-pixel-height)
17120 (display-pixel-width, display-mm-width, display-backing-store)
17121 (display-save-under, display-planes, display-color-cells)
17122 (display-visual-class, display-monitor-attributes-list):
17123 Mention the optional ‘display’ argument in doc strings.
17124
17125 2013-10-22 Michael Gauland <mikelygee@amuri.net>
17126
17127 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
17128 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
17129
17130 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17131
17132 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
17133 TODO. Add "." after " @ ".
17134 (ruby-smie--at-dot-call): New function. Checks if point at method
17135 call with explicit target.
17136 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
17137 to the method name tokens when it precedes them.
17138 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
17139 (ruby-smie-rules): Add rule for indentation before and after "."
17140 token.
17141
17142 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17143
17144 * textmodes/remember.el (remember-diary-extract-entries):
17145 Avoid add-to-list.
17146
17147 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
17148 an instruction.
17149
17150 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17151
17152 * progmodes/ruby-mode.el (ruby-smie-grammar):
17153 Add (almost) all infix operators.
17154 (ruby-smie--implicit-semi-p): Add new operator chars.
17155
17156 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
17157 `smie-down-list'.
17158 (ruby-smie--args-separator-p): Check that there's no newline
17159 between method call and its arguments.
17160
17161 2013-10-20 Alan Mackenzie <acm@muc.de>
17162
17163 Allow comma separated lists after Java "implements".
17164
17165 * progmodes/cc-engine.el (c-backward-over-enum-header):
17166 Parse commas.
17167 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
17168 from a "disallowed" list in enum fontification.
17169
17170 2013-10-20 Johan Bockgård <bojohan@gnu.org>
17171
17172 * startup.el (default-frame-background-mode): Remove unused defvar.
17173
17174 * progmodes/verilog-mode.el (verilog-mode): Don't set
17175 comment-indent-function globally.
17176
17177 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
17178
17179 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
17180 Move Info menu item creation to ns-win.el.
17181
17182 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
17183 in menu bar.
17184
17185 * menu-bar.el: Move GNUstep specific menus...
17186
17187 * term/ns-win.el (ns-initialize-window-system): ... to here.
17188
17189 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17190
17191 * simple.el (newline): Only run post-self-insert-hook when
17192 called interactively.
17193
17194 2013-10-19 Johan Bockgård <bojohan@gnu.org>
17195
17196 * icomplete.el (icomplete-with-completion-tables): Add :version.
17197
17198 2013-10-19 Alan Mackenzie <acm@muc.de>
17199
17200 Fix fontification bugs with constructors and const.
17201
17202 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17203 CASE 2) Remove the check for the absence of a suffix construct
17204 after a function declaration with only types (no identifiers) in
17205 the parentheses. Also, accept a function declaration with just a
17206 type inside the parentheses, if this type can be positively
17207 recognised as such, or if a prefix keyword like "explicit" nails
17208 down the construct as a declaration.
17209
17210 2013-10-19 Eli Zaretskii <eliz@gnu.org>
17211
17212 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17213 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
17214 the problem whereby selecting a menu item that leads to a
17215 minibuffer prompt moves the cursor out of the minibuffer window,
17216 making it hard to type at the prompt. Suggested by Stefan Monnier
17217 <monnier@iro.umontreal.ca>.
17218
17219 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17220
17221 * menu-bar.el: Don't make Services menu.
17222
17223 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17224
17225 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17226 (ffap-alist): Use ffap-c++-mode for c++-mode.
17227 (ffap-c++-path): New variable.
17228 (ffap-c++-mode): New function.
17229
17230 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17231
17232 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17233
17234 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17235
17236 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17237 introduced on 2013-09-08, which results in an infinite loop
17238 requesting a password.
17239
17240 2013-10-18 Glenn Morris <rgm@gnu.org>
17241
17242 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17243
17244 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17245
17246 Sync with upstream verilog-mode revision 1a6ecec7.
17247 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17248 (verilog-mode-release-date): Remove.
17249 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17250 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17251 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17252 (verilog-auto-tieoff-ignore-regexp)
17253 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17254 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17255 (verilog-signals-with, verilog-dir-cache-preserving)
17256 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17257 Doc fixes.
17258 (verilog-case-fold): New option, to control case folding in
17259 regexp searches, bug597.
17260 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17261 (verilog-string-match-fold, verilog-in-paren-count)
17262 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17263 (verilog-at-close-struct-p): New functions.
17264 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17265 (verilog-forward-sexp, verilog-set-auto-endcomments)
17266 (verilog-leap-to-case-head): Handle "unique0" case.
17267 (verilog-in-constraint-re): New constant.
17268 (verilog-keywords, verilog-type-font-keywords):
17269 Add some SystemVerilog 1800-2012 keywords.
17270 (verilog-label-be): Remove unimplemented argument, bug669.
17271 (verilog-batch-execute-func): When batch expanding clear
17272 create-lockfiles to prevent spurious user locks when a file ends
17273 up not changing.
17274 (verilog-calculate-indent, verilog-calc-1)
17275 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17276 (verilog-do-indent): Fix indentation of nested constraints
17277 and structures.
17278 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17279 (verilog-auto-inst-param): Use verilog-string-match-fold.
17280 (verilog-read-inst-module-matcher):
17281 Fix AUTOINST on gate primitives with #1.
17282 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17283 Reads all user-defined typed variables.
17284 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17285 (verilog-signals-matching-regexp)
17286 (verilog-signals-not-matching-regexp, verilog-auto):
17287 Respect verilog-case-fold.
17288 (verilog-diff-report): Fix line count.
17289 (verilog-auto-assign-modport): Remove unused local `modi'.
17290 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17291 better handle multidimensional arrays.
17292 Fix packed array ports misadding bit index in AUTOINST, bug637.
17293 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17294 to not double-declare existing outputs and inputs, respectively.
17295 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17296 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17297 (verilog-sk-uvm-component): New skeleton.
17298 (verilog-submit-bug-report): Add verilog-case-fold,
17299 remove verilog-mode-release-date.
17300
17301 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17302
17303 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17304 as before.
17305
17306 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17307
17308 * textmodes/remember.el (remember): Set buffer-offer-save in
17309 remember buffers (bug#13566).
17310
17311 2013-10-18 Daniel Colascione <dancol@dancol.org>
17312
17313 When evaluating forms in ielm, direct standard output to ielm
17314 buffer. Add new ielm-return-for-effect command. Remove trailing
17315 whitespace throughout.
17316
17317 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17318 (ielm-return-for-effect): New command.
17319 (ielm-send-input): Accept optional `for-effect' parameter.
17320 (ielm-eval-input): Accept optional `for-effect' parameter.
17321 Bind `standard-output' to stream we create using
17322 `ielm-standard-output-impl'. Suppress printing result when
17323 `for-effect'.
17324 (ielm-standard-output-impl): New function.
17325 (inferior-emacs-lisp-mode): Explain new features in documentation.
17326
17327 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17328
17329 Code cleanup.
17330
17331 * net/tramp.el (tramp-debug-message): Do not check for connection
17332 buffer.
17333 (tramp-message): Use "vector" connection property.
17334
17335 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17336 (tramp-equal-remote, tramp-eshell-directory-change)
17337 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17338 (tramp-adb-handle-rename-file)
17339 * net/tramp-cmds.el (tramp-list-remote-buffers)
17340 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17341 * net/tramp-compat.el (tramp-compat-process-running-p)
17342 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17343 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17344 (tramp-gvfs-handle-rename-file)
17345 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17346 (tramp-set-file-uid-gid)
17347 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17348 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17349 of `file-remote-p'.
17350
17351 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17352 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17353 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17354 (tramp-gw-open-network-stream): Suppress unrelated traces.
17355
17356 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17357 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17358 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17359 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17360 connection property.
17361
17362 * net/tramp-cache.el (top): Suppress traces when reading
17363 persistency file.
17364
17365 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17366 Refactor common code. Improve debug message.
17367 (tramp-maybe-open-connection)
17368 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17369 connection buffer too early.
17370
17371 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17372 from `tramp-smb-actions-with-acl'.
17373 (tramp-smb-actions-set-acl): New defconst.
17374 (tramp-smb-handle-copy-directory)
17375 (tramp-smb-action-get-acl): New defun, renamed from
17376 `tramp-smb-action-with-acl'.
17377 (tramp-smb-action-set-acl): New defun.
17378 (tramp-smb-handle-set-file-acl): Rewrite.
17379
17380 2013-10-17 Glenn Morris <rgm@gnu.org>
17381
17382 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17383
17384 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17385
17386 * skeleton.el (skeleton-newline): Remove.
17387 (skeleton-internal-1): Use (insert "\n") instead.
17388
17389 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17390 let-bindings.
17391
17392 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17393 forward-sexp-function while we redo its job (bug#15613).
17394
17395 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17396
17397 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17398 represented by lists.
17399
17400 2013-10-16 Glenn Morris <rgm@gnu.org>
17401
17402 * tmm.el (tmm--history): New dynamic variable.
17403 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17404
17405 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17406
17407 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17408 (tramp-smb-errors): Add error messages.
17409 (tramp-smb-actions-with-acl): New defconst.
17410 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17411 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17412 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17413 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17414 (tramp-smb-get-stat-capability): Fix tests.
17415
17416 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17417
17418 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17419 (bug#15580).
17420
17421 2013-10-16 Glenn Morris <rgm@gnu.org>
17422
17423 * ansi-color.el (ansi-color-drop-regexp):
17424 Add 1J, 1K, 2K. (Bug#15617)
17425
17426 * files.el (hack-local-variables--warned-lexical): New.
17427 (hack-local-variables):
17428 Warn about misplaced lexical-binding. (Bug#15616)
17429
17430 * net/eww.el (eww-render): Always set eww-current-url,
17431 and update header line. (Bug#15622)
17432 (eww-display-html): ... Rather than just doing it here.
17433
17434 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17435
17436 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17437 menu navigations commands.
17438
17439 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17440
17441 * progmodes/subword.el (subword-capitalize): Be careful when
17442 the search for [[:alpha:]] fails (bug#15580).
17443
17444 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17445
17446 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17447 to commands that scroll the menu.
17448
17449 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17450
17451 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17452 Handle methods ending with `?' and `!'.
17453
17454 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17455
17456 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17457 `japanese-cp932' to `cp932' to fix the problem where saving a
17458 source file written in Shift_JIS twice would end up having
17459 `coding: japanese-cp932' which Ruby could not recognize.
17460 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17461 in `ruby-encoding-map'.
17462 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17463 doesn't need to be explicitly declared in magic comment.
17464 (ruby-encoding-map): Add type declaration for better customize UI.
17465
17466 2013-10-13 Glenn Morris <rgm@gnu.org>
17467
17468 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17469 Occur buffers are read-only. http://bugs.debian.org/720775
17470
17471 * emacs-lisp/authors.el (authors-fixed-entries):
17472 Comment out old alpha stuff.
17473
17474 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17475
17476 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17477 to `after-save-hook' instead of `before-save-hook'.
17478 (ruby-mode-set-encoding): Use the value of coding system used to
17479 write the file. Call `basic-save-buffer-1' after modifying the
17480 buffer.
17481
17482 2013-10-13 Alan Mackenzie <acm@muc.de>
17483
17484 Fix indentation/fontification of Java enum with
17485 "implements"/generic.
17486
17487 * progmodes/cc-engine.el (c-backward-over-enum-header):
17488 Extracted from the three other places and enhanced to handle generics.
17489 (c-inside-bracelist-p): Uses new function above.
17490 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17491 function above.
17492 (c-font-lock-enum-tail): Uses new function above.
17493
17494 2013-10-13 Kenichi Handa <handa@gnu.org>
17495
17496 * international/mule-cmds.el (select-safe-coding-system): Remove a
17497 superfluous condition in chekcing whether a coding system is safe
17498 or not.
17499
17500 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17501
17502 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17503
17504 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17505
17506 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17507
17508 2013-10-13 Glenn Morris <rgm@gnu.org>
17509
17510 * menu-bar.el (menu-bar-update-buffers):
17511 Unify Buffers menu prompt string. (Bug#15576)
17512
17513 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17514
17515 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17516 Add some entries.
17517 (authors-fixed-entries): Use accented form of name.
17518
17519 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17520
17521 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17522 method calls (bug#15594).
17523 (ruby-smie--args-separator-p): New function.
17524 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17525 recognize paren-free method calls.
17526
17527 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17528 internals of universal-argument.
17529
17530 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17531
17532 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17533 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17534 dropped menu on second mouse click on the menu bar.
17535
17536 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17537
17538 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17539 (explicit-shell-file-name): Declare.
17540 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17541 (sh-completion-at-point-function): New function.
17542 (sh-mode): Use it.
17543 (sh-smie--keyword-p): Remove unused argument.
17544 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17545 vars.
17546 (sh-set-shell): Always setup SMIE, even if we use the
17547 old indentation code.
17548
17549 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17550
17551 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17552 cases of ? and =.
17553 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17554 predicate would return nil are almost non-existent.
17555 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17556
17557 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17558 cache also after commands that modify the buffer but don't move
17559 point.
17560
17561 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17562
17563 * env.el (substitute-env-in-file-name): New function.
17564 (substitute-env-vars): Extend the meaning of the optional arg.
17565
17566 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17567
17568 * term/w32-win.el (dynamic-library-alist): Define separate lists
17569 of GIF DLLs for versions before and after 5.0.0 of giflib.
17570 (Bug#15531)
17571
17572 2013-10-10 João Távora <joaotavora@gmail.com>
17573
17574 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17575 not locked, use last revision and current source as
17576 defaults. (Bug#15569)
17577
17578 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17579
17580 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17581 menu-bar is hidden.
17582
17583 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17584
17585 * window.el (pop-to-buffer-same-window): Fix doc-string.
17586 (Bug#15492)
17587
17588 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17589
17590 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17591
17592 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17593
17594 * calendar/icalendar.el (icalendar-import-file):
17595 Fix interactive spec. (Bug#15482)
17596
17597 2013-10-10 Glenn Morris <rgm@gnu.org>
17598
17599 * desktop.el (desktop-save): Default to saving in .emacs.d,
17600 since PWD is no longer in desktop-path by default. (Bug#15319)
17601
17602 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17603 now that text mode has a menu with the same entry.
17604 (menu-bar-text-mode-auto-fill): Remove now unused func.
17605 * textmodes/text-mode.el (text-mode-map):
17606 Use auto-fill help text from menu-bar.el.
17607
17608 2013-10-10 John Anthony <john@jo.hnanthony.com>
17609
17610 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17611
17612 2013-10-09 Juri Linkov <juri@jurta.org>
17613
17614 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17615 instead of this-command-keys. Add universal-argument-more and
17616 universal-argument-minus to the list of prefix commands. (Bug#15568)
17617
17618 2013-10-09 Glenn Morris <rgm@gnu.org>
17619
17620 * vc/vc-svn.el (vc-svn-create-repo):
17621 Expand paths in file://... url. (Bug#15446)
17622
17623 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17624 Add some entries.
17625 (authors): Remove unused local variables.
17626
17627 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17628
17629 * profiler.el: Create a more coherent calltree from partial backtraces.
17630 (profiler-format): Hide the tail with `invisible' so that C-s can still
17631 find the hidden elements.
17632 (profiler-calltree-depth): Don't recurse so enthusiastically.
17633 (profiler-function-equal): New hash-table-test.
17634 (profiler-calltree-build-unified): New function.
17635 (profiler-calltree-build): Use it.
17636 (profiler-report-make-name-part): Indent the calltree less.
17637 (profiler-report-mode): Add visibility specs for profiler-format.
17638 (profiler-report-expand-entry, profiler-report-toggle-entry):
17639 Expand the whole subtree when provided with a prefix arg.
17640
17641 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17642
17643 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17644 iuwu-mod token.
17645 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17646 hanging iuwu-mod token.
17647 (ruby-smie--forward-token): Do not include a dot after a token in
17648 that token.
17649 (ruby-smie--backward-token): Likewise.
17650
17651 2013-10-08 Juri Linkov <juri@jurta.org>
17652
17653 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17654 to isearch-other-control-char.
17655 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17656 and isearch-post-command-hook to post-command-hook.
17657 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17658 and isearch-post-command-hook from post-command-hook.
17659 (isearch-unread-key-sequence)
17660 (isearch-reread-key-sequence-naturally)
17661 (isearch-lookup-scroll-key, isearch-other-control-char)
17662 (isearch-other-meta-char): Remove functions.
17663 (isearch-pre-command-hook, isearch-post-command-hook):
17664 New functions based on isearch-other-meta-char rewritten
17665 relying on the new behavior of overriding-terminal-local-map
17666 that does not replace the local keymaps any more. (Bug#15200)
17667
17668 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17669
17670 Support menus on text-mode terminals.
17671 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17672 functionality.
17673
17674 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17675
17676 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17677 Move here from mouse.el.
17678 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17679 and arrow keys.
17680 (tty-menu-navigation-map): New map for TTY menu navigation.
17681
17682 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17683
17684 * frame.el (display-mouse-p): Report text-mode mouse as available
17685 on w32.
17686 (display-popup-menus-p): Report availability if mouse is
17687 available; don't condition on window-system.
17688
17689 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17690 (tty-menu-selected-face): New faces.
17691
17692 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17693
17694 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17695 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17696 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17697 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17698 New constants.
17699 (lisp-mode-variables): New `elisp' argument.
17700 (emacs-lisp-mode): Use it.
17701 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17702 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17703
17704 * indent.el: Use lexical-binding.
17705 (indent-region): Add progress reporter.
17706 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17707 last step.
17708 (indent--next-tab-stop): New function to implement this behavior.
17709 (tab-to-tab-stop, move-to-tab-stop): Use it.
17710
17711 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17712
17713 * indent.el (indent-rigidly--current-indentation): New function.
17714 (indent-rigidly-map): New var.
17715 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17716
17717 2013-10-08 Bastien Guerry <bzg@gnu.org>
17718
17719 * register.el (insert-register): Fix 2013-10-07 change.
17720
17721 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17722
17723 * progmodes/perl-mode.el: Use lexical-binding.
17724 Remove redundant :group args.
17725 (perl-nochange): Change default to be closer to other major modes's
17726 standard behavior.
17727 (perl-indent-line): Don't consider text on current line as a
17728 valid beginning of function from which to indent.
17729
17730 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17731 with more than one argument (bug#15538).
17732
17733 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17734
17735 * vc/pcvs.el: Use lexical-binding.
17736 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17737 environment of `eval'.
17738 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17739 than a list of expressions. Adjust callers.
17740 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17741
17742 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17743
17744 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17745 case of the dot in a chained method call being on the following line.
17746
17747 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17748
17749 * electric.el (electric-indent-inhibit): New var.
17750 (electric-indent-post-self-insert-function): Use it.
17751 * progmodes/python.el (python-mode): Set it.
17752
17753 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17754 open braces.
17755
17756 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17757
17758 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17759 (css-mode): Use electric-indent-chars.
17760
17761 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17762 (font-lock-beg, font-lock-end): Move before first use.
17763 (nxml-mode): Use syntax-propertize-function.
17764 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17765 (nxml-extend-after-change-region): Remove.
17766 * nxml/xmltok.el: Use lexical-binding.
17767 (xmltok-save): Use `declare'.
17768 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17769 * nxml/nxml-util.el: Use lexical-binding.
17770 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17771 Use `declare'.
17772 * nxml/nxml-ns.el: Use lexical-binding.
17773 (nxml-ns-save): Use `declare'.
17774 (nxml-ns-prefixes-for): Avoid add-to-list.
17775 * nxml/rng-match.el: Use lexical-binding.
17776 (rng--ipattern): Use cl-defstruct.
17777 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17778 (rng-cons-group-after, rng-subst-group-after)
17779 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17780 Use closures instead of `(lambda...).
17781
17782 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17783
17784 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17785 of BEG and END.
17786
17787 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17788 Use `tramp-handle-insert-file-contents'.
17789 (tramp-gvfs-handle-insert-file-contents): Remove function.
17790
17791 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17792 Use `save-restriction' in order to keep markers.
17793
17794 * net/trampver.el: Update release number.
17795
17796 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17797
17798 * progmodes/compile.el (compilation-parse-errors):
17799 Use compilation--put-prop.
17800 (compilation--ensure-parse): Check compilation-multiline.
17801
17802 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17803
17804 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17805 lexical-binding.
17806
17807 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17808
17809 * progmodes/ruby-mode.el: Fix recently added tests.
17810 (ruby-smie-grammar): Add - and +.
17811 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17812 (ruby-smie--backward-id): New functions.
17813 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17814 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17815 any more.
17816
17817 2013-10-07 Leo Liu <sdl.web@gmail.com>
17818
17819 * register.el (register-preview-delay)
17820 (register-preview-functions): New variables.
17821 (register-read-with-preview, register-preview)
17822 (register-describe-oneline): New functions.
17823 (point-to-register, window-configuration-to-register)
17824 (frame-configuration-to-register, jump-to-register)
17825 (number-to-register, view-register, insert-register)
17826 (copy-to-register, append-to-register, prepend-to-register)
17827 (copy-rectangle-to-register): Use register-read-with-preview to
17828 read register. (Bug#15525)
17829
17830 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17831
17832 * net/network-stream.el (network-stream-open-starttls): Don't add
17833 --insecure if it's already present, because that gnutls-cli
17834 rejects getting that parameter twice.
17835
17836 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17837
17838 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17839 keyword, too.
17840
17841 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17842
17843 * newcomment.el (comment-use-global-state): Change default value
17844 to t, mark obsolete (Bug#15251).
17845 (comment-beginning): In addition to `comment-to-syntax', check the
17846 value of `comment-use-global-state'.
17847
17848 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17849
17850 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17851 (ruby-comment-column): Follow the global default, by default.
17852 (ruby-smie-grammar): Add assignment syntax.
17853 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17854 open-paren, a comma, or a \.
17855 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17856 and line continuations.
17857 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17858 followed by implicit semi-colons. Add rule for string concatenation
17859 and for indentation at BOB.
17860 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17861
17862 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17863 calling next-sexp, since next-token may have skipped chars which
17864 next-sexp doesn't know should be skipped!
17865
17866 2013-10-05 Leo Liu <sdl.web@gmail.com>
17867
17868 * progmodes/octave.el (octave-send-region):
17869 Call compilation-forget-errors.
17870
17871 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17872
17873 * vc/vc-svn.el (vc-svn-find-admin-dir):
17874 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17875 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17876 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17877 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17878
17879 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17880
17881 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17882
17883 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17884
17885 * subr.el (read-passwd): Hide chars even when called within a context
17886 where after-change-functions is disabled (bug#15501).
17887 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17888 until we removed ourself from overriding-terminal-local-map.
17889
17890 2013-10-04 Leo Liu <sdl.web@gmail.com>
17891
17892 * progmodes/octave.el (inferior-octave-mode):
17893 Call compilation-forget-errors.
17894
17895 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17896
17897 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17898
17899 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17900
17901 * net/secrets.el (secrets-create-collection): Add optional
17902 argument ALIAS. Use proper Label keyword. Append ALIAS as
17903 dbus-call-method argument. (Bug#15516)
17904
17905 2013-10-04 Leo Liu <sdl.web@gmail.com>
17906
17907 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17908 (inferior-octave-compilation-font-lock-keywords): New variables.
17909 (compilation-error-regexp-alist)
17910 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17911 (inferior-octave-mode): Use compilation-shell-minor-mode.
17912
17913 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17914
17915 * minibuffer.el (completion--replace): Be careful that `end' might be
17916 a marker.
17917
17918 2013-10-03 Daiki Ueno <ueno@gnu.org>
17919
17920 Add support for package signature checking.
17921 * emacs-lisp/package.el (url-http-file-exists-p)
17922 (epg-make-context, epg-context-set-home-directory)
17923 (epg-verify-string, epg-context-result-for)
17924 (epg-signature-status, epg-signature-to-string)
17925 (epg-check-configuration, epg-configuration)
17926 (epg-import-keys-from-file): Declare.
17927 (package-check-signature): New user option.
17928 (package-unsigned-archives): New user option.
17929 (package-desc): Add `signed' field.
17930 (package-load-descriptor): Set `signed' field if .signed file exists.
17931 (package--archive-file-exists-p): New function.
17932 (package--check-signature): New function.
17933 (package-install-from-archive): Check package signature.
17934 (package--download-one-archive): Check archive signature.
17935 (package-delete): Remove .signed file.
17936 (package-import-keyring): New command.
17937 (package-refresh-contents): Import default keyring.
17938 (package-desc-status): Add "unsigned" status.
17939 (describe-package-1, package-menu--print-info)
17940 (package-menu-mark-delete, package-menu--find-upgrades)
17941 (package-menu--status-predicate): Support "unsigned" status.
17942
17943 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17944
17945 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17946 the new compilation scheme using the new byte-codes.
17947
17948 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17949 (byte-pophandler): New byte codes.
17950 (byte-goto-ops): Adjust accordingly.
17951 (byte-compile--use-old-handlers): New var.
17952 (byte-compile-catch): Use new byte codes depending on
17953 byte-compile--use-old-handlers.
17954 (byte-compile-condition-case--old): Rename from
17955 byte-compile-condition-case.
17956 (byte-compile-condition-case--new): New function.
17957 (byte-compile-condition-case): New function that dispatches depending
17958 on byte-compile--use-old-handlers.
17959 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17960 when we can.
17961
17962 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17963 Optimize under `condition-case' and `catch' if
17964 byte-compile--use-old-handlers is nil.
17965 (disassemble-offset): Handle new bytecodes.
17966
17967 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17968
17969 * subr.el (error): Use `declare'.
17970 (decode-char, encode-char): Use advertised-calling-convention instead
17971 of the docstring to discourage use of the `restriction' arg.
17972
17973 2013-10-03 Daiki Ueno <ueno@gnu.org>
17974
17975 * epg.el (epg-verify-file): Add a comment saying that it does not
17976 notify verification error as a return value nor a signal.
17977 (epg-verify-string): Ditto.
17978
17979 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17980
17981 * progmodes/compile.el (compilation-start): Try globbing the arg to
17982 `cd' (bug#15417).
17983
17984 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17985
17986 Sync with Tramp 2.2.8.
17987
17988 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17989 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17990 * net/trampver.el: Update release number.
17991
17992 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17993
17994 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17995 and default-process-coding-system for darwin only.
17996
17997 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
18000
18001 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
18002
18003 * vc/vc-git.el (vc-git-grep): Disable pager.
18004
18005 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
18006
18007 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
18008 Use :url instead of :homepage, as per
18009 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
18010
18011 * newcomment.el (comment-beginning): When `comment-use-syntax' is
18012 non-nil, use `syntax-ppss' (Bug#15251).
18013
18014 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18015
18016 * progmodes/octave.el (inferior-octave-startup-file):
18017 Prefer ~/.emacs.d/init_octave.m.
18018
18019 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
18020
18021 * emacs-lisp/package.el (package-desc-from-define):
18022 Accept additional arguments as plist, convert them to an alist and store
18023 them in the `extras' slot.
18024 (package-generate-description-file): Convert extras alist back to
18025 plist and append to the `define-package' form arguments.
18026 (package--alist-to-plist): New function.
18027 (package--ac-desc): Add `extras' slot.
18028 (package--add-to-archive-contents): Check if the archive-contents
18029 vector is long enough, and if it is, pass its `extras' slot value
18030 to `package-desc-create'.
18031 (package-buffer-info): Call `lm-homepage', pass the returned value
18032 to `package-desc-from-define'.
18033 (describe-package-1): Render the homepage button (Bug#13291).
18034
18035 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18036 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
18037
18038 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
18039
18040 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18041 and default-process-coding-system to utf-8-unix (Bug#15402).
18042
18043 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
18044
18045 * subr.el (looking-back): Do not recommend using looking-back.
18046
18047 2013-09-28 Alan Mackenzie <acm@muc.de>
18048
18049 Fix indentation/fontification of Java enum with "implements".
18050
18051 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
18052 regexp which matches "implements", etc., in Java.
18053 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
18054 specifier clauses coming after "enum".
18055 * progmodes/cc-fonts.el (c-font-lock-declarations)
18056 (c-font-lock-enum-tail): Check for extra specifier clauses coming
18057 after "enum".
18058
18059 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
18060
18061 * faces.el (region): Change ns_selection_color to
18062 ns_selection_fg_color, add ns_selection_bg_color.
18063
18064 2013-09-28 Leo Liu <sdl.web@gmail.com>
18065
18066 * progmodes/octave.el (inferior-octave-completion-table)
18067 (inferior-octave-completion-at-point): Minor tweaks.
18068
18069 * textmodes/ispell.el (ispell-lookup-words): Rename from
18070 lookup-words. (Bug#15460)
18071 (lookup-words): Obsolete.
18072 (ispell-complete-word, ispell-command-loop): All uses changed.
18073
18074 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18075
18076 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
18077 (octave-mode-menu): Add octave-send-buffer.
18078 (octave-send-buffer): New function.
18079
18080 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18081
18082 * progmodes/octave.el (octave-mode-map): Add key binding for
18083 octave-lookfor.
18084 (octave-mode-menu): Add octave-lookfor.
18085 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
18086 octave-lookfor.
18087 (octave-lookfor): New function.
18088
18089 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18090
18091 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
18092 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
18093 its convention.
18094 (cl--loop-set-iterator-function): New function.
18095 (cl-loop): Adjust accordingly, so as not to use cl-subst.
18096 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
18097 Bind `it' with `let' instead of substituting it with `cl-subst'.
18098 (cl--unused-var-p): New function.
18099 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
18100 Eliminate some unused variable warnings (bug#15326).
18101
18102 2013-09-27 Tassilo Horn <tsdh@gnu.org>
18103
18104 * doc-view.el (doc-view-scale-reset): Rename from
18105 `doc-view-reset-zoom-level'.
18106 (doc-view-scale-adjust): New command.
18107 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
18108 `doc-view-scale-adjust'.
18109
18110 2013-09-26 Tassilo Horn <tsdh@gnu.org>
18111
18112 * doc-view.el (doc-view-reset-zoom-level): New command.
18113 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
18114 zoom commands (bug#15466).
18115
18116 2013-09-26 Kenichi Handa <handa@gnu.org>
18117
18118 * international/quail.el (quail-help): Make it not a command.
18119
18120 2013-09-26 Leo Liu <sdl.web@gmail.com>
18121
18122 * minibuffer.el (completion-all-sorted-completions): Make args
18123 optional as they are.
18124
18125 2013-09-25 Daniel Colascione <dancol@dancol.org>
18126
18127 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
18128 specs are and that they're not evaluated.
18129
18130 2013-09-24 Sam Steingold <sds@gnu.org>
18131
18132 * midnight.el (clean-buffer-list-kill-regexps)
18133 (clean-buffer-list-kill-buffer-names): Update for the new Man
18134 buffer naming which includes the object name.
18135
18136 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18137
18138 * eshell/esh-cmd.el (eshell--sep-terms): New var.
18139 (eshell-parse-command, eshell-parse-pipeline): Use it since
18140 eshell-separate-commands requires a dynamic scoped var.
18141 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
18142
18143 2013-09-23 Leo Liu <sdl.web@gmail.com>
18144
18145 * autoinsert.el (auto-insert-alist): Make the value of
18146 lexical-binding match its file setting.
18147
18148 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
18149
18150 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
18151
18152 * autoarg.el (autoarg-kp-digit-argument):
18153 * electric.el (Electric-command-loop):
18154 * kmacro.el (kmacro-step-edit-insert):
18155 Do not set universal-argument-num-events.
18156
18157 2013-09-22 Leo Liu <sdl.web@gmail.com>
18158
18159 * files.el (interpreter-mode-alist): Add octave.
18160
18161 2013-09-21 Alan Mackenzie <acm@muc.de>
18162
18163 C++: fontify identifier in declaration following "public:" correctly.
18164 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
18165 to match "public", etc.
18166 (c-decl-prefix-re): Add ":" into the C++ value.
18167 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
18168 bit. Add a check for a ":" preceded by "public", etc.
18169
18170 2013-09-21 Eli Zaretskii <eliz@gnu.org>
18171
18172 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
18173 recognized by GDB 7.5 and later.
18174
18175 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
18176
18177 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
18178
18179 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18180
18181 * subr.el (internal--call-interactively): New const.
18182 (called-interactively-p): Use it (bug#3984).
18183
18184 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
18185
18186 * vc/pcvs.el (cvs-mode-ignore):
18187 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
18188 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
18189
18190 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18191
18192 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
18193 (eshell-ls-orig-insert-directory): Remove.
18194 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
18195 (eshell-ls-use-in-dired): Use advice-add/remove.
18196 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18197 Add `orig-fun' arg for use in :around advice.
18198 Make it check (redundantly) eshell-ls-use-in-dired.
18199
18200 2013-09-19 Glenn Morris <rgm@gnu.org>
18201
18202 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18203
18204 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18205
18206 * emacs-lisp/eieio.el (class-parent): Undo previous change.
18207
18208 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
18209
18210 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18211 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18212 (tramp-get-remote-python): New defuns.
18213 (tramp-get-remote-uid-with-perl)
18214 (tramp-get-remote-gid-with-perl): New defuns. Perl code
18215 contributed by yary <not.com@gmail.com> (tiny change).
18216 (tramp-get-remote-uid-with-python)
18217 (tramp-get-remote-gid-with-python): New defuns. Python code
18218 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18219 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18220
18221 2013-09-19 Glenn Morris <rgm@gnu.org>
18222
18223 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18224
18225 * eshell/em-unix.el (eshell-remove-entries):
18226 Rename argument to avoid name-clash with global `top-level'.
18227
18228 * eshell/esh-proc.el (eshell-kill-process-function):
18229 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18230 (eshell-reset-after-proc): Remove unused arg `proc'.
18231
18232 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18233 (directory-files-and-attributes): Mark unused arg.
18234
18235 * eshell/em-unix.el (eshell-remove-entries):
18236 Remove unused arg `path'. Update callers.
18237
18238 * eshell/em-hist.el (eshell-hist-parse-arguments):
18239 Remove unused arg `silent'. Update callers.
18240
18241 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18242 Fix (f)boundp mix-up.
18243
18244 * eshell/em-smart.el (eshell-smart-scroll-window)
18245 (eshell-disable-after-change):
18246 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18247
18248 2013-09-18 Alan Mackenzie <acm@muc.de>
18249
18250 Fix fontification of type when followed by "const".
18251 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18252 "known" types from fontification.
18253
18254 2013-09-18 Glenn Morris <rgm@gnu.org>
18255
18256 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18257 (chart-face-list): Drop Emacsen without display-color-p.
18258
18259 * net/eww.el (libxml-parse-html-region): Declare.
18260 (eww-display-html): Explicit error if no libxml2 support.
18261
18262 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18263
18264 * image.el (image-type-from-buffer, image-multi-frame-p):
18265 Remove --without-x warning/error.
18266
18267 * mouse.el (mouse-yank-primary):
18268 * term.el (term-mouse-paste):
18269 Reorder to silence --without-x compilation.
18270
18271 * mpc.el (doc-view-mode): Silence --without-x compilation.
18272
18273 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18274 Silence --without-x compilation.
18275
18276 * progmodes/gud.el (gud-find-file, gud-mode):
18277 Silence --without-x compilation.
18278 (tooltip-mode): Declare.
18279
18280 * wdired.el (dired-backup-overwrite): Remove declaration.
18281 (wdired-mode-map): Add doc string.
18282
18283 * custom.el (x-get-resource): Declare.
18284
18285 * eshell/em-glob.el (ange-cache):
18286 * eshell/em-unix.el (ange-cache): Declare.
18287
18288 * faces.el (x-display-list, x-open-connection, x-get-resource):
18289 Declare.
18290
18291 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18292 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18293 Declare.
18294
18295 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18296
18297 * net/gnutls.el (gnutls-log-level): Declare.
18298
18299 * net/shr.el (image-size, image-animate): Declare.
18300
18301 * simple.el (font-info): Declare.
18302
18303 * subr.el (x-popup-dialog): Declare.
18304
18305 * term/common-win.el (x-select-enable-primary)
18306 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18307 Declare.
18308
18309 * term/ns-win.el (x-handle-args): Declare.
18310
18311 * term/x-win.el (x-select-enable-clipboard): Declare.
18312
18313 * term/w32-win.el (create-default-fontset): Declare.
18314
18315 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18316 Declare.
18317
18318 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18319 (fit-frame-to-buffer): Explicit error if --without-x.
18320 (mouse-autoselect-window-select): Silence compiler.
18321
18322 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18323
18324 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18325 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18326 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18327 * eshell/esh-util.el (eshell-sublist):
18328 Remove unused local variables.
18329
18330 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18331
18332 * textmodes/two-column.el: Make 2C-split work for --without-x.
18333 (scroll-bar-columns): Autoload.
18334 (top-level): Require fringe when compiling.
18335
18336 2013-09-18 Leo Liu <sdl.web@gmail.com>
18337
18338 * subr.el (add-hook): Robustify to handle closure as well.
18339
18340 2013-09-17 Glenn Morris <rgm@gnu.org>
18341
18342 * simple.el (messages-buffer-mode-map): Unbind "g".
18343
18344 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18345
18346 * help-mode.el (help-mode-finish): Use derived-mode-p.
18347 Remove obsolete highlighting.
18348
18349 * play/life.el (life-mode): Use define-derived-mode. Derive from
18350 special-mode.
18351 (life): Let-bind inhibit-read-only.
18352 (life-setup): Avoid `setq'. Use `life-mode'.
18353
18354 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18355 which should not be needed any more.
18356 (package-menu-refresh, package-menu-describe-package): Use user-error.
18357
18358 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18359 (eshell-post-rewrite-command-hook): Make obsolete.
18360 (eshell-parse-command): Simplify.
18361 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18362 (eshell--cmd): Declare.
18363 (eshell-parse-pipeline): Remove unused var `final-p'.
18364 Pass a dynvar to eshell-post-rewrite-command-hook.
18365 Implement the new eshell-post-rewrite-command-function.
18366 (eshell-invoke-directly): Remove unused arg `input'.
18367 * eshell/esh-io.el (eshell-io-initialize):
18368 Use eshell-post-rewrite-command-function (bug#15399).
18369 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18370 adjust to new calling convention.
18371 (eshell-create-handles): Rename args to avoid clashing with dynvar
18372 `standard-output'.
18373
18374 2013-09-17 Glenn Morris <rgm@gnu.org>
18375
18376 * simple.el (messages-buffer-mode): New major mode.
18377 (messages-buffer): New function.
18378 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18379 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18380 (ert-run-test): Use `messages-buffer' function.
18381 (ert--force-message-log-buffer-truncation): Ignore read-only.
18382 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18383 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18384
18385 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18386
18387 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18388
18389 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18390
18391 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18392
18393 * icomplete.el (icomplete-in-buffer): New var.
18394 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18395 vars and replace them with functions.
18396 (icomplete-minibuffer-setup): Adjust accordingly.
18397 (icomplete--completion-table, icomplete--completion-predicate)
18398 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18399 New functions.
18400 (icomplete-forward-completions, icomplete-backward-completions)
18401 (icomplete-simple-completing-p, icomplete-exhibit)
18402 (icomplete-completions): Use them.
18403 (icomplete--in-region-buffer): New var.
18404 (icomplete--in-region-setup): New function.
18405 (icomplete-mode): Use it.
18406
18407 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18408 (bug#15379).
18409 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18410 return args and options.
18411 (eshell-eval-using-options): Use the new return value of
18412 eshell--do-opts to set the options's vars in their scope.
18413 (eshell--set-option): Rename from eshell-set-option.
18414 Add arg `opt-vals'.
18415 (eshell--process-option): Rename from eshell-process-option.
18416 Add arg `opt-vals'.
18417 (eshell--process-args): Use an `opt-vals' alist to store the options's
18418 values during their processing and return them additionally to the
18419 remaining args.
18420
18421 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18422
18423 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18424 continuation character an operator, as far as indentation is
18425 concerned (Bug#15369).
18426
18427 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18428
18429 * window.el (window--state-put-2): Don't process buffer state
18430 when buffer doesn't exist any more (Bug#15382).
18431
18432 2013-09-15 Glenn Morris <rgm@gnu.org>
18433
18434 * eshell/em-unix.el (eshell/rm):
18435 Make -f ignore missing files. (Bug#15373)
18436
18437 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18438 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18439 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18440
18441 2013-09-14 Glenn Morris <rgm@gnu.org>
18442
18443 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18444
18445 2013-09-13 Glenn Morris <rgm@gnu.org>
18446
18447 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18448 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18449
18450 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18451
18452 * frame.el (x-focus-frame): Mark as declared in frame.c.
18453
18454 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18455
18456 * ls-lisp.el: Use advice-add.
18457 (original-insert-directory): Remove.
18458 (ls-lisp--insert-directory): Rename from insert-directory; add
18459 `orig-fun' argument.
18460 (insert-directory): Advise.
18461
18462 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18463
18464 * term.el (term-emulate-terminal): Decode the command string
18465 before passing it to term-command-hook. (Bug#15337)
18466
18467 2013-09-13 Glenn Morris <rgm@gnu.org>
18468
18469 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18470
18471 * eshell/esh-ext.el (eshell-search-path): Declare.
18472
18473 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18474 Otherwise an error occurs if eshell-dirs module not loaded.
18475
18476 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18477
18478 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18479
18480 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18481 `tramp-check-proper-host'. Check for a valid method name.
18482
18483 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18484 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18485 * net/tramp-sh.el (tramp-maybe-open-connection):
18486 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18487
18488 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18489 also for hash values.
18490
18491 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18492
18493 * term/ns-win.el (parameters): Don't declare as dynamic.
18494 (before-make-frame-hook): Don't add ineffective function.
18495
18496 * eshell/*.el: Use lexical-binding (bug#15231).
18497
18498 2013-09-12 Kenichi Handa <handa@gnu.org>
18499
18500 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18501
18502 2013-09-12 Glenn Morris <rgm@gnu.org>
18503
18504 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18505 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18506
18507 * subr.el (do-after-load-evaluation): Also give compiler warnings
18508 when obsolete files are used (except by obsolete files).
18509
18510 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18511 in the status output, assume `filename' is the first. (Bug#15322)
18512
18513 * vc/vc.el (vc-deduce-fileset): Doc fix.
18514
18515 * calc/calc-help.el (Info-goto-node):
18516 * progmodes/cperl-mode.el (Info-find-node):
18517 * vc/ediff.el (Info-goto-node): Update declarations.
18518
18519 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18520
18521 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18522 (vc-bzr-pull): Require vc-dispatcher.
18523 * vc/vc-git.el (vc-compilation-mode): Declare.
18524 (vc-git-pull): Require vc-dispatcher.
18525
18526 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18527
18528 * progmodes/octave.el (help-button-action): Declare.
18529
18530 * shell.el (shell-directory-tracker): Output error as a message
18531 rather than just returning it as a string.
18532 (shell-process-pushd): Remove useless use of message.
18533
18534 * dframe.el (dframe-timer-fn):
18535 * files.el (dir-locals-read-from-file):
18536 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18537 (mpc-format):
18538 * reveal.el (reveal-post-command):
18539 * saveplace.el (load-save-place-alist-from-file):
18540 * shell.el (shell-resync-dirs):
18541 * w32-common-fns.el (x-get-selection-value):
18542 * emacs-lisp/copyright.el (copyright-find-copyright):
18543 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18544 * emulation/tpu-edt.el (tpu-copy-keyfile):
18545 * play/bubbles.el (bubbles--mark-neighbourhood):
18546 * progmodes/executable.el
18547 (executable-make-buffer-file-executable-if-script-p):
18548 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18549
18550 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18551
18552 Cleanup Eshell to rely less on dynamic scoping.
18553 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18554 last-value, and ext-command here. Bind `args' closer to `body'.
18555 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18556 (eshell--args): Declare new dynamic var.
18557 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18558 last-value, and ext-command. Pass `args' to `body'.
18559 (eshell-process-args): Bind eshell--args.
18560 (eshell-set-option): Use eshell--args.
18561 * eshell/eshell.el (eshell): Use derived-mode-p.
18562 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18563 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18564 (eshell-glob-function): Declare.
18565 * eshell/esh-util.el: Require cl-lib.
18566 (eshell-read-hosts-file): Avoid add-to-list.
18567 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18568 `err'.
18569 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18570 Declare.
18571 (eshell/diff): Remove unused var `err'.
18572 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18573 `killflag'.
18574 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18575 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18576 first use.
18577 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18578 Move declaration before first use.
18579 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18580 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18581 rely on cl-return.
18582
18583 2013-09-12 Glenn Morris <rgm@gnu.org>
18584
18585 * term/ns-win.el (global-map): Remove binding for ispell-next,
18586 deleted 1999-05-29. (Bug#15357)
18587
18588 2013-09-11 Glenn Morris <rgm@gnu.org>
18589
18590 * echistory.el (electric-command-history): Remove call to deleted func.
18591
18592 * play/landmark.el (landmark-mode): Fix typos.
18593
18594 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18595 Check cvs-sort-ignore-file is bound.
18596
18597 * savehist.el: No need for cl when compiling on Emacs.
18598
18599 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18600
18601 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18602 (bug#15338).
18603 (eshell-self-insert-command, eshell-send-invisible):
18604 Remove unused argument.
18605 (eshell-handle-control-codes): Remove unused var `orig'.
18606 Avoid delete-backward-char.
18607
18608 * files.el (set-auto-mode): Simplify a bit further.
18609
18610 2013-09-11 Glenn Morris <rgm@gnu.org>
18611
18612 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18613 (set-auto-mode): Don't regexp-quote elements.
18614 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18615 * progmodes/cc-mode.el (interpreter-mode-alist):
18616 * progmodes/ruby-mode.el (interpreter-mode-alist):
18617 Revert previous change.
18618
18619 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18620
18621 * play/snake.el (snake-mode):
18622 * play/mpuz.el (mpuz-mode):
18623 * play/landmark.el (lm-mode):
18624 * play/blackbox.el (blackbox-mode):
18625 * play/5x5.el (5x5-mode):
18626 * obsolete/options.el (Edit-options-mode):
18627 * net/quickurl.el (quickurl-list-mode):
18628 * net/newst-treeview.el (newsticker-treeview-mode):
18629 * mail/rmailsum.el (rmail-summary-mode):
18630 * mail/mspools.el (mspools-mode):
18631 * locate.el (locate-mode):
18632 * ibuffer.el (ibuffer-mode):
18633 * emulation/ws-mode.el (wordstar-mode):
18634 * emacs-lisp/debug.el (debugger-mode):
18635 * array.el (array-mode):
18636 * net/eudc.el (eudc-mode): Use define-derived-mode.
18637 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18638 Move initialization into declaration.
18639 (mairix-searches-mode): Use define-derived-mode.
18640 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18641 (eudc-edit-hotlist): Use dolist.
18642 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18643 (Man-mode): Use define-derived-mode.
18644 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18645 (Info-edit-mode): Use define-derived-mode.
18646 (Info-cease-edit): Use Info-mode.
18647 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18648 into declaration.
18649 (eshell-mode): Use define-derived-mode.
18650 * chistory.el (command-history-mode-map): Rename from
18651 command-history-map.
18652 (command-history-mode): Use define-derived-mode.
18653 (Command-history-setup): Remove function.
18654 * calc/calc.el (calc-trail-mode-map): New var.
18655 (calc-trail-mode): Use define-derived-mode.
18656 (calc-trail-buffer): Set calc-main-buffer manually.
18657 * bookmark.el (bookmark-insert-annotation): New function.
18658 (bookmark-edit-annotation): Use it.
18659 (bookmark-edit-annotation-mode): Make it a proper major mode.
18660 (bookmark-send-edited-annotation): Use derived-mode-p.
18661 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18662 closer to its ideal place. Use \' to match EOS.
18663
18664 * profiler.el (profiler-calltree-find): Use function-equal.
18665
18666 2013-09-10 Glenn Morris <rgm@gnu.org>
18667
18668 * files.el (interpreter-mode-alist): Convert to regexps.
18669 (set-auto-mode): Adapt for this. (Bug#15306)
18670 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18671 Comment out unused variable.
18672 * progmodes/cc-mode.el (interpreter-mode-alist):
18673 * progmodes/python.el (interpreter-mode-alist):
18674 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18675 * progmodes/sh-script.el (sh-set-shell):
18676 No longer use interpreter-mode-alist to get list of shells.
18677
18678 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18679
18680 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18681
18682 * simple.el: Use set-temporary-overlay-map for universal-argument.
18683 (universal-argument-map): Don't use default-bindings (bug#15317).
18684 Bind switch-frame explicitly. Replace universal-argument-minus with
18685 a conditional binding.
18686 (universal-argument-num-events, saved-overriding-map): Remove.
18687 (restore-overriding-map): Remove.
18688 (universal-argument--mode): Rename from save&set-overriding-map,
18689 and rewrite.
18690 (universal-argument, universal-argument-more, negative-argument)
18691 (digit-argument): Adjust accordingly.
18692 (universal-argument-minus): Remove.
18693 (universal-argument-other-key): Remove.
18694
18695 * subr.el (with-demoted-errors): Add `format' argument.
18696
18697 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18698
18699 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18700 `tramp-cleanup-connection'.
18701
18702 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18703 parameters KEEP-DEBUG and KEEP-PASSWORD.
18704
18705 * net/tramp.el (tramp-file-name-handler):
18706 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18707 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18708 (tramp-maybe-open-connection):
18709 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18710 Use `tramp-cleanup-connection'.
18711
18712 * net/tramp-sh.el (tramp-maybe-open-connection):
18713 Catch 'uname-changed inside the progress reporter.
18714
18715 2013-09-10 Glenn Morris <rgm@gnu.org>
18716
18717 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18718
18719 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18720 returns "alternate access method" in mode (eg "-rw-r--r--.").
18721
18722 2013-09-08 Glenn Morris <rgm@gnu.org>
18723
18724 * saveplace.el (load-save-place-alist-from-file):
18725 Demote errors. (Bug#15305)
18726
18727 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18728
18729 Improve compatibility with older Emacsen, and XEmacs.
18730
18731 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18732 only if it is bound. It isn't for XEmacs.
18733 (with-tramp-progress-reporter): Do not let-bind `result'.
18734 This yields to scoping errors in XEmacs.
18735 (tramp-handle-make-auto-save-file-name): New function, moved from
18736 tramp-sh.el.
18737
18738 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18739 for `make-auto-save-file-name'.
18740 (tramp-adb--gnu-switches-to-ash):
18741 Use `tramp-compat-replace-regexp-in-string'.
18742
18743 * net/tramp-cache.el (tramp-cache-print): Call
18744 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18745
18746 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18747 bound. It isn't for XEmacs.
18748
18749 * net/tramp-compat.el (tramp-compat-copy-file):
18750 Catch `wrong-number-of-arguments' error.
18751 (tramp-compat-replace-regexp-in-string): New defun.
18752
18753 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18754 for `make-auto-save-file-name'.
18755 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18756 `copy-file'.
18757 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18758 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18759 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18760
18761 * net/tramp-gw.el (tramp-gw-open-network-stream):
18762 Use `tramp-compat-replace-regexp-in-string'.
18763
18764 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18765 Call `tramp-handle-make-auto-save-file-name'.
18766 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18767 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18768 (tramp-sh-file-inotifywait-process-filter):
18769 Use `tramp-compat-replace-regexp-in-string'.
18770 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18771
18772 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18773 for `make-auto-save-file-name'.
18774 (tramp-smb-handle-copy-directory):
18775 Call `tramp-compat-replace-regexp-in-string'.
18776 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18777 (tramp-smb-handle-copy-file): Improve error message.
18778 (tramp-smb-handle-rename-file): Rename directly only in case
18779 `newname' does not exist yet. This is a restriction of smbclient.
18780 (tramp-smb-maybe-open-connection): Rerun the function only when
18781 `auth-sources' is non-nil.
18782
18783 2013-09-08 Kenichi Handa <handa@gnu.org>
18784
18785 * international/characters.el: Set category "^" (Combining) for
18786 more characters.
18787
18788 2013-09-07 Alan Mackenzie <acm@muc.de>
18789
18790 Correctly fontify Java class constructors.
18791 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18792 in Java Mode.
18793 (c-recognize-typeless-decls): Set the Java value to t.
18794 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18795 While handling a "(", add a check for, effectively, Java, and handle a
18796 "typeless" declaration there.
18797
18798 2013-09-07 Roland Winkler <winkler@gnu.org>
18799
18800 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18801 field subtitle for entry type book.
18802
18803 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18804
18805 * minibuffer.el: Make minibuffer-complete call completion-in-region
18806 rather than other way around.
18807 (completion--some, completion-pcm--find-all-completions):
18808 Don't delay signals when debugging.
18809 (minibuffer-completion-contents): Beware fields within the
18810 minibuffer contents.
18811 (completion-all-sorted-completions): Use defvar-local.
18812 (completion--do-completion, completion--cache-all-sorted-completions)
18813 (completion-all-sorted-completions, minibuffer-force-complete):
18814 Add args `beg' and `end'.
18815 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18816 (minibuffer-complete): Use completion-in-region.
18817 (completion-complete-and-exit): New fun, extracted from
18818 minibuffer-complete-and-exit.
18819 (minibuffer-complete-and-exit): Use it.
18820 (completion--complete-and-exit): Rename from
18821 minibuffer--complete-and-exit.
18822 (completion-in-region--single-word): New function, extracted from
18823 minibuffer-complete-word.
18824 (minibuffer-complete-word): Use it.
18825 (display-completion-list): Make `common-substring' argument obsolete.
18826 (completion--in-region): Call completion--in-region-1 instead of
18827 minibuffer-complete.
18828 (completion-help-at-point): Pass boundaries to
18829 minibuffer-completion-help as args rather than via an overlay.
18830 (completion-pcm--string->pattern): Use `any-delim'.
18831 (completion-pcm--optimize-pattern): New function.
18832 (completion-pcm--pattern->regex): Handle `any-delim'.
18833 * icomplete.el (icomplete-forward-completions)
18834 (icomplete-backward-completions, icomplete-completions):
18835 Adjust calls to completion-all-sorted-completions and
18836 completion--cache-all-sorted-completions.
18837 (icomplete-with-completion-tables): Default to t.
18838 * emacs-lisp/crm.el (crm--current-element): Rename from
18839 crm--select-current-element. Don't put an overlay but return the
18840 boundaries instead.
18841 (crm--completion-command): Take two new args to bind to the boundaries.
18842 (crm-completion-help): Adjust accordingly.
18843 (crm-complete): Use completion-in-region.
18844 (crm-complete-word): Use completion-in-region--single-word.
18845 (crm-complete-and-exit): Use completion-complete-and-exit.
18846
18847 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18848
18849 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18850 than dynamically.
18851
18852 2013-09-06 Juri Linkov <juri@jurta.org>
18853
18854 * info.el (Info-display-images-node): When image file doesn't exist
18855 display text version of the image if it's provided in the Info file.
18856 Otherwise, display the location of missing image from SRC attribute.
18857 Add help-echo text property from ALT attribute. (Bug#15279)
18858
18859 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18860
18861 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18862 (edit-abbrevs-mode): Use define-derived-mode.
18863
18864 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18865 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18866 that it's defined.
18867 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18868 Use define-derived-mode.
18869
18870 * epg.el (epg-start-encrypt): Minor CSE simplification.
18871
18872 2013-09-06 William Xu <william.xwl@gmail.com>
18873
18874 * arc-mode.el: Add support for 7za (bug#15264).
18875 (archive-7z-program): New var.
18876 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18877 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18878 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18879
18880 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18881
18882 Remove URL syntax.
18883
18884 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18885 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18886 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18887 (tramp-postfix-host-format, tramp-file-name-regexp)
18888 (tramp-completion-file-name-regexp)
18889 (tramp-completion-dissect-file-name)
18890 (tramp-handle-substitute-in-file-name): Remove 'url case.
18891 (tramp-file-name-regexp-url)
18892 (tramp-completion-file-name-regexp-url): Remove constants.
18893
18894 2013-09-06 Glenn Morris <rgm@gnu.org>
18895
18896 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18897
18898 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18899
18900 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18901 keywords" below "here-doc beginnings" (Bug#15270).
18902
18903 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18904
18905 * subr.el (pop): Use `car-safe'.
18906 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18907 to detect unused `pop' return value.
18908
18909 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18910 var `block-regexp'.
18911 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18912 (python-fill-string): Remove unused var `marker'.
18913 (python-skeleton-add-menu-items): Remove unused var `items'.
18914
18915 * international/mule-cmds.el: Require CL.
18916 (find-coding-systems-for-charsets): Avoid add-to-list.
18917 (sanitize-coding-system-list): New function, extracted from
18918 select-safe-coding-system-interactively.
18919 (select-safe-coding-system-interactively): Use it.
18920 (read-input-method-name): Accept symbols for `default'.
18921
18922 * emacs-lisp/advice.el (defadvice): Add indent rule.
18923
18924 2013-09-05 Daniel Hackney <dan@haxney.org>
18925
18926 * dired-x.el:
18927 * net/ange-ftp.el:
18928 * net/browse-url.el:
18929 * net/dbus.el:
18930 * net/eudc.el:
18931 * net/eudcb-ldap.el:
18932 * net/eww.el:
18933 * net/imap.el:
18934 * printing.el:
18935 * vc/ediff-diff.el:
18936 * vc/ediff-init.el:
18937 * vc/ediff-merg.el:
18938 * vc/ediff-mult.el:
18939 * vc/ediff-util.el:
18940 * vc/ediff-wind.el:
18941 * vc/ediff.el:
18942 * vc/emerge.el:
18943 * vc/pcvs.el:
18944 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18945 byte compiler. Remove some unused let-bound variables.
18946
18947 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18948
18949 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18950 a "ref-cell", since it gets better optimized (bug#14883).
18951
18952 2013-09-05 Glenn Morris <rgm@gnu.org>
18953
18954 * progmodes/cc-awk.el (c-forward-sws): Declare.
18955
18956 2013-09-04 Glenn Morris <rgm@gnu.org>
18957
18958 * generic-x.el [rul-generic-mode]: Require cc-mode.
18959 (c++-mode-syntax-table): Declare.
18960 (rul-generic-mode-syntax-table): Init in the defvar.
18961
18962 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18965 (vc-do-command, vc-set-async-update):
18966 * vc/vc-mtn.el (vc-mtn-dir-status):
18967 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18968 (vc-hg-pull, vc-hg-merge-branch):
18969 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18970 (vc-git-merge-branch):
18971 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18972 (vc-cvs-dir-status-files):
18973 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18974 (vc-bzr-dir-status-files):
18975 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18976 * vc/vc-annotate.el: Use lexical-binding.
18977 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18978 (vc-sentinel-movepoint): Declare.
18979 (vc-annotate): Don't use `goto-line'.
18980 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18981 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18982 (vc-sentinel-movepoint): Declare.
18983 * vc/vc-svn.el: Use lexical-binding.
18984 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18985 * vc/vc-sccs.el:
18986 * vc/vc-rcs.el: Use lexical-binding.
18987
18988 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18989 `deleted'. Don't drop errors silently.
18990
18991 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18992
18993 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18994
18995 * vc/vc.el (vc-ignore): Rewrite.
18996 (vc-default-ignore): New function.
18997 (vc-default-ignore-completion-table): Use find-ignore-file.
18998
18999 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
19000 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
19001 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
19002 Remove. Most code moved to vc.el.
19003
19004 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
19005
19006 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
19007 * net/tramp-smb.el (tramp-smb-get-file-entries):
19008 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
19009 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
19010
19011 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
19012 Update call to it.
19013 (eww-change-select): Remove unused var `properties'.
19014 (eww-make-unique-file-name): Remove unused var `base'.
19015
19016 * finder.el (finder-compile-keywords): Don't mess with windows.
19017
19018 * calculator.el (calculator-funcall): Fix typo in last change.
19019
19020 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
19021
19022 * emacs-lisp/package.el (package-activate-1): Don't let a missing
19023 <pkg>-autoloads.el file stop us.
19024
19025 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
19026 warnings, and factor out common code.
19027
19028 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
19029
19030 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
19031 two-character operators and whether the character preceding them
19032 changes their meaning (Bug#15208).
19033
19034 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19035
19036 Format code sent to Python shell for robustness.
19037 * progmodes/python.el (python-shell-buffer-substring):
19038 New function.
19039 (python-shell-send-region, python-shell-send-buffer): Use it.
19040
19041 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
19042
19043 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
19044 * net/tramp.el (tramp-user-error): ... here.
19045 (tramp-find-method, tramp-check-proper-host)
19046 (tramp-dissect-file-name, tramp-debug-message)
19047 (tramp-handle-shell-command):
19048 * net/tramp-adb.el (tramp-adb-handle-shell-command):
19049 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
19050
19051 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
19052
19053 2013-09-02 Martin Rudalics <rudalics@gmx.at>
19054
19055 * avoid.el (mouse-avoidance-point-position)
19056 (mouse-avoidance-too-close-p): Handle case where posn-at-point
19057 returns nil.
19058
19059 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19060
19061 * progmodes/python.el (python-shell-completion-get-completions):
19062 Drop use of deleted `comint-last-prompt-overlay'.
19063 (python-nav-if-name-main): New command.
19064
19065 2013-09-01 Glenn Morris <rgm@gnu.org>
19066
19067 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
19068 Avoid leading space in $wins. Otherwise the sed command used by
19069 eg compile-main ends up containing "/*.el". (Bug#15170)
19070
19071 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
19072
19073 2013-08-30 Glenn Morris <rgm@gnu.org>
19074
19075 * emacs-lisp/bytecomp.el (byte-recompile-directory):
19076 Fix is-this-a-directory logic. (Bug#15220)
19077
19078 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19079
19080 * textmodes/css-mode.el: Use SMIE.
19081 (css-smie-grammar): New var.
19082 (css-smie--forward-token, css-smie--backward-token)
19083 (css-smie-rules): New functions.
19084 (css-mode): Use them.
19085 (css-navigation-syntax-table): Remove var.
19086 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
19087 (css-indent-calculate, css-indent-line): Remove functions.
19088
19089 Misc changes to reduce use of `(lambda...); and other cleanups.
19090 * cus-edit.el: Use lexical-binding.
19091 (customize-push-and-save, customize-apropos)
19092 (custom-buffer-create-internal): Use closures.
19093 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
19094 * progmodes/ada-xref.el: Use setq.
19095 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
19096 * dframe.el: Use lexical-binding.
19097 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
19098 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
19099 * descr-text.el: Use lexical-binding.
19100 (describe-text-widget, describe-text-sexp, describe-property-list):
19101 Use closures.
19102 * comint.el (comint-history-isearch-push-state): Use a closure.
19103 * calculator.el: Use lexical-binding.
19104 (calculator-number-to-string): Make it work with lexical-binding.
19105 (calculator-funcall): Same and use cl-letf.
19106
19107 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
19108 (lisp--company-doc-string, lisp--company-location): New functions.
19109 (lisp-completion-at-point): Use them to improve Company support.
19110
19111 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
19112 params of lambda expressions.
19113 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
19114 (ruby-smie--opening-pipe-p): New function.
19115 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
19116 symbols and matched |...| for formal params.
19117 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
19118 from being treated as hanging. Handle "rescue".
19119
19120 2013-08-29 Glenn Morris <rgm@gnu.org>
19121
19122 * progmodes/cc-engine.el (c-pull-open-brace):
19123 Move definition before use.
19124
19125 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19126
19127 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
19128 are immutable. Don't use `unsafe' any more.
19129 (cl--defsubst-expand): Don't substitute at the same time as keeping
19130 a residual unused let-binding. Don't use `unsafe' any more.
19131
19132 2013-08-29 Glenn Morris <rgm@gnu.org>
19133
19134 * calendar/cal-china.el (calendar-chinese-year-cache):
19135 Recenter on 2015.
19136
19137 * nxml/nxml-util.el (nxml-debug-clear-inside):
19138 Use cl-loop rather than loop.
19139
19140 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
19141
19142 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
19143
19144 2013-08-28 Glenn Morris <rgm@gnu.org>
19145
19146 * progmodes/antlr-mode.el: No need to require cc-mode twice.
19147
19148 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
19149
19150 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
19151
19152 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19153
19154 * simple.el (repeat-complex-command--called-interactively-skip):
19155 New function.
19156 (repeat-complex-command): Use it (bug#14136).
19157
19158 * progmodes/cc-mode.el: Minor cleanup of var declarations.
19159 (c-define-abbrev-table): Add `doc' argument.
19160 (c-mode-abbrev-table, c++-mode-abbrev-table)
19161 (objc-mode-abbrev-table, java-mode-abbrev-table)
19162 (idl-mode-abbrev-table, pike-mode-abbrev-table)
19163 (awk-mode-abbrev-table): Use it.
19164 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
19165 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
19166 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
19167 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
19168 Move initialization into the declaration; and remove any
19169 autoload cookie.
19170
19171 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
19172 and dynamic let binding.
19173
19174 * vc/smerge-mode.el: Remove redundant :group args.
19175
19176 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
19177 to load-path.
19178
19179 2013-08-28 Juri Linkov <juri@jurta.org>
19180
19181 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
19182 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
19183 (isearch-other-meta-char): Handle an undefined shifted printing
19184 character by downshifting it. (Bug#15200)
19185
19186 2013-08-28 Juri Linkov <juri@jurta.org>
19187
19188 * isearch.el (isearch-search): Change regexp error message for
19189 non-regexp searches. (Bug#15166)
19190
19191 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
19192
19193 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19194 for portability to hosts where /bin/sh has problems.
19195
19196 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19197
19198 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19199
19200 2013-08-27 Juri Linkov <juri@jurta.org>
19201
19202 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19203 in the keyboard macro. (Bug#15126)
19204
19205 2013-08-27 Juri Linkov <juri@jurta.org>
19206
19207 * isearch.el (isearch-quote-char): Comment out converting unibyte
19208 to multibyte, thus syncing with its `quoted-insert' counterpart.
19209 (Bug#15166)
19210
19211 2013-08-27 Martin Rudalics <rudalics@gmx.at>
19212
19213 * window.el (display-buffer-use-some-window): Add missing
19214 argument in call of get-largest-window (Bug#15185).
19215 Reported by Stephen Leake.
19216
19217 2013-08-27 Glenn Morris <rgm@gnu.org>
19218
19219 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19220
19221 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19222
19223 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19224 from a matcher-function unless there's no more matches (bug#15161).
19225
19226 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19227
19228 * minibuffer.el: Revert change from 2013-08-20.
19229
19230 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19231 with text property `tramp-default', if appropriate.
19232 (tramp-check-proper-host): New defun.
19233 (tramp-dissect-file-name): Do not check hostname. Revert change
19234 of 2013-03-18.
19235 (tramp-backtrace): Make VEC-OR-PROC optional.
19236
19237 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19238 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19239 * net/tramp-sh.el (tramp-maybe-open-connection):
19240 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19241 Apply `tramp-check-proper-host'.
19242
19243 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19244
19245 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19246 lambda expression in order to have `describe-variable' display it.
19247
19248 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19249
19250 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19251 BUF can be optional. (Bug#15186)
19252
19253 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19254
19255 * progmodes/flymake.el (flymake-get-real-file-name-function):
19256 Fix broken customization. (Bug#15184)
19257
19258 2013-08-25 Alan Mackenzie <acm@muc.de>
19259
19260 Improve indentation of bracelists defined by macros (without "=").
19261
19262 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19263 expansion begins with "{", regard it as bracelist when it doesn't
19264 contain a ";".
19265
19266 Parse C++ inher-intro when there's a template split over 2 lines.
19267
19268 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19269 rigorously the search for "class" etc. followed by ":".
19270
19271 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19272 random languages a regexp which never matches rather than nil.
19273
19274 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19275
19276 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19277 (c-awk-regexp-one-line-possibly-open-char-list-re)
19278 (c-awk-one-line-possibly-open-regexp-re)
19279 (c-awk-one-line-non-syn-ws*-re): Remove.
19280 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19281 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19282 (c-awk-space*-unclosed-regexp-/-re): New constants.
19283 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19284 aren't regexp delimiters.
19285
19286 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19287 handling for a rare situation in AWK Mode involving unterminated
19288 strings/regexps.
19289
19290 2013-08-23 Glenn Morris <rgm@gnu.org>
19291
19292 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19293
19294 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19295
19296 * files.el (create-file-buffer): If the result would begin with
19297 spaces, prepend a "|" instead of removing them. (Bug#15162)
19298
19299 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19300
19301 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19302 text-properties (bug#15155).
19303
19304 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19305 exist any more.
19306 (calc-keypad-redraw): Remove unused var `pad'.
19307 (calc-keypad-press): Remove unused var `menu'.
19308
19309 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19310
19311 * window.el (display-buffer-pop-up-frame):
19312 Call pop-up-frame-function with BUFFER current so `make-frame' will
19313 use it as the new frame's buffer (Bug#15133).
19314
19315 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19316
19317 * calendar/timeclock.el: Minor cleanups.
19318 (timeclock-ask-before-exiting, timeclock-use-display-time):
19319 Use `symbol'.
19320 (timeclock-modeline-display): Define as alias before the
19321 actual definition.
19322 (timeclock-mode-line-display): Use define-minor-mode.
19323 (timeclock-day-list-template): Make it a function, add an argument.
19324 (timeclock-day-list-required, timeclock-day-list-length)
19325 (timeclock-day-list-debt, timeclock-day-list-span)
19326 (timeclock-day-list-break): Adjust calls accordingly.
19327
19328 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19329
19330 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19331 Use read--expression so that completion works again.
19332
19333 2013-08-21 Sam Steingold <sds@gnu.org>
19334
19335 Add rudimentary inferior shell interaction
19336 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19337 (sh-set-shell): Reset it.
19338 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19339 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19340
19341 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * align.el: Use lexical-binding.
19344 (align-region): Simplify accordingly.
19345
19346 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19347
19348 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19349
19350 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19351 `non-essential' up.
19352
19353 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19354
19355 * net/tramp.el:
19356 * net/tramp-adb.el:
19357 * net/tramp-cmds.el:
19358 * net/tramp-ftp.el:
19359 * net/tramp-gvfs.el:
19360 * net/tramp-gw.el:
19361 * net/tramp-sh.el: Don't wrap external variable declarations by
19362 `eval-when-compile'.
19363
19364 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19365
19366 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19367 now that Emacs supports ImageMagick animations.
19368
19369 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19370
19371 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19372 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19373
19374 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19375
19376 * window.el (mouse-autoselect-window-select): Do autoselect when
19377 mouse pointer is on margin.
19378
19379 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19380
19381 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19382
19383 2013-08-16 Glenn Morris <rgm@gnu.org>
19384
19385 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19386 Handle "Remote Directory" response of some clients. (Bug#15058)
19387
19388 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19389 Tweak warning. (Bug#14926)
19390
19391 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19392 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19393
19394 * image-mode.el (image-mode-map): Add menu items to reverse,
19395 increase, decrease, reset animation speed.
19396 (image--set-speed, image-increase-speed, image-decrease-speed)
19397 (image-reverse-speed, image-reset-speed): New functions.
19398 (image-mode-map): Add bindings for speed commands.
19399
19400 * image.el (image-animate-get-speed, image-animate-set-speed):
19401 New functions.
19402 (image-animate-timeout): Respect image :speed property.
19403
19404 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19405
19406 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19407 previous line (bug#15101).
19408 (debugger-eval-expression, debugger-record-expression):
19409 Use read--expression (bug#15102).
19410
19411 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19412
19413 Remove byte compiler warnings, visible when compiling with
19414 `byte-compile-force-lexical-warnings' set to t.
19415
19416 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19417 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19418 (tramp-handle-unhandled-file-name-directory)
19419 (tramp-handle-file-notify-add-watch, tramp-action-login)
19420 (tramp-action-succeed, tramp-action-permission-denied)
19421 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19422 arguments with "_".
19423
19424 * net/tramp-adb.el (tramp-adb-parse-device-names)
19425 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19426 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19427 (tramp-adb-handle-file-truename): Remove unused arguments.
19428
19429 * net/tramp-cache.el (tramp-flush-directory-property)
19430 (tramp-flush-connection-property, tramp-list-connections)
19431 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19432
19433 * net/tramp-compat.el (tramp-compat-make-temp-file):
19434 Rename FILENAME to F.
19435
19436 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19437 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19438 (tramp-zeroconf-parse-workstation-device-names)
19439 (tramp-zeroconf-parse-webdav-device-names)
19440 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19441
19442 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19443 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19444
19445 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19446 arguments.
19447 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19448 (tramp-sh-handle-insert-file-contents-literally)
19449 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19450 with "_".
19451 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19452 Remove unused variables.
19453
19454 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19455 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19456 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19457
19458 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19459 Make them a defconst.
19460 (tramp-uuencode-region): Remove unused variable.
19461
19462 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19463
19464 * frameset.el (frameset--prop-setter): New function.
19465 (frameset-prop): Add gv-setter declaration.
19466 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19467 parameter was already set in FILTERED. Doc fix.
19468 (frameset--record-minibuffer-relationships): Allow saving a
19469 minibufferless frame without its corresponding minibuffer frame.
19470 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19471 frame, if the frame id matches.
19472 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19473 frames before orphaned ones.
19474 (frameset-restore): Warn about orphaned windows, instead of error out.
19475
19476 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19477
19478 * window.el (window-make-atom): Don't overwrite parameter
19479 already present.
19480 (display-buffer-in-atom-window): Handle special case where we
19481 split an already atomic window.
19482 (window--major-non-side-window, display-buffer-in-side-window)
19483 (window--side-check): Ignore minibuffer window when walking
19484 window tree.
19485 (window-deletable-p): Return 'frame only if no other frame uses
19486 our minibuffer window.
19487 (record-window-buffer): Run buffer-list-update-hook.
19488 (split-window): Make sure window--check-frame won't destroy an
19489 existing atomic window in case the new window gets nested
19490 inside.
19491 (display-buffer-at-bottom): Ignore minibuffer window when
19492 walking window tree. Don't split a side window.
19493 (pop-to-buffer): Don't set-buffer here, the select-window call
19494 should do that.
19495 (mouse-autoselect-window-select): Autoselect only if we are in the
19496 text portion of the window.
19497
19498 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19499
19500 * net/shr.el (shr-parse-image-data): New function to grab both the
19501 data itself and the Content-Type.
19502 (shr-put-image): Use it.
19503
19504 * net/eww.el (eww-display-image): Ditto.
19505
19506 * image.el (image-content-type-suffixes): New variable.
19507
19508 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19509
19510 * progmodes/python.el (python-imenu--build-tree)
19511 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19512
19513 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19514
19515 * simple.el (backward-word): Mention the optional argument.
19516
19517 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19518
19519 * frameset.el (frameset--make): Rename constructor from make-frameset.
19520 (frameset-p, frameset-valid-p): Don't autoload.
19521 (frameset-valid-p): Use normal accessors.
19522
19523 2013-08-13 Glenn Morris <rgm@gnu.org>
19524
19525 * progmodes/compile.el (compile-command): Tweak example in doc.
19526 * obsolete/scribe.el (scribe-mode):
19527 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19528
19529 * mail/feedmail.el (feedmail-confirm-outgoing)
19530 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19531
19532 * cus-start.el (truncate-partial-width-windows): Fix type.
19533
19534 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19535
19536 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19537
19538 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19539
19540 * emacs-lisp/timer.el (timer--time-setter): New function.
19541 (timer--time): Use it as gv-setter.
19542
19543 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19544 setter is not a symbol.
19545
19546 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19547
19548 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19549 if sending fails. This makes debugging easier.
19550
19551 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19552
19553 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19554 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19555 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19556
19557 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19558
19559 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19560
19561 2013-08-12 Glenn Morris <rgm@gnu.org>
19562
19563 * format.el (format-annotate-function):
19564 Handle read-only text properties in the source. (Bug#14887)
19565
19566 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19567
19568 * net/eww.el (eww-display-html): Ignore coding system errors.
19569 One web site uses "utf-8lias" as the coding system.
19570
19571 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19572
19573 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19574
19575 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19576
19577 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19578 (tutorial--detailed-help): Remove unused local variables.
19579 (tutorial--save-tutorial-to): Use ignore-errors.
19580 (help-with-tutorial): Use looking-at-p.
19581
19582 * view.el (view-buffer-other-window, view-buffer-other-frame):
19583 Mark unused arguments.
19584
19585 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19586 (woman-select-symbol-fonts, woman, woman-find-file)
19587 (woman-insert-file-contents, woman-non-underline-faces):
19588 Use string-match-p.
19589 (woman1-unquote): Move declaration.
19590
19591 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19592 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19593 argument. Remove unused local variable.
19594 (xml-parse-elem-type): Use string-match-p.
19595 (xml-substitute-numeric-entities): Use ignore-errors.
19596
19597 * calculator.el (calculator): Mark unused argument.
19598 (calculator-paste, calculator-quit, calculator-integer-p):
19599 Use ignore-errors.
19600 (calculator-string-to-number, calculator-decimal, calculator-exp)
19601 (calculator-op-or-exp): Use string-match-p.
19602
19603 * dired.el (dired-buffer-more-recently-used-p): Declare.
19604 (dired-insert-set-properties, dired-insert-old-subdirs):
19605 Use ignore-errors.
19606
19607 * dired-aux.el (dired-compress): Use ignore-errors.
19608 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19609 (dired-do-async-shell-command, dired-do-shell-command)
19610 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19611 (dired-insert-subdir-validate): Use string-match-p.
19612 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19613 (dired-add-entry): Use string-match-p, looking-at-p.
19614 (dired-insert-subdir-newpos): Remove unused local variable.
19615
19616 * filenotify.el (file-notify-callback): Remove unused local variable.
19617
19618 * filesets.el (filesets-error): Mark unused argument.
19619 (filesets-which-command-p, filesets-filter-dir-names)
19620 (filesets-directory-files, filesets-get-external-viewer)
19621 (filesets-ingroup-get-data): Use string-match-p.
19622
19623 * find-file.el (ff-other-file-name, ff-other-file-name)
19624 (ff-find-the-other-file, ff-cc-hh-converter):
19625 Remove unused local variables.
19626 (ff-get-file-name): Use string-match-p.
19627 (ff-all-dirs-under): Use ignore-errors.
19628
19629 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19630 (follow-select-if-visible): Remove unused local variable.
19631
19632 * forms.el (read-file-filter): Move declaration.
19633 (forms--make-format, forms--make-parser, forms-insert-record):
19634 Quote function with #'.
19635 (forms--update): Use string-match-p. Quote function with #'.
19636
19637 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19638 (help-make-xrefs): Use looking-at-p.
19639 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19640
19641 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19642 (ibuffer-confirm-operation-on): Use string-match-p.
19643
19644 * msb.el (msb-item-handler, msb-dired-item-handler):
19645 Mark unused arguments.
19646
19647 * ses.el (ses-decode-cell-symbol)
19648 (ses-kill-override): Remove unused local variable.
19649 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19650 (ses-load): Use ignore-errors, looking-at-p.
19651 (ses-jump-safe): Use ignore-errors.
19652 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19653
19654 * tabify.el (untabify, tabify): Mark unused arguments.
19655
19656 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19657 Mark unused argument.
19658 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19659 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19660
19661 * emacs-lisp/timer.el (timer--time): Define setter with
19662 gv-define-setter to avoid deprecation warning.
19663
19664 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19665 (*record-cmpl-statistics-p*): Remove (was commented out).
19666 (cmpl-statistics-block): Remove (body was commented out).
19667 All callers changed.
19668 (add-completions-from-buffer, load-completions-from-file):
19669 Remove unused variables.
19670
19671 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19672
19673 * filecache.el (file-cache-delete-file-list):
19674 Print message only when told so.
19675 (file-cache-files-matching): Use #' in mapconcat argument.
19676
19677 * ffap.el (ffap-url-at-point): Fix reference to variable
19678 thing-at-point-default-mail-uri-scheme.
19679
19680 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19681
19682 * subr.el (define-error): New function.
19683 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19684 error-file-not-found and define with define-error.
19685 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19686 and define with define-error.
19687 * userlock.el (file-locked, file-supersession):
19688 * simple.el (mark-inactive):
19689 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19690 * progmodes/ada-mode.el (ada-mode-errors):
19691 * play/life.el (life-extinct):
19692 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19693 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19694 * nxml/rng-util.el (rng-error):
19695 * nxml/rng-uri.el (rng-uri-error):
19696 * nxml/rng-match.el (rng-compile-error):
19697 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19698 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19699 * nxml/nxml-rap.el (nxml-scan-error):
19700 * nxml/nxml-outln.el (nxml-outline-error):
19701 * net/soap-client.el (soap-error):
19702 * net/gnutls.el (gnutls-error):
19703 * net/ange-ftp.el (ftp-error):
19704 * mpc.el (mpc-proc-error):
19705 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19706 (json-number-format, json-string-escape, json-string-format)
19707 (json-key-format, json-object-format):
19708 * jka-compr.el (compression-error):
19709 * international/quail.el (quail-error):
19710 * international/kkc.el (kkc-error):
19711 * emacs-lisp/ert.el (ert-test-failed):
19712 * calc/calc.el (calc-error, inexact-result, math-overflow)
19713 (math-underflow):
19714 * bookmark.el (bookmark-error-no-filename):
19715 * epg.el (epg-error): Define with define-error.
19716
19717 * time.el (display-time-event-handler)
19718 (display-time-next-load-average): Don't call sit-for since it seems
19719 unnecessary (bug#15045).
19720
19721 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19722 Use #' instead of ' to quote functions.
19723 (checkdoc-output-mode): Use setq-local.
19724 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19725 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19726 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19727 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19728 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19729 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19730 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19731 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19732
19733 * ido.el (ido-completion-help): Fix up compiler warning.
19734
19735 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19736
19737 * frameset.el (frameset-p): Add autoload cookie.
19738 (frameset--jump-to-register): New function, based on code moved from
19739 register.el.
19740 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19741
19742 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19743 (frameset-restore, frameset-save, frameset-session-filter-alist):
19744 Remove declarations.
19745 (register-alist): Doc fix.
19746 (frameset-to-register): Move to frameset.el.
19747 (jump-to-register, describe-register-1): Remove frameset-specific code.
19748
19749 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19750
19751 * allout-widgets.el (allout-widgets-pre-command-business)
19752 (allout-widgets-post-command-business)
19753 (allout-widgets-after-change-handler)
19754 (allout-decorate-item-and-context, allout-set-boundary-marker)
19755 (allout-body-modification-handler)
19756 (allout-graphics-modification-handler): Mark ignored arguments.
19757 (allout-widgets-post-command-business)
19758 (allout-widgets-exposure-change-processor)
19759 (allout-widgets-exposure-undo-processor)
19760 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19761 (allout-parse-item-at-point, allout-decorate-item-guides)
19762 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19763 * allout.el (epa-passphrase-callback-function): Declare.
19764 (allout-overlay-insert-in-front-handler)
19765 (allout-overlay-interior-modification-handler)
19766 (allout-isearch-end-handler, allout-chart-siblings)
19767 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19768 (allout-yank-processing, allout-process-exposed)
19769 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19770 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19771 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19772 (lisp-indent-defform): Mark ignored arguments.
19773 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19774 (calculate-lisp-indent): Remove unused variables.
19775 * international/characters.el (indian-2-column, arabic-2-column)
19776 (tibetan): Mark ignored arguments.
19777 (use-cjk-char-width-table): Mark ignored arguments.
19778 Remove unused variables.
19779 * international/fontset.el (build-default-fontset-data)
19780 (x-compose-font-name, create-fontset-from-fontset-spec):
19781 Mark ignored arguments.
19782 (fontset-plain-name): Remove unused variables.
19783 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19784 (keyboard-coding-system): Mark ignored arguments.
19785 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19786 * help.el (resize-temp-buffer-window):
19787 * window.el (display-buffer-in-major-side-window)
19788 (display-buffer-in-side-window, display-buffer-in-previous-window):
19789 Remove unused variables.
19790 * isearch.el (isearch-forward-symbol):
19791 * version.el (emacs-bzr-version-bzr):
19792 * international/mule-cmds.el (current-language-environment):
19793 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19794 (x-handle-display):
19795 * term/pc-win.el (x-list-fonts, x-display-planes)
19796 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19797 (x-server-version, x-display-screens, x-display-mm-height)
19798 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19799 (x-selection-owner-p, x-own-selection-internal)
19800 (x-disown-selection-internal, x-get-selection-internal)
19801 (msdos-initialize-window-system):
19802 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19803 * term/x-win.el (x-handle-no-bitmap-icon):
19804 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19805 (vc-default-find-file-hook, vc-default-extra-menu):
19806 Mark ignored arguments.
19807
19808 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19809
19810 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19811 break-condition in the context of the debugged code (bug#12685).
19812
19813 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19814
19815 * comint.el:
19816 Do not use an overlay to highlight the last prompt. (Bug#14744)
19817 (comint-mode): Make comint-last-prompt buffer local.
19818 (comint-last-prompt): New variable.
19819 (comint-last-prompt-overlay): Remove. Superseded by
19820 comint-last-prompt.
19821 (comint-snapshot-last-prompt, comint-output-filter):
19822 Use comint-last-prompt.
19823
19824 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19825
19826 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19827 (frameset-save): Check validity of the resulting frameset.
19828
19829 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19830
19831 * ido.el (ido-record-command): Add doc string.
19832
19833 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19834
19835 * frameset.el (frameset): Do not disable creation of the default
19836 frameset-p predicate. Doc fix.
19837 (frameset-valid-p): New function, copied from the old predicate-p.
19838 Add additional checks.
19839 (frameset-restore): Check with frameset-valid-p.
19840 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19841 (frameset-name, frameset-description, frameset-properties)
19842 (frameset-states): Add docstring.
19843 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19844 (frameset-filter-alist): Doc fixes.
19845
19846 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19847
19848 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19849
19850 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19851
19852 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19853 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19854 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19855 (byte-compile-normal-call): Remove obsolescence check.
19856
19857 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19858
19859 * frameset.el (frameset-restore): Doc fix.
19860
19861 * register.el (frameset-frame-id, frameset-frame-with-id)
19862 (frameset-p, frameset-restore, frameset-save): Declare.
19863 (register-alist): Document framesets.
19864 (frameset-session-filter-alist): Declare.
19865 (frameset-to-register): New function.
19866 (jump-to-register): Implement jumping to framesets. Doc fix.
19867 (describe-register-1): Describe framesets.
19868
19869 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19870
19871 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19872
19873 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19874 Use lexical-binding.
19875
19876 * frameset.el (frameset): Use type vector, not list (incompatible
19877 change). Do not declare a new constructor, use the default one.
19878 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19879 `name' and `description', respectively, and add read-only slot
19880 `timestamp'. Doc fixes.
19881 (frameset-copy, frameset-persistent-filter-alist)
19882 (frameset-filter-alist, frameset-switch-to-gui-p)
19883 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19884 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19885 (frameset-filter-iconified, frameset-keep-original-display-p):
19886 Doc fixes.
19887 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19888 Rename from frameset-filter-(save|restore)-param. All callers changed.
19889 Doc fix.
19890 (frameset-p): Adapt to change to vector and be more thorough.
19891 Change arg name to OBJECT. Doc fix.
19892 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19893 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19894 All callers changed.
19895 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19896 All callers changed.
19897 (frameset--record-minibuffer-relationships): Rename from
19898 frameset--process-minibuffer-frames. All callers changed.
19899 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19900 Use new default constructor (again). Doc fix.
19901 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19902 All callers changed.
19903 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19904 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19905 Doc fix.
19906 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19907 PARAMETERS and WINDOW-STATE, respectively.
19908 (frameset-restore): Add new keyword argument PREDICATE.
19909 Reset frameset--target-display to nil. Doc fix.
19910
19911 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19912
19913 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19914 (bat-mode): Use it.
19915 (bat-mode-syntax-table): Mark \n as end-of-comment.
19916 (bat-font-lock-keywords): Remove comment rule.
19917
19918 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19919 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19920
19921 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19922 (byte-compile-callargs-warn): Use `push'.
19923 (byte-compile-arglist-warn): Ignore higher-order "calls".
19924 (byte-compile-file-form-autoload): Use `pcase'.
19925 (byte-compile-function-form): If quoting a symbol, check that it exists.
19926
19927 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19928
19929 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19930 and add a few popular commands found in batch files.
19931 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19932 (dos-mode): Doc fixes.
19933
19934 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19935
19936 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19937 (dos-mode): Use setq-local. Add space after "rem".
19938 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19939 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19940
19941 2013-08-07 Arni Magnusson <arnima@hafro.is>
19942
19943 * progmodes/dos.el: New file.
19944 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19945 dos-mode.
19946
19947 2013-08-06 Glenn Morris <rgm@gnu.org>
19948
19949 * calendar/calendar.el: Add new faces, and day-header-array.
19950 (calendar-weekday-header, calendar-weekend-header)
19951 (calendar-month-header): New faces.
19952 (calendar-day-header-construct): New function.
19953 (calendar-day-header-width): Also :set calendar-day-header-array.
19954 (calendar-american-month-header, calendar-european-month-header)
19955 (calendar-iso-month-header): Use calendar- faces.
19956 (calendar-generate-month):
19957 Use calendar-day-header-array for day headers; apply faces to them.
19958 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19959 (calendar-abbrev-construct): Add optional maxlen argument.
19960 (calendar-day-name-array): Doc fix.
19961 (calendar-day-name-array, calendar-abbrev-length)
19962 (calendar-day-abbrev-array):
19963 Also :set calendar-day-header-array, and maybe redraw.
19964 (calendar-day-header-array): New option. (Bug#15007)
19965 (calendar-font-lock-keywords): Set to nil and make obsolete.
19966 (calendar-day-name): Add option to use header array.
19967
19968 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19969
19970 * net/shr.el (shr-render-td): Remove debugging.
19971 (shr-render-td): Make width computation consistent by defaulting
19972 all zero-width columns to 10 characters. This may not be optimal,
19973 but it's at least consistent.
19974 (shr-make-table-1): Redo last change to fix the real problem in
19975 colspan handling.
19976
19977 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19978
19979 * files.el (cache-long-line-scans):
19980 Make obsolete alias to `cache-long-scans'.
19981
19982 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19983
19984 * frameset.el (frameset, frameset-filter-alist)
19985 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19986 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19987 (frameset-compute-pos): Rename from frameset--compute-pos,
19988 and add docstring.
19989 (frameset-move-onscreen): Use frameset-compute-pos.
19990 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19991
19992 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19993 Fix typos in docstrings.
19994
19995 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19996
19997 * frame.el (get-other-frame): Tiny cleanup.
19998
19999 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
20000
20001 * vc/vc.el (vc-default-ignore-completion-table):
20002 Silence byte-compiler warning.
20003
20004 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
20005 slot, which can indeed be nil.
20006 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20007 Move entry for `left' from persistent to live filter alist.
20008 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
20009 Doc fixes.
20010 (frameset-filter-params): When restoring a frame, copy items added to
20011 `filtered', to avoid unwittingly modifying the original parameters.
20012 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
20013 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
20014
20015 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
20016 to use looking-at-p instead of looking-at. (Bug#15028)
20017
20018 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20019
20020 Revert introduction of isearch-filter-predicates (bug#14714).
20021 Rely on add-function instead.
20022 * isearch.el (isearch-filter-predicates): Rename it back to
20023 isearch-filter-predicate.
20024 (isearch-message-prefix): Use advice-function-mapc and advice
20025 properties to get the isearch-message-prefix.
20026 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
20027 instead of run-hook-with-args-until-failure.
20028 (isearch-filter-visible): Not obsolete any more.
20029 * loadup.el: Preload nadvice.
20030 * replace.el (perform-replace): Revert to funcall
20031 instead of run-hook-with-args-until-failure.
20032 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
20033 * dired-aux.el (dired-isearch-filenames-mode): Rename from
20034 dired-isearch-filenames-toggle; make it into a proper minor mode.
20035 Use add/remove-function.
20036 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
20037 Call the minor-mode rather than add/remove-hook.
20038 (dired-isearch-filter-filenames):
20039 Remove isearch-message-prefix property.
20040 * info.el (Info--search-loop): New function, extracted from Info-search.
20041 Funcall isearch-filter-predicate instead of
20042 run-hook-with-args-until-failure isearch-filter-predicates.
20043 (Info-search): Use it.
20044 (Info-mode): Use isearch-filter-predicate instead of
20045 isearch-filter-predicates.
20046
20047 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20048
20049 Do not call to `selected-window' where it is assumed by default.
20050 Affected functions are `window-minibuffer-p', `window-dedicated-p',
20051 `window-hscroll', `window-width', `window-height', `window-buffer',
20052 `window-frame', `window-start', `window-point', `next-window'
20053 and `window-display-table'.
20054 * abbrev.el (abbrev--default-expand):
20055 * bs.el (bs--show-with-configuration):
20056 * buff-menu.el (Buffer-menu-mouse-select):
20057 * calc/calc.el (calc):
20058 * calendar/calendar.el (calendar-generate-window):
20059 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
20060 (diary-make-entry):
20061 * comint.el (send-invisible, comint-dynamic-complete-filename)
20062 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
20063 * completion.el (complete):
20064 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
20065 * disp-table.el (describe-current-display-table):
20066 * doc-view.el (doc-view-insert-image):
20067 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
20068 * ehelp.el (with-electric-help):
20069 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
20070 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
20071 * emacs-lisp/helper.el (Helper-help-scroller):
20072 * emulation/cua-base.el (cua--post-command-handler-1):
20073 * eshell/esh-mode.el (eshell-output-filter):
20074 * ffap.el (ffap-gnus-wrapper):
20075 * help-macro.el (make-help-screen):
20076 * hilit-chg.el (highlight-compare-buffers):
20077 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
20078 * hl-line.el (global-hl-line-highlight):
20079 * icomplete.el (icomplete-simple-completing-p):
20080 * isearch.el (isearch-done):
20081 * jit-lock.el (jit-lock-stealth-fontify):
20082 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
20083 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
20084 * mpc.el (mpc-tagbrowser, mpc):
20085 * net/rcirc.el (rcirc-any-buffer):
20086 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
20087 * play/landmark.el (landmark-max-width, landmark-max-height):
20088 * play/zone.el (zone):
20089 * progmodes/compile.el (compilation-goto-locus):
20090 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
20091 * progmodes/etags.el (find-tag-other-window):
20092 * progmodes/fortran.el (fortran-column-ruler):
20093 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
20094 * progmodes/verilog-mode.el (verilog-point-text):
20095 * reposition.el (reposition-window):
20096 * rot13.el (toggle-rot13-mode):
20097 * server.el (server-switch-buffer):
20098 * shell.el (shell-dynamic-complete-command)
20099 (shell-dynamic-complete-environment-variable):
20100 * simple.el (insert-buffer, set-selective-display)
20101 (delete-completion-window):
20102 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
20103 (speedbar-recenter):
20104 * startup.el (fancy-splash-head):
20105 * textmodes/ispell.el (ispell-command-loop):
20106 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
20107 * tutorial.el (help-with-tutorial):
20108 * vc/add-log.el (add-change-log-entry):
20109 * vc/compare-w.el (compare-windows):
20110 * vc/ediff-help.el (ediff-indent-help-message):
20111 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
20112 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
20113 (ediff-setup-control-frame):
20114 * vc/emerge.el (emerge-position-region):
20115 * vc/pcvs-util.el (cvs-bury-buffer):
20116 * window.el (walk-windows, mouse-autoselect-window-select):
20117 * winner.el (winner-set-conf, winner-undo): Related users changed.
20118
20119 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20120
20121 * frameset.el (frameset--set-id): Doc fix.
20122 (frameset-frame-id, frameset-frame-id-equal-p)
20123 (frameset-locate-frame-id): New functions.
20124 (frameset--process-minibuffer-frames, frameset--reuse-frame)
20125 (frameset-restore): Use them.
20126
20127 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20128
20129 Do not call to `selected-frame' where it is assumed by default.
20130 Affected functions are `raise-frame', `redraw-frame',
20131 `frame-first-window', `frame-terminal' and `delete-frame'.
20132 * calendar/appt.el (appt-disp-window):
20133 * epg.el (epg-wait-for-completion):
20134 * follow.el (follow-delete-other-windows-and-split)
20135 (follow-avoid-tail-recenter):
20136 * international/mule.el (set-terminal-coding-system):
20137 * mail/rmail.el (rmail-mail-return):
20138 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
20139 * progmodes/f90.el (f90-add-imenu-menu):
20140 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
20141 * server.el (server-switch-buffer):
20142 * simple.el (delete-completion-window):
20143 * talk.el (talk):
20144 * term/xterm.el (terminal-init-xterm-modify-other-keys)
20145 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
20146 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
20147 * vc/ediff.el (ediff-documentation): Related users changed.
20148 * frame.el (selected-terminal): Remove the leftover.
20149
20150 2013-08-05 Glenn Morris <rgm@gnu.org>
20151
20152 * calendar/calendar.el (calendar-generate-month):
20153 Fix for calendar-column-width != 1 + calendar-day-digit-width.
20154 (calendar-generate-month, calendar-font-lock-keywords):
20155 Fix for calendar-day-header-width > length of any day name.
20156
20157 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20158
20159 * desktop.el (desktop-clear): Use new name of sort predicate.
20160
20161 * frameset.el (frameset): Add docstring. Move :version property to its
20162 own `version' slot.
20163 (frameset-copy): Rename from copy-frameset.
20164 (frameset-p): Check more thoroughly.
20165 (frameset-prop): Do not check for :version, which is no longer a prop.
20166 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20167 Use new :never value instead of t.
20168 (frameset-filter-alist): Expand and clarify docstring.
20169 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
20170 (frameset-filter-minibuffer, frameset-filter-save-param)
20171 (frameset-filter-restore-param, frameset-filter-iconified):
20172 Add pointer to docstring of frameset-filter-alist.
20173 (frameset-filter-params): Rename filter values to be more meaningful:
20174 :never instead of t, and reverse the meanings of :save and :restore.
20175 (frameset--process-minibuffer-frames): Clarify error message.
20176 (frameset-save): Avoid unnecessary and confusing call to framep.
20177 Use new BOA constructor for framesets.
20178 (frameset--reuse-list): Doc fix.
20179 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
20180 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
20181 (frameset-minibufferless-first-p): Doc fix.
20182 Rename from frameset-sort-frames-for-deletion.
20183 (frameset-restore): Doc fixes. Use new function names.
20184 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20185
20186 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20187
20188 * desktop.el (desktop-restore-forces-onscreen)
20189 (desktop-restore-reuses-frames): Document :keyword constant values.
20190 (desktop-filter-parameters-alist): Remove, now identical to
20191 frameset-filter-alist.
20192 (desktop--filter-tty*): Remove, moved to frameset.el.
20193 (desktop-save-frameset, desktop-restore-frameset):
20194 Do not pass :filters argument.
20195
20196 * frameset.el (frameset-live-filter-alist)
20197 (frameset-persistent-filter-alist): New variables.
20198 (frameset-filter-alist): Use them. Add autoload cookie.
20199 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20200 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20201 `frameset--id' (it's supposed to be internal to frameset.el).
20202 (frameset--process-minibuffer-frames): Ditto. Doc fix.
20203 (frameset--initial-params): New function.
20204 (frameset--get-frame): Use it. Doc fix.
20205 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20206 Accept :all, not 'all.
20207 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20208 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
20209 with fbound symbols. Fix frame id matching, and remove matching ids if
20210 the frame being restored is deleted. Obey :delete.
20211
20212 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20213
20214 * subr.el (macrop): New function.
20215 (text-clone--maintaining): New var.
20216 (text-clone--maintain): Rename from text-clone-maintain. Use it
20217 instead of inhibit-modification-hooks.
20218
20219 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20220 a proxy, so as handle autoloads and redefinitions of the target.
20221 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20222
20223 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20224 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20225 (pcase--mutually-exclusive-p): New function.
20226 (pcase--split-consp): Use it.
20227 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20228 mutually exclusive with the current predicate.
20229
20230 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20231 (edebug-macrop): Remove. Use `macrop' instead.
20232 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20233 (ad-macro-p):
20234 * eshell/esh-cmd.el (eshell-macrop):
20235 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20236
20237 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20238
20239 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20240 (advice-mapc): New function, using it.
20241 (advice-function-member-p): New function.
20242 (advice--normalize): Store the cdr in advice--saved-rewrite since
20243 that's the part that will be changed.
20244 (advice--symbol-function): New function.
20245 (advice-remove): Handle removal before the function is defined.
20246 Adjust to new advice--saved-rewrite.
20247 (advice-member-p): Use advice-function-member-p and
20248 advice--symbol-function.
20249
20250 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20251
20252 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20253 (frameset-filter-minibuffer): Doc fix.
20254 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20255 (frameset--set-id, frameset--process-minibuffer-frames)
20256 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20257 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20258
20259 * desktop.el (desktop-clear): Only delete frames when called
20260 interactively and desktop-restore-frames is non-nil. Doc fix.
20261 (desktop-read): Set desktop-saved-frameset to nil.
20262
20263 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20264
20265 * vc/vc.el (vc-ignore): Rewrite.
20266 (vc-default-ignore-completion-table, vc--read-lines)
20267 (vc--add-line, vc--remove-regexp): New functions.
20268
20269 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20270 (vc-svn-ignore-completion-table): New function.
20271
20272 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20273 (vc-hg-ignore-completion-table)
20274 (vc-hg-find-ignore-file): New functions.
20275
20276 * vc/vc-git.el (vc-git-ignore): Rewrite.
20277 (vc-git-ignore-completion-table)
20278 (vc-git-find-ignore-file): New functions.
20279
20280 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20281
20282 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20283 (vc-bzr-ignore-completion-table)
20284 (vc-bzr-find-ignore-file): New functions.
20285
20286 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20287
20288 * frameset.el (frameset-prop): New function and setter.
20289 (frameset-save): Do not modify frame list passed by the caller.
20290
20291 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20292
20293 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20294
20295 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20296
20297 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20298 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20299
20300 * custom.el (custom-initialize-default, custom-initialize-set)
20301 (custom-initialize-reset, custom-initialize-changed): Affect the
20302 toplevel-default-value (bug#6275, bug#14586).
20303 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20304 for bug#6275.
20305
20306 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20307
20308 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20309 Add cl-def* expressions.
20310
20311 * frameset.el (frameset-filter-params): Fix order of arguments.
20312
20313 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20314
20315 Move code related to saving frames to frameset.el.
20316 * desktop.el: Require frameset.
20317 (desktop-restore-frames): Doc fix.
20318 (desktop-restore-reuses-frames): Rename from
20319 desktop-restoring-reuses-frames.
20320 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20321 (desktop-clear): Clear frames too.
20322 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20323 (desktop--filter-tty*, desktop-save, desktop-read):
20324 Use frameset functions.
20325 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20326 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20327 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20328 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20329 (desktop--process-minibuffer-frames, desktop-save-frames)
20330 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20331 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20332 (desktop--sort-states, desktop-restoring-frames-p)
20333 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20334 (desktop-restoring-frameset-p, desktop-restore-frameset)
20335 (desktop--check-dont-save, desktop-save-frameset): New functions.
20336 (desktop--app-id): New constant.
20337 (desktop-first-buffer, desktop-buffer-ok-count)
20338 (desktop-buffer-fail-count): Move before first use.
20339 * frameset.el: New file.
20340
20341 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20342
20343 * files.el: Use lexical-binding.
20344 (dir-locals-read-from-file): Remove unused `err' variable.
20345 (hack-dir-local-variables--warned-coding): New var.
20346 (hack-dir-local-variables): Use it to avoid repeated warnings.
20347 (make-backup-file-name--default-function): New function.
20348 (make-backup-file-name-function): Use it as default.
20349 (buffer-stale--default-function): New function.
20350 (buffer-stale-function): Use it as default.
20351 (revert-buffer-insert-file-contents--default-function): New function.
20352 (revert-buffer-insert-file-contents-function): Use it as default.
20353 (insert-directory): Avoid add-to-list.
20354
20355 * autorevert.el (auto-revert-handler): Simplify.
20356 Use buffer-stale--default-function.
20357
20358 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20359
20360 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20361
20362 * whitespace.el (whitespace-ensure-local-variables): New function.
20363 (whitespace-cleanup-region): Call it.
20364 (whitespace-turn-on): Call it.
20365
20366 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20367
20368 Complete file name handlers.
20369
20370 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20371 (tramp-handle-verify-visited-file-modtime)
20372 (tramp-handle-file-notify-rm-watch): New functions.
20373 (tramp-call-process): Do not bind `default-directory'.
20374
20375 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20376 Order alphabetically.
20377 <access-file, add-name-to-file, dired-call-process>:
20378 <dired-compress-file, file-acl, file-notify-rm-watch>:
20379 <file-ownership-preserved-p, file-selinux-context>:
20380 <make-directory-internal, make-symbolic-link, set-file-acl>:
20381 <set-file-selinux-context, set-visited-file-modtime>:
20382 <verify-visited-file-modtime>: Add handler.
20383 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20384
20385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20386 <file-notify-add-watch, file-notify-rm-watch>:
20387 <set-file-times, set-visited-file-modtime>:
20388 <verify-visited-file-modtime>: Add handler.
20389 (with-tramp-gvfs-error-message)
20390 (tramp-gvfs-handle-set-visited-file-modtime)
20391 (tramp-gvfs-fuse-file-name): Remove.
20392 (tramp-gvfs-handle-file-notify-add-watch)
20393 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20394 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20395
20396 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20397 Order alphabetically.
20398 <file-notify-rm-watch>: Use default Tramp handler.
20399 <executable-find>: Remove private handler.
20400 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20401 `default-directory'.
20402 (tramp-sh-handle-executable-find)
20403 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20404 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20405 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20406 Do not use `format' in `tramp-message'.
20407
20408 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20409 <file-notify-rm-watch, set-visited-file-modtime>:
20410 <verify-visited-file-modtime>: Add handler.
20411 (tramp-smb-call-winexe): Do not bind `default-directory'.
20412
20413 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20414
20415 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20416
20417 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20418
20419 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20420 use it.
20421 (log-view-diff-changeset): Same.
20422 (log-view-diff-common): Call backend command `previous-revision'
20423 to find out the previous revision, in both cases. Swap the
20424 variables `to' and `fr', so that `fr' usually refers to the
20425 earlier revision (Bug#14989).
20426
20427 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20428
20429 * ibuf-ext.el (ibuffer-filter-by-filename):
20430 Make it work with dired buffers too.
20431
20432 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20433
20434 * emacs-lisp/re-builder.el (reb-color-display-p):
20435 * files.el (save-buffers-kill-terminal):
20436 * net/browse-url.el (browse-url):
20437 * server.el (server-save-buffers-kill-terminal):
20438 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20439 Prefer nil to selected-frame for the first arg of frame-parameter.
20440
20441 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20442
20443 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20444
20445 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20446
20447 * minibuffer.el (completion--twq-all): Try and preserve each
20448 completion's case choice (bug#14907).
20449
20450 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20451
20452 * net/network-stream.el (open-network-stream): Mention the new
20453 :nogreeting parameter.
20454 (network-stream-open-starttls): Use the :nogreeting parameter
20455 (bug#14938).
20456
20457 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20458
20459 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20460 more natural than popping.
20461
20462 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20463 (shr-urlify): Highlight under mouse.
20464
20465 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20466
20467 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20468
20469 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20470
20471 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20472 buffer for output.
20473
20474 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20475 point-min==1. Fix search string. Fix parentheses missing.
20476
20477 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20478 assume point-min==1. Fix search string. Fix parentheses missing.
20479
20480 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20481
20482 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20483 buffer for output.
20484
20485 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20486
20487 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20488 initial frame is minibuffer-less. (Bug#14841)
20489
20490 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20491
20492 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20493 option.
20494
20495 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20496 (tramp-maybe-open-connection): Use it.
20497
20498 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20499
20500 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20501 minimal set of parameters passed when creating a frame, because
20502 the minibuffer status of a frame cannot be changed later.
20503
20504 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20505
20506 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20507 replace-regexp-in-string and inadvertent omissions in previous change.
20508 (todo-filter-items): Ensure only file names are comma-separated in
20509 name of filtered items buffer.
20510
20511 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20512
20513 * desktop.el: Optionally force offscreen frames back onscreen.
20514 (desktop-restoring-reuses-frames): New option.
20515 (desktop--compute-pos, desktop--move-onscreen): New functions.
20516 (desktop--make-frame): Use desktop--move-onscreen.
20517
20518 2013-07-27 Alan Mackenzie <acm@muc.de>
20519
20520 Fontify a Java generic method as a function.
20521 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20522 value to t.
20523
20524 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20525
20526 * calendar/todo-mode.el: Add command to rename todo files.
20527 (todo-rename-file): New command.
20528 (todo-key-bindings-t): Add key binding for it. Change the
20529 bindings of todo-filter-regexp-items(-multifile) to use `x'
20530 instead of `r', since the latter is better suited to the new
20531 renaming command.
20532
20533 2013-07-27 Alan Mackenzie <acm@muc.de>
20534
20535 Make Java try-with-resources statement parse properly.
20536 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20537 (c-block-stmt-1-2-key): New language constants/variables.
20538 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20539 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20540 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20541 with c-block-stmt-1-2-key.
20542
20543 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20544
20545 * desktop.el (desktop--make-frame): Apply most frame parameters after
20546 creating the frame to force (partially or totally) offscreen frames to
20547 be restored as such.
20548
20549 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20550
20551 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20552 (Bug#14948)
20553
20554 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20555
20556 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20557 `base' arg of backtrace-frame.
20558
20559 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20560
20561 * simple.el (list-processes): Doc fix.
20562
20563 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20564
20565 * desktop.el (desktop--select-frame):
20566 Try harder to reuse existing frames.
20567
20568 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20569
20570 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20571 (edebug-eval): Use backtrace-eval.
20572 (edebug--display, edebug--recursive-edit): Don't let-bind the
20573 edebug-outer-* vars that keep track of variables we locally let-bind.
20574 (edebug-outside-excursion): Don't restore outside values of locally
20575 let-bound vars.
20576 (edebug--display): Use user-error.
20577 (cl-lexical-debug, cl-debug-env): Remove.
20578
20579 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20580
20581 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20582 are restored to be sure that they are visible before deleting any
20583 remaining ones.
20584
20585 2013-07-26 Matthias Meulien <orontee@gmail.com>
20586
20587 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20588 vc-print-root-log. (Bug#14948)
20589
20590 2013-07-26 Richard Stallman <rms@gnu.org>
20591
20592 Add aliases for encrypting mail.
20593 * epa.el (epa-mail-aliases): New option.
20594 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20595 Bind inhibit-read-only so read-only text doesn't ruin everything.
20596 (epa-mail-default-recipients): New subroutine broken out.
20597 Handle epa-mail-aliases.
20598
20599 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20600
20601 Add support for lexical variables to the debugger's `e' command.
20602 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20603 vars, except for debugger-outer-match-data.
20604 (debugger-frame-number): Move check for "on a function call" from
20605 callers into it. Add `skip-base' argument.
20606 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20607 (debugger-env-macro): Only reset the state stored in non-variables,
20608 i.e. current-buffer and match-data.
20609 (debugger-eval-expression): Rewrite using backtrace-eval.
20610 * subr.el (internal--called-interactively-p--get-frame): Remove.
20611 (called-interactively-p):
20612 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20613 `base' arg of backtrace-frame instead.
20614
20615 2013-07-26 Glenn Morris <rgm@gnu.org>
20616
20617 * align.el (align-regexp): Doc fix. (Bug#14857)
20618 (align-region): Explicit error if subexpression missing/does not match.
20619
20620 * simple.el (global-visual-line-mode):
20621 Do not duplicate the mode lighter. (Bug#14858)
20622
20623 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20624
20625 * window.el (display-buffer): In display-buffer bind
20626 split-window-keep-point to t, bug#14829.
20627
20628 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20629
20630 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20631 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20632 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20633 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20634 Change accordingly.
20635 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20636 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20637
20638 2013-07-25 Glenn Morris <rgm@gnu.org>
20639
20640 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20641
20642 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20643
20644 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20645 parameter to modify-frame-parameters if the value has not changed;
20646 this is a workaround for bug#14949.
20647 (desktop--make-frame): On cl-delete-if call, check parameter name,
20648 not full parameter.
20649
20650 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20651
20652 * vc/vc.el (vc-ignore): New function.
20653
20654 * vc/vc-svn.el (vc-svn-ignore): New function.
20655
20656 * vc/vc-hg.el (vc-hg-ignore): New function.
20657
20658 * vc/vc-git.el (vc-git-ignore): New function.
20659
20660 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20661 (vc-dir-ignore): New function.
20662
20663 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20664 (cvs-append-to-ignore): Move here from pcvs.el.
20665
20666 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20667
20668 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20669
20670 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20671
20672 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20673 (desktop-restore-frames): Warn when deleting an existing frame failed.
20674
20675 2013-07-24 Glenn Morris <rgm@gnu.org>
20676
20677 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20678
20679 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20680
20681 * filenotify.el (file-notify-supported-p):
20682 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20683 Remove functions.
20684
20685 * autorevert.el (auto-revert-use-notify)
20686 (auto-revert-notify-add-watch):
20687 * net/tramp.el (tramp-file-name-for-operation):
20688 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20689 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20690 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20691 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20692 Remove `file-notify-supported-p' entry.
20693
20694 2013-07-24 Glenn Morris <rgm@gnu.org>
20695
20696 * printing.el: Replace all uses of deleted ps-windows-system,
20697 ps-lp-system, ps-flatten-list with lpr- versions.
20698
20699 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20700
20701 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20702 checked with memq (bug#14935).
20703
20704 * files.el (revert-buffer-function): Use a non-nil default.
20705 (revert-buffer-preserve-modes): Declare var to
20706 provide access to the `preserve-modes' argument.
20707 (revert-buffer): Let-bind it.
20708 (revert-buffer--default): New function, extracted from revert-buffer.
20709
20710 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20711
20712 * lpr.el: Signal print errors more prominently.
20713 (print-region-function): Don't default to nil.
20714 (lpr-print-region): New function, extracted from print-region-1.
20715 Check lpr's return value and signal an error in case of problem.
20716 (print-region-1): Use it.
20717 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20718 versions instead.
20719 (ps-printer-name): Default to nil.
20720 (ps-printer-name-option): Default to lpr-printer-switch.
20721 (ps-print-region-function): Don't default to nil.
20722 (ps-postscript-code-directory): Simplify default.
20723 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20724 (ps-string-list, ps-eval-switch, ps-flatten-list)
20725 (ps-flatten-list-1): Remove.
20726 (ps-multibyte-buffer): Avoid setq.
20727 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20728 (print-region-function, ps-print-region-function): Don't set them here.
20729
20730 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20731
20732 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20733 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20734 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20735 (ido-decorations): Doc fix.
20736
20737 * ansi-color.el: Fix old URL.
20738
20739 2013-07-23 Michael R. Mauger <michael@mauger.com>
20740
20741 * progmodes/sql.el: Version 3.3
20742 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20743 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20744 (sql-interactive-remove-continuation-prompt): Rewrite, use
20745 functions above. Fix continuation prompt and complete output line
20746 handling.
20747 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20748 redirected output buffer.
20749 (sql-mode): Restore deleted code (Bug#13591).
20750
20751 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20752
20753 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20754
20755 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20756
20757 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20758
20759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20761 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20762
20763 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20764
20765 * desktop.el (desktop-clear): Simplify; remove useless checks
20766 against invalid buffer names.
20767 (desktop-list*): Use cl-list*.
20768 (desktop-buffer-info, desktop-create-buffer): Simplify.
20769
20770 2013-07-23 Leo Liu <sdl.web@gmail.com>
20771
20772 * bookmark.el (bookmark-make-record): Restore NAME as a default
20773 value. (Bug#14933)
20774
20775 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20776
20777 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20778 extracted from autoload--insert-text.
20779 (autoload--insert-text): Remove.
20780 (autoload--print-cookie-text): New function, extracted from
20781 autoload--insert-cookie-text.
20782 (autoload--insert-cookie-text): Remove.
20783 (autoload-generate-file-autoloads): Adjust calls accordingly.
20784
20785 * winner.el (winner-hook-installed-p): Remove.
20786 (winner-mode): Simplify accordingly.
20787
20788 * subr.el (add-to-list): Fix compiler-macro when `append' is
20789 not constant. Don't use `cl-member' for the base case.
20790
20791 * progmodes/subword.el: Fix boundary case (bug#13758).
20792 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20793 own group.
20794 (subword-backward-regexp): Make it a constant.
20795 (subword-forward-internal): Don't treat a trailing capital as the
20796 beginning of a word.
20797
20798 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20799
20800 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20801 global value of tabulated-list-revert-hook (bug#14930).
20802
20803 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20804
20805 * desktop.el: Require 'cl-lib.
20806 (desktop-before-saving-frames-functions): New hook.
20807 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20808 for frames being saved. Rename from desktop--save-minibuffer-frames.
20809 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20810 Do not save frames with non-nil `desktop-dont-save' parameter.
20811 Filter out deleted frames.
20812 (desktop--find-frame): Use cl-find-if.
20813 (desktop--select-frame): Use cl-(first|second|third) to access values
20814 of desktop-mini.
20815 (desktop--make-frame): Use cl-delete-if.
20816 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20817 (desktop-restore-frames): Use cl-(first|second|third) to access values
20818 of desktop-mini. Look for visible frame at the end, not while
20819 restoring frames.
20820
20821 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20822 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20823 Use string-match-p, looking-at-p (bug#14927).
20824
20825 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20826
20827 * desktop.el (desktop-saved-frame-states):
20828 Rename from desktop--saved-states; all users changed.
20829 (desktop-save-frames): Rename from desktop--save-frames.
20830 Do not save state to desktop file.
20831 (desktop-save): Save desktop-saved-frame-states to desktop file
20832 and reset to nil.
20833 (desktop-restoring-frames-p): New function.
20834 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20835 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20836 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20837
20838 * desktop.el: Correctly restore iconified frames.
20839 (desktop--filter-iconified-position): New function.
20840 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20841
20842 2013-07-20 Glenn Morris <rgm@gnu.org>
20843
20844 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20845 Let `message' do the formatting.
20846 (def-gdb-preempt-display-buffer): Add explicit format.
20847
20848 * image-dired.el (image-dired-track-original-file):
20849 Use with-current-buffer.
20850 (image-dired-track-thumbnail): Use with-current-buffer.
20851 Avoid changing point of wrong window.
20852
20853 * image-dired.el (image-dired-track-original-file):
20854 Avoid changing point of wrong window. (Bug#14909)
20855
20856 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20857
20858 * progmodes/gdb-mi.el (gdb-done-or-error):
20859 Guard against "%" in gdb output. (Bug#14127)
20860
20861 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20862
20863 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20864 (Bug#14826)
20865
20866 * international/mule.el (coding-system-iso-2022-flags): Fix last
20867 change.
20868
20869 2013-07-20 Kenichi Handa <handa@gnu.org>
20870
20871 * international/mule.el (coding-system-iso-2022-flags):
20872 Add `8-bit-level-4'. (Bug#8522)
20873
20874 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20875
20876 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20877 (bug#14815).
20878
20879 * net/eww.el (eww-process-text-input): Allow inputting when the
20880 point is at the start of the line, as the properties aren't
20881 front-sticky.
20882
20883 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20884 degenerate widths.
20885
20886 2013-07-19 Richard Stallman <rms@gnu.org>
20887
20888 * epa.el (epa-popup-info-window): Doc fix.
20889
20890 * subr.el (split-string): New arg TRIM.
20891
20892 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20893
20894 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20895 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20896
20897 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20898
20899 * filenotify.el (file-notify--library): Rename from
20900 `file-notify-support'. Do not autoload. Adapt all uses.
20901 (file-notify-supported-p): New defun.
20902
20903 * autorevert.el (auto-revert-use-notify):
20904 Use `file-notify-supported-p' instead of `file-notify-support'.
20905 Adapt docstring.
20906 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20907
20908 * net/tramp.el (tramp-file-name-for-operation):
20909 Add `file-notify-supported-p'.
20910
20911 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20912 New defun.
20913 (tramp-sh-file-name-handler-alist): Add it as handler for
20914 `file-notify-supported-p '.
20915
20916 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20919 Add `ignore' as handler for `file-notify-*' functions.
20920
20921 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20922
20923 * simple.el (line-move-partial, line-move): Don't start vscroll or
20924 scroll-up if the current line is not taller than the window.
20925 (Bug#14881)
20926
20927 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20928
20929 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20930 highlight question marks in the method names as strings.
20931 (ruby-block-beg-keywords): Inline.
20932 (ruby-font-lock-keyword-beg-re): Extract from
20933 `ruby-font-lock-keywords'.
20934
20935 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20936
20937 * frame.el (blink-cursor-blinks): New defcustom.
20938 (blink-cursor-blinks-done): New defvar.
20939 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20940 (blink-cursor-timer-function): Check if number of blinks has been
20941 done on X and NS.
20942 (blink-cursor-suspend, blink-cursor-check): New defuns.
20943
20944 2013-07-15 Glenn Morris <rgm@gnu.org>
20945
20946 * edmacro.el (edmacro-format-keys): Fix previous change.
20947
20948 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20949
20950 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20951 The hack didn't work outside English locales anyway.
20952
20953 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20954
20955 * simple.el (define-alternatives): Rename from alternatives-define,
20956 per RMS' suggestion.
20957
20958 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20959
20960 * desktop.el (desktop-restore-frames): Change default to t.
20961 (desktop-restore-in-current-display): Now offer more options.
20962 (desktop-restoring-reuses-frames): New customization option.
20963 (desktop--saved-states): Doc fix.
20964 (desktop-filter-parameters-alist): New variable, renamed and expanded
20965 from desktop--excluded-frame-parameters.
20966 (desktop--target-display): New variable.
20967 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20968 (desktop--filter-tty*, desktop--filter-*-color)
20969 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20970 (desktop--filter-save-desktop-parm)
20971 (desktop-restore-in-original-display-p): New functions.
20972 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20973 (desktop--save-minibuffer-frames): New function, inspired by a similar
20974 function from Martin Rudalics.
20975 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20976 (desktop--restore-in-this-display-p): Remove.
20977 (desktop--find-frame): Rename from desktop--find-frame-in-display
20978 and add predicate argument.
20979 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20980 (desktop--reuse-list): New variable.
20981 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20982 New functions.
20983 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20984
20985 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20986
20987 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20988
20989 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20990
20991 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20992 Highlight conversion methods on Kernel.
20993
20994 2013-07-13 Alan Mackenzie <acm@muc.de>
20995
20996 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20997 and comment it out. This out-commenting enables certain C++
20998 declarations to be parsed correctly.
20999
21000 2013-07-13 Eli Zaretskii <eliz@gnu.org>
21001
21002 * international/mule.el (define-coding-system): Doc fix.
21003
21004 * simple.el (default-font-height): Don't call font-info if the
21005 frame's default font didn't change since the frame was created.
21006 (Bug#14838)
21007
21008 2013-07-13 Leo Liu <sdl.web@gmail.com>
21009
21010 * ido.el (ido-read-file-name): Guard against non-symbol value.
21011
21012 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
21013
21014 * progmodes/python.el (python-imenu--build-tree): Fix corner case
21015 in nested defuns.
21016
21017 2013-07-13 Leo Liu <sdl.web@gmail.com>
21018
21019 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
21020 ido-set-matches call. (Bug#6852)
21021
21022 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
21023
21024 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
21025 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
21026 Ruby 2.0.
21027 (ruby-font-lock-keywords): Distinguish calls to functions with
21028 module-like names from module references. Highlight character
21029 literals.
21030
21031 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
21032
21033 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
21034 (gdb-send): Handle continued commands. (Bug#14847)
21035
21036 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21037
21038 * desktop.el (desktop--v2s): Remove unused local variable.
21039 (desktop-save-buffer): Make defvar-local; adjust docstring.
21040 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
21041 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
21042
21043 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
21044
21045 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
21046
21047 2013-07-12 Eli Zaretskii <eliz@gnu.org>
21048
21049 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
21050 (Bug#14842)
21051
21052 2013-07-12 Glenn Morris <rgm@gnu.org>
21053
21054 * doc-view.el: Require cl-lib at runtime too.
21055 (doc-view-remove-if): Remove.
21056 (doc-view-search-next-match, doc-view-search-previous-match):
21057 Use cl-remove-if.
21058
21059 * edmacro.el: Require cl-lib at runtime too.
21060 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
21061 (edmacro-mismatch, edmacro-subseq): Remove.
21062
21063 * shadowfile.el: Require cl-lib.
21064 (shadow-remove-if): Remove.
21065 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
21066 Use cl-remove-if.
21067
21068 * wid-edit.el: Require cl-lib.
21069 (widget-choose): Use cl-remove-if.
21070 (widget-remove-if): Remove.
21071
21072 * progmodes/ebrowse.el: Require cl-lib at runtime too.
21073 (ebrowse-delete-if-not): Remove.
21074 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
21075 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
21076 Use cl-delete-if-not.
21077
21078 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21079
21080 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
21081 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
21082
21083 2013-07-12 Leo Liu <sdl.web@gmail.com>
21084
21085 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
21086
21087 2013-07-11 Glenn Morris <rgm@gnu.org>
21088
21089 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
21090 (edebug-gensym-index, edebug-gensym):
21091 Remove reimplementation of cl-gensym.
21092 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
21093
21094 * thumbs.el: Require cl-lib at run-time too.
21095 (thumbs-gensym-counter, thumbs-gensym):
21096 Remove reimplementation of cl-gensym.
21097 (thumbs-temp-file): Use cl-gensym.
21098
21099 * emacs-lisp/ert.el: Require cl-lib at runtime too.
21100 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
21101 (ert--intersection, ert--set-difference, ert--set-difference-eq)
21102 (ert--union, ert--gensym-counter, ert--gensym-counter)
21103 (ert--coerce-to-vector, ert--remove*, ert--string-position)
21104 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
21105 (ert-make-test-unbound, ert--expand-should-1)
21106 (ert--expand-should, ert--should-error-handle-error)
21107 (should-error, ert--explain-equal-rec)
21108 (ert--plist-difference-explanation, ert-select-tests)
21109 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
21110 Use cl-lib functions rather than reimplementations.
21111
21112 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
21113
21114 * net/tramp.el (tramp-methods): Extend docstring.
21115 (tramp-connection-timeout): New defcustom.
21116 (tramp-error-with-buffer): Reset timestamp only when appropriate.
21117 (with-tramp-progress-reporter): Simplify.
21118 (tramp-process-actions): Improve messages.
21119
21120 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
21121 * net/tramp-sh.el (tramp-maybe-open-connection):
21122 Use `tramp-connection-timeout'.
21123 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
21124 (Bug#14808)
21125
21126 2013-07-11 Leo Liu <sdl.web@gmail.com>
21127
21128 * ido.el (ido-read-file-name): Conform to the requirements of
21129 read-file-name. (Bug#11861)
21130 (ido-read-directory-name): Conform to the requirements of
21131 read-directory-name.
21132
21133 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
21134
21135 * subr.el (delay-warning): New function.
21136
21137 2013-07-10 Eli Zaretskii <eliz@gnu.org>
21138
21139 * simple.el (default-line-height): New function.
21140 (line-move-partial, line-move): Use it instead of computing the
21141 line height inline.
21142 (line-move-partial): Always compute ROWH. If the last line is
21143 partially-visible, but its text is completely visible, allow
21144 cursor to enter such a partially-visible line.
21145
21146 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
21147
21148 Improve error messages. (Bug#14808)
21149
21150 * net/tramp.el (tramp-current-connection): New defvar, moved from
21151 tramp-sh.el.
21152 (tramp-message-show-progress-reporter-message): Remove, not
21153 needed anymore.
21154 (tramp-error-with-buffer): Show message in minibuffer.
21155 Discard input before waiting. Reset connection timestamp.
21156 (with-tramp-progress-reporter): Improve messages.
21157 (tramp-process-actions): Use progress reporter. Delete process in
21158 case of error. Improve messages.
21159
21160 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
21161 Call `tramp-error-with-buffer' with vector and buffer.
21162 (tramp-current-connection): Remove.
21163 (tramp-maybe-open-connection): The car of
21164 `tramp-current-connection' are the first 3 slots of the vector.
21165
21166 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
21167
21168 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
21169 inside continued strings.
21170
21171 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
21172
21173 Timestamp fixes for undo (Bug#14824).
21174 * files.el (clear-visited-file-modtime): Move here from fileio.c.
21175
21176 2013-07-10 Leo Liu <sdl.web@gmail.com>
21177
21178 * files.el (require-final-newline): Allow safe local value.
21179 (Bug#14834)
21180
21181 2013-07-09 Leo Liu <sdl.web@gmail.com>
21182
21183 * ido.el (ido-read-directory-name): Handle fallback.
21184 (ido-read-file-name): Update DIR to ido-current-directory.
21185 (Bug#1516)
21186 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
21187
21188 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
21189
21190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
21191 "autoload". Remove "warn lower camel case" section, previously
21192 commented out. Highlight negation char. Do not highlight the
21193 target in singleton method definitions.
21194
21195 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21196
21197 * faces.el (tty-setup-hook): Declare the hook.
21198
21199 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21200 and detect when a guard/pred depends on local vars (bug#14773).
21201 (pcase--u1): Adjust caller.
21202
21203 2013-07-08 Eli Zaretskii <eliz@gnu.org>
21204
21205 * simple.el (line-move-partial, line-move): Account for
21206 line-spacing.
21207 (line-move-partial): Avoid setting vscroll when the last
21208 partially-visible line in window is of default height.
21209
21210 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21211
21212 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21213 been used a while.
21214
21215 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21216
21217 * subr.el (read-quoted-char): Remove unused local variable `char'.
21218
21219 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21220
21221 * vc/ediff.el (ediff-version): Version update.
21222 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21223 (ediff-merge-with-ancestor-command, ediff-directories-command)
21224 (ediff-directories3-command, ediff-merge-directories-command)
21225 (ediff-merge-directories-with-ancestor-command): New functions.
21226 All are command-line interfaces to ediff: to facilitate calling
21227 Emacs with the appropriate ediff functions invoked.
21228
21229 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21230 New function.
21231 (viper-save-kill-buffer): Check if buffer is modified.
21232
21233 * emulation/viper.el (viper-version): Version update.
21234 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21235
21236 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21237
21238 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21239 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21240 (viper-intercept-ESC-key): Simplify.
21241 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21242 don't use kbd.
21243 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21244 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21245 (viper-setup-ESC-to-escape): New functions.
21246 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21247 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21248
21249 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21250
21251 * simple.el (default-font-height, window-screen-lines):
21252 New functions.
21253 (line-move, line-move-partial): Use them instead of
21254 frame-char-height and window-text-height. This makes scrolling
21255 text smoother when the buffer's default face uses a font that is
21256 different from the frame's default font.
21257
21258 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21259
21260 * files.el (write-file): Do not display confirm dialog for NS,
21261 it does its own dialog, which can't be canceled (Bug#14578).
21262
21263 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21264
21265 * simple.el (line-move-partial): Adjust the row returned by
21266 posn-at-point for the current window-vscroll. (Bug#14567)
21267
21268 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21269
21270 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21271 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21272 spaces.
21273
21274 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21275
21276 * window.el (window-state-put-stale-windows): New variable.
21277 (window--state-put-2): Save list of windows without matching buffer.
21278 (window-state-put): Remove "bufferless" windows if possible.
21279
21280 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21281
21282 * simple.el (alternatives-define): Remove leftover :group keyword.
21283 Tweak docstring.
21284
21285 2013-07-06 Leo Liu <sdl.web@gmail.com>
21286
21287 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21288 (ido-enable-virtual-buffers): New variable.
21289 (ido-buffer-internal, ido-toggle-virtual-buffers)
21290 (ido-make-buffer-list): Use it.
21291 (ido-exhibit): Support turning on and off virtual buffers
21292 automatically.
21293
21294 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21295
21296 * simple.el (alternatives-define): New macro.
21297
21298 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21299
21300 * subr.el (read-quoted-char): Use read-key.
21301 (sit-for): Let read-event decode tty input (bug#14782).
21302
21303 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21304
21305 * calendar/todo-mode.el: Add handling of file deletion, both by
21306 mode command and externally. Fix various related bugs.
21307 Clarify Commentary and improve some documentation strings and code.
21308 (todo-delete-file): New command.
21309 (todo-check-file): New function.
21310 (todo-show): Handle external deletion of the file we're trying to
21311 show (bug#14688). Replace called-interactively-p by an optional
21312 prefix argument to avoid problematic interaction with catch form
21313 when byte compiled (bug#14702).
21314 (todo-quit): Handle external deletion of the archive's todo file.
21315 Make sure the buffer that was visiting the archive file is still
21316 live before trying to bury it.
21317 (todo-category-completions): Handle external deletion of any
21318 category completion files.
21319 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21320 of todo files, in case of external deletion.
21321 (todo-add-file): Replace unnecessary setq by let-binding.
21322 (todo-find-archive): Check whether there are any archives.
21323 Replace unnecessary setq by let-binding.
21324 (todo-archive-done-item): Use find-file-noselect to get the
21325 archive buffer whether or not the archive already exists.
21326 Remove superfluous code. Use file size instead of buffer-file-name to
21327 check if the archive is new; if it is, update list of archives.
21328 (todo-default-todo-file): Allow nil to be a valid value for when
21329 there are no todo files.
21330 (todo-reevaluate-default-file-defcustom): Use corrected definition
21331 of todo-default-todo-file.
21332 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21333 (todo-delete-category, todo-show-categories-table)
21334 (todo-category-number): Clarify comment.
21335 (todo-filter-items): Clarify documentation string.
21336 (todo-show-current-file, todo-display-as-todo-file)
21337 (todo-reset-and-enable-done-separator): Tweak documentation string.
21338 (todo-done-separator): Make separator length window-width, since
21339 bug#2749 is now fixed.
21340
21341 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21342
21343 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21344 Support both "gvfs-monitor-dir" and "inotifywait".
21345 (tramp-sh-file-inotifywait-process-filter): Rename from
21346 `tramp-sh-file-notify-process-filter'.
21347 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21348 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21349
21350 2013-07-05 Leo Liu <sdl.web@gmail.com>
21351
21352 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21353
21354 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21355
21356 * frame.el (display-pixel-height, display-pixel-width)
21357 (display-mm-height, display-mm-width): Mention behavior on
21358 multi-monitor setups in docstrings.
21359 (w32-display-monitor-attributes-list): Declare function.
21360 (display-monitor-attributes-list): Use it.
21361
21362 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21363
21364 * filenotify.el: New package.
21365
21366 * autorevert.el (top): Require filenotify.el.
21367 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21368 instead.
21369 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21370 (auto-revert-notify-handler): Use `file-notify-*' functions.
21371
21372 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21373
21374 * net/tramp.el (tramp-file-name-for-operation):
21375 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21376
21377 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21378 for `file-notify-add-watch' and `file-notify-rm-watch'.
21379 (tramp-process-sentinel): Improve trace.
21380 (tramp-sh-handle-file-notify-add-watch)
21381 (tramp-sh-file-notify-process-filter)
21382 (tramp-sh-handle-file-notify-rm-watch)
21383 (tramp-get-remote-inotifywait): New defuns.
21384
21385 2013-07-03 Juri Linkov <juri@jurta.org>
21386
21387 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21388 call of `occur-read-primary-args' to interactive spec.
21389
21390 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21391 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21392
21393 2013-07-03 Matthias Meulien <orontee@gmail.com>
21394
21395 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21396 `Buffer-menu-multi-occur'. Add it to the menu.
21397 (Buffer-menu-mode): Document it in docstring.
21398 (Buffer-menu-multi-occur): New command. (Bug#14673)
21399
21400 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21401
21402 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21403 keywords and built-ins.
21404
21405 2013-07-03 Glenn Morris <rgm@gnu.org>
21406
21407 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21408
21409 Make info-xref checks case-sensitive by default
21410 * info.el (Info-find-node, Info-find-in-tag-table)
21411 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21412 Add option for exact case matching of nodes.
21413 * info-xref.el (info-xref): New custom group.
21414 (info-xref-case-fold): New option.
21415 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21416
21417 2013-07-03 Leo Liu <sdl.web@gmail.com>
21418
21419 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21420
21421 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21422
21423 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21424 middle of block statement initially, lower the depth. Remove
21425 FIXME comment, not longer valid. Remove middle of block statement
21426 detection, no need to do that anymore since we've been using
21427 `ruby-parse-region' here.
21428
21429 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21430
21431 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21432
21433 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21434
21435 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21436
21437 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21438
21439 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21440 (desktop-restore-in-current-display): New customization option.
21441 (desktop--excluded-frame-parameters): Add `font'.
21442 (desktop--save-frames): Rename from desktop--save-windows.
21443 (desktop--restore-in-this-display-p): New function.
21444 (desktop--make-full-frame): Remove unwanted width/height from
21445 full(width|height) frames.
21446 (desktop--restore-frames): Rename from desktop--restore-windows.
21447 Obey desktop-restore-current-display. Do not delete old frames or
21448 select a new frame unless we were able to restore at least one frame.
21449
21450 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21451
21452 * files.el (find-file-noselect): Simplify conditional expression.
21453
21454 * textmodes/remember.el (remember-append-to-file):
21455 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21456
21457 Add `remember-notes' function to store random notes across Emacs
21458 restarts.
21459 * textmodes/remember.el (remember-data-file): Add :set callback to
21460 affect notes buffer (if any).
21461 (remember-notes): New command.
21462 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21463 New defcustoms for the `remember-notes' function.
21464 (remember-notes-save-and-bury-buffer): New command.
21465 (remember-notes-mode-map): New variable.
21466 (remember-mode): New minor mode.
21467 (remember-notes--kill-buffer-query): New function.
21468 * startup.el (initial-buffer-choice): Add notes to custom type.
21469
21470 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21471
21472 * bindings.el (right-char, left-char): Don't call sit-for, this is
21473 no longer needed. Use arithmetic comparison only for numerical
21474 arguments.
21475
21476 * international/mule-cmds.el (select-safe-coding-system):
21477 Handle the case of FROM being a string correctly. (Bug#14755)
21478
21479 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21480
21481 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21482 progression on degenerate tables.
21483 (shr-rescale-image): ImageMagick animated images currently don't work.
21484
21485 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21486
21487 Some fixes and improvements for desktop frame restoration.
21488 It is still experimental and disabled by default.
21489 * desktop.el (desktop--save-windows): Put the selected frame at
21490 the head of the list.
21491 (desktop--make-full-frame): New function.
21492 (desktop--restore-windows): Try to re-select the frame that was
21493 selected upon saving. Do not abort if some frames fail to restore,
21494 just show an error message and continue. Set up maximized frames
21495 so they have default non-maximized dimensions.
21496
21497 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21498
21499 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21500 Don't start heredoc inside a string or comment.
21501
21502 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21503
21504 * bindings.el (visual-order-cursor-movement): New defcustom.
21505 (right-char, left-char): Provide visual-order cursor motion by
21506 calling move-point-visually. Update the doc strings.
21507
21508 2013-06-28 Kenichi Handa <handa@gnu.org>
21509
21510 * international/mule.el (define-coding-system): New coding system
21511 properties :inhibit-null-byte-detection,
21512 :inhibit-iso-escape-detection, and :prefer-utf-8.
21513 (set-buffer-file-coding-system): If :charset-list property of
21514 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21515 appropriate for setting.
21516
21517 * international/mule-cmds.el (select-safe-coding-system):
21518 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21519 multibyte characters, return utf-8 (or one of its siblings).
21520
21521 * international/mule-conf.el (prefer-utf-8): New coding system.
21522 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21523 files.
21524
21525 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21526
21527 * net/shr.el (shr-render-region): New function.
21528
21529 * net/eww.el: Autoload `eww-browse-url'.
21530
21531 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21532
21533 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21534 Adapt to `package-desc-version' being a list.
21535 Use `package--ac-desc-version' to retrieve version from a package
21536 archive element.
21537
21538 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21539
21540 New experimental feature to save&restore window and frame setup.
21541 * desktop.el (desktop-save-windows): New defcustom.
21542 (desktop--saved-states): New var.
21543 (desktop--excluded-frame-parameters): New defconst.
21544 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21545 (desktop--restore-windows, desktop--save-windows): New functions.
21546 (desktop-save): Call `desktop--save-windows'.
21547 (desktop-read): Call `desktop--restore-windows'.
21548
21549 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21550
21551 * net/shr.el (add-face-text-property): Remove compat definition.
21552
21553 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21554
21555 * info.el (Info-try-follow-nearest-node): Move search for footnote
21556 above search for node name to prevent missing a footnote (bug#14717).
21557
21558 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21559
21560 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21561
21562 2013-06-27 Leo Liu <sdl.web@gmail.com>
21563
21564 * net/eww.el (eww-read-bookmarks): Check file size.
21565
21566 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21567
21568 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21569 advice--pending if newdef is nil or an autoload (bug#13820).
21570 (advice-mapc): New function.
21571
21572 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21573
21574 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21575 probably.
21576 (eww-mode-map): Add a menu bar.
21577 (eww-add-bookmark): New command.
21578 (eww-bookmark-mode): New mode and commands.
21579 (eww-add-bookmark): Remove newlines from the title.
21580 (eww-bookmark-browse): Don't bug out if it's the only window.
21581
21582 2013-06-26 Glenn Morris <rgm@gnu.org>
21583
21584 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21585 (hfy-size): Handle ttys. (Bug#14668)
21586
21587 * info-xref.el: Update for Texinfo 5 change in *note format.
21588 (info-xref-node-re, info-xref-note-re): New constants.
21589 (info-xref-check-buffer): Use info-xref-note-re.
21590
21591 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21592
21593 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21594
21595 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21596 nil terminate the loop (bug#14718).
21597
21598 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21599
21600 * net/eww.el: Rework history traversal. When going forward/back,
21601 put these actions into the history, too, so that they can be
21602 replayed.
21603 (eww-render): Move the history reset to the correct buffer.
21604
21605 2013-06-25 Juri Linkov <juri@jurta.org>
21606
21607 * files-x.el (modify-dir-local-variable): Change the header comment
21608 in the file with directory local variables. (Bug#14692)
21609
21610 * files-x.el (read-file-local-variable-value): Add `default'.
21611 (Bug#14710)
21612
21613 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21614
21615 * net/eww.el (eww-make-unique-file-name): Create a unique file
21616 name before saving to entering `y' accidentally asynchronously.
21617
21618 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21619
21620 * net/eww.el (eww-download): New command and keystroke.
21621
21622 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21623
21624 * net/eww.el (eww-copy-page-url): Change name of command.
21625
21626 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21627 be more consistent with Info and dired.
21628
21629 * net/eww.el (eww-mode-map): Ditto.
21630
21631 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21632
21633 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21634 packages from archives.
21635 (package-archive-contents): Change format; include obsolete packages.
21636 (package-desc): Use `dir' to mark builtin packages.
21637 (package--from-builtin): Set the `dir' field to `builtin'.
21638 (generated-autoload-file, version-control): Declare.
21639 (package-compute-transaction): Change first arg and return value to be
21640 lists of package-descs. Adjust to new package-archive-contents format.
21641 (package--add-to-archive-contents): Adjust to new
21642 package-archive-contents format.
21643 (package-download-transaction): Arg is now a list of package-descs.
21644 (package-install): If `pkg' is a package name, pass it as
21645 a requirement, so it is subject to the usual (e.g. disabled) checks.
21646 (describe-package): Accept package-desc as well.
21647 (describe-package-1): Describe a specific package-desc. Add links to
21648 other package-descs for the same package name.
21649 (package-menu-describe-package): Pass the actual package-desc.
21650 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21651 works correctly.
21652 (package-desc-status): New function.
21653 (package-menu--refresh): New function, extracted
21654 from package-menu--generate.
21655 (package-menu--generate): Use it.
21656 (package-delete): Update package-alist.
21657 (package-menu-execute): Don't call package-initialize.
21658
21659 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21660 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21661 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21662 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21663 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21664 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21665
21666 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21667
21668 * window.el (window--state-get-1): Workaround for bug#14527.
21669 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21670
21671 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21672
21673 * net/eww.el (eww-back-url): Implement the history by stashing all
21674 the data into a list.
21675 (eww-forward-url): Allow going forward in the history, too.
21676
21677 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21678
21679 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21680 for values and use read--expression for expressions (bug#14710).
21681 (read-file-local-variable): Avoid setq.
21682 (read-file-local-variable-mode): Use minor-mode-list.
21683
21684 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21685
21686 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21687 for DOI URLs.
21688
21689 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21690
21691 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21692 Update imenu-support when dialect changes.
21693
21694 2013-06-25 Leo Liu <sdl.web@gmail.com>
21695
21696 * ido.el (ido-read-internal): Allow forward slash on windows.
21697
21698 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21699
21700 * net/eww.el (eww): Start of strings is \\`, not ^.
21701
21702 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21703
21704 * net/shr.el (shr-browse-url): Fix interactive spec.
21705
21706 * net/eww.el (eww): Add a trailing slash to domain names.
21707
21708 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21709
21710 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21711
21712 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21713
21714 * net/shr.el (shr-browse-url): Use an external browser if given a
21715 prefix.
21716
21717 * net/eww.el (eww-external-browser): Move to shr.
21718
21719 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21720
21721 * net/eww.el (eww): Work more correctly for file: URLs.
21722 (eww-detect-charset): Allow quoted charsets.
21723 (eww-yank-page-url): New command and keystroke.
21724
21725 2013-06-24 Daiki Ueno <ueno@gnu.org>
21726
21727 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21728 file name of gpg executable.
21729 (epg-context-program): New function.
21730 (epg-context-home-directory): New function.
21731 (epg-context-set-program): New function.
21732 (epg-context-set-home-directory): New function.
21733 (epg--start): Use `epg-context-program' instead of
21734 'epg-gpg-program'.
21735 (epg--list-keys-1): Likewise.
21736
21737 2013-06-24 Leo Liu <sdl.web@gmail.com>
21738
21739 * ido.el (ido-read-internal): Fix bug#14620.
21740
21741 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21742
21743 * faces.el (face-documentation): Simplify.
21744 (read-face-attribute, tty-find-type, x-resolve-font-name):
21745 Use `string-match-p'.
21746 (list-faces-display): Use `string-match-p'. Simplify.
21747 (face-spec-recalc): Check face to avoid face alias loops.
21748 (read-color): Use `string-match-p' and non-capturing parenthesis.
21749
21750 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21751
21752 * net/shr.el (shr-rescale-image): Use the new
21753 :max-width/:max-height functionality.
21754
21755 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21756
21757 * net/eww.el (eww-search-prefix): New variable.
21758 (eww): Use it.
21759 (eww-external-browser): New variable.
21760 (eww-mode-map): New keystroke.
21761 (eww-browse-with-external-browser): New command.
21762
21763 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21764
21765 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21766
21767 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21768 Don't skip aligning the next header field when padding is 0;
21769 otherwise, field width is not respected unless the title is as
21770 wide as the field.
21771
21772 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21773
21774 * emacs-lisp/package.el (package-el-version): Remove.
21775 (package-process-define-package): Fix inf-loop.
21776 (package-install): Allow symbols as arguments again.
21777
21778 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21779
21780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21781 add some more keyword-like methods.
21782 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21783
21784 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21785
21786 * bs.el (bs-buffer-show-mark): Make defvar-local.
21787 (bs-mode): Use setq-local.
21788
21789 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21790 (emacs-lock--try-unlocking): Make defvar-local.
21791
21792 2013-06-22 Glenn Morris <rgm@gnu.org>
21793
21794 * play/cookie1.el (cookie-apropos): Minor simplification.
21795
21796 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21797
21798 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21799
21800 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21801 `regexp-opt', it breaks the build during dumping.
21802
21803 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21804
21805 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21806 Highlight keyword-like methods on Kernel and Module with
21807 font-lock-builtin-face.
21808 (auto-mode-alist): Consolidate different entries into one regexp
21809 and add more *file-s.
21810
21811 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21812
21813 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21814
21815 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21816 (diary-entry): Use it in the action of this button type instead of
21817 diary-goto-entry.
21818
21819 * calendar/todo-mode.el: New version.
21820 (todo-add-category): Append new category to end of file and give
21821 it the highest number, instead of putting it at the beginning and
21822 giving it 0. Incorporate noninteractive functionality.
21823 (todo-forward-category): Adapt to 1-based category numbering.
21824 Allow skipping over archived categories.
21825 (todo-backward-category): Derive from todo-forward-category.
21826 (todo-backward-item, todo-forward-item): Make noninteractive and
21827 delegate interactive part to new commands. Make sensitive to done items.
21828 (todo-categories): Make value an alist of category names and
21829 vectors of item counts.
21830 (todo-category-beg): Make a defconst.
21831 (todo-category-number): Use 1 instead of 0 as initial value.
21832 (todo-category-select): Make sensitive to overlays, optional item
21833 highlighting and done items.
21834 (todo-delete-item): Make sensitive to overlays and marked and done items.
21835 (todo-edit-item): Make sensitive to overlays and editing of
21836 date/time header optional. Add format checks.
21837 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21838 no-op if point is not on an item. Advertise using todo-edit-quit.
21839 (todo-edit-mode): Make sensitive to new format, font-locking, and
21840 multiple todo files.
21841 (todo-insert-item, todo-insert-item-here): Derive from
21842 todo-basic-insert-item and extend functionality.
21843 (todo-item-end, todo-item-start): Make sensitive to done items.
21844 (todo-item-string): Don't return text properties. Restore point.
21845 (todo-jump-to-category): Make sensitive to multiple todo files and
21846 todo archives. Use extended category completion.
21847 (todo-lower-item, todo-raise-item): Rename to *-priority and
21848 derive from todo-set-item-priority.
21849 (todo-mode): Derive from special-mode. Make sensitive to new
21850 format, font-locking and multiple todo files. Make read-only.
21851 (todo-mode-map): Don't suppress digit keys, so they can supply
21852 prefix arguments. Add many new key bindings.
21853 (todo-prefix): Insert as an overlay instead of file text.
21854 Change semantics from diary date expression to purely visual mark.
21855 (todo-print): Rename to todo-print-buffer. Make buffer display
21856 features printable. Remove option to restrict number of items
21857 printed. Add option to print to file.
21858 (todo-print-function): Rename to todo-print-buffer-function.
21859 (todo-quit): Extend to handle exiting new todo modes.
21860 (todo-remove-item): Make sensitive to overlays.
21861 (todo-save): Extend to buffers of filtered items.
21862 (todo-show): Make sensitive to done items, multiple todo files and
21863 new todo modes. Offer to convert legacy todo file before creating
21864 first new todo file.
21865 (todo-show-priorities): Rename to todo-top-priorities.
21866 Change semantics of value 0.
21867 (todo-top-priorities): Rename to todo-filter-top-priorities,
21868 derive from todo-filter-items and extend functionality.
21869 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21870 and extend functionality to other types of filtered items.
21871 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21872 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21873 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21874 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21875 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21876 (todo-edit-mode-hook, todo-entry-prefix-function)
21877 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21878 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21879 (todo-initials, todo-insert-threshold, todo-item-string-start)
21880 (todo-line-string, todo-menu, todo-mode-hook)
21881 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21882 (todo-print-priorities, todo-remove-separator)
21883 (todo-save-top-priorities-too, todo-string-count-lines)
21884 (todo-string-multiline-p, todo-time-string-format)
21885 (todo-tmp-buffer-name): Remove.
21886 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21887 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21888 (todo-edit-category-diary-inclusion)
21889 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21890 (todo-edit-file, todo-edit-item-date-day)
21891 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21892 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21893 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21894 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21895 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21896 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21897 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21898 (todo-filter-top-priorities-multifile, todo-find-archive)
21899 (todo-find-filtered-items-file, todo-go-to-source-item)
21900 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21901 (todo-jump-to-archive-category, todo-lower-category)
21902 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21903 (todo-move-category, todo-move-item, todo-next-button)
21904 (todo-next-item, todo-padded-string, todo-powerset)
21905 (todo-previous-button, todo-previous-item)
21906 (todo-print-buffer-to-file, todo-raise-category)
21907 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21908 (todo-set-category-number, todo-set-item-priority)
21909 (todo-set-top-priorities-in-category)
21910 (todo-set-top-priorities-in-file, todo-show-categories-table)
21911 (todo-sort-categories-alphabetically-or-numerically)
21912 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21913 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21914 (todo-toggle-item-header, todo-toggle-item-highlighting)
21915 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21916 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21917 (todo-unarchive-items, todo-unmark-category): New commands.
21918 (todo-absolute-file-name, todo-add-to-buffer-list)
21919 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21920 (todo-basic-insert-item, todo-category-completions)
21921 (todo-category-number, todo-category-string-matcher-1)
21922 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21923 (todo-check-format, todo-clear-matches)
21924 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21925 (todo-current-category, todo-date-string-matcher)
21926 (todo-define-insertion-command, todo-diary-expired-matcher)
21927 (todo-diary-goto-entry, todo-diary-item-p)
21928 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21929 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21930 (todo-done-item-section-p, todo-done-separator)
21931 (todo-done-string-matcher, todo-files, todo-filter-items)
21932 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21933 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21934 (todo-insert-category-line, todo-insert-item-from-calendar)
21935 (todo-insert-sort-button, todo-insert-with-overlays)
21936 (todo-insertion-command-name, todo-insertion-key-bindings)
21937 (todo-label-to-key, todo-longest-category-name-length)
21938 (todo-make-categories-list, todo-mode-external-set)
21939 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21940 (todo-modes-set-3, todo-multiple-filter-files)
21941 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21942 (todo-read-category, todo-read-date, todo-read-dayname)
21943 (todo-read-file-name, todo-read-time)
21944 (todo-reevaluate-category-completions-files-defcustom)
21945 (todo-reevaluate-default-file-defcustom)
21946 (todo-reevaluate-filelist-defcustoms)
21947 (todo-reevaluate-filter-files-defcustom)
21948 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21949 (todo-reset-done-separator, todo-reset-done-separator-string)
21950 (todo-reset-done-string, todo-reset-global-current-todo-file)
21951 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21952 (todo-reset-prefix, todo-set-categories)
21953 (todo-set-date-from-calendar, todo-set-show-current-file)
21954 (todo-set-top-priorities, todo-short-file-name)
21955 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21956 (todo-total-item-counts, todo-update-buffer-list)
21957 (todo-update-categories-display, todo-update-categories-sexp)
21958 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21959 New functions.
21960 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21961 New major modes.
21962 (todo-categories, todo-display, todo-edit, todo-faces)
21963 (todo-filtered): New defgroups.
21964 (todo-archived-only, todo-button, todo-category-string, todo-date)
21965 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21966 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21967 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21968 (todo-add-item-if-new-category, todo-always-add-time-string)
21969 (todo-categories-align, todo-categories-archived-label)
21970 (todo-categories-category-label, todo-categories-diary-label)
21971 (todo-categories-done-label, todo-categories-number-separator)
21972 (todo-categories-todo-label, todo-categories-totals-label)
21973 (todo-category-completions-files, todo-completion-ignore-case)
21974 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21975 (todo-done-separator-string, todo-done-string)
21976 (todo-files-function, todo-filter-done-items, todo-filter-files)
21977 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21978 (todo-initial-category, todo-initial-file, todo-item-mark)
21979 (todo-legacy-date-time-regexp, todo-mode-line-function)
21980 (todo-nondiary-marker, todo-number-prefix)
21981 (todo-print-buffer-function, todo-show-current-file)
21982 (todo-show-done-only, todo-show-first, todo-show-with-done)
21983 (todo-skip-archived-categories, todo-top-priorities-overrides)
21984 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21985 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21986 New defcustoms.
21987 (todo-category-done, todo-date-pattern, todo-date-string-start)
21988 (todo-diary-items-buffer, todo-done-string-start)
21989 (todo-filtered-items-buffer, todo-item-start)
21990 (todo-month-abbrev-array, todo-month-name-array)
21991 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21992 (todo-top-priorities-buffer): New defconsts.
21993 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21994 (todo-categories-with-marks, todo-category-string-face)
21995 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21996 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21997 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21998 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21999 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
22000 (todo-font-lock-keywords, todo-global-current-todo-file)
22001 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
22002 (todo-insertion-commands-args)
22003 (todo-insertion-commands-args-genlist)
22004 (todo-insertion-commands-names, todo-insertion-map)
22005 (todo-key-bindings-t, todo-key-bindings-t+a)
22006 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
22007 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
22008 (todo-nondiary-face, todo-print-buffer, todo-time-face)
22009 (todo-visited): New variables.
22010
22011 2013-06-21 Glenn Morris <rgm@gnu.org>
22012
22013 * play/cookie1.el (cookie-apropos): Add optional display argument.
22014 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
22015 (psychoanalyze-pinhead): Use cookie-doctor.
22016
22017 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22018
22019 * emacs-lisp/package.el (tar-get-file-descriptor)
22020 (tar--extract): Declare.
22021
22022 2013-06-21 Eduard Wiebe <usenet@pusto.de>
22023
22024 Extend flymake's warning predicate to be a function (bug#14217).
22025 * progmodes/flymake.el (flymake-warning-predicate): New.
22026 (flymake-parse-line): Use it.
22027 (flymake-warning-re): Make obsolete alias to
22028 `flymake-warning-predicate'.
22029
22030 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22031
22032 * emacs-lisp/package.el (package-alist): Include obsolete packages.
22033 (package-obsolete-list): Remove.
22034 (package-activate): Remove min-version argument. Add `force' argument.
22035 Adjust to new package-alist format.
22036 (package-mark-obsolete): Remove.
22037 (package-unpack): Force reload of the package's autoloads.
22038 (package-installed-p): Check builtins if the installed package is not
22039 recent enough.
22040 (package-initialize): Don't reset package-obsolete-list.
22041 Don't specify which package version to activate.
22042 (package-process-define-package, describe-package-1)
22043 (package-menu--generate): Adjust to new package-alist format.
22044
22045 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22046
22047 * allout-widgets.el (allout-widgets-mode-off)
22048 (allout-widgets-mode-on, allout-widgets-pre-command-business)
22049 (allout-widgets-post-command-business)
22050 (allout-widgets-after-copy-or-kill-function)
22051 (allout-widgets-after-undo-function, allout-test-range-overlaps)
22052 (allout-decorate-item-and-context)
22053 (allout-graphics-modification-handler): Fix typos in docstrings.
22054 (allout-get-or-create-parent-widget): Use `looking-at-p'.
22055
22056 * cmuscheme.el (scheme-start-file): Doc fix.
22057 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
22058 (scheme-input-filter): Use `string-match-p'.
22059
22060 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
22061
22062 * dired-x.el: Use Dired consistently in docstrings.
22063
22064 * dired.el: Use Dired consistently in docstrings.
22065 (dired-readin, dired-mode): Use `setq-local'.
22066 (dired-switches-alist): Make defvar-local.
22067 (dired-buffers-for-dir): Use `zerop'.
22068 (dired-safe-switches-p, dired-switches-escape-p)
22069 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
22070 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
22071 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
22072 (dired-goto-next-nontrivial-file): Use `string-match-p'.
22073 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
22074 (dired-toggle-marks, dired-mark-files-containing-regexp)
22075 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
22076 (dired-flag-auto-save-files, dired-flag-backup-files):
22077 Use `looking-at-p'.
22078 (dired-mark-files-regexp, dired-build-subdir-alist):
22079 Use `string-match-p', `looking-at-p'.
22080
22081 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
22082 (direct-print-region-helper): Use `string-match-p'.
22083
22084 2013-06-21 Leo Liu <sdl.web@gmail.com>
22085
22086 * comint.el (comint-redirect-results-list-from-process):
22087 Fix infinite loop.
22088
22089 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22090
22091 * net/eww.el (eww-update-header-line-format): Quote % characters.
22092
22093 2013-06-21 Glenn Morris <rgm@gnu.org>
22094
22095 * play/cookie1.el (cookie): New custom group.
22096 (cookie-file): New option.
22097 (cookie-check-file): New function.
22098 (cookie): Make it interactive. Make start and end messages optional.
22099 Interactively, display the result. Default to cookie-file.
22100 (cookie-insert): Default to cookie-file.
22101 (cookie-snarf): Make start and end messages optional.
22102 Default to cookie-file. Use with-temp-buffer.
22103 (cookie-read): Rename from read-cookie.
22104 Make start and end messages optional. Default to cookie-file.
22105 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
22106 Do not autoload it.
22107 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
22108 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
22109
22110 2013-06-21 Leo Liu <sdl.web@gmail.com>
22111
22112 * progmodes/octave.el (octave-mode): Backward compatibility fix.
22113
22114 2013-06-21 Glenn Morris <rgm@gnu.org>
22115
22116 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
22117
22118 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22119 Daniel Hackney <dan@haxney.org>
22120
22121 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
22122 Consolidate the single-file vs tarball code.
22123 (package-desc-suffix): New function.
22124 (package-desc-full-name): Don't bother inlining it.
22125 (package-load-descriptor): Return the new package-desc.
22126 (package-mark-obsolete): Remove unused arg `package'.
22127 (package-unpack): Make it work for single files as well.
22128 Make it update package-alist.
22129 (package--make-autoloads-and-stuff): Rename from
22130 package--make-autoloads-and-compile. Don't compile any more.
22131 (package--compile): New function.
22132 (package-generate-description-file): New function, extracted from
22133 package-unpack-single.
22134 (package-unpack-single): Remove.
22135 (package--with-work-buffer): Add indentation and debugging info.
22136 (package-download-single): Remove.
22137 (package-install-from-archive): Rename from package-download-tar, make
22138 it take a pkg-desc, and make it work for single files as well.
22139 (package-download-transaction): Simplify.
22140 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
22141 external tar program.
22142 (package-install-from-buffer): Remove `pkg-desc' argument.
22143 Use package-tar-file-info for tar-mode buffers.
22144 (package-install-file): Simplify accordingly.
22145 (package-archive-base): Change to take a pkg-desc.
22146 * tar-mode.el (tar--check-descriptor): New function, extracted from
22147 tar-get-descriptor.
22148 (tar-get-descriptor): Use it.
22149 (tar-get-file-descriptor): New function.
22150 (tar--extract): New function, extracted from tar-extract.
22151 (tar--extract): Use it.
22152 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
22153 case the summary uses non-ascii. Adjust to new calling convention of
22154 package-tar-file-info.
22155
22156 2013-06-21 Leo Liu <sdl.web@gmail.com>
22157
22158 * comint.el (comint-redirect-results-list-from-process):
22159 Fix random delay. (Bug#14681)
22160
22161 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22162
22163 * profiler.el (profiler-format-number): Use log, not log10.
22164
22165 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22166
22167 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
22168
22169 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22170
22171 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
22172 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
22173 yet available.
22174 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
22175 (AUTOGENEL): ... here.
22176 * emacs-lisp/cl-macs.el (cl--sublis): New function.
22177 (cl--defsubst-expand): Use it.
22178
22179 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
22180
22181 * subr.el (log10): Move here from C code, and declare as obsolete.
22182 All uses of (log10 X) replaced with (log X 10).
22183
22184 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22185
22186 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
22187 Declare with `defvar-local'.
22188 (tabulated-list-use-header-line, tabulated-list-entries)
22189 (tabulated-list-padding, tabulated-list-printer)
22190 (tabulated-list-sort-key): Declare with `defvar-local'.
22191 (tabulated-list-init-header, tabulated-list-print-fake-header):
22192 Use `setq-local'.
22193
22194 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
22195
22196 * arc-mode.el (archive-mode): Add `archive-write-file' to
22197 `write-contents-functions' also for remote files. (Bug#14652)
22198
22199 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22200
22201 * cus-edit.el (custom-commands): Fix typos.
22202 (custom-display): Fix tooltip text.
22203 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22204 Fix typos in docstrings.
22205 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22206 (custom-unlispify-menu-entry, custom-magic-value-create)
22207 (custom-add-see-also, custom-group-value-create): Use ?\s.
22208 (custom-guess-type, customize-apropos, editable-field)
22209 (custom-face-value-create): Use `string-match-p'.
22210 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22211
22212 * custom.el (custom-load-symbol): Use `string-match-p'.
22213
22214 * ansi-color.el: Convert to lexical binding.
22215 (ansi-colors): Fix URL.
22216 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22217 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22218 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22219
22220 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22221
22222 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22223
22224 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22225
22226 2013-06-19 Tom Tromey <tromey@redhat.com>
22227
22228 * net/eww.el (eww-top-url): Remove.
22229 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22230 (eww-render): Set new variables. Don't set eww-top-url.
22231 (eww-handle-link): Handle "prev", "home", and "contents".
22232 Downcase the rel text.
22233 (eww-top-url): Choose best top URL.
22234
22235 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22236
22237 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22238 relying in widget.el. Using widget.el leads to too many
22239 user interface inconsistencies.
22240 (eww-self-insert): Implement entering commands in text fields.
22241 (eww-process-text-input): New function to make text input field editing
22242 work.
22243 (eww-submit): Rewrite to use the new-style form methods.
22244 (eww-select-display): Display the correct selected item.
22245 (eww-change-select): Implement changing the select value.
22246 (eww-toggle-checkbox): Implement radio/checkboxes.
22247 (eww-update-field): Fix compilation error.
22248 (eww-tag-textarea): Implement <textarea>.
22249
22250 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22251 we don't shadow mode-specific bindings.
22252
22253 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22254 nothing to push.
22255
22256 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22257
22258 2013-06-19 Glenn Morris <rgm@gnu.org>
22259
22260 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22261
22262 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22263
22264 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22265 not needed.
22266
22267 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22268
22269 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22270
22271 * net/browse-url.el (browse-url-browser-function):
22272 `eww-browse-url' has the right calling signature, `eww' does not.
22273
22274 2013-06-19 Glenn Morris <rgm@gnu.org>
22275
22276 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22277 Only eval autoloaded macros.
22278 (byte-compile-autoload): Only give the macro warning for macros.
22279
22280 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22281 (ps-underlined-faces): Declare.
22282
22283 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22284 (speedbar-add-supported-extension): Declare.
22285
22286 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22287 Don't include a date stamp in the header of the generated file;
22288 it leads to needless differences between output files.
22289
22290 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22291
22292 * net/secrets.el (secrets-struct-secret-content-type):
22293 Replace check of introspection data by a test call of "CreateItem".
22294 Some servers do not offer introspection.
22295
22296 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22297
22298 * electric.el (electric-pair-mode): Improve interaction with
22299 electric-layout-mode.
22300 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22301 (electric-pair-syntax): Use text-mode-syntax-table in comments
22302 and strings.
22303 (electric-pair--insert): New function.
22304 (electric-pair-post-self-insert-function): Use it and
22305 electric--after-char-pos.
22306
22307 2013-06-19 Leo Liu <sdl.web@gmail.com>
22308
22309 * progmodes/octave.el (octave-help): Fix regexp.
22310
22311 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22312
22313 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22314 (shr-table-horizontal-line): Allow nil as a value, and change the
22315 default.
22316 (shr-insert-table-ruler): Respect the nil value.
22317
22318 2013-06-18 Tom Tromey <tromey@barimba>
22319
22320 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22321 New defvars.
22322 (eww-open-file): New defun.
22323 (eww-render): Initialize new variables.
22324 (eww-display-html): Handle "link" and "a".
22325 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22326 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22327 (eww-back-url): Rename from eww-previous-url.
22328 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22329 New defuns.
22330
22331 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22332
22333 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22334 Distinguish ternary operator tokens from slash symbol and slash
22335 char literal.
22336
22337 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22338
22339 Convert symbol prettification into minor mode and global minor mode.
22340
22341 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22342 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22343 (prettify-symbols--keywords): Rename from
22344 `prog-prettify-symbols-alist' and make a local defvar.
22345 (prettify-symbols--compose-symbol): Rename from
22346 `prog--prettify-font-lock-compose-symbol'.
22347 (prettify-symbols--make-keywords): Rename from
22348 `prog-prettify-font-lock-symbols-keywords' and simplify.
22349 (prog-prettify-install): Remove.
22350 (prettify-symbols-mode): New minor mode, based on
22351 `prog-prettify-install'.
22352 (turn-on-prettify-symbols-mode): New function.
22353 (global-prettify-symbols-mode): New globalized minor mode.
22354
22355 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22356 * progmodes/cfengine.el (cfengine3-mode):
22357 * progmodes/perl-mode.el (perl-mode): Don't call
22358 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22359
22360 2013-06-18 Juri Linkov <juri@jurta.org>
22361
22362 * files-x.el (modify-file-local-variable-message): New function.
22363 (modify-file-local-variable)
22364 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22365 and call `modify-file-local-variable-message' when it's non-nil.
22366 (add-file-local-variable, delete-file-local-variable)
22367 (add-file-local-variable-prop-line)
22368 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22369 and use it. (Bug#9820)
22370
22371 2013-06-18 Juri Linkov <juri@jurta.org>
22372
22373 * emulation/vi.el (vi-shell-op):
22374 * emulation/vip.el (vip-execute-com, ex-command):
22375 * emulation/viper-cmd.el (viper-exec-bang):
22376 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22377 the call of `shell-command-on-region'. (Bug#14637)
22378
22379 * simple.el (shell-command-on-region): Doc fix.
22380
22381 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22382
22383 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22384 (bug#14633).
22385
22386 2013-06-18 Glenn Morris <rgm@gnu.org>
22387
22388 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22389
22390 * newcomment.el (comment-search-forward, comment-search-backward):
22391 Doc fix. (Bug#14376)
22392
22393 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22394
22395 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22396 (buffer-face-mode-invoke): Doc fix.
22397
22398 2013-06-18 Matthias Meulien <orontee@gmail.com>
22399
22400 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22401 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22402
22403 2013-06-18 Glenn Morris <rgm@gnu.org>
22404
22405 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22406 Replace obsolete function generic-make-keywords with its expansion.
22407
22408 * progmodes/python.el (ffap-alist): Declare.
22409
22410 * textmodes/reftex.el (bibtex-mode-map): Declare.
22411
22412 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22413
22414 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22415 (package-unpack, package-unpack-single): Return the pkg-dir.
22416 (package-download-transaction): Use it to update package-alist.
22417
22418 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22419
22420 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22421 possible choice.
22422
22423 2013-06-17 Juri Linkov <juri@jurta.org>
22424
22425 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22426
22427 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22428
22429 * emacs-lisp/package.el (package-load-descriptor):
22430 Remove `with-syntax-table' call, `read' doesn't need it.
22431 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22432
22433 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22434
22435 * startup.el (command-line): Expand package name returned by
22436 `package--description-file' (bug#14639).
22437
22438 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22439
22440 * emacs-lisp/package.el (package-load-descriptor): Do not call
22441 `emacs-lisp-mode', just use its syntax table.
22442
22443 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22444
22445 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22446 `font-lock-extra-managed-props' if any prettifying keyword is added.
22447 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22448 (prog-mode): Use `setq-local'.
22449
22450 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22451
22452 * international/characters.el (standard-case-table): Set syntax of ?»
22453 and ?« to punctuation.
22454
22455 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22456
22457 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22458 Save relevant match data before calling `syntax-ppss' (bug#14595).
22459
22460 2013-06-15 Juri Linkov <juri@jurta.org>
22461
22462 * files-x.el (modify-file-local-variable-prop-line): Add local
22463 variables to the end of the existing comment on the first line.
22464 Use `file-auto-mode-skip' to skip interpreter magic line,
22465 and also skip XML declaration.
22466
22467 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22468
22469 * startup.el (package--builtin-versions): New var.
22470 (package-subdirectory-regexp): Remove.
22471 (package--description-file): Hard code its value instead.
22472
22473 * emacs-lisp/package.el: Don't activate packages older than builtin.
22474 (package-obsolete-list): Rename from package-obsolete-alist, and make
22475 it into a simple list of package-desc.
22476 (package-strip-version): Remove.
22477 (package-built-in-p): Use package--builtin-versions.
22478 (package-mark-obsolete): Simplify.
22479 (package-process-define-package): Mark it obsolete if older than the
22480 builtin version.
22481 (package-handle-response): Use line-end-position.
22482 (package-read-archive-contents, package--download-one-archive):
22483 Simplify.
22484 (package--add-to-archive-contents): Skip if older than the builtin or
22485 installed version.
22486 (package-menu-describe-package): Fix last change.
22487 (package-list-unversioned): New var.
22488 (package-menu--generate): Use it.
22489
22490 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22491 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22492 (autoload-builtin-package-versions): New variable.
22493 (autoload-generate-file-autoloads): Use them.
22494 Remove the list of autoloaded functions/macros from the
22495 (autoload...) comments.
22496
22497 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22498
22499 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22500
22501 * simple.el (line-move-partial): Don't jump to the next screen
22502 line as soon as it becomes visible. Instead, continue enlarging
22503 the vscroll until the portion of a tall screen line that's left on
22504 display is about the height of the frame's default font.
22505 (Bug#14567)
22506
22507 2013-06-15 Glenn Morris <rgm@gnu.org>
22508
22509 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22510 compilation-error-regexp-alist void, or local while let-bound.
22511
22512 * progmodes/make-mode.el (makefile-mode-syntax-table):
22513 Treat "=" as punctuation. (Bug#14614)
22514
22515 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22516
22517 * help-fns.el (describe-variable):
22518 Add extra line for permanent-local variables.
22519
22520 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22521
22522 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22523 Add export, import, library. (Bug#9164)
22524 (library): Set indent function.
22525
22526 2013-06-14 Glenn Morris <rgm@gnu.org>
22527
22528 * term/xterm.el (xterm--query):
22529 Stop after first matching handler. (Bug#14615)
22530
22531 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22532
22533 Add support for dired in saveplace.
22534 * dired.el (dired-initial-position-hook): New variable.
22535 (dired-initial-position): Call hook to place cursor position.
22536 * saveplace.el (save-place-to-alist): Add dired position.
22537 (save-place-dired-hook): New function.
22538
22539 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22540
22541 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22542 through a symbol rather than letrec.
22543
22544 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22545 (package-desc): Add `dir' field.
22546 (package-desc-full-name): New function.
22547 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22548 (package-maybe-load-descriptor): Remove.
22549 (package-load-all-descriptors): Just call package-load-descriptor.
22550 (package--disabled-p): New function.
22551 (package-desc-vers, package-desc-doc): Remove aliases.
22552 (package--dir): Remove function.
22553 (package-activate): Check if a package is disabled.
22554 (package-process-define-package): New function, extracted from
22555 define-package.
22556 (define-package): Turn into a place holder.
22557 (package-unpack-single, package-tar-file-info):
22558 Use package--description-file.
22559 (package-compute-transaction): Use package--disabled-p.
22560 (package-download-transaction): Don't call
22561 package-maybe-load-descriptor since they're all loaded anyway.
22562 (package-install): Change argument to be a pkg-desc.
22563 (package-delete): Use a single pkg-desc argument.
22564 (describe-package-1): Use package-desc-dir instead of package--dir.
22565 Use package-desc property instead of package-symbol.
22566 (package-install-button-action): Adjust accordingly.
22567 (package--push): Rewrite.
22568 (package-menu--print-info): Adjust accordingly. Change the ID format
22569 to be a pkg-desc.
22570 (package-menu-describe-package, package-menu-get-status)
22571 (package-menu--find-upgrades, package-menu-mark-upgrades)
22572 (package-menu-execute, package-menu--name-predicate):
22573 Adjust accordingly.
22574 * startup.el (package--description-file): New function.
22575 (command-line): Use it.
22576 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22577 Use package-desc-version.
22578
22579 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22580 (byte-compile-preprocess): Use it.
22581 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22582 can't quite recognize.
22583 (byte-compile-add-to-list): Remove.
22584 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22585 (cconv-closure-convert): Add assertion.
22586
22587 * emacs-lisp/map-ynp.el: Use lexical-binding.
22588 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22589 Factor out some repeated code.
22590
22591 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22592
22593 * subr.el (with-eval-after-load): New macro.
22594 (eval-after-load): Allow form to be a function.
22595 take advantage of lexical-binding.
22596 (do-after-load-evaluation): Use dolist and adjust to new format.
22597 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22598
22599 2013-06-13 Juri Linkov <juri@jurta.org>
22600
22601 * replace.el (perform-replace): Display "symbol " and other search
22602 modes from `isearch-message-prefix' in the *Help* buffer.
22603
22604 * isearch.el (isearch-query-replace): Add " symbol" and other
22605 possible search modes from `isearch-message-prefix' to the prompt.
22606 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22607 when reading a regexp to collect.
22608
22609 2013-06-13 Juri Linkov <juri@jurta.org>
22610
22611 * isearch.el (word-search-regexp): Match whitespace if the search
22612 string begins or ends in whitespace. The LAX arg is applied to
22613 both ends of the search string. Use `regexp-quote' and explicit
22614 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22615 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22616 boundaries are replaced with symbol boundaries, and characters
22617 between symbols match non-word non-symbol syntax. (Bug#14602)
22618
22619 2013-06-13 Juri Linkov <juri@jurta.org>
22620
22621 * isearch.el (isearch-del-char): Don't exceed the length of
22622 `isearch-string' by the prefix arg. (Bug#14563)
22623
22624 2013-06-13 Juri Linkov <juri@jurta.org>
22625
22626 * isearch.el (isearch-yank-word, isearch-yank-line)
22627 (isearch-char-by-name, isearch-quote-char)
22628 (isearch-printing-char, isearch-process-search-char):
22629 Add optional count prefix arg. (Bug#14563)
22630
22631 * international/isearch-x.el
22632 (isearch-process-search-multibyte-characters):
22633 Add optional count prefix arg.
22634
22635 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22636
22637 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22638 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22639 lexical-binding.
22640
22641 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22642
22643 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22644
22645 2013-06-13 Glenn Morris <rgm@gnu.org>
22646
22647 * startup.el (tty-handle-args):
22648 Don't just discard "--" and anything after. (Bug#14608)
22649
22650 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22651
22652 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22653
22654 Implement changes in Secret Service API. Make it backward compatible.
22655 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22656 (secrets-create-item): Use it. Prefix properties with interface.
22657
22658 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22659
22660 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22661 (term-emulate-terminal): Respect term-suppress-hard-newline.
22662
22663 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22664
22665 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22666 Only remove a `thumb-file' overlay. (Bug#14548)
22667
22668 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22669
22670 * mail/reporter.el (reporter-submit-bug-report):
22671 Handle missing package-name. (Bug#14600)
22672
22673 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22674
22675 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22676 (reftex-citation-prompt, reftex-default-bibliography)
22677 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22678 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22679 (reftex-bib-sort-author, reftex-bib-sort-year)
22680 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22681 (reftex-extract-bib-entries-from-thebibliography)
22682 (reftex-get-bibkey-default, reftex-get-bib-names)
22683 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22684 (reftex-format-bib-entry, reftex-parse-bibitem)
22685 (reftex-format-bibitem, reftex-do-citation)
22686 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22687 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22688 (reftex-insert-bib-matches, reftex-format-citation)
22689 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22690 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22691 existing comments into docstrings.
22692
22693 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22694
22695 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22696
22697 2013-06-12 Andreas Schwab <schwab@suse.de>
22698
22699 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22700 for auto-save files.
22701
22702 2013-06-12 Glenn Morris <rgm@gnu.org>
22703
22704 * ido.el (ido-delete-ignored-files): Remove.
22705 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22706 Go back to calling ido-ignore-item-p directly.
22707
22708 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22709
22710 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22711
22712 * ido.el (ido-delete-ignored-files): New function,
22713 split from ido-make-file-list-1.
22714 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22715 (ido-make-file-list-1): Use ido-delete-ignored-files.
22716
22717 2013-06-12 Leo Liu <sdl.web@gmail.com>
22718
22719 * progmodes/octave.el (inferior-octave-startup)
22720 (inferior-octave-completion-table)
22721 (inferior-octave-track-window-width-change)
22722 (octave-eldoc-function-signatures, octave-help)
22723 (octave-find-definition): Use single quoted strings.
22724 (inferior-octave-startup-args): Change default value.
22725 (inferior-octave-startup): Do not hard code "-i" and
22726 "--no-line-editing".
22727 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22728 (inferior-octave-directory-tracker): Use it.
22729 (octave-goto-function-definition): Robustify.
22730 (octave-help): Support highlighting operators in 'See also'.
22731 (octave-find-definition): Find subfunctions only in Octave mode.
22732
22733 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22734
22735 * help-fns.el (help-fns--compiler-macro): If the handler function is
22736 named, then put a link to it.
22737 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22738 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22739 (cl-typep): Use it.
22740 (cl-eval-when): Simplify debug spec.
22741 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22742 compiler-macro function instead of setting `compiler-macro-file'.
22743
22744 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22745
22746 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22747 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22748
22749 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22750 Daniel Hackney <dan@haxney.org>
22751
22752 First part of Daniel Hackney's patch to package.el.
22753 * emacs-lisp/package.el: Use defstruct.
22754 (package-desc): New, main struct.
22755 (package--bi-desc, package--ac-desc): New structs, used to describe the
22756 format in external files.
22757 (package-desc-vers): Replace with package-desc-version accessor.
22758 (package-desc-doc): Replace with package-desc-summary accessor.
22759 (package-activate-1): Remove `package' arg since the pkg-vec now
22760 includes the name.
22761 (define-package): Use package-desc-from-define.
22762 (package-unpack-single): Change file-name arg to be a symbol.
22763 (package--add-to-archive-contents): Use package-desc-create and new
22764 accessor functions to package--ac-desc.
22765 (package-buffer-info, package-tar-file-info): Return a package-desc.
22766 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22767 arg to be a package-desc.
22768 (package-install-file): Adjust accordingly. Use \' to match EOS.
22769 (package--from-builtin): New function.
22770 (describe-package-1, package-menu--generate): Use it.
22771 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22772 (package-generate-autoloads): Idem and return the name of the file.
22773 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22774 Change pkg-info arg to be a package-desc.
22775 Use package-make-ac-desc.
22776 (package-upload-file): Use \' to match EOS.
22777 * finder.el (finder-compile-keywords): Use package-make-builtin.
22778
22779 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22780
22781 * vc/vc.el (vc-deduce-fileset): Change error message.
22782 (vc-read-backend): New function.
22783 (vc-next-action): Use it.
22784
22785 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22786
22787 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22788 (prolog-font-lock-keywords): Use regexp-opt instead.
22789 Don't manually highlight strings.
22790 (prolog-mode-variables): Simplify comment-start-skip.
22791 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22792
22793 * emacs-lisp/generic.el (generic--normalise-comments)
22794 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22795 (generic-mode-set-comments): Use them.
22796 (generic-bracket-support): Use setq-local.
22797 (generic-make-keywords-list): Declare obsolete.
22798
22799 2013-06-11 Glenn Morris <rgm@gnu.org>
22800
22801 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22802 Prettify after setting font-lock-defaults. (Bug#14574)
22803
22804 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22805
22806 * replace.el (query-replace, occur-read-regexp-defaults-function)
22807 (replace-search):
22808 * subr.el (declare-function, number-sequence, local-set-key)
22809 (substitute-key-definition, locate-user-emacs-file)
22810 (with-silent-modifications, split-string, eval-after-load):
22811 Fix typos, remove unneeded backslashes and reflow some docstrings.
22812
22813 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22814
22815 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22816 default for Elisp files.
22817
22818 2013-06-11 Glenn Morris <rgm@gnu.org>
22819
22820 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22821 although define-derived-mode was doing this anyway. (Bug#14583)
22822
22823 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22824
22825 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22826 Fix make-variable-buffer-local call to refer to the correct variable.
22827
22828 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22829
22830 * eshell/em-term.el (eshell-visual-commands)
22831 (eshell-visual-subcommands, eshell-visual-options):
22832 Add summary line to docstrings. Add cross-references.
22833
22834 2013-06-10 Glenn Morris <rgm@gnu.org>
22835
22836 * epa.el (epa-read-file-name): New function. (Bug#14510)
22837 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22838
22839 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22840
22841 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22842 output redirection to be ignored with visual commands.
22843
22844 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22845
22846 * eshell/em-term.el (eshell-visual-command-p): New function.
22847 (eshell-term-initialize): Move long lambda to separate function
22848 eshell-visual-command-p.
22849 * eshell/em-dirs.el (eshell-dirs-initialize):
22850 * eshell/em-script.el (eshell-script-initialize):
22851 Add missing #' to lambda.
22852
22853 2013-06-08 Leo Liu <sdl.web@gmail.com>
22854
22855 * progmodes/octave.el (octave-add-log-current-defun): New function.
22856 (octave-mode): Set add-log-current-defun-function.
22857 (octave-goto-function-definition): Do not move point if not found.
22858 (octave-find-definition): Enhance to try subfunctions first.
22859
22860 2013-06-08 Glenn Morris <rgm@gnu.org>
22861
22862 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22863 (byte-compile-backward-char, byte-compile-backward-word):
22864 Improve previous change, to handle non-explicit nil.
22865
22866 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22867
22868 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22869 (smie--opener/closer-at-point): New function.
22870 (smie--matching-block-data): Use it. Don't match from right after an
22871 opener or right before a closer. Obey smie-blink-matching-inners.
22872 Don't signal a mismatch for repeated inners like "switch..case..case".
22873
22874 2013-06-07 Leo Liu <sdl.web@gmail.com>
22875
22876 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22877 to t. (Bug#14303)
22878 (octave-function-header-regexp): Fix. (Bug#14570)
22879 (octave-help-mode-finish-hook, octave-help-mode-finish):
22880 Remove. Just use temp-buffer-show-hook.
22881
22882 * newcomment.el (comment-search-backward): Revert last change.
22883 (Bug#14434)
22884
22885 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22886
22887 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22888
22889 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22890 through xargs, to avoid failure due to MS-Windows limitations on
22891 command-line length.
22892
22893 2013-06-06 Glenn Morris <rgm@gnu.org>
22894
22895 * font-lock.el (lisp-font-lock-keywords-2):
22896 Treat user-error like error.
22897
22898 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22899 (byte-compile-backward-char, byte-compile-backward-word):
22900 Handle explicit nil arguments. (Bug#14565)
22901
22902 2013-06-05 Alan Mackenzie <acm@muc.de>
22903
22904 * isearch.el (isearch-allow-prefix): New user option.
22905 (isearch-other-meta-char): Don't exit isearch when a prefix
22906 argument is typed whilst `isearch-allow-prefix' is non-nil.
22907 (Bug#9706)
22908
22909 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22910
22911 * autorevert.el (auto-revert-notify-handler): Use memq.
22912 Hide assertion failure.
22913
22914 * skeleton.el: Use cl-lib.
22915 (skeleton-further-elements): Use defvar-local.
22916 (skeleton-insert): Use cl-progv.
22917
22918 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22919
22920 * progmodes/prog-mode.el (prog-prettify-symbols)
22921 (prog-prettify-install): Update docstrings.
22922
22923 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22924
22925 * simple.el: Move all the prog-mode code to prog-mode.el.
22926 * progmodes/prog-mode.el: New file.
22927 * loadup.el: Add prog-mode.el.
22928
22929 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22930
22931 * simple.el (prog-prettify-symbols): Add version.
22932 (prog-prettify-install): Add convenience function to prettify symbols.
22933
22934 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22935 (perl--augmented-font-lock-keywords-1)
22936 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22937 variables and use it.
22938
22939 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22940 (cfengine3-mode): Remove unneeded variable and use it.
22941
22942 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22943 (lisp--augmented-font-lock-keywords-1)
22944 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22945 Remove unneeded variables and use it.
22946
22947 2013-06-05 João Távora <joaotavora@gmail.com>
22948
22949 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22950 to point when opening the connection. (Bug#14380)
22951
22952 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22953
22954 * subr.el (load-history-regexp, load-history-filename-element)
22955 (eval-after-load, after-load-functions, do-after-load-evaluation)
22956 (eval-next-after-load, display-delayed-warnings)
22957 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22958 definition of save-match-data.
22959 (overriding-local-map): Remove accidental obsolescence declaration.
22960
22961 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22962
22963 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22964
22965 Generalize symbol prettify support to prog-mode and implement it
22966 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22967 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22968 (prog--prettify-font-lock-compose-symbol)
22969 (prog-prettify-font-lock-symbols-keywords): New variables and
22970 functions to support symbol prettification.
22971 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22972 (lisp--augmented-font-lock-keywords-1)
22973 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22974 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22975 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22976 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22977 Implement prettify of -> => :: strings.
22978 * progmodes/perl-mode.el (perl-prettify-symbols)
22979 (perl--font-lock-compose-symbol)
22980 (perl--font-lock-symbols-keywords): Move to prog-mode.
22981 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22982 (perl-font-lock-keywords-1)
22983 (perl-font-lock-keywords-2): Remove explicit prettify support.
22984 (perl--augmented-font-lock-keywords)
22985 (perl--augmented-font-lock-keywords-1)
22986 (perl--augmented-font-lock-keywords-2, perl-mode):
22987 Implement prettify support.
22988
22989 2013-06-05 Leo Liu <sdl.web@gmail.com>
22990
22991 Re-implement SMIE matching block highlight using
22992 show-paren-data-function. (Bug#14395)
22993 * emacs-lisp/smie.el (smie-matching-block-highlight)
22994 (smie--highlight-matching-block-overlay)
22995 (smie--highlight-matching-block-lastpos)
22996 (smie-highlight-matching-block)
22997 (smie-highlight-matching-block-mode): Remove.
22998 (smie--matching-block-data-cache): New variable.
22999 (smie--matching-block-data): New function.
23000 (smie-setup): Use smie--matching-block-data for
23001 show-paren-data-function.
23002
23003 * progmodes/octave.el (octave-mode-menu): Fix.
23004 (octave-find-definition): Skip garbage lines.
23005
23006 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23007
23008 Fix compilation error with simultaneous dynamic+lexical scoping.
23009 Add warning when a defvar appears after the first let-binding.
23010 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
23011 (byte-compile-close-variables): Initialize it.
23012 (byte-compile--declare-var): New function.
23013 (byte-compile-file-form-defvar)
23014 (byte-compile-file-form-define-abbrev-table)
23015 (byte-compile-file-form-custom-declare-variable): Use it.
23016 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
23017 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
23018 (byte-compile-bind): Handle dynamic bindings that shadow
23019 lexical bindings.
23020 (byte-compile-unbind): Make arg non-optional.
23021 (byte-compile-let): Simplify.
23022 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
23023 (cconv--analyse-function, cconv-analyse-form): Populate it.
23024 Protect byte-compile-bound-variables to limit the scope of defvars.
23025 (cconv-analyse-form): Add missing rule for (defvar <foo>).
23026 Remove unneeded rule for `declare'.
23027
23028 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
23029 so as to avoid depending on cl-adjoin at run-time.
23030 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
23031
23032 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
23033 (macroexp--warn-and-return): Use it.
23034
23035 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23036
23037 * subr.el: Convert to lexical binding.
23038 (overriding-local-map): Make obsolete.
23039 (add-to-list): Doc fix. Add compiler macro.
23040 (read-key): Swap values of local maps.
23041
23042 2013-06-05 Leo Liu <sdl.web@gmail.com>
23043
23044 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
23045
23046 2013-06-04 Leo Liu <sdl.web@gmail.com>
23047
23048 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
23049 (compilation-auto-jump): Suppress the "Mark set" message to give
23050 way to exit message.
23051
23052 2013-06-04 Alan Mackenzie <acm@muc.de>
23053
23054 Remove faulty optimization from indentation calculation.
23055 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
23056 search limit based on 2000 characters back from indent-point.
23057
23058 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23059
23060 * eshell/em-term.el (cl-lib): Require `cl-lib'.
23061
23062 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
23063
23064 * emacs-lisp/lisp.el: Use lexical-binding.
23065 (lisp--local-variables-1, lisp--local-variables): New functions.
23066 (lisp--local-variables-completion-table): New var.
23067 (lisp-completion-at-point): Use it complete let-bound vars.
23068
23069 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
23070 eagerly (bug#14422).
23071
23072 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
23073
23074 * autorevert.el (auto-revert-notify-enabled)
23075 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
23076 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
23077 (auto-revert-notify-handler): Handle also gfilenotify.
23078
23079 * subr.el (file-notify-handle-event): New defun. Replacing ...
23080 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
23081 Remove.
23082
23083 2013-06-03 Juri Linkov <juri@jurta.org>
23084
23085 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
23086 `M-s h .'. (Bug#14427)
23087
23088 * hi-lock.el (highlight-symbol-at-point): New alias for the new
23089 command `hi-lock-face-symbol-at-point'.
23090 (hi-lock-face-symbol-at-point): New command.
23091 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
23092 (hi-lock-menu): Add `highlight-symbol-at-point'.
23093 (hi-lock-mode): Doc fix.
23094
23095 * isearch.el (isearch-forward-symbol-at-point): New command.
23096 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
23097 (isearch-highlight-regexp): Add a regexp which matches
23098 words/symbols for word/symbol mode.
23099
23100 * subr.el (find-tag-default-bounds): New function with the body
23101 mostly moved from `find-tag-default'.
23102 (find-tag-default): Move most code to `find-tag-default-bounds',
23103 call it and apply `buffer-substring-no-properties' afterwards.
23104
23105 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23106
23107 * eshell/em-term.el (eshell-term-initialize):
23108 Use `cl-intersection' rather than `intersection'.
23109
23110 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
23111
23112 * vc/log-view.el: Doc fix.
23113 (log-view-mode-map): Copy keymap from `special-mode-map'.
23114
23115 2013-06-02 Eric Ludlam <zappo@gnu.org>
23116
23117 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
23118 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
23119 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
23120 (eieio-unbound, eieio-default-superclass)
23121 (eieio--define-field-accessors, method-static, method-before)
23122 (method-primary, method-after, method-num-lists)
23123 (method-generic-before, method-generic-primary)
23124 (method-generic-after, method-num-slots)
23125 (eieio-specialized-key-to-generic-key)
23126 (eieio--check-type, class-v, class-p)
23127 (eieio-class-name, define-obsolete-function-alias)
23128 (eieio-class-parents-fast, eieio-class-children-fast)
23129 (same-class-fast-p, class-constructor, generic-p)
23130 (generic-primary-only-p, generic-primary-only-one-p)
23131 (class-option-assoc, class-option, eieio-object-p)
23132 (class-abstract-p, class-method-invocation-order)
23133 (eieio-defclass-autoload-map, eieio-defclass-autoload)
23134 (eieio-class-un-autoload, eieio-defclass)
23135 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
23136 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
23137 (eieio--defgeneric-init-form, eieio-defgeneric-form)
23138 (eieio-defgeneric-reset-generic-form)
23139 (eieio-defgeneric-form-primary-only)
23140 (eieio-defgeneric-reset-generic-form-primary-only)
23141 (eieio-defgeneric-form-primary-only-one)
23142 (eieio-defgeneric-reset-generic-form-primary-only-one)
23143 (eieio-unbind-method-implementations)
23144 (eieio--defmethod, eieio--typep)
23145 (eieio-perform-slot-validation, eieio-validate-slot-value)
23146 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
23147 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
23148 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
23149 (eieio-slot-name-index, eieio-class-slot-name-index)
23150 (eieio-set-defaults, eieio-initarg-to-attribute)
23151 (eieio-attribute-to-initarg, eieio-c3-candidate)
23152 (eieio-c3-merge-lists, eieio-class-precedence-c3)
23153 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
23154 (eieio-class-precedence-list, eieio-generic-call-methodname)
23155 (eieio-generic-call-arglst, eieio-generic-call-key)
23156 (eieio-generic-call-next-method-list)
23157 (eieio-pre-method-execution-functions, eieio-generic-call)
23158 (eieio-generic-call-primary-only, eieiomt-method-list)
23159 (eieiomt-optimizing-obarray, eieiomt-install)
23160 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
23161 (eieio-generic-form, eieio-defmethod, make-obsolete)
23162 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
23163 (defclass): Remove `eval-and-compile' from macro.
23164 (call-next-method, shared-initialize): Instead of using
23165 `scoped-class' variable, use new eieio--scoped-class, and
23166 eieio--with-scoped-class.
23167 (initialize-instance): Rename local variable 'scoped-class' to
23168 'this-class' to remove ambiguitity from old global.
23169
23170 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
23171 eieio.el.
23172 (eieio--scoped-class-stack): New variable.
23173 (eieio--scoped-class): New fcn.
23174 (eieio--with-scoped-class): New scoping macro.
23175 (eieio-defclass): Use pushnew instead of add-to-list.
23176 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
23177 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
23178 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
23179 `scoped-class' variable, use new eieio--scoped-class, and
23180 eieio--with-scoped-class.
23181
23182 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
23183
23184 2013-06-02 Tassilo Horn <tsdh@gnu.org>
23185
23186 * eshell/esh-ext.el (eshell-external-command): Pass args to
23187 `eshell-find-interpreter'.
23188 (eshell-find-interpreter): Add new second parameter ARGS.
23189
23190 * eshell/em-script.el (eshell-script-initialize): Add second arg
23191 to the function added as MATCH to `eshell-interpreter-alist'.
23192
23193 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23194 the function added as MATCH to `eshell-interpreter-alist'.
23195
23196 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23197 (eshell-visual-options): New defcustom.
23198 (eshell-escape-control-x): Adapt docstring.
23199 (eshell-term-initialize): Test `eshell-visual-subcommands' and
23200 `eshell-visual-options' in addition to `eshell-visual-commands'.
23201 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23202
23203 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
23204
23205 * progmodes/python.el (python-indent-block-enders): Add break,
23206 continue and raise keywords.
23207
23208 2013-06-01 Glenn Morris <rgm@gnu.org>
23209
23210 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23211
23212 Plain (f)boundp silences compilation warnings since Emacs 22.1.
23213 * progmodes/cc-cmds.el (delete-forward-p):
23214 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23215 * progmodes/cc-engine.el (buffer-syntactic-context):
23216 * progmodes/cc-fonts.el (face-property-instance):
23217 * progmodes/cc-mode.el (set-keymap-parents):
23218 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23219 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23220 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23221 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23222 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23223
23224 * progmodes/cc-vars.el (other): Emacs has this widget since
23225 at least 21.1, so don't (re)define it.
23226
23227 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23228 Replace the obsolete alias pcomplete-arg-quote-list.
23229
23230 2013-06-01 Leo Liu <sdl.web@gmail.com>
23231
23232 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23233 punctuation syntax.
23234 (inferior-octave-minimal-columns)
23235 (inferior-octave-last-column-width): New variables.
23236 (inferior-octave-track-window-width-change): New function.
23237 (inferior-octave-mode): Adjust column width so that Octave output,
23238 for example from 'ls', can fit into the window nicely.
23239
23240 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23241
23242 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23243 Highlight expansions inside regexp literals.
23244
23245 2013-05-31 Glenn Morris <rgm@gnu.org>
23246
23247 * obsolete/sym-comp.el (symbol-complete):
23248 Replace obsolete completion-annotate-function.
23249
23250 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23251
23252 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23253
23254 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23255 New function, checks if point is inside a literal that allows
23256 expression expansion.
23257 (ruby-syntax-propertize-expansion): Use it.
23258 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23259 around the body.
23260
23261 2013-05-30 Juri Linkov <juri@jurta.org>
23262
23263 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23264 to "\M-si".
23265 (isearch-invisible): New variable.
23266 (isearch-forward): Doc fix.
23267 (isearch-mode): Set `isearch-invisible'
23268 to the value of `search-invisible'.
23269 (isearch-toggle-case-fold): Doc fix.
23270 (isearch-toggle-invisible): New command.
23271 (isearch-query-replace): Let-bind `search-invisible'
23272 to the value of `isearch-invisible'.
23273 (isearch-search): Use `isearch-invisible' instead of
23274 `search-invisible'. Let-bind `search-invisible'
23275 to the value of `isearch-invisible'. (Bug#11378)
23276
23277 2013-05-30 Juri Linkov <juri@jurta.org>
23278
23279 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23280 call when `query-flag' is nil and `search-invisible' is non-nil.
23281 (Bug#11746)
23282
23283 2013-05-30 Glenn Morris <rgm@gnu.org>
23284
23285 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23286
23287 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23288 (cc-require): Suppress spurious "noruntime" warnings.
23289 (cc-require-when-compile): Use fboundp, for sake of compiler.
23290
23291 * progmodes/cc-mode.el: Move load of cc-vars before that of
23292 cc-langs (which in turn loads cc-vars), to quieten compiler.
23293
23294 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23295
23296 * paren.el: Simplify the code.
23297 (show-paren-mode): Always start the timer.
23298 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23299 (show-paren--overlay, show-paren--overlay-1): Rename from
23300 show-paren-overlay and show-paren-overlay-1, and initialize to an
23301 overlay rather than to nil.
23302 (show-paren-function): Misc cleanup and simplifications.
23303
23304 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23305
23306 * paren.el (show-paren-data-function): New hook.
23307 (show-paren--default): New function, extracted from show-paren-function.
23308 (show-paren-function): Use show-paren-data-function.
23309
23310 2013-05-30 Glenn Morris <rgm@gnu.org>
23311
23312 * ielm.el (ielm-map, ielm-complete-symbol):
23313 Use completion-at-point rather than obsolete functions.
23314 (inferior-emacs-lisp-mode): Doc fix.
23315 Set completion-at-point-functions, rather than
23316 comint-dynamic-complete-functions.
23317
23318 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23319 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23320 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23321
23322 * image.el (image-animated-p): Tweak definition.
23323
23324 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23325 (rlogin-process-connection-type): Tweak default. Add set-after.
23326 (rlogin-host): Doc fix.
23327 (rlogin): Tweak prompt.
23328 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23329
23330 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23331 * progmodes/tcl.el (inferior-tcl-mode-map):
23332 Use completion-at-point rather than obsolete alias.
23333
23334 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23335
23336 * minibuffer.el (read-file-name-completion-ignore-case):
23337 Move before completion--in-region, for eager macro expansion.
23338
23339 2013-05-29 Juri Linkov <juri@jurta.org>
23340
23341 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23342 for total count of matching lines. Add `global-matches' for total
23343 count of matches. Rename `matches' to `lines' for count of
23344 matching lines. Add `matches' for count of matches.
23345 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23346 to `prev-line' for line number of prev match endpt.
23347 Increment `matches' for every match. Print the number of
23348 matching lines in the header.
23349 (occur-context-lines): Rename `lines' to `curr-line'.
23350 Rename `prev-lines' to `prev-line'. (Bug#14017)
23351
23352 2013-05-29 Juri Linkov <juri@jurta.org>
23353
23354 * replace.el (perform-replace): Add `skip-read-only-count',
23355 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23356 Increment them for corresponding conditions and report the number
23357 of skipped occurrences in the final message. (Bug#11746)
23358 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23359 (replace-string, replace-regexp): Doc fix.
23360
23361 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23362
23363 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23364
23365 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23366 prog-mode-map (bug#14504).
23367
23368 2013-05-29 Leo Liu <sdl.web@gmail.com>
23369
23370 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23371 (octave-help): Small simplification.
23372
23373 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23374 off the highlight first.
23375
23376 2013-05-29 Glenn Morris <rgm@gnu.org>
23377
23378 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23379 Handle idlwave-last-system-routine-info-cons-cell being nil.
23380
23381 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23382 (idlwave-write-paths): Simplify via with-temp-buffer.
23383
23384 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23385 * emulation/cua-rect.el: Also load cua-base at run time.
23386
23387 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23388 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23389 (cperl-imenu-on-info): Require imenu.
23390
23391 2013-05-28 Alan Mackenzie <acm@muc.de>
23392
23393 Handle "capitalised keywords" correctly.
23394 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23395
23396 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23397
23398 * eshell/em-unix.el: Add -r option to cp.
23399
23400 2013-05-28 Glenn Morris <rgm@gnu.org>
23401
23402 * vc/vc-arch.el (vc-exec-after): Declare.
23403 (vc-switches): Autoload.
23404 * vc/vc-bzr.el: No need to require vc when compiling.
23405 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23406 (vc-resynch-buffer, vc-dir-refresh): Declare.
23407 (vc-setup-buffer, vc-switches): Autoload.
23408 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23409 (vc-resynch-buffer): Declare.
23410 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23411 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23412 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23413 (grep-read-regexp, grep-read-files, grep-expand-template)
23414 (vc-dir-refresh): Declare.
23415 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23416 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23417 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23418 * vc/vc-mtn.el (vc-exec-after): Declare.
23419 (vc-switches): Autoload.
23420 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23421 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23422 (vc-file-tree-walk): Declare.
23423 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23424 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23425 (vc-tag-precondition, vc-rename-master): Autoload.
23426 * vc/vc-svn.el (vc-exec-after): Declare.
23427 (vc-switches, vc-setup-buffer): Autoload.
23428 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23429 Autoload.
23430 (vc-resynch-buffer): Declare.
23431
23432 * obsolete/fast-lock.el (byte-compile-warnings):
23433 Don't warn about obsolete features in this obsolete file.
23434
23435 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23436 Move definition before use.
23437
23438 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23439 (dun-unix-verbs): Remove dun-zippy.
23440 (dun-zippy): Remove function.
23441
23442 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23443
23444 2013-05-27 Juri Linkov <juri@jurta.org>
23445
23446 * replace.el (replace-search): New function with code moved out
23447 from `perform-replace'.
23448 (replace-highlight, replace-dehighlight): Move function definitions
23449 up closer to `replace-search'. (Bug#11746)
23450
23451 2013-05-27 Juri Linkov <juri@jurta.org>
23452
23453 * replace.el (perform-replace): Ignore invisible matches.
23454 In addition to checking `query-replace-skip-read-only', also
23455 filter out matches by calling `run-hook-with-args-until-failure'
23456 on `isearch-filter-predicates', and also check `search-invisible'
23457 for t or call `isearch-range-invisible'.
23458 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23459
23460 2013-05-27 Juri Linkov <juri@jurta.org>
23461
23462 * isearch.el (isearch-filter-predicates): Rename from
23463 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23464 (isearch-message-prefix): Display text from the property
23465 `isearch-message-prefix' of the currently active filters.
23466 (isearch-search): Don't compare `isearch-filter-predicate' with
23467 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23468 on `isearch-filter-predicates'. Also check `search-invisible' for t
23469 or call `isearch-range-invisible'.
23470 (isearch-filter-visible): Make obsolete.
23471 (isearch-lazy-highlight-search):
23472 Call `run-hook-with-args-until-failure' on
23473 `isearch-filter-predicates' and use `isearch-range-invisible'.
23474
23475 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23476 `isearch-filter-predicates' instead of `funcall'ing
23477 `isearch-filter-predicate'.
23478 (Info-mode): Set `Info-isearch-filter' to
23479 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23480
23481 * dired-aux.el (dired-isearch-filter-predicate-orig):
23482 Remove variable.
23483 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23484 (dired-isearch-filenames-end): Add and remove
23485 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23486 instead of changing the value of `isearch-filter-predicate'.
23487 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23488 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23489 Put property `isearch-message-prefix' to "filename " on
23490 `dired-isearch-filter-filenames'.
23491
23492 * wdired.el (wdired-change-to-wdired-mode):
23493 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23494 locally instead of changing `isearch-filter-predicate'.
23495 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23496
23497 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23498
23499 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23500 return the commit hash (Bug#14459). Also set the
23501 `vc-git-detached' property.
23502 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23503 (vc-git-mode-line-string): Use the same help-echo format whether
23504 in detached mode or not, because we know the actual revision now.
23505 When in detached mode, shorten the revision to 7 chars.
23506
23507 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23508
23509 * emacs-lisp/easy-mmode.el (define-minor-mode):
23510 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23511 mode hook and provide a docstring.
23512
23513 2013-05-27 Alan Mackenzie <acm@muc.de>
23514
23515 Remove spurious syntax-table text properties inserted by C-y.
23516 * progmodes/cc-mode.el (c-after-change): Also clear hard
23517 syntax-table property with value nil.
23518
23519 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23520
23521 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23522 when reading the events; the buffer layout shall not be changed.
23523
23524 2013-05-27 Leo Liu <sdl.web@gmail.com>
23525
23526 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23527 New variable.
23528 (inferior-octave-directory-tracker): Automatically re-sync
23529 default-directory.
23530 (octave-help): Improve handling of 'See also'.
23531
23532 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23533
23534 * doc-view.el: Minor naming convention tweaks.
23535 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23536
23537 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23538 even if there's no `display' property yet (bug#14435).
23539
23540 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23541
23542 * subr.el (unmsys--file-name): Rename from reveal-filename.
23543
23544 * Makefile.in (custom-deps, finder-data, autoloads)
23545 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23546 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23547 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23548
23549 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23550
23551 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23552 error-completion on the first 2 args of condition-case (bug#14446).
23553 Don't burp at EOB.
23554
23555 2013-05-25 Leo Liu <sdl.web@gmail.com>
23556
23557 * comint.el (comint-previous-matching-input): Do not flood the
23558 *Messages* buffer with trivial messages.
23559
23560 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23561
23562 * progmodes/flymake.el (flymake-nop): Don't return a string.
23563 (flymake-set-at): Fix typo.
23564
23565 * simple.el (read--expression): New function, extracted from
23566 eval-expression. Set completion-at-point-functions (bug#14465).
23567 (eval-expression, eval-minibuffer): Use it.
23568
23569 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23570
23571 * progmodes/flymake.el (flymake-save-buffer-in-file)
23572 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23573 (flymake-selected-frame, flymake-log, flymake-ins-after)
23574 (flymake-set-at, flymake-get-buildfile-from-cache)
23575 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23576 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23577 Refine the doc string.
23578 (flymake-get-file-name-mode-and-masks): Reformat.
23579 (flymake-get-real-file-name-function): Fix a minor bug.
23580
23581 2013-05-24 Juri Linkov <juri@jurta.org>
23582
23583 * progmodes/grep.el (grep-mode-font-lock-keywords):
23584 Support =linenumber= format used by git-grep for lines with
23585 function names. (Bug#13549)
23586
23587 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23588
23589 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23590 0 after a semi-colon; it works better for smie-auto-fill.
23591 (octave--indent-new-comment-line): New function.
23592 (octave-indent-new-comment-line): Use it (indirectly).
23593 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23594 modify comment-line-break-function.
23595
23596 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23597 (smie-setup): Use add-function to set it.
23598
23599 2013-05-24 Sam Steingold <sds@gnu.org>
23600
23601 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23602 argument (before the `interactive' argument).
23603
23604 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23605
23606 * image-mode.el (image-mode-winprops): Add winprops to
23607 image-mode-winprops-alist before running
23608 image-mode-new-window-functions.
23609 * doc-view.el (doc-view-new-window-function): Don't delay
23610 doc-view-goto-page via timers (bug#14435).
23611
23612 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23613
23614 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23615 (doc-view-desktop-save-buffer): New function.
23616 (doc-view-restore-desktop-buffer): New function.
23617 (desktop-buffer-mode-handlers):
23618 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23619 handler.
23620 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23621 `desktop-save-buffer' function.
23622
23623 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23624
23625 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23626 (tramp-gvfs-file-name-handler): Raise a user error when
23627 `tramp-gvfs-enabled' is nil.
23628 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23629 Do not raise a user error when loading package. (Bug#14447)
23630
23631 * net/xesam.el: Move to obsolete/.
23632
23633 2013-05-24 Glenn Morris <rgm@gnu.org>
23634
23635 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23636
23637 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23638
23639 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23640 (Info-find-node, Man-getpage-in-background): Declare.
23641
23642 * mail/unrmail.el (unrmail):
23643 Replace obsolete detect-coding-with-priority.
23644
23645 * net/socks.el (socks-split-string): Use this rather than split-string.
23646 (socks-nslookup-host): Update for above change.
23647 (dynamic-choice, s5-dynamic-choice-match)
23648 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23649 Comment out unused code.
23650
23651 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23652 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23653 (gud-tooltip-echo-area): Make obsolete.
23654 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23655
23656 * progmodes/js.el (js--optimize-arglist): Declare.
23657
23658 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23659
23660 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23661 (ediff-window-C): Declare.
23662
23663 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23664 Tweak requires to silence compiler.
23665
23666 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23667 (he-search-string, he-tried-table, he-expand-list)
23668 (he-init-string, he-string-member, he-substitute-string)
23669 (he-reset-string): Declare.
23670
23671 * obsolete/options.el (list-options): Use custom-variable-p,
23672 rather than obsolete alias.
23673
23674 2013-05-23 Sam Steingold <sds@gnu.org>
23675
23676 * simple.el (shell-command-on-region): Pass the `replace' argument
23677 down to `call-process-region' to comply with the doc as reported on
23678 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23679
23680 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23681
23682 * emacs-lisp/smie.el (smie-indent-forward-token)
23683 (smie-indent-backward-token): Handle string tokens (bug#14381).
23684
23685 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23686
23687 * ielm.el (ielm-menu): New menu.
23688 (inferior-emacs-lisp-mode): Set comment-start.
23689
23690 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23691
23692 * textmodes/reftex.el (reftex-ref-style-toggle):
23693 Fix deactivate action.
23694
23695 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23696 Add cleveref macros.
23697
23698 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23699 Accept options for bibliography commands.
23700 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23701 Add addbibresource. Basic Biblatex support.
23702
23703 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23704
23705 * net/tramp-gvfs.el (top):
23706 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23707 when loading package. (Bug#14447)
23708
23709 2013-05-23 Glenn Morris <rgm@gnu.org>
23710
23711 * progmodes/js.el: No need to load comint when compiling.
23712 (ring-insert, comint-send-string, comint-send-input)
23713 (comint-last-input-end, ido-chop): Declare.
23714
23715 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23716 * vc/ediff-mult.el: Adjust requires.
23717 (ediff-directories-internal, ediff-directory-revisions-internal)
23718 (ediff-patch-file-internal): Declare.
23719 * vc/ediff-ptch.el: Adjust requires.
23720 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23721 (ediff-find-file): Autoload.
23722 * vc/ediff-util.el: No need to load ediff when compiling.
23723 (ediff-regions-internal): Declare.
23724 * vc/ediff-wind.el: Adjust requires.
23725 (ediff-compute-toolbar-width): Define when compiling.
23726 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23727 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23728 (dired-get-filename, dired-get-marked-files)
23729 (ediff-last-dir-patch, ediff-patch-default-directory)
23730 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23731 (ediff-patch-buffer-internal): Declare.
23732
23733 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23734 (ispell-process, ispell-buffer-local-words, lm-summary)
23735 (lm-section-start, lm-section-end): Declare.
23736 (checkdoc-ispell-init): Simplify.
23737
23738 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23739 (he-string-member, he-reset-string, he-substitute-string): Declare.
23740
23741 * eshell/em-ls.el: Adjust requires.
23742 (eshell-glob-regexp): Declare.
23743 * eshell/em-tramp.el: Adjust requires.
23744 (eshell-parse-command): Autoload.
23745 * eshell/em-xtra.el: Adjust requires.
23746 (eshell-parse-command): Autoload.
23747 * eshell/esh-ext.el: Adjust requires.
23748 (eshell-parse-command, eshell-close-handles): Autoload.
23749 * eshell/esh-io.el: Adjust requires.
23750 (eshell-output-filter): Autoload.
23751 * eshell/esh-util.el: No need to load tramp when compiling.
23752 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23753 Declare.
23754 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23755 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23756 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23757 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23758 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23759 * eshell/esh-opt.el, eshell/esh-proc.el:
23760 * eshell/esh-var.el: Adjust requires.
23761 * eshell/eshell.el: Do not require esh-util twice.
23762 (eshell-add-input-to-history): Declare.
23763 (eshell-command): Check history module is active before using it.
23764
23765 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23766
23767 2013-05-22 Leo Liu <sdl.web@gmail.com>
23768
23769 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23770
23771 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23772
23773 * autorevert.el (auto-revert-notify-add-watch)
23774 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23775 it indicates changes in file modification time.
23776
23777 2013-05-22 Glenn Morris <rgm@gnu.org>
23778
23779 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23780 Always delete the autoloaded function from the noruntime and
23781 unresolved functions lists.
23782
23783 * allout.el: No need to load epa, epg, overlay when compiling.
23784 (epg-context-set-passphrase-callback, epg-list-keys)
23785 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23786 (epg-key-user-id-list): Declare.
23787
23788 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23789 (viper-set-parsing-style-toggling-macro)
23790 (viper-set-emacs-state-searchstyle-macros):
23791 Use called-interactively-p on Emacs.
23792 (viper-looking-back): Make it an obsolete alias. Update callers.
23793 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23794 Use looking-back rather than viper-looking-back.
23795 (viper-tmp-insert-at-eob, viper-enlarge-region)
23796 (viper-read-string-with-history, viper-register-to-point)
23797 (viper-append-to-register, viper-change-state-to-vi)
23798 (viper-backward-char-carefully, viper-forward-char-carefully)
23799 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23800 (viper-change-state-to-emacs): Declare.
23801 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23802 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23803 * emulation/viper-mous.el: Do not load viper-cmd.
23804 (viper-backward-char-carefully, viper-forward-char-carefully)
23805 (viper-forward-word, viper-adjust-window): Declare.
23806
23807 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23808
23809 * progmodes/idlw-help.el (idlwave-help-fontify):
23810 Use called-interactively-p.
23811
23812 * term/w32console.el (w32-get-console-codepage)
23813 (w32-get-console-output-codepage): Declare.
23814
23815 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23816 Remove unnecessary declarations.
23817 (dframe-message): Doc fix.
23818
23819 * info.el (dframe-select-attached-frame, dframe-current-frame):
23820 Declare.
23821
23822 * speedbar.el (speedbar-message): Make it an obsolete alias.
23823 Update all callers.
23824 (speedbar-with-attached-buffer)
23825 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23826 (speedbar-with-writable): Use backquote.
23827 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23828 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23829 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23830 rather than speedbar- aliases.
23831 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23832 (speedbar-make-specialized-keymap, speedbar-insert-button)
23833 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23834 (speedbar-do-function-pointer): Declare.
23835 (rmail-speedbar-button, rmail-speedbar-find-file)
23836 (rmail-speedbar-move-message):
23837 Use dframe-with-attached-buffer rather than speedbar- alias.
23838 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23839 (dframe-message, speedbar-make-specialized-keymap)
23840 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23841 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23842 (speedbar-insert-button, dframe-select-attached-frame)
23843 (dframe-maybee-jump-to-attached-frame)
23844 (speedbar-change-initial-expansion-list)
23845 (speedbar-previously-used-expansion-list-name): Declare.
23846 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23847 Use dframe-message, dframe-with-attached-buffer rather than
23848 speedbar- aliases.
23849 (gud-sentinel): Silence compiler.
23850 * progmodes/vhdl-mode.el (speedbar-refresh)
23851 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23852 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23853 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23854 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23855 (speedbar-file-lists, speedbar-make-tag-line)
23856 (speedbar-line-directory, speedbar-goto-this-file)
23857 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23858 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23859 (speedbar-make-button, speedbar-reset-scanners)
23860 (speedbar-files-item-info, speedbar-line-text)
23861 (speedbar-find-file-in-frame, speedbar-set-timer)
23862 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23863 (speedbar-with-writable): Do not (re)define it.
23864 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23865 rather than speedbar- alias.
23866
23867 2013-05-21 Leo Liu <sdl.web@gmail.com>
23868
23869 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23870 menu items.
23871 (octave-mode): Tweak fill-nobreak-predicate.
23872 (inferior-octave-startup): Check process to avoid infinite loop.
23873 (inferior-octave): Pop to buffer first to show abornmal process
23874 exit information.
23875
23876 2013-05-21 Glenn Morris <rgm@gnu.org>
23877
23878 * printing.el (pr-menu-bar): Define when compiling.
23879
23880 2013-05-21 Leo Liu <sdl.web@gmail.com>
23881
23882 * progmodes/octave.el (octave-auto-fill): Remove.
23883 (octave-indent-new-comment-line): Improve.
23884 (octave-mode): Use auto fill mode through
23885 comment-line-break-function and fill-nobreak-predicate.
23886 (octave-goto-function-definition): Support DEFUN_DLD.
23887 (octave-beginning-of-defun): Small tweak.
23888 (octave-help): Show parent directory.
23889
23890 2013-05-21 Glenn Morris <rgm@gnu.org>
23891
23892 * files.el (dired-unmark):
23893 * progmodes/gud.el (gdb-input): Update declarations.
23894
23895 * calculator.el (electric, ehelp): No need to load when compiling.
23896 (Electric-command-loop, electric-describe-mode): Declare.
23897
23898 * doc-view.el (doc-view-current-converter-processes): Move before use.
23899
23900 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23901 Move MODE-set-explicitly definition before use.
23902
23903 * international/mule-diag.el (mule-diag):
23904 Don't use obsolete window-system-version.
23905
23906 * mail/feedmail.el (smtpmail): No need to load when compiling.
23907 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23908
23909 * mail/mail-utils.el (rfc822): No need to load when compiling.
23910 (rfc822-addresses): Autoload it.
23911 (mail-strip-quoted-names): Trivial simplification.
23912
23913 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23914 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23915
23916 * net/snmp-mode.el (tempo): Don't duplicate requires.
23917
23918 * progmodes/prolog.el (info): No need to load when compiling.
23919 (comint): Require before shell requires it.
23920 (Info-goto-node): Autoload it.
23921 (Info-follow-nearest-node): Declare.
23922 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23923
23924 * textmodes/artist.el (picture-mode-exit): Declare.
23925
23926 * textmodes/reftex-parse.el (reftex-parse-from-file):
23927 Trivial rewrite so the compiler can parse it better.
23928
23929 2013-05-20 Leo Liu <sdl.web@gmail.com>
23930
23931 * progmodes/octave.el (octave-help-mode-map)
23932 (octave-help-mode-finish-hook): New variables.
23933 (octave-help-mode, octave-help-mode-finish): New functions.
23934 (octave-help): Use octave-help-mode.
23935
23936 2013-05-20 Glenn Morris <rgm@gnu.org>
23937
23938 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23939
23940 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23941
23942 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23943 start at point, so that expansion starting right after opening
23944 slash in a regexp is recognized.
23945 (ruby-syntax-before-regexp-re): New defvar, extracted from
23946 ruby-syntax-propertize-function. Since the value of this regexp
23947 is looked up at runtime now, we should be able to turn
23948 `ruby-syntax-methods-before-regexp' into a defcustom later.
23949 (ruby-syntax-propertize-function): Split regexp matching into two
23950 parts, for opening and closing slashes. That allows us to skip
23951 over string interpolations and support multiline regexps.
23952 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23953 for them, which calls `ruby-syntax-propertize-expansion'.
23954 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23955 call to `ruby-syntax-propertize-function'.
23956 (ruby-syntax-propertize-expansion): Extracted from
23957 `ruby-syntax-propertize-expansions'. Handles one expansion.
23958 (ruby-syntax-propertize-percent-literal): Leave point right after
23959 the percent symbol, so that the expression expansion rule can
23960 propertize the contents.
23961 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23962 heredoc openers.
23963 (ruby-syntax-propertize-expansions): Remove.
23964
23965 2013-05-18 Juri Linkov <juri@jurta.org>
23966
23967 * man.el (Man-default-man-entry): Remove `-' from the end
23968 of the default value. (Bug#14400)
23969
23970 2013-05-18 Glenn Morris <rgm@gnu.org>
23971
23972 * comint.el (comint-password-prompt-regexp):
23973 Allow "password for XXX" where XXX contains colons (eg https://...).
23974
23975 2013-05-18 Leo Liu <sdl.web@gmail.com>
23976
23977 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23978 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23979 (octave-source-directories): Don't check process.
23980 (octave-source-directories, octave-find-definition): Doc fix.
23981
23982 2013-05-18 Glenn Morris <rgm@gnu.org>
23983
23984 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23985 Remove backspace/delete bindings. (Bug#14392)
23986
23987 * cus-dep.el (custom-make-dependencies): Sort the output.
23988 (custom-versions-load-alist): Convert comment to doc.
23989
23990 2013-05-17 Leo Liu <sdl.web@gmail.com>
23991
23992 * newcomment.el (comment-search-backward): Stricter in finding
23993 comment start. (Bug#14303)
23994
23995 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23996 (octave-comment-start-skip): Properly anchored.
23997
23998 2013-05-17 Leo Liu <sdl.web@gmail.com>
23999
24000 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
24001 Clean up when turned off. (Bug#14395)
24002 (smie--highlight-matching-block-overlay): No longer buffer-local.
24003 (smie-highlight-matching-block): Adjust.
24004
24005 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
24006
24007 Doc string fix for "nanoseconds" (Bug#14406).
24008 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
24009 Fix doc string typo that had "nanoseconds" instead of "microseconds".
24010
24011 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
24012
24013 * calc/calc-units.el (math-extract-units): Preserve powers
24014 of units.
24015
24016 2013-05-17 Leo Liu <sdl.web@gmail.com>
24017
24018 * subr.el (delete-consecutive-dups): New function.
24019 * ido.el (ido-set-matches-1): Use it.
24020 * progmodes/octave.el (inferior-octave-completion-table): Use it.
24021 * ido.el (ido-remove-consecutive-dups): Remove.
24022
24023 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24024
24025 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24026 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
24027 regexp-opt's `words'.
24028
24029 2013-05-16 Leo Liu <sdl.web@gmail.com>
24030
24031 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
24032 (smie--highlight-matching-block-overlay)
24033 (smie--highlight-matching-block-lastpos)
24034 (smie--highlight-matching-block-timer): New variables.
24035 (smie-highlight-matching-block): New function.
24036 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
24037 (smie-setup): Conditionally enable smie-blink-matching-open.
24038
24039 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
24040
24041 Sync with upstream verilog-mode r840.
24042 * progmodes/verilog-mode.el (verilog-mode-version)
24043 (verilog-mode-release-date): Update.
24044 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
24045 (verilog-sig-tieoff): Fix string error on
24046 AUTORESET with colon define, bug594. Reported by Andrew Hou.
24047 (verilog-read-decls): Fix parameters confusing
24048 AUTOINST interfaces, bug565. Reported by Leith Johnson.
24049
24050 2013-05-16 Eli Zaretskii <eliz@gnu.org>
24051
24052 * subr.el (reveal-filename): New function.
24053
24054 * loadup.el: Compute Emacs executable versions on MS-Windows,
24055 where executables have the .exe extension. Add a hard link
24056 emacs-XX.YY.ZZ.exe on MS-Windows.
24057
24058 * Makefile.in (XARGS_LIMIT): New variable.
24059 (custom-deps, finder-data, autoloads)
24060 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
24061 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
24062 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
24063 (compile-main): Limit xargs according to $(XARGS_LIMIT).
24064
24065 2013-05-16 Leo Liu <sdl.web@gmail.com>
24066
24067 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
24068 (octave-mode-menu, octave-mode-map): Remove its uses.
24069
24070 2013-05-16 Reto Zimmermann <reto@gnu.org>
24071
24072 Sync with upstream vhdl mode v3.34.2.
24073 * progmodes/vhdl-mode.el: Use `push' throughout.
24074 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
24075 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
24076 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
24077 (vhdl-actual-generic-name): New option to derive actual generic name.
24078 (vhdl-port-paste-signals): Replace formal by actual generics.
24079 (vhdl-beautify): New name for old group vhdl-align. Update users.
24080 (vhdl-beautify-options): New option.
24081 (vhdl-last-input-event): New compat alias. Use throughout.
24082 (vhdl-goto-line): Replace user level function `goto-line'.
24083 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
24084 vhdl-fix-statement-buffer.
24085 (vhdl-create-mode-menu): Add some entries.
24086 (vhdl-align-region-groups): Respect vhdl-beautify-options.
24087 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
24088 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
24089 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
24090 to force statements on one line.
24091 (vhdl-remove-trailing-spaces-region):
24092 New, split from vhdl-remove-trailing-spaces.
24093 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
24094 Respect vhdl-beautify-options.
24095 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
24096 (vhdl-update-sensitivity-list): Not add with index if exists without.
24097 Not include array index with signal. Ignore keywords in comments.
24098 (vhdl-get-visible-signals): Regexp tweaks.
24099 (vhdl-template-component-inst): Handle empty library.
24100 (vhdl-template-type): Add template for 'enum' type.
24101 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
24102 Use vhdl-replace-string.
24103 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
24104 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
24105 (vhdl-speedbar-initialize): Update for above name change.
24106 (vhdl-compose-wire-components): Fix in handling of constants.
24107 (vhdl-error-regexp-emacs-alist): New variable.
24108 (vhdl-error-regexp-add-emacs): New function;
24109 adds support for new compile.el (Emacs 22+)
24110 (vhdl-generate-makefile-1): Change target order for single lib. units.
24111 Allow use of absolute file names.
24112
24113 2013-05-16 Leo Liu <sdl.web@gmail.com>
24114
24115 * simple.el (prog-indent-sexp): Indent enclosing defun.
24116
24117 2013-05-15 Glenn Morris <rgm@gnu.org>
24118
24119 * cus-start.el (show-trailing-whitespace): Move to editing basics.
24120 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
24121 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
24122 (whitespace-highlight): Move to whitespace group.
24123
24124 * comint.el (comint-source):
24125 * pcmpl-linux.el (pcmpl-linux):
24126 * shell.el (shell-faces):
24127 * eshell/esh-opt.el (eshell-opt):
24128 * international/ccl.el (ccl): Remove empty custom groups.
24129
24130 * completion.el (dynamic-completion-mode):
24131 * jit-lock.el (jit-lock-debug-mode):
24132 * minibuffer.el (completion-in-region-mode):
24133 * type-break.el (type-break-mode-line-message-mode)
24134 (type-break-query-mode):
24135 * emulation/tpu-edt.el (tpu-edt-mode):
24136 * progmodes/subword.el (global-subword-mode, global-superword-mode):
24137 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
24138 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
24139
24140 * term/xterm.el (xterm): Change parent group to terminals.
24141
24142 * master.el (master): Remove empty custom group.
24143 (master-mode): Remove unused :group argument.
24144 * textmodes/refill.el (refill): Remove empty custom group.
24145 (refill-mode): Remove unused :group argument.
24146
24147 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
24148
24149 * cus-dep.el: Provide a feature.
24150 (custom-make-dependencies): Ignore dotfiles (dir-locals).
24151 Don't mistakenly ignore files whose basenames match a basename
24152 from preloaded-file-list (eg cedet/ede/simple.el).
24153 Add a fallback method for getting :group.
24154
24155 2013-05-15 Juri Linkov <juri@jurta.org>
24156
24157 * isearch.el (isearch-char-by-name): Rename from
24158 `isearch-insert-char-by-name'. Doc fix.
24159 (isearch-forward): Mention `isearch-char-by-name' in
24160 the docstring. (Bug#13348)
24161
24162 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
24163 `exit-minibuffer' instead of
24164 `isearch-nonincremental-exit-minibuffer'.
24165 (isearch-edit-string): Remove mention of
24166 `isearch-nonincremental-exit-minibuffer' from docstring.
24167 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
24168 (isearch-forward-exit-minibuffer)
24169 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
24170
24171 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24172
24173 * loadup.el: Just use unversioned DOC.
24174
24175 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
24176 literals as extending to EOB.
24177 (nxml-last-fontify-end): Remove unused variable.
24178 (nxml-after-change1): Use with-silent-modifications.
24179 (nxml-extend-after-change-region): Simplify.
24180 (nxml-extend-after-change-region1): Remove function.
24181 (nxml-after-change1): Don't adjust for dependent regions.
24182 (nxml-fontify-matcher): Simplify.
24183 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
24184 (xmltok-add-dependent): Remove function.
24185 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
24186 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
24187 (xmltok-scan-prolog-after-processing-instruction-open): Treat
24188 unclosed <[[, <?, comment, and other literals as extending to EOB.
24189 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
24190 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24191 Remove functions.
24192 (rng-do-some-validation-1): Don't mark dependent regions.
24193 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24194 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24195 (nxml-clear-dependent-regions): Remove functions.
24196 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24197 (nxml-ensure-scan-up-to-date):
24198 Don't clear&mark dependent regions.
24199
24200 2013-05-15 Leo Liu <sdl.web@gmail.com>
24201
24202 * progmodes/octave.el (octave-goto-function-definition):
24203 Improve and fix callers.
24204
24205 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24206
24207 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24208 the setter (bug#14387).
24209
24210 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24211 surrounding group (bug#14402).
24212
24213 2013-05-14 Juri Linkov <juri@jurta.org>
24214
24215 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24216 (Bug#14390)
24217
24218 2013-05-14 Glenn Morris <rgm@gnu.org>
24219
24220 * progmodes/f90.el (f90-imenu-generic-expression):
24221 Fix typo in 2013-05-08 change. (Bug#14402)
24222
24223 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24224
24225 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24226 Remove signals for which replies are never received.
24227
24228 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24229
24230 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24231 (gdb-handler-alist, gdb-handler-number): Remove variables.
24232 (gdb-handler-list): New variable.
24233 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24234 (gdb-pending-handler-p, gdb-handle-reply)
24235 (gdb-remove-all-pending-triggers): New functions.
24236 (gdb-discard-unordered-replies): New defcustom.
24237 (gdb-handler): New defstruct.
24238 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24239 instead of gdb-pending-triggers. Update docstring.
24240 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24241 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24242 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24243 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24244 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24245 (gdb-frame-handler): Pending triggers are now automatically managed.
24246 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24247 Remove argument.
24248 (gdb-input): Automatically handles pending triggers. Update docstring.
24249 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24250 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24251 Update comments.
24252 (gdb-done-or-error): Now use gdb-handle-reply.
24253
24254 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24255
24256 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24257 gdb-debug-log.
24258
24259 2013-05-14 Glenn Morris <rgm@gnu.org>
24260
24261 * subr.el (user-emacs-directory-warning): New option.
24262 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24263
24264 2013-05-14 Leo Liu <sdl.web@gmail.com>
24265
24266 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24267 during redisplay.
24268 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24269 (octave-font-lock-texinfo-comment): Fix invalid search bound
24270 error: wrong side of point.
24271
24272 2013-05-14 Glenn Morris <rgm@gnu.org>
24273
24274 * progmodes/flymake.el (flymake-xml-program): New option.
24275 (flymake-xml-init): Use it.
24276
24277 * term/xterm.el: Provide a feature.
24278
24279 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24280
24281 2013-05-13 Glenn Morris <rgm@gnu.org>
24282
24283 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24284 Add compat aliases as a hack workaround. (Bug#14384)
24285
24286 2013-05-13 Leo Liu <sdl.web@gmail.com>
24287
24288 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24289 ###, and %!.
24290 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24291 C-M-q.
24292 (octave-comment-start-skip): Include %!.
24293 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24294
24295 2013-05-12 Leo Liu <sdl.web@gmail.com>
24296
24297 * progmodes/octave.el (inferior-octave-startup): Store the value
24298 of __octave_srcdir__ for octave-source-directories.
24299 (inferior-octave-check-process): New function refactored out of
24300 inferior-octave-send-list-and-digest.
24301 (octave-source-directories)
24302 (octave-find-definition-filename-function): New variables.
24303 (octave-source-directories)
24304 (octave-find-definition-default-filename): New functions.
24305 (octave-find-definition): Improve to find functions implemented in C++.
24306
24307 2013-05-12 Glenn Morris <rgm@gnu.org>
24308
24309 * calendar/diary-lib.el (diary-outlook-format-1):
24310 Don't include dayname in the output. (Bug#14349)
24311
24312 2013-05-11 Glenn Morris <rgm@gnu.org>
24313
24314 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24315
24316 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24317 Treat cc-provide like provide.
24318
24319 2013-05-11 Kevin Ryde <user42@zip.com.au>
24320
24321 * cus-dep.el (custom-make-dependencies):
24322 Use generated-autoload-load-name for the sake of files such
24323 such cedet/semantic/bovine/c.el, where the base file name
24324 is not in load-path. (Bug#5277)
24325
24326 2013-05-11 Glenn Morris <rgm@gnu.org>
24327
24328 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24329 Provide features.
24330
24331 2013-05-11 Leo Liu <sdl.web@gmail.com>
24332
24333 * progmodes/octave.el (octave-indent-comment): Improve.
24334 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24335 (octave-eldoc-function-signatures, octave-eldoc-function):
24336 New functions.
24337 (octave-mode, inferior-octave-mode): Add eldoc support.
24338
24339 2013-05-11 Richard Stallman <rms@gnu.org>
24340
24341 * epa.el (epa-decrypt-file): Take output file name as argument
24342 and read it using `interactive'.
24343
24344 2013-05-11 Leo Liu <sdl.web@gmail.com>
24345
24346 * progmodes/octave.el (octave-beginning-of-line)
24347 (octave-end-of-line): Check before using up-list because it jumps
24348 out of more syntactic contructs since moving to smie.
24349 (octave-indent-comment): New function.
24350 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24351 (octave-begin-keywords, octave-end-keywords)
24352 (octave-reserved-words, octave-smie-bnf-table)
24353 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24354
24355 2013-05-11 Glenn Morris <rgm@gnu.org>
24356
24357 * faces.el (internal-face-x-get-resource):
24358 * frame.el (ns-display-monitor-attributes-list):
24359 * calc/calc-aent.el (math-to-radians-2):
24360 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24361 Fix declarations.
24362
24363 * calc/calc-menu.el: Make it loadable in isolation.
24364
24365 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24366 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24367 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24368 (eudc-bbdb-query-internal): Require 'bbdb.
24369
24370 * lpr.el (lpr-headers-switches):
24371 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24372
24373 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24374
24375 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24376
24377 * term.el (term-set-escape-char): Make it idempotent.
24378
24379 2013-05-10 Leo Liu <sdl.web@gmail.com>
24380
24381 * progmodes/octave.el (inferior-octave-completion-table):
24382 No longer a function and all uses changed. Use cache to speed up
24383 completion due to bug#11906.
24384 (octave-beginning-of-defun): Re-write to be more general.
24385
24386 2013-05-10 Glenn Morris <rgm@gnu.org>
24387
24388 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24389
24390 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24391
24392 * comint.el (comint-redirect-send-command-to-process): Use :around
24393 rather than :override for comint-redirect-filter.
24394 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24395 Call it instead of comint-redirect-original-filter-function (which
24396 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24397
24398 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24399
24400 * frame.el (display-monitor-attributes-list): Add NS case.
24401 (ns-display-monitor-attributes-list): Declare.
24402
24403 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24404
24405 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24406
24407 2013-05-09 Glenn Morris <rgm@gnu.org>
24408
24409 * international/fontset.el (vertical-centering-font-regexp):
24410 Set standard-value.
24411
24412 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24413
24414 * bookmark.el (bookmark-search-delay):
24415 * cus-start.el (vertical-centering-font-regexp):
24416 * ps-mule.el (ps-mule-font-info-database-default):
24417 * ps-print.el (ps-default-fg, ps-default-bg):
24418 * type-break.el (type-break-good-break-interval):
24419 * whitespace.el (whitespace-indentation-regexp)
24420 (whitespace-space-after-tab-regexp):
24421 * emacs-lisp/testcover.el (testcover-1value-functions)
24422 (testcover-noreturn-functions, testcover-progn-functions)
24423 (testcover-prog1-functions):
24424 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24425 * eshell/em-glob.el (eshell-glob-translate-alist):
24426 * play/tetris.el (tetris-tty-colors):
24427 * progmodes/cpp.el (cpp-face-default-list):
24428 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24429 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24430 (idlwave-help-browser-generic-args):
24431 * progmodes/make-mode.el (makefile-special-targets-list):
24432 * progmodes/python.el (python-shell-virtualenv-path):
24433 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24434 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24435 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24436 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24437 * textmodes/reftex-vars.el (reftex-format-label-function):
24438 * textmodes/remember.el (remember-diary-file): Fix custom types.
24439
24440 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24441 Add :version.
24442
24443 2013-05-09 Leo Liu <sdl.web@gmail.com>
24444
24445 * progmodes/octave.el (inferior-octave-completion-at-point):
24446 Restore file completion. (Bug#14300)
24447 (inferior-octave-startup): Fix incorrect highlighting for the
24448 first prompt.
24449
24450 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24451
24452 * progmodes/ruby-mode.el: First cut at SMIE support.
24453 (ruby-use-smie): New var.
24454 (ruby-smie-grammar): New constant.
24455 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24456 (ruby-smie--forward-token, ruby-smie--backward-token)
24457 (ruby-smie-rules): New functions.
24458 (ruby-mode-variables): Setup SMIE if applicable.
24459
24460 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24461
24462 * simple.el (line-move-visual): Signal beginning/end of buffer
24463 only if vertical-motion moved less than it was requested. Avoids
24464 silly incorrect error messages when there are display strings with
24465 multiple newlines at EOL.
24466
24467 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24468
24469 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24470 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24471 (prolog-char-quote-workaround):
24472 * progmodes/cperl-mode.el (cperl-under-as-char):
24473 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24474 Mark as obsolete.
24475 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24476 their declaration.
24477 (vhdl-mode-syntax-table-init): Remove.
24478
24479 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24480 last change.
24481
24482 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24483 syntax for "_".
24484 (ld-script-font-lock-keywords):
24485 Change regexps to use things like \_< and \_>.
24486
24487 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24488 Change all regexps to use things like \_< and \_>.
24489
24490 * progmodes/autoconf.el (autoconf-definition-regexp)
24491 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24492 Handle a _ with symbol syntax.
24493 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24494
24495 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24496 Consolidate declaration.
24497 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24498 the declaration.
24499 (ada-create-syntax-table): Remove.
24500 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24501 already has the right syntax nowadays.
24502 (ada-goto-next-word): Don't change the syntax of "_".
24503
24504 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24505 with-wrapper-hook.
24506
24507 2013-05-08 Sam Steingold <sds@gnu.org>
24508
24509 * thingatpt.el (thing-at-point): Accept optional second argument
24510 NO-PROPERTIES to strip the text properties from the return value.
24511 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24512 to `thing-at-point' instead of stripping the properties ourselves.
24513 Also, when `thing-at-point' fails to find a url, prepend "http://"
24514 to the filename at point on the assumption that the user is
24515 pointing at something like gnu.org/gnu.
24516
24517 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24518
24519 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24520 * faces.el (crm-separator):
24521 Silence byte-compiler.
24522
24523 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24524 (tool-bar-map): Remove unneeded defvars.
24525
24526 2013-05-08 Leo Liu <sdl.web@gmail.com>
24527
24528 Re-work a fix for bug#10994 based on Le Wang's patch.
24529 * ido.el (ido-remove-consecutive-dups): New helper.
24530 (ido-completing-read): Use it.
24531 (ido-chop): Revert fix for bug#10994.
24532
24533 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24534
24535 * cus-edit.el (custom-save-variables):
24536 Pretty-print long values. (Bug#14187)
24537
24538 2013-05-08 Glenn Morris <rgm@gnu.org>
24539
24540 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24541 (m4-mode-syntax-table): Init in the defvar.
24542 (m4-mode-abbrev-table): Let define-derived-mode define it.
24543
24544 2013-05-08 Tom Tromey <tromey@redhat.com>
24545
24546 * progmodes/m4-mode.el (m4-mode-syntax-table):
24547 Do not treat "_" as word constituent. (Bug#14167)
24548
24549 2013-05-07 Glenn Morris <rgm@gnu.org>
24550
24551 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24552 Remove explicit eshell-isearch-cancel-map.
24553
24554 * progmodes/f90.el (f90-smart-end-names): New option.
24555 (f90-smart-end): Doc fix.
24556 (f90-end-block-optional-name): New constant.
24557 (f90-block-match): Respect f90-smart-end-names.
24558
24559 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24560
24561 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24562 about implicit semi-colons (bug#14218).
24563
24564 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24565
24566 * frame.el (display-monitor-attributes-list)
24567 (frame-monitor-attributes): New functions.
24568
24569 2013-05-06 Leo Liu <sdl.web@gmail.com>
24570
24571 * progmodes/octave.el (octave-syntax-propertize-function): Change
24572 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24573 (octave-font-lock-keywords): Use octave-operator-regexp.
24574 (octave-completion-at-point): Rename from
24575 octave-completion-at-point-function.
24576 (inferior-octave-directory-tracker): Robustify.
24577 (octave-text-functions): Remove and fix its uses. No such things
24578 any more.
24579
24580 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24581
24582 * emacs-lisp/trace.el (trace--display-buffer): New function.
24583 (trace-make-advice): Use it.
24584
24585 2013-05-06 Juri Linkov <juri@jurta.org>
24586
24587 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24588 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24589 Doc fix.
24590 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24591 in the help string. (Bug#12985)
24592
24593 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24594
24595 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24596
24597 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24598
24599 * progmodes/perl-mode.el: Add support for here documents.
24600 (perl-syntax-propertize-function): Match here-doc markers.
24601 (perl-syntax-propertize-special-constructs): Find their end.
24602 (perl-imenu-generic-expression): Use [:alnum:].
24603
24604 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24605 (advice--add-function): Refresh the advice if already present
24606 (bug#14317).
24607
24608 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24609
24610 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24611
24612 2013-05-06 Glenn Morris <rgm@gnu.org>
24613
24614 * w32-fns.el (w32-charset-info-alist): Declare.
24615
24616 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24617 of its defcustom properties.
24618 (eshell-cmpl-initialize): No need to load pcomplete.
24619
24620 * generic-x.el: No need to require comint when compiling.
24621
24622 * net/eudc-export.el: Make it loadable without bbdb.
24623 (top-level): Use require rather than load-library.
24624 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24625 (eudc-batch-export-records-to-bbdb)
24626 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24627 Require bbdb.
24628
24629 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24630
24631 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24632 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24633 some tweaks, instead.
24634
24635 2013-05-05 Leo Liu <sdl.web@gmail.com>
24636
24637 * progmodes/octave.el (octave-font-lock-keywords)
24638 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24639 (inferior-octave-send-list-and-digest): Improve error message.
24640 (octave-mode, inferior-octave-mode): Use setq-local.
24641 (octave-help): Set info-lookup-mode.
24642
24643 2013-05-05 Richard Stallman <rms@gnu.org>
24644
24645 * vc/compare-w.el (compare-windows-whitespace):
24646 Treat no-break space as whitespace.
24647
24648 * mail/rmailsum.el (rmail-summary-rmail-update):
24649 Detect empty summary and don't change selected message.
24650 (rmail-summary-goto-msg): Likewise.
24651
24652 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24653 Doc fixes, rename args.
24654
24655 2013-05-05 Alan Mackenzie <acm@muc.de>
24656
24657 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24658
24659 2013-05-05 Juri Linkov <juri@jurta.org>
24660
24661 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24662 to not add the length of the summary segment to the return value.
24663 (Bug#14125)
24664
24665 2013-05-05 Leo Liu <sdl.web@gmail.com>
24666
24667 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24668 (inferior-octave-output-filter): Remove.
24669 (octave-send-region, inferior-octave-startup): Fix callers.
24670 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24671 (octave-binary-file-extensions): New user variable.
24672 (octave-find-definition): Confirm if opening binary files.
24673 (octave-help-file): Use octave-find-definition to get the binary
24674 confirmation.
24675 (octave-help): Adjust for octave-help-file change.
24676
24677 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24678
24679 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24680 Merge the two entries that handle function definitions.
24681 (pascal--syntax-propertize): New const.
24682 (pascal-mode): Use it. Use setq-local.
24683
24684 2013-05-04 Glenn Morris <rgm@gnu.org>
24685
24686 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24687 (diary-from-outlook): Respect diary-from-outlook-function.
24688
24689 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24690
24691 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24692 Move the declaration from C.
24693 (read-minibuffer, eval-minibuffer): Move from C.
24694 (completion-setup-function): Avoid minibuffer-completion-contents.
24695
24696 2013-05-03 Leo Liu <sdl.web@gmail.com>
24697
24698 * progmodes/octave.el (octave-font-lock-keywords): Do not
24699 dehighlight 'end' in comments or strings.
24700 (octave-completing-read, octave-goto-function-definition):
24701 New helpers.
24702 (octave-help-buffer): New user variable.
24703 (octave-help-file, octave-help-function): New button types.
24704 (octave-help): New command and bind it to C-h ;.
24705 (octave-find-definition): New command and bind it to M-.
24706 (user-error): Alias to error if not defined.
24707
24708 2013-05-02 Leo Liu <sdl.web@gmail.com>
24709
24710 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24711 for \. (bug#14332)
24712 (octave-font-lock-keywords): Include [ and {.
24713
24714 2013-05-02 Leo Liu <sdl.web@gmail.com>
24715
24716 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24717 (inferior-octave): Remove calling comint-mode and return the buffer.
24718 (inferior-octave-startup): Cosmetic changes.
24719
24720 2013-05-02 Leo Liu <sdl.web@gmail.com>
24721
24722 * progmodes/octave.el (octave-syntax-propertize-function):
24723 Include the case when ' is at line beginning. (Bug#14336)
24724
24725 2013-05-02 Glenn Morris <rgm@gnu.org>
24726
24727 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24728 * desktop.el (vc-dir-mode): Just autoload it here.
24729
24730 2013-05-02 Alan Mackenzie <acm@muc.de>
24731
24732 Eliminate variable c-standard-font-lock-fontify-region-function.
24733 * progmodes/cc-mode.el
24734 (c-standard-font-lock-fontify-region-function): Remove.
24735 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24736
24737 2013-05-01 Leo Liu <sdl.web@gmail.com>
24738
24739 * progmodes/octave.el: Compatible with older emacs-24 releases.
24740 (inferior-octave-has-built-in-variables): Remove. Built-in
24741 variables were removed from Octave in 2007.
24742 (inferior-octave-startup): Fix uses.
24743 (comint-line-beginning-position): Remove compatibility code for
24744 emacs 21.
24745
24746 2013-05-01 Juri Linkov <juri@jurta.org>
24747
24748 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24749
24750 2013-05-01 Juri Linkov <juri@jurta.org>
24751
24752 * comint.el (comint-previous-matching-input): Don't print message
24753 "History item: %d" when `isearch-mode' is active.
24754 (comint-history-isearch-message): Print message "History item: %d"
24755 when `comint-input-ring-index' is not empty and this function is
24756 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24757
24758 2013-05-01 Leo Liu <sdl.web@gmail.com>
24759
24760 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24761 definitions. Use completion-at-point to insert keywords.
24762 (octave-abbrev-start): Remove.
24763 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24764
24765 2013-04-30 Leo Liu <sdl.web@gmail.com>
24766
24767 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24768 change.
24769
24770 2013-04-30 Alan Mackenzie <acm@muc.de>
24771
24772 Handle arbitrarily long C++ member initialization lists.
24773 * progmodes/cc-engine.el (c-back-over-member-initializers):
24774 new function.
24775 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24776 (most) member init lists.
24777
24778 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24779
24780 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24781 variable.
24782
24783 2013-04-30 Leo Liu <sdl.web@gmail.com>
24784
24785 * progmodes/octave.el (octave-variables): Remove. No builtin
24786 variables any more. All converted to functions.
24787 (octave-font-lock-keywords, octave-completion-at-point-function):
24788 Fix uses.
24789 (octave-font-lock-texinfo-comment): New user variable.
24790 (octave-texinfo-font-lock-keywords): New variable for texinfo
24791 comment block.
24792 (octave-function-comment-block): New face.
24793 (octave-font-lock-texinfo-comment): New function.
24794 (octave-mode): Font lock texinfo comment block.
24795
24796 2013-04-29 Leo Liu <sdl.web@gmail.com>
24797
24798 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24799 indexing expression.
24800 (octave-continuation-string): Do not use \.
24801 (inferior-octave-complete-impossible): Remove.
24802 (inferior-octave-completion-table)
24803 (inferior-octave-completion-at-point): Remove its uses.
24804 (inferior-octave-startup): completion_matches was introduced to
24805 Octave in 1996 so safe to assume it.
24806 (octave-function-file-comment): Improve to follow how Octave does it.
24807 (octave-update-function-file-comment): Tweak.
24808
24809 2013-04-29 Leo Liu <sdl.web@gmail.com>
24810
24811 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24812 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24813 (octave-function-file-comment): Fix typo.
24814 (octave-sync-function-file-names): Use read-char-choice.
24815
24816 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24817
24818 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24819 to t for the less important warnings.
24820
24821 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24822
24823 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24824
24825 2013-04-27 Glenn Morris <rgm@gnu.org>
24826
24827 * vc/log-view.el (log-view-current-entry):
24828 Treat "---" separator lines as part of the following rev. (Bug#14169)
24829
24830 2013-04-27 Juri Linkov <juri@jurta.org>
24831
24832 * subr.el (read-number): Doc fix about using it by interactive
24833 code letter `n'. (Bug#14254)
24834
24835 2013-04-27 Juri Linkov <juri@jurta.org>
24836
24837 * desktop.el (desktop-auto-save-timeout): New option.
24838 (desktop-file-checksum): New variable.
24839 (desktop-save): Add optional arg `auto-save' and don't auto-save
24840 if nothing changed.
24841 (desktop-auto-save-timer): New variable.
24842 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24843 (after-init-hook): Call `desktop-auto-save-set-timer'.
24844 Suggested by Reuben Thomas <rrt@sc3d.org> in
24845 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24846
24847 2013-04-27 Leo Liu <sdl.web@gmail.com>
24848
24849 * progmodes/octave.el (octave-function-file-p)
24850 (octave-skip-comment-forward, octave-function-file-comment)
24851 (octave-update-function-file-comment): New functions.
24852 (octave-mode-map): Bind C-c ; to
24853 octave-update-function-file-comment.
24854 (octave-mode-menu): Add octave-update-function-file-comment.
24855 (octave-mode, inferior-octave-mode): Fix doc-string.
24856 (octave-insert-defun): Conform to Octave's coding convention.
24857 (Bug#14285)
24858
24859 * files.el (basic-save-buffer): Don't let errors in
24860 before-save-hook prevent saving buffer.
24861
24862 2013-04-20 Roland Winkler <winkler@gnu.org>
24863
24864 * faces.el (read-face-name): Use completing-read if arg multiple
24865 is nil.
24866
24867 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24868
24869 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24870 displayed, move point to after the totals line.
24871 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24872 for the details.
24873
24874 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24875
24876 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24877 Add current dir to the load-path.
24878 (package-generate-autoloads): Don't rely on
24879 autoload-ensure-default-file.
24880
24881 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24882
24883 * textmodes/remember.el (remember-store-in-files): Document that
24884 the file name format is passed to `format-time-string'.
24885
24886 2013-04-26 Leo Liu <sdl.web@gmail.com>
24887
24888 * progmodes/octave.el (octave-sync-function-file-names): New function.
24889 (octave-mode): Use it in before-save-hook.
24890
24891 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24892
24893 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24894 (bug#14274).
24895
24896 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24897 \n and comment, even if it's not an implicit ; (bug#14218).
24898
24899 2013-04-26 Glenn Morris <rgm@gnu.org>
24900
24901 * subr.el (read-number): Once more use `read' rather than
24902 `string-to-number', to trap non-numeric input. (Bug#14254)
24903
24904 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24905
24906 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24907 Use `syntax-multiline' text property consistently instead of
24908 `font-lock-multiline'. (Bug#14237)
24909
24910 2013-04-26 Glenn Morris <rgm@gnu.org>
24911
24912 * emacs-lisp/shadow.el (list-load-path-shadows):
24913 No longer necessary to check for duplicate simple.el, since
24914 2012-07-07 change to init_lread to not include installation lisp
24915 directories in load-path when running uninstalled. (Bug#14270)
24916
24917 2013-04-26 Leo Liu <sdl.web@gmail.com>
24918
24919 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24920 (octave-mode, inferior-octave-mode): Use setq-local.
24921 (octave-not-in-string-or-comment-p): Rename to
24922 octave-in-string-or-comment-p.
24923 (octave-in-comment-p, octave-in-string-p)
24924 (octave-in-string-or-comment-p): Replace defsubst with defun.
24925
24926 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24927
24928 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24929
24930 2013-04-25 Bastien Guerry <bzg@gnu.org>
24931
24932 * textmodes/remember.el (remember-data-directory)
24933 (remember-directory-file-name-format): Fix custom types.
24934
24935 2013-04-25 Leo Liu <sdl.web@gmail.com>
24936
24937 * progmodes/octave.el (octave-completion-at-point-function):
24938 Make use of inferior octave process.
24939 (octave-initialize-completions): Remove.
24940 (inferior-octave-completion-table): New function.
24941 (inferior-octave-completion-at-point): Use it.
24942 (octave-completion-alist): Remove.
24943
24944 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24945
24946 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24947 (opascal-mode-syntax-table): New var.
24948 (opascal-literal-kind, opascal-is-literal-end)
24949 (opascal-literal-token-at): Rewrite.
24950 (opascal--literal-start-re, opascal-font-lock-keywords)
24951 (opascal--syntax-propertize): New constants.
24952 (opascal-font-lock-defaults): Adjust.
24953 (opascal-mode): Use them. Set comment-<foo> variables as well.
24954 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24955 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24956 (delphi-other-face, opascal-other-face): Remove face variables.
24957 (opascal-save-state): Remove macro.
24958 (opascal-fontifying-progress-step): Remove constant.
24959 (opascal--ignore-changes): Remove var.
24960 (opascal-set-token-property, opascal-parse-next-literal)
24961 (opascal-is-stable-literal, opascal-complete-literal)
24962 (opascal-is-literal-start, opascal-face-of)
24963 (opascal-parse-region, opascal-parse-region-until-stable)
24964 (opascal-fontify-region, opascal-after-change)
24965 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24966 (opascal-debug-parse-region, opascal-debug-parse-window)
24967 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24968 (opascal-debug-fontify-buffer): Remove.
24969 (opascal-debug-mode-map): Adjust accordingly.
24970
24971 2013-04-25 Leo Liu <sdl.web@gmail.com>
24972
24973 Merge octave-mod.el and octave-inf.el into octave.el with some
24974 cleanups.
24975 * progmodes/octave.el: New file renamed from octave-mod.el.
24976 * progmodes/octave-inf.el: Merged into octave.el.
24977 * progmodes/octave-mod.el: Renamed to octave.el.
24978
24979 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24980
24981 * textmodes/reftex-vars.el
24982 (reftex-label-ignored-macros-and-environments): New defcustom.
24983
24984 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24985
24986 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24987
24988 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24989 (smie-indent-keyword): Improve the check to ensure that the next
24990 comment is really on the same line.
24991 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24992
24993 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24994 semi-colons if the line is not otherwise empty (bug#14218).
24995
24996 2013-04-25 Glenn Morris <rgm@gnu.org>
24997
24998 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24999
25000 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
25001
25002 * progmodes/opascal.el (opascal-set-token-property): Rename from
25003 opascal-set-text-properties and only set `token' (bug#14134).
25004 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
25005 (opascal-literal-text-properties): Remove.
25006 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
25007 Adjust callers.
25008
25009 2013-04-24 Reuben Thomas <rrt@sc3d.org>
25010
25011 * textmodes/remember.el (remember-handler-functions): Add an
25012 option for a new handler `remember-store-in-files'.
25013 (remember-data-directory, remember-directory-file-name-format):
25014 New options.
25015 (remember-store-in-files): New function to store remember notes
25016 as separate files within a directory.
25017
25018 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
25019
25020 * progmodes/compile.el (compilation-next-error-function):
25021 Pass "formats" to compilation-find-file (bug#11777).
25022
25023 2013-04-24 Glenn Morris <rgm@gnu.org>
25024
25025 * vc/vc-bzr.el (vc-bzr-print-log):
25026 * vc/vc-hg.el (vc-hg-print-log):
25027 * vc/vc-svn.el (vc-svn-print-log):
25028 Fix START-REVISION with LIMIT != 1. (Bug#14168)
25029
25030 * vc/vc-bzr.el (vc-bzr-print-log):
25031 * vc/vc-cvs.el (vc-cvs-print-log):
25032 * vc/vc-git.el (vc-git-print-log):
25033 * vc/vc-hg.el (vc-hg-print-log):
25034 * vc/vc-mtn.el (vc-mtn-print-log):
25035 * vc/vc-rcs.el (vc-rcs-print-log):
25036 * vc/vc-sccs.el (vc-sccs-print-log):
25037 * vc/vc-svn.el (vc-svn-print-log):
25038 * vc/vc.el (vc-print-log-internal): Doc fixes.
25039
25040 2013-04-23 Glenn Morris <rgm@gnu.org>
25041
25042 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
25043 Remove venerable code attempting to avoid substitute-command-keys.
25044
25045 2013-04-23 Tassilo Horn <tsdh@gnu.org>
25046
25047 * textmodes/reftex-vars.el (reftex-label-regexps):
25048 Call `reftex-compile-variables' after changes to this variable.
25049
25050 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
25051
25052 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
25053 Use lexical-binding.
25054 (jit-lock-force-redisplay): Use markers, check buffer's continued
25055 existence and beware narrowed buffers.
25056 (jit-lock-fontify-now): Adjust call accordingly.
25057
25058 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
25059
25060 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
25061 to avoid misleading the user.
25062
25063 2013-04-22 Leo Liu <sdl.web@gmail.com>
25064
25065 * info-look.el: Prefer latex2e.info. (Bug#14240)
25066
25067 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
25068
25069 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
25070
25071 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
25072 * net/tramp.el (tramp-call-process): ... here.
25073 (tramp-set-completion-function, tramp-parse-putty):
25074 * net/tramp-adb.el (tramp-adb-execute-adb-command):
25075 * net/tramp-gvfs.el (tramp-gvfs-send-command):
25076 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
25077 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
25078 (tramp-call-local-coding-command): Use `tramp-call-process'
25079 instead of `tramp-compat-call-process'.
25080
25081 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
25082 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
25083 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
25084 (tramp-find-inline-compress): Improve traces.
25085 (tramp-maybe-send-script): Check for Perl binary.
25086 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
25087
25088 2013-04-22 Daiki Ueno <ueno@gnu.org>
25089
25090 * epg.el (epg-context-pinentry-mode): New function.
25091 (epg-context-set-pinentry-mode): New function.
25092 (epg--start): Pass --pinentry-mode option to gpg command.
25093
25094 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
25095
25096 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
25097 `comint-dynamic-complete' is obsolete since 24.1, replaced by
25098 `completion-at-point'. (Bug#13774)
25099
25100 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
25101 default key binding for `describe-distribution' has been moved to
25102 `C-h C-o'. (Bug#13970)
25103
25104 2013-04-21 Glenn Morris <rgm@gnu.org>
25105
25106 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
25107 Add doc strings.
25108 (vc-print-log): Clarify interactive prompt.
25109
25110 2013-04-20 Glenn Morris <rgm@gnu.org>
25111
25112 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
25113 No longer include timestamp etc information.
25114
25115 2013-04-20 Roland Winkler <winkler@gnu.org>
25116
25117 * faces.el (read-face-name): Bug fix, return just one face if arg
25118 multiple is nil. (Bug#14209)
25119
25120 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25121
25122 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
25123 (remove-function): Autoload.
25124
25125 * comint.el (comint-redirect-original-filter-function): Remove.
25126 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
25127 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
25128 (vc-cvs-annotate-command):
25129 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
25130 * progmodes/prolog.el (prolog-consult-compile):
25131 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
25132 Use add/remove-function instead.
25133 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
25134 (gud-tooltip-process-output, gud-tooltip-tips):
25135 Use add/remove-function instead.
25136 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
25137 (scheme-interaction-mode, exit-scheme-interaction-mode):
25138 Use add/remove-function instead.
25139
25140 * vc/vc-dispatcher.el: Use lexical-binding.
25141 (vc--process-sentinel): Rename from vc-process-sentinel.
25142 Change last arg to be the code to run. Don't use vc-previous-sentinel
25143 and vc-sentinel-commands any more.
25144 (vc-exec-after): Allow code to be a function. Use add/remove-function.
25145 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
25146
25147 2013-04-19 Masatake YAMATO <yamato@redhat.com>
25148
25149 * progmodes/sh-script.el (sh-imenu-generic-expression):
25150 Handle function names with a single character. (Bug#14111)
25151
25152 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
25153
25154 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
25155 for subroutines defined in an eval (bug#14182).
25156
25157 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25158
25159 * bookmark.el (bookmark-completing-read): Improve handling of empty
25160 string (bug#14176).
25161
25162 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25163
25164 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
25165
25166 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
25167
25168 New faster Imenu implementation (bug#14058).
25169 * progmodes/python.el (python-imenu-prev-index-position)
25170 (python-imenu-format-item-label-function)
25171 (python-imenu-format-parent-item-label-function)
25172 (python-imenu-format-parent-item-jump-label-function):
25173 New vars.
25174 (python-imenu-format-item-label)
25175 (python-imenu-format-parent-item-label)
25176 (python-imenu-format-parent-item-jump-label)
25177 (python-imenu--put-parent, python-imenu--build-tree)
25178 (python-imenu-create-index, python-imenu-create-flat-index)
25179 (python-util-popn): New functions.
25180 (python-mode): Set imenu-create-index-function to
25181 python-imenu-create-index.
25182
25183 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25184
25185 * winner.el (winner-active-region): Use region-active-p, activate-mark
25186 and deactivate-mark (bug#14225).
25187
25188 * simple.el (deactivate-mark): Don't inline it.
25189
25190 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
25191
25192 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25193
25194 2013-04-18 Tassilo Horn <tsdh@gnu.org>
25195
25196 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25197 file extensions from the archive-mode entry in order to prefer
25198 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25199
25200 2013-04-18 Leo Liu <sdl.web@gmail.com>
25201
25202 * bindings.el (help-event-list): Add ?\?.
25203
25204 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25205
25206 * subr.el (with-wrapper-hook): Declare obsolete.
25207 * simple.el (filter-buffer-substring-function): New hook.
25208 (filter-buffer-substring): Use it.
25209 (filter-buffer-substring-functions): Mark obsolete.
25210 * minibuffer.el (completion-in-region-function): New hook.
25211 (completion-in-region): Use it.
25212 (completion-in-region-functions): Mark obsolete.
25213 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25214 * abbrev.el (abbrev-expand-function): New hook.
25215 (expand-abbrev): Use it.
25216 (abbrev-expand-functions): Mark obsolete.
25217 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25218 and :filter-return.
25219
25220 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25221
25222 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25223 and do not care about match data.
25224
25225 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25226
25227 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25228 completion tables when completing error conditions and
25229 `declare' arguments.
25230 (lisp-complete-symbol, field-complete): Mark as obsolete.
25231 (check-parens): Unmatched parens are user errors.
25232 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25233
25234 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25235
25236 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25237 command changed buffer (ie. `flyspell-pre-buffer' is not current
25238 buffer), which prevents making decisions based on invalid value of
25239 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25240 cause an error when `flyspell-pre-point' was nil after switching
25241 buffers.
25242 (flyspell-post-command-hook): No longer needs to change buffers when
25243 checking pre-word. While at it remove unnecessary progn.
25244
25245 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25246
25247 * textmodes/ispell.el (ispell-add-per-file-word-list):
25248 Fix `flyspell-correct-word-before-point' error when accepting
25249 words and `coment-padding' is an integer by using
25250 `comment-normalize-vars' (Bug #14214).
25251
25252 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25253
25254 New defun movement commands.
25255 * progmodes/python.el (python-nav--syntactically)
25256 (python-nav--forward-defun, python-nav-backward-defun)
25257 (python-nav-forward-defun): New functions.
25258
25259 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25260
25261 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25262 (python-syntax-context): Use named compiler-macro for backwards
25263 compatibility with Emacs 24.x.
25264
25265 2013-04-17 Leo Liu <sdl.web@gmail.com>
25266
25267 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25268 octave-hide-process-buffer.
25269
25270 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25271
25272 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25273 (bug#14216).
25274
25275 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25276
25277 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25278 Fix adjustment of offset when receiving incomplete responses from GDB
25279 (bug#14129).
25280
25281 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25282
25283 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25284 python-mode-abbrev-table.
25285 (python-skeleton-define): Adjust accordingly.
25286 (python-mode-abbrev-table): New table that inherits from it so that
25287 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25288
25289 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25290 (abbrev-symbol): Use it.
25291 (abbrev--before-point): Use it since we already handle inheritance.
25292
25293 2013-04-16 Leo Liu <sdl.web@gmail.com>
25294
25295 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25296 binding to info-lookup-symbol.
25297
25298 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25299
25300 * minibuffer.el (completion--twq-all):
25301 * term/ns-win.el (ns-initialize-window-system):
25302 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25303
25304 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25305
25306 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25307 global bindings.
25308
25309 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25310
25311 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25312
25313 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25314 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25315 to nil.
25316 (ruby-end-of-defun): Remove the unused arg, change the docstring
25317 to reflect that this function is only used as the value of
25318 `end-of-defun-function'.
25319 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25320 to reflect an earlier change that beginning/end-of-defun functions
25321 jump between methods in a class definition, as well as top-level
25322 functions.
25323
25324 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25325
25326 * minibuffer.el (minibuffer-complete): Don't just scroll
25327 a *Completions* that's been iconified.
25328 (minibuffer-force-complete): Make sure repetitions do cycle when going
25329 through completion-in-region -> minibuffer-complete.
25330
25331 2013-04-15 Alan Mackenzie <acm@muc.de>
25332
25333 Correct the placement of c-cpp-delimiters when there're #s not at
25334 col 0.
25335
25336 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25337 place a submatch around the #.
25338 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25339 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25340 on the #, not BOL.
25341
25342 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25343
25344 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25345 (advice--member-p): New arg `name'.
25346 (advice--add-function, advice-member-p): Use it (bug#14202).
25347
25348 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25349
25350 Reformulate java imenu-generic-expression.
25351 The old expression contained ill formed regexps.
25352
25353 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25354 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25355 (cc-imenu-java-method-arg-regexp): New defconsts.
25356 (cc-imenu-java-build-type-args-regex): New defun.
25357 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25358 handling of spaces in the regexp.
25359
25360 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25361
25362 * textmodes/ispell.el (ispell-command-loop): Remove
25363 flyspell highlight of a word when ispell accepts it (bug #14178).
25364
25365 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25366
25367 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25368 uses code from the previous `ange-ftp-run-real-handler'.
25369 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25370 only in case that function exist. This is needed for proper
25371 unloading of Tramp.
25372
25373 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25374
25375 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25376
25377 * textmodes/reftex.el (reftex-compile-variables): Use it.
25378
25379 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25380
25381 * files.el (normal-mode): Only use default major-mode if no other mode
25382 was specified.
25383
25384 * emacs-lisp/trace.el (trace-values): New function.
25385
25386 * files.el: Allow : in local variables (bug#14089).
25387 (hack-local-variable-regexp): New var.
25388 (hack-local-variables-prop-line, hack-local-variables): Use it.
25389
25390 2013-04-13 Roland Winkler <winkler@gnu.org>
25391
25392 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25393 data before it gets modified by bibtex-beginning-of-entry.
25394
25395 2013-04-13 Roland Winkler <winkler@gnu.org>
25396
25397 * textmodes/bibtex.el (bibtex-url): Doc fix.
25398
25399 2013-04-13 Roland Winkler <winkler@gnu.org>
25400
25401 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25402 does not visit a BibTeX file, exclude it from the list of buffers
25403 returned by bibtex-initialize.
25404
25405 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25406
25407 * window.el (split-window): Remove interactive form, since as a
25408 command this function is a special case of split-window-below.
25409 Correct doc string.
25410
25411 2013-04-12 Roland Winkler <winkler@gnu.org>
25412
25413 * faces.el (read-face-name): Do not override value of arg default.
25414 Allow single faces and strings as default values. Remove those
25415 elements from return value that are not faces.
25416 (describe-face): Simplify.
25417 (face-at-point): New optional args thing and multiple so that this
25418 function can provide the same functionality previously provided by
25419 read-face-name.
25420 (make-face-bold, make-face-unbold, make-face-italic)
25421 (make-face-unitalic, make-face-bold-italic, invert-face)
25422 (modify-face, read-face-and-attribute): Use face-at-point.
25423
25424 * cus-edit.el (customize-face, customize-face-other-window)
25425 * cus-theme.el (custom-theme-add-face)
25426 * face-remap.el (buffer-face-set)
25427 * facemenu.el (facemenu-set-face): Use face-at-point.
25428
25429 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25430
25431 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25432
25433 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25434
25435 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25436 off leading { and trailing } from field values.
25437
25438 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25439
25440 * emacs-lisp/timer.el (timer--check): New function.
25441 (timer--time, timer-set-function, timer-event-handler): Use it.
25442 (timer-set-idle-time): Simplify.
25443 (timer--activate): CSE.
25444 (timer-event-handler): Give more info in error message.
25445 (internal-timer-start-idle): New function, moved from C.
25446
25447 * mpc.el (mpc-proc): Add `restart' argument.
25448 (mpc-proc-cmd): Use it.
25449 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25450 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25451 less often.
25452
25453 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25454
25455 * progmodes/sh-script.el: Implement `sh-mode' own
25456 `add-log-current-defun-function' (bug#14112).
25457 (sh-current-defun-name): New function.
25458 (sh-mode): Use the function.
25459
25460 2013-04-09 Bastien Guerry <bzg@gnu.org>
25461
25462 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25463
25464 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25465
25466 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25467
25468 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25469 timer (bug#14156).
25470
25471 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25472
25473 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25474 declaration.
25475
25476 2013-04-07 Leo Liu <sdl.web@gmail.com>
25477
25478 * pcmpl-x.el: New file.
25479
25480 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25481
25482 Do not set x-display-name until X connection is established.
25483 This is needed to prevent from weird situation described at
25484 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25485 * frame.el (make-frame): Set x-display-name after call to
25486 window system initialization function, not before.
25487 * term/x-win.el (x-initialize-window-system): Add optional
25488 display argument and use it.
25489 * term/w32-win.el (w32-initialize-window-system):
25490 * term/ns-win.el (ns-initialize-window-system):
25491 * term/pc-win.el (msdos-initialize-window-system):
25492 Add compatible optional display argument.
25493
25494 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25495
25496 * files.el (normal-backup-enable-predicate): On MS-Windows and
25497 MS-DOS compare truenames of temporary-file-directory and of the
25498 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25499 don't fail comparison by compare-strings. Also, compare file
25500 names case-insensitively on MS-Windows and MS-DOS.
25501
25502 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25503
25504 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25505 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25506
25507 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25508
25509 * whitespace.el (whitespace-color-on, whitespace-color-off):
25510 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25511
25512 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25513
25514 * ispell.el (ispell-set-spellchecker-params):
25515 Really set `ispell-args' for all equivs.
25516
25517 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25518
25519 * ido.el (ido-completions): Use extra elements of ido-decorations
25520 (bug#14143).
25521 (ido-decorations): Update docstring.
25522
25523 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25524
25525 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25526 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25527 nil during initialization, in order not to miss changes since the
25528 file was opened. (Bug#14140)
25529
25530 2013-04-05 Leo Liu <sdl.web@gmail.com>
25531
25532 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25533
25534 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25535
25536 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25537
25538 2013-04-04 Glenn Morris <rgm@gnu.org>
25539
25540 * electric.el (electric-pair-inhibit-predicate): Add :version.
25541
25542 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25543
25544 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25545 when a package is required several times (bug#14082).
25546
25547 2013-04-04 Roland Winkler <winkler@gnu.org>
25548
25549 * faces.el (read-face-name): Behave as promised by the docstring.
25550 Assume that arg default is a list of faces.
25551 (describe-face): Call read-face-name with list of default faces.
25552
25553 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25554
25555 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25556 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25557 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25558 the header.
25559 (bookmark-exit-hook-internal): Save even if list is empty.
25560
25561 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25562
25563 * emacs-lisp/package.el (package-pinned-packages): New var.
25564 (package--add-to-archive-contents): Obey it (bug#14118).
25565
25566 2013-04-03 Alan Mackenzie <acm@muc.de>
25567
25568 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25569 Also adapt to the new values of element 7 of a parse state.
25570
25571 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25572 parameter `not-in-delimiter'. Handle being inside comment opener.
25573 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25574 character in case we're typing a '*' after a '/'.
25575 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25576 instead by passing the parameter to c-state-pp-to-literal.
25577
25578 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25579 for elt. 7 of a parse state.
25580
25581 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25582
25583 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25584 * international/latin1-disp.el, international/mule-util.el:
25585 * language/cyril-util.el, language/european.el, language/ind-util.el:
25586 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25587 * language/tibetan.el, language/viet-util.el:
25588 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25589
25590 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25591
25592 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25593 (electric-pair-post-self-insert-function): Use it.
25594 (electric-pair-default-inhibit): New function, extracted from
25595 electric-pair-post-self-insert-function.
25596
25597 2013-03-31 Roland Winkler <winkler@gnu.org>
25598
25599 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25600
25601 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25602
25603 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25604
25605 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25606
25607 Un-indent after "pass" and "return" statements (Bug#13888)
25608 * progmodes/python.el (python-indent-block-enders): New var.
25609 (python-indent-calculate-indentation): Use it.
25610
25611 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25612
25613 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25614 defun. Defining it as defalias could introduce too eager
25615 byte-compiler optimization. (Bug#14030)
25616
25617 2013-03-30 Chong Yidong <cyd@gnu.org>
25618
25619 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25620
25621 2013-03-30 Leo Liu <sdl.web@gmail.com>
25622
25623 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25624 (kmacro-execute-from-register): Pass the keyboard macro to
25625 kmacro-call-macro or repeating won't work correctly.
25626
25627 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25628
25629 * progmodes/subword.el: Back to using `forward-symbol'.
25630
25631 * subr.el (forward-whitespace, forward-symbol)
25632 (forward-same-syntax): Move from thingatpt.el.
25633
25634 2013-03-29 Leo Liu <sdl.web@gmail.com>
25635
25636 * kmacro.el (kmacro-to-register): New command.
25637 (kmacro-execute-from-register): New function.
25638 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25639
25640 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25641
25642 * mpc.el: Use defvar-local and setq-local.
25643 (mpc--proc-connect): Connection failures are not bugs.
25644 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25645 (mpc-volume-map): Bind to the up-events.
25646
25647 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25648
25649 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25650 instead of `forward-symbol'.
25651
25652 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25653
25654 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25655 (edebug--recursive-edit): Use it.
25656 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25657 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25658
25659 2013-03-28 Leo Liu <sdl.web@gmail.com>
25660
25661 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25662
25663 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25664
25665 * facemenu.el (list-colors-callback): New defvar.
25666 (list-colors-redisplay): New function.
25667 (list-colors-display): Install list-colors-redisplay as the
25668 revert-buffer-function. (Bug#14063)
25669
25670 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25671
25672 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25673 and suffixes don't overlap (bug#14061).
25674
25675 * case-table.el: Use lexical-binding.
25676 (case-table-get-table): New function.
25677 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25678
25679 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25680
25681 * progmodes/subword.el: Add `superword-mode' to do word motion
25682 over symbol_words (parallels and leverages `subword-mode' which
25683 does word motion inside MixedCaseWords).
25684
25685 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25686
25687 * eshell/em-unix.el: Move su and sudo to...
25688 * eshell/em-tramp.el: ...Eshell tramp module.
25689
25690 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25691
25692 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25693 Change return value to be a sexp. Delay `get-buffer' to after
25694 restoring the desktop (bug#13951).
25695
25696 2013-03-26 Leo Liu <sdl.web@gmail.com>
25697
25698 * register.el: Move semantic tag handling back to
25699 cedet/semantic/senator.el. (Bug#14052)
25700
25701 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25702
25703 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25704 into the prompt either (bug#13963).
25705
25706 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25707
25708 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25709 part of "(error-foo)".
25710
25711 2013-03-24 Juri Linkov <juri@jurta.org>
25712
25713 * replace.el (list-matching-lines-prefix-face): New defcustom.
25714 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25715 `occur-engine' if `face-differs-from-default-p' returns t.
25716 (occur-engine): Add `,' inside backquote construct to evaluate
25717 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25718 Pass `prefix-face' to the functions `occur-context-lines' and
25719 `occur-engine-add-prefix'.
25720 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25721 `prefix-face' and propertize the prefix with `prefix-face'.
25722 (Bug#14017)
25723
25724 2013-03-24 Leo Liu <sdl.web@gmail.com>
25725
25726 * nxml/rng-valid.el (rng-validate-while-idle)
25727 (rng-validate-quick-while-idle): Guard against deleted buffer.
25728 (Bug#13999)
25729
25730 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25731 is the last entry in kill-buffer-hook.
25732
25733 * files.el (kill-buffer-hook): Doc fix.
25734
25735 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25736
25737 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25738 Make it safe-local.
25739
25740 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25741
25742 2013-03-23 Leo Liu <sdl.web@gmail.com>
25743
25744 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25745 Remove.
25746
25747 * nxml/rng-valid.el (rng-validate-mode)
25748 (rng-after-change-function, rng-do-some-validation):
25749 * nxml/rng-maint.el (rng-validate-buffer):
25750 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25751 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25752 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25753 (nxml-extend-after-change-region): Use with-silent-modifications.
25754
25755 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25756 timer-idle-list.
25757
25758 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25759 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25760 timer-idle-list. (Bug#13999)
25761
25762 2013-03-23 Juri Linkov <juri@jurta.org>
25763
25764 * info.el (info-index-match): New face.
25765 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25766 main pattern and add text properties with the new face to matches
25767 in index entries relative to the beginning of the index entry.
25768 (Bug#14015)
25769
25770 2013-03-21 Eric Ludlam <zappo@gnu.org>
25771
25772 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25773 Inhibit read only while inserting objects.
25774
25775 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25776
25777 * progmodes/cfengine.el: Update docs to mention
25778 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25779 symbol motion. Remove "_" from the word syntax.
25780
25781 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25782
25783 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25784 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25785
25786 2013-03-20 Juri Linkov <juri@jurta.org>
25787
25788 * info.el (Info-next-reference-or-link)
25789 (Info-prev-reference-or-link): New functions.
25790 (Info-next-reference, Info-prev-reference): Use them.
25791 (Info-try-follow-nearest-node): Handle footnote navigation.
25792 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25793
25794 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25795
25796 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25797 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25798
25799 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25800
25801 Suppress unnecessary non-ASCII chatter during build process.
25802 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25803 (batch-skkdic-convert): Suppress most of the chatter.
25804 It's not needed so much now that machines are faster,
25805 and its non-ASCII component was confusing; see Dmitry Gutov in
25806 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25807
25808 2013-03-20 Leo Liu <sdl.web@gmail.com>
25809
25810 * ido.el (ido-chop): Fix bug#10994.
25811
25812 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25813
25814 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25815 Remove vars.
25816 (whitespace-color-on, whitespace-color-off):
25817 Use `font-lock-fontify-buffer' (Bug#13817).
25818
25819 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25820
25821 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25822 remapping in mode-line.
25823 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25824
25825 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25826
25827 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25828 value for `whitespace-line' face (Bug#13875).
25829 (whitespace-font-lock-keywords): Change description.
25830 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25831 the constructed keywords instead.
25832 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25833
25834 2013-03-19 Leo Liu <sdl.web@gmail.com>
25835
25836 * progmodes/compile.el (compilation-display-error): New command.
25837 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25838 C-o. (Bug#13992)
25839
25840 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25841
25842 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25843
25844 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25845
25846 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25847
25848 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25849
25850 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25851
25852 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25853 * net/tramp-gvfs.el (top):
25854 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25855 (tramp-handle-shell-command): Use it.
25856 (tramp-dissect-file-name): Raise an error when hostname is a
25857 method name, and neither method nor user is specified.
25858
25859 * net/trampver.el: Update release number.
25860
25861 2013-03-18 Leo Liu <sdl.web@gmail.com>
25862
25863 Make sure eldoc can be turned off properly.
25864 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25865 eldoc-mode.
25866 (eldoc-display-message-p): Revert last change.
25867 (eldoc-display-message-no-interference-p)
25868 (eldoc-print-current-symbol-info): Tweak.
25869
25870 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25871
25872 * doc-view.el (doc-view-new-window-function): Check the new window
25873 overlay's display property instead the char property of the
25874 buffer's first char. Use `with-selected-window' instead of
25875 `save-window-excursion' with `select-window'.
25876 (doc-view-document->bitmap): Check the current doc-view overlay's
25877 display property instead the char property of the buffer's first char.
25878
25879 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25880
25881 Automate the build of ja-dic.el (Bug#13984).
25882 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25883 from the input, rather than assume that it's been done for us by the
25884 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25885 the current date into a ja-dic.el comment, as that complicates
25886 regression testing.
25887
25888 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25889
25890 * whitespace.el: Fix double evaluation.
25891 (whitespace-space, whitespace-hspace, whitespace-tab)
25892 (whitespace-newline, whitespace-trailing, whitespace-line)
25893 (whitespace-space-before-tab, whitespace-indentation)
25894 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25895 obsolete defvars.
25896 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25897 (whitespace-color-on): Use a single font-lock-add-keywords call.
25898 Fix double-evaluation of face variables.
25899
25900 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25901
25902 * net/tramp-adb.el (tramp-adb-parse-device-names):
25903 Use `start-process' instead of `call-process'. Otherwise, the
25904 function might be blocked under MS Windows. (Bug#13299)
25905
25906 2013-03-17 Leo Liu <sdl.web@gmail.com>
25907
25908 Extend eldoc to display info in the mode-line. (Bug#13978)
25909 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25910 (eldoc-mode-line-string): New variable.
25911 (eldoc-minibuffer-message): New function.
25912 (eldoc-message-function): New variable.
25913 (eldoc-message): Use it.
25914 (eldoc-display-message-p)
25915 (eldoc-display-message-no-interference-p):
25916 Support eldoc-post-insert-mode.
25917
25918 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25919 (eval-expression): Run it.
25920
25921 2013-03-17 Roland Winkler <winkler@gnu.org>
25922
25923 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25924 strings in the list of return values.
25925
25926 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25927
25928 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25929 radix before checking for HMS forms.
25930
25931 2013-03-16 Leo Liu <sdl.web@gmail.com>
25932
25933 * progmodes/scheme.el: Add indentation and font-locking for λ.
25934 (Bug#13975)
25935
25936 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25937
25938 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25939 token before point (bug#13942).
25940
25941 2013-03-16 Leo Liu <sdl.web@gmail.com>
25942
25943 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25944
25945 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25946
25947 * startup.el (command-line-normalize-file-name): Fix handling of
25948 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25949 <xfq.free@gmail.com> in
25950 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25951
25952 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25953
25954 Sync with Tramp 2.2.7.
25955
25956 * net/trampver.el: Update release number.
25957
25958 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25959
25960 * doc-view.el: Fix bug#13887.
25961 (doc-view-insert-image): Don't modify overlay associated to
25962 non-live windows, and implement horizontal centering of image in
25963 case it's smaller than the window.
25964 (doc-view-new-window-function): Force redisplay of new windows on
25965 doc-view buffers.
25966
25967 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25968
25969 * saveplace.el (save-place-alist-to-file): Don't sort
25970 `save-place-alist', just pretty-print it (bug#13882).
25971
25972 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25973
25974 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25975 Check whether `default-file-name-coding-system' is bound.
25976 It isn't in XEmacs.
25977
25978 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25979
25980 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25981 backquotes for `obsolete' (bug#13929).
25982
25983 * international/mule.el (find-auto-coding): Include file name in
25984 obsolescence warning (bug#13922).
25985
25986 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25987
25988 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25989 for CFEngine 3-specific indentation.
25990 (cfengine3-indent-line): Use it. Fix up category regex.
25991 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25992
25993 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25994
25995 * type-break.el (type-break-file-name):
25996 * textmodes/remember.el (remember-data-file):
25997 * strokes.el (strokes-file):
25998 * shadowfile.el (shadow-initialize):
25999 * saveplace.el (save-place-file):
26000 * ps-bdf.el (bdf-cache-file):
26001 * progmodes/idlwave.el (idlwave-config-directory):
26002 * net/quickurl.el (quickurl-url-file):
26003 * international/kkc.el (kkc-init-file-name):
26004 * ido.el (ido-save-directory-list-file):
26005 * emulation/viper.el (viper-custom-file-name):
26006 * emulation/vip.el (vip-startup-file):
26007 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
26008 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
26009
26010 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
26011
26012 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
26013 * language/thai-word.el: Switch to UTF-8.
26014
26015 See ChangeLog.16 for earlier changes.
26016
26017 ;; Local Variables:
26018 ;; coding: utf-8
26019 ;; End:
26020
26021 Copyright (C) 2011-2015 Free Software Foundation, Inc.
26022
26023 This file is part of GNU Emacs.
26024
26025 GNU Emacs is free software: you can redistribute it and/or modify
26026 it under the terms of the GNU General Public License as published by
26027 the Free Software Foundation, either version 3 of the License, or
26028 (at your option) any later version.
26029
26030 GNU Emacs is distributed in the hope that it will be useful,
26031 but WITHOUT ANY WARRANTY; without even the implied warranty of
26032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26033 GNU General Public License for more details.
26034
26035 You should have received a copy of the GNU General Public License
26036 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.