]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Have `sgml-attribute-offset' control SGML attribute indentation
[gnu-emacs] / lisp / ChangeLog
1 2015-03-22 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
2
3 * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
4 (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
5 indentation (bug#20161).
6
7 2015-03-22 Dmitry Gutov <dgutov@yandex.ru>
8
9 * json.el (json-decode-char0): Delete this alias.
10 (json-encode-string): Rewrite to improve performance (bug#20154).
11 (json-encode-char): Fold into `json-encode-string'.
12
13 2015-03-22 Artur Malabarba <bruce.connor.am@gmail.com>
14
15 * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
16 for `buffers-menu-max-size', not total buffers.
17
18 2015-03-21 Titus von der Malsburg <malsburg@posteo.de>
19
20 * window.el (window-font-width, window-font-height)
21 (window-max-chars-per-line): New functions.
22
23 * simple.el (default-font-height): Doc fix.
24 (default-font-width): New function.
25
26 2015-03-21 Tassilo Horn <tsdh@gnu.org>
27
28 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Also
29 recognize (cl-)defmethod with (setf method) name.
30
31 2015-03-20 Tassilo Horn <tsdh@gnu.org>
32
33 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
34 false positive in function name font-locking.
35 (lisp-cl-font-lock-keywords-1): Ditto.
36
37 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
40 occurrences of args via &cl-defs (bug#20149).
41
42 2015-03-20 Alan Mackenzie <acm@muc.de>
43
44 Fix debbugs#20146
45
46 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
47 Return the calculated values, as per spec.
48
49 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
50
51 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
52 and `callcc' to the "methods with required arguments" section,
53 they need a block argument. Remove a `throw' duplicate.
54
55 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
56
57 * progmodes/cperl-mode.el (cperl-electric-backspace):
58 Call delete-backward-space interactively instead of delete-char.
59
60 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
63
64 * emacs-lisp/eieio.el (object-slots): Return slot names as before
65 (bug#20141).
66
67 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 EIEIO: Change class's representation to unify instance and class slots
70 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
71 to match those of cl--class; use cl--slot for both instance slots and
72 class slots.
73 (eieio--object-num-slots): Use cl-struct-slot-info.
74 (eieio--object-class): Rename from eieio--object-class-object.
75 (eieio--object-class-name): Remove.
76 (eieio-defclass-internal): Adjust to new slot representation.
77 Store doc in class rather than in `variable-documentation'.
78 (eieio--perform-slot-validation-for-default): Change API to take
79 a slot object.
80 (eieio--slot-override): New function.
81 (eieio--add-new-slot): Rewrite.
82 (eieio-copy-parents-into-subclass): Rewrite.
83 (eieio--validate-slot-value, eieio--validate-class-slot-value)
84 (eieio-oref-default, eieio-oset-default)
85 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
86 slot representation.
87 (eieio--c3-merge-lists): Simplify.
88 (eieio--class/struct-parents): New function.
89 (eieio--class-precedence-bfs): Use it.
90
91 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
92 (object-class-fast): Change recommend replacement.
93 (eieio-object-class): Rewrite.
94 (slot-exists-p): Adjust to new slot representation.
95 (initialize-instance): Adjust to new slot representation.
96 (object-write): Adjust to new slot representation.
97
98 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
99 extracted from eieio-help-class-slots.
100 (eieio-help-class-slots): Use it. Adjust to new slot representation.
101
102 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
103 Declare to silence warnings.
104 (data-debug-insert-object-button): Avoid `object-slots'.
105 (data-debug/eieio-insert-slots): Adjust to new slot representation.
106
107 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
108 (eieio-object-value-get): Adjust to new slot representation.
109
110 * emacs-lisp/eieio-compat.el
111 (eieio--generic-static-symbol-specializers):
112 Extract from eieio--generic-static-symbol-generalizer.
113 (eieio--generic-static-symbol-generalizer): Use it.
114
115 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
116 Manually map initargs to slot names.
117 (eieio-persistent-validate/fix-slot-value): Adjust to new
118 slot representation.
119
120 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
121
122 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
123
124 * leim/quail/hangul.el (hangul-delete-backward-char)
125 (hangul-to-hanja-conversion):
126 * progmodes/cperl-mode.el (cperl-electric-keyword)
127 (cperl-electric-backspace): Use delete-char instead of
128 delete-backward-char, fixes compilation warnings.
129
130 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
131
132 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
133 Mark apostrophs with ?/ instead of \037. (Bug#20117)
134
135 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 Add classes as run-time descriptors of cl-structs.
138 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
139 (cl--make-slot-desc): New constructor.
140 (cl--plist-remove, cl--struct-register-child): New functions.
141 (cl-struct-define): Rewrite.
142 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
143 (cl--class): New structs.
144 (cl--struct-default-parent): Initialize it here.
145 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
146 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
147 (cl--struct-default-parent): New var.
148 (cl-defstruct): Adjust to new representation of classes; add
149 default parent. In accessors, signal `wrong-type-argument' rather than
150 a generic error.
151 (cl-struct-sequence-type, cl-struct-slot-info)
152 (cl-struct-slot-offset): Rewrite.
153 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
154 (cl-generic-generalizers): Rewrite.
155
156 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
157 (internal-macroexpand-for-load): Use it.
158
159 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
160 Bind inhibit-debug-on-entry here...
161 (debug): Instead of here.
162
163 2015-03-18 Dima Kogan <dima@secretsauce.net>
164
165 Have gud-display-line not display source buffer in gud window.
166 * progmodes/gud.el (gud-display-line): Make display-buffer
167 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
168
169 2015-03-17 Tassilo Horn <tsdh@gnu.org>
170
171 * emacs-lisp/byte-run.el (macro-declarations-alist):
172 New declaration no-font-lock-keyword.
173 (defmacro): Flush font-lock in existing elisp buffers.
174
175 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
176 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
177 Delete functions and defconst.
178 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
179 (lisp--el-font-lock-flush-elisp-buffers): New function.
180 (lisp-mode-variables): Remove code for updating
181 lisp--el-macro-regexp, and add
182 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
183
184 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
185
186 * textmodes/css-mode.el (css--font-lock-keywords):
187 Discriminate between pseudo-classes and pseudo-elements.
188 (css-pseudo-ids): Remove.
189 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
190 (css--complete-property): New function for completing CSS properties.
191 (css--complete-pseudo-element-or-class): New function
192 completing CSS pseudo-elements and pseudo-classes.
193 (css--complete-at-rule): New function for completing CSS at-rules.
194 (css-completion-at-point): New function.
195 (css-mode): Add support for completion.
196 (css-extract-keyword-list, css-extract-parse-val-grammar)
197 (css-extract-props-and-vals): Remove function in favor of manual
198 extraction.
199 (css-at-ids): Update list of CSS at-rule ids.
200 (css-property-ids): Update list of CSS properties.
201
202 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
203
204 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
205 more Kernel methods.
206
207 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
208
209 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
210 shell scripts. (Bug#20118)
211
212 2015-03-17 Eli Zaretskii <eliz@gnu.org>
213
214 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
215 nil, construct a menu of fixed fonts. This resurrects a feature
216 lost in Emacs 23.
217
218 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
219 reset mouse-appearance-menu-map, so the font dialog is recomputed
220 the next time the menu is requested.
221 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
222
223 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
226 (bug#20125).
227
228 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
229
230 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
231 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
232
233 2015-03-16 Alan Mackenzie <acm@muc.de>
234
235 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
236 Also display the overlay arrow in go and go-nonstop modes.
237
238 * emacs-lisp/edebug.el (edebug--display-1): Move the
239 `input-pending' test to after trace mode's `sit-for'.
240 (edebug--recursive-edit): Insert "(sit-for 0)" after
241 "(edebug-overlay-arrow)".
242
243 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
246 cl--do-arglist in more cases; add comments to explain what's going on.
247 (cl--do-&aux): New function extracted from cl--do-arglist.
248 (cl--do-arglist): Use it.
249
250 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
251
252 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
253 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
254 * ido.el (ido-read-buffer): Add `predicate' argument.
255 * misearch.el (unload-function-defs-list): Declare before use.
256
257 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
258
259 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
260 (browse-url-conkeror-program, browse-url-conkeror-arguments)
261 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
262 (browse-url-default-browser): Check for `browse-url-conkeror'
263 and call `browse-url-conkeror-program'.
264 (browse-url-conkeror): New command.
265 (bug#19863)
266
267 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
268
269 * eshell/esh-mode.el (eshell/clear): New function.
270
271 2015-03-16 Alan Mackenzie <acm@muc.de>
272
273 Make Edebug work with Follow Mode.
274
275 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
276 edebug-adjust-window.
277 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
278 over the recursive edit.
279 (edebug-adjust-window): Remove.
280
281 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
282
283 * net/tramp-adb.el:
284 * net/tramp-gvfs.el:
285 * net/tramp-sh.el:
286 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
287
288 * net/tramp.el (tramp-ssh-controlmaster-options)
289 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
290 (tramp-default-method): Do not check for
291 `tramp-ssh-controlmaster-options'.
292
293 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
294 New defcustom, moved from tramp.el.
295 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
296 but with a nil initial value.
297 (tramp-ssh-controlmaster-options): New defun.
298 (tramp-do-copy-or-rename-file-out-of-band)
299 (tramp-maybe-open-connection): Use it. (Bug#20015)
300
301 2015-03-15 Tassilo Horn <tsdh@gnu.org>
302
303 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
304 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
305 (lisp--el-match-macro): New functions.
306 (lisp-mode-variables): Update lisp--el-macro-regexp and add
307 lisp--el-update-after-load to after-load-functions.
308
309 2015-03-15 Daniel Colascione <dancol@dancol.org>
310
311 * emacs-lisp/cl-indent.el
312 (lisp-indent-backquote-substitution-mode): New user option.
313 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
314 (common-lisp-indent-function): Support normally indenting
315 backquote substitutions.
316 (extended-loop-p): Rename to `lisp-extended-loop-p'.
317
318 2015-03-14 Michael R. Mauger <michael@mauger.com>
319
320 * progmodes/sql.el: Version 3.5
321 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
322 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
323
324 2015-03-14 Daniel Colascione <dancol@dancol.org>
325
326 * widget.el (define-widget): Check that documentation is a string
327 or nil; prevent wailing and gnashing of teeth when users forget to
328 pass a docstring and wonder why their properties don't work.
329
330 * startup.el (command-line): Process "--no-x-resources".
331
332 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
333
334 info-look fixes for Texinfo 5
335 * info-look.el (c-mode, bison-mode, makefile-mode)
336 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
337 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
338 Match `foo' and 'foo' and ‘foo’ for @item and similar.
339 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
340 suffix regexp.
341
342 2015-03-12 Juri Linkov <juri@linkov.net>
343
344 * simple.el (next-line-or-history-element)
345 (previous-line-or-history-element): Remember the goal column of
346 possibly multi-line input, and restore it afterwards. (Bug#19824)
347
348 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
349
350 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
351 files (bug#19335).
352
353 2015-03-12 Eli Zaretskii <eliz@gnu.org>
354
355 * international/fontset.el (script-representative-chars): Add a
356 representative character for 'vai'.
357
358 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * international/quail.el (quail-input-method):
361 Use with-silent-modifications.
362
363 * simple.el (goto-history-element): Don't burp on t history.
364
365 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
366
367 Prefer "initialize" to "initialise"
368 * progmodes/js.el (js-indent-first-init):
369 Rename from js-indent-first-initialiser, to avoid worrying about
370 American vs British spelling. All uses changed.
371
372 2015-03-10 Glenn Morris <rgm@gnu.org>
373
374 * progmodes/js.el (js-indent-first-initialiser):
375 Fix doc, type, version.
376
377 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
378
379 * progmodes/js.el (js-indent-first-initialiser): New option.
380 (js--maybe-goto-declaration-keyword-end): New function.
381 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
382
383 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
384
385 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
386 from RFC2798 Section 9.1.1. (Bug#8983)
387
388 2015-03-09 Nicolas Petton <nicolas@petton.fr>
389
390 * emacs-lisp/seq.el (seq-into): New function.
391 Bump seq.el version to 1.3.
392
393 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
394
395 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
396 `=' a part of symbol when followed by `>'. (Bug#18644)
397 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
398 (Bug#19285)
399
400 2015-03-09 Eli Zaretskii <eliz@gnu.org>
401
402 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
403
404 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
405 Thomas Fitzsimmons <fitzsim@fitzsim.org>
406
407 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
408 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
409 (eudc-bbdb-format-record-as-result): Likewise.
410
411 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
412
413 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
414 Use `font-lock-constant-face' for nil, true and false.
415 Highlight `self' as a keyword. (Bug#17733)
416
417 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
418
419 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
420 Expect beginning of regexp also after open brace or vertical bar.
421 (Bug#20026)
422
423 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * battery.el (battery-echo-area-format): Simplify default.
426 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
427 for AC adapter.
428
429 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
430 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
431 do it.
432
433 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
434
435 * net/browse-url.el (browse-url-firefox): Remove outdated
436 MS-Windows limitations.
437
438 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
439
440 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
441 obsolete.
442 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
443 Don't clean up postal addresses if ldap-ignore-attribute-codings
444 is set. Combine mail addresses into one field. (Bug#17720)
445 (eudc-ldap-simple-query-internal):
446 Call eudc-ldap-cleanup-record-filtering-addresses instead of
447 eudc-ldap-cleanup-record-simple.
448 (eudc-ldap-get-field-list): Likewise.
449
450 2015-03-05 Ivan Shmakov <ivan@siamics.net>
451
452 * net/eww.el (eww-html-p): New function (bug#20009).
453 (eww-render): Use it.
454
455 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
456
457 * desktop.el (desktop-buffer-info): Write docstring.
458 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
459 unquote lamda.
460
461 * emacs-lisp/package.el (package-refresh-contents): Update doc.
462
463 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
464
465 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
466
467 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 Replace *-function vars with generic functions in cl-generic.
470 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
471 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
472 (cl--generic-t-generalizer): New const.
473 (cl--generic-make-method): Rename from `cl--generic-method-make'.
474 (cl--generic-make): Change calling convention.
475 (cl--generic): Add `options' field.
476 (cl-generic-function-options): New function.
477 (cl-defgeneric): Rewrite handling of options. Add support for :method
478 options and allow the use of a default body.
479 (cl-generic-define): Save options in the corresponding new field.
480 (cl-defmethod): Fix ordering of qualifiers.
481 (cl-generic-define-method): Use cl-generic-generalizers.
482 (cl--generic-get-dispatcher): Change calling convention, and change
483 calling convention of the returned function as well so as to take the
484 list of methods separately from the generic function object, so that it
485 can receive the original generic function object.
486 (cl--generic-make-next-function): New function, extracted from
487 cl--generic-make-function.
488 (cl--generic-make-function): Use it.
489 (cl-generic-method-combination-function): Remove.
490 (cl--generic-cyclic-definition): New error.
491 (cl-generic-call-method): Take a generic function object rather than
492 its name.
493 (cl-method-qualifiers): New alias.
494 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
495 don't segregate by qualifiers here any more.
496 (cl--generic-standard-method-combination): Segregate by qualifiers
497 here instead. Add support for the `:extra' qualifier.
498 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
499 (cl-generic-generalizers, cl-generic-combine-methods):
500 New generic functions.
501 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
502 Use the new "default method in defgeneric" functionality, change
503 calling convention to receive a generic function object.
504 (cl--generic-head-used): New var.
505 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
506 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
507 New consts.
508 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
509 (eieio--generic-subclass-generalizer): New consts.
510 (cl-generic-generalizers): New methods.
511 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
512 (eieio--generic-static-object-generalizer): New consts.
513 (cl-generic-generalizers) <(head eieio--static)>: New method.
514 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
515 Unfold closures like lambdas.
516
517 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
518
519 * autorevert.el (auto-revert-notify-add-watch):
520 Fix handler installation. (Bug#20000)
521
522 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
523
524 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
525 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
526 (eww): Do not end error messages with a period.
527
528 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
529
530 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
531 New user option.
532 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
533 names starting with a space.
534 (tramp-methods): Add `tramp-default-port' for "adb".
535 (tramp-adb-parse-device-names): Add traces. Return device names
536 with port, if present.
537 (tramp-adb-handle-directory-files-and-attributes): Quote all
538 remote file names.
539 (tramp-adb-get-device): New defun.
540 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
541 Use it.
542 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
543 variables. Remove checks for listed devices.
544
545 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
546
547 * net/tramp.el (tramp): Add :link property.
548 (tramp-login-prompt-regexp): Allow also "user", as required by
549 Fritz!Box telnet.
550 (tramp-autoload-file-name-handler): Use "/".
551 (tramp-handle-unhandled-file-name-directory): Return nil when
552 required by the spec.
553
554 * net/tramp-cache.el (tramp-dump-connection-properties):
555 Use `with-temp-file'.
556
557 * net/tramp-sh.el (tramp-perl-file-attributes)
558 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
559 file names.
560 (tramp-do-file-attributes-with-stat): Quote file name.
561 (tramp-sh-handle-directory-files-and-attributes): Fall back to
562 `tramp-handle-directory-files-and-attributes' in case of problems.
563 (tramp-do-directory-files-and-attributes-with-stat)
564 (tramp-sh-handle-file-name-all-completions)
565 (tramp-sh-handle-delete-directory)
566 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
567 Normalize use of "cd".
568 (tramp-do-directory-files-and-attributes-with-stat): Use the
569 `quoting-style' arg of `ls' if possible. Make it also working for
570 file names with apostrophes.
571 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
572 in proper order.
573 (tramp-do-copy-or-rename-file-via-buffer)
574 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
575 (tramp-get-remote-locale): Accept also \r in output.
576 (tramp-get-ls-command-with-quoting-style): New defun.
577 (tramp-get-inline-coding): Set `default-directory' to a local
578 directory. Sporadically, `call-process-region' does not handle a
579 remote default directory properly.
580
581 * net/trampver.el: Update release number.
582
583 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
584
585 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
586 .dat files for aspell dicts are also searched for in location
587 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
588 variable.
589
590 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
591
592 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
593 (ispell-hunspell-fill-dictionary-entry)
594 (ispell-find-hunspell-dictionaries)
595 (ispell-set-spellchecker-params): New generic name for
596 `ispell-hunspell-dictionary-equivs-alist'.
597 (ispell-aspell-add-aliases): Also use
598 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
599 standard dict names.
600
601 2015-03-03 Glenn Morris <rgm@gnu.org>
602
603 * net/browse-url.el (browse-url-firefox-startup-arguments):
604 Make obsolete.
605 (browse-url-firefox): Doc fix. Remove -remote, which no longer
606 exists in Firefox 36. (Bug#19921)
607 (browse-url-firefox-sentinel): Remove function.
608
609 2015-03-03 Eli Zaretskii <eliz@gnu.org>
610
611 * frame.el (blink-cursor-timer-function): Don't increment
612 blink-cursor-blinks-done counter when a menu is active on a w32
613 frame. (Bug#19925)
614
615 2015-03-03 Juri Linkov <juri@linkov.net>
616
617 * comint.el (comint-line-beginning-position): Revert searching for
618 the prompt when comint-use-prompt-regexp is non-nil because it
619 doesn't distinguish input from output. Check the field property
620 `output' for the case when comint-use-prompt-regexp is nil.
621 (Bug#19710)
622
623 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
624
625 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
626 with PAGER=cat. (Bug#19870)
627
628 2015-03-03 Glenn Morris <rgm@gnu.org>
629
630 * textmodes/flyspell.el (flyspell-duplicate-distance):
631 Bump :version.
632
633 2015-03-03 Eli Zaretskii <eliz@gnu.org>
634
635 * textmodes/text-mode.el (text-mode-syntax-table): Make some
636 punctuation character behave as word-constituent, for more
637 compatibility with Unicode.
638
639 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
640
641 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
642
643 Improve string search in `flyspell-word-search-*`. (Bug#16800)
644 * textmodes/flyspell.el (flyspell-duplicate-distance):
645 Limit default search distance for duplicated words to 40000.
646 (flyspell-word-search-backward, flyspell-word-search-forward):
647 Search as full word with defined casechars, not as substring.
648
649 2015-03-03 Juri Linkov <juri@linkov.net>
650
651 Better support for the case of typing RET on the prompt in comint.
652 * comint.el (comint-get-old-input-default): Go to the field end
653 when comint-use-prompt-regexp is nil.
654 (comint-line-beginning-position): Check if point is already
655 on the prompt before searching for the prompt when
656 comint-use-prompt-regexp is non-nil. (Bug#19710)
657
658 2015-03-03 Eli Zaretskii <eliz@gnu.org>
659
660 * frame.el (frame-notice-user-settings): Refresh the value of
661 frame parameters after calling tty-handle-reverse-video.
662 Call face-set-after-frame-default with the actual parameters, to avoid
663 resetting colors back to unspecified.
664 (set-background-color, set-foreground-color): Pass the foreground
665 and background colors to face-set-after-frame-default. (Bug#19802)
666
667 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
668
669 * net/network-stream.el (network-stream-open-tls): Respect the
670 :end-of-capability setting.
671
672 2015-03-03 Juri Linkov <juri@linkov.net>
673
674 Revert the previous change of comint-line-beginning-position callers,
675 and modify comint-line-beginning-position instead.
676
677 * comint.el (comint-history-isearch-search)
678 (comint-history-isearch-message, comint-history-isearch-wrap):
679 Use comint-line-beginning-position instead of field-beginning.
680 (comint-send-input): Use either end-of-line or field-end
681 depending on comint-use-prompt-regexp.
682 (comint-line-beginning-position): Search backward
683 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
684 Use field-beginning instead of line-beginning-position
685 if comint-use-prompt-regexp is nil. (Bug#19710)
686
687 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
688
689 * calendar/todo-mode.el (todo-item-done): When done items are
690 hidden, restore point to its location prior to invoking this
691 command. (Bug#19727)
692
693 2015-03-03 Eli Zaretskii <eliz@gnu.org>
694
695 * textmodes/artist.el (artist-ellipse-compute-fill-info):
696 Use mapcar, not mapc, to create the other half of fill-info.
697 (Bug#19763)
698
699 2015-03-03 Nicolas Petton <nicolas@petton.fr>
700
701 * emacs-lisp/authors.el (authors-ignored-files)
702 (authors-renamed-files-alist): Additions.
703
704 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
705
706 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
707 tempfile for ControlPath. (Bug#19702)
708
709 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
710
711 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
712 ControlPath if possible. (Bug#19702)
713
714 2015-03-03 Glenn Morris <rgm@gnu.org>
715
716 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
717 (authors-valid-file-names, authors-renamed-files-alist): Additions.
718
719 2015-03-03 Alan Mackenzie <acm@muc.de>
720
721 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
722 * progmodes/cc-mode.el (c-font-lock-init):
723 Set font-lock-extend-region-functions to nil.
724
725 2015-03-03 Daniel Colascione <dancol@dancol.org>
726
727 * emacs-lisp/generator.el: Make globals conform to elisp
728 style throughout. Use more efficient font-lock patterns.
729 (cps-inhibit-atomic-optimization): Rename from
730 `cps-disable-atomic-optimization'.
731 (cps--gensym): New macro; replaces `cl-gensym' throughout.
732 (cps-generate-evaluator): Move the `iter-yield' local macro
733 definition here
734 (iter-defun, iter-lambda): from here.
735
736 (iter-defun): Use `macroexp-parse-body'.
737
738 2015-03-03 Daniel Colascione <dancol@dancol.org>
739
740 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * progmodes/gud.el: Use lexical-binding (bug#19966).
743
744 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
745
746 2015-03-03 Daniel Colascione <dancol@dancol.org>
747
748 * emacs-lisp/generator.el: Make globals conform to elisp
749 style throughout. Use more efficient font-lock patterns.
750 (cps-inhibit-atomic-optimization): Rename from
751 `cps-disable-atomic-optimization'.
752 (cps--gensym): New macro; replaces `cl-gensym' throughout.
753 (cps-generate-evaluator): Move the `iter-yield' local macro
754 definition here...
755 (iter-defun, iter-lambda): ...from here.
756
757 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
758
759 * emacs-lisp/package.el (package-autoremove): Fix if logic.
760
761 2015-03-03 Martin Rudalics <rudalics@gmx.at>
762
763 * window.el (window--dump-frame): For pixel height return total
764 number of frame's lines.
765
766 2015-03-03 Daniel Colascione <dancol@dancol.org>
767
768 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
769
770 * emacs-lisp/generator.el (iter-defun): Correctly propagate
771 docstrings and declarations to underlying function.
772
773 2015-03-02 Daniel Colascione <dancol@dancol.org>
774
775 * emacs-lisp/generator.el: New file.
776
777 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
778 `vc-responsible-backend'.
779
780 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
781
782 * vc/vc-hooks.el (vc-state, vc-working-revision):
783 Use `vc-responsible-backend' in order to support unregistered files.
784
785 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
786
787 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
788 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
789 master name.
790
791 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
792
793 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
794
795 * net/shr.el (shr-insert): Remove soft hyphens.
796 (shr-insert): Also remove soft hypens from non-folded text.
797
798 2015-02-28 Eli Zaretskii <eliz@gnu.org>
799
800 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
801 when the charset is only given by the HTML <head>, and allow to
802 specify the encoding with "C-x RET c".
803
804 2015-02-27 Mark Laws <mdl@60hz.org>
805
806 Support daemon mode on MS-Windows (bug#19688)
807 * server.el (server-process-filter): Force GUI frames on
808 MS-Windows in daemon mode, even if a TTY frame was requested.
809
810 * frameset.el (frameset-keep-original-display-p): Don't assume
811 windows-nt cannot be in daemon mode.
812
813 * frame.el (window-system-for-display): Don't assume windows-nt
814 cannot be in daemon mode.
815
816 2015-02-26 Ivan Shmakov <ivan@siamics.net>
817
818 * faces.el (face-list-p): Split from face-at-point.
819 (face-at-point): Use it.
820 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
821
822 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
823
824 * vc/vc.el (vc-annotate-switches): New defcustom.
825 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
826 (vc-bzr-annotate-command): Use vc-switches.
827 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
828 (vc-cvs-annotate-command): Use vc-switches.
829 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
830 (vc-git-annotate-command): Use vc-switches.
831 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
832 (vc-hg-annotate-command): Use vc-switches.
833 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
834 (vc-mtn-annotate-command): Use vc-switches.
835 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
836 (vc-svn-annotate-command): Use vc-switches.
837
838 2015-02-26 Alan Mackenzie <acm@muc.de>
839
840 Handle "#" operator properly inside macro. Fix coding bug.
841
842 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
843 On finding a "#" which looks like the start of a macro, check it
844 isn't already inside a macro.
845
846 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
847 "safe" position into the list of them when this is beyond our
848 current position.
849
850 2015-02-26 Martin Rudalics <rudalics@gmx.at>
851
852 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
853 the menu frame is dead. (Bug#19728)
854
855 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
856
857 python.el: Handle tabs in python-indent-dedent-line.
858 * progmodes/python.el (python-indent-dedent-line): Fixes for
859 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
860
861 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
862
863 * progmodes/python.el (python-indent-context): Respect user
864 indentation after comment.
865
866 2015-02-26 Tassilo Horn <tsdh@gnu.org>
867
868 * textmodes/reftex-vars.el (featurep): Conditionalize value of
869 reftex-label-regexps in order to stay compatible with XEmacs 21.5
870 which has no explicitly numbered groups in regexps (bug#19714).
871
872 2015-02-26 Daiki Ueno <ueno@gnu.org>
873
874 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
875 integer before comparison.
876
877 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
878
879 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
880
881 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
882
883 * emacs-lisp/check-declare.el (check-declare-warn):
884 Use compilation-style warnings.
885 (check-declare-files): Make sure that
886 `check-declare-warning-buffer' is in `compilation-mode'.
887
888 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
889
890 * emacs-lisp/check-declare.el (check-declare-ext-errors):
891 New defcustom.
892 (check-declare): New defgroup.
893 (check-declare-verify): When `check-declare-ext-errors' is
894 non-nil, warn about an unfound function, instead of saying
895 "skipping external file".
896
897 2015-02-25 Tassilo Horn <tsdh@gnu.org>
898
899 * textmodes/reftex-vars.el (reftex-include-file-commands):
900 Call reftex-set-dirty on changes.
901
902 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
905 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
906 save-excursion.
907
908 2015-02-24 Glenn Morris <rgm@gnu.org>
909
910 * mail/rmailsum.el (rmail-summary-previous-all)
911 (rmail-summary-previous-msg): Simplify.
912
913 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
914
915 * simple.el (region-active-p): Fix doc to say non-nil.
916
917 2015-02-24 Samer Masterson <nosefrog@gmail.com>
918
919 * eshell/em-hist.el (eshell-hist-parse-word-designator):
920 Return args joined with " ".
921 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
922 (eshell-hist-parse-modifier): Pass mod a list instead of a string
923 (bug#18960).
924
925 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
926
927 * comint.el (comint-mode-map): Fix obvious typo.
928
929 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
930
931 * filecache.el (file-cache-filter-regexps):
932 Add lock files. (Bug#19516)
933
934 2015-02-24 Glenn Morris <rgm@gnu.org>
935
936 * mail/rmailsum.el (rmail-summary-next-all)
937 (rmail-summary-previous-all, rmail-summary-next-msg):
938 Fix handling of optional argument. (Bug#19916)
939
940 * progmodes/f90.el (f90-beginning-of-subprogram)
941 (f90-end-of-subprogram, f90-match-end):
942 Handle continued strings where the continuation does not start
943 with "&" and happens to match our regexp. (Bug#19809)
944
945 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
946
947 * comint.el (comint-clear-buffer): New command.
948 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
949
950 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
951
952 Use ${EXEEXT} more uniformly in makefiles
953 * Makefile.in (EMACS): Append ${EXEEXT}.
954
955 2015-02-23 Sam Steingold <sds@gnu.org>
956
957 * files.el (recover-session): Handle `auto-save-list-file-prefix'
958 being a directory (empty non-directory part).
959
960 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
961
962 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
963 instead of sasl-scram-sha-1, as the former is the name that can be
964 required.
965
966 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
967 (sasl-scram-sha-1-client-final-message)
968 (sasl-scram-sha-1-authenticate-server): Move to end of file.
969
970 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
971
972 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
973 (Bug#19826)
974
975 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
978 and :documentation. Change return value format accordingly.
979 * emacs-lisp/cl-generic.el (cl--generic-lambda):
980 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
981 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
982
983 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
984
985 Introduce `xref-etags-mode'.
986 * progmodes/xref.el (xref-etags-mode--saved): New variable.
987 (xref-etags-mode): New minor mode. (Bug#19466)
988
989 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
990
991 * dom.el (dom-previous-sibling): New function.
992
993 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
994
995 * bindings.el (ctl-x-map): There is no 'C-;'.
996 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
997 Perhaps some other binding should be chosen. (Bug#19826)
998
999 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
1000
1001 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
1002
1003 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
1004
1005 * autorevert.el (auto-revert-notify-add-watch)
1006 (auto-revert-notify-handler, auto-revert-buffers): Handle also
1007 buffers without an associated file, like dired buffers. (Bug#16112)
1008
1009 2015-02-21 Dima Kogan <dima@secretsauce.net>
1010
1011 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1012 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1013 wrappers. Call (auto-revert-buffers) consequently in order to
1014 install handlers.
1015
1016 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
1017
1018 Sync with upstream verilog-mode revision 0d6420b.
1019 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1020 (vector-skip-list): Remove.
1021 (verilog-auto-inst-port, verilog-auto-inst-port-list)
1022 (verilog-auto-inst, verilog-auto-inst-param):
1023 Use arguments rather than vector-skip.
1024 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1025 modport if signal attachment is itself a modport.
1026 Reported by Matthew Lovell.
1027
1028 2015-02-21 Reto Zimmermann <reto@gnu.org>
1029
1030 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1031 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1032 (vhdl-doc-release-notes): Update.
1033 (vhdl-standard): Add VHDL'08 option.
1034 (vhdl-sensitivity-list-all): New option.
1035 (vhdl-directive-keywords): Add psl.
1036 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1037 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1038 (vhdl-imenu-generic-expression): Add context, directive.
1039 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1040 (vhdl-template-map-init): Add vhdl-template-context.
1041 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1042 (vhdl-create-mode-menu): Add some entries.
1043 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1044 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1045 New constants.
1046 (vhdl-directives): New variable.
1047 (vhdl-words-init, vhdl-template-process)
1048 (vhdl-template-replace-header-keywords): Support VHDL'08.
1049 (vhdl-abbrev-list-init): Add vhdl-directives.
1050 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1051 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1052 (vhdl-lineup-comment): Handle block comments and directives.
1053 (vhdl-beginning-of-directive, vhdl-template-context)
1054 (vhdl-template-context-hook): New functions.
1055 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1056 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1057 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1058 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1059 (vhdl-scan-context-clause): Add context.
1060
1061 2015-02-20 Glenn Morris <rgm@gnu.org>
1062
1063 * calendar/solar.el (solar-sunrise-sunset-string):
1064 Shorten message a little.
1065 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1066
1067 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1068 (f90-font-lock-keywords-2): Some F2008 additions.
1069
1070 2015-02-19 Dima Kogan <dima@secretsauce.net>
1071
1072 * autorevert.el (auto-revert-buffers-counter)
1073 (auto-revert-buffers-counter-lockedout): New variables.
1074 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1075 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1076 suppressed by lockout. (Bug#18958)
1077
1078 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1081 returns classes, not class names (bug#19891).
1082
1083 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1084
1085 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1086
1087 2015-02-18 Kelly Dean <kelly@prtime.org>
1088
1089 * register.el (jump-to-register):
1090 * emacs-lisp/lisp.el (check-parens):
1091 Push mark before goto-char so user doesn't lose his previous place.
1092
1093 2015-02-18 Kelly Dean <kelly@prtime.org>
1094
1095 * rect.el (rectangle-mark-mode):
1096 Suppress superfluous "Mark set" message from push-mark.
1097
1098 2015-02-18 Kelly Dean <kelly@prtime.org>
1099
1100 * help-mode.el (help-go-back, help-go-forward, help-follow):
1101 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1102 * winner.el (winner-redo):
1103 * windmove.el (windmove-do-window-select):
1104 * register.el (jump-to-register, increment-register, insert-register)
1105 (append-to-register, prepend-to-register):
1106 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1107 (set-visited-file-name):
1108 * emacs-lisp/lisp.el (kill-backward-up-list):
1109 Use user-error instead of error. (Bug#14480)
1110
1111 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1114 assumptions about window ordering.
1115
1116 2015-02-16 Kelly Dean <kelly@prtime.org>
1117
1118 * files.el (insert-file-contents-literally): Fix docstring typo.
1119
1120 2015-02-16 Kelly Dean <kelly@prtime.org>
1121
1122 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1123 arguments correctly. (Bug#19685)
1124 (define-minor-mode): Clarify docstring.
1125 Clarify mode switch messages for minor modes. (Bug#19690)
1126
1127 2015-02-16 Kelly Dean <kelly@prtime.org>
1128
1129 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1130 Create valid tar files. (Bug#19536)
1131
1132 2015-02-16 Kelly Dean <kelly@prtime.org>
1133
1134 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1135 (Bug#19059)
1136
1137 2015-02-16 Kelly Dean <kelly@prtime.org>
1138
1139 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1140 buffer, and prevent interference with existing buffer. (Bug#13190)
1141
1142 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1143
1144 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1145
1146 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1147 Do not deactivate mark on fontification.
1148
1149 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1150
1151 * net/eww.el: Fix desktop support. (Bug#19226)
1152 (eww-mode): Add autoload cookie.
1153 (eww-restore-desktop): Use inhibit-read-only.
1154
1155 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1156 add-hook works correctly even if the file is not yet loaded.
1157
1158 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1161 eieio-constructor.
1162 (set-slot-value): Mark as obsolete.
1163 (eieio-object-class-name): Improve call to eieio-class-name.
1164 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1165 (object-slots): Use it. Declare obsolete.
1166 (eieio-constructor): Merge it with `make-instance'.
1167 (initialize-instance): Use `dolist'.
1168 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1169 Use eieio--class-print-name.
1170
1171 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1172 (eieio-class-name): Make it do what the docstring claims.
1173 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1174 (eieio--slot-name-index): Simplify accordingly.
1175 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1176 name to `slot-unbound'.
1177
1178 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1179 than on eieio-constructor.
1180
1181 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1184 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1185 about relationship between `type', `named', and `slots'.
1186 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1187 value of `cl-struct-type' property.
1188
1189 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1190
1191 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1192 with PAGER=cat. (Bug#19870)
1193
1194 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1195
1196 * emacs-lisp/package.el (package-read-all-archive-contents):
1197 Don't build the compatibility table.
1198 (package-refresh-contents, package-initialize): Do build the
1199 compatibility table.
1200 (package--build-compatibility-table): New function.
1201 (describe-package-1): Describe why a package is incompatible.
1202
1203 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1206 of the parent.
1207 (cl--assertion-failed): New function.
1208 (cl-assertion-failed): Move in from cl-lib.el.
1209
1210 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1211 as children of its parents.
1212 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1213 (cl-typep): Reimplement using define-inline.
1214 (cl-assert): Use cl--assertion-failed.
1215 (cl-struct-slot-value): Use define-inline.
1216
1217 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1218
1219 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1220 (flyspell-generic-check-word-p): Mark as obsolete.
1221
1222 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1223
1224 * emacs-lisp/package.el (package--compatibility-table): New var.
1225 (package--add-to-compatibility-table): New function.
1226 (package-read-all-archive-contents): Populate compatibility table.
1227 (package--incompatible-p): Also look in dependencies.
1228 (describe-package-1): Fix "incompat" handling.
1229
1230 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1231
1232 * net/rfc2104.el: Moved here from lisp/gnus.
1233
1234 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1235
1236 * net/sasl-scram-rfc.el: New file.
1237
1238 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1239 Add SCRAM-SHA-1 first.
1240 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1241 entry (bug#17636).
1242
1243 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1244
1245 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1246 <ul>.
1247
1248 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1249
1250 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1251 (gdb-inferior-filter): Don't pop up the buried output buffer when
1252 `gdb-display-io-nopopup' is non-nil.
1253
1254 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1255
1256 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1257
1258 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1259 Don't require a running process.
1260 (python-shell-font-lock-post-command-hook): Fontify only if the
1261 shell process is running.
1262
1263 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * hi-lock.el (hi-lock-unface-buffer): Don't call
1266 font-lock-remove-keywords if not needed (bug#19796).
1267
1268 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1269
1270 * emacs-lisp/package.el (package-install): Invert the second
1271 argument, for better backwards compatibility.
1272 (package-install-button-action, package-reinstall)
1273 (package-menu-execute): Account for the change.
1274
1275 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1276
1277 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1278 version of seq-reverse that works on sequences in Emacs 24.
1279 Bump seq.el version to 1.2.
1280
1281 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1282
1283 * emacs-lisp/package.el (package--incompatible-p): New function.
1284 Return non-nil if PKG has no chance of being installable.
1285 (package--emacs-version-list): New variable.
1286 (describe-package-1, package-desc-status)
1287 (package-menu--print-info, package-menu--status-predicate):
1288 Account for the "incompat" status.
1289
1290 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1291
1292 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1293 Rename frame parameter `maximized' to `fullscreen-restore'.
1294 Restore fullwidth/-height after fullboth state. Update doc-strings.
1295
1296 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1297
1298 * net/shr.el (shr-insert): Make sure the space inserted has the
1299 right font (for width).
1300 (shr-fill-line): Preserve background colours when indenting/folding.
1301 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1302 item in a <li>.
1303
1304 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1305
1306 * net/shr.el (shr-use-fonts): New variable.
1307 (shr-fill-text): Rename from "fold".
1308 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1309 New functions.
1310 (shr-insert): Just insert, don't fill the text. Filling is now
1311 done afterwards per display unit.
1312 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1313 per-unit base.
1314 (shr-find-fill-point): Take a "beginning" parameter.
1315 (shr-indent): Indent using the :width display parameter when using
1316 fonts.
1317 (shr-parse-style): Ignore "inherit" values, since we already do that.
1318 (shr-tag-img): Remove the insertion states.
1319 (shr-tag-blockquote): New-style filling.
1320 (shr-tag-dd): Ditto.
1321 (shr-tag-li): Ditto.
1322 (shr-mark-fill): New function to mark lines that need filling.
1323 (shr-tag-h1): Use a larger font.
1324 (shr-tag-table-1): Get the natural and suggested widths in one
1325 rendering.
1326 (shr-tag-table): Create the "fixed" version of the table only once
1327 so that we can cache data in the table.
1328 (shr-insert-table): Get colspan calculations right by having
1329 zero-width columns after colspan ones.
1330 (shr-expand-alignments): New function to make :align-to specs work
1331 right when rendered in one buffer and displayed in another one.
1332 (shr-insert-table-ruler): Use :align-to to get the widths right.
1333 (shr-make-table): Cache more.
1334 (shr-make-table-1): Use the new <td> data layout.
1335 (shr-pixel-buffer-width): New function.
1336 (shr-render-td): Add a caching layer.
1337 (shr-dom-max-natural-width): New function.
1338 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1339 (shr-tag-tt): New function.
1340 (shr-tag-hr): Compute the right length when using fonts.
1341 (shr-table-widths): Off-by-one error in width computation.
1342 (shr-expand-newlines): Remove dead code.
1343 (shr-insert-table): Extend background colors to the end of the column.
1344 (shr-insert-table): Only copy the background, not underline and
1345 the like.
1346 (shr-face-background): New function.
1347
1348 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1349
1350 python.el: Improved shell font lock respecting markers. (Bug#19650)
1351
1352 * progmodes/python.el
1353 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1354 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1355 (python-shell-font-lock-post-command-hook): Fontify by copying text
1356 properties from fontified buffer to shell, keeping markers unchanged.
1357 (python-shell-font-lock-turn-off): Fix typo.
1358 (python-util-text-properties-replace-name): Delete function.
1359
1360 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1361
1362 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1363 return sequence elements in correct order.
1364
1365 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1366
1367 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1368
1369 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1372
1373 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1374 case where the default value would be re-interpreted as a form!
1375
1376 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1377
1378 * help-fns.el (help-fns--signature): Keep doc for keymap.
1379
1380 2015-02-09 Kelly Dean <kelly@prtime.org>
1381
1382 * desktop.el: Save mark-ring less verbosely.
1383 (desktop-var-serdes-funs): New var.
1384 (desktop-buffer-info, desktop-create-buffer): Use it.
1385 (desktop-file-version): Update to 208.
1386
1387 2015-02-09 Leo Liu <sdl.web@gmail.com>
1388
1389 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1390
1391 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1392
1393 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1394
1395 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1396
1397 Port to platforms lacking test -a and -o
1398 * Makefile.in (compile-clean):
1399 * net/tramp-sh.el (tramp-find-executable):
1400 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1401
1402 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1403
1404 * newcomment.el (comment-line): Fix missing paren.
1405
1406 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1407
1408 * play/gamegrid.el: Update comment to reflect that the
1409 'update-game-score' helper program is now setgid by default.
1410
1411 2015-02-08 David Kastrup <dak@gnu.org>
1412
1413 * subr.el (apply-partially): Use lexical binding here.
1414
1415 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1416
1417 * newcomment.el (comment-line): New command.
1418
1419 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1420
1421 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1422
1423 * outline.el (outline-show-entry): Fix one invisible char for the
1424 file's last outline. (Bug#19493)
1425
1426 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * subr.el (indirect-function): Change advertised calling convention.
1429
1430 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1431
1432 python.el: Fix completion-at-point. (Bug#19667)
1433
1434 * progmodes/python.el
1435 (python-shell-completion-native-get-completions): Force process buffer.
1436 (python-shell-completion-at-point): Handle case where call is not
1437 in a shell buffer.
1438
1439 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1440
1441 python.el: Fix shell font-lock multiline input. (Bug#19744)
1442
1443 * progmodes/python.el
1444 (python-shell-font-lock-post-command-hook): Handle multiline input.
1445
1446 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1447
1448 python.el: Make shell font-lock respect markers. (Bug#19650)
1449
1450 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1451 Use `erase-buffer`.
1452 (python-shell-font-lock-comint-output-filter-function):
1453 Handle newlines.
1454 (python-shell-font-lock-post-command-hook): Respect markers on
1455 text fontification.
1456
1457 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1458
1459 python.el: Keep eldoc visible while typing args. (Bug#19637)
1460 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1461 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1462 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1463
1464 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1465
1466 Fix hideshow integration. (Bug#19761)
1467 * progmodes/python.el
1468 (python-hideshow-forward-sexp-function): New function based on
1469 Carlos Pita <carlosjosepita@gmail.com> patch.
1470 (python-mode): Make `hs-special-modes-alist` use it and initialize
1471 the end regexp with the empty string to avoid skipping parens.
1472
1473 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1474
1475 * progmodes/python.el (python-check-custom-command): Do not use
1476 defvar-local for compat with Emacs<24.3.
1477
1478 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1479
1480 * frame.el (frame-notice-user-settings):
1481 Update `frame-size-history'.
1482 (make-frame): Update `frame-size-history'.
1483 Call `frame-after-make-frame'.
1484 * faces.el (face-set-after-frame-default): Remove call to
1485 frame-can-run-window-configuration-change-hook.
1486
1487 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1488
1489 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1490 `vc-cvs-command' (bug#19732).
1491
1492 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1493
1494 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1495 New functions.
1496 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1497 (seq--drop-list, seq--take-list, seq--take-while-list):
1498 Better docstring.
1499
1500 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1501
1502 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1503 `image-kill-buffer' instead.
1504
1505 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1506
1507 * net/ldap.el (ldap-search-internal): Fix docstring.
1508
1509 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1510
1511 * subr.el (define-error): The error conditions may be constant
1512 lists, so use `append' to concatenate them.
1513
1514 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1515
1516 * net/network-stream.el (network-stream-open-tls): Respect the
1517 :end-of-capability setting.
1518
1519 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1520
1521 * emacs-lisp/package.el (package--sort-by-dependence):
1522 New function. Return PACKAGE-LIST sorted by dependencies.
1523 (package-menu-execute): Use it to delete packages in order.
1524 (package--sort-deps-in-alist): New function.
1525 (package-menu-mark-install): Can mark dependencies.
1526 (package--newest-p): New function.
1527 (package-delete): Don't deselect when deleting an older version of
1528 an upgraded package.
1529
1530 * emacs-lisp/package.el: Add missing (require 'subr-x)
1531
1532 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1535 hyphenated (bug#19263).
1536
1537 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1538 of variable interpolation (bug#19751).
1539
1540 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1541
1542 * json.el (json-end-of-file): New error (bug#19768).
1543 (json-pop, json-read): Use it.
1544
1545 2015-02-05 Kelly Dean <kelly@prtime.org>
1546
1547 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1548 `describe-variable'.
1549
1550 * help-fns.el (describe-function-or-variable): New function.
1551
1552 * help.el (help-map): Bind `describe-function-or-variable' to o.
1553 (help-for-help-internal): Document o key.
1554
1555 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1558 special (:documentation ...) feature.
1559 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1560 (eieio-make-child-predicate): Same.
1561 (eieio-copy-parents-into-subclass): Remove unused arg.
1562 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1563 `pname' var.
1564 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1565 callers accordingly.
1566
1567 * emacs-lisp/cconv.el (cconv--convert-function):
1568 Add `docstring' argument.
1569 (cconv-convert): Use it to handle the new (:documentation ...) form.
1570 (cconv-analyze-form): Handle the new (:documentation ...) form.
1571
1572 * emacs-lisp/bytecomp.el:
1573 (byte-compile-initial-macro-environment): Use macroexp-progn.
1574 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1575 (byte-compile-file-form-defvar-function): Rename from
1576 byte-compile-file-form-define-abbrev-table.
1577 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1578 (byte-compile): Use byte-compile-top-level rather than
1579 byte-compile-lambda so we can compile non-values.
1580 (byte-compile-form): Add warnings for failed uses of lexical vars via
1581 quoted symbols.
1582 (byte-compile-unfold-bcf): Improve message for failed inlining.
1583 (byte-compile-make-closure): Handle new format of internal-make-closure
1584 for dynamically-generated docstrings.
1585
1586 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1587 (open-line): Delete like all other commands, instead of killing.
1588 (delete-active-region): Don't define any return any value.
1589
1590 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1591 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1592 default.
1593
1594 2015-02-04 Sam Steingold <sds@gnu.org>
1595
1596 * progmodes/python.el (python-indent-calculate-indentation):
1597 Avoid the error when computing top-level indentation.
1598
1599 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1602
1603 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1604 (mail-mode-flyspell-verify): Fix last change.
1605 (flyspell-external-point-words, flyspell-large-region):
1606 Avoid add-to-list on local vars.
1607
1608 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1609
1610 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1611 void-variable error.
1612
1613 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1614
1615 * image-mode.el (image-kill-buffer): New command.
1616 (image-mode-map): Bind it to k.
1617
1618 * emacs-lisp/package.el (package-delete): Remove package from
1619 `package-selected-packages' even if it can't be deleted.
1620 (package-installed-p): Accept package-desc objects.
1621 (package-install): Can be used to mark dependencies as
1622 selected. When given a package-desc object which is already
1623 installed, the package is not downloaded again, but it is marked
1624 as selected (if it wasn't already).
1625 (package-reinstall): Accept package-desc objects.
1626
1627 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1628
1629 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1630 (package--get-deps): delete-dups when ONLY is nil.
1631 (package-autoremove): Warn the user if `package-selected-packages'
1632 is empty.
1633
1634 (package--user-selected-p): New function.
1635 (package-delete, package-install, package-install-from-buffer):
1636 Use it
1637 (package-selected-packages): Mention it.
1638
1639 (package-initialize): Don't populate `package-selected-packages'.
1640 (package-install-user-selected-packages, package-autoremove):
1641 Special handling for empty `package-selected-packages'.
1642 (package-install): Fix when PKG is a package-desc.
1643
1644 (package-desc-status): Add "dependency" status to the Package
1645 Menu.
1646 (package-menu--status-predicate, package-menu--print-info)
1647 (package-menu-mark-delete, package-menu--find-upgrades)
1648 (package-menu--status-predicate, describe-package-1): Use it
1649
1650 (package--removable-packages): New function.
1651 (package-autoremove): Use it.
1652 (package-menu-execute): Offer to remove unneeded packages.
1653
1654 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1655 tar-desc.
1656
1657 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1658
1659 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1660 (package-delete): New NOSAVE argument.
1661
1662 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1663
1664 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1665 (tramp-open-shell, tramp-maybe-open-connection): Set also
1666 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1667
1668 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1669
1670 * emacs-lisp/package.el (package--find-non-dependencies):
1671 New function.
1672 (package-initialize): Use it to populate `package-selected-packages'.
1673 (package-menu-execute): Clean unnecessary `and'.
1674 (package--get-deps): Fix returning duplicates.
1675
1676 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1677
1678 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1679 Use it as default.
1680 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1681 (Bug#19731)
1682
1683 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1684
1685 * emacs-lisp/package.el (package-delete): Remove package from
1686 package-selected-packages.
1687 (package-autoremove): Remove unneeded variable.
1688
1689 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1690
1691 * emacs-lisp/package.el (package-selected-packages): Fix :type
1692 (package-install): Rename ARG to MARK-SELECTED.
1693 (package--get-deps): Fix for indirect dependencies.
1694 (package-used-elsewhere-p): Rename to
1695 (package--used-elsewhere-p): New function.
1696 (package-reinstall, package-user-selected-packages-install)
1697 (package-autoremove): Use sharp-quote.
1698 (package-user-selected-packages-install): Reindent and rename to
1699 (package-install-user-selected-packages): New function.
1700
1701 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1702
1703 * emacs-lisp/package.el: Don't allow deleting dependencies.
1704
1705 (package-used-elsewhere-p): New function.
1706 (package-delete): Use it, return now an error when trying to
1707 delete a package used as dependency by another package.
1708
1709 Add a reinstall package command.
1710 (package-reinstall): New function.
1711
1712 Add a package-autoremove command.
1713 (package-selected-packages): New user var.
1714 (package-install): Add an optional arg to notify interactive use.
1715 Fix docstring. Save installed package to
1716 packages-installed-directly.
1717 (package-install-from-buffer): Same.
1718 (package-user-selected-packages-install): Allow installing all
1719 packages in packages-installed-directly at once.
1720 (package--get-deps): New function.
1721 (package-autoremove): New function.
1722 (package-install-button-action): Call package-install with
1723 interactive arg.
1724 (package-menu-execute): Same but only for only for not installed
1725 packages.
1726
1727 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1730 and eieio-make-child-predicate.
1731 (eieio-class-parents): Use eieio--class-object.
1732 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1733 (slot-exists-p): Use find-class.
1734
1735 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1736 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1737 convention for eieio-class-def.
1738 (eieio-build-class-list): Remove function, unused.
1739 (eieio-method-def): Remove button type, unused.
1740 (eieio-class-def): Inherit from help-function-def.
1741 (eieio--defclass-regexp): New constant.
1742 (find-function-regexp-alist): Use it.
1743 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1744 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1745 Remove functions.
1746
1747 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1748 Use cl-check-type everywhere instead.
1749 (eieio-class-object): Remove, use find-class instead when needed.
1750 (class-p): Don't inline.
1751 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1752 such as eieio classes, as objects. Don't inline.
1753 (object-p): Mark as obsolete.
1754 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1755 (eieio--generic-tagcode): Avoid `class-p'.
1756 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1757 (eieio-defclass-internal): Use current-load-list rather than
1758 `class-location'.
1759
1760 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1761
1762 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1765 since it may be "equivalent" in some sense, yet different (bug#19734).
1766
1767 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1768
1769 * outline.el (outline-font-lock-face): Add docstring.
1770 (outline-invisible-p): Improve docstring.
1771 (outline-invent-heading): Add docstring.
1772 (outline-promote): Improve docstring.
1773 (outline-demote): Improve docstring.
1774 (outline-head-from-level): Improve docstring.
1775 (outline-end-of-heading): Add docstring.
1776 (outline-next-visible-heading): Improve docstring.
1777 (outline-previous-visible-heading): Improve docstring.
1778 (outline-hide-region-body): Improve docstring.
1779 (outline-flag-subtree): Add docstring.
1780 (outline-end-of-subtree): Add docstring.
1781 (outline-headers-as-kill): Improve docstring.
1782
1783 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1784
1785 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1786 (hide-entry): Declare as obsolete.
1787 (outline-show-entry): Rename from `show-entry'.
1788 (show-entry): Declare as obsolete.
1789 (outline-hide-body): Rename from `hide-body'.
1790 (hide-body): Declare as obsolete.
1791 (outline-hide-region-body): Rename from `hide-region-body'.
1792 (hide-region-body): Declare as obsolete.
1793 (outline-show-all): Rename from `show-all'.
1794 (show-all): Declare as obsolete.
1795 (outline-hide-subtree): Rename from `hide-subtree'.
1796 (hide-subtree): Declare as obsolete.
1797 (outline-hide-leaves): Rename from `hide-leaves'.
1798 (hide-leaves): Declare as obsolete.
1799 (outline-show-subtree): Rename from `show-subtree'.
1800 (show-subtree): Declare as obsolete.
1801 (outline-hide-sublevels): Rename from `hide-sublevels'.
1802 (hide-sublevels): Declare as obsolete.
1803 (outline-hide-other): Rename from `hide-other'.
1804 (hide-other): Declare as obsolete.
1805 (outline-show-children): Rename from `show-children'.
1806 (show-children): Declare as obsolete.
1807 (outline-show-branches): Rename from `show-branches'.
1808 (show-branches): Declare as obsolete.
1809
1810 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1811
1812 * outline.el (outline-mode): Clean up docstring.
1813 (font-lock-warning-face): Remove obsolete declaration.
1814 (outline-font-lock-face): Remove obsolete comment.
1815
1816 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1817
1818 * custom.el (defface): Set `indent' to 1.
1819
1820 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1821
1822 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1823
1824 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1825
1826 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1827 is set, but user has just been asked whether they really want to
1828 kill Emacs (for example with a ‘Modified buffers exist; exit
1829 anyway?’ prompt), do not ask them for another confirmation.
1830
1831 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1832
1833 * calc/calc-units.el (calc-convert-exact-units): New function.
1834 (calc-convert-units): Check for missing units.
1835 (math-consistent-units-p): Strengthen the test for consistent units.
1836
1837 * calc/calc-ext.el (calc-init-extensions): Autoload
1838 `calc-convert-exact-units' and assign it a keybinding.
1839
1840 * calc/calc-help (calc-u-prefix-help): Add help for the
1841 "un" keybinding.
1842
1843 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1846
1847 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1848
1849 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1850 punctuation syntax since to allow bibtex fields with values such
1851 as {Test 1) and 2)} (bug#19205, bug#19707).
1852 (reftex--prepare-syntax-tables): New function.
1853 (reftex-mode): Use it.
1854
1855 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1856
1857 python.el: New non-global state dependent indentation engine.
1858 (Bug#18319, Bug#19595)
1859 * progmodes/python.el (python-syntax-comment-or-string-p):
1860 Accept PPSS as argument.
1861 (python-syntax-closing-paren-p): New function.
1862 (python-indent-current-level)
1863 (python-indent-levels): Mark obsolete.
1864 (python-indent-context): Return more context cases.
1865 (python-indent--calculate-indentation)
1866 (python-indent--calculate-levels): New functions.
1867 (python-indent-calculate-levels): Use them.
1868 (python-indent-calculate-indentation, python-indent-line):
1869 (python-indent-line-function): Rewritten to use new API.
1870 (python-indent-dedent-line): Simplify logic.
1871 (python-indent-dedent-line-backspace): Use `unless`.
1872 (python-indent-toggle-levels): Delete function.
1873
1874 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1875
1876 * subr.el (posnp): Correct docstring of `posnp'.
1877 (posn-col-row): Make it work with all mouse position objects.
1878 * textmodes/artist.el (artist-mouse-draw-continously):
1879 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1880
1881 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1882
1883 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1884
1885 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1886
1887 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1888 Adapt docstring.
1889 (file-notify--descriptor): New defun.
1890 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1891 Adapt docstring. Handle multiple values for
1892 `file-notify-descriptors' entries. (Bug#18880)
1893
1894 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1895 `file-notify-descriptors', the implementation has been changed.
1896
1897 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1898
1899 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1900 On MS-Windows, bind coding-system-for-read to the console output
1901 codepage. (Bug#19458)
1902
1903 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1904
1905 Unbreak `mouse-action' property in text buttons.
1906 * button.el (push-button): Fix regression from 2012-12-06.
1907
1908 2015-01-28 Glenn Morris <rgm@gnu.org>
1909
1910 * progmodes/sh-script.el (sh-mode): Doc fix.
1911 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1912
1913 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1914
1915 Fix dired quoting bug with "Hit`N`Hide".
1916 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1917
1918 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 Tighten up the tagcode used for eieio and cl-struct objects.
1921 * loadup.el: Load cl-preloaded.
1922 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1923 slot of the tag symbol to :quick-object-witness-check.
1924 (eieio-object-p): Use :quick-object-witness-check.
1925 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1926 * emacs-lisp/cl-preloaded.el: New file.
1927 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1928 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1929 (cl--make-usage-args): Strip away &aux args.
1930 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1931 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1932 (cl-defstruct): Use `declare' and cl-struct-define.
1933 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1934 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1935
1936 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1937
1938 * emacs-lisp/cl.el (cl--function-convert):
1939 Merge cache that cl--labels-convert adds (bug#19699).
1940
1941 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1942
1943 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1944 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1945 (tar-header-serialize): New functions.
1946 (tar-current-position): Split from tar-current-descriptor.
1947 (tar-current-descriptor): Use it.
1948 (tar-new-entry): New command.
1949 (tar-mode-map): Bind it.
1950
1951 2015-01-27 Sam Steingold <sds@gnu.org>
1952
1953 * progmodes/python.el (python-check-custom-command): Buffer local
1954 because it usually includes the buffer name.
1955 (python-check-command): Set to epylint when pyflakes is not available.
1956
1957 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1958
1959 * isearch.el (isearch-process-search-char): Add docstring.
1960
1961 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1962
1963 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1964
1965 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1966
1967 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1968 for the case cl-flet or cl-labels form is wrapped with lexical-let
1969 (bug#19613).
1970
1971 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1974 (cl--generic): The method-table is now a (list-of cl--generic-method).
1975 (cl--generic-member-method): New function.
1976 (cl-generic-define-method): Use it.
1977 (cl--generic-build-combined-method, cl--generic-cache-miss):
1978 Adapt to new method-table.
1979 (cl--generic-no-next-method-function): Add `method' argument.
1980 (cl-generic-call-method): Adapt to new method representation.
1981 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1982 (cl-find-method, cl-method-qualifiers): New functions.
1983 (cl--generic-method-info): Adapt to new method representation.
1984 Return a string for the qualifiers.
1985 (cl--generic-describe):
1986 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1987 (eieio-all-generic-functions, eieio-method-documentation):
1988 Adjust to new method representation.
1989
1990 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1991
1992 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1995 (cl-generic-method-combination-function): New var.
1996 (cl--generic-lambda): Remove `with-cnm' arg.
1997 (cl-defmethod): Change accordingly.
1998 (cl-generic-define-method): Don't check qualifiers validity.
1999 Preserve all qualifiers in `method-table'.
2000 (cl-generic-call-method): New function.
2001 (cl--generic-nest): Remove (morph into cl-generic-call-method).
2002 (cl--generic-build-combined-method): Adjust to new format of method-table
2003 and use cl-generic-method-combination-function.
2004 (cl--generic-standard-method-combination): New function, extracted from
2005 cl--generic-build-combined-method.
2006 (cl--generic-cnm-sample): Adjust to new format of method-table.
2007
2008 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2009 instead of :primary.
2010
2011 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2012 Remove obsolete function.
2013
2014 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
2015
2016 * net/shr.el (shr-make-table-1): Fix colspan typo.
2017 (shr-make-table-1): Add comments.
2018 (shr-make-table-1): Make colspan display more sensibly.
2019
2020 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2021 slightly.
2022
2023 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2026 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2027 (bug#19672).
2028 (cl--generic-typeof-types): Add support for `sequence'.
2029 (cl-defmethod): Add non-keywords in the qualifiers.
2030
2031 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2032
2033 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2034 `defgroup' (regression from the previous change here).
2035
2036 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2037
2038 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2039 credentials error message.
2040
2041 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2042
2043 * net/ldap.el (ldap-password-read): Validate password before
2044 caching it.
2045 (ldap-search-internal): Handle ldapsearch error conditions.
2046
2047 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2048
2049 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2050
2051 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2052
2053 * net/eudc.el (eudc-expand-inline): Always restore former server
2054 and protocol.
2055
2056 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2057
2058 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2059 provided by the LDAP system configuration file.
2060
2061 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2062
2063 * net/eudc.el (eudc-format-query): Preserve the
2064 eudc-inline-query-format ordering of attributes in the returned list.
2065 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2066 Append the LDAP wildcard character to the last attribute value.
2067
2068 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2069
2070 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2071 Downcase field names of LDAP results.
2072 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2073
2074 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2075
2076 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2077 (ldap-search-internal): Send password to ldapsearch through a pipe
2078 instead of via the command line.
2079
2080 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2081
2082 * net/ldap.el: Require password-cache.
2083 (ldap-password-read): New function.
2084 (ldap-search-internal): Call ldap-password-read when it is
2085 configured to be called.
2086
2087 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2088
2089 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2090 Change default to nil.
2091
2092 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2093
2094 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2095 string-to-expand.
2096
2097 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2098
2099 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2100 format that includes first name and surname.
2101
2102 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2103
2104 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2105 query email and first name instead of surname.
2106
2107 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2108
2109 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2110
2111 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2112
2113 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2114 eudc-server-hotlist.
2115 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2116 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2117 (eudc-set-server): Allow setting protocol to nil.
2118 (eudc-expand-inline): Support hotlist-only expansions when server
2119 is not set.
2120
2121 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2124 (cl--generic-build-combined-method): Use it.
2125
2126 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2127
2128 Don't downcase system diagnostics' first letters
2129 * emacs-lisp/bytecomp.el (byte-compile-file):
2130 * ffap.el (find-file-at-point):
2131 * files.el (insert-file-1):
2132 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2133 (ange-ftp-copy-file-internal):
2134 * progmodes/etags.el (visit-tags-table):
2135 Keep diagnostics consistent with system's.
2136 * ffap.el (ffap-machine-p):
2137 Ignore case while comparing diagnostics.
2138
2139 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2142 arg (bug#19645).
2143 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2144 body with a docstring.
2145
2146 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * progmodes/xref.el (xref-location-marker, xref-location-group):
2149 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2150 counterparts.
2151
2152 * progmodes/etags.el (xref-location-marker): Same.
2153
2154 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2155 (xref--inhibit-mark-current): Rename from
2156 `xref--inhibit-mark-selected'. Update the usages.
2157 (xref-quit): Reword the docstring. Kill buffers after quitting
2158 windows instead of before.
2159 (xref--insert-xrefs): Tweak help-echo.
2160 (xref--read-identifier-history, xref--read-pattern-history):
2161 New variables.
2162 (xref--read-identifier, xref-find-apropos): Use them.
2163
2164 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2165
2166 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2167 Allow the 'update-game-score' helper program to run suid or sgid.
2168
2169 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * emacs-lisp/eieio.el: Use cl-defmethod.
2172 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2173 (eieio-object-name-string): Declare as obsolete.
2174
2175 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2176 (eieio--specializers-apply-to-class-p): New function.
2177 (eieio-all-generic-functions): Use it.
2178 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2179 Change format of return value.
2180 (eieio-help-class): Adapt accordingly.
2181
2182 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2183 errors when there's a `before' but no `primary' (bug#19645).
2184 (next-method-p): Return nil rather than signal an error.
2185 (eieio-defgeneric): Remove bogus (fboundp 'method).
2186
2187 * emacs-lisp/eieio-speedbar.el:
2188 * emacs-lisp/eieio-datadebug.el:
2189 * emacs-lisp/eieio-custom.el:
2190 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2191
2192 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2193 (cl--generic-setf-rewrite): Setup the setf expander right away.
2194 (cl-defmethod): Make sure the setf expander is setup before we expand
2195 the body.
2196 (cl-defmethod): Silence byte-compiler warnings.
2197 (cl-generic-define-method): Shuffle code to change return value.
2198 (cl--generic-method-info): New function, extracted from
2199 cl--generic-describe.
2200 (cl--generic-describe): Use it.
2201
2202 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2203
2204 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2205 the major mode. Remap `quit-window' to `xref-quit'.
2206 (xref--xref-buffer-mode): Inherit from special-mode.
2207
2208 xref: Keep track of temporary buffers (bug#19466).
2209 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2210 (xref--inhibit-mark-selected): New variables.
2211 (xref--mark-selected): New function.
2212 (xref--show-location): Maybe add the buffer to
2213 `xref--temporary-buffers', add `xref--mark-selected' to
2214 `buffer-list-update-hook' there.
2215 (xref--window): Add docstring.
2216 (xref-quit): Rename from `xref--quit'. Update both references.
2217 Add KILL argument. When it's non-nil, kill the temporary buffers
2218 that haven't been selected by the user.
2219 (xref--show-xref-buffer): Change the second argument to alist,
2220 extract the values for `xref--window' and
2221 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2222 `buffer-list-update-hook' to each buffer in the list.
2223 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2224 here. Save the difference between buffer lists before and after
2225 it's called as "temporary buffers", and `pass it to
2226 `xref-show-xrefs-function'.
2227 (xref--find-definitions, xref-find-references)
2228 (xref-find-apropos): Update accordingly.
2229
2230 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2231
2232 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2233
2234 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * emacs-lisp/eieio-generic.el: Remove.
2237 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2238 * emacs-lisp/eieio-compat.el: New file.
2239 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2240 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2241 Remove unused function.
2242 (eieio-defclass): Move to eieio-compat.el.
2243 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2244 (macroexp--expand-all): Use it.
2245 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2246
2247 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2248
2249 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2250 major modes should use `add-function' to alter value of the variable.
2251 * hexl.el (hexl-mode):
2252 * ielm.el (inferior-emacs-lisp-mode):
2253 * progmodes/cfengine.el (cfengine3-mode):
2254 * progmodes/elisp-mode (emacs-lisp-mode):
2255 * progmodes/octave.el (octave-mode):
2256 * progmodes/python.el (python-mode):
2257 * simple.el (read--expression): Set `eldoc-documentation-function'
2258 using `add-function' so the default value is always used.
2259
2260 * descr-text.el (describe-char-eldoc): New function returning
2261 basic Unicode codepoint information (e.g. name) about character
2262 at point. It is meant to be used as a default value of the
2263 `eldoc-documentation-function' variable.
2264 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2265 New helper functions for `describe-char-eldoc' function.
2266
2267 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2268
2269 * textmodes/paragraphs.el (sentence-end-base): Include an
2270 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2271 and a closing single quote (’) as an end of a quote.
2272
2273 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2274
2275 * textmodes/tildify.el (tildify-double-space-undos): A new
2276 variable specifying whether pressing space in `tildify-mode' after
2277 a space has been replaced with hard space undos the substitution.
2278 (tildify-space): Add code branch for handling `tildify-doule-space'.
2279
2280 * textmodes/tildify.el (tildify-space): A new function
2281 which can be used as a `post-self-insert-hook' to automatically
2282 convert spaces into hard spaces.
2283 (tildify-space-pattern): A new variable specifying pattern where
2284 `tildify-space' should take effect.
2285 (tildify-space-predicates): A new variable specifying list of
2286 predicate functions that all must return non-nil for
2287 `tildify-space' to take effect.
2288 (tildify-space-region-predicate): A new functions meant to be
2289 used as a predicate in `tildify-space-predicates' list.
2290 (tildify-mode): A new minor mode enabling `tildify-space' as a
2291 `post-self-insert-hook'
2292
2293 2015-01-20 Daniel Colascione <dancol@dancol.org>
2294
2295 * vc/vc-dir.el (vc-dir): Default to repository root, not
2296 default-directory.
2297
2298 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2299
2300 * progmodes/etags.el (xref-etags-location): New class.
2301 (xref-make-etags-location): New function.
2302 (etags--xref-find-definitions): Use it.
2303 (xref-location-marker): New method implementation.
2304
2305 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2306 (xref--insert-xrefs): Expand help-echo string.
2307
2308 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2309
2310 * ido.el: Update Customization instructions.
2311
2312 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2313
2314 Define Ido keymaps once (bug#17000).
2315 * ido.el (ido-common-completion-map)
2316 (ido-file-dir-completion-map)
2317 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2318 bindings when each variable is defined.
2319 (ido-completion-map): Move definition.
2320 (ido-init-completion-maps): Noop.
2321 (ido-common-initialization): Don't call it.
2322 (ido-setup-completion-map): Improve doc-string, cleanup.
2323
2324 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2325
2326 * cus-dep.el (custom-make-dependencies): Ensure that
2327 default-directory is interpreted as a directory (see bug#19140.)
2328
2329 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2330
2331 * progmodes/xref.el (xref--display-position):
2332 Set `other-window-scroll-buffer'.
2333 (xref-goto-xref): Use `user-error'.
2334
2335 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2336
2337 * progmodes/xref.el (xref--display-history): New variable.
2338 (xref--window-configuration): Remove.
2339 (xref--save-to-history): New function.
2340 (xref--display-position): Use it. Add new argument.
2341 (xref--restore-window-configuration): Remove.
2342 (xref--show-location, xref-show-location-at-point):
2343 Update accordingly.
2344 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2345 (xref--quit): New command.
2346 (xref-goto-xref): Use it.
2347 (xref--xref-buffer-mode-map): Bind `q' to it.
2348
2349 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2350
2351 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2352 indentation or at eol.
2353
2354 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2357 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2358 New functions.
2359 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2360
2361 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2362 `newname' argument.
2363
2364 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2365 introduction of a new dispatch argument.
2366 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2367 considered as dispatchable for this method.
2368 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2369 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2370
2371 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2372
2373 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2374
2375 * emacs-lisp/package.el (package--append-to-alist): Rename from
2376 `package--add-to-alist'
2377 Updated docstring due to new name.
2378
2379 2015-01-18 Leo Liu <sdl.web@gmail.com>
2380
2381 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2382 multiple evaluation. (Bug#19519)
2383
2384 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2385 error. (Bug#19434)
2386
2387 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2390 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2391 New functions.
2392 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2393
2394 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2395 or print is nil.
2396 (cl-struct-type-p): New function.
2397
2398 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2399 (cl-defmethod): Add edebug spec.
2400 (cl--generic-build-combined-method): Fix call to
2401 cl-no-applicable-method.
2402 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2403 (cl--generic-isnot-nnm-p): New function.
2404 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2405 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2406 (cl-next-method-p): New function.
2407
2408 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2409
2410 * version.el (emacs-repository-get-version): Update docstring.
2411
2412 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2413
2414 * files.el (find-file-other-window, find-file-other-frame):
2415 Use mapc instead of mapcar. (Bug#18175)
2416
2417 * files.el (dir-locals-collect-variables): Use default-directory
2418 in place of the file name while working on non-file buffers, just
2419 like hack-dir-local-variables already does. (Bug#19140)
2420
2421 * textmodes/enriched.el (enriched-encode):
2422 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2423 (Bug#18246)
2424
2425 * desktop.el (desktop-read): Do not call desktop-clear when no
2426 desktop file is found. (Bug#18371)
2427
2428 * misearch.el (multi-isearch-unload-function): New function.
2429 (misearch-unload-function): New alias. (Bug#19566)
2430
2431 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2434 class-constructor, and make it an alias for `identity'.
2435 Update all callers.
2436
2437 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2438 argument here (bug#19620)...
2439 (defclass): ...instead of in the constructor here.
2440
2441 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2442
2443 * emacs-lisp/package.el (package-archive-priorities):
2444 Specify correct type.
2445
2446 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2447
2448 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2449 Remove.
2450 (emacs-repository-get-version): Discard the Bazaar case.
2451 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2452 emacs-bzr-version-dirstate and move from version.el to here.
2453 (vc-bzr-working-revision): Use it.
2454
2455 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2458 eieio--scoped-class any more.
2459
2460 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2461 (eieio--scoped-class): Remove function.
2462 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2463 (eieio--slot-name-index): Don't check the :protection anymore.
2464 (eieio-initializing-object): Remove var.
2465 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2466
2467 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 Improve handling of doc-strings and describe-function for cl-generic.
2470
2471 * help-mode.el (help-function-def): Add optional arg `type'.
2472
2473 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2474 as it's a symbol.
2475 (help-fns-short-filename): New function.
2476 (describe-function-1): Use it. Use autoload-do-load.
2477
2478 * emacs-lisp/find-func.el: Use lexical-binding.
2479 (find-function-regexp): Don't rule out `defgeneric'.
2480 (find-function-regexp-alist): Document new possibility of including
2481 a function instead of a regexp.
2482 (find-function-search-for-symbol): Implement that new possibility.
2483 (find-function-library): Don't assume that `function' is a symbol.
2484 (find-function-do-it): Remove unused var `orig-buf'.
2485
2486 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2487 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2488 (eieio--method-optimize-primary): Don't mess with the docstring.
2489 (defgeneric): Keep the `args' in the docstring.
2490 (defmethod): Don't use the method's docstring for the generic
2491 function's docstring.
2492
2493 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2494 (eieio-defclass-autoload): Don't record the superclasses any more.
2495 (eieio-defclass-internal): Reuse the old class object if it was just an
2496 autoload stub.
2497 (eieio--class-precedence-list): Load the class if it's autoloaded.
2498
2499 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2500 override an autoload.
2501 (cl-generic-current-method-specializers): Replace dyn-bind variable
2502 with a lexically-scoped macro.
2503 (cl--generic-lambda): Update accordingly.
2504 (cl-generic-define-method): Record manually in the load-history with
2505 type `cl-defmethod'.
2506 (cl--generic-get-dispatcher): Minor optimization.
2507 (cl--generic-search-method): New function.
2508 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2509 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2510 specializers and the function's arguments.
2511
2512 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2513
2514 * emacs-lisp/package.el (package--read-pkg-desc):
2515 New function. Read a `define-package' form in current buffer.
2516 Return the pkg-desc, with desc-kind set to KIND.
2517 (package-dir-info): New function. Find package information for a
2518 directory. The return result is a `package-desc'.
2519 (package-install-from-buffer): Install packages from dired buffer.
2520 (package-install-file): Install packages from directory.
2521 (package-desc-suffix)
2522 (package-install-from-archive)
2523 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2524 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2525 value.
2526
2527 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2528
2529 * emacs-lisp/package.el: Provide repository priorities.
2530 (package-archive-priorities): New variable.
2531 (package--add-to-alist): New function.
2532 (package--add-to-archive-contents): Use it.
2533 (package-menu--find-upgrades): Use it as well. Small clean up to
2534 make the use of the package name here explicit.
2535 (package-archive-priority): New function.
2536 (package-desc-priority-version): New function.
2537
2538 2015-01-16 Daniel Colascione <dancol@dancol.org>
2539
2540 * cus-start.el (all): Make `ring-bell-function' customizable.
2541
2542 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2543
2544 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2545 vc-svn-after-dir-status's second argument. (Bug#19429)
2546
2547 2015-01-16 Samer Masterson <samer@samertm.com>
2548
2549 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2550 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2551
2552 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2553
2554 * dom.el (dom-strings): New function.
2555
2556 * files.el (directory-files-recursively): Don't use the word
2557 "path" for a file name.
2558
2559 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2560
2561 * calc/calc-units.el (math-units-in-expr-p)
2562 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2563 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2564
2565 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2568 (cl--labels-convert): Use it to ask the macro what is its replacement
2569 in the #'f case.
2570
2571 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2572 Return the value of the primary rather than the after method.
2573
2574 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2575 (eieio--generic-tagcode): New function.
2576 (cl-generic-tagcode-function): Use it.
2577 (eieio--generic-tag-types): New function.
2578 (cl-generic-tag-types-function): Use it.
2579 (eieio-object-p): Tighten up the test.
2580
2581 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2582
2583 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * emacs-lisp/cl-generic.el: New file.
2586
2587 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2588 (cl-load-time-value, cl-labels): Use closures rather than
2589 backquoted lambdas.
2590 (cl-macrolet): Use `eval' to create the function value, and support CL
2591 style arguments in for the defined macros.
2592
2593 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * net/eww.el: Use lexical-binding.
2596 (eww-links-at-point): Remove unused arg.
2597 (eww-mode-map): Inherit from special-mode-map.
2598 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2599
2600 2015-01-13 Alan Mackenzie <acm@muc.de>
2601
2602 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2603 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2604 New function which walks the stack to discover whether we're compiling
2605 or loading.
2606 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2607 (cc-bytecomp-is-loading): New defsubst.
2608 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2609 Use the above defsubsts.
2610 (cc-require-when-compile, cc-bytecomp-defvar)
2611 (cc-bytecomp-defun): Simplify conditionals.
2612 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2613 "Borrow" this function from cc-bytecomp.el.
2614 (c-get-current-file): Reformulate using the above.
2615 (c-lang-defconst): Prevent duplicate entries of file names in a
2616 symbol's 'source property.
2617 (c-lang-const): Use cc-bytecomp-is-compiling.
2618 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2619 Use cc-bytecomp-is-compiling.
2620
2621 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2624 (bug#19552).
2625
2626 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2627
2628 * menu-bar.el (menu-bar-goto-menu): Before calling
2629 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2630 (Bug#19554)
2631
2632 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2633
2634 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2635 cookie (Bug#19554).
2636
2637 * frame.el (frame-notice-user-settings): Remove code dealing with
2638 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2639 only if `window-system-frame-alist' or `default-frame-alist' ask
2640 for it.
2641 (make-frame): Update frame-adjust-size-history if needed.
2642
2643 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2644
2645 Have 'make' output better GEN names
2646 * Makefile.in (PHONY_EXTRAS): New macro.
2647 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2648 relevant files' time stamps are ignored.
2649 (custom-deps, $(lisp)/cus-load.el, finder-data)
2650 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2651 (custom-deps, $(lisp)/cus-load.el, finder-data)
2652 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2653 ($(lisp)/subdirs.el, update-subdirs):
2654 Output more-accurate destination names with GEN.
2655
2656 Say "ELC foo.elc" instead of "GEN foo.elc"
2657 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2658 New macros.
2659 ($(THEFILE)c, .el.elc): Use them.
2660
2661 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2662
2663 * files.el (directory-files-recursively): Do not include
2664 superfluous remote file names.
2665
2666 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2667
2668 * net/eww.el (eww): Interpret anything that looks like a protocol
2669 designator as a full URL.
2670
2671 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2672
2673 * net/shr.el (shr-urlify): Don't bother the user about
2674 invalidly-encoded display strings.
2675
2676 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2677
2678 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2679 (bug#19555).
2680
2681 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2682
2683 * net/eww.el (eww): Always interpret URLs that start with https?:
2684 as plain URLs, even if they have spaces in them (bug#19556).
2685 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2686 software" as an URL.
2687 (eww): Don't interpret "org/foo" as an URL.
2688 (eww): Clear the title when loading so that we don't display
2689 misleading information.
2690
2691 2015-01-10 Daniel Colascione <dancol@dancol.org>
2692
2693 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2694 by analogy with dired.
2695
2696 2015-01-09 Daniel Colascione <dancol@dancol.org>
2697
2698 * progmodes/js.el (js--function-heading-1-re)
2699 (js--function-prologue-beginning): Parse ES6 generator function
2700 declarations. (That is, "function* name()").
2701
2702 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2705 that creates functions, and most of the sanity checks.
2706 Mark as obsolete the <class>-child-p function.
2707 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2708 (eieio--class, eieio--object): Use cl-defstruct.
2709 (eieio--object-num-slots): Define manually.
2710 (eieio-defclass-autoload): Use eieio--class-make.
2711 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2712 `(lambda...) definitions and most of the sanity checks to `defclass'.
2713 Mark as obsolete the <class>-list-p function, the <class> variable and
2714 the <initarg> variables. Use pcase-dolist.
2715 (eieio-defclass): New compatibility function.
2716 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2717 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2718
2719 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * emacs-lisp/eieio-generic.el: New file.
2722 * emacs-lisp/eieio-core.el: Move all generic function code to
2723 eieio-generic.el.
2724 (eieio--defmethod): Declare.
2725
2726 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2727 function code to eieio-generic.el.
2728 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2729 eieio-generic.el.
2730 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2731 to eieio--generic-call.
2732 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2733 <class>-child type.
2734
2735 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2738 Don't use <class> as a variable.
2739
2740 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2741 (call-next-method): Simplify.
2742 (clone): Obey eieio-backward-compatibility.
2743
2744 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2745 (eieio-read-generic): Use `generic-p' instead.
2746
2747 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2748 (eieio-defclass-autoload): Obey it.
2749 (eieio--class-object): Improve error behavior.
2750 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2751 every use site.
2752 (eieio--defgeneric-form-primary-only): Rename from
2753 eieio-defgeneric-form-primary-only; update all callers.
2754 (eieio--defgeneric-form-primary-only-one): Rename from
2755 eieio-defgeneric-form-primary-only-one; update all callers.
2756 (eieio-defgeneric-reset-generic-form)
2757 (eieio-defgeneric-reset-generic-form-primary-only)
2758 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2759 (eieio--method-optimize-primary): New function to replace them.
2760 (eieio--defmethod, eieio-defmethod): Use it.
2761 (eieio--perform-slot-validation): Rename from
2762 eieio-perform-slot-validation; update all callers.
2763 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2764 Change `class' to be a class object. Update all callers.
2765 (eieio--validate-class-slot-value): Rename from
2766 eieio-validate-class-slot-value. Change `class' to be a class object.
2767 Update all callers.
2768 (eieio-oset-default): Accept class object as well.
2769 (eieio--generic-call-primary-only): Rename from
2770 eieio-generic-call-primary-only. Update all callers.
2771
2772 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2773 Improve error messages.
2774 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2775 well as user-defined types. Emit errors for legacy types like
2776 <class>-child and <class>-list, if not eieio-backward-compatibility.
2777
2778 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2781 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2782 Change `class' arg to be a class object. Update all callers.
2783 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2784 (eieio-default-superclass): Set var to the class object.
2785 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2786 Change print behavior to affect class objects rather than
2787 class symbols.
2788
2789 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2790 (eieio-class-parents-fast): Remove macro.
2791 (eieio--class-option-assoc): Rename from class-option-assoc.
2792 Update all callers.
2793 (eieio--class-option): Rename from class-option. Change `class' arg to
2794 be a class object. Update all callers.
2795 (eieio--class-method-invocation-order): Rename from
2796 class-method-invocation-order. Change `class' arg to be a class
2797 object. Update all callers.
2798 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2799 a list of class objects rather than names.
2800 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2801 for accessors to class allocated slots.
2802 (eieio--perform-slot-validation-for-default): Rename from
2803 eieio-perform-slot-validation-for-default. Update all callers.
2804 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2805 Update all callers. Use push.
2806 (eieio-copy-parents-into-subclass): Adjust to new content of
2807 `parent' field. Use dolist.
2808 (eieio-oref): Remove support for providing a class rather than
2809 an object.
2810 (eieio-oref-default): Prefer class objects over class names.
2811 (eieio--slot-originating-class-p): Rename from
2812 eieio-slot-originating-class-p. Update all callers. Use `or'.
2813 (eieio--slot-name-index): Turn check into assertion.
2814 (eieio--class-slot-name-index): Rename from
2815 eieio-class-slot-name-index. Change `class' arg to be a class object.
2816 Update all callers.
2817 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2818 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2819 Update all callers.
2820 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2821 Update all callers.
2822 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2823 Update all callers.
2824 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2825 Update all callers.
2826 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2827 Update all callers. Adjust to new `parent' content.
2828 (eieio--class-precedence-list): Rename from -class-precedence-list.
2829 Update all callers.
2830 (eieio-generic-call): Use autoloadp and autoload-do-load.
2831 Slight simplification.
2832 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2833 return value of `eieio-generic-form'.
2834 (eieiomt-add): Index the hashtable with class objects rather than
2835 class names.
2836 (eieio-generic-form): Accept class objects as well.
2837
2838 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2839 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2840 (eieio-persistent-validate/fix-slot-value):
2841 Change `class' arg to be a class object. Update all callers.
2842
2843 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2846 additionally to class names.
2847
2848 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2849 (object): Remove first (constant) slot; rename second to `class-tag'.
2850 (eieio--object-class-object, eieio--object-class-name): New funs
2851 to replace eieio--object-class.
2852 (eieio--class-object, eieio--class-p): New functions.
2853 (same-class-fast-p): Make it a defsubst, change its implementation
2854 to check the class objects rather than their names.
2855 (eieio-object-p): Rewrite.
2856 (eieio-defclass): Adjust the object initialization according to the new
2857 object layout.
2858 (eieio--scoped-class): Declare it returns a class object (not a class
2859 name any more). Adjust calls accordingly (along with calls to
2860 eieio--with-scoped-class).
2861 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2862 its class arg to be a class object. Adjust callers accordingly.
2863 (eieio-slot-originating-class-p): Make its start-class arg a class
2864 object. Adjust all callers.
2865 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2866 Make its `class' arg a class object. Adjust all callers.
2867
2868 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2869 Use eieio--slot-name-index rather than eieio-slot-name-index.
2870
2871 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2874 name argument.
2875 (eieio-object-name): Use eieio-object-name-string.
2876 (eieio--object-names): New const.
2877 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2878 using a hashtable rather than a built-in slot.
2879 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2880 (clone): Don't mess with the object's "name".
2881
2882 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2883 (eieio-object-value-get): Use eieio-object-set-name-string.
2884
2885 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2886 (eieio--object): Remove `name' field.
2887 (eieio-defclass): Adjust to new convention where constructors don't
2888 take an "object name" any more.
2889 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2890 (eieio-validate-slot-value, eieio-oset-default)
2891 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2892 (eieio-generic-call-primary-only): Simplify.
2893
2894 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2895 Use call-next-method.
2896 (eieio-constructor): Rename from `constructor'.
2897 (eieio-persistent-convert-list-to-object): Drop objname.
2898 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2899 eieio--object-num-slots.
2900 (eieio-named): Use a normal slot.
2901 (slot-missing) <eieio-named>: Remove.
2902 (eieio-object-name-string, eieio-object-set-name-string, clone)
2903 <eieio-named>: New methods.
2904
2905 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2908 (method-*): Add a "eieio--" prefix to those constants.
2909
2910 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2911
2912 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2913
2914 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2917 `eieio-default-superclass'.
2918
2919 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2920
2921 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2922 (eieio-object-value-to-abstract): Simplify.
2923
2924 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2925 (eieio-build-class-alist): Use dolist.
2926 (eieio-all-generic-functions): Adjust to use of hashtables.
2927
2928 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2929 symbol-hashtable. It contains a hashtable instead of an obarray.
2930 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2931 `eieio-method-obarray'.
2932 (generic-primary-only-p, generic-primary-only-one-p):
2933 Slight optimization.
2934 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2935 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2936 (eieio-class-un-autoload): Use autoload-do-load.
2937 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2938 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2939 Don't hardcode the value of eieio--object-num-slots.
2940 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2941 Use a closure rather than a backquoted lambda.
2942 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2943 function-documentation property.
2944 (eieio-slot-originating-class-p, eieio-slot-name-index)
2945 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2946 (eieio-generic-form): Adjust to use of hashtables.
2947 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2948 additional class argument.
2949 (eieio-generic-call-methodname): Remove, unused.
2950
2951 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2952 Prefer \' to $.
2953
2954 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2955
2956 * simple.el (line-move-visual): When converting X pixel coordinate
2957 to temporary-goal-column, adjust the value for right-to-left
2958 screen lines. This fixes vertical-motion, next/prev-line, etc.
2959
2960 2015-01-08 Glenn Morris <rgm@gnu.org>
2961
2962 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2963
2964 2015-01-07 K. Handa <handa@gnu.org>
2965
2966 * international/ccl.el (define-ccl-program): Improve the docstring.
2967
2968 2015-01-06 Sam Steingold <sds@gnu.org>
2969
2970 * shell.el (shell-display-buffer-actions): Remove,
2971 use `display-buffer-alist' instead.
2972
2973 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2974
2975 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2976 to the references.
2977
2978 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * minibuffer.el (completion-category-defaults): New var.
2981 Set unicode-name to use substring completion.
2982 (completion-category-defaults): Set it to nil.
2983
2984 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2985
2986 Add mouse interaction to xref.
2987 * progmodes/xref.el (xref--button-map): New variable.
2988 (xref--mouse-2): New command.
2989 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2990 the inserted references.
2991
2992 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2993
2994 Less 'make' chatter for lisp dir
2995 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2996 to make it clearer that the caller must specify it.
2997 (compile-onefile): Remove, replacing by ...
2998 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2999 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
3000 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3001 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3002 Use AM_V_GEN to lessen 'make' chatter.
3003 (.el.elc): Omit duplicate comment.
3004
3005 Less 'make' chatter in batch mode
3006 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3007 * emacs-lisp/bytecomp.el (byte-compile-file):
3008 * files.el (save-buffer, basic-save-buffer):
3009 * international/quail.el (quail-update-leim-list-file):
3010 Don't output messages like "Generating ..." in batch mode.
3011
3012 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3013
3014 Unbreak `mouse-action' property in text buttons.
3015 * button.el (push-button): Fix regression from 2012-12-06.
3016
3017 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3018
3019 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3020
3021 * menu-bar.el (menu-bar-goto-menu): Use it.
3022
3023 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3024
3025 * progmodes/xref.el (xref--window-configuration): New variable.
3026 (xref-show-location-at-point): New command.
3027 (xref--restore-window-configuration): New function.
3028 (xref-next-line, xref-prev-line): Delegate to
3029 `xref-show-location-at-point'.
3030 (xref--location-at-point): Don't signal the error.
3031 (xref-goto-xref): Do that here instead.
3032 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3033 to `pre-command-hook'.
3034 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3035 `previous-line'. Additionally bind `xref-next-line' and
3036 `xref-prev-line' to `n' and `p' respectively.
3037 Bind `xref-show-location-at-point' to `C-o'.
3038
3039 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3040
3041 * tool-bar.el (tool-bar-local-item)
3042 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3043 make sure the tool-bar changes show on display.
3044
3045 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3046
3047 Sync with Tramp 2.2.11.
3048
3049 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3050 Make an alias for `default-toplevel-value' if it doesn't exist.
3051
3052 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3053 Use `tramp-compat-delete-directory'.
3054
3055 * net/trampver.el: Update release number.
3056
3057 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3058
3059 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3060 for remote files. (Bug#19449)
3061
3062 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3063
3064 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3065
3066 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3067
3068 Less 'make' chatter in lisp directory
3069 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3070 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3071 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3072
3073 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3074
3075 * info.el (info-display-manual): Limit the completion alternatives
3076 to currently visited manuals if prefix argument is non-nil.
3077
3078 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3079
3080 * Makefile.in (semantic): Simplify.
3081
3082 2014-12-30 Juri Linkov <juri@linkov.net>
3083
3084 * net/eww.el (eww-isearch-next-buffer): New function.
3085 (eww-mode): Set multi-isearch-next-buffer-function to it.
3086
3087 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3088
3089 * progmodes/xref.el (xref-find-definitions): Mention "no
3090 identifier at point" case in the docstring.
3091
3092 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3093 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3094 and `separator-tag-file' items.
3095
3096 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3097
3098 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3099 This is instead of system-name, which is both wrong here and obsolete.
3100 * desktop.el (desktop-save-frameset):
3101 * dnd.el (dnd-get-local-file-uri):
3102 * nxml/rng-uri.el (rng-uri-file-name-1):
3103 Prefer (system-name) to system-name, and avoid naming
3104 locals 'system-name'.
3105 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3106
3107 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3108
3109 * menu-bar.el (menu-bar-next-tag-other-window)
3110 (menu-bar-next-tag): Remove.
3111
3112 2014-12-29 K. Handa <handa@gnu.org>
3113
3114 * international/mule.el (make-translation-table-from-alist):
3115 Accept nil or zero-length vector for FROM and TO.
3116
3117 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3118
3119 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3120 display when resizing.
3121
3122 * net/shr.el (shr-width): Default to using the window width when
3123 rendering.
3124
3125 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3126
3127 Unbreak jumping to an alias's definition.
3128 * emacs-lisp/find-func.el (find-function-library): Return a pair
3129 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3130 (find-function-noselect): Use it.
3131 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3132 `elisp--xref-identifier-location', incorporate logic from
3133 `elisp--xref-find-definitions', use the changed
3134 `find-function-library' return value.
3135
3136 2014-12-29 Juri Linkov <juri@linkov.net>
3137
3138 * comint.el (comint-history-isearch-message): Use field-beginning
3139 instead of comint-line-beginning-position - that's more fixes for
3140 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3141 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3142
3143 2014-12-29 Juri Linkov <juri@linkov.net>
3144
3145 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3146 (vc-dir-mode-map): Bind it to "\C-o".
3147 (vc-dir-menu-map): Add it to menu.
3148
3149 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3150
3151 * progmodes/etags.el (find-tag-other-window)
3152 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3153 (tags-apropos): Declare obsolete.
3154
3155 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3156 with xref ones.
3157
3158 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3159
3160 * international/mule.el (define-coding-system): Fix typos in the
3161 doc string.
3162
3163 2014-12-28 Kenichi Handa <handa@gnu.org>
3164
3165 * international/mule.el (define-coding-system): Improve the doc
3166 string.
3167
3168 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3169
3170 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3171 elements in tables (bug#19444).
3172
3173 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3174 (bug#19445).
3175
3176 2014-12-28 Juri Linkov <juri@linkov.net>
3177
3178 * vc/compare-w.el: Require diff-mode for diff faces.
3179 (compare-windows-removed, compare-windows-added): New faces
3180 inheriting from diff faces.
3181 (compare-windows): Define obsolete face alias.
3182 (compare-windows-highlight): Replace face `compare-windows' with
3183 new faces `compare-windows-added' and `compare-windows-removed'
3184 (bug#19451).
3185 (compare-windows-get-recent-window): Signal an error when
3186 no other window is found (bug#19170).
3187
3188 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3189
3190 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3191 Skip features that have no sources.
3192
3193 * simple.el (execute-extended-command):
3194 When `suggest-key-bindings' is nil, don't.
3195
3196 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3197
3198 python.el: Native readline completion.
3199 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3200 (python-shell-completion-native-enable)
3201 (python-shell-completion-native-output-timeout): New defcustoms.
3202 (python-shell-completion-native-interpreter-disabled-p)
3203 (python-shell-completion-native-try)
3204 (python-shell-completion-native-setup)
3205 (python-shell-completion-native-turn-off)
3206 (python-shell-completion-native-turn-on)
3207 (python-shell-completion-native-turn-on-maybe)
3208 (python-shell-completion-native-turn-on-maybe-with-msg)
3209 (python-shell-completion-native-toggle): New functions.
3210 (python-shell-completion-native-get-completions): New function.
3211 (python-shell-completion-at-point): Use it.
3212
3213 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3214
3215 python.el: Enhance shell user interaction and deprecate
3216 python-shell-get-or-create-process.
3217 * progmodes/python.el (python-shell-get-process-or-error):
3218 New function.
3219 (python-shell-with-shell-buffer): Use it.
3220 (python-shell-send-string, python-shell-send-region)
3221 (python-shell-send-buffer, python-shell-send-defun)
3222 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3223 Add argument MSG to display user-friendly message when no process
3224 is running.
3225 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3226 (python-shell-make-comint): Rename argument SHOW from POP.
3227 Use display-buffer instead of pop-to-buffer.
3228 (run-python): Doc fix. Return process.
3229 (python-shell-get-or-create-process): Make obsolete.
3230
3231 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3232
3233 * progmodes/python.el (python-shell-buffer-substring):
3234 Handle cornercase when region sent starts at point-min.
3235
3236 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3237
3238 * language/misc-lang.el (composition-function-table): Add Syriac
3239 characters and also ZWJ/ZWNJ.
3240 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3241 for the details.
3242
3243 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3244
3245 python.el: Fix message when sending region.
3246 * progmodes/python.el (python-shell-send-region): Rename argument
3247 send-main from nomain. Fix message.
3248 (python-shell-send-buffer): Rename argument send-main from arg.
3249
3250 python.el: Cleanup temp files even with eval errors.
3251 * progmodes/python.el (python-shell-send-file): Make file-name
3252 mandatory. Fix temp file removal in the majority of cases.
3253
3254 python.el: Handle file encoding for shell.
3255 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3256 (python-shell--save-temp-file): Write file with proper encoding.
3257 (python-shell-buffer-substring): Add coding cookie for detected
3258 encoding to generated content. Fix blank lines when removing
3259 if-name-main block.
3260 (python-shell-send-file): Handle file encoding.
3261 (python-info-encoding-from-cookie)
3262 (python-info-encoding): New functions.
3263
3264 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3265
3266 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3267 Use `tramp-rsh-end-of-line', it ought to be more robust.
3268
3269 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3272 (bug#19397).
3273
3274 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3275
3276 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3277
3278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3279 as end-of-line delimeter for passwords, when running on MS Windows.
3280
3281 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3284 of indent-line-function (bug#19433).
3285
3286 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3287
3288 Fix line numbers on Python shell.
3289 * progmodes/python.el (python-shell--save-temp-file): Do not
3290 append coding cookie.
3291 (python-shell-send-string): Generalize for
3292 python-shell-send-region.
3293 (python--use-fake-loc): Delete var.
3294 (python-shell-buffer-substring): Cleanup fake-loc logic.
3295 (python-shell-send-region): Remove fake-loc logic, simplify.
3296
3297 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3298
3299 * progmodes/python.el (python-indent-post-self-insert-function):
3300 Make colon to re-indent only for dedenters, handling
3301 multiline-statements gracefully.
3302
3303 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3304
3305 * net/tramp.el (tramp-handle-insert-file-contents):
3306 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3307
3308 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3309
3310 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3311 arg MARKER.
3312 (tramp-get-remote-path): Use it.
3313
3314 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * subr.el (redisplay-dont-pause): Mark as obsolete.
3317
3318 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3319
3320 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3321 (tramp-accept-process-output): Use nil as argument for
3322 `accept-process-output', when there is a gateway prepended.
3323
3324 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3325 wrong debug buffer.
3326 (tramp-gw-open-connection): Set process coding system 'binary.
3327 (tramp-gw-open-network-stream): Handle HTTP error 403.
3328
3329 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3330 wrong debug buffer.
3331 (tramp-maybe-open-connection): Set connection property "gateway".
3332
3333 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * subr.el (sit-for): Tweak docstring (bug#19381).
3336
3337 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3338
3339 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3340 stage to after `diff-index' (bug#19386).
3341
3342 2014-12-27 João Távora <joaotavora@gmail.com>
3343
3344 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3345 `electric-pair-mode' (bug#19356).
3346
3347 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3348
3349 elisp-xref-find: Don't create buffers eagerly.
3350
3351 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3352 into `elisp--company-location'.
3353 (elisp--identifier-completion-table): Rename to
3354 `elisp--identifier-completion-table', and do not include just any
3355 symbols with a property list.
3356 (elisp-completion-at-point): Revert the 2014-12-25 change.
3357 (elisp--xref-identifier-file): New function.
3358 (elisp--xref-find-definitions): Use it.
3359
3360 * emacs-lisp/find-func.el (find-function-library): New function,
3361 extracted from `find-function-noselect'.
3362
3363 * progmodes/xref.el (xref-elisp-location): New class.
3364 (xref-make-elisp-location): New function.
3365 (xref-location-marker): New implementation.
3366
3367 2014-12-27 Juri Linkov <juri@linkov.net>
3368
3369 * minibuffer.el (minibuffer-completion-help):
3370 Use shrink-window-if-larger-than-buffer in window-height
3371 when temp-buffer-resize-mode is nil.
3372
3373 * window.el (with-displayed-buffer-window): Remove window-height
3374 from the action alist in the temp-buffer-window-show call
3375 when window-height is handled explicitly afterwards (bug#19355).
3376
3377 2014-12-27 Juri Linkov <juri@linkov.net>
3378
3379 Support subdirectories when saving places in dired.
3380 * saveplace.el (toggle-save-place, save-place-to-alist)
3381 (save-places-to-alist, save-place-dired-hook):
3382 Use dired-current-directory instead of dired-directory (bug#19436).
3383 (save-place-dired-hook): Add check for alist to make the new
3384 format future-proof to allow other possible formats.
3385
3386 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3387
3388 python.el: Generate clearer shell buffer names.
3389 * progmodes/python.el (python-shell-get-process-name)
3390 (python-shell-internal-get-process-name): Use `buffer-name`.
3391 (python-shell-internal-get-or-create-process): Simplify.
3392
3393 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3394
3395 Add basic xref apropos implementation to elisp-mode.
3396
3397 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3398 Filter out nil results.
3399 (elisp--xref-find-apropos): New function.
3400 (elisp-xref-find): Use it.
3401
3402 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3403
3404 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3405
3406 * dired-aux.el (dired-maybe-insert-subdir):
3407 Make dired-maybe-insert-subdir always skip trivial files.
3408
3409 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3410 Dmitry Gutov <dgutov@yandex.ru>
3411
3412 Consolidate cross-referencing commands.
3413
3414 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3415 `C-x 5 .' from etags.el to xref.el.
3416
3417 * progmodes/xref.el: New file.
3418
3419 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3420 (elisp--identifier-location): New function, extracted from
3421 `elisp--company-location'.
3422 (elisp--company-location): Use it.
3423 (elisp--identifier-completion-table): New variable.
3424 (elisp-completion-at-point): Use it.
3425 (emacs-lisp-mode): Set the local values of `xref-find-function'
3426 and `xref-identifier-completion-table-function'.
3427 (elisp-xref-find, elisp--xref-find-definitions)
3428 (elisp--xref-identifier-completion-table): New functions.
3429
3430 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3431 favor of `xref--marker-ring'.
3432 (tags-lazy-completion-table): Autoload.
3433 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3434 (find-tag-noselect): Use `xref-push-marker-stack'.
3435 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3436 (etags--xref-limit): New constant.
3437 (etags-xref-find, etags--xref-find-definitions): New functions.
3438
3439 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3440
3441 * cus-start.el (resize-mini-windows): Make it customizable.
3442
3443 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3444
3445 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3446 to (info "(emacs)Contributing"). (Bug#19299)
3447
3448 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3449
3450 * window.el (mouse-autoselect-window-position-1): New variable.
3451 (mouse-autoselect-window-cancel)
3452 (mouse-autoselect-window-select, handle-select-window):
3453 With delayed autoselection select window only if mouse moves after
3454 selecting its frame.
3455
3456 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3457
3458 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3459 remote file names. (Bug#18782)
3460
3461 2014-12-23 Sam Steingold <sds@gnu.org>
3462
3463 * shell.el (shell-display-buffer-actions): New user option.
3464 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3465 `pop-to-buffer-same-window'.
3466
3467 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3470 (js-syntax-propertize-regexp): Use it to recognize "slash in
3471 a character class" (bug#19397).
3472
3473 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * completion.el: Use post-self-insert-hook (bug#19400).
3476 (completion-separator-self-insert-command)
3477 (completion-separator-self-insert-autofilling): Remove.
3478 (completion-separator-chars): New var.
3479 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3480 of changing the keymap.
3481 (completion--post-self-insert): New function.
3482 (dynamic-completion-mode): Use it instead of rebinding keys.
3483 (cmpl--completion-string): Rename from completion-string.
3484 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3485
3486 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3487
3488 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3489 by leveraging `syntax-ppss'.
3490
3491 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3492
3493 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3494
3495 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3496
3497 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3498
3499 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3500
3501 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3502
3503 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3504
3505 * let-alist.el (let-alist): Enable access to deeper alists by
3506 using dots inside the dotted symbols.
3507
3508 2014-12-19 Alan Mackenzie <acm@muc.de>
3509
3510 Make C++11 uniform init syntax work.
3511 New keywords "final" and "override".
3512 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3513 New function.
3514 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3515 new function.
3516 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3517 carefully for "are we at a declarator?" using
3518 c-back-over-member-initializers.
3519 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3520 and "override" in the C++ value.
3521
3522 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3523
3524 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3525
3526 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3527
3528 * net/nsm.el (nsm-save-host): Don't save the host name twice
3529 (bug#19269).
3530
3531 2014-12-18 Sam Steingold <sds@gnu.org>
3532
3533 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3534 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3535 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3536 * menu-bar.el (menu-bar-buffer-vector): Extract from
3537 `menu-bar-update-buffers'.
3538 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3539 (buffer-menu-open): New user command, bound globally to C-f10,
3540 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3541 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3542 convert the value returned by `mouse-buffer-menu-map' to a list
3543 acceptable to `popup-menu' for `buffer-menu-open'.
3544
3545 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3546
3547 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3548
3549 2014-12-18 Sam Steingold <sds@gnu.org>
3550
3551 * emacs-lisp/package.el: Avoid compilation warning by declaring
3552 the `find-library-name' function.
3553 (package-activate-1): Fix the `with-demoted-errors' calls:
3554 the first argument must be a string literal.
3555
3556 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3557
3558 Add code for "preserving" window sizes.
3559 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3560 `preserve-size' t.
3561 (dired-mark-pop-up): Preserve size of window showing marked files.
3562 * electric.el (Electric-pop-up-window):
3563 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3564 with `preserve-size' t.
3565 * minibuffer.el (minibuffer-completion-help):
3566 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3567 (Bug#19355). Preserve size of completions window.
3568 * register.el (register-preview): Preserve size of register
3569 preview window.
3570 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3571 with `preserve-size' t (Bug#1291).
3572 * window.el (with-displayed-buffer-window): Add calls to
3573 `window-preserve-size'.
3574 (window-min-pixel-size, window--preservable-size)
3575 (window-preserve-size, window-preserved-size)
3576 (window--preserve-size, window--min-size-ignore-p): New functions.
3577 (window-min-size, window-min-delta, window--resizable)
3578 (window--resize-this-window, split-window-below)
3579 (split-window-right): Amend doc-string.
3580 (window--min-size-1, window-sizable, window--size-fixed-1)
3581 (window-size-fixed-p, window--min-delta-1)
3582 (frame-windows-min-size, window--max-delta-1, window-resize)
3583 (window--resize-child-windows, window--resize-siblings)
3584 (enlarge-window, shrink-window, split-window): Handle preserving
3585 window sizes.
3586 (adjust-window-trailing-edge): Handle preserving window
3587 sizes. Signal user-error instead of an error when there's no
3588 window above or below.
3589 (window--state-put-2): Handle horizontal scroll bars.
3590 (window--display-buffer): Call `preserve-size' if asked for.
3591 (display-buffer): Mention `preserve-size' alist member in doc-string.
3592 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3593 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3594 scroll bar on ispell's windows. Don't count window lines and
3595 don't deal with dedicated windows.
3596 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3597 do the window handling.
3598 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3599 (ispell-display-buffer): New function to reuse, create and fit
3600 window to ispell's buffers. (Bug#3413)
3601
3602 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3603
3604 * emacs-lisp/package.el (package-activate): Do not re-activate or
3605 reload the dependencies (bug#19390).
3606
3607 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3610 (c-update-modeline):
3611 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3612 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3613 (c-mode-base-map): Use c-subword-mode.
3614
3615 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3616
3617 * international/mule-diag.el (describe-font-internal):
3618 Display additional info returned by font-info.
3619
3620 * linum.el (linum--face-width): Rename from linum--face-height,
3621 and use the new functionality of font-info.
3622 (linum-update-window): Use linum--face-width and frame-char-width,
3623 instead of approximating with height.
3624
3625 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3626
3627 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3628 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3629
3630 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3631 and a docstring.
3632 (package-activate): Call itself on dependencies on PACKAGE with
3633 the same FORCE argument. Pass FORCE as RELOAD into
3634 `package-activate-1' (bug#19390).
3635
3636 2014-12-17 Sam Steingold <sds@gnu.org>
3637
3638 * emacs-lisp/package.el (package--list-loaded-files):
3639 Handle `(nil ...)' elements in `load-history'.
3640
3641 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3642
3643 * net/tramp-sh.el (tramp-histfile-override): New variable.
3644 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3645
3646 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3647
3648 * vc/vc.el: Improve `dir-status-files' description.
3649
3650 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3651 file-truename on load-history elements (bug#19390).
3652
3653 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3654
3655 * emacs-lisp/seq.el: New file.
3656
3657 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3660 is 0 and there is no input pending.
3661
3662 2014-12-15 Juri Linkov <juri@linkov.net>
3663
3664 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3665 only on the return value (bug#19383).
3666
3667 2014-12-15 Juri Linkov <juri@linkov.net>
3668
3669 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3670 the wrapped search by the length of the search string to be able
3671 to lazy-highlight the whole search string at point (bug#19353).
3672
3673 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3674
3675 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3676
3677 2014-12-14 Alan Mackenzie <acm@muc.de>
3678
3679 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3680
3681 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3682
3683 * let-alist.el: Add lexical binding.
3684
3685 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3686
3687 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3688 for the "Version" column, to accomodate date-and-time-based versions.
3689
3690 2014-12-14 Cameron Desautels <camdez@gmail.com>
3691
3692 * cus-edit.el (custom-unsaved-options): New function, extracted
3693 from `customize-unsaved'.
3694 (custom-unsaved): Use it.
3695 (custom-prompt-customize-unsaved-options): New function.
3696 (Bug#19328)
3697
3698 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3699
3700 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3701
3702 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3703
3704 Move ASYNC argument to the `diff' VC command to the fifth
3705 position, for better compatibility with existing third-party code,
3706 and document it.
3707
3708 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3709 backend `diff' command in the last position.
3710
3711 * vc/vc-svn.el (vc-svn-diff):
3712 * vc/vc-src.el (vc-src-diff):
3713 * vc/vc-sccs.el (vc-sccs-diff):
3714 * vc/vc-rcs.el (vc-rcs-diff):
3715 * vc/vc-mtn.el (vc-mtn-diff):
3716 * vc/vc-hg.el (vc-hg-diff):
3717 * vc/vc-git.el (vc-git-diff):
3718 * vc/vc-dav.el (vc-dav-diff):
3719 * vc/vc-cvs.el (vc-cvs-diff):
3720 * vc/vc-bzr.el (vc-bzr-diff):
3721 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3722
3723 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3724
3725 * emacs-lisp/cconv.el (cconv--analyze-use):
3726 Rename from cconv--analyse-use.
3727 (cconv--analyze-function): Rename from cconv--analyse-function.
3728 (cconv-analyze-form): Rename from cconv-analyse-form.
3729
3730 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3731
3732 * net/shr.el (shr-next-link): Don't error out at eob.
3733
3734 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3735
3736 * isearch.el (isearch-open-necessary-overlays): Open overlay
3737 ending at point (bug#19333).
3738
3739 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3740
3741 * net/shr.el (shr-fold-text): New function.
3742 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3743 alt/title texts.
3744 (shr-fold-text): Inhibit state from being altered.
3745
3746 * files.el (directory-files-recursively): Really check whether
3747 files are symlinks.
3748 (directory-name-p): New function.
3749 (directory-files-recursively): Use it.
3750
3751 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3752
3753 * emacs-lisp/package.el (package--list-loaded-files): New function
3754 to list files in a given directory which correspond to already
3755 loaded files.
3756 (package-activate-1): Reload files given by `package--list-loaded-files'.
3757 Fix bug#10125, bug#18443, and bug#18448.
3758
3759 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3760
3761 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3762
3763 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3764
3765 * simple.el (password-word-equivalents): Add "passcode", used for
3766 numeric secrets like PINs or RSA tokens.
3767
3768 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3769
3770 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3771 order to determine `tramp-own-remote-path'.
3772
3773 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3774
3775 * progmodes/python.el (python-shell-parse-command):
3776 Quote `python-shell-interpreter`. (Bug#19289)
3777
3778 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3781 (python-indent-levels): Document extra value.
3782 (python-indent-calculate-indentation): Return `noindent' in strings.
3783 (python-indent-post-self-insert-function)
3784 (python-indent-calculate-levels): Handle new value.
3785
3786 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3787
3788 * net/network-stream.el (network-stream-open-starttls): No need to
3789 check for the availability of `gnutls-available-p'.
3790
3791 * files.el (directory-files-recursively): Don't follow symlinks to
3792 other directories.
3793
3794 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3795
3796 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3797 * vc/vc.el: latest-on-branch-p is no longer a public method.
3798
3799 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3800 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3801 Remove `rollback' method, to be replaced in the future by uncommit.
3802
3803 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3804
3805 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3806 that there is empty output.
3807
3808 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3811 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3812
3813 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3814
3815 * let-alist.el: Add new package and macro.
3816
3817 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3818
3819 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3820 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3821 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3822
3823 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3824
3825 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3826 trouble with ls over ftp. These flags result in ls returning no
3827 output, causing Tramp-breakage. (bug#19192)
3828
3829 2014-12-10 Andreas Schwab <schwab@suse.de>
3830
3831 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3832
3833 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3834
3835 * files.el (directory-files-recursively):
3836 Use `file-name-all-completions' instead of `directory-files' for
3837 greater speed.
3838
3839 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3840 <object>.
3841
3842 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3843
3844 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3845 and Puppetfile.
3846 (ruby-toggle-string-quotes): New command that allows you to quickly
3847 toggle between single-quoted and double-quoted string literals.
3848
3849 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3850
3851 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3852 list, avoids problems witt names containing hyphens.
3853
3854 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3855
3856 Sync with upstream verilog-mode revision aa4b777.
3857 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3858 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3859 (verilog-set-auto-endcomments): Automatically comment property/
3860 endproperty blocks to match other similar blocks like sequence/
3861 endsequence, function/endfunction, etc. Reported by Alex Reed.
3862 (verilog-set-auto-endcomments): Fix end comments for functions of
3863 type void, etc. Detect the function- or task-name when
3864 auto-commenting blocks that lack an explicit portlist.
3865 Reported by Alex Reed.
3866 (verilog-nameable-item-re): Fix nameable items that can have an
3867 end-identifier to include endchecker, endgroup, endprogram,
3868 endproperty, and endsequence. Reported by Alex Reed.
3869 (verilog-preprocessor-re, verilog-beg-of-statement):
3870 Fix indentation of property/endproperty around pre-processor
3871 directives. Reported by Alex Reed.
3872 (verilog-label-be): When auto-commenting a buffer, consider
3873 auto-comments on all known keywords (not just a subset thereof).
3874 Reported by Alex Reed.
3875 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3876 Reported by Alex Reed.
3877 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3878 Fix hanging with many curly-bracket pairs, bug663.
3879 (verilog-do-indent): Fix electric tab deleting form-feeds.
3880 Note caused by indent-line-to deleting tabls pre 24.5.
3881 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3882 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3883 (verilog-read-always-signals, verilog-auto-sense-sigs)
3884 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3885 bug844. Reported by Greg Hilton.
3886
3887 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3888
3889 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3890 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3891 'foreach', and 'do' keywords.
3892 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3893 Fix labeling do-while blocks, bug842.
3894 (verilog-backward-token): Fix indenting sensitivity lists with
3895 named events, bug840.
3896
3897 2014-12-09 Reto Zimmermann <reto@gnu.org>
3898
3899 Sync with upstream vhdl mode v3.36.1.
3900 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3901 (vhdl-compiler-alist): Anchor all error regexps.
3902 (vhdl-compile-use-local-error-regexp): Change default to nil.
3903 (vhdl-asort, vhdl-anot-head-p): Remove.
3904 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3905 Remove optional argument of vhdl-aget and update all callers.
3906 (vhdl-import-project): Also set `vhdl-compiler'.
3907
3908 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3909
3910 * files.el (find-files): New function.
3911
3912 * net/shr.el (shr-dom-print): Don't print comments.
3913 (shr-tag-svg): Give inline SVG images the right type.
3914
3915 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3916 certificates in the header line.
3917 (eww-invalid-certificate, eww-valid-certificate): New faces.
3918
3919 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3920
3921 * progmodes/python.el (inferior-python-mode):
3922 Set `comint-prompt-read-only` to `t` only locally.
3923
3924 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3925
3926 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3927 (nsm-format-certificate): Include more data about the connection.
3928 (nsm-query): Fill the text to that it looks nicer.
3929 (nsm-check-protocol): Also warn if using SSL3 or older.
3930
3931 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3934
3935 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3936
3937 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3938
3939 * info.el (Info-mode-map): Remove left-over binding.
3940
3941 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3942 (avl-tree--root): Remove redundant defsetf.
3943
3944 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3945
3946 * net/nsm.el (network-security-level): Remove the detailed
3947 description, which was already outdated, and refer the users to
3948 the manual.
3949 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3950 (bug#19153).
3951
3952 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3953
3954 * net/eww.el (eww-buffers-mode): New major mode.
3955 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3956 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3957 New commands/functions (bug#19131).
3958
3959 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3960
3961 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3962 'file-name-handler-alist' since the gnutls library can't use those
3963 (bug#15866).
3964
3965 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3966
3967 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3968 when FILES is non-nil (bug#19304).
3969
3970 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3971
3972 * vc/vc-arch.el: Move to obsolete directory so a test framework
3973 won't trip over bit-rot in it. There has been no Arch snapshot
3974 for nine years.
3975
3976 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3977
3978 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3979 previous behavior.
3980 (eww-copy-page-url): Add doc string.
3981
3982 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3983
3984 * net/eww.el (eww): Move history recording here...
3985 (eww-browse-url): ... from here (bug#19253).
3986
3987 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3988 iterating over possible buffer names.)
3989
3990 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3991
3992 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3993 (eww-current-buffer): Compilation fix for bug#18550 patch.
3994
3995 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3996
3997 * net/eww.el (eww-list-histories): Restore the history in the
3998 correct buffer (bug#18550).
3999
4000 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4001
4002 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
4003 displaying shortened titles first (bug#16398).
4004
4005 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
4006
4007 * progmodes/python.el: Recognize docstrings.
4008 (python-docstring-at-p, python-font-lock-syntactic-face-function):
4009 New functions.
4010 (python-mode): Use them.
4011
4012 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
4013
4014 * net/newst-treeview.el (newsticker--treeview-list-add-item)
4015 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4016 (newsticker--treeview-create-groups-menu)
4017 (newsticker--treeview-create-tree-menu): Remove.
4018 (newsticker--treeview-tree-open-menu): New.
4019 (newsticker-treeview-tree-click): Pass event to
4020 `newsticker-treeview-tree-do-click'.
4021 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4022
4023 2014-12-05 Juri Linkov <juri@linkov.net>
4024
4025 * comint.el (comint-history-isearch-search)
4026 (comint-history-isearch-wrap): Use field-beginning instead of
4027 comint-line-beginning-position.
4028 (comint-send-input): Go to the end of the field instead of the end
4029 of the line to accept whole multi-line input.
4030 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4031
4032 2014-12-05 Juri Linkov <juri@linkov.net>
4033
4034 * minibuffer.el (minibuffer-completion-help):
4035 Compare selected-window with minibuffer-window to check whether
4036 completions should be displayed near the minibuffer. (Bug#17809)
4037 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4038
4039 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4040
4041 * vc/vc-mtn.el (vc-mtn-root):
4042 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4043
4044 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4047 of the whole pipe when indenting an opening keyword after a |.
4048 Generalize this treatment to opening keywords like "while" (bug#18031).
4049
4050 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * simple.el (newline): Place the hook buffer-locally,
4053 to make sure it's first.
4054
4055 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4056 Fix handling of symbols with different syntax at beginning/end or with
4057 symbol rather than word syntax.
4058
4059 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4060
4061 * simple.el (line-move): If noninteractive, call line-move-1, not
4062 forward-line, since the former is compatible with line-move-visual
4063 both in terms of the column to which it moves and the return
4064 value. (Bug#19211)
4065
4066 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * vc/ediff-init.el (ediff-odd-p): Remove.
4069 (ediff-background-face): Use cl-oddp instead.
4070 (ediff-buffer-live-p): Make it a defsubst.
4071
4072 * tooltip.el (tooltip-region-active-p): Remove.
4073
4074 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4075 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4076
4077 * fringe.el (fringe-bitmap-p): Make it a plain function.
4078
4079 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4080 (class-p, generic-p, eieio-object-p, class-abstract-p):
4081 Make them defsubst, so as to avoid corner case problems where
4082 the arg might be evaluated in the condition-case, or it can't be passed
4083 to higher-order functions like `cl-some'.
4084
4085 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4086
4087 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4088 and remove old menu-related code.
4089
4090 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091
4092 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4093 display PDF files (bug#19270).
4094
4095 2014-12-05 Juri Linkov <juri@linkov.net>
4096
4097 Compare with the most recent window by default.
4098 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4099 (compare-windows-get-recent-window)
4100 (compare-windows-get-next-window): New functions.
4101 (compare-windows, compare-windows-sync-default-function):
4102 Use `compare-windows-get-window-function' instead of `next-window'.
4103 (compare-windows): Add diff/match messages with region boundaries.
4104 (Bug#19170)
4105
4106 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4109
4110 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4111
4112 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4113
4114 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4115
4116 Implement copying of a buffer portion while preserving visual order.
4117 * simple.el (bidi-directional-controls-chars)
4118 (bidi-directional-non-controls-chars): New variables.
4119 (squeeze-bidi-context-1, squeeze-bidi-context)
4120 (line-substring-with-bidi-context)
4121 (buffer-substring-with-bidi-context): New functions.
4122
4123 * files.el (file-tree-walk): Doc fix.
4124
4125 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4126 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4127
4128 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4129 program support to match more extensions. Replace non-alnum
4130 characters when generating include guards (headers) and check for
4131 more extensions when generating includes (programs)
4132 (bug#19254).
4133
4134 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4135
4136 * files.el (file-tree-walk): Fix docstring.
4137
4138 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4139
4140 Fix bug whereby saving files hung in VC hook.
4141
4142 Saving a buffer visiting a file under SVN control would hang if
4143 the remote repository were unreachable, because the VC hooks tried
4144 to run "svn status -u" on the file, where the "-u" tells svn to
4145 get update information from the remote repository.
4146 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4147
4148 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4149 argument and always pass "-v" to "svn status", never "-u".
4150
4151 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * emacs-lisp/inline.el: Fix up copyright header.
4154 (inline-quote, inline-const-p, inline-const-val, inline-error):
4155 Silence compiler warnings.
4156 (inline-letevals): Fix edebug spec.
4157 (inline--testconst-p): Consider lambda expressions as const-p.
4158 (inline--getconst-val): Use inline--testconst-p.
4159
4160 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4161 and change default to stay in the minibuffer when called from
4162 the minibuffer (bug#19250).
4163 (lazy-completion-table): Use this new argument to preserve the
4164 old behavior.
4165
4166 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4167 incorrect lexical elements (bug#19250).
4168
4169 2014-12-03 A. N. Other <none@example.com>
4170
4171 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4172
4173 2014-12-02 Glenn Morris <rgm@gnu.org>
4174
4175 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4176
4177 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4178
4179 * subr.el (filter): New macro. Because it's just silly for a Lisp
4180 not to have this in 2014. And VC needs it.
4181
4182 * vc.el: All backends: API simplification: Abolish dir-status.
4183 It's replaced by dir-status-files.
4184
4185 * vc.el: All backends: API simplification: Remove 4th
4186 'default-state' argument from vc-dir-status files and its backend
4187 methods - no backend method ever set it. It was used only in the
4188 fallback method to to set a default of 'up-to-date, though a
4189 convoluted call chain obscured this.
4190
4191 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4192
4193 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4194 improving behavior on directories using multiple file-oriented VCSes.
4195
4196 * vc/vc.el: All backends: API simplification; clear-headers
4197 is no longer a public method. It is now local to the one place
4198 it's used, in the RCS steal-lock method.
4199
4200 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4201
4202 * vc/vc.el: In all backends: API simplification; could-register
4203 is no longer a public method. (vc-cvs.el still has a private
4204 implementation.)
4205
4206 * vc/vc.el: In all backends: API cleanup; the backend diff method
4207 takes an explicit async flag. This eliminates a particularly ugly
4208 global.
4209
4210 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4211 VC randomly/unpredictably fails without it; cause not yet established.
4212
4213 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 Merge some of the differences from the standalone CC-mode.
4216 The main change is to only use the `category' text-property only when
4217 available. For that many calls are changed to use c-get-char-property,
4218 c-next-single-property-change, c-sc-scan-lists,
4219 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4220
4221 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4222 (c-basic-common-init): Initialize it.
4223 (c-common-init): Only use mode-require-final-newline when available.
4224 (c-before-change): Check and set c-just-done-before-change.
4225 (c-after-change): Re-set c-just-done-before-change.
4226 (c-advise-fl-for-region): New macro.
4227 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4228 (font-lock-after-change-function, jit-lock-after-change):
4229 Advise if needed.
4230
4231 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4232 (c-known-type-key): Don't make a list just to throw it away.
4233
4234 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4235 Handle the case where categories are not available.
4236 (c-record-parse-state-state, c-replay-parse-state-state):
4237 Handle marker values.
4238 (c-before-change-check-<>-operators): Look for the `syntax-table'
4239 property rather than for the corresponding `category'.
4240 (c-looking-at-decl-block): Remove unused var
4241 `c-disallow-comma-in-<>-arglists'.
4242 (c-forward-<>-arglist-recur): Remove unused var
4243 `orig-record-found-types'.
4244
4245 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4246 (c-use-category): New const.
4247 (c-next-single-property-change): New macro.
4248 (c-region-is-active-p): Prefer region-active-p when available.
4249 (c-search-backward-char-property): Fix old min/max typo; probably
4250 a copy/paste error.
4251 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4252 Turn them into macros that obey c-use-category.
4253 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4254 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4255 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4256 (c-looking-at-non-alphnumspace): New macros.
4257 (c-sc-parse-partial-sexp-no-category): New function.
4258 (c-emacs-features): Add `category-properties' element.
4259
4260 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4261 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4262 not available.
4263 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4264 (c-indent-line-or-region): Use c-region-is-active-p.
4265
4266 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4267 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4268 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4269 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4270 (cc-bytecomp-obsolete-fun): Delete unused functions.
4271
4272 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4273
4274 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4275
4276 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4277 dom.el changes.
4278
4279 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4282 current "project" rather than just the current directory.
4283 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4284 the file names make sense.
4285
4286 * vc/smerge-mode.el (smerge-swap): New command.
4287
4288 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4289
4290 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4291
4292 * net/newst-treeview.el (newsticker--treeview-item-show):
4293 Check window liveliness before measuring its width.
4294
4295 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4296 Pass correct status to `newsticker--sentinel-work'.
4297 (newsticker--sentinel-work): Use "newsticker--download-error" as
4298 guid in order to prevent multiple "Could not download..."
4299 messages. (Bug#19166)
4300
4301 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4302
4303 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4304 correct buffer (bug#19225).
4305
4306 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4307
4308 * net/nsm.el (network-security-level): Change the default to `medium'.
4309
4310 * net/eww.el (eww): Leave point in a place that doesn't cause
4311 scrolling when displaying "Loading...".
4312
4313 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4314
4315 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4316 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4317 'merge-branch'. Prompting for merge revisions is pushed down to
4318 the back ends; this fixes a layering violation that caused bad
4319 behavior with SVN.
4320
4321 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4322 vc-stay-local-p and repository-hostname are no longer public
4323 methods. Only the CVS and SVN backends used these, and the SVN
4324 support was conditioned out because svn status -v is too slow.
4325 The CVS back end retains this machinery and the vc-stay-local
4326 configuration variable now only affects it.
4327
4328 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * emacs-lisp/inline.el: New file.
4331
4332 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4333
4334 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4335 vc-state-heuristic is no longer a public method, having been
4336 removed where it is redundant, unnecessary, or known buggy.
4337 This eliminated all backends except CVS. Eliminates bug#7850.
4338
4339 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4340 Eliminate vc-mistrust-permissions. It was only relevant to the
4341 RCS and SCCS back ends and defaulted to t. Code now always
4342 mistrusts permissions - by actual measurement the effect on
4343 performance is negligible. As a side effect bug#11490 is now
4344 irrelevant.
4345
4346 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4347 vc-workfile-unchanged-p is no longer a public method (but the RCS
4348 and SCCS back ends retain it as a private method used in state
4349 computation). This method was redundant with vc-state and usually
4350 implemented as a trivial call to same. Fixes the failure mode
4351 described in bug#694.
4352
4353 * vc/vc.el: All backends: API simplification; init-revision is
4354 gone, and vc-registered functions no longer take an
4355 initial-revision argument.
4356
4357 2014-11-29 Glenn Morris <rgm@gnu.org>
4358
4359 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4360 (vc-src-master-templates): Fix :version tags.
4361
4362 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4363
4364 * outline.el (outline-move-subtree-down): Refactor and improve code.
4365
4366 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4367 Stefan Monnier <monnier@iro.umontreal.ca>
4368
4369 * outline.el (outline-move-subtree-down): Make sure we can move
4370 forward to find the end of the subtree and the insertion point
4371 (bug#19102).
4372
4373 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4374
4375 * progmodes/python.el (python-shell-completion-setup-code):
4376 Use __builtin__ module (or builtins in Python 3) and catch all errors
4377 when importing readline and rlcompleter.
4378
4379 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4380
4381 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4382 (todo-revert-buffer): New function.
4383 (todo-modes-set-1): Use it as the buffer-local value of
4384 revert-buffer-function.
4385
4386 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4387
4388 * calendar/todo-mode.el (todo-mode): If called interactively, just
4389 display a message saying to call todo-show to enter Todo mode
4390 (Bug#19112).
4391
4392 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4393
4394 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4395 (Bug#18579)
4396
4397 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4398 files. (Bug#18579)
4399
4400 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4403 remote `buffer-file-name'.
4404
4405 2014-11-29 Leo Liu <sdl.web@gmail.com>
4406
4407 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4408
4409 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4410
4411 Set PYTHONUNBUFFERED on shell startup.
4412
4413 * progmodes/python.el (python-shell-unbuffered): New var.
4414 (python-shell-calculate-process-environment): Use it.
4415
4416 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4417
4418 * net/tramp.el (tramp-action-password): Clean password on subsequent
4419 attempts even if there was no wrong password indication. (Bug#19047)
4420
4421 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4422 fallback.
4423 (tramp-open-connection-setup-interactive-shell): No need to check
4424 for nil as `tramp-get-remote-locale' return value.
4425
4426 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4427
4428 * vc/vc-git.el (vc-git-command, vc-git--call):
4429 Bind coding-system-for-read and coding-system-for-write to
4430 vc-git-commits-coding-system.
4431 (vc-git-previous-revision): Use "~1" instead of "^", since the
4432 latter is a special character for MS-Windows system shells.
4433
4434 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4435
4436 Improve XEmacs compatibility.
4437
4438 * net/tramp.el (tramp-autoload-file-name-handler):
4439 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4440 exist in XEmacs.
4441 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4442 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4443 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4444 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4445 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4446 * net/tramp-cache.el (tramp-get-file-property):
4447 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4448 Use `time-less-p' and `time-subtract, respectively.
4449
4450 * net/tramp-adb.el (top): Do not require time-date.el.
4451
4452 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4453
4454 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4455 Check, whether `utf-8' is a valid coding system.
4456
4457 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4458
4459 * vc/vc.el (vc-retrieve-tag): Doc fix.
4460
4461 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4464 (bug#19152).
4465
4466 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4467
4468 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4469 * help.el (help-window-old-frame): New variable.
4470 (help-window-select): Default to nil (Bug#11039).
4471 Rewrite doc-string.
4472 (help-window-setup): When the help window appears on another
4473 frame and `help-window-select' is non-nil, give that frame input
4474 focus too (Bug#19012).
4475 (with-help-window): Store selected frame in
4476 help-window-old-frame.
4477
4478 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4479
4480 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4481 nil value for `newsticker-groups-filename'.
4482
4483 2014-11-28 Daiki Ueno <ueno@gnu.org>
4484
4485 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4486 (epa-sign-region, epa-encrypt-region):
4487 Use `epg-context-set-{passphrase,progress}-callback', instead of
4488 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4489 Reported by José A. Romero L.
4490
4491 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4492
4493 * net/eww.el (eww-restore-history):
4494 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4495
4496 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4497
4498 * net/newst-backend.el (newsticker--parse-atom-1.0):
4499 Handle embedded (x)html in summary node.
4500
4501 2014-11-27 Sam Steingold <sds@gnu.org>
4502
4503 * menu-bar.el (menu-bar-open): When everything else fails,
4504 use (mouse-menu-bar-map).
4505
4506 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4507
4508 * net/newst-treeview.el (newsticker-groups-filename):
4509 Change default value to nil. Point out that variable is obsolete in doc
4510 string.
4511 (newsticker--treeview-load): Change wording of the questions the
4512 user is asked when `newsticker-groups-filename' is found to be
4513 used and we offer to read and remove the groups file. (Bug#19165)
4514
4515 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4516
4517 * net/eww.el (eww): Record the new URL immediately, so that if the
4518 HTTP fetch fails, we have the right URL in the buffer.
4519 (eww-process-text-input): Don't shorten the input field if
4520 deleting at the last character (bug#19085).
4521 (eww-restore-history): Inhibit change functions while restoring
4522 the history.
4523 (eww-process-text-input): Fix deletion at the start of the field, too.
4524 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4525 (eww-process-text-input): Try to keep track of the size more reliably.
4526
4527 * dom.el (dom-pp): New function.
4528
4529 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4530
4531 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4532 Don't assume --long is the default for "bzr log", always specify
4533 it explicitly, in case the user defined an alias for 'log' that
4534 uses some other format.
4535
4536 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4537
4538 * progmodes/python.el (python-eldoc--get-doc-at-point):
4539 Strip shell output before returning. (bug#18794)
4540
4541 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4542
4543 Fix indentation before `!=' and after `+='. Originally reported
4544 in https://github.com/mooz/js2-mode/issues/174.
4545 * progmodes/js.el (js--indent-operator-re): Make assignments and
4546 (in)equality operator a separate case.
4547 (js--continued-expression-p): Escape the second `+' in the regexp.
4548
4549 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4552
4553 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4554
4555 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4556 when querying about new certificates.
4557
4558 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4559
4560 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4561 can be strings.
4562 (dom-elements): Protect against non-text nodes.
4563 (dom-non-text-children): New function.
4564
4565 * net/eww.el (eww-tag-title): Use `dom-text'.
4566
4567 2014-11-26 Sam Steingold <sds@gnu.org>
4568
4569 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4570
4571 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4572
4573 * net/eww.el (eww-highest-readability): More dom.el fixes.
4574
4575 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4576
4577 * net/newst-backend.el (newsticker--parse-generic-items):
4578 Take care of UIDs when adding elements to cache.
4579
4580 2014-11-26 Alan Mackenzie <acm@muc.de>
4581
4582 Remove spurious reference to symbol category_properties.
4583 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4584
4585 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4586
4587 * net/eww.el: Use the new dom.el accessors throughout.
4588
4589 * net/shr.el: Ditto.
4590
4591 * dom.el: New file.
4592
4593 2014-11-26 Glenn Morris <rgm@gnu.org>
4594
4595 * arc-mode.el (archive-visit-single-files): Add :version.
4596
4597 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4598
4599 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4600 elements.
4601 (nsm-warnings-ok-p): The new version of this function always
4602 returned nil when everything was OK.
4603
4604 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4605
4606 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4607
4608 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4609 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4610
4611 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4612
4613 * emacs-lisp/byte-run.el (function-put): Match argument names to
4614 docstring.
4615
4616 2014-11-24 Sam Steingold <sds@gnu.org>
4617
4618 * vc/vc-hooks.el (vc-directory-exclusion-list):
4619 Fix a trivial typo (bug#19171).
4620
4621 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * vc/vc-hooks.el (vc-state-base-face): Don't override
4624 mode-line-inactive.
4625
4626 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4627
4628 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4629 (eww-process-text-input): Inhibit read only so that input fields
4630 don't get shortened (bug#19085).
4631
4632 2014-11-24 Leo Liu <sdl.web@gmail.com>
4633
4634 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4635
4636 * window.el (with-temp-buffer-window)
4637 (with-current-buffer-window, with-displayed-buffer-window):
4638 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4639 * emacs-lisp/cl-lib.el (substring):
4640 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4641
4642 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4643
4644 * isearch.el (isearch-update): Don't assume
4645 pos-visible-in-window-p will return nil when point is hscrolled
4646 out of view. (Bug#19157)
4647
4648 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4649
4650 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4651 (eww-follow-link): Follow in new buffer in case of prefix
4652 argument, open externally with double prefix (bug#19130).
4653
4654 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4655
4656 * net/eww.el (eww-display-html): Decode the document-defined charset.
4657 (eww): Pop to the *eww* buffer immediately after executing the
4658 `M-x eww' command to avoid having buffers pop up later.
4659 (eww-display-html): Don't pop the *eww* buffer.
4660 (eww-display-raw): Ditto.
4661 (eww-display-image): Ditto.
4662 (eww-follow-link): Make going to #targets in the page work again.
4663
4664 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4665
4666 * net/eww.el (eww-suggest-uris): New variable.
4667 (eww-suggested-uris): New function.
4668 (eww): Default to URL under point.
4669 (eww-links-at-point): New function.
4670
4671 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4672
4673 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4674
4675 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4676
4677 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4678
4679 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4680
4681 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4682 (eww-display-raw): Use it (bug#16225).
4683
4684 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4685
4686 * net/nsm.el (network-security-level): Rename from
4687 `nsm-security-level' and documented.
4688
4689 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4690 we're sending a password.
4691
4692 * net/nsm.el: New file that implements a Network Security Manager.
4693
4694 * net/network-stream.el (open-network-stream): Add a new
4695 :warn-unless-encrypted parameter.
4696 (network-stream-open-plain): Allow warning unless encrypted.
4697 (network-stream-open-starttls): Call the Network Security Manager.
4698 (network-stream-open-tls): Ditto.
4699
4700 2014-11-23 Leo Liu <sdl.web@gmail.com>
4701
4702 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4703 (calendar-chinese-to-absolute-for-diary)
4704 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4705 Handle leap months in Chinese calendar. (Bug#18953)
4706
4707 2014-11-22 Alan Mackenzie <acm@muc.de>
4708
4709 Fix error with `mark-defun' and "protected:" in C++ Mode.
4710 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4711 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4712
4713 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4714
4715 * net/newst-backend.el (newsticker--sentinel-work):
4716 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4717
4718 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4719
4720 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4721 (tramp-sh-handle-process-file): Propagate `process-environment'.
4722
4723 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4724 Tramp propagates environment variables now.
4725
4726 2014-11-22 Eric S. Raymond <esr@snark>
4727
4728 * vc/vc-filewise.el: New file to isolate code used only by the
4729 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4730 live in vc.el and certainly not in vc-hooks.el.
4731
4732 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4733 This is preparatory to isolating all the 'master' functions
4734 used only by the file-oriented back ends. With this done first,
4735 the substantive diffs will be easier to read.
4736
4737 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4738
4739 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4740 that is recognized by `help-mode'.
4741
4742 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * desktop.el (desktop-create-buffer): Use activate-mark to set
4745 `mark-active' (bug#19058).
4746
4747 2014-11-21 Eric S. Raymond <esr@snark>
4748
4749 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4750 nil state.
4751
4752 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4753
4754 * vc/vc.el (vc-deduce-fileset): Support invocation from
4755 *vc-change-log* buffer. (Bug#19084)
4756
4757 2014-11-13 Matthew Leach <matthew@mattleach.net>
4758
4759 * arc-mode.el (archive-visit-single-files): New.
4760 (archive-mode): Visit file if archive contains a single file.
4761 (Bug#1702)
4762
4763 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4764
4765 * vc/vc.el: Fix a typo in the commentary.
4766
4767 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4768
4769 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4770 testing and a real log-view mode.
4771
4772 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4773 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4774 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4775 checkout methods; where it matters (which is only in SCCS and RCS)
4776 files are always checked out editable. This may actually have
4777 been dynamically true already - it looks like the vc-next-action
4778 code evolved past visiting the other case. Tested with RCS.
4779
4780 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4781 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4782 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4783 argument from the backend checkin methods. Only the RCS, SCCS,
4784 and CVS back ends tried to do anything with it, and that code was
4785 never exercised. Chiseling away the cruft of decades...
4786
4787 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4788
4789 * net/eww.el (eww-render): Remove a no-op :title setting.
4790
4791 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4792
4793 * net/eww.el (eww-history-limit): New variable.
4794 (eww-save-history): Use it (bug#19105).
4795 (eww-reload): Reload the page in the right buffer.
4796
4797 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4798
4799 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4800
4801 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4802
4803 * net/eww.el (eww-desktop-remove-duplicates)
4804 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4805 (eww-mode): Set up desktop mode (bug#18010).
4806 (eww-desktop-data-save, eww-desktop-data-1)
4807 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4808 (eww-restore-desktop): New functions.
4809
4810 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4811
4812 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4813 correct buffer. (Bug#19101)
4814
4815 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4816
4817 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4818 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4819
4820 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4821
4822 * ido.el (ido-bury-buffer-at-head): New command.
4823 (ido-buffer-completion-map): Bind it to C-S-b.
4824
4825 2014-11-18 Juri Linkov <juri@linkov.net>
4826
4827 * simple.el (next-line-or-history-element): Wrap next-line
4828 in with-no-warnings.
4829 (previous-line-or-history-element): Wrap previous-line
4830 in with-no-warnings.
4831
4832 2014-11-18 Juri Linkov <juri@linkov.net>
4833
4834 * progmodes/grep.el (grep-compute-defaults):
4835 Compute grep-highlight-matches before its use.
4836
4837 2014-11-18 Juri Linkov <juri@linkov.net>
4838
4839 * replace.el (query-replace-from-to-separator): Turn defvar into
4840 defcustom. Wrap char-displayable-p in ignore-errors because an
4841 attempt to autoload char-displayable-p fails during pre-loading.
4842 Move (propertize "\0" ... 'separator t) out of customizable part
4843 to query-replace-read-from.
4844 (query-replace-read-from): Call custom-reevaluate-setting on
4845 query-replace-from-to-separator to reevaluate the separator
4846 depending on the return value of char-displayable-p.
4847 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4848
4849 2014-11-18 Juri Linkov <juri@linkov.net>
4850
4851 * bindings.el (minibuffer-local-map): Rebind [down] from
4852 next-history-element to next-line-or-history-element, and [up]
4853 from previous-history-element to previous-line-or-history-element.
4854
4855 * simple.el (next-line-or-history-element)
4856 (previous-line-or-history-element): New commands.
4857 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4858
4859 2014-11-18 Leo Liu <sdl.web@gmail.com>
4860
4861 * emacs-lisp/nadvice.el (define-advice): New macro.
4862 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4863 Add define-advice.
4864 (lisp-font-lock-keywords-1): Add define-advice.
4865
4866 2014-11-18 Daiki Ueno <ueno@gnu.org>
4867
4868 * epg.el (epg-context): New slot EDIT-CALLBACK.
4869 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4870 (epg-reset): Reset EDIT-CALLBACK of the context.
4871 (epg-start-edit-key): New function.
4872 (epg-edit-key): New function.
4873
4874 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4875
4876 Port new time stamp handling to Emacs 23.2.
4877 This fix is for Gnus. Reported by Katsumi Yamaoka.
4878 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4879 Use eval-and-compile, not eval-when-compile.
4880
4881 2014-11-18 Daiki Ueno <ueno@gnu.org>
4882
4883 * epg.el (epg-context-set-passphrase-callback)
4884 (epg-context-set-progress-callback): Check if the CALLBACK
4885 argument is a function, instead of a cons.
4886
4887 2014-11-18 Daiki Ueno <ueno@gnu.org>
4888
4889 * epa-file.el (epa-file-insert-file-contents)
4890 (epa-file-write-region): Remove redundant check of
4891 epa-pinentry-mode.
4892 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4893 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4894 epa-pinentry-mode.
4895
4896 2014-11-18 Daiki Ueno <ueno@gnu.org>
4897
4898 * epa-file.el (epa-file-insert-file-contents): Don't show
4899 "*Error*" buffer if input file does not exist.
4900 Reported by Herbert J. Skuhra.
4901
4902 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4903 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4904
4905 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4906 An alternative version of the patch from bug#13871.
4907 (c-operators): Add "alignof".
4908 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4909 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4910 (c-modifier-kwds): Add "thread_local".
4911 (c-constant-kwds): Add "nullptr".
4912
4913 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4914
4915 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4916 New variables for specifying tildify pattern and representation of
4917 a hard space -- a no-break space by default -- respectively.
4918 Being buffer-local they are much easier to handle than
4919 `tildify-string-alist' and `tildify-pattern-alist' respectively
4920 that have been used so far. They also works better with derived
4921 modes.
4922 (tildify-foreach-region-function): New variable specifying
4923 a function determining portions of buffer that should be
4924 tildified. It allows major modes to create a filtering function
4925 more elaborate than a set of regular expressions. Initialized to
4926 `tildify--deprecated-ignore-evironments' by default to handle now
4927 deprecated `tildify-ignored-environments-alist' variable.
4928 (tildify--foreach-region): A new function that takes
4929 `tildify-foreach-region-function' into account and calls callback
4930 for regions of the buffer that should be tildified.
4931 (tildify-foreach-ignore-environments): A new function which can be
4932 partially applied and used as `tildify-foreach-region-function'.
4933 (tildify-ignored-environments-alist, tildify-pattern)
4934 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4935 (tildify--find-env): Rename from `tildify-find-env' and mark as
4936 obsolete.
4937 (tildify--deprecated-ignore-evironments): New function,
4938 immediately marked as obsolete, used to handle deprecated
4939 `tildify-ignored-environments-alist'.
4940
4941 * textmodes/tex-mode.el (tex-common-initialization):
4942 Set `tildify-space-string' and `tildify-foreach-region-function'
4943 variables in all variants of TeX mode since `tildify-string-alist'
4944 and `tildify-ignored-environments-alist' are now empty by default.
4945
4946 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4947 If encoding supports it use no-break space instead of character
4948 entity; this changes previous default which used a numeric
4949 reference.
4950
4951 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4952 If encoding does not support no-break space, use numeric reference;
4953 this changes previous default which used named entity (“&nbsp;”)
4954 in HTML mode.
4955
4956 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4957
4958 * calendar/icalendar.el (icalendar-export-alarms):
4959 New customizable variable. (Bug#5433)
4960 (icalendar-export-region): Export alarms as specified in
4961 `icalendar-export-alarms'.
4962 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4963 New functions for exporting alarms.
4964
4965 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4966
4967 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4968
4969 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4970
4971 Port new time stamp handling to old Emacs and to XEmacs.
4972 This is needed for Gnus, which copies time-date.el and which
4973 runs on older Emacs implementations.
4974 * calendar/time-date.el (with-decoded-time-value):
4975 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4976 (encode-time-value, with-decoded-time-value):
4977 Obsolete only if new Emacs.
4978 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4979
4980 Improve time stamp handling, and be more consistent about it.
4981 This implements a suggestion made in:
4982 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4983 Among other things, this means timer.el no longer needs to
4984 autoload the time-date module.
4985 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4986 * arc-mode.el (archive-ar-summarize):
4987 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4988 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4989 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4990 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4991 * proced.el (proced-time-lessp):
4992 * timezone.el (timezone-time-from-absolute):
4993 * type-break.el (type-break-schedule, type-break-time-sum):
4994 Simplify by using new functionality.
4995 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4996 Do not return time values in obsolete and undocumented (HI . LO)
4997 format; use (HI LO) instead.
4998 * calendar/time-date.el (with-decoded-time-value):
4999 Treat 'nil' as current time. This is mostly for XEmacs.
5000 (encode-time-value, with-decoded-time-value): Obsolete.
5001 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
5002 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
5003 * ldefs-boot.el: Update to match new time-date.el
5004 * proced.el: Do not require time-date.
5005
5006 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5007
5008 * net/eww.el (eww-mode): Make the buffer read-only.
5009 (eww-form-text): Inhibit read-only-ness in text input fields
5010 (bug#16476).
5011
5012 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * simple.el (execute-extended-command--shorter): Cut search here.
5015 (execute-extended-command): Instead of here.
5016
5017 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5018
5019 * progmodes/python.el (python-mode): Avoid use of set-local to
5020 keep Emacs 24.x compatibility.
5021
5022 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5023
5024 * net/shr.el (shr): Move to the new defgroup `web'.
5025
5026 * net/eww.el (eww): Ditto.
5027
5028 * simple.el (execute-extended-command): Don't show the help
5029 message if the binding isn't significantly shorter than the
5030 M-x command the user typed (bug#19013).
5031
5032 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5033
5034 * calendar/icalendar.el (icalendar--convert-tz-offset):
5035 Return complete cons when offsets of standard time and daylight saving
5036 time are equal.
5037 (icalendar-export-region): Fix unbound variable warning.
5038
5039 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5040
5041 * progmodes/python.el (run-python): Allow CMD to be optional and
5042 default it to a safe command, even for Windows. (bug#18596)
5043
5044 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5045
5046 * progmodes/python.el (python-shell-calculate-command):
5047 Rename from python-shell-parse-command. Cleanup.
5048 (run-python, run-python-internal): Use it.
5049 (python-shell-calculate-pythonpath): Rename from
5050 python-new-pythonpath.
5051 (python-shell-calculate-process-environment): Use it.
5052 (python-shell-calculate-exec-path): Add comment.
5053
5054 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5055
5056 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5057 for date handling.
5058
5059 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5060
5061 * version.el (emacs-repository-get-version): Use git rev-parse
5062 instead of git log.
5063
5064 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5065
5066 * progmodes/python.el (python-indent-calculate-levels):
5067 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5068
5069 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5070
5071 * progmodes/python.el (python-indent-region):
5072 Use python-indent-line and skip special cases. (Bug#18843)
5073
5074 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5075
5076 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5077 envelope-from when reporting through sendmail (bug#19054).
5078
5079 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5080
5081 Add faces for the VC modeline state indicator.
5082 * vc/vc-hooks.el:
5083 (vc-state-faces, vc-state-base-face)
5084 (vc-up-to-date-state, vc-needs-update-state)
5085 (vc-locked-state, vc-locally-added-state)
5086 (vc-conflict-state, vc-removed-state)
5087 (vc-missing-state, vc-edited-state):
5088 New faces.
5089 (vc-default-mode-line-string): Use them
5090
5091 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5092
5093 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5094
5095 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
5097 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5098
5099 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5100
5101 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5102 type checks, simplify printing. (Bug#18962)
5103
5104 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5105
5106 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5107 (python-shell-font-lock-with-font-lock-buffer)
5108 (python-shell-get-buffer, python-ffap-module-path):
5109 Use `derived-mode-p' instead of equality test on `major-mode'.
5110
5111 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5112
5113 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5114 python-shell-virtualenv-path.
5115 (python-shell-internal-get-process-name)
5116 (python-shell-calculate-process-environment)
5117 (python-shell-calculate-exec-path): Use it.
5118
5119 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5120
5121 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5122 bindings.el, since it is not yet loaded when bindings.el is
5123 preloaded.
5124
5125 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5126
5127 * progmodes/python.el (python-shell-completion-get-completions):
5128 Fix previous merge.
5129
5130 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5131
5132 * net/eww.el (eww-render): Don't set the title to the URL.
5133
5134 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5135
5136 * version.el (emacs-repository-get-version): Call `git log'
5137 command with proper format argument (bug#19049).
5138
5139 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5140
5141 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5142
5143 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5144
5145 * net/eww.el (eww-search-words): New command (bug#16258).
5146
5147 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148
5149 * net/shr.el (shr-inhibit-images): Add a doc string.
5150
5151 * net/eww.el (eww-after-render-hook): New variable.
5152 (eww-render): Use it.
5153
5154 * net/shr.el (shr-descend): Don't descend further than
5155 `max-specpdl-size' allows (bug#16587).
5156 (shr-depth): New variable.
5157 (shr-warning): New variable.
5158
5159 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5160
5161 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5162 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5163
5164 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5165
5166 * net/eww.el (eww): Add comment to clarify.
5167
5168 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5169 external SVG images.
5170 (shr-tag-object): Display images in <object> forms (bug#16244).
5171 (shr-tag-table): Also insert <objects> after the tables.
5172
5173 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5174
5175 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5176
5177 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5178
5179 * net/eww.el (eww-form-file): Fix version number.
5180
5181 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5182
5183 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5184
5185 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5186
5187 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5188 (eww-submit-file): New key map of file upload.
5189 (eww-form-file): New file upload button and file name context.
5190 (eww-select-file): Select file and display selected file name.
5191 (eww-tag-input): Handle input tag of file type.
5192 (eww-update-field): Add point offset.
5193 (eww-submit): Add submit with multipart/form-data.
5194
5195 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5196
5197 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5198 Allow taking a buffer to render data in. This allows using several
5199 eww buffers (bug#16211).
5200
5201 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5202
5203 * net/eww.el (eww-download-callback): Save only the file contents,
5204 not the headers.
5205
5206 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5207
5208 * net/eww.el (eww-data): New plist to store all the data relevant
5209 to a single page, used throughout the file instead of the
5210 variables `eww-current-url', `eww-current-dom',
5211 `eww-current-source', and `eww-current-title'.
5212 (eww-readable): Copy over pertinent data from the parent page.
5213 (eww-save-history): Don't let the history grow infinitely.
5214
5215 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5216 `eww-up-url', `eww-home-url', `eww-start-url' and
5217 `eww-contents-url' and put the data into the `eww-data' plist.
5218 This allow restoring these values after going back in the history.
5219
5220 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5221
5222 Allow VTIMEZONE where daylight and standard time zones are equal.
5223 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5224 * calendar/icalendar.el (icalendar--convert-tz-offset):
5225 Support timezone without daylight saving time.
5226
5227 2014-11-10 Glenn Morris <rgm@gnu.org>
5228
5229 * startup.el (command-line): Handle nil elements in load-path.
5230
5231 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * help.el (view-lossage): Include the actual commands run.
5234
5235 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5236
5237 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5238 no state is specified. (Bug#18964)
5239
5240 2014-11-09 Eric Ludlam <zappo@gnu.org>
5241
5242 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5243 Set eieio-cog (current group) to g, which is an improved form of input
5244 group.
5245
5246 2014-11-09 Juri Linkov <juri@jurta.org>
5247
5248 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5249 "Multi-buffer" instead of "Multi". (Bug#13592)
5250
5251 * misearch.el (multi-isearch-file-list):
5252 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5253 (multi-isearch-end): Reset multi-isearch-buffer-list and
5254 multi-isearch-file-list to nil.
5255
5256 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5259 Don't call byte-compile-preprocess since the result will go through
5260 cconv.
5261 (byte-compile-output-docform): Handle uninterned `name' correctly.
5262 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5263 to circumvent byte-compiler bug.
5264
5265 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5266 (macroexp--compiler-macro): Remove left-over debug code.
5267
5268 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5269
5270 2014-11-08 Juri Linkov <juri@jurta.org>
5271
5272 * simple.el (shell-command): Use buffer-name when output-buffer is
5273 a buffer. (Bug#18096)
5274
5275 2014-11-08 Juri Linkov <juri@jurta.org>
5276
5277 * minibuffer.el (minibuffer-completion-help): Compare this-command
5278 with completion-at-point. (Bug#17809)
5279
5280 2014-11-08 Glenn Morris <rgm@gnu.org>
5281
5282 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5283 Allow the argument to be a string. Due to the vague doc,
5284 it was already being used this way.
5285
5286 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5287
5288 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5289 the constructed Tramp file name. (Bug#18943)
5290
5291 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5294 (bug#18952).
5295 (cua-set-mark, cua--post-command-handler-1):
5296 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5297
5298 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5299
5300 * files.el (file-name-non-special): Wrap the call of
5301 `insert-file-contents' by `unwind-protect', in order to set the
5302 buffer's file name anyway. (Bug#18891)
5303
5304 2014-11-08 Alan Mackenzie <acm@muc.de>
5305
5306 Fix wrong bound to c-font-lock-declarators.
5307 * progmodes/cc-fonts.el (c-font-lock-declarations):
5308 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5309 the buffer is sometimes narrowed to less than "limit" (e.g., in
5310 the presence of macros). (Bug#18948)
5311
5312 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5313
5314 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5315 only when message appeared in minibuffer. (Bug#18891)
5316
5317 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5318 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5319 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5320 case of errors.
5321
5322 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5325 Don't compile before eval in `eval-and-compile'.
5326 (byte-compile-arglist-warn): Add check for defining macros after their
5327 first use. Check call use even if the function is fboundp.
5328
5329 2014-11-08 Richard Stallman <rms@gnu.org>
5330
5331 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5332 Check more carefully for mime-part specified character set.
5333 Check for mime-part Content Transfer Encoding.
5334 Notify if no armor found.
5335
5336 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5337
5338 * faces.el (face-set-after-frame-default): Enable running
5339 `window-configuration-change-hook'.
5340
5341 2014-11-07 Juri Linkov <juri@jurta.org>
5342
5343 * replace.el: History for query replace pairs.
5344 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5345 (query-replace-from-to-separator): New variable.
5346 (query-replace-read-from): Let-bind query-replace-from-to-history
5347 to a list of FROM-TO strings created from query-replace-defaults
5348 and separated by query-replace-from-to-separator. Use it as
5349 the history while reading from the minibuffer. Split the returned
5350 string by the separator to get FROM and TO parts, and add them
5351 to the history variables.
5352 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5353 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5354 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5355
5356 * isearch.el (isearch-text-char-description): Keep characters
5357 intact and put formatted strings with the `display' property.
5358
5359 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5360
5361 * cus-start.el (frame-resize-pixelwise): Fix group.
5362 (frame-inhibit-implied-resize): Add entry.
5363
5364 2014-11-07 Daiki Ueno <ueno@gnu.org>
5365
5366 * epa.el (epa-pinentry-mode): New user option.
5367 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5368 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5369 * epa-file.el (epa-file-insert-file-contents)
5370 (epa-file-write-region): Respect epa-pinentry-mode.
5371
5372 2014-11-07 Daiki Ueno <ueno@gnu.org>
5373
5374 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5375 (bug#18979). Reported by Hideki Saito.
5376
5377 2014-11-06 Daiki Ueno <ueno@gnu.org>
5378
5379 * emacs-lisp/package.el (package--display-verify-error): New function.
5380 (package--check-signature): Use it to display output sent to stderr.
5381
5382 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * subr.el (pop): Don't call the getter twice (bug#18968).
5385
5386 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5387 uses of `funcall'.
5388
5389 2014-11-06 Daiki Ueno <ueno@gnu.org>
5390
5391 * epa.el (epa-error-buffer): New variable.
5392 (epa-display-error): New function.
5393 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5394 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5395 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5396 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5397 Use setf instead of epg-context-set-*.
5398 * epa-file.el (epa-file-insert-file-contents):
5399 Use epa-display-error instead of epa-display-info. Mimic the behavior
5400 of jka-compr when decryption program is not found.
5401 (epa-file-write-region): Use epa-display-error instead of
5402 epa-display-info.
5403
5404 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * vc/vc.el (vc-region-history): New command.
5407 (vc-print-log-internal): Use cl-some.
5408
5409 * vc/vc-git.el (vc-git-region-history): New function.
5410 (vc-git-region-history-mode-map)
5411 (vc-git--log-view-long-font-lock-keywords)
5412 (vc-git-region-history-font-lock-keywords): New vars.
5413 (vc-git-region-history-font-lock): New function.
5414 (vc-git-region-history-mode): New major mode.
5415
5416 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5417
5418 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5419 uses string-trim.
5420
5421 2014-11-05 Daiki Ueno <ueno@gnu.org>
5422
5423 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5424 (epg-error-output): New buffer-local variable.
5425 (epg--start): Initialize epg-error-output.
5426 (epg--process-filter): Record output lines sent to stderr, in
5427 epg-error-output.
5428 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5429 slot of context.
5430 * epa-file.el (epa-file-insert-file-contents): On error, display
5431 output sent to stderr.
5432 (epa-file-write-region): Likewise.
5433
5434 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5435
5436 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5437 returned by load-average.
5438
5439 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5440
5441 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5442 a local copy; setting `inhibit-file-name-handlers' proper might be
5443 more performant. (Bug#18751)
5444
5445 2014-11-05 Glenn Morris <rgm@gnu.org>
5446
5447 * mail/emacsbug.el (report-emacs-bug): No longer include
5448 recent-keys in the report. (Bug#18900)
5449
5450 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5451
5452 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5453
5454 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5455
5456 * net/eww.el (eww): Trim URL with `string-trim'.
5457 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5458
5459 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5460
5461 * net/eww.el (eww-score-readability): Don't count comments positively.
5462
5463 * net/shr.el (shr-retransform-dom): Typo fix.
5464
5465 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5466 (eww-display-html): Don't leave point inside forms.
5467
5468 * net/shr.el: Ditto.
5469
5470 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5471
5472 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5473 edebug-prin1-to-string already handles circularity.
5474
5475 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5476 autoloading when specified as a lambda.
5477
5478 * simple.el (execute-extended-command--last-typed): New var.
5479 (read-extended-command): Set it.
5480 Don't complete obsolete commands.
5481 (execute-extended-command--shorter-1)
5482 (execute-extended-command--shorter): New functions.
5483 (execute-extended-command): Use them to suggest shorter names.
5484 (indicate-copied-region, deactivate-mark): Use region-active-p.
5485
5486 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5487
5488 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5489 local copy of FILENAME, when it is remote. (Bug#18751)
5490
5491 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5492 an error when the command fails; the return code must indicate.
5493 (tramp-adb-send-command-and-check): Fix docstring.
5494
5495 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5496
5497 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5498 have no children like <br />.
5499
5500 * net/eww.el (eww-display-html): Clear `url-queue'.
5501 (eww-display-pdf): New function.
5502 (eww-render): Display PDFs with `doc-view'.
5503 (url-queue): Require `url-queue' to avoid compilation warning.
5504 (eww-colorize-region): Remove duplicate function.
5505 (eww-tag-body): Use `shr-colorize-region'.
5506
5507 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5508
5509 * net/eww.el (eww-list-bookmarks): Autoload.
5510
5511 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5512
5513 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5514
5515 * net/eww.el (eww-display-html): The charset is called `utf-8',
5516 not `utf8'.
5517 (eww-readable): Decode the saved text correctly.
5518 (eww-readable): Save the history before displaying so that we can
5519 go back to the non-readable version.
5520 (eww-display-html): Don't try to decode the text if we've been
5521 passed in a pre-parsed DOM.
5522 (eww-tag-title): Remove newlines and extra whitespace from the
5523 displayed title.
5524
5525 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5526
5527 * net/eww.el (eww-readable): New command and keystroke.
5528
5529 * net/shr.el (shr-retransform-dom): New function.
5530
5531 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5532 correct buffer.
5533 (eww-view-source): Use it.
5534
5535 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5536
5537 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5538 (Bug#18603).
5539
5540 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5541
5542 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5543
5544 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5545
5546 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5547
5548 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5549
5550 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5551 (Bug#18834).
5552
5553 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5554
5555 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5556 use as advice.
5557 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5558
5559 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5562 (bug#18821).
5563 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5564
5565 2014-11-01 Michael R. Mauger <michael@mauger.com>
5566
5567 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5568 syntax, add new keywords, and parse longer keywords first.
5569 (sql-redirect-one): Protect against empty command.
5570 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5571 to SQL. (Bug#14759)
5572
5573 2014-11-01 Michael R. Mauger <michael@mauger.com>
5574
5575 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5576 Bug#16814 with let-bind of comint-input-ring variables around read
5577 and save functions.
5578
5579 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5580
5581 * net/tramp-cache.el (tramp-get-file-property)
5582 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5583 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5584 be compiler warnings.
5585
5586 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5587 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5588
5589 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5590
5591 * progmodes/compile.el (compilation-mode): Turn off deferred
5592 fontifications locally. (Bug#18856)
5593
5594 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5595
5596 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5597 remote-echo connection property is non-nil (bug#18858).
5598
5599 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * simple.el (newline): Add assertions to try and help catch bug#18913.
5602
5603 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5604 (bug#18886).
5605 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5606
5607 2014-11-01 Kim F. Storm <storm@cua.dk>
5608
5609 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5610 * delsel.el (delete-selection-save-to-register)
5611 (delsel--replace-text-or-position): New vars.
5612 (delete-active-region): Use them.
5613 (delete-selection-repeat-replace-region): New command, moved from
5614 cua-base.el.
5615 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5616 (cua-repeat-replace-region): Move command to delsel.el.
5617 (cua--init-keymaps): Update binding accordingly.
5618 (cua-mode): Set delete-selection-save-to-register.
5619
5620 2014-11-01 Alan Mackenzie <acm@muc.de>
5621
5622 Make blink-parens work with a closing template delimiter.
5623 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5624 before calling blink-paren-function, so as to apply syntax-table
5625 properties to the ">".
5626
5627 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5628
5629 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5630
5631 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5634 (macroexp--expand-all): Unrelated tweaks.
5635
5636 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5637
5638 2014-10-30 Glenn Morris <rgm@gnu.org>
5639
5640 * startup.el (command-line): Remove pointless attempt to avoid
5641 statting the file-system (which expand-file-name doesn't do).
5642
5643 2014-10-30 Daniel Colascione <dancol@dancol.org>
5644
5645 Add "enum class" support to C++ mode.
5646 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5647 (c-after-brace-list-key): New language consts/variables.
5648 * progmodes/cc-engine.el (c-looking-at-decl-block):
5649 Exclude spurious match of "enum struct" from decl-block recognition.
5650 (c-backward-colon-prefixed-type): New function.
5651 (c-backward-over-enum-header): Call above function to extend
5652 recognition of enum structure.
5653
5654 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5657 (c-lang-defconst):
5658 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5659
5660 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5661
5662 * progmodes/compile.el (compilation-start):
5663 If compilation-scroll-output is non-nil, don't force window-start of
5664 the compilation buffer to be at beginning of buffer. (Bug#18874)
5665
5666 * startup.el (fancy-about-text): Read the entire tutorial, not
5667 just its first 256 bytes. (Bug#18760)
5668
5669 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5672 * emacs-lisp/cl-extra.el: Add missing provide.
5673
5674 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5675 all args are copyable (bug#18767).
5676 (=, <, >, <=, >=): Re-enable the optimization.
5677
5678 2014-10-29 Glenn Morris <rgm@gnu.org>
5679
5680 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5681
5682 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5683 Revert 2014-10-26 change.
5684
5685 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5686
5687 Simplify use of current-time and friends.
5688 * allout-widgets.el (allout-widgets-hook-error-handler):
5689 * calendar/appt.el (appt-display-message):
5690 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5691 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5692 (timeclock-last-period, timeclock-day-base):
5693 * eshell/em-ls.el (eshell-ls-file):
5694 * eshell/esh-util.el (eshell-parse-ange-ls):
5695 * generic-x.el (named-database-print-serial):
5696 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5697 (newsticker-get-news, newsticker--sentinel-work)
5698 (newsticker--image-get, newsticker--image-sentinel):
5699 * net/tramp-sh.el (tramp-get-remote-touch):
5700 * progmodes/opascal.el (opascal-debug-log):
5701 * textmodes/remember.el (remember-mail-date)
5702 (remember-store-in-files):
5703 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5704 (vc-default-annotate-current-time):
5705 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5706 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5707 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5708 Omit unnecessary call to current-time.
5709 * calendar/time-date.el (time-to-seconds) [!float-time]:
5710 * vc/vc-annotate.el (vc-annotate-convert-time):
5711 Use current time if arg is nil, to be compatible with float-time.
5712 (time-date--day-in-year): New function, with most of the guts of
5713 the old time-to-day-in-year.
5714 (time-to-day-in-year): Use it.
5715 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5716 * calendar/timeclock.el (timeclock-time-to-date):
5717 Arg is now optional, like current-time-string.
5718 (timeclock-update-mode-line):
5719 Don't call current-time twice to get the current time stamp,
5720 as this can lead to inconsistent results.
5721 * completion.el (cmpl-hours-since-origin):
5722 * ido.el (ido-time-stamp):
5723 * vc/vc-annotate.el (vc-annotate-convert-time):
5724 Simplify by using float-time.
5725 * completion.el (save-completions-to-file):
5726 Rename local var to avoid confusion.
5727 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5728 time-to-seconds now behaves like float-time with respect to nil arg.
5729 * subr.el (progress-reporter-do-update):
5730 Don't call float-time unless needed.
5731
5732 2014-10-29 Leo Liu <sdl.web@gmail.com>
5733
5734 * net/rcirc.el (rcirc-fill-column): Use function.
5735 (rcirc-markup-fill): Remove adjustment.
5736
5737 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5738
5739 * calc/calc.el (quick-calc):
5740 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5741
5742 2014-10-28 Sam Steingold <sds@gnu.org>
5743
5744 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5745 the sake of `window-body-width' (in addition to `frame-width').
5746
5747 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5748
5749 * version.el: Fix some fallback values to conform to the actual
5750 release number.
5751
5752 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5753
5754 * Makefile.in: Change some production names so they're neutral
5755 about the repository type.
5756
5757 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5758
5759 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5760 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5761 during initialization. (Bug#18774)
5762
5763 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5764
5765 * ses.el (macroexp): Add require for this package, so that
5766 function `ses--cell' gets macroexp-quote --- this change was
5767 supposed to be in my previous commit, but left out by mistake.
5768 (ses--cell): Do not make formula a macroexp-quote of value when
5769 value, not formula, is *skip*.
5770
5771 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5772
5773 * ses.el (macroexp): Add require for this package, so that function
5774 `ses--cell gets macroexp-quote.
5775 (ses--cell): Makes formula a macroexp-quote of value when formula
5776 is nil. The rationale of this changr is to allow in the future
5777 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5778 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5779 reference list REFLIST would be re-computed after load --- thus
5780 trading off load time against file size.
5781
5782 * emacs-lisp/package.el (package--alist-to-plist-args):
5783 Use macroexp-quote instead of a lambda expression which has the same
5784 content as macroexp-quote.
5785 (macroexp): Add require for this package, so that function
5786 `package--alist-to-plist-args' gets macroexp-quote.
5787
5788 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5789
5790 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * term/ns-win.el (ns-store-cut-buffer-internal)
5793 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5794
5795 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5796
5797 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5798 Calculate increment from last position instead of window edge.
5799 Add right- and bottom-divider bindings to transient map.
5800
5801 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5804 even if :predicate was nil, for the benefit of typep.
5805 Record the name of the predicate for typep's use.
5806 (cl--make-type-test): Use pcase. Obey new
5807 cl-deftype-satisfies property.
5808
5809 * epg.el: Use cl-defstruct.
5810 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5811 (epg-data-string): Define via cl-defstruct.
5812 (epg--gv-nreverse): New macro.
5813 (epg-context--make): New constructor (provided vi cl-defstruct).
5814 (epg-make-context): Rewrite using it.
5815 (epg-context-protocol, epg-context-program)
5816 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5817 (epg-context-include-certs, epg-context-cipher-algorithm)
5818 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5819 (epg-context-passphrase-callback, epg-context-progress-callback)
5820 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5821 (epg-context-output-file, epg-context-result, epg-context-operation)
5822 (epg-context-pinentry-mode): Define using cl-defstruct.
5823 (epg-context-set-protocol, epg-context-set-program)
5824 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5825 (epg-context-set-digest-algorithm)
5826 (epg-context-set-sig-notations, epg-context-set-process)
5827 (epg-context-set-output-file, epg-context-set-result)
5828 (epg-context-set-operation, epg-context-set-pinentry-mode)
5829 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5830 (epg-context-set-armor, epg-context-set-textmode)
5831 (epg-context-set-signers): Redefine using setf
5832 and declare as obsolete.
5833 (epg-context-set-passphrase-callback)
5834 (epg-context-set-progress-callback): Use setf.
5835 (epg-signature-notations): Rename from epg-sig-notations.
5836 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5837 (epg-signature-validity, epg-signature-fingerprint)
5838 (epg-signature-creation-time, epg-signature-expiration-time)
5839 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5840 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5841 (epg-signature-set-status, epg-signature-set-key-id)
5842 (epg-signature-set-validity, epg-signature-set-fingerprint)
5843 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5844 (epg-signature-set-pubkey-algorithm)
5845 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5846 (epg-signature-set-version, epg-signature-set-notations): Remove.
5847 Use setf instead.
5848 (epg-make-new-signature, epg-new-signature-type)
5849 (epg-new-signature-pubkey-algorithm)
5850 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5851 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5852 Define using cl-defstruct.
5853 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5854 (epg-key-user-id-list): Define using cl-defstruct.
5855 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5856 Use setf instead.
5857 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5858 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5859 (epg-sub-key-id, epg-sub-key-creation-time)
5860 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5861 cl-defstruct.
5862 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5863 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5864 (epg-user-id-signature-list): Define using cl-defstruct.
5865 (epg-user-id-set-signature-list): Remove. Use setf instead.
5866 (epg-make-key-signature, epg-key-signature-validity)
5867 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5868 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5869 (epg-key-signature-user-id, epg-key-signature-class)
5870 (epg-key-signature-exportable-p): Define using cl-defstruct.
5871 (epg-make-sig-notation, epg-sig-notation-name)
5872 (epg-sig-notation-value, epg-sig-notation-human-readable)
5873 (epg-sig-notation-critical): Define using cl-defstruct.
5874 (epg-sig-notation-set-value): Remove. Use setf instead.
5875 (epg-make-import-status, epg-import-status-fingerprint)
5876 (epg-import-status-reason, epg-import-status-new)
5877 (epg-import-status-user-id, epg-import-status-signature)
5878 (epg-import-status-sub-key, epg-import-status-secret): Define using
5879 cl-defstruct.
5880 (epg-make-import-result, epg-import-result-considered)
5881 (epg-import-result-no-user-id, epg-import-result-imported)
5882 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5883 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5884 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5885 (epg-import-result-secret-read, epg-import-result-secret-imported)
5886 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5887 (epg-import-result-imports): Define using cl-defstruct.
5888
5889 * emacs-lisp/package.el: Require EPG during macroexpansion.
5890 (package--check-signature, package-import-keyring): Use setf instead of
5891 epg-context-set-home-directory.
5892
5893 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5896
5897 2014-10-23 Leo Liu <sdl.web@gmail.com>
5898
5899 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5900 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5901 (cfengine3-current-defun): New function.
5902 (cfengine3-mode): Set add-log-current-defun-function.
5903
5904 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5905
5906 * select.el: Use lexical-binding.
5907 (gui-set-selection): Provide an implementation for non-GUI frames
5908 (bug#18791).
5909 * term/x-win.el: Use lexical-binding.
5910 (x-clipboard-yank): Fix up missed renamings.
5911 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5912 (w32--set-selection): Fix up var names.
5913 * term/pc-win.el: Use lexical-binding.
5914 (w16-selection-exists-p): Silence compiler warning.
5915 (w16-selection-owner-p): Fix up missed renamings.
5916
5917 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5918
5919 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5920
5921 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5922
5923 * doc-view.el (doc-view-open-text): View the document's plain text
5924 in the current buffer instead of a new one.
5925 (doc-view-toggle-display): Handle the case where the current
5926 buffer contains the plain text contents of the document.
5927 (doc-view-initiate-display): Don't switch to fallback mode if the
5928 user wants to view the doc's plain text.
5929 (doc-view-set-doc-type): Use assoc-string instead of
5930 assoc-ignore-case.
5931
5932 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * subr.el (read-key): Fix clicks on the mode-line.
5935 (set-transient-map): Return exit function.
5936
5937 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5938 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5939 (mouse-yank-secondary): Use gui-get-selection.
5940 (mouse--down-1-maybe-follows-link): Use read-key.
5941
5942 * xt-mouse.el: Add `event-kind' property on the fly from
5943 xterm-mouse-translate-1 rather than statically at the outset.
5944
5945 2014-10-21 Daniel Colascione <dancol@dancol.org>
5946
5947 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5948 change window configuration when we turn it off.
5949
5950 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 Get rid of backend-dependent selection-handling functions for kill/yank
5953 and make it generic instead by relying on the lower-level selection
5954 management functions.
5955
5956 * select.el (select-enable-clipboard): Rename from
5957 gui-select-enable-clipboard.
5958 (select-enable-primary): Move from x-win.el and rename from
5959 x-select-enable-primary.
5960 (gui-last-selected-text): Remove.
5961 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5962 New vars.
5963 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5964 (gui-select-text-alist, gui-selection-value-alist): Remove.
5965 (x-select-request-type): Move from x-win.el.
5966 (gui--selection-value-internal): New function, taken from x-win's
5967 x-selection-value-internal.
5968 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5969 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5970 extend it to handle a nil value as a "disown" request.
5971 (gui-disown-selection-alist): Remove.
5972 (xselect-convert-to-delete): Adjust accordingly.
5973 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5974
5975 * term/x-win.el (x-last-selected-text-primary)
5976 (x-select-enable-primary): Remove (moved to select.el).
5977 (x-select-request-type): Move to select.el.
5978 (x-selection-value-internal, x--selection-value): Remove functions.
5979 (gui-selection-value, gui-select-text): Remove moethods.
5980 (gui-set-selection): Merge own and disown methods.
5981
5982 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5983 Delete function (move functionality into w32--set-selection and
5984 w32--get-selection).
5985 (gui-select-text, gui-selection-value): Don't define methods.
5986 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5987 New functions.
5988 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5989 Use them.
5990 (gui-selection-exists-p): Adjust to new name of C primitive.
5991
5992 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5993 test of gui-select-enable-clipboard, to make it usable as
5994 a gui-get-selection method.
5995 (gui-selection-exists-p): Adjust to new name of C primitive.
5996 (gui-set-selection): Merge own and disown methods.
5997 (gui-select-text, gui-selection-value): Delete methods.
5998 (w16--select-text): Delete function.
5999
6000 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
6001 (ns-selection-value): Remove functions.
6002 (gui-select-text, gui-selection-value): Don't define method any more.
6003 (gui-set-selection): Merge the old own and disown methods.
6004 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
6005 underlying C primitive.
6006
6007 * startup.el (command-line): Adjust now that `gui-method' expects nil
6008 for ttys.
6009
6010 * frame.el (gui-method): Use window-system rather than framep.
6011 (gui-method-declare): The tty case is now nil rather than t.
6012 (make-frame): Adjust accordingly.
6013
6014 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 * net/newst-reader.el (newsticker--image-read): Simplify.
6017 (newsticker--icon-read): Use dolist and fix free var error.
6018
6019 * imenu.el (imenu--menubar-keymap): New var.
6020 (imenu-add-to-menubar): Set it to remember the keymap we used.
6021 (imenu-update-menubar): Use it instead of asking lookup-key.
6022
6023 * obsolete/cc-compat.el: Make obsolete (bug#18561).
6024
6025 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6026
6027 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6028 case (bug#18767).
6029
6030 2014-10-21 Glenn Morris <rgm@gnu.org>
6031
6032 * Merge in all changes up to version 24.4 release.
6033
6034 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6037 case (bug#18767).
6038
6039 2014-10-20 Glenn Morris <rgm@gnu.org>
6040
6041 * Merge in all changes up to 24.4 release.
6042
6043 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6044
6045 * net/newst-backend.el
6046 (newsticker--image-download-by-url-callback): Make this function
6047 actually work: Check status properly, then save image.
6048
6049 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6052 `this-event'.
6053 (mouse-drag-line): Unless there's no actual mouse, use the event's
6054 position info.
6055
6056 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * textmodes/css-mode.el (scss-mode): New major-mode.
6059 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6060 (css-ident-re): Allow things like @-moz-keyframes.
6061 (scss--hash-re): New const.
6062 (css--font-lock-keywords): New function, extracted from
6063 css-font-lock-keywords.
6064
6065 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6066
6067 * net/newst-backend.el: Require url-parse.
6068 (newsticker--get-news-by-wget): Store feed name as process property.
6069 (newsticker--sentinel): Read feed name from process property.
6070 (newsticker--sentinel-work): Rename argument name to feed-name.
6071 Rename variable imageurl to image-url. Pick icon url from Atom
6072 1.0 data. Launch download of feed icon.
6073 (newsticker--get-icon-url-atom-1.0): New.
6074 (newsticker--unxml)
6075 (newsticker--unxml-node)
6076 (newsticker--unxml-attribute): Documentation.
6077 (newsticker--icons-dir): New.
6078 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6079 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6080 (newsticker--image-download-by-wget): New. Use process properties
6081 for storing informations.
6082 (newsticker--image-sentinel): Read informations from process properties.
6083 (newsticker--image-save)
6084 (newsticker--image-remove)
6085 (newsticker--image-download-by-url)
6086 (newsticker--image-download-by-url-callback): New.
6087 (newsticker-opml-export): Handle url list entries containing a
6088 function instead of an url string.
6089
6090 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6091 (newsticker--print-extra-elements)
6092 (newsticker--do-print-extra-element):
6093 Documentation (newsticker--image-read): Optionally limit image height.
6094 Use imagemagick if possible.
6095 (newsticker--icon-read): New.
6096
6097 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6098 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6099 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6100 (newsticker--tree-widget-leaf-icon): Use feed icon.
6101
6102 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6103
6104 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6105 Use help-function-arglist instead.
6106
6107 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6108 (eieio--with-scoped-class): Use `declare'.
6109 (eieio-defclass): Remove compatibility code.
6110 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6111 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6112
6113 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6114
6115 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6116
6117 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6118 replacements to stock names before stock names in a list.
6119 Cdr may be a list, each name is tried in turn until one is found.
6120
6121 2014-10-18 Alan Mackenzie <acm@muc.de>
6122
6123 Check that a "macro" found near point-min isn't a ## operator.
6124 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6125 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6126
6127 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6128
6129 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6130 correct data to `gnutls-boot' (Bug#18664).
6131 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6132
6133 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6134
6135 * whitespace.el (whitespace-style, whitespace-big-indent)
6136 (whitespace-big-indent-regexp, whitespace-style-value-list)
6137 (whitespace-toggle-option-alist, whitespace-interactive-char)
6138 (whitespace-toggle-options)
6139 (global-whitespace-toggle-options, whitespace-help-text)
6140 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6141 style to `whitespace-mode' to indicate that the line indentation
6142 is too deep. By default, 32 SPACEs or four TABs are considered
6143 too many but `whitespace-big-indent-regexp' can be configured.
6144
6145 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6146
6147 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6148 tildify-mode-alist.
6149
6150 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6153 (defclass, defgeneric, defmethod): Add doc-string position.
6154 (with-slots): Require cl-lib.
6155
6156 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6157 (list-of): New type.
6158 (eieio--typep): Remove.
6159 (eieio-perform-slot-validation): Use cl-typep instead.
6160
6161 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6162
6163 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6164
6165 2014-10-16 Alan Mackenzie <acm@muc.de>
6166
6167 Trigger showing when point is in the "periphery" of a line or just
6168 inside a paren.
6169 * paren.el (show-paren-style, show-paren-delay)
6170 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6171 Remove superfluous :group specifications.
6172 (show-paren-when-point-inside-paren)
6173 (show-paren-when-point-in-periphery): New customizable variables.
6174 (show-paren-highlight-openparen): Make into a defcustom.
6175 (show-paren--unescaped-p, show-paren--categorize-paren)
6176 (show-paren--locate-near-paren): New defuns.
6177 (show-paren--default): Refaactor and trigger on more paren
6178 positions.
6179 (show-paren-function): Small consequential changes.
6180
6181 2014-10-16 Tom Tromey <tom@tromey.com>
6182
6183 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6184 (bug #18719).
6185
6186 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6187
6188 * international/characters.el (bracket-type): Force pre-loading of
6189 uni-brackets.el.
6190
6191 2014-10-16 Alan Mackenzie <acm@muc.de>
6192
6193 * cus-edit.el (custom-command-apply): Specify the return value in
6194 the doc string.
6195 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6196 custom-command-apply has returned non-nil.
6197
6198 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6201 Remove incorrect handling of eldoc-print-after-edit.
6202 (eldoc-message-commands, eldoc-last-data): Use defvar.
6203 * loadup.el (emacs-lisp/eldoc): Load it.
6204
6205 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6206 (m4-mode): Use it.
6207 (m4--quoted-p): New function.
6208 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6209 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6210 for most special characters.
6211
6212 * progmodes/compile.el (compilation--previous-directory): Simplify.
6213 (compilation-next-error): Ensure the parse before we look at
6214 compilation-message property.
6215
6216 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6217
6218 * simple.el (what-cursor-position):
6219 * descr-text.el (describe-char): Update to support the new bidi
6220 characters.
6221
6222 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6223 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6224 buffer-menu display when the first buffer happens to start with
6225 R2L letter.
6226
6227 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * progmodes/elisp-mode.el (elisp--local-variables-1):
6230 Handle quoted expressions (bug#18688).
6231
6232 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6233 Michael Albinus <michael.albinus@gmx.de>
6234
6235 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6236 Reduce the amount of set environment variable commands.
6237
6238 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6239
6240 Fix import completion. (Bug#18582)
6241 * progmodes/python.el (python-shell-completion-get-completions):
6242 Fix import case regexp.
6243
6244 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6247 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6248 * progmodes/prolog.el (prolog-electric--underscore): Same.
6249
6250 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6251
6252 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6253
6254 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6255
6256 * cus-start.el (all): Add missing ns and boolean to
6257 ns-use-fullscreen-animation.
6258
6259 2014-10-11 Leo Liu <sdl.web@gmail.com>
6260
6261 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6262 Use strings.
6263 (cfengine3-create-imenu-index): New function.
6264 (cfengine3-mode): Use it for `imenu-create-index-function'.
6265 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6266 buffer is empty.
6267
6268 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6269
6270 * cus-start.el (all): Add ns-use-fullscreen-animation.
6271
6272 2014-10-11 Glenn Morris <rgm@gnu.org>
6273
6274 * calendar/diary-lib.el (diary-display-function):
6275 Drop support for deprecated nil and list forms.
6276 (diary-list-entries): Update for the above.
6277 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6278
6279 2014-10-10 Leo Liu <sdl.web@gmail.com>
6280
6281 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6282 (Bug#18656)
6283
6284 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * select.el (gui-selection-exists-p-alist): New method.
6287 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6288 * simple.el (deactivate-mark): Use it.
6289 * term/x-win.el (gui-selection-exists-p):
6290 * term/w32-win.el (gui-selection-exists-p):
6291 * term/pc-win.el (gui-selection-exists-p):
6292 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6293
6294 2014-10-10 Glenn Morris <rgm@gnu.org>
6295
6296 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6297 Fix :type. Allow t to mean no limit.
6298 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6299
6300 2014-10-09 Glenn Morris <rgm@gnu.org>
6301
6302 * frame.el (display-monitor-attributes-list): Doc tweaks.
6303
6304 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6305
6306 * faces.el (display-grayscale-p): Mention in the doc string that
6307 the argument can be either a display name or a frame.
6308
6309 * frame.el (display-pixel-height, display-pixel-width)
6310 (display-mm-height, display-mm-width, display-backing-store)
6311 (display-save-under, display-planes, display-color-cells)
6312 (display-visual-class, display-monitor-attributes-list)
6313 (display-screens): Mention in the doc string that the argument can
6314 be either a display name or a frame. Improve the docs of the
6315 monitor attributes. (Bug#18636)
6316
6317 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6318
6319 * term.el (term-window-width): Subtract 1 from the width when
6320 any fringe has zero width, not just the right fringe. (Bug#18601)
6321
6322 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6325
6326 2014-10-08 Leo Liu <sdl.web@gmail.com>
6327
6328 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6329
6330 2014-10-08 Glenn Morris <rgm@gnu.org>
6331
6332 * calendar/cal-x.el (calendar-dedicate-diary):
6333 Drop support for recently deleted aliases.
6334
6335 2014-10-08 Leo Liu <sdl.web@gmail.com>
6336
6337 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6338 Always return a syntax. Replace call-process-shell-command with
6339 process-file. Ensure cfengine-mode-syntax-functions-regex is
6340 always set. Ensure cache when cfengine-cf-promises fails.
6341 (Bug#18620)
6342
6343 2014-10-07 Glenn Morris <rgm@gnu.org>
6344
6345 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6346
6347 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6348
6349 Sync with upstream verilog-mode revision c075a492.
6350 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6351 (verilog-menu): Add AUTOINSERTLAST.
6352 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6353 is nil, fix indenting initial/final to match always statements, bug825.
6354 Reported by Tim Clapp.
6355 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6356 bug557. Reported by ZeDong Mao and Jason Forkey.
6357 (verilog-read-decls): Fix parsing typed interfaces.
6358 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6359 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6360 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6361 Reported by Pierre-David Pfister.
6362 (verilog-auto-insert-lisp): Doc fix.
6363 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6364 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6365 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6366 (verilog-sk-uvm-component): Fix missing string keyword in class
6367 skeletons, bug824. Reported by eldad faruhi.
6368
6369 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * term/w32-win.el: Move all code from 32-common-fns.el here.
6372 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6373 console as well (bug#18629).
6374 * w32-common-fns.el: Remove.
6375 * loadup.el: Don't load w32-common-fns.el.
6376 * w32-fns.elc: Don't require w32-common-fns.
6377
6378 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6379 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6380 Remove redundant obsolescence thingy.
6381 * loadup.el: Don't load obsolete/loaddefs.el.
6382 * Makefile.in (obsolete-autoloads): Remove.
6383 (AUTOGENEL): Remove obsolete/loaddefs.el.
6384
6385 2014-10-06 Glenn Morris <rgm@gnu.org>
6386
6387 * Makefile.in (obsolete-autoloads): Write to a separate file,
6388 to workaround autoloads bug. (Bug#17407)
6389 (AUTOGENEL): Add obsolete/loaddefs.el.
6390 * loadup.el: Load obsolete/loaddefs.el if present.
6391 * subr.el (do-after-load-evaluation):
6392 Don't warn about obsolete/loaddefs.el.
6393
6394 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6395 It has zero relationship to a game.
6396
6397 2014-10-06 Leo Liu <sdl.web@gmail.com>
6398
6399 * imenu.el (imenu): Re-write for clarity.
6400
6401 2014-10-06 Glenn Morris <rgm@gnu.org>
6402
6403 Remove calendar code obsolete since at least version 23.1.
6404 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6405 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6406 (calendar-goto-bahai-date, list-bahai-diary-entries)
6407 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6408 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6409 (insert-yearly-bahai-diary-entry):
6410 * calendar/cal-china.el (chinese-calendar-time-zone)
6411 (chinese-calendar-location-name)
6412 (chinese-calendar-daylight-time-offset)
6413 (chinese-calendar-standard-time-zone-name)
6414 (chinese-calendar-daylight-time-zone-name)
6415 (chinese-calendar-daylight-savings-starts)
6416 (chinese-calendar-daylight-savings-ends)
6417 (chinese-calendar-daylight-savings-starts-time)
6418 (chinese-calendar-daylight-savings-ends-time)
6419 (chinese-calendar-celestial-stem)
6420 (chinese-calendar-terrestrial-branch)
6421 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6422 (calendar-goto-chinese-date):
6423 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6424 (calendar-print-coptic-date, coptic-prompt-for-date)
6425 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6426 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6427 * calendar/cal-french.el (calendar-absolute-from-french)
6428 (calendar-print-french-date, calendar-goto-french-date):
6429 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6430 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6431 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6432 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6433 (holiday-passover-etc, holiday-tisha-b-av-etc)
6434 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6435 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6436 (insert-monthly-hebrew-diary-entry)
6437 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6438 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6439 (diary-sabbath-candles):
6440 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6441 (calendar-print-islamic-date, calendar-goto-islamic-date)
6442 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6443 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6444 (insert-monthly-islamic-diary-entry)
6445 (insert-yearly-islamic-diary-entry):
6446 * calendar/cal-iso.el (calendar-absolute-from-iso)
6447 (calendar-print-iso-date, calendar-iso-read-args)
6448 (calendar-goto-iso-date, calendar-goto-iso-week):
6449 * calendar/cal-julian.el (calendar-absolute-from-julian)
6450 (calendar-print-julian-date, calendar-goto-julian-date)
6451 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6452 (calendar-goto-astro-day-number):
6453 * calendar/cal-mayan.el (calendar-print-mayan-date)
6454 (calendar-next-haab-date, calendar-previous-haab-date)
6455 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6456 (calendar-next-calendar-round-date)
6457 (calendar-previous-calendar-round-date)
6458 (calendar-absolute-from-mayan-long-count)
6459 (calendar-goto-mayan-long-count-date):
6460 * calendar/cal-move.el (scroll-calendar-left)
6461 (scroll-calendar-right, scroll-calendar-left-three-months)
6462 (scroll-calendar-right-three-months):
6463 * calendar/cal-persia.el (calendar-absolute-from-persian)
6464 (calendar-print-persian-date, persian-prompt-for-date)
6465 (calendar-goto-persian-date):
6466 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6467 * calendar/calendar.el (view-diary-entries-initially)
6468 (mark-diary-entries-in-calendar, calendar-today-face)
6469 (diary-face, holiday-face, view-calendar-holidays-initially)
6470 (mark-holidays-in-calendar, initial-calendar-window-hook)
6471 (today-visible-calendar-hook, today-invisible-calendar-hook)
6472 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6473 (bahai-diary-entry-symbol, american-date-diary-pattern)
6474 (european-date-diary-pattern, european-calendar-display-form)
6475 (american-calendar-display-form, holidays-in-diary-buffer)
6476 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6477 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6478 (fancy-diary-buffer, increment-calendar-month)
6479 (extract-calendar-month, extract-calendar-day)
6480 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6481 (mark-visible-calendar-date, calendar-version):
6482 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6483 (diary-display-hook, list-diary-entries-hook)
6484 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6485 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6486 (abbreviated-calendar-year, number-of-diary-entries)
6487 (view-other-diary-entries, add-to-diary-list)
6488 (include-other-diary-files, simple-diary-display)
6489 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6490 (mark-sexp-diary-entries, mark-included-diary-files)
6491 (mark-calendar-days-named, mark-calendar-month)
6492 (mark-calendar-date-pattern, sort-diary-entries)
6493 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6494 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6495 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6496 (insert-block-diary-entry, insert-cyclic-diary-entry)
6497 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6498 * calendar/holidays.el (general-holidays, oriental-holidays)
6499 (local-holidays, other-holidays, hebrew-holidays)
6500 (christian-holidays, islamic-holidays, bahai-holidays)
6501 (solar-holidays, list-calendar-holidays)
6502 (check-calendar-holidays, mark-calendar-holidays)
6503 (filter-visible-calendar-holidays):
6504 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6505 (diary-phases-of-moon): Remove obsolete aliases.
6506 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6507 * calendar/cal-x.el (calendar-one-frame-setup)
6508 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6509 Remove obsolete functions.
6510 (cal-x-load-hook): Remove obsolete hook.
6511 * calendar/calendar.el (european-calendar-style):
6512 Remove obsolete variable.
6513 (calendar-date-style): No longer consult european-calendar-style.
6514 * calendar/calendar.el (european-calendar, american-calendar):
6515 Remove obsolete commands.
6516 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6517 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6518 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6519 Use the face `diary' instead of the variable `diary-face'.
6520 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6521 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6522 * calendar/icalendar.el (icalendar--date-style): Remove function.
6523 Replace all uses with calendar-date-style.
6524 * textmodes/remember.el (calendar-date-style): Declare.
6525 (remember-diary-convert-entry):
6526 No longer consult european-calendar-style.
6527
6528 2014-10-05 Leo Liu <sdl.web@gmail.com>
6529
6530 * imenu.el (imenu-default-goto-function): Fix typo.
6531
6532 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6533
6534 * net/ntlm.el (ntlm-build-auth-request):
6535 Add NTLM2 Session support. (Bug#15603)
6536
6537 2014-10-04 Glenn Morris <rgm@gnu.org>
6538
6539 * apropos.el (apropos-symbols-internal):
6540 Avoid error with non-symbol properties. (Bug#18337#16)
6541
6542 * startup.el (command-line):
6543 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6544
6545 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6546
6547 * window.el (window-full-height-p): Make it behave correctly for
6548 minibuffer window.
6549 (window-current-scroll-bars): Fix code.
6550 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6551 window-scroll-bars.
6552 * frame.el (frame-current-scroll-bars): Fix doc-string.
6553 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6554
6555 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6556
6557 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6558
6559 2014-10-04 Glenn Morris <rgm@gnu.org>
6560
6561 * frame.el (frame-monitor-attributes)
6562 (display-monitor-attributes-list): Doc fixes.
6563
6564 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 Merge trivially safe differences from standalone CC-mode.
6567 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6568 just to then pass it to `symbol-value'.
6569 (prog-mode): Provide fallback definition, if needed.
6570 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6571 Remove "cl-" prefix accordingly.
6572 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6573 characterp depending on the type of characters.
6574 (c-font-lock-enum-tail): Remove unused var `start'.
6575 * progmodes/cc-engine.el: Load CL at compile-time.
6576 (c-declare-lang-variables): Use mapcan.
6577 (c-append-to-state-cache): Remove unused var `ce+1'.
6578 (c-parse-state-state): Make buffer-local.
6579 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6580 (c-just-after-func-arglist-p): Remove unused var `end'.
6581 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6582 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6583 (c-make-keywords-re): Use delete-dups.
6584 (c-get-current-file): Avoid file-name-base.
6585 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6586 `close-paren-inserted'.
6587 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6588
6589 * progmodes/python.el: Avoid building unneeded markers.
6590 (python-font-lock-keywords, python-indent-dedent-line)
6591 (python-fill-paren, python-shell-completion-complete-or-indent):
6592 Prefer point over point-marker.
6593 (inferior-python-mode): Remove redundant completion settings.
6594
6595 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6596
6597 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6598 (vc-svn-ignore): Use it. (Bug#18619)
6599
6600 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6601
6602 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6603 In doc-string mention need to set `frame-resize-pixelwise'.
6604
6605 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6606
6607 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6608 similarly to Rogers's 2010-06-16 change for the remote case
6609 (bug#18605).
6610
6611 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 New gui-selection-value consolidating x-selection-value.
6614 * select.el (gui-selection-value-alist): New method.
6615 (gui-selection-value): New function.
6616 (x-selection-value): Make it an obsolete alias.
6617 * simple.el (interprogram-paste-function): Default to
6618 gui-selection-value.
6619 * w32-common-fns.el (w32-get-selection-value): Simplify.
6620 (x-selection-value): Remove alias.
6621 (interprogram-paste-function): Don't set.
6622 (gui-selection-value): Define for w32.
6623 * term/x-win.el (gui-selection-value): Define for x.
6624 (x--selection-value): Rename from x--selection-value.
6625 (interprogram-paste-function): Don't set.
6626 * term/pc-win.el (w16-get-selection-value): Simplify.
6627 (msdos-initialize-window-system): Don't set
6628 interprogram-paste-function.
6629 (gui-selection-value): Define for pc.
6630 * term/ns-win.el (x-selection-value): Remove.
6631 (gui-selection-value): Define for ns, instead.
6632 * term/common-win.el (x-setup-function-keys): Don't set
6633 interprogram-paste-function.
6634 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6635 Use gui-selection-value.
6636
6637 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6638
6639 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6640
6641 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * obsolete/lucid.el (read-number): Remove, redundant.
6644 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6645 Remove, broken.
6646
6647 2014-10-02 Glenn Morris <rgm@gnu.org>
6648
6649 * emacs-lisp/package.el (package-import-keyring):
6650 Create gnupg directory private. (Bug#17625#155)
6651
6652 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * progmodes/python.el (python-shell-completion-get-completions):
6655 Use python-shell--prompt-calculated-input-regexp from the
6656 process buffer (bug#18582).
6657 Don't assume that `line' comes from the process buffer.
6658
6659 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * frame.el: Use lexical-binding (bug#18598).
6662 (make-frame): Use t rather than nil for tty's window-system.
6663 * startup.el (command-line): Use gui-method.
6664
6665 Consolidate management/ownership of selections.
6666 * select.el (gui-get-selection-alist): New method.
6667 (gui-get-selection): Use it. Rename from x-get-selection.
6668 (x-get-selection): Define as obsolete alias.
6669 (x-get-clipboard): Mark obsolete.
6670 (gui-get-primary-selection): New function.
6671 (x-get-selection-value): Mark obsolete.
6672 (gui-own-selection-alist, gui-disown-selection-alist)
6673 (gui-selection-owner-p-alist): New methods.
6674 (gui-set-selection): Use them. Rename from x-set-selection.
6675 (x-set-selection): Define as obsolete alias.
6676 (gui--valid-simple-selection-p): Rename from
6677 x-valid-simple-selection-p.
6678 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6679 (gui-selection-owner-p, gui-get-selection): Define for w32.
6680 (w32-get-selection-value): Rename from x-get-selection-value.
6681 Use the new gui-last-selected-text.
6682 * term/x-win.el (x-get-selection-value): Remove.
6683 (x-clipboard-yank): Declare obsolete.
6684 (gui-own-selection, gui-disown-selection, gui-get-selection)
6685 (gui-selection-owner-p): Define for x.
6686 * term/w32-win.el (w32-win-suspend-error): Rename from
6687 x-win-suspend-error.
6688 * term/pc-win.el (w16-get-selection-value): Rename from
6689 x-get-selection-value.
6690 (w16-selection-owner-p): Rename from x-selection-owner-p.
6691 (gui-own-selection, gui-disown-selection, gui-get-selection)
6692 (gui-selection-owner-p): Define for pc.
6693 (w16--select-text): New function.
6694 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6695 (gui-get-selection, gui-selection-owner-p): Define for ns.
6696 * term.el (term-mouse-paste):
6697 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6698
6699 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6700
6701 * calc/calc-help.el (calc-describe-thing): Quote strings
6702 which could look like regexps.
6703
6704 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 Consolidate x-select-text.
6707 * frame.el (gui-method, gui-method-define, gui-method-declare)
6708 (gui-call): New macros.
6709 (gui-method--name): New function.
6710 (frame-creation-function-alist): Use gui-method-declare.
6711 (make-frame): Use gui-method.
6712 * select.el (gui-select-enable-clipboard): Rename from
6713 x-select-enable-clipboard and move here.
6714 (x-select-enable-clipboard): Define as obsolete alias.
6715 (gui-last-selected-text): New var, to replace x-last-selected-text.
6716 (gui-select-text): New GUI method.
6717 (gui-select-text): New function.
6718 (x-select-text): Define as obsolete alias.
6719 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6720 Move to select.el.
6721 * simple.el (interprogram-cut-function): Change default to
6722 x-select-text.
6723 (interprogram-paste-function): Change default to `ignore'.
6724 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6725 * term/x-win.el (interprogram-cut-function): Don't modify.
6726 (gui-select-text): Add method for x.
6727 * term/w32-win.el (gui-select-text): Add method for w32.
6728 * term/pc-win.el (x-last-selected-text): Remove, use
6729 gui-last-selected-text instead.
6730 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6731 (gui-select-text): Add method for pc.
6732 * term/ns-win.el (ns-last-selected-text): Remove, use
6733 gui-last-selected-text instead.
6734 (gui-select-text): Add method for ns.
6735 (x-setup-function-keys): Don't change interprogram-cut-function.
6736 * loadup.el ("startup"): Load after "frame".
6737 * subr.el (package--builtin-versions, package--description-file):
6738 Move from startup.el.
6739 * startup.el (package--builtin-versions, package--description-file):
6740 Move to subr.el.
6741 (handle-args-function-alist, window-system-initialization-alist):
6742 Use gui-method-declare.
6743 (command-line): Use gui-method.
6744
6745 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * subr.el (alist-get): New accessor.
6748 * emacs-lisp/gv.el (alist-get): Provide expander.
6749 * winner.el (winner-remember):
6750 * tempo.el (tempo-use-tag-list):
6751 * progmodes/gud.el (minor-mode-map-alist):
6752 * international/mule-cmds.el (define-char-code-property):
6753 * frameset.el (frameset-filter-params):
6754 * files.el (dir-locals-set-class-variables):
6755 * register.el (get-register, set-register):
6756 * calc/calc-yank.el (calc-set-register): Use it.
6757 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6758 * tooltip.el (tooltip-set-param): Mark as obsolete.
6759 (tooltip-show): Use alist-get instead.
6760 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6761
6762 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6763
6764 * net/newst-backend.el: Remove Time-stamp. Rename variable
6765 `newsticker--download-logos' to `newsticker-download-logos' and
6766 make it customizable.
6767 (newsticker--sentinel-work): Move xml-workarounds to function
6768 `newsticker--do-xml-workarounds', call unless libxml-parser is
6769 used. Allow single quote in regexp for encoding.
6770 Use libxml-parser if available, else fall back to `xml-parse-region'.
6771 Take care of possibly missing namespace prefixes (like "RDF"
6772 instead of "rdf:RDF") when checking xml nodes and attributes (as
6773 libxml correctly removes the prefixes). Always use Atom 1.0 as
6774 fallback feed type. Rename `newsticker--download-logos' to
6775 `newsticker-download-logos'
6776 (newsticker--unxml, newsticker--unxml-node)
6777 (newsticker--unxml-attribute): New.
6778 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6779 HTML code has become part of the xml parse tree.
6780 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6781 of possibly missing namespace prefixes.
6782 (newsticker--parse-generic-items): Code formatting. Typo.
6783 (newsticker--images-dir): Add trailing slash.
6784 (newsticker--image-get): Fix error message.
6785
6786 * net/newst-plainview.el: Remove Time-stamp.
6787
6788 * net/newst-reader.el: Remove Time-stamp.
6789 (newsticker-download-logos): Rename variable
6790 `newsticker--download-logos' to `newsticker-download-logos' and
6791 make it customizable.
6792 (newsticker--print-extra-elements): Add optional parameter
6793 'htmlish for using html markup. Amend list of ignored elements.
6794 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6795 using html markup.
6796
6797 * net/newst-ticker.el: Remove Time-stamp.
6798
6799 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6800 for formatting extra elements.
6801
6802 * net/newsticker.el: Remove Time-stamp, Version.
6803 (newsticker-version): Make obsolete.
6804
6805 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6806
6807 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6808 (bug#18462).
6809
6810 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * emacs-lisp/package.el (package-check-signature): Default to nil if
6813 GPG is not available.
6814 (package-refresh-contents): Don't mess with the keyring if we won't
6815 check the signatures anyway.
6816
6817 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6818
6819 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6820 (ses-center, ses-center-span): Use them.
6821 (ses-print-cell): Bind them while calling the printer.
6822 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6823 (ses-dorange): Revert last change.
6824 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6825 the formula.
6826 (ses-set-cell): Avoid `eval'.
6827 (ses--time-check): Rename it from ses-time-check and turn it into
6828 a macro.
6829
6830 * ses.el (ses-setup): Don't assume modifying the iteration var of
6831 dotimes affects the iteration (bug#18191).
6832
6833 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6834
6835 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6836 their values with 'cl-progv'.
6837 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6838 their values with 'cl-progv', also use non-interned symbols for
6839 row, minrow, maxrow, mincol and maxcol.
6840 (maxrow maxcol): New defvar, to make the compiler happy.
6841
6842 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6845 completion functions.
6846
6847 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6850
6851 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6852
6853 Font-lock `cl-flet*', too.
6854 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6855 Add "flet*" to intermediate var `cl-lib-kw'.
6856
6857 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * epg-config.el (epg-gpg-program): Use the plain program names rather
6860 than their absolute file name.
6861
6862 * subr.el (track-mouse): New macro.
6863 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6864 Remove track-mouse case.
6865 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6866
6867 2014-09-27 Leo Liu <sdl.web@gmail.com>
6868
6869 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6870
6871 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6872
6873 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6874
6875 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6876 Handle the case where `match' is :pcase--succeed or :pcase--fail
6877 (bug#18554).
6878
6879 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6880 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6881 (eldoc-schedule-timer): Obey it.
6882 (eldoc-documentation-function): Default to nil.
6883 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6884 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6885 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6886 (eldoc-last-data-store, eldoc-docstring-first-line)
6887 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6888 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6889 (eldoc-function-argstring): Move to elisp-mode.el.
6890 (eldoc-symbol-function): Remove, unused.
6891 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6892 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6893 (elisp--preceding-sexp): Rename from preceding-sexp.
6894 * loadup.el: Load new file progmodes/elisp-mode.
6895 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6896 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6897 (lisp--local-variables-completion-table, lisp--expect-function-p)
6898 (lisp--form-quoted-p, lisp--company-doc-buffer)
6899 (lisp--company-doc-string, lisp--company-location)
6900 (lisp-completion-at-point): Move to elisp-mode.el.
6901 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6902 extracted from emacs-lisp-mode-syntax-table.
6903 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6904 elisp-mode.el.
6905 (lisp-imenu-generic-expression): Add comments to document what comes
6906 from which Lisp dialect.
6907 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6908 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6909 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6910 (emacs-lisp-byte-code-comment)
6911 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6912 (lisp-interaction-mode-map, lisp-interaction-mode)
6913 (eval-print-last-sexp, last-sexp-setup-props)
6914 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6915 (eval-last-sexp-1, eval-last-sexp-print-value)
6916 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6917 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6918
6919 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6920
6921 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6922 Do not match file names that end in '/', as they cannot be 'grep'
6923 hits nowadays. This prevents confusion when 'grep -r' reports a
6924 match in a file whose basename is ':12345:'. Conversely, do not
6925 require exactly the same sequence of spaces and tabs after both
6926 colons, and allow spaces or tabs before the second colon, as per
6927 the POSIX spec for 'grep' output.
6928
6929 2014-09-26 Leo Liu <sdl.web@gmail.com>
6930
6931 Add cl-parse-integer based on parse-integer (Bug#18557)
6932 * calendar/parse-time.el (parse-time-digits): Remove.
6933 (digit-char-p, parse-integer) Moved to cl-lib.el.
6934 (parse-time-tokenize, parse-time-rules, parse-time-string):
6935 Use cl-parse-integer.
6936
6937 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6938
6939 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6940 (cl-digit-char-p): New function.
6941
6942 2014-09-25 Juri Linkov <juri@jurta.org>
6943
6944 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6945 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6946 Return the current buffer if no files match the default pattern
6947 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6948
6949 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6952 the global vc-handled-backends (bug#18535).
6953
6954 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6957 Suggested by <lompik@voila.fr>.
6958
6959 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6960
6961 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6962 Rename from `newsticker--treeview-do-get-node'.
6963 (newsticker--treeview-get-node-by-id):
6964 Rename from `newsticker--treeview-get-node'.
6965 (newsticker--treeview-buffer-init)
6966 (newsticker--treeview-buffer-init): Disable buffer undo.
6967 (newsticker--treeview-unfold-node): Adapt to modified
6968 `newsticker--group-find-parent-group'.
6969 (newsticker--group-do-find-group):
6970 Rename from `newsticker--group-do-find-group-for-feed'.
6971 Now works for both, groups and feeds.
6972 (newsticker--group-find-parent-group):
6973 Rename from `newsticker--group-find-group-for-feed'.
6974 Now works for both, groups and feeds.
6975 (newsticker--group-do-get-parent-group)
6976 (newsticker--group-get-parent-group): Remove.
6977 (newsticker-group-add-group): Change interactive prompts.
6978 (newsticker-group-add-group): Finally jump to added group.
6979 (newsticker-group-delete-group): Finally jump to current feed.
6980 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6981 (newsticker--get-group-names, newsticker--group-names): New.
6982 (newsticker-group-move-feed): Finally jump to moved feed.
6983 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6984 (newsticker-group-shift-group-down)
6985 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6986 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6987
6988 * net/newst-backend.el (newsticker--item-list)
6989 (newsticker--item-position, newsticker--prev-message)
6990 (newsticker--scrollable-text): Move to newst-ticker.el.
6991
6992 * net/newst-ticker.el (newsticker--item-list)
6993 (newsticker--item-position, newsticker--prev-message)
6994 (newsticker--scrollable-text): Move from newst-backend.el.
6995
6996 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6997
6998 * window.el (fit-window-to-buffer): When counting buffer width,
6999 count the whole visible buffer. Correctly convert the body-height
7000 to pixel size for window-text-pixel-size (Bug#18498).
7001
7002 2014-09-22 Sam Steingold <sds@gnu.org>
7003
7004 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
7005 (sql-execute): Use `special-mode'.
7006
7007 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 Add pcase-defmacro, as well as `quote' and `app' patterns.
7010 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7011 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7012 (pcase--funcall, pcase--eval): New functions.
7013 (pcase--u1): Use them for guard, pred, let, and app.
7014 (\`): Use the new feature to generate better code for vector patterns.
7015 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7016 (pcase--upat): Remove.
7017 (pcase--macroexpand): Don't hardcode handling of `.
7018 (pcase--split-consp, pcase--split-vector): Remove.
7019 (pcase--split-equal): Disregard ` since it's expanded away.
7020 (pcase--split-member): Optimize for quote rather than for `.
7021 (pcase--split-pred): Optimize for quote rather than for `.
7022 (pcase--u1): Remove handling of ` (and of `or' and `and').
7023 Quote non-selfquoting values when passing them to `eq'.
7024 Drop `app's let-binding if the variable is not used.
7025 (pcase--q1): Remove.
7026 (`): Define as a pattern macro.
7027 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7028 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7029 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7030 quote patterns.
7031 (pcase--split-match): Don't hoist or/and here any more.
7032 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7033 (pcase--flip): New helper macro.
7034 (pcase--u1): Optimize the memq case directly.
7035 Don't handle neither self-quoting nor and/or patterns any more.
7036 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7037 (pcase--macroexpand): New function.
7038 (pcase--expand): Use it.
7039 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7040 New optimization functions.
7041 (pcase--u1): Add support for `quote' and `app'.
7042 (pcase): Document them in the docstring.
7043
7044 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 Use lexical-bindin in Ibuffer.
7047 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7048 (ibuffer-compile-format): Simplify.
7049 (ibuffer-clear-summary-columns): Simplify.
7050 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7051 elem of dotimes when we don't refer to the iteration var from it.
7052 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7053 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7054 Silence byte-compiler.
7055
7056 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7059 expression for a list.
7060
7061 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7062 for functions with no arguments.
7063
7064 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7065 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7066
7067 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7068
7069 * simple.el (clone-indirect-buffer): Mention the return value
7070 (bug#18478).
7071
7072 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7073 Text mode in docstring (bug#18464).
7074
7075 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7078 Accept underscores in identifiers after "sub" (bug#18502).
7079
7080 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7081
7082 * textmodes/reftex-sel.el (reftex-select-label-mode)
7083 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7084 from special-mode (instead of fundamental-mode) and propertize
7085 with font-lock-face instead of just face. (Bug#18496)
7086
7087 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7088
7089 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7090
7091 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7092 `table-etc' when `end' is non-nil.
7093 (lisp-completion-at-point): Move `end' back if it's after quote.
7094 If in comment or string, only complete when after backquote.
7095 (Bug#18265)
7096 (lisp-completion-at-point): Don't use
7097 `lisp--local-variables-completion-table' in the
7098 `lisp--form-quoted-p' case.
7099
7100 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7101
7102 * emacs-lisp/lisp.el (lisp--expect-function-p)
7103 (lisp--form-quoted-p): New functions.
7104 (lisp-completion-at-point): Use them to see if we're completing a
7105 variable reference, a function name, or just any symbol.
7106 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7107
7108 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7109
7110 * net/shr.el, net/eww.el: Don't override `shr-width', but
7111 introduce a new variable `shr-internal-width'. This allows users
7112 to specify a width themselves.
7113
7114 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7115
7116 * image-mode.el (image-toggle-display-image): If we have a
7117 `fit-width' or a `fit-height', don't limit the size of the image
7118 to the window size, because that doesn't preserve the aspect ratio.
7119 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7120 warning.
7121
7122 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7123
7124 * progmodes/js.el: Add interpreter-mode-alist support for various
7125 JavaScript interpreters.
7126
7127 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7128
7129 Don't assume 'grep' supports GREP_OPTIONS.
7130 The GREP_OPTIONS environment variable is planned to be marked
7131 obsolescent in GNU grep, due to problems in its use, so stop
7132 relying on it.
7133 * progmodes/grep.el (grep-highlight-matches): Document this.
7134 (grep-process-setup): Do not set GREP_OPTIONS.
7135 (grep-compute-defaults): Use an explicit --color option if supported.
7136
7137 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7140 Don't add outdated key-shortcut cache (bug#18482).
7141
7142 2014-09-15 Glenn Morris <rgm@gnu.org>
7143
7144 * image.el (image-multi-frame-p): Fix thinko - do not force
7145 a delay if none was specified. (Bug#18334)
7146
7147 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7148
7149 * window.el (fit-window-to-buffer): Doc fix.
7150
7151 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7152
7153 * desktop.el (desktop-create-buffer): Check that buffers are still live
7154 before burying them (bug#18373).
7155
7156 2014-09-15 Glenn Morris <rgm@gnu.org>
7157
7158 * calendar/diary-lib.el (diary-list-entries):
7159 Restore 24.3 display behavior. (Bug#18381)
7160
7161 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7162
7163 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7164 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7165 discrepancy between window-pixel-edges and mouse events, and
7166 avoids moving mode line up when the mouse click is on the modeline
7167 and no drag is attempted.
7168
7169 2014-09-14 Daniel Colascione <dancol@dancol.org>
7170
7171 * register.el (insert-register): Change default interactive
7172 insertion mode.
7173
7174 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7175
7176 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7177 Suppress debug messages.
7178
7179 * net/tramp.el (tramp-file-name-handler):
7180 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7181 appropriate.
7182
7183 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7184
7185 * calendar/calendar.el (calendar-update-mode-line):
7186 Do not overwrite mode-line-format if calendar-mode-line-format is
7187 nil. (Bug#18467)
7188
7189 2014-09-13 Leo Liu <sdl.web@gmail.com>
7190
7191 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7192 (pcase--expand): Use it.
7193 (pcase-exhaustive): New macro. (Bug#16567)
7194
7195 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7196 Add pcase-exhaustive.
7197
7198 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7199
7200 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7201 using the specified transfer-encoding, if any, or 'undecided'.
7202 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7203 broken at the window margin.
7204
7205 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7206
7207 Support rendering of HTML parts in Rmail (bug#4258).
7208 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7209 separately from other text/ types. Suppress tagline for
7210 multipart body.
7211 (rmail-mime-parse): Don't change visibility of tagline here.
7212 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7213 Handle text/html specially.
7214 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7215 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7216 (rmail-mime-render-html-lynx): New functions.
7217 (rmail-mime-fix-inserted-faces): New function.
7218 (rmail-mime-process-multipart): Find the best part to show
7219 following rmail-mime-prefer-html if set.
7220 (rmail-mime-searching): New variable.
7221 (rmail-search-mime-message): Bind rmail-mime-searching to
7222 suppress rendering while searching.
7223
7224 2014-09-12 Sam Steingold <sds@gnu.org>
7225
7226 * progmodes/sql.el (sql-product-alist): Add vertica.
7227 (sql-vertica-program, sql-vertica-options)
7228 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7229 New functions and variables to support Vertica.
7230 Inspired by code by Roman Scherer <roman@burningswell.com>.
7231
7232 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7233
7234 * ses.el (ses-file-format-extend-parameter-list): Rename from
7235 ses-file-format-extend-paramter-list, to correct a misspelling.
7236 All uses changed.
7237
7238 2014-09-10 Alan Mackenzie <acm@muc.de>
7239
7240 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7241 gets loaded at run-time).
7242 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7243 c-lang-const to c-make-no-parens-syntax-table and correct the
7244 logic.
7245 (c-no-parens-syntax-table): Correct the logic of the
7246 c-lang-defvar.
7247
7248 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7251 plus misc cleanup.
7252 * progmodes/cc-mode.el (c-basic-common-init):
7253 Set open-paren-in-column-0-is-defun-start.
7254 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7255 Remove declarations, unused.
7256 (run-mode-hooks): Remove declaration.
7257 (font-lock-defaults): Use plain `defvar' to declare.
7258 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7259 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7260 (c-make-mode-syntax-table): Don't micro-optimize.
7261 (c-keywords, c-keyword-member-alist): Simplify.
7262 (c-kwds-lang-consts): Don't eval at compile-time.
7263 (c-primary-expr-regexp): Comment out unused vars.
7264 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7265 (c-font-byte-compile): New var.
7266 (c--compile): New function. Use it instead of `byte-compile'.
7267 (c-cpp-matchers): Quote the value returned by
7268 `c-make-syntactic-matcher' in case it's not self-evaluating.
7269 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7270 parentheses instead (in case MATCHER happens to be a list).
7271 (c-font-lock-enum-tail): Remove unused var `start'.
7272 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7273 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7274 test into an argument.
7275 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7276 (c-get-char-property): Don't use `eval' just to unquote a constant.
7277 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7278 more efficiently.
7279 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7280 (c-clear-char-property, c-clear-char-properties): Check that `property'
7281 is a quoted constant.
7282 (c-emacs-features): Remove `infodock', `syntax-properties', and
7283 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7284 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7285 changing buffer, so we don't have to setq them again afterwards.
7286 (c-lang-const): Remove redundant symbolp assertions.
7287 (c-find-assignment-for-mode): Use `or'.
7288 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7289
7290 2014-09-09 Sam Steingold <sds@gnu.org>
7291
7292 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7293
7294 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7297 Change doc comments into docstrings.
7298 * Makefile.in: Remove cc-awk dependency.
7299
7300 2014-09-08 Sam Steingold <sds@gnu.org>
7301
7302 * progmodes/sql.el (sql-send-line-and-next): New command,
7303 bound to C-c C-n.
7304 (sql-show-sqli-buffer): Display the buffer instead of its name and
7305 bind the command to C-c C-z.
7306 (sql-default-directory): New user option.
7307 (sql-product-interactive): Bind `default-directory' to it to
7308 enable remote connections using Tramp.
7309 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7310 suitable buffer is available.
7311
7312 2014-09-08 Glenn Morris <rgm@gnu.org>
7313
7314 * calendar/calendar.el (calendar-basic-setup):
7315 Fix calendar-view-holidays-initially-flag and fancy display.
7316 * calendar/diary-lib.el (diary-live-p): Doc fix.
7317
7318 * calendar/calendar.el (calendar-basic-setup):
7319 Avoid clobbering calendar with diary. (Bug#18381)
7320
7321 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7324
7325 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7326
7327 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7328 as well (bug#18400).
7329
7330 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7331
7332 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7333
7334 2014-09-06 Leo Liu <sdl.web@gmail.com>
7335
7336 * emacs-lisp/pcase.el (pcase): Doc fix.
7337 (pcase--split-vector): New function.
7338 (pcase--q1): Support vector qpattern. (Bug#18327)
7339
7340 2014-09-05 Sam Steingold <sds@gnu.org>
7341
7342 * textmodes/tex-mode.el (tex-print-file-extension): New user
7343 option.
7344 (tex-print): Use it instead of the hard-coded string.
7345
7346 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7347
7348 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7349 Expand `default-directory'.
7350
7351 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7352
7353 * scroll-bar.el (horizontal-scroll-bars-available-p):
7354 New function.
7355 (horizontal-scroll-bar-mode): Rewrite using
7356 horizontal-scroll-bars-available-p.
7357 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7358 horizontal-scroll-bars-available-p.
7359
7360 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * subr.el (call-process-shell-command, process-file-shell-command):
7363 Make the `args' obsolete (bug#18409).
7364 (start-process-shell-command, start-file-process-shell-command):
7365 Use `declare'.
7366
7367 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7368
7369 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7370 "negative" hms forms.
7371
7372 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7373
7374 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7375 returns nil (bug#18391).
7376
7377 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7380 terminating paren (bug#18352).
7381 (eldoc-last-data-store): Return cached data.
7382 (eldoc-get-var-docstring): Avoid setq.
7383 (eldoc-get-fnsym-args-string): Clarify data flow.
7384
7385 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7386
7387 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7388 case where we're currently providing part of the &rest arg after some
7389 &key args, as in define-ibuffer-op (bug#18048).
7390
7391 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7394 buffer-local setting of which-func-mode.
7395 (which-func-mode): Use defvar-local.
7396 (which-function-mode): Don't reset which-func-mode in each buffer since
7397 it might have been set by someone else.
7398 (which-func-update-ediff-windows): Check which-function-mode.
7399
7400 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7401
7402 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7403 from frame-initial-frame-alist.
7404 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7405 (horizontal-scroll-bar-mode-explicit)
7406 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7407 (toggle-horizontal-scroll-bar): Remove.
7408 (horizontal-scroll-bar-mode): Remove defcustom.
7409 (horizontal-scroll-bar-mode): Fix doc-string.
7410 (scroll-bar-toolkit-scroll)
7411 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7412
7413 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * emacs-lisp/package.el (package-generate-description-file):
7416 Properly quote the arguments (bug#18332). Change second arg.
7417 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7418 quote the elements.
7419 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7420 the *-pkg.el file. Adjust to new calling convention of
7421 package-generate-description-file.
7422
7423 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7424 (gud-gdb-completions): Remove obsolete workaround.
7425
7426 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7427
7428 * subr.el (posn-col-row): Revert the change from commit
7429 2010-11-13T21:07:58Z!eliz@gnu.org, which
7430 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7431 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7432 introduced an off-by-one error in the reported row when there is a
7433 header line. (Bug#18384)
7434
7435 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7436
7437 * progmodes/python.el (python-indent-post-self-insert-function):
7438 Avoid electric colon at beginning-of-defun. (Bug#18228)
7439
7440 2014-09-03 Glenn Morris <rgm@gnu.org>
7441
7442 * tutorial.el (tutorial--display-changes):
7443 Fix 2014-08-01 change. (Bug#18382)
7444
7445 2014-09-03 Ken Brown <kbrown@cornell.edu>
7446
7447 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7448 the Cygwin-w32 build. (Bug#18347)
7449
7450 2014-09-03 Glenn Morris <rgm@gnu.org>
7451
7452 * tar-mode.el (tar--extract, tar-extract):
7453 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7454
7455 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7458 handle multiline elements (bug#18380).
7459
7460 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7461
7462 * ls-lisp.el (ls-lisp-use-string-collate)
7463 (ls-lisp-UCA-like-collation): New defcustoms.
7464 (ls-lisp-string-lessp): Use them to control sorting by file
7465 names. (Bug#18051)
7466 (ls-lisp-version-lessp): New function.
7467 (ls-lisp-handle-switches): Use it to implement the -v switch of
7468 GNU ls.
7469 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7470
7471 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7472
7473 * ibuffer.el: Replace mode-specific quit function with
7474 `quit-window' via `special-mode'.
7475 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7476 of local overrides.
7477 (ibuffer): Don't store previous windows configuration.
7478 Let `quit-window' handle restoring.
7479 (ibuffer-quit): Remove function. Use `quit-window' instead.
7480 (ibuffer-restore-window-config-on-quit): Remove variable.
7481 (ibuffer-prev-window-config): Remove variable.
7482
7483 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7484
7485 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7486 name instead of variable name in hook docstring. (Bug#18349)
7487
7488 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7489
7490 * window.el (display-buffer-at-bottom): Prefer bottom-left
7491 window to other bottom windows. Reuse a bottom window if it
7492 shows the buffer already. Suggested by Juri Linkov
7493 <juri@jurta.org> in discussion of (Bug#18181).
7494
7495 2014-08-29 Leo Liu <sdl.web@gmail.com>
7496
7497 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7498 append to minibuffer-setup-hook. (Bug#18341)
7499
7500 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7503 byte-compiler.
7504 (lookup-syntax-properties): Silence byte-compiler.
7505 (c-lang-defconst): Quote the code with `lambda' rather than with
7506 `quote'.
7507 (c-lang-const): Avoid unneeded setq.
7508 (c-lang-constants-under-evaluation): Add docstring.
7509 (c-lang--novalue): New constant.
7510 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7511 (c-get-lang-constant): Same here.
7512 Get the mode's value using `funcall' now that the code is quoted
7513 with `lambda'.
7514
7515 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7516
7517 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7518 (Bug#18326)
7519
7520 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7521
7522 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7523 interpretation of `portion-whole'.
7524
7525 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7526
7527 * net/tramp-adb.el: Spell author name correctly.
7528
7529 2014-08-28 João Távora <joaotavora@gmail.com>
7530
7531 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7532 use url-expand-file-name. (Bug#18310)
7533
7534 2014-08-28 Glenn Morris <rgm@gnu.org>
7535
7536 * emulation/cua-rect.el (cua--highlight-rectangle):
7537 Avoid error at point-min. (Bug#18309)
7538
7539 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7542 executable-find (bug#18244).
7543
7544 * simple.el (self-insert-uses-region-functions): Defvar.
7545
7546 2014-08-28 Glenn Morris <rgm@gnu.org>
7547
7548 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7549
7550 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7551
7552 * startup.el (normal-top-level): Now use internal--top-level-message.
7553
7554 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7555
7556 * startup.el (normal-top-level): Use top-level-message.
7557
7558 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7559
7560 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7561 URLs containing spaces and the like.
7562
7563 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7564
7565 * subr.el (remq): Fix docstring (Bug#18253).
7566
7567 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7568
7569 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7570
7571 2014-08-24 Alan Mackenzie <acm@muc.de>
7572
7573 Handle C++11's "auto" and "decltype" constructions.
7574 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7575 and return 'decltype.
7576 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7577 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7578 keyword.
7579 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7580 "decltype" keyword.
7581 (c-font-lock-c++-new): Handle "decltype" constructions.
7582 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7583 New c-lang-defconsts/defvars.
7584 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7585 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7586 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7587 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7588
7589 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7590 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7591 off from c->-op-cont-re.
7592 (c->-op-cont-tokens): Change to use the above.
7593 (c->-op-without->-cont-regexp): New lang-const.
7594 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7595 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7596
7597
7598 2014-08-23 Alan Mackenzie <acm@muc.de>
7599
7600 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7601 loop, bug #18306. The bug was introduced on 2014-08-02.
7602
7603 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7604
7605 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7606 Don't recognize a Top node if there are other sectioning commands
7607 earlier in the Texinfo file. This fixes a bug in
7608 texinfo-make-menu and avoids inflooping in
7609 texinfo-all-menus-update when they are invoked on texinfo.texi.
7610
7611 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7612
7613 * window.el (window--side-window-p): New function.
7614 (split-window, window-splittable-p): Use window--side-window-p to
7615 determine whether WINDOW can be split (Bug#18304).
7616 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7617 `window-splittable-p' and add another (Bug#18304).
7618
7619 2014-08-20 Sam Steingold <sds@gnu.org>
7620
7621 * progmodes/python.el (python-new-pythonpath): Extract from
7622 `python-shell-calculate-process-environment'.
7623
7624 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7625
7626 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7627 for &key args (bug#18048).
7628
7629 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7632 (eldoc-function-argstring-format): Remove.
7633 (eldoc-function-argstring): Always return upcase args.
7634 Use help-make-usage. Don't add parens.
7635 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7636 it's too late to do it right (bug#18048).
7637
7638 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7639
7640 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7641 (scroll-bar-toolkit-horizontal-scroll): When determining the
7642 paragraph direction, use the buffer of the window designated in
7643 the event.
7644
7645 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7646
7647 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7648 context of unified diff.
7649
7650 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7651
7652 Add dependencies to fix loaddefs race during parallel builds.
7653 Without this, for example, 'make -j bootstrap' can fail and report
7654 "Opening input file: no such file or directory,
7655 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7656 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7657 got confused because diary-loaddefs.el was being built in parallel.
7658 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7659 Depend on $(CAL_DIR)/cal-loaddefs.el.
7660 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7661
7662 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7663
7664 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7665 portion-whole for scrolling right-to-left text.
7666
7667 2014-08-15 Leo Liu <sdl.web@gmail.com>
7668
7669 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7670 elements from imenu.
7671
7672 2014-08-15 Glenn Morris <rgm@gnu.org>
7673
7674 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7675
7676 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7677
7678 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7679 Add Guile regexpses.
7680
7681 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7682
7683 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7684 add Guile debugger support for GUD.
7685
7686 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7689 (mouse-sel--ignore): New function.
7690 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7691 (mouse-sel-original-interprogram-cut-function)
7692 (mouse-sel-original-interprogram-paste-function): Remove.
7693
7694 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7695
7696 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7697 Call "git add" when there are no longer conflict markers.
7698
7699 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7700
7701 * vc/vc-git.el (vc-git-find-file-hook): New function.
7702 Adds support for calling smerge (and resolve) on a conflicted file.
7703 (vc-git-conflicted-files): New function.
7704 Useful in itself and a step towards better smerge support.
7705
7706 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7709 to the first part if they're the same as the selection.
7710
7711 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7712
7713 * image-mode.el (image-transform-reset): New command and menu item.
7714 (image-mode-map): Rearrange the menu items to put presumably more
7715 obscure items at the end.
7716
7717 2014-08-12 Juri Linkov <juri@jurta.org>
7718
7719 * vc/vc-annotate.el (vc-annotate-background-mode):
7720 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7721
7722 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7725
7726 2014-08-11 Sam Steingold <sds@gnu.org>
7727
7728 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7729 the presence of known validators (tidy, (o)nsgmls).
7730
7731 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7732
7733 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7734 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7735 (newsticker--treeview-list-add-item):
7736 Use `newsticker-treeview-date-format'.
7737
7738 2014-08-11 Glenn Morris <rgm@gnu.org>
7739
7740 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7741 chose coding system for writing before backing up, since it causes
7742 a more serious problem than the one it solves. (Closes Bug#18141,
7743 reopens Bug#13522.)
7744
7745 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7746
7747 * window.el (window-total-size): Make doc-string more self-contained.
7748
7749 * window.el (display-buffer-below-selected): Restore original
7750 behavior if buffer is already displayed in the window below the
7751 selected one (Bug#18181).
7752
7753 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7756 event (bug#18212).
7757
7758 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7759
7760 * info.el (info): Doc fix.
7761
7762 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7765 (bug#18212).
7766
7767 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7768
7769 * simple.el (default-line-height): A floating-point value of
7770 line-spacing means a fraction of the default frame font's height,
7771 not of the font currently used by the 'default' face.
7772 Truncate the pixel value, like the display engine does.
7773 (window-screen-lines): Use window-inside-pixel-edges for
7774 determining the window height in pixels. (Bug#18195)
7775
7776 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7777
7778 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7779
7780 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7781
7782 Enumerate evaluated sexp diary entries (Bug#7911).
7783 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7784 (icalendar-export-sexp-enumeration-days): New.
7785 (icalendar-export-region): Now `icalendar--convert-to-ical'
7786 returns a cons cell or a list of cons cells.
7787 (icalendar--convert-to-ical): Take care of
7788 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7789 (icalendar--convert-ordinary-to-ical)
7790 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7791 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7792 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7793 (icalendar--convert-anniversary-to-ical): Return cons cell.
7794 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7795 entries. Return (list of) cons cells.
7796
7797 2014-08-09 Juri Linkov <juri@jurta.org>
7798
7799 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7800 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7801
7802 2014-08-09 Alan Mackenzie <acm@muc.de>
7803
7804 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7805 for top-level that can cause unacceptable slow-down in scrolling.
7806 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7807 Antipov from 2013-10-14 in emacs-devel.
7808
7809 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7810
7811 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7812 `ibuffer-auto-mode' menu entry.
7813 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7814
7815 2014-08-08 Matthias Meulien <orontee@gmail.com>
7816
7817 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7818 (Bug#16394)
7819
7820 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7821
7822 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7823 calls of window-min-pixel-height and window-min-pixel-width.
7824
7825 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7826
7827 * progmodes/ada-mode.el:
7828 * net/tramp.el (tramp-handle-file-symlink-p):
7829 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7830 about VMS, which we no longer support.
7831 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7832 and fix a FIXME, using convert-standard-filename in place of
7833 removed ada-convert-file-name.
7834
7835 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7836
7837 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7838
7839 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7840
7841 Refer to MS-DOS using the same name everywhere.
7842 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7843 ``msdog'' become ``MS-DOS''.
7844
7845 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7846
7847 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7848 Use cached "remote-copy-args" value, if available. (Bug#18199)
7849
7850 2014-08-07 Leo Liu <sdl.web@gmail.com>
7851
7852 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7853 Revert change on 2014-03-22.
7854
7855 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7856
7857 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7858 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7859 (Bug#13750).
7860
7861
7862 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7863
7864 * image-mode.el (image-toggle-display-image): Always rescale images
7865 to not be bigger than the current window.
7866
7867 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7868
7869 * net/eww.el (eww-bookmarks-directory): New variable.
7870 (eww-write-bookmarks): Use it.
7871 (eww-read-bookmarks): Ditto.
7872
7873 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874
7875 * net/shr.el (shr-copy-url): Also copy the image URL.
7876
7877 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7878
7879 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7880 also for Tramp working buffers.
7881
7882 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7883
7884 * progmodes/python.el: Fix completions inside (i)pdb.
7885 (python-shell-completion-pdb-string-code): Make obsolete.
7886 (python-shell-completion-get-completions):
7887 Use python-shell-completion-string-code resending setup code
7888 continuously for (i)pdb.
7889
7890 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7891
7892 * rect.el (rectangle--default-line-number-format): Rename
7893 from misspelled rectange--default-line-number-format (Bug#18045).
7894 All uses changed.
7895
7896 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7897
7898 Don't mishandle year-9999 dates (Bug#18176).
7899 * calendar/parse-time.el (parse-time-rules):
7900 Allow years up to most-positive-fixnum.
7901 * calendar/time-date.el (date-to-time):
7902 Pass "Specified time is not representable" errors through.
7903
7904 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7905
7906 * progmodes/python.el: Completion code cleanups.
7907 (python-shell-completion-get-completions): Detect and send import
7908 statements directly to completion function.
7909 (python-shell-completion-at-point): Simplify prompt calculation
7910 and import vs input completion logic.
7911
7912 2014-08-02 Alan Mackenzie <acm@muc.de>
7913
7914 Fix confusion in C++ file caused by comma in "= {1,2},".
7915 Bug #17756.
7916 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7917 for a statement boundary marked by "}", check there's no "="
7918 before the "{".
7919 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7920 non-nil `comma-delim' argument.
7921 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7922 initializer expression more accurately.
7923
7924 Correct loop termination condition in c-syntactic-skip-backward.
7925 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7926 the situation where, after moving back out of a literal,
7927 skip-chars-backward doesn't move further, yet checks have still to
7928 be done.
7929
7930 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7931
7932 * tutorial.el (tutorial--display-changes): Accept punctuation
7933 characters before the key binding. (Bug#18146)
7934
7935 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7936
7937 * progmodes/python.el: Shell output capture enhancements.
7938 (python-shell-accept-process-output): New function.
7939 (inferior-python-mode)
7940 (python-shell-send-setup-code): Use it.
7941
7942 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7943
7944 * calendar/icalendar.el (icalendar--decode-isodatetime):
7945 Use actual current-time-zone when converting to local time. (Bug#15408)
7946
7947 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7948
7949 * window.el (window--state-put-2): Handle horizontal scroll
7950 bars, if present.
7951
7952 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7953
7954 * menu-bar.el (menu-bar-update-buffers): Update item list format
7955 in `buffers-menu' to confirm with changes to `get_keyelt'
7956 (r117463). (Bug#18016)
7957
7958 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7959
7960 * progmodes/python.el (inferior-python-mode): Make input prompts
7961 read-only.
7962
7963 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7964
7965 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7966 executables named "python2" or "python3".
7967 (tramp-get-remote-uid-with-python): Use parentheses around
7968 arguments to `print' to make it compatible with Python 3.
7969 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7970
7971 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7972
7973 * window.el (window--pixel-to-total): Use FRAME's root window, not
7974 that of the selected frame. (Bug#18112, Bug#16674)
7975
7976 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7977
7978 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7979 (Bug#18117)
7980
7981 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7982
7983 * progmodes/python.el (inferior-python-mode): Doc fix.
7984
7985 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7986
7987 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7988 not a character, ignore it instead of raising an error.
7989
7990 * calendar/todo-mode.el: Fix handling of marked items and make
7991 minor code improvements.
7992 (todo-edit-item): If there are marked items, ensure user can only
7993 invoke editing commands that work with marked items.
7994 (todo-edit-item--text): When there are marked items, make it a
7995 noop if invoked with point not on an item; otherwise, ensure it
7996 applies only to item at point.
7997 (todo-item-undone): If there are marked not-done items, return
7998 point to its original position before signaling user error.
7999 (todo--user-error-if-marked-done-item): New function.
8000 (todo-edit-item--header, todo-edit-item--diary-inclusion)
8001 (todo-item-done): Use it.
8002
8003 2014-07-28 Glenn Morris <rgm@gnu.org>
8004
8005 * files.el (toggle-read-only): Re-add basic doc-string.
8006 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8007
8008 * progmodes/prolog.el (prolog-mode-keybindings-edit):
8009 Replace missing `switch-to-prolog' with `run-prolog'.
8010 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8011
8012 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8013
8014 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8015 of file-wide setting when changing category-wide setting.
8016
8017 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8018
8019 * doc-view.el (doc-view-open-text): Don't require that the
8020 document is saved in a file (e.g., email attachment).
8021
8022 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8023
8024 Parse completion input in a iPython friendly way. (Bug#18084)
8025 * progmodes/python.el
8026 (python-shell-completion-at-point): Rename from
8027 python-shell-completion-complete-at-point.
8028 (inferior-python-mode): Use it.
8029 (python-completion-at-point): Rename from
8030 python-completion-complete-at-point. Parse input up to first
8031 backward occurrence of whitespace, open-paren, close-paren or
8032 string delimiter.
8033 (python-mode): Use it.
8034
8035 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8036
8037 * progmodes/python.el
8038 (python-shell-with-shell-buffer): New macro.
8039 (python-shell-font-lock-get-or-create-buffer)
8040 (python-shell-font-lock-kill-buffer)
8041 (python-shell-font-lock-with-font-lock-buffer)
8042 (python-shell-font-lock-cleanup-buffer)
8043 (python-shell-font-lock-toggle): Use it.
8044 (python-shell-font-lock-turn-on)
8045 (python-shell-font-lock-turn-off): Use it. Make command.
8046
8047 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8048
8049 Grab all Python process output before inferior-python-mode hooks.
8050 * progmodes/python.el (inferior-python-mode):
8051 Call accept-process-output and sit-for to ensure all output for process
8052 has been received before running hooks.
8053 (python-shell-internal-get-or-create-process):
8054 Cleanup accept-process-output and sit-for calls.
8055
8056 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8057
8058 More robust shell startup and code setup.
8059 * progmodes/python.el (python-shell-make-comint):
8060 Remove accept-process-output call.
8061 (python-shell-get-buffer): Return current buffer if major-mode is
8062 inferior-python-mode.
8063 (python-shell-get-or-create-process): Use it.
8064 (python-shell-send-setup-code): Send all setup code in one string,
8065 output success message and accept-process-output.
8066
8067 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8068
8069 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8070 Add rudimentary support for bidirectional text.
8071
8072 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8073
8074 * frame.el (frame-notice-user-settings): Rewrite using
8075 frame-initial-frame-tool-bar-height.
8076 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8077 (menu-bar-no-horizontal-scroll-bar): New functions.
8078 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8079 scroll bars.
8080 * scroll-bar.el (scroll-bar-lines)
8081 (set-horizontal-scroll-bar-mode)
8082 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8083 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8084 (scroll-bar-toolkit-horizontal-scroll): New functions.
8085 (horizontal-scroll-bar-mode)
8086 (previous-horizontal-scroll-bar-mode)
8087 (horizontal-scroll-bar-mode-explicit): New variables.
8088 (horizontal-scroll-bar-mode): New option.
8089 (toggle-horizontal-scroll-bar): Do something.
8090 (top-level): Bind horizontal-scroll-bar mouse-1.
8091 * startup.el (tool-bar-originally-present): Remove variable.
8092 (command-line): Don't set tool-bar-originally-present.
8093 * window.el (window-min-height): Update doc-string.
8094 (window--dump-frame): Dump horizontal scroll bar values.
8095 (window--min-size-1): Handle minibuffer window separately.
8096 Count in margins and horizontal scroll bar. Return safe value
8097 iff IGNORE equals 'safe.
8098 (frame-windows-min-size): New function (used by frame resizing
8099 routines).
8100 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8101 scroll bars.
8102 (window--sanitize-window-sizes): New function.
8103 (window-split-min-size): Remove.
8104 (split-window): Count divider-width. Don't use
8105 `window-split-min-size' any more. Reword error messages.
8106 Sanitize windows sizes after splitting.
8107
8108 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8109
8110 Use `defvar-local' more.
8111 * progmodes/hideshow.el
8112 (hs-c-start-regexp, hs-block-start-regexp)
8113 (hs-block-start-mdata-select, hs-block-end-regexp)
8114 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8115 remove corresponding `make-variable-buffer-local' top-level calls.
8116
8117 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8118
8119 Cleanup error signals. (Bug#18067)
8120 * progmodes/python.el
8121 (python-indent-shift-left): Use user-error instead.
8122 (python-shell-prompt-detect): Use lwarn with python group.
8123 (python-completion-complete-at-point)
8124 (python-eldoc--get-doc-at-point): Don't signal error.
8125
8126 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8127
8128 Support for packages in Python shell. (Bug#13570)
8129 * progmodes/python.el (python-shell--package-depth): New var.
8130 (python-shell-package-enable): New command.
8131 (python-util-list-directories, python-util-list-files)
8132 (python-util-list-packages): New functions.
8133
8134 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8135
8136 Faster comint output. (Bug#16875)
8137 * progmodes/python.el:
8138 (python-comint-output-filter-function): Make obsolete.
8139 (python-comint-postoutput-scroll-to-bottom): New function.
8140 (inferior-python-mode): Set comint-output-filter-functions to a
8141 minimum.
8142
8143 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8144
8145 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8146 Safeguard current point and undo history.
8147
8148 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8149
8150 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8151 * progmodes/python.el:
8152 (python-shell-prompt-input-regexps): Add iPython block prompt.
8153 (python-shell-output-syntax-table): Delete var.
8154 (python-shell-font-lock-with-font-lock-buffer): New macro.
8155 (python-shell-font-lock-get-or-create-buffer)
8156 (python-shell-font-lock-kill-buffer)
8157 (python-shell-font-lock-cleanup-buffer)
8158 (python-shell-font-lock-post-command-hook)
8159 (python-shell-font-lock-turn-off): New functions.
8160 (python-shell-font-lock-turn-on): New function.
8161 (inferior-python-mode): Use it.
8162 (python-shell-font-lock-toggle): New command.
8163 (python-shell-font-lock-enable): Rename from
8164 python-shell-enable-font-lock.
8165 (run-python-internal): Use it.
8166 (python-shell-font-lock-comint-output-filter-function): New function.
8167 (python-shell-comint-end-of-output-p): New function.
8168 (python-shell-output-filter): Use it.
8169 (python-util-comint-last-prompt): New function.
8170 (python-util-text-properties-replace-name): New function.
8171
8172 2014-07-25 Glenn Morris <rgm@gnu.org>
8173
8174 * vc/ediff-init.el (ediff-toggle-read-only-function):
8175 * vc/ediff-util.el (ediff-toggle-read-only):
8176 Replace obsolete toggle-read-only with read-only-mode.
8177
8178 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8179
8180 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8181 with `save-match-data'. (Bug#18095)
8182
8183 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8184
8185 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8186 order to ensure that row and col are lexically bound inside the
8187 evaluated sexp.
8188
8189 2014-07-21 Glenn Morris <rgm@gnu.org>
8190
8191 * progmodes/hideif.el (hide-ifdef-mode-submap):
8192 Also substitute read-only-mode.
8193 * bindings.el (mode-line-toggle-read-only):
8194 * bs.el (bs-toggle-readonly):
8195 * buff-menu.el (Buffer-menu-toggle-read-only):
8196 * dired.el (dired-toggle-read-only):
8197 * files.el (view-read-only, find-file-read-only)
8198 (find-file-read-only-other-window)
8199 (find-file-read-only-other-frame):
8200 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8201 Doc fixes re toggle-read-only.
8202
8203 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8204
8205 * progmodes/python.el: Add comment about pipe buffering and
8206 solutions for missing/delayed output in inferior Python shells.
8207 (Bug#17304)
8208
8209 * progmodes/python.el (python-mode): Don't set
8210 mode-require-final-newline. (Bug#17990)
8211
8212 Make python.el work with IPython automatically. (Bug#15510)
8213 * progmodes/python.el:
8214 (python-shell-completion-setup-code): New value supporting iPython.
8215 (python-shell-completion-string-code): New value supporting iPython.
8216 (python-shell-completion-get-completions): Use them.
8217 (python-shell-completion-module-string-code): Make obsolete.
8218 (python-shell-prompt-input-regexps)
8219 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8220 (python-shell-output-filter): Fix comment typo.
8221
8222 Fix Python shell prompts detection for remote hosts.
8223 * progmodes/python.el (python-shell-prompt-detect):
8224 Replace call-process with process-file and make it more robust.
8225
8226 Autodetect Python shell prompts. (Bug#17370)
8227 * progmodes/python.el:
8228 (python-shell-interpreter-interactive-arg)
8229 (python-shell-prompt-detect-enabled)
8230 (python-shell-prompt-detect-failure-warning)
8231 (python-shell-prompt-input-regexps)
8232 (python-shell-prompt-output-regexps): New vars.
8233 (python-shell-prompt-calculated-input-regexp)
8234 (python-shell-prompt-calculated-output-regexp): New vars.
8235 (python-shell-get-process-name)
8236 (python-shell-internal-get-process-name)
8237 (python-shell-output-filter)
8238 (python-shell-completion-get-completions): Use them.
8239 (python-shell-prompt-detect)
8240 (python-shell-prompt-validate-regexps): New functions.
8241 (python-shell-prompt-set-calculated-regexps): New function.
8242 (inferior-python-mode): Use it. Also honor overriden
8243 python-shell-interpreter and python-shell-interpreter-args.
8244 (python-shell-make-comint): Honor overriden
8245 python-shell-interpreter and python-shell-interpreter-args.
8246 (python-shell-get-or-create-process): Make it testable by allowing
8247 to call run-python non-interactively.
8248 (python-util-valid-regexp-p): New function.
8249 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8250 (python-shell-prompt-output-regexp)
8251 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8252
8253 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8256 smie-config--guess.
8257 (smie-config--guess): Use it.
8258
8259 * emacs-lisp/edebug.el: Use nadvice.
8260 (edebug-original-read): Remove.
8261 (edebug--read): Rename from edebug-read and add `orig' arg.
8262 (edebug-uninstall-read-eval-functions)
8263 (edebug-install-read-eval-functions): Use nadvice.
8264 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8265 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8266 (edebug-read-string, edebug-read-function): Use just `read'.
8267 (edebug-original-debug-on-entry): Remove.
8268 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8269 `orig' arg.
8270 (debug-on-entry): Override with nadvice.
8271
8272 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8273 it also makes sense to bind it to a non-mouse event.
8274
8275 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8276
8277 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8280 (bug#18015).
8281
8282 * rect.el (rectangle--string-preview): Don't assume there
8283 a non-nil default (bug#17984).
8284
8285 2014-07-16 Glenn Morris <rgm@gnu.org>
8286
8287 * desktop.el (after-init-hook): Disable startup frame restoration
8288 in non-graphical situations. (Bug#17693)
8289
8290 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8291 if it was "empty", or used for a different set of files. (Bug#17884)
8292
8293 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8294
8295 * bindings.el (mode-line-remote): If default-directory is not a
8296 string, don't call file-remote-p on it; instead state in the
8297 help-echo that it is nil. (Bug#17986)
8298
8299 2014-07-14 Daniel Colascione <dancol@dancol.org>
8300
8301 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8302 to `macroexpand-all'
8303
8304 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8305 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8306
8307 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8308
8309 Fix bug: C-x v v discarded existing log message (Bug#17884).
8310 * vc/vc-dispatcher.el (vc-log-edit):
8311 Don't clobber an already-existing log message.
8312
8313 2014-07-12 Glenn Morris <rgm@gnu.org>
8314
8315 * vc/log-edit.el (log-edit-changelog-entries):
8316 Check for a visited-but-never-saved ChangeLog.
8317
8318 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8321 a non-existing file (bug#17970).
8322
8323 * faces.el (face-name): Undo last change.
8324 (x-resolve-font-name): Don't call face-name (bug#17956).
8325
8326 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8327
8328 Fix dedenters and electric colon handling. (Bug#15163)
8329 * progmodes/python.el
8330 (python-rx-constituents): Add dedenter and block-ender.
8331 (python-indent-dedenters, python-indent-block-enders): Delete.
8332 (python-indent-context): Return new case for dedenter-statement.
8333 (python-indent-calculate-indentation): Handle new case.
8334 (python-indent-calculate-levels): Fix levels calculation for
8335 dedenter statements.
8336 (python-indent-post-self-insert-function): Fix colon handling.
8337 (python-info-dedenter-opening-block-message): New function.
8338 (python-indent-line): Use it.
8339 (python-info-closing-block)
8340 (python-info-closing-block-message): Remove.
8341 (python-info-dedenter-opening-block-position)
8342 (python-info-dedenter-opening-block-positions)
8343 (python-info-dedenter-statement-p): New functions.
8344
8345 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8346
8347 * files.el (out-of-memory-warning-percentage): New defcustom.
8348 (warn-maybe-out-of-memory): Use it.
8349
8350 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8351
8352 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8353 when calling `read-string'. (Bug#17839)
8354
8355 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8356
8357 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8358 warning.
8359
8360 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8361
8362 * files.el (warn-maybe-out-of-memory): New function.
8363 (find-file-noselect): Use it.
8364
8365 2014-07-09 Sam Steingold <sds@gnu.org>
8366
8367 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8368 `constant' like `bless', `return' &c
8369
8370 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8373 next line.
8374
8375 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8378 the middle of a line (bug#17896).
8379
8380 2014-07-09 Juri Linkov <juri@jurta.org>
8381
8382 * startup.el (command-line): Append displaying the warning about
8383 the errors in the init file to the end of `after-init-hook'.
8384 (Bug#17927)
8385
8386 * faces.el (face-name): Return input arg `face' as-is
8387 when it's not a symbol.
8388 (x-resolve-font-name): Don't check if the face is a symbol.
8389 (Bug#17956)
8390
8391 * facemenu.el (list-colors-print): In help-echo format use %.2f
8392 instead of %d because now HSV values are floating-point components
8393 between 0.0 and 1.0.
8394
8395 2014-07-09 Glenn Morris <rgm@gnu.org>
8396
8397 * emulation/cua-rect.el (cua--activate-rectangle):
8398 Avoid setting cua--rectangle to nil. (Bug#17877)
8399
8400 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8401
8402 * calendar/todo-mode.el: Fix wrong-type-argument error when
8403 marking multiple consecutive items.
8404 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8405 end of the todo and done items sections. Note in doc string that
8406 items marked by passing a numeric prefix argument can include the
8407 last todo and first done items.
8408 (todo-mark-category): Don't try to mark the empty line between the
8409 todo and done items sections.
8410
8411 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8414 proper Lisp quoting (bug#17934).
8415
8416 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8417 require-final-newline since prog-mode already took care of it (bug#17947).
8418
8419 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8420
8421 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8422 refer to the Todo mode Info manual. Update the comment on
8423 requiring cl-lib.
8424 (todo-find-filtered-items-file): Add todo-prefix overlays.
8425 (todo-filter-items): Reorder a let-bound variable to avoid a
8426 wrong-type-argument error on canceling the file choice dialog.
8427
8428 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * progmodes/octave.el (inferior-octave-mode):
8431 Set comint-input-ring-size to a number (bug#17912).
8432
8433 2014-07-09 Juri Linkov <juri@jurta.org>
8434
8435 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8436 and `isearch-mode' associated with nil. (Bug#17849)
8437
8438 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * linum.el (linum--face-height): New function (bug#17813).
8441 (linum-update-window): Use it to adjust margin to linum's width.
8442
8443 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8444 * eshell/em-smart.el (eshell-smart-scroll-window):
8445 Use with-selected-window.
8446
8447 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8448 Remove also pointless window&mark manipulation.
8449
8450 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8451 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8452 (perl-continuation-line-p): Don't skip over anything else than labels.
8453 Return the previous char.
8454 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8455 and update callers accordingly. For continuation lines, check the
8456 the case of array hashes.
8457 (perl-backward-to-noncomment): Make it non-interactive.
8458 (perl-backward-to-start-of-continued-exp): Rewrite.
8459
8460 2014-07-08 Sam Steingold <sds@gnu.org>
8461
8462 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8463 New user commands.
8464
8465 2014-07-08 Juri Linkov <juri@jurta.org>
8466
8467 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8468 (vc-annotate-color-map): Use less saturated colors (20%) for
8469 background-mode.
8470 (vc-annotate-very-old-color): Add default value for background-mode.
8471 (vc-annotate-background): Set default value to nil since now text on
8472 the default backgrounds should be legible in light and dark modes.
8473 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8474 (Bug#17808)
8475
8476 2014-07-08 Juri Linkov <juri@jurta.org>
8477
8478 * simple.el (transpose-chars): Don't move point into read-only area.
8479 (Bug#17829)
8480
8481 2014-07-08 Juri Linkov <juri@jurta.org>
8482
8483 * window.el (with-displayed-buffer-window): New macro.
8484 (with-temp-buffer-window, with-current-buffer-window):
8485 Use `macroexp-let2' to evaluate and bind variables
8486 in the same order as macro arguments.
8487 (display-buffer--action-function-custom-type):
8488 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8489
8490 * minibuffer.el (minibuffer-completion-help): Replace
8491 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8492 with actions that display *Completions* at-bottom when called
8493 from the minibuffer, or below-selected in a normal buffer.
8494 Associate `window-height' with `fit-window-to-buffer'.
8495 Let-bind `pop-up-windows' to nil.
8496
8497 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8498 instead of `with-current-buffer-window'. (Bug#17809)
8499
8500 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8501
8502 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8503 (hide-ifdef-env-backup): New variable.
8504 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8505 New customizable variables.
8506 (hif-clear-all-ifdef-defined): New defun.
8507 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8508 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8509 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8510 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8511 Fix bug to hide the correct #elif region(s).
8512 (hif-range-elif): New defun.
8513 (hif-recurse-level): New var.
8514 (hif-evaluate-region, hif-evaluate-macro): New defun.
8515 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8516 fully hidden.
8517 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8518 Better interaction.
8519
8520 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8521
8522 * net/dbus.el (dbus-peer-handler): New defun.
8523 (dbus-register-service): Register it. (Bug#17858)
8524 (dbus-managed-objects-handler): Fix docstring.
8525
8526 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8527
8528 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8529 (narrow-to-defun): New arg include-comments, defaulting to it
8530 (bug#16328).
8531
8532 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8535 different calling convention to rectangle--unhighlight-for-redisplay.
8536
8537 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8538
8539 * net/tramp.el (tramp-call-process): Handle error strings.
8540
8541 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8542
8543 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8544 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8545
8546 * net/trampver.el: Update release number.
8547
8548 2014-07-03 Juri Linkov <juri@jurta.org>
8549
8550 * desktop.el (desktop-save): Rename arg `auto-save' to
8551 `only-if-changed'. Doc fix. (Bug#17873)
8552
8553 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8556 Use insert-for-yank (bug#17271).
8557
8558 2014-07-03 Leo Liu <sdl.web@gmail.com>
8559
8560 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8561 Support lexical-binding.
8562
8563 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * vc/log-edit.el (log-edit-goto-eoh): New function.
8566 (log-edit--match-first-line): Use it (bug#17861).
8567
8568 2014-07-03 Glenn Morris <rgm@gnu.org>
8569
8570 * vc/log-edit.el (log-edit-hook): Add missing :version.
8571
8572 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8573
8574 * progmodes/python.el (python-indent-post-self-insert-function):
8575 Enhancements to electric indentation behavior inside
8576 parens. (Bug#17658)
8577
8578 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8581 buffer-invisibility-spec (bug#17867).
8582
8583 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8584
8585 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8586 pass "-a".
8587
8588 2014-07-03 Glenn Morris <rgm@gnu.org>
8589
8590 * cus-edit.el (help):
8591 * finder.el (finder-known-keywords):
8592 * help.el (help-for-help-internal):
8593 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8594 (ediff-redraw-registry-buffer):
8595 * vc/ediff-ptch.el (ediff-patch-file-internal):
8596 Doc fixes re "online" help. (Bug#17803)
8597
8598 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8599 (idlwave-mode): Doc URL update.
8600
8601 2014-07-01 Juri Linkov <juri@jurta.org>
8602
8603 * man.el: Display man pages immediately and use process-filter
8604 to format them asynchronously.
8605 (Man-width): Doc fix.
8606 (man): Doc fix.
8607 (Man-start-calling): Use `with-selected-window' to get
8608 `frame-width' and `window-width'.
8609 (Man-getpage-in-background): Call `Man-notify-when-ready'
8610 immediately after creating a new buffer. Call `Man-mode' and set
8611 `mode-line-process' in the created buffer. Set process-filter to
8612 `Man-bgproc-filter' in start-process branch. In call-process branch
8613 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8614 Use `Man-start-calling' inside `with-current-buffer'.
8615 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8616 (Man-cleanup-manpage): Don't print messages.
8617 (Man-bgproc-filter): New function.
8618 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8619 user moved it during asynchronous formatting. Move calls of
8620 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8621 `Man-bgproc-filter'. Move the call of `Man-mode' to
8622 `Man-getpage-in-background'. Use `quit-restore-window'
8623 instead of `kill-buffer'. Use `message' instead of `error'
8624 because errors are caught by process sentinel.
8625 (Man-mode): Move calls of `Man-build-page-list',
8626 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8627 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8628
8629 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8630 for the message about the man page cleaned up.
8631
8632 2014-07-01 Mario Lang <mlang@delysid.org>
8633
8634 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8635 cosutomization option `gnutls-verify-error'.
8636
8637 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8640 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8641
8642 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8643 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8644 is suspended (bug#17857).
8645
8646 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8647
8648 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8649 Prefer utf-8 coding. (Bug#17859)
8650
8651 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8652
8653 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8654 for `reverse'.
8655
8656 2014-06-30 Glenn Morris <rgm@gnu.org>
8657
8658 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8659 (autoload-ensure-default-file): Maybe make existing output writable.
8660 * Makefile.in (AUTOGEN_VCS): Remove.
8661 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8662
8663 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8664
8665 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8666
8667 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8668
8669 New if-let, when-let, thread-first and thread-last macros.
8670
8671 * emacs-lisp/subr-x.el
8672 (internal--listify, internal--check-binding)
8673 (internal--build-binding-value-form, internal--build-binding)
8674 (internal--build-bindings): New functions.
8675 (internal--thread-argument, thread-first, thread-last)
8676 (if-let, when-let): New macros.
8677
8678 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8679
8680 * net/rcirc.el (rcirc-buffer-process): Restore previous
8681 behaviour. (Bug#17772)
8682
8683 2014-06-29 Alan Mackenzie <acm@muc.de>
8684
8685 Don't call c-parse-state when c++-template-syntax-table is active.
8686 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8687 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8688 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8689
8690 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8691
8692 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8693 account for file-wide setting of todo-top-priorities-overrides.
8694 Make code a bit cleaner.
8695
8696 2014-06-28 Glenn Morris <rgm@gnu.org>
8697
8698 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8699
8700 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8701
8702 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8703 category-wide setting of todo-top-priorities-overrides, check for
8704 a file-wide setting and fontify accordingly.
8705
8706 2014-06-28 Glenn Morris <rgm@gnu.org>
8707
8708 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8709
8710 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8713
8714 2014-06-28 K. Handa <handa@gnu.org>
8715
8716 Fix Bug#17739.
8717
8718 * composite.el: Setup composition-function-table for dotted circle.
8719 (compose-gstring-for-dotted-circle): New function.
8720
8721 * international/characters.el: Add category "^" to all
8722 non-spacing characters.
8723
8724 2014-06-28 Glenn Morris <rgm@gnu.org>
8725
8726 * Makefile.in (doit): Remove force rule.
8727 (custom-deps, finder-data, autoloads, update-subdirs)
8728 (compile-one-process): PHONY targets do not need force rules.
8729
8730 * Makefile.in (compile-main, compile, compile-always):
8731 No need to explicitly pass variables to ourself in recursive calls.
8732
8733 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8734
8735 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8736
8737 2014-06-26 Glenn Morris <rgm@gnu.org>
8738
8739 * Makefile.in (update-authors): Update for moved authors.el.
8740
8741 2014-06-26 Leo Liu <sdl.web@gmail.com>
8742
8743 * skeleton.el (skeleton-end-hook): Default to nil and move the
8744 work to skeleton-insert. (Bug#17850)
8745
8746 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8747
8748 * calc/calc-alg.el (math-beforep):
8749 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8750 Simplify because string-lessp can accept symbols as args.
8751
8752 2014-06-26 Daiki Ueno <ueno@gnu.org>
8753
8754 * emacs-lisp/package.el (package--check-signature):
8755 If package-check-signature is allow-unsigned, don't signal error when
8756 we can't verify signature because of missing public key
8757 (bug#17625).
8758
8759 2014-06-26 Glenn Morris <rgm@gnu.org>
8760
8761 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8762 Remove outdated declaration.
8763
8764 * emacs-lisp/authors.el (authors-valid-file-names)
8765 (authors-renamed-files-alist): Additions.
8766
8767 2014-06-26 Leo Liu <sdl.web@gmail.com>
8768
8769 * textmodes/picture.el (picture-set-tab-stops):
8770 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8771 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8772
8773 * progmodes/asm-mode.el (asm-calculate-indentation):
8774 Use indent-next-tab-stop.
8775
8776 * indent.el (indent-accumulate-tab-stops): New function.
8777
8778 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8781 (package-desc-status): Obey it.
8782
8783 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8784
8785 * calendar/todo-mode.el: Fix two bugs.
8786 (todo-insert-item--basic): If user cancels item insertion to
8787 another category before setting priority, show original category
8788 whether it is in the same or a different file.
8789 (todo-set-item-priority): After selecting category, instead of
8790 moving point to top, which extends an active region, restore it.
8791
8792 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * help-fns.el (describe-function-1): Check file-name is a string before
8795 calling help-fns--autoloaded-p (bug#17564).
8796
8797 2014-06-26 Juri Linkov <juri@jurta.org>
8798
8799 * desktop.el (desktop-auto-save-enable)
8800 (desktop-auto-save-disable): New functions.
8801 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8802 (desktop-read): Disable the autosave before loading the desktop,
8803 and enable afterwards. (Bug#17351)
8804
8805 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 Fix some indentation problem with \; and pipes (bug#17842).
8808 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8809 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8810 New functions.
8811 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8812 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8813 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8814
8815 2014-06-26 Glenn Morris <rgm@gnu.org>
8816
8817 * emacs-lisp/find-func.el (find-function-C-source-directory):
8818 Use file-accessible-directory-p.
8819
8820 * ps-samp.el: Make it slightly less awful.
8821 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8822 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8823 Only set local values.
8824 (ps-article-subject, ps-article-author): Use standard functions
8825 like mail-fetch-field.
8826 (ps-info-file, ps-info-node): Use match-string.
8827 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8828 (ps-samp-ps-setup): ... new function.
8829
8830 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8831 Optimize away code unneeded on any modern Emacs.
8832
8833 * emacs-lisp/authors.el: Move to ../admin.
8834
8835 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8836
8837 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8838
8839 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8840 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8841 performance enhancements.
8842 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8843 expansion.
8844 (hif-factor, hif-string-concatenation, intern-safe): Support string
8845 concatenation and argumented macro expansion.
8846 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8847 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8848 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8849 (hif-canonicalize-tokens, hif-place-macro-invocation)
8850 (hif-parse-macro-arglist): Mostly new functions for supporting
8851 argumented macro expansion.
8852 (hif-string-concatenation, hif-stringify, hif-token-concat)
8853 (hif-token-stringification, hif-token-concatenation):
8854 Stringification and concatenation.
8855 (hif-find-next-relevant): Fix comments.
8856 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8857 some cases involving #elif.
8858 (hif-find-define, hif-add-new-defines): New functions for automatically
8859 scanning of defined symbols.
8860 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8861 (hide-ifdef-undef): Fix behavior to match CPP.
8862
8863 2014-06-25 Glenn Morris <rgm@gnu.org>
8864
8865 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8866 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8867 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8868 files. They are not relevant to the original issue (bug#1004),
8869 and cause unnecessary recompilation (bug#2151).
8870
8871 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8874 (landmark--last-pos): New var.
8875 (landmark--intangible-chars): New const.
8876 (landmark--intangible): New function.
8877 (landmark-mode, landmark-move): Use it.
8878 (landmark-mode): Remove properties.
8879 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8880 (landmark-cross-qtuple):
8881 Don't worry about `intangible' any more.
8882 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8883 (landmark-init-display): Don't set `intangible' and `point-entered'.
8884 (square): Remove. Inline it instead.
8885 (landmark--distance): Rename from `distance'.
8886 (landmark-calc-distance-of-robot-from): Rename from
8887 calc-distance-of-robot-from.
8888 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8889
8890 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8891
8892 * files.el (dir-locals-find-file, file-relative-name):
8893 * info.el (Info-complete-menu-item):
8894 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8895 to compare-strings to avoid out-of-range errors.
8896 * subr.el (string-prefix-p): Adjust to match strict range
8897 checking in compare-strings.
8898
8899 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8900
8901 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8902 for comment lines non-greedy and stopping at newlines to fix stack
8903 overflows with large files.
8904
8905 2014-06-24 Eli Barzilay <eli@barzilay.org>
8906
8907 * calculator.el (calculator-last-input): Drop 'ascii-character property
8908 lookup.
8909
8910 2014-06-24 Leo Liu <sdl.web@gmail.com>
8911
8912 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8913 tab-stop-list to nil. (Bug#16381)
8914
8915 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8916 (indent-rigidly-left-to-tab-stop)
8917 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8918 (move-to-tab-stop): Change callers.
8919
8920 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8921
8922 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8923 wrt behavior of \n as the first/last element of a skeleton.
8924
8925 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8926
8927 * net/tramp-adb.el (tramp-adb-handle-process-file):
8928 * net/tramp-sh.el (tramp-sh-handle-process-file):
8929 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8930 the output buffer when DISPLAY is non-nil. (Bug#17815)
8931
8932 2014-06-24 Glenn Morris <rgm@gnu.org>
8933
8934 * play/landmark.el (landmark-move-down, landmark-move-up):
8935 Fix 2007-10-20 change - preserve horizontal position.
8936
8937 2014-06-23 Sam Steingold <sds@gnu.org>
8938
8939 * simple.el (kill-append): Remove undo boundary depending on ...
8940 (kill-append-merge-undo): New user option.
8941
8942 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * simple.el (handle-shift-selection, exchange-point-and-mark)
8945 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8946 (transient-mark-mode): Use&set the global value.
8947 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8948 * emulation/edt.el (edt-emulation-off): Save&restore the global
8949 transient-mark-mode setting.
8950 * obsolete/pc-select.el (pc-selection-mode): Use the
8951 transient-mark-mode function.
8952
8953 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8954
8955 * international/fontset.el (script-representative-chars):
8956 Add representative characters for scripts added in Unicode 7.0.
8957 (otf-script-alist): Synchronize with the latest registry of OTF
8958 script tags.
8959
8960 * international/characters.el (char-script-table): Update for
8961 scripts added and codepoint ranges changed in Unicode 7.0.
8962
8963 2014-06-23 Eli Barzilay <eli@barzilay.org>
8964
8965 * calculator.el (calculator-standard-displayer): Fix bug in use of
8966 `calculator-groupize-number'.
8967 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8968 `eval' code, so it works in v24.3.1 too.
8969 (calculator-last-input): Comment to clarify purpose.
8970
8971 2014-06-22 Mario Lang <mlang@delysid.org>
8972
8973 * textmodes/rst.el (rst-comment-region): From from -> from.
8974
8975 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8976
8977 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8978
8979 * electric.el (electric-layout-post-self-insert-function):
8980 * emacs-lisp/ert.el (ert--insert-infos):
8981 * obsolete/vi.el (vi-set-mark):
8982 * term.el (term-handle-scroll):
8983 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8984 * wid-edit.el (widget-editable-list-value-create):
8985 Prefer point-marker to copy-marker of point.
8986
8987 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8988
8989 Fix completion retrieval parsing (bug#17209).
8990 * progmodes/python.el (python-mode):
8991 (python-util-strip-string): New function.
8992 (python-shell-completion-get-completions): Use it.
8993
8994 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8995
8996 * skeleton.el (skeleton-insert): Fix last change.
8997
8998 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8999
9000 Enhancements for outline integration (bug#17796).
9001 * progmodes/python.el (python-mode): Properly set
9002 outline-heading-end-regexp so that comments after colons for
9003 defuns are supported.
9004
9005 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9006
9007 * skeleton.el (skeleton-insert): Doc fix.
9008
9009 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9012 (smie-config-guess): Use smie-config-local so the rules are obeyed
9013 (bug#17818).
9014
9015 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9016 since it's already done inside the loop (bug#17819).
9017
9018 2014-06-21 Martin Rudalics <rudalics@gmx.at>
9019
9020 * mouse.el (mouse-drag-line): Re-remove code initially removed
9021 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9022 (Bug#17819).
9023
9024 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9027 align with the surrounding parent (bug#17721).
9028
9029 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9030
9031 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9032 locally to nil.
9033 (texinfo-insert-block, texinfo-insert-@end)
9034 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9035 local setting of skeleton-end-newline by adding an explicit \n to
9036 the skeletons where appropriate. (Bug#17801)
9037
9038 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9041 (smie-indent--hanging-p): Use it.
9042 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9043
9044 2014-06-21 Leo Liu <sdl.web@gmail.com>
9045
9046 * simple.el (read-quoted-char): Don't let help chars pop up help
9047 buffer. (Bug#16617)
9048
9049 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9050
9051 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9052 for | (bug#17621).
9053
9054 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9055 Drop unknown events instead of burping.
9056
9057 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9058
9059 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9060 and later. (Bug#17790)
9061
9062 2014-06-21 Juri Linkov <juri@jurta.org>
9063
9064 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9065 to `soft'. (Bug#17554)
9066
9067 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9070 (bug#17737).
9071
9072 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9073
9074 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9075 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9076
9077 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9078
9079 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9080 `unread-command-events'.
9081
9082 2014-06-19 William Xu <william.xwl@gmail.com>
9083
9084 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9085 hex integer constants (bug#17807).
9086
9087 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * international/mule-util.el (truncate-string-ellipsis): New var.
9090 (truncate-string-to-width): Use it.
9091
9092 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9093
9094 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9095 (lisp-string-in-doc-position-p): New function, extracted from
9096 lisp-font-lock-syntactic-face-function.
9097 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9098
9099 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9100
9101 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9102
9103 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9106 (bubbles--game-over): Don't add `intangible' properties since they
9107 didn't work anyway.
9108
9109 2014-06-18 Juri Linkov <juri@jurta.org>
9110
9111 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9112 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9113 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9114 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9115 Add `min-colors 88' version with removed black/white foregrounds.
9116 (Bug#10181)
9117
9118 2014-06-18 Juri Linkov <juri@jurta.org>
9119
9120 * vc/diff-mode.el (diff-changed): Empty face definition to use
9121 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9122 (diff-context): Use darker color on light background and
9123 lighter color on dark background.
9124
9125 2014-06-18 Juri Linkov <juri@jurta.org>
9126
9127 * vc/diff-mode.el (diff-refine-changed): Rename from
9128 `diff-refine-change' for consistency with `diff-changed'.
9129 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9130
9131 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9132 `smerge-refined-change'.
9133 (smerge-refined-change): Add obsolete face alias.
9134
9135 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * rect.el (rectangle-preview): New custom.
9138 (rectangle): New group.
9139 (rectangle--pos-cols): Add `window' argument.
9140 (rectangle--string-preview-state, rectangle--string-preview-window):
9141 New vars.
9142 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9143 (rectangle--space-to, rectangle--string-preview): New functions.
9144 (string-rectangle): Use them.
9145 (rectangle--inhibit-region-highlight): New var.
9146 (rectangle--highlight-for-redisplay): Obey it. Make sure
9147 `apply-on-region' uses the point-crutches of the right window.
9148 Use :align-to rather than multiple spaces.
9149
9150 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9151
9152 * ruler-mode.el (ruler-mode-window-col)
9153 (ruler-mode-mouse-set-left-margin)
9154 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9155 from mouse position (Bug#17768).
9156
9157 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9158
9159 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9160 without varname or rhs causes crash.
9161 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9162 impossible to win endgame.
9163 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9164 rlogin is anymore.
9165 (dun-help): Bump version number; update contact info.
9166
9167 2014-06-15 Eli Barzilay <eli@barzilay.org>
9168
9169 * calculator.el (calculator-prompt, calculator-remove-zeros)
9170 (calculator-mode-hook, calculator-operators, calculator-stack)
9171 (calculator-mode): Tweak docstring.
9172 (calculator-user-operators): Tweak docstring, fix a bug in the last
9173 example.
9174 (calculator-displayer): `std' case has an optional boolean.
9175 (calculator-displayers): Use the new boolean to group in decimal mode.
9176 (calculator-mode-map, calculator, calculator-message)
9177 (calculator-op-arity, calculator-add-operators)
9178 (calculator-string-to-number, calculator-displayer-prev)
9179 (calculator-displayer-next, calculator-remove-zeros)
9180 (calculator-eng-display, calculator-number-to-string)
9181 (calculator-update-display, calculator-last-input)
9182 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9183 (calculator-exp, calculator-saved-move, calculator-clear)
9184 (calculator-copy, calculator-put-value, calculator-help)
9185 (calculator-expt, calculator-truncate): Minor code improvements.
9186 (calculator-need-3-lines): New function pulling out code from
9187 `calculator'.
9188 (calculator-get-display): Rename from `calculator-get-prompt', and
9189 improved.
9190 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9191 extended for all uses of it. All callers changed.
9192 (calculator-groupize-number): New utility for splitting a number into
9193 groups.
9194 (calculator-standard-displayer): Improve code, new optional argument to
9195 use comma-split groups, make second argument optional too to use with
9196 'left/'right inputs. All callers changed.
9197 (calculator-reduce-stack-once): New utility, doing the meat of what
9198 `calculator-reduce-stack' used to do, much improved (mostly using
9199 `pcase' for conciseness and clarity).
9200 (calculator-reduce-stack): Now doing just the reduction loop using
9201 `calculator-reduce-stack-once'.
9202 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9203 (calculator-last-input): Improve code, remove some old cruft.
9204 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9205 (calculator-integer-p): Remove.
9206 (calculator-fact): Improve code, make it work on non-integer values
9207 too (using truncated numbers).
9208
9209 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9210
9211 Sync with Tramp 2.2.10.
9212
9213 * net/tramp.el (tramp-methods): Tweak docstring.
9214 (tramp-handle-file-accessible-directory-p): Check for
9215 `file-readable-p' instead of `file-executable-p'.
9216 (tramp-check-cached-permissions):
9217 Use `tramp-compat-file-attributes'.
9218 (tramp-call-process): Add new argument VEC. Adapt callees in all
9219 tramp*.el files.
9220
9221 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9222 (tramp-adb-maybe-open-connection): Don't set
9223 `tramp-current-*' variables.
9224
9225 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9226 file properties of temporary buffers.
9227
9228 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9229
9230 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9231 (tramp-gvfs-handle-delete-file): Flush file
9232 properties, not directory properties.
9233 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9234 reading "unix::mode".
9235 (tramp-gvfs-handle-file-name-all-completions):
9236 Use "-h" option for "gvfs-ls".
9237 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9238 (tramp-gvfs-send-command): Simplify traces.
9239
9240 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9241 (vc-git-program, vc-hg-program): Declare.
9242 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9243 (tramp-methods) <nc>: Add new method.
9244 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9245 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9246 `tramp-login-args'.
9247 (tramp-default-user-alist): Add "nc".
9248 (top): Remove completion function for "sftp". Add completion
9249 functions for "nc" and "psftp".
9250 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9251 Implement support for "nc" method.
9252 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9253 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9254 Tweak docstring.
9255 (tramp-sh-handle-write-region): Tweak error message.
9256 (tramp-sh-handle-vc-registered): Remove backends when the remote
9257 binary does not exist.
9258 (tramp-find-inline-encoding): Do not raise an error.
9259 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9260 the "nc" case. Quote result also locally.
9261
9262 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9263 (tramp-smb-handle-set-file-acl): Use `start-process'.
9264 (tramp-smb-handle-insert-directory): Use progress reporter.
9265 (tramp-smb-handle-rename-file): Flush also file properties of
9266 FILENAME.
9267
9268 * net/trampver.el: Update release number.
9269
9270 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9273 add-to-list.
9274 (ses-localvars): Remove ses--local-printer-list, unused.
9275 (ses--metaprogramming): New macro. Use it to defvar variables.
9276 (ses-set-localvars): Simplify.
9277 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9278 property-list into an alist.
9279 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9280 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9281 Remove; use defstruct accessors/setters instead.
9282 (ses-cell-formula-aset, ses-cell-printer-aset)
9283 (ses-cell-references-aset): Remove, use setf instead.
9284 (ses--alist-get): New function.
9285 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9286 Use an alist instead of a plist and don't do move-to-front since the
9287 list is always short.
9288 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9289 (ses-cell-property-set-fun, ses-cell-property-set)
9290 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9291 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9292 (ses--letref): New macro.
9293 (ses-cell-property-pop): Rewrite.
9294 (ses--cell): Rename from ses-cell and make it into a function.
9295 Make `formula' fallback on `value' if nil.
9296 (ses--local-printer): Rename from ses-local-printer and make it into
9297 a function.
9298 (ses-set-cell): Turn it into a macro so finding the accessor from the
9299 field name is done at compile time.
9300 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9301 `ref' before adding `sym' to :ses-repair-reference.
9302 (ses-calculate-cell): Use ses--letref rather than
9303 ses-cell-property-get-handle.
9304 (ses-write-cells): Use a single prin1-to-string.
9305 (ses-setter-with-undo): New function.
9306 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9307 (ses-unset-with-undo): Remove.
9308 (ses-load): Prefer apply' over `eval'.
9309 (ses-read-printer, ses-set-column-width): Use standard "(default
9310 foo)" format.
9311
9312 2014-06-15 Glenn Morris <rgm@gnu.org>
9313
9314 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9315
9316 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9317 Replace delete-duplicates and mapcan by cl- versions throughout.
9318 And cl-macroexpand-all by macroexpand-all.
9319 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9320
9321 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9322
9323 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9324
9325 2014-06-15 Juri Linkov <juri@jurta.org>
9326
9327 * bindings.el: Put `ascii-character' property on keypad keys
9328 mapped to characters. (Bug#17759)
9329
9330 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9333 bumping forward into a closing paren (bug#17761).
9334
9335 * term/xterm.el (xterm--version-handler): Work around for OSX
9336 Terminal.app (bug#17607).
9337
9338 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9339
9340 * play/dunnet.el (dun-describe-room, dun-mode):
9341 If a lamp is in the room, you won't be eaten by a grue.
9342
9343 2014-06-13 Glenn Morris <rgm@gnu.org>
9344
9345 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9346 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9347 (compile-always): GNU make automatically passes
9348 command-line arguments to sub-makes.
9349
9350 * calendar/calendar.el (calendar-generate-window):
9351 Remove pointless call to font-lock-fontify-buffer.
9352
9353 2014-06-13 Matthias Meulien <orontee@gmail.com>
9354
9355 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9356 (bug#17767).
9357
9358 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * simple.el (set-mark-command): Simplify a bit.
9361
9362 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9363
9364 * help.el (help--key-binding-keymap): New function.
9365 (help--binding-locus): New function.
9366 (describe-key): Mention the keymap in which the binding was
9367 found. (bug#13948)
9368
9369 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9370
9371 * hippie-exp.el (he--all-buffers): New function.
9372 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9373 (try-expand-dabbrev-all-buffers): Use it.
9374
9375 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9376
9377 * hippie-exp.el (try-expand-line-all-buffers)
9378 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9379 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9380 original buffer, in case they're buffer-local.
9381
9382 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9383
9384 * ses.el (ses-initial-global-parameters-re): New defconst, a
9385 specific regexp is needed now that ses.el can handle both
9386 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9387 local printers.
9388 (ses-localvars): Add local variables needed for local printer handling.
9389 (ses-set-localvars): Handle hashmap initialization.
9390 (ses-paramlines-plist): Add param-line for number of local printers.
9391 (ses-paramfmt-plist): New defconst, needed for code factorization
9392 between functions `ses-set-parameter' and
9393 `ses-file-format-extend-paramter-list'
9394 (ses-make-local-printer-info): New defsubst.
9395 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9396 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9397 (ses-cell-printer-aset): New defmacro.
9398 (ses-local-printer-compile): New defun.
9399 (ses-local-printer): New defmacro.
9400 (ses-printer-validate, ses-call-printer): Add support for local
9401 printer functions.
9402 (ses-file-format-extend-paramter-list): New defun.
9403 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9404 factorization.
9405 (ses-load): Add support for local printer functions.
9406 (ses-read-printer): Update docstring and add support for local printer
9407 functions.
9408 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9409 (ses-safe-printer): Add support for local printer functions.
9410
9411 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9412
9413 * ffap.el (ffap-lax-url): New var (bug#17723).
9414 (ffap-url-at-point): Use it.
9415 (ffap-file-at-point): Avoid returning just "/".
9416
9417 2014-06-12 Matthias Meulien <orontee@gmail.com>
9418
9419 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9420 (python-mode-map): Bind it.
9421
9422 * progmodes/python.el (class skeleton): Don't erase last char of class
9423 name (bug#17683).
9424
9425 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9426
9427 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9428
9429 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9430
9431 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9432 (bug#17745).
9433
9434 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * international/mule-cmds.el: Use lexical-binding.
9437 (ucs-names): Simplify.
9438
9439 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9440
9441 * progmodes/python.el (run-python): Use read-shell-command.
9442
9443 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * rect.el: Make it possible to move bounds past EOL or into TABs.
9446 (operate-on-rectangle): Use apply-on-rectangle.
9447 (rectangle--mark-crutches): New var.
9448 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9449 (rectangle--crutches, rectangle--reset-crutches): New functions.
9450 (apply-on-rectangle): Obey crutches. Avoid setq.
9451 Fix missing final iteration if end is at EOB&BOL.
9452 (rectangle-mark-mode-map): Add remap bindings for
9453 exchange-point-and-mark and char/line movements.
9454 (rectangle--*-char): New function.
9455 (rectangle-exchange-point-and-mark, rectangle-right-char)
9456 (rectangle-left-char, rectangle-forward-char)
9457 (rectangle-backward-char, rectangle-next-line)
9458 (rectangle-previous-line): New commands.
9459 (rectangle--place-cursor): New function.
9460 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9461
9462 2014-06-08 Glenn Morris <rgm@gnu.org>
9463
9464 * startup.el (initial-buffer-choice): Doc fix.
9465 Reset :version (adding an option does not merit a :version bump).
9466
9467 * bookmark.el (bookmark-load):
9468 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9469
9470 2014-06-08 Juri Linkov <juri@jurta.org>
9471
9472 * desktop.el: Activate auto-saving on window configuration changes.
9473 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9474 `desktop-auto-save-set-timer' to/from
9475 `window-configuration-change-hook'.
9476 (desktop-auto-save-set-timer): Change REPEAT arg of
9477 `run-with-idle-timer' from t to nil.
9478 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9479
9480 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9481
9482 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9483 vc-hg-command (bug#17570).
9484
9485 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9486
9487 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9488 (bug#17702).
9489
9490 2014-06-08 Glenn Morris <rgm@gnu.org>
9491
9492 * startup.el (window-setup-hook): Doc fix.
9493
9494 * emacs-lisp/package.el (package-check-signature)
9495 (package-unsigned-archives): Doc fixes.
9496
9497 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9498
9499 * window.el (display-buffer-use-some-window): Don't make window
9500 used smaller than it was before (Bug#17671).
9501
9502 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9503
9504 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9505 'redisplay' instead of '(sit-for 0)'.
9506
9507 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9508
9509 * net/tramp.el (tramp-ssh-controlmaster-options):
9510 Improve search regexp. (Bug#17653)
9511
9512 2014-06-08 Glenn Morris <rgm@gnu.org>
9513
9514 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9515
9516 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9517
9518 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9519
9520 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9521
9522 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9523 (bug#17586).
9524
9525 * vc/vc-hg.el (vc-hg-log-graph): New var.
9526 (vc-hg-print-log): Use it.
9527 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9528 graph output (bug#17515).
9529
9530 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9533 even happened elsewhere.
9534
9535 2014-06-06 Mario Lang <mlang@delysid.org>
9536
9537 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9538 `recenter' if `current-buffer' is equal to `window-buffer'.
9539
9540 2014-06-05 Leo Liu <sdl.web@gmail.com>
9541
9542 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9543
9544 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9545
9546 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9547 New function which calls a callback on portions of the buffer that are
9548 outside of ignored environments.
9549 (tildify-build-regexp): Remove function since it is now
9550 incorporated in `tildify-foreach-region-outside-env' where it is
9551 optimized and simplified by the use of `mapconcat'.
9552 (tildify-tildify): Return number of substitutions made so that…
9553 (tildify-count): …can be removed.
9554 (tildify-find-env): Accept a new PAIRS argument which was
9555 previously looked up in `tildify-ignored-environments-alist' each
9556 time the function was called. With this change, the lookup is
9557 performed only once in `tildify-foreach-region-outside-env'.
9558 (tildify-region): Greatly simplify the function since now most of
9559 the work is done by `tildify-foreach-region-outside-env'.
9560 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9561 and instead using or.
9562
9563 * textmodes/tildify.el (tildify-ignored-environments-alist):
9564 Optimize environments regexes
9565
9566 Each time beginning of an environment to ignore is found,
9567 `tildify-find-env' needs to identify regexp for the ending
9568 of the environment. This is done by trying all the opening
9569 regexes on matched text in a loop, so to speed that up, this
9570 loop should have fewer things to match, which can be done by
9571 using alternatives in the opening regexes.
9572
9573 Coincidentally, this should make matching of the opening
9574 regexp faster as well thanks to the use of `regexp-opt' and
9575 having common prefix pulled from many regexes.
9576
9577 * textmodes/tildify.el (tildify-string-alist)
9578 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9579 of supported modes since `xml-mode' is no longer a thing but just
9580 an alias to the former. Also include comments and insides of tags
9581 in `tildify-ignored-environments-alist' for XML modes. Finally,
9582 since XML does not define “&nbsp;”[1], use a numeric reference for
9583 a no-break space (namely “&#160;”)
9584
9585 [1] XML specification defines only a handful of predefined entities.
9586 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9587 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9588 >, &, ' and " respectively). This is in contrast to HTML and even
9589 XHTML which defined a whole bunch of entities including “&nbsp;”.
9590
9591 * textmodes/tildify.el (tildify-pattern-alist)
9592 (tildify-string-alist, tildify-ignored-environments-alist):
9593 Improve defcustom's types by adding more tags explaining what each
9594 value means and replace “sexp” used in
9595 `tildify-ignored-environments-alist' with a full type declaration.
9596
9597 * textmodes/tildify.el (tildify-find-env): Fix matched group
9598 indexes in end-regex building
9599
9600 When looking for a start of an ignore-environment, the regex is built
9601 by concatenating regexes of all the environments configured in
9602 `tildify-ignored-environments-alist'. So for example, the following
9603 list could be used to match TeX's \verb and \verb* commands:
9604
9605 (("\\\\verb\\(.\\)" . (1))
9606 ("\\\\verb\\*\\(.\\)" . (1)))
9607
9608 This would result in the following regex being used to find the start
9609 of any of the variants of the \verb command:
9610
9611 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9612
9613 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9614 won't match anything, and thus (match-string 1) will be nil, which
9615 will cause building of the end-matching regex to fail.
9616
9617 Fix this by using capture groups from the time when the opening
9618 regexes are matched individually.
9619
9620 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9621 in `tildify-find-env'
9622
9623 The `tildify-ignored-environments-alist' allows the end-regex to
9624 be provided not as a static string but mix of strings and indexes
9625 of groups matched the begin-regex. For example, the “\verb!…!”
9626 TeX-command (where “!” is an arbitrary character) is handled
9627 using:
9628
9629 ("\\\\verb\\*?\\(.\\)" . (1))
9630
9631 In the same way, the following should be supported as well:
9632
9633 ("open-\\(.\\)" . ("end-" 1))
9634
9635 However the tildify-find-env function fails at
9636
9637 (concat result
9638 (if (stringp (setq aux (car expression)))
9639 expression ; BUG: expression is a list
9640 (regexp-quote (match-string aux))))
9641
9642 where the string part is handled incorrectly.
9643
9644 The most trivial fix would be to replace `expression' in the
9645 true-part of the if-statement with `aux', but instead, this commit
9646 optimizes `tildify-find-env' by changing it to use `mapconcat'
9647 rather than open-coded while-loop.
9648
9649 2014-06-05 Mario Lang <mlang@delysid.org>
9650
9651 * woman.el (woman-mapcan): Remove.
9652 (woman-parse-colon-path): Use cl-mapcan instead.
9653
9654 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9655
9656 * register.el: Add link to Emacs manual in Commentary.
9657
9658 2014-06-02 Sam Steingold <sds@gnu.org>
9659
9660 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9661 (popup-menu): ...here.
9662 (menu-bar-open): Use it to avoid an error when `lookup-key'
9663 returns a number.
9664
9665 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9666
9667 * net/tramp.el (tramp-call-process): Add traces.
9668 (tramp-handle-unhandled-file-name-directory): Return "/".
9669
9670 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9671
9672 Sync with upstream verilog-mode revision 3cd8144.
9673 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9674 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9675 (verilog-type-font-keywords): Add nor.
9676 (verilog-batch-execute-func): Force reading of Local Variables.
9677 Fix printing "no changes to be saved" with verilog-batch.
9678 (verilog-auto-arg-ports): Doc fix.
9679 Add verilog-auto-arg-format to support newlines in AUTOARG.
9680 (verilog-auto-arg): Doc fix.
9681
9682 2014-06-02 Glenn Morris <rgm@gnu.org>
9683
9684 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9685 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9686 * emulation/ws-mode.el: Move to obsolete/.
9687 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9688
9689 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9690
9691 * simple.el (keyboard-quit): Force update of mode lines, to remove
9692 the "Def" indicator, if we were defining a macro. (Bug#17615)
9693
9694 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * minibuffer.el (minibuffer-force-complete-and-exit):
9697 Obey minibuffer-default (bug#17545).
9698
9699 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9700 (bug#17619).
9701
9702 * subr.el (set-transient-map): Don't wait for some "nested"
9703 transient-map to finish if we're only supposed to be active for
9704 the next command (bug#17642).
9705
9706 2014-06-02 Leo Liu <sdl.web@gmail.com>
9707
9708 * emacs-lisp/gv.el (window-buffer, window-display-table)
9709 (window-dedicated-p, window-hscroll, window-point, window-start):
9710 Fix gv-expander. (Bug#17630)
9711
9712 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9713
9714 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9715 clicks (bug#17633).
9716
9717 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9718 for the single comma, since ", " is *very* common in normal French text
9719 (bug#17643).
9720
9721 2014-06-02 Glenn Morris <rgm@gnu.org>
9722
9723 * emacs-lisp/package.el (package-check-signature)
9724 (package-unsigned-archives): Fix :version.
9725
9726 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9727
9728 * subr.el (sit-for): Don't run input-methods (bug#15614).
9729
9730 2014-06-02 Glenn Morris <rgm@gnu.org>
9731
9732 * cus-start.el: Fix some :version numbers.
9733
9734 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * simple.el (deactivate-mark): Set mark-active to nil even if
9737 deactivation is done via setting transient-mark-mode to nil,
9738 since one is buffer-local and the other is global.
9739
9740 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9741 there can't be more than 2 arguments (bug#17584).
9742
9743 2014-06-02 Glenn Morris <rgm@gnu.org>
9744
9745 * simple.el (filter-buffer-substring-functions)
9746 (filter-buffer-substring-function, buffer-substring-filters)
9747 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9748
9749 * minibuffer.el (completion-in-region-functions, completion-in-region)
9750 (completion--in-region): Doc fixes.
9751
9752 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9753 (expand-abbrev, abbrev--default-expand): Doc fixes.
9754
9755 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9756
9757 Include sources used to create macuvs.h.
9758 * international/README: Refer to the Unicode Terms of Use rather
9759 than copying it bodily here, as that simplifies maintenance.
9760
9761 2014-06-01 Glenn Morris <rgm@gnu.org>
9762
9763 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9764
9765 2014-05-31 Glenn Morris <rgm@gnu.org>
9766
9767 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9768
9769 2014-05-30 Glenn Morris <rgm@gnu.org>
9770
9771 * loadup.el: Treat `command-line-args' more flexibly.
9772
9773 2014-05-30 Alan Mackenzie <acm@muc.de>
9774
9775 Guard (looking-at "\\s!") from XEmacs.
9776 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9777
9778 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9779
9780 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9781 The argument COUNT is now optional, to be more backward-compatible.
9782 Doc fix. (Bug#17560)
9783
9784 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9785
9786 * whitespace.el (whitespace-report-region):
9787 Simplify documentation.
9788 (whitespace-report-region): Allow report-if-bogus to take the
9789 value `never', for non-interactive use.
9790 (whitespace-report): Refer to whitespace-report-region's
9791 documentation.
9792
9793 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9796 Side benefit: it works without jit-lock.
9797 (whitespace-point--used): New buffer-local var.
9798 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9799 (whitespace-color-off): Use font-lock-flush.
9800 (whitespace-point--used, whitespace-point--flush-used): New functions.
9801 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9802 (whitespace-empty-at-eob-regexp): Use them.
9803 (whitespace-post-command-hook): Rewrite.
9804
9805 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9806 (font-lock-fontify-buffer): Mark interactive-only.
9807 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9808 Make buffer-local.
9809 (font-lock-specified-p): Remove redundant boundp check.
9810 (font-lock-flush-function, font-lock-ensure-function): New vars.
9811 (font-lock-turn-on-thing-lock): Set them.
9812 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9813 (font-lock-after-change-function): Make `old-len' optional.
9814 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9815 Call font-lock-flush, just in case.
9816 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9817 recent Emacsen.
9818 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9819 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9820 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9821 and with-syntax-table.
9822 * textmodes/conf-mode.el (conf-quote-normal):
9823 * progmodes/sh-script.el (sh-set-shell):
9824 * progmodes/prog-mode.el (prettify-symbols-mode):
9825 * progmodes/f90.el (f90-font-lock-n):
9826 * progmodes/cwarn.el (cwarn-mode):
9827 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9828 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9829 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9830 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9831 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9832 font-lock-fontify-buffer-function and
9833 font-lock-unfontify-buffer-function.
9834 (rmail-unfontify-buffer-function, rmail-fontify-message):
9835 Use with-silent-modifications.
9836 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9837 and font-lock-ensure.
9838 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9839
9840 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9841
9842 * emacs-lisp/package.el (package-generate-autoloads):
9843 Inhibit backup files.
9844
9845 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9848 (bug#17608).
9849
9850 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9851
9852 * textmodes/tildify.el (tildify-buffer, tildify-region):
9853 Add dont-ask option.
9854
9855 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9858 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9859
9860 * subr.el (internal--funcall-interactively): New.
9861 (internal--call-interactively): Remove.
9862 (called-interactively-p): Detect funcall-interactively instead of
9863 call-interactively.
9864 * simple.el (repeat-complex-command): Use funcall-interactively.
9865 (repeat-complex-command--called-interactively-skip): Remove.
9866
9867 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * register.el (register-read-with-preview): Don't burp on
9870 frame switches (e.g. due to the frame we just popped).
9871
9872 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9873 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9874
9875 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9876
9877 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9878
9879 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9880
9881 * window.el (window--dump-frame): Remove interactive specification.
9882
9883 2014-05-26 Glenn Morris <rgm@gnu.org>
9884
9885 * hippie-exp.el (he-line-search-regexp):
9886 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9887
9888 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9889
9890 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9891 to avoid errors when trying to create or visit a file foo.todo
9892 located outside to todo-directory, and to allow having such files
9893 without them being tied to Todo mode (bug#17482).
9894 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9895 (todo-archive-done-item, todo-find-filtered-items-file)
9896 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9897 (todo-category-completions, todo-read-category): When visiting a
9898 Todo file, make sure we're in the right mode and the buffer local
9899 variables are set.
9900 (todo-make-categories-list, todo-reset-nondiary-marker)
9901 (todo-reset-done-string, todo-reset-comment-string):
9902 After processing all Todo files, kill the buffers of those files that
9903 weren't being visited before the processing.
9904 (todo-display-as-todo-file, todo-add-to-buffer-list)
9905 (todo-visit-files-commands): Comment out.
9906 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9907 (auto-mode-alist): Remove add-to-list calls making Todo file
9908 extensions unrestrictedly tied to Todo modes.
9909
9910 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9913 (advice-function-member-p): Tell it to check both names and functions
9914 (bug#17531).
9915 (advice--add-function): Adjust call accordingly.
9916
9917 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9918
9919 * calendar/todo-mode.el: Miscellaneous bug fixes.
9920 (todo-delete-file): When deleting an archive but not its todo
9921 file, make sure to update the todo file's category sexp.
9922 (todo-move-category): Keep the moved category's name unless the
9923 file moved to already has a category with that name. If the
9924 numerically last category of the source file was moved, make the
9925 first category current to avoid selecting a nonexisting category.
9926 (todo-merge-category): Fix implementation to make merging to a
9927 category in another file work as documented. Eliminate now
9928 insufficient and unnecessary renaming of archive category, correct
9929 document string accordingly, and clarify it. If the numerically
9930 last category of the source file was merged, make the first
9931 category current to avoid selecting a nonexisting category.
9932 (todo-archive-done-item): When there are marked items and point
9933 happens to be on an unmarked item, ignore the latter. Don't leave
9934 point below last item after archiving marked items.
9935 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9936 from an archive with only one category deletes the archive only
9937 when the category is empty after unarchiving. Make sure the todo
9938 file's category sexp is updated.
9939 (todo-read-file-name): Allow an existing file name even when it is
9940 not required (todo-move-category needs this to work as documented).
9941 (todo-add-file): Call todo-validate-name to reject the name of an
9942 existing todo file (needed due to fix in todo-read-file-name).
9943 (todo-reset-nondiary-marker): Also reset in filtered items files.
9944 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9945 regexp filtered items files.
9946 (todo-reset-highlight-item): Also reset in filtered items files.
9947 Fix incorrect variable reference in document string.
9948
9949 2014-05-26 Glenn Morris <rgm@gnu.org>
9950
9951 * window.el (window--dump-frame): Avoid error in --without-x builds.
9952
9953 2014-05-26 Glenn Morris <rgm@gnu.org>
9954
9955 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9956
9957 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9958
9959 * frame.el (set-frame-font): Doc fix.
9960
9961 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9962
9963 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9964
9965 * emacs-lisp/package.el (package--download-one-archive):
9966 Use `write-region' instead of `save-buffer' to avoid running various
9967 hooks. (Bug#17155)
9968 (describe-package-1): Same. Insert newline at the end of the
9969 buffer if appropriate.
9970
9971 2014-05-26 Juri Linkov <juri@jurta.org>
9972
9973 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9974 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9975 Add more modifiers: meta, control, shift, hyper, super, alt.
9976 (Bug#17439)
9977
9978 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9979 to allow changing its value with `set-variable'.
9980
9981 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9984 #; comments.
9985 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9986 New functions.
9987 (scheme-mode-variables): Set syntax-propertize-function instead of
9988 font-lock-syntactic-face-function.
9989 (scheme-font-lock-syntactic-face-function): Delete.
9990
9991 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9992
9993 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9994 (bug#17392).
9995
9996 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9997
9998 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9999 for a temporary file name.
10000
10001 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10002
10003 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
10004
10005 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10006
10007 * net/dbus.el (dbus-init-bus, dbus-call-method)
10008 (dbus-call-method-asynchronously, dbus-send-signal)
10009 (dbus-method-return-internal, dbus-method-error-internal):
10010 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
10011
10012 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10013
10014 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10015 methods which do not have a doc string. (Bug#17490)
10016
10017 2014-05-25 Tassilo Horn <tsdh@gnu.org>
10018
10019 * textmodes/reftex-ref.el (reftex-format-special): Make it work
10020 also for AMS Math's \eqref macro.
10021
10022 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10023
10024 Arrange to never byte-compile the generated -pkg.el file.
10025
10026 * emacs-lisp/package.el (package-generate-description-file):
10027 Output first-line comment to set buffer-local var `no-byte-compile'.
10028 Suggested by Dmitry Gutov:
10029 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10030
10031 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10032
10033 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10034
10035 * emacs-lisp/package.el (package-generate-description-file):
10036 Inline `package--alist-to-plist'; rewrite to selectively
10037 quote alist values that are not self-quoting.
10038 (package--alist-to-plist): Delete func.
10039
10040 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10041
10042 * term/xterm.el (xterm-function-map): Add mapping for shifted
10043 keypad keys.
10044
10045 2014-05-24 Daniel Colascione <dancol@dancol.org>
10046
10047 * progmodes/subword.el (subword-find-word-boundary): Move point to
10048 correct spot before search. (Bug#17580)
10049
10050 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10051 breaking the build.
10052
10053 2014-05-24 Leo Liu <sdl.web@gmail.com>
10054
10055 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10056
10057 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * minibuffer.el (completion--sreverse): Remove.
10060 (completion--common-suffix): Use `reverse' instead.
10061 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10062
10063 2014-05-22 Glenn Morris <rgm@gnu.org>
10064
10065 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10066
10067 2014-05-21 Daniel Colascione <dancol@dancol.org>
10068
10069 * files.el (interpreter-mode-alist): Add mksh.
10070
10071 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10072 derivative.
10073 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10074 mksh. Improve custom spec; allow regular expressions.
10075 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10076 (sh-after-hack-local-variables): New function.
10077 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10078 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10079 the normalization.
10080 (sh-canonicalize-shell): Rewrite to support regexes.
10081
10082 2014-05-21 Leo Liu <sdl.web@gmail.com>
10083
10084 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10085
10086 2014-05-19 Leo Liu <sdl.web@gmail.com>
10087
10088 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10089
10090 2014-05-18 Glenn Morris <rgm@gnu.org>
10091
10092 * loadup.el:
10093 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10094
10095 2014-05-14 Sam Steingold <sds@gnu.org>
10096
10097 * progmodes/python.el (python-shell-get-or-create-process):
10098 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10099 back unless requested.
10100
10101 2014-05-14 Glenn Morris <rgm@gnu.org>
10102
10103 * subr.el (with-file-modes): New macro.
10104 * printing.el (pr-save-file-modes): Make obsolete.
10105 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10106 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10107 Add with-file-modes.
10108 * doc-view.el (doc-view-make-safe-dir):
10109 * epg.el (epg--start):
10110 * files.el (locate-user-emacs-file, make-temp-file)
10111 (backup-buffer-copy, move-file-to-trash):
10112 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10113 * eshell/esh-util.el (eshell-with-private-file-modes)
10114 (eshell-make-private-directory):
10115 * net/browse-url.el (browse-url-mosaic):
10116 * obsolete/mailpost.el (post-mail-send-it):
10117 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10118 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10119 Use with-file-modes.
10120
10121 * vc/emerge.el (emerge-make-temp-file): Simplify.
10122
10123 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10124 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10127 suffix (bug#15419).
10128
10129 2014-05-14 Glenn Morris <rgm@gnu.org>
10130
10131 * vc/emerge.el (emerge-temp-file-prefix):
10132 Make pointless option obsolete.
10133 (emerge-temp-file-mode): Make non-functional option obsolete.
10134
10135 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10136
10137 * net/browse-url.el (browse-url):
10138 Use `unhandled-file-name-directory' when setting `default-directory',
10139 in order to circumvent stalled remote connections. (Bug#17425)
10140
10141 2014-05-14 Glenn Morris <rgm@gnu.org>
10142
10143 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10144 Optimize on Emacs, which has the relevant functions for ages.
10145
10146 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10147
10148 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10149
10150 2014-05-12 Sam Steingold <sds@gnu.org>
10151
10152 * calendar/time-date.el (seconds-to-string): New function to
10153 pretty print time delay in seconds.
10154
10155 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * mpc.el (mpc-format): Trim Date to the year.
10158 (mpc-songs-hashcons): Shorten the Date field.
10159
10160 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10161 into autoloading just because of a silly indirection.
10162
10163 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10164
10165 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10166
10167 2014-05-12 Glenn Morris <rgm@gnu.org>
10168
10169 * emacs-lisp/find-gc.el: Move to ../admin.
10170
10171 * printing.el (pr-version):
10172 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10173
10174 * net/browse-url.el (browse-url-mosaic):
10175 Create /tmp/Mosaic.PID as a private file.
10176
10177 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10180 (advice--member-p): If name is given, only compare the name.
10181 (advice--remove-function): Don't stop at the first match.
10182 (advice--normalize-place): New function.
10183 (add-function, remove-function): Use it.
10184 (advice--add-function): Pass the name, if any, to
10185 advice--remove-function.
10186
10187 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10188
10189 * electric.el (electric-indent-post-self-insert-function): Don't use
10190 `pos' after modifying the buffer (bug#17449).
10191
10192 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10193
10194 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10195 Correct argument list to conform to todo-insert-item--basic.
10196
10197 2014-05-12 Glenn Morris <rgm@gnu.org>
10198
10199 * files.el (cd-absolute): Test if directory is accessible
10200 rather than executable. (Bug#17330)
10201
10202 * progmodes/compile.el (recompile):
10203 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10204
10205 * net/browse-url.el (browse-url-mosaic):
10206 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10207 This is CVE-2014-3423.
10208
10209 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * mouse.el: Use the normal toplevel loop while dragging.
10212 (mouse-set-point): Handle multi-clicks.
10213 (mouse-set-region): Handle multi-clicks for drags.
10214 (mouse-drag-region): Update call accordingly.
10215 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10216 Use the normal event loop instead of a local while/read-event loop.
10217 (global-map): Remove redundant bindings for double/triple-mouse-1.
10218 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10219 Generate synthetic down events when the protocol only sends up events.
10220 (xterm-mouse-last): Remove.
10221 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10222 terminal parameter instead.
10223 (xterm-mouse--set-click-count): New function.
10224 (xterm-mouse-event): Detect/generate double/triple clicks.
10225 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10226
10227 * info.el (Info-quoted): New face.
10228 (Info-mode-font-lock-keywords): New var.
10229 (Info-mode): Use it.
10230
10231 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10232 are a hindrance for C-x C-e.
10233
10234 2014-05-11 Leo Liu <sdl.web@gmail.com>
10235
10236 * net/rcirc.el (rcirc-sentinel): Fix last change.
10237
10238 2014-05-08 Sam Steingold <sds@gnu.org>
10239
10240 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10241 (rcirc-sentinel): Auto-reconnect to the server if
10242 `rcirc-reconnect-delay' is non-0 (but not more often than its
10243 value in case the host is off-line).
10244
10245 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10246
10247 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10248
10249 2014-05-09 Glenn Morris <rgm@gnu.org>
10250
10251 * files.el (file-expand-wildcards):
10252 * man.el (Man-support-local-filenames):
10253 * printing.el (pr-i-directory, pr-interface-directory):
10254 * progmodes/grep.el (lgrep, rgrep):
10255 * textmodes/ispell.el (ispell-call-process)
10256 (ispell-call-process-region, ispell-start-process)
10257 (ispell-init-process): Use file-accessible-directory-p.
10258
10259 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10262 (xterm-mouse--read-event-sequence-1000): Return nil if something
10263 looks fishy.
10264 (xterm-mouse-event): Propagate it.
10265 (xterm-mouse-translate-1): Handle it.
10266
10267 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10268
10269 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10270 four slots of the parameter list are filled, make sure to pass it
10271 to the argument list of todo-insert-item--basic.
10272
10273 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10276 Add optional `seen' argument to detect and break infinite loops.
10277
10278 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10279
10280 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10281 (trace-unsafe, trace-use-tree): Make parentheses style be
10282 according to Emacs style.
10283
10284 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10285
10286 * net/tramp-sh.el (tramp-remote-process-environment):
10287 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10288 Add :version entry.
10289 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10290 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10291 extra "PSx=..." commands.
10292 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10293 (Bug#17295)
10294
10295 (tramp-uudecode): Replace the hard-coded temporary file name by a
10296 format specifier.
10297 (tramp-remote-coding-commands): Enhance docstring.
10298 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10299 name. (Bug#17415)
10300 This is CVE-2014-3424.
10301
10302 2014-05-08 Glenn Morris <rgm@gnu.org>
10303
10304 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10305 (find-gc-source-files): Update some names.
10306 (trace-call-tree): Simplify and update.
10307 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10308 This is CVE-2014-3422.
10309
10310 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * minibuffer.el (completion--try-word-completion): Revert fix for
10313 Bug#15980 (bug#17375).
10314
10315 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10316 Always store button numbers in the same way in xterm-mouse-last;
10317 Don't burp is xterm-mouse-last is not set as expected.
10318 Never return negative indices.
10319
10320 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10321
10322 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10323 Backtrack one char if the global/char-literal var matcher hits
10324 inside a string. The next char could be the beginning of an
10325 expression expansion.
10326
10327 2014-05-08 Glenn Morris <rgm@gnu.org>
10328
10329 * help-fns.el (describe-function-1): Test for an autoload before a
10330 macro, since `macrop' works on autoloads. (Bug#17410)
10331
10332 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10335
10336 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10337 Make sure the new point we return is within the new string (bug#17239).
10338
10339 2014-05-05 Daniel Colascione <dancol@dancol.org>
10340
10341 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10342 Port `gnu' pattern to rx.
10343
10344 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10345
10346 Remove unneeded prompt when closing a buffer with active
10347 emacsclient ("Buffer ... still has clients"), #16548.
10348 * server.el (server-start): Remove the only call to:
10349 (server-kill-buffer-query-function): Remove.
10350
10351 2014-05-04 Leo Liu <sdl.web@gmail.com>
10352
10353 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10354 Defvar to pacify compiler.
10355
10356 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10357
10358 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10359
10360 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10363 Use nil rather than `default' for the "default" appearance (bug#17388).
10364 * vc/ediff-util.el (ediff-inferior-compare-regions)
10365 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10366 a misleading `default' value when it's really a boolean.
10367 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10368 overlay is not visible.
10369
10370 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10371
10372 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10373 (todo-menu): Uncomment and update.
10374
10375 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10376
10377 * calendar/todo-mode.el: Reimplement item editing to have the same
10378 basic user interface as item insertion, and make small UI and
10379 larger internal improvements to the latter.
10380 (todo-insert-item): Add reference to the Todo mode user manual to
10381 the documentation string.
10382 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10383 adjust all callers. Change signature to combine diary and
10384 nonmarking arguments. Incorporate functionality of deleted item
10385 copying command and add error checking. Remove detailed
10386 descriptions of the arguments from the documentation string, since
10387 this is treated in the Todo mode user manual.
10388 (todo-copy-item, todo-edit-multiline-item)
10389 (todo-edit-done-item-comment, todo-edit-item-header)
10390 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10391 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10392 (todo-edit-item-date-year, todo-edit-item-date-month)
10393 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10394 Remove.
10395 (todo-edit-item): Reimplement as wrapper command for
10396 todo-edit-item--next-key and make it distinguish done and not done
10397 todo items.
10398 (todo-edit-item--text): New function, replacing old command
10399 todo-edit-item and incorporating deleted commands
10400 todo-edit-multiline-item and todo-edit-done-item-comment.
10401 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10402 Use only numeric value of prefix argument. Remove detailed
10403 descriptions of the arguments from the documentation string, since
10404 this is treated in the Todo mode user manual.
10405 (todo-edit-item--diary-inclusion): New function, replacing old
10406 command todo-edit-item-diary-inclusion and incorporating and fixing
10407 functionality of deleted command todo-edit-item-diary-nonmarking,
10408 making sure to remove todo-nondiary-marker when adding
10409 diary-nonmarking-symbol.
10410 (todo-edit-category-diary-inclusion): Make sure to delete
10411 diary-nonmarking-symbol when adding todo-nondiary-marker.
10412 (todo-edit-category-diary-nonmarking): Fix indentation.
10413 (todo-insert-item--parameters): Group diary and nonmarking
10414 parameters together.
10415 (todo-insert-item--apply-args): Adjust to signature of
10416 todo-insert-item--basic and incorporate copy parameter.
10417 Make small code improvements.
10418 (todo-insert-item--next-param): Improve prompt and adjust it to
10419 new parameter grouping. Remove obsolete code.
10420 (todo-edit-item--param-key-alist)
10421 (todo-edit-item--date-param-key-alist)
10422 (todo-edit-done-item--param-key-alist): New defconsts.
10423 (todo-edit-item--prompt): New variable.
10424 (todo-edit-item--next-key): New function.
10425 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10426 Remove bindings of deleted commands.
10427
10428 2014-05-04 Leo Liu <sdl.web@gmail.com>
10429
10430 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10431
10432 2014-05-04 Glenn Morris <rgm@gnu.org>
10433
10434 * allout-widgets.el (allout-widgets-tally)
10435 (allout-decorate-item-guides):
10436 * menu-bar.el (menu-bar-positive-p):
10437 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10438 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10439 * progmodes/js.el (js--inside-param-list-p)
10440 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10441 * progmodes/prolog.el (region-exists-p):
10442 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10443 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10444 Doc fixes (replace `iff').
10445
10446 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10449
10450 2014-05-04 Leo Liu <sdl.web@gmail.com>
10451
10452 Support Chinese diary entries in calendar and diary. (Bug#17393)
10453 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10454 (calendar-chinese-from-absolute-for-diary)
10455 (calendar-chinese-to-absolute-for-diary)
10456 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10457 (diary-chinese-list-entries): New functions to list and mark
10458 Chinese diary entries in the calendar window.
10459 (diary-chinese-anniversary)
10460 (diary-chinese-insert-anniversary-entry)
10461 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10462 (diary-chinese-insert-yearly-entry): New commands to insert
10463 Chinese diary entries.
10464
10465 * calendar/diary-lib.el (diary-font-lock-keywords):
10466 Support font-locking Chinese dates.
10467
10468 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10469 inserting Chinese diary entries.
10470
10471 * calendar/calendar.el (diary-chinese-entry-symbol):
10472 New customizable variable.
10473 (calendar-mode-map): Add bindings for inserting Chinese diary
10474 entries.
10475
10476 2014-05-03 Juri Linkov <juri@jurta.org>
10477
10478 * dired.el (dired-check-switches, dired-switches-recursive-p):
10479 New functions. (Bug#17218)
10480 (dired-switches-escape-p, dired-move-to-end-of-filename):
10481 Use `dired-check-switches'.
10482 (dired-insert-old-subdirs, dired-build-subdir-alist)
10483 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10484
10485 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10486
10487 * simple.el (undo-make-selective-list): New algorithm fixes
10488 incorrectness of position adjustments when undoing in region.
10489 (Bug#17235)
10490 (undo-elt-crosses-region): Make obsolete.
10491 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10492 New functions to adjust positions using undo-deltas.
10493
10494 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10497 the last consecutive closing paren (bug#17345).
10498
10499 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10500
10501 * dired.el (dired-mode): make terminology for eXpunge command
10502 consistent. (Bug#17276)
10503
10504 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10505
10506 * dired.el (dired-initial-position-hook, dired-initial-position):
10507 Doc string fixes.
10508
10509 2014-04-30 Glenn Morris <rgm@gnu.org>
10510
10511 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10512
10513 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10514
10515 * faces.el (face-spec-recalc): Apply X resources only after the
10516 defface spec has been applied. Thus, X resources are no longer
10517 overriden by the defface spec which also fixes issues on win32 where
10518 the toolbar coloring was wrong because it is set through X resources
10519 and was (wrongfully) overriden. (Bug#16694)
10520
10521 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * textmodes/rst.el (electric-pair-pairs): Declare.
10524 (rst-mode): Set it (bug#17131).
10525
10526 2014-04-30 Juri Linkov <juri@jurta.org>
10527
10528 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10529 and `print-level' to nil. (Bug#17351)
10530
10531 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10532
10533 * battery.el (battery-update): Handle the case where battery
10534 status is "N/A" (bug#17319).
10535
10536 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10539 to syntax-propertize.
10540 (ps-mode-auto-indent): Mark as obsolete.
10541 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10542 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10543 word regexp operators.
10544 (ps-mode-map): Move initialization into declaration. Remove binding
10545 for TAB, RET, >, ], and }.
10546 (ps-mode-syntax-table): Move initialization into declaration.
10547 Don't give word syntax to non-word chars.
10548 (ps-run-mode-map): Move initialization into declaration.
10549 (ps-mode-menu-main): Remove auto-indent entry.
10550 (ps-mode-smie-rules): New function.
10551 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10552 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10553 (ps-mode--string-syntax-table): New const.
10554 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10555 New functions.
10556 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10557 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10558
10559 2014-04-27 Daniel Colascione <dancol@dancol.org>
10560
10561 * term/xterm.el (xterm-paste): Use large finite timeout when
10562 reading event to avoid putting keys in this-command-keys.
10563
10564 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10567 (perl-syntax-propertize-function): Use it. Extend handling of
10568 here-docs to the unquoted case.
10569
10570 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10571
10572 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10573 Use equal-including-properties to compare help-echo strings (bug#17331).
10574
10575 2014-04-25 Leo Liu <sdl.web@gmail.com>
10576
10577 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10578 Fix syntax for @. (Bug#17325)
10579
10580 2014-04-25 Daniel Colascione <dancol@dancol.org>
10581
10582 * emacs-lisp/cl.el (gv): Require gv early to break eager
10583 macro-expansion cycles.
10584
10585 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * simple.el (region-active-p): Check there's a mark (bug#17324).
10588
10589 * simple.el (completion-list-mode-map): Use choose-completion for the
10590 mouse binding as well (bug#17302).
10591 (completion-list-mode, completion-setup-function): Adjust docstring and
10592 echo area message accordingly.
10593 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10594 calling convention of choose-completion.
10595 * comint.el (comint-dynamic-list-completions):
10596 * term.el (term-dynamic-list-completions): Accept choose-completion.
10597
10598 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10599 &, |, +, - and * can't be a division (bug#17317).
10600
10601 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10602 features on gnome-terminal (bug#16988).
10603
10604 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10605
10606 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10607
10608 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10609 the declared object, ignore zero or more parens, not zero or one.
10610
10611 2014-04-24 Leo Liu <sdl.web@gmail.com>
10612
10613 * progmodes/xscheme.el (xscheme-expressions-ring)
10614 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10615 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10616 (xscheme-allow-output-p, xscheme-prompt)
10617 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10618
10619 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10620 Comment out unused functions.
10621
10622 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * info.el: Use lexical-binding and cl-lib.
10625 Use defvar-local and setq-local instead of make-local-variable.
10626 (Info-apropos-matches): Avoid add-to-list.
10627 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10628
10629 2014-04-24 Daniel Colascione <dancol@dancol.org>
10630
10631 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10632
10633 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10634
10635 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10636
10637 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10638
10639 * dired.el (dired-insert-set-properties): Do not consider
10640 subdirectory headings and empty lines to be information that
10641 `dired-hide-details-mode' should hide. (Bug#17228)
10642
10643 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10644
10645 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10646 Remove test messages.
10647 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10648 and `target' twice.
10649
10650 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10653 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10654
10655 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10656
10657 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10658
10659 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10660 Set "IFS=" when using read builtin, in order to preserve spaces in
10661 the file name. Add test messages for hunting a bug on hydra.
10662 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10663
10664 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10667 Don't prettify a word within a symbol.
10668
10669 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10670
10671 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10672 possible.
10673
10674 2014-04-22 Daniel Colascione <dancol@dancol.org>
10675
10676 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10677 use defun to define `function-put'.
10678
10679 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10680
10681 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10682 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10683 (lisp-mode-variables): Set font-lock-extra-managed-props.
10684
10685 * emacs-lisp/byte-run.el (function-put): New function.
10686 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10687 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10688 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10689 Use them.
10690
10691 2014-04-22 Daniel Colascione <dancol@dancol.org>
10692
10693 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10694 Add `full-p' parameter; when nil, call `macroexpand' instead of
10695 `macroexpand-all'.
10696
10697 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10698 Improve docstrings.
10699
10700 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10701 Use lambda function values, not quoted lambdas.
10702 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10703
10704 * emacs-lisp/cl-macs.el
10705 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10706 (cl-struct-slot-value): Conditionally use aref or nth so that the
10707 compiler produces optimal code.
10708
10709 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10712 (inline): Don't inline cl--set-elt.
10713 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10714 Define as inlinable instead.
10715 (cl-struct-set-slot-value): Remove.
10716
10717 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10718 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10719 Use setf instead.
10720
10721 2014-04-21 Daniel Colascione <dancol@dancol.org>
10722
10723 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10724 last two parameters after all.
10725 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10726 (cl--compiler-macro-assoc,cl-struct-slot-value)
10727 (cl-struct-set-slot-value): Stop using them.
10728
10729 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10730
10731 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10732 entry in image-mode-winprops-alist.
10733
10734 2014-04-21 Daniel Colascione <dancol@dancol.org>
10735
10736 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10737 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10738 (byte-compile-toplevel-file-form): Use it.
10739
10740 * emacs-lisp/cl-macs.el:
10741 (cl--loop-let): Properly destructure `while' clauses.
10742
10743 2014-04-20 Daniel Colascione <dancol@dancol.org>
10744
10745 * vc/vc.el (vc-root-dir): New public autoloaded function for
10746 generically finding the current VC root.
10747 * vc/vc-hooks.el (vc-not-supported): New error.
10748 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10749
10750 2014-04-20 Daniel Colascione <dancol@dancol.org>
10751
10752 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10753 argument.
10754 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10755 argument in case we're inside a symbol-macrolet.
10756 (cl--do-arglist, cl--compiler-macro-typep)
10757 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10758 environment to `cl--const-expr-val'.
10759 (cl-struct-sequence-type,cl-struct-slot-info)
10760 (cl-struct-slot-offset, cl-struct-slot-value)
10761 (cl-struct-set-slot-value): New functions.
10762
10763 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10766 assignments such as "case=hello" (bug#17297).
10767
10768 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10769
10770 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10771 Do not autoload.
10772 (tramp-file-name-handler, tramp-completion-file-name-handler):
10773 Revert patch from 2014-04-10, it isn't necessary anymore.
10774 (tramp-autoload-file-name-handler)
10775 (tramp-register-autoload-file-name-handlers): New defuns.
10776 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10777 (tramp-register-file-name-handlers): Remove also
10778 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10779 Do not autoload its invocation, but eval it after loading of 'tramp.
10780
10781 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10782
10783 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10784
10785 2014-04-17 Daniel Colascione <dancol@dancol.org>
10786
10787 Add support for bracketed paste mode; add infrastructure for
10788 managing terminal mode enabling and disabling automatically.
10789
10790 * xt-mouse.el:
10791 (xterm-mouse-mode): Simplify.
10792 (xterm-mouse-tracking-enable-sequence)
10793 (xterm-mouse-tracking-disable-sequence): New constants.
10794 (turn-on-xterm-mouse-tracking-on-terminal)
10795 (turn-off-xterm-mouse-tracking-on-terminal):
10796 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10797 parameters instead of random hooks.
10798 (turn-on-xterm-mouse-tracking)
10799 (turn-off-xterm-mouse-tracking): Delete.
10800
10801 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10802 (xterm-paste-ending-sequence): New constant.
10803 (xterm-paste): New command used for bracketed paste support.
10804
10805 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10806 (terminal-init-xterm-bracketed-paste-mode): New function.
10807 (terminal-init-xterm): Call it.
10808 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10809 and tty-mode-reset-strings instead of random hooks.
10810 (xterm-turn-on-modify-other-keys)
10811 (xterm-turn-off-modify-other-keys)
10812 (xterm-remove-modify-other-keys): Delete obsolete functions.
10813
10814 * term/screen.el: Rewrite to just use the xterm code.
10815 Add copyright notice. Mention tmux.
10816
10817 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10818
10819 * image-mode.el (image-mode-window-put): Also update the property of
10820 the "default window".
10821 * doc-view.el (doc-view-new-window-function): If no window
10822 exists, move to the last known page.
10823
10824 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10827 here-documents (bug#17262).
10828
10829 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10830
10831 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10832 Provide doc strings, as required by snarf-documentation.
10833
10834 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10837 arg of overlays-at. Use `invisible-p'.
10838
10839 * obsolete/lucid.el (extent-at):
10840 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10841 overlays-at.
10842 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10843
10844 2014-04-16 João Távora <joaotavora@gmail.com>
10845
10846 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10847 links. (Bug#17217).
10848
10849 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10850
10851 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10852 Use mapc to loop over a vector. (Bug#17257).
10853
10854 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10855
10856 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10857 patch, there are new problems with file names containing spaces.
10858 Get rid of backticks. (Bug#17238)
10859
10860 2014-04-16 João Távora <joaotavora@gmail.com>
10861
10862 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10863 possible bug.
10864
10865 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10866
10867 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10868 (blink-cursor-mode): Mention customization variables and the
10869 effect of 'blink-cursor-blinks'.
10870
10871 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10872
10873 * simple.el (undo): Prevent insertion of identity mapping into
10874 undo-equiv-table so as undo-only does not inf loop in the presence
10875 of consecutive nils in undo list.
10876
10877 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10878
10879 * faces.el (make-face): Deprecate optional argument as it is no
10880 longer needed/used since the conditional X resources handling
10881 has been pushed down to make-face-x-resource-internal itself.
10882 (make-empty-face): Don't pass optional argument to make-face.
10883
10884 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10885
10886 * savehist.el (savehist-save): Remove workaround for a read-passwd
10887 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10888 noticing that the shim was still present.
10889
10890 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10893
10894 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10895
10896 * faces.el (face-set-after-frame-default): Remove unused local variable.
10897
10898 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * progmodes/grep.el: Use lexical-binding.
10901 (grep-expand-template): Pass explicit lexical env to `eval'.
10902 (zrgrep): Let-bind grep-find-template explicitly.
10903
10904 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10905 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10906
10907 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10908
10909 * international/characters.el <standard-case-table>: Add entries
10910 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10911 Set category of Coptic characters be 'g' (Greek).
10912
10913 2014-04-12 Leo Liu <sdl.web@gmail.com>
10914
10915 * progmodes/octave.el (completion-table-with-cache):
10916 Define if not available.
10917 (octave-goto-function-definition, octave-sync-function-file-names)
10918 (octave-find-definition-default-filename):
10919 Backquote upattern for compatibility.
10920
10921 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10922
10923 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10924 name twice due to backticks. (Bug#17238)
10925
10926 2014-04-12 Glenn Morris <rgm@gnu.org>
10927
10928 * term/w32-win.el (x-win-suspend-error):
10929 * term/x-win.el (x-win-suspend-error): Sync docs.
10930
10931 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10932
10933 * faces.el (make-face): Remove deprecated optional argument.
10934 The conditional application of X resources is handled directly by
10935 make-face-x-resource-internal since Emacs 24.4.
10936 (make-empty-face): Don't pass optional argument to make-face.
10937
10938 2014-04-11 Glenn Morris <rgm@gnu.org>
10939
10940 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10941
10942 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10943
10944 Ediff's overlay priorities cause more trouble than they solve.
10945 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10946 (ediff-highest-priority): Remove function (bug#17234).
10947 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10948 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10949 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10950 overlay priorities.
10951
10952 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10953
10954 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10955 entry; use symbol boundaries to avoid mis-matches.
10956
10957 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10958
10959 * net/tramp.el (tramp-file-name-handler)
10960 (tramp-completion-file-name-handler): Avoid recursive loading.
10961
10962 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10963 Quote result also locally.
10964
10965 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10966
10967 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10968 Remove left-over code.
10969
10970 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10971 Reuse the previous comment's indentation unconditionally if it's on its
10972 own line.
10973
10974 2014-04-09 Daniel Colascione <dancol@dancol.org>
10975
10976 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10977 `no-syntax-crossing' arguments. Forward to `up-list'.
10978 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10979 Implement logic for escaping from strings. Use narrowing to deal
10980 with corner cases.
10981
10982 2014-04-09 Leo Liu <sdl.web@gmail.com>
10983
10984 * net/rcirc.el (rcirc-connection-info): New variable.
10985 (rcirc-connect): Use it to store connection info.
10986 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10987 for killed process.
10988 (rcirc-cmd-reconnect): New command. (Bug#17045)
10989 (rcirc-mode, set-rcirc-encode-coding-system)
10990 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10991
10992 2014-04-09 Daniel Colascione <dancol@dancol.org>
10993
10994 * emacs-lisp/cl-indent.el: Add comment claiming
10995 facility is also good for elisp.
10996 (lisp-indent-find-method): New function.
10997 (common-lisp-indent-function): Recognize cl-loop.
10998 (common-lisp-indent-function-1): Recognize cl constructs; use
10999 `lisp-indent-find-method' instead of `get' directly.
11000 (if): Use else-body style for elisp.
11001
11002 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
11003
11004 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11005 Module methods. (Bug#17216)
11006
11007 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11008
11009 * help.el (describe-bindings): Fix buffer handling (bug#17210).
11010 (describe-bindings-internal): Mark obsolete.
11011
11012 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11015 buffer-file-name, and buffer-file-truename any more.
11016
11017 2014-04-08 Leo Liu <sdl.web@gmail.com>
11018
11019 Use lexical-binding and require cl-lib.
11020 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11021 (rcirc-handler-generic, rcirc-fill-paragraph)
11022 (rcirc-format-response-string, rcirc-target-buffer)
11023 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11024 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11025 (rcirc-ctcp-sender-PING, rcirc-browse-url)
11026 (rcirc-markup-timestamp, rcirc-markup-attributes)
11027 (rcirc-markup-my-nick, rcirc-markup-urls)
11028 (rcirc-markup-bright-nicks, rcirc-markup-fill)
11029 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11030 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11031 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11032 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11033 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11034 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11035 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11036 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11037 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11038 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11039 use cl-lib.
11040
11041 2014-04-07 João Távora <joaotavora@gmail.com>
11042
11043 * elec-pair.el (electric-pair--syntax-ppss):
11044 When inside comments parse from comment beginning.
11045 (electric-pair--balance-info): Fix typo in comment.
11046 (electric-pair--in-unterminated-string-p): Delete.
11047 (electric-pair--unbalanced-strings-p): New function.
11048 (electric-pair-string-bound-function): New var.
11049 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11050 according to `electric-pair--in-unterminated-string-p'
11051
11052 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11053 Inhibit quote pairing if point-max is inside an unterminated string.
11054 (electric-pair--looking-at-unterminated-string-p): Delete.
11055 (electric-pair--in-unterminated-string-p): New function.
11056
11057 2014-04-07 Glenn Morris <rgm@gnu.org>
11058
11059 * shell.el (shell-directory-tracker):
11060 Go back to just ignoring failures. (Bug#17159)
11061
11062 2014-04-07 João Távora <joaotavora@gmail.com>
11063
11064 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11065 backspace. (Bug#16981)
11066 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11067 (electric-pair-backward-delete-char-untabify): Delete.
11068 (electric-pair-mode-map): Bind backspace to a menu item filtering
11069 a new `electric-pair-delete-pair' command.
11070 (electric-pair-delete-pair): New command.
11071
11072 * progmodes/python.el (python-electric-pair-string-delimiter):
11073 Fix triple-quoting electricity. (Bug#17192)
11074
11075 * elec-pair.el (electric-pair-post-self-insert-function):
11076 Don't skip whitespace when `electric-pair-text-pairs' and
11077 `electric-pair-pairs' were used. syntax to
11078 electric-pair--skip-whitespace. (Bug#17183)
11079
11080 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11081
11082 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11083 "<F>". (Bug#17199)
11084
11085 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11088 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11089
11090 2014-04-07 Glenn Morris <rgm@gnu.org>
11091
11092 * help.el (view-lossage): Doc tweak.
11093
11094 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11095
11096 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11097 only when inhibit-x-resources is nil, and do that earlier in the
11098 function. Doc fix. (Bug#16694)
11099 (face-spec-choose): Accept additional optional argument, whose
11100 value is returned if no matching attributes are found.
11101 (face-spec-recalc): Use the new optional argument when calling
11102 face-spec-choose. (Bug#16378)
11103 (make-face-x-resource-internal): Do nothing when
11104 inhibit-x-resources is non-nil. Don't touch the default face if
11105 reversed video is given--as was done in previous versions of Emacs.
11106 (face-set-after-frame-default): Don't call
11107 make-face-x-resource-internal here. (Bug#16434)
11108
11109 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11110
11111 * doc-view.el (doc-view-bookmark-jump):
11112 Use `bookmark-after-jump-hook' to jump to the right page after the
11113 buffer is shown in a window. (bug#16090)
11114
11115 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11116
11117 * international/characters.el (mirroring): Fix last change:
11118 instead of loading uni-mirrored.el explicitly, do that implicitly
11119 by creating the 'mirroring' uniprop table. This avoids announcing
11120 the loading of uni-mirrored.el.
11121
11122 2014-04-07 Glenn Morris <rgm@gnu.org>
11123
11124 * files.el (buffer-stale--default-function)
11125 (buffer-stale-function, revert-buffer--default):
11126 * autorevert.el (auto-revert-buffers): Doc tweaks.
11127
11128 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11129
11130 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11131
11132 2014-04-07 Glenn Morris <rgm@gnu.org>
11133
11134 * files.el (make-backup-file-name-function)
11135 (make-backup-file-name, make-backup-file-name--default-function)
11136 (make-backup-file-name-1, find-backup-file-name)
11137 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11138 (buffer-stale--default-function, buffer-stale-function)
11139 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11140 (revert-buffer, revert-buffer--default)
11141 (revert-buffer-insert-file-contents--default-function):
11142 Doc fixes related to defaults no longer being nil.
11143 (make-backup-file-name-function): Bump :version.
11144 Restore nil as a valid but deprecated custom type.
11145
11146 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11149 Handle $' used as a variable (bug#17174).
11150
11151 * progmodes/perl-mode.el (perl-indent-new-calculate):
11152 Handle forward-sexp failure (bug#16985).
11153 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11154 modifiers introducing expressions (bug#17116).
11155
11156 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11157
11158 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11159
11160 2014-04-05 Leo Liu <sdl.web@gmail.com>
11161
11162 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11163 Add define-compilation-mode.
11164
11165 2014-04-04 João Távora <joaotavora@gmail.com>
11166
11167 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11168 parse from comment beginning.
11169 (electric-pair--balance-info): Fix typo in comment.
11170 (electric-pair--in-unterminated-string-p): Delete.
11171 (electric-pair--unbalanced-strings-p): New function.
11172 (electric-pair-string-bound-function): New var.
11173 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11174 according to `electric-pair--in-unterminated-string-p'.
11175
11176 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11179 Move declaration before first use.
11180 (reftex-move-to-next-arg): Silence compiler warning.
11181
11182 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11183
11184 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11185 Use `window-total-width' instead of `window-width'.
11186
11187 2014-04-03 Daniel Colascione <dancol@dancol.org>
11188
11189 * subr.el (set-transient-map): Remove rms's workaround entirely;
11190 use new `suspicious-object' subr to mark our lambda for closer
11191 scrutiny during gc.
11192
11193 2014-04-02 Richard Stallman <rms@gnu.org>
11194
11195 * subr.el (set-transient-map): Comment out previous change.
11196
11197 2014-04-02 Glenn Morris <rgm@gnu.org>
11198
11199 * menu-bar.el (menu-bar-file-menu):
11200 * vc/ediff.el (ediff-current-file):
11201 Update for revert-buffer-function no longer being nil by default.
11202
11203 * simple.el (command-execute): Respect nil disabled-command-function.
11204
11205 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11206
11207 * simple.el (command-execute): Do not execute the command when it
11208 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11209
11210 2014-04-02 Juri Linkov <juri@jurta.org>
11211
11212 * dired-aux.el (dired-compress-file): Don't use string-match-p
11213 because its match data is used afterwards.
11214
11215 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11216
11217 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11218 0 like nil.
11219
11220 2014-04-02 João Távora <joaotavora@gmail.com>
11221
11222 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11223 Inhibit quote pairing if point-max is inside an unterminated string.
11224 (electric-pair--looking-at-unterminated-string-p):
11225 Delete.
11226 (electric-pair--in-unterminated-string-p): New function.
11227
11228 2014-04-01 Daniel Colascione <dancol@dancol.org>
11229
11230 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11231 when trying to complete the prompt.
11232
11233 2014-03-31 Leo Liu <sdl.web@gmail.com>
11234
11235 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11236 Refactor out eldoc-documentation-function-default.
11237 (eldoc-documentation-function-default): New function.
11238 (eldoc-documentation-function): Change value.
11239
11240 2014-03-31 Glenn Morris <rgm@gnu.org>
11241
11242 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11243
11244 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11245 (vhdl-compose-components-package, vhdl-compose-configuration):
11246 Abbreviate default-directory (missing from some previous upstream sync).
11247
11248 2014-03-31 Reto Zimmermann <reto@gnu.org>
11249
11250 Sync with upstream vhdl mode v3.35.2.
11251 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11252 (top-level): No longer require assoc.
11253 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11254 New functions. Use throughout to replace aget etc.
11255 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11256 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11257 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11258 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11259 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11260 except `vhdl-compiler'.
11261 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11262 when appropriate.
11263
11264 2014-03-31 Glenn Morris <rgm@gnu.org>
11265
11266 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11267 Revert 2014-03-26 merge goof; go back to using defalias.
11268
11269 2014-03-30 Daniel Colascione <dancol@dancol.org>
11270
11271 * comint.el (comint-send-input):
11272 Deactivate completion-in-region-mode before we send comint input.
11273 (Bug#17139).
11274
11275 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11276 on keyboard-quit.
11277
11278 2014-03-29 Glenn Morris <rgm@gnu.org>
11279
11280 * textmodes/reftex.el: Manage most autoloads automatically.
11281 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11282 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11283 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11284 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11285 * textmodes/reftex-toc.el: Set generated-autoload-file,
11286 and add autoload cookies for reftex.el.
11287 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11288
11289 2014-03-28 Glenn Morris <rgm@gnu.org>
11290
11291 * cus-start.el (report-emacs-bug-address): Set custom properties.
11292 * mail/emacsbug.el (report-emacs-bug-address):
11293 Variable is now defined in emacs.c.
11294
11295 * mail/emacsbug.el (report-emacs-bug):
11296 Include system-configuration-features.
11297
11298 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11299
11300 * simple.el (cycle-spacing): Never delete spaces on first run by
11301 default, but do so in a new 'fast mode and if there are already
11302 N spaces (the previous behavior).
11303 Compare N with its value in previous invocation so that changing
11304 prefix argument restarts `cycle-spacing' sequence.
11305 The idea is that with this change, binding M-SPC to
11306 `cycle-spacing' should not introduce any changes in behavior of
11307 the binding so long as users do not type M-SPC twice in a raw with
11308 the same prefix argument or lack thereof.
11309
11310 2014-03-28 Glenn Morris <rgm@gnu.org>
11311
11312 * faces.el (term-file-aliases): New variable.
11313 (tty-run-terminal-initialization): Respect term-file-aliases.
11314 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11315 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11316 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11317
11318 2014-03-27 Glenn Morris <rgm@gnu.org>
11319
11320 * startup.el (inhibit-startup-hooks): Doc tweak.
11321 (normal-top-level): Simplify running of hooks.
11322 For window-setup-hook, respect inhibit-startup-hooks.
11323 (command-line-1): Don't set window-setup-hook to nil.
11324
11325 Allow selective autoloading from obsolete/ directory.
11326 * Makefile.in (obsolete-autoloads): New rule.
11327 (autoloads): Run obsolete-autoloads.
11328 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11329 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11330
11331 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11332
11333 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11334 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11335
11336 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11337 Don't propertize `?' or `!' as symbol constituent when after
11338 colon. (Bug#17097)
11339
11340 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11341
11342 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11343 which is no longer needed and causes trouble in GTK builds (bug#17046).
11344
11345 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11346 Use url-insert-file-contents; package-handle-response no longer exists.
11347
11348 2014-03-26 Daniel Colascione <dancol@dancol.org>
11349
11350 * simple.el (process-menu-mode-map): New variable.
11351 (process-menu-delete-process): New command.
11352
11353 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11354
11355 * emacs-lisp/package.el: Fix bug#16733 (again).
11356 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11357 (url-http-target-url): Remove unused declarations.
11358 (package-handle-response): Remove.
11359 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11360 (package--download-one-archive): Use current-buffer instead of
11361 dynamic binding of `buffer'.
11362 (describe-package-1): Do not decode readme-string.
11363
11364 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11365
11366 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11367
11368 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11369 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11370 `remote-file-name-inhibit-cache' to nil in the second pass.
11371 (tramp-find-executable): Do not call "which" on SunOS.
11372 (tramp-send-command-and-check): Fix docstring.
11373 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11374 check whether source directory has set the sticky bit.
11375
11376 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11377
11378 * simple.el (primitive-undo): Only process marker adjustments
11379 validated against their corresponding (TEXT . POS). Issue warning
11380 for lone marker adjustments in undo history. (Bug#16818)
11381 (undo-make-selective-list): Add marker adjustments to selective
11382 undo list based on whether their corresponding (TEXT . POS) is in
11383 the region. Remove variable adjusted-markers, which was unused
11384 and only non nil during undo-make-selective-list.
11385 (undo-elt-in-region): Return nil when passed a marker adjustment
11386 and explain in function doc.
11387
11388 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11389
11390 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11391
11392 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11393
11394 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11395 Match special global variables without curlies, too.
11396 (ruby-font-lock-keywords): Simplify the matcher for special global
11397 variables. Don't require a non-word character after the variable.
11398 (Bug#17057)
11399
11400 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * simple.el (redisplay-highlight-region-function): Increase priority of
11403 overlay to make sure boundaries are visible (bug#15899).
11404
11405 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11406
11407 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11408 (frameset-restore): Compare display strings with equal.
11409
11410 * frame.el (make-frame): Don't quote display name in error message,
11411 it is already a string.
11412
11413 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11414
11415 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11416 the password.
11417
11418 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11419
11420 * emacs-lisp/package.el (package--add-to-archive-contents):
11421 Include already installed and built-in packages in
11422 `package-archive-contents'.
11423 (package-install): Don't include already installed packages in the
11424 options during interactive invocation. (Bug#16762)
11425 (package-show-package-list): If the buffer is already displayed in
11426 another window, switch to that window.
11427
11428 2014-03-26 Reto Zimmermann <reto@gnu.org>
11429
11430 Sync with upstream vhdl mode v3.35.1.
11431 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11432 (vhdl-compiler-alist): Doc fix.
11433 (vhdl-goto-line): Remove.
11434 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11435 (vhdl-mode) <paragraph-start>: Fix value.
11436 (vhdl-fix-statement-region): Not `for' in wait-statement.
11437 (vhdl-beautify-region): Also (un)tabify.
11438 (vhdl-get-visible-signals):
11439 Scan declarative part of generate statements.
11440 (vhdl-template-record): Fix indentation for record type declaration.
11441 (vhdl-expand-abbrev, vhdl-expand-paren):
11442 Revert to using fset again rather than defalias.
11443 (vhdl-scan-directory-contents): Tweak.
11444 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11445 (vhdl-compose-components-package):
11446 Replace vhdl-goto-line with forward-line.
11447 (top-level): Tweak speedbar frame selection.
11448 (vhdl-generate-makefile-1): Support for compilers with no
11449 unit-to-file name mapping (create directory with dummy files).
11450
11451 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11452
11453 Sync with upstream verilog-mode revision 702457d.
11454 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11455 (create-lockfiles): Declare.
11456 (verilog-read-decls): Fix module header imports, bug709.
11457 Reported by Victor Lau.
11458 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11459 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11460 interface-only modules, bug721. Reported by Dean Hoyt.
11461
11462 2014-03-26 Glenn Morris <rgm@gnu.org>
11463
11464 * obsolete/gulp.el: Move here from emacs-lisp/.
11465
11466 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11467 Remove fallback aliases, since they are always defined now.
11468
11469 2014-03-24 Daniel Colascione <dancol@dancol.org>
11470
11471 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11472 instead of cl-loop search function.
11473
11474 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11475
11476 * calendar/parse-time.el (parse-time-iso8601-regexp)
11477 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11478 it more generally.
11479
11480 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11481
11482 * net/dns.el (network-interface-list): Define for XEmacs.
11483
11484 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11485
11486 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11487 the network interfaces changed.
11488 (dns-query): Use it to flush the data.
11489
11490 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11491
11492 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11493
11494 2014-03-23 Daniel Colascione <dancol@dancol.org>
11495
11496 Change subword-mode to use `find-word-boundary-function-table' and
11497 replace `capitalized-words-mode'. Also, convert to lexical binding.
11498 * progmodes/cap-words.el: Delete now-obsolete file.
11499 * progmodes/subword.el: Reimplement using
11500 `find-word-boundary-function-table'.
11501 (subword-mode-map): Hollow out.
11502 (capitalized-words-mode): Define as obsolete alias for
11503 `subword-mode'.
11504 (subword-mode, superword-mode): Tweak documentation to reflect new
11505 implementation; call `subword-setup-buffer'.
11506 (subword-forward, subword-capitalize): Add underscore to indicate
11507 unused variable.
11508 (subword-find-word-boundary-function-table): New constant.
11509 (subword-empty-char-table): New constant.
11510 (subword-setup-buffer): New function.
11511 (subword-find-word-boundary): New function.
11512
11513 2014-03-23 Daniel Colascione <dancol@dancol.org>
11514
11515 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11516 list to look for keyword arguments instead of `memq', fixing
11517 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11518 Please make bootstrap.
11519
11520 2014-03-22 Glenn Morris <rgm@gnu.org>
11521
11522 * dired.el (dired-read-regexp): Make obsolete.
11523 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11524 (dired-flag-files-regexp):
11525 * dired-aux.el (dired-mark-read-regexp):
11526 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11527
11528 * startup.el (fancy-startup-text):
11529 * help.el (describe-gnu-project): Visit online info about GNU project.
11530
11531 * help-fns.el (help-fns--interactive-only): New function.
11532 (help-fns-describe-function-functions): Add the above function.
11533 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11534 (next-line, previous-line): Remove hand-written interactive-only
11535 information from doc strings, it is auto-generated now.
11536 * bookmark.el (bookmark-write):
11537 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11538 (epa-mail-import-keys): Mark interactive-only,
11539 and remove hand-written interactive-only information from doc strings.
11540 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11541 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11542 * files.el (not-modified):
11543 * simple.el (mark-whole-buffer): Mark interactive-only.
11544
11545 * emacs-lisp/byte-run.el (defun-declarations-alist):
11546 Add interactive-only. Doc tweak.
11547 (macro-declarations-alist): Doc tweak.
11548 * subr.el (declare): Doc tweak (add xref to manual).
11549 * comint.el (comint-run):
11550 * files.el (insert-file-literally, insert-file):
11551 * replace.el (replace-string, replace-regexp):
11552 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11553 (delete-forward-char, goto-line, insert-buffer, next-line)
11554 (previous-line): Set interactive-only via declare.
11555
11556 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11557
11558 * emacs-lisp/package.el (package-desc): Use the contents of the
11559 quoted form, not its cdr. (Bug#16873)
11560
11561 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11562
11563 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11564 benefit of doc.c; change parameter profile to match the X function.
11565
11566 2014-03-22 Leo Liu <sdl.web@gmail.com>
11567
11568 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11569 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11570
11571 2014-03-21 Richard Stallman <rms@gnu.org>
11572
11573 * battery.el (battery-linux-sysfs): Search for each field
11574 from the beginning of the buffer.
11575
11576 * subr.el (set-transient-map): Clear out function and value
11577 of the temporary symbol when we're done with it.
11578
11579 * mail/rmailsum.el (rmail-summary-delete-forward):
11580 Optimize case of reaching end and handling count.
11581 (rmail-summary-mark-deleted): Optimize when N is current msg.
11582 Don't create new summary line.
11583 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11584 (rmail-summary-undelete-many): Rewrite for speed.
11585 (rmail-summary-msg-number): New function.
11586
11587 * mail/rmail.el (rmail-delete-message): Update summary.
11588 (rmail-undelete-previous-message): Handle repeat count arg.
11589 (rmail-delete-backward, rmail-delete-forward): Likewise.
11590
11591 2014-03-21 Daniel Colascione <dancol@dancol.org>
11592
11593 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11594 information in bug reports.
11595
11596 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11597
11598 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11599 and `tramp-copy-env'.
11600
11601 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11602 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11603
11604 2014-03-21 Glenn Morris <rgm@gnu.org>
11605
11606 * electric.el (electric-indent-post-self-insert-function): Add doc.
11607
11608 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11609
11610 * emacs-lisp/package.el (package-compute-transaction):
11611 Use `version-list-<=' to compare the requirement version against
11612 the version of package already to be installed. Update the error
11613 message. (Bug#16826)
11614
11615 * progmodes/ruby-mode.el (ruby-smie-rules):
11616 Add indentation rule for ` @ '. (Bug#17050)
11617
11618 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11619
11620 * align.el (align-regexp): Remove superfluous backslash.
11621
11622 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11623 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11624 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11625 Fix docstring typos.
11626 (ffap-next): Use C-u in docstring.
11627 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11628 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11629 Remove superfluous backslashes.
11630 (ffap-string-at-point): Reflow docstring.
11631
11632 * server.el (server-host): Reflow docstring.
11633 (server-unload-function): Fix docstring typo.
11634 (server-eval-at): Remove superfluous backslash.
11635
11636 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11637 (skeleton-insert): Doc fix.
11638 (skeleton-insert): Reflow docstring.
11639
11640 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11641 (tty-color-approximate, tty-color-by-index, tty-color-values)
11642 (tty-color-desc): Remove superfluous backslashes.
11643
11644 2014-03-21 Glenn Morris <rgm@gnu.org>
11645
11646 * cus-start.el (history-length): Bump :version.
11647
11648 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11649 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11650 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11651 Don't set `make-backup-files'.
11652
11653 * info.el (info--prettify-description): New function,
11654 to give info-finder descriptions consistent case, punctuation.
11655 (Info-finder-find-node): Use it. Sort packages.
11656 Refer to "description" rather than "commentary".
11657
11658 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11659
11660 * frameset.el (frameset--print-register): New function.
11661 (frameset-to-register): Use it.
11662
11663 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11664
11665 * progmodes/hideif.el (hif-string-to-number): New function.
11666 (hif-tokenize): Use it to understand non-decimal floats.
11667
11668 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11669
11670 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11671
11672 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11673
11674 * electric.el (electric-newline-and-maybe-indent): New command.
11675 Bind it globally to C-j.
11676 (electric-indent-mode): Don't mess with the global map any more.
11677 Don't drop the post-self-insert-hook is some buffer is still using it
11678 (bug#16770).
11679
11680 * bindings.el (global-map): Remove C-j binding.
11681
11682 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11683 the docstring of functions advised before dumping (bug#16993).
11684
11685 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11686
11687 * ps-print.el (ps-generate-postscript-with-faces):
11688 Explicitly deactivate the mark (bug#16866).
11689 * simple.el (deactivate-mark): Update region highlight.
11690
11691 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11692
11693 * emacs-lisp/package.el (describe-package-1):
11694 Decode commentary (bug#16733).
11695
11696 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11697
11698 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11699 modification of the value argument of :set (bug#16755).
11700
11701 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * simple.el (newline-and-indent): Do autofill (bug#17031).
11704
11705 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11706
11707 * newcomment.el (comment-normalize-vars): Only add escaping check
11708 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11709 (comment-beginning): Use `narrow-to-region' instead of moving back
11710 one character.
11711 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11712 (comment-start-skip): Update the docstring.
11713
11714 2014-03-18 Richard Stallman <rms@gnu.org>
11715
11716 * dired.el (dired-display-file): Force use of other window.
11717
11718 2014-03-18 Daniel Colascione <dancol@dancol.org>
11719
11720 * startup.el (tty-handle-args): Remove debug message from 2007.
11721
11722 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11725 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11726 (advice--make-1, advice-add, advice-remove):
11727 Remove braindead :advice-pending hack.
11728
11729 2014-03-17 Glenn Morris <rgm@gnu.org>
11730
11731 * calendar/calendar.el (calendar-generate-month): Apply weekend
11732 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11733
11734 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11735
11736 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11737 (tramp-call-process): Trace also DESTINATION.
11738
11739 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11740 Quote file names when they are local. Remove superfluous trace.
11741
11742 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11743
11744 * newcomment.el (comment-beginning): If `comment-start-skip'
11745 doesn't match, move back one char and try again. (Bug#16971)
11746
11747 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11748 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11749 Set `comment-start-skip' to a simpler value that doesn't try to
11750 check if the semicolon is escaped (this is handled by
11751 `syntax-ppss' now). (Bug#16971)
11752
11753 * progmodes/scheme.el (scheme-mode-variables): Same.
11754
11755 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11756
11757 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11758 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11759 current (Bug#16816, Bug#17007).
11760 (with-current-buffer-window): New macro doing the same as
11761 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11762 * help.el (help-print-return-message): Warn in doc-string to not
11763 use this in `with-help-window'.
11764 (describe-bindings-internal): Call `describe-buffer-bindings'
11765 from within help buffer. See Juanma's scenario in (Bug#16816).
11766 (with-help-window): Update doc-string.
11767 * dired.el (dired-mark-pop-up):
11768 * files.el (save-buffers-kill-emacs):
11769 * register.el (register-preview): Use `with-current-buffer-window'
11770 instead of `with-temp-buffer-window'.
11771
11772 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11773
11774 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11775 Implement inserting into current buffer, documented in their docstrings.
11776 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11777 (rst-section-tree-point, rst-forward-section, rst-indent)
11778 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11779 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11780 (rst-font-lock-handle-adornment-pre-match-form)
11781 (rst-repeat-last-character): Reflow docstrings.
11782 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11783 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11784 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11785 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11786 Fix docstring typos.
11787 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11788 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11789 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11790
11791 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11792
11793 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11794 for compatibility with other ports.
11795 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11796 from the -xrm command line argument, but in the Nextstep port its value
11797 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11798
11799 * progmodes/python.el (defconst, python-syntax-count-quotes)
11800 (python-indent-region, python-indent-shift-right)
11801 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11802 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11803 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11804 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11805 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11806 (python-shell-buffer-substring, python-shell-send-buffer)
11807 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11808 (python-completion-complete-at-point, python-fill-docstring-style)
11809 (python-eldoc-function, python-imenu-format-item-label)
11810 (python-imenu-format-parent-item-label)
11811 (python-imenu-format-parent-item-jump-label)
11812 (python-imenu--build-tree, python-imenu-create-index)
11813 (python-imenu-create-flat-index): Fix docstring typos.
11814 (python-indent-context, python-shell-prompt-regexp, run-python):
11815 Remove superfluous backslashes.
11816 (python-indent-line, python-nav-beginning-of-defun)
11817 (python-shell-get-buffer, python-shell-get-process)
11818 (python-info-current-defun, python-info-current-line-comment-p)
11819 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11820 (python-indent-post-self-insert-function, python-shell-send-file)
11821 (python-shell-completion-get-completions)
11822 (python-shell-completion-complete-or-indent)
11823 (python-eldoc--get-doc-at-point): Reflow docstrings.
11824
11825 2014-03-14 Glenn Morris <rgm@gnu.org>
11826
11827 * emacs-lisp/package.el (package-menu-mode-map):
11828 Replace use of obsolete function alias. Tweak menu item text.
11829
11830 * info.el (Info-finder-find-node):
11831 Ignore the `emacs' metapackage. (Bug#10813)
11832
11833 * finder.el (finder-list-matches): Include unversioned packages
11834 in the result of a keyword search.
11835
11836 * finder.el (finder--builtins-descriptions): New constant.
11837 (finder-compile-keywords): Use finder--builtins-descriptions.
11838
11839 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11840
11841 * simple.el (blink-matching-paren): Describe the new value,
11842 `jump', enabling the old behavior.
11843 (blink-matching-open): Use that value. (Bug#17008)
11844
11845 2014-03-14 Glenn Morris <rgm@gnu.org>
11846
11847 * finder.el (finder-no-scan-regexp): Add leim-list.
11848 (finder-compile-keywords):
11849 Don't skip files with same basename. (Bug#14010)
11850 * Makefile.in (setwins_finder): New, excluding leim.
11851 (finder-data): Use setwins_finder.
11852
11853 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11854 (help-function-arglist, help-make-usage): Move from here...
11855 * help.el (help-split-fundoc, help-add-fundoc-usage)
11856 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11857 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11858
11859 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11860
11861 * net/socks.el (socks, socks-override-functions)
11862 (socks-find-services-entry):
11863 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11864 (hif-find-ifdef-block):
11865 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11866
11867 * net/tls.el (tls-program): Reflow docstring.
11868
11869 * progmodes/pascal.el (pascal-mode-abbrev-table)
11870 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11871 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11872 (pascal-outline-mode): Fix docstring typos.
11873 (pascal-mode): Let define-derived-mode document mode hook.
11874 (pascal-uncomment-area): Reflow.
11875 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11876
11877 * progmodes/opascal.el (opascal-compound-block-indent)
11878 (opascal-case-label-indent): Fix docstring typos.
11879 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11880
11881 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11882
11883 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11884 Fontify multiple adjacent negation chars. (Bug#17004)
11885
11886 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11887
11888 * emacs-lisp/package.el (package--prepare-dependencies):
11889 Accept requirements without explicit version (bug#14941).
11890
11891 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11892
11893 * register.el (register-separator, copy-to-register): Doc fixes.
11894 (register-preview-default): Remove unnecessary call to concat.
11895
11896 * frameset.el (frameset-restore): When checking for a visible frame,
11897 use the action map instead of calling visible-frame-list.
11898
11899 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11900
11901 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11902
11903 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11904
11905 * window.el (fit-frame-to-buffer): Get maximum width from
11906 display's width instead of height.
11907
11908 2014-03-12 Glenn Morris <rgm@gnu.org>
11909
11910 * desktop.el (desktop-restore-frames)
11911 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11912 (desktop-restore-reuses-frames): Doc tweaks.
11913
11914 * electric.el (electric-indent-mode): Doc fix.
11915
11916 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11917
11918 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11919 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11920 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11921 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11922 (cvs-dired-use-hook): Fix docstring typos.
11923 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11924 Doc fixes.
11925
11926 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11927 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11928 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11929 (cvs-execute-single-dir): Fix docstring typos.
11930
11931 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11932 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11933
11934 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11935
11936 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11937 Fix docstring typos.
11938
11939 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11940
11941 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11942 called from jump-to-register after unloading the frameset package.
11943
11944 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11947 (bug#16975). Deactivate the mark before setting it to nil.
11948 (activate-mark): Do nothing if region is already active.
11949
11950 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11951
11952 * frameset.el (frameset--target-display): Remove definition; declare.
11953 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11954
11955 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11958 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11959 when the advice is pending.
11960 (advice-remove): Remove this marker when not needed any more.
11961
11962 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11963
11964 * frameset.el: Separate options for reusing frames and cleaning up.
11965 (frameset--reuse-list): Remove definition; declare.
11966 (frameset--action-map): Declare.
11967 (frameset--find-frame-if): Doc fix.
11968 (frameset--restore-frame): Cache frame action.
11969 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11970 how to clean up the frame list after restoring. Remove cleaning
11971 options from REUSE-FRAMES. Change all keyword values to symbols.
11972 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11973
11974 * desktop.el (desktop-restore-forces-onscreen)
11975 (desktop-restore-reuses-frames): Use non-keyword values.
11976 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11977
11978 2014-03-10 Glenn Morris <rgm@gnu.org>
11979
11980 * files.el (find-file): Doc fix: update info node name.
11981
11982 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11983 Doc fix: remove references to deleted info nodes.
11984
11985 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11986
11987 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11988 Do not add nil to the environment, when there's no remote `locale'.
11989 (tramp-find-inline-encoding): Check, that the remote host has
11990 installed perl, before sending scripts.
11991
11992 2014-03-10 Leo Liu <sdl.web@gmail.com>
11993
11994 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11995 Clear eldoc-last-message. (Bug#16920)
11996
11997 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
12000 (bug#14430).
12001
12002 2014-03-09 Juri Linkov <juri@jurta.org>
12003
12004 * ansi-color.el (ansi-color-names-vector): Copy default colors
12005 from `xterm-standard-colors' that look well on the default white
12006 background (and also on the black background) to avoid illegible
12007 color combinations like yellow-on-white and white-on-white.
12008 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12009
12010 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
12011
12012 * frameset.el (frameset-restore): When no frame is visible, do not
12013 generate a list of frames, just make visible the selected one.
12014
12015 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
12016
12017 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12018 it only contains the repository root. (Bug#16897)
12019
12020 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
12021
12022 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12023 only when `remote-file-name-inhibit-cache' is nil.
12024 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
12025
12026 2014-03-06 Martin Rudalics <rudalics@gmx.at>
12027
12028 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12029 Fix doc-strings.
12030 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12031 fit-frame-to-buffer variable. Fix doc-string.
12032 (fit-window-to-buffer): Set ONLY argument in call of
12033 fit-frame-to-buffer. Fix doc-string.
12034
12035 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12036
12037 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12038 (tramp-action-password): Clear password cache if needed.
12039 (tramp-read-passwd): Do not clear password cache.
12040
12041 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12042 cache unless it is the first password request.
12043
12044 2014-03-06 Glenn Morris <rgm@gnu.org>
12045
12046 * simple.el (newline): Doc tweak.
12047
12048 * emacs-lisp/shadow.el (load-path-shadows-find):
12049 Ignore dir-locals. (Bug#12357)
12050
12051 2014-03-05 Glenn Morris <rgm@gnu.org>
12052
12053 * files.el (interpreter-mode-alist):
12054 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12055
12056 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * frameset.el (frameset--initial-params): Filter out null entries.
12059
12060 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12061
12062 * window.el (window-min-height, window-min-width):
12063 Rewrite doc-strings.
12064 (window-body-size): Add PIXELWISE argument to make it consistent
12065 with its callees.
12066
12067 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * finder.el (finder-mode-map, finder-mode-syntax-table):
12070 Revert part of 2014-02-28 change.
12071
12072 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12073
12074 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12075 (eww-setup-buffer): Clear next/prev/etc more reliably.
12076 (eww-textarea-map): [tab] doesn't work on tty.
12077 Reported by Mario Lang.
12078
12079 * net/shr.el (shr-map): Ditto.
12080
12081 2014-03-04 Glenn Morris <rgm@gnu.org>
12082
12083 * minibuffer.el (completion-hilit-commonality):
12084 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12085
12086 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12087
12088 * hilit-chg.el (hilit-chg-unload-function): New function.
12089 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12090 (hilit-chg-map-changes): Prefer cardinal number to digit.
12091 (hilit-chg-display-changes): Reflow docstring.
12092 (highlight-changes-rotate-faces): Remove superfluous backslash.
12093
12094 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12095
12096 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12097 `tramp-send-command-and-check'.
12098
12099 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12100
12101 * hexl.el (hexl-address-region, hexl-ascii-region)
12102 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12103 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12104 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12105 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12106 (hexl-mode): Doc fix.
12107 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12108 (hexl-mode-ruler): Fix typos in docstrings.
12109
12110 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12111 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12112 Remove superfluous backslashes.
12113 (strokes-last-stroke, strokes-global-map, strokes-mode):
12114 Reflow docstrings.
12115 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12116 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12117 (strokes-distance-squared, strokes-global-set-stroke)
12118 (strokes-global-set-stroke-string): Doc fixes.
12119 (strokes-help): Fix typos; reflow docstring.
12120
12121 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12122
12123 * window.el (window-in-direction): Fix doc-string.
12124
12125 2014-03-04 Glenn Morris <rgm@gnu.org>
12126
12127 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12128 Explicit error if no grammar.
12129 (smie-config-save): Doc fix. Fix quote typo.
12130
12131 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12132
12133 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12134 electric-indent-mode-hook if we obey electric-indent-mode.
12135 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12136 decide whether we obey electric-indent-mode.
12137 (c-change-set-fl-decl-start, c-extend-after-change-region):
12138 Silence warnings.
12139 (c-electric-indent-mode-hook): Assume we do want to obey
12140 electric-indent-mode.
12141
12142 * electric.el (electric-indent-mode-has-been-called): Remove.
12143 (electric-indent-mode): Fix accordingly.
12144
12145 * files.el (hack-local-variables): Mention file name in warning.
12146
12147 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12148
12149 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12150
12151 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12152 * simple.el (delete-forward-char): Mark as interactive-only.
12153
12154 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12155
12156 * icomplete.el (icomplete-completions):
12157 Follow-up to 2014-03-01 change.
12158
12159 * icomplete.el: Miscellaneous doc fixes.
12160 Use Icomplete everywhere instead of icomplete for consistency.
12161 (icomplete-max-delay-chars): Fix typo.
12162 (icomplete-mode): Use \[].
12163 (icomplete-tidy, icomplete-exhibit): Reflow.
12164 (icomplete-minibuffer-setup-hook, icomplete-completions):
12165 Remove superfluous backlashes.
12166
12167 * ido.el: Miscellaneous doc fixes.
12168 Use Ido everywhere instead of ido or `ido' for consistency.
12169 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12170 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12171 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12172 (ido-separator): Extract obsolescence info from docstring and declare
12173 with make-obsolete-variable.
12174 (ido-minibuffer-setup-hook): Simplify example.
12175 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12176 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12177 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12178 (ido-everywhere): Reflow docstring.
12179 (ido-toggle-vc): Doc fix.
12180 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12181 of long list of keybindings.
12182
12183 2014-03-03 Glenn Morris <rgm@gnu.org>
12184
12185 * frame.el (display-pixel-height, display-pixel-width)
12186 (display-mm-dimensions-alist, display-mm-height)
12187 (display-mm-width): Doc tweaks.
12188
12189 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12190
12191 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12192 case of undo in region.
12193
12194 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12195
12196 * window.el (fit-window-to-buffer): Fix argument in window-size
12197 call when window is horizontally combined.
12198
12199 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12200
12201 * icomplete.el (icomplete-completions): Use string-width.
12202 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12203
12204 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12205
12206 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12207 Highlight regexp options. (Bug#16914)
12208
12209 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12210
12211 * window.el (window--max-delta-1): Round down when calculating
12212 how many lines/columns we can get from a window.
12213
12214 2014-03-01 Glenn Morris <rgm@gnu.org>
12215
12216 * isearch.el (search-invisible): Doc fix.
12217
12218 * minibuffer.el (completion-hilit-commonality):
12219 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12220 * comint.el (comint-dynamic-list-completions): Doc fix.
12221 * comint.el (comint-dynamic-list-completions):
12222 * filecache.el (file-cache-minibuffer-complete):
12223 * tempo.el (tempo-display-completions):
12224 * eshell/em-hist.el (eshell-list-history):
12225 Replace use of obsolete argument of display-completion-list.
12226
12227 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12228
12229 * icomplete.el (icomplete-completions):
12230 Revert back to using "..." when ?… cannot be displayed.
12231
12232 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12233
12234 * finder.el (finder-unload-function): New function.
12235
12236 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * dframe.el (dframe-detach):
12239 * find-dired.el (find-dired, find-name-dired):
12240 * finder.el (finder-mode-map, finder-mode-syntax-table)
12241 (finder-headmark, finder-select, finder-mouse-select):
12242 Fix docstring typos.
12243
12244 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12245
12246 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12247 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12248 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12249 Fix doc-string based on a suggestion by Nicolas Richard
12250 <theonewiththeevillook@yahoo.fr>.
12251 * help.el (with-help-window): Fix doc-string.
12252
12253 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12254
12255 * net/shr.el (shr-image-animate): New option.
12256 (shr-put-image): Respect shr-image-animate.
12257
12258 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12259
12260 * net/tramp-adb.el (tramp-adb-parse-device-names):
12261 Use `accept-process-output'.
12262 (tramp-adb-handle-file-truename): Cache the localname only.
12263 (tramp-adb-handle-make-directory)
12264 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12265 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12266 modes cannot be changed.
12267
12268 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12269 file properties of symlinks.
12270
12271 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12272
12273 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12274 required/optional fields to match development biblatex. (Bug#16781)
12275
12276 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12277
12278 * saveplace.el (toggle-save-place):
12279 Fix argument handling. (Bug#16673)
12280
12281 2014-02-28 Glenn Morris <rgm@gnu.org>
12282
12283 * minibuffer.el (completions-first-difference)
12284 (completions-common-part, completion-hilit-commonality): Doc fixes.
12285
12286 2014-02-28 Karl Berry <karl@gnu.org>
12287
12288 * info.el (Info-mode-map): Add H for describe-mode,
12289 to synchronize with standalone Info.
12290
12291 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12292
12293 * progmodes/sql.el (sql-interactive-mode):
12294 Avoid setting global comint-input-ring-separator. (Bug#16814)
12295
12296 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/dbus.el (dbus--init-bus): Declare function.
12299 (dbus-path-local, dbus-interface-local): New defconst.
12300 (dbus-init-bus): Use them.
12301 (dbus-return-values-table): Extend doc.
12302 (dbus-handle-bus-disconnect): Extend error message.
12303
12304 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12305
12306 * subr.el (y-or-n-p): Fix double space issue in message.
12307
12308 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12309
12310 * net/tramp.el (tramp-call-process): Improve trace message.
12311 (tramp-handle-insert-file-contents): Trace error case.
12312
12313 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12314 <insert-directory>: Use `tramp-handle-insert-directory'.
12315 (tramp-adb-handle-insert-directory): Remove function.
12316 (tramp-adb-send-command-and-check): New defun, replacing
12317 `tramp-adb-command-exit-status'. Change all callees.
12318 (tramp-adb-handle-file-attributes)
12319 (tramp-adb-handle-directory-files-and-attributes): Use it.
12320 (tramp-adb-ls-output-name-less-p):
12321 Use `directory-listing-before-filename-regexp'.
12322 (tramp-adb-handle-delete-directory): Flush also file properties of
12323 the truename of directory.
12324 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12325 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12326 (tramp-adb-handle-write-region): Implement APPEND.
12327 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12328 properties correctly.
12329 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12330 variables. Check for connected devices only when needed.
12331
12332 2014-02-27 Glenn Morris <rgm@gnu.org>
12333
12334 * minibuffer.el (completion-table-dynamic)
12335 (completion-table-with-cache): Doc fixes.
12336
12337 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12338 (completing-read-multiple): Doc fixes.
12339
12340 2014-02-27 Daniel Colascione <dancol@dancol.org>
12341
12342 * minibuffer.el (completion--nth-completion): Fix indentation.
12343
12344 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12345 explicit tramp path is empty.
12346
12347 2014-02-27 Glenn Morris <rgm@gnu.org>
12348
12349 * emacs-lisp/crm.el (completing-read-multiple):
12350 Empower help-enable-auto-load.
12351
12352 2014-02-26 Glenn Morris <rgm@gnu.org>
12353
12354 * startup.el (command-line): Don't init the tty in daemon mode.
12355
12356 Avoid calling tty-setup-hook twice, eg if a term file
12357 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12358 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12359 (tty-create-frame-with-faces): Use it.
12360 * startup.el (command-line): Pass run-hook argument
12361 to tty-run-terminal-initialization.
12362
12363 * dired.el (dired-restore-desktop-buffer): Demote errors;
12364 eg in case a glob match fails. (Bug#16884)
12365
12366 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12367
12368 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12369 error from `read-from-string'. (Bug#16850)
12370
12371 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12372 result of `completing-read' in the interactive form. (Bug#16854)
12373
12374 2014-02-25 Glenn Morris <rgm@gnu.org>
12375
12376 * image.el (image-animate, image-animate-timeout):
12377 Stop animating images in dead buffers. (Bug#16878)
12378
12379 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12380
12381 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12382 Doc fixes.
12383 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12384 * term/sun.el (sun-raw-prefix-hooks):
12385 Use tty-setup-hook instead of term-setup-hook.
12386 (terminal-init-sun): Construct message from bytecomp plist.
12387 * term/wyse50.el (enable-arrow-keys): Doc fix.
12388
12389 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12390
12391 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12392 Fix docstring typos.
12393
12394 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12395
12396 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12397
12398 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12399
12400 * minibuffer.el (completion--try-word-completion):
12401 Fix error when completing M-x commands (bug#16808).
12402
12403 2014-02-24 Leo Liu <sdl.web@gmail.com>
12404
12405 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12406
12407 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12408
12409 * apropos.el (apropos-print): Avoid formatting error when
12410 apropos-do-all and apropos-compact-layout are both t.
12411
12412 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12413
12414 * apropos.el (apropos-property, apropos-all-words-regexp)
12415 (apropos-true-hit, apropos-variable, apropos-print):
12416 Fix docstring typos, and remove obsolete comment.
12417
12418 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12419
12420 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12421 Preserve trailing "/". (Bug#16851)
12422
12423 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12424
12425 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12426 after `=>' (bug#16811).
12427 (ruby-smie-rules): Handle the inconsistent second element of the
12428 list returned by `smie-indent--parent'.
12429 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12430 method call.
12431
12432 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12433
12434 * elec-pair.el (electric-pair-text-syntax-table)
12435 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12436 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12437 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12438 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12439
12440 2014-02-22 Glenn Morris <rgm@gnu.org>
12441
12442 * imenu.el (imenu--generic-function): Doc fix.
12443
12444 * register.el (frame-configuration-to-register): Make obsolete.
12445
12446 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12447
12448 * desktop.el (desktop-save-buffer-p): Do not fail when
12449 desktop-files-not-to-save is nil. Return t for true result
12450 as the doc says.
12451
12452 2014-02-22 Daniel Colascione <dancol@dancol.org>
12453
12454 * net/secrets.el (secrets-create-item, secrets-search-items):
12455 Check that attribute values are strings, avoiding the construction
12456 of invalid dbus messages.
12457
12458 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12459
12460 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12461 defun-declarations-alist.
12462
12463 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12466 (bug#16829).
12467
12468 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12469
12470 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12471 (whitespace-newline, whitespace-trailing, whitespace-line)
12472 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12473 (whitespace-space-after-tab): Fix typo in docstrings.
12474
12475 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12476
12477 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12478
12479 * electric.el (electric-indent-functions-without-reindent):
12480 Add `yaml-indent-line'.
12481
12482 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12483
12484 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12485 It has done nothing for years; should be removed after the release.
12486
12487 * simple.el (choose-completion): Fix docstring typo.
12488 (read-quoted-char-radix): Remove unneeded * in docstring.
12489 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12490 Don't escape parentheses unnecessarily in docstrings.
12491
12492 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12493
12494 Fix handling of window-min-height/-width (Bug#16738).
12495 * window.el (window--dump-window, window--dump-frame):
12496 New functions.
12497 (window--min-size-1): Account for window dividers.
12498 When window-resize-pixelwise is nil, delay rounding till after the
12499 sum of the window components has been calculated.
12500 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12501 nil make sure at least one text line and two text columns remain
12502 fully visible.
12503 (window-resize): Signal an error when window-resize-apply fails.
12504 (window--resize-child-windows): Fix calculation of by how many
12505 pixels a window can still be shrunk via window-new-normal.
12506 (adjust-window-trailing-edge): Call window--resizable with
12507 correct TRAIL argument.
12508
12509 (with-temp-buffer-window): Don't evaluate BODY within
12510 with-current-buffer (Bug#16816).
12511
12512 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12513
12514 * net/tramp.el (tramp-check-cached-permissions):
12515 Call `file-attributes' with `suffix' being a symbol but a string.
12516
12517 2014-02-21 Daniel Colascione <dancol@dancol.org>
12518
12519 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12520 (dbus-init-bus): New function: call into dbus-init-bus-1
12521 and installs a handler for the disconnect signal.
12522 (dbus-call-method): Rewrite to look for result in cons.
12523 (dbus-call-method-handler): Store result in cons.
12524 (dbus-check-event): Recognize events with nil sender as valid.
12525 (dbus-handle-bus-disconnect): New function. React to bus
12526 disconnection signal by synthesizing dbus error for each
12527 pending synchronous or asynchronous call.
12528 (dbus-notice-synchronous-call-errors): New function.
12529 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12530 is true, not all the time.
12531
12532 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12533
12534 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12535 Remove obsolescence declarations, these variables do not exist anymore.
12536
12537 * savehist.el (savehist-save-minibuffer-history)
12538 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12539 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12540 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12541 mostly, refer to "Savehist mode" when talking about the mode,
12542 and not the function.
12543
12544 * saveplace.el (save-place): Remove redundant info in docstring.
12545 (save-place-forget-unreadable-files, toggle-save-place)
12546 (save-place-forget-unreadable-files, save-place-dired-hook):
12547 Fix typos and remove unneeded backslashes.
12548
12549 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12550
12551 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12552 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12553
12554 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12555 <insert-directory>: Use `tramp-handle-insert-directory'.
12556 (tramp-gvfs-handle-insert-directory): Remove function.
12557
12558 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12559 Call `tramp-handle-insert-directory'.
12560
12561 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12562
12563 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12564 before the start of buffer/region (bug#16799).
12565
12566 2014-02-20 Glenn Morris <rgm@gnu.org>
12567
12568 * isearch.el (search-invisible): Doc fix.
12569
12570 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12571
12572 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12573 (bug#16657).
12574
12575 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12576
12577 * frameset.el (frameset-restore): Delay removing an old frame's
12578 duplicate id until the new frame has been correctly created.
12579
12580 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12581
12582 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12583 (tramp-check-cached-permissions): Call `file-attributes' if the
12584 cache is empty.
12585
12586 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12587 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12588
12589 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12590 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12591 (tramp-gvfs-maybe-open-connection): Set always connection
12592 properties, even if target is mounted already.
12593
12594 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12595 Set tramp-autoload cookie.
12596 (tramp-get-remote-touch): New defun.
12597 (tramp-sh-handle-set-file-times): Use it.
12598 (tramp-sh-handle-directory-files-and-attributes):
12599 Use `tramp-handle-directory-files-and-attributes' if neither stat
12600 nor perl are available on the remote host.
12601
12602 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12603 "/". Write long listing only when "l" belongs to the switches.
12604
12605 * net/trampver.el: Update release number.
12606
12607 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12608
12609 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12610
12611 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12612
12613 * window.el (window-state-put): Allow WINDOW to refer to an
12614 internal window (Bug#16793).
12615
12616 2014-02-19 Glenn Morris <rgm@gnu.org>
12617
12618 * textmodes/remember.el: Move provide statement to end.
12619 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12620 (remember-notes): Doc fixes.
12621
12622 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12623
12624 * delsel.el (delete-char): Restore incorrectly erased property
12625 (bug#16795).
12626
12627 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12628
12629 * frameset.el (frameset--restore-frame): When a frame is being reused
12630 and its root window is not alive, delete all the frame's windows before
12631 restoring the window state. This works around the issue in bug#16793.
12632
12633 2014-02-18 Glenn Morris <rgm@gnu.org>
12634
12635 * textmodes/remember.el (remember-data-directory)
12636 (remember-directory-file-name-format, remember-store-in-files)
12637 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12638 (remember-notes-save-and-bury-buffer)
12639 (remember-notes--kill-buffer-query): Doc fixes.
12640
12641 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12642
12643 2014-02-17 Alan Mackenzie <acm@muc.de>
12644
12645 Connect electric-indent-mode up with CC Mode. Bug #15478.
12646 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12647 to electric-indent-{,local-}-mode.
12648 (c-basic-common-init): Set electric-indent-inhibit.
12649 Initialize c-electric-flag from electric-indent-mode.
12650 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12651 New hook functions which propagate electric-indent-mode to CC mode.
12652
12653 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12654 hit, toggle electric-indent-local-mode.
12655
12656 * electric.el (electric-indent-mode-has-been-called):
12657 New variable.
12658
12659 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12660
12661 * frameset.el (frameset-cfg-id): New function.
12662 (frameset--reuse-frame, frameset-restore): Use it.
12663 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12664
12665 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12666
12667 * ido.el (ido-file-internal): Remove unused var `d'.
12668 Use \` for to match BoS. Fit within 80n columns.
12669
12670 2014-02-17 Daniel Colascione <dancol@dancol.org>
12671
12672 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12673 dbus-call-method check for completion using a busy-wait loop with
12674 gradual backoff.
12675
12676 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12677
12678 Sync with Tramp 2.2.9.
12679
12680 * net/trampver.el: Update release number.
12681
12682 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12683
12684 * ido.el (ido-file-internal): Don't add the name of an existing
12685 directory twice. (Bug#16747)
12686
12687 2014-02-16 Glenn Morris <rgm@gnu.org>
12688
12689 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12690 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12691
12692 2014-02-15 Michael R. Mauger <michael@mauger.com>
12693
12694 * progmodes/sql.el: Version 3.4
12695 (sql-oracle-options): New default value ("-L").
12696 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12697 (sql-placeholders-filter): Correct placeholder pattern.
12698 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12699 (sql-login-delay): New variable.
12700 (sql-product-interactive): Use it.
12701
12702 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12703
12704 * frameset.el (frameset--jump-to-register): Check that buffer is live
12705 (bug#16749).
12706
12707 2014-02-15 Glenn Morris <rgm@gnu.org>
12708
12709 * info.el (info-initialize): Revert 2014-01-10 change.
12710
12711 2014-02-14 Glenn Morris <rgm@gnu.org>
12712
12713 * replace.el (map-query-replace-regexp)
12714 (read-regexp-defaults-function, read-regexp): Doc fixes.
12715
12716 * dired.el (dired-read-regexp):
12717 * faces.el (list-faces-display):
12718 * misearch.el (multi-isearch-read-matching-buffers)
12719 (multi-isearch-read-matching-files):
12720 * play/cookie1.el (cookie-apropos):
12721 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12722
12723 * textmodes/remember.el (remember): Use frameset-to-register
12724 rather than frame-configuration-to-register.
12725
12726 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12727
12728 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12729 incorrect keybinding.
12730
12731 2014-02-13 Daniel Colascione <dancol@dancol.org>
12732
12733 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12734 when adding overlays so that line numbers from compiler match line
12735 numbers we use.
12736
12737 2014-02-13 Glenn Morris <rgm@gnu.org>
12738
12739 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12740
12741 * jit-lock.el (jit-lock-mode): Doc fix.
12742
12743 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12744
12745 * apropos.el (apropos-read-pattern): When the user passes an empty
12746 string, give a more helpful error message than "Wrong type
12747 argument: stringp, nil".
12748
12749 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12750
12751 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12752
12753 2014-02-13 Glenn Morris <rgm@gnu.org>
12754
12755 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12756
12757 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12758
12759 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12760 shift-select commands.
12761
12762 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12763
12764 * progmodes/js.el (js-indent-line): Don't widen.
12765 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12766
12767 2014-02-12 Glenn Morris <rgm@gnu.org>
12768
12769 * icomplete.el (icomplete): Add info-link to defgroup.
12770 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12771 (icomplete-minibuffer-map, icomplete-mode)
12772 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12773
12774 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12775 (package-menu-filter): Rename from package-menu-filter-interactive.
12776 Doc fix.
12777
12778 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12779
12780 * frameset.el (frameset--jump-to-register): Select the required
12781 window and buffer before restoring position (bug#16696).
12782
12783 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12784
12785 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12786
12787 2014-02-10 Glenn Morris <rgm@gnu.org>
12788
12789 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12790
12791 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12792
12793 * w32-common-fns.el (x-get-selection): Doc fix.
12794 * select.el (x-get-selection): Doc fix. (Bug#15109)
12795
12796 * face-remap.el (face-remap-add-relative)
12797 (face-remap-remove-relative, face-remap-reset-base)
12798 (face-remap-set-base): Call force-mode-line-update to redisplay
12799 the current buffer due to potential change in faces. (Bug#16709)
12800
12801 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12802
12803 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12804 script more robustly.
12805
12806 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12807
12808 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12809
12810 * simple.el (choose-completion): Doc fix (bug#14160).
12811
12812 * subr.el (event-start): Say what a nil EVENT value means.
12813
12814 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12815 (bug#14197).
12816
12817 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12818
12819 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12820
12821 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12822
12823 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12824 predicate function (bug#15455).
12825
12826 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12827
12828 * ielm.el (inferior-emacs-lisp-mode): Instead of
12829 `comment-use-global-state', set `comment-use-syntax'.
12830
12831 2014-02-10 Glenn Morris <rgm@gnu.org>
12832
12833 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12834
12835 2014-02-09 Alan Mackenzie <acm@muc.de>
12836
12837 Fix c-invalidate-state-cache on narrowed buffers.
12838 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12839 Widen when setting and clearing the CPP delimiter properties.
12840
12841 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12842
12843 * help.el (describe-bindings): Doc fix (bug#9888).
12844
12845 * files.el (save-buffer): Use ARG as the parameter name for
12846 consistency (bug#10346).
12847 (save-buffer): Clarify the 0 argument (bug#10346).
12848
12849 * cus-edit.el (customize-apropos): Fix error string.
12850 (custom-buffer-create): Doc fix (bug#11122).
12851 (custom-sort-items): Doc fix (bug#11121).
12852
12853 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12854
12855 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12856 (icomplete-simple-completing-p): Mention the previous variable.
12857
12858 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12859 meaning of the parameter (bug#12282).
12860
12861 * files.el (find-file-noselect): Clarify prompt when changing
12862 readedness (bug#13261).
12863 (locate-file): Suffixes aren't returned, so don't say that they
12864 are (bug#12674).
12865 (backup-inhibited): Doc clarification (bug#12525).
12866
12867 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12868 before we actually start to delete things (bug#16331).
12869
12870 * subr.el (event-start): Doc fix (bug#14228).
12871 (event-end): Ditto.
12872
12873 2014-02-09 Glenn Morris <rgm@gnu.org>
12874
12875 * emacs-lisp/warnings.el (lwarn):
12876 Empower help-enable-auto-load. (Bug#15940)
12877
12878 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12879
12880 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12881 (Bug#16690)
12882
12883 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12884
12885 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12886 Insert output at end of buffer. (Bug#16120)
12887
12888 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12889
12890 * simple.el (choose-completion-string-functions): Document new
12891 calling convention (bug#14153).
12892 (execute-extended-command): Clarify doc string (bug#13373).
12893
12894 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12895
12896 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12897 (find-grep-dired): Doc fix (bug#14288).
12898
12899 2014-02-08 Juri Linkov <juri@jurta.org>
12900
12901 * isearch.el (isearch-quote-char): Check character validity
12902 like in `quoted-insert' (bug#16677).
12903
12904 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12905
12906 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12907
12908 * isearch.el (isearch-hide-immediately): Doc clarification
12909 (bug#14723).
12910
12911 * simple.el (line-move): Document utility function used many
12912 places in the Emacs sources (bug#14843).
12913
12914 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12915 (dired-prev-marked-file): Doc fix (bug#14855).
12916 (dired-up-directory): Doc fix (bug#14848).
12917
12918 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12919
12920 * files.el (file-relative-name): Doc fix (bug#15159).
12921
12922 * fringe.el (fringe-styles): Doc fix (bug#15239).
12923
12924 * isearch.el (isearch-filter-predicate): Documentation typo fix
12925 (bug#15474).
12926
12927 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12928
12929 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12930
12931 * replace.el (replace-match-maybe-edit): Doc clarification
12932 (bug#15632).
12933
12934 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12935
12936 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12937
12938 2014-02-08 Glenn Morris <rgm@gnu.org>
12939
12940 * help-fns.el (describe-variable):
12941 Check {file,dir}-local-variables-alist, and buffer-file-name,
12942 in the correct buffer.
12943
12944 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12945
12946 * help-fns.el (describe-variable): Fix the case where
12947 a value is directory-local with no dir-locals file. (Bug#16635)
12948
12949 2014-02-08 Glenn Morris <rgm@gnu.org>
12950
12951 * abbrev.el (edit-abbrevs-mode):
12952 Derive from fundamental-mode. (Bug#16682)
12953
12954 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12955
12956 * simple.el (quoted-insert): Check character validity (bug#16677).
12957
12958 2014-02-07 Juri Linkov <juri@jurta.org>
12959
12960 * desktop.el (desktop-read): Claim the lock when the owner is not
12961 the current process. (Bug#16157)
12962
12963 2014-02-07 Juri Linkov <juri@jurta.org>
12964
12965 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12966 to "\\` ". (Bug#16651)
12967
12968 2014-02-07 Juri Linkov <juri@jurta.org>
12969
12970 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12971 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12972 (desktop-auto-save-cancel-timer): New function with some code from
12973 `desktop-auto-save-set-timer'.
12974 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12975 Instead of setting `desktop-save-mode' to nil, call
12976 `desktop-save-mode' with arg 0. (Bug#16630)
12977
12978 2014-02-07 Glenn Morris <rgm@gnu.org>
12979
12980 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12981 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12982 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12983
12984 * obsolete/iswitchb.el: Move to obsolete/.
12985 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12986 since obsolete/ is not scanned for autoloads.
12987 * emacs-lisp/authors.el (authors-valid-file-names):
12988 Add iswitchb.el.
12989
12990 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12991 Disable now non-functional find-file-hook.
12992
12993 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12994
12995 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12996 instead of ";" in order to avoid additional prompts. Let heredoc
12997 scripts read from tty. (Bug#16582)
12998 (tramp-send-command): No special handling of heredocs, it isn't
12999 necessary anymore.
13000
13001 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
13004 with a space (bug#16664). Limit the symbols considered to the ones
13005 that are bound or fbound (bug#16646).
13006
13007 2014-02-06 Glenn Morris <rgm@gnu.org>
13008
13009 * epa.el (epa-mail-aliases): Doc fix.
13010
13011 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
13012
13013 * emacs-lisp/lisp.el (lisp-completion-at-point):
13014 Use `completion-table-merge' instead of `completion-table-in-turn'
13015 (bug#16604).
13016
13017 * minibuffer.el (completion-table-merge): New function.
13018
13019 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
13020
13021 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13022 (tramp-sh-handle-set-file-acl)
13023 (tramp-sh-handle-start-file-process)
13024 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13025 (tramp-find-executable, tramp-send-command): Use it.
13026
13027 2014-02-05 Glenn Morris <rgm@gnu.org>
13028
13029 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13030
13031 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13032
13033 * progmodes/python.el (python-shell-send-string)
13034 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13035
13036 2014-02-04 Anders Lindgren <andlind@gmail.com>
13037
13038 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13039 the names (bug#16620).
13040
13041 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13042
13043 * faces.el (window-divider): New default value. Rewrite doc-string.
13044 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13045
13046 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13047
13048 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13049 `protected' and `public' can also be called without arguments.
13050
13051 2014-02-03 Glenn Morris <rgm@gnu.org>
13052
13053 * register.el (window-configuration-to-register)
13054 (frame-configuration-to-register): Unadvertise unused argument.
13055 * frameset.el (frameset-to-register): Remove unused argument.
13056
13057 * frameset.el (frameset-to-register):
13058 * kmacro.el (kmacro-to-register):
13059 * register.el (increment-register):
13060 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13061 (calc-append-to-register, calc-prepend-to-register):
13062 * play/gametree.el (gametree-layout-to-register)
13063 (gametree-apply-register-layout):
13064 * textmodes/picture.el (picture-clear-rectangle-to-register)
13065 (picture-yank-rectangle-from-register):
13066 * vc/emerge.el (emerge-combine-versions-register):
13067 Use register-read-with-preview to read registers.
13068
13069 2014-02-03 João Távora <joaotavora@gmail.com>
13070
13071 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13072 when at beginning of (possibly narrowed) buffer.
13073
13074 2014-02-02 Daniel Colascione <dancol@dancol.org>
13075
13076 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13077 Also try to display local help from just before point.
13078
13079 2014-02-02 Alan Mackenzie <acm@muc.de>
13080
13081 c-parse-state. Don't "append-lower-brace-pair" in certain
13082 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13083 recognised as a comment.
13084
13085 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13086 as well as normal comment starter.
13087 (c-parse-state-get-strategy): Extra return possibility
13088 'back-and-forward.
13089 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13090 return value list to indicate replacement of a brace-pair cons
13091 with its car.
13092 (c-parse-state-1): With 'back-and-forward, only call
13093 c-append-lower-brace-pair-to state-cache when cons-separated.
13094
13095 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13096
13097 * term/ns-win.el (ns-suspend-error): New function.
13098 (ns-initialize-window-system): Add ns-suspend-error to
13099 suspend-hook (Bug#16612).
13100
13101 2014-02-02 Daniel Colascione <dancol@dancol.org>
13102
13103 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13104 Make loading cc-mode silent.
13105
13106 2014-02-02 Daniel Colascione <dancol@dancol.org>
13107
13108 * comint.el (comint-prompt-read-only): Change doc to suggest
13109 remap keybinding.
13110
13111 2014-02-02 Glenn Morris <rgm@gnu.org>
13112
13113 * register.el (register-read-with-preview, point-to-register)
13114 (window-configuration-to-register, frame-configuration-to-register)
13115 (jump-to-register, number-to-register, view-register, insert-register)
13116 (copy-to-register, append-to-register, prepend-to-register)
13117 (copy-rectangle-to-register): Doc fixes.
13118
13119 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13122 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13123 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13124 * help-fns.el (describe-function-1): Use it.
13125
13126 2014-02-02 Glenn Morris <rgm@gnu.org>
13127
13128 * register.el (register-preview-default): New function,
13129 split from register-preview.
13130 (register-preview-function): Rename from register-preview-functions,
13131 make it not a hook.
13132 (register-preview): Use register-preview-function.
13133 (register-read-with-preview): Error on non-character event. (Bug#16595)
13134
13135 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13136
13137 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13138 `:' before binary operators (bug#16609). Don't check for `:'
13139 before `[' and `(', or their syntax status. A percent literal
13140 can't end with either.
13141 (ruby-font-lock-keywords): For built-ins that require arguments,
13142 check that they're followed by something that looks like argument
13143 (bug#16610).
13144
13145 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13146
13147 * subr.el (butlast): Document what an omitted N means (bug#13437).
13148 (nbutlast): Ditto.
13149
13150 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13151
13152 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13153 depth shallower (bug#16587).
13154 (shr-tag-svg): Respect `shr-inhibit-images'.
13155 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13156
13157 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13158
13159 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13160 (ruby-smie-grammar): Make "." right-associative. Make its priority
13161 lower than the ternary and all binary operators.
13162 (ruby-smie-rules): Indent "(" relative to the first non-"."
13163 parent, or the first "." parent at indentation.
13164 Use `ruby-align-chained-calls' for indentation of "." tokens.
13165 (Bug#16593)
13166
13167 2014-01-31 Juri Linkov <juri@jurta.org>
13168
13169 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13170 from `make-hash-table'.
13171
13172 * textmodes/ispell.el (ispell-init-process): Change message format
13173 to be consistent with other messages.
13174
13175 2014-01-31 Glenn Morris <rgm@gnu.org>
13176
13177 * delsel.el (delete-selection-mode): Doc fix.
13178
13179 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13180 (trace-function-background): Doc fixes.
13181
13182 * ido.el (ido-use-virtual-buffers): Doc fix.
13183 Reset :version, since the default value has not changed.
13184
13185 * register.el (register-preview-delay, register-read-with-preview):
13186 Doc fixes.
13187
13188 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13189 do not mess with mail-buffer position (fixes 2009-11-03 change).
13190 * progmodes/cc-mode.el (c-submit-bug-report):
13191 Check auto-fill-mode is bound. (Bug#16592)
13192
13193 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13194
13195 * startup.el (fancy-splash-image-file): New function,
13196 split from fancy-splash-head.
13197 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13198 so that we are both using the same image. (Bug#16574)
13199
13200 2014-01-30 Glenn Morris <rgm@gnu.org>
13201
13202 * simple.el (eval-expression): Doc fix.
13203
13204 * hexl.el (hexl-mode-hook):
13205 * ielm.el (ielm-mode-hook):
13206 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13207 (lisp-interaction-mode-hook):
13208 * progmodes/cfengine.el (cfengine3-documentation-function):
13209 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13210
13211 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13212
13213 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13214 is a symbol (bug#16584).
13215
13216 2014-01-30 Glenn Morris <rgm@gnu.org>
13217
13218 * help.el (help-for-help-internal): Add "P" to text.
13219
13220 2014-01-29 Glenn Morris <rgm@gnu.org>
13221
13222 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13223
13224 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13225
13226 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13227 height constraints.
13228
13229 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13230
13231 * progmodes/hideif.el: Extend to full CPP expression syntax.
13232 (hif-token-alist): Add missing tokens.
13233 (hif-token-regexp): Add support for float/octal/hex immediates.
13234 (hif-string-literal-regexp): New const.
13235 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13236 (hif-exprlist): New function.
13237 (hif-parse-if-exp): Use it.
13238 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13239 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13240 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13241 (hif-logxor, hif-comma): New functions.
13242
13243 2014-01-28 Glenn Morris <rgm@gnu.org>
13244
13245 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13246
13247 * indent.el (tab-stop-list): Doc fix. Add :version.
13248
13249 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13250 (cvs-append-to-ignore): Add compatibility alias.
13251
13252 2014-01-27 Glenn Morris <rgm@gnu.org>
13253
13254 * dired.el (dired-hide-details-mode): Don't autoload it,
13255 since it cannot be used outside Dired buffers anyway.
13256
13257 * emulation/cua-base.el (cua-mode): Doc fix.
13258
13259 * dired.el (dired-hide-details-hide-symlink-targets)
13260 (dired-hide-details-hide-information-lines)
13261 (dired-hide-details-mode): Doc fixes.
13262
13263 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13264 * strokes.el (strokes-file): Doc fix. Bump :version.
13265 (strokes-help): Doc fix.
13266 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13267 * emulation/viper.el (viper): Doc fix for custom group.
13268 (top-level): Remove oh-so-no-longer-relevant text about vip.
13269 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13270
13271 * ido.el (ido-save-directory-list-file):
13272 * saveplace.el (save-place-file):
13273 * calendar/timeclock.el (timeclock-file):
13274 * net/quickurl.el (quickurl-url-file):
13275 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13276 * progmodes/idlwave.el (idlwave-config-directory):
13277 * textmodes/remember.el (remember-data-file):
13278 Bump :version.
13279
13280 2014-01-26 Glenn Morris <rgm@gnu.org>
13281
13282 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13283 Doc fix. Make obsolete.
13284 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13285
13286 * sort.el (delete-duplicate-lines): Doc fix.
13287
13288 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13289
13290 * progmodes/ada-mode.el (ada):
13291 * woman.el (woman): Link to info manual and Commentary section.
13292
13293 * progmodes/flymake.el (flymake):
13294 * nxml/nxml-mode.el (nxml):
13295 * net/eww.el (eww):
13296 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13297 * htmlfontify.el (htmlfontify):
13298 * ses.el (ses):
13299 * epa.el (epa):
13300 * ido.el (ido): Link to info manual.
13301
13302 2014-01-25 Leo Liu <sdl.web@gmail.com>
13303
13304 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13305
13306 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13307
13308 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13309 (bug#16537).
13310
13311 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13312
13313 * net/eww.el (eww-download-callback):
13314 Fix reference to eww-download-directory.
13315
13316 * emacs-lisp/bytecomp.el (byte-compile-file):
13317 Remove unused local variable `file-name'.
13318
13319 2014-01-24 Glenn Morris <rgm@gnu.org>
13320
13321 * woman.el (woman-default-faces, woman-monochrome-faces):
13322 Fix obsolescence specification.
13323
13324 * subr.el (with-demoted-errors): Doc fix.
13325
13326 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13327
13328 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13329 (cl--macroexp-fboundp): New function.
13330 (cl--make-type-test): Use it.
13331
13332 2014-01-23 Glenn Morris <rgm@gnu.org>
13333
13334 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13335 * simple.el (eval-expression): Doc fixes.
13336
13337 2014-01-22 Glenn Morris <rgm@gnu.org>
13338
13339 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13340
13341 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * emacs-lisp/package.el: Write files silently.
13344 (package-autoload-ensure-default-file, package--write-file-no-coding)
13345 (package-generate-description-file, package--download-one-archive)
13346 (package-install-from-archive): Tell `write-region' to stay quiet.
13347 (package-menu-mode, package-menu--print-info): Omit the Archive column
13348 if there's only one archive.
13349 (package-all-keywords, package--has-keyword-p): Remove dead code.
13350
13351 2014-01-22 Glenn Morris <rgm@gnu.org>
13352
13353 * version.el (emacs-bzr-version-bzr): Fix typo.
13354
13355 * version.el (emacs-repository-get-version):
13356 Check either .bzr or .git, but not both.
13357 Make the git case actually use the DIR argument, and return nil
13358 rather than the empty string.
13359 Avoid error if .git exists but the git executable is not found.
13360
13361 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13362
13363 Fixes in window size functions around Bug#16430 and Bug#16470.
13364 * window.el (window-total-size, window-size): New argument ROUND.
13365 (window--min-delta-1, window-min-delta, window--max-delta-1):
13366 Be more conservative when calculating the numbers of lines or
13367 columns a window can shrink (Bug#16430).
13368 (fit-window-to-buffer): Simplify code.
13369 * term.el (term-window-width): Call window-body-width again.
13370
13371 2014-01-22 Glenn Morris <rgm@gnu.org>
13372
13373 * image.el (image-format-suffixes): Doc fix.
13374
13375 * international/quail.el (quail-define-package): Doc fix.
13376
13377 * emacs-lisp/authors.el (authors-valid-file-names)
13378 (authors-renamed-files-alist): Additions.
13379
13380 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13381 reverts 2014-01-09 change. (Bug#16422)
13382
13383 * calc/calc-embed.el (thing-at-point-looking-at):
13384 * emacs-lisp/map-ynp.el (x-popup-dialog):
13385 * obsolete/lmenu.el (x-popup-dialog):
13386 * emacs-lisp/package.el (url-recreate-url):
13387 * mail/mailclient.el (clipboard-kill-ring-save):
13388 * subr.el (x-popup-dialog): Update declaration.
13389 * mail/rmail.el (rmail-mime-message-p):
13390 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13391
13392 2014-01-21 Daniel Colascione <dancol@dancol.org>
13393
13394 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13395 Correctly detect when we're inside an arithmetic expansion form
13396 containing nested parenthesis.
13397 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13398 to detect cases where we shouldn't expand "<<" to a heredoc
13399 skeleton.
13400
13401 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13402
13403 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13404 (eldoc--message-command-p): New function.
13405 (eldoc-display-message-p): Use it.
13406 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13407 message is not automatically erased for us.
13408 (eldoc-print-current-symbol-info): Erase previous message, if any.
13409
13410 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13411
13412 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13413 specify it's an interactive function.
13414
13415 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13416 Fix regex used for scanning for citation keys which failed for
13417 citations with optional arguments.
13418
13419 2014-01-21 Leo Liu <sdl.web@gmail.com>
13420
13421 * simple.el (read--expression): Don't enable eldoc-mode.
13422
13423 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13424
13425 * simple.el (move-beginning-of-line): Make sure we don't move forward
13426 (bug#16497).
13427
13428 2014-01-20 Juri Linkov <juri@jurta.org>
13429
13430 * saveplace.el (toggle-save-place, save-place-to-alist)
13431 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13432 'dired-mode) before checking for dired-directory. (Bug#16477)
13433
13434 2014-01-20 Juri Linkov <juri@jurta.org>
13435
13436 * indent.el (indent-line-to): Use backward-to-indentation
13437 instead of back-to-indentation. (Bug#16461)
13438
13439 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13440
13441 Revert some of the CANNOT_DUMP fix (Bug#16494).
13442 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13443 but fixing this can wait until after the next release.
13444 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13445
13446 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13447
13448 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13449 Use `password-word-equivalents'.
13450 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13451 to t. (Bug#5664, Bug#13124)
13452
13453 2014-01-19 Alan Mackenzie <acm@muc.de>
13454
13455 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13456 points.
13457 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13458 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13459 * progmodes/cc-mode.el (c-before-change, c-after-change)
13460 (c-font-lock-fontify-region): Bind it here.
13461
13462 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13463
13464 * term.el (term-window-width): Call window-text-width instead of
13465 window-width (Bug#16470).
13466
13467 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13468
13469 * simple.el (password-word-equivalents): Remove duplicates.
13470 Sort, to make this easier next time.
13471 Downcase. Omit ": " after "jelszó".
13472
13473 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13474
13475 * term/common-win.el (saved-region-selection): Defvar it.
13476 (x-select-text): Set saved-region-selection (Bug#16382).
13477
13478 2014-01-18 Glenn Morris <rgm@gnu.org>
13479
13480 * emacs-lisp/authors.el (authors-aliases)
13481 (authors-renamed-files-alist): Add some entries.
13482
13483 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13484
13485 * net/tramp.el (tramp-password-prompt-regexp):
13486 Use `password-word-equivalents' if available.
13487 (tramp-action-password, tramp-process-one-action)
13488 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13489
13490 2014-01-17 Chong Yidong <cyd@gnu.org>
13491
13492 * simple.el (password-word-equivalents): New defcustom.
13493 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13494 to 24.4.
13495 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13496 to t. (Bug#13124)
13497
13498 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13499
13500 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13501 (ruby-align-to-stmt-keywords): Change the default value.
13502 Use `ruby-alignable-keywords' to generate the possible customization
13503 choices.
13504 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13505 keywords, check against the value of `ruby-alignable-keywords'
13506 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13507
13508 2014-01-17 Glenn Morris <rgm@gnu.org>
13509
13510 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13511
13512 Make M-x authors return zero *Authors Errors* from current logs.
13513 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13514 (authors-ignored-files): Add some entries, remove others.
13515 (authors-ambiguous-files, authors-valid-file-names):
13516 Add some entries.
13517 (authors-renamed-files-alist): Add, remove, and adjust entries.
13518 (authors-renamed-files-regexps): Add some entries.
13519 Remove some very broad ones. Make some entries `lax'.
13520 (authors-lax-changelogs): New constant.
13521 (authors-disambiguate-file-name): Treat top-level specially.
13522 (authors-lax-changelog-p): New function.
13523 (authors-canonical-file-name): Check file as written against
13524 authors-valid-file-names. Do not special-case etc/.
13525 Handle `lax' logs and authors-renamed-files-regexps elements.
13526
13527 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13528
13529 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13530 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13531 callers.
13532
13533 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13534
13535 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13536 Assume we're already in the proper buffer.
13537 Inspired by Anders Lindgren <andlind@gmail.com>.
13538 (follow-post-command-hook): Call it from the right buffer.
13539 (follow-comint-scroll-to-bottom): Adjust call.
13540 (follow-all-followers): Use get-buffer-window-list.
13541
13542 2014-01-15 Daniel Colascione <dancol@dancol.org>
13543
13544 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13545 `buffer-file-name' in interactive-form so that we don't leave
13546 pathless file names in `file-name-history'.
13547
13548 2014-01-15 Juri Linkov <juri@jurta.org>
13549
13550 * indent.el (indent-rigidly): Set deactivate-mark to nil
13551 in transient indentation mode. (Bug#16438)
13552
13553 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13554
13555 * emacs-lisp/package.el (package-desc-keywords): New function
13556 (Bug#16222).
13557 (describe-package-1, package-all-keywords)
13558 (package--has-keyword-p): Use it.
13559
13560 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13561
13562 * simple.el (define-alternatives): When creating the
13563 COMMAND-alternatives variable, assign COMMAND as its definition
13564 name so that `describe-variable' can relocate it.
13565
13566 2014-01-14 Matthew Leach <matthew@mattleach.net>
13567
13568 * font-lock.el (font-lock-keywords): Fix typo in docstring
13569 (bug#16307).
13570
13571 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13572
13573 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13574 line instead of wrongly reset `add-coment' (bug#13577).
13575
13576 2014-01-14 Daiki Ueno <ueno@gnu.org>
13577
13578 * epa-file.el (epa-file-write-region): Encode the region according
13579 to `buffer-file-format'. Problem reported at:
13580 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13581
13582 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13583
13584 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13585 so it applies in the right buffer (bug#16410).
13586
13587 2014-01-13 Daniel Colascione <dancol@dancol.org>
13588
13589 * textmodes/rst.el (rst-define-key): Provide deprecated
13590 keybindings through named functions instead of anonymous ones so
13591 that "??" doesn't appear in describe-mode output.
13592
13593 2014-01-13 Bastien Guerry <bzg@gnu.org>
13594
13595 * simple.el (define-alternatives): Call the selected command
13596 interactively. When setting `COMMAND--implementation' for the
13597 first time, tell the user how to chose another implementation.
13598 Enhance the docstring.
13599
13600 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13601
13602 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13603 (log-edit--match-first-line): New function.
13604 (log-edit-font-lock-keywords): Use it.
13605 (log-edit-mode): Make jit-lock-defer-multiline work.
13606
13607 2014-01-13 Bastien Guerry <bzg@gnu.org>
13608
13609 * rect.el (rectangle-mark-mode): When the region is not active,
13610 display a message saying that the mark as been set and that
13611 rectangle mode is in use.
13612 (rectangle--highlight-for-redisplay): Only put an overlay with a
13613 visible vertical bar when (display-graphic-p) is non-nil.
13614 This partially fixes Bug#16403.
13615
13616 2014-01-13 Juri Linkov <juri@jurta.org>
13617
13618 * info.el (Info-find-file): Go to DIR before displaying the error
13619 about a nonexistent file if no previous Info file is visited.
13620 Use `user-error' instead of `error' for "Info file %s does not exist".
13621 (Info-find-node-2): In case of a nonexistent node in unwind forms
13622 go to the Top node if there is no previous node to revert to.
13623 (Bug#16405)
13624
13625 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13626
13627 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13628 * window.el (fit-frame-to-buffer): Fix doc-string.
13629 Respect window-min-height/-width. Fit pixelwise when
13630 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13631 when avoiding that frame goes partially off-screen.
13632 (fit-window-to-buffer): Respect window-min-height/-width
13633 (Bug#14096).
13634
13635 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13638 after an empty line.
13639
13640 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13641
13642 * net/shr.el (shr-render-region): Autoload.
13643
13644 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13645
13646 * net/eww.el (eww-download-directory): Rename from
13647 `eww-download-path' (Bug#16419).
13648
13649 2014-01-12 Leo Liu <sdl.web@gmail.com>
13650
13651 * dired-x.el (dired-mode-map): Fix last change.
13652
13653 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13654
13655 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13656
13657 Spelling fixes.
13658 * emacs-lisp/generic.el (generic--normalize-comments):
13659 Rename from generic--normalise-comments. All uses changed.
13660 * play/bubbles.el (bubbles--neighborhood-score)
13661 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13662 (bubbles--neighborhood-available)
13663 (bubbles--update-neighborhood-score):
13664 Rename from names with 'neighbourhood'. All uses changed.
13665
13666 2014-01-12 Leo Liu <sdl.web@gmail.com>
13667
13668 Re-implement the feature of showing eldoc info after editing.
13669 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13670 (eldoc-edit-message-commands): New function.
13671 (eldoc-print-after-edit): New variable.
13672 (eldoc-pre-command-refresh-echo-area): Emit message only by
13673 eldoc-message-commands.
13674 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13675 if eldoc-print-after-edit is set. (Bug#16346)
13676 * simple.el (read--expression): Enable eldoc-mode.
13677 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13678
13679 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13680 Eric S. Raymond <esr@thyrsus.com>
13681
13682 * version.el (emacs-repository-get-version): Enhance so the
13683 function works correctly in either a Bazaar or Git repo.
13684
13685 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13686
13687 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13688 Goes with removal of the joke manpages from /etc.
13689
13690 2014-01-10 Kenichi Handa <handa@gnu.org>
13691
13692 * mail/rmail.el (rmail-get-coding-system):
13693 Check rmail-get-coding-function before "funcall"ing it.
13694
13695 2014-01-10 Glenn Morris <rgm@gnu.org>
13696
13697 * emacs-lisp/authors.el (authors-fixed-entries):
13698 Update for files that no longer exist.
13699
13700 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13701
13702 * version.el (emacs-bzr-get-version): Restore compatibilty with
13703 24.3 (Tested).
13704
13705 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13706
13707 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13708 and Podfile.
13709
13710 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13711
13712 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13713
13714 2014-01-10 Chong Yidong <cyd@gnu.org>
13715
13716 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13717
13718 2014-01-10 Anders Lindgren <andlind@gmail.com>
13719
13720 * follow.el (follow-cache-command-list): Include right-char and
13721 left-char.
13722
13723 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13724
13725 Spelling fixes.
13726 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13727 * woman.el (woman-mark-horizontal-position):
13728 Rename from woman-mark-horizonal-position. Use changed.
13729
13730 2014-01-10 Glenn Morris <rgm@gnu.org>
13731
13732 * info.el (info-initialize): If running uninstalled, ensure our
13733 own info files are always found first, even if INFOPATH is set.
13734
13735 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13736
13737 2014-01-09 David Engster <deng@randomsample.de>
13738
13739 * emacs-lisp/eieio-custom.el:
13740 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13741 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13742 * emacs-lisp/eieio.el: Regenerate autoloads.
13743
13744 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13745
13746 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13747 following renames. (Bug#8756)
13748
13749 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13752 (bug#16382).
13753 (activate-mark): Add `no-tmm' argument.
13754 (set-mark, push-mark-command): Use it instead of running
13755 activate-mark-hook by hand.
13756
13757 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13758
13759 In preparation for the move to git, sanitize out some
13760 Bazaar-specific names.
13761
13762 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13763
13764 * version.el (emacs-bzr-version): Name changed to
13765 emacs-repository-version. Obsolete-variable alias made.
13766 * loadup.el: Follow through on this name change.
13767 * mail/emacsbug.el (report-emacs-bug): Factor out any
13768 assumption about the version control system in use.
13769
13770 2014-01-08 David Engster <deng@randomsample.de>
13771
13772 * help-fns.el (help-fns-describe-function-functions):
13773 New variable to call functions for augmenting help buffers.
13774 (describe-function-1): Remove explicit calls to
13775 `help-fns--compiler-macro', `help-fns--parent-mode' and
13776 `help-fns--obsolete'. Put them in above new variable instead, and
13777 call them through `run-hook-with-args'.
13778 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13779 `eieio-describe-class'. Not meant for interactive use anymore,
13780 but to augment existing help buffers. Remove optional second
13781 argument. Create proper button for file location.
13782 Rewrite function to use `insert' instead of `princ' and `prin1' where
13783 possible.
13784 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13785 (eieio-method-def, eieio-class-def): Move further up.
13786 (describe-method, describe-generic, eieio-describe-method):
13787 Remove aliases.
13788 (eieio-help-constructor, eieio-help-generic): Rename from
13789 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13790 Rewrite to use `insert' in the current buffer and use proper help
13791 buttons.
13792 (eieio-help-find-method-definition)
13793 (eieio-help-find-class-definition): Also accept symbols as
13794 arguments.
13795 (eieio-help-mode-augmentation-maybee): Remove.
13796 (eieio-describe-class-sb): Use `describe-function'.
13797 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13798 Add `eieio-help-generic' and `eieio-help-constructor'.
13799
13800 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13801
13802 Spelling fixes.
13803 * language/china-util.el (hz-ascii-designation):
13804 Rename from hz-ascii-designnation.
13805 (hz-ascii-designation): Rename from hz-ascii-designnation.
13806 All uses changed.
13807
13808 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13809
13810 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13811 package-alist.
13812
13813 2014-01-08 Bastien Guerry <bzg@gnu.org>
13814
13815 * emacs-lisp/package.el (package-delete):
13816 Correctly delete the package from package-alist.
13817
13818 2014-01-08 Daiki Ueno <ueno@gnu.org>
13819
13820 * emacs-lisp/package.el (url-recreate-url): Declare.
13821 (url-http-target-url): Declare.
13822 (package-handle-response): Include requested URL in the error message.
13823 (package--check-signature): Don't re-signal errors from
13824 package--with-work-buffer. Suggested by Stefan Monnier.
13825
13826 2014-01-07 Bastien Guerry <bzg@gnu.org>
13827
13828 * minibuffer.el (completion--try-word-completion): When both a
13829 hyphen and a space are possible candidates for the character
13830 following a word, display both candidates. (Bug#15980)
13831
13832 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13833
13834 * window.el (balance-windows-2): While rounding don't give a
13835 window more than the remainder. Bug#16351, bug#16383.
13836
13837 2014-01-07 Glenn Morris <rgm@gnu.org>
13838
13839 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13840 (menu-bar-help-menu): Use view-external-packages instead.
13841
13842 2014-01-07 Bastien Guerry <bzg@gnu.org>
13843
13844 * emacs-lisp/package.el (package-delete): Also delete the package
13845 name from `package-alist', not its description only.
13846
13847 2014-01-07 Glenn Morris <rgm@gnu.org>
13848
13849 * help.el (view-external-packages):
13850 * menu-bar.el (menu-bar-help-extra-packages):
13851 Visit efaq.info rather than etc/MORE.STUFF.
13852
13853 2014-01-07 Juri Linkov <juri@jurta.org>
13854
13855 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13856 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13857
13858 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13859 that shadows RET. (Bug#16342)
13860
13861 2014-01-07 Chong Yidong <cyd@gnu.org>
13862
13863 * isearch.el (isearch-yank-char, isearch-yank-word)
13864 (isearch-yank-line): Doc fix.
13865
13866 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13869 * emacs-lisp/elint.el (elint-find-builtins):
13870 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13871 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13872 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13873 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13874 * apropos.el (apropos-safe-documentation):
13875 * subr.el (symbol-file): Remove redundant fboundp.
13876 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13877
13878 2014-01-06 Bastien Guerry <bzg@gnu.org>
13879
13880 * hl-line.el (global-hl-line-overlay): Make a local variable.
13881 (global-hl-line-overlays): New variable to store all overlays.
13882 (global-hl-line-mode): Don't delete overlays from the current
13883 buffer when `global-hl-line-sticky-flag' is non-nil.
13884 (global-hl-line-highlight): Add new overlays to
13885 `global-hl-line-overlays'.
13886 (global-hl-line-unhighlight-all): New function to delete all
13887 overlays when turning off `global-hl-line-mode'.
13888 This fixes Bug#16183.
13889
13890 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13891
13892 * subr.el (set-transient-map): Fix nested case and docstring.
13893
13894 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13895
13896 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13897 `Texinfo' entry.
13898
13899 2014-01-06 Daniel Colascione <dancol@dancol.org>
13900
13901 Fix defun navigation in vc log view.
13902
13903 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13904 like `beginning-of-defun'.
13905 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13906 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13907 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13908 (log-view-extract-comment): Call `log-view-current-entry' directly
13909 instead of relying on broken `log-view-beginning-of-defun' behavior.
13910
13911 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13912
13913 Spelling fixes.
13914 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13915 * emacs-lisp/debug.el (cancel-debug-on-entry):
13916 * epg.el (epg-error-to-string):
13917 * files.el (recover-file):
13918 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13919 * mail/emacsbug.el (report-emacs-bug-hook):
13920 * mail/sendmail.el (mail-recover):
13921 * ses.el (ses-yank-resize):
13922 * term/ns-win.el (ns-print-buffer):
13923 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13924 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13925 All uses changed.
13926 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13927
13928 2014-01-06 Leo Liu <sdl.web@gmail.com>
13929
13930 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13931 to avoid shadowing global key. (Bug#16354)
13932
13933 2014-01-06 Daniel Colascione <dancol@dancol.org>
13934
13935 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13936 rst-mode.
13937
13938 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13939
13940 * window.el (balance-windows): Add mising t to fix Bug#16351.
13941
13942 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13943
13944 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13945 (bug#16285).
13946 (shr-insert): If we have a word that's longer than `shr-width',
13947 break after it anyway. Otherwise we'll do no breaking once we get
13948 such a long word.
13949
13950 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13951
13952 * net/eww.el (eww): Support single/double quote for search.
13953 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13954 (eww-history-quit): Delete and use quit-window.
13955 (eww-history-kill): Delete, because it doesn't work well and
13956 not necessary.
13957 (eww-history-mode-map): Delete some keys and add easy-menu.
13958
13959 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13960
13961 Fix misspelling of 'chinese' in rx (Bug#16237).
13962 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13963 chinese-two-byte.
13964
13965 Change subword regexps back to vars (Bug#16296).
13966 * progmodes/subword.el (subword-forward-regexp)
13967 (subword-backward-regexp): Change these back to variables.
13968
13969 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13972 syntax-begin-function (bug#16247).
13973
13974 2014-01-03 Chong Yidong <cyd@gnu.org>
13975
13976 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13977 (advice--docstring): Delete variable.
13978 (advice--make-1): Leave the docstring empty.
13979 (advice-add): Use function-documentation for advised docstring.
13980
13981 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13982 Ignore function-documentation property when getting documentation.
13983 (ad-activate-advised-definition): Use function-documentation
13984 generate the docstring.
13985 (ad-make-advised-definition): Don't call
13986 ad-make-advised-definition-docstring.
13987 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13988 Delete functions.
13989
13990 * progmodes/sql.el (sql-help): Use function-documentation instead
13991 of dynamic-docstring-function property. No need to autoload now.
13992 (sql--help-docstring): New variable.
13993 (sql--make-help-docstring): Use it.
13994
13995 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * ielm.el (ielm-tab): Retarget.
13998 (ielm-map): Use ielm-tab for tab.
13999 (ielm-complete-filename): Use comint-filename-completion.
14000 (ielm-complete-symbol): Remove.
14001 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
14002 remove ielm-tab from completion-at-point-functions (bug#16224).
14003
14004 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
14005 Beware signals raised by predicates (bug#16201).
14006
14007 2014-01-02 Richard Stallman <rms@gnu.org>
14008
14009 * dired-aux.el (dired-do-print): Handle printer-name.
14010
14011 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14012 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14013 (rmail-epa-decrypt): Turn off mime processing.
14014
14015 * mail/rmail.el (rmail-make-in-reply-to-field):
14016 Add parens in message-id.
14017
14018 * mail/rmail.el (rmail-get-coding-function): Variable.
14019 (rmail-get-coding-system): Use it.
14020
14021 2013-12-31 Eli Zaretskii <eliz@gnu.org>
14022
14023 * international/mule-conf.el: Unify the charset indian-is13194.
14024 (indian-is13194): Specify unify-map.
14025
14026 2013-12-31 Leo Liu <sdl.web@gmail.com>
14027
14028 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
14029
14030 2013-12-30 Daniel Colascione <dancol@dancol.org>
14031
14032 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14033 of printing a useless when we resume from sleep.
14034
14035 * progmodes/sh-script.el
14036 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14037 in indentation code. (Bug#16233)
14038
14039 2013-12-28 João Távora <joaotavora@gmail.com>
14040
14041 * elec-pair.el (electric-pair-post-self-insert-function):
14042 Don't open extra newlines at beginning of buffer. (Bug#16272)
14043
14044 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14045
14046 * frame.el (window-system-for-display): Don't allow to create a
14047 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14048
14049 2013-12-28 Glenn Morris <rgm@gnu.org>
14050
14051 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14052 Update callers.
14053
14054 * apropos.el (apropos-match-face):
14055 * calculator.el (calculator-displayer):
14056 * dabbrev.el (dabbrev-search-these-buffers-only):
14057 * face-remap.el (buffer-face-mode-face):
14058 * simple.el (yank-handled-properties):
14059 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14060 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14061 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14062 (hashcash-double-spend-database):
14063 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14064 (ruby-deep-indent-paren-style):
14065 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14066 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14067 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14068 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14069 Specify custom types.
14070
14071 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14072 * bookmark.el (bookmark-bmenu-use-header-line):
14073 * doc-view.el (doc-view-scale-internally):
14074 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14075 * register.el (register-preview-delay):
14076 * net/shr.el (shr-bullet):
14077 * progmodes/cfengine.el (cfengine-cf-promises)
14078 (cfengine-parameters-indent):
14079 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14080 * textmodes/reftex-vars.el (reftex-label-regexps):
14081 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14082
14083 * net/tls.el (tls-certtool-program): Fix default value.
14084
14085 * desktop.el (desktop-restore-in-current-display):
14086 * newcomment.el (comment-empty-lines):
14087 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14088 (idlwave-pad-keyword):
14089 * progmodes/tcl.el (tcl-tab-always-indent):
14090 * textmodes/reftex-vars.el (reftex-index-default-tag):
14091 * elec-pair.el (electric-pair-skip-whitespace):
14092 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14093
14094 * emacs-lisp/authors.el (authors-ignored-files)
14095 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14096
14097 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14098
14099 * shell.el (shell-dynamic-complete-command): Doc fix.
14100 (shell--command-completion-data): Shell completion now matches
14101 executable filenames from the current buffer's directory, on
14102 systems in which this behavior is the default (windows-nt, ms-dos).
14103
14104 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14105
14106 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14107
14108 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14109
14110 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14111 (bug#16251).
14112
14113 * electric.el: Move all electric-pair-* to elec-pair.el.
14114 * elec-pair.el: New file, split from electric.el.
14115
14116 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14117
14118 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14119 indentation level is larger than the width, because that will
14120 infloop.
14121 (shr-insert): Fill repeatedly long texts, so that Japanese is
14122 formatted correctly (bug#16263).
14123 (shr-find-fill-point): Off by one error in comparison with the
14124 indentation.
14125
14126 2013-12-26 João Távora <joaotavora@gmail.com>
14127
14128 * electric.el (electric-pair-mode): More flexible engine for skip-
14129 and inhibit predicates, new options for pairing-related functionality.
14130 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14131 if that keeps or improves their balance in buffers.
14132 (electric-pair-delete-adjacent-pairs): Delete the pair when
14133 backspacing over adjacent matched delimiters.
14134 (electric-pair-open-extra-newline): Open extra newline when
14135 inserting newlines between adjacent matched delimiters.
14136 (electric--sort-post-self-insertion-hook):
14137 Sort post-self-insert-hook according to priority values when
14138 minor-modes are activated.
14139 * simple.el (newline-and-indent): Call newline with interactive
14140 set to t.
14141 (blink-paren-post-self-insert-function): Set priority to 100.
14142 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14143 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14144 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14145 electric-pair-open-newline-between-pairs to nil.
14146
14147 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14148
14149 * progmodes/python.el: Use lexical-binding.
14150 (python-nav-beginning-of-defun): Stop searching ASAP.
14151
14152 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14153
14154 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14155 Fix interactive spec. Doc fix. (Bug#15754)
14156
14157 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14158
14159 * emacs-lisp/byte-run.el (eval-when-compile):
14160 * progmodes/cc-defs.el (cc-eval-when-compile):
14161 Fix edebug spec (bug#16184).
14162
14163 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14164
14165 * net/shr.el (shr-visit-file): Remove debugging function.
14166 (shr-insert): Don't infloop if we can't find a good place to break
14167 the line (bug#16256).
14168
14169 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14170
14171 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14172 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14173 python-nav-lisp-forward-sexp-safe.
14174 (python-nav--forward-sexp): New argument SAFE allows switching
14175 forward sexp movement behavior for parens.
14176 (python-nav-forward-sexp): Throw errors on unterminated parens
14177 (Bug#16191).
14178 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14179 (python-nav-backward-sexp-safe): New functions.
14180 (python-shell-buffer-substring):
14181 Use `python-nav-forward-sexp-safe'.
14182
14183 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14184
14185 * net/shr.el (shr-find-fill-point): Don't break lines before a
14186 quotation mark.
14187 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14188 (shr-find-fill-point): Remove the special checks for the quotation
14189 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14190
14191 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14192
14193 * net/eww.el (eww-form-textarea): Use a different face for
14194 textareas than text input since they have different keymaps
14195 (bug#16142).
14196
14197 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14198
14199 * progmodes/python.el (python-nav-beginning-of-statement):
14200 Speed up (Bug#15295).
14201
14202 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14203
14204 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14205 the window configuration.
14206
14207 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14208
14209 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14210 we run on MS-Windows or MS-DOS.
14211
14212 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14213
14214 * window.el (balance-windows-area): Call window-size instead of
14215 window-height and window-width. Bug#16241.
14216
14217 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14218
14219 * net/eww.el (eww-bookmark-quit): Remove.
14220 (eww-bookmark-browse): Restore the window configuration when you
14221 choose a bookmark (bug#16144).
14222
14223 2013-12-24 Daniel Colascione <dancol@dancol.org>
14224
14225 * icomplete.el: Remove redundant :group arguments to `defcustom'
14226 throughout.
14227 (icomplete-show-matches-on-no-input): New customizable variable.
14228 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14229 we have something to show.
14230 (icomplete-exhibit): Compute completions even if we have no user input.
14231
14232 2013-12-23 Daniel Colascione <dancol@dancol.org>
14233
14234 * icomplete.el: Move `provide' to end of file.
14235
14236 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14237
14238 * net/gnutls.el (gnutls-verify-error): Add version tag.
14239
14240 2013-12-23 Chong Yidong <cyd@gnu.org>
14241
14242 * subr.el (set-transient-map): Rename from
14243 set-temporary-overlay-map. Doc fix.
14244
14245 * face-remap.el (text-scale-adjust):
14246 * indent.el (indent-rigidly):
14247 * kmacro.el (kmacro-call-macro):
14248 * minibuffer.el (minibuffer-force-complete):
14249 * repeat.el (repeat):
14250 * simple.el (universal-argument--mode):
14251 * calendar/todo-mode.el (todo-insert-item--next-param):
14252 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14253
14254 * indent.el (indent-rigidly): Use substitute-command-keys.
14255
14256 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14257
14258 * net/eww.el (eww-tag-select): Add text-property to jump to next
14259 select field.
14260 (eww): Add non-supported ftp error.
14261
14262 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14263
14264 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14265 comments. Handle electric indent after typing `?' and `!'.
14266
14267 2013-12-22 Chong Yidong <cyd@gnu.org>
14268
14269 * faces.el (face-spec-recalc): If the theme specs are not
14270 applicable to a frame, fall back on the defface spec.
14271 This prevents themes from obliterating faces on low-color terminals.
14272
14273 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14274
14275 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14276 after `{'. We need it after block openers, and it doesn't seem
14277 to hurt after hash openers.
14278
14279 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14280
14281 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14282 extracted from `ruby-smie-rules'.
14283 (ruby--electric-indent-chars): New variable.
14284 (ruby--electric-indent-p): New function.
14285 (ruby-mode): Use `electric-indent-functions' instead of
14286 `electric-indent-chars'.
14287
14288 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14289
14290 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14291 docstring.
14292 (ruby-smie-rules): Indent plus one level after `=>'.
14293
14294 2013-12-21 Richard Stallman <rms@gnu.org>
14295
14296 * simple.el (newline): Doc fix.
14297
14298 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14299
14300 * net/eww.el (eww-list-histories, eww-list-histories)
14301 (eww-history-browse, eww-history-quit, eww-history-kill)
14302 (eww-history-mode-map, eww-history-mode): New command and
14303 functions to list browser histories.
14304 (eww-form-text): Support text form with disabled
14305 and readonly attributes.
14306 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14307
14308 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14309
14310 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14311 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14312 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14313 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14314 Use `user-error'.
14315 (eww-bookmark-mode-map): Add menu.
14316 (eww-render, eww-mode): Use `setq-local'.
14317 (eww-tool-bar-map): New variable.
14318 (eww-mode): Set `tool-bar-map'.
14319 (eww-view-source): Check for `html-mode' with `fboundp'.
14320
14321 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14322
14323 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14324 elements with text inside. Also remove debugging.
14325
14326 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14327
14328 * cus-start.el (all): Add ns-use-srgb-colorspace.
14329
14330 2013-12-21 Chong Yidong <cyd@gnu.org>
14331
14332 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14333 undefined. Thus, theme settings for undefined faces do not take
14334 effect until the faces are defined with defface, the same as with
14335 theme variables.
14336
14337 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14338 (face-spec-reset-face): Don't assign extra properties in temacs.
14339 (face-spec-recalc): Apply X resources too.
14340
14341 2013-12-21 Chong Yidong <cyd@gnu.org>
14342
14343 * faces.el (face-spec-set):
14344 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14345 * custom.el (defface): Doc fixes (Bug#16203).
14346
14347 * indent.el (indent-rigidly-map): Add docstring, and move commands
14348 into named functions.
14349 (indent-rigidly-left, indent-rigidly-right)
14350 (indent-rigidly-left-to-tab-stop)
14351 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14352 indentation direction based on bidi direction, and accumulate
14353 sequential commands in a single undo boundary.
14354 (indent-rigidly--pop-undo): New utility function.
14355
14356 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14357
14358 * faces.el (read-face-name): Require crm.el when using crm-separator.
14359
14360 2013-12-20 Daniel Colascione <dancol@dancol.org>
14361
14362 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14363 so that we don't reflow comments into the shebang line.
14364
14365 2013-12-20 Juri Linkov <juri@jurta.org>
14366
14367 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14368 a position when `dired-directory' is non-nil. Check integer
14369 positions with `integerp'.
14370 (toggle-save-place, save-places-to-alist): Add check for
14371 `dired-directory'.
14372 (save-place-find-file-hook): Check integer positions with
14373 `integerp'.
14374 (save-place-dired-hook): Use `dired-goto-file' when
14375 `dired-filename' is found in the assoc list. Check integer
14376 positions with `integerp'.
14377 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14378
14379 * dired.el (dired-initial-position-hook): Rename back from
14380 `dired-initial-point-hook'.
14381 (dired-initial-position): Rename `dired-initial-point-hook' to
14382 `dired-initial-position-hook'.
14383 (dired-file-name-at-point): Doc fix. (Bug#15329)
14384
14385 2013-12-20 Juri Linkov <juri@jurta.org>
14386
14387 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14388 (read-regexp-suggestions): New function.
14389 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14390 Use `read-regexp-suggestions'. Add non-empty default to history
14391 for empty input.
14392 (occur-read-regexp-defaults-function): Remove function.
14393 (occur-read-primary-args): Use `regexp-history-last' instead of
14394 `occur-read-regexp-defaults-function'.
14395
14396 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14397 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14398 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14399 `hi-lock-read-regexp-defaults-function'. Doc fix.
14400 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14401 with `find-tag-default-as-symbol-regexp'. Doc fix.
14402 (hi-lock-read-regexp-defaults): Remove function.
14403 (hi-lock-regexp-okay): Add check for null.
14404
14405 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14406 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14407
14408 * subr.el (find-tag-default-as-symbol-regexp): New function.
14409 (find-tag-default-as-regexp): Move symbol regexp formatting to
14410 `find-tag-default-as-symbol-regexp'.
14411
14412 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14413
14414 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14415 (Bug#14179)
14416
14417 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14418
14419 * calendar/todo-mode.el: New implementation of item insertion
14420 commands and key bindings.
14421 (todo-key-prompt): New face.
14422 (todo-insert-item): New command.
14423 (todo-insert-item--parameters): New defconst, replacing defvar
14424 todo-insertion-commands-args-genlist.
14425 (todo-insert-item--param-key-alist): New defconst, replacing
14426 defvar todo-insertion-commands-arg-key-list.
14427 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14428 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14429 (todo-insert-item--next-param): New functions.
14430 (todo-insert-item--args, todo-insert-item--argleft)
14431 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14432 New variables.
14433 (todo-key-bindings-t): Change binding of "i" from
14434 todo-insertion-map to todo-insert-item.
14435 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14436 (todo-insertion-command-name, todo-insertion-commands-names)
14437 (todo-define-insertion-command, todo-insertion-commands)
14438 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14439
14440 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14441
14442 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14443 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14444 eval-when-compile.
14445 (todo-move-category): Allow choosing a non-existing todo file to
14446 move the category to, and create that file.
14447 (todo-default-priority): New user option.
14448 (todo-set-item-priority): Use it.
14449 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14450 (desktop-restore-file-buffer): Declare.
14451 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14452 (todo-modes-set-2): Locally set desktop-save-buffer to
14453 todo-desktop-save-buffer.
14454 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14455 (auto-mode-alist): Add autoload cookie.
14456
14457 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14458
14459 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14460 helpers.el was a poor choice of name.
14461 (string-remove-prefix): New function.
14462 (string-remove-suffix): New function.
14463
14464 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14465
14466 Fix assignment for new window total sizes.
14467 * window.el (window--pixel-to-size): Remove function.
14468 (window--pixel-to-total-1, window--pixel-to-total):
14469 Fix calculation of new total sizes.
14470
14471 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14472
14473 * comint.el (comint-output-filter): Fix rear-nonsticky property
14474 placement (Bug#16010).
14475
14476 2013-12-20 Chong Yidong <cyd@gnu.org>
14477
14478 * faces.el (read-color): Minor fix for completion function.
14479
14480 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14481
14482 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14483 New option. (Bug#16182)
14484 (ruby-smie--indent-to-stmt-p): Use it.
14485 (ruby-smie-rules): Revert the logic in the handling of `when'.
14486 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14487 (ruby-deep-arglist, ruby-deep-indent-paren)
14488 (ruby-deep-indent-paren-style): Update docstrings to note that the
14489 vars don't have any effect with SMIE.
14490
14491 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14492
14493 * calc/calc.el (calc-enter, calc-pop): Use the variable
14494 `calc-context-sensitive-enter'.
14495
14496 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14497
14498 * net/shr.el (shr-insert): Protect against infloops in degenerate
14499 tables.
14500
14501 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14502
14503 * progmodes/octave.el (octave): Add link to manual and octave
14504 homepage.
14505 (octave-mode-menu): Link to octave-mode manual.
14506
14507 2013-12-20 Leo Liu <sdl.web@gmail.com>
14508
14509 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14510 insertion using skeleton-end-newline. (Bug#16138)
14511
14512 2013-12-20 Juri Linkov <juri@jurta.org>
14513
14514 * replace.el (occur-engine): Use `add-face-text-property'
14515 to add the face property to matches and titles. (Bug#14645)
14516
14517 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14518 the palette of other hi-lock colors.
14519 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14520
14521 2013-12-19 Juri Linkov <juri@jurta.org>
14522
14523 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14524 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14525 (minibuffer-history-symbol): Move variable declaration closer to
14526 its usage.
14527
14528 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14529 (Bug#14785)
14530
14531 2013-12-19 Juri Linkov <juri@jurta.org>
14532
14533 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14534 New function.
14535 (log-edit-hook): Add it to :options. (Bug#16170)
14536
14537 2013-12-19 Juri Linkov <juri@jurta.org>
14538
14539 * simple.el (eval-expression-print-format): Don't check for
14540 command names and the last command. Always display additional
14541 formats of the integer result in the echo area, and insert them
14542 to the current buffer only with a zero prefix arg.
14543 Display character when char-displayable-p is non-nil.
14544 (eval-expression): With a zero prefix arg, set `print-length' and
14545 `print-level' to nil, and insert the integer values from
14546 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14547
14548 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14549 `eval-last-sexp-arg-internal'. Doc fix.
14550 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14551 `eval-last-sexp-print-value'. Doc fix.
14552 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14553 Set `print-length' and `print-level' to nil when arg is zero.
14554 (eval-last-sexp): Doc fix.
14555 (eval-defun-2): Print the integer values from
14556 `eval-expression-print-format' at the end.
14557
14558 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14559 values from `eval-expression-print-format' at the end.
14560
14561 * ielm.el (ielm-eval-input): Print the integer
14562 values from `eval-expression-print-format' at the end.
14563
14564 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14565
14566 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14567 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14568
14569 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14570
14571 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14572 (hl-line-highlight, global-hl-line-highlight): Use it.
14573 (hl-line-overlay): Use defvar-local.
14574
14575 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14576
14577 * term/ns-win.el: Require dnd.
14578 (global-map): Remove drag items.
14579 (ns-insert-text, ns-set-foreground-at-mouse)
14580 (ns-set-background-at-mouse):
14581 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14582 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14583 New functions.
14584
14585 2013-12-19 Glenn Morris <rgm@gnu.org>
14586
14587 * emacs-lisp/ert.el (ert-select-tests):
14588 Fix string/symbol mixup. (Bug#16121)
14589
14590 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14591
14592 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14593 keywords to their parent.
14594
14595 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14596
14597 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14598 first arg to be a string (fixed dead code), or an operator symbol.
14599 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14600 operator symbols.
14601 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14602 did nothing. Don't respond to `(:after ".")', it will be called
14603 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14604 change anything. Only return indentation for binary operators
14605 when they are hanging. De-dent opening paren when its parent is
14606 `.', otherwise it looks bad when the dot is not at bol or eol
14607 (bug#16182).
14608
14609 2013-12-19 Juri Linkov <juri@jurta.org>
14610
14611 * replace.el (query-replace-read-args): Split a non-negative arg
14612 and a negative arg into separate elements.
14613 (query-replace, query-replace-regexp, replace-string)
14614 (replace-regexp): Add arg `backward'. Doc fix.
14615 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14616 move point to the beginning of the match.
14617 (replace-search, replace-highlight): Use new arg `backward'
14618 to set the value of `isearch-forward'.
14619 (perform-replace): Add arg `backward' and use it to perform
14620 replacement backward. (Bug#14979)
14621
14622 * isearch.el (isearch-query-replace): Use a negative prefix arg
14623 to call `perform-replace' with a non-nil arg `backward'.
14624
14625 2013-12-18 Juri Linkov <juri@jurta.org>
14626
14627 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14628 to the default list. Move `log-edit-show-files' to the end.
14629 Add more available functions to options.
14630 (log-edit): Move default specific settings to
14631 `log-edit-insert-message-template'. Don't move point.
14632 (log-edit-insert-message-template): New function.
14633 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14634 (Bug#16170)
14635
14636 2013-12-18 Juri Linkov <juri@jurta.org>
14637
14638 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14639 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14640
14641 2013-12-18 Leo Liu <sdl.web@gmail.com>
14642
14643 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14644 (Bug#16186)
14645
14646 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14647
14648 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14649 formats for displaying file sizes when the -s switch is given.
14650 Instead, compute a separate format for displaying the size in
14651 blocks, which is displayed in addition to the "regular" size.
14652 When -h is given in addition to -s, produce size in blocks in
14653 human-readable form as well. (Bug#16179)
14654
14655 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14656
14657 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14658 Reference tables with ~\ref{...} instead of only \ref{...}.
14659
14660 2013-12-18 Chong Yidong <cyd@gnu.org>
14661
14662 * cus-edit.el (custom-magic-alist): Fix "themed" description
14663 (Bug#14348).
14664
14665 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14666 is non-nil, do not create a new entry in the symbol's theme-value
14667 or theme-face property; update theme-settings only (Bug#14664).
14668 (custom-available-themes): Doc fix.
14669
14670 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14671 (Bug#15674).
14672
14673 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14674
14675 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14676
14677 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14678 (Bug#13914).
14679
14680 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14681
14682 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14683
14684 2013-12-18 Glenn Morris <rgm@gnu.org>
14685
14686 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14687 * cus-start.el (load-prefer-newer): New option.
14688
14689 2013-12-18 Le Wang <l26wang@gmail.com>
14690
14691 * comint.el (comint-previous-matching-input-from-input):
14692 Retain point (Bug#13404).
14693
14694 2013-12-18 Chong Yidong <cyd@gnu.org>
14695
14696 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14697
14698 2013-12-18 Glenn Morris <rgm@gnu.org>
14699
14700 * mail/emacsbug.el (report-emacs-bug):
14701 Only mention enable-multibyte-characters if non-standard.
14702
14703 2013-12-17 Juri Linkov <juri@jurta.org>
14704
14705 * arc-mode.el (archive-extract-by-file): Check if directory exists
14706 before deletion to not show irrelevant errors if it doesn't exist.
14707
14708 2013-12-17 Juri Linkov <juri@jurta.org>
14709
14710 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14711 (Bug#14751)
14712
14713 * net/eww.el (browse-web): Add alias to `eww'.
14714 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14715 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14716
14717 * net/browse-url.el (browse-url-browser-function): Move `eww'
14718 closer to similar functions.
14719
14720 * startup.el (fancy-startup-screen, fancy-about-screen):
14721 Set browse-url-browser-function to eww-browse-url locally.
14722 (Bug#14751)
14723
14724 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * window.el (window--pixel-to-total): Remove unused `mini' var.
14727 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14728 (split-window): Remove unused `new' var.
14729 (window--display-buffer): Remove unused `frame' and `delta' vars.
14730 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14731 and display-width'.
14732
14733 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14734
14735 * dired.el (dired-mark-pop-up):
14736 * register.el (register-preview): Don't bind
14737 split-height-threshold here since it's now done in
14738 display-buffer-below-selected.
14739
14740 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14741
14742 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14743 xterm-rgb-convert-to-16bit.
14744 (rxvt-register-default-colors): Standardize with
14745 xterm-register-default-colors (Bug#14078).
14746
14747 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14748
14749 * simple.el (kill-region): Pass mark first, then point, so that
14750 kill-append works right (Bug#12819).
14751 (copy-region-as-kill, kill-ring-save): Likewise.
14752
14753 2013-12-17 Leo Liu <sdl.web@gmail.com>
14754
14755 * net/rcirc.el (rcirc-add-face):
14756 * eshell/em-prompt.el (eshell-emit-prompt):
14757 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14758 (Bug#16167)
14759
14760 2013-12-17 Chong Yidong <cyd@gnu.org>
14761
14762 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14763 Suggested by Xue Fuqiao.
14764
14765 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14766
14767 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14768
14769 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14770
14771 * net/shr.el (shr-insert-document): Remove unused var
14772 `shr-preliminary-table-render'.
14773 (shr-rescale-image): Remove unused arg `force'.
14774 (shr-put-image): Update calls accordingly.
14775 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14776
14777 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14778
14779 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14780 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14781 :close-all, to see which indentation method to use (Bug#16116).
14782 (smie-rules-function): Document the method :close-all.
14783
14784 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14785
14786 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14787
14788 * net/eww.el (eww-display-html): If we can't find the anchor we're
14789 looking for, then go to point-min.
14790
14791 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14792
14793 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14794 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14795 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14796 Expand dir too, in case it's relative.
14797
14798 2013-12-16 Juri Linkov <juri@jurta.org>
14799
14800 * desktop.el (desktop-auto-save-timeout): Change default to
14801 `auto-save-timeout'. Doc fix.
14802 (desktop-save): Skip the timestamp in desktop-saved-frameset
14803 when checking for auto-save changes.
14804 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14805 `desktop-auto-save' is called repeatedly by the idle timer.
14806 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14807 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14808 (Bug#15331)
14809
14810 2013-12-16 Juri Linkov <juri@jurta.org>
14811
14812 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14813 (Bug#16035)
14814 (isearch-pre-command-hook): Check `this-command' for symbolp.
14815
14816 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14819
14820 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14821
14822 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14823 (cfengine3--current-function): Bring in the current-function
14824 functionality from `cfengine3--current-word'.
14825 (cfengine3-completion-function): Bring in the
14826 bounds-of-current-word functionality from
14827 `cfengine3--current-word'.
14828
14829 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14830
14831 * window.el (display-buffer-below-selected):
14832 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14833
14834 2013-12-16 Leo Liu <sdl.web@gmail.com>
14835
14836 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14837 Remove NOMSG arg and all uses changed.
14838
14839 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14840
14841 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14842 (cua--deactivate-rectangle): Don't deactivate the mark.
14843 (cua-set-rectangle-mark): Don't set mark-active since
14844 cua--activate-rectangle already does it for us.
14845 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14846 non-rectangular region.
14847
14848 * emulation/cua-base.el (cua-repeat-replace-region):
14849 Use with-current-buffer.
14850
14851 * net/gnutls.el: Use cl-lib.
14852 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14853
14854 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14855
14856 * emacs-lisp/package.el (package-built-in-p): Support both
14857 built-in and the package.el converted package descriptions.
14858 (package-show-package-list): Allow keywords.
14859 (package-keyword-button-action): Use it instead of
14860 `finder-list-matches'.
14861 (package-menu-filter-interactive): Interactive filtering (by
14862 keyword) function.
14863 (package-menu--generate): Support keywords and change keymappings
14864 and headers when they are given.
14865 (package--has-keyword-p): Helper function.
14866 (package-menu--refresh): Use it.
14867 (package--mapc): Helper function.
14868 (package-all-keywords): Use it.
14869 (package-menu-mode-map): Set up menu items and keybindings to
14870 provide a filtering UI.
14871
14872 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14873
14874 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14875 the behavior when a certificate fails validation. Defaults to
14876 old behavior: never abort, just warn.
14877 (gnutls-negotiate): Use it.
14878
14879 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14880
14881 * window.el (display-buffer-below-selected): Never split window
14882 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14883
14884 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14885
14886 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14887 (package-buffer-info): Use it (bug#15108).
14888
14889 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14890
14891 * icomplete.el (icomplete-completions): Make sure the prefix is already
14892 displayed elsewhere before hiding it (bug#16219).
14893
14894 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14895
14896 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14897 open-paren tokens when preceded by a open-paren, too.
14898 (ruby-smie-rules): Handle virtual indentation after open-paren
14899 tokens specially. If there is code between it and eol, return the
14900 column where is starts (Bug#16118).
14901
14902 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14903
14904 * progmodes/cfengine.el: Fix `add-hook' doc.
14905 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14906 (cfengine3--current-word): Fix parameters.
14907 (cfengine3-make-syntax-cache): Simplify further.
14908 (cfengine3-completion-function, cfengine3--current-function):
14909 Use `assq' for symbols.
14910 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14911
14912 2013-12-13 Glenn Morris <rgm@gnu.org>
14913
14914 * loadup.el (load-path): Warn if site-load or site-init changes it.
14915 No more need to reset it when bootstrapping.
14916
14917 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14918
14919 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14920 locations for cf-promises.
14921 (cfengine-mode-syntax-functions-regex): New caching variable.
14922 (cfengine3-fallback-syntax): Fallback syntax for cases where
14923 cf-promises doesn't run.
14924 (cfengine3--current-word): Reimplement using
14925 `cfengine-mode-syntax-functions-regex'.
14926 (cfengine3-completion-function, cfengine3--current-function):
14927 Use `cfengine3-make-syntax-cache' directly.
14928 (cfengine3-clear-syntax-cache): New function.
14929 (cfengine3-make-syntax-cache): Simplify and create
14930 `cfengine-mode-syntax-functions-regex' on demand.
14931 (cfengine3-format-function-docstring): Don't call
14932 `cfengine3-make-syntax-cache' explicitly.
14933
14934 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14935
14936 Fix windmove-find-other-window broken after pixelwise resizing
14937 (Bug#16017).
14938 * windmove.el (windmove-other-window-loc): Revert change from
14939 2013-12-04.
14940 (windmove-find-other-window): Call window-in-direction.
14941 * window.el (window-in-direction): New arguments SIGN, WRAP and
14942 MINI to emulate original windmove-find-other-window behavior.
14943
14944 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14945
14946 * simple.el (blink-matching--overlay): New variable.
14947 (blink-matching-open): Instead of moving point, highlight the
14948 matching paren with an overlay
14949 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14950
14951 * faces.el (paren-showing-faces, show-paren-match)
14952 (show-paren-mismatch): Move from paren.el.
14953
14954 2013-12-13 Leo Liu <sdl.web@gmail.com>
14955
14956 * indent.el (indent-region): Disable progress reporter in
14957 minibuffer. (Bug#16108)
14958
14959 * bindings.el (visual-order-cursor-movement): Fix version.
14960
14961 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14962
14963 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14964 Also match after beginning of line.
14965 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14966 files. Thanks to Russell Sim. (Bug#15378)
14967
14968 2013-12-13 Juri Linkov <juri@jurta.org>
14969
14970 * simple.el <Keypad support>: Remove key bindings duplicated
14971 with bindings.el. (Bug#14397)
14972
14973 2013-12-13 Juri Linkov <juri@jurta.org>
14974
14975 * comint.el (comint-mode-map): Replace `delete-char' with
14976 `delete-forward-char'. (Bug#16109)
14977
14978 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14979
14980 * progmodes/python.el (python-indent-calculate-indentation):
14981 Fix de-denters cornercase. (Bug#15731)
14982
14983 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14984
14985 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14986 (advice--make): Pay attention to `depth'.
14987 (advice--make-1): Don't autoload commands eagerly.
14988 * emacs-lisp/elp.el (elp-instrument-function):
14989 * emacs-lisp/trace.el (trace-function-internal):
14990 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14991
14992 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14993
14994 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14995
14996 * term/w32-win.el (w32-handle-dropped-file):
14997 * startup.el (normal-top-level):
14998 * net/browse-url.el (browse-url-file-url):
14999 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
15000 decode file names using 'utf-8' rather than
15001 file-name-coding-system.
15002
15003 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15004
15005 * progmodes/python.el (python-indent-context)
15006 (python-indent-calculate-indentation): Fix auto-identation
15007 behavior for comment blocks. (Bug#15916)
15008
15009 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15010
15011 * progmodes/python.el (python-indent-calculate-indentation):
15012 When determining indentation, don't treat "return", "pass", etc., as
15013 operators when they are just string constituents. (Bug#15812)
15014
15015 2013-12-12 Juri Linkov <juri@jurta.org>
15016
15017 * uniquify.el (uniquify-buffer-name-style): Change default to
15018 `post-forward-angle-brackets'.
15019
15020 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15021 `uniquify'. Change default to `post-forward-angle-brackets'.
15022
15023 2013-12-11 Glenn Morris <rgm@gnu.org>
15024
15025 * emacs-lisp/package.el (finder-list-matches):
15026 Autoload rather than falsely declaring.
15027
15028 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
15029
15030 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15031 (eww-mode-map): Use them.
15032
15033 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15034
15035 * window.el (display-buffer-in-side-window): Fix doc-string
15036 (Bug#16115).
15037
15038 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15039
15040 * vc/vc-git.el: Silence byte-compiler warnings.
15041 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15042 (log-edit-set-header): Declare.
15043
15044 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15045
15046 * Makefile.in (custom-deps, finder-data): Run output file names
15047 through unmsys--file-name. (Bug#16099)
15048
15049 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15050
15051 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15052 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15053
15054 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15055 instead of deleting the selection "by hand" (bug#16098).
15056 Rely on insert-for-yank to yank rectangles.
15057 (cua-highlight-region-shift-only): Mark obsolete.
15058 (cua-mode): Don't enable/disable transient-mark-mode,
15059 shift-select-mode (cua-mode works both with and without them), and
15060 pc-selection-mode (obsolete).
15061 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15062 (cua--deactivate-rectangle): Deactivate it.
15063
15064 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15065 (delete-selection-helper): Make sure yank starts at the top of the
15066 deleted region.
15067 (minibuffer-keyboard-quit): Use region-active-p.
15068
15069 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15070
15071 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15072 to `delete' (bug#16109).
15073
15074 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15075
15076 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15077 info manual and show keybindings and set `:group' keyword.
15078
15079 2013-12-11 Juri Linkov <juri@jurta.org>
15080
15081 * delsel.el (delete-active-region): Let-bind `this-command'
15082 to prevent `kill-region' from changing its original value.
15083 (delete-selection-helper): Handle `overwrite-mode' for the type
15084 `kill' exactly the same way as for the type `t'.
15085 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15086 Support more commands. (Bug#13312)
15087
15088 2013-12-11 Juri Linkov <juri@jurta.org>
15089
15090 * bindings.el: Map kp keys to non-kp keys systematically
15091 with basic modifiers control, meta and shift. (Bug#14397)
15092
15093 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15094
15095 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15096 "Close browser" menu items. Fix wrong function of "List
15097 bookmarks".
15098
15099 2013-12-11 Juri Linkov <juri@jurta.org>
15100
15101 * misearch.el (multi-isearch-buffers): Set the value of
15102 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15103 arg of isearch-forward to t.
15104 (multi-isearch-buffers-regexp): Set the value of
15105 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15106 arg of isearch-forward-regexp to t.
15107 (multi-isearch-files): Set the value of
15108 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15109 arg of isearch-forward to t.
15110 (multi-isearch-files-regexp): Set the value of
15111 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15112 arg of isearch-forward-regexp to t. (Bug#16035)
15113
15114 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15115 arg of isearch-forward to t.
15116 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15117 arg of isearch-forward-regexp to t.
15118 (dired-isearch-filter-filenames): Remove unnecessary check for
15119 `dired-isearch-filenames'.
15120
15121 * comint.el (comint-history-isearch-backward):
15122 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15123 (comint-history-isearch-backward-regexp):
15124 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15125
15126 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15127
15128 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15129 unmsys--file-name. (Bug#16099)
15130
15131 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15132
15133 * emacs-lisp/package.el (package-keyword-button-action):
15134 Remove finder.el require dependency.
15135
15136 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15137
15138 * emacs-lisp/package.el: Require finder.el.
15139 (describe-package-1): Add keyword buttons.
15140 (package-make-button): New convenience function.
15141 (package-keyword-button-action): Keyword button action using
15142 `finder-list-matches'.
15143
15144 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15145
15146 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15147 last commit.
15148
15149 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15150
15151 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15152 symlinked files.
15153
15154 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15155
15156 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15157 after the end of a percent literal.
15158
15159 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15160
15161 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15162 Handle caret-delimited strings (Bug#16079).
15163
15164 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15165
15166 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15167 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15168 `ruby-parse-partial' (Bug#16078).
15169
15170 2013-12-09 Leo Liu <sdl.web@gmail.com>
15171
15172 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15173
15174 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15175
15176 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15177 (js-switch-indent-offset): New option.
15178 (js--proper-indentation): Use it. And handle the case when
15179 "default" is actually a key in an object literal.
15180 (js--same-line): New function.
15181 (js--multi-line-declaration-indentation): Use it.
15182 (js--indent-in-array-comp, js--array-comp-indentation):
15183 New functions.
15184 (js--proper-indentation): Use them, to handle array comprehension
15185 continuations.
15186
15187 2013-12-08 Leo Liu <sdl.web@gmail.com>
15188
15189 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15190 (flymake-make-overlay): Remove arg MOUSE-FACE.
15191 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15192
15193 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15196 New function.
15197 (redisplay-highlight-region-function): Use it.
15198
15199 * emulation/cua-base.el (cua--explicit-region-start)
15200 (cua--last-region-shifted): Remove.
15201 (cua--deactivate): Use deactivate-mark.
15202 (cua--pre-command-handler-1): Don't handle shift-selection.
15203 (cua--post-command-handler-1): Don't change transient-mark-mode.
15204 (cua--select-keymaps): Use region-active-p rather than
15205 cua--explicit-region-start or cua--last-region-shifted.
15206 (cua-mode): Enable shift-select-mode.
15207
15208 2013-12-08 Leo Liu <sdl.web@gmail.com>
15209
15210 * progmodes/flymake.el (flymake-popup-current-error-menu):
15211 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15212 (flymake-posn-at-point-as-event, flymake-popup-menu)
15213 (flymake-make-emacs-menu): Remove. (Bug#16077)
15214
15215 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15216
15217 * rect.el (rectangle-mark-mode): Activate mark even if
15218 transient-mark-mode is off (bug#16066).
15219 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15220 is > mark and at bolp.
15221
15222 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15223 (region-extract-function): Use it.
15224 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15225 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15226 Delete functions.
15227 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15228 kill-ring-save, kill-region, delete-char, delete-forward-char.
15229 Ignore self-insert-iso.
15230
15231 * emulation/cua-gmrk.el (cua--init-global-mark):
15232 Ignore `self-insert-iso'.
15233
15234 * emulation/cua-base.el (cua--prefix-copy-handler)
15235 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15236 checking cua--rectangle.
15237 (cua-delete-region): Use region-extract-function.
15238 (cua-replace-region): Delete function.
15239 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15240 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15241 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15242 (cua--init-keymaps): Don't remap delete-selection commands.
15243 (cua-mode): Use delete-selection-mode instead of rolling our own
15244 (bug#16085).
15245
15246 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15247 Obey region-extract-function.
15248
15249 Make registers and delete-selection-mode work on rectangles.
15250 * register.el (describe-register-1): Don't modify the register's value.
15251 (copy-to-register): Obey region-extract-function.
15252 * delsel.el (delete-active-region): Obey region-extract-function.
15253
15254 2013-12-08 Leo Liu <sdl.web@gmail.com>
15255
15256 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15257 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15258 (flymake-compilation-prevents-syntax-check)
15259 (flymake-start-syntax-check-on-newline)
15260 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15261 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15262 (flymake-xml-program, flymake-master-file-dirs)
15263 (flymake-master-file-count-limit)
15264 (flymake-allowed-file-name-masks): Relocate.
15265 (flymake-makehash, flymake-float-time)
15266 (flymake-replace-regexp-in-string, flymake-split-string)
15267 (flymake-get-temp-dir): Remove.
15268 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15269 (flymake-current-row, flymake-selected-frame)
15270 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15271 related functions. (Bug#16077)
15272
15273 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15274
15275 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15276
15277 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15278
15279 * help-fns.el (describe-function-1): Use new advice-* functions
15280 rather than old ad-* functions. Fix function type description and
15281 source links for advised functions and subrs.
15282
15283 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15284
15285 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15286
15287 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15288
15289 * progmodes/compile.el (compilation-start):
15290 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15291
15292 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15293 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15294
15295 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15296
15297 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15298 Touch up the last change.
15299
15300 2013-12-06 Leo Liu <sdl.web@gmail.com>
15301
15302 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15303 (inferior-octave-startup): Always use "octave> " for prompt.
15304 (octave-goto-function-definition)
15305 (octave-sync-function-file-names)
15306 (octave-find-definition-default-filename): Remove redundant backquotes.
15307
15308 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15309
15310 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15311 syntax for `?'.
15312 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15313 where appropriate already.
15314 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15315 end of method names (Bug#15874).
15316
15317 2013-12-06 Juri Linkov <juri@jurta.org>
15318
15319 * isearch.el (isearch--saved-overriding-local-map):
15320 New internal variable.
15321 (isearch-mode): Set it to the initial value of
15322 `overriding-terminal-local-map'.
15323 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15324 with `isearch--saved-overriding-local-map'. (Bug#16035)
15325
15326 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15327
15328 * progmodes/octave.el (inferior-octave-completion-table):
15329 Turn back into function, use `completion-table-with-cache'
15330 (Bug#11906). Update all references.
15331
15332 * minibuffer.el (completion-table-with-cache): New function.
15333
15334 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15335
15336 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15337
15338 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15339
15340 * net/eww.el (eww-current-source): New variable to store page
15341 source.
15342 (eww-display-html, eww-mode, eww-save-history)
15343 (eww-restore-history): Use it.
15344 (eww-view-source): New command to view page source.
15345 Opportunistically uses `html-mode' to highlight the buffer.
15346 (eww-mode-map): Install it.
15347
15348 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15349
15350 * net/dbus.el (dbus-unregister-service)
15351 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15352 Fix docstring.
15353 (dbus-unregister-service): Skip :serial entries in
15354 `dbus-registered-objects-table'.
15355 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15356
15357 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15358
15359 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15360 around keywords with extra `split-string' argument.
15361
15362 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15363
15364 * windmove.el (windmove-other-window-loc): Handle navigation
15365 between windows (excluding the minibuffer window - Bug#16017).
15366
15367 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15368
15369 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15370 in D-Bus type syntax.
15371 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15372 preserve unibyte strings. (Bug#16048)
15373
15374 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15375
15376 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15377 Call force-mode-line-update is the proper buffer (bug#16042).
15378
15379 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15380
15381 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15382 `log-edit-remember-comment', make argument optional. Adjust all
15383 callers.
15384 (log-edit-mode): Add `log-edit-remember-comment' to
15385 `kill-buffer-hook' locally.
15386 (log-edit-kill-buffer): Don't remember comment explicitly since
15387 the buffer is killed anyway.
15388
15389 2013-12-04 Juri Linkov <juri@jurta.org>
15390
15391 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15392 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15393
15394 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15395
15396 * notifications.el (notifications-close-notification): Call the
15397 D-Bus method with ID being a `:uint32'. (Bug#16030)
15398
15399 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15400
15401 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15402
15403 2013-12-03 Juri Linkov <juri@jurta.org>
15404
15405 * progmodes/compile.el (compilation-start): Rename window alist
15406 entry `no-display-ok' to `allow-no-window'.
15407
15408 * simple.el (shell-command): Add window alist entry
15409 `allow-no-window' to `display-buffer'.
15410 (async-shell-command): Doc fix.
15411
15412 * window.el (display-buffer-no-window): New action function.
15413 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15414
15415 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15416
15417 * vc/log-edit.el (log-edit-set-header): Extract from
15418 `log-edit-toggle-header'.
15419 (log-edit-extract-headers): Separate the summary, when extracted
15420 from header, from the rest of the message with an empty line.
15421
15422 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15423 line, if present, to the Summary header.
15424
15425 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15426
15427 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15428 in current-buffer (bug#16029).
15429
15430 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15431
15432 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15433 (debugger-mode-map): Bind it.
15434 (debugger--backtrace-base): New function.
15435 (debugger-eval-expression): Use it.
15436 (debugger-frame-number): Skip local vars when present.
15437 (debugger--locals-visible-p, debugger--insert-locals)
15438 (debugger--show-locals, debugger--hide-locals): New functions.
15439
15440 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15441
15442 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15443 "LC_ALL".
15444 (tramp-get-remote-locale): New defun.
15445 (tramp-open-connection-setup-interactive-shell): Use it.
15446
15447 2013-12-02 Leo Liu <sdl.web@gmail.com>
15448
15449 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15450
15451 * progmodes/sh-script.el (sh-shell-process):
15452 * progmodes/octave.el (inferior-octave-process-live-p):
15453 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15454 (gdb-inferior-io-sentinel):
15455 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15456
15457 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15458
15459 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15460 `save-selected-window' to `log-edit-hide-buf'. This makes
15461 `log-edit-show-files' idempotent.
15462 (log-edit-show-files): Mark the new window as dedicated.
15463
15464 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15465
15466 * vc/log-edit.el (log-edit-mode-map): Add binding for
15467 `log-edit-kill-biffer'.
15468 (log-edit-hide-buf): Add a FIXME comment.
15469 (log-edit-add-new-comment): New function, extracted from
15470 `log-edit-done'.
15471 (log-edit-done, log-edit-add-to-changelog): Use it.
15472 (log-edit-kill-buffer): New command.
15473
15474 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15475
15476 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15477 instead of killing the buffer.
15478
15479 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15482
15483 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15484
15485 * net/eww.el (eww-form-checkbox-selected-symbol)
15486 (eww-form-checkbox-symbol): New customizable variable.
15487 (eww-form-checkbox, eww-toggle-checkbox):
15488 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15489
15490 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15491 (shr--get-media-pref, shr--extract-best-source): New function.
15492 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15493 no :src tag was specified.
15494
15495 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15496 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15497 Use \\` to match beginning of string instead of ^.
15498 (eww-browse-with-external-browser): Provide optional URL parameter.
15499 (eww-render): Set `eww-current-title' back to "".
15500
15501 * net/shr.el (shr-tag-video): Display content for video if no
15502 poster is available.
15503 (shr-tag-audio): Add support for <audio> tag.
15504
15505 * net/eww.el (eww-text-input-types): New const.
15506 (eww-process-text-input): Treat input types in
15507 `eww-text-input-types' as text.
15508
15509 * net/shr.el (shr-tag-table): Fix comment typo.
15510
15511 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15512
15513 * net/eww.el (eww-follow-link): New command to avoid reloading
15514 pages when we follow #target links (bug#15243).
15515 (eww-quit): Special mode buffers shouldn't query before exiting.
15516
15517 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15518
15519 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15520 forms.
15521
15522 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15523
15524 * net/eww.el (eww-restore-history): Update the window title after
15525 moving in the history.
15526 (eww-current-dom): New variable used to save the current DOM.
15527
15528 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15529
15530 * vc/log-edit.el (log-edit-mode-map): Add binding for
15531 `log-edit-beginning-of-line'.
15532 (log-edit-setup-add-author): New user option.
15533 (log-edit-beginning-of-line): New command.
15534 (log-edit): Move major mode call above the contents setup so that
15535 the local variable values are already applied.
15536 (log-edit): Only insert "Author: " when
15537 `log-edit-setup-add-author' is non-nil.
15538 (log-edit): When SETUP is non-nil, position point after ": "
15539 instead of point-min.
15540
15541 2013-12-01 Glenn Morris <rgm@gnu.org>
15542
15543 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15544
15545 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15546
15547 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15548 redisplay to make sure the initial frame gets a chance to become
15549 visible. (Bug#16014)
15550
15551 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15552
15553 Support resizing frames and windows pixelwise.
15554 * cus-start.el (frame-resize-pixelwise)
15555 (window-resize-pixelwise): New entries.
15556 * emacs-lisp/debug.el (debug): Use window-total-height instead
15557 of window-total-size.
15558 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15559 * help.el (describe-bindings-internal): Use help-buffer as
15560 argument for with-help-window.
15561 (temp-buffer-max-width): New option.
15562 (resize-temp-buffer-window, help-window-setup)
15563 (with-help-window): Rewrite.
15564 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15565 dragging dividers.
15566 * window.el (frame-char-size, window-min-pixel-height)
15567 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15568 (window-min-pixel-width, window-safe-min-pixel-size)
15569 (window-combination-p, window-safe-min-size)
15570 (window-resizable-p, window--size-to-pixel)
15571 (window--pixel-to-size, window--resize-apply-p): New functions.
15572 (window-safe-min-height): Fix doc-string.
15573 (window-size, window-min-size, window--min-size-1)
15574 (window-sizable, window-sizable-p, window--min-delta-1)
15575 (window-min-delta, window--max-delta-1, window-max-delta)
15576 (window--resizable, window--resizable-p, window-resizable)
15577 (window-full-height-p, window-full-width-p, window-at-side-p)
15578 (window--in-direction-2, window-in-direction)
15579 (window--resize-reset-1, window--resize-mini-window)
15580 (window-resize, window-resize-no-error)
15581 (window--resize-child-windows-normal)
15582 (window--resize-child-windows, window--resize-siblings)
15583 (window--resize-this-window, window--resize-root-window)
15584 (window--resize-root-window-vertically)
15585 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15586 (maximize-window, minimize-window, delete-window)
15587 (quit-restore-window, window-split-min-size, split-window)
15588 (balance-windows-2, balance-windows)
15589 (balance-windows-area-adjust, balance-windows-area)
15590 (window--state-get-1, window-state-get, window--state-put-1)
15591 (window--state-put-2, window-state-put)
15592 (display-buffer-record-window, window--display-buffer):
15593 Make functions handle pixelwise sizing of windows.
15594 (display-buffer--action-function-custom-type)
15595 (display-buffer-fallback-action):
15596 Add display-buffer-in-previous-window.
15597 (display-buffer-use-some-window): Resize window to height it had
15598 before.
15599 (fit-window-to-buffer-horizontally): New option.
15600 (fit-frame-to-buffer): Describe new values.
15601 (fit-frame-to-buffer-bottom-margin): Replace with
15602 fit-frame-to-buffer-margins.
15603 (window--sanitize-margin): New function.
15604 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15605 using window-text-pixel-size.
15606
15607 2013-11-30 Glenn Morris <rgm@gnu.org>
15608
15609 * emacs-lisp/bytecomp.el (byte-compile-form):
15610 Make the `interactive-only' warning like the `obsolete' one.
15611 * comint.el (comint-run):
15612 * files.el (insert-file-literally, insert-file):
15613 * replace.el (replace-string, replace-regexp):
15614 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15615 (goto-line, insert-buffer, next-line, previous-line):
15616 Tweak `interactive-only' spec.
15617
15618 Stop keeping (most) generated cedet grammar files in the repository.
15619 * Makefile.in (semantic): New.
15620 (compile-main): Depend on semantic.
15621
15622 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15623
15624 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15625 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15626
15627 * uniquify.el (uniquify-buffer-name-style): Change default.
15628
15629 * loadup.el: Preload "uniquify".
15630
15631 * time.el (display-time-update): Update all mode lines (bug#15999).
15632
15633 * electric.el (electric-indent-mode): Enable by default.
15634 * loadup.el: Preload "electric".
15635
15636 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15637
15638 * emacs-lisp/helpers.el (string-empty-p): New function.
15639 (string-blank-p): New function.
15640
15641 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15642
15643 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15644 (Bug#14029).
15645
15646 2013-11-29 Andreas Politz <politza@fh-trier.de>
15647 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15648 allow non-lambda lists as functions.
15649 (imenu--in-alist): Don't recurse into non-subalists.
15650 (imenu): Don't pass function itself as an argument (Bug#14029).
15651
15652 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15653
15654 * progmodes/python.el (python-mode-map): Remove binding for ":".
15655 (python-indent-electric-colon): Remove command.
15656 (python-indent-post-self-insert-function): Integrate the previous code
15657 of python-indent-electric-colon. Make it conditional on
15658 electric-indent-mode.
15659 (python-mode): Add ?: to electric-indent-chars.
15660 Move python-indent-post-self-insert-function to the end of
15661 post-self-insert-hook.
15662
15663 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * doc-view.el (doc-view-goto-page): Update mode-line.
15666
15667 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15668
15669 2013-11-27 Glenn Morris <rgm@gnu.org>
15670
15671 * international/charprop.el, international/uni-bidi.el:
15672 * international/uni-category.el, international/uni-combining.el:
15673 * international/uni-comment.el, international/uni-decimal.el:
15674 * international/uni-decomposition.el, international/uni-digit.el:
15675 * international/uni-lowercase.el, international/uni-mirrored.el:
15676 * international/uni-name.el, international/uni-numeric.el:
15677 * international/uni-old-name.el, international/uni-titlecase.el:
15678 * international/uni-uppercase.el:
15679 Remove generated files from VCS repository.
15680
15681 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15682
15683 * filenotify.el (file-notify-add-watch): Don't special-case
15684 w32notify when computing the directory to watch.
15685
15686 2013-11-27 Glenn Morris <rgm@gnu.org>
15687
15688 Make bootstrap without generated uni-*.el files possible again.
15689 * loadup.el: Update command-line-args checking for unidata-gen.
15690 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15691 * composite.el, international/characters.el:
15692 Handle unicode tables being undefined.
15693
15694 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15695 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15696 (compile-main): Depend on leim rule.
15697 (leim): New rule.
15698 * loadup.el: Move leim-list.el to leim/ subdirectory.
15699 * startup.el (normal-top-level): No more leim directory.
15700 * international/ja-dic-cnv.el (skkdic-convert):
15701 Disable version-control and autoloads in output files.
15702 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15703 Disable version-control and autoloads in output files.
15704 * leim/quail: Move here from ../leim.
15705 * leim/quail/hangul.el (hangul-input-method-activate):
15706 Add autoload cookie.
15707 (generated-autoload-load-name): Set file-local value.
15708 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15709 (generated-autoload-load-name): Set file-local value.
15710
15711 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15712
15713 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15714 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15715 (eww-quit): Ask confirmation before quitting eww.
15716
15717 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15718
15719 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15720 reading output from Diff on MS-Windows and MS-DOS.
15721
15722 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15723
15724 * emacs-lisp/helpers.el (string-reverse): New function.
15725
15726 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15727
15728 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15729 names on MS Windows, like "/[::1]:".
15730
15731 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15732 SWITCHES.
15733
15734 2013-11-26 Glenn Morris <rgm@gnu.org>
15735
15736 * progmodes/python.el (python-indent-guess-indent-offset):
15737 Avoid corner-case error. (Bug#15975)
15738
15739 Preload leim-list.el. (Bug#4789)
15740 * loadup.el: Load leim-list.el when found.
15741 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15742
15743 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15744
15745 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15746
15747 * emacs-lisp/helpers.el (string-join): New function.
15748
15749 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15750
15751 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15752 Mark as obsolete and replace it with a symbol property.
15753 (byte-compile-form): Use new 'interactive-only property.
15754 * comint.el, files.el, replace.el, simple.el:
15755 Apply new 'interactive-only properly.
15756
15757 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15758
15759 * window.el (display-buffer-at-bottom): Make sure that
15760 split-window-sensibly creates the new window on bottom
15761 (Bug#15961).
15762
15763 2013-11-23 David Kastrup <dak@gnu.org>
15764
15765 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15766 on the conflict markers when available.
15767 (smerge--get-marker): New function.
15768 (smerge-end-re, smerge-base-re): Add subgroup.
15769
15770 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15771
15772 * frame.el (handle-focus-in, handle-focus-out): Add missing
15773 interactive spec.
15774
15775 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15776
15777 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15778 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15779
15780 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15781
15782 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15783 (gomoku--last-pos): New var.
15784 (gomoku--intangible-chars): New const.
15785 (gomoku--intangible): New function.
15786 (gomoku-mode): Use it. Derive from special-mode.
15787 (gomoku-move-up): Adjust line count.
15788 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15789 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15790 Simplify accordingly.
15791
15792 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15793 Remove blink-cursor code.
15794 (blink-cursor-timer-function, blink-cursor-suspend):
15795 Don't special-case GUIs.
15796 (blink-cursor-mode): Use focus-in/out-hook.
15797
15798 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15799
15800 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15801 work when annotation is invisible (Bug#13886).
15802
15803 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15804
15805 * json.el (json-alist-p): Only return non-nil if the alist has
15806 simple keys (Bug#13518).
15807
15808 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15809
15810 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15811 when control-statement is the first statement in a buffer (Bug#15956).
15812
15813 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15814
15815 * imenu.el (imenu-generic-skip-comments-and-strings):
15816 New option (Bug#15560).
15817 (imenu--generic-function): Use it.
15818
15819 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15820
15821 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15822 (Bug#13898)
15823
15824 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15825
15826 * emacs-lisp/helpers.el: Add some string helpers.
15827 (string-trim-left): Removes leading whitespace.
15828 (string-trim-right): Removes trailing whitespace.
15829 (string-trim): Removes leading and trailing whitespace.
15830
15831 * subr.el (string-suffix-p): New function.
15832
15833 2013-11-23 Glenn Morris <rgm@gnu.org>
15834
15835 * progmodes/python.el (python-shell-send-file):
15836 Add option to delete file when done. (Bug#15647)
15837 (python-shell-send-string, python-shell-send-region): Use it.
15838
15839 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15840
15841 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15842 to set buffer-read-only to t, never to nil. (Bug#15938)
15843
15844 * textmodes/tex-mode.el (latex-noindent-environments):
15845 Add safe-local-variable property. (Bug#15936)
15846
15847 2013-11-23 Glenn Morris <rgm@gnu.org>
15848
15849 * textmodes/enriched.el (enriched-mode): Doc fix.
15850 * emacs-lisp/authors.el (authors-renamed-files-alist):
15851 Add enriched.doc -> enriched.txt.
15852
15853 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15854
15855 2013-11-22 Leo Liu <sdl.web@gmail.com>
15856
15857 * progmodes/octave.el (inferior-octave-startup): Spit out error
15858 message.
15859
15860 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15861
15862 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15863 Improve docstring.
15864 Add :version.
15865 (ruby-encoding-magic-comment-style): Add :version.
15866
15867 2013-11-22 Leo Liu <sdl.web@gmail.com>
15868
15869 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15870 (Bug#15076)
15871 (octave-help-mode): Adapt to change to help-mode-finish to use
15872 derived-mode-p on 2013-09-17.
15873 (inferior-octave-prompt): Also match octave-gui.
15874 (octave-kill-process): Don't ask twice. (Bug#10564)
15875
15876 2013-11-22 Leo Liu <sdl.web@gmail.com>
15877
15878 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15879 (inferior-octave-startup, inferior-octave-check-process)
15880 (inferior-octave-track-window-width-change)
15881 (octave-completion-at-point, octave-eldoc-function): Use it.
15882 (octave-kill-process): Provide confirmation. (Bug#10564)
15883
15884 2013-11-21 Leo Liu <sdl.web@gmail.com>
15885
15886 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15887 Fix obsolete variable comment-use-global-state.
15888
15889 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15890
15891 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15892 Add `octave-source-file'.
15893 (octave-source-file): New function. (Bug#15935)
15894
15895 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15896
15897 * net/eww.el (eww-local-regex): New variable.
15898 (eww): Use it to detect localhost and similar.
15899
15900 2013-11-21 Leo Liu <sdl.web@gmail.com>
15901
15902 Add completion for command `ag'.
15903 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15904 (pcomplete/ag): New function.
15905 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15906
15907 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15908
15909 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15910 (bug#14646).
15911 (make-obsolete): Remove interactive spec.
15912
15913 2013-11-21 Glenn Morris <rgm@gnu.org>
15914
15915 * startup.el (command-line-1): Use path-separator with -L.
15916
15917 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15918
15919 * emacs-lisp/package.el (describe-package-1): Add package archive
15920 to shown fields.
15921
15922 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15923
15924 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15925 Change default to "# encoding: %s" to differentiate it from the
15926 default Ruby encoding comment template.
15927
15928 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15929
15930 * ses.el (ses-mode): Doc fix. (Bug#14748)
15931
15932 2013-11-20 Leo Liu <sdl.web@gmail.com>
15933
15934 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15935
15936 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15937
15938 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15939 when rebase or bisect are in progress.
15940
15941 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15942
15943 * filenotify.el (file-notify-add-watch): Doc fix.
15944
15945 2013-11-19 Leo Liu <sdl.web@gmail.com>
15946
15947 * obsolete/rcompile.el: Mark obsolete.
15948
15949 * progmodes/compile.el (compilation-start)
15950 (compilation-goto-locus, compilation-find-file):
15951 Pass no-display-ok and handle nil value from display-buffer.
15952 (Bug#13594)
15953
15954 * window.el (display-buffer-alist, display-buffer): Document the
15955 new parameter no-display-ok. Return either a window or nil
15956 but never a non-window value.
15957
15958 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15959
15960 * electric.el (electric-indent-mode-map): Remove.
15961 (electric-indent-mode): Change the global-map instead (bug#15915).
15962
15963 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15964 Use add-function.
15965
15966 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15967
15968 * emacs-lisp/nadvice.el (remove-function): Align with
15969 add-function's behavior.
15970
15971 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15972 (gdb--string-regexp): New constant.
15973 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15974 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15975 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15976 submatch 1.
15977 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15978 Adjust use accordingly.
15979 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15980
15981 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15982
15983 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15984 interpolation curlies (Bug#15914).
15985
15986 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15987
15988 * calc/calc.el (calc-context-sensitive-enter): New variable.
15989 (calc-enter): Use `calc-context-sensitive-enter'.
15990
15991 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15992
15993 * progmodes/cfengine.el: Version bump.
15994 (cfengine-cf-promises): New defcustom to locate cf-promises.
15995 (cfengine3-vartypes): Add new "data" type.
15996 (cfengine3--current-word): New function to get current name-like
15997 word or its bounds.
15998 (cfengine3--current-function): New function to look up a CFEngine
15999 function's definition.
16000 (cfengine3-format-function-docstring): New function.
16001 (cfengine3-make-syntax-cache): New function.
16002 (cfengine3-documentation-function): New function: ElDoc glue.
16003 (cfengine3-completion-function): New function: completion glue.
16004 (cfengine3-mode): Set `compile-command',
16005 `eldoc-documentation-function', and add to
16006 `completion-at-point-functions'.
16007
16008 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
16009
16010 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16011 `tramp-current-connection'.
16012
16013 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
16014
16015 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16016 nil/self/true/false with "end of symbol".
16017
16018 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
16019
16020 * subr.el (version-regexp-alist): Fix a typo.
16021
16022 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
16023
16024 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16025 "en_US.utf8" and "LC_CTYPE" to "".
16026 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16027 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16028
16029 2013-11-15 Leo Liu <sdl.web@gmail.com>
16030
16031 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16032
16033 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16034
16035 * progmodes/gud.el (ctl-x-map):
16036 Remove C-x SPC binding. (Bug#12342)
16037 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16038
16039 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16040
16041 * subr.el (version-regexp-alist):
16042 Recognize hg, svn and darcs versions as snapshot versions.
16043
16044 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16045 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16046 (ruby--encoding-comment-required-p): Extract from
16047 `ruby-mode-set-encoding'.
16048 (ruby-mode-set-encoding): Add the ability to always insert an
16049 utf-8 encoding comment. Fix and simplify coding comment update
16050 logic.
16051
16052 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16053
16054 * net/tramp-gvfs.el (top): Run init code only when
16055 `tramp-gvfs-enabled' is not nil.
16056 (tramp-gvfs-enabled): Check also :system bus.
16057
16058 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16059
16060 Sync with upstream verilog-mode revision 78e66ba.
16061 * progmodes/verilog-mode.el (verilog-end-of-defun)
16062 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16063 (verilog-get-end-of-defun): Remove unused argument.
16064 (verilog-comment-depth): Remove unused local `e'.
16065 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16066 Don't pass arg to verilog-get-end-of-defun.
16067
16068 2013-11-14 Glenn Morris <rgm@gnu.org>
16069
16070 * obsolete/assoc.el (aget): Prefix dynamic variable.
16071
16072 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16073
16074 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16075
16076 * widget.el, hfy-cmap.el: Remove bogus package version number.
16077
16078 2013-11-13 Glenn Morris <rgm@gnu.org>
16079
16080 * replace.el (replace-eval-replacement):
16081 Try to give more helpful error message. (Bug#15836)
16082
16083 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16084 (archive-7z-update): Avoid custom type mismatches.
16085
16086 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16087
16088 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16089
16090 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16091 address can be empty.
16092
16093 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16094 Accept nil SWITCHES.
16095 (tramp-gvfs-handle-write-region): Implement APPEND.
16096
16097 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16098
16099 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16100 binary "|" operator and closing block args delimiter.
16101 Remove FIXME comment referring to Ruby 1.8-only syntax.
16102 (ruby-smie--implicit-semi-p): Not after "|" operator.
16103 (ruby-smie--closing-pipe-p): New function.
16104 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16105 (ruby-smie-rules): Indent after "|".
16106
16107 2013-11-12 Glenn Morris <rgm@gnu.org>
16108
16109 * ps-print.el (ps-face-attribute-list):
16110 Handle anonymous faces. (Bug#15827)
16111
16112 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16113
16114 * window.el (display-buffer-other-frame): Fix doc-string.
16115 (Bug#15868)
16116
16117 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16118
16119 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16120
16121 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16122
16123 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16124 (tramp-sh-handle-file-local-copy): Don't write a message when
16125 saving temporary files.
16126
16127 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16128 both directories are remote.
16129 (tramp-smb-handle-directory-files): Do not return double entries.
16130 Do not expand full file names.
16131 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16132 (tramp-smb-handle-write-region): Implement APPEND.
16133 (tramp-smb-get-stat-capability): Fix a stupid bug.
16134
16135 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16136
16137 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16138
16139 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16140
16141 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16142 throwing error over malformed let/let* (bug#15814).
16143
16144 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16145
16146 * iswitchb.el (iswitchb-mode): Mark obsolete.
16147
16148 2013-11-11 Glenn Morris <rgm@gnu.org>
16149
16150 * international/uni-bidi.el, international/uni-category.el:
16151 * international/uni-name.el, international/uni-numeric.el:
16152 Regenerate for Unicode 6.3.0.
16153
16154 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16155
16156 * net/tramp.el (tramp-methods):
16157 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16158 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16159
16160 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16161
16162 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16163 Force highlighting text after Summary keyword in doc face for rpm.
16164
16165 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16166
16167 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16168 available and the word has no wildcards, append one to the grep pattern.
16169 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16170 (ispell-complete-word): Call `ispell-lookup-words' with the value
16171 independent of `ispell-look-p'.
16172
16173 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16174
16175 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16176 Not after "||".
16177 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16178 their parent.
16179
16180 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16183 (ruby-font-lock-keywords): Use backquote.
16184
16185 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16186
16187 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16188 (ruby-smie--backward-token): Only consider full-string matches.
16189
16190 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16191
16192 * faces.el (describe-face): Add distant-foreground.
16193
16194 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16195
16196 * progmodes/ruby-mode.el: Improve encoding comment handling.
16197 (ruby-encoding-magic-comment-style): New option.
16198 (ruby-custom-encoding-magic-comment-template): New option.
16199 (ruby--insert-coding-comment, ruby--detect-encoding):
16200 New functions extracted from `ruby-mode-set-encoding'.
16201 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16202 to control the style of the auto-inserted encoding comment.
16203
16204 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16205
16206 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16207 Use `smie-backward-sexp' with token argument.
16208
16209 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16210
16211 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16212 Remove instrumentation code.
16213
16214 2013-11-08 Glenn Morris <rgm@gnu.org>
16215
16216 * progmodes/autoconf.el (autoconf-mode):
16217 Tweak comment-start-skip. (Bug#15822)
16218
16219 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16220
16221 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16222 at bobp (bug#15826).
16223 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16224
16225 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16226
16227 * man.el (Man-start-calling): New macro, extracted from
16228 Man-getpage-in-background.
16229 (Man-getpage-in-background): Use it.
16230 (Man-update-manpage): New command.
16231 (Man-mode-map): Bind it.
16232
16233 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16234
16235 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16236 of "and", "or", "&&" and "||".
16237 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16238 argument. Prohibit opening curly brace because it could only be a
16239 block opener in that position.
16240 (ruby-smie--forward-token, ruby-smie--backward-token):
16241 Separate "|" from "&" or "*" going after it. That can happen in block
16242 arguments.
16243 (ruby-smie--indent-to-stmt): New function, seeks the end of
16244 previous statement or beginning of buffer.
16245 (ruby-smie-rules): Use it.
16246 (ruby-smie-rules): Check if there's a ":" before a curly block
16247 opener candidate; if there is, it's a hash.
16248
16249 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16252 (cl--block-wrapper): Fix last accidental change.
16253
16254 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16255
16256 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16257 Instrument, in order to hunt failure on hydra.
16258
16259 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16260
16261 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16262 malformed bindings form (bug#15814).
16263
16264 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16265
16266 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16267 "." compared to " @ ". This incidentally fixes some indentation
16268 examples with "do".
16269 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16270 (ruby-smie-grammar): New tokens: "and" and "or".
16271 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16272 Exclude "and" and "or". Remove "do" in order to work around token
16273 priorities.
16274 (ruby-smie-rules): Add all infix tokens. Handle the case of
16275 beginning-of-buffer.
16276
16277 2013-11-06 Glenn Morris <rgm@gnu.org>
16278
16279 * Makefile.in (setwins_almost, setwins_for_subdirs):
16280 Avoid accidental matches.
16281
16282 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16283
16284 * menu-bar.el (popup-menu): Use key-binding.
16285
16286 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16287
16288 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16289 menus, support also the menus produced by minor modes.
16290 (Bug#15817)
16291
16292 2013-11-06 Leo Liu <sdl.web@gmail.com>
16293
16294 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16295 DISTANCE to bound the search. All uses changed. (Bug#15808)
16296
16297 2013-11-06 Glenn Morris <rgm@gnu.org>
16298
16299 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16300 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16301 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16302
16303 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16304
16305 * electric.el (electric-indent-just-newline): New command.
16306 (electric-indent-mode-map): New keymap.
16307 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16308 Re-add :group which weren't redundant.
16309
16310 * electric.el (electric-indent-local-mode): New minor mode.
16311 (electric-indent-functions-without-reindent): New var.
16312 (electric-indent-post-self-insert-function): Use it.
16313 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16314
16315 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16316
16317 * international/quail.el (quail-help): Be more explicit about the
16318 meaning of the labels shown on the keys. (Bug#15800)
16319
16320 * startup.el (normal-top-level): Load the subdirs.el files before
16321 setting the locale environment. (Bug#15805)
16322
16323 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16324
16325 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16326 via arguments so as to get the right ones (bug#15418).
16327
16328 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16329
16330 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16331
16332 Fix problems found while writing a test suite.
16333
16334 * net/tramp-compat.el (tramp-compat-load): New defun.
16335 * net/tramp.el (tramp-handle-load): Use it.
16336
16337 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16338 "(numberp ok-if-already-exists)" correctly.
16339
16340 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16341
16342 * international/characters.el (glyphless-char-display-control):
16343 Add usage note.
16344
16345 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16346
16347 * progmodes/python.el (python-mode):
16348 * progmodes/scheme.el (scheme-mode):
16349 * progmodes/prolog.el (prolog-mode):
16350 * progmodes/ruby-mode.el (ruby-mode):
16351 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16352 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16353
16354 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16355
16356 * rect.el (rectangle--highlight-for-redisplay):
16357 * emacs-lisp/smie.el (smie--next-indent-change):
16358 Use buffer-chars-modified-tick.
16359
16360 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16361
16362 * electric.el (electric-indent-post-self-insert-function):
16363 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16364
16365 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16366
16367 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16368
16369 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16370
16371 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16372 (bug#15786).
16373
16374 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16375
16376 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16377
16378 * progmodes/python.el: Fix up last change.
16379 (python-shell--save-temp-file): New function.
16380 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16381 `string' comes from the current buffer.
16382 (python-shell-send-string-no-output): Remove `msg' arg.
16383 (python--use-fake-loc): New var.
16384 (python-shell-buffer-substring): Obey it. Try to compensate for the
16385 extra coding line added by python-shell--save-temp-file.
16386 (python-shell-send-region): Use python-shell--save-temp-file and
16387 python-shell-send-file directly. Add `nomain' argument.
16388 (python-shell-send-buffer): Use python-shell-send-region.
16389 (python-electric-pair-string-delimiter): New function.
16390 (python-mode): Use it.
16391
16392 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16393
16394 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16395 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16396 environment and decoding all of the default-directory's to here
16397 from command-line.
16398 (command-line): Decode also argv[0].
16399
16400 * loadup.el: Error out if default-directory is a multibyte string
16401 when we are dumping.
16402
16403 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16404
16405 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16406
16407 * emacs-lisp/package.el (package-menu-mode)
16408 (package-menu--print-info, package-menu--archive-predicate):
16409 Add Archive column to package list.
16410
16411 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16412
16413 Fix problems found while writing a test suite.
16414
16415 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16416 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16417 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16418 to nil when running original file name handler. Otherwise,
16419 there are problems with constructs like "$$FOO".
16420
16421 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16422 for `localname'.
16423
16424 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16425
16426 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16427
16428 * subr.el (version<, version<=, version=):
16429 Update docstrings with information for snapshot versions.
16430
16431 * helpers.el: New library for misc helper functions.
16432 (hash-table-keys): New function returning a list of hash keys.
16433 (hash-table-values): New function returning a list of hash values.
16434
16435 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16436
16437 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16438 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16439
16440 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16441
16442 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16443 checking whether point is after a 1-letter word.
16444
16445 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16446
16447 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16448 Don't infloop when expanding region over `multiline' syntax-type that
16449 begins a line (bug#15778).
16450
16451 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16452
16453 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16454 Make it into a proper minor mode.
16455 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16456 (rectangle-mark-mode-map): New keymap.
16457 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16458
16459 2013-11-04 Glenn Morris <rgm@gnu.org>
16460
16461 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16462
16463 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16464
16465 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16466 (ruby-smie-rules): Use smie-rule-parent instead.
16467
16468 * emacs-lisp/smie.el (smie-rule-parent): Always call
16469 smie-indent-virtual rather than only for hanging tokens.
16470 (smie--next-indent-change): New helper command.
16471
16472 2013-11-03 Glenn Morris <rgm@gnu.org>
16473
16474 * Makefile.in (abs_srcdir): Remove.
16475 (emacs): Unset EMACSLOADPATH.
16476
16477 2013-11-02 Glenn Morris <rgm@gnu.org>
16478
16479 * Makefile.in (EMACS): Use a relative filename.
16480 (abs_top_builddir): Remove.
16481 (custom-deps, finder-data, autoloads): Use --chdir.
16482
16483 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16484
16485 Use relative filenames in TAGS files.
16486 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16487 (lisptagsfiles4, TAGS): Use relative file names.
16488 (TAGS-LISP): Remove.
16489 (maintainer-clean): No more TAGS-LISP file.
16490
16491 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16492 (lisptagsfiles4): Use absolute filenames again.
16493 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16494 Remove all *loaddefs files, not just the first. Remove esh-groups.
16495 (maintainer-clean): Delete TAGS, TAGS-LISP.
16496
16497 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16498
16499 * emacs-lisp/package.el (package-version-join):
16500 Recognize snapshot versions.
16501
16502 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16503
16504 * subr.el (version-regexp-alist): Add support for snapshot versions.
16505
16506 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16507
16508 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16509 New function, replacement for `smie-rule-parent' for when we want to
16510 skip over our direct parent if it's an assignment token..
16511 (ruby-smie-rules): Use it.
16512
16513 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16514
16515 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16516 unconditionally. Remove now unnecessary forward declarations.
16517 Remove XEmacs-specific setup.
16518 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16519 (ruby-font-lock-syntactic-keywords)
16520 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16521 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16522 (ruby-here-doc-end-syntax): Remove.
16523 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16524 defined as function.
16525
16526 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16527
16528 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16529
16530 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16531
16532 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16533 table and abbrev table, `define-derived-mode' does that for us
16534 anyway.
16535
16536 2013-11-01 Glenn Morris <rgm@gnu.org>
16537
16538 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16539 files is atomic for some time, so no parallel compilation issues).
16540
16541 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16542
16543 * faces.el (face-x-resources): Add :distant-foreground.
16544 (region): Use :distant-foreground for gtk and ns.
16545
16546 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16547
16548 Allow multiple bibliographies when BibLaTeX is used rather than
16549 BibTeX.
16550 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16551 (reftex-locate-bibliography-files): Us it.
16552
16553 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16554
16555 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16556 allow comments in pbm files.
16557
16558 * term/w32-win.el (dynamic-library-alist): Support newer versions
16559 of libjpeg starting with v7: look only for the DLL from the
16560 version against which Emacs was built.
16561 Support versions of libpng beyond 1.4.x.
16562 Support libtiff v4.x.
16563
16564 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16565
16566 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16567 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16568 Add property :safe.
16569 (ruby-deep-arglist): Add property :type.
16570
16571 2013-10-31 Glenn Morris <rgm@gnu.org>
16572
16573 * Makefile.in (custom-deps, finder-data): No need to setq the target
16574 variables, we are in the right directory and the defaults work fine.
16575
16576 2013-10-30 Glenn Morris <rgm@gnu.org>
16577
16578 * Makefile.in (autoloads): Do not use abs_lisp.
16579
16580 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16581 `newline' does not respect `standard-output', so use `princ'.
16582
16583 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16584
16585 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16586 * buff-menu.el (Buffer-menu--unmark): New function.
16587 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16588
16589 2013-10-30 Glenn Morris <rgm@gnu.org>
16590
16591 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16592
16593 * emacs-lisp/package.el (lm-homepage): Declare.
16594
16595 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16596 Fix doc typos.
16597
16598 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16599
16600 * Makefile.in (finder-data, autoloads, update-subdirs)
16601 (compile-main, compile-clean, compile-always, bootstrap-clean):
16602 Check return value of cd.
16603 (compile-calc): Remove.
16604
16605 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16606
16607 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16608
16609 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16610 (byte-compile-and-folded): New function.
16611 (=, <, >, <=, >=): Use it.
16612
16613 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16614 (path-separator, null-device, buffer-file-coding-system)
16615 (lpr-headers-switches): Check system-type before modifying them.
16616 (find-buffer-file-type-coding-system): Mark obsolete.
16617 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16618 find-file-not-found-set-buffer-file-coding-system.
16619 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16620 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16621 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16622 (w32-direct-print-region-helper, w32-direct-print-region-function)
16623 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16624 * startup.el (normal-top-level-add-subdirs-to-load-path):
16625 * ps-print.el (ps-print-region-function):
16626 * lpr.el (print-region-function): Use new name.
16627
16628 * subr.el (custom-declare-variable-early): Remove function.
16629 (custom-declare-variable-list): Remove var.
16630 (error, user-error): Remove `while' loop.
16631 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16632 (user-emacs-directory-warning, locate-user-emacs-file):
16633 Move to files.el.
16634 * simple.el (read-quoted-char-radix, read-quoted-char):
16635 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16636 Move from subr.el.
16637 * custom.el (custom-declare-variable-list): Don't process
16638 custom-declare-variable-list.
16639
16640 * progmodes/python.el (python-shell-get-buffer): New function.
16641 (python-shell-get-process): Use it.
16642 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16643 Python which encoding was used. Don't split-string since we only care
16644 about the first line. Return the temp-file, if applicable.
16645 (python-shell-send-region): Tell compile.el how to turn locations in
16646 the temp-file into locations in the source buffer.
16647
16648 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16649
16650 * subr.el (undefined): Add missing behavior from the C code for
16651 unbound keys.
16652
16653 * rect.el: Use lexical-binding. Add new rectangular region support.
16654 (rectangle-mark): New command.
16655 (rectangle--region): New var.
16656 (deactivate-mark-hook): Reset rectangle--region.
16657 (rectangle--extract-region, rectangle--insert-for-yank)
16658 (rectangle--highlight-for-redisplay)
16659 (rectangle--unhighlight-for-redisplay): New functions.
16660 (region-extract-function, redisplay-unhighlight-region-function)
16661 (redisplay-highlight-region-function): Use them to handle
16662 rectangular region.
16663 * simple.el (region-extract-function): New var.
16664 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16665 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16666 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16667 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16668 (redisplay-unhighlight-region-function)
16669 (redisplay-highlight-region-function): New vars.
16670 (redisplay--update-region-highlight): New function.
16671 (pre-redisplay-function): Use it.
16672 (exchange-point-and-mark): Don't deactivate the mark before
16673 reactivate-it anyway.
16674 * comint.el (comint-kill-region): Remove yank-handler argument.
16675 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16676 (delete-char): Remove property, since it's now part of their
16677 default behavior.
16678 (self-insert-iso): Remove property since this command doesn't exist.
16679
16680 * emacs-lisp/package.el (package--download-one-archive)
16681 (describe-package-1): Don't query the user about final newline.
16682
16683 2013-10-29 Daniel Colascione <dancol@dancol.org>
16684
16685 * net/tramp.el (tramp-methods): Document new functionality.
16686 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16687 tramp-hostname-checker if method provides one instead of scanning
16688 argument list for "%h" to decide hostname acceptability.
16689
16690 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16691
16692 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16693 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16694 Handle COPY-CONTENTS. (Bug#15737)
16695
16696 2013-10-28 Daiki Ueno <ueno@gnu.org>
16697
16698 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16699 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16700
16701 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16702
16703 * image.el (defimage, image-load-path): Doc fixes.
16704
16705 2013-10-27 Alan Mackenzie <acm@muc.de>
16706
16707 Indent statements in macros following "##" correctly.
16708 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16709 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16710
16711 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16712
16713 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16714
16715 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16716
16717 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16718 after `=' is probably a new expression.
16719
16720 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16721
16722 * man.el (man-imenu-title): New option.
16723 (Man-mode-map): Add menu. (Bug#15722)
16724 (Man-mode): Add imenu to menu.
16725
16726 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16727
16728 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16729 specific in what the first arg can be: a non-keyword word,
16730 string/regexp/percent literal opener, opening paren, or unary
16731 operator followed directly by word.
16732
16733 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16736 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16737 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16738 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16739 Remove vars, they do not apply any more.
16740 (prolog-mode-abbrev-table): Remove redundant declaration.
16741 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16742 (prolog-use-smie): Remove.
16743 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16744 supported by prolog-electric-if-then-else-flag.
16745 (prolog-mode-variables, prolog-menu): Use setq-local.
16746 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16747 Remove binding to `Backspace' since this key doesn't exist anyway.
16748 Remove bindings for electric self-inserting keys.
16749 (prog-mode): Assume it's defined.
16750 (prolog-post-self-insert): New function.
16751 (prolog-mode): Use it.
16752 (prolog-indent-line, prolog-indent-level)
16753 (prolog-find-indent-of-matching-paren)
16754 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16755 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16756 (prolog-goto-next-paren, prolog-in-string-or-comment)
16757 (prolog-tokenize, prolog-inside-mline-comment)
16758 (prolog-find-start-of-mline-comment): Remove functions.
16759 (prolog-find-unmatched-paren, prolog-clause-end)
16760 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16761 (prolog-electric--if-then-else): Rename from
16762 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16763 (prolog-tokenize-searchkey): Remove const.
16764 (prolog-clause-info): Use forward-sexp.
16765 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16766 (prolog-electric-if-then-else): Remove commands.
16767 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16768 for use in post-self-insert-hook.
16769 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16770 for use in post-self-insert-hook.
16771 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16772 for use in post-self-insert-hook.
16773 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16774 adapt it for use in post-self-insert-hook.
16775
16776 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16777
16778 * emacs-lisp/ert.el (ert-run-tests-interactively):
16779 Use `completing-read'. (Bug#9756)
16780
16781 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16782
16783 * simple.el (line-move): Call line-move-1 instead of
16784 line-move-visual when the current window hscroll is zero, but
16785 temporary-goal-column indicates we will need to hscroll as result
16786 of the movement. (Bug#15712)
16787
16788 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16789
16790 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16791 capitalization. Use :visible instead of :active.
16792 Fix `ruby-indent-exp' reference. Add menu items for the generic
16793 commands that are used with SMIE.
16794 (ruby-do-end-to-brace): Insert space after `{'.
16795
16796 2013-10-25 John Anthony <john@jo.hnanthony.com>
16797
16798 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16799
16800 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16801
16802 2013-10-25 Glenn Morris <rgm@gnu.org>
16803
16804 * vc/vc.el (vc-print-log): Don't use a working revision unless
16805 one was explicitly specified. (Bug#15322)
16806
16807 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * subr.el (add-to-list): Preserve return value in compiler-macro
16810 (bug#15692).
16811
16812 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16813
16814 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16815 result. Ask user to retry using '-all' flag. (Bug#15701)
16816
16817 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * emacs-lisp/smie.el: New smie-config system.
16820 (smie-config): New defcustom.
16821 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16822 (smie-config-guess, smie-config-save): New commands.
16823 (smie-config--mode-local, smie-config--buffer-local)
16824 (smie-config--trace, smie-config--modefuns): New vars.
16825 (smie-config--advice, smie-config--mode-hook)
16826 (smie-config--setter, smie-config-local, smie-config--get-trace)
16827 (smie-config--guess-value, smie-config--guess): New functions.
16828 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16829 text properties. Treat "string fence" syntax like string syntax.
16830
16831 * progmodes/sh-script.el (sh-use-smie): Change default.
16832 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16833 (sh-var-value): Simplify by CSE.
16834 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16835 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16836 is used.
16837 (sh-guess-basic-offset): Use cl-incf.
16838 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16839
16840 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16841
16842 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16843 (bug#15699).
16844
16845 2013-10-24 Glenn Morris <rgm@gnu.org>
16846
16847 * Makefile.in (abs_top_srcdir): Remove.
16848 (update-subdirs): Use relative path to update-subdirs.
16849
16850 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16851
16852 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16853 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16854 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16855 Call unmsys--file-name before expand-file-name, not after it.
16856
16857 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16858
16859 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16860 (ert-test-skipped): New error.
16861 (ert-skip, ert-stats-skipped): New defuns.
16862 (ert--skip-unless): New macro.
16863 (ert-test-skipped): New struct.
16864 (ert--run-test-debugger, ert-test-result-type-p)
16865 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16866 (ert--stats-set-test-and-result, ert-char-for-test-result)
16867 (ert-string-for-test-result, ert-run-tests-batch)
16868 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16869 Handle skipped tests. (Bug#9803)
16870
16871 2013-10-24 Glenn Morris <rgm@gnu.org>
16872
16873 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16874
16875 * Makefile.in (abs_top_srcdir): New, set by configure.
16876 (update-subdirs): Correct build-aux location.
16877
16878 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16879
16880 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16881 value, whether we could auto-deduce `backend', or not.
16882
16883 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16884 with parameters" example. Simplify the "is it block or is it
16885 hash" check, but also make it more thorough.
16886
16887 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16888
16889 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16890
16891 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16892
16893 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16894 { if it is hanging.
16895
16896 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16897 :before ";".
16898
16899 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16900
16901 * progmodes/compile.el (compilation-directory-matcher)
16902 (compilation-page-delimiter):
16903 Support GNU Make-4.0 directory quoting. (Bug#15678)
16904
16905 2013-10-23 Leo Liu <sdl.web@gmail.com>
16906
16907 * ido.el (ido-tidy): Handle read-only text.
16908
16909 2013-10-23 Glenn Morris <rgm@gnu.org>
16910
16911 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16912 (emacs, compile, compile-always):
16913 Quote entities that might contain whitespace.
16914 (custom-deps, finder-data, autoloads): Use abs_lisp.
16915 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16916 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16917 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16918
16919 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16920
16921 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16922 Use `following-char'.
16923
16924 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16925
16926 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16927 * progmodes/ruby-mode.el (ruby-smie-rules):
16928 Remove corresponding workaround. Fix indentation rule of ";" so it
16929 also applies when ";" is the parent.
16930
16931 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16932
16933 * frame.el (display-screens, display-pixel-height)
16934 (display-pixel-width, display-mm-width, display-backing-store)
16935 (display-save-under, display-planes, display-color-cells)
16936 (display-visual-class, display-monitor-attributes-list):
16937 Mention the optional ‘display’ argument in doc strings.
16938
16939 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16940
16941 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16942 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16943
16944 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16945
16946 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16947 TODO. Add "." after " @ ".
16948 (ruby-smie--at-dot-call): New function. Checks if point at method
16949 call with explicit target.
16950 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16951 to the method name tokens when it precedes them.
16952 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16953 (ruby-smie-rules): Add rule for indentation before and after "."
16954 token.
16955
16956 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16957
16958 * textmodes/remember.el (remember-diary-extract-entries):
16959 Avoid add-to-list.
16960
16961 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16962 an instruction.
16963
16964 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16965
16966 * progmodes/ruby-mode.el (ruby-smie-grammar):
16967 Add (almost) all infix operators.
16968 (ruby-smie--implicit-semi-p): Add new operator chars.
16969
16970 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16971 `smie-down-list'.
16972 (ruby-smie--args-separator-p): Check that there's no newline
16973 between method call and its arguments.
16974
16975 2013-10-20 Alan Mackenzie <acm@muc.de>
16976
16977 Allow comma separated lists after Java "implements".
16978
16979 * progmodes/cc-engine.el (c-backward-over-enum-header):
16980 Parse commas.
16981 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16982 from a "disallowed" list in enum fontification.
16983
16984 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16985
16986 * startup.el (default-frame-background-mode): Remove unused defvar.
16987
16988 * progmodes/verilog-mode.el (verilog-mode): Don't set
16989 comment-indent-function globally.
16990
16991 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16992
16993 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16994 Move Info menu item creation to ns-win.el.
16995
16996 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16997 in menu bar.
16998
16999 * menu-bar.el: Move GNUstep specific menus...
17000
17001 * term/ns-win.el (ns-initialize-window-system): ... to here.
17002
17003 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17004
17005 * simple.el (newline): Only run post-self-insert-hook when
17006 called interactively.
17007
17008 2013-10-19 Johan Bockgård <bojohan@gnu.org>
17009
17010 * icomplete.el (icomplete-with-completion-tables): Add :version.
17011
17012 2013-10-19 Alan Mackenzie <acm@muc.de>
17013
17014 Fix fontification bugs with constructors and const.
17015
17016 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17017 CASE 2) Remove the check for the absence of a suffix construct
17018 after a function declaration with only types (no identifiers) in
17019 the parentheses. Also, accept a function declaration with just a
17020 type inside the parentheses, if this type can be positively
17021 recognised as such, or if a prefix keyword like "explicit" nails
17022 down the construct as a declaration.
17023
17024 2013-10-19 Eli Zaretskii <eliz@gnu.org>
17025
17026 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17027 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
17028 the problem whereby selecting a menu item that leads to a
17029 minibuffer prompt moves the cursor out of the minibuffer window,
17030 making it hard to type at the prompt. Suggested by Stefan Monnier
17031 <monnier@iro.umontreal.ca>.
17032
17033 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17034
17035 * menu-bar.el: Don't make Services menu.
17036
17037 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17038
17039 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17040 (ffap-alist): Use ffap-c++-mode for c++-mode.
17041 (ffap-c++-path): New variable.
17042 (ffap-c++-mode): New function.
17043
17044 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17045
17046 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17047
17048 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17049
17050 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17051 introduced on 2013-09-08, which results in an infinite loop
17052 requesting a password.
17053
17054 2013-10-18 Glenn Morris <rgm@gnu.org>
17055
17056 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17057
17058 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17059
17060 Sync with upstream verilog-mode revision 1a6ecec7.
17061 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17062 (verilog-mode-release-date): Remove.
17063 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17064 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17065 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17066 (verilog-auto-tieoff-ignore-regexp)
17067 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17068 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17069 (verilog-signals-with, verilog-dir-cache-preserving)
17070 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17071 Doc fixes.
17072 (verilog-case-fold): New option, to control case folding in
17073 regexp searches, bug597.
17074 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17075 (verilog-string-match-fold, verilog-in-paren-count)
17076 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17077 (verilog-at-close-struct-p): New functions.
17078 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17079 (verilog-forward-sexp, verilog-set-auto-endcomments)
17080 (verilog-leap-to-case-head): Handle "unique0" case.
17081 (verilog-in-constraint-re): New constant.
17082 (verilog-keywords, verilog-type-font-keywords):
17083 Add some SystemVerilog 1800-2012 keywords.
17084 (verilog-label-be): Remove unimplemented argument, bug669.
17085 (verilog-batch-execute-func): When batch expanding clear
17086 create-lockfiles to prevent spurious user locks when a file ends
17087 up not changing.
17088 (verilog-calculate-indent, verilog-calc-1)
17089 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17090 (verilog-do-indent): Fix indentation of nested constraints
17091 and structures.
17092 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17093 (verilog-auto-inst-param): Use verilog-string-match-fold.
17094 (verilog-read-inst-module-matcher):
17095 Fix AUTOINST on gate primitives with #1.
17096 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17097 Reads all user-defined typed variables.
17098 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17099 (verilog-signals-matching-regexp)
17100 (verilog-signals-not-matching-regexp, verilog-auto):
17101 Respect verilog-case-fold.
17102 (verilog-diff-report): Fix line count.
17103 (verilog-auto-assign-modport): Remove unused local `modi'.
17104 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17105 better handle multidimensional arrays.
17106 Fix packed array ports misadding bit index in AUTOINST, bug637.
17107 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17108 to not double-declare existing outputs and inputs, respectively.
17109 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17110 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17111 (verilog-sk-uvm-component): New skeleton.
17112 (verilog-submit-bug-report): Add verilog-case-fold,
17113 remove verilog-mode-release-date.
17114
17115 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17116
17117 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17118 as before.
17119
17120 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17121
17122 * textmodes/remember.el (remember): Set buffer-offer-save in
17123 remember buffers (bug#13566).
17124
17125 2013-10-18 Daniel Colascione <dancol@dancol.org>
17126
17127 When evaluating forms in ielm, direct standard output to ielm
17128 buffer. Add new ielm-return-for-effect command. Remove trailing
17129 whitespace throughout.
17130
17131 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17132 (ielm-return-for-effect): New command.
17133 (ielm-send-input): Accept optional `for-effect' parameter.
17134 (ielm-eval-input): Accept optional `for-effect' parameter.
17135 Bind `standard-output' to stream we create using
17136 `ielm-standard-output-impl'. Suppress printing result when
17137 `for-effect'.
17138 (ielm-standard-output-impl): New function.
17139 (inferior-emacs-lisp-mode): Explain new features in documentation.
17140
17141 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17142
17143 Code cleanup.
17144
17145 * net/tramp.el (tramp-debug-message): Do not check for connection
17146 buffer.
17147 (tramp-message): Use "vector" connection property.
17148
17149 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17150 (tramp-equal-remote, tramp-eshell-directory-change)
17151 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17152 (tramp-adb-handle-rename-file)
17153 * net/tramp-cmds.el (tramp-list-remote-buffers)
17154 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17155 * net/tramp-compat.el (tramp-compat-process-running-p)
17156 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17157 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17158 (tramp-gvfs-handle-rename-file)
17159 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17160 (tramp-set-file-uid-gid)
17161 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17162 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17163 of `file-remote-p'.
17164
17165 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17166 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17167 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17168 (tramp-gw-open-network-stream): Suppress unrelated traces.
17169
17170 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17171 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17172 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17173 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17174 connection property.
17175
17176 * net/tramp-cache.el (top): Suppress traces when reading
17177 persistency file.
17178
17179 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17180 Refactor common code. Improve debug message.
17181 (tramp-maybe-open-connection)
17182 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17183 connection buffer too early.
17184
17185 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17186 from `tramp-smb-actions-with-acl'.
17187 (tramp-smb-actions-set-acl): New defconst.
17188 (tramp-smb-handle-copy-directory)
17189 (tramp-smb-action-get-acl): New defun, renamed from
17190 `tramp-smb-action-with-acl'.
17191 (tramp-smb-action-set-acl): New defun.
17192 (tramp-smb-handle-set-file-acl): Rewrite.
17193
17194 2013-10-17 Glenn Morris <rgm@gnu.org>
17195
17196 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17197
17198 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17199
17200 * skeleton.el (skeleton-newline): Remove.
17201 (skeleton-internal-1): Use (insert "\n") instead.
17202
17203 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17204 let-bindings.
17205
17206 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17207 forward-sexp-function while we redo its job (bug#15613).
17208
17209 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17210
17211 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17212 represented by lists.
17213
17214 2013-10-16 Glenn Morris <rgm@gnu.org>
17215
17216 * tmm.el (tmm--history): New dynamic variable.
17217 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17218
17219 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17220
17221 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17222 (tramp-smb-errors): Add error messages.
17223 (tramp-smb-actions-with-acl): New defconst.
17224 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17225 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17226 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17227 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17228 (tramp-smb-get-stat-capability): Fix tests.
17229
17230 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17231
17232 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17233 (bug#15580).
17234
17235 2013-10-16 Glenn Morris <rgm@gnu.org>
17236
17237 * ansi-color.el (ansi-color-drop-regexp):
17238 Add 1J, 1K, 2K. (Bug#15617)
17239
17240 * files.el (hack-local-variables--warned-lexical): New.
17241 (hack-local-variables):
17242 Warn about misplaced lexical-binding. (Bug#15616)
17243
17244 * net/eww.el (eww-render): Always set eww-current-url,
17245 and update header line. (Bug#15622)
17246 (eww-display-html): ... Rather than just doing it here.
17247
17248 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17249
17250 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17251 menu navigations commands.
17252
17253 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17254
17255 * progmodes/subword.el (subword-capitalize): Be careful when
17256 the search for [[:alpha:]] fails (bug#15580).
17257
17258 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17259
17260 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17261 to commands that scroll the menu.
17262
17263 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17264
17265 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17266 Handle methods ending with `?' and `!'.
17267
17268 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17269
17270 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17271 `japanese-cp932' to `cp932' to fix the problem where saving a
17272 source file written in Shift_JIS twice would end up having
17273 `coding: japanese-cp932' which Ruby could not recognize.
17274 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17275 in `ruby-encoding-map'.
17276 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17277 doesn't need to be explicitly declared in magic comment.
17278 (ruby-encoding-map): Add type declaration for better customize UI.
17279
17280 2013-10-13 Glenn Morris <rgm@gnu.org>
17281
17282 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17283 Occur buffers are read-only. http://bugs.debian.org/720775
17284
17285 * emacs-lisp/authors.el (authors-fixed-entries):
17286 Comment out old alpha stuff.
17287
17288 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17289
17290 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17291 to `after-save-hook' instead of `before-save-hook'.
17292 (ruby-mode-set-encoding): Use the value of coding system used to
17293 write the file. Call `basic-save-buffer-1' after modifying the
17294 buffer.
17295
17296 2013-10-13 Alan Mackenzie <acm@muc.de>
17297
17298 Fix indentation/fontification of Java enum with
17299 "implements"/generic.
17300
17301 * progmodes/cc-engine.el (c-backward-over-enum-header):
17302 Extracted from the three other places and enhanced to handle generics.
17303 (c-inside-bracelist-p): Uses new function above.
17304 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17305 function above.
17306 (c-font-lock-enum-tail): Uses new function above.
17307
17308 2013-10-13 Kenichi Handa <handa@gnu.org>
17309
17310 * international/mule-cmds.el (select-safe-coding-system): Remove a
17311 superfluous condition in chekcing whether a coding system is safe
17312 or not.
17313
17314 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17315
17316 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17317
17318 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17319
17320 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17321
17322 2013-10-13 Glenn Morris <rgm@gnu.org>
17323
17324 * menu-bar.el (menu-bar-update-buffers):
17325 Unify Buffers menu prompt string. (Bug#15576)
17326
17327 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17328
17329 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17330 Add some entries.
17331 (authors-fixed-entries): Use accented form of name.
17332
17333 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17334
17335 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17336 method calls (bug#15594).
17337 (ruby-smie--args-separator-p): New function.
17338 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17339 recognize paren-free method calls.
17340
17341 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17342 internals of universal-argument.
17343
17344 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17345
17346 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17347 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17348 dropped menu on second mouse click on the menu bar.
17349
17350 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17351
17352 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17353 (explicit-shell-file-name): Declare.
17354 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17355 (sh-completion-at-point-function): New function.
17356 (sh-mode): Use it.
17357 (sh-smie--keyword-p): Remove unused argument.
17358 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17359 vars.
17360 (sh-set-shell): Always setup SMIE, even if we use the
17361 old indentation code.
17362
17363 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17364
17365 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17366 cases of ? and =.
17367 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17368 predicate would return nil are almost non-existent.
17369 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17370
17371 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17372 cache also after commands that modify the buffer but don't move
17373 point.
17374
17375 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17376
17377 * env.el (substitute-env-in-file-name): New function.
17378 (substitute-env-vars): Extend the meaning of the optional arg.
17379
17380 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17381
17382 * term/w32-win.el (dynamic-library-alist): Define separate lists
17383 of GIF DLLs for versions before and after 5.0.0 of giflib.
17384 (Bug#15531)
17385
17386 2013-10-10 João Távora <joaotavora@gmail.com>
17387
17388 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17389 not locked, use last revision and current source as
17390 defaults. (Bug#15569)
17391
17392 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17393
17394 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17395 menu-bar is hidden.
17396
17397 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17398
17399 * window.el (pop-to-buffer-same-window): Fix doc-string.
17400 (Bug#15492)
17401
17402 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17403
17404 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17405
17406 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17407
17408 * calendar/icalendar.el (icalendar-import-file):
17409 Fix interactive spec. (Bug#15482)
17410
17411 2013-10-10 Glenn Morris <rgm@gnu.org>
17412
17413 * desktop.el (desktop-save): Default to saving in .emacs.d,
17414 since PWD is no longer in desktop-path by default. (Bug#15319)
17415
17416 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17417 now that text mode has a menu with the same entry.
17418 (menu-bar-text-mode-auto-fill): Remove now unused func.
17419 * textmodes/text-mode.el (text-mode-map):
17420 Use auto-fill help text from menu-bar.el.
17421
17422 2013-10-10 John Anthony <john@jo.hnanthony.com>
17423
17424 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17425
17426 2013-10-09 Juri Linkov <juri@jurta.org>
17427
17428 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17429 instead of this-command-keys. Add universal-argument-more and
17430 universal-argument-minus to the list of prefix commands. (Bug#15568)
17431
17432 2013-10-09 Glenn Morris <rgm@gnu.org>
17433
17434 * vc/vc-svn.el (vc-svn-create-repo):
17435 Expand paths in file://... url. (Bug#15446)
17436
17437 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17438 Add some entries.
17439 (authors): Remove unused local variables.
17440
17441 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17442
17443 * profiler.el: Create a more coherent calltree from partial backtraces.
17444 (profiler-format): Hide the tail with `invisible' so that C-s can still
17445 find the hidden elements.
17446 (profiler-calltree-depth): Don't recurse so enthusiastically.
17447 (profiler-function-equal): New hash-table-test.
17448 (profiler-calltree-build-unified): New function.
17449 (profiler-calltree-build): Use it.
17450 (profiler-report-make-name-part): Indent the calltree less.
17451 (profiler-report-mode): Add visibility specs for profiler-format.
17452 (profiler-report-expand-entry, profiler-report-toggle-entry):
17453 Expand the whole subtree when provided with a prefix arg.
17454
17455 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17456
17457 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17458 iuwu-mod token.
17459 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17460 hanging iuwu-mod token.
17461 (ruby-smie--forward-token): Do not include a dot after a token in
17462 that token.
17463 (ruby-smie--backward-token): Likewise.
17464
17465 2013-10-08 Juri Linkov <juri@jurta.org>
17466
17467 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17468 to isearch-other-control-char.
17469 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17470 and isearch-post-command-hook to post-command-hook.
17471 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17472 and isearch-post-command-hook from post-command-hook.
17473 (isearch-unread-key-sequence)
17474 (isearch-reread-key-sequence-naturally)
17475 (isearch-lookup-scroll-key, isearch-other-control-char)
17476 (isearch-other-meta-char): Remove functions.
17477 (isearch-pre-command-hook, isearch-post-command-hook):
17478 New functions based on isearch-other-meta-char rewritten
17479 relying on the new behavior of overriding-terminal-local-map
17480 that does not replace the local keymaps any more. (Bug#15200)
17481
17482 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17483
17484 Support menus on text-mode terminals.
17485 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17486 functionality.
17487
17488 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17489
17490 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17491 Move here from mouse.el.
17492 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17493 and arrow keys.
17494 (tty-menu-navigation-map): New map for TTY menu navigation.
17495
17496 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17497
17498 * frame.el (display-mouse-p): Report text-mode mouse as available
17499 on w32.
17500 (display-popup-menus-p): Report availability if mouse is
17501 available; don't condition on window-system.
17502
17503 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17504 (tty-menu-selected-face): New faces.
17505
17506 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17507
17508 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17509 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17510 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17511 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17512 New constants.
17513 (lisp-mode-variables): New `elisp' argument.
17514 (emacs-lisp-mode): Use it.
17515 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17516 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17517
17518 * indent.el: Use lexical-binding.
17519 (indent-region): Add progress reporter.
17520 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17521 last step.
17522 (indent--next-tab-stop): New function to implement this behavior.
17523 (tab-to-tab-stop, move-to-tab-stop): Use it.
17524
17525 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17526
17527 * indent.el (indent-rigidly--current-indentation): New function.
17528 (indent-rigidly-map): New var.
17529 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17530
17531 2013-10-08 Bastien Guerry <bzg@gnu.org>
17532
17533 * register.el (insert-register): Fix 2013-10-07 change.
17534
17535 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17536
17537 * progmodes/perl-mode.el: Use lexical-binding.
17538 Remove redundant :group args.
17539 (perl-nochange): Change default to be closer to other major modes's
17540 standard behavior.
17541 (perl-indent-line): Don't consider text on current line as a
17542 valid beginning of function from which to indent.
17543
17544 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17545 with more than one argument (bug#15538).
17546
17547 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17548
17549 * vc/pcvs.el: Use lexical-binding.
17550 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17551 environment of `eval'.
17552 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17553 than a list of expressions. Adjust callers.
17554 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17555
17556 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17557
17558 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17559 case of the dot in a chained method call being on the following line.
17560
17561 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17562
17563 * electric.el (electric-indent-inhibit): New var.
17564 (electric-indent-post-self-insert-function): Use it.
17565 * progmodes/python.el (python-mode): Set it.
17566
17567 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17568 open braces.
17569
17570 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17571
17572 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17573 (css-mode): Use electric-indent-chars.
17574
17575 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17576 (font-lock-beg, font-lock-end): Move before first use.
17577 (nxml-mode): Use syntax-propertize-function.
17578 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17579 (nxml-extend-after-change-region): Remove.
17580 * nxml/xmltok.el: Use lexical-binding.
17581 (xmltok-save): Use `declare'.
17582 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17583 * nxml/nxml-util.el: Use lexical-binding.
17584 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17585 Use `declare'.
17586 * nxml/nxml-ns.el: Use lexical-binding.
17587 (nxml-ns-save): Use `declare'.
17588 (nxml-ns-prefixes-for): Avoid add-to-list.
17589 * nxml/rng-match.el: Use lexical-binding.
17590 (rng--ipattern): Use cl-defstruct.
17591 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17592 (rng-cons-group-after, rng-subst-group-after)
17593 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17594 Use closures instead of `(lambda...).
17595
17596 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17597
17598 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17599 of BEG and END.
17600
17601 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17602 Use `tramp-handle-insert-file-contents'.
17603 (tramp-gvfs-handle-insert-file-contents): Remove function.
17604
17605 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17606 Use `save-restriction' in order to keep markers.
17607
17608 * net/trampver.el: Update release number.
17609
17610 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 * progmodes/compile.el (compilation-parse-errors):
17613 Use compilation--put-prop.
17614 (compilation--ensure-parse): Check compilation-multiline.
17615
17616 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17617
17618 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17619 lexical-binding.
17620
17621 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17622
17623 * progmodes/ruby-mode.el: Fix recently added tests.
17624 (ruby-smie-grammar): Add - and +.
17625 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17626 (ruby-smie--backward-id): New functions.
17627 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17628 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17629 any more.
17630
17631 2013-10-07 Leo Liu <sdl.web@gmail.com>
17632
17633 * register.el (register-preview-delay)
17634 (register-preview-functions): New variables.
17635 (register-read-with-preview, register-preview)
17636 (register-describe-oneline): New functions.
17637 (point-to-register, window-configuration-to-register)
17638 (frame-configuration-to-register, jump-to-register)
17639 (number-to-register, view-register, insert-register)
17640 (copy-to-register, append-to-register, prepend-to-register)
17641 (copy-rectangle-to-register): Use register-read-with-preview to
17642 read register. (Bug#15525)
17643
17644 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17645
17646 * net/network-stream.el (network-stream-open-starttls): Don't add
17647 --insecure if it's already present, because that gnutls-cli
17648 rejects getting that parameter twice.
17649
17650 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17651
17652 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17653 keyword, too.
17654
17655 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17656
17657 * newcomment.el (comment-use-global-state): Change default value
17658 to t, mark obsolete (Bug#15251).
17659 (comment-beginning): In addition to `comment-to-syntax', check the
17660 value of `comment-use-global-state'.
17661
17662 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17663
17664 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17665 (ruby-comment-column): Follow the global default, by default.
17666 (ruby-smie-grammar): Add assignment syntax.
17667 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17668 open-paren, a comma, or a \.
17669 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17670 and line continuations.
17671 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17672 followed by implicit semi-colons. Add rule for string concatenation
17673 and for indentation at BOB.
17674 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17675
17676 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17677 calling next-sexp, since next-token may have skipped chars which
17678 next-sexp doesn't know should be skipped!
17679
17680 2013-10-05 Leo Liu <sdl.web@gmail.com>
17681
17682 * progmodes/octave.el (octave-send-region):
17683 Call compilation-forget-errors.
17684
17685 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17686
17687 * vc/vc-svn.el (vc-svn-find-admin-dir):
17688 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17689 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17690 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17691 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17692
17693 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17694
17695 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17696
17697 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17698
17699 * subr.el (read-passwd): Hide chars even when called within a context
17700 where after-change-functions is disabled (bug#15501).
17701 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17702 until we removed ourself from overriding-terminal-local-map.
17703
17704 2013-10-04 Leo Liu <sdl.web@gmail.com>
17705
17706 * progmodes/octave.el (inferior-octave-mode):
17707 Call compilation-forget-errors.
17708
17709 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17710
17711 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17712
17713 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17714
17715 * net/secrets.el (secrets-create-collection): Add optional
17716 argument ALIAS. Use proper Label keyword. Append ALIAS as
17717 dbus-call-method argument. (Bug#15516)
17718
17719 2013-10-04 Leo Liu <sdl.web@gmail.com>
17720
17721 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17722 (inferior-octave-compilation-font-lock-keywords): New variables.
17723 (compilation-error-regexp-alist)
17724 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17725 (inferior-octave-mode): Use compilation-shell-minor-mode.
17726
17727 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17728
17729 * minibuffer.el (completion--replace): Be careful that `end' might be
17730 a marker.
17731
17732 2013-10-03 Daiki Ueno <ueno@gnu.org>
17733
17734 Add support for package signature checking.
17735 * emacs-lisp/package.el (url-http-file-exists-p)
17736 (epg-make-context, epg-context-set-home-directory)
17737 (epg-verify-string, epg-context-result-for)
17738 (epg-signature-status, epg-signature-to-string)
17739 (epg-check-configuration, epg-configuration)
17740 (epg-import-keys-from-file): Declare.
17741 (package-check-signature): New user option.
17742 (package-unsigned-archives): New user option.
17743 (package-desc): Add `signed' field.
17744 (package-load-descriptor): Set `signed' field if .signed file exists.
17745 (package--archive-file-exists-p): New function.
17746 (package--check-signature): New function.
17747 (package-install-from-archive): Check package signature.
17748 (package--download-one-archive): Check archive signature.
17749 (package-delete): Remove .signed file.
17750 (package-import-keyring): New command.
17751 (package-refresh-contents): Import default keyring.
17752 (package-desc-status): Add "unsigned" status.
17753 (describe-package-1, package-menu--print-info)
17754 (package-menu-mark-delete, package-menu--find-upgrades)
17755 (package-menu--status-predicate): Support "unsigned" status.
17756
17757 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17758
17759 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17760 the new compilation scheme using the new byte-codes.
17761
17762 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17763 (byte-pophandler): New byte codes.
17764 (byte-goto-ops): Adjust accordingly.
17765 (byte-compile--use-old-handlers): New var.
17766 (byte-compile-catch): Use new byte codes depending on
17767 byte-compile--use-old-handlers.
17768 (byte-compile-condition-case--old): Rename from
17769 byte-compile-condition-case.
17770 (byte-compile-condition-case--new): New function.
17771 (byte-compile-condition-case): New function that dispatches depending
17772 on byte-compile--use-old-handlers.
17773 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17774 when we can.
17775
17776 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17777 Optimize under `condition-case' and `catch' if
17778 byte-compile--use-old-handlers is nil.
17779 (disassemble-offset): Handle new bytecodes.
17780
17781 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17782
17783 * subr.el (error): Use `declare'.
17784 (decode-char, encode-char): Use advertised-calling-convention instead
17785 of the docstring to discourage use of the `restriction' arg.
17786
17787 2013-10-03 Daiki Ueno <ueno@gnu.org>
17788
17789 * epg.el (epg-verify-file): Add a comment saying that it does not
17790 notify verification error as a return value nor a signal.
17791 (epg-verify-string): Ditto.
17792
17793 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17794
17795 * progmodes/compile.el (compilation-start): Try globbing the arg to
17796 `cd' (bug#15417).
17797
17798 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17799
17800 Sync with Tramp 2.2.8.
17801
17802 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17803 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17804 * net/trampver.el: Update release number.
17805
17806 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17807
17808 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17809 and default-process-coding-system for darwin only.
17810
17811 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17812
17813 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17814
17815 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17816
17817 * vc/vc-git.el (vc-git-grep): Disable pager.
17818
17819 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17820
17821 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17822 Use :url instead of :homepage, as per
17823 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17824
17825 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17826 non-nil, use `syntax-ppss' (Bug#15251).
17827
17828 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17829
17830 * progmodes/octave.el (inferior-octave-startup-file):
17831 Prefer ~/.emacs.d/init_octave.m.
17832
17833 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17834
17835 * emacs-lisp/package.el (package-desc-from-define):
17836 Accept additional arguments as plist, convert them to an alist and store
17837 them in the `extras' slot.
17838 (package-generate-description-file): Convert extras alist back to
17839 plist and append to the `define-package' form arguments.
17840 (package--alist-to-plist): New function.
17841 (package--ac-desc): Add `extras' slot.
17842 (package--add-to-archive-contents): Check if the archive-contents
17843 vector is long enough, and if it is, pass its `extras' slot value
17844 to `package-desc-create'.
17845 (package-buffer-info): Call `lm-homepage', pass the returned value
17846 to `package-desc-from-define'.
17847 (describe-package-1): Render the homepage button (Bug#13291).
17848
17849 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17850 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17851
17852 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17853
17854 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17855 and default-process-coding-system to utf-8-unix (Bug#15402).
17856
17857 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17858
17859 * subr.el (looking-back): Do not recommend using looking-back.
17860
17861 2013-09-28 Alan Mackenzie <acm@muc.de>
17862
17863 Fix indentation/fontification of Java enum with "implements".
17864
17865 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17866 regexp which matches "implements", etc., in Java.
17867 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17868 specifier clauses coming after "enum".
17869 * progmodes/cc-fonts.el (c-font-lock-declarations)
17870 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17871 after "enum".
17872
17873 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17874
17875 * faces.el (region): Change ns_selection_color to
17876 ns_selection_fg_color, add ns_selection_bg_color.
17877
17878 2013-09-28 Leo Liu <sdl.web@gmail.com>
17879
17880 * progmodes/octave.el (inferior-octave-completion-table)
17881 (inferior-octave-completion-at-point): Minor tweaks.
17882
17883 * textmodes/ispell.el (ispell-lookup-words): Rename from
17884 lookup-words. (Bug#15460)
17885 (lookup-words): Obsolete.
17886 (ispell-complete-word, ispell-command-loop): All uses changed.
17887
17888 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17889
17890 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17891 (octave-mode-menu): Add octave-send-buffer.
17892 (octave-send-buffer): New function.
17893
17894 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17895
17896 * progmodes/octave.el (octave-mode-map): Add key binding for
17897 octave-lookfor.
17898 (octave-mode-menu): Add octave-lookfor.
17899 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17900 octave-lookfor.
17901 (octave-lookfor): New function.
17902
17903 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17904
17905 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17906 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17907 its convention.
17908 (cl--loop-set-iterator-function): New function.
17909 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17910 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17911 Bind `it' with `let' instead of substituting it with `cl-subst'.
17912 (cl--unused-var-p): New function.
17913 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17914 Eliminate some unused variable warnings (bug#15326).
17915
17916 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17917
17918 * doc-view.el (doc-view-scale-reset): Rename from
17919 `doc-view-reset-zoom-level'.
17920 (doc-view-scale-adjust): New command.
17921 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17922 `doc-view-scale-adjust'.
17923
17924 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17925
17926 * doc-view.el (doc-view-reset-zoom-level): New command.
17927 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17928 zoom commands (bug#15466).
17929
17930 2013-09-26 Kenichi Handa <handa@gnu.org>
17931
17932 * international/quail.el (quail-help): Make it not a command.
17933
17934 2013-09-26 Leo Liu <sdl.web@gmail.com>
17935
17936 * minibuffer.el (completion-all-sorted-completions): Make args
17937 optional as they are.
17938
17939 2013-09-25 Daniel Colascione <dancol@dancol.org>
17940
17941 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17942 specs are and that they're not evaluated.
17943
17944 2013-09-24 Sam Steingold <sds@gnu.org>
17945
17946 * midnight.el (clean-buffer-list-kill-regexps)
17947 (clean-buffer-list-kill-buffer-names): Update for the new Man
17948 buffer naming which includes the object name.
17949
17950 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17951
17952 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17953 (eshell-parse-command, eshell-parse-pipeline): Use it since
17954 eshell-separate-commands requires a dynamic scoped var.
17955 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17956
17957 2013-09-23 Leo Liu <sdl.web@gmail.com>
17958
17959 * autoinsert.el (auto-insert-alist): Make the value of
17960 lexical-binding match its file setting.
17961
17962 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17963
17964 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17965
17966 * autoarg.el (autoarg-kp-digit-argument):
17967 * electric.el (Electric-command-loop):
17968 * kmacro.el (kmacro-step-edit-insert):
17969 Do not set universal-argument-num-events.
17970
17971 2013-09-22 Leo Liu <sdl.web@gmail.com>
17972
17973 * files.el (interpreter-mode-alist): Add octave.
17974
17975 2013-09-21 Alan Mackenzie <acm@muc.de>
17976
17977 C++: fontify identifier in declaration following "public:" correctly.
17978 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17979 to match "public", etc.
17980 (c-decl-prefix-re): Add ":" into the C++ value.
17981 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17982 bit. Add a check for a ":" preceded by "public", etc.
17983
17984 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17985
17986 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17987 recognized by GDB 7.5 and later.
17988
17989 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17990
17991 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17992
17993 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17994
17995 * subr.el (internal--call-interactively): New const.
17996 (called-interactively-p): Use it (bug#3984).
17997
17998 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17999
18000 * vc/pcvs.el (cvs-mode-ignore):
18001 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
18002 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
18003
18004 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18005
18006 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
18007 (eshell-ls-orig-insert-directory): Remove.
18008 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
18009 (eshell-ls-use-in-dired): Use advice-add/remove.
18010 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18011 Add `orig-fun' arg for use in :around advice.
18012 Make it check (redundantly) eshell-ls-use-in-dired.
18013
18014 2013-09-19 Glenn Morris <rgm@gnu.org>
18015
18016 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18017
18018 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18019
18020 * emacs-lisp/eieio.el (class-parent): Undo previous change.
18021
18022 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
18023
18024 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18025 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18026 (tramp-get-remote-python): New defuns.
18027 (tramp-get-remote-uid-with-perl)
18028 (tramp-get-remote-gid-with-perl): New defuns. Perl code
18029 contributed by yary <not.com@gmail.com> (tiny change).
18030 (tramp-get-remote-uid-with-python)
18031 (tramp-get-remote-gid-with-python): New defuns. Python code
18032 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18033 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18034
18035 2013-09-19 Glenn Morris <rgm@gnu.org>
18036
18037 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18038
18039 * eshell/em-unix.el (eshell-remove-entries):
18040 Rename argument to avoid name-clash with global `top-level'.
18041
18042 * eshell/esh-proc.el (eshell-kill-process-function):
18043 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18044 (eshell-reset-after-proc): Remove unused arg `proc'.
18045
18046 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18047 (directory-files-and-attributes): Mark unused arg.
18048
18049 * eshell/em-unix.el (eshell-remove-entries):
18050 Remove unused arg `path'. Update callers.
18051
18052 * eshell/em-hist.el (eshell-hist-parse-arguments):
18053 Remove unused arg `silent'. Update callers.
18054
18055 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18056 Fix (f)boundp mix-up.
18057
18058 * eshell/em-smart.el (eshell-smart-scroll-window)
18059 (eshell-disable-after-change):
18060 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18061
18062 2013-09-18 Alan Mackenzie <acm@muc.de>
18063
18064 Fix fontification of type when followed by "const".
18065 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18066 "known" types from fontification.
18067
18068 2013-09-18 Glenn Morris <rgm@gnu.org>
18069
18070 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18071 (chart-face-list): Drop Emacsen without display-color-p.
18072
18073 * net/eww.el (libxml-parse-html-region): Declare.
18074 (eww-display-html): Explicit error if no libxml2 support.
18075
18076 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18077
18078 * image.el (image-type-from-buffer, image-multi-frame-p):
18079 Remove --without-x warning/error.
18080
18081 * mouse.el (mouse-yank-primary):
18082 * term.el (term-mouse-paste):
18083 Reorder to silence --without-x compilation.
18084
18085 * mpc.el (doc-view-mode): Silence --without-x compilation.
18086
18087 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18088 Silence --without-x compilation.
18089
18090 * progmodes/gud.el (gud-find-file, gud-mode):
18091 Silence --without-x compilation.
18092 (tooltip-mode): Declare.
18093
18094 * wdired.el (dired-backup-overwrite): Remove declaration.
18095 (wdired-mode-map): Add doc string.
18096
18097 * custom.el (x-get-resource): Declare.
18098
18099 * eshell/em-glob.el (ange-cache):
18100 * eshell/em-unix.el (ange-cache): Declare.
18101
18102 * faces.el (x-display-list, x-open-connection, x-get-resource):
18103 Declare.
18104
18105 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18106 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18107 Declare.
18108
18109 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18110
18111 * net/gnutls.el (gnutls-log-level): Declare.
18112
18113 * net/shr.el (image-size, image-animate): Declare.
18114
18115 * simple.el (font-info): Declare.
18116
18117 * subr.el (x-popup-dialog): Declare.
18118
18119 * term/common-win.el (x-select-enable-primary)
18120 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18121 Declare.
18122
18123 * term/ns-win.el (x-handle-args): Declare.
18124
18125 * term/x-win.el (x-select-enable-clipboard): Declare.
18126
18127 * term/w32-win.el (create-default-fontset): Declare.
18128
18129 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18130 Declare.
18131
18132 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18133 (fit-frame-to-buffer): Explicit error if --without-x.
18134 (mouse-autoselect-window-select): Silence compiler.
18135
18136 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18137
18138 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18139 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18140 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18141 * eshell/esh-util.el (eshell-sublist):
18142 Remove unused local variables.
18143
18144 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18145
18146 * textmodes/two-column.el: Make 2C-split work for --without-x.
18147 (scroll-bar-columns): Autoload.
18148 (top-level): Require fringe when compiling.
18149
18150 2013-09-18 Leo Liu <sdl.web@gmail.com>
18151
18152 * subr.el (add-hook): Robustify to handle closure as well.
18153
18154 2013-09-17 Glenn Morris <rgm@gnu.org>
18155
18156 * simple.el (messages-buffer-mode-map): Unbind "g".
18157
18158 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18159
18160 * help-mode.el (help-mode-finish): Use derived-mode-p.
18161 Remove obsolete highlighting.
18162
18163 * play/life.el (life-mode): Use define-derived-mode. Derive from
18164 special-mode.
18165 (life): Let-bind inhibit-read-only.
18166 (life-setup): Avoid `setq'. Use `life-mode'.
18167
18168 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18169 which should not be needed any more.
18170 (package-menu-refresh, package-menu-describe-package): Use user-error.
18171
18172 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18173 (eshell-post-rewrite-command-hook): Make obsolete.
18174 (eshell-parse-command): Simplify.
18175 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18176 (eshell--cmd): Declare.
18177 (eshell-parse-pipeline): Remove unused var `final-p'.
18178 Pass a dynvar to eshell-post-rewrite-command-hook.
18179 Implement the new eshell-post-rewrite-command-function.
18180 (eshell-invoke-directly): Remove unused arg `input'.
18181 * eshell/esh-io.el (eshell-io-initialize):
18182 Use eshell-post-rewrite-command-function (bug#15399).
18183 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18184 adjust to new calling convention.
18185 (eshell-create-handles): Rename args to avoid clashing with dynvar
18186 `standard-output'.
18187
18188 2013-09-17 Glenn Morris <rgm@gnu.org>
18189
18190 * simple.el (messages-buffer-mode): New major mode.
18191 (messages-buffer): New function.
18192 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18193 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18194 (ert-run-test): Use `messages-buffer' function.
18195 (ert--force-message-log-buffer-truncation): Ignore read-only.
18196 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18197 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18198
18199 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18200
18201 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18202
18203 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18204
18205 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18206
18207 * icomplete.el (icomplete-in-buffer): New var.
18208 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18209 vars and replace them with functions.
18210 (icomplete-minibuffer-setup): Adjust accordingly.
18211 (icomplete--completion-table, icomplete--completion-predicate)
18212 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18213 New functions.
18214 (icomplete-forward-completions, icomplete-backward-completions)
18215 (icomplete-simple-completing-p, icomplete-exhibit)
18216 (icomplete-completions): Use them.
18217 (icomplete--in-region-buffer): New var.
18218 (icomplete--in-region-setup): New function.
18219 (icomplete-mode): Use it.
18220
18221 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18222 (bug#15379).
18223 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18224 return args and options.
18225 (eshell-eval-using-options): Use the new return value of
18226 eshell--do-opts to set the options's vars in their scope.
18227 (eshell--set-option): Rename from eshell-set-option.
18228 Add arg `opt-vals'.
18229 (eshell--process-option): Rename from eshell-process-option.
18230 Add arg `opt-vals'.
18231 (eshell--process-args): Use an `opt-vals' alist to store the options's
18232 values during their processing and return them additionally to the
18233 remaining args.
18234
18235 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18236
18237 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18238 continuation character an operator, as far as indentation is
18239 concerned (Bug#15369).
18240
18241 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18242
18243 * window.el (window--state-put-2): Don't process buffer state
18244 when buffer doesn't exist any more (Bug#15382).
18245
18246 2013-09-15 Glenn Morris <rgm@gnu.org>
18247
18248 * eshell/em-unix.el (eshell/rm):
18249 Make -f ignore missing files. (Bug#15373)
18250
18251 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18252 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18253 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18254
18255 2013-09-14 Glenn Morris <rgm@gnu.org>
18256
18257 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18258
18259 2013-09-13 Glenn Morris <rgm@gnu.org>
18260
18261 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18262 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18263
18264 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18265
18266 * frame.el (x-focus-frame): Mark as declared in frame.c.
18267
18268 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * ls-lisp.el: Use advice-add.
18271 (original-insert-directory): Remove.
18272 (ls-lisp--insert-directory): Rename from insert-directory; add
18273 `orig-fun' argument.
18274 (insert-directory): Advise.
18275
18276 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18277
18278 * term.el (term-emulate-terminal): Decode the command string
18279 before passing it to term-command-hook. (Bug#15337)
18280
18281 2013-09-13 Glenn Morris <rgm@gnu.org>
18282
18283 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18284
18285 * eshell/esh-ext.el (eshell-search-path): Declare.
18286
18287 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18288 Otherwise an error occurs if eshell-dirs module not loaded.
18289
18290 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18291
18292 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18293
18294 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18295 `tramp-check-proper-host'. Check for a valid method name.
18296
18297 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18298 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18299 * net/tramp-sh.el (tramp-maybe-open-connection):
18300 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18301
18302 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18303 also for hash values.
18304
18305 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18306
18307 * term/ns-win.el (parameters): Don't declare as dynamic.
18308 (before-make-frame-hook): Don't add ineffective function.
18309
18310 * eshell/*.el: Use lexical-binding (bug#15231).
18311
18312 2013-09-12 Kenichi Handa <handa@gnu.org>
18313
18314 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18315
18316 2013-09-12 Glenn Morris <rgm@gnu.org>
18317
18318 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18319 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18320
18321 * subr.el (do-after-load-evaluation): Also give compiler warnings
18322 when obsolete files are used (except by obsolete files).
18323
18324 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18325 in the status output, assume `filename' is the first. (Bug#15322)
18326
18327 * vc/vc.el (vc-deduce-fileset): Doc fix.
18328
18329 * calc/calc-help.el (Info-goto-node):
18330 * progmodes/cperl-mode.el (Info-find-node):
18331 * vc/ediff.el (Info-goto-node): Update declarations.
18332
18333 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18334
18335 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18336 (vc-bzr-pull): Require vc-dispatcher.
18337 * vc/vc-git.el (vc-compilation-mode): Declare.
18338 (vc-git-pull): Require vc-dispatcher.
18339
18340 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18341
18342 * progmodes/octave.el (help-button-action): Declare.
18343
18344 * shell.el (shell-directory-tracker): Output error as a message
18345 rather than just returning it as a string.
18346 (shell-process-pushd): Remove useless use of message.
18347
18348 * dframe.el (dframe-timer-fn):
18349 * files.el (dir-locals-read-from-file):
18350 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18351 (mpc-format):
18352 * reveal.el (reveal-post-command):
18353 * saveplace.el (load-save-place-alist-from-file):
18354 * shell.el (shell-resync-dirs):
18355 * w32-common-fns.el (x-get-selection-value):
18356 * emacs-lisp/copyright.el (copyright-find-copyright):
18357 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18358 * emulation/tpu-edt.el (tpu-copy-keyfile):
18359 * play/bubbles.el (bubbles--mark-neighbourhood):
18360 * progmodes/executable.el
18361 (executable-make-buffer-file-executable-if-script-p):
18362 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18363
18364 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18365
18366 Cleanup Eshell to rely less on dynamic scoping.
18367 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18368 last-value, and ext-command here. Bind `args' closer to `body'.
18369 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18370 (eshell--args): Declare new dynamic var.
18371 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18372 last-value, and ext-command. Pass `args' to `body'.
18373 (eshell-process-args): Bind eshell--args.
18374 (eshell-set-option): Use eshell--args.
18375 * eshell/eshell.el (eshell): Use derived-mode-p.
18376 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18377 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18378 (eshell-glob-function): Declare.
18379 * eshell/esh-util.el: Require cl-lib.
18380 (eshell-read-hosts-file): Avoid add-to-list.
18381 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18382 `err'.
18383 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18384 Declare.
18385 (eshell/diff): Remove unused var `err'.
18386 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18387 `killflag'.
18388 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18389 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18390 first use.
18391 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18392 Move declaration before first use.
18393 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18394 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18395 rely on cl-return.
18396
18397 2013-09-12 Glenn Morris <rgm@gnu.org>
18398
18399 * term/ns-win.el (global-map): Remove binding for ispell-next,
18400 deleted 1999-05-29. (Bug#15357)
18401
18402 2013-09-11 Glenn Morris <rgm@gnu.org>
18403
18404 * echistory.el (electric-command-history): Remove call to deleted func.
18405
18406 * play/landmark.el (landmark-mode): Fix typos.
18407
18408 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18409 Check cvs-sort-ignore-file is bound.
18410
18411 * savehist.el: No need for cl when compiling on Emacs.
18412
18413 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18414
18415 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18416 (bug#15338).
18417 (eshell-self-insert-command, eshell-send-invisible):
18418 Remove unused argument.
18419 (eshell-handle-control-codes): Remove unused var `orig'.
18420 Avoid delete-backward-char.
18421
18422 * files.el (set-auto-mode): Simplify a bit further.
18423
18424 2013-09-11 Glenn Morris <rgm@gnu.org>
18425
18426 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18427 (set-auto-mode): Don't regexp-quote elements.
18428 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18429 * progmodes/cc-mode.el (interpreter-mode-alist):
18430 * progmodes/ruby-mode.el (interpreter-mode-alist):
18431 Revert previous change.
18432
18433 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18434
18435 * play/snake.el (snake-mode):
18436 * play/mpuz.el (mpuz-mode):
18437 * play/landmark.el (lm-mode):
18438 * play/blackbox.el (blackbox-mode):
18439 * play/5x5.el (5x5-mode):
18440 * obsolete/options.el (Edit-options-mode):
18441 * net/quickurl.el (quickurl-list-mode):
18442 * net/newst-treeview.el (newsticker-treeview-mode):
18443 * mail/rmailsum.el (rmail-summary-mode):
18444 * mail/mspools.el (mspools-mode):
18445 * locate.el (locate-mode):
18446 * ibuffer.el (ibuffer-mode):
18447 * emulation/ws-mode.el (wordstar-mode):
18448 * emacs-lisp/debug.el (debugger-mode):
18449 * array.el (array-mode):
18450 * net/eudc.el (eudc-mode): Use define-derived-mode.
18451 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18452 Move initialization into declaration.
18453 (mairix-searches-mode): Use define-derived-mode.
18454 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18455 (eudc-edit-hotlist): Use dolist.
18456 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18457 (Man-mode): Use define-derived-mode.
18458 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18459 (Info-edit-mode): Use define-derived-mode.
18460 (Info-cease-edit): Use Info-mode.
18461 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18462 into declaration.
18463 (eshell-mode): Use define-derived-mode.
18464 * chistory.el (command-history-mode-map): Rename from
18465 command-history-map.
18466 (command-history-mode): Use define-derived-mode.
18467 (Command-history-setup): Remove function.
18468 * calc/calc.el (calc-trail-mode-map): New var.
18469 (calc-trail-mode): Use define-derived-mode.
18470 (calc-trail-buffer): Set calc-main-buffer manually.
18471 * bookmark.el (bookmark-insert-annotation): New function.
18472 (bookmark-edit-annotation): Use it.
18473 (bookmark-edit-annotation-mode): Make it a proper major mode.
18474 (bookmark-send-edited-annotation): Use derived-mode-p.
18475 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18476 closer to its ideal place. Use \' to match EOS.
18477
18478 * profiler.el (profiler-calltree-find): Use function-equal.
18479
18480 2013-09-10 Glenn Morris <rgm@gnu.org>
18481
18482 * files.el (interpreter-mode-alist): Convert to regexps.
18483 (set-auto-mode): Adapt for this. (Bug#15306)
18484 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18485 Comment out unused variable.
18486 * progmodes/cc-mode.el (interpreter-mode-alist):
18487 * progmodes/python.el (interpreter-mode-alist):
18488 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18489 * progmodes/sh-script.el (sh-set-shell):
18490 No longer use interpreter-mode-alist to get list of shells.
18491
18492 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18493
18494 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18495
18496 * simple.el: Use set-temporary-overlay-map for universal-argument.
18497 (universal-argument-map): Don't use default-bindings (bug#15317).
18498 Bind switch-frame explicitly. Replace universal-argument-minus with
18499 a conditional binding.
18500 (universal-argument-num-events, saved-overriding-map): Remove.
18501 (restore-overriding-map): Remove.
18502 (universal-argument--mode): Rename from save&set-overriding-map,
18503 and rewrite.
18504 (universal-argument, universal-argument-more, negative-argument)
18505 (digit-argument): Adjust accordingly.
18506 (universal-argument-minus): Remove.
18507 (universal-argument-other-key): Remove.
18508
18509 * subr.el (with-demoted-errors): Add `format' argument.
18510
18511 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18512
18513 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18514 `tramp-cleanup-connection'.
18515
18516 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18517 parameters KEEP-DEBUG and KEEP-PASSWORD.
18518
18519 * net/tramp.el (tramp-file-name-handler):
18520 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18521 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18522 (tramp-maybe-open-connection):
18523 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18524 Use `tramp-cleanup-connection'.
18525
18526 * net/tramp-sh.el (tramp-maybe-open-connection):
18527 Catch 'uname-changed inside the progress reporter.
18528
18529 2013-09-10 Glenn Morris <rgm@gnu.org>
18530
18531 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18532
18533 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18534 returns "alternate access method" in mode (eg "-rw-r--r--.").
18535
18536 2013-09-08 Glenn Morris <rgm@gnu.org>
18537
18538 * saveplace.el (load-save-place-alist-from-file):
18539 Demote errors. (Bug#15305)
18540
18541 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18542
18543 Improve compatibility with older Emacsen, and XEmacs.
18544
18545 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18546 only if it is bound. It isn't for XEmacs.
18547 (with-tramp-progress-reporter): Do not let-bind `result'.
18548 This yields to scoping errors in XEmacs.
18549 (tramp-handle-make-auto-save-file-name): New function, moved from
18550 tramp-sh.el.
18551
18552 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18553 for `make-auto-save-file-name'.
18554 (tramp-adb--gnu-switches-to-ash):
18555 Use `tramp-compat-replace-regexp-in-string'.
18556
18557 * net/tramp-cache.el (tramp-cache-print): Call
18558 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18559
18560 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18561 bound. It isn't for XEmacs.
18562
18563 * net/tramp-compat.el (tramp-compat-copy-file):
18564 Catch `wrong-number-of-arguments' error.
18565 (tramp-compat-replace-regexp-in-string): New defun.
18566
18567 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18568 for `make-auto-save-file-name'.
18569 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18570 `copy-file'.
18571 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18572 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18573 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18574
18575 * net/tramp-gw.el (tramp-gw-open-network-stream):
18576 Use `tramp-compat-replace-regexp-in-string'.
18577
18578 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18579 Call `tramp-handle-make-auto-save-file-name'.
18580 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18581 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18582 (tramp-sh-file-inotifywait-process-filter):
18583 Use `tramp-compat-replace-regexp-in-string'.
18584 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18585
18586 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18587 for `make-auto-save-file-name'.
18588 (tramp-smb-handle-copy-directory):
18589 Call `tramp-compat-replace-regexp-in-string'.
18590 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18591 (tramp-smb-handle-copy-file): Improve error message.
18592 (tramp-smb-handle-rename-file): Rename directly only in case
18593 `newname' does not exist yet. This is a restriction of smbclient.
18594 (tramp-smb-maybe-open-connection): Rerun the function only when
18595 `auth-sources' is non-nil.
18596
18597 2013-09-08 Kenichi Handa <handa@gnu.org>
18598
18599 * international/characters.el: Set category "^" (Combining) for
18600 more characters.
18601
18602 2013-09-07 Alan Mackenzie <acm@muc.de>
18603
18604 Correctly fontify Java class constructors.
18605 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18606 in Java Mode.
18607 (c-recognize-typeless-decls): Set the Java value to t.
18608 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18609 While handling a "(", add a check for, effectively, Java, and handle a
18610 "typeless" declaration there.
18611
18612 2013-09-07 Roland Winkler <winkler@gnu.org>
18613
18614 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18615 field subtitle for entry type book.
18616
18617 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18618
18619 * minibuffer.el: Make minibuffer-complete call completion-in-region
18620 rather than other way around.
18621 (completion--some, completion-pcm--find-all-completions):
18622 Don't delay signals when debugging.
18623 (minibuffer-completion-contents): Beware fields within the
18624 minibuffer contents.
18625 (completion-all-sorted-completions): Use defvar-local.
18626 (completion--do-completion, completion--cache-all-sorted-completions)
18627 (completion-all-sorted-completions, minibuffer-force-complete):
18628 Add args `beg' and `end'.
18629 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18630 (minibuffer-complete): Use completion-in-region.
18631 (completion-complete-and-exit): New fun, extracted from
18632 minibuffer-complete-and-exit.
18633 (minibuffer-complete-and-exit): Use it.
18634 (completion--complete-and-exit): Rename from
18635 minibuffer--complete-and-exit.
18636 (completion-in-region--single-word): New function, extracted from
18637 minibuffer-complete-word.
18638 (minibuffer-complete-word): Use it.
18639 (display-completion-list): Make `common-substring' argument obsolete.
18640 (completion--in-region): Call completion--in-region-1 instead of
18641 minibuffer-complete.
18642 (completion-help-at-point): Pass boundaries to
18643 minibuffer-completion-help as args rather than via an overlay.
18644 (completion-pcm--string->pattern): Use `any-delim'.
18645 (completion-pcm--optimize-pattern): New function.
18646 (completion-pcm--pattern->regex): Handle `any-delim'.
18647 * icomplete.el (icomplete-forward-completions)
18648 (icomplete-backward-completions, icomplete-completions):
18649 Adjust calls to completion-all-sorted-completions and
18650 completion--cache-all-sorted-completions.
18651 (icomplete-with-completion-tables): Default to t.
18652 * emacs-lisp/crm.el (crm--current-element): Rename from
18653 crm--select-current-element. Don't put an overlay but return the
18654 boundaries instead.
18655 (crm--completion-command): Take two new args to bind to the boundaries.
18656 (crm-completion-help): Adjust accordingly.
18657 (crm-complete): Use completion-in-region.
18658 (crm-complete-word): Use completion-in-region--single-word.
18659 (crm-complete-and-exit): Use completion-complete-and-exit.
18660
18661 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18662
18663 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18664 than dynamically.
18665
18666 2013-09-06 Juri Linkov <juri@jurta.org>
18667
18668 * info.el (Info-display-images-node): When image file doesn't exist
18669 display text version of the image if it's provided in the Info file.
18670 Otherwise, display the location of missing image from SRC attribute.
18671 Add help-echo text property from ALT attribute. (Bug#15279)
18672
18673 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18674
18675 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18676 (edit-abbrevs-mode): Use define-derived-mode.
18677
18678 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18679 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18680 that it's defined.
18681 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18682 Use define-derived-mode.
18683
18684 * epg.el (epg-start-encrypt): Minor CSE simplification.
18685
18686 2013-09-06 William Xu <william.xwl@gmail.com>
18687
18688 * arc-mode.el: Add support for 7za (bug#15264).
18689 (archive-7z-program): New var.
18690 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18691 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18692 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18693
18694 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18695
18696 Remove URL syntax.
18697
18698 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18699 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18700 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18701 (tramp-postfix-host-format, tramp-file-name-regexp)
18702 (tramp-completion-file-name-regexp)
18703 (tramp-completion-dissect-file-name)
18704 (tramp-handle-substitute-in-file-name): Remove 'url case.
18705 (tramp-file-name-regexp-url)
18706 (tramp-completion-file-name-regexp-url): Remove constants.
18707
18708 2013-09-06 Glenn Morris <rgm@gnu.org>
18709
18710 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18711
18712 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18713
18714 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18715 keywords" below "here-doc beginnings" (Bug#15270).
18716
18717 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18718
18719 * subr.el (pop): Use `car-safe'.
18720 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18721 to detect unused `pop' return value.
18722
18723 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18724 var `block-regexp'.
18725 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18726 (python-fill-string): Remove unused var `marker'.
18727 (python-skeleton-add-menu-items): Remove unused var `items'.
18728
18729 * international/mule-cmds.el: Require CL.
18730 (find-coding-systems-for-charsets): Avoid add-to-list.
18731 (sanitize-coding-system-list): New function, extracted from
18732 select-safe-coding-system-interactively.
18733 (select-safe-coding-system-interactively): Use it.
18734 (read-input-method-name): Accept symbols for `default'.
18735
18736 * emacs-lisp/advice.el (defadvice): Add indent rule.
18737
18738 2013-09-05 Daniel Hackney <dan@haxney.org>
18739
18740 * dired-x.el:
18741 * net/ange-ftp.el:
18742 * net/browse-url.el:
18743 * net/dbus.el:
18744 * net/eudc.el:
18745 * net/eudcb-ldap.el:
18746 * net/eww.el:
18747 * net/imap.el:
18748 * printing.el:
18749 * vc/ediff-diff.el:
18750 * vc/ediff-init.el:
18751 * vc/ediff-merg.el:
18752 * vc/ediff-mult.el:
18753 * vc/ediff-util.el:
18754 * vc/ediff-wind.el:
18755 * vc/ediff.el:
18756 * vc/emerge.el:
18757 * vc/pcvs.el:
18758 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18759 byte compiler. Remove some unused let-bound variables.
18760
18761 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18762
18763 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18764 a "ref-cell", since it gets better optimized (bug#14883).
18765
18766 2013-09-05 Glenn Morris <rgm@gnu.org>
18767
18768 * progmodes/cc-awk.el (c-forward-sws): Declare.
18769
18770 2013-09-04 Glenn Morris <rgm@gnu.org>
18771
18772 * generic-x.el [rul-generic-mode]: Require cc-mode.
18773 (c++-mode-syntax-table): Declare.
18774 (rul-generic-mode-syntax-table): Init in the defvar.
18775
18776 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18777
18778 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18779 (vc-do-command, vc-set-async-update):
18780 * vc/vc-mtn.el (vc-mtn-dir-status):
18781 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18782 (vc-hg-pull, vc-hg-merge-branch):
18783 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18784 (vc-git-merge-branch):
18785 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18786 (vc-cvs-dir-status-files):
18787 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18788 (vc-bzr-dir-status-files):
18789 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18790 * vc/vc-annotate.el: Use lexical-binding.
18791 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18792 (vc-sentinel-movepoint): Declare.
18793 (vc-annotate): Don't use `goto-line'.
18794 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18795 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18796 (vc-sentinel-movepoint): Declare.
18797 * vc/vc-svn.el: Use lexical-binding.
18798 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18799 * vc/vc-sccs.el:
18800 * vc/vc-rcs.el: Use lexical-binding.
18801
18802 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18803 `deleted'. Don't drop errors silently.
18804
18805 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18806
18807 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18808
18809 * vc/vc.el (vc-ignore): Rewrite.
18810 (vc-default-ignore): New function.
18811 (vc-default-ignore-completion-table): Use find-ignore-file.
18812
18813 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18814 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18815 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18816 Remove. Most code moved to vc.el.
18817
18818 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18819
18820 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18821 * net/tramp-smb.el (tramp-smb-get-file-entries):
18822 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18823 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18824
18825 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18826 Update call to it.
18827 (eww-change-select): Remove unused var `properties'.
18828 (eww-make-unique-file-name): Remove unused var `base'.
18829
18830 * finder.el (finder-compile-keywords): Don't mess with windows.
18831
18832 * calculator.el (calculator-funcall): Fix typo in last change.
18833
18834 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18835
18836 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18837 <pkg>-autoloads.el file stop us.
18838
18839 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18840 warnings, and factor out common code.
18841
18842 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18843
18844 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18845 two-character operators and whether the character preceding them
18846 changes their meaning (Bug#15208).
18847
18848 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18849
18850 Format code sent to Python shell for robustness.
18851 * progmodes/python.el (python-shell-buffer-substring):
18852 New function.
18853 (python-shell-send-region, python-shell-send-buffer): Use it.
18854
18855 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18856
18857 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18858 * net/tramp.el (tramp-user-error): ... here.
18859 (tramp-find-method, tramp-check-proper-host)
18860 (tramp-dissect-file-name, tramp-debug-message)
18861 (tramp-handle-shell-command):
18862 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18863 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18864
18865 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18866
18867 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18868
18869 * avoid.el (mouse-avoidance-point-position)
18870 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18871 returns nil.
18872
18873 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18874
18875 * progmodes/python.el (python-shell-completion-get-completions):
18876 Drop use of deleted `comint-last-prompt-overlay'.
18877 (python-nav-if-name-main): New command.
18878
18879 2013-09-01 Glenn Morris <rgm@gnu.org>
18880
18881 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18882 Avoid leading space in $wins. Otherwise the sed command used by
18883 eg compile-main ends up containing "/*.el". (Bug#15170)
18884
18885 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18886
18887 2013-08-30 Glenn Morris <rgm@gnu.org>
18888
18889 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18890 Fix is-this-a-directory logic. (Bug#15220)
18891
18892 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18893
18894 * textmodes/css-mode.el: Use SMIE.
18895 (css-smie-grammar): New var.
18896 (css-smie--forward-token, css-smie--backward-token)
18897 (css-smie-rules): New functions.
18898 (css-mode): Use them.
18899 (css-navigation-syntax-table): Remove var.
18900 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18901 (css-indent-calculate, css-indent-line): Remove functions.
18902
18903 Misc changes to reduce use of `(lambda...); and other cleanups.
18904 * cus-edit.el: Use lexical-binding.
18905 (customize-push-and-save, customize-apropos)
18906 (custom-buffer-create-internal): Use closures.
18907 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18908 * progmodes/ada-xref.el: Use setq.
18909 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18910 * dframe.el: Use lexical-binding.
18911 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18912 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18913 * descr-text.el: Use lexical-binding.
18914 (describe-text-widget, describe-text-sexp, describe-property-list):
18915 Use closures.
18916 * comint.el (comint-history-isearch-push-state): Use a closure.
18917 * calculator.el: Use lexical-binding.
18918 (calculator-number-to-string): Make it work with lexical-binding.
18919 (calculator-funcall): Same and use cl-letf.
18920
18921 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18922 (lisp--company-doc-string, lisp--company-location): New functions.
18923 (lisp-completion-at-point): Use them to improve Company support.
18924
18925 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18926 params of lambda expressions.
18927 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18928 (ruby-smie--opening-pipe-p): New function.
18929 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18930 symbols and matched |...| for formal params.
18931 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18932 from being treated as hanging. Handle "rescue".
18933
18934 2013-08-29 Glenn Morris <rgm@gnu.org>
18935
18936 * progmodes/cc-engine.el (c-pull-open-brace):
18937 Move definition before use.
18938
18939 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18940
18941 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18942 are immutable. Don't use `unsafe' any more.
18943 (cl--defsubst-expand): Don't substitute at the same time as keeping
18944 a residual unused let-binding. Don't use `unsafe' any more.
18945
18946 2013-08-29 Glenn Morris <rgm@gnu.org>
18947
18948 * calendar/cal-china.el (calendar-chinese-year-cache):
18949 Recenter on 2015.
18950
18951 * nxml/nxml-util.el (nxml-debug-clear-inside):
18952 Use cl-loop rather than loop.
18953
18954 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18955
18956 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18957
18958 2013-08-28 Glenn Morris <rgm@gnu.org>
18959
18960 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18961
18962 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18963
18964 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18965
18966 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18967
18968 * simple.el (repeat-complex-command--called-interactively-skip):
18969 New function.
18970 (repeat-complex-command): Use it (bug#14136).
18971
18972 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18973 (c-define-abbrev-table): Add `doc' argument.
18974 (c-mode-abbrev-table, c++-mode-abbrev-table)
18975 (objc-mode-abbrev-table, java-mode-abbrev-table)
18976 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18977 (awk-mode-abbrev-table): Use it.
18978 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18979 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18980 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18981 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18982 Move initialization into the declaration; and remove any
18983 autoload cookie.
18984
18985 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18986 and dynamic let binding.
18987
18988 * vc/smerge-mode.el: Remove redundant :group args.
18989
18990 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18991 to load-path.
18992
18993 2013-08-28 Juri Linkov <juri@jurta.org>
18994
18995 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18996 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18997 (isearch-other-meta-char): Handle an undefined shifted printing
18998 character by downshifting it. (Bug#15200)
18999
19000 2013-08-28 Juri Linkov <juri@jurta.org>
19001
19002 * isearch.el (isearch-search): Change regexp error message for
19003 non-regexp searches. (Bug#15166)
19004
19005 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
19006
19007 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19008 for portability to hosts where /bin/sh has problems.
19009
19010 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19011
19012 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19013
19014 2013-08-27 Juri Linkov <juri@jurta.org>
19015
19016 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19017 in the keyboard macro. (Bug#15126)
19018
19019 2013-08-27 Juri Linkov <juri@jurta.org>
19020
19021 * isearch.el (isearch-quote-char): Comment out converting unibyte
19022 to multibyte, thus syncing with its `quoted-insert' counterpart.
19023 (Bug#15166)
19024
19025 2013-08-27 Martin Rudalics <rudalics@gmx.at>
19026
19027 * window.el (display-buffer-use-some-window): Add missing
19028 argument in call of get-largest-window (Bug#15185).
19029 Reported by Stephen Leake.
19030
19031 2013-08-27 Glenn Morris <rgm@gnu.org>
19032
19033 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19034
19035 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19036
19037 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19038 from a matcher-function unless there's no more matches (bug#15161).
19039
19040 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19041
19042 * minibuffer.el: Revert change from 2013-08-20.
19043
19044 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19045 with text property `tramp-default', if appropriate.
19046 (tramp-check-proper-host): New defun.
19047 (tramp-dissect-file-name): Do not check hostname. Revert change
19048 of 2013-03-18.
19049 (tramp-backtrace): Make VEC-OR-PROC optional.
19050
19051 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19052 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19053 * net/tramp-sh.el (tramp-maybe-open-connection):
19054 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19055 Apply `tramp-check-proper-host'.
19056
19057 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19058
19059 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19060 lambda expression in order to have `describe-variable' display it.
19061
19062 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19063
19064 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19065 BUF can be optional. (Bug#15186)
19066
19067 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19068
19069 * progmodes/flymake.el (flymake-get-real-file-name-function):
19070 Fix broken customization. (Bug#15184)
19071
19072 2013-08-25 Alan Mackenzie <acm@muc.de>
19073
19074 Improve indentation of bracelists defined by macros (without "=").
19075
19076 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19077 expansion begins with "{", regard it as bracelist when it doesn't
19078 contain a ";".
19079
19080 Parse C++ inher-intro when there's a template split over 2 lines.
19081
19082 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19083 rigorously the search for "class" etc. followed by ":".
19084
19085 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19086 random languages a regexp which never matches rather than nil.
19087
19088 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19089
19090 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19091 (c-awk-regexp-one-line-possibly-open-char-list-re)
19092 (c-awk-one-line-possibly-open-regexp-re)
19093 (c-awk-one-line-non-syn-ws*-re): Remove.
19094 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19095 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19096 (c-awk-space*-unclosed-regexp-/-re): New constants.
19097 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19098 aren't regexp delimiters.
19099
19100 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19101 handling for a rare situation in AWK Mode involving unterminated
19102 strings/regexps.
19103
19104 2013-08-23 Glenn Morris <rgm@gnu.org>
19105
19106 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19107
19108 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19109
19110 * files.el (create-file-buffer): If the result would begin with
19111 spaces, prepend a "|" instead of removing them. (Bug#15162)
19112
19113 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19114
19115 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19116 text-properties (bug#15155).
19117
19118 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19119 exist any more.
19120 (calc-keypad-redraw): Remove unused var `pad'.
19121 (calc-keypad-press): Remove unused var `menu'.
19122
19123 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19124
19125 * window.el (display-buffer-pop-up-frame):
19126 Call pop-up-frame-function with BUFFER current so `make-frame' will
19127 use it as the new frame's buffer (Bug#15133).
19128
19129 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19130
19131 * calendar/timeclock.el: Minor cleanups.
19132 (timeclock-ask-before-exiting, timeclock-use-display-time):
19133 Use `symbol'.
19134 (timeclock-modeline-display): Define as alias before the
19135 actual definition.
19136 (timeclock-mode-line-display): Use define-minor-mode.
19137 (timeclock-day-list-template): Make it a function, add an argument.
19138 (timeclock-day-list-required, timeclock-day-list-length)
19139 (timeclock-day-list-debt, timeclock-day-list-span)
19140 (timeclock-day-list-break): Adjust calls accordingly.
19141
19142 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19143
19144 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19145 Use read--expression so that completion works again.
19146
19147 2013-08-21 Sam Steingold <sds@gnu.org>
19148
19149 Add rudimentary inferior shell interaction
19150 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19151 (sh-set-shell): Reset it.
19152 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19153 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19154
19155 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19156
19157 * align.el: Use lexical-binding.
19158 (align-region): Simplify accordingly.
19159
19160 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19161
19162 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19163
19164 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19165 `non-essential' up.
19166
19167 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19168
19169 * net/tramp.el:
19170 * net/tramp-adb.el:
19171 * net/tramp-cmds.el:
19172 * net/tramp-ftp.el:
19173 * net/tramp-gvfs.el:
19174 * net/tramp-gw.el:
19175 * net/tramp-sh.el: Don't wrap external variable declarations by
19176 `eval-when-compile'.
19177
19178 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19179
19180 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19181 now that Emacs supports ImageMagick animations.
19182
19183 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19184
19185 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19186 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19187
19188 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19189
19190 * window.el (mouse-autoselect-window-select): Do autoselect when
19191 mouse pointer is on margin.
19192
19193 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19194
19195 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19196
19197 2013-08-16 Glenn Morris <rgm@gnu.org>
19198
19199 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19200 Handle "Remote Directory" response of some clients. (Bug#15058)
19201
19202 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19203 Tweak warning. (Bug#14926)
19204
19205 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19206 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19207
19208 * image-mode.el (image-mode-map): Add menu items to reverse,
19209 increase, decrease, reset animation speed.
19210 (image--set-speed, image-increase-speed, image-decrease-speed)
19211 (image-reverse-speed, image-reset-speed): New functions.
19212 (image-mode-map): Add bindings for speed commands.
19213
19214 * image.el (image-animate-get-speed, image-animate-set-speed):
19215 New functions.
19216 (image-animate-timeout): Respect image :speed property.
19217
19218 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19219
19220 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19221 previous line (bug#15101).
19222 (debugger-eval-expression, debugger-record-expression):
19223 Use read--expression (bug#15102).
19224
19225 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19226
19227 Remove byte compiler warnings, visible when compiling with
19228 `byte-compile-force-lexical-warnings' set to t.
19229
19230 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19231 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19232 (tramp-handle-unhandled-file-name-directory)
19233 (tramp-handle-file-notify-add-watch, tramp-action-login)
19234 (tramp-action-succeed, tramp-action-permission-denied)
19235 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19236 arguments with "_".
19237
19238 * net/tramp-adb.el (tramp-adb-parse-device-names)
19239 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19240 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19241 (tramp-adb-handle-file-truename): Remove unused arguments.
19242
19243 * net/tramp-cache.el (tramp-flush-directory-property)
19244 (tramp-flush-connection-property, tramp-list-connections)
19245 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19246
19247 * net/tramp-compat.el (tramp-compat-make-temp-file):
19248 Rename FILENAME to F.
19249
19250 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19251 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19252 (tramp-zeroconf-parse-workstation-device-names)
19253 (tramp-zeroconf-parse-webdav-device-names)
19254 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19255
19256 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19257 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19258
19259 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19260 arguments.
19261 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19262 (tramp-sh-handle-insert-file-contents-literally)
19263 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19264 with "_".
19265 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19266 Remove unused variables.
19267
19268 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19269 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19270 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19271
19272 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19273 Make them a defconst.
19274 (tramp-uuencode-region): Remove unused variable.
19275
19276 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19277
19278 * frameset.el (frameset--prop-setter): New function.
19279 (frameset-prop): Add gv-setter declaration.
19280 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19281 parameter was already set in FILTERED. Doc fix.
19282 (frameset--record-minibuffer-relationships): Allow saving a
19283 minibufferless frame without its corresponding minibuffer frame.
19284 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19285 frame, if the frame id matches.
19286 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19287 frames before orphaned ones.
19288 (frameset-restore): Warn about orphaned windows, instead of error out.
19289
19290 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19291
19292 * window.el (window-make-atom): Don't overwrite parameter
19293 already present.
19294 (display-buffer-in-atom-window): Handle special case where we
19295 split an already atomic window.
19296 (window--major-non-side-window, display-buffer-in-side-window)
19297 (window--side-check): Ignore minibuffer window when walking
19298 window tree.
19299 (window-deletable-p): Return 'frame only if no other frame uses
19300 our minibuffer window.
19301 (record-window-buffer): Run buffer-list-update-hook.
19302 (split-window): Make sure window--check-frame won't destroy an
19303 existing atomic window in case the new window gets nested
19304 inside.
19305 (display-buffer-at-bottom): Ignore minibuffer window when
19306 walking window tree. Don't split a side window.
19307 (pop-to-buffer): Don't set-buffer here, the select-window call
19308 should do that.
19309 (mouse-autoselect-window-select): Autoselect only if we are in the
19310 text portion of the window.
19311
19312 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19313
19314 * net/shr.el (shr-parse-image-data): New function to grab both the
19315 data itself and the Content-Type.
19316 (shr-put-image): Use it.
19317
19318 * net/eww.el (eww-display-image): Ditto.
19319
19320 * image.el (image-content-type-suffixes): New variable.
19321
19322 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19323
19324 * progmodes/python.el (python-imenu--build-tree)
19325 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19326
19327 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19328
19329 * simple.el (backward-word): Mention the optional argument.
19330
19331 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19332
19333 * frameset.el (frameset--make): Rename constructor from make-frameset.
19334 (frameset-p, frameset-valid-p): Don't autoload.
19335 (frameset-valid-p): Use normal accessors.
19336
19337 2013-08-13 Glenn Morris <rgm@gnu.org>
19338
19339 * progmodes/compile.el (compile-command): Tweak example in doc.
19340 * obsolete/scribe.el (scribe-mode):
19341 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19342
19343 * mail/feedmail.el (feedmail-confirm-outgoing)
19344 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19345
19346 * cus-start.el (truncate-partial-width-windows): Fix type.
19347
19348 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19349
19350 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19351
19352 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19353
19354 * emacs-lisp/timer.el (timer--time-setter): New function.
19355 (timer--time): Use it as gv-setter.
19356
19357 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19358 setter is not a symbol.
19359
19360 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19361
19362 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19363 if sending fails. This makes debugging easier.
19364
19365 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19366
19367 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19368 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19369 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19370
19371 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19372
19373 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19374
19375 2013-08-12 Glenn Morris <rgm@gnu.org>
19376
19377 * format.el (format-annotate-function):
19378 Handle read-only text properties in the source. (Bug#14887)
19379
19380 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19381
19382 * net/eww.el (eww-display-html): Ignore coding system errors.
19383 One web site uses "utf-8lias" as the coding system.
19384
19385 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19386
19387 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19388
19389 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19390
19391 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19392 (tutorial--detailed-help): Remove unused local variables.
19393 (tutorial--save-tutorial-to): Use ignore-errors.
19394 (help-with-tutorial): Use looking-at-p.
19395
19396 * view.el (view-buffer-other-window, view-buffer-other-frame):
19397 Mark unused arguments.
19398
19399 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19400 (woman-select-symbol-fonts, woman, woman-find-file)
19401 (woman-insert-file-contents, woman-non-underline-faces):
19402 Use string-match-p.
19403 (woman1-unquote): Move declaration.
19404
19405 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19406 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19407 argument. Remove unused local variable.
19408 (xml-parse-elem-type): Use string-match-p.
19409 (xml-substitute-numeric-entities): Use ignore-errors.
19410
19411 * calculator.el (calculator): Mark unused argument.
19412 (calculator-paste, calculator-quit, calculator-integer-p):
19413 Use ignore-errors.
19414 (calculator-string-to-number, calculator-decimal, calculator-exp)
19415 (calculator-op-or-exp): Use string-match-p.
19416
19417 * dired.el (dired-buffer-more-recently-used-p): Declare.
19418 (dired-insert-set-properties, dired-insert-old-subdirs):
19419 Use ignore-errors.
19420
19421 * dired-aux.el (dired-compress): Use ignore-errors.
19422 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19423 (dired-do-async-shell-command, dired-do-shell-command)
19424 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19425 (dired-insert-subdir-validate): Use string-match-p.
19426 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19427 (dired-add-entry): Use string-match-p, looking-at-p.
19428 (dired-insert-subdir-newpos): Remove unused local variable.
19429
19430 * filenotify.el (file-notify-callback): Remove unused local variable.
19431
19432 * filesets.el (filesets-error): Mark unused argument.
19433 (filesets-which-command-p, filesets-filter-dir-names)
19434 (filesets-directory-files, filesets-get-external-viewer)
19435 (filesets-ingroup-get-data): Use string-match-p.
19436
19437 * find-file.el (ff-other-file-name, ff-other-file-name)
19438 (ff-find-the-other-file, ff-cc-hh-converter):
19439 Remove unused local variables.
19440 (ff-get-file-name): Use string-match-p.
19441 (ff-all-dirs-under): Use ignore-errors.
19442
19443 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19444 (follow-select-if-visible): Remove unused local variable.
19445
19446 * forms.el (read-file-filter): Move declaration.
19447 (forms--make-format, forms--make-parser, forms-insert-record):
19448 Quote function with #'.
19449 (forms--update): Use string-match-p. Quote function with #'.
19450
19451 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19452 (help-make-xrefs): Use looking-at-p.
19453 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19454
19455 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19456 (ibuffer-confirm-operation-on): Use string-match-p.
19457
19458 * msb.el (msb-item-handler, msb-dired-item-handler):
19459 Mark unused arguments.
19460
19461 * ses.el (ses-decode-cell-symbol)
19462 (ses-kill-override): Remove unused local variable.
19463 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19464 (ses-load): Use ignore-errors, looking-at-p.
19465 (ses-jump-safe): Use ignore-errors.
19466 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19467
19468 * tabify.el (untabify, tabify): Mark unused arguments.
19469
19470 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19471 Mark unused argument.
19472 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19473 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19474
19475 * emacs-lisp/timer.el (timer--time): Define setter with
19476 gv-define-setter to avoid deprecation warning.
19477
19478 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19479 (*record-cmpl-statistics-p*): Remove (was commented out).
19480 (cmpl-statistics-block): Remove (body was commented out).
19481 All callers changed.
19482 (add-completions-from-buffer, load-completions-from-file):
19483 Remove unused variables.
19484
19485 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19486
19487 * filecache.el (file-cache-delete-file-list):
19488 Print message only when told so.
19489 (file-cache-files-matching): Use #' in mapconcat argument.
19490
19491 * ffap.el (ffap-url-at-point): Fix reference to variable
19492 thing-at-point-default-mail-uri-scheme.
19493
19494 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19495
19496 * subr.el (define-error): New function.
19497 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19498 error-file-not-found and define with define-error.
19499 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19500 and define with define-error.
19501 * userlock.el (file-locked, file-supersession):
19502 * simple.el (mark-inactive):
19503 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19504 * progmodes/ada-mode.el (ada-mode-errors):
19505 * play/life.el (life-extinct):
19506 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19507 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19508 * nxml/rng-util.el (rng-error):
19509 * nxml/rng-uri.el (rng-uri-error):
19510 * nxml/rng-match.el (rng-compile-error):
19511 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19512 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19513 * nxml/nxml-rap.el (nxml-scan-error):
19514 * nxml/nxml-outln.el (nxml-outline-error):
19515 * net/soap-client.el (soap-error):
19516 * net/gnutls.el (gnutls-error):
19517 * net/ange-ftp.el (ftp-error):
19518 * mpc.el (mpc-proc-error):
19519 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19520 (json-number-format, json-string-escape, json-string-format)
19521 (json-key-format, json-object-format):
19522 * jka-compr.el (compression-error):
19523 * international/quail.el (quail-error):
19524 * international/kkc.el (kkc-error):
19525 * emacs-lisp/ert.el (ert-test-failed):
19526 * calc/calc.el (calc-error, inexact-result, math-overflow)
19527 (math-underflow):
19528 * bookmark.el (bookmark-error-no-filename):
19529 * epg.el (epg-error): Define with define-error.
19530
19531 * time.el (display-time-event-handler)
19532 (display-time-next-load-average): Don't call sit-for since it seems
19533 unnecessary (bug#15045).
19534
19535 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19536 Use #' instead of ' to quote functions.
19537 (checkdoc-output-mode): Use setq-local.
19538 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19539 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19540 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19541 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19542 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19543 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19544 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19545 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19546
19547 * ido.el (ido-completion-help): Fix up compiler warning.
19548
19549 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19550
19551 * frameset.el (frameset-p): Add autoload cookie.
19552 (frameset--jump-to-register): New function, based on code moved from
19553 register.el.
19554 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19555
19556 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19557 (frameset-restore, frameset-save, frameset-session-filter-alist):
19558 Remove declarations.
19559 (register-alist): Doc fix.
19560 (frameset-to-register): Move to frameset.el.
19561 (jump-to-register, describe-register-1): Remove frameset-specific code.
19562
19563 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19564
19565 * allout-widgets.el (allout-widgets-pre-command-business)
19566 (allout-widgets-post-command-business)
19567 (allout-widgets-after-change-handler)
19568 (allout-decorate-item-and-context, allout-set-boundary-marker)
19569 (allout-body-modification-handler)
19570 (allout-graphics-modification-handler): Mark ignored arguments.
19571 (allout-widgets-post-command-business)
19572 (allout-widgets-exposure-change-processor)
19573 (allout-widgets-exposure-undo-processor)
19574 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19575 (allout-parse-item-at-point, allout-decorate-item-guides)
19576 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19577 * allout.el (epa-passphrase-callback-function): Declare.
19578 (allout-overlay-insert-in-front-handler)
19579 (allout-overlay-interior-modification-handler)
19580 (allout-isearch-end-handler, allout-chart-siblings)
19581 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19582 (allout-yank-processing, allout-process-exposed)
19583 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19584 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19585 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19586 (lisp-indent-defform): Mark ignored arguments.
19587 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19588 (calculate-lisp-indent): Remove unused variables.
19589 * international/characters.el (indian-2-column, arabic-2-column)
19590 (tibetan): Mark ignored arguments.
19591 (use-cjk-char-width-table): Mark ignored arguments.
19592 Remove unused variables.
19593 * international/fontset.el (build-default-fontset-data)
19594 (x-compose-font-name, create-fontset-from-fontset-spec):
19595 Mark ignored arguments.
19596 (fontset-plain-name): Remove unused variables.
19597 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19598 (keyboard-coding-system): Mark ignored arguments.
19599 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19600 * help.el (resize-temp-buffer-window):
19601 * window.el (display-buffer-in-major-side-window)
19602 (display-buffer-in-side-window, display-buffer-in-previous-window):
19603 Remove unused variables.
19604 * isearch.el (isearch-forward-symbol):
19605 * version.el (emacs-bzr-version-bzr):
19606 * international/mule-cmds.el (current-language-environment):
19607 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19608 (x-handle-display):
19609 * term/pc-win.el (x-list-fonts, x-display-planes)
19610 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19611 (x-server-version, x-display-screens, x-display-mm-height)
19612 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19613 (x-selection-owner-p, x-own-selection-internal)
19614 (x-disown-selection-internal, x-get-selection-internal)
19615 (msdos-initialize-window-system):
19616 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19617 * term/x-win.el (x-handle-no-bitmap-icon):
19618 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19619 (vc-default-find-file-hook, vc-default-extra-menu):
19620 Mark ignored arguments.
19621
19622 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19625 break-condition in the context of the debugged code (bug#12685).
19626
19627 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19628
19629 * comint.el:
19630 Do not use an overlay to highlight the last prompt. (Bug#14744)
19631 (comint-mode): Make comint-last-prompt buffer local.
19632 (comint-last-prompt): New variable.
19633 (comint-last-prompt-overlay): Remove. Superseded by
19634 comint-last-prompt.
19635 (comint-snapshot-last-prompt, comint-output-filter):
19636 Use comint-last-prompt.
19637
19638 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19639
19640 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19641 (frameset-save): Check validity of the resulting frameset.
19642
19643 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19644
19645 * ido.el (ido-record-command): Add doc string.
19646
19647 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19648
19649 * frameset.el (frameset): Do not disable creation of the default
19650 frameset-p predicate. Doc fix.
19651 (frameset-valid-p): New function, copied from the old predicate-p.
19652 Add additional checks.
19653 (frameset-restore): Check with frameset-valid-p.
19654 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19655 (frameset-name, frameset-description, frameset-properties)
19656 (frameset-states): Add docstring.
19657 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19658 (frameset-filter-alist): Doc fixes.
19659
19660 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19661
19662 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19663
19664 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19665
19666 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19667 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19668 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19669 (byte-compile-normal-call): Remove obsolescence check.
19670
19671 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19672
19673 * frameset.el (frameset-restore): Doc fix.
19674
19675 * register.el (frameset-frame-id, frameset-frame-with-id)
19676 (frameset-p, frameset-restore, frameset-save): Declare.
19677 (register-alist): Document framesets.
19678 (frameset-session-filter-alist): Declare.
19679 (frameset-to-register): New function.
19680 (jump-to-register): Implement jumping to framesets. Doc fix.
19681 (describe-register-1): Describe framesets.
19682
19683 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19684
19685 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19686
19687 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19688 Use lexical-binding.
19689
19690 * frameset.el (frameset): Use type vector, not list (incompatible
19691 change). Do not declare a new constructor, use the default one.
19692 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19693 `name' and `description', respectively, and add read-only slot
19694 `timestamp'. Doc fixes.
19695 (frameset-copy, frameset-persistent-filter-alist)
19696 (frameset-filter-alist, frameset-switch-to-gui-p)
19697 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19698 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19699 (frameset-filter-iconified, frameset-keep-original-display-p):
19700 Doc fixes.
19701 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19702 Rename from frameset-filter-(save|restore)-param. All callers changed.
19703 Doc fix.
19704 (frameset-p): Adapt to change to vector and be more thorough.
19705 Change arg name to OBJECT. Doc fix.
19706 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19707 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19708 All callers changed.
19709 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19710 All callers changed.
19711 (frameset--record-minibuffer-relationships): Rename from
19712 frameset--process-minibuffer-frames. All callers changed.
19713 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19714 Use new default constructor (again). Doc fix.
19715 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19716 All callers changed.
19717 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19718 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19719 Doc fix.
19720 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19721 PARAMETERS and WINDOW-STATE, respectively.
19722 (frameset-restore): Add new keyword argument PREDICATE.
19723 Reset frameset--target-display to nil. Doc fix.
19724
19725 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19726
19727 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19728 (bat-mode): Use it.
19729 (bat-mode-syntax-table): Mark \n as end-of-comment.
19730 (bat-font-lock-keywords): Remove comment rule.
19731
19732 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19733 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19734
19735 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19736 (byte-compile-callargs-warn): Use `push'.
19737 (byte-compile-arglist-warn): Ignore higher-order "calls".
19738 (byte-compile-file-form-autoload): Use `pcase'.
19739 (byte-compile-function-form): If quoting a symbol, check that it exists.
19740
19741 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19742
19743 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19744 and add a few popular commands found in batch files.
19745 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19746 (dos-mode): Doc fixes.
19747
19748 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19749
19750 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19751 (dos-mode): Use setq-local. Add space after "rem".
19752 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19753 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19754
19755 2013-08-07 Arni Magnusson <arnima@hafro.is>
19756
19757 * progmodes/dos.el: New file.
19758 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19759 dos-mode.
19760
19761 2013-08-06 Glenn Morris <rgm@gnu.org>
19762
19763 * calendar/calendar.el: Add new faces, and day-header-array.
19764 (calendar-weekday-header, calendar-weekend-header)
19765 (calendar-month-header): New faces.
19766 (calendar-day-header-construct): New function.
19767 (calendar-day-header-width): Also :set calendar-day-header-array.
19768 (calendar-american-month-header, calendar-european-month-header)
19769 (calendar-iso-month-header): Use calendar- faces.
19770 (calendar-generate-month):
19771 Use calendar-day-header-array for day headers; apply faces to them.
19772 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19773 (calendar-abbrev-construct): Add optional maxlen argument.
19774 (calendar-day-name-array): Doc fix.
19775 (calendar-day-name-array, calendar-abbrev-length)
19776 (calendar-day-abbrev-array):
19777 Also :set calendar-day-header-array, and maybe redraw.
19778 (calendar-day-header-array): New option. (Bug#15007)
19779 (calendar-font-lock-keywords): Set to nil and make obsolete.
19780 (calendar-day-name): Add option to use header array.
19781
19782 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19783
19784 * net/shr.el (shr-render-td): Remove debugging.
19785 (shr-render-td): Make width computation consistent by defaulting
19786 all zero-width columns to 10 characters. This may not be optimal,
19787 but it's at least consistent.
19788 (shr-make-table-1): Redo last change to fix the real problem in
19789 colspan handling.
19790
19791 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19792
19793 * files.el (cache-long-line-scans):
19794 Make obsolete alias to `cache-long-scans'.
19795
19796 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19797
19798 * frameset.el (frameset, frameset-filter-alist)
19799 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19800 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19801 (frameset-compute-pos): Rename from frameset--compute-pos,
19802 and add docstring.
19803 (frameset-move-onscreen): Use frameset-compute-pos.
19804 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19805
19806 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19807 Fix typos in docstrings.
19808
19809 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19810
19811 * frame.el (get-other-frame): Tiny cleanup.
19812
19813 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19814
19815 * vc/vc.el (vc-default-ignore-completion-table):
19816 Silence byte-compiler warning.
19817
19818 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19819 slot, which can indeed be nil.
19820 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19821 Move entry for `left' from persistent to live filter alist.
19822 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19823 Doc fixes.
19824 (frameset-filter-params): When restoring a frame, copy items added to
19825 `filtered', to avoid unwittingly modifying the original parameters.
19826 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19827 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19828
19829 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19830 to use looking-at-p instead of looking-at. (Bug#15028)
19831
19832 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19833
19834 Revert introduction of isearch-filter-predicates (bug#14714).
19835 Rely on add-function instead.
19836 * isearch.el (isearch-filter-predicates): Rename it back to
19837 isearch-filter-predicate.
19838 (isearch-message-prefix): Use advice-function-mapc and advice
19839 properties to get the isearch-message-prefix.
19840 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19841 instead of run-hook-with-args-until-failure.
19842 (isearch-filter-visible): Not obsolete any more.
19843 * loadup.el: Preload nadvice.
19844 * replace.el (perform-replace): Revert to funcall
19845 instead of run-hook-with-args-until-failure.
19846 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19847 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19848 dired-isearch-filenames-toggle; make it into a proper minor mode.
19849 Use add/remove-function.
19850 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19851 Call the minor-mode rather than add/remove-hook.
19852 (dired-isearch-filter-filenames):
19853 Remove isearch-message-prefix property.
19854 * info.el (Info--search-loop): New function, extracted from Info-search.
19855 Funcall isearch-filter-predicate instead of
19856 run-hook-with-args-until-failure isearch-filter-predicates.
19857 (Info-search): Use it.
19858 (Info-mode): Use isearch-filter-predicate instead of
19859 isearch-filter-predicates.
19860
19861 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19862
19863 Do not call to `selected-window' where it is assumed by default.
19864 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19865 `window-hscroll', `window-width', `window-height', `window-buffer',
19866 `window-frame', `window-start', `window-point', `next-window'
19867 and `window-display-table'.
19868 * abbrev.el (abbrev--default-expand):
19869 * bs.el (bs--show-with-configuration):
19870 * buff-menu.el (Buffer-menu-mouse-select):
19871 * calc/calc.el (calc):
19872 * calendar/calendar.el (calendar-generate-window):
19873 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19874 (diary-make-entry):
19875 * comint.el (send-invisible, comint-dynamic-complete-filename)
19876 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19877 * completion.el (complete):
19878 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19879 * disp-table.el (describe-current-display-table):
19880 * doc-view.el (doc-view-insert-image):
19881 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19882 * ehelp.el (with-electric-help):
19883 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19884 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19885 * emacs-lisp/helper.el (Helper-help-scroller):
19886 * emulation/cua-base.el (cua--post-command-handler-1):
19887 * eshell/esh-mode.el (eshell-output-filter):
19888 * ffap.el (ffap-gnus-wrapper):
19889 * help-macro.el (make-help-screen):
19890 * hilit-chg.el (highlight-compare-buffers):
19891 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19892 * hl-line.el (global-hl-line-highlight):
19893 * icomplete.el (icomplete-simple-completing-p):
19894 * isearch.el (isearch-done):
19895 * jit-lock.el (jit-lock-stealth-fontify):
19896 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19897 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19898 * mpc.el (mpc-tagbrowser, mpc):
19899 * net/rcirc.el (rcirc-any-buffer):
19900 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19901 * play/landmark.el (landmark-max-width, landmark-max-height):
19902 * play/zone.el (zone):
19903 * progmodes/compile.el (compilation-goto-locus):
19904 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19905 * progmodes/etags.el (find-tag-other-window):
19906 * progmodes/fortran.el (fortran-column-ruler):
19907 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19908 * progmodes/verilog-mode.el (verilog-point-text):
19909 * reposition.el (reposition-window):
19910 * rot13.el (toggle-rot13-mode):
19911 * server.el (server-switch-buffer):
19912 * shell.el (shell-dynamic-complete-command)
19913 (shell-dynamic-complete-environment-variable):
19914 * simple.el (insert-buffer, set-selective-display)
19915 (delete-completion-window):
19916 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19917 (speedbar-recenter):
19918 * startup.el (fancy-splash-head):
19919 * textmodes/ispell.el (ispell-command-loop):
19920 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19921 * tutorial.el (help-with-tutorial):
19922 * vc/add-log.el (add-change-log-entry):
19923 * vc/compare-w.el (compare-windows):
19924 * vc/ediff-help.el (ediff-indent-help-message):
19925 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19926 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19927 (ediff-setup-control-frame):
19928 * vc/emerge.el (emerge-position-region):
19929 * vc/pcvs-util.el (cvs-bury-buffer):
19930 * window.el (walk-windows, mouse-autoselect-window-select):
19931 * winner.el (winner-set-conf, winner-undo): Related users changed.
19932
19933 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19934
19935 * frameset.el (frameset--set-id): Doc fix.
19936 (frameset-frame-id, frameset-frame-id-equal-p)
19937 (frameset-locate-frame-id): New functions.
19938 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19939 (frameset-restore): Use them.
19940
19941 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19942
19943 Do not call to `selected-frame' where it is assumed by default.
19944 Affected functions are `raise-frame', `redraw-frame',
19945 `frame-first-window', `frame-terminal' and `delete-frame'.
19946 * calendar/appt.el (appt-disp-window):
19947 * epg.el (epg-wait-for-completion):
19948 * follow.el (follow-delete-other-windows-and-split)
19949 (follow-avoid-tail-recenter):
19950 * international/mule.el (set-terminal-coding-system):
19951 * mail/rmail.el (rmail-mail-return):
19952 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19953 * progmodes/f90.el (f90-add-imenu-menu):
19954 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19955 * server.el (server-switch-buffer):
19956 * simple.el (delete-completion-window):
19957 * talk.el (talk):
19958 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19959 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19960 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19961 * vc/ediff.el (ediff-documentation): Related users changed.
19962 * frame.el (selected-terminal): Remove the leftover.
19963
19964 2013-08-05 Glenn Morris <rgm@gnu.org>
19965
19966 * calendar/calendar.el (calendar-generate-month):
19967 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19968 (calendar-generate-month, calendar-font-lock-keywords):
19969 Fix for calendar-day-header-width > length of any day name.
19970
19971 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19972
19973 * desktop.el (desktop-clear): Use new name of sort predicate.
19974
19975 * frameset.el (frameset): Add docstring. Move :version property to its
19976 own `version' slot.
19977 (frameset-copy): Rename from copy-frameset.
19978 (frameset-p): Check more thoroughly.
19979 (frameset-prop): Do not check for :version, which is no longer a prop.
19980 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19981 Use new :never value instead of t.
19982 (frameset-filter-alist): Expand and clarify docstring.
19983 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19984 (frameset-filter-minibuffer, frameset-filter-save-param)
19985 (frameset-filter-restore-param, frameset-filter-iconified):
19986 Add pointer to docstring of frameset-filter-alist.
19987 (frameset-filter-params): Rename filter values to be more meaningful:
19988 :never instead of t, and reverse the meanings of :save and :restore.
19989 (frameset--process-minibuffer-frames): Clarify error message.
19990 (frameset-save): Avoid unnecessary and confusing call to framep.
19991 Use new BOA constructor for framesets.
19992 (frameset--reuse-list): Doc fix.
19993 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19994 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19995 (frameset-minibufferless-first-p): Doc fix.
19996 Rename from frameset-sort-frames-for-deletion.
19997 (frameset-restore): Doc fixes. Use new function names.
19998 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19999
20000 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20001
20002 * desktop.el (desktop-restore-forces-onscreen)
20003 (desktop-restore-reuses-frames): Document :keyword constant values.
20004 (desktop-filter-parameters-alist): Remove, now identical to
20005 frameset-filter-alist.
20006 (desktop--filter-tty*): Remove, moved to frameset.el.
20007 (desktop-save-frameset, desktop-restore-frameset):
20008 Do not pass :filters argument.
20009
20010 * frameset.el (frameset-live-filter-alist)
20011 (frameset-persistent-filter-alist): New variables.
20012 (frameset-filter-alist): Use them. Add autoload cookie.
20013 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20014 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20015 `frameset--id' (it's supposed to be internal to frameset.el).
20016 (frameset--process-minibuffer-frames): Ditto. Doc fix.
20017 (frameset--initial-params): New function.
20018 (frameset--get-frame): Use it. Doc fix.
20019 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20020 Accept :all, not 'all.
20021 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20022 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
20023 with fbound symbols. Fix frame id matching, and remove matching ids if
20024 the frame being restored is deleted. Obey :delete.
20025
20026 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20027
20028 * subr.el (macrop): New function.
20029 (text-clone--maintaining): New var.
20030 (text-clone--maintain): Rename from text-clone-maintain. Use it
20031 instead of inhibit-modification-hooks.
20032
20033 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20034 a proxy, so as handle autoloads and redefinitions of the target.
20035 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20036
20037 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20038 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20039 (pcase--mutually-exclusive-p): New function.
20040 (pcase--split-consp): Use it.
20041 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20042 mutually exclusive with the current predicate.
20043
20044 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20045 (edebug-macrop): Remove. Use `macrop' instead.
20046 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20047 (ad-macro-p):
20048 * eshell/esh-cmd.el (eshell-macrop):
20049 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20050
20051 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20052
20053 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20054 (advice-mapc): New function, using it.
20055 (advice-function-member-p): New function.
20056 (advice--normalize): Store the cdr in advice--saved-rewrite since
20057 that's the part that will be changed.
20058 (advice--symbol-function): New function.
20059 (advice-remove): Handle removal before the function is defined.
20060 Adjust to new advice--saved-rewrite.
20061 (advice-member-p): Use advice-function-member-p and
20062 advice--symbol-function.
20063
20064 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20065
20066 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20067 (frameset-filter-minibuffer): Doc fix.
20068 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20069 (frameset--set-id, frameset--process-minibuffer-frames)
20070 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20071 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20072
20073 * desktop.el (desktop-clear): Only delete frames when called
20074 interactively and desktop-restore-frames is non-nil. Doc fix.
20075 (desktop-read): Set desktop-saved-frameset to nil.
20076
20077 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20078
20079 * vc/vc.el (vc-ignore): Rewrite.
20080 (vc-default-ignore-completion-table, vc--read-lines)
20081 (vc--add-line, vc--remove-regexp): New functions.
20082
20083 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20084 (vc-svn-ignore-completion-table): New function.
20085
20086 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20087 (vc-hg-ignore-completion-table)
20088 (vc-hg-find-ignore-file): New functions.
20089
20090 * vc/vc-git.el (vc-git-ignore): Rewrite.
20091 (vc-git-ignore-completion-table)
20092 (vc-git-find-ignore-file): New functions.
20093
20094 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20095
20096 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20097 (vc-bzr-ignore-completion-table)
20098 (vc-bzr-find-ignore-file): New functions.
20099
20100 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20101
20102 * frameset.el (frameset-prop): New function and setter.
20103 (frameset-save): Do not modify frame list passed by the caller.
20104
20105 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20106
20107 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20108
20109 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20110
20111 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20112 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20113
20114 * custom.el (custom-initialize-default, custom-initialize-set)
20115 (custom-initialize-reset, custom-initialize-changed): Affect the
20116 toplevel-default-value (bug#6275, bug#14586).
20117 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20118 for bug#6275.
20119
20120 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20121
20122 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20123 Add cl-def* expressions.
20124
20125 * frameset.el (frameset-filter-params): Fix order of arguments.
20126
20127 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20128
20129 Move code related to saving frames to frameset.el.
20130 * desktop.el: Require frameset.
20131 (desktop-restore-frames): Doc fix.
20132 (desktop-restore-reuses-frames): Rename from
20133 desktop-restoring-reuses-frames.
20134 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20135 (desktop-clear): Clear frames too.
20136 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20137 (desktop--filter-tty*, desktop-save, desktop-read):
20138 Use frameset functions.
20139 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20140 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20141 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20142 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20143 (desktop--process-minibuffer-frames, desktop-save-frames)
20144 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20145 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20146 (desktop--sort-states, desktop-restoring-frames-p)
20147 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20148 (desktop-restoring-frameset-p, desktop-restore-frameset)
20149 (desktop--check-dont-save, desktop-save-frameset): New functions.
20150 (desktop--app-id): New constant.
20151 (desktop-first-buffer, desktop-buffer-ok-count)
20152 (desktop-buffer-fail-count): Move before first use.
20153 * frameset.el: New file.
20154
20155 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20156
20157 * files.el: Use lexical-binding.
20158 (dir-locals-read-from-file): Remove unused `err' variable.
20159 (hack-dir-local-variables--warned-coding): New var.
20160 (hack-dir-local-variables): Use it to avoid repeated warnings.
20161 (make-backup-file-name--default-function): New function.
20162 (make-backup-file-name-function): Use it as default.
20163 (buffer-stale--default-function): New function.
20164 (buffer-stale-function): Use it as default.
20165 (revert-buffer-insert-file-contents--default-function): New function.
20166 (revert-buffer-insert-file-contents-function): Use it as default.
20167 (insert-directory): Avoid add-to-list.
20168
20169 * autorevert.el (auto-revert-handler): Simplify.
20170 Use buffer-stale--default-function.
20171
20172 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20173
20174 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20175
20176 * whitespace.el (whitespace-ensure-local-variables): New function.
20177 (whitespace-cleanup-region): Call it.
20178 (whitespace-turn-on): Call it.
20179
20180 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20181
20182 Complete file name handlers.
20183
20184 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20185 (tramp-handle-verify-visited-file-modtime)
20186 (tramp-handle-file-notify-rm-watch): New functions.
20187 (tramp-call-process): Do not bind `default-directory'.
20188
20189 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20190 Order alphabetically.
20191 <access-file, add-name-to-file, dired-call-process>:
20192 <dired-compress-file, file-acl, file-notify-rm-watch>:
20193 <file-ownership-preserved-p, file-selinux-context>:
20194 <make-directory-internal, make-symbolic-link, set-file-acl>:
20195 <set-file-selinux-context, set-visited-file-modtime>:
20196 <verify-visited-file-modtime>: Add handler.
20197 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20198
20199 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20200 <file-notify-add-watch, file-notify-rm-watch>:
20201 <set-file-times, set-visited-file-modtime>:
20202 <verify-visited-file-modtime>: Add handler.
20203 (with-tramp-gvfs-error-message)
20204 (tramp-gvfs-handle-set-visited-file-modtime)
20205 (tramp-gvfs-fuse-file-name): Remove.
20206 (tramp-gvfs-handle-file-notify-add-watch)
20207 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20208 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20209
20210 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20211 Order alphabetically.
20212 <file-notify-rm-watch>: Use default Tramp handler.
20213 <executable-find>: Remove private handler.
20214 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20215 `default-directory'.
20216 (tramp-sh-handle-executable-find)
20217 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20218 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20219 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20220 Do not use `format' in `tramp-message'.
20221
20222 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20223 <file-notify-rm-watch, set-visited-file-modtime>:
20224 <verify-visited-file-modtime>: Add handler.
20225 (tramp-smb-call-winexe): Do not bind `default-directory'.
20226
20227 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20228
20229 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20230
20231 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20232
20233 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20234 use it.
20235 (log-view-diff-changeset): Same.
20236 (log-view-diff-common): Call backend command `previous-revision'
20237 to find out the previous revision, in both cases. Swap the
20238 variables `to' and `fr', so that `fr' usually refers to the
20239 earlier revision (Bug#14989).
20240
20241 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20242
20243 * ibuf-ext.el (ibuffer-filter-by-filename):
20244 Make it work with dired buffers too.
20245
20246 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20247
20248 * emacs-lisp/re-builder.el (reb-color-display-p):
20249 * files.el (save-buffers-kill-terminal):
20250 * net/browse-url.el (browse-url):
20251 * server.el (server-save-buffers-kill-terminal):
20252 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20253 Prefer nil to selected-frame for the first arg of frame-parameter.
20254
20255 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20256
20257 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20258
20259 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20260
20261 * minibuffer.el (completion--twq-all): Try and preserve each
20262 completion's case choice (bug#14907).
20263
20264 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20265
20266 * net/network-stream.el (open-network-stream): Mention the new
20267 :nogreeting parameter.
20268 (network-stream-open-starttls): Use the :nogreeting parameter
20269 (bug#14938).
20270
20271 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20272
20273 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20274 more natural than popping.
20275
20276 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20277 (shr-urlify): Highlight under mouse.
20278
20279 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20280
20281 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20282
20283 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20284
20285 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20286 buffer for output.
20287
20288 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20289 point-min==1. Fix search string. Fix parentheses missing.
20290
20291 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20292 assume point-min==1. Fix search string. Fix parentheses missing.
20293
20294 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20295
20296 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20297 buffer for output.
20298
20299 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20300
20301 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20302 initial frame is minibuffer-less. (Bug#14841)
20303
20304 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20305
20306 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20307 option.
20308
20309 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20310 (tramp-maybe-open-connection): Use it.
20311
20312 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20313
20314 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20315 minimal set of parameters passed when creating a frame, because
20316 the minibuffer status of a frame cannot be changed later.
20317
20318 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20319
20320 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20321 replace-regexp-in-string and inadvertent omissions in previous change.
20322 (todo-filter-items): Ensure only file names are comma-separated in
20323 name of filtered items buffer.
20324
20325 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20326
20327 * desktop.el: Optionally force offscreen frames back onscreen.
20328 (desktop-restoring-reuses-frames): New option.
20329 (desktop--compute-pos, desktop--move-onscreen): New functions.
20330 (desktop--make-frame): Use desktop--move-onscreen.
20331
20332 2013-07-27 Alan Mackenzie <acm@muc.de>
20333
20334 Fontify a Java generic method as a function.
20335 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20336 value to t.
20337
20338 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20339
20340 * calendar/todo-mode.el: Add command to rename todo files.
20341 (todo-rename-file): New command.
20342 (todo-key-bindings-t): Add key binding for it. Change the
20343 bindings of todo-filter-regexp-items(-multifile) to use `x'
20344 instead of `r', since the latter is better suited to the new
20345 renaming command.
20346
20347 2013-07-27 Alan Mackenzie <acm@muc.de>
20348
20349 Make Java try-with-resources statement parse properly.
20350 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20351 (c-block-stmt-1-2-key): New language constants/variables.
20352 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20353 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20354 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20355 with c-block-stmt-1-2-key.
20356
20357 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20358
20359 * desktop.el (desktop--make-frame): Apply most frame parameters after
20360 creating the frame to force (partially or totally) offscreen frames to
20361 be restored as such.
20362
20363 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20364
20365 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20366 (Bug#14948)
20367
20368 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20369
20370 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20371 `base' arg of backtrace-frame.
20372
20373 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20374
20375 * simple.el (list-processes): Doc fix.
20376
20377 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20378
20379 * desktop.el (desktop--select-frame):
20380 Try harder to reuse existing frames.
20381
20382 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20383
20384 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20385 (edebug-eval): Use backtrace-eval.
20386 (edebug--display, edebug--recursive-edit): Don't let-bind the
20387 edebug-outer-* vars that keep track of variables we locally let-bind.
20388 (edebug-outside-excursion): Don't restore outside values of locally
20389 let-bound vars.
20390 (edebug--display): Use user-error.
20391 (cl-lexical-debug, cl-debug-env): Remove.
20392
20393 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20394
20395 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20396 are restored to be sure that they are visible before deleting any
20397 remaining ones.
20398
20399 2013-07-26 Matthias Meulien <orontee@gmail.com>
20400
20401 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20402 vc-print-root-log. (Bug#14948)
20403
20404 2013-07-26 Richard Stallman <rms@gnu.org>
20405
20406 Add aliases for encrypting mail.
20407 * epa.el (epa-mail-aliases): New option.
20408 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20409 Bind inhibit-read-only so read-only text doesn't ruin everything.
20410 (epa-mail-default-recipients): New subroutine broken out.
20411 Handle epa-mail-aliases.
20412
20413 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20414
20415 Add support for lexical variables to the debugger's `e' command.
20416 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20417 vars, except for debugger-outer-match-data.
20418 (debugger-frame-number): Move check for "on a function call" from
20419 callers into it. Add `skip-base' argument.
20420 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20421 (debugger-env-macro): Only reset the state stored in non-variables,
20422 i.e. current-buffer and match-data.
20423 (debugger-eval-expression): Rewrite using backtrace-eval.
20424 * subr.el (internal--called-interactively-p--get-frame): Remove.
20425 (called-interactively-p):
20426 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20427 `base' arg of backtrace-frame instead.
20428
20429 2013-07-26 Glenn Morris <rgm@gnu.org>
20430
20431 * align.el (align-regexp): Doc fix. (Bug#14857)
20432 (align-region): Explicit error if subexpression missing/does not match.
20433
20434 * simple.el (global-visual-line-mode):
20435 Do not duplicate the mode lighter. (Bug#14858)
20436
20437 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20438
20439 * window.el (display-buffer): In display-buffer bind
20440 split-window-keep-point to t, bug#14829.
20441
20442 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20443
20444 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20445 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20446 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20447 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20448 Change accordingly.
20449 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20450 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20451
20452 2013-07-25 Glenn Morris <rgm@gnu.org>
20453
20454 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20455
20456 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20457
20458 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20459 parameter to modify-frame-parameters if the value has not changed;
20460 this is a workaround for bug#14949.
20461 (desktop--make-frame): On cl-delete-if call, check parameter name,
20462 not full parameter.
20463
20464 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20465
20466 * vc/vc.el (vc-ignore): New function.
20467
20468 * vc/vc-svn.el (vc-svn-ignore): New function.
20469
20470 * vc/vc-hg.el (vc-hg-ignore): New function.
20471
20472 * vc/vc-git.el (vc-git-ignore): New function.
20473
20474 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20475 (vc-dir-ignore): New function.
20476
20477 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20478 (cvs-append-to-ignore): Move here from pcvs.el.
20479
20480 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20481
20482 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20483
20484 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20485
20486 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20487 (desktop-restore-frames): Warn when deleting an existing frame failed.
20488
20489 2013-07-24 Glenn Morris <rgm@gnu.org>
20490
20491 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20492
20493 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20494
20495 * filenotify.el (file-notify-supported-p):
20496 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20497 Remove functions.
20498
20499 * autorevert.el (auto-revert-use-notify)
20500 (auto-revert-notify-add-watch):
20501 * net/tramp.el (tramp-file-name-for-operation):
20502 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20503 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20504 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20505 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20506 Remove `file-notify-supported-p' entry.
20507
20508 2013-07-24 Glenn Morris <rgm@gnu.org>
20509
20510 * printing.el: Replace all uses of deleted ps-windows-system,
20511 ps-lp-system, ps-flatten-list with lpr- versions.
20512
20513 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20514
20515 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20516 checked with memq (bug#14935).
20517
20518 * files.el (revert-buffer-function): Use a non-nil default.
20519 (revert-buffer-preserve-modes): Declare var to
20520 provide access to the `preserve-modes' argument.
20521 (revert-buffer): Let-bind it.
20522 (revert-buffer--default): New function, extracted from revert-buffer.
20523
20524 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20525
20526 * lpr.el: Signal print errors more prominently.
20527 (print-region-function): Don't default to nil.
20528 (lpr-print-region): New function, extracted from print-region-1.
20529 Check lpr's return value and signal an error in case of problem.
20530 (print-region-1): Use it.
20531 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20532 versions instead.
20533 (ps-printer-name): Default to nil.
20534 (ps-printer-name-option): Default to lpr-printer-switch.
20535 (ps-print-region-function): Don't default to nil.
20536 (ps-postscript-code-directory): Simplify default.
20537 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20538 (ps-string-list, ps-eval-switch, ps-flatten-list)
20539 (ps-flatten-list-1): Remove.
20540 (ps-multibyte-buffer): Avoid setq.
20541 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20542 (print-region-function, ps-print-region-function): Don't set them here.
20543
20544 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20545
20546 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20547 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20548 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20549 (ido-decorations): Doc fix.
20550
20551 * ansi-color.el: Fix old URL.
20552
20553 2013-07-23 Michael R. Mauger <michael@mauger.com>
20554
20555 * progmodes/sql.el: Version 3.3
20556 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20557 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20558 (sql-interactive-remove-continuation-prompt): Rewrite, use
20559 functions above. Fix continuation prompt and complete output line
20560 handling.
20561 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20562 redirected output buffer.
20563 (sql-mode): Restore deleted code (Bug#13591).
20564
20565 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20566
20567 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20568
20569 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20570
20571 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20572
20573 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20575 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20576
20577 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20578
20579 * desktop.el (desktop-clear): Simplify; remove useless checks
20580 against invalid buffer names.
20581 (desktop-list*): Use cl-list*.
20582 (desktop-buffer-info, desktop-create-buffer): Simplify.
20583
20584 2013-07-23 Leo Liu <sdl.web@gmail.com>
20585
20586 * bookmark.el (bookmark-make-record): Restore NAME as a default
20587 value. (Bug#14933)
20588
20589 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20590
20591 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20592 extracted from autoload--insert-text.
20593 (autoload--insert-text): Remove.
20594 (autoload--print-cookie-text): New function, extracted from
20595 autoload--insert-cookie-text.
20596 (autoload--insert-cookie-text): Remove.
20597 (autoload-generate-file-autoloads): Adjust calls accordingly.
20598
20599 * winner.el (winner-hook-installed-p): Remove.
20600 (winner-mode): Simplify accordingly.
20601
20602 * subr.el (add-to-list): Fix compiler-macro when `append' is
20603 not constant. Don't use `cl-member' for the base case.
20604
20605 * progmodes/subword.el: Fix boundary case (bug#13758).
20606 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20607 own group.
20608 (subword-backward-regexp): Make it a constant.
20609 (subword-forward-internal): Don't treat a trailing capital as the
20610 beginning of a word.
20611
20612 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20613
20614 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20615 global value of tabulated-list-revert-hook (bug#14930).
20616
20617 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20618
20619 * desktop.el: Require 'cl-lib.
20620 (desktop-before-saving-frames-functions): New hook.
20621 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20622 for frames being saved. Rename from desktop--save-minibuffer-frames.
20623 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20624 Do not save frames with non-nil `desktop-dont-save' parameter.
20625 Filter out deleted frames.
20626 (desktop--find-frame): Use cl-find-if.
20627 (desktop--select-frame): Use cl-(first|second|third) to access values
20628 of desktop-mini.
20629 (desktop--make-frame): Use cl-delete-if.
20630 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20631 (desktop-restore-frames): Use cl-(first|second|third) to access values
20632 of desktop-mini. Look for visible frame at the end, not while
20633 restoring frames.
20634
20635 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20636 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20637 Use string-match-p, looking-at-p (bug#14927).
20638
20639 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20640
20641 * desktop.el (desktop-saved-frame-states):
20642 Rename from desktop--saved-states; all users changed.
20643 (desktop-save-frames): Rename from desktop--save-frames.
20644 Do not save state to desktop file.
20645 (desktop-save): Save desktop-saved-frame-states to desktop file
20646 and reset to nil.
20647 (desktop-restoring-frames-p): New function.
20648 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20649 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20650 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20651
20652 * desktop.el: Correctly restore iconified frames.
20653 (desktop--filter-iconified-position): New function.
20654 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20655
20656 2013-07-20 Glenn Morris <rgm@gnu.org>
20657
20658 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20659 Let `message' do the formatting.
20660 (def-gdb-preempt-display-buffer): Add explicit format.
20661
20662 * image-dired.el (image-dired-track-original-file):
20663 Use with-current-buffer.
20664 (image-dired-track-thumbnail): Use with-current-buffer.
20665 Avoid changing point of wrong window.
20666
20667 * image-dired.el (image-dired-track-original-file):
20668 Avoid changing point of wrong window. (Bug#14909)
20669
20670 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20671
20672 * progmodes/gdb-mi.el (gdb-done-or-error):
20673 Guard against "%" in gdb output. (Bug#14127)
20674
20675 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20676
20677 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20678 (Bug#14826)
20679
20680 * international/mule.el (coding-system-iso-2022-flags): Fix last
20681 change.
20682
20683 2013-07-20 Kenichi Handa <handa@gnu.org>
20684
20685 * international/mule.el (coding-system-iso-2022-flags):
20686 Add `8-bit-level-4'. (Bug#8522)
20687
20688 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20689
20690 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20691 (bug#14815).
20692
20693 * net/eww.el (eww-process-text-input): Allow inputting when the
20694 point is at the start of the line, as the properties aren't
20695 front-sticky.
20696
20697 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20698 degenerate widths.
20699
20700 2013-07-19 Richard Stallman <rms@gnu.org>
20701
20702 * epa.el (epa-popup-info-window): Doc fix.
20703
20704 * subr.el (split-string): New arg TRIM.
20705
20706 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20707
20708 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20709 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20710
20711 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20712
20713 * filenotify.el (file-notify--library): Rename from
20714 `file-notify-support'. Do not autoload. Adapt all uses.
20715 (file-notify-supported-p): New defun.
20716
20717 * autorevert.el (auto-revert-use-notify):
20718 Use `file-notify-supported-p' instead of `file-notify-support'.
20719 Adapt docstring.
20720 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20721
20722 * net/tramp.el (tramp-file-name-for-operation):
20723 Add `file-notify-supported-p'.
20724
20725 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20726 New defun.
20727 (tramp-sh-file-name-handler-alist): Add it as handler for
20728 `file-notify-supported-p '.
20729
20730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20731 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20732 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20733 Add `ignore' as handler for `file-notify-*' functions.
20734
20735 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20736
20737 * simple.el (line-move-partial, line-move): Don't start vscroll or
20738 scroll-up if the current line is not taller than the window.
20739 (Bug#14881)
20740
20741 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20742
20743 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20744 highlight question marks in the method names as strings.
20745 (ruby-block-beg-keywords): Inline.
20746 (ruby-font-lock-keyword-beg-re): Extract from
20747 `ruby-font-lock-keywords'.
20748
20749 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20750
20751 * frame.el (blink-cursor-blinks): New defcustom.
20752 (blink-cursor-blinks-done): New defvar.
20753 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20754 (blink-cursor-timer-function): Check if number of blinks has been
20755 done on X and NS.
20756 (blink-cursor-suspend, blink-cursor-check): New defuns.
20757
20758 2013-07-15 Glenn Morris <rgm@gnu.org>
20759
20760 * edmacro.el (edmacro-format-keys): Fix previous change.
20761
20762 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20763
20764 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20765 The hack didn't work outside English locales anyway.
20766
20767 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20768
20769 * simple.el (define-alternatives): Rename from alternatives-define,
20770 per RMS' suggestion.
20771
20772 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20773
20774 * desktop.el (desktop-restore-frames): Change default to t.
20775 (desktop-restore-in-current-display): Now offer more options.
20776 (desktop-restoring-reuses-frames): New customization option.
20777 (desktop--saved-states): Doc fix.
20778 (desktop-filter-parameters-alist): New variable, renamed and expanded
20779 from desktop--excluded-frame-parameters.
20780 (desktop--target-display): New variable.
20781 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20782 (desktop--filter-tty*, desktop--filter-*-color)
20783 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20784 (desktop--filter-save-desktop-parm)
20785 (desktop-restore-in-original-display-p): New functions.
20786 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20787 (desktop--save-minibuffer-frames): New function, inspired by a similar
20788 function from Martin Rudalics.
20789 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20790 (desktop--restore-in-this-display-p): Remove.
20791 (desktop--find-frame): Rename from desktop--find-frame-in-display
20792 and add predicate argument.
20793 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20794 (desktop--reuse-list): New variable.
20795 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20796 New functions.
20797 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20798
20799 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20800
20801 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20802
20803 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20804
20805 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20806 Highlight conversion methods on Kernel.
20807
20808 2013-07-13 Alan Mackenzie <acm@muc.de>
20809
20810 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20811 and comment it out. This out-commenting enables certain C++
20812 declarations to be parsed correctly.
20813
20814 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20815
20816 * international/mule.el (define-coding-system): Doc fix.
20817
20818 * simple.el (default-font-height): Don't call font-info if the
20819 frame's default font didn't change since the frame was created.
20820 (Bug#14838)
20821
20822 2013-07-13 Leo Liu <sdl.web@gmail.com>
20823
20824 * ido.el (ido-read-file-name): Guard against non-symbol value.
20825
20826 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20827
20828 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20829 in nested defuns.
20830
20831 2013-07-13 Leo Liu <sdl.web@gmail.com>
20832
20833 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20834 ido-set-matches call. (Bug#6852)
20835
20836 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20837
20838 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20839 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20840 Ruby 2.0.
20841 (ruby-font-lock-keywords): Distinguish calls to functions with
20842 module-like names from module references. Highlight character
20843 literals.
20844
20845 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20846
20847 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20848 (gdb-send): Handle continued commands. (Bug#14847)
20849
20850 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20851
20852 * desktop.el (desktop--v2s): Remove unused local variable.
20853 (desktop-save-buffer): Make defvar-local; adjust docstring.
20854 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20855 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20856
20857 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20858
20859 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20860
20861 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20862
20863 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20864 (Bug#14842)
20865
20866 2013-07-12 Glenn Morris <rgm@gnu.org>
20867
20868 * doc-view.el: Require cl-lib at runtime too.
20869 (doc-view-remove-if): Remove.
20870 (doc-view-search-next-match, doc-view-search-previous-match):
20871 Use cl-remove-if.
20872
20873 * edmacro.el: Require cl-lib at runtime too.
20874 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20875 (edmacro-mismatch, edmacro-subseq): Remove.
20876
20877 * shadowfile.el: Require cl-lib.
20878 (shadow-remove-if): Remove.
20879 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20880 Use cl-remove-if.
20881
20882 * wid-edit.el: Require cl-lib.
20883 (widget-choose): Use cl-remove-if.
20884 (widget-remove-if): Remove.
20885
20886 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20887 (ebrowse-delete-if-not): Remove.
20888 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20889 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20890 Use cl-delete-if-not.
20891
20892 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20893
20894 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20895 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20896
20897 2013-07-12 Leo Liu <sdl.web@gmail.com>
20898
20899 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20900
20901 2013-07-11 Glenn Morris <rgm@gnu.org>
20902
20903 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20904 (edebug-gensym-index, edebug-gensym):
20905 Remove reimplementation of cl-gensym.
20906 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20907
20908 * thumbs.el: Require cl-lib at run-time too.
20909 (thumbs-gensym-counter, thumbs-gensym):
20910 Remove reimplementation of cl-gensym.
20911 (thumbs-temp-file): Use cl-gensym.
20912
20913 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20914 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20915 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20916 (ert--union, ert--gensym-counter, ert--gensym-counter)
20917 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20918 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20919 (ert-make-test-unbound, ert--expand-should-1)
20920 (ert--expand-should, ert--should-error-handle-error)
20921 (should-error, ert--explain-equal-rec)
20922 (ert--plist-difference-explanation, ert-select-tests)
20923 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20924 Use cl-lib functions rather than reimplementations.
20925
20926 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20927
20928 * net/tramp.el (tramp-methods): Extend docstring.
20929 (tramp-connection-timeout): New defcustom.
20930 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20931 (with-tramp-progress-reporter): Simplify.
20932 (tramp-process-actions): Improve messages.
20933
20934 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20935 * net/tramp-sh.el (tramp-maybe-open-connection):
20936 Use `tramp-connection-timeout'.
20937 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20938 (Bug#14808)
20939
20940 2013-07-11 Leo Liu <sdl.web@gmail.com>
20941
20942 * ido.el (ido-read-file-name): Conform to the requirements of
20943 read-file-name. (Bug#11861)
20944 (ido-read-directory-name): Conform to the requirements of
20945 read-directory-name.
20946
20947 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20948
20949 * subr.el (delay-warning): New function.
20950
20951 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20952
20953 * simple.el (default-line-height): New function.
20954 (line-move-partial, line-move): Use it instead of computing the
20955 line height inline.
20956 (line-move-partial): Always compute ROWH. If the last line is
20957 partially-visible, but its text is completely visible, allow
20958 cursor to enter such a partially-visible line.
20959
20960 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20961
20962 Improve error messages. (Bug#14808)
20963
20964 * net/tramp.el (tramp-current-connection): New defvar, moved from
20965 tramp-sh.el.
20966 (tramp-message-show-progress-reporter-message): Remove, not
20967 needed anymore.
20968 (tramp-error-with-buffer): Show message in minibuffer.
20969 Discard input before waiting. Reset connection timestamp.
20970 (with-tramp-progress-reporter): Improve messages.
20971 (tramp-process-actions): Use progress reporter. Delete process in
20972 case of error. Improve messages.
20973
20974 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20975 Call `tramp-error-with-buffer' with vector and buffer.
20976 (tramp-current-connection): Remove.
20977 (tramp-maybe-open-connection): The car of
20978 `tramp-current-connection' are the first 3 slots of the vector.
20979
20980 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20981
20982 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20983 inside continued strings.
20984
20985 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20986
20987 Timestamp fixes for undo (Bug#14824).
20988 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20989
20990 2013-07-10 Leo Liu <sdl.web@gmail.com>
20991
20992 * files.el (require-final-newline): Allow safe local value.
20993 (Bug#14834)
20994
20995 2013-07-09 Leo Liu <sdl.web@gmail.com>
20996
20997 * ido.el (ido-read-directory-name): Handle fallback.
20998 (ido-read-file-name): Update DIR to ido-current-directory.
20999 (Bug#1516)
21000 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
21001
21002 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
21003
21004 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
21005 "autoload". Remove "warn lower camel case" section, previously
21006 commented out. Highlight negation char. Do not highlight the
21007 target in singleton method definitions.
21008
21009 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21010
21011 * faces.el (tty-setup-hook): Declare the hook.
21012
21013 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21014 and detect when a guard/pred depends on local vars (bug#14773).
21015 (pcase--u1): Adjust caller.
21016
21017 2013-07-08 Eli Zaretskii <eliz@gnu.org>
21018
21019 * simple.el (line-move-partial, line-move): Account for
21020 line-spacing.
21021 (line-move-partial): Avoid setting vscroll when the last
21022 partially-visible line in window is of default height.
21023
21024 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21025
21026 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21027 been used a while.
21028
21029 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21030
21031 * subr.el (read-quoted-char): Remove unused local variable `char'.
21032
21033 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21034
21035 * vc/ediff.el (ediff-version): Version update.
21036 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21037 (ediff-merge-with-ancestor-command, ediff-directories-command)
21038 (ediff-directories3-command, ediff-merge-directories-command)
21039 (ediff-merge-directories-with-ancestor-command): New functions.
21040 All are command-line interfaces to ediff: to facilitate calling
21041 Emacs with the appropriate ediff functions invoked.
21042
21043 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21044 New function.
21045 (viper-save-kill-buffer): Check if buffer is modified.
21046
21047 * emulation/viper.el (viper-version): Version update.
21048 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21049
21050 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21051
21052 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21053 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21054 (viper-intercept-ESC-key): Simplify.
21055 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21056 don't use kbd.
21057 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21058 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21059 (viper-setup-ESC-to-escape): New functions.
21060 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21061 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21062
21063 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21064
21065 * simple.el (default-font-height, window-screen-lines):
21066 New functions.
21067 (line-move, line-move-partial): Use them instead of
21068 frame-char-height and window-text-height. This makes scrolling
21069 text smoother when the buffer's default face uses a font that is
21070 different from the frame's default font.
21071
21072 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21073
21074 * files.el (write-file): Do not display confirm dialog for NS,
21075 it does its own dialog, which can't be canceled (Bug#14578).
21076
21077 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21078
21079 * simple.el (line-move-partial): Adjust the row returned by
21080 posn-at-point for the current window-vscroll. (Bug#14567)
21081
21082 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21083
21084 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21085 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21086 spaces.
21087
21088 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21089
21090 * window.el (window-state-put-stale-windows): New variable.
21091 (window--state-put-2): Save list of windows without matching buffer.
21092 (window-state-put): Remove "bufferless" windows if possible.
21093
21094 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21095
21096 * simple.el (alternatives-define): Remove leftover :group keyword.
21097 Tweak docstring.
21098
21099 2013-07-06 Leo Liu <sdl.web@gmail.com>
21100
21101 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21102 (ido-enable-virtual-buffers): New variable.
21103 (ido-buffer-internal, ido-toggle-virtual-buffers)
21104 (ido-make-buffer-list): Use it.
21105 (ido-exhibit): Support turning on and off virtual buffers
21106 automatically.
21107
21108 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21109
21110 * simple.el (alternatives-define): New macro.
21111
21112 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21113
21114 * subr.el (read-quoted-char): Use read-key.
21115 (sit-for): Let read-event decode tty input (bug#14782).
21116
21117 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21118
21119 * calendar/todo-mode.el: Add handling of file deletion, both by
21120 mode command and externally. Fix various related bugs.
21121 Clarify Commentary and improve some documentation strings and code.
21122 (todo-delete-file): New command.
21123 (todo-check-file): New function.
21124 (todo-show): Handle external deletion of the file we're trying to
21125 show (bug#14688). Replace called-interactively-p by an optional
21126 prefix argument to avoid problematic interaction with catch form
21127 when byte compiled (bug#14702).
21128 (todo-quit): Handle external deletion of the archive's todo file.
21129 Make sure the buffer that was visiting the archive file is still
21130 live before trying to bury it.
21131 (todo-category-completions): Handle external deletion of any
21132 category completion files.
21133 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21134 of todo files, in case of external deletion.
21135 (todo-add-file): Replace unnecessary setq by let-binding.
21136 (todo-find-archive): Check whether there are any archives.
21137 Replace unnecessary setq by let-binding.
21138 (todo-archive-done-item): Use find-file-noselect to get the
21139 archive buffer whether or not the archive already exists.
21140 Remove superfluous code. Use file size instead of buffer-file-name to
21141 check if the archive is new; if it is, update list of archives.
21142 (todo-default-todo-file): Allow nil to be a valid value for when
21143 there are no todo files.
21144 (todo-reevaluate-default-file-defcustom): Use corrected definition
21145 of todo-default-todo-file.
21146 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21147 (todo-delete-category, todo-show-categories-table)
21148 (todo-category-number): Clarify comment.
21149 (todo-filter-items): Clarify documentation string.
21150 (todo-show-current-file, todo-display-as-todo-file)
21151 (todo-reset-and-enable-done-separator): Tweak documentation string.
21152 (todo-done-separator): Make separator length window-width, since
21153 bug#2749 is now fixed.
21154
21155 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21156
21157 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21158 Support both "gvfs-monitor-dir" and "inotifywait".
21159 (tramp-sh-file-inotifywait-process-filter): Rename from
21160 `tramp-sh-file-notify-process-filter'.
21161 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21162 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21163
21164 2013-07-05 Leo Liu <sdl.web@gmail.com>
21165
21166 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21167
21168 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21169
21170 * frame.el (display-pixel-height, display-pixel-width)
21171 (display-mm-height, display-mm-width): Mention behavior on
21172 multi-monitor setups in docstrings.
21173 (w32-display-monitor-attributes-list): Declare function.
21174 (display-monitor-attributes-list): Use it.
21175
21176 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21177
21178 * filenotify.el: New package.
21179
21180 * autorevert.el (top): Require filenotify.el.
21181 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21182 instead.
21183 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21184 (auto-revert-notify-handler): Use `file-notify-*' functions.
21185
21186 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21187
21188 * net/tramp.el (tramp-file-name-for-operation):
21189 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21190
21191 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21192 for `file-notify-add-watch' and `file-notify-rm-watch'.
21193 (tramp-process-sentinel): Improve trace.
21194 (tramp-sh-handle-file-notify-add-watch)
21195 (tramp-sh-file-notify-process-filter)
21196 (tramp-sh-handle-file-notify-rm-watch)
21197 (tramp-get-remote-inotifywait): New defuns.
21198
21199 2013-07-03 Juri Linkov <juri@jurta.org>
21200
21201 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21202 call of `occur-read-primary-args' to interactive spec.
21203
21204 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21205 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21206
21207 2013-07-03 Matthias Meulien <orontee@gmail.com>
21208
21209 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21210 `Buffer-menu-multi-occur'. Add it to the menu.
21211 (Buffer-menu-mode): Document it in docstring.
21212 (Buffer-menu-multi-occur): New command. (Bug#14673)
21213
21214 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21215
21216 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21217 keywords and built-ins.
21218
21219 2013-07-03 Glenn Morris <rgm@gnu.org>
21220
21221 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21222
21223 Make info-xref checks case-sensitive by default
21224 * info.el (Info-find-node, Info-find-in-tag-table)
21225 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21226 Add option for exact case matching of nodes.
21227 * info-xref.el (info-xref): New custom group.
21228 (info-xref-case-fold): New option.
21229 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21230
21231 2013-07-03 Leo Liu <sdl.web@gmail.com>
21232
21233 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21234
21235 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21236
21237 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21238 middle of block statement initially, lower the depth. Remove
21239 FIXME comment, not longer valid. Remove middle of block statement
21240 detection, no need to do that anymore since we've been using
21241 `ruby-parse-region' here.
21242
21243 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21244
21245 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21246
21247 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21248
21249 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21250
21251 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21252
21253 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21254 (desktop-restore-in-current-display): New customization option.
21255 (desktop--excluded-frame-parameters): Add `font'.
21256 (desktop--save-frames): Rename from desktop--save-windows.
21257 (desktop--restore-in-this-display-p): New function.
21258 (desktop--make-full-frame): Remove unwanted width/height from
21259 full(width|height) frames.
21260 (desktop--restore-frames): Rename from desktop--restore-windows.
21261 Obey desktop-restore-current-display. Do not delete old frames or
21262 select a new frame unless we were able to restore at least one frame.
21263
21264 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21265
21266 * files.el (find-file-noselect): Simplify conditional expression.
21267
21268 * textmodes/remember.el (remember-append-to-file):
21269 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21270
21271 Add `remember-notes' function to store random notes across Emacs
21272 restarts.
21273 * textmodes/remember.el (remember-data-file): Add :set callback to
21274 affect notes buffer (if any).
21275 (remember-notes): New command.
21276 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21277 New defcustoms for the `remember-notes' function.
21278 (remember-notes-save-and-bury-buffer): New command.
21279 (remember-notes-mode-map): New variable.
21280 (remember-mode): New minor mode.
21281 (remember-notes--kill-buffer-query): New function.
21282 * startup.el (initial-buffer-choice): Add notes to custom type.
21283
21284 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21285
21286 * bindings.el (right-char, left-char): Don't call sit-for, this is
21287 no longer needed. Use arithmetic comparison only for numerical
21288 arguments.
21289
21290 * international/mule-cmds.el (select-safe-coding-system):
21291 Handle the case of FROM being a string correctly. (Bug#14755)
21292
21293 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21294
21295 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21296 progression on degenerate tables.
21297 (shr-rescale-image): ImageMagick animated images currently don't work.
21298
21299 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21300
21301 Some fixes and improvements for desktop frame restoration.
21302 It is still experimental and disabled by default.
21303 * desktop.el (desktop--save-windows): Put the selected frame at
21304 the head of the list.
21305 (desktop--make-full-frame): New function.
21306 (desktop--restore-windows): Try to re-select the frame that was
21307 selected upon saving. Do not abort if some frames fail to restore,
21308 just show an error message and continue. Set up maximized frames
21309 so they have default non-maximized dimensions.
21310
21311 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21312
21313 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21314 Don't start heredoc inside a string or comment.
21315
21316 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21317
21318 * bindings.el (visual-order-cursor-movement): New defcustom.
21319 (right-char, left-char): Provide visual-order cursor motion by
21320 calling move-point-visually. Update the doc strings.
21321
21322 2013-06-28 Kenichi Handa <handa@gnu.org>
21323
21324 * international/mule.el (define-coding-system): New coding system
21325 properties :inhibit-null-byte-detection,
21326 :inhibit-iso-escape-detection, and :prefer-utf-8.
21327 (set-buffer-file-coding-system): If :charset-list property of
21328 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21329 appropriate for setting.
21330
21331 * international/mule-cmds.el (select-safe-coding-system):
21332 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21333 multibyte characters, return utf-8 (or one of its siblings).
21334
21335 * international/mule-conf.el (prefer-utf-8): New coding system.
21336 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21337 files.
21338
21339 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21340
21341 * net/shr.el (shr-render-region): New function.
21342
21343 * net/eww.el: Autoload `eww-browse-url'.
21344
21345 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21346
21347 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21348 Adapt to `package-desc-version' being a list.
21349 Use `package--ac-desc-version' to retrieve version from a package
21350 archive element.
21351
21352 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21353
21354 New experimental feature to save&restore window and frame setup.
21355 * desktop.el (desktop-save-windows): New defcustom.
21356 (desktop--saved-states): New var.
21357 (desktop--excluded-frame-parameters): New defconst.
21358 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21359 (desktop--restore-windows, desktop--save-windows): New functions.
21360 (desktop-save): Call `desktop--save-windows'.
21361 (desktop-read): Call `desktop--restore-windows'.
21362
21363 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21364
21365 * net/shr.el (add-face-text-property): Remove compat definition.
21366
21367 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21368
21369 * info.el (Info-try-follow-nearest-node): Move search for footnote
21370 above search for node name to prevent missing a footnote (bug#14717).
21371
21372 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21373
21374 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21375
21376 2013-06-27 Leo Liu <sdl.web@gmail.com>
21377
21378 * net/eww.el (eww-read-bookmarks): Check file size.
21379
21380 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21381
21382 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21383 advice--pending if newdef is nil or an autoload (bug#13820).
21384 (advice-mapc): New function.
21385
21386 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21387
21388 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21389 probably.
21390 (eww-mode-map): Add a menu bar.
21391 (eww-add-bookmark): New command.
21392 (eww-bookmark-mode): New mode and commands.
21393 (eww-add-bookmark): Remove newlines from the title.
21394 (eww-bookmark-browse): Don't bug out if it's the only window.
21395
21396 2013-06-26 Glenn Morris <rgm@gnu.org>
21397
21398 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21399 (hfy-size): Handle ttys. (Bug#14668)
21400
21401 * info-xref.el: Update for Texinfo 5 change in *note format.
21402 (info-xref-node-re, info-xref-note-re): New constants.
21403 (info-xref-check-buffer): Use info-xref-note-re.
21404
21405 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21406
21407 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21408
21409 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21410 nil terminate the loop (bug#14718).
21411
21412 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21413
21414 * net/eww.el: Rework history traversal. When going forward/back,
21415 put these actions into the history, too, so that they can be
21416 replayed.
21417 (eww-render): Move the history reset to the correct buffer.
21418
21419 2013-06-25 Juri Linkov <juri@jurta.org>
21420
21421 * files-x.el (modify-dir-local-variable): Change the header comment
21422 in the file with directory local variables. (Bug#14692)
21423
21424 * files-x.el (read-file-local-variable-value): Add `default'.
21425 (Bug#14710)
21426
21427 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21428
21429 * net/eww.el (eww-make-unique-file-name): Create a unique file
21430 name before saving to entering `y' accidentally asynchronously.
21431
21432 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21433
21434 * net/eww.el (eww-download): New command and keystroke.
21435
21436 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21437
21438 * net/eww.el (eww-copy-page-url): Change name of command.
21439
21440 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21441 be more consistent with Info and dired.
21442
21443 * net/eww.el (eww-mode-map): Ditto.
21444
21445 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21446
21447 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21448 packages from archives.
21449 (package-archive-contents): Change format; include obsolete packages.
21450 (package-desc): Use `dir' to mark builtin packages.
21451 (package--from-builtin): Set the `dir' field to `builtin'.
21452 (generated-autoload-file, version-control): Declare.
21453 (package-compute-transaction): Change first arg and return value to be
21454 lists of package-descs. Adjust to new package-archive-contents format.
21455 (package--add-to-archive-contents): Adjust to new
21456 package-archive-contents format.
21457 (package-download-transaction): Arg is now a list of package-descs.
21458 (package-install): If `pkg' is a package name, pass it as
21459 a requirement, so it is subject to the usual (e.g. disabled) checks.
21460 (describe-package): Accept package-desc as well.
21461 (describe-package-1): Describe a specific package-desc. Add links to
21462 other package-descs for the same package name.
21463 (package-menu-describe-package): Pass the actual package-desc.
21464 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21465 works correctly.
21466 (package-desc-status): New function.
21467 (package-menu--refresh): New function, extracted
21468 from package-menu--generate.
21469 (package-menu--generate): Use it.
21470 (package-delete): Update package-alist.
21471 (package-menu-execute): Don't call package-initialize.
21472
21473 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21474 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21475 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21476 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21477 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21478 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21479
21480 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21481
21482 * window.el (window--state-get-1): Workaround for bug#14527.
21483 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21484
21485 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21486
21487 * net/eww.el (eww-back-url): Implement the history by stashing all
21488 the data into a list.
21489 (eww-forward-url): Allow going forward in the history, too.
21490
21491 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21492
21493 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21494 for values and use read--expression for expressions (bug#14710).
21495 (read-file-local-variable): Avoid setq.
21496 (read-file-local-variable-mode): Use minor-mode-list.
21497
21498 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21499
21500 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21501 for DOI URLs.
21502
21503 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21504
21505 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21506 Update imenu-support when dialect changes.
21507
21508 2013-06-25 Leo Liu <sdl.web@gmail.com>
21509
21510 * ido.el (ido-read-internal): Allow forward slash on windows.
21511
21512 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21513
21514 * net/eww.el (eww): Start of strings is \\`, not ^.
21515
21516 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21517
21518 * net/shr.el (shr-browse-url): Fix interactive spec.
21519
21520 * net/eww.el (eww): Add a trailing slash to domain names.
21521
21522 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21523
21524 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21525
21526 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21527
21528 * net/shr.el (shr-browse-url): Use an external browser if given a
21529 prefix.
21530
21531 * net/eww.el (eww-external-browser): Move to shr.
21532
21533 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21534
21535 * net/eww.el (eww): Work more correctly for file: URLs.
21536 (eww-detect-charset): Allow quoted charsets.
21537 (eww-yank-page-url): New command and keystroke.
21538
21539 2013-06-24 Daiki Ueno <ueno@gnu.org>
21540
21541 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21542 file name of gpg executable.
21543 (epg-context-program): New function.
21544 (epg-context-home-directory): New function.
21545 (epg-context-set-program): New function.
21546 (epg-context-set-home-directory): New function.
21547 (epg--start): Use `epg-context-program' instead of
21548 'epg-gpg-program'.
21549 (epg--list-keys-1): Likewise.
21550
21551 2013-06-24 Leo Liu <sdl.web@gmail.com>
21552
21553 * ido.el (ido-read-internal): Fix bug#14620.
21554
21555 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21556
21557 * faces.el (face-documentation): Simplify.
21558 (read-face-attribute, tty-find-type, x-resolve-font-name):
21559 Use `string-match-p'.
21560 (list-faces-display): Use `string-match-p'. Simplify.
21561 (face-spec-recalc): Check face to avoid face alias loops.
21562 (read-color): Use `string-match-p' and non-capturing parenthesis.
21563
21564 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21565
21566 * net/shr.el (shr-rescale-image): Use the new
21567 :max-width/:max-height functionality.
21568
21569 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21570
21571 * net/eww.el (eww-search-prefix): New variable.
21572 (eww): Use it.
21573 (eww-external-browser): New variable.
21574 (eww-mode-map): New keystroke.
21575 (eww-browse-with-external-browser): New command.
21576
21577 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21578
21579 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21580
21581 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21582 Don't skip aligning the next header field when padding is 0;
21583 otherwise, field width is not respected unless the title is as
21584 wide as the field.
21585
21586 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21587
21588 * emacs-lisp/package.el (package-el-version): Remove.
21589 (package-process-define-package): Fix inf-loop.
21590 (package-install): Allow symbols as arguments again.
21591
21592 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21593
21594 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21595 add some more keyword-like methods.
21596 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21597
21598 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21599
21600 * bs.el (bs-buffer-show-mark): Make defvar-local.
21601 (bs-mode): Use setq-local.
21602
21603 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21604 (emacs-lock--try-unlocking): Make defvar-local.
21605
21606 2013-06-22 Glenn Morris <rgm@gnu.org>
21607
21608 * play/cookie1.el (cookie-apropos): Minor simplification.
21609
21610 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21611
21612 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21613
21614 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21615 `regexp-opt', it breaks the build during dumping.
21616
21617 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21618
21619 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21620 Highlight keyword-like methods on Kernel and Module with
21621 font-lock-builtin-face.
21622 (auto-mode-alist): Consolidate different entries into one regexp
21623 and add more *file-s.
21624
21625 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21626
21627 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21628
21629 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21630 (diary-entry): Use it in the action of this button type instead of
21631 diary-goto-entry.
21632
21633 * calendar/todo-mode.el: New version.
21634 (todo-add-category): Append new category to end of file and give
21635 it the highest number, instead of putting it at the beginning and
21636 giving it 0. Incorporate noninteractive functionality.
21637 (todo-forward-category): Adapt to 1-based category numbering.
21638 Allow skipping over archived categories.
21639 (todo-backward-category): Derive from todo-forward-category.
21640 (todo-backward-item, todo-forward-item): Make noninteractive and
21641 delegate interactive part to new commands. Make sensitive to done items.
21642 (todo-categories): Make value an alist of category names and
21643 vectors of item counts.
21644 (todo-category-beg): Make a defconst.
21645 (todo-category-number): Use 1 instead of 0 as initial value.
21646 (todo-category-select): Make sensitive to overlays, optional item
21647 highlighting and done items.
21648 (todo-delete-item): Make sensitive to overlays and marked and done items.
21649 (todo-edit-item): Make sensitive to overlays and editing of
21650 date/time header optional. Add format checks.
21651 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21652 no-op if point is not on an item. Advertise using todo-edit-quit.
21653 (todo-edit-mode): Make sensitive to new format, font-locking, and
21654 multiple todo files.
21655 (todo-insert-item, todo-insert-item-here): Derive from
21656 todo-basic-insert-item and extend functionality.
21657 (todo-item-end, todo-item-start): Make sensitive to done items.
21658 (todo-item-string): Don't return text properties. Restore point.
21659 (todo-jump-to-category): Make sensitive to multiple todo files and
21660 todo archives. Use extended category completion.
21661 (todo-lower-item, todo-raise-item): Rename to *-priority and
21662 derive from todo-set-item-priority.
21663 (todo-mode): Derive from special-mode. Make sensitive to new
21664 format, font-locking and multiple todo files. Make read-only.
21665 (todo-mode-map): Don't suppress digit keys, so they can supply
21666 prefix arguments. Add many new key bindings.
21667 (todo-prefix): Insert as an overlay instead of file text.
21668 Change semantics from diary date expression to purely visual mark.
21669 (todo-print): Rename to todo-print-buffer. Make buffer display
21670 features printable. Remove option to restrict number of items
21671 printed. Add option to print to file.
21672 (todo-print-function): Rename to todo-print-buffer-function.
21673 (todo-quit): Extend to handle exiting new todo modes.
21674 (todo-remove-item): Make sensitive to overlays.
21675 (todo-save): Extend to buffers of filtered items.
21676 (todo-show): Make sensitive to done items, multiple todo files and
21677 new todo modes. Offer to convert legacy todo file before creating
21678 first new todo file.
21679 (todo-show-priorities): Rename to todo-top-priorities.
21680 Change semantics of value 0.
21681 (todo-top-priorities): Rename to todo-filter-top-priorities,
21682 derive from todo-filter-items and extend functionality.
21683 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21684 and extend functionality to other types of filtered items.
21685 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21686 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21687 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21688 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21689 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21690 (todo-edit-mode-hook, todo-entry-prefix-function)
21691 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21692 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21693 (todo-initials, todo-insert-threshold, todo-item-string-start)
21694 (todo-line-string, todo-menu, todo-mode-hook)
21695 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21696 (todo-print-priorities, todo-remove-separator)
21697 (todo-save-top-priorities-too, todo-string-count-lines)
21698 (todo-string-multiline-p, todo-time-string-format)
21699 (todo-tmp-buffer-name): Remove.
21700 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21701 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21702 (todo-edit-category-diary-inclusion)
21703 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21704 (todo-edit-file, todo-edit-item-date-day)
21705 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21706 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21707 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21708 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21709 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21710 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21711 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21712 (todo-filter-top-priorities-multifile, todo-find-archive)
21713 (todo-find-filtered-items-file, todo-go-to-source-item)
21714 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21715 (todo-jump-to-archive-category, todo-lower-category)
21716 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21717 (todo-move-category, todo-move-item, todo-next-button)
21718 (todo-next-item, todo-padded-string, todo-powerset)
21719 (todo-previous-button, todo-previous-item)
21720 (todo-print-buffer-to-file, todo-raise-category)
21721 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21722 (todo-set-category-number, todo-set-item-priority)
21723 (todo-set-top-priorities-in-category)
21724 (todo-set-top-priorities-in-file, todo-show-categories-table)
21725 (todo-sort-categories-alphabetically-or-numerically)
21726 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21727 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21728 (todo-toggle-item-header, todo-toggle-item-highlighting)
21729 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21730 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21731 (todo-unarchive-items, todo-unmark-category): New commands.
21732 (todo-absolute-file-name, todo-add-to-buffer-list)
21733 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21734 (todo-basic-insert-item, todo-category-completions)
21735 (todo-category-number, todo-category-string-matcher-1)
21736 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21737 (todo-check-format, todo-clear-matches)
21738 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21739 (todo-current-category, todo-date-string-matcher)
21740 (todo-define-insertion-command, todo-diary-expired-matcher)
21741 (todo-diary-goto-entry, todo-diary-item-p)
21742 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21743 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21744 (todo-done-item-section-p, todo-done-separator)
21745 (todo-done-string-matcher, todo-files, todo-filter-items)
21746 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21747 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21748 (todo-insert-category-line, todo-insert-item-from-calendar)
21749 (todo-insert-sort-button, todo-insert-with-overlays)
21750 (todo-insertion-command-name, todo-insertion-key-bindings)
21751 (todo-label-to-key, todo-longest-category-name-length)
21752 (todo-make-categories-list, todo-mode-external-set)
21753 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21754 (todo-modes-set-3, todo-multiple-filter-files)
21755 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21756 (todo-read-category, todo-read-date, todo-read-dayname)
21757 (todo-read-file-name, todo-read-time)
21758 (todo-reevaluate-category-completions-files-defcustom)
21759 (todo-reevaluate-default-file-defcustom)
21760 (todo-reevaluate-filelist-defcustoms)
21761 (todo-reevaluate-filter-files-defcustom)
21762 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21763 (todo-reset-done-separator, todo-reset-done-separator-string)
21764 (todo-reset-done-string, todo-reset-global-current-todo-file)
21765 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21766 (todo-reset-prefix, todo-set-categories)
21767 (todo-set-date-from-calendar, todo-set-show-current-file)
21768 (todo-set-top-priorities, todo-short-file-name)
21769 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21770 (todo-total-item-counts, todo-update-buffer-list)
21771 (todo-update-categories-display, todo-update-categories-sexp)
21772 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21773 New functions.
21774 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21775 New major modes.
21776 (todo-categories, todo-display, todo-edit, todo-faces)
21777 (todo-filtered): New defgroups.
21778 (todo-archived-only, todo-button, todo-category-string, todo-date)
21779 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21780 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21781 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21782 (todo-add-item-if-new-category, todo-always-add-time-string)
21783 (todo-categories-align, todo-categories-archived-label)
21784 (todo-categories-category-label, todo-categories-diary-label)
21785 (todo-categories-done-label, todo-categories-number-separator)
21786 (todo-categories-todo-label, todo-categories-totals-label)
21787 (todo-category-completions-files, todo-completion-ignore-case)
21788 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21789 (todo-done-separator-string, todo-done-string)
21790 (todo-files-function, todo-filter-done-items, todo-filter-files)
21791 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21792 (todo-initial-category, todo-initial-file, todo-item-mark)
21793 (todo-legacy-date-time-regexp, todo-mode-line-function)
21794 (todo-nondiary-marker, todo-number-prefix)
21795 (todo-print-buffer-function, todo-show-current-file)
21796 (todo-show-done-only, todo-show-first, todo-show-with-done)
21797 (todo-skip-archived-categories, todo-top-priorities-overrides)
21798 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21799 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21800 New defcustoms.
21801 (todo-category-done, todo-date-pattern, todo-date-string-start)
21802 (todo-diary-items-buffer, todo-done-string-start)
21803 (todo-filtered-items-buffer, todo-item-start)
21804 (todo-month-abbrev-array, todo-month-name-array)
21805 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21806 (todo-top-priorities-buffer): New defconsts.
21807 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21808 (todo-categories-with-marks, todo-category-string-face)
21809 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21810 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21811 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21812 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21813 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21814 (todo-font-lock-keywords, todo-global-current-todo-file)
21815 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21816 (todo-insertion-commands-args)
21817 (todo-insertion-commands-args-genlist)
21818 (todo-insertion-commands-names, todo-insertion-map)
21819 (todo-key-bindings-t, todo-key-bindings-t+a)
21820 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21821 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21822 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21823 (todo-visited): New variables.
21824
21825 2013-06-21 Glenn Morris <rgm@gnu.org>
21826
21827 * play/cookie1.el (cookie-apropos): Add optional display argument.
21828 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21829 (psychoanalyze-pinhead): Use cookie-doctor.
21830
21831 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21832
21833 * emacs-lisp/package.el (tar-get-file-descriptor)
21834 (tar--extract): Declare.
21835
21836 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21837
21838 Extend flymake's warning predicate to be a function (bug#14217).
21839 * progmodes/flymake.el (flymake-warning-predicate): New.
21840 (flymake-parse-line): Use it.
21841 (flymake-warning-re): Make obsolete alias to
21842 `flymake-warning-predicate'.
21843
21844 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21845
21846 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21847 (package-obsolete-list): Remove.
21848 (package-activate): Remove min-version argument. Add `force' argument.
21849 Adjust to new package-alist format.
21850 (package-mark-obsolete): Remove.
21851 (package-unpack): Force reload of the package's autoloads.
21852 (package-installed-p): Check builtins if the installed package is not
21853 recent enough.
21854 (package-initialize): Don't reset package-obsolete-list.
21855 Don't specify which package version to activate.
21856 (package-process-define-package, describe-package-1)
21857 (package-menu--generate): Adjust to new package-alist format.
21858
21859 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21860
21861 * allout-widgets.el (allout-widgets-mode-off)
21862 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21863 (allout-widgets-post-command-business)
21864 (allout-widgets-after-copy-or-kill-function)
21865 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21866 (allout-decorate-item-and-context)
21867 (allout-graphics-modification-handler): Fix typos in docstrings.
21868 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21869
21870 * cmuscheme.el (scheme-start-file): Doc fix.
21871 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21872 (scheme-input-filter): Use `string-match-p'.
21873
21874 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21875
21876 * dired-x.el: Use Dired consistently in docstrings.
21877
21878 * dired.el: Use Dired consistently in docstrings.
21879 (dired-readin, dired-mode): Use `setq-local'.
21880 (dired-switches-alist): Make defvar-local.
21881 (dired-buffers-for-dir): Use `zerop'.
21882 (dired-safe-switches-p, dired-switches-escape-p)
21883 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21884 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21885 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21886 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21887 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21888 (dired-toggle-marks, dired-mark-files-containing-regexp)
21889 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21890 (dired-flag-auto-save-files, dired-flag-backup-files):
21891 Use `looking-at-p'.
21892 (dired-mark-files-regexp, dired-build-subdir-alist):
21893 Use `string-match-p', `looking-at-p'.
21894
21895 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21896 (direct-print-region-helper): Use `string-match-p'.
21897
21898 2013-06-21 Leo Liu <sdl.web@gmail.com>
21899
21900 * comint.el (comint-redirect-results-list-from-process):
21901 Fix infinite loop.
21902
21903 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21904
21905 * net/eww.el (eww-update-header-line-format): Quote % characters.
21906
21907 2013-06-21 Glenn Morris <rgm@gnu.org>
21908
21909 * play/cookie1.el (cookie): New custom group.
21910 (cookie-file): New option.
21911 (cookie-check-file): New function.
21912 (cookie): Make it interactive. Make start and end messages optional.
21913 Interactively, display the result. Default to cookie-file.
21914 (cookie-insert): Default to cookie-file.
21915 (cookie-snarf): Make start and end messages optional.
21916 Default to cookie-file. Use with-temp-buffer.
21917 (cookie-read): Rename from read-cookie.
21918 Make start and end messages optional. Default to cookie-file.
21919 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21920 Do not autoload it.
21921 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21922 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21923
21924 2013-06-21 Leo Liu <sdl.web@gmail.com>
21925
21926 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21927
21928 2013-06-21 Glenn Morris <rgm@gnu.org>
21929
21930 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21931
21932 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21933 Daniel Hackney <dan@haxney.org>
21934
21935 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21936 Consolidate the single-file vs tarball code.
21937 (package-desc-suffix): New function.
21938 (package-desc-full-name): Don't bother inlining it.
21939 (package-load-descriptor): Return the new package-desc.
21940 (package-mark-obsolete): Remove unused arg `package'.
21941 (package-unpack): Make it work for single files as well.
21942 Make it update package-alist.
21943 (package--make-autoloads-and-stuff): Rename from
21944 package--make-autoloads-and-compile. Don't compile any more.
21945 (package--compile): New function.
21946 (package-generate-description-file): New function, extracted from
21947 package-unpack-single.
21948 (package-unpack-single): Remove.
21949 (package--with-work-buffer): Add indentation and debugging info.
21950 (package-download-single): Remove.
21951 (package-install-from-archive): Rename from package-download-tar, make
21952 it take a pkg-desc, and make it work for single files as well.
21953 (package-download-transaction): Simplify.
21954 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21955 external tar program.
21956 (package-install-from-buffer): Remove `pkg-desc' argument.
21957 Use package-tar-file-info for tar-mode buffers.
21958 (package-install-file): Simplify accordingly.
21959 (package-archive-base): Change to take a pkg-desc.
21960 * tar-mode.el (tar--check-descriptor): New function, extracted from
21961 tar-get-descriptor.
21962 (tar-get-descriptor): Use it.
21963 (tar-get-file-descriptor): New function.
21964 (tar--extract): New function, extracted from tar-extract.
21965 (tar--extract): Use it.
21966 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21967 case the summary uses non-ascii. Adjust to new calling convention of
21968 package-tar-file-info.
21969
21970 2013-06-21 Leo Liu <sdl.web@gmail.com>
21971
21972 * comint.el (comint-redirect-results-list-from-process):
21973 Fix random delay. (Bug#14681)
21974
21975 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21976
21977 * profiler.el (profiler-format-number): Use log, not log10.
21978
21979 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21980
21981 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21982
21983 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21984
21985 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21986 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21987 yet available.
21988 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21989 (AUTOGENEL): ... here.
21990 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21991 (cl--defsubst-expand): Use it.
21992
21993 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21994
21995 * subr.el (log10): Move here from C code, and declare as obsolete.
21996 All uses of (log10 X) replaced with (log X 10).
21997
21998 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21999
22000 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
22001 Declare with `defvar-local'.
22002 (tabulated-list-use-header-line, tabulated-list-entries)
22003 (tabulated-list-padding, tabulated-list-printer)
22004 (tabulated-list-sort-key): Declare with `defvar-local'.
22005 (tabulated-list-init-header, tabulated-list-print-fake-header):
22006 Use `setq-local'.
22007
22008 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
22009
22010 * arc-mode.el (archive-mode): Add `archive-write-file' to
22011 `write-contents-functions' also for remote files. (Bug#14652)
22012
22013 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22014
22015 * cus-edit.el (custom-commands): Fix typos.
22016 (custom-display): Fix tooltip text.
22017 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22018 Fix typos in docstrings.
22019 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22020 (custom-unlispify-menu-entry, custom-magic-value-create)
22021 (custom-add-see-also, custom-group-value-create): Use ?\s.
22022 (custom-guess-type, customize-apropos, editable-field)
22023 (custom-face-value-create): Use `string-match-p'.
22024 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22025
22026 * custom.el (custom-load-symbol): Use `string-match-p'.
22027
22028 * ansi-color.el: Convert to lexical binding.
22029 (ansi-colors): Fix URL.
22030 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22031 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22032 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22033
22034 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22035
22036 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22037
22038 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22039
22040 2013-06-19 Tom Tromey <tromey@redhat.com>
22041
22042 * net/eww.el (eww-top-url): Remove.
22043 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22044 (eww-render): Set new variables. Don't set eww-top-url.
22045 (eww-handle-link): Handle "prev", "home", and "contents".
22046 Downcase the rel text.
22047 (eww-top-url): Choose best top URL.
22048
22049 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22050
22051 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22052 relying in widget.el. Using widget.el leads to too many
22053 user interface inconsistencies.
22054 (eww-self-insert): Implement entering commands in text fields.
22055 (eww-process-text-input): New function to make text input field editing
22056 work.
22057 (eww-submit): Rewrite to use the new-style form methods.
22058 (eww-select-display): Display the correct selected item.
22059 (eww-change-select): Implement changing the select value.
22060 (eww-toggle-checkbox): Implement radio/checkboxes.
22061 (eww-update-field): Fix compilation error.
22062 (eww-tag-textarea): Implement <textarea>.
22063
22064 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22065 we don't shadow mode-specific bindings.
22066
22067 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22068 nothing to push.
22069
22070 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22071
22072 2013-06-19 Glenn Morris <rgm@gnu.org>
22073
22074 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22075
22076 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22077
22078 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22079 not needed.
22080
22081 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22082
22083 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22084
22085 * net/browse-url.el (browse-url-browser-function):
22086 `eww-browse-url' has the right calling signature, `eww' does not.
22087
22088 2013-06-19 Glenn Morris <rgm@gnu.org>
22089
22090 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22091 Only eval autoloaded macros.
22092 (byte-compile-autoload): Only give the macro warning for macros.
22093
22094 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22095 (ps-underlined-faces): Declare.
22096
22097 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22098 (speedbar-add-supported-extension): Declare.
22099
22100 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22101 Don't include a date stamp in the header of the generated file;
22102 it leads to needless differences between output files.
22103
22104 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22105
22106 * net/secrets.el (secrets-struct-secret-content-type):
22107 Replace check of introspection data by a test call of "CreateItem".
22108 Some servers do not offer introspection.
22109
22110 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22111
22112 * electric.el (electric-pair-mode): Improve interaction with
22113 electric-layout-mode.
22114 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22115 (electric-pair-syntax): Use text-mode-syntax-table in comments
22116 and strings.
22117 (electric-pair--insert): New function.
22118 (electric-pair-post-self-insert-function): Use it and
22119 electric--after-char-pos.
22120
22121 2013-06-19 Leo Liu <sdl.web@gmail.com>
22122
22123 * progmodes/octave.el (octave-help): Fix regexp.
22124
22125 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22126
22127 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22128 (shr-table-horizontal-line): Allow nil as a value, and change the
22129 default.
22130 (shr-insert-table-ruler): Respect the nil value.
22131
22132 2013-06-18 Tom Tromey <tromey@barimba>
22133
22134 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22135 New defvars.
22136 (eww-open-file): New defun.
22137 (eww-render): Initialize new variables.
22138 (eww-display-html): Handle "link" and "a".
22139 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22140 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22141 (eww-back-url): Rename from eww-previous-url.
22142 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22143 New defuns.
22144
22145 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22146
22147 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22148 Distinguish ternary operator tokens from slash symbol and slash
22149 char literal.
22150
22151 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22152
22153 Convert symbol prettification into minor mode and global minor mode.
22154
22155 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22156 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22157 (prettify-symbols--keywords): Rename from
22158 `prog-prettify-symbols-alist' and make a local defvar.
22159 (prettify-symbols--compose-symbol): Rename from
22160 `prog--prettify-font-lock-compose-symbol'.
22161 (prettify-symbols--make-keywords): Rename from
22162 `prog-prettify-font-lock-symbols-keywords' and simplify.
22163 (prog-prettify-install): Remove.
22164 (prettify-symbols-mode): New minor mode, based on
22165 `prog-prettify-install'.
22166 (turn-on-prettify-symbols-mode): New function.
22167 (global-prettify-symbols-mode): New globalized minor mode.
22168
22169 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22170 * progmodes/cfengine.el (cfengine3-mode):
22171 * progmodes/perl-mode.el (perl-mode): Don't call
22172 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22173
22174 2013-06-18 Juri Linkov <juri@jurta.org>
22175
22176 * files-x.el (modify-file-local-variable-message): New function.
22177 (modify-file-local-variable)
22178 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22179 and call `modify-file-local-variable-message' when it's non-nil.
22180 (add-file-local-variable, delete-file-local-variable)
22181 (add-file-local-variable-prop-line)
22182 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22183 and use it. (Bug#9820)
22184
22185 2013-06-18 Juri Linkov <juri@jurta.org>
22186
22187 * emulation/vi.el (vi-shell-op):
22188 * emulation/vip.el (vip-execute-com, ex-command):
22189 * emulation/viper-cmd.el (viper-exec-bang):
22190 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22191 the call of `shell-command-on-region'. (Bug#14637)
22192
22193 * simple.el (shell-command-on-region): Doc fix.
22194
22195 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22196
22197 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22198 (bug#14633).
22199
22200 2013-06-18 Glenn Morris <rgm@gnu.org>
22201
22202 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22203
22204 * newcomment.el (comment-search-forward, comment-search-backward):
22205 Doc fix. (Bug#14376)
22206
22207 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22208
22209 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22210 (buffer-face-mode-invoke): Doc fix.
22211
22212 2013-06-18 Matthias Meulien <orontee@gmail.com>
22213
22214 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22215 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22216
22217 2013-06-18 Glenn Morris <rgm@gnu.org>
22218
22219 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22220 Replace obsolete function generic-make-keywords with its expansion.
22221
22222 * progmodes/python.el (ffap-alist): Declare.
22223
22224 * textmodes/reftex.el (bibtex-mode-map): Declare.
22225
22226 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22227
22228 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22229 (package-unpack, package-unpack-single): Return the pkg-dir.
22230 (package-download-transaction): Use it to update package-alist.
22231
22232 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22233
22234 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22235 possible choice.
22236
22237 2013-06-17 Juri Linkov <juri@jurta.org>
22238
22239 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22240
22241 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22242
22243 * emacs-lisp/package.el (package-load-descriptor):
22244 Remove `with-syntax-table' call, `read' doesn't need it.
22245 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22246
22247 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22248
22249 * startup.el (command-line): Expand package name returned by
22250 `package--description-file' (bug#14639).
22251
22252 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22253
22254 * emacs-lisp/package.el (package-load-descriptor): Do not call
22255 `emacs-lisp-mode', just use its syntax table.
22256
22257 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22258
22259 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22260 `font-lock-extra-managed-props' if any prettifying keyword is added.
22261 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22262 (prog-mode): Use `setq-local'.
22263
22264 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22265
22266 * international/characters.el (standard-case-table): Set syntax of ?»
22267 and ?« to punctuation.
22268
22269 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22270
22271 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22272 Save relevant match data before calling `syntax-ppss' (bug#14595).
22273
22274 2013-06-15 Juri Linkov <juri@jurta.org>
22275
22276 * files-x.el (modify-file-local-variable-prop-line): Add local
22277 variables to the end of the existing comment on the first line.
22278 Use `file-auto-mode-skip' to skip interpreter magic line,
22279 and also skip XML declaration.
22280
22281 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22282
22283 * startup.el (package--builtin-versions): New var.
22284 (package-subdirectory-regexp): Remove.
22285 (package--description-file): Hard code its value instead.
22286
22287 * emacs-lisp/package.el: Don't activate packages older than builtin.
22288 (package-obsolete-list): Rename from package-obsolete-alist, and make
22289 it into a simple list of package-desc.
22290 (package-strip-version): Remove.
22291 (package-built-in-p): Use package--builtin-versions.
22292 (package-mark-obsolete): Simplify.
22293 (package-process-define-package): Mark it obsolete if older than the
22294 builtin version.
22295 (package-handle-response): Use line-end-position.
22296 (package-read-archive-contents, package--download-one-archive):
22297 Simplify.
22298 (package--add-to-archive-contents): Skip if older than the builtin or
22299 installed version.
22300 (package-menu-describe-package): Fix last change.
22301 (package-list-unversioned): New var.
22302 (package-menu--generate): Use it.
22303
22304 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22305 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22306 (autoload-builtin-package-versions): New variable.
22307 (autoload-generate-file-autoloads): Use them.
22308 Remove the list of autoloaded functions/macros from the
22309 (autoload...) comments.
22310
22311 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22312
22313 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22314
22315 * simple.el (line-move-partial): Don't jump to the next screen
22316 line as soon as it becomes visible. Instead, continue enlarging
22317 the vscroll until the portion of a tall screen line that's left on
22318 display is about the height of the frame's default font.
22319 (Bug#14567)
22320
22321 2013-06-15 Glenn Morris <rgm@gnu.org>
22322
22323 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22324 compilation-error-regexp-alist void, or local while let-bound.
22325
22326 * progmodes/make-mode.el (makefile-mode-syntax-table):
22327 Treat "=" as punctuation. (Bug#14614)
22328
22329 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22330
22331 * help-fns.el (describe-variable):
22332 Add extra line for permanent-local variables.
22333
22334 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22335
22336 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22337 Add export, import, library. (Bug#9164)
22338 (library): Set indent function.
22339
22340 2013-06-14 Glenn Morris <rgm@gnu.org>
22341
22342 * term/xterm.el (xterm--query):
22343 Stop after first matching handler. (Bug#14615)
22344
22345 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22346
22347 Add support for dired in saveplace.
22348 * dired.el (dired-initial-position-hook): New variable.
22349 (dired-initial-position): Call hook to place cursor position.
22350 * saveplace.el (save-place-to-alist): Add dired position.
22351 (save-place-dired-hook): New function.
22352
22353 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22354
22355 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22356 through a symbol rather than letrec.
22357
22358 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22359 (package-desc): Add `dir' field.
22360 (package-desc-full-name): New function.
22361 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22362 (package-maybe-load-descriptor): Remove.
22363 (package-load-all-descriptors): Just call package-load-descriptor.
22364 (package--disabled-p): New function.
22365 (package-desc-vers, package-desc-doc): Remove aliases.
22366 (package--dir): Remove function.
22367 (package-activate): Check if a package is disabled.
22368 (package-process-define-package): New function, extracted from
22369 define-package.
22370 (define-package): Turn into a place holder.
22371 (package-unpack-single, package-tar-file-info):
22372 Use package--description-file.
22373 (package-compute-transaction): Use package--disabled-p.
22374 (package-download-transaction): Don't call
22375 package-maybe-load-descriptor since they're all loaded anyway.
22376 (package-install): Change argument to be a pkg-desc.
22377 (package-delete): Use a single pkg-desc argument.
22378 (describe-package-1): Use package-desc-dir instead of package--dir.
22379 Use package-desc property instead of package-symbol.
22380 (package-install-button-action): Adjust accordingly.
22381 (package--push): Rewrite.
22382 (package-menu--print-info): Adjust accordingly. Change the ID format
22383 to be a pkg-desc.
22384 (package-menu-describe-package, package-menu-get-status)
22385 (package-menu--find-upgrades, package-menu-mark-upgrades)
22386 (package-menu-execute, package-menu--name-predicate):
22387 Adjust accordingly.
22388 * startup.el (package--description-file): New function.
22389 (command-line): Use it.
22390 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22391 Use package-desc-version.
22392
22393 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22394 (byte-compile-preprocess): Use it.
22395 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22396 can't quite recognize.
22397 (byte-compile-add-to-list): Remove.
22398 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22399 (cconv-closure-convert): Add assertion.
22400
22401 * emacs-lisp/map-ynp.el: Use lexical-binding.
22402 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22403 Factor out some repeated code.
22404
22405 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22406
22407 * subr.el (with-eval-after-load): New macro.
22408 (eval-after-load): Allow form to be a function.
22409 take advantage of lexical-binding.
22410 (do-after-load-evaluation): Use dolist and adjust to new format.
22411 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22412
22413 2013-06-13 Juri Linkov <juri@jurta.org>
22414
22415 * replace.el (perform-replace): Display "symbol " and other search
22416 modes from `isearch-message-prefix' in the *Help* buffer.
22417
22418 * isearch.el (isearch-query-replace): Add " symbol" and other
22419 possible search modes from `isearch-message-prefix' to the prompt.
22420 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22421 when reading a regexp to collect.
22422
22423 2013-06-13 Juri Linkov <juri@jurta.org>
22424
22425 * isearch.el (word-search-regexp): Match whitespace if the search
22426 string begins or ends in whitespace. The LAX arg is applied to
22427 both ends of the search string. Use `regexp-quote' and explicit
22428 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22429 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22430 boundaries are replaced with symbol boundaries, and characters
22431 between symbols match non-word non-symbol syntax. (Bug#14602)
22432
22433 2013-06-13 Juri Linkov <juri@jurta.org>
22434
22435 * isearch.el (isearch-del-char): Don't exceed the length of
22436 `isearch-string' by the prefix arg. (Bug#14563)
22437
22438 2013-06-13 Juri Linkov <juri@jurta.org>
22439
22440 * isearch.el (isearch-yank-word, isearch-yank-line)
22441 (isearch-char-by-name, isearch-quote-char)
22442 (isearch-printing-char, isearch-process-search-char):
22443 Add optional count prefix arg. (Bug#14563)
22444
22445 * international/isearch-x.el
22446 (isearch-process-search-multibyte-characters):
22447 Add optional count prefix arg.
22448
22449 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22450
22451 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22452 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22453 lexical-binding.
22454
22455 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22456
22457 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22458
22459 2013-06-13 Glenn Morris <rgm@gnu.org>
22460
22461 * startup.el (tty-handle-args):
22462 Don't just discard "--" and anything after. (Bug#14608)
22463
22464 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22465
22466 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22467
22468 Implement changes in Secret Service API. Make it backward compatible.
22469 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22470 (secrets-create-item): Use it. Prefix properties with interface.
22471
22472 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22473
22474 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22475 (term-emulate-terminal): Respect term-suppress-hard-newline.
22476
22477 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22478
22479 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22480 Only remove a `thumb-file' overlay. (Bug#14548)
22481
22482 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22483
22484 * mail/reporter.el (reporter-submit-bug-report):
22485 Handle missing package-name. (Bug#14600)
22486
22487 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22488
22489 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22490 (reftex-citation-prompt, reftex-default-bibliography)
22491 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22492 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22493 (reftex-bib-sort-author, reftex-bib-sort-year)
22494 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22495 (reftex-extract-bib-entries-from-thebibliography)
22496 (reftex-get-bibkey-default, reftex-get-bib-names)
22497 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22498 (reftex-format-bib-entry, reftex-parse-bibitem)
22499 (reftex-format-bibitem, reftex-do-citation)
22500 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22501 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22502 (reftex-insert-bib-matches, reftex-format-citation)
22503 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22504 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22505 existing comments into docstrings.
22506
22507 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22508
22509 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22510
22511 2013-06-12 Andreas Schwab <schwab@suse.de>
22512
22513 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22514 for auto-save files.
22515
22516 2013-06-12 Glenn Morris <rgm@gnu.org>
22517
22518 * ido.el (ido-delete-ignored-files): Remove.
22519 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22520 Go back to calling ido-ignore-item-p directly.
22521
22522 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22523
22524 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22525
22526 * ido.el (ido-delete-ignored-files): New function,
22527 split from ido-make-file-list-1.
22528 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22529 (ido-make-file-list-1): Use ido-delete-ignored-files.
22530
22531 2013-06-12 Leo Liu <sdl.web@gmail.com>
22532
22533 * progmodes/octave.el (inferior-octave-startup)
22534 (inferior-octave-completion-table)
22535 (inferior-octave-track-window-width-change)
22536 (octave-eldoc-function-signatures, octave-help)
22537 (octave-find-definition): Use single quoted strings.
22538 (inferior-octave-startup-args): Change default value.
22539 (inferior-octave-startup): Do not hard code "-i" and
22540 "--no-line-editing".
22541 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22542 (inferior-octave-directory-tracker): Use it.
22543 (octave-goto-function-definition): Robustify.
22544 (octave-help): Support highlighting operators in 'See also'.
22545 (octave-find-definition): Find subfunctions only in Octave mode.
22546
22547 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22548
22549 * help-fns.el (help-fns--compiler-macro): If the handler function is
22550 named, then put a link to it.
22551 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22552 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22553 (cl-typep): Use it.
22554 (cl-eval-when): Simplify debug spec.
22555 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22556 compiler-macro function instead of setting `compiler-macro-file'.
22557
22558 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22559
22560 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22561 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22562
22563 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22564 Daniel Hackney <dan@haxney.org>
22565
22566 First part of Daniel Hackney's patch to package.el.
22567 * emacs-lisp/package.el: Use defstruct.
22568 (package-desc): New, main struct.
22569 (package--bi-desc, package--ac-desc): New structs, used to describe the
22570 format in external files.
22571 (package-desc-vers): Replace with package-desc-version accessor.
22572 (package-desc-doc): Replace with package-desc-summary accessor.
22573 (package-activate-1): Remove `package' arg since the pkg-vec now
22574 includes the name.
22575 (define-package): Use package-desc-from-define.
22576 (package-unpack-single): Change file-name arg to be a symbol.
22577 (package--add-to-archive-contents): Use package-desc-create and new
22578 accessor functions to package--ac-desc.
22579 (package-buffer-info, package-tar-file-info): Return a package-desc.
22580 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22581 arg to be a package-desc.
22582 (package-install-file): Adjust accordingly. Use \' to match EOS.
22583 (package--from-builtin): New function.
22584 (describe-package-1, package-menu--generate): Use it.
22585 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22586 (package-generate-autoloads): Idem and return the name of the file.
22587 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22588 Change pkg-info arg to be a package-desc.
22589 Use package-make-ac-desc.
22590 (package-upload-file): Use \' to match EOS.
22591 * finder.el (finder-compile-keywords): Use package-make-builtin.
22592
22593 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22594
22595 * vc/vc.el (vc-deduce-fileset): Change error message.
22596 (vc-read-backend): New function.
22597 (vc-next-action): Use it.
22598
22599 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22600
22601 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22602 (prolog-font-lock-keywords): Use regexp-opt instead.
22603 Don't manually highlight strings.
22604 (prolog-mode-variables): Simplify comment-start-skip.
22605 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22606
22607 * emacs-lisp/generic.el (generic--normalise-comments)
22608 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22609 (generic-mode-set-comments): Use them.
22610 (generic-bracket-support): Use setq-local.
22611 (generic-make-keywords-list): Declare obsolete.
22612
22613 2013-06-11 Glenn Morris <rgm@gnu.org>
22614
22615 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22616 Prettify after setting font-lock-defaults. (Bug#14574)
22617
22618 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22619
22620 * replace.el (query-replace, occur-read-regexp-defaults-function)
22621 (replace-search):
22622 * subr.el (declare-function, number-sequence, local-set-key)
22623 (substitute-key-definition, locate-user-emacs-file)
22624 (with-silent-modifications, split-string, eval-after-load):
22625 Fix typos, remove unneeded backslashes and reflow some docstrings.
22626
22627 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22628
22629 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22630 default for Elisp files.
22631
22632 2013-06-11 Glenn Morris <rgm@gnu.org>
22633
22634 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22635 although define-derived-mode was doing this anyway. (Bug#14583)
22636
22637 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22638
22639 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22640 Fix make-variable-buffer-local call to refer to the correct variable.
22641
22642 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22643
22644 * eshell/em-term.el (eshell-visual-commands)
22645 (eshell-visual-subcommands, eshell-visual-options):
22646 Add summary line to docstrings. Add cross-references.
22647
22648 2013-06-10 Glenn Morris <rgm@gnu.org>
22649
22650 * epa.el (epa-read-file-name): New function. (Bug#14510)
22651 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22652
22653 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22654
22655 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22656 output redirection to be ignored with visual commands.
22657
22658 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22659
22660 * eshell/em-term.el (eshell-visual-command-p): New function.
22661 (eshell-term-initialize): Move long lambda to separate function
22662 eshell-visual-command-p.
22663 * eshell/em-dirs.el (eshell-dirs-initialize):
22664 * eshell/em-script.el (eshell-script-initialize):
22665 Add missing #' to lambda.
22666
22667 2013-06-08 Leo Liu <sdl.web@gmail.com>
22668
22669 * progmodes/octave.el (octave-add-log-current-defun): New function.
22670 (octave-mode): Set add-log-current-defun-function.
22671 (octave-goto-function-definition): Do not move point if not found.
22672 (octave-find-definition): Enhance to try subfunctions first.
22673
22674 2013-06-08 Glenn Morris <rgm@gnu.org>
22675
22676 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22677 (byte-compile-backward-char, byte-compile-backward-word):
22678 Improve previous change, to handle non-explicit nil.
22679
22680 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22681
22682 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22683 (smie--opener/closer-at-point): New function.
22684 (smie--matching-block-data): Use it. Don't match from right after an
22685 opener or right before a closer. Obey smie-blink-matching-inners.
22686 Don't signal a mismatch for repeated inners like "switch..case..case".
22687
22688 2013-06-07 Leo Liu <sdl.web@gmail.com>
22689
22690 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22691 to t. (Bug#14303)
22692 (octave-function-header-regexp): Fix. (Bug#14570)
22693 (octave-help-mode-finish-hook, octave-help-mode-finish):
22694 Remove. Just use temp-buffer-show-hook.
22695
22696 * newcomment.el (comment-search-backward): Revert last change.
22697 (Bug#14434)
22698
22699 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22700
22701 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22702
22703 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22704 through xargs, to avoid failure due to MS-Windows limitations on
22705 command-line length.
22706
22707 2013-06-06 Glenn Morris <rgm@gnu.org>
22708
22709 * font-lock.el (lisp-font-lock-keywords-2):
22710 Treat user-error like error.
22711
22712 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22713 (byte-compile-backward-char, byte-compile-backward-word):
22714 Handle explicit nil arguments. (Bug#14565)
22715
22716 2013-06-05 Alan Mackenzie <acm@muc.de>
22717
22718 * isearch.el (isearch-allow-prefix): New user option.
22719 (isearch-other-meta-char): Don't exit isearch when a prefix
22720 argument is typed whilst `isearch-allow-prefix' is non-nil.
22721 (Bug#9706)
22722
22723 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22724
22725 * autorevert.el (auto-revert-notify-handler): Use memq.
22726 Hide assertion failure.
22727
22728 * skeleton.el: Use cl-lib.
22729 (skeleton-further-elements): Use defvar-local.
22730 (skeleton-insert): Use cl-progv.
22731
22732 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22733
22734 * progmodes/prog-mode.el (prog-prettify-symbols)
22735 (prog-prettify-install): Update docstrings.
22736
22737 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22738
22739 * simple.el: Move all the prog-mode code to prog-mode.el.
22740 * progmodes/prog-mode.el: New file.
22741 * loadup.el: Add prog-mode.el.
22742
22743 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22744
22745 * simple.el (prog-prettify-symbols): Add version.
22746 (prog-prettify-install): Add convenience function to prettify symbols.
22747
22748 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22749 (perl--augmented-font-lock-keywords-1)
22750 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22751 variables and use it.
22752
22753 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22754 (cfengine3-mode): Remove unneeded variable and use it.
22755
22756 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22757 (lisp--augmented-font-lock-keywords-1)
22758 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22759 Remove unneeded variables and use it.
22760
22761 2013-06-05 João Távora <joaotavora@gmail.com>
22762
22763 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22764 to point when opening the connection. (Bug#14380)
22765
22766 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22767
22768 * subr.el (load-history-regexp, load-history-filename-element)
22769 (eval-after-load, after-load-functions, do-after-load-evaluation)
22770 (eval-next-after-load, display-delayed-warnings)
22771 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22772 definition of save-match-data.
22773 (overriding-local-map): Remove accidental obsolescence declaration.
22774
22775 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22776
22777 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22778
22779 Generalize symbol prettify support to prog-mode and implement it
22780 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22781 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22782 (prog--prettify-font-lock-compose-symbol)
22783 (prog-prettify-font-lock-symbols-keywords): New variables and
22784 functions to support symbol prettification.
22785 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22786 (lisp--augmented-font-lock-keywords-1)
22787 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22788 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22789 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22790 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22791 Implement prettify of -> => :: strings.
22792 * progmodes/perl-mode.el (perl-prettify-symbols)
22793 (perl--font-lock-compose-symbol)
22794 (perl--font-lock-symbols-keywords): Move to prog-mode.
22795 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22796 (perl-font-lock-keywords-1)
22797 (perl-font-lock-keywords-2): Remove explicit prettify support.
22798 (perl--augmented-font-lock-keywords)
22799 (perl--augmented-font-lock-keywords-1)
22800 (perl--augmented-font-lock-keywords-2, perl-mode):
22801 Implement prettify support.
22802
22803 2013-06-05 Leo Liu <sdl.web@gmail.com>
22804
22805 Re-implement SMIE matching block highlight using
22806 show-paren-data-function. (Bug#14395)
22807 * emacs-lisp/smie.el (smie-matching-block-highlight)
22808 (smie--highlight-matching-block-overlay)
22809 (smie--highlight-matching-block-lastpos)
22810 (smie-highlight-matching-block)
22811 (smie-highlight-matching-block-mode): Remove.
22812 (smie--matching-block-data-cache): New variable.
22813 (smie--matching-block-data): New function.
22814 (smie-setup): Use smie--matching-block-data for
22815 show-paren-data-function.
22816
22817 * progmodes/octave.el (octave-mode-menu): Fix.
22818 (octave-find-definition): Skip garbage lines.
22819
22820 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22821
22822 Fix compilation error with simultaneous dynamic+lexical scoping.
22823 Add warning when a defvar appears after the first let-binding.
22824 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22825 (byte-compile-close-variables): Initialize it.
22826 (byte-compile--declare-var): New function.
22827 (byte-compile-file-form-defvar)
22828 (byte-compile-file-form-define-abbrev-table)
22829 (byte-compile-file-form-custom-declare-variable): Use it.
22830 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22831 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22832 (byte-compile-bind): Handle dynamic bindings that shadow
22833 lexical bindings.
22834 (byte-compile-unbind): Make arg non-optional.
22835 (byte-compile-let): Simplify.
22836 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22837 (cconv--analyse-function, cconv-analyse-form): Populate it.
22838 Protect byte-compile-bound-variables to limit the scope of defvars.
22839 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22840 Remove unneeded rule for `declare'.
22841
22842 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22843 so as to avoid depending on cl-adjoin at run-time.
22844 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22845
22846 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22847 (macroexp--warn-and-return): Use it.
22848
22849 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22850
22851 * subr.el: Convert to lexical binding.
22852 (overriding-local-map): Make obsolete.
22853 (add-to-list): Doc fix. Add compiler macro.
22854 (read-key): Swap values of local maps.
22855
22856 2013-06-05 Leo Liu <sdl.web@gmail.com>
22857
22858 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22859
22860 2013-06-04 Leo Liu <sdl.web@gmail.com>
22861
22862 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22863 (compilation-auto-jump): Suppress the "Mark set" message to give
22864 way to exit message.
22865
22866 2013-06-04 Alan Mackenzie <acm@muc.de>
22867
22868 Remove faulty optimization from indentation calculation.
22869 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22870 search limit based on 2000 characters back from indent-point.
22871
22872 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22873
22874 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22875
22876 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22877
22878 * emacs-lisp/lisp.el: Use lexical-binding.
22879 (lisp--local-variables-1, lisp--local-variables): New functions.
22880 (lisp--local-variables-completion-table): New var.
22881 (lisp-completion-at-point): Use it complete let-bound vars.
22882
22883 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22884 eagerly (bug#14422).
22885
22886 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22887
22888 * autorevert.el (auto-revert-notify-enabled)
22889 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22890 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22891 (auto-revert-notify-handler): Handle also gfilenotify.
22892
22893 * subr.el (file-notify-handle-event): New defun. Replacing ...
22894 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22895 Remove.
22896
22897 2013-06-03 Juri Linkov <juri@jurta.org>
22898
22899 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22900 `M-s h .'. (Bug#14427)
22901
22902 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22903 command `hi-lock-face-symbol-at-point'.
22904 (hi-lock-face-symbol-at-point): New command.
22905 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22906 (hi-lock-menu): Add `highlight-symbol-at-point'.
22907 (hi-lock-mode): Doc fix.
22908
22909 * isearch.el (isearch-forward-symbol-at-point): New command.
22910 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22911 (isearch-highlight-regexp): Add a regexp which matches
22912 words/symbols for word/symbol mode.
22913
22914 * subr.el (find-tag-default-bounds): New function with the body
22915 mostly moved from `find-tag-default'.
22916 (find-tag-default): Move most code to `find-tag-default-bounds',
22917 call it and apply `buffer-substring-no-properties' afterwards.
22918
22919 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22920
22921 * eshell/em-term.el (eshell-term-initialize):
22922 Use `cl-intersection' rather than `intersection'.
22923
22924 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22925
22926 * vc/log-view.el: Doc fix.
22927 (log-view-mode-map): Copy keymap from `special-mode-map'.
22928
22929 2013-06-02 Eric Ludlam <zappo@gnu.org>
22930
22931 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22932 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22933 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22934 (eieio-unbound, eieio-default-superclass)
22935 (eieio--define-field-accessors, method-static, method-before)
22936 (method-primary, method-after, method-num-lists)
22937 (method-generic-before, method-generic-primary)
22938 (method-generic-after, method-num-slots)
22939 (eieio-specialized-key-to-generic-key)
22940 (eieio--check-type, class-v, class-p)
22941 (eieio-class-name, define-obsolete-function-alias)
22942 (eieio-class-parents-fast, eieio-class-children-fast)
22943 (same-class-fast-p, class-constructor, generic-p)
22944 (generic-primary-only-p, generic-primary-only-one-p)
22945 (class-option-assoc, class-option, eieio-object-p)
22946 (class-abstract-p, class-method-invocation-order)
22947 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22948 (eieio-class-un-autoload, eieio-defclass)
22949 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22950 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22951 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22952 (eieio-defgeneric-reset-generic-form)
22953 (eieio-defgeneric-form-primary-only)
22954 (eieio-defgeneric-reset-generic-form-primary-only)
22955 (eieio-defgeneric-form-primary-only-one)
22956 (eieio-defgeneric-reset-generic-form-primary-only-one)
22957 (eieio-unbind-method-implementations)
22958 (eieio--defmethod, eieio--typep)
22959 (eieio-perform-slot-validation, eieio-validate-slot-value)
22960 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22961 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22962 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22963 (eieio-slot-name-index, eieio-class-slot-name-index)
22964 (eieio-set-defaults, eieio-initarg-to-attribute)
22965 (eieio-attribute-to-initarg, eieio-c3-candidate)
22966 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22967 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22968 (eieio-class-precedence-list, eieio-generic-call-methodname)
22969 (eieio-generic-call-arglst, eieio-generic-call-key)
22970 (eieio-generic-call-next-method-list)
22971 (eieio-pre-method-execution-functions, eieio-generic-call)
22972 (eieio-generic-call-primary-only, eieiomt-method-list)
22973 (eieiomt-optimizing-obarray, eieiomt-install)
22974 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22975 (eieio-generic-form, eieio-defmethod, make-obsolete)
22976 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22977 (defclass): Remove `eval-and-compile' from macro.
22978 (call-next-method, shared-initialize): Instead of using
22979 `scoped-class' variable, use new eieio--scoped-class, and
22980 eieio--with-scoped-class.
22981 (initialize-instance): Rename local variable 'scoped-class' to
22982 'this-class' to remove ambiguitity from old global.
22983
22984 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22985 eieio.el.
22986 (eieio--scoped-class-stack): New variable.
22987 (eieio--scoped-class): New fcn.
22988 (eieio--with-scoped-class): New scoping macro.
22989 (eieio-defclass): Use pushnew instead of add-to-list.
22990 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22991 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22992 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22993 `scoped-class' variable, use new eieio--scoped-class, and
22994 eieio--with-scoped-class.
22995
22996 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22997
22998 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22999
23000 * eshell/esh-ext.el (eshell-external-command): Pass args to
23001 `eshell-find-interpreter'.
23002 (eshell-find-interpreter): Add new second parameter ARGS.
23003
23004 * eshell/em-script.el (eshell-script-initialize): Add second arg
23005 to the function added as MATCH to `eshell-interpreter-alist'.
23006
23007 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23008 the function added as MATCH to `eshell-interpreter-alist'.
23009
23010 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23011 (eshell-visual-options): New defcustom.
23012 (eshell-escape-control-x): Adapt docstring.
23013 (eshell-term-initialize): Test `eshell-visual-subcommands' and
23014 `eshell-visual-options' in addition to `eshell-visual-commands'.
23015 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23016
23017 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
23018
23019 * progmodes/python.el (python-indent-block-enders): Add break,
23020 continue and raise keywords.
23021
23022 2013-06-01 Glenn Morris <rgm@gnu.org>
23023
23024 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23025
23026 Plain (f)boundp silences compilation warnings since Emacs 22.1.
23027 * progmodes/cc-cmds.el (delete-forward-p):
23028 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23029 * progmodes/cc-engine.el (buffer-syntactic-context):
23030 * progmodes/cc-fonts.el (face-property-instance):
23031 * progmodes/cc-mode.el (set-keymap-parents):
23032 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23033 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23034 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23035 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23036 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23037
23038 * progmodes/cc-vars.el (other): Emacs has this widget since
23039 at least 21.1, so don't (re)define it.
23040
23041 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23042 Replace the obsolete alias pcomplete-arg-quote-list.
23043
23044 2013-06-01 Leo Liu <sdl.web@gmail.com>
23045
23046 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23047 punctuation syntax.
23048 (inferior-octave-minimal-columns)
23049 (inferior-octave-last-column-width): New variables.
23050 (inferior-octave-track-window-width-change): New function.
23051 (inferior-octave-mode): Adjust column width so that Octave output,
23052 for example from 'ls', can fit into the window nicely.
23053
23054 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23055
23056 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23057 Highlight expansions inside regexp literals.
23058
23059 2013-05-31 Glenn Morris <rgm@gnu.org>
23060
23061 * obsolete/sym-comp.el (symbol-complete):
23062 Replace obsolete completion-annotate-function.
23063
23064 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23065
23066 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23067
23068 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23069 New function, checks if point is inside a literal that allows
23070 expression expansion.
23071 (ruby-syntax-propertize-expansion): Use it.
23072 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23073 around the body.
23074
23075 2013-05-30 Juri Linkov <juri@jurta.org>
23076
23077 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23078 to "\M-si".
23079 (isearch-invisible): New variable.
23080 (isearch-forward): Doc fix.
23081 (isearch-mode): Set `isearch-invisible'
23082 to the value of `search-invisible'.
23083 (isearch-toggle-case-fold): Doc fix.
23084 (isearch-toggle-invisible): New command.
23085 (isearch-query-replace): Let-bind `search-invisible'
23086 to the value of `isearch-invisible'.
23087 (isearch-search): Use `isearch-invisible' instead of
23088 `search-invisible'. Let-bind `search-invisible'
23089 to the value of `isearch-invisible'. (Bug#11378)
23090
23091 2013-05-30 Juri Linkov <juri@jurta.org>
23092
23093 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23094 call when `query-flag' is nil and `search-invisible' is non-nil.
23095 (Bug#11746)
23096
23097 2013-05-30 Glenn Morris <rgm@gnu.org>
23098
23099 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23100
23101 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23102 (cc-require): Suppress spurious "noruntime" warnings.
23103 (cc-require-when-compile): Use fboundp, for sake of compiler.
23104
23105 * progmodes/cc-mode.el: Move load of cc-vars before that of
23106 cc-langs (which in turn loads cc-vars), to quieten compiler.
23107
23108 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23109
23110 * paren.el: Simplify the code.
23111 (show-paren-mode): Always start the timer.
23112 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23113 (show-paren--overlay, show-paren--overlay-1): Rename from
23114 show-paren-overlay and show-paren-overlay-1, and initialize to an
23115 overlay rather than to nil.
23116 (show-paren-function): Misc cleanup and simplifications.
23117
23118 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23119
23120 * paren.el (show-paren-data-function): New hook.
23121 (show-paren--default): New function, extracted from show-paren-function.
23122 (show-paren-function): Use show-paren-data-function.
23123
23124 2013-05-30 Glenn Morris <rgm@gnu.org>
23125
23126 * ielm.el (ielm-map, ielm-complete-symbol):
23127 Use completion-at-point rather than obsolete functions.
23128 (inferior-emacs-lisp-mode): Doc fix.
23129 Set completion-at-point-functions, rather than
23130 comint-dynamic-complete-functions.
23131
23132 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23133 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23134 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23135
23136 * image.el (image-animated-p): Tweak definition.
23137
23138 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23139 (rlogin-process-connection-type): Tweak default. Add set-after.
23140 (rlogin-host): Doc fix.
23141 (rlogin): Tweak prompt.
23142 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23143
23144 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23145 * progmodes/tcl.el (inferior-tcl-mode-map):
23146 Use completion-at-point rather than obsolete alias.
23147
23148 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23149
23150 * minibuffer.el (read-file-name-completion-ignore-case):
23151 Move before completion--in-region, for eager macro expansion.
23152
23153 2013-05-29 Juri Linkov <juri@jurta.org>
23154
23155 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23156 for total count of matching lines. Add `global-matches' for total
23157 count of matches. Rename `matches' to `lines' for count of
23158 matching lines. Add `matches' for count of matches.
23159 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23160 to `prev-line' for line number of prev match endpt.
23161 Increment `matches' for every match. Print the number of
23162 matching lines in the header.
23163 (occur-context-lines): Rename `lines' to `curr-line'.
23164 Rename `prev-lines' to `prev-line'. (Bug#14017)
23165
23166 2013-05-29 Juri Linkov <juri@jurta.org>
23167
23168 * replace.el (perform-replace): Add `skip-read-only-count',
23169 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23170 Increment them for corresponding conditions and report the number
23171 of skipped occurrences in the final message. (Bug#11746)
23172 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23173 (replace-string, replace-regexp): Doc fix.
23174
23175 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23176
23177 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23178
23179 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23180 prog-mode-map (bug#14504).
23181
23182 2013-05-29 Leo Liu <sdl.web@gmail.com>
23183
23184 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23185 (octave-help): Small simplification.
23186
23187 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23188 off the highlight first.
23189
23190 2013-05-29 Glenn Morris <rgm@gnu.org>
23191
23192 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23193 Handle idlwave-last-system-routine-info-cons-cell being nil.
23194
23195 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23196 (idlwave-write-paths): Simplify via with-temp-buffer.
23197
23198 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23199 * emulation/cua-rect.el: Also load cua-base at run time.
23200
23201 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23202 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23203 (cperl-imenu-on-info): Require imenu.
23204
23205 2013-05-28 Alan Mackenzie <acm@muc.de>
23206
23207 Handle "capitalised keywords" correctly.
23208 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23209
23210 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23211
23212 * eshell/em-unix.el: Add -r option to cp.
23213
23214 2013-05-28 Glenn Morris <rgm@gnu.org>
23215
23216 * vc/vc-arch.el (vc-exec-after): Declare.
23217 (vc-switches): Autoload.
23218 * vc/vc-bzr.el: No need to require vc when compiling.
23219 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23220 (vc-resynch-buffer, vc-dir-refresh): Declare.
23221 (vc-setup-buffer, vc-switches): Autoload.
23222 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23223 (vc-resynch-buffer): Declare.
23224 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23225 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23226 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23227 (grep-read-regexp, grep-read-files, grep-expand-template)
23228 (vc-dir-refresh): Declare.
23229 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23230 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23231 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23232 * vc/vc-mtn.el (vc-exec-after): Declare.
23233 (vc-switches): Autoload.
23234 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23235 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23236 (vc-file-tree-walk): Declare.
23237 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23238 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23239 (vc-tag-precondition, vc-rename-master): Autoload.
23240 * vc/vc-svn.el (vc-exec-after): Declare.
23241 (vc-switches, vc-setup-buffer): Autoload.
23242 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23243 Autoload.
23244 (vc-resynch-buffer): Declare.
23245
23246 * obsolete/fast-lock.el (byte-compile-warnings):
23247 Don't warn about obsolete features in this obsolete file.
23248
23249 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23250 Move definition before use.
23251
23252 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23253 (dun-unix-verbs): Remove dun-zippy.
23254 (dun-zippy): Remove function.
23255
23256 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23257
23258 2013-05-27 Juri Linkov <juri@jurta.org>
23259
23260 * replace.el (replace-search): New function with code moved out
23261 from `perform-replace'.
23262 (replace-highlight, replace-dehighlight): Move function definitions
23263 up closer to `replace-search'. (Bug#11746)
23264
23265 2013-05-27 Juri Linkov <juri@jurta.org>
23266
23267 * replace.el (perform-replace): Ignore invisible matches.
23268 In addition to checking `query-replace-skip-read-only', also
23269 filter out matches by calling `run-hook-with-args-until-failure'
23270 on `isearch-filter-predicates', and also check `search-invisible'
23271 for t or call `isearch-range-invisible'.
23272 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23273
23274 2013-05-27 Juri Linkov <juri@jurta.org>
23275
23276 * isearch.el (isearch-filter-predicates): Rename from
23277 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23278 (isearch-message-prefix): Display text from the property
23279 `isearch-message-prefix' of the currently active filters.
23280 (isearch-search): Don't compare `isearch-filter-predicate' with
23281 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23282 on `isearch-filter-predicates'. Also check `search-invisible' for t
23283 or call `isearch-range-invisible'.
23284 (isearch-filter-visible): Make obsolete.
23285 (isearch-lazy-highlight-search):
23286 Call `run-hook-with-args-until-failure' on
23287 `isearch-filter-predicates' and use `isearch-range-invisible'.
23288
23289 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23290 `isearch-filter-predicates' instead of `funcall'ing
23291 `isearch-filter-predicate'.
23292 (Info-mode): Set `Info-isearch-filter' to
23293 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23294
23295 * dired-aux.el (dired-isearch-filter-predicate-orig):
23296 Remove variable.
23297 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23298 (dired-isearch-filenames-end): Add and remove
23299 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23300 instead of changing the value of `isearch-filter-predicate'.
23301 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23302 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23303 Put property `isearch-message-prefix' to "filename " on
23304 `dired-isearch-filter-filenames'.
23305
23306 * wdired.el (wdired-change-to-wdired-mode):
23307 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23308 locally instead of changing `isearch-filter-predicate'.
23309 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23310
23311 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23312
23313 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23314 return the commit hash (Bug#14459). Also set the
23315 `vc-git-detached' property.
23316 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23317 (vc-git-mode-line-string): Use the same help-echo format whether
23318 in detached mode or not, because we know the actual revision now.
23319 When in detached mode, shorten the revision to 7 chars.
23320
23321 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23322
23323 * emacs-lisp/easy-mmode.el (define-minor-mode):
23324 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23325 mode hook and provide a docstring.
23326
23327 2013-05-27 Alan Mackenzie <acm@muc.de>
23328
23329 Remove spurious syntax-table text properties inserted by C-y.
23330 * progmodes/cc-mode.el (c-after-change): Also clear hard
23331 syntax-table property with value nil.
23332
23333 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23334
23335 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23336 when reading the events; the buffer layout shall not be changed.
23337
23338 2013-05-27 Leo Liu <sdl.web@gmail.com>
23339
23340 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23341 New variable.
23342 (inferior-octave-directory-tracker): Automatically re-sync
23343 default-directory.
23344 (octave-help): Improve handling of 'See also'.
23345
23346 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23347
23348 * doc-view.el: Minor naming convention tweaks.
23349 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23350
23351 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23352 even if there's no `display' property yet (bug#14435).
23353
23354 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23355
23356 * subr.el (unmsys--file-name): Rename from reveal-filename.
23357
23358 * Makefile.in (custom-deps, finder-data, autoloads)
23359 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23360 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23361 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23362
23363 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23364
23365 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23366 error-completion on the first 2 args of condition-case (bug#14446).
23367 Don't burp at EOB.
23368
23369 2013-05-25 Leo Liu <sdl.web@gmail.com>
23370
23371 * comint.el (comint-previous-matching-input): Do not flood the
23372 *Messages* buffer with trivial messages.
23373
23374 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23375
23376 * progmodes/flymake.el (flymake-nop): Don't return a string.
23377 (flymake-set-at): Fix typo.
23378
23379 * simple.el (read--expression): New function, extracted from
23380 eval-expression. Set completion-at-point-functions (bug#14465).
23381 (eval-expression, eval-minibuffer): Use it.
23382
23383 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23384
23385 * progmodes/flymake.el (flymake-save-buffer-in-file)
23386 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23387 (flymake-selected-frame, flymake-log, flymake-ins-after)
23388 (flymake-set-at, flymake-get-buildfile-from-cache)
23389 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23390 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23391 Refine the doc string.
23392 (flymake-get-file-name-mode-and-masks): Reformat.
23393 (flymake-get-real-file-name-function): Fix a minor bug.
23394
23395 2013-05-24 Juri Linkov <juri@jurta.org>
23396
23397 * progmodes/grep.el (grep-mode-font-lock-keywords):
23398 Support =linenumber= format used by git-grep for lines with
23399 function names. (Bug#13549)
23400
23401 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23402
23403 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23404 0 after a semi-colon; it works better for smie-auto-fill.
23405 (octave--indent-new-comment-line): New function.
23406 (octave-indent-new-comment-line): Use it (indirectly).
23407 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23408 modify comment-line-break-function.
23409
23410 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23411 (smie-setup): Use add-function to set it.
23412
23413 2013-05-24 Sam Steingold <sds@gnu.org>
23414
23415 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23416 argument (before the `interactive' argument).
23417
23418 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23419
23420 * image-mode.el (image-mode-winprops): Add winprops to
23421 image-mode-winprops-alist before running
23422 image-mode-new-window-functions.
23423 * doc-view.el (doc-view-new-window-function): Don't delay
23424 doc-view-goto-page via timers (bug#14435).
23425
23426 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23427
23428 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23429 (doc-view-desktop-save-buffer): New function.
23430 (doc-view-restore-desktop-buffer): New function.
23431 (desktop-buffer-mode-handlers):
23432 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23433 handler.
23434 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23435 `desktop-save-buffer' function.
23436
23437 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23438
23439 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23440 (tramp-gvfs-file-name-handler): Raise a user error when
23441 `tramp-gvfs-enabled' is nil.
23442 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23443 Do not raise a user error when loading package. (Bug#14447)
23444
23445 * net/xesam.el: Move to obsolete/.
23446
23447 2013-05-24 Glenn Morris <rgm@gnu.org>
23448
23449 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23450
23451 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23452
23453 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23454 (Info-find-node, Man-getpage-in-background): Declare.
23455
23456 * mail/unrmail.el (unrmail):
23457 Replace obsolete detect-coding-with-priority.
23458
23459 * net/socks.el (socks-split-string): Use this rather than split-string.
23460 (socks-nslookup-host): Update for above change.
23461 (dynamic-choice, s5-dynamic-choice-match)
23462 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23463 Comment out unused code.
23464
23465 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23466 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23467 (gud-tooltip-echo-area): Make obsolete.
23468 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23469
23470 * progmodes/js.el (js--optimize-arglist): Declare.
23471
23472 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23473
23474 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23475 (ediff-window-C): Declare.
23476
23477 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23478 Tweak requires to silence compiler.
23479
23480 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23481 (he-search-string, he-tried-table, he-expand-list)
23482 (he-init-string, he-string-member, he-substitute-string)
23483 (he-reset-string): Declare.
23484
23485 * obsolete/options.el (list-options): Use custom-variable-p,
23486 rather than obsolete alias.
23487
23488 2013-05-23 Sam Steingold <sds@gnu.org>
23489
23490 * simple.el (shell-command-on-region): Pass the `replace' argument
23491 down to `call-process-region' to comply with the doc as reported on
23492 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23493
23494 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23495
23496 * emacs-lisp/smie.el (smie-indent-forward-token)
23497 (smie-indent-backward-token): Handle string tokens (bug#14381).
23498
23499 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23500
23501 * ielm.el (ielm-menu): New menu.
23502 (inferior-emacs-lisp-mode): Set comment-start.
23503
23504 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23505
23506 * textmodes/reftex.el (reftex-ref-style-toggle):
23507 Fix deactivate action.
23508
23509 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23510 Add cleveref macros.
23511
23512 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23513 Accept options for bibliography commands.
23514 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23515 Add addbibresource. Basic Biblatex support.
23516
23517 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23518
23519 * net/tramp-gvfs.el (top):
23520 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23521 when loading package. (Bug#14447)
23522
23523 2013-05-23 Glenn Morris <rgm@gnu.org>
23524
23525 * progmodes/js.el: No need to load comint when compiling.
23526 (ring-insert, comint-send-string, comint-send-input)
23527 (comint-last-input-end, ido-chop): Declare.
23528
23529 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23530 * vc/ediff-mult.el: Adjust requires.
23531 (ediff-directories-internal, ediff-directory-revisions-internal)
23532 (ediff-patch-file-internal): Declare.
23533 * vc/ediff-ptch.el: Adjust requires.
23534 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23535 (ediff-find-file): Autoload.
23536 * vc/ediff-util.el: No need to load ediff when compiling.
23537 (ediff-regions-internal): Declare.
23538 * vc/ediff-wind.el: Adjust requires.
23539 (ediff-compute-toolbar-width): Define when compiling.
23540 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23541 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23542 (dired-get-filename, dired-get-marked-files)
23543 (ediff-last-dir-patch, ediff-patch-default-directory)
23544 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23545 (ediff-patch-buffer-internal): Declare.
23546
23547 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23548 (ispell-process, ispell-buffer-local-words, lm-summary)
23549 (lm-section-start, lm-section-end): Declare.
23550 (checkdoc-ispell-init): Simplify.
23551
23552 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23553 (he-string-member, he-reset-string, he-substitute-string): Declare.
23554
23555 * eshell/em-ls.el: Adjust requires.
23556 (eshell-glob-regexp): Declare.
23557 * eshell/em-tramp.el: Adjust requires.
23558 (eshell-parse-command): Autoload.
23559 * eshell/em-xtra.el: Adjust requires.
23560 (eshell-parse-command): Autoload.
23561 * eshell/esh-ext.el: Adjust requires.
23562 (eshell-parse-command, eshell-close-handles): Autoload.
23563 * eshell/esh-io.el: Adjust requires.
23564 (eshell-output-filter): Autoload.
23565 * eshell/esh-util.el: No need to load tramp when compiling.
23566 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23567 Declare.
23568 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23569 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23570 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23571 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23572 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23573 * eshell/esh-opt.el, eshell/esh-proc.el:
23574 * eshell/esh-var.el: Adjust requires.
23575 * eshell/eshell.el: Do not require esh-util twice.
23576 (eshell-add-input-to-history): Declare.
23577 (eshell-command): Check history module is active before using it.
23578
23579 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23580
23581 2013-05-22 Leo Liu <sdl.web@gmail.com>
23582
23583 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23584
23585 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23586
23587 * autorevert.el (auto-revert-notify-add-watch)
23588 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23589 it indicates changes in file modification time.
23590
23591 2013-05-22 Glenn Morris <rgm@gnu.org>
23592
23593 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23594 Always delete the autoloaded function from the noruntime and
23595 unresolved functions lists.
23596
23597 * allout.el: No need to load epa, epg, overlay when compiling.
23598 (epg-context-set-passphrase-callback, epg-list-keys)
23599 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23600 (epg-key-user-id-list): Declare.
23601
23602 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23603 (viper-set-parsing-style-toggling-macro)
23604 (viper-set-emacs-state-searchstyle-macros):
23605 Use called-interactively-p on Emacs.
23606 (viper-looking-back): Make it an obsolete alias. Update callers.
23607 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23608 Use looking-back rather than viper-looking-back.
23609 (viper-tmp-insert-at-eob, viper-enlarge-region)
23610 (viper-read-string-with-history, viper-register-to-point)
23611 (viper-append-to-register, viper-change-state-to-vi)
23612 (viper-backward-char-carefully, viper-forward-char-carefully)
23613 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23614 (viper-change-state-to-emacs): Declare.
23615 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23616 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23617 * emulation/viper-mous.el: Do not load viper-cmd.
23618 (viper-backward-char-carefully, viper-forward-char-carefully)
23619 (viper-forward-word, viper-adjust-window): Declare.
23620
23621 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23622
23623 * progmodes/idlw-help.el (idlwave-help-fontify):
23624 Use called-interactively-p.
23625
23626 * term/w32console.el (w32-get-console-codepage)
23627 (w32-get-console-output-codepage): Declare.
23628
23629 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23630 Remove unnecessary declarations.
23631 (dframe-message): Doc fix.
23632
23633 * info.el (dframe-select-attached-frame, dframe-current-frame):
23634 Declare.
23635
23636 * speedbar.el (speedbar-message): Make it an obsolete alias.
23637 Update all callers.
23638 (speedbar-with-attached-buffer)
23639 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23640 (speedbar-with-writable): Use backquote.
23641 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23642 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23643 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23644 rather than speedbar- aliases.
23645 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23646 (speedbar-make-specialized-keymap, speedbar-insert-button)
23647 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23648 (speedbar-do-function-pointer): Declare.
23649 (rmail-speedbar-button, rmail-speedbar-find-file)
23650 (rmail-speedbar-move-message):
23651 Use dframe-with-attached-buffer rather than speedbar- alias.
23652 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23653 (dframe-message, speedbar-make-specialized-keymap)
23654 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23655 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23656 (speedbar-insert-button, dframe-select-attached-frame)
23657 (dframe-maybee-jump-to-attached-frame)
23658 (speedbar-change-initial-expansion-list)
23659 (speedbar-previously-used-expansion-list-name): Declare.
23660 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23661 Use dframe-message, dframe-with-attached-buffer rather than
23662 speedbar- aliases.
23663 (gud-sentinel): Silence compiler.
23664 * progmodes/vhdl-mode.el (speedbar-refresh)
23665 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23666 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23667 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23668 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23669 (speedbar-file-lists, speedbar-make-tag-line)
23670 (speedbar-line-directory, speedbar-goto-this-file)
23671 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23672 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23673 (speedbar-make-button, speedbar-reset-scanners)
23674 (speedbar-files-item-info, speedbar-line-text)
23675 (speedbar-find-file-in-frame, speedbar-set-timer)
23676 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23677 (speedbar-with-writable): Do not (re)define it.
23678 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23679 rather than speedbar- alias.
23680
23681 2013-05-21 Leo Liu <sdl.web@gmail.com>
23682
23683 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23684 menu items.
23685 (octave-mode): Tweak fill-nobreak-predicate.
23686 (inferior-octave-startup): Check process to avoid infinite loop.
23687 (inferior-octave): Pop to buffer first to show abornmal process
23688 exit information.
23689
23690 2013-05-21 Glenn Morris <rgm@gnu.org>
23691
23692 * printing.el (pr-menu-bar): Define when compiling.
23693
23694 2013-05-21 Leo Liu <sdl.web@gmail.com>
23695
23696 * progmodes/octave.el (octave-auto-fill): Remove.
23697 (octave-indent-new-comment-line): Improve.
23698 (octave-mode): Use auto fill mode through
23699 comment-line-break-function and fill-nobreak-predicate.
23700 (octave-goto-function-definition): Support DEFUN_DLD.
23701 (octave-beginning-of-defun): Small tweak.
23702 (octave-help): Show parent directory.
23703
23704 2013-05-21 Glenn Morris <rgm@gnu.org>
23705
23706 * files.el (dired-unmark):
23707 * progmodes/gud.el (gdb-input): Update declarations.
23708
23709 * calculator.el (electric, ehelp): No need to load when compiling.
23710 (Electric-command-loop, electric-describe-mode): Declare.
23711
23712 * doc-view.el (doc-view-current-converter-processes): Move before use.
23713
23714 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23715 Move MODE-set-explicitly definition before use.
23716
23717 * international/mule-diag.el (mule-diag):
23718 Don't use obsolete window-system-version.
23719
23720 * mail/feedmail.el (smtpmail): No need to load when compiling.
23721 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23722
23723 * mail/mail-utils.el (rfc822): No need to load when compiling.
23724 (rfc822-addresses): Autoload it.
23725 (mail-strip-quoted-names): Trivial simplification.
23726
23727 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23728 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23729
23730 * net/snmp-mode.el (tempo): Don't duplicate requires.
23731
23732 * progmodes/prolog.el (info): No need to load when compiling.
23733 (comint): Require before shell requires it.
23734 (Info-goto-node): Autoload it.
23735 (Info-follow-nearest-node): Declare.
23736 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23737
23738 * textmodes/artist.el (picture-mode-exit): Declare.
23739
23740 * textmodes/reftex-parse.el (reftex-parse-from-file):
23741 Trivial rewrite so the compiler can parse it better.
23742
23743 2013-05-20 Leo Liu <sdl.web@gmail.com>
23744
23745 * progmodes/octave.el (octave-help-mode-map)
23746 (octave-help-mode-finish-hook): New variables.
23747 (octave-help-mode, octave-help-mode-finish): New functions.
23748 (octave-help): Use octave-help-mode.
23749
23750 2013-05-20 Glenn Morris <rgm@gnu.org>
23751
23752 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23753
23754 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23755
23756 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23757 start at point, so that expansion starting right after opening
23758 slash in a regexp is recognized.
23759 (ruby-syntax-before-regexp-re): New defvar, extracted from
23760 ruby-syntax-propertize-function. Since the value of this regexp
23761 is looked up at runtime now, we should be able to turn
23762 `ruby-syntax-methods-before-regexp' into a defcustom later.
23763 (ruby-syntax-propertize-function): Split regexp matching into two
23764 parts, for opening and closing slashes. That allows us to skip
23765 over string interpolations and support multiline regexps.
23766 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23767 for them, which calls `ruby-syntax-propertize-expansion'.
23768 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23769 call to `ruby-syntax-propertize-function'.
23770 (ruby-syntax-propertize-expansion): Extracted from
23771 `ruby-syntax-propertize-expansions'. Handles one expansion.
23772 (ruby-syntax-propertize-percent-literal): Leave point right after
23773 the percent symbol, so that the expression expansion rule can
23774 propertize the contents.
23775 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23776 heredoc openers.
23777 (ruby-syntax-propertize-expansions): Remove.
23778
23779 2013-05-18 Juri Linkov <juri@jurta.org>
23780
23781 * man.el (Man-default-man-entry): Remove `-' from the end
23782 of the default value. (Bug#14400)
23783
23784 2013-05-18 Glenn Morris <rgm@gnu.org>
23785
23786 * comint.el (comint-password-prompt-regexp):
23787 Allow "password for XXX" where XXX contains colons (eg https://...).
23788
23789 2013-05-18 Leo Liu <sdl.web@gmail.com>
23790
23791 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23792 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23793 (octave-source-directories): Don't check process.
23794 (octave-source-directories, octave-find-definition): Doc fix.
23795
23796 2013-05-18 Glenn Morris <rgm@gnu.org>
23797
23798 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23799 Remove backspace/delete bindings. (Bug#14392)
23800
23801 * cus-dep.el (custom-make-dependencies): Sort the output.
23802 (custom-versions-load-alist): Convert comment to doc.
23803
23804 2013-05-17 Leo Liu <sdl.web@gmail.com>
23805
23806 * newcomment.el (comment-search-backward): Stricter in finding
23807 comment start. (Bug#14303)
23808
23809 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23810 (octave-comment-start-skip): Properly anchored.
23811
23812 2013-05-17 Leo Liu <sdl.web@gmail.com>
23813
23814 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23815 Clean up when turned off. (Bug#14395)
23816 (smie--highlight-matching-block-overlay): No longer buffer-local.
23817 (smie-highlight-matching-block): Adjust.
23818
23819 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23820
23821 Doc string fix for "nanoseconds" (Bug#14406).
23822 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23823 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23824
23825 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23826
23827 * calc/calc-units.el (math-extract-units): Preserve powers
23828 of units.
23829
23830 2013-05-17 Leo Liu <sdl.web@gmail.com>
23831
23832 * subr.el (delete-consecutive-dups): New function.
23833 * ido.el (ido-set-matches-1): Use it.
23834 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23835 * ido.el (ido-remove-consecutive-dups): Remove.
23836
23837 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23838
23839 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23840 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23841 regexp-opt's `words'.
23842
23843 2013-05-16 Leo Liu <sdl.web@gmail.com>
23844
23845 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23846 (smie--highlight-matching-block-overlay)
23847 (smie--highlight-matching-block-lastpos)
23848 (smie--highlight-matching-block-timer): New variables.
23849 (smie-highlight-matching-block): New function.
23850 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23851 (smie-setup): Conditionally enable smie-blink-matching-open.
23852
23853 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23854
23855 Sync with upstream verilog-mode r840.
23856 * progmodes/verilog-mode.el (verilog-mode-version)
23857 (verilog-mode-release-date): Update.
23858 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23859 (verilog-sig-tieoff): Fix string error on
23860 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23861 (verilog-read-decls): Fix parameters confusing
23862 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23863
23864 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23865
23866 * subr.el (reveal-filename): New function.
23867
23868 * loadup.el: Compute Emacs executable versions on MS-Windows,
23869 where executables have the .exe extension. Add a hard link
23870 emacs-XX.YY.ZZ.exe on MS-Windows.
23871
23872 * Makefile.in (XARGS_LIMIT): New variable.
23873 (custom-deps, finder-data, autoloads)
23874 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23875 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23876 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23877 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23878
23879 2013-05-16 Leo Liu <sdl.web@gmail.com>
23880
23881 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23882 (octave-mode-menu, octave-mode-map): Remove its uses.
23883
23884 2013-05-16 Reto Zimmermann <reto@gnu.org>
23885
23886 Sync with upstream vhdl mode v3.34.2.
23887 * progmodes/vhdl-mode.el: Use `push' throughout.
23888 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23889 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23890 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23891 (vhdl-actual-generic-name): New option to derive actual generic name.
23892 (vhdl-port-paste-signals): Replace formal by actual generics.
23893 (vhdl-beautify): New name for old group vhdl-align. Update users.
23894 (vhdl-beautify-options): New option.
23895 (vhdl-last-input-event): New compat alias. Use throughout.
23896 (vhdl-goto-line): Replace user level function `goto-line'.
23897 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23898 vhdl-fix-statement-buffer.
23899 (vhdl-create-mode-menu): Add some entries.
23900 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23901 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23902 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23903 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23904 to force statements on one line.
23905 (vhdl-remove-trailing-spaces-region):
23906 New, split from vhdl-remove-trailing-spaces.
23907 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23908 Respect vhdl-beautify-options.
23909 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23910 (vhdl-update-sensitivity-list): Not add with index if exists without.
23911 Not include array index with signal. Ignore keywords in comments.
23912 (vhdl-get-visible-signals): Regexp tweaks.
23913 (vhdl-template-component-inst): Handle empty library.
23914 (vhdl-template-type): Add template for 'enum' type.
23915 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23916 Use vhdl-replace-string.
23917 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23918 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23919 (vhdl-speedbar-initialize): Update for above name change.
23920 (vhdl-compose-wire-components): Fix in handling of constants.
23921 (vhdl-error-regexp-emacs-alist): New variable.
23922 (vhdl-error-regexp-add-emacs): New function;
23923 adds support for new compile.el (Emacs 22+)
23924 (vhdl-generate-makefile-1): Change target order for single lib. units.
23925 Allow use of absolute file names.
23926
23927 2013-05-16 Leo Liu <sdl.web@gmail.com>
23928
23929 * simple.el (prog-indent-sexp): Indent enclosing defun.
23930
23931 2013-05-15 Glenn Morris <rgm@gnu.org>
23932
23933 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23934 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23935 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23936 (whitespace-highlight): Move to whitespace group.
23937
23938 * comint.el (comint-source):
23939 * pcmpl-linux.el (pcmpl-linux):
23940 * shell.el (shell-faces):
23941 * eshell/esh-opt.el (eshell-opt):
23942 * international/ccl.el (ccl): Remove empty custom groups.
23943
23944 * completion.el (dynamic-completion-mode):
23945 * jit-lock.el (jit-lock-debug-mode):
23946 * minibuffer.el (completion-in-region-mode):
23947 * type-break.el (type-break-mode-line-message-mode)
23948 (type-break-query-mode):
23949 * emulation/tpu-edt.el (tpu-edt-mode):
23950 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23951 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23952 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23953
23954 * term/xterm.el (xterm): Change parent group to terminals.
23955
23956 * master.el (master): Remove empty custom group.
23957 (master-mode): Remove unused :group argument.
23958 * textmodes/refill.el (refill): Remove empty custom group.
23959 (refill-mode): Remove unused :group argument.
23960
23961 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23962
23963 * cus-dep.el: Provide a feature.
23964 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23965 Don't mistakenly ignore files whose basenames match a basename
23966 from preloaded-file-list (eg cedet/ede/simple.el).
23967 Add a fallback method for getting :group.
23968
23969 2013-05-15 Juri Linkov <juri@jurta.org>
23970
23971 * isearch.el (isearch-char-by-name): Rename from
23972 `isearch-insert-char-by-name'. Doc fix.
23973 (isearch-forward): Mention `isearch-char-by-name' in
23974 the docstring. (Bug#13348)
23975
23976 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23977 `exit-minibuffer' instead of
23978 `isearch-nonincremental-exit-minibuffer'.
23979 (isearch-edit-string): Remove mention of
23980 `isearch-nonincremental-exit-minibuffer' from docstring.
23981 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23982 (isearch-forward-exit-minibuffer)
23983 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23984
23985 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23986
23987 * loadup.el: Just use unversioned DOC.
23988
23989 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23990 literals as extending to EOB.
23991 (nxml-last-fontify-end): Remove unused variable.
23992 (nxml-after-change1): Use with-silent-modifications.
23993 (nxml-extend-after-change-region): Simplify.
23994 (nxml-extend-after-change-region1): Remove function.
23995 (nxml-after-change1): Don't adjust for dependent regions.
23996 (nxml-fontify-matcher): Simplify.
23997 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23998 (xmltok-add-dependent): Remove function.
23999 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
24000 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
24001 (xmltok-scan-prolog-after-processing-instruction-open): Treat
24002 unclosed <[[, <?, comment, and other literals as extending to EOB.
24003 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
24004 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24005 Remove functions.
24006 (rng-do-some-validation-1): Don't mark dependent regions.
24007 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24008 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24009 (nxml-clear-dependent-regions): Remove functions.
24010 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24011 (nxml-ensure-scan-up-to-date):
24012 Don't clear&mark dependent regions.
24013
24014 2013-05-15 Leo Liu <sdl.web@gmail.com>
24015
24016 * progmodes/octave.el (octave-goto-function-definition):
24017 Improve and fix callers.
24018
24019 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24020
24021 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24022 the setter (bug#14387).
24023
24024 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24025 surrounding group (bug#14402).
24026
24027 2013-05-14 Juri Linkov <juri@jurta.org>
24028
24029 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24030 (Bug#14390)
24031
24032 2013-05-14 Glenn Morris <rgm@gnu.org>
24033
24034 * progmodes/f90.el (f90-imenu-generic-expression):
24035 Fix typo in 2013-05-08 change. (Bug#14402)
24036
24037 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24038
24039 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24040 Remove signals for which replies are never received.
24041
24042 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24043
24044 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24045 (gdb-handler-alist, gdb-handler-number): Remove variables.
24046 (gdb-handler-list): New variable.
24047 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24048 (gdb-pending-handler-p, gdb-handle-reply)
24049 (gdb-remove-all-pending-triggers): New functions.
24050 (gdb-discard-unordered-replies): New defcustom.
24051 (gdb-handler): New defstruct.
24052 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24053 instead of gdb-pending-triggers. Update docstring.
24054 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24055 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24056 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24057 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24058 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24059 (gdb-frame-handler): Pending triggers are now automatically managed.
24060 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24061 Remove argument.
24062 (gdb-input): Automatically handles pending triggers. Update docstring.
24063 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24064 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24065 Update comments.
24066 (gdb-done-or-error): Now use gdb-handle-reply.
24067
24068 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24069
24070 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24071 gdb-debug-log.
24072
24073 2013-05-14 Glenn Morris <rgm@gnu.org>
24074
24075 * subr.el (user-emacs-directory-warning): New option.
24076 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24077
24078 2013-05-14 Leo Liu <sdl.web@gmail.com>
24079
24080 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24081 during redisplay.
24082 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24083 (octave-font-lock-texinfo-comment): Fix invalid search bound
24084 error: wrong side of point.
24085
24086 2013-05-14 Glenn Morris <rgm@gnu.org>
24087
24088 * progmodes/flymake.el (flymake-xml-program): New option.
24089 (flymake-xml-init): Use it.
24090
24091 * term/xterm.el: Provide a feature.
24092
24093 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24094
24095 2013-05-13 Glenn Morris <rgm@gnu.org>
24096
24097 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24098 Add compat aliases as a hack workaround. (Bug#14384)
24099
24100 2013-05-13 Leo Liu <sdl.web@gmail.com>
24101
24102 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24103 ###, and %!.
24104 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24105 C-M-q.
24106 (octave-comment-start-skip): Include %!.
24107 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24108
24109 2013-05-12 Leo Liu <sdl.web@gmail.com>
24110
24111 * progmodes/octave.el (inferior-octave-startup): Store the value
24112 of __octave_srcdir__ for octave-source-directories.
24113 (inferior-octave-check-process): New function refactored out of
24114 inferior-octave-send-list-and-digest.
24115 (octave-source-directories)
24116 (octave-find-definition-filename-function): New variables.
24117 (octave-source-directories)
24118 (octave-find-definition-default-filename): New functions.
24119 (octave-find-definition): Improve to find functions implemented in C++.
24120
24121 2013-05-12 Glenn Morris <rgm@gnu.org>
24122
24123 * calendar/diary-lib.el (diary-outlook-format-1):
24124 Don't include dayname in the output. (Bug#14349)
24125
24126 2013-05-11 Glenn Morris <rgm@gnu.org>
24127
24128 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24129
24130 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24131 Treat cc-provide like provide.
24132
24133 2013-05-11 Kevin Ryde <user42@zip.com.au>
24134
24135 * cus-dep.el (custom-make-dependencies):
24136 Use generated-autoload-load-name for the sake of files such
24137 such cedet/semantic/bovine/c.el, where the base file name
24138 is not in load-path. (Bug#5277)
24139
24140 2013-05-11 Glenn Morris <rgm@gnu.org>
24141
24142 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24143 Provide features.
24144
24145 2013-05-11 Leo Liu <sdl.web@gmail.com>
24146
24147 * progmodes/octave.el (octave-indent-comment): Improve.
24148 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24149 (octave-eldoc-function-signatures, octave-eldoc-function):
24150 New functions.
24151 (octave-mode, inferior-octave-mode): Add eldoc support.
24152
24153 2013-05-11 Richard Stallman <rms@gnu.org>
24154
24155 * epa.el (epa-decrypt-file): Take output file name as argument
24156 and read it using `interactive'.
24157
24158 2013-05-11 Leo Liu <sdl.web@gmail.com>
24159
24160 * progmodes/octave.el (octave-beginning-of-line)
24161 (octave-end-of-line): Check before using up-list because it jumps
24162 out of more syntactic contructs since moving to smie.
24163 (octave-indent-comment): New function.
24164 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24165 (octave-begin-keywords, octave-end-keywords)
24166 (octave-reserved-words, octave-smie-bnf-table)
24167 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24168
24169 2013-05-11 Glenn Morris <rgm@gnu.org>
24170
24171 * faces.el (internal-face-x-get-resource):
24172 * frame.el (ns-display-monitor-attributes-list):
24173 * calc/calc-aent.el (math-to-radians-2):
24174 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24175 Fix declarations.
24176
24177 * calc/calc-menu.el: Make it loadable in isolation.
24178
24179 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24180 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24181 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24182 (eudc-bbdb-query-internal): Require 'bbdb.
24183
24184 * lpr.el (lpr-headers-switches):
24185 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24186
24187 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24188
24189 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24190
24191 * term.el (term-set-escape-char): Make it idempotent.
24192
24193 2013-05-10 Leo Liu <sdl.web@gmail.com>
24194
24195 * progmodes/octave.el (inferior-octave-completion-table):
24196 No longer a function and all uses changed. Use cache to speed up
24197 completion due to bug#11906.
24198 (octave-beginning-of-defun): Re-write to be more general.
24199
24200 2013-05-10 Glenn Morris <rgm@gnu.org>
24201
24202 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24203
24204 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24205
24206 * comint.el (comint-redirect-send-command-to-process): Use :around
24207 rather than :override for comint-redirect-filter.
24208 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24209 Call it instead of comint-redirect-original-filter-function (which
24210 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24211
24212 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24213
24214 * frame.el (display-monitor-attributes-list): Add NS case.
24215 (ns-display-monitor-attributes-list): Declare.
24216
24217 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24218
24219 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24220
24221 2013-05-09 Glenn Morris <rgm@gnu.org>
24222
24223 * international/fontset.el (vertical-centering-font-regexp):
24224 Set standard-value.
24225
24226 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24227
24228 * bookmark.el (bookmark-search-delay):
24229 * cus-start.el (vertical-centering-font-regexp):
24230 * ps-mule.el (ps-mule-font-info-database-default):
24231 * ps-print.el (ps-default-fg, ps-default-bg):
24232 * type-break.el (type-break-good-break-interval):
24233 * whitespace.el (whitespace-indentation-regexp)
24234 (whitespace-space-after-tab-regexp):
24235 * emacs-lisp/testcover.el (testcover-1value-functions)
24236 (testcover-noreturn-functions, testcover-progn-functions)
24237 (testcover-prog1-functions):
24238 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24239 * eshell/em-glob.el (eshell-glob-translate-alist):
24240 * play/tetris.el (tetris-tty-colors):
24241 * progmodes/cpp.el (cpp-face-default-list):
24242 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24243 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24244 (idlwave-help-browser-generic-args):
24245 * progmodes/make-mode.el (makefile-special-targets-list):
24246 * progmodes/python.el (python-shell-virtualenv-path):
24247 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24248 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24249 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24250 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24251 * textmodes/reftex-vars.el (reftex-format-label-function):
24252 * textmodes/remember.el (remember-diary-file): Fix custom types.
24253
24254 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24255 Add :version.
24256
24257 2013-05-09 Leo Liu <sdl.web@gmail.com>
24258
24259 * progmodes/octave.el (inferior-octave-completion-at-point):
24260 Restore file completion. (Bug#14300)
24261 (inferior-octave-startup): Fix incorrect highlighting for the
24262 first prompt.
24263
24264 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24265
24266 * progmodes/ruby-mode.el: First cut at SMIE support.
24267 (ruby-use-smie): New var.
24268 (ruby-smie-grammar): New constant.
24269 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24270 (ruby-smie--forward-token, ruby-smie--backward-token)
24271 (ruby-smie-rules): New functions.
24272 (ruby-mode-variables): Setup SMIE if applicable.
24273
24274 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24275
24276 * simple.el (line-move-visual): Signal beginning/end of buffer
24277 only if vertical-motion moved less than it was requested. Avoids
24278 silly incorrect error messages when there are display strings with
24279 multiple newlines at EOL.
24280
24281 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24282
24283 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24284 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24285 (prolog-char-quote-workaround):
24286 * progmodes/cperl-mode.el (cperl-under-as-char):
24287 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24288 Mark as obsolete.
24289 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24290 their declaration.
24291 (vhdl-mode-syntax-table-init): Remove.
24292
24293 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24294 last change.
24295
24296 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24297 syntax for "_".
24298 (ld-script-font-lock-keywords):
24299 Change regexps to use things like \_< and \_>.
24300
24301 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24302 Change all regexps to use things like \_< and \_>.
24303
24304 * progmodes/autoconf.el (autoconf-definition-regexp)
24305 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24306 Handle a _ with symbol syntax.
24307 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24308
24309 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24310 Consolidate declaration.
24311 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24312 the declaration.
24313 (ada-create-syntax-table): Remove.
24314 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24315 already has the right syntax nowadays.
24316 (ada-goto-next-word): Don't change the syntax of "_".
24317
24318 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24319 with-wrapper-hook.
24320
24321 2013-05-08 Sam Steingold <sds@gnu.org>
24322
24323 * thingatpt.el (thing-at-point): Accept optional second argument
24324 NO-PROPERTIES to strip the text properties from the return value.
24325 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24326 to `thing-at-point' instead of stripping the properties ourselves.
24327 Also, when `thing-at-point' fails to find a url, prepend "http://"
24328 to the filename at point on the assumption that the user is
24329 pointing at something like gnu.org/gnu.
24330
24331 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24332
24333 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24334 * faces.el (crm-separator):
24335 Silence byte-compiler.
24336
24337 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24338 (tool-bar-map): Remove unneeded defvars.
24339
24340 2013-05-08 Leo Liu <sdl.web@gmail.com>
24341
24342 Re-work a fix for bug#10994 based on Le Wang's patch.
24343 * ido.el (ido-remove-consecutive-dups): New helper.
24344 (ido-completing-read): Use it.
24345 (ido-chop): Revert fix for bug#10994.
24346
24347 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24348
24349 * cus-edit.el (custom-save-variables):
24350 Pretty-print long values. (Bug#14187)
24351
24352 2013-05-08 Glenn Morris <rgm@gnu.org>
24353
24354 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24355 (m4-mode-syntax-table): Init in the defvar.
24356 (m4-mode-abbrev-table): Let define-derived-mode define it.
24357
24358 2013-05-08 Tom Tromey <tromey@redhat.com>
24359
24360 * progmodes/m4-mode.el (m4-mode-syntax-table):
24361 Do not treat "_" as word constituent. (Bug#14167)
24362
24363 2013-05-07 Glenn Morris <rgm@gnu.org>
24364
24365 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24366 Remove explicit eshell-isearch-cancel-map.
24367
24368 * progmodes/f90.el (f90-smart-end-names): New option.
24369 (f90-smart-end): Doc fix.
24370 (f90-end-block-optional-name): New constant.
24371 (f90-block-match): Respect f90-smart-end-names.
24372
24373 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24374
24375 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24376 about implicit semi-colons (bug#14218).
24377
24378 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24379
24380 * frame.el (display-monitor-attributes-list)
24381 (frame-monitor-attributes): New functions.
24382
24383 2013-05-06 Leo Liu <sdl.web@gmail.com>
24384
24385 * progmodes/octave.el (octave-syntax-propertize-function): Change
24386 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24387 (octave-font-lock-keywords): Use octave-operator-regexp.
24388 (octave-completion-at-point): Rename from
24389 octave-completion-at-point-function.
24390 (inferior-octave-directory-tracker): Robustify.
24391 (octave-text-functions): Remove and fix its uses. No such things
24392 any more.
24393
24394 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24395
24396 * emacs-lisp/trace.el (trace--display-buffer): New function.
24397 (trace-make-advice): Use it.
24398
24399 2013-05-06 Juri Linkov <juri@jurta.org>
24400
24401 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24402 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24403 Doc fix.
24404 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24405 in the help string. (Bug#12985)
24406
24407 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24408
24409 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24410
24411 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24412
24413 * progmodes/perl-mode.el: Add support for here documents.
24414 (perl-syntax-propertize-function): Match here-doc markers.
24415 (perl-syntax-propertize-special-constructs): Find their end.
24416 (perl-imenu-generic-expression): Use [:alnum:].
24417
24418 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24419 (advice--add-function): Refresh the advice if already present
24420 (bug#14317).
24421
24422 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24423
24424 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24425
24426 2013-05-06 Glenn Morris <rgm@gnu.org>
24427
24428 * w32-fns.el (w32-charset-info-alist): Declare.
24429
24430 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24431 of its defcustom properties.
24432 (eshell-cmpl-initialize): No need to load pcomplete.
24433
24434 * generic-x.el: No need to require comint when compiling.
24435
24436 * net/eudc-export.el: Make it loadable without bbdb.
24437 (top-level): Use require rather than load-library.
24438 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24439 (eudc-batch-export-records-to-bbdb)
24440 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24441 Require bbdb.
24442
24443 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24444
24445 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24446 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24447 some tweaks, instead.
24448
24449 2013-05-05 Leo Liu <sdl.web@gmail.com>
24450
24451 * progmodes/octave.el (octave-font-lock-keywords)
24452 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24453 (inferior-octave-send-list-and-digest): Improve error message.
24454 (octave-mode, inferior-octave-mode): Use setq-local.
24455 (octave-help): Set info-lookup-mode.
24456
24457 2013-05-05 Richard Stallman <rms@gnu.org>
24458
24459 * vc/compare-w.el (compare-windows-whitespace):
24460 Treat no-break space as whitespace.
24461
24462 * mail/rmailsum.el (rmail-summary-rmail-update):
24463 Detect empty summary and don't change selected message.
24464 (rmail-summary-goto-msg): Likewise.
24465
24466 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24467 Doc fixes, rename args.
24468
24469 2013-05-05 Alan Mackenzie <acm@muc.de>
24470
24471 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24472
24473 2013-05-05 Juri Linkov <juri@jurta.org>
24474
24475 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24476 to not add the length of the summary segment to the return value.
24477 (Bug#14125)
24478
24479 2013-05-05 Leo Liu <sdl.web@gmail.com>
24480
24481 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24482 (inferior-octave-output-filter): Remove.
24483 (octave-send-region, inferior-octave-startup): Fix callers.
24484 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24485 (octave-binary-file-extensions): New user variable.
24486 (octave-find-definition): Confirm if opening binary files.
24487 (octave-help-file): Use octave-find-definition to get the binary
24488 confirmation.
24489 (octave-help): Adjust for octave-help-file change.
24490
24491 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24492
24493 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24494 Merge the two entries that handle function definitions.
24495 (pascal--syntax-propertize): New const.
24496 (pascal-mode): Use it. Use setq-local.
24497
24498 2013-05-04 Glenn Morris <rgm@gnu.org>
24499
24500 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24501 (diary-from-outlook): Respect diary-from-outlook-function.
24502
24503 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24504
24505 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24506 Move the declaration from C.
24507 (read-minibuffer, eval-minibuffer): Move from C.
24508 (completion-setup-function): Avoid minibuffer-completion-contents.
24509
24510 2013-05-03 Leo Liu <sdl.web@gmail.com>
24511
24512 * progmodes/octave.el (octave-font-lock-keywords): Do not
24513 dehighlight 'end' in comments or strings.
24514 (octave-completing-read, octave-goto-function-definition):
24515 New helpers.
24516 (octave-help-buffer): New user variable.
24517 (octave-help-file, octave-help-function): New button types.
24518 (octave-help): New command and bind it to C-h ;.
24519 (octave-find-definition): New command and bind it to M-.
24520 (user-error): Alias to error if not defined.
24521
24522 2013-05-02 Leo Liu <sdl.web@gmail.com>
24523
24524 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24525 for \. (bug#14332)
24526 (octave-font-lock-keywords): Include [ and {.
24527
24528 2013-05-02 Leo Liu <sdl.web@gmail.com>
24529
24530 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24531 (inferior-octave): Remove calling comint-mode and return the buffer.
24532 (inferior-octave-startup): Cosmetic changes.
24533
24534 2013-05-02 Leo Liu <sdl.web@gmail.com>
24535
24536 * progmodes/octave.el (octave-syntax-propertize-function):
24537 Include the case when ' is at line beginning. (Bug#14336)
24538
24539 2013-05-02 Glenn Morris <rgm@gnu.org>
24540
24541 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24542 * desktop.el (vc-dir-mode): Just autoload it here.
24543
24544 2013-05-02 Alan Mackenzie <acm@muc.de>
24545
24546 Eliminate variable c-standard-font-lock-fontify-region-function.
24547 * progmodes/cc-mode.el
24548 (c-standard-font-lock-fontify-region-function): Remove.
24549 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24550
24551 2013-05-01 Leo Liu <sdl.web@gmail.com>
24552
24553 * progmodes/octave.el: Compatible with older emacs-24 releases.
24554 (inferior-octave-has-built-in-variables): Remove. Built-in
24555 variables were removed from Octave in 2007.
24556 (inferior-octave-startup): Fix uses.
24557 (comint-line-beginning-position): Remove compatibility code for
24558 emacs 21.
24559
24560 2013-05-01 Juri Linkov <juri@jurta.org>
24561
24562 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24563
24564 2013-05-01 Juri Linkov <juri@jurta.org>
24565
24566 * comint.el (comint-previous-matching-input): Don't print message
24567 "History item: %d" when `isearch-mode' is active.
24568 (comint-history-isearch-message): Print message "History item: %d"
24569 when `comint-input-ring-index' is not empty and this function is
24570 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24571
24572 2013-05-01 Leo Liu <sdl.web@gmail.com>
24573
24574 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24575 definitions. Use completion-at-point to insert keywords.
24576 (octave-abbrev-start): Remove.
24577 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24578
24579 2013-04-30 Leo Liu <sdl.web@gmail.com>
24580
24581 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24582 change.
24583
24584 2013-04-30 Alan Mackenzie <acm@muc.de>
24585
24586 Handle arbitrarily long C++ member initialization lists.
24587 * progmodes/cc-engine.el (c-back-over-member-initializers):
24588 new function.
24589 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24590 (most) member init lists.
24591
24592 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24593
24594 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24595 variable.
24596
24597 2013-04-30 Leo Liu <sdl.web@gmail.com>
24598
24599 * progmodes/octave.el (octave-variables): Remove. No builtin
24600 variables any more. All converted to functions.
24601 (octave-font-lock-keywords, octave-completion-at-point-function):
24602 Fix uses.
24603 (octave-font-lock-texinfo-comment): New user variable.
24604 (octave-texinfo-font-lock-keywords): New variable for texinfo
24605 comment block.
24606 (octave-function-comment-block): New face.
24607 (octave-font-lock-texinfo-comment): New function.
24608 (octave-mode): Font lock texinfo comment block.
24609
24610 2013-04-29 Leo Liu <sdl.web@gmail.com>
24611
24612 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24613 indexing expression.
24614 (octave-continuation-string): Do not use \.
24615 (inferior-octave-complete-impossible): Remove.
24616 (inferior-octave-completion-table)
24617 (inferior-octave-completion-at-point): Remove its uses.
24618 (inferior-octave-startup): completion_matches was introduced to
24619 Octave in 1996 so safe to assume it.
24620 (octave-function-file-comment): Improve to follow how Octave does it.
24621 (octave-update-function-file-comment): Tweak.
24622
24623 2013-04-29 Leo Liu <sdl.web@gmail.com>
24624
24625 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24626 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24627 (octave-function-file-comment): Fix typo.
24628 (octave-sync-function-file-names): Use read-char-choice.
24629
24630 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24631
24632 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24633 to t for the less important warnings.
24634
24635 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24636
24637 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24638
24639 2013-04-27 Glenn Morris <rgm@gnu.org>
24640
24641 * vc/log-view.el (log-view-current-entry):
24642 Treat "---" separator lines as part of the following rev. (Bug#14169)
24643
24644 2013-04-27 Juri Linkov <juri@jurta.org>
24645
24646 * subr.el (read-number): Doc fix about using it by interactive
24647 code letter `n'. (Bug#14254)
24648
24649 2013-04-27 Juri Linkov <juri@jurta.org>
24650
24651 * desktop.el (desktop-auto-save-timeout): New option.
24652 (desktop-file-checksum): New variable.
24653 (desktop-save): Add optional arg `auto-save' and don't auto-save
24654 if nothing changed.
24655 (desktop-auto-save-timer): New variable.
24656 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24657 (after-init-hook): Call `desktop-auto-save-set-timer'.
24658 Suggested by Reuben Thomas <rrt@sc3d.org> in
24659 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24660
24661 2013-04-27 Leo Liu <sdl.web@gmail.com>
24662
24663 * progmodes/octave.el (octave-function-file-p)
24664 (octave-skip-comment-forward, octave-function-file-comment)
24665 (octave-update-function-file-comment): New functions.
24666 (octave-mode-map): Bind C-c ; to
24667 octave-update-function-file-comment.
24668 (octave-mode-menu): Add octave-update-function-file-comment.
24669 (octave-mode, inferior-octave-mode): Fix doc-string.
24670 (octave-insert-defun): Conform to Octave's coding convention.
24671 (Bug#14285)
24672
24673 * files.el (basic-save-buffer): Don't let errors in
24674 before-save-hook prevent saving buffer.
24675
24676 2013-04-20 Roland Winkler <winkler@gnu.org>
24677
24678 * faces.el (read-face-name): Use completing-read if arg multiple
24679 is nil.
24680
24681 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24682
24683 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24684 displayed, move point to after the totals line.
24685 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24686 for the details.
24687
24688 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24689
24690 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24691 Add current dir to the load-path.
24692 (package-generate-autoloads): Don't rely on
24693 autoload-ensure-default-file.
24694
24695 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24696
24697 * textmodes/remember.el (remember-store-in-files): Document that
24698 the file name format is passed to `format-time-string'.
24699
24700 2013-04-26 Leo Liu <sdl.web@gmail.com>
24701
24702 * progmodes/octave.el (octave-sync-function-file-names): New function.
24703 (octave-mode): Use it in before-save-hook.
24704
24705 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24706
24707 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24708 (bug#14274).
24709
24710 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24711 \n and comment, even if it's not an implicit ; (bug#14218).
24712
24713 2013-04-26 Glenn Morris <rgm@gnu.org>
24714
24715 * subr.el (read-number): Once more use `read' rather than
24716 `string-to-number', to trap non-numeric input. (Bug#14254)
24717
24718 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24719
24720 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24721 Use `syntax-multiline' text property consistently instead of
24722 `font-lock-multiline'. (Bug#14237)
24723
24724 2013-04-26 Glenn Morris <rgm@gnu.org>
24725
24726 * emacs-lisp/shadow.el (list-load-path-shadows):
24727 No longer necessary to check for duplicate simple.el, since
24728 2012-07-07 change to init_lread to not include installation lisp
24729 directories in load-path when running uninstalled. (Bug#14270)
24730
24731 2013-04-26 Leo Liu <sdl.web@gmail.com>
24732
24733 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24734 (octave-mode, inferior-octave-mode): Use setq-local.
24735 (octave-not-in-string-or-comment-p): Rename to
24736 octave-in-string-or-comment-p.
24737 (octave-in-comment-p, octave-in-string-p)
24738 (octave-in-string-or-comment-p): Replace defsubst with defun.
24739
24740 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24741
24742 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24743
24744 2013-04-25 Bastien Guerry <bzg@gnu.org>
24745
24746 * textmodes/remember.el (remember-data-directory)
24747 (remember-directory-file-name-format): Fix custom types.
24748
24749 2013-04-25 Leo Liu <sdl.web@gmail.com>
24750
24751 * progmodes/octave.el (octave-completion-at-point-function):
24752 Make use of inferior octave process.
24753 (octave-initialize-completions): Remove.
24754 (inferior-octave-completion-table): New function.
24755 (inferior-octave-completion-at-point): Use it.
24756 (octave-completion-alist): Remove.
24757
24758 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24759
24760 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24761 (opascal-mode-syntax-table): New var.
24762 (opascal-literal-kind, opascal-is-literal-end)
24763 (opascal-literal-token-at): Rewrite.
24764 (opascal--literal-start-re, opascal-font-lock-keywords)
24765 (opascal--syntax-propertize): New constants.
24766 (opascal-font-lock-defaults): Adjust.
24767 (opascal-mode): Use them. Set comment-<foo> variables as well.
24768 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24769 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24770 (delphi-other-face, opascal-other-face): Remove face variables.
24771 (opascal-save-state): Remove macro.
24772 (opascal-fontifying-progress-step): Remove constant.
24773 (opascal--ignore-changes): Remove var.
24774 (opascal-set-token-property, opascal-parse-next-literal)
24775 (opascal-is-stable-literal, opascal-complete-literal)
24776 (opascal-is-literal-start, opascal-face-of)
24777 (opascal-parse-region, opascal-parse-region-until-stable)
24778 (opascal-fontify-region, opascal-after-change)
24779 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24780 (opascal-debug-parse-region, opascal-debug-parse-window)
24781 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24782 (opascal-debug-fontify-buffer): Remove.
24783 (opascal-debug-mode-map): Adjust accordingly.
24784
24785 2013-04-25 Leo Liu <sdl.web@gmail.com>
24786
24787 Merge octave-mod.el and octave-inf.el into octave.el with some
24788 cleanups.
24789 * progmodes/octave.el: New file renamed from octave-mod.el.
24790 * progmodes/octave-inf.el: Merged into octave.el.
24791 * progmodes/octave-mod.el: Renamed to octave.el.
24792
24793 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24794
24795 * textmodes/reftex-vars.el
24796 (reftex-label-ignored-macros-and-environments): New defcustom.
24797
24798 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24799
24800 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24801
24802 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24803 (smie-indent-keyword): Improve the check to ensure that the next
24804 comment is really on the same line.
24805 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24806
24807 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24808 semi-colons if the line is not otherwise empty (bug#14218).
24809
24810 2013-04-25 Glenn Morris <rgm@gnu.org>
24811
24812 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24813
24814 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24815
24816 * progmodes/opascal.el (opascal-set-token-property): Rename from
24817 opascal-set-text-properties and only set `token' (bug#14134).
24818 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24819 (opascal-literal-text-properties): Remove.
24820 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24821 Adjust callers.
24822
24823 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24824
24825 * textmodes/remember.el (remember-handler-functions): Add an
24826 option for a new handler `remember-store-in-files'.
24827 (remember-data-directory, remember-directory-file-name-format):
24828 New options.
24829 (remember-store-in-files): New function to store remember notes
24830 as separate files within a directory.
24831
24832 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24833
24834 * progmodes/compile.el (compilation-next-error-function):
24835 Pass "formats" to compilation-find-file (bug#11777).
24836
24837 2013-04-24 Glenn Morris <rgm@gnu.org>
24838
24839 * vc/vc-bzr.el (vc-bzr-print-log):
24840 * vc/vc-hg.el (vc-hg-print-log):
24841 * vc/vc-svn.el (vc-svn-print-log):
24842 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24843
24844 * vc/vc-bzr.el (vc-bzr-print-log):
24845 * vc/vc-cvs.el (vc-cvs-print-log):
24846 * vc/vc-git.el (vc-git-print-log):
24847 * vc/vc-hg.el (vc-hg-print-log):
24848 * vc/vc-mtn.el (vc-mtn-print-log):
24849 * vc/vc-rcs.el (vc-rcs-print-log):
24850 * vc/vc-sccs.el (vc-sccs-print-log):
24851 * vc/vc-svn.el (vc-svn-print-log):
24852 * vc/vc.el (vc-print-log-internal): Doc fixes.
24853
24854 2013-04-23 Glenn Morris <rgm@gnu.org>
24855
24856 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24857 Remove venerable code attempting to avoid substitute-command-keys.
24858
24859 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24860
24861 * textmodes/reftex-vars.el (reftex-label-regexps):
24862 Call `reftex-compile-variables' after changes to this variable.
24863
24864 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24865
24866 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24867 Use lexical-binding.
24868 (jit-lock-force-redisplay): Use markers, check buffer's continued
24869 existence and beware narrowed buffers.
24870 (jit-lock-fontify-now): Adjust call accordingly.
24871
24872 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24873
24874 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24875 to avoid misleading the user.
24876
24877 2013-04-22 Leo Liu <sdl.web@gmail.com>
24878
24879 * info-look.el: Prefer latex2e.info. (Bug#14240)
24880
24881 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24882
24883 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24884
24885 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24886 * net/tramp.el (tramp-call-process): ... here.
24887 (tramp-set-completion-function, tramp-parse-putty):
24888 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24889 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24890 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24891 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24892 (tramp-call-local-coding-command): Use `tramp-call-process'
24893 instead of `tramp-compat-call-process'.
24894
24895 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24896 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24897 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24898 (tramp-find-inline-compress): Improve traces.
24899 (tramp-maybe-send-script): Check for Perl binary.
24900 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24901
24902 2013-04-22 Daiki Ueno <ueno@gnu.org>
24903
24904 * epg.el (epg-context-pinentry-mode): New function.
24905 (epg-context-set-pinentry-mode): New function.
24906 (epg--start): Pass --pinentry-mode option to gpg command.
24907
24908 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24909
24910 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24911 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24912 `completion-at-point'. (Bug#13774)
24913
24914 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24915 default key binding for `describe-distribution' has been moved to
24916 `C-h C-o'. (Bug#13970)
24917
24918 2013-04-21 Glenn Morris <rgm@gnu.org>
24919
24920 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24921 Add doc strings.
24922 (vc-print-log): Clarify interactive prompt.
24923
24924 2013-04-20 Glenn Morris <rgm@gnu.org>
24925
24926 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24927 No longer include timestamp etc information.
24928
24929 2013-04-20 Roland Winkler <winkler@gnu.org>
24930
24931 * faces.el (read-face-name): Bug fix, return just one face if arg
24932 multiple is nil. (Bug#14209)
24933
24934 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24935
24936 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24937 (remove-function): Autoload.
24938
24939 * comint.el (comint-redirect-original-filter-function): Remove.
24940 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24941 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24942 (vc-cvs-annotate-command):
24943 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24944 * progmodes/prolog.el (prolog-consult-compile):
24945 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24946 Use add/remove-function instead.
24947 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24948 (gud-tooltip-process-output, gud-tooltip-tips):
24949 Use add/remove-function instead.
24950 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24951 (scheme-interaction-mode, exit-scheme-interaction-mode):
24952 Use add/remove-function instead.
24953
24954 * vc/vc-dispatcher.el: Use lexical-binding.
24955 (vc--process-sentinel): Rename from vc-process-sentinel.
24956 Change last arg to be the code to run. Don't use vc-previous-sentinel
24957 and vc-sentinel-commands any more.
24958 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24959 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24960
24961 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24962
24963 * progmodes/sh-script.el (sh-imenu-generic-expression):
24964 Handle function names with a single character. (Bug#14111)
24965
24966 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24967
24968 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24969 for subroutines defined in an eval (bug#14182).
24970
24971 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24972
24973 * bookmark.el (bookmark-completing-read): Improve handling of empty
24974 string (bug#14176).
24975
24976 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24977
24978 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24979
24980 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24981
24982 New faster Imenu implementation (bug#14058).
24983 * progmodes/python.el (python-imenu-prev-index-position)
24984 (python-imenu-format-item-label-function)
24985 (python-imenu-format-parent-item-label-function)
24986 (python-imenu-format-parent-item-jump-label-function):
24987 New vars.
24988 (python-imenu-format-item-label)
24989 (python-imenu-format-parent-item-label)
24990 (python-imenu-format-parent-item-jump-label)
24991 (python-imenu--put-parent, python-imenu--build-tree)
24992 (python-imenu-create-index, python-imenu-create-flat-index)
24993 (python-util-popn): New functions.
24994 (python-mode): Set imenu-create-index-function to
24995 python-imenu-create-index.
24996
24997 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24998
24999 * winner.el (winner-active-region): Use region-active-p, activate-mark
25000 and deactivate-mark (bug#14225).
25001
25002 * simple.el (deactivate-mark): Don't inline it.
25003
25004 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
25005
25006 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25007
25008 2013-04-18 Tassilo Horn <tsdh@gnu.org>
25009
25010 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25011 file extensions from the archive-mode entry in order to prefer
25012 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25013
25014 2013-04-18 Leo Liu <sdl.web@gmail.com>
25015
25016 * bindings.el (help-event-list): Add ?\?.
25017
25018 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25019
25020 * subr.el (with-wrapper-hook): Declare obsolete.
25021 * simple.el (filter-buffer-substring-function): New hook.
25022 (filter-buffer-substring): Use it.
25023 (filter-buffer-substring-functions): Mark obsolete.
25024 * minibuffer.el (completion-in-region-function): New hook.
25025 (completion-in-region): Use it.
25026 (completion-in-region-functions): Mark obsolete.
25027 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25028 * abbrev.el (abbrev-expand-function): New hook.
25029 (expand-abbrev): Use it.
25030 (abbrev-expand-functions): Mark obsolete.
25031 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25032 and :filter-return.
25033
25034 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25035
25036 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25037 and do not care about match data.
25038
25039 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25040
25041 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25042 completion tables when completing error conditions and
25043 `declare' arguments.
25044 (lisp-complete-symbol, field-complete): Mark as obsolete.
25045 (check-parens): Unmatched parens are user errors.
25046 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25047
25048 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25049
25050 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25051 command changed buffer (ie. `flyspell-pre-buffer' is not current
25052 buffer), which prevents making decisions based on invalid value of
25053 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25054 cause an error when `flyspell-pre-point' was nil after switching
25055 buffers.
25056 (flyspell-post-command-hook): No longer needs to change buffers when
25057 checking pre-word. While at it remove unnecessary progn.
25058
25059 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25060
25061 * textmodes/ispell.el (ispell-add-per-file-word-list):
25062 Fix `flyspell-correct-word-before-point' error when accepting
25063 words and `coment-padding' is an integer by using
25064 `comment-normalize-vars' (Bug #14214).
25065
25066 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25067
25068 New defun movement commands.
25069 * progmodes/python.el (python-nav--syntactically)
25070 (python-nav--forward-defun, python-nav-backward-defun)
25071 (python-nav-forward-defun): New functions.
25072
25073 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25074
25075 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25076 (python-syntax-context): Use named compiler-macro for backwards
25077 compatibility with Emacs 24.x.
25078
25079 2013-04-17 Leo Liu <sdl.web@gmail.com>
25080
25081 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25082 octave-hide-process-buffer.
25083
25084 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25085
25086 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25087 (bug#14216).
25088
25089 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25090
25091 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25092 Fix adjustment of offset when receiving incomplete responses from GDB
25093 (bug#14129).
25094
25095 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25096
25097 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25098 python-mode-abbrev-table.
25099 (python-skeleton-define): Adjust accordingly.
25100 (python-mode-abbrev-table): New table that inherits from it so that
25101 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25102
25103 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25104 (abbrev-symbol): Use it.
25105 (abbrev--before-point): Use it since we already handle inheritance.
25106
25107 2013-04-16 Leo Liu <sdl.web@gmail.com>
25108
25109 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25110 binding to info-lookup-symbol.
25111
25112 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25113
25114 * minibuffer.el (completion--twq-all):
25115 * term/ns-win.el (ns-initialize-window-system):
25116 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25117
25118 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25119
25120 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25121 global bindings.
25122
25123 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25124
25125 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25126
25127 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25128 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25129 to nil.
25130 (ruby-end-of-defun): Remove the unused arg, change the docstring
25131 to reflect that this function is only used as the value of
25132 `end-of-defun-function'.
25133 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25134 to reflect an earlier change that beginning/end-of-defun functions
25135 jump between methods in a class definition, as well as top-level
25136 functions.
25137
25138 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25139
25140 * minibuffer.el (minibuffer-complete): Don't just scroll
25141 a *Completions* that's been iconified.
25142 (minibuffer-force-complete): Make sure repetitions do cycle when going
25143 through completion-in-region -> minibuffer-complete.
25144
25145 2013-04-15 Alan Mackenzie <acm@muc.de>
25146
25147 Correct the placement of c-cpp-delimiters when there're #s not at
25148 col 0.
25149
25150 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25151 place a submatch around the #.
25152 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25153 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25154 on the #, not BOL.
25155
25156 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25157
25158 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25159 (advice--member-p): New arg `name'.
25160 (advice--add-function, advice-member-p): Use it (bug#14202).
25161
25162 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25163
25164 Reformulate java imenu-generic-expression.
25165 The old expression contained ill formed regexps.
25166
25167 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25168 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25169 (cc-imenu-java-method-arg-regexp): New defconsts.
25170 (cc-imenu-java-build-type-args-regex): New defun.
25171 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25172 handling of spaces in the regexp.
25173
25174 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25175
25176 * textmodes/ispell.el (ispell-command-loop): Remove
25177 flyspell highlight of a word when ispell accepts it (bug #14178).
25178
25179 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25180
25181 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25182 uses code from the previous `ange-ftp-run-real-handler'.
25183 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25184 only in case that function exist. This is needed for proper
25185 unloading of Tramp.
25186
25187 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25188
25189 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25190
25191 * textmodes/reftex.el (reftex-compile-variables): Use it.
25192
25193 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25194
25195 * files.el (normal-mode): Only use default major-mode if no other mode
25196 was specified.
25197
25198 * emacs-lisp/trace.el (trace-values): New function.
25199
25200 * files.el: Allow : in local variables (bug#14089).
25201 (hack-local-variable-regexp): New var.
25202 (hack-local-variables-prop-line, hack-local-variables): Use it.
25203
25204 2013-04-13 Roland Winkler <winkler@gnu.org>
25205
25206 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25207 data before it gets modified by bibtex-beginning-of-entry.
25208
25209 2013-04-13 Roland Winkler <winkler@gnu.org>
25210
25211 * textmodes/bibtex.el (bibtex-url): Doc fix.
25212
25213 2013-04-13 Roland Winkler <winkler@gnu.org>
25214
25215 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25216 does not visit a BibTeX file, exclude it from the list of buffers
25217 returned by bibtex-initialize.
25218
25219 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25220
25221 * window.el (split-window): Remove interactive form, since as a
25222 command this function is a special case of split-window-below.
25223 Correct doc string.
25224
25225 2013-04-12 Roland Winkler <winkler@gnu.org>
25226
25227 * faces.el (read-face-name): Do not override value of arg default.
25228 Allow single faces and strings as default values. Remove those
25229 elements from return value that are not faces.
25230 (describe-face): Simplify.
25231 (face-at-point): New optional args thing and multiple so that this
25232 function can provide the same functionality previously provided by
25233 read-face-name.
25234 (make-face-bold, make-face-unbold, make-face-italic)
25235 (make-face-unitalic, make-face-bold-italic, invert-face)
25236 (modify-face, read-face-and-attribute): Use face-at-point.
25237
25238 * cus-edit.el (customize-face, customize-face-other-window)
25239 * cus-theme.el (custom-theme-add-face)
25240 * face-remap.el (buffer-face-set)
25241 * facemenu.el (facemenu-set-face): Use face-at-point.
25242
25243 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25244
25245 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25246
25247 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25248
25249 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25250 off leading { and trailing } from field values.
25251
25252 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25253
25254 * emacs-lisp/timer.el (timer--check): New function.
25255 (timer--time, timer-set-function, timer-event-handler): Use it.
25256 (timer-set-idle-time): Simplify.
25257 (timer--activate): CSE.
25258 (timer-event-handler): Give more info in error message.
25259 (internal-timer-start-idle): New function, moved from C.
25260
25261 * mpc.el (mpc-proc): Add `restart' argument.
25262 (mpc-proc-cmd): Use it.
25263 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25264 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25265 less often.
25266
25267 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25268
25269 * progmodes/sh-script.el: Implement `sh-mode' own
25270 `add-log-current-defun-function' (bug#14112).
25271 (sh-current-defun-name): New function.
25272 (sh-mode): Use the function.
25273
25274 2013-04-09 Bastien Guerry <bzg@gnu.org>
25275
25276 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25277
25278 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25279
25280 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25281
25282 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25283 timer (bug#14156).
25284
25285 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25286
25287 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25288 declaration.
25289
25290 2013-04-07 Leo Liu <sdl.web@gmail.com>
25291
25292 * pcmpl-x.el: New file.
25293
25294 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25295
25296 Do not set x-display-name until X connection is established.
25297 This is needed to prevent from weird situation described at
25298 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25299 * frame.el (make-frame): Set x-display-name after call to
25300 window system initialization function, not before.
25301 * term/x-win.el (x-initialize-window-system): Add optional
25302 display argument and use it.
25303 * term/w32-win.el (w32-initialize-window-system):
25304 * term/ns-win.el (ns-initialize-window-system):
25305 * term/pc-win.el (msdos-initialize-window-system):
25306 Add compatible optional display argument.
25307
25308 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25309
25310 * files.el (normal-backup-enable-predicate): On MS-Windows and
25311 MS-DOS compare truenames of temporary-file-directory and of the
25312 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25313 don't fail comparison by compare-strings. Also, compare file
25314 names case-insensitively on MS-Windows and MS-DOS.
25315
25316 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25317
25318 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25319 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25320
25321 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25322
25323 * whitespace.el (whitespace-color-on, whitespace-color-off):
25324 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25325
25326 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25327
25328 * ispell.el (ispell-set-spellchecker-params):
25329 Really set `ispell-args' for all equivs.
25330
25331 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25332
25333 * ido.el (ido-completions): Use extra elements of ido-decorations
25334 (bug#14143).
25335 (ido-decorations): Update docstring.
25336
25337 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25338
25339 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25340 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25341 nil during initialization, in order not to miss changes since the
25342 file was opened. (Bug#14140)
25343
25344 2013-04-05 Leo Liu <sdl.web@gmail.com>
25345
25346 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25347
25348 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25349
25350 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25351
25352 2013-04-04 Glenn Morris <rgm@gnu.org>
25353
25354 * electric.el (electric-pair-inhibit-predicate): Add :version.
25355
25356 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25357
25358 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25359 when a package is required several times (bug#14082).
25360
25361 2013-04-04 Roland Winkler <winkler@gnu.org>
25362
25363 * faces.el (read-face-name): Behave as promised by the docstring.
25364 Assume that arg default is a list of faces.
25365 (describe-face): Call read-face-name with list of default faces.
25366
25367 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25368
25369 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25370 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25371 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25372 the header.
25373 (bookmark-exit-hook-internal): Save even if list is empty.
25374
25375 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25376
25377 * emacs-lisp/package.el (package-pinned-packages): New var.
25378 (package--add-to-archive-contents): Obey it (bug#14118).
25379
25380 2013-04-03 Alan Mackenzie <acm@muc.de>
25381
25382 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25383 Also adapt to the new values of element 7 of a parse state.
25384
25385 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25386 parameter `not-in-delimiter'. Handle being inside comment opener.
25387 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25388 character in case we're typing a '*' after a '/'.
25389 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25390 instead by passing the parameter to c-state-pp-to-literal.
25391
25392 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25393 for elt. 7 of a parse state.
25394
25395 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25396
25397 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25398 * international/latin1-disp.el, international/mule-util.el:
25399 * language/cyril-util.el, language/european.el, language/ind-util.el:
25400 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25401 * language/tibetan.el, language/viet-util.el:
25402 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25403
25404 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25405
25406 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25407 (electric-pair-post-self-insert-function): Use it.
25408 (electric-pair-default-inhibit): New function, extracted from
25409 electric-pair-post-self-insert-function.
25410
25411 2013-03-31 Roland Winkler <winkler@gnu.org>
25412
25413 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25414
25415 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25416
25417 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25418
25419 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25420
25421 Un-indent after "pass" and "return" statements (Bug#13888)
25422 * progmodes/python.el (python-indent-block-enders): New var.
25423 (python-indent-calculate-indentation): Use it.
25424
25425 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25426
25427 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25428 defun. Defining it as defalias could introduce too eager
25429 byte-compiler optimization. (Bug#14030)
25430
25431 2013-03-30 Chong Yidong <cyd@gnu.org>
25432
25433 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25434
25435 2013-03-30 Leo Liu <sdl.web@gmail.com>
25436
25437 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25438 (kmacro-execute-from-register): Pass the keyboard macro to
25439 kmacro-call-macro or repeating won't work correctly.
25440
25441 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25442
25443 * progmodes/subword.el: Back to using `forward-symbol'.
25444
25445 * subr.el (forward-whitespace, forward-symbol)
25446 (forward-same-syntax): Move from thingatpt.el.
25447
25448 2013-03-29 Leo Liu <sdl.web@gmail.com>
25449
25450 * kmacro.el (kmacro-to-register): New command.
25451 (kmacro-execute-from-register): New function.
25452 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25453
25454 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25455
25456 * mpc.el: Use defvar-local and setq-local.
25457 (mpc--proc-connect): Connection failures are not bugs.
25458 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25459 (mpc-volume-map): Bind to the up-events.
25460
25461 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25462
25463 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25464 instead of `forward-symbol'.
25465
25466 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25467
25468 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25469 (edebug--recursive-edit): Use it.
25470 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25471 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25472
25473 2013-03-28 Leo Liu <sdl.web@gmail.com>
25474
25475 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25476
25477 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25478
25479 * facemenu.el (list-colors-callback): New defvar.
25480 (list-colors-redisplay): New function.
25481 (list-colors-display): Install list-colors-redisplay as the
25482 revert-buffer-function. (Bug#14063)
25483
25484 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25485
25486 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25487 and suffixes don't overlap (bug#14061).
25488
25489 * case-table.el: Use lexical-binding.
25490 (case-table-get-table): New function.
25491 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25492
25493 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25494
25495 * progmodes/subword.el: Add `superword-mode' to do word motion
25496 over symbol_words (parallels and leverages `subword-mode' which
25497 does word motion inside MixedCaseWords).
25498
25499 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25500
25501 * eshell/em-unix.el: Move su and sudo to...
25502 * eshell/em-tramp.el: ...Eshell tramp module.
25503
25504 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25505
25506 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25507 Change return value to be a sexp. Delay `get-buffer' to after
25508 restoring the desktop (bug#13951).
25509
25510 2013-03-26 Leo Liu <sdl.web@gmail.com>
25511
25512 * register.el: Move semantic tag handling back to
25513 cedet/semantic/senator.el. (Bug#14052)
25514
25515 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25516
25517 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25518 into the prompt either (bug#13963).
25519
25520 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25521
25522 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25523 part of "(error-foo)".
25524
25525 2013-03-24 Juri Linkov <juri@jurta.org>
25526
25527 * replace.el (list-matching-lines-prefix-face): New defcustom.
25528 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25529 `occur-engine' if `face-differs-from-default-p' returns t.
25530 (occur-engine): Add `,' inside backquote construct to evaluate
25531 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25532 Pass `prefix-face' to the functions `occur-context-lines' and
25533 `occur-engine-add-prefix'.
25534 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25535 `prefix-face' and propertize the prefix with `prefix-face'.
25536 (Bug#14017)
25537
25538 2013-03-24 Leo Liu <sdl.web@gmail.com>
25539
25540 * nxml/rng-valid.el (rng-validate-while-idle)
25541 (rng-validate-quick-while-idle): Guard against deleted buffer.
25542 (Bug#13999)
25543
25544 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25545 is the last entry in kill-buffer-hook.
25546
25547 * files.el (kill-buffer-hook): Doc fix.
25548
25549 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25550
25551 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25552 Make it safe-local.
25553
25554 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25555
25556 2013-03-23 Leo Liu <sdl.web@gmail.com>
25557
25558 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25559 Remove.
25560
25561 * nxml/rng-valid.el (rng-validate-mode)
25562 (rng-after-change-function, rng-do-some-validation):
25563 * nxml/rng-maint.el (rng-validate-buffer):
25564 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25565 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25566 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25567 (nxml-extend-after-change-region): Use with-silent-modifications.
25568
25569 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25570 timer-idle-list.
25571
25572 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25573 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25574 timer-idle-list. (Bug#13999)
25575
25576 2013-03-23 Juri Linkov <juri@jurta.org>
25577
25578 * info.el (info-index-match): New face.
25579 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25580 main pattern and add text properties with the new face to matches
25581 in index entries relative to the beginning of the index entry.
25582 (Bug#14015)
25583
25584 2013-03-21 Eric Ludlam <zappo@gnu.org>
25585
25586 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25587 Inhibit read only while inserting objects.
25588
25589 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25590
25591 * progmodes/cfengine.el: Update docs to mention
25592 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25593 symbol motion. Remove "_" from the word syntax.
25594
25595 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25596
25597 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25598 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25599
25600 2013-03-20 Juri Linkov <juri@jurta.org>
25601
25602 * info.el (Info-next-reference-or-link)
25603 (Info-prev-reference-or-link): New functions.
25604 (Info-next-reference, Info-prev-reference): Use them.
25605 (Info-try-follow-nearest-node): Handle footnote navigation.
25606 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25607
25608 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25609
25610 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25611 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25612
25613 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25614
25615 Suppress unnecessary non-ASCII chatter during build process.
25616 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25617 (batch-skkdic-convert): Suppress most of the chatter.
25618 It's not needed so much now that machines are faster,
25619 and its non-ASCII component was confusing; see Dmitry Gutov in
25620 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25621
25622 2013-03-20 Leo Liu <sdl.web@gmail.com>
25623
25624 * ido.el (ido-chop): Fix bug#10994.
25625
25626 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25627
25628 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25629 Remove vars.
25630 (whitespace-color-on, whitespace-color-off):
25631 Use `font-lock-fontify-buffer' (Bug#13817).
25632
25633 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25634
25635 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25636 remapping in mode-line.
25637 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25638
25639 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25640
25641 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25642 value for `whitespace-line' face (Bug#13875).
25643 (whitespace-font-lock-keywords): Change description.
25644 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25645 the constructed keywords instead.
25646 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25647
25648 2013-03-19 Leo Liu <sdl.web@gmail.com>
25649
25650 * progmodes/compile.el (compilation-display-error): New command.
25651 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25652 C-o. (Bug#13992)
25653
25654 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25655
25656 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25657
25658 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25659
25660 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25661
25662 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25663
25664 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25665
25666 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25667 * net/tramp-gvfs.el (top):
25668 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25669 (tramp-handle-shell-command): Use it.
25670 (tramp-dissect-file-name): Raise an error when hostname is a
25671 method name, and neither method nor user is specified.
25672
25673 * net/trampver.el: Update release number.
25674
25675 2013-03-18 Leo Liu <sdl.web@gmail.com>
25676
25677 Make sure eldoc can be turned off properly.
25678 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25679 eldoc-mode.
25680 (eldoc-display-message-p): Revert last change.
25681 (eldoc-display-message-no-interference-p)
25682 (eldoc-print-current-symbol-info): Tweak.
25683
25684 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25685
25686 * doc-view.el (doc-view-new-window-function): Check the new window
25687 overlay's display property instead the char property of the
25688 buffer's first char. Use `with-selected-window' instead of
25689 `save-window-excursion' with `select-window'.
25690 (doc-view-document->bitmap): Check the current doc-view overlay's
25691 display property instead the char property of the buffer's first char.
25692
25693 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25694
25695 Automate the build of ja-dic.el (Bug#13984).
25696 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25697 from the input, rather than assume that it's been done for us by the
25698 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25699 the current date into a ja-dic.el comment, as that complicates
25700 regression testing.
25701
25702 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25703
25704 * whitespace.el: Fix double evaluation.
25705 (whitespace-space, whitespace-hspace, whitespace-tab)
25706 (whitespace-newline, whitespace-trailing, whitespace-line)
25707 (whitespace-space-before-tab, whitespace-indentation)
25708 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25709 obsolete defvars.
25710 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25711 (whitespace-color-on): Use a single font-lock-add-keywords call.
25712 Fix double-evaluation of face variables.
25713
25714 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25715
25716 * net/tramp-adb.el (tramp-adb-parse-device-names):
25717 Use `start-process' instead of `call-process'. Otherwise, the
25718 function might be blocked under MS Windows. (Bug#13299)
25719
25720 2013-03-17 Leo Liu <sdl.web@gmail.com>
25721
25722 Extend eldoc to display info in the mode-line. (Bug#13978)
25723 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25724 (eldoc-mode-line-string): New variable.
25725 (eldoc-minibuffer-message): New function.
25726 (eldoc-message-function): New variable.
25727 (eldoc-message): Use it.
25728 (eldoc-display-message-p)
25729 (eldoc-display-message-no-interference-p):
25730 Support eldoc-post-insert-mode.
25731
25732 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25733 (eval-expression): Run it.
25734
25735 2013-03-17 Roland Winkler <winkler@gnu.org>
25736
25737 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25738 strings in the list of return values.
25739
25740 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25741
25742 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25743 radix before checking for HMS forms.
25744
25745 2013-03-16 Leo Liu <sdl.web@gmail.com>
25746
25747 * progmodes/scheme.el: Add indentation and font-locking for λ.
25748 (Bug#13975)
25749
25750 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25751
25752 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25753 token before point (bug#13942).
25754
25755 2013-03-16 Leo Liu <sdl.web@gmail.com>
25756
25757 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25758
25759 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25760
25761 * startup.el (command-line-normalize-file-name): Fix handling of
25762 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25763 <xfq.free@gmail.com> in
25764 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25765
25766 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25767
25768 Sync with Tramp 2.2.7.
25769
25770 * net/trampver.el: Update release number.
25771
25772 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25773
25774 * doc-view.el: Fix bug#13887.
25775 (doc-view-insert-image): Don't modify overlay associated to
25776 non-live windows, and implement horizontal centering of image in
25777 case it's smaller than the window.
25778 (doc-view-new-window-function): Force redisplay of new windows on
25779 doc-view buffers.
25780
25781 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25782
25783 * saveplace.el (save-place-alist-to-file): Don't sort
25784 `save-place-alist', just pretty-print it (bug#13882).
25785
25786 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25787
25788 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25789 Check whether `default-file-name-coding-system' is bound.
25790 It isn't in XEmacs.
25791
25792 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25793
25794 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25795 backquotes for `obsolete' (bug#13929).
25796
25797 * international/mule.el (find-auto-coding): Include file name in
25798 obsolescence warning (bug#13922).
25799
25800 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25801
25802 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25803 for CFEngine 3-specific indentation.
25804 (cfengine3-indent-line): Use it. Fix up category regex.
25805 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25806
25807 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25808
25809 * type-break.el (type-break-file-name):
25810 * textmodes/remember.el (remember-data-file):
25811 * strokes.el (strokes-file):
25812 * shadowfile.el (shadow-initialize):
25813 * saveplace.el (save-place-file):
25814 * ps-bdf.el (bdf-cache-file):
25815 * progmodes/idlwave.el (idlwave-config-directory):
25816 * net/quickurl.el (quickurl-url-file):
25817 * international/kkc.el (kkc-init-file-name):
25818 * ido.el (ido-save-directory-list-file):
25819 * emulation/viper.el (viper-custom-file-name):
25820 * emulation/vip.el (vip-startup-file):
25821 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25822 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25823
25824 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25825
25826 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25827 * language/thai-word.el: Switch to UTF-8.
25828
25829 See ChangeLog.16 for earlier changes.
25830
25831 ;; Local Variables:
25832 ;; coding: utf-8
25833 ;; End:
25834
25835 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25836
25837 This file is part of GNU Emacs.
25838
25839 GNU Emacs is free software: you can redistribute it and/or modify
25840 it under the terms of the GNU General Public License as published by
25841 the Free Software Foundation, either version 3 of the License, or
25842 (at your option) any later version.
25843
25844 GNU Emacs is distributed in the hope that it will be useful,
25845 but WITHOUT ANY WARRANTY; without even the implied warranty of
25846 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25847 GNU General Public License for more details.
25848
25849 You should have received a copy of the GNU General Public License
25850 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.