]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix CL function name font-lock bug.
[gnu-emacs] / lisp / ChangeLog
1 2015-03-20 Tassilo Horn <tsdh@gnu.org>
2
3 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
4 false positive in function name font-locking.
5 (lisp-cl-font-lock-keywords-1): Ditto.
6
7 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
10 occurrences of args via &cl-defs (bug#20149).
11
12 2015-03-20 Alan Mackenzie <acm@muc.de>
13
14 Fix debbugs#20146
15
16 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
17 Return the calculated values, as per spec.
18
19 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
20
21 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
22 and `callcc' to the "methods with required arguments" section,
23 they need a block argument. Remove a `throw' duplicate.
24
25 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
26
27 * progmodes/cperl-mode.el (cperl-electric-backspace):
28 Call delete-backward-space interactively instead of delete-char.
29
30 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
33
34 * emacs-lisp/eieio.el (object-slots): Return slot names as before
35 (bug#20141).
36
37 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 EIEIO: Change class's representation to unify instance and class slots
40 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
41 to match those of cl--class; use cl--slot for both instance slots and
42 class slots.
43 (eieio--object-num-slots): Use cl-struct-slot-info.
44 (eieio--object-class): Rename from eieio--object-class-object.
45 (eieio--object-class-name): Remove.
46 (eieio-defclass-internal): Adjust to new slot representation.
47 Store doc in class rather than in `variable-documentation'.
48 (eieio--perform-slot-validation-for-default): Change API to take
49 a slot object.
50 (eieio--slot-override): New function.
51 (eieio--add-new-slot): Rewrite.
52 (eieio-copy-parents-into-subclass): Rewrite.
53 (eieio--validate-slot-value, eieio--validate-class-slot-value)
54 (eieio-oref-default, eieio-oset-default)
55 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
56 slot representation.
57 (eieio--c3-merge-lists): Simplify.
58 (eieio--class/struct-parents): New function.
59 (eieio--class-precedence-bfs): Use it.
60
61 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
62 (object-class-fast): Change recommend replacement.
63 (eieio-object-class): Rewrite.
64 (slot-exists-p): Adjust to new slot representation.
65 (initialize-instance): Adjust to new slot representation.
66 (object-write): Adjust to new slot representation.
67
68 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
69 extracted from eieio-help-class-slots.
70 (eieio-help-class-slots): Use it. Adjust to new slot representation.
71
72 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
73 Declare to silence warnings.
74 (data-debug-insert-object-button): Avoid `object-slots'.
75 (data-debug/eieio-insert-slots): Adjust to new slot representation.
76
77 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
78 (eieio-object-value-get): Adjust to new slot representation.
79
80 * emacs-lisp/eieio-compat.el
81 (eieio--generic-static-symbol-specializers):
82 Extract from eieio--generic-static-symbol-generalizer.
83 (eieio--generic-static-symbol-generalizer): Use it.
84
85 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
86 Manually map initargs to slot names.
87 (eieio-persistent-validate/fix-slot-value): Adjust to new
88 slot representation.
89
90 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
91
92 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
93
94 * leim/quail/hangul.el (hangul-delete-backward-char)
95 (hangul-to-hanja-conversion):
96 * progmodes/cperl-mode.el (cperl-electric-keyword)
97 (cperl-electric-backspace): Use delete-char instead of
98 delete-backward-char, fixes compilation warnings.
99
100 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
101
102 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
103 Mark apostrophs with ?/ instead of \037. (Bug#20117)
104
105 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 Add classes as run-time descriptors of cl-structs.
108 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
109 (cl--make-slot-desc): New constructor.
110 (cl--plist-remove, cl--struct-register-child): New functions.
111 (cl-struct-define): Rewrite.
112 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
113 (cl--class): New structs.
114 (cl--struct-default-parent): Initialize it here.
115 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
116 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
117 (cl--struct-default-parent): New var.
118 (cl-defstruct): Adjust to new representation of classes; add
119 default parent. In accessors, signal `wrong-type-argument' rather than
120 a generic error.
121 (cl-struct-sequence-type, cl-struct-slot-info)
122 (cl-struct-slot-offset): Rewrite.
123 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
124 (cl-generic-generalizers): Rewrite.
125
126 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
127 (internal-macroexpand-for-load): Use it.
128
129 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
130 Bind inhibit-debug-on-entry here...
131 (debug): Instead of here.
132
133 2015-03-18 Dima Kogan <dima@secretsauce.net>
134
135 Have gud-display-line not display source buffer in gud window.
136 * progmodes/gud.el (gud-display-line): Make display-buffer
137 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
138
139 2015-03-17 Tassilo Horn <tsdh@gnu.org>
140
141 * emacs-lisp/byte-run.el (macro-declarations-alist):
142 New declaration no-font-lock-keyword.
143 (defmacro): Flush font-lock in existing elisp buffers.
144
145 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
146 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
147 Delete functions and defconst.
148 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
149 (lisp--el-font-lock-flush-elisp-buffers): New function.
150 (lisp-mode-variables): Remove code for updating
151 lisp--el-macro-regexp, and add
152 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
153
154 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
155
156 * textmodes/css-mode.el (css--font-lock-keywords):
157 Discriminate between pseudo-classes and pseudo-elements.
158 (css-pseudo-ids): Remove.
159 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
160 (css--complete-property): New function for completing CSS properties.
161 (css--complete-pseudo-element-or-class): New function
162 completing CSS pseudo-elements and pseudo-classes.
163 (css--complete-at-rule): New function for completing CSS at-rules.
164 (css-completion-at-point): New function.
165 (css-mode): Add support for completion.
166 (css-extract-keyword-list, css-extract-parse-val-grammar)
167 (css-extract-props-and-vals): Remove function in favor of manual
168 extraction.
169 (css-at-ids): Update list of CSS at-rule ids.
170 (css-property-ids): Update list of CSS properties.
171
172 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
173
174 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
175 more Kernel methods.
176
177 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
178
179 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
180 shell scripts. (Bug#20118)
181
182 2015-03-17 Eli Zaretskii <eliz@gnu.org>
183
184 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
185 nil, construct a menu of fixed fonts. This resurrects a feature
186 lost in Emacs 23.
187
188 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
189 reset mouse-appearance-menu-map, so the font dialog is recomputed
190 the next time the menu is requested.
191 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
192
193 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
196 (bug#20125).
197
198 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
199
200 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
201 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
202
203 2015-03-16 Alan Mackenzie <acm@muc.de>
204
205 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
206 Also display the overlay arrow in go and go-nonstop modes.
207
208 * emacs-lisp/edebug.el (edebug--display-1): Move the
209 `input-pending' test to after trace mode's `sit-for'.
210 (edebug--recursive-edit): Insert "(sit-for 0)" after
211 "(edebug-overlay-arrow)".
212
213 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
216 cl--do-arglist in more cases; add comments to explain what's going on.
217 (cl--do-&aux): New function extracted from cl--do-arglist.
218 (cl--do-arglist): Use it.
219
220 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
221
222 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
223 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
224 * ido.el (ido-read-buffer): Add `predicate' argument.
225 * misearch.el (unload-function-defs-list): Declare before use.
226
227 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
228
229 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
230 (browse-url-conkeror-program, browse-url-conkeror-arguments)
231 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
232 (browse-url-default-browser): Check for `browse-url-conkeror'
233 and call `browse-url-conkeror-program'.
234 (browse-url-conkeror): New command.
235 (bug#19863)
236
237 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
238
239 * eshell/esh-mode.el (eshell/clear): New function.
240
241 2015-03-16 Alan Mackenzie <acm@muc.de>
242
243 Make Edebug work with Follow Mode.
244
245 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
246 edebug-adjust-window.
247 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
248 over the recursive edit.
249 (edebug-adjust-window): Remove.
250
251 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
252
253 * net/tramp-adb.el:
254 * net/tramp-gvfs.el:
255 * net/tramp-sh.el:
256 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
257
258 * net/tramp.el (tramp-ssh-controlmaster-options)
259 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
260 (tramp-default-method): Do not check for
261 `tramp-ssh-controlmaster-options'.
262
263 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
264 New defcustom, moved from tramp.el.
265 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
266 but with a nil initial value.
267 (tramp-ssh-controlmaster-options): New defun.
268 (tramp-do-copy-or-rename-file-out-of-band)
269 (tramp-maybe-open-connection): Use it. (Bug#20015)
270
271 2015-03-15 Tassilo Horn <tsdh@gnu.org>
272
273 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
274 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
275 (lisp--el-match-macro): New functions.
276 (lisp-mode-variables): Update lisp--el-macro-regexp and add
277 lisp--el-update-after-load to after-load-functions.
278
279 2015-03-15 Daniel Colascione <dancol@dancol.org>
280
281 * emacs-lisp/cl-indent.el
282 (lisp-indent-backquote-substitution-mode): New user option.
283 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
284 (common-lisp-indent-function): Support normally indenting
285 backquote substitutions.
286 (extended-loop-p): Rename to `lisp-extended-loop-p'.
287
288 2015-03-14 Michael R. Mauger <michael@mauger.com>
289
290 * progmodes/sql.el: Version 3.5
291 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
292 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
293
294 2015-03-14 Daniel Colascione <dancol@dancol.org>
295
296 * widget.el (define-widget): Check that documentation is a string
297 or nil; prevent wailing and gnashing of teeth when users forget to
298 pass a docstring and wonder why their properties don't work.
299
300 * startup.el (command-line): Process "--no-x-resources".
301
302 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
303
304 info-look fixes for Texinfo 5
305 * info-look.el (c-mode, bison-mode, makefile-mode)
306 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
307 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
308 Match `foo' and 'foo' and ‘foo’ for @item and similar.
309 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
310 suffix regexp.
311
312 2015-03-12 Juri Linkov <juri@linkov.net>
313
314 * simple.el (next-line-or-history-element)
315 (previous-line-or-history-element): Remember the goal column of
316 possibly multi-line input, and restore it afterwards. (Bug#19824)
317
318 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
319
320 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
321 files (bug#19335).
322
323 2015-03-12 Eli Zaretskii <eliz@gnu.org>
324
325 * international/fontset.el (script-representative-chars): Add a
326 representative character for 'vai'.
327
328 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * international/quail.el (quail-input-method):
331 Use with-silent-modifications.
332
333 * simple.el (goto-history-element): Don't burp on t history.
334
335 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
336
337 Prefer "initialize" to "initialise"
338 * progmodes/js.el (js-indent-first-init):
339 Rename from js-indent-first-initialiser, to avoid worrying about
340 American vs British spelling. All uses changed.
341
342 2015-03-10 Glenn Morris <rgm@gnu.org>
343
344 * progmodes/js.el (js-indent-first-initialiser):
345 Fix doc, type, version.
346
347 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
348
349 * progmodes/js.el (js-indent-first-initialiser): New option.
350 (js--maybe-goto-declaration-keyword-end): New function.
351 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
352
353 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
354
355 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
356 from RFC2798 Section 9.1.1. (Bug#8983)
357
358 2015-03-09 Nicolas Petton <nicolas@petton.fr>
359
360 * emacs-lisp/seq.el (seq-into): New function.
361 Bump seq.el version to 1.3.
362
363 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
364
365 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
366 `=' a part of symbol when followed by `>'. (Bug#18644)
367 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
368 (Bug#19285)
369
370 2015-03-09 Eli Zaretskii <eliz@gnu.org>
371
372 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
373
374 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
375 Thomas Fitzsimmons <fitzsim@fitzsim.org>
376
377 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
378 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
379 (eudc-bbdb-format-record-as-result): Likewise.
380
381 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
382
383 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
384 Use `font-lock-constant-face' for nil, true and false.
385 Highlight `self' as a keyword. (Bug#17733)
386
387 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
388
389 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
390 Expect beginning of regexp also after open brace or vertical bar.
391 (Bug#20026)
392
393 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * battery.el (battery-echo-area-format): Simplify default.
396 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
397 for AC adapter.
398
399 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
400 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
401 do it.
402
403 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
404
405 * net/browse-url.el (browse-url-firefox): Remove outdated
406 MS-Windows limitations.
407
408 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
409
410 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
411 obsolete.
412 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
413 Don't clean up postal addresses if ldap-ignore-attribute-codings
414 is set. Combine mail addresses into one field. (Bug#17720)
415 (eudc-ldap-simple-query-internal):
416 Call eudc-ldap-cleanup-record-filtering-addresses instead of
417 eudc-ldap-cleanup-record-simple.
418 (eudc-ldap-get-field-list): Likewise.
419
420 2015-03-05 Ivan Shmakov <ivan@siamics.net>
421
422 * net/eww.el (eww-html-p): New function (bug#20009).
423 (eww-render): Use it.
424
425 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
426
427 * desktop.el (desktop-buffer-info): Write docstring.
428 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
429 unquote lamda.
430
431 * emacs-lisp/package.el (package-refresh-contents): Update doc.
432
433 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
434
435 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
436
437 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
438
439 Replace *-function vars with generic functions in cl-generic.
440 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
441 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
442 (cl--generic-t-generalizer): New const.
443 (cl--generic-make-method): Rename from `cl--generic-method-make'.
444 (cl--generic-make): Change calling convention.
445 (cl--generic): Add `options' field.
446 (cl-generic-function-options): New function.
447 (cl-defgeneric): Rewrite handling of options. Add support for :method
448 options and allow the use of a default body.
449 (cl-generic-define): Save options in the corresponding new field.
450 (cl-defmethod): Fix ordering of qualifiers.
451 (cl-generic-define-method): Use cl-generic-generalizers.
452 (cl--generic-get-dispatcher): Change calling convention, and change
453 calling convention of the returned function as well so as to take the
454 list of methods separately from the generic function object, so that it
455 can receive the original generic function object.
456 (cl--generic-make-next-function): New function, extracted from
457 cl--generic-make-function.
458 (cl--generic-make-function): Use it.
459 (cl-generic-method-combination-function): Remove.
460 (cl--generic-cyclic-definition): New error.
461 (cl-generic-call-method): Take a generic function object rather than
462 its name.
463 (cl-method-qualifiers): New alias.
464 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
465 don't segregate by qualifiers here any more.
466 (cl--generic-standard-method-combination): Segregate by qualifiers
467 here instead. Add support for the `:extra' qualifier.
468 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
469 (cl-generic-generalizers, cl-generic-combine-methods):
470 New generic functions.
471 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
472 Use the new "default method in defgeneric" functionality, change
473 calling convention to receive a generic function object.
474 (cl--generic-head-used): New var.
475 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
476 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
477 New consts.
478 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
479 (eieio--generic-subclass-generalizer): New consts.
480 (cl-generic-generalizers): New methods.
481 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
482 (eieio--generic-static-object-generalizer): New consts.
483 (cl-generic-generalizers) <(head eieio--static)>: New method.
484 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
485 Unfold closures like lambdas.
486
487 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
488
489 * autorevert.el (auto-revert-notify-add-watch):
490 Fix handler installation. (Bug#20000)
491
492 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
493
494 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
495 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
496 (eww): Do not end error messages with a period.
497
498 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
499
500 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
501 New user option.
502 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
503 names starting with a space.
504 (tramp-methods): Add `tramp-default-port' for "adb".
505 (tramp-adb-parse-device-names): Add traces. Return device names
506 with port, if present.
507 (tramp-adb-handle-directory-files-and-attributes): Quote all
508 remote file names.
509 (tramp-adb-get-device): New defun.
510 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
511 Use it.
512 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
513 variables. Remove checks for listed devices.
514
515 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
516
517 * net/tramp.el (tramp): Add :link property.
518 (tramp-login-prompt-regexp): Allow also "user", as required by
519 Fritz!Box telnet.
520 (tramp-autoload-file-name-handler): Use "/".
521 (tramp-handle-unhandled-file-name-directory): Return nil when
522 required by the spec.
523
524 * net/tramp-cache.el (tramp-dump-connection-properties):
525 Use `with-temp-file'.
526
527 * net/tramp-sh.el (tramp-perl-file-attributes)
528 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
529 file names.
530 (tramp-do-file-attributes-with-stat): Quote file name.
531 (tramp-sh-handle-directory-files-and-attributes): Fall back to
532 `tramp-handle-directory-files-and-attributes' in case of problems.
533 (tramp-do-directory-files-and-attributes-with-stat)
534 (tramp-sh-handle-file-name-all-completions)
535 (tramp-sh-handle-delete-directory)
536 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
537 Normalize use of "cd".
538 (tramp-do-directory-files-and-attributes-with-stat): Use the
539 `quoting-style' arg of `ls' if possible. Make it also working for
540 file names with apostrophes.
541 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
542 in proper order.
543 (tramp-do-copy-or-rename-file-via-buffer)
544 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
545 (tramp-get-remote-locale): Accept also \r in output.
546 (tramp-get-ls-command-with-quoting-style): New defun.
547 (tramp-get-inline-coding): Set `default-directory' to a local
548 directory. Sporadically, `call-process-region' does not handle a
549 remote default directory properly.
550
551 * net/trampver.el: Update release number.
552
553 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
554
555 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
556 .dat files for aspell dicts are also searched for in location
557 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
558 variable.
559
560 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
561
562 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
563 (ispell-hunspell-fill-dictionary-entry)
564 (ispell-find-hunspell-dictionaries)
565 (ispell-set-spellchecker-params): New generic name for
566 `ispell-hunspell-dictionary-equivs-alist'.
567 (ispell-aspell-add-aliases): Also use
568 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
569 standard dict names.
570
571 2015-03-03 Glenn Morris <rgm@gnu.org>
572
573 * net/browse-url.el (browse-url-firefox-startup-arguments):
574 Make obsolete.
575 (browse-url-firefox): Doc fix. Remove -remote, which no longer
576 exists in Firefox 36. (Bug#19921)
577 (browse-url-firefox-sentinel): Remove function.
578
579 2015-03-03 Eli Zaretskii <eliz@gnu.org>
580
581 * frame.el (blink-cursor-timer-function): Don't increment
582 blink-cursor-blinks-done counter when a menu is active on a w32
583 frame. (Bug#19925)
584
585 2015-03-03 Juri Linkov <juri@linkov.net>
586
587 * comint.el (comint-line-beginning-position): Revert searching for
588 the prompt when comint-use-prompt-regexp is non-nil because it
589 doesn't distinguish input from output. Check the field property
590 `output' for the case when comint-use-prompt-regexp is nil.
591 (Bug#19710)
592
593 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
594
595 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
596 with PAGER=cat. (Bug#19870)
597
598 2015-03-03 Glenn Morris <rgm@gnu.org>
599
600 * textmodes/flyspell.el (flyspell-duplicate-distance):
601 Bump :version.
602
603 2015-03-03 Eli Zaretskii <eliz@gnu.org>
604
605 * textmodes/text-mode.el (text-mode-syntax-table): Make some
606 punctuation character behave as word-constituent, for more
607 compatibility with Unicode.
608
609 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
610
611 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
612
613 Improve string search in `flyspell-word-search-*`. (Bug#16800)
614 * textmodes/flyspell.el (flyspell-duplicate-distance):
615 Limit default search distance for duplicated words to 40000.
616 (flyspell-word-search-backward, flyspell-word-search-forward):
617 Search as full word with defined casechars, not as substring.
618
619 2015-03-03 Juri Linkov <juri@linkov.net>
620
621 Better support for the case of typing RET on the prompt in comint.
622 * comint.el (comint-get-old-input-default): Go to the field end
623 when comint-use-prompt-regexp is nil.
624 (comint-line-beginning-position): Check if point is already
625 on the prompt before searching for the prompt when
626 comint-use-prompt-regexp is non-nil. (Bug#19710)
627
628 2015-03-03 Eli Zaretskii <eliz@gnu.org>
629
630 * frame.el (frame-notice-user-settings): Refresh the value of
631 frame parameters after calling tty-handle-reverse-video.
632 Call face-set-after-frame-default with the actual parameters, to avoid
633 resetting colors back to unspecified.
634 (set-background-color, set-foreground-color): Pass the foreground
635 and background colors to face-set-after-frame-default. (Bug#19802)
636
637 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
638
639 * net/network-stream.el (network-stream-open-tls): Respect the
640 :end-of-capability setting.
641
642 2015-03-03 Juri Linkov <juri@linkov.net>
643
644 Revert the previous change of comint-line-beginning-position callers,
645 and modify comint-line-beginning-position instead.
646
647 * comint.el (comint-history-isearch-search)
648 (comint-history-isearch-message, comint-history-isearch-wrap):
649 Use comint-line-beginning-position instead of field-beginning.
650 (comint-send-input): Use either end-of-line or field-end
651 depending on comint-use-prompt-regexp.
652 (comint-line-beginning-position): Search backward
653 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
654 Use field-beginning instead of line-beginning-position
655 if comint-use-prompt-regexp is nil. (Bug#19710)
656
657 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
658
659 * calendar/todo-mode.el (todo-item-done): When done items are
660 hidden, restore point to its location prior to invoking this
661 command. (Bug#19727)
662
663 2015-03-03 Eli Zaretskii <eliz@gnu.org>
664
665 * textmodes/artist.el (artist-ellipse-compute-fill-info):
666 Use mapcar, not mapc, to create the other half of fill-info.
667 (Bug#19763)
668
669 2015-03-03 Nicolas Petton <nicolas@petton.fr>
670
671 * emacs-lisp/authors.el (authors-ignored-files)
672 (authors-renamed-files-alist): Additions.
673
674 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
675
676 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
677 tempfile for ControlPath. (Bug#19702)
678
679 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
680
681 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
682 ControlPath if possible. (Bug#19702)
683
684 2015-03-03 Glenn Morris <rgm@gnu.org>
685
686 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
687 (authors-valid-file-names, authors-renamed-files-alist): Additions.
688
689 2015-03-03 Alan Mackenzie <acm@muc.de>
690
691 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
692 * progmodes/cc-mode.el (c-font-lock-init):
693 Set font-lock-extend-region-functions to nil.
694
695 2015-03-03 Daniel Colascione <dancol@dancol.org>
696
697 * emacs-lisp/generator.el: Make globals conform to elisp
698 style throughout. Use more efficient font-lock patterns.
699 (cps-inhibit-atomic-optimization): Rename from
700 `cps-disable-atomic-optimization'.
701 (cps--gensym): New macro; replaces `cl-gensym' throughout.
702 (cps-generate-evaluator): Move the `iter-yield' local macro
703 definition here
704 (iter-defun, iter-lambda): from here.
705
706 (iter-defun): Use `macroexp-parse-body'.
707
708 2015-03-03 Daniel Colascione <dancol@dancol.org>
709
710 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * progmodes/gud.el: Use lexical-binding (bug#19966).
713
714 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
715
716 2015-03-03 Daniel Colascione <dancol@dancol.org>
717
718 * emacs-lisp/generator.el: Make globals conform to elisp
719 style throughout. Use more efficient font-lock patterns.
720 (cps-inhibit-atomic-optimization): Rename from
721 `cps-disable-atomic-optimization'.
722 (cps--gensym): New macro; replaces `cl-gensym' throughout.
723 (cps-generate-evaluator): Move the `iter-yield' local macro
724 definition here...
725 (iter-defun, iter-lambda): ...from here.
726
727 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
728
729 * emacs-lisp/package.el (package-autoremove): Fix if logic.
730
731 2015-03-03 Martin Rudalics <rudalics@gmx.at>
732
733 * window.el (window--dump-frame): For pixel height return total
734 number of frame's lines.
735
736 2015-03-03 Daniel Colascione <dancol@dancol.org>
737
738 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
739
740 * emacs-lisp/generator.el (iter-defun): Correctly propagate
741 docstrings and declarations to underlying function.
742
743 2015-03-02 Daniel Colascione <dancol@dancol.org>
744
745 * emacs-lisp/generator.el: New file.
746
747 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
748 `vc-responsible-backend'.
749
750 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
751
752 * vc/vc-hooks.el (vc-state, vc-working-revision):
753 Use `vc-responsible-backend' in order to support unregistered files.
754
755 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
756
757 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
758 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
759 master name.
760
761 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
762
763 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
764
765 * net/shr.el (shr-insert): Remove soft hyphens.
766 (shr-insert): Also remove soft hypens from non-folded text.
767
768 2015-02-28 Eli Zaretskii <eliz@gnu.org>
769
770 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
771 when the charset is only given by the HTML <head>, and allow to
772 specify the encoding with "C-x RET c".
773
774 2015-02-27 Mark Laws <mdl@60hz.org>
775
776 Support daemon mode on MS-Windows (bug#19688)
777 * server.el (server-process-filter): Force GUI frames on
778 MS-Windows in daemon mode, even if a TTY frame was requested.
779
780 * frameset.el (frameset-keep-original-display-p): Don't assume
781 windows-nt cannot be in daemon mode.
782
783 * frame.el (window-system-for-display): Don't assume windows-nt
784 cannot be in daemon mode.
785
786 2015-02-26 Ivan Shmakov <ivan@siamics.net>
787
788 * faces.el (face-list-p): Split from face-at-point.
789 (face-at-point): Use it.
790 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
791
792 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
793
794 * vc/vc.el (vc-annotate-switches): New defcustom.
795 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
796 (vc-bzr-annotate-command): Use vc-switches.
797 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
798 (vc-cvs-annotate-command): Use vc-switches.
799 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
800 (vc-git-annotate-command): Use vc-switches.
801 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
802 (vc-hg-annotate-command): Use vc-switches.
803 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
804 (vc-mtn-annotate-command): Use vc-switches.
805 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
806 (vc-svn-annotate-command): Use vc-switches.
807
808 2015-02-26 Alan Mackenzie <acm@muc.de>
809
810 Handle "#" operator properly inside macro. Fix coding bug.
811
812 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
813 On finding a "#" which looks like the start of a macro, check it
814 isn't already inside a macro.
815
816 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
817 "safe" position into the list of them when this is beyond our
818 current position.
819
820 2015-02-26 Martin Rudalics <rudalics@gmx.at>
821
822 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
823 the menu frame is dead. (Bug#19728)
824
825 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
826
827 python.el: Handle tabs in python-indent-dedent-line.
828 * progmodes/python.el (python-indent-dedent-line): Fixes for
829 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
830
831 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
832
833 * progmodes/python.el (python-indent-context): Respect user
834 indentation after comment.
835
836 2015-02-26 Tassilo Horn <tsdh@gnu.org>
837
838 * textmodes/reftex-vars.el (featurep): Conditionalize value of
839 reftex-label-regexps in order to stay compatible with XEmacs 21.5
840 which has no explicitly numbered groups in regexps (bug#19714).
841
842 2015-02-26 Daiki Ueno <ueno@gnu.org>
843
844 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
845 integer before comparison.
846
847 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
848
849 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
850
851 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
852
853 * emacs-lisp/check-declare.el (check-declare-warn):
854 Use compilation-style warnings.
855 (check-declare-files): Make sure that
856 `check-declare-warning-buffer' is in `compilation-mode'.
857
858 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
859
860 * emacs-lisp/check-declare.el (check-declare-ext-errors):
861 New defcustom.
862 (check-declare): New defgroup.
863 (check-declare-verify): When `check-declare-ext-errors' is
864 non-nil, warn about an unfound function, instead of saying
865 "skipping external file".
866
867 2015-02-25 Tassilo Horn <tsdh@gnu.org>
868
869 * textmodes/reftex-vars.el (reftex-include-file-commands):
870 Call reftex-set-dirty on changes.
871
872 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
875 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
876 save-excursion.
877
878 2015-02-24 Glenn Morris <rgm@gnu.org>
879
880 * mail/rmailsum.el (rmail-summary-previous-all)
881 (rmail-summary-previous-msg): Simplify.
882
883 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
884
885 * simple.el (region-active-p): Fix doc to say non-nil.
886
887 2015-02-24 Samer Masterson <nosefrog@gmail.com>
888
889 * eshell/em-hist.el (eshell-hist-parse-word-designator):
890 Return args joined with " ".
891 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
892 (eshell-hist-parse-modifier): Pass mod a list instead of a string
893 (bug#18960).
894
895 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
896
897 * comint.el (comint-mode-map): Fix obvious typo.
898
899 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
900
901 * filecache.el (file-cache-filter-regexps):
902 Add lock files. (Bug#19516)
903
904 2015-02-24 Glenn Morris <rgm@gnu.org>
905
906 * mail/rmailsum.el (rmail-summary-next-all)
907 (rmail-summary-previous-all, rmail-summary-next-msg):
908 Fix handling of optional argument. (Bug#19916)
909
910 * progmodes/f90.el (f90-beginning-of-subprogram)
911 (f90-end-of-subprogram, f90-match-end):
912 Handle continued strings where the continuation does not start
913 with "&" and happens to match our regexp. (Bug#19809)
914
915 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
916
917 * comint.el (comint-clear-buffer): New command.
918 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
919
920 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
921
922 Use ${EXEEXT} more uniformly in makefiles
923 * Makefile.in (EMACS): Append ${EXEEXT}.
924
925 2015-02-23 Sam Steingold <sds@gnu.org>
926
927 * files.el (recover-session): Handle `auto-save-list-file-prefix'
928 being a directory (empty non-directory part).
929
930 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
931
932 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
933 instead of sasl-scram-sha-1, as the former is the name that can be
934 required.
935
936 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
937 (sasl-scram-sha-1-client-final-message)
938 (sasl-scram-sha-1-authenticate-server): Move to end of file.
939
940 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
941
942 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
943 (Bug#19826)
944
945 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
948 and :documentation. Change return value format accordingly.
949 * emacs-lisp/cl-generic.el (cl--generic-lambda):
950 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
951 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
952
953 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
954
955 Introduce `xref-etags-mode'.
956 * progmodes/xref.el (xref-etags-mode--saved): New variable.
957 (xref-etags-mode): New minor mode. (Bug#19466)
958
959 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
960
961 * dom.el (dom-previous-sibling): New function.
962
963 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
964
965 * bindings.el (ctl-x-map): There is no 'C-;'.
966 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
967 Perhaps some other binding should be chosen. (Bug#19826)
968
969 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
970
971 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
972
973 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
974
975 * autorevert.el (auto-revert-notify-add-watch)
976 (auto-revert-notify-handler, auto-revert-buffers): Handle also
977 buffers without an associated file, like dired buffers. (Bug#16112)
978
979 2015-02-21 Dima Kogan <dima@secretsauce.net>
980
981 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
982 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
983 wrappers. Call (auto-revert-buffers) consequently in order to
984 install handlers.
985
986 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
987
988 Sync with upstream verilog-mode revision 0d6420b.
989 * progmodes/verilog-mode.el (verilog-mode-version): Update.
990 (vector-skip-list): Remove.
991 (verilog-auto-inst-port, verilog-auto-inst-port-list)
992 (verilog-auto-inst, verilog-auto-inst-param):
993 Use arguments rather than vector-skip.
994 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
995 modport if signal attachment is itself a modport.
996 Reported by Matthew Lovell.
997
998 2015-02-21 Reto Zimmermann <reto@gnu.org>
999
1000 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1001 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1002 (vhdl-doc-release-notes): Update.
1003 (vhdl-standard): Add VHDL'08 option.
1004 (vhdl-sensitivity-list-all): New option.
1005 (vhdl-directive-keywords): Add psl.
1006 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1007 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1008 (vhdl-imenu-generic-expression): Add context, directive.
1009 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1010 (vhdl-template-map-init): Add vhdl-template-context.
1011 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1012 (vhdl-create-mode-menu): Add some entries.
1013 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1014 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1015 New constants.
1016 (vhdl-directives): New variable.
1017 (vhdl-words-init, vhdl-template-process)
1018 (vhdl-template-replace-header-keywords): Support VHDL'08.
1019 (vhdl-abbrev-list-init): Add vhdl-directives.
1020 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1021 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1022 (vhdl-lineup-comment): Handle block comments and directives.
1023 (vhdl-beginning-of-directive, vhdl-template-context)
1024 (vhdl-template-context-hook): New functions.
1025 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1026 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1027 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1028 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1029 (vhdl-scan-context-clause): Add context.
1030
1031 2015-02-20 Glenn Morris <rgm@gnu.org>
1032
1033 * calendar/solar.el (solar-sunrise-sunset-string):
1034 Shorten message a little.
1035 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1036
1037 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1038 (f90-font-lock-keywords-2): Some F2008 additions.
1039
1040 2015-02-19 Dima Kogan <dima@secretsauce.net>
1041
1042 * autorevert.el (auto-revert-buffers-counter)
1043 (auto-revert-buffers-counter-lockedout): New variables.
1044 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1045 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1046 suppressed by lockout. (Bug#18958)
1047
1048 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1051 returns classes, not class names (bug#19891).
1052
1053 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1054
1055 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1056
1057 2015-02-18 Kelly Dean <kelly@prtime.org>
1058
1059 * register.el (jump-to-register):
1060 * emacs-lisp/lisp.el (check-parens):
1061 Push mark before goto-char so user doesn't lose his previous place.
1062
1063 2015-02-18 Kelly Dean <kelly@prtime.org>
1064
1065 * rect.el (rectangle-mark-mode):
1066 Suppress superfluous "Mark set" message from push-mark.
1067
1068 2015-02-18 Kelly Dean <kelly@prtime.org>
1069
1070 * help-mode.el (help-go-back, help-go-forward, help-follow):
1071 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1072 * winner.el (winner-redo):
1073 * windmove.el (windmove-do-window-select):
1074 * register.el (jump-to-register, increment-register, insert-register)
1075 (append-to-register, prepend-to-register):
1076 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1077 (set-visited-file-name):
1078 * emacs-lisp/lisp.el (kill-backward-up-list):
1079 Use user-error instead of error. (Bug#14480)
1080
1081 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1084 assumptions about window ordering.
1085
1086 2015-02-16 Kelly Dean <kelly@prtime.org>
1087
1088 * files.el (insert-file-contents-literally): Fix docstring typo.
1089
1090 2015-02-16 Kelly Dean <kelly@prtime.org>
1091
1092 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1093 arguments correctly. (Bug#19685)
1094 (define-minor-mode): Clarify docstring.
1095 Clarify mode switch messages for minor modes. (Bug#19690)
1096
1097 2015-02-16 Kelly Dean <kelly@prtime.org>
1098
1099 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1100 Create valid tar files. (Bug#19536)
1101
1102 2015-02-16 Kelly Dean <kelly@prtime.org>
1103
1104 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1105 (Bug#19059)
1106
1107 2015-02-16 Kelly Dean <kelly@prtime.org>
1108
1109 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1110 buffer, and prevent interference with existing buffer. (Bug#13190)
1111
1112 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1113
1114 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1115
1116 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1117 Do not deactivate mark on fontification.
1118
1119 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1120
1121 * net/eww.el: Fix desktop support. (Bug#19226)
1122 (eww-mode): Add autoload cookie.
1123 (eww-restore-desktop): Use inhibit-read-only.
1124
1125 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1126 add-hook works correctly even if the file is not yet loaded.
1127
1128 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1131 eieio-constructor.
1132 (set-slot-value): Mark as obsolete.
1133 (eieio-object-class-name): Improve call to eieio-class-name.
1134 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1135 (object-slots): Use it. Declare obsolete.
1136 (eieio-constructor): Merge it with `make-instance'.
1137 (initialize-instance): Use `dolist'.
1138 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1139 Use eieio--class-print-name.
1140
1141 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1142 (eieio-class-name): Make it do what the docstring claims.
1143 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1144 (eieio--slot-name-index): Simplify accordingly.
1145 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1146 name to `slot-unbound'.
1147
1148 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1149 than on eieio-constructor.
1150
1151 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1154 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1155 about relationship between `type', `named', and `slots'.
1156 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1157 value of `cl-struct-type' property.
1158
1159 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1160
1161 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1162 with PAGER=cat. (Bug#19870)
1163
1164 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1165
1166 * emacs-lisp/package.el (package-read-all-archive-contents):
1167 Don't build the compatibility table.
1168 (package-refresh-contents, package-initialize): Do build the
1169 compatibility table.
1170 (package--build-compatibility-table): New function.
1171 (describe-package-1): Describe why a package is incompatible.
1172
1173 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1176 of the parent.
1177 (cl--assertion-failed): New function.
1178 (cl-assertion-failed): Move in from cl-lib.el.
1179
1180 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1181 as children of its parents.
1182 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1183 (cl-typep): Reimplement using define-inline.
1184 (cl-assert): Use cl--assertion-failed.
1185 (cl-struct-slot-value): Use define-inline.
1186
1187 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1188
1189 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1190 (flyspell-generic-check-word-p): Mark as obsolete.
1191
1192 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1193
1194 * emacs-lisp/package.el (package--compatibility-table): New var.
1195 (package--add-to-compatibility-table): New function.
1196 (package-read-all-archive-contents): Populate compatibility table.
1197 (package--incompatible-p): Also look in dependencies.
1198 (describe-package-1): Fix "incompat" handling.
1199
1200 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1201
1202 * net/rfc2104.el: Moved here from lisp/gnus.
1203
1204 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1205
1206 * net/sasl-scram-rfc.el: New file.
1207
1208 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1209 Add SCRAM-SHA-1 first.
1210 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1211 entry (bug#17636).
1212
1213 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1214
1215 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1216 <ul>.
1217
1218 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1219
1220 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1221 (gdb-inferior-filter): Don't pop up the buried output buffer when
1222 `gdb-display-io-nopopup' is non-nil.
1223
1224 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1225
1226 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1227
1228 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1229 Don't require a running process.
1230 (python-shell-font-lock-post-command-hook): Fontify only if the
1231 shell process is running.
1232
1233 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * hi-lock.el (hi-lock-unface-buffer): Don't call
1236 font-lock-remove-keywords if not needed (bug#19796).
1237
1238 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1239
1240 * emacs-lisp/package.el (package-install): Invert the second
1241 argument, for better backwards compatibility.
1242 (package-install-button-action, package-reinstall)
1243 (package-menu-execute): Account for the change.
1244
1245 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1246
1247 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1248 version of seq-reverse that works on sequences in Emacs 24.
1249 Bump seq.el version to 1.2.
1250
1251 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1252
1253 * emacs-lisp/package.el (package--incompatible-p): New function.
1254 Return non-nil if PKG has no chance of being installable.
1255 (package--emacs-version-list): New variable.
1256 (describe-package-1, package-desc-status)
1257 (package-menu--print-info, package-menu--status-predicate):
1258 Account for the "incompat" status.
1259
1260 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1261
1262 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1263 Rename frame parameter `maximized' to `fullscreen-restore'.
1264 Restore fullwidth/-height after fullboth state. Update doc-strings.
1265
1266 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1267
1268 * net/shr.el (shr-insert): Make sure the space inserted has the
1269 right font (for width).
1270 (shr-fill-line): Preserve background colours when indenting/folding.
1271 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1272 item in a <li>.
1273
1274 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1275
1276 * net/shr.el (shr-use-fonts): New variable.
1277 (shr-fill-text): Rename from "fold".
1278 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1279 New functions.
1280 (shr-insert): Just insert, don't fill the text. Filling is now
1281 done afterwards per display unit.
1282 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1283 per-unit base.
1284 (shr-find-fill-point): Take a "beginning" parameter.
1285 (shr-indent): Indent using the :width display parameter when using
1286 fonts.
1287 (shr-parse-style): Ignore "inherit" values, since we already do that.
1288 (shr-tag-img): Remove the insertion states.
1289 (shr-tag-blockquote): New-style filling.
1290 (shr-tag-dd): Ditto.
1291 (shr-tag-li): Ditto.
1292 (shr-mark-fill): New function to mark lines that need filling.
1293 (shr-tag-h1): Use a larger font.
1294 (shr-tag-table-1): Get the natural and suggested widths in one
1295 rendering.
1296 (shr-tag-table): Create the "fixed" version of the table only once
1297 so that we can cache data in the table.
1298 (shr-insert-table): Get colspan calculations right by having
1299 zero-width columns after colspan ones.
1300 (shr-expand-alignments): New function to make :align-to specs work
1301 right when rendered in one buffer and displayed in another one.
1302 (shr-insert-table-ruler): Use :align-to to get the widths right.
1303 (shr-make-table): Cache more.
1304 (shr-make-table-1): Use the new <td> data layout.
1305 (shr-pixel-buffer-width): New function.
1306 (shr-render-td): Add a caching layer.
1307 (shr-dom-max-natural-width): New function.
1308 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1309 (shr-tag-tt): New function.
1310 (shr-tag-hr): Compute the right length when using fonts.
1311 (shr-table-widths): Off-by-one error in width computation.
1312 (shr-expand-newlines): Remove dead code.
1313 (shr-insert-table): Extend background colors to the end of the column.
1314 (shr-insert-table): Only copy the background, not underline and
1315 the like.
1316 (shr-face-background): New function.
1317
1318 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1319
1320 python.el: Improved shell font lock respecting markers. (Bug#19650)
1321
1322 * progmodes/python.el
1323 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1324 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1325 (python-shell-font-lock-post-command-hook): Fontify by copying text
1326 properties from fontified buffer to shell, keeping markers unchanged.
1327 (python-shell-font-lock-turn-off): Fix typo.
1328 (python-util-text-properties-replace-name): Delete function.
1329
1330 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1331
1332 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1333 return sequence elements in correct order.
1334
1335 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1336
1337 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1338
1339 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1342
1343 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1344 case where the default value would be re-interpreted as a form!
1345
1346 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1347
1348 * help-fns.el (help-fns--signature): Keep doc for keymap.
1349
1350 2015-02-09 Kelly Dean <kelly@prtime.org>
1351
1352 * desktop.el: Save mark-ring less verbosely.
1353 (desktop-var-serdes-funs): New var.
1354 (desktop-buffer-info, desktop-create-buffer): Use it.
1355 (desktop-file-version): Update to 208.
1356
1357 2015-02-09 Leo Liu <sdl.web@gmail.com>
1358
1359 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1360
1361 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1362
1363 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1364
1365 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1366
1367 Port to platforms lacking test -a and -o
1368 * Makefile.in (compile-clean):
1369 * net/tramp-sh.el (tramp-find-executable):
1370 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1371
1372 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1373
1374 * newcomment.el (comment-line): Fix missing paren.
1375
1376 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1377
1378 * play/gamegrid.el: Update comment to reflect that the
1379 'update-game-score' helper program is now setgid by default.
1380
1381 2015-02-08 David Kastrup <dak@gnu.org>
1382
1383 * subr.el (apply-partially): Use lexical binding here.
1384
1385 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1386
1387 * newcomment.el (comment-line): New command.
1388
1389 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1390
1391 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1392
1393 * outline.el (outline-show-entry): Fix one invisible char for the
1394 file's last outline. (Bug#19493)
1395
1396 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * subr.el (indirect-function): Change advertised calling convention.
1399
1400 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1401
1402 python.el: Fix completion-at-point. (Bug#19667)
1403
1404 * progmodes/python.el
1405 (python-shell-completion-native-get-completions): Force process buffer.
1406 (python-shell-completion-at-point): Handle case where call is not
1407 in a shell buffer.
1408
1409 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1410
1411 python.el: Fix shell font-lock multiline input. (Bug#19744)
1412
1413 * progmodes/python.el
1414 (python-shell-font-lock-post-command-hook): Handle multiline input.
1415
1416 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1417
1418 python.el: Make shell font-lock respect markers. (Bug#19650)
1419
1420 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1421 Use `erase-buffer`.
1422 (python-shell-font-lock-comint-output-filter-function):
1423 Handle newlines.
1424 (python-shell-font-lock-post-command-hook): Respect markers on
1425 text fontification.
1426
1427 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1428
1429 python.el: Keep eldoc visible while typing args. (Bug#19637)
1430 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1431 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1432 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1433
1434 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1435
1436 Fix hideshow integration. (Bug#19761)
1437 * progmodes/python.el
1438 (python-hideshow-forward-sexp-function): New function based on
1439 Carlos Pita <carlosjosepita@gmail.com> patch.
1440 (python-mode): Make `hs-special-modes-alist` use it and initialize
1441 the end regexp with the empty string to avoid skipping parens.
1442
1443 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1444
1445 * progmodes/python.el (python-check-custom-command): Do not use
1446 defvar-local for compat with Emacs<24.3.
1447
1448 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1449
1450 * frame.el (frame-notice-user-settings):
1451 Update `frame-size-history'.
1452 (make-frame): Update `frame-size-history'.
1453 Call `frame-after-make-frame'.
1454 * faces.el (face-set-after-frame-default): Remove call to
1455 frame-can-run-window-configuration-change-hook.
1456
1457 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1458
1459 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1460 `vc-cvs-command' (bug#19732).
1461
1462 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1463
1464 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1465 New functions.
1466 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1467 (seq--drop-list, seq--take-list, seq--take-while-list):
1468 Better docstring.
1469
1470 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1471
1472 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1473 `image-kill-buffer' instead.
1474
1475 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1476
1477 * net/ldap.el (ldap-search-internal): Fix docstring.
1478
1479 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1480
1481 * subr.el (define-error): The error conditions may be constant
1482 lists, so use `append' to concatenate them.
1483
1484 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1485
1486 * net/network-stream.el (network-stream-open-tls): Respect the
1487 :end-of-capability setting.
1488
1489 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1490
1491 * emacs-lisp/package.el (package--sort-by-dependence):
1492 New function. Return PACKAGE-LIST sorted by dependencies.
1493 (package-menu-execute): Use it to delete packages in order.
1494 (package--sort-deps-in-alist): New function.
1495 (package-menu-mark-install): Can mark dependencies.
1496 (package--newest-p): New function.
1497 (package-delete): Don't deselect when deleting an older version of
1498 an upgraded package.
1499
1500 * emacs-lisp/package.el: Add missing (require 'subr-x)
1501
1502 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1505 hyphenated (bug#19263).
1506
1507 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1508 of variable interpolation (bug#19751).
1509
1510 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1511
1512 * json.el (json-end-of-file): New error (bug#19768).
1513 (json-pop, json-read): Use it.
1514
1515 2015-02-05 Kelly Dean <kelly@prtime.org>
1516
1517 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1518 `describe-variable'.
1519
1520 * help-fns.el (describe-function-or-variable): New function.
1521
1522 * help.el (help-map): Bind `describe-function-or-variable' to o.
1523 (help-for-help-internal): Document o key.
1524
1525 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1528 special (:documentation ...) feature.
1529 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1530 (eieio-make-child-predicate): Same.
1531 (eieio-copy-parents-into-subclass): Remove unused arg.
1532 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1533 `pname' var.
1534 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1535 callers accordingly.
1536
1537 * emacs-lisp/cconv.el (cconv--convert-function):
1538 Add `docstring' argument.
1539 (cconv-convert): Use it to handle the new (:documentation ...) form.
1540 (cconv-analyze-form): Handle the new (:documentation ...) form.
1541
1542 * emacs-lisp/bytecomp.el:
1543 (byte-compile-initial-macro-environment): Use macroexp-progn.
1544 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1545 (byte-compile-file-form-defvar-function): Rename from
1546 byte-compile-file-form-define-abbrev-table.
1547 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1548 (byte-compile): Use byte-compile-top-level rather than
1549 byte-compile-lambda so we can compile non-values.
1550 (byte-compile-form): Add warnings for failed uses of lexical vars via
1551 quoted symbols.
1552 (byte-compile-unfold-bcf): Improve message for failed inlining.
1553 (byte-compile-make-closure): Handle new format of internal-make-closure
1554 for dynamically-generated docstrings.
1555
1556 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1557 (open-line): Delete like all other commands, instead of killing.
1558 (delete-active-region): Don't define any return any value.
1559
1560 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1561 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1562 default.
1563
1564 2015-02-04 Sam Steingold <sds@gnu.org>
1565
1566 * progmodes/python.el (python-indent-calculate-indentation):
1567 Avoid the error when computing top-level indentation.
1568
1569 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1572
1573 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1574 (mail-mode-flyspell-verify): Fix last change.
1575 (flyspell-external-point-words, flyspell-large-region):
1576 Avoid add-to-list on local vars.
1577
1578 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1579
1580 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1581 void-variable error.
1582
1583 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1584
1585 * image-mode.el (image-kill-buffer): New command.
1586 (image-mode-map): Bind it to k.
1587
1588 * emacs-lisp/package.el (package-delete): Remove package from
1589 `package-selected-packages' even if it can't be deleted.
1590 (package-installed-p): Accept package-desc objects.
1591 (package-install): Can be used to mark dependencies as
1592 selected. When given a package-desc object which is already
1593 installed, the package is not downloaded again, but it is marked
1594 as selected (if it wasn't already).
1595 (package-reinstall): Accept package-desc objects.
1596
1597 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1598
1599 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1600 (package--get-deps): delete-dups when ONLY is nil.
1601 (package-autoremove): Warn the user if `package-selected-packages'
1602 is empty.
1603
1604 (package--user-selected-p): New function.
1605 (package-delete, package-install, package-install-from-buffer):
1606 Use it
1607 (package-selected-packages): Mention it.
1608
1609 (package-initialize): Don't populate `package-selected-packages'.
1610 (package-install-user-selected-packages, package-autoremove):
1611 Special handling for empty `package-selected-packages'.
1612 (package-install): Fix when PKG is a package-desc.
1613
1614 (package-desc-status): Add "dependency" status to the Package
1615 Menu.
1616 (package-menu--status-predicate, package-menu--print-info)
1617 (package-menu-mark-delete, package-menu--find-upgrades)
1618 (package-menu--status-predicate, describe-package-1): Use it
1619
1620 (package--removable-packages): New function.
1621 (package-autoremove): Use it.
1622 (package-menu-execute): Offer to remove unneeded packages.
1623
1624 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1625 tar-desc.
1626
1627 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1628
1629 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1630 (package-delete): New NOSAVE argument.
1631
1632 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1633
1634 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1635 (tramp-open-shell, tramp-maybe-open-connection): Set also
1636 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1637
1638 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1639
1640 * emacs-lisp/package.el (package--find-non-dependencies):
1641 New function.
1642 (package-initialize): Use it to populate `package-selected-packages'.
1643 (package-menu-execute): Clean unnecessary `and'.
1644 (package--get-deps): Fix returning duplicates.
1645
1646 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1647
1648 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1649 Use it as default.
1650 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1651 (Bug#19731)
1652
1653 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1654
1655 * emacs-lisp/package.el (package-delete): Remove package from
1656 package-selected-packages.
1657 (package-autoremove): Remove unneeded variable.
1658
1659 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1660
1661 * emacs-lisp/package.el (package-selected-packages): Fix :type
1662 (package-install): Rename ARG to MARK-SELECTED.
1663 (package--get-deps): Fix for indirect dependencies.
1664 (package-used-elsewhere-p): Rename to
1665 (package--used-elsewhere-p): New function.
1666 (package-reinstall, package-user-selected-packages-install)
1667 (package-autoremove): Use sharp-quote.
1668 (package-user-selected-packages-install): Reindent and rename to
1669 (package-install-user-selected-packages): New function.
1670
1671 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1672
1673 * emacs-lisp/package.el: Don't allow deleting dependencies.
1674
1675 (package-used-elsewhere-p): New function.
1676 (package-delete): Use it, return now an error when trying to
1677 delete a package used as dependency by another package.
1678
1679 Add a reinstall package command.
1680 (package-reinstall): New function.
1681
1682 Add a package-autoremove command.
1683 (package-selected-packages): New user var.
1684 (package-install): Add an optional arg to notify interactive use.
1685 Fix docstring. Save installed package to
1686 packages-installed-directly.
1687 (package-install-from-buffer): Same.
1688 (package-user-selected-packages-install): Allow installing all
1689 packages in packages-installed-directly at once.
1690 (package--get-deps): New function.
1691 (package-autoremove): New function.
1692 (package-install-button-action): Call package-install with
1693 interactive arg.
1694 (package-menu-execute): Same but only for only for not installed
1695 packages.
1696
1697 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1700 and eieio-make-child-predicate.
1701 (eieio-class-parents): Use eieio--class-object.
1702 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1703 (slot-exists-p): Use find-class.
1704
1705 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1706 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1707 convention for eieio-class-def.
1708 (eieio-build-class-list): Remove function, unused.
1709 (eieio-method-def): Remove button type, unused.
1710 (eieio-class-def): Inherit from help-function-def.
1711 (eieio--defclass-regexp): New constant.
1712 (find-function-regexp-alist): Use it.
1713 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1714 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1715 Remove functions.
1716
1717 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1718 Use cl-check-type everywhere instead.
1719 (eieio-class-object): Remove, use find-class instead when needed.
1720 (class-p): Don't inline.
1721 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1722 such as eieio classes, as objects. Don't inline.
1723 (object-p): Mark as obsolete.
1724 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1725 (eieio--generic-tagcode): Avoid `class-p'.
1726 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1727 (eieio-defclass-internal): Use current-load-list rather than
1728 `class-location'.
1729
1730 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1731
1732 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1735 since it may be "equivalent" in some sense, yet different (bug#19734).
1736
1737 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1738
1739 * outline.el (outline-font-lock-face): Add docstring.
1740 (outline-invisible-p): Improve docstring.
1741 (outline-invent-heading): Add docstring.
1742 (outline-promote): Improve docstring.
1743 (outline-demote): Improve docstring.
1744 (outline-head-from-level): Improve docstring.
1745 (outline-end-of-heading): Add docstring.
1746 (outline-next-visible-heading): Improve docstring.
1747 (outline-previous-visible-heading): Improve docstring.
1748 (outline-hide-region-body): Improve docstring.
1749 (outline-flag-subtree): Add docstring.
1750 (outline-end-of-subtree): Add docstring.
1751 (outline-headers-as-kill): Improve docstring.
1752
1753 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1754
1755 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1756 (hide-entry): Declare as obsolete.
1757 (outline-show-entry): Rename from `show-entry'.
1758 (show-entry): Declare as obsolete.
1759 (outline-hide-body): Rename from `hide-body'.
1760 (hide-body): Declare as obsolete.
1761 (outline-hide-region-body): Rename from `hide-region-body'.
1762 (hide-region-body): Declare as obsolete.
1763 (outline-show-all): Rename from `show-all'.
1764 (show-all): Declare as obsolete.
1765 (outline-hide-subtree): Rename from `hide-subtree'.
1766 (hide-subtree): Declare as obsolete.
1767 (outline-hide-leaves): Rename from `hide-leaves'.
1768 (hide-leaves): Declare as obsolete.
1769 (outline-show-subtree): Rename from `show-subtree'.
1770 (show-subtree): Declare as obsolete.
1771 (outline-hide-sublevels): Rename from `hide-sublevels'.
1772 (hide-sublevels): Declare as obsolete.
1773 (outline-hide-other): Rename from `hide-other'.
1774 (hide-other): Declare as obsolete.
1775 (outline-show-children): Rename from `show-children'.
1776 (show-children): Declare as obsolete.
1777 (outline-show-branches): Rename from `show-branches'.
1778 (show-branches): Declare as obsolete.
1779
1780 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1781
1782 * outline.el (outline-mode): Clean up docstring.
1783 (font-lock-warning-face): Remove obsolete declaration.
1784 (outline-font-lock-face): Remove obsolete comment.
1785
1786 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1787
1788 * custom.el (defface): Set `indent' to 1.
1789
1790 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1791
1792 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1793
1794 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1795
1796 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1797 is set, but user has just been asked whether they really want to
1798 kill Emacs (for example with a ‘Modified buffers exist; exit
1799 anyway?’ prompt), do not ask them for another confirmation.
1800
1801 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1802
1803 * calc/calc-units.el (calc-convert-exact-units): New function.
1804 (calc-convert-units): Check for missing units.
1805 (math-consistent-units-p): Strengthen the test for consistent units.
1806
1807 * calc/calc-ext.el (calc-init-extensions): Autoload
1808 `calc-convert-exact-units' and assign it a keybinding.
1809
1810 * calc/calc-help (calc-u-prefix-help): Add help for the
1811 "un" keybinding.
1812
1813 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1816
1817 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1818
1819 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1820 punctuation syntax since to allow bibtex fields with values such
1821 as {Test 1) and 2)} (bug#19205, bug#19707).
1822 (reftex--prepare-syntax-tables): New function.
1823 (reftex-mode): Use it.
1824
1825 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1826
1827 python.el: New non-global state dependent indentation engine.
1828 (Bug#18319, Bug#19595)
1829 * progmodes/python.el (python-syntax-comment-or-string-p):
1830 Accept PPSS as argument.
1831 (python-syntax-closing-paren-p): New function.
1832 (python-indent-current-level)
1833 (python-indent-levels): Mark obsolete.
1834 (python-indent-context): Return more context cases.
1835 (python-indent--calculate-indentation)
1836 (python-indent--calculate-levels): New functions.
1837 (python-indent-calculate-levels): Use them.
1838 (python-indent-calculate-indentation, python-indent-line):
1839 (python-indent-line-function): Rewritten to use new API.
1840 (python-indent-dedent-line): Simplify logic.
1841 (python-indent-dedent-line-backspace): Use `unless`.
1842 (python-indent-toggle-levels): Delete function.
1843
1844 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1845
1846 * subr.el (posnp): Correct docstring of `posnp'.
1847 (posn-col-row): Make it work with all mouse position objects.
1848 * textmodes/artist.el (artist-mouse-draw-continously):
1849 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1850
1851 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1852
1853 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1854
1855 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1856
1857 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1858 Adapt docstring.
1859 (file-notify--descriptor): New defun.
1860 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1861 Adapt docstring. Handle multiple values for
1862 `file-notify-descriptors' entries. (Bug#18880)
1863
1864 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1865 `file-notify-descriptors', the implementation has been changed.
1866
1867 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1868
1869 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1870 On MS-Windows, bind coding-system-for-read to the console output
1871 codepage. (Bug#19458)
1872
1873 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1874
1875 Unbreak `mouse-action' property in text buttons.
1876 * button.el (push-button): Fix regression from 2012-12-06.
1877
1878 2015-01-28 Glenn Morris <rgm@gnu.org>
1879
1880 * progmodes/sh-script.el (sh-mode): Doc fix.
1881 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1882
1883 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1884
1885 Fix dired quoting bug with "Hit`N`Hide".
1886 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1887
1888 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 Tighten up the tagcode used for eieio and cl-struct objects.
1891 * loadup.el: Load cl-preloaded.
1892 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1893 slot of the tag symbol to :quick-object-witness-check.
1894 (eieio-object-p): Use :quick-object-witness-check.
1895 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1896 * emacs-lisp/cl-preloaded.el: New file.
1897 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1898 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1899 (cl--make-usage-args): Strip away &aux args.
1900 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1901 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1902 (cl-defstruct): Use `declare' and cl-struct-define.
1903 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1904 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1905
1906 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1907
1908 * emacs-lisp/cl.el (cl--function-convert):
1909 Merge cache that cl--labels-convert adds (bug#19699).
1910
1911 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1912
1913 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1914 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1915 (tar-header-serialize): New functions.
1916 (tar-current-position): Split from tar-current-descriptor.
1917 (tar-current-descriptor): Use it.
1918 (tar-new-entry): New command.
1919 (tar-mode-map): Bind it.
1920
1921 2015-01-27 Sam Steingold <sds@gnu.org>
1922
1923 * progmodes/python.el (python-check-custom-command): Buffer local
1924 because it usually includes the buffer name.
1925 (python-check-command): Set to epylint when pyflakes is not available.
1926
1927 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1928
1929 * isearch.el (isearch-process-search-char): Add docstring.
1930
1931 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1932
1933 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1934
1935 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1936
1937 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1938 for the case cl-flet or cl-labels form is wrapped with lexical-let
1939 (bug#19613).
1940
1941 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1944 (cl--generic): The method-table is now a (list-of cl--generic-method).
1945 (cl--generic-member-method): New function.
1946 (cl-generic-define-method): Use it.
1947 (cl--generic-build-combined-method, cl--generic-cache-miss):
1948 Adapt to new method-table.
1949 (cl--generic-no-next-method-function): Add `method' argument.
1950 (cl-generic-call-method): Adapt to new method representation.
1951 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1952 (cl-find-method, cl-method-qualifiers): New functions.
1953 (cl--generic-method-info): Adapt to new method representation.
1954 Return a string for the qualifiers.
1955 (cl--generic-describe):
1956 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1957 (eieio-all-generic-functions, eieio-method-documentation):
1958 Adjust to new method representation.
1959
1960 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1961
1962 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1965 (cl-generic-method-combination-function): New var.
1966 (cl--generic-lambda): Remove `with-cnm' arg.
1967 (cl-defmethod): Change accordingly.
1968 (cl-generic-define-method): Don't check qualifiers validity.
1969 Preserve all qualifiers in `method-table'.
1970 (cl-generic-call-method): New function.
1971 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1972 (cl--generic-build-combined-method): Adjust to new format of method-table
1973 and use cl-generic-method-combination-function.
1974 (cl--generic-standard-method-combination): New function, extracted from
1975 cl--generic-build-combined-method.
1976 (cl--generic-cnm-sample): Adjust to new format of method-table.
1977
1978 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1979 instead of :primary.
1980
1981 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1982 Remove obsolete function.
1983
1984 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1985
1986 * net/shr.el (shr-make-table-1): Fix colspan typo.
1987 (shr-make-table-1): Add comments.
1988 (shr-make-table-1): Make colspan display more sensibly.
1989
1990 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1991 slightly.
1992
1993 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1996 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1997 (bug#19672).
1998 (cl--generic-typeof-types): Add support for `sequence'.
1999 (cl-defmethod): Add non-keywords in the qualifiers.
2000
2001 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2002
2003 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2004 `defgroup' (regression from the previous change here).
2005
2006 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2007
2008 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2009 credentials error message.
2010
2011 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2012
2013 * net/ldap.el (ldap-password-read): Validate password before
2014 caching it.
2015 (ldap-search-internal): Handle ldapsearch error conditions.
2016
2017 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2018
2019 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2020
2021 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2022
2023 * net/eudc.el (eudc-expand-inline): Always restore former server
2024 and protocol.
2025
2026 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2027
2028 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2029 provided by the LDAP system configuration file.
2030
2031 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2032
2033 * net/eudc.el (eudc-format-query): Preserve the
2034 eudc-inline-query-format ordering of attributes in the returned list.
2035 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2036 Append the LDAP wildcard character to the last attribute value.
2037
2038 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2039
2040 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2041 Downcase field names of LDAP results.
2042 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2043
2044 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2045
2046 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2047 (ldap-search-internal): Send password to ldapsearch through a pipe
2048 instead of via the command line.
2049
2050 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2051
2052 * net/ldap.el: Require password-cache.
2053 (ldap-password-read): New function.
2054 (ldap-search-internal): Call ldap-password-read when it is
2055 configured to be called.
2056
2057 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2058
2059 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2060 Change default to nil.
2061
2062 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2063
2064 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2065 string-to-expand.
2066
2067 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2068
2069 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2070 format that includes first name and surname.
2071
2072 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2073
2074 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2075 query email and first name instead of surname.
2076
2077 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2078
2079 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2080
2081 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2082
2083 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2084 eudc-server-hotlist.
2085 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2086 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2087 (eudc-set-server): Allow setting protocol to nil.
2088 (eudc-expand-inline): Support hotlist-only expansions when server
2089 is not set.
2090
2091 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2094 (cl--generic-build-combined-method): Use it.
2095
2096 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2097
2098 Don't downcase system diagnostics' first letters
2099 * emacs-lisp/bytecomp.el (byte-compile-file):
2100 * ffap.el (find-file-at-point):
2101 * files.el (insert-file-1):
2102 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2103 (ange-ftp-copy-file-internal):
2104 * progmodes/etags.el (visit-tags-table):
2105 Keep diagnostics consistent with system's.
2106 * ffap.el (ffap-machine-p):
2107 Ignore case while comparing diagnostics.
2108
2109 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2112 arg (bug#19645).
2113 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2114 body with a docstring.
2115
2116 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2117
2118 * progmodes/xref.el (xref-location-marker, xref-location-group):
2119 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2120 counterparts.
2121
2122 * progmodes/etags.el (xref-location-marker): Same.
2123
2124 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2125 (xref--inhibit-mark-current): Rename from
2126 `xref--inhibit-mark-selected'. Update the usages.
2127 (xref-quit): Reword the docstring. Kill buffers after quitting
2128 windows instead of before.
2129 (xref--insert-xrefs): Tweak help-echo.
2130 (xref--read-identifier-history, xref--read-pattern-history):
2131 New variables.
2132 (xref--read-identifier, xref-find-apropos): Use them.
2133
2134 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2135
2136 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2137 Allow the 'update-game-score' helper program to run suid or sgid.
2138
2139 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * emacs-lisp/eieio.el: Use cl-defmethod.
2142 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2143 (eieio-object-name-string): Declare as obsolete.
2144
2145 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2146 (eieio--specializers-apply-to-class-p): New function.
2147 (eieio-all-generic-functions): Use it.
2148 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2149 Change format of return value.
2150 (eieio-help-class): Adapt accordingly.
2151
2152 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2153 errors when there's a `before' but no `primary' (bug#19645).
2154 (next-method-p): Return nil rather than signal an error.
2155 (eieio-defgeneric): Remove bogus (fboundp 'method).
2156
2157 * emacs-lisp/eieio-speedbar.el:
2158 * emacs-lisp/eieio-datadebug.el:
2159 * emacs-lisp/eieio-custom.el:
2160 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2161
2162 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2163 (cl--generic-setf-rewrite): Setup the setf expander right away.
2164 (cl-defmethod): Make sure the setf expander is setup before we expand
2165 the body.
2166 (cl-defmethod): Silence byte-compiler warnings.
2167 (cl-generic-define-method): Shuffle code to change return value.
2168 (cl--generic-method-info): New function, extracted from
2169 cl--generic-describe.
2170 (cl--generic-describe): Use it.
2171
2172 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2173
2174 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2175 the major mode. Remap `quit-window' to `xref-quit'.
2176 (xref--xref-buffer-mode): Inherit from special-mode.
2177
2178 xref: Keep track of temporary buffers (bug#19466).
2179 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2180 (xref--inhibit-mark-selected): New variables.
2181 (xref--mark-selected): New function.
2182 (xref--show-location): Maybe add the buffer to
2183 `xref--temporary-buffers', add `xref--mark-selected' to
2184 `buffer-list-update-hook' there.
2185 (xref--window): Add docstring.
2186 (xref-quit): Rename from `xref--quit'. Update both references.
2187 Add KILL argument. When it's non-nil, kill the temporary buffers
2188 that haven't been selected by the user.
2189 (xref--show-xref-buffer): Change the second argument to alist,
2190 extract the values for `xref--window' and
2191 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2192 `buffer-list-update-hook' to each buffer in the list.
2193 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2194 here. Save the difference between buffer lists before and after
2195 it's called as "temporary buffers", and `pass it to
2196 `xref-show-xrefs-function'.
2197 (xref--find-definitions, xref-find-references)
2198 (xref-find-apropos): Update accordingly.
2199
2200 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2201
2202 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2203
2204 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * emacs-lisp/eieio-generic.el: Remove.
2207 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2208 * emacs-lisp/eieio-compat.el: New file.
2209 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2210 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2211 Remove unused function.
2212 (eieio-defclass): Move to eieio-compat.el.
2213 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2214 (macroexp--expand-all): Use it.
2215 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2216
2217 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2218
2219 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2220 major modes should use `add-function' to alter value of the variable.
2221 * hexl.el (hexl-mode):
2222 * ielm.el (inferior-emacs-lisp-mode):
2223 * progmodes/cfengine.el (cfengine3-mode):
2224 * progmodes/elisp-mode (emacs-lisp-mode):
2225 * progmodes/octave.el (octave-mode):
2226 * progmodes/python.el (python-mode):
2227 * simple.el (read--expression): Set `eldoc-documentation-function'
2228 using `add-function' so the default value is always used.
2229
2230 * descr-text.el (describe-char-eldoc): New function returning
2231 basic Unicode codepoint information (e.g. name) about character
2232 at point. It is meant to be used as a default value of the
2233 `eldoc-documentation-function' variable.
2234 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2235 New helper functions for `describe-char-eldoc' function.
2236
2237 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2238
2239 * textmodes/paragraphs.el (sentence-end-base): Include an
2240 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2241 and a closing single quote (’) as an end of a quote.
2242
2243 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2244
2245 * textmodes/tildify.el (tildify-double-space-undos): A new
2246 variable specifying whether pressing space in `tildify-mode' after
2247 a space has been replaced with hard space undos the substitution.
2248 (tildify-space): Add code branch for handling `tildify-doule-space'.
2249
2250 * textmodes/tildify.el (tildify-space): A new function
2251 which can be used as a `post-self-insert-hook' to automatically
2252 convert spaces into hard spaces.
2253 (tildify-space-pattern): A new variable specifying pattern where
2254 `tildify-space' should take effect.
2255 (tildify-space-predicates): A new variable specifying list of
2256 predicate functions that all must return non-nil for
2257 `tildify-space' to take effect.
2258 (tildify-space-region-predicate): A new functions meant to be
2259 used as a predicate in `tildify-space-predicates' list.
2260 (tildify-mode): A new minor mode enabling `tildify-space' as a
2261 `post-self-insert-hook'
2262
2263 2015-01-20 Daniel Colascione <dancol@dancol.org>
2264
2265 * vc/vc-dir.el (vc-dir): Default to repository root, not
2266 default-directory.
2267
2268 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2269
2270 * progmodes/etags.el (xref-etags-location): New class.
2271 (xref-make-etags-location): New function.
2272 (etags--xref-find-definitions): Use it.
2273 (xref-location-marker): New method implementation.
2274
2275 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2276 (xref--insert-xrefs): Expand help-echo string.
2277
2278 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2279
2280 * ido.el: Update Customization instructions.
2281
2282 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2283
2284 Define Ido keymaps once (bug#17000).
2285 * ido.el (ido-common-completion-map)
2286 (ido-file-dir-completion-map)
2287 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2288 bindings when each variable is defined.
2289 (ido-completion-map): Move definition.
2290 (ido-init-completion-maps): Noop.
2291 (ido-common-initialization): Don't call it.
2292 (ido-setup-completion-map): Improve doc-string, cleanup.
2293
2294 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2295
2296 * cus-dep.el (custom-make-dependencies): Ensure that
2297 default-directory is interpreted as a directory (see bug#19140.)
2298
2299 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2300
2301 * progmodes/xref.el (xref--display-position):
2302 Set `other-window-scroll-buffer'.
2303 (xref-goto-xref): Use `user-error'.
2304
2305 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2306
2307 * progmodes/xref.el (xref--display-history): New variable.
2308 (xref--window-configuration): Remove.
2309 (xref--save-to-history): New function.
2310 (xref--display-position): Use it. Add new argument.
2311 (xref--restore-window-configuration): Remove.
2312 (xref--show-location, xref-show-location-at-point):
2313 Update accordingly.
2314 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2315 (xref--quit): New command.
2316 (xref-goto-xref): Use it.
2317 (xref--xref-buffer-mode-map): Bind `q' to it.
2318
2319 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2322 indentation or at eol.
2323
2324 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2327 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2328 New functions.
2329 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2330
2331 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2332 `newname' argument.
2333
2334 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2335 introduction of a new dispatch argument.
2336 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2337 considered as dispatchable for this method.
2338 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2339 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2340
2341 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2342
2343 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2344
2345 * emacs-lisp/package.el (package--append-to-alist): Rename from
2346 `package--add-to-alist'
2347 Updated docstring due to new name.
2348
2349 2015-01-18 Leo Liu <sdl.web@gmail.com>
2350
2351 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2352 multiple evaluation. (Bug#19519)
2353
2354 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2355 error. (Bug#19434)
2356
2357 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2360 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2361 New functions.
2362 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2363
2364 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2365 or print is nil.
2366 (cl-struct-type-p): New function.
2367
2368 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2369 (cl-defmethod): Add edebug spec.
2370 (cl--generic-build-combined-method): Fix call to
2371 cl-no-applicable-method.
2372 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2373 (cl--generic-isnot-nnm-p): New function.
2374 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2375 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2376 (cl-next-method-p): New function.
2377
2378 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2379
2380 * version.el (emacs-repository-get-version): Update docstring.
2381
2382 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2383
2384 * files.el (find-file-other-window, find-file-other-frame):
2385 Use mapc instead of mapcar. (Bug#18175)
2386
2387 * files.el (dir-locals-collect-variables): Use default-directory
2388 in place of the file name while working on non-file buffers, just
2389 like hack-dir-local-variables already does. (Bug#19140)
2390
2391 * textmodes/enriched.el (enriched-encode):
2392 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2393 (Bug#18246)
2394
2395 * desktop.el (desktop-read): Do not call desktop-clear when no
2396 desktop file is found. (Bug#18371)
2397
2398 * misearch.el (multi-isearch-unload-function): New function.
2399 (misearch-unload-function): New alias. (Bug#19566)
2400
2401 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2404 class-constructor, and make it an alias for `identity'.
2405 Update all callers.
2406
2407 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2408 argument here (bug#19620)...
2409 (defclass): ...instead of in the constructor here.
2410
2411 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2412
2413 * emacs-lisp/package.el (package-archive-priorities):
2414 Specify correct type.
2415
2416 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2417
2418 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2419 Remove.
2420 (emacs-repository-get-version): Discard the Bazaar case.
2421 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2422 emacs-bzr-version-dirstate and move from version.el to here.
2423 (vc-bzr-working-revision): Use it.
2424
2425 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2426
2427 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2428 eieio--scoped-class any more.
2429
2430 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2431 (eieio--scoped-class): Remove function.
2432 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2433 (eieio--slot-name-index): Don't check the :protection anymore.
2434 (eieio-initializing-object): Remove var.
2435 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2436
2437 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 Improve handling of doc-strings and describe-function for cl-generic.
2440
2441 * help-mode.el (help-function-def): Add optional arg `type'.
2442
2443 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2444 as it's a symbol.
2445 (help-fns-short-filename): New function.
2446 (describe-function-1): Use it. Use autoload-do-load.
2447
2448 * emacs-lisp/find-func.el: Use lexical-binding.
2449 (find-function-regexp): Don't rule out `defgeneric'.
2450 (find-function-regexp-alist): Document new possibility of including
2451 a function instead of a regexp.
2452 (find-function-search-for-symbol): Implement that new possibility.
2453 (find-function-library): Don't assume that `function' is a symbol.
2454 (find-function-do-it): Remove unused var `orig-buf'.
2455
2456 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2457 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2458 (eieio--method-optimize-primary): Don't mess with the docstring.
2459 (defgeneric): Keep the `args' in the docstring.
2460 (defmethod): Don't use the method's docstring for the generic
2461 function's docstring.
2462
2463 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2464 (eieio-defclass-autoload): Don't record the superclasses any more.
2465 (eieio-defclass-internal): Reuse the old class object if it was just an
2466 autoload stub.
2467 (eieio--class-precedence-list): Load the class if it's autoloaded.
2468
2469 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2470 override an autoload.
2471 (cl-generic-current-method-specializers): Replace dyn-bind variable
2472 with a lexically-scoped macro.
2473 (cl--generic-lambda): Update accordingly.
2474 (cl-generic-define-method): Record manually in the load-history with
2475 type `cl-defmethod'.
2476 (cl--generic-get-dispatcher): Minor optimization.
2477 (cl--generic-search-method): New function.
2478 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2479 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2480 specializers and the function's arguments.
2481
2482 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2483
2484 * emacs-lisp/package.el (package--read-pkg-desc):
2485 New function. Read a `define-package' form in current buffer.
2486 Return the pkg-desc, with desc-kind set to KIND.
2487 (package-dir-info): New function. Find package information for a
2488 directory. The return result is a `package-desc'.
2489 (package-install-from-buffer): Install packages from dired buffer.
2490 (package-install-file): Install packages from directory.
2491 (package-desc-suffix)
2492 (package-install-from-archive)
2493 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2494 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2495 value.
2496
2497 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2498
2499 * emacs-lisp/package.el: Provide repository priorities.
2500 (package-archive-priorities): New variable.
2501 (package--add-to-alist): New function.
2502 (package--add-to-archive-contents): Use it.
2503 (package-menu--find-upgrades): Use it as well. Small clean up to
2504 make the use of the package name here explicit.
2505 (package-archive-priority): New function.
2506 (package-desc-priority-version): New function.
2507
2508 2015-01-16 Daniel Colascione <dancol@dancol.org>
2509
2510 * cus-start.el (all): Make `ring-bell-function' customizable.
2511
2512 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2513
2514 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2515 vc-svn-after-dir-status's second argument. (Bug#19429)
2516
2517 2015-01-16 Samer Masterson <samer@samertm.com>
2518
2519 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2520 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2521
2522 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2523
2524 * dom.el (dom-strings): New function.
2525
2526 * files.el (directory-files-recursively): Don't use the word
2527 "path" for a file name.
2528
2529 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2530
2531 * calc/calc-units.el (math-units-in-expr-p)
2532 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2533 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2534
2535 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2538 (cl--labels-convert): Use it to ask the macro what is its replacement
2539 in the #'f case.
2540
2541 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2542 Return the value of the primary rather than the after method.
2543
2544 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2545 (eieio--generic-tagcode): New function.
2546 (cl-generic-tagcode-function): Use it.
2547 (eieio--generic-tag-types): New function.
2548 (cl-generic-tag-types-function): Use it.
2549 (eieio-object-p): Tighten up the test.
2550
2551 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2552
2553 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * emacs-lisp/cl-generic.el: New file.
2556
2557 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2558 (cl-load-time-value, cl-labels): Use closures rather than
2559 backquoted lambdas.
2560 (cl-macrolet): Use `eval' to create the function value, and support CL
2561 style arguments in for the defined macros.
2562
2563 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * net/eww.el: Use lexical-binding.
2566 (eww-links-at-point): Remove unused arg.
2567 (eww-mode-map): Inherit from special-mode-map.
2568 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2569
2570 2015-01-13 Alan Mackenzie <acm@muc.de>
2571
2572 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2573 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2574 New function which walks the stack to discover whether we're compiling
2575 or loading.
2576 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2577 (cc-bytecomp-is-loading): New defsubst.
2578 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2579 Use the above defsubsts.
2580 (cc-require-when-compile, cc-bytecomp-defvar)
2581 (cc-bytecomp-defun): Simplify conditionals.
2582 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2583 "Borrow" this function from cc-bytecomp.el.
2584 (c-get-current-file): Reformulate using the above.
2585 (c-lang-defconst): Prevent duplicate entries of file names in a
2586 symbol's 'source property.
2587 (c-lang-const): Use cc-bytecomp-is-compiling.
2588 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2589 Use cc-bytecomp-is-compiling.
2590
2591 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2594 (bug#19552).
2595
2596 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2597
2598 * menu-bar.el (menu-bar-goto-menu): Before calling
2599 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2600 (Bug#19554)
2601
2602 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2603
2604 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2605 cookie (Bug#19554).
2606
2607 * frame.el (frame-notice-user-settings): Remove code dealing with
2608 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2609 only if `window-system-frame-alist' or `default-frame-alist' ask
2610 for it.
2611 (make-frame): Update frame-adjust-size-history if needed.
2612
2613 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2614
2615 Have 'make' output better GEN names
2616 * Makefile.in (PHONY_EXTRAS): New macro.
2617 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2618 relevant files' time stamps are ignored.
2619 (custom-deps, $(lisp)/cus-load.el, finder-data)
2620 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2621 (custom-deps, $(lisp)/cus-load.el, finder-data)
2622 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2623 ($(lisp)/subdirs.el, update-subdirs):
2624 Output more-accurate destination names with GEN.
2625
2626 Say "ELC foo.elc" instead of "GEN foo.elc"
2627 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2628 New macros.
2629 ($(THEFILE)c, .el.elc): Use them.
2630
2631 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2632
2633 * files.el (directory-files-recursively): Do not include
2634 superfluous remote file names.
2635
2636 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2637
2638 * net/eww.el (eww): Interpret anything that looks like a protocol
2639 designator as a full URL.
2640
2641 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2642
2643 * net/shr.el (shr-urlify): Don't bother the user about
2644 invalidly-encoded display strings.
2645
2646 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2647
2648 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2649 (bug#19555).
2650
2651 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2652
2653 * net/eww.el (eww): Always interpret URLs that start with https?:
2654 as plain URLs, even if they have spaces in them (bug#19556).
2655 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2656 software" as an URL.
2657 (eww): Don't interpret "org/foo" as an URL.
2658 (eww): Clear the title when loading so that we don't display
2659 misleading information.
2660
2661 2015-01-10 Daniel Colascione <dancol@dancol.org>
2662
2663 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2664 by analogy with dired.
2665
2666 2015-01-09 Daniel Colascione <dancol@dancol.org>
2667
2668 * progmodes/js.el (js--function-heading-1-re)
2669 (js--function-prologue-beginning): Parse ES6 generator function
2670 declarations. (That is, "function* name()").
2671
2672 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2675 that creates functions, and most of the sanity checks.
2676 Mark as obsolete the <class>-child-p function.
2677 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2678 (eieio--class, eieio--object): Use cl-defstruct.
2679 (eieio--object-num-slots): Define manually.
2680 (eieio-defclass-autoload): Use eieio--class-make.
2681 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2682 `(lambda...) definitions and most of the sanity checks to `defclass'.
2683 Mark as obsolete the <class>-list-p function, the <class> variable and
2684 the <initarg> variables. Use pcase-dolist.
2685 (eieio-defclass): New compatibility function.
2686 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2687 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2688
2689 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * emacs-lisp/eieio-generic.el: New file.
2692 * emacs-lisp/eieio-core.el: Move all generic function code to
2693 eieio-generic.el.
2694 (eieio--defmethod): Declare.
2695
2696 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2697 function code to eieio-generic.el.
2698 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2699 eieio-generic.el.
2700 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2701 to eieio--generic-call.
2702 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2703 <class>-child type.
2704
2705 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2708 Don't use <class> as a variable.
2709
2710 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2711 (call-next-method): Simplify.
2712 (clone): Obey eieio-backward-compatibility.
2713
2714 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2715 (eieio-read-generic): Use `generic-p' instead.
2716
2717 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2718 (eieio-defclass-autoload): Obey it.
2719 (eieio--class-object): Improve error behavior.
2720 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2721 every use site.
2722 (eieio--defgeneric-form-primary-only): Rename from
2723 eieio-defgeneric-form-primary-only; update all callers.
2724 (eieio--defgeneric-form-primary-only-one): Rename from
2725 eieio-defgeneric-form-primary-only-one; update all callers.
2726 (eieio-defgeneric-reset-generic-form)
2727 (eieio-defgeneric-reset-generic-form-primary-only)
2728 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2729 (eieio--method-optimize-primary): New function to replace them.
2730 (eieio--defmethod, eieio-defmethod): Use it.
2731 (eieio--perform-slot-validation): Rename from
2732 eieio-perform-slot-validation; update all callers.
2733 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2734 Change `class' to be a class object. Update all callers.
2735 (eieio--validate-class-slot-value): Rename from
2736 eieio-validate-class-slot-value. Change `class' to be a class object.
2737 Update all callers.
2738 (eieio-oset-default): Accept class object as well.
2739 (eieio--generic-call-primary-only): Rename from
2740 eieio-generic-call-primary-only. Update all callers.
2741
2742 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2743 Improve error messages.
2744 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2745 well as user-defined types. Emit errors for legacy types like
2746 <class>-child and <class>-list, if not eieio-backward-compatibility.
2747
2748 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2751 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2752 Change `class' arg to be a class object. Update all callers.
2753 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2754 (eieio-default-superclass): Set var to the class object.
2755 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2756 Change print behavior to affect class objects rather than
2757 class symbols.
2758
2759 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2760 (eieio-class-parents-fast): Remove macro.
2761 (eieio--class-option-assoc): Rename from class-option-assoc.
2762 Update all callers.
2763 (eieio--class-option): Rename from class-option. Change `class' arg to
2764 be a class object. Update all callers.
2765 (eieio--class-method-invocation-order): Rename from
2766 class-method-invocation-order. Change `class' arg to be a class
2767 object. Update all callers.
2768 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2769 a list of class objects rather than names.
2770 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2771 for accessors to class allocated slots.
2772 (eieio--perform-slot-validation-for-default): Rename from
2773 eieio-perform-slot-validation-for-default. Update all callers.
2774 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2775 Update all callers. Use push.
2776 (eieio-copy-parents-into-subclass): Adjust to new content of
2777 `parent' field. Use dolist.
2778 (eieio-oref): Remove support for providing a class rather than
2779 an object.
2780 (eieio-oref-default): Prefer class objects over class names.
2781 (eieio--slot-originating-class-p): Rename from
2782 eieio-slot-originating-class-p. Update all callers. Use `or'.
2783 (eieio--slot-name-index): Turn check into assertion.
2784 (eieio--class-slot-name-index): Rename from
2785 eieio-class-slot-name-index. Change `class' arg to be a class object.
2786 Update all callers.
2787 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2788 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2789 Update all callers.
2790 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2791 Update all callers.
2792 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2793 Update all callers.
2794 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2795 Update all callers.
2796 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2797 Update all callers. Adjust to new `parent' content.
2798 (eieio--class-precedence-list): Rename from -class-precedence-list.
2799 Update all callers.
2800 (eieio-generic-call): Use autoloadp and autoload-do-load.
2801 Slight simplification.
2802 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2803 return value of `eieio-generic-form'.
2804 (eieiomt-add): Index the hashtable with class objects rather than
2805 class names.
2806 (eieio-generic-form): Accept class objects as well.
2807
2808 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2809 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2810 (eieio-persistent-validate/fix-slot-value):
2811 Change `class' arg to be a class object. Update all callers.
2812
2813 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2814
2815 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2816 additionally to class names.
2817
2818 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2819 (object): Remove first (constant) slot; rename second to `class-tag'.
2820 (eieio--object-class-object, eieio--object-class-name): New funs
2821 to replace eieio--object-class.
2822 (eieio--class-object, eieio--class-p): New functions.
2823 (same-class-fast-p): Make it a defsubst, change its implementation
2824 to check the class objects rather than their names.
2825 (eieio-object-p): Rewrite.
2826 (eieio-defclass): Adjust the object initialization according to the new
2827 object layout.
2828 (eieio--scoped-class): Declare it returns a class object (not a class
2829 name any more). Adjust calls accordingly (along with calls to
2830 eieio--with-scoped-class).
2831 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2832 its class arg to be a class object. Adjust callers accordingly.
2833 (eieio-slot-originating-class-p): Make its start-class arg a class
2834 object. Adjust all callers.
2835 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2836 Make its `class' arg a class object. Adjust all callers.
2837
2838 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2839 Use eieio--slot-name-index rather than eieio-slot-name-index.
2840
2841 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2844 name argument.
2845 (eieio-object-name): Use eieio-object-name-string.
2846 (eieio--object-names): New const.
2847 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2848 using a hashtable rather than a built-in slot.
2849 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2850 (clone): Don't mess with the object's "name".
2851
2852 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2853 (eieio-object-value-get): Use eieio-object-set-name-string.
2854
2855 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2856 (eieio--object): Remove `name' field.
2857 (eieio-defclass): Adjust to new convention where constructors don't
2858 take an "object name" any more.
2859 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2860 (eieio-validate-slot-value, eieio-oset-default)
2861 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2862 (eieio-generic-call-primary-only): Simplify.
2863
2864 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2865 Use call-next-method.
2866 (eieio-constructor): Rename from `constructor'.
2867 (eieio-persistent-convert-list-to-object): Drop objname.
2868 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2869 eieio--object-num-slots.
2870 (eieio-named): Use a normal slot.
2871 (slot-missing) <eieio-named>: Remove.
2872 (eieio-object-name-string, eieio-object-set-name-string, clone)
2873 <eieio-named>: New methods.
2874
2875 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2878 (method-*): Add a "eieio--" prefix to those constants.
2879
2880 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2881
2882 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2883
2884 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2887 `eieio-default-superclass'.
2888
2889 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2890
2891 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2892 (eieio-object-value-to-abstract): Simplify.
2893
2894 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2895 (eieio-build-class-alist): Use dolist.
2896 (eieio-all-generic-functions): Adjust to use of hashtables.
2897
2898 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2899 symbol-hashtable. It contains a hashtable instead of an obarray.
2900 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2901 `eieio-method-obarray'.
2902 (generic-primary-only-p, generic-primary-only-one-p):
2903 Slight optimization.
2904 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2905 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2906 (eieio-class-un-autoload): Use autoload-do-load.
2907 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2908 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2909 Don't hardcode the value of eieio--object-num-slots.
2910 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2911 Use a closure rather than a backquoted lambda.
2912 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2913 function-documentation property.
2914 (eieio-slot-originating-class-p, eieio-slot-name-index)
2915 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2916 (eieio-generic-form): Adjust to use of hashtables.
2917 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2918 additional class argument.
2919 (eieio-generic-call-methodname): Remove, unused.
2920
2921 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2922 Prefer \' to $.
2923
2924 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2925
2926 * simple.el (line-move-visual): When converting X pixel coordinate
2927 to temporary-goal-column, adjust the value for right-to-left
2928 screen lines. This fixes vertical-motion, next/prev-line, etc.
2929
2930 2015-01-08 Glenn Morris <rgm@gnu.org>
2931
2932 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2933
2934 2015-01-07 K. Handa <handa@gnu.org>
2935
2936 * international/ccl.el (define-ccl-program): Improve the docstring.
2937
2938 2015-01-06 Sam Steingold <sds@gnu.org>
2939
2940 * shell.el (shell-display-buffer-actions): Remove,
2941 use `display-buffer-alist' instead.
2942
2943 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2944
2945 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2946 to the references.
2947
2948 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * minibuffer.el (completion-category-defaults): New var.
2951 Set unicode-name to use substring completion.
2952 (completion-category-defaults): Set it to nil.
2953
2954 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2955
2956 Add mouse interaction to xref.
2957 * progmodes/xref.el (xref--button-map): New variable.
2958 (xref--mouse-2): New command.
2959 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2960 the inserted references.
2961
2962 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2963
2964 Less 'make' chatter for lisp dir
2965 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2966 to make it clearer that the caller must specify it.
2967 (compile-onefile): Remove, replacing by ...
2968 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2969 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2970 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2971 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2972 Use AM_V_GEN to lessen 'make' chatter.
2973 (.el.elc): Omit duplicate comment.
2974
2975 Less 'make' chatter in batch mode
2976 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2977 * emacs-lisp/bytecomp.el (byte-compile-file):
2978 * files.el (save-buffer, basic-save-buffer):
2979 * international/quail.el (quail-update-leim-list-file):
2980 Don't output messages like "Generating ..." in batch mode.
2981
2982 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2983
2984 Unbreak `mouse-action' property in text buttons.
2985 * button.el (push-button): Fix regression from 2012-12-06.
2986
2987 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2988
2989 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2990
2991 * menu-bar.el (menu-bar-goto-menu): Use it.
2992
2993 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2994
2995 * progmodes/xref.el (xref--window-configuration): New variable.
2996 (xref-show-location-at-point): New command.
2997 (xref--restore-window-configuration): New function.
2998 (xref-next-line, xref-prev-line): Delegate to
2999 `xref-show-location-at-point'.
3000 (xref--location-at-point): Don't signal the error.
3001 (xref-goto-xref): Do that here instead.
3002 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3003 to `pre-command-hook'.
3004 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3005 `previous-line'. Additionally bind `xref-next-line' and
3006 `xref-prev-line' to `n' and `p' respectively.
3007 Bind `xref-show-location-at-point' to `C-o'.
3008
3009 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3010
3011 * tool-bar.el (tool-bar-local-item)
3012 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3013 make sure the tool-bar changes show on display.
3014
3015 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3016
3017 Sync with Tramp 2.2.11.
3018
3019 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3020 Make an alias for `default-toplevel-value' if it doesn't exist.
3021
3022 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3023 Use `tramp-compat-delete-directory'.
3024
3025 * net/trampver.el: Update release number.
3026
3027 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3028
3029 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3030 for remote files. (Bug#19449)
3031
3032 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3033
3034 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3035
3036 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3037
3038 Less 'make' chatter in lisp directory
3039 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3040 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3041 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3042
3043 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3044
3045 * info.el (info-display-manual): Limit the completion alternatives
3046 to currently visited manuals if prefix argument is non-nil.
3047
3048 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3049
3050 * Makefile.in (semantic): Simplify.
3051
3052 2014-12-30 Juri Linkov <juri@linkov.net>
3053
3054 * net/eww.el (eww-isearch-next-buffer): New function.
3055 (eww-mode): Set multi-isearch-next-buffer-function to it.
3056
3057 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3058
3059 * progmodes/xref.el (xref-find-definitions): Mention "no
3060 identifier at point" case in the docstring.
3061
3062 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3063 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3064 and `separator-tag-file' items.
3065
3066 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3067
3068 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3069 This is instead of system-name, which is both wrong here and obsolete.
3070 * desktop.el (desktop-save-frameset):
3071 * dnd.el (dnd-get-local-file-uri):
3072 * nxml/rng-uri.el (rng-uri-file-name-1):
3073 Prefer (system-name) to system-name, and avoid naming
3074 locals 'system-name'.
3075 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3076
3077 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3078
3079 * menu-bar.el (menu-bar-next-tag-other-window)
3080 (menu-bar-next-tag): Remove.
3081
3082 2014-12-29 K. Handa <handa@gnu.org>
3083
3084 * international/mule.el (make-translation-table-from-alist):
3085 Accept nil or zero-length vector for FROM and TO.
3086
3087 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3088
3089 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3090 display when resizing.
3091
3092 * net/shr.el (shr-width): Default to using the window width when
3093 rendering.
3094
3095 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3096
3097 Unbreak jumping to an alias's definition.
3098 * emacs-lisp/find-func.el (find-function-library): Return a pair
3099 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3100 (find-function-noselect): Use it.
3101 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3102 `elisp--xref-identifier-location', incorporate logic from
3103 `elisp--xref-find-definitions', use the changed
3104 `find-function-library' return value.
3105
3106 2014-12-29 Juri Linkov <juri@linkov.net>
3107
3108 * comint.el (comint-history-isearch-message): Use field-beginning
3109 instead of comint-line-beginning-position - that's more fixes for
3110 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3111 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3112
3113 2014-12-29 Juri Linkov <juri@linkov.net>
3114
3115 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3116 (vc-dir-mode-map): Bind it to "\C-o".
3117 (vc-dir-menu-map): Add it to menu.
3118
3119 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3120
3121 * progmodes/etags.el (find-tag-other-window)
3122 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3123 (tags-apropos): Declare obsolete.
3124
3125 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3126 with xref ones.
3127
3128 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3129
3130 * international/mule.el (define-coding-system): Fix typos in the
3131 doc string.
3132
3133 2014-12-28 Kenichi Handa <handa@gnu.org>
3134
3135 * international/mule.el (define-coding-system): Improve the doc
3136 string.
3137
3138 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3139
3140 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3141 elements in tables (bug#19444).
3142
3143 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3144 (bug#19445).
3145
3146 2014-12-28 Juri Linkov <juri@linkov.net>
3147
3148 * vc/compare-w.el: Require diff-mode for diff faces.
3149 (compare-windows-removed, compare-windows-added): New faces
3150 inheriting from diff faces.
3151 (compare-windows): Define obsolete face alias.
3152 (compare-windows-highlight): Replace face `compare-windows' with
3153 new faces `compare-windows-added' and `compare-windows-removed'
3154 (bug#19451).
3155 (compare-windows-get-recent-window): Signal an error when
3156 no other window is found (bug#19170).
3157
3158 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3159
3160 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3161 Skip features that have no sources.
3162
3163 * simple.el (execute-extended-command):
3164 When `suggest-key-bindings' is nil, don't.
3165
3166 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3167
3168 python.el: Native readline completion.
3169 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3170 (python-shell-completion-native-enable)
3171 (python-shell-completion-native-output-timeout): New defcustoms.
3172 (python-shell-completion-native-interpreter-disabled-p)
3173 (python-shell-completion-native-try)
3174 (python-shell-completion-native-setup)
3175 (python-shell-completion-native-turn-off)
3176 (python-shell-completion-native-turn-on)
3177 (python-shell-completion-native-turn-on-maybe)
3178 (python-shell-completion-native-turn-on-maybe-with-msg)
3179 (python-shell-completion-native-toggle): New functions.
3180 (python-shell-completion-native-get-completions): New function.
3181 (python-shell-completion-at-point): Use it.
3182
3183 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3184
3185 python.el: Enhance shell user interaction and deprecate
3186 python-shell-get-or-create-process.
3187 * progmodes/python.el (python-shell-get-process-or-error):
3188 New function.
3189 (python-shell-with-shell-buffer): Use it.
3190 (python-shell-send-string, python-shell-send-region)
3191 (python-shell-send-buffer, python-shell-send-defun)
3192 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3193 Add argument MSG to display user-friendly message when no process
3194 is running.
3195 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3196 (python-shell-make-comint): Rename argument SHOW from POP.
3197 Use display-buffer instead of pop-to-buffer.
3198 (run-python): Doc fix. Return process.
3199 (python-shell-get-or-create-process): Make obsolete.
3200
3201 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3202
3203 * progmodes/python.el (python-shell-buffer-substring):
3204 Handle cornercase when region sent starts at point-min.
3205
3206 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3207
3208 * language/misc-lang.el (composition-function-table): Add Syriac
3209 characters and also ZWJ/ZWNJ.
3210 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3211 for the details.
3212
3213 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3214
3215 python.el: Fix message when sending region.
3216 * progmodes/python.el (python-shell-send-region): Rename argument
3217 send-main from nomain. Fix message.
3218 (python-shell-send-buffer): Rename argument send-main from arg.
3219
3220 python.el: Cleanup temp files even with eval errors.
3221 * progmodes/python.el (python-shell-send-file): Make file-name
3222 mandatory. Fix temp file removal in the majority of cases.
3223
3224 python.el: Handle file encoding for shell.
3225 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3226 (python-shell--save-temp-file): Write file with proper encoding.
3227 (python-shell-buffer-substring): Add coding cookie for detected
3228 encoding to generated content. Fix blank lines when removing
3229 if-name-main block.
3230 (python-shell-send-file): Handle file encoding.
3231 (python-info-encoding-from-cookie)
3232 (python-info-encoding): New functions.
3233
3234 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3235
3236 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3237 Use `tramp-rsh-end-of-line', it ought to be more robust.
3238
3239 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3242 (bug#19397).
3243
3244 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3247
3248 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3249 as end-of-line delimeter for passwords, when running on MS Windows.
3250
3251 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3254 of indent-line-function (bug#19433).
3255
3256 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3257
3258 Fix line numbers on Python shell.
3259 * progmodes/python.el (python-shell--save-temp-file): Do not
3260 append coding cookie.
3261 (python-shell-send-string): Generalize for
3262 python-shell-send-region.
3263 (python--use-fake-loc): Delete var.
3264 (python-shell-buffer-substring): Cleanup fake-loc logic.
3265 (python-shell-send-region): Remove fake-loc logic, simplify.
3266
3267 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3268
3269 * progmodes/python.el (python-indent-post-self-insert-function):
3270 Make colon to re-indent only for dedenters, handling
3271 multiline-statements gracefully.
3272
3273 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3274
3275 * net/tramp.el (tramp-handle-insert-file-contents):
3276 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3277
3278 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3279
3280 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3281 arg MARKER.
3282 (tramp-get-remote-path): Use it.
3283
3284 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * subr.el (redisplay-dont-pause): Mark as obsolete.
3287
3288 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3289
3290 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3291 (tramp-accept-process-output): Use nil as argument for
3292 `accept-process-output', when there is a gateway prepended.
3293
3294 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3295 wrong debug buffer.
3296 (tramp-gw-open-connection): Set process coding system 'binary.
3297 (tramp-gw-open-network-stream): Handle HTTP error 403.
3298
3299 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3300 wrong debug buffer.
3301 (tramp-maybe-open-connection): Set connection property "gateway".
3302
3303 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * subr.el (sit-for): Tweak docstring (bug#19381).
3306
3307 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3308
3309 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3310 stage to after `diff-index' (bug#19386).
3311
3312 2014-12-27 João Távora <joaotavora@gmail.com>
3313
3314 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3315 `electric-pair-mode' (bug#19356).
3316
3317 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3318
3319 elisp-xref-find: Don't create buffers eagerly.
3320
3321 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3322 into `elisp--company-location'.
3323 (elisp--identifier-completion-table): Rename to
3324 `elisp--identifier-completion-table', and do not include just any
3325 symbols with a property list.
3326 (elisp-completion-at-point): Revert the 2014-12-25 change.
3327 (elisp--xref-identifier-file): New function.
3328 (elisp--xref-find-definitions): Use it.
3329
3330 * emacs-lisp/find-func.el (find-function-library): New function,
3331 extracted from `find-function-noselect'.
3332
3333 * progmodes/xref.el (xref-elisp-location): New class.
3334 (xref-make-elisp-location): New function.
3335 (xref-location-marker): New implementation.
3336
3337 2014-12-27 Juri Linkov <juri@linkov.net>
3338
3339 * minibuffer.el (minibuffer-completion-help):
3340 Use shrink-window-if-larger-than-buffer in window-height
3341 when temp-buffer-resize-mode is nil.
3342
3343 * window.el (with-displayed-buffer-window): Remove window-height
3344 from the action alist in the temp-buffer-window-show call
3345 when window-height is handled explicitly afterwards (bug#19355).
3346
3347 2014-12-27 Juri Linkov <juri@linkov.net>
3348
3349 Support subdirectories when saving places in dired.
3350 * saveplace.el (toggle-save-place, save-place-to-alist)
3351 (save-places-to-alist, save-place-dired-hook):
3352 Use dired-current-directory instead of dired-directory (bug#19436).
3353 (save-place-dired-hook): Add check for alist to make the new
3354 format future-proof to allow other possible formats.
3355
3356 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3357
3358 python.el: Generate clearer shell buffer names.
3359 * progmodes/python.el (python-shell-get-process-name)
3360 (python-shell-internal-get-process-name): Use `buffer-name`.
3361 (python-shell-internal-get-or-create-process): Simplify.
3362
3363 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3364
3365 Add basic xref apropos implementation to elisp-mode.
3366
3367 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3368 Filter out nil results.
3369 (elisp--xref-find-apropos): New function.
3370 (elisp-xref-find): Use it.
3371
3372 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3373
3374 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3375
3376 * dired-aux.el (dired-maybe-insert-subdir):
3377 Make dired-maybe-insert-subdir always skip trivial files.
3378
3379 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3380 Dmitry Gutov <dgutov@yandex.ru>
3381
3382 Consolidate cross-referencing commands.
3383
3384 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3385 `C-x 5 .' from etags.el to xref.el.
3386
3387 * progmodes/xref.el: New file.
3388
3389 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3390 (elisp--identifier-location): New function, extracted from
3391 `elisp--company-location'.
3392 (elisp--company-location): Use it.
3393 (elisp--identifier-completion-table): New variable.
3394 (elisp-completion-at-point): Use it.
3395 (emacs-lisp-mode): Set the local values of `xref-find-function'
3396 and `xref-identifier-completion-table-function'.
3397 (elisp-xref-find, elisp--xref-find-definitions)
3398 (elisp--xref-identifier-completion-table): New functions.
3399
3400 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3401 favor of `xref--marker-ring'.
3402 (tags-lazy-completion-table): Autoload.
3403 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3404 (find-tag-noselect): Use `xref-push-marker-stack'.
3405 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3406 (etags--xref-limit): New constant.
3407 (etags-xref-find, etags--xref-find-definitions): New functions.
3408
3409 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3410
3411 * cus-start.el (resize-mini-windows): Make it customizable.
3412
3413 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3414
3415 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3416 to (info "(emacs)Contributing"). (Bug#19299)
3417
3418 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3419
3420 * window.el (mouse-autoselect-window-position-1): New variable.
3421 (mouse-autoselect-window-cancel)
3422 (mouse-autoselect-window-select, handle-select-window):
3423 With delayed autoselection select window only if mouse moves after
3424 selecting its frame.
3425
3426 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3427
3428 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3429 remote file names. (Bug#18782)
3430
3431 2014-12-23 Sam Steingold <sds@gnu.org>
3432
3433 * shell.el (shell-display-buffer-actions): New user option.
3434 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3435 `pop-to-buffer-same-window'.
3436
3437 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3438
3439 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3440 (js-syntax-propertize-regexp): Use it to recognize "slash in
3441 a character class" (bug#19397).
3442
3443 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3444
3445 * completion.el: Use post-self-insert-hook (bug#19400).
3446 (completion-separator-self-insert-command)
3447 (completion-separator-self-insert-autofilling): Remove.
3448 (completion-separator-chars): New var.
3449 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3450 of changing the keymap.
3451 (completion--post-self-insert): New function.
3452 (dynamic-completion-mode): Use it instead of rebinding keys.
3453 (cmpl--completion-string): Rename from completion-string.
3454 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3455
3456 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3457
3458 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3459 by leveraging `syntax-ppss'.
3460
3461 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3462
3463 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3464
3465 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3468
3469 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3470
3471 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3472
3473 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3474
3475 * let-alist.el (let-alist): Enable access to deeper alists by
3476 using dots inside the dotted symbols.
3477
3478 2014-12-19 Alan Mackenzie <acm@muc.de>
3479
3480 Make C++11 uniform init syntax work.
3481 New keywords "final" and "override".
3482 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3483 New function.
3484 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3485 new function.
3486 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3487 carefully for "are we at a declarator?" using
3488 c-back-over-member-initializers.
3489 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3490 and "override" in the C++ value.
3491
3492 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3493
3494 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3495
3496 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3497
3498 * net/nsm.el (nsm-save-host): Don't save the host name twice
3499 (bug#19269).
3500
3501 2014-12-18 Sam Steingold <sds@gnu.org>
3502
3503 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3504 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3505 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3506 * menu-bar.el (menu-bar-buffer-vector): Extract from
3507 `menu-bar-update-buffers'.
3508 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3509 (buffer-menu-open): New user command, bound globally to C-f10,
3510 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3511 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3512 convert the value returned by `mouse-buffer-menu-map' to a list
3513 acceptable to `popup-menu' for `buffer-menu-open'.
3514
3515 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3516
3517 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3518
3519 2014-12-18 Sam Steingold <sds@gnu.org>
3520
3521 * emacs-lisp/package.el: Avoid compilation warning by declaring
3522 the `find-library-name' function.
3523 (package-activate-1): Fix the `with-demoted-errors' calls:
3524 the first argument must be a string literal.
3525
3526 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3527
3528 Add code for "preserving" window sizes.
3529 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3530 `preserve-size' t.
3531 (dired-mark-pop-up): Preserve size of window showing marked files.
3532 * electric.el (Electric-pop-up-window):
3533 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3534 with `preserve-size' t.
3535 * minibuffer.el (minibuffer-completion-help):
3536 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3537 (Bug#19355). Preserve size of completions window.
3538 * register.el (register-preview): Preserve size of register
3539 preview window.
3540 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3541 with `preserve-size' t (Bug#1291).
3542 * window.el (with-displayed-buffer-window): Add calls to
3543 `window-preserve-size'.
3544 (window-min-pixel-size, window--preservable-size)
3545 (window-preserve-size, window-preserved-size)
3546 (window--preserve-size, window--min-size-ignore-p): New functions.
3547 (window-min-size, window-min-delta, window--resizable)
3548 (window--resize-this-window, split-window-below)
3549 (split-window-right): Amend doc-string.
3550 (window--min-size-1, window-sizable, window--size-fixed-1)
3551 (window-size-fixed-p, window--min-delta-1)
3552 (frame-windows-min-size, window--max-delta-1, window-resize)
3553 (window--resize-child-windows, window--resize-siblings)
3554 (enlarge-window, shrink-window, split-window): Handle preserving
3555 window sizes.
3556 (adjust-window-trailing-edge): Handle preserving window
3557 sizes. Signal user-error instead of an error when there's no
3558 window above or below.
3559 (window--state-put-2): Handle horizontal scroll bars.
3560 (window--display-buffer): Call `preserve-size' if asked for.
3561 (display-buffer): Mention `preserve-size' alist member in doc-string.
3562 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3563 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3564 scroll bar on ispell's windows. Don't count window lines and
3565 don't deal with dedicated windows.
3566 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3567 do the window handling.
3568 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3569 (ispell-display-buffer): New function to reuse, create and fit
3570 window to ispell's buffers. (Bug#3413)
3571
3572 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3573
3574 * emacs-lisp/package.el (package-activate): Do not re-activate or
3575 reload the dependencies (bug#19390).
3576
3577 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3580 (c-update-modeline):
3581 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3582 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3583 (c-mode-base-map): Use c-subword-mode.
3584
3585 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3586
3587 * international/mule-diag.el (describe-font-internal):
3588 Display additional info returned by font-info.
3589
3590 * linum.el (linum--face-width): Rename from linum--face-height,
3591 and use the new functionality of font-info.
3592 (linum-update-window): Use linum--face-width and frame-char-width,
3593 instead of approximating with height.
3594
3595 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3596
3597 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3598 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3599
3600 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3601 and a docstring.
3602 (package-activate): Call itself on dependencies on PACKAGE with
3603 the same FORCE argument. Pass FORCE as RELOAD into
3604 `package-activate-1' (bug#19390).
3605
3606 2014-12-17 Sam Steingold <sds@gnu.org>
3607
3608 * emacs-lisp/package.el (package--list-loaded-files):
3609 Handle `(nil ...)' elements in `load-history'.
3610
3611 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3612
3613 * net/tramp-sh.el (tramp-histfile-override): New variable.
3614 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3615
3616 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3617
3618 * vc/vc.el: Improve `dir-status-files' description.
3619
3620 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3621 file-truename on load-history elements (bug#19390).
3622
3623 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3624
3625 * emacs-lisp/seq.el: New file.
3626
3627 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3630 is 0 and there is no input pending.
3631
3632 2014-12-15 Juri Linkov <juri@linkov.net>
3633
3634 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3635 only on the return value (bug#19383).
3636
3637 2014-12-15 Juri Linkov <juri@linkov.net>
3638
3639 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3640 the wrapped search by the length of the search string to be able
3641 to lazy-highlight the whole search string at point (bug#19353).
3642
3643 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3644
3645 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3646
3647 2014-12-14 Alan Mackenzie <acm@muc.de>
3648
3649 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3650
3651 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3652
3653 * let-alist.el: Add lexical binding.
3654
3655 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3656
3657 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3658 for the "Version" column, to accomodate date-and-time-based versions.
3659
3660 2014-12-14 Cameron Desautels <camdez@gmail.com>
3661
3662 * cus-edit.el (custom-unsaved-options): New function, extracted
3663 from `customize-unsaved'.
3664 (custom-unsaved): Use it.
3665 (custom-prompt-customize-unsaved-options): New function.
3666 (Bug#19328)
3667
3668 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3669
3670 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3671
3672 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3673
3674 Move ASYNC argument to the `diff' VC command to the fifth
3675 position, for better compatibility with existing third-party code,
3676 and document it.
3677
3678 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3679 backend `diff' command in the last position.
3680
3681 * vc/vc-svn.el (vc-svn-diff):
3682 * vc/vc-src.el (vc-src-diff):
3683 * vc/vc-sccs.el (vc-sccs-diff):
3684 * vc/vc-rcs.el (vc-rcs-diff):
3685 * vc/vc-mtn.el (vc-mtn-diff):
3686 * vc/vc-hg.el (vc-hg-diff):
3687 * vc/vc-git.el (vc-git-diff):
3688 * vc/vc-dav.el (vc-dav-diff):
3689 * vc/vc-cvs.el (vc-cvs-diff):
3690 * vc/vc-bzr.el (vc-bzr-diff):
3691 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3692
3693 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3694
3695 * emacs-lisp/cconv.el (cconv--analyze-use):
3696 Rename from cconv--analyse-use.
3697 (cconv--analyze-function): Rename from cconv--analyse-function.
3698 (cconv-analyze-form): Rename from cconv-analyse-form.
3699
3700 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3701
3702 * net/shr.el (shr-next-link): Don't error out at eob.
3703
3704 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3705
3706 * isearch.el (isearch-open-necessary-overlays): Open overlay
3707 ending at point (bug#19333).
3708
3709 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3710
3711 * net/shr.el (shr-fold-text): New function.
3712 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3713 alt/title texts.
3714 (shr-fold-text): Inhibit state from being altered.
3715
3716 * files.el (directory-files-recursively): Really check whether
3717 files are symlinks.
3718 (directory-name-p): New function.
3719 (directory-files-recursively): Use it.
3720
3721 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3722
3723 * emacs-lisp/package.el (package--list-loaded-files): New function
3724 to list files in a given directory which correspond to already
3725 loaded files.
3726 (package-activate-1): Reload files given by `package--list-loaded-files'.
3727 Fix bug#10125, bug#18443, and bug#18448.
3728
3729 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3730
3731 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3732
3733 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3734
3735 * simple.el (password-word-equivalents): Add "passcode", used for
3736 numeric secrets like PINs or RSA tokens.
3737
3738 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3739
3740 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3741 order to determine `tramp-own-remote-path'.
3742
3743 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3744
3745 * progmodes/python.el (python-shell-parse-command):
3746 Quote `python-shell-interpreter`. (Bug#19289)
3747
3748 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3751 (python-indent-levels): Document extra value.
3752 (python-indent-calculate-indentation): Return `noindent' in strings.
3753 (python-indent-post-self-insert-function)
3754 (python-indent-calculate-levels): Handle new value.
3755
3756 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3757
3758 * net/network-stream.el (network-stream-open-starttls): No need to
3759 check for the availability of `gnutls-available-p'.
3760
3761 * files.el (directory-files-recursively): Don't follow symlinks to
3762 other directories.
3763
3764 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3765
3766 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3767 * vc/vc.el: latest-on-branch-p is no longer a public method.
3768
3769 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3770 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3771 Remove `rollback' method, to be replaced in the future by uncommit.
3772
3773 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3774
3775 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3776 that there is empty output.
3777
3778 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3781 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3782
3783 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3784
3785 * let-alist.el: Add new package and macro.
3786
3787 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3788
3789 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3790 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3791 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3792
3793 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3794
3795 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3796 trouble with ls over ftp. These flags result in ls returning no
3797 output, causing Tramp-breakage. (bug#19192)
3798
3799 2014-12-10 Andreas Schwab <schwab@suse.de>
3800
3801 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3802
3803 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3804
3805 * files.el (directory-files-recursively):
3806 Use `file-name-all-completions' instead of `directory-files' for
3807 greater speed.
3808
3809 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3810 <object>.
3811
3812 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3813
3814 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3815 and Puppetfile.
3816 (ruby-toggle-string-quotes): New command that allows you to quickly
3817 toggle between single-quoted and double-quoted string literals.
3818
3819 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3820
3821 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3822 list, avoids problems witt names containing hyphens.
3823
3824 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3825
3826 Sync with upstream verilog-mode revision aa4b777.
3827 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3828 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3829 (verilog-set-auto-endcomments): Automatically comment property/
3830 endproperty blocks to match other similar blocks like sequence/
3831 endsequence, function/endfunction, etc. Reported by Alex Reed.
3832 (verilog-set-auto-endcomments): Fix end comments for functions of
3833 type void, etc. Detect the function- or task-name when
3834 auto-commenting blocks that lack an explicit portlist.
3835 Reported by Alex Reed.
3836 (verilog-nameable-item-re): Fix nameable items that can have an
3837 end-identifier to include endchecker, endgroup, endprogram,
3838 endproperty, and endsequence. Reported by Alex Reed.
3839 (verilog-preprocessor-re, verilog-beg-of-statement):
3840 Fix indentation of property/endproperty around pre-processor
3841 directives. Reported by Alex Reed.
3842 (verilog-label-be): When auto-commenting a buffer, consider
3843 auto-comments on all known keywords (not just a subset thereof).
3844 Reported by Alex Reed.
3845 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3846 Reported by Alex Reed.
3847 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3848 Fix hanging with many curly-bracket pairs, bug663.
3849 (verilog-do-indent): Fix electric tab deleting form-feeds.
3850 Note caused by indent-line-to deleting tabls pre 24.5.
3851 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3852 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3853 (verilog-read-always-signals, verilog-auto-sense-sigs)
3854 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3855 bug844. Reported by Greg Hilton.
3856
3857 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3858
3859 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3860 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3861 'foreach', and 'do' keywords.
3862 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3863 Fix labeling do-while blocks, bug842.
3864 (verilog-backward-token): Fix indenting sensitivity lists with
3865 named events, bug840.
3866
3867 2014-12-09 Reto Zimmermann <reto@gnu.org>
3868
3869 Sync with upstream vhdl mode v3.36.1.
3870 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3871 (vhdl-compiler-alist): Anchor all error regexps.
3872 (vhdl-compile-use-local-error-regexp): Change default to nil.
3873 (vhdl-asort, vhdl-anot-head-p): Remove.
3874 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3875 Remove optional argument of vhdl-aget and update all callers.
3876 (vhdl-import-project): Also set `vhdl-compiler'.
3877
3878 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3879
3880 * files.el (find-files): New function.
3881
3882 * net/shr.el (shr-dom-print): Don't print comments.
3883 (shr-tag-svg): Give inline SVG images the right type.
3884
3885 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3886 certificates in the header line.
3887 (eww-invalid-certificate, eww-valid-certificate): New faces.
3888
3889 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3890
3891 * progmodes/python.el (inferior-python-mode):
3892 Set `comint-prompt-read-only` to `t` only locally.
3893
3894 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3895
3896 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3897 (nsm-format-certificate): Include more data about the connection.
3898 (nsm-query): Fill the text to that it looks nicer.
3899 (nsm-check-protocol): Also warn if using SSL3 or older.
3900
3901 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3904
3905 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3906
3907 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3908
3909 * info.el (Info-mode-map): Remove left-over binding.
3910
3911 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3912 (avl-tree--root): Remove redundant defsetf.
3913
3914 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3915
3916 * net/nsm.el (network-security-level): Remove the detailed
3917 description, which was already outdated, and refer the users to
3918 the manual.
3919 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3920 (bug#19153).
3921
3922 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3923
3924 * net/eww.el (eww-buffers-mode): New major mode.
3925 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3926 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3927 New commands/functions (bug#19131).
3928
3929 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3930
3931 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3932 'file-name-handler-alist' since the gnutls library can't use those
3933 (bug#15866).
3934
3935 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3936
3937 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3938 when FILES is non-nil (bug#19304).
3939
3940 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3941
3942 * vc/vc-arch.el: Move to obsolete directory so a test framework
3943 won't trip over bit-rot in it. There has been no Arch snapshot
3944 for nine years.
3945
3946 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3947
3948 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3949 previous behavior.
3950 (eww-copy-page-url): Add doc string.
3951
3952 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3953
3954 * net/eww.el (eww): Move history recording here...
3955 (eww-browse-url): ... from here (bug#19253).
3956
3957 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3958 iterating over possible buffer names.)
3959
3960 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3961
3962 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3963 (eww-current-buffer): Compilation fix for bug#18550 patch.
3964
3965 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3966
3967 * net/eww.el (eww-list-histories): Restore the history in the
3968 correct buffer (bug#18550).
3969
3970 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3971
3972 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3973 displaying shortened titles first (bug#16398).
3974
3975 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3976
3977 * progmodes/python.el: Recognize docstrings.
3978 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3979 New functions.
3980 (python-mode): Use them.
3981
3982 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3983
3984 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3985 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3986 (newsticker--treeview-create-groups-menu)
3987 (newsticker--treeview-create-tree-menu): Remove.
3988 (newsticker--treeview-tree-open-menu): New.
3989 (newsticker-treeview-tree-click): Pass event to
3990 `newsticker-treeview-tree-do-click'.
3991 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3992
3993 2014-12-05 Juri Linkov <juri@linkov.net>
3994
3995 * comint.el (comint-history-isearch-search)
3996 (comint-history-isearch-wrap): Use field-beginning instead of
3997 comint-line-beginning-position.
3998 (comint-send-input): Go to the end of the field instead of the end
3999 of the line to accept whole multi-line input.
4000 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4001
4002 2014-12-05 Juri Linkov <juri@linkov.net>
4003
4004 * minibuffer.el (minibuffer-completion-help):
4005 Compare selected-window with minibuffer-window to check whether
4006 completions should be displayed near the minibuffer. (Bug#17809)
4007 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4008
4009 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * vc/vc-mtn.el (vc-mtn-root):
4012 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4013
4014 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4017 of the whole pipe when indenting an opening keyword after a |.
4018 Generalize this treatment to opening keywords like "while" (bug#18031).
4019
4020 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4021
4022 * simple.el (newline): Place the hook buffer-locally,
4023 to make sure it's first.
4024
4025 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4026 Fix handling of symbols with different syntax at beginning/end or with
4027 symbol rather than word syntax.
4028
4029 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4030
4031 * simple.el (line-move): If noninteractive, call line-move-1, not
4032 forward-line, since the former is compatible with line-move-visual
4033 both in terms of the column to which it moves and the return
4034 value. (Bug#19211)
4035
4036 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * vc/ediff-init.el (ediff-odd-p): Remove.
4039 (ediff-background-face): Use cl-oddp instead.
4040 (ediff-buffer-live-p): Make it a defsubst.
4041
4042 * tooltip.el (tooltip-region-active-p): Remove.
4043
4044 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4045 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4046
4047 * fringe.el (fringe-bitmap-p): Make it a plain function.
4048
4049 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4050 (class-p, generic-p, eieio-object-p, class-abstract-p):
4051 Make them defsubst, so as to avoid corner case problems where
4052 the arg might be evaluated in the condition-case, or it can't be passed
4053 to higher-order functions like `cl-some'.
4054
4055 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4056
4057 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4058 and remove old menu-related code.
4059
4060 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4061
4062 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4063 display PDF files (bug#19270).
4064
4065 2014-12-05 Juri Linkov <juri@linkov.net>
4066
4067 Compare with the most recent window by default.
4068 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4069 (compare-windows-get-recent-window)
4070 (compare-windows-get-next-window): New functions.
4071 (compare-windows, compare-windows-sync-default-function):
4072 Use `compare-windows-get-window-function' instead of `next-window'.
4073 (compare-windows): Add diff/match messages with region boundaries.
4074 (Bug#19170)
4075
4076 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4079
4080 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4081
4082 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4083
4084 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4085
4086 Implement copying of a buffer portion while preserving visual order.
4087 * simple.el (bidi-directional-controls-chars)
4088 (bidi-directional-non-controls-chars): New variables.
4089 (squeeze-bidi-context-1, squeeze-bidi-context)
4090 (line-substring-with-bidi-context)
4091 (buffer-substring-with-bidi-context): New functions.
4092
4093 * files.el (file-tree-walk): Doc fix.
4094
4095 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4096 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4097
4098 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4099 program support to match more extensions. Replace non-alnum
4100 characters when generating include guards (headers) and check for
4101 more extensions when generating includes (programs)
4102 (bug#19254).
4103
4104 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4105
4106 * files.el (file-tree-walk): Fix docstring.
4107
4108 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4109
4110 Fix bug whereby saving files hung in VC hook.
4111
4112 Saving a buffer visiting a file under SVN control would hang if
4113 the remote repository were unreachable, because the VC hooks tried
4114 to run "svn status -u" on the file, where the "-u" tells svn to
4115 get update information from the remote repository.
4116 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4117
4118 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4119 argument and always pass "-v" to "svn status", never "-u".
4120
4121 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * emacs-lisp/inline.el: Fix up copyright header.
4124 (inline-quote, inline-const-p, inline-const-val, inline-error):
4125 Silence compiler warnings.
4126 (inline-letevals): Fix edebug spec.
4127 (inline--testconst-p): Consider lambda expressions as const-p.
4128 (inline--getconst-val): Use inline--testconst-p.
4129
4130 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4131 and change default to stay in the minibuffer when called from
4132 the minibuffer (bug#19250).
4133 (lazy-completion-table): Use this new argument to preserve the
4134 old behavior.
4135
4136 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4137 incorrect lexical elements (bug#19250).
4138
4139 2014-12-03 A. N. Other <none@example.com>
4140
4141 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4142
4143 2014-12-02 Glenn Morris <rgm@gnu.org>
4144
4145 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4146
4147 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4148
4149 * subr.el (filter): New macro. Because it's just silly for a Lisp
4150 not to have this in 2014. And VC needs it.
4151
4152 * vc.el: All backends: API simplification: Abolish dir-status.
4153 It's replaced by dir-status-files.
4154
4155 * vc.el: All backends: API simplification: Remove 4th
4156 'default-state' argument from vc-dir-status files and its backend
4157 methods - no backend method ever set it. It was used only in the
4158 fallback method to to set a default of 'up-to-date, though a
4159 convoluted call chain obscured this.
4160
4161 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4162
4163 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4164 improving behavior on directories using multiple file-oriented VCSes.
4165
4166 * vc/vc.el: All backends: API simplification; clear-headers
4167 is no longer a public method. It is now local to the one place
4168 it's used, in the RCS steal-lock method.
4169
4170 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4171
4172 * vc/vc.el: In all backends: API simplification; could-register
4173 is no longer a public method. (vc-cvs.el still has a private
4174 implementation.)
4175
4176 * vc/vc.el: In all backends: API cleanup; the backend diff method
4177 takes an explicit async flag. This eliminates a particularly ugly
4178 global.
4179
4180 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4181 VC randomly/unpredictably fails without it; cause not yet established.
4182
4183 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 Merge some of the differences from the standalone CC-mode.
4186 The main change is to only use the `category' text-property only when
4187 available. For that many calls are changed to use c-get-char-property,
4188 c-next-single-property-change, c-sc-scan-lists,
4189 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4190
4191 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4192 (c-basic-common-init): Initialize it.
4193 (c-common-init): Only use mode-require-final-newline when available.
4194 (c-before-change): Check and set c-just-done-before-change.
4195 (c-after-change): Re-set c-just-done-before-change.
4196 (c-advise-fl-for-region): New macro.
4197 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4198 (font-lock-after-change-function, jit-lock-after-change):
4199 Advise if needed.
4200
4201 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4202 (c-known-type-key): Don't make a list just to throw it away.
4203
4204 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4205 Handle the case where categories are not available.
4206 (c-record-parse-state-state, c-replay-parse-state-state):
4207 Handle marker values.
4208 (c-before-change-check-<>-operators): Look for the `syntax-table'
4209 property rather than for the corresponding `category'.
4210 (c-looking-at-decl-block): Remove unused var
4211 `c-disallow-comma-in-<>-arglists'.
4212 (c-forward-<>-arglist-recur): Remove unused var
4213 `orig-record-found-types'.
4214
4215 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4216 (c-use-category): New const.
4217 (c-next-single-property-change): New macro.
4218 (c-region-is-active-p): Prefer region-active-p when available.
4219 (c-search-backward-char-property): Fix old min/max typo; probably
4220 a copy/paste error.
4221 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4222 Turn them into macros that obey c-use-category.
4223 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4224 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4225 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4226 (c-looking-at-non-alphnumspace): New macros.
4227 (c-sc-parse-partial-sexp-no-category): New function.
4228 (c-emacs-features): Add `category-properties' element.
4229
4230 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4231 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4232 not available.
4233 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4234 (c-indent-line-or-region): Use c-region-is-active-p.
4235
4236 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4237 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4238 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4239 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4240 (cc-bytecomp-obsolete-fun): Delete unused functions.
4241
4242 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4243
4244 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4245
4246 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4247 dom.el changes.
4248
4249 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4252 current "project" rather than just the current directory.
4253 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4254 the file names make sense.
4255
4256 * vc/smerge-mode.el (smerge-swap): New command.
4257
4258 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4259
4260 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4261
4262 * net/newst-treeview.el (newsticker--treeview-item-show):
4263 Check window liveliness before measuring its width.
4264
4265 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4266 Pass correct status to `newsticker--sentinel-work'.
4267 (newsticker--sentinel-work): Use "newsticker--download-error" as
4268 guid in order to prevent multiple "Could not download..."
4269 messages. (Bug#19166)
4270
4271 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4272
4273 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4274 correct buffer (bug#19225).
4275
4276 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4277
4278 * net/nsm.el (network-security-level): Change the default to `medium'.
4279
4280 * net/eww.el (eww): Leave point in a place that doesn't cause
4281 scrolling when displaying "Loading...".
4282
4283 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4284
4285 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4286 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4287 'merge-branch'. Prompting for merge revisions is pushed down to
4288 the back ends; this fixes a layering violation that caused bad
4289 behavior with SVN.
4290
4291 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4292 vc-stay-local-p and repository-hostname are no longer public
4293 methods. Only the CVS and SVN backends used these, and the SVN
4294 support was conditioned out because svn status -v is too slow.
4295 The CVS back end retains this machinery and the vc-stay-local
4296 configuration variable now only affects it.
4297
4298 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * emacs-lisp/inline.el: New file.
4301
4302 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4303
4304 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4305 vc-state-heuristic is no longer a public method, having been
4306 removed where it is redundant, unnecessary, or known buggy.
4307 This eliminated all backends except CVS. Eliminates bug#7850.
4308
4309 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4310 Eliminate vc-mistrust-permissions. It was only relevant to the
4311 RCS and SCCS back ends and defaulted to t. Code now always
4312 mistrusts permissions - by actual measurement the effect on
4313 performance is negligible. As a side effect bug#11490 is now
4314 irrelevant.
4315
4316 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4317 vc-workfile-unchanged-p is no longer a public method (but the RCS
4318 and SCCS back ends retain it as a private method used in state
4319 computation). This method was redundant with vc-state and usually
4320 implemented as a trivial call to same. Fixes the failure mode
4321 described in bug#694.
4322
4323 * vc/vc.el: All backends: API simplification; init-revision is
4324 gone, and vc-registered functions no longer take an
4325 initial-revision argument.
4326
4327 2014-11-29 Glenn Morris <rgm@gnu.org>
4328
4329 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4330 (vc-src-master-templates): Fix :version tags.
4331
4332 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4333
4334 * outline.el (outline-move-subtree-down): Refactor and improve code.
4335
4336 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4337 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * outline.el (outline-move-subtree-down): Make sure we can move
4340 forward to find the end of the subtree and the insertion point
4341 (bug#19102).
4342
4343 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4344
4345 * progmodes/python.el (python-shell-completion-setup-code):
4346 Use __builtin__ module (or builtins in Python 3) and catch all errors
4347 when importing readline and rlcompleter.
4348
4349 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4350
4351 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4352 (todo-revert-buffer): New function.
4353 (todo-modes-set-1): Use it as the buffer-local value of
4354 revert-buffer-function.
4355
4356 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4357
4358 * calendar/todo-mode.el (todo-mode): If called interactively, just
4359 display a message saying to call todo-show to enter Todo mode
4360 (Bug#19112).
4361
4362 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4363
4364 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4365 (Bug#18579)
4366
4367 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4368 files. (Bug#18579)
4369
4370 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4371
4372 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4373 remote `buffer-file-name'.
4374
4375 2014-11-29 Leo Liu <sdl.web@gmail.com>
4376
4377 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4378
4379 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4380
4381 Set PYTHONUNBUFFERED on shell startup.
4382
4383 * progmodes/python.el (python-shell-unbuffered): New var.
4384 (python-shell-calculate-process-environment): Use it.
4385
4386 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4387
4388 * net/tramp.el (tramp-action-password): Clean password on subsequent
4389 attempts even if there was no wrong password indication. (Bug#19047)
4390
4391 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4392 fallback.
4393 (tramp-open-connection-setup-interactive-shell): No need to check
4394 for nil as `tramp-get-remote-locale' return value.
4395
4396 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4397
4398 * vc/vc-git.el (vc-git-command, vc-git--call):
4399 Bind coding-system-for-read and coding-system-for-write to
4400 vc-git-commits-coding-system.
4401 (vc-git-previous-revision): Use "~1" instead of "^", since the
4402 latter is a special character for MS-Windows system shells.
4403
4404 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4405
4406 Improve XEmacs compatibility.
4407
4408 * net/tramp.el (tramp-autoload-file-name-handler):
4409 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4410 exist in XEmacs.
4411 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4412 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4413 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4414 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4415 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4416 * net/tramp-cache.el (tramp-get-file-property):
4417 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4418 Use `time-less-p' and `time-subtract, respectively.
4419
4420 * net/tramp-adb.el (top): Do not require time-date.el.
4421
4422 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4423
4424 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4425 Check, whether `utf-8' is a valid coding system.
4426
4427 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4428
4429 * vc/vc.el (vc-retrieve-tag): Doc fix.
4430
4431 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4434 (bug#19152).
4435
4436 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4437
4438 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4439 * help.el (help-window-old-frame): New variable.
4440 (help-window-select): Default to nil (Bug#11039).
4441 Rewrite doc-string.
4442 (help-window-setup): When the help window appears on another
4443 frame and `help-window-select' is non-nil, give that frame input
4444 focus too (Bug#19012).
4445 (with-help-window): Store selected frame in
4446 help-window-old-frame.
4447
4448 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4449
4450 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4451 nil value for `newsticker-groups-filename'.
4452
4453 2014-11-28 Daiki Ueno <ueno@gnu.org>
4454
4455 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4456 (epa-sign-region, epa-encrypt-region):
4457 Use `epg-context-set-{passphrase,progress}-callback', instead of
4458 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4459 Reported by José A. Romero L.
4460
4461 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4462
4463 * net/eww.el (eww-restore-history):
4464 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4465
4466 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4467
4468 * net/newst-backend.el (newsticker--parse-atom-1.0):
4469 Handle embedded (x)html in summary node.
4470
4471 2014-11-27 Sam Steingold <sds@gnu.org>
4472
4473 * menu-bar.el (menu-bar-open): When everything else fails,
4474 use (mouse-menu-bar-map).
4475
4476 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4477
4478 * net/newst-treeview.el (newsticker-groups-filename):
4479 Change default value to nil. Point out that variable is obsolete in doc
4480 string.
4481 (newsticker--treeview-load): Change wording of the questions the
4482 user is asked when `newsticker-groups-filename' is found to be
4483 used and we offer to read and remove the groups file. (Bug#19165)
4484
4485 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4486
4487 * net/eww.el (eww): Record the new URL immediately, so that if the
4488 HTTP fetch fails, we have the right URL in the buffer.
4489 (eww-process-text-input): Don't shorten the input field if
4490 deleting at the last character (bug#19085).
4491 (eww-restore-history): Inhibit change functions while restoring
4492 the history.
4493 (eww-process-text-input): Fix deletion at the start of the field, too.
4494 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4495 (eww-process-text-input): Try to keep track of the size more reliably.
4496
4497 * dom.el (dom-pp): New function.
4498
4499 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4500
4501 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4502 Don't assume --long is the default for "bzr log", always specify
4503 it explicitly, in case the user defined an alias for 'log' that
4504 uses some other format.
4505
4506 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4507
4508 * progmodes/python.el (python-eldoc--get-doc-at-point):
4509 Strip shell output before returning. (bug#18794)
4510
4511 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4512
4513 Fix indentation before `!=' and after `+='. Originally reported
4514 in https://github.com/mooz/js2-mode/issues/174.
4515 * progmodes/js.el (js--indent-operator-re): Make assignments and
4516 (in)equality operator a separate case.
4517 (js--continued-expression-p): Escape the second `+' in the regexp.
4518
4519 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4522
4523 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4524
4525 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4526 when querying about new certificates.
4527
4528 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4529
4530 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4531 can be strings.
4532 (dom-elements): Protect against non-text nodes.
4533 (dom-non-text-children): New function.
4534
4535 * net/eww.el (eww-tag-title): Use `dom-text'.
4536
4537 2014-11-26 Sam Steingold <sds@gnu.org>
4538
4539 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4540
4541 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4542
4543 * net/eww.el (eww-highest-readability): More dom.el fixes.
4544
4545 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4546
4547 * net/newst-backend.el (newsticker--parse-generic-items):
4548 Take care of UIDs when adding elements to cache.
4549
4550 2014-11-26 Alan Mackenzie <acm@muc.de>
4551
4552 Remove spurious reference to symbol category_properties.
4553 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4554
4555 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4556
4557 * net/eww.el: Use the new dom.el accessors throughout.
4558
4559 * net/shr.el: Ditto.
4560
4561 * dom.el: New file.
4562
4563 2014-11-26 Glenn Morris <rgm@gnu.org>
4564
4565 * arc-mode.el (archive-visit-single-files): Add :version.
4566
4567 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4568
4569 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4570 elements.
4571 (nsm-warnings-ok-p): The new version of this function always
4572 returned nil when everything was OK.
4573
4574 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4575
4576 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4577
4578 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4579 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4580
4581 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4582
4583 * emacs-lisp/byte-run.el (function-put): Match argument names to
4584 docstring.
4585
4586 2014-11-24 Sam Steingold <sds@gnu.org>
4587
4588 * vc/vc-hooks.el (vc-directory-exclusion-list):
4589 Fix a trivial typo (bug#19171).
4590
4591 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * vc/vc-hooks.el (vc-state-base-face): Don't override
4594 mode-line-inactive.
4595
4596 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597
4598 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4599 (eww-process-text-input): Inhibit read only so that input fields
4600 don't get shortened (bug#19085).
4601
4602 2014-11-24 Leo Liu <sdl.web@gmail.com>
4603
4604 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4605
4606 * window.el (with-temp-buffer-window)
4607 (with-current-buffer-window, with-displayed-buffer-window):
4608 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4609 * emacs-lisp/cl-lib.el (substring):
4610 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4611
4612 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4613
4614 * isearch.el (isearch-update): Don't assume
4615 pos-visible-in-window-p will return nil when point is hscrolled
4616 out of view. (Bug#19157)
4617
4618 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4619
4620 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4621 (eww-follow-link): Follow in new buffer in case of prefix
4622 argument, open externally with double prefix (bug#19130).
4623
4624 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4625
4626 * net/eww.el (eww-display-html): Decode the document-defined charset.
4627 (eww): Pop to the *eww* buffer immediately after executing the
4628 `M-x eww' command to avoid having buffers pop up later.
4629 (eww-display-html): Don't pop the *eww* buffer.
4630 (eww-display-raw): Ditto.
4631 (eww-display-image): Ditto.
4632 (eww-follow-link): Make going to #targets in the page work again.
4633
4634 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4635
4636 * net/eww.el (eww-suggest-uris): New variable.
4637 (eww-suggested-uris): New function.
4638 (eww): Default to URL under point.
4639 (eww-links-at-point): New function.
4640
4641 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4642
4643 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4644
4645 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4646
4647 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4648
4649 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4650
4651 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4652 (eww-display-raw): Use it (bug#16225).
4653
4654 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4655
4656 * net/nsm.el (network-security-level): Rename from
4657 `nsm-security-level' and documented.
4658
4659 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4660 we're sending a password.
4661
4662 * net/nsm.el: New file that implements a Network Security Manager.
4663
4664 * net/network-stream.el (open-network-stream): Add a new
4665 :warn-unless-encrypted parameter.
4666 (network-stream-open-plain): Allow warning unless encrypted.
4667 (network-stream-open-starttls): Call the Network Security Manager.
4668 (network-stream-open-tls): Ditto.
4669
4670 2014-11-23 Leo Liu <sdl.web@gmail.com>
4671
4672 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4673 (calendar-chinese-to-absolute-for-diary)
4674 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4675 Handle leap months in Chinese calendar. (Bug#18953)
4676
4677 2014-11-22 Alan Mackenzie <acm@muc.de>
4678
4679 Fix error with `mark-defun' and "protected:" in C++ Mode.
4680 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4681 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4682
4683 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4684
4685 * net/newst-backend.el (newsticker--sentinel-work):
4686 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4687
4688 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4689
4690 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4691 (tramp-sh-handle-process-file): Propagate `process-environment'.
4692
4693 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4694 Tramp propagates environment variables now.
4695
4696 2014-11-22 Eric S. Raymond <esr@snark>
4697
4698 * vc/vc-filewise.el: New file to isolate code used only by the
4699 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4700 live in vc.el and certainly not in vc-hooks.el.
4701
4702 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4703 This is preparatory to isolating all the 'master' functions
4704 used only by the file-oriented back ends. With this done first,
4705 the substantive diffs will be easier to read.
4706
4707 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4708
4709 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4710 that is recognized by `help-mode'.
4711
4712 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * desktop.el (desktop-create-buffer): Use activate-mark to set
4715 `mark-active' (bug#19058).
4716
4717 2014-11-21 Eric S. Raymond <esr@snark>
4718
4719 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4720 nil state.
4721
4722 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4723
4724 * vc/vc.el (vc-deduce-fileset): Support invocation from
4725 *vc-change-log* buffer. (Bug#19084)
4726
4727 2014-11-13 Matthew Leach <matthew@mattleach.net>
4728
4729 * arc-mode.el (archive-visit-single-files): New.
4730 (archive-mode): Visit file if archive contains a single file.
4731 (Bug#1702)
4732
4733 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4734
4735 * vc/vc.el: Fix a typo in the commentary.
4736
4737 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4738
4739 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4740 testing and a real log-view mode.
4741
4742 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4743 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4744 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4745 checkout methods; where it matters (which is only in SCCS and RCS)
4746 files are always checked out editable. This may actually have
4747 been dynamically true already - it looks like the vc-next-action
4748 code evolved past visiting the other case. Tested with RCS.
4749
4750 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4751 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4752 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4753 argument from the backend checkin methods. Only the RCS, SCCS,
4754 and CVS back ends tried to do anything with it, and that code was
4755 never exercised. Chiseling away the cruft of decades...
4756
4757 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4758
4759 * net/eww.el (eww-render): Remove a no-op :title setting.
4760
4761 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4762
4763 * net/eww.el (eww-history-limit): New variable.
4764 (eww-save-history): Use it (bug#19105).
4765 (eww-reload): Reload the page in the right buffer.
4766
4767 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4768
4769 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4770
4771 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4772
4773 * net/eww.el (eww-desktop-remove-duplicates)
4774 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4775 (eww-mode): Set up desktop mode (bug#18010).
4776 (eww-desktop-data-save, eww-desktop-data-1)
4777 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4778 (eww-restore-desktop): New functions.
4779
4780 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4781
4782 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4783 correct buffer. (Bug#19101)
4784
4785 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4786
4787 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4788 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4789
4790 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4791
4792 * ido.el (ido-bury-buffer-at-head): New command.
4793 (ido-buffer-completion-map): Bind it to C-S-b.
4794
4795 2014-11-18 Juri Linkov <juri@linkov.net>
4796
4797 * simple.el (next-line-or-history-element): Wrap next-line
4798 in with-no-warnings.
4799 (previous-line-or-history-element): Wrap previous-line
4800 in with-no-warnings.
4801
4802 2014-11-18 Juri Linkov <juri@linkov.net>
4803
4804 * progmodes/grep.el (grep-compute-defaults):
4805 Compute grep-highlight-matches before its use.
4806
4807 2014-11-18 Juri Linkov <juri@linkov.net>
4808
4809 * replace.el (query-replace-from-to-separator): Turn defvar into
4810 defcustom. Wrap char-displayable-p in ignore-errors because an
4811 attempt to autoload char-displayable-p fails during pre-loading.
4812 Move (propertize "\0" ... 'separator t) out of customizable part
4813 to query-replace-read-from.
4814 (query-replace-read-from): Call custom-reevaluate-setting on
4815 query-replace-from-to-separator to reevaluate the separator
4816 depending on the return value of char-displayable-p.
4817 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4818
4819 2014-11-18 Juri Linkov <juri@linkov.net>
4820
4821 * bindings.el (minibuffer-local-map): Rebind [down] from
4822 next-history-element to next-line-or-history-element, and [up]
4823 from previous-history-element to previous-line-or-history-element.
4824
4825 * simple.el (next-line-or-history-element)
4826 (previous-line-or-history-element): New commands.
4827 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4828
4829 2014-11-18 Leo Liu <sdl.web@gmail.com>
4830
4831 * emacs-lisp/nadvice.el (define-advice): New macro.
4832 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4833 Add define-advice.
4834 (lisp-font-lock-keywords-1): Add define-advice.
4835
4836 2014-11-18 Daiki Ueno <ueno@gnu.org>
4837
4838 * epg.el (epg-context): New slot EDIT-CALLBACK.
4839 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4840 (epg-reset): Reset EDIT-CALLBACK of the context.
4841 (epg-start-edit-key): New function.
4842 (epg-edit-key): New function.
4843
4844 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4845
4846 Port new time stamp handling to Emacs 23.2.
4847 This fix is for Gnus. Reported by Katsumi Yamaoka.
4848 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4849 Use eval-and-compile, not eval-when-compile.
4850
4851 2014-11-18 Daiki Ueno <ueno@gnu.org>
4852
4853 * epg.el (epg-context-set-passphrase-callback)
4854 (epg-context-set-progress-callback): Check if the CALLBACK
4855 argument is a function, instead of a cons.
4856
4857 2014-11-18 Daiki Ueno <ueno@gnu.org>
4858
4859 * epa-file.el (epa-file-insert-file-contents)
4860 (epa-file-write-region): Remove redundant check of
4861 epa-pinentry-mode.
4862 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4863 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4864 epa-pinentry-mode.
4865
4866 2014-11-18 Daiki Ueno <ueno@gnu.org>
4867
4868 * epa-file.el (epa-file-insert-file-contents): Don't show
4869 "*Error*" buffer if input file does not exist.
4870 Reported by Herbert J. Skuhra.
4871
4872 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4873 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4874
4875 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4876 An alternative version of the patch from bug#13871.
4877 (c-operators): Add "alignof".
4878 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4879 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4880 (c-modifier-kwds): Add "thread_local".
4881 (c-constant-kwds): Add "nullptr".
4882
4883 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4884
4885 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4886 New variables for specifying tildify pattern and representation of
4887 a hard space -- a no-break space by default -- respectively.
4888 Being buffer-local they are much easier to handle than
4889 `tildify-string-alist' and `tildify-pattern-alist' respectively
4890 that have been used so far. They also works better with derived
4891 modes.
4892 (tildify-foreach-region-function): New variable specifying
4893 a function determining portions of buffer that should be
4894 tildified. It allows major modes to create a filtering function
4895 more elaborate than a set of regular expressions. Initialized to
4896 `tildify--deprecated-ignore-evironments' by default to handle now
4897 deprecated `tildify-ignored-environments-alist' variable.
4898 (tildify--foreach-region): A new function that takes
4899 `tildify-foreach-region-function' into account and calls callback
4900 for regions of the buffer that should be tildified.
4901 (tildify-foreach-ignore-environments): A new function which can be
4902 partially applied and used as `tildify-foreach-region-function'.
4903 (tildify-ignored-environments-alist, tildify-pattern)
4904 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4905 (tildify--find-env): Rename from `tildify-find-env' and mark as
4906 obsolete.
4907 (tildify--deprecated-ignore-evironments): New function,
4908 immediately marked as obsolete, used to handle deprecated
4909 `tildify-ignored-environments-alist'.
4910
4911 * textmodes/tex-mode.el (tex-common-initialization):
4912 Set `tildify-space-string' and `tildify-foreach-region-function'
4913 variables in all variants of TeX mode since `tildify-string-alist'
4914 and `tildify-ignored-environments-alist' are now empty by default.
4915
4916 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4917 If encoding supports it use no-break space instead of character
4918 entity; this changes previous default which used a numeric
4919 reference.
4920
4921 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4922 If encoding does not support no-break space, use numeric reference;
4923 this changes previous default which used named entity (“&nbsp;”)
4924 in HTML mode.
4925
4926 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4927
4928 * calendar/icalendar.el (icalendar-export-alarms):
4929 New customizable variable. (Bug#5433)
4930 (icalendar-export-region): Export alarms as specified in
4931 `icalendar-export-alarms'.
4932 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4933 New functions for exporting alarms.
4934
4935 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4936
4937 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4938
4939 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4940
4941 Port new time stamp handling to old Emacs and to XEmacs.
4942 This is needed for Gnus, which copies time-date.el and which
4943 runs on older Emacs implementations.
4944 * calendar/time-date.el (with-decoded-time-value):
4945 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4946 (encode-time-value, with-decoded-time-value):
4947 Obsolete only if new Emacs.
4948 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4949
4950 Improve time stamp handling, and be more consistent about it.
4951 This implements a suggestion made in:
4952 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4953 Among other things, this means timer.el no longer needs to
4954 autoload the time-date module.
4955 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4956 * arc-mode.el (archive-ar-summarize):
4957 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4958 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4959 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4960 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4961 * proced.el (proced-time-lessp):
4962 * timezone.el (timezone-time-from-absolute):
4963 * type-break.el (type-break-schedule, type-break-time-sum):
4964 Simplify by using new functionality.
4965 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4966 Do not return time values in obsolete and undocumented (HI . LO)
4967 format; use (HI LO) instead.
4968 * calendar/time-date.el (with-decoded-time-value):
4969 Treat 'nil' as current time. This is mostly for XEmacs.
4970 (encode-time-value, with-decoded-time-value): Obsolete.
4971 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4972 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4973 * ldefs-boot.el: Update to match new time-date.el
4974 * proced.el: Do not require time-date.
4975
4976 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
4978 * net/eww.el (eww-mode): Make the buffer read-only.
4979 (eww-form-text): Inhibit read-only-ness in text input fields
4980 (bug#16476).
4981
4982 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * simple.el (execute-extended-command--shorter): Cut search here.
4985 (execute-extended-command): Instead of here.
4986
4987 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4988
4989 * progmodes/python.el (python-mode): Avoid use of set-local to
4990 keep Emacs 24.x compatibility.
4991
4992 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4993
4994 * net/shr.el (shr): Move to the new defgroup `web'.
4995
4996 * net/eww.el (eww): Ditto.
4997
4998 * simple.el (execute-extended-command): Don't show the help
4999 message if the binding isn't significantly shorter than the
5000 M-x command the user typed (bug#19013).
5001
5002 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5003
5004 * calendar/icalendar.el (icalendar--convert-tz-offset):
5005 Return complete cons when offsets of standard time and daylight saving
5006 time are equal.
5007 (icalendar-export-region): Fix unbound variable warning.
5008
5009 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5010
5011 * progmodes/python.el (run-python): Allow CMD to be optional and
5012 default it to a safe command, even for Windows. (bug#18596)
5013
5014 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5015
5016 * progmodes/python.el (python-shell-calculate-command):
5017 Rename from python-shell-parse-command. Cleanup.
5018 (run-python, run-python-internal): Use it.
5019 (python-shell-calculate-pythonpath): Rename from
5020 python-new-pythonpath.
5021 (python-shell-calculate-process-environment): Use it.
5022 (python-shell-calculate-exec-path): Add comment.
5023
5024 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5025
5026 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5027 for date handling.
5028
5029 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5030
5031 * version.el (emacs-repository-get-version): Use git rev-parse
5032 instead of git log.
5033
5034 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5035
5036 * progmodes/python.el (python-indent-calculate-levels):
5037 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5038
5039 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5040
5041 * progmodes/python.el (python-indent-region):
5042 Use python-indent-line and skip special cases. (Bug#18843)
5043
5044 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5045
5046 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5047 envelope-from when reporting through sendmail (bug#19054).
5048
5049 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5050
5051 Add faces for the VC modeline state indicator.
5052 * vc/vc-hooks.el:
5053 (vc-state-faces, vc-state-base-face)
5054 (vc-up-to-date-state, vc-needs-update-state)
5055 (vc-locked-state, vc-locally-added-state)
5056 (vc-conflict-state, vc-removed-state)
5057 (vc-missing-state, vc-edited-state):
5058 New faces.
5059 (vc-default-mode-line-string): Use them
5060
5061 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5062
5063 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5064
5065 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5066
5067 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5068
5069 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5070
5071 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5072 type checks, simplify printing. (Bug#18962)
5073
5074 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5075
5076 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5077 (python-shell-font-lock-with-font-lock-buffer)
5078 (python-shell-get-buffer, python-ffap-module-path):
5079 Use `derived-mode-p' instead of equality test on `major-mode'.
5080
5081 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5082
5083 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5084 python-shell-virtualenv-path.
5085 (python-shell-internal-get-process-name)
5086 (python-shell-calculate-process-environment)
5087 (python-shell-calculate-exec-path): Use it.
5088
5089 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5090
5091 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5092 bindings.el, since it is not yet loaded when bindings.el is
5093 preloaded.
5094
5095 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5096
5097 * progmodes/python.el (python-shell-completion-get-completions):
5098 Fix previous merge.
5099
5100 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5101
5102 * net/eww.el (eww-render): Don't set the title to the URL.
5103
5104 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5105
5106 * version.el (emacs-repository-get-version): Call `git log'
5107 command with proper format argument (bug#19049).
5108
5109 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5110
5111 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5112
5113 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5114
5115 * net/eww.el (eww-search-words): New command (bug#16258).
5116
5117 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5118
5119 * net/shr.el (shr-inhibit-images): Add a doc string.
5120
5121 * net/eww.el (eww-after-render-hook): New variable.
5122 (eww-render): Use it.
5123
5124 * net/shr.el (shr-descend): Don't descend further than
5125 `max-specpdl-size' allows (bug#16587).
5126 (shr-depth): New variable.
5127 (shr-warning): New variable.
5128
5129 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5130
5131 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5132 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5133
5134 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5135
5136 * net/eww.el (eww): Add comment to clarify.
5137
5138 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5139 external SVG images.
5140 (shr-tag-object): Display images in <object> forms (bug#16244).
5141 (shr-tag-table): Also insert <objects> after the tables.
5142
5143 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5144
5145 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5146
5147 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148
5149 * net/eww.el (eww-form-file): Fix version number.
5150
5151 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5152
5153 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5154
5155 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5156
5157 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5158 (eww-submit-file): New key map of file upload.
5159 (eww-form-file): New file upload button and file name context.
5160 (eww-select-file): Select file and display selected file name.
5161 (eww-tag-input): Handle input tag of file type.
5162 (eww-update-field): Add point offset.
5163 (eww-submit): Add submit with multipart/form-data.
5164
5165 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5166
5167 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5168 Allow taking a buffer to render data in. This allows using several
5169 eww buffers (bug#16211).
5170
5171 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5172
5173 * net/eww.el (eww-download-callback): Save only the file contents,
5174 not the headers.
5175
5176 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5177
5178 * net/eww.el (eww-data): New plist to store all the data relevant
5179 to a single page, used throughout the file instead of the
5180 variables `eww-current-url', `eww-current-dom',
5181 `eww-current-source', and `eww-current-title'.
5182 (eww-readable): Copy over pertinent data from the parent page.
5183 (eww-save-history): Don't let the history grow infinitely.
5184
5185 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5186 `eww-up-url', `eww-home-url', `eww-start-url' and
5187 `eww-contents-url' and put the data into the `eww-data' plist.
5188 This allow restoring these values after going back in the history.
5189
5190 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5191
5192 Allow VTIMEZONE where daylight and standard time zones are equal.
5193 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5194 * calendar/icalendar.el (icalendar--convert-tz-offset):
5195 Support timezone without daylight saving time.
5196
5197 2014-11-10 Glenn Morris <rgm@gnu.org>
5198
5199 * startup.el (command-line): Handle nil elements in load-path.
5200
5201 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * help.el (view-lossage): Include the actual commands run.
5204
5205 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5206
5207 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5208 no state is specified. (Bug#18964)
5209
5210 2014-11-09 Eric Ludlam <zappo@gnu.org>
5211
5212 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5213 Set eieio-cog (current group) to g, which is an improved form of input
5214 group.
5215
5216 2014-11-09 Juri Linkov <juri@jurta.org>
5217
5218 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5219 "Multi-buffer" instead of "Multi". (Bug#13592)
5220
5221 * misearch.el (multi-isearch-file-list):
5222 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5223 (multi-isearch-end): Reset multi-isearch-buffer-list and
5224 multi-isearch-file-list to nil.
5225
5226 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5229 Don't call byte-compile-preprocess since the result will go through
5230 cconv.
5231 (byte-compile-output-docform): Handle uninterned `name' correctly.
5232 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5233 to circumvent byte-compiler bug.
5234
5235 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5236 (macroexp--compiler-macro): Remove left-over debug code.
5237
5238 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5239
5240 2014-11-08 Juri Linkov <juri@jurta.org>
5241
5242 * simple.el (shell-command): Use buffer-name when output-buffer is
5243 a buffer. (Bug#18096)
5244
5245 2014-11-08 Juri Linkov <juri@jurta.org>
5246
5247 * minibuffer.el (minibuffer-completion-help): Compare this-command
5248 with completion-at-point. (Bug#17809)
5249
5250 2014-11-08 Glenn Morris <rgm@gnu.org>
5251
5252 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5253 Allow the argument to be a string. Due to the vague doc,
5254 it was already being used this way.
5255
5256 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5257
5258 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5259 the constructed Tramp file name. (Bug#18943)
5260
5261 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5264 (bug#18952).
5265 (cua-set-mark, cua--post-command-handler-1):
5266 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5267
5268 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5269
5270 * files.el (file-name-non-special): Wrap the call of
5271 `insert-file-contents' by `unwind-protect', in order to set the
5272 buffer's file name anyway. (Bug#18891)
5273
5274 2014-11-08 Alan Mackenzie <acm@muc.de>
5275
5276 Fix wrong bound to c-font-lock-declarators.
5277 * progmodes/cc-fonts.el (c-font-lock-declarations):
5278 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5279 the buffer is sometimes narrowed to less than "limit" (e.g., in
5280 the presence of macros). (Bug#18948)
5281
5282 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5283
5284 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5285 only when message appeared in minibuffer. (Bug#18891)
5286
5287 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5288 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5289 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5290 case of errors.
5291
5292 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5295 Don't compile before eval in `eval-and-compile'.
5296 (byte-compile-arglist-warn): Add check for defining macros after their
5297 first use. Check call use even if the function is fboundp.
5298
5299 2014-11-08 Richard Stallman <rms@gnu.org>
5300
5301 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5302 Check more carefully for mime-part specified character set.
5303 Check for mime-part Content Transfer Encoding.
5304 Notify if no armor found.
5305
5306 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5307
5308 * faces.el (face-set-after-frame-default): Enable running
5309 `window-configuration-change-hook'.
5310
5311 2014-11-07 Juri Linkov <juri@jurta.org>
5312
5313 * replace.el: History for query replace pairs.
5314 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5315 (query-replace-from-to-separator): New variable.
5316 (query-replace-read-from): Let-bind query-replace-from-to-history
5317 to a list of FROM-TO strings created from query-replace-defaults
5318 and separated by query-replace-from-to-separator. Use it as
5319 the history while reading from the minibuffer. Split the returned
5320 string by the separator to get FROM and TO parts, and add them
5321 to the history variables.
5322 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5323 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5324 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5325
5326 * isearch.el (isearch-text-char-description): Keep characters
5327 intact and put formatted strings with the `display' property.
5328
5329 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5330
5331 * cus-start.el (frame-resize-pixelwise): Fix group.
5332 (frame-inhibit-implied-resize): Add entry.
5333
5334 2014-11-07 Daiki Ueno <ueno@gnu.org>
5335
5336 * epa.el (epa-pinentry-mode): New user option.
5337 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5338 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5339 * epa-file.el (epa-file-insert-file-contents)
5340 (epa-file-write-region): Respect epa-pinentry-mode.
5341
5342 2014-11-07 Daiki Ueno <ueno@gnu.org>
5343
5344 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5345 (bug#18979). Reported by Hideki Saito.
5346
5347 2014-11-06 Daiki Ueno <ueno@gnu.org>
5348
5349 * emacs-lisp/package.el (package--display-verify-error): New function.
5350 (package--check-signature): Use it to display output sent to stderr.
5351
5352 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * subr.el (pop): Don't call the getter twice (bug#18968).
5355
5356 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5357 uses of `funcall'.
5358
5359 2014-11-06 Daiki Ueno <ueno@gnu.org>
5360
5361 * epa.el (epa-error-buffer): New variable.
5362 (epa-display-error): New function.
5363 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5364 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5365 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5366 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5367 Use setf instead of epg-context-set-*.
5368 * epa-file.el (epa-file-insert-file-contents):
5369 Use epa-display-error instead of epa-display-info. Mimic the behavior
5370 of jka-compr when decryption program is not found.
5371 (epa-file-write-region): Use epa-display-error instead of
5372 epa-display-info.
5373
5374 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * vc/vc.el (vc-region-history): New command.
5377 (vc-print-log-internal): Use cl-some.
5378
5379 * vc/vc-git.el (vc-git-region-history): New function.
5380 (vc-git-region-history-mode-map)
5381 (vc-git--log-view-long-font-lock-keywords)
5382 (vc-git-region-history-font-lock-keywords): New vars.
5383 (vc-git-region-history-font-lock): New function.
5384 (vc-git-region-history-mode): New major mode.
5385
5386 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5387
5388 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5389 uses string-trim.
5390
5391 2014-11-05 Daiki Ueno <ueno@gnu.org>
5392
5393 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5394 (epg-error-output): New buffer-local variable.
5395 (epg--start): Initialize epg-error-output.
5396 (epg--process-filter): Record output lines sent to stderr, in
5397 epg-error-output.
5398 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5399 slot of context.
5400 * epa-file.el (epa-file-insert-file-contents): On error, display
5401 output sent to stderr.
5402 (epa-file-write-region): Likewise.
5403
5404 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5405
5406 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5407 returned by load-average.
5408
5409 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5410
5411 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5412 a local copy; setting `inhibit-file-name-handlers' proper might be
5413 more performant. (Bug#18751)
5414
5415 2014-11-05 Glenn Morris <rgm@gnu.org>
5416
5417 * mail/emacsbug.el (report-emacs-bug): No longer include
5418 recent-keys in the report. (Bug#18900)
5419
5420 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5421
5422 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5423
5424 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5425
5426 * net/eww.el (eww): Trim URL with `string-trim'.
5427 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5428
5429 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5430
5431 * net/eww.el (eww-score-readability): Don't count comments positively.
5432
5433 * net/shr.el (shr-retransform-dom): Typo fix.
5434
5435 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5436 (eww-display-html): Don't leave point inside forms.
5437
5438 * net/shr.el: Ditto.
5439
5440 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5443 edebug-prin1-to-string already handles circularity.
5444
5445 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5446 autoloading when specified as a lambda.
5447
5448 * simple.el (execute-extended-command--last-typed): New var.
5449 (read-extended-command): Set it.
5450 Don't complete obsolete commands.
5451 (execute-extended-command--shorter-1)
5452 (execute-extended-command--shorter): New functions.
5453 (execute-extended-command): Use them to suggest shorter names.
5454 (indicate-copied-region, deactivate-mark): Use region-active-p.
5455
5456 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5457
5458 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5459 local copy of FILENAME, when it is remote. (Bug#18751)
5460
5461 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5462 an error when the command fails; the return code must indicate.
5463 (tramp-adb-send-command-and-check): Fix docstring.
5464
5465 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5466
5467 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5468 have no children like <br />.
5469
5470 * net/eww.el (eww-display-html): Clear `url-queue'.
5471 (eww-display-pdf): New function.
5472 (eww-render): Display PDFs with `doc-view'.
5473 (url-queue): Require `url-queue' to avoid compilation warning.
5474 (eww-colorize-region): Remove duplicate function.
5475 (eww-tag-body): Use `shr-colorize-region'.
5476
5477 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5478
5479 * net/eww.el (eww-list-bookmarks): Autoload.
5480
5481 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5482
5483 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5484
5485 * net/eww.el (eww-display-html): The charset is called `utf-8',
5486 not `utf8'.
5487 (eww-readable): Decode the saved text correctly.
5488 (eww-readable): Save the history before displaying so that we can
5489 go back to the non-readable version.
5490 (eww-display-html): Don't try to decode the text if we've been
5491 passed in a pre-parsed DOM.
5492 (eww-tag-title): Remove newlines and extra whitespace from the
5493 displayed title.
5494
5495 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5496
5497 * net/eww.el (eww-readable): New command and keystroke.
5498
5499 * net/shr.el (shr-retransform-dom): New function.
5500
5501 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5502 correct buffer.
5503 (eww-view-source): Use it.
5504
5505 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5506
5507 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5508 (Bug#18603).
5509
5510 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5511
5512 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5513
5514 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5515
5516 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5517
5518 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5519
5520 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5521 (Bug#18834).
5522
5523 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5524
5525 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5526 use as advice.
5527 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5528
5529 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5532 (bug#18821).
5533 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5534
5535 2014-11-01 Michael R. Mauger <michael@mauger.com>
5536
5537 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5538 syntax, add new keywords, and parse longer keywords first.
5539 (sql-redirect-one): Protect against empty command.
5540 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5541 to SQL. (Bug#14759)
5542
5543 2014-11-01 Michael R. Mauger <michael@mauger.com>
5544
5545 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5546 Bug#16814 with let-bind of comint-input-ring variables around read
5547 and save functions.
5548
5549 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5550
5551 * net/tramp-cache.el (tramp-get-file-property)
5552 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5553 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5554 be compiler warnings.
5555
5556 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5557 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5558
5559 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5560
5561 * progmodes/compile.el (compilation-mode): Turn off deferred
5562 fontifications locally. (Bug#18856)
5563
5564 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5565
5566 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5567 remote-echo connection property is non-nil (bug#18858).
5568
5569 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * simple.el (newline): Add assertions to try and help catch bug#18913.
5572
5573 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5574 (bug#18886).
5575 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5576
5577 2014-11-01 Kim F. Storm <storm@cua.dk>
5578
5579 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5580 * delsel.el (delete-selection-save-to-register)
5581 (delsel--replace-text-or-position): New vars.
5582 (delete-active-region): Use them.
5583 (delete-selection-repeat-replace-region): New command, moved from
5584 cua-base.el.
5585 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5586 (cua-repeat-replace-region): Move command to delsel.el.
5587 (cua--init-keymaps): Update binding accordingly.
5588 (cua-mode): Set delete-selection-save-to-register.
5589
5590 2014-11-01 Alan Mackenzie <acm@muc.de>
5591
5592 Make blink-parens work with a closing template delimiter.
5593 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5594 before calling blink-paren-function, so as to apply syntax-table
5595 properties to the ">".
5596
5597 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5598
5599 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5600
5601 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5604 (macroexp--expand-all): Unrelated tweaks.
5605
5606 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5607
5608 2014-10-30 Glenn Morris <rgm@gnu.org>
5609
5610 * startup.el (command-line): Remove pointless attempt to avoid
5611 statting the file-system (which expand-file-name doesn't do).
5612
5613 2014-10-30 Daniel Colascione <dancol@dancol.org>
5614
5615 Add "enum class" support to C++ mode.
5616 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5617 (c-after-brace-list-key): New language consts/variables.
5618 * progmodes/cc-engine.el (c-looking-at-decl-block):
5619 Exclude spurious match of "enum struct" from decl-block recognition.
5620 (c-backward-colon-prefixed-type): New function.
5621 (c-backward-over-enum-header): Call above function to extend
5622 recognition of enum structure.
5623
5624 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5627 (c-lang-defconst):
5628 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5629
5630 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5631
5632 * progmodes/compile.el (compilation-start):
5633 If compilation-scroll-output is non-nil, don't force window-start of
5634 the compilation buffer to be at beginning of buffer. (Bug#18874)
5635
5636 * startup.el (fancy-about-text): Read the entire tutorial, not
5637 just its first 256 bytes. (Bug#18760)
5638
5639 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5642 * emacs-lisp/cl-extra.el: Add missing provide.
5643
5644 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5645 all args are copyable (bug#18767).
5646 (=, <, >, <=, >=): Re-enable the optimization.
5647
5648 2014-10-29 Glenn Morris <rgm@gnu.org>
5649
5650 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5651
5652 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5653 Revert 2014-10-26 change.
5654
5655 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5656
5657 Simplify use of current-time and friends.
5658 * allout-widgets.el (allout-widgets-hook-error-handler):
5659 * calendar/appt.el (appt-display-message):
5660 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5661 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5662 (timeclock-last-period, timeclock-day-base):
5663 * eshell/em-ls.el (eshell-ls-file):
5664 * eshell/esh-util.el (eshell-parse-ange-ls):
5665 * generic-x.el (named-database-print-serial):
5666 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5667 (newsticker-get-news, newsticker--sentinel-work)
5668 (newsticker--image-get, newsticker--image-sentinel):
5669 * net/tramp-sh.el (tramp-get-remote-touch):
5670 * progmodes/opascal.el (opascal-debug-log):
5671 * textmodes/remember.el (remember-mail-date)
5672 (remember-store-in-files):
5673 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5674 (vc-default-annotate-current-time):
5675 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5676 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5677 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5678 Omit unnecessary call to current-time.
5679 * calendar/time-date.el (time-to-seconds) [!float-time]:
5680 * vc/vc-annotate.el (vc-annotate-convert-time):
5681 Use current time if arg is nil, to be compatible with float-time.
5682 (time-date--day-in-year): New function, with most of the guts of
5683 the old time-to-day-in-year.
5684 (time-to-day-in-year): Use it.
5685 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5686 * calendar/timeclock.el (timeclock-time-to-date):
5687 Arg is now optional, like current-time-string.
5688 (timeclock-update-mode-line):
5689 Don't call current-time twice to get the current time stamp,
5690 as this can lead to inconsistent results.
5691 * completion.el (cmpl-hours-since-origin):
5692 * ido.el (ido-time-stamp):
5693 * vc/vc-annotate.el (vc-annotate-convert-time):
5694 Simplify by using float-time.
5695 * completion.el (save-completions-to-file):
5696 Rename local var to avoid confusion.
5697 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5698 time-to-seconds now behaves like float-time with respect to nil arg.
5699 * subr.el (progress-reporter-do-update):
5700 Don't call float-time unless needed.
5701
5702 2014-10-29 Leo Liu <sdl.web@gmail.com>
5703
5704 * net/rcirc.el (rcirc-fill-column): Use function.
5705 (rcirc-markup-fill): Remove adjustment.
5706
5707 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5708
5709 * calc/calc.el (quick-calc):
5710 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5711
5712 2014-10-28 Sam Steingold <sds@gnu.org>
5713
5714 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5715 the sake of `window-body-width' (in addition to `frame-width').
5716
5717 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5718
5719 * version.el: Fix some fallback values to conform to the actual
5720 release number.
5721
5722 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5723
5724 * Makefile.in: Change some production names so they're neutral
5725 about the repository type.
5726
5727 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5728
5729 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5730 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5731 during initialization. (Bug#18774)
5732
5733 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5734
5735 * ses.el (macroexp): Add require for this package, so that
5736 function `ses--cell' gets macroexp-quote --- this change was
5737 supposed to be in my previous commit, but left out by mistake.
5738 (ses--cell): Do not make formula a macroexp-quote of value when
5739 value, not formula, is *skip*.
5740
5741 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5742
5743 * ses.el (macroexp): Add require for this package, so that function
5744 `ses--cell gets macroexp-quote.
5745 (ses--cell): Makes formula a macroexp-quote of value when formula
5746 is nil. The rationale of this changr is to allow in the future
5747 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5748 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5749 reference list REFLIST would be re-computed after load --- thus
5750 trading off load time against file size.
5751
5752 * emacs-lisp/package.el (package--alist-to-plist-args):
5753 Use macroexp-quote instead of a lambda expression which has the same
5754 content as macroexp-quote.
5755 (macroexp): Add require for this package, so that function
5756 `package--alist-to-plist-args' gets macroexp-quote.
5757
5758 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5759
5760 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * term/ns-win.el (ns-store-cut-buffer-internal)
5763 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5764
5765 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5766
5767 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5768 Calculate increment from last position instead of window edge.
5769 Add right- and bottom-divider bindings to transient map.
5770
5771 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5774 even if :predicate was nil, for the benefit of typep.
5775 Record the name of the predicate for typep's use.
5776 (cl--make-type-test): Use pcase. Obey new
5777 cl-deftype-satisfies property.
5778
5779 * epg.el: Use cl-defstruct.
5780 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5781 (epg-data-string): Define via cl-defstruct.
5782 (epg--gv-nreverse): New macro.
5783 (epg-context--make): New constructor (provided vi cl-defstruct).
5784 (epg-make-context): Rewrite using it.
5785 (epg-context-protocol, epg-context-program)
5786 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5787 (epg-context-include-certs, epg-context-cipher-algorithm)
5788 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5789 (epg-context-passphrase-callback, epg-context-progress-callback)
5790 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5791 (epg-context-output-file, epg-context-result, epg-context-operation)
5792 (epg-context-pinentry-mode): Define using cl-defstruct.
5793 (epg-context-set-protocol, epg-context-set-program)
5794 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5795 (epg-context-set-digest-algorithm)
5796 (epg-context-set-sig-notations, epg-context-set-process)
5797 (epg-context-set-output-file, epg-context-set-result)
5798 (epg-context-set-operation, epg-context-set-pinentry-mode)
5799 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5800 (epg-context-set-armor, epg-context-set-textmode)
5801 (epg-context-set-signers): Redefine using setf
5802 and declare as obsolete.
5803 (epg-context-set-passphrase-callback)
5804 (epg-context-set-progress-callback): Use setf.
5805 (epg-signature-notations): Rename from epg-sig-notations.
5806 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5807 (epg-signature-validity, epg-signature-fingerprint)
5808 (epg-signature-creation-time, epg-signature-expiration-time)
5809 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5810 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5811 (epg-signature-set-status, epg-signature-set-key-id)
5812 (epg-signature-set-validity, epg-signature-set-fingerprint)
5813 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5814 (epg-signature-set-pubkey-algorithm)
5815 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5816 (epg-signature-set-version, epg-signature-set-notations): Remove.
5817 Use setf instead.
5818 (epg-make-new-signature, epg-new-signature-type)
5819 (epg-new-signature-pubkey-algorithm)
5820 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5821 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5822 Define using cl-defstruct.
5823 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5824 (epg-key-user-id-list): Define using cl-defstruct.
5825 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5826 Use setf instead.
5827 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5828 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5829 (epg-sub-key-id, epg-sub-key-creation-time)
5830 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5831 cl-defstruct.
5832 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5833 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5834 (epg-user-id-signature-list): Define using cl-defstruct.
5835 (epg-user-id-set-signature-list): Remove. Use setf instead.
5836 (epg-make-key-signature, epg-key-signature-validity)
5837 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5838 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5839 (epg-key-signature-user-id, epg-key-signature-class)
5840 (epg-key-signature-exportable-p): Define using cl-defstruct.
5841 (epg-make-sig-notation, epg-sig-notation-name)
5842 (epg-sig-notation-value, epg-sig-notation-human-readable)
5843 (epg-sig-notation-critical): Define using cl-defstruct.
5844 (epg-sig-notation-set-value): Remove. Use setf instead.
5845 (epg-make-import-status, epg-import-status-fingerprint)
5846 (epg-import-status-reason, epg-import-status-new)
5847 (epg-import-status-user-id, epg-import-status-signature)
5848 (epg-import-status-sub-key, epg-import-status-secret): Define using
5849 cl-defstruct.
5850 (epg-make-import-result, epg-import-result-considered)
5851 (epg-import-result-no-user-id, epg-import-result-imported)
5852 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5853 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5854 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5855 (epg-import-result-secret-read, epg-import-result-secret-imported)
5856 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5857 (epg-import-result-imports): Define using cl-defstruct.
5858
5859 * emacs-lisp/package.el: Require EPG during macroexpansion.
5860 (package--check-signature, package-import-keyring): Use setf instead of
5861 epg-context-set-home-directory.
5862
5863 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5866
5867 2014-10-23 Leo Liu <sdl.web@gmail.com>
5868
5869 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5870 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5871 (cfengine3-current-defun): New function.
5872 (cfengine3-mode): Set add-log-current-defun-function.
5873
5874 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5875
5876 * select.el: Use lexical-binding.
5877 (gui-set-selection): Provide an implementation for non-GUI frames
5878 (bug#18791).
5879 * term/x-win.el: Use lexical-binding.
5880 (x-clipboard-yank): Fix up missed renamings.
5881 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5882 (w32--set-selection): Fix up var names.
5883 * term/pc-win.el: Use lexical-binding.
5884 (w16-selection-exists-p): Silence compiler warning.
5885 (w16-selection-owner-p): Fix up missed renamings.
5886
5887 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5888
5889 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5890
5891 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5892
5893 * doc-view.el (doc-view-open-text): View the document's plain text
5894 in the current buffer instead of a new one.
5895 (doc-view-toggle-display): Handle the case where the current
5896 buffer contains the plain text contents of the document.
5897 (doc-view-initiate-display): Don't switch to fallback mode if the
5898 user wants to view the doc's plain text.
5899 (doc-view-set-doc-type): Use assoc-string instead of
5900 assoc-ignore-case.
5901
5902 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * subr.el (read-key): Fix clicks on the mode-line.
5905 (set-transient-map): Return exit function.
5906
5907 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5908 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5909 (mouse-yank-secondary): Use gui-get-selection.
5910 (mouse--down-1-maybe-follows-link): Use read-key.
5911
5912 * xt-mouse.el: Add `event-kind' property on the fly from
5913 xterm-mouse-translate-1 rather than statically at the outset.
5914
5915 2014-10-21 Daniel Colascione <dancol@dancol.org>
5916
5917 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5918 change window configuration when we turn it off.
5919
5920 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 Get rid of backend-dependent selection-handling functions for kill/yank
5923 and make it generic instead by relying on the lower-level selection
5924 management functions.
5925
5926 * select.el (select-enable-clipboard): Rename from
5927 gui-select-enable-clipboard.
5928 (select-enable-primary): Move from x-win.el and rename from
5929 x-select-enable-primary.
5930 (gui-last-selected-text): Remove.
5931 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5932 New vars.
5933 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5934 (gui-select-text-alist, gui-selection-value-alist): Remove.
5935 (x-select-request-type): Move from x-win.el.
5936 (gui--selection-value-internal): New function, taken from x-win's
5937 x-selection-value-internal.
5938 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5939 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5940 extend it to handle a nil value as a "disown" request.
5941 (gui-disown-selection-alist): Remove.
5942 (xselect-convert-to-delete): Adjust accordingly.
5943 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5944
5945 * term/x-win.el (x-last-selected-text-primary)
5946 (x-select-enable-primary): Remove (moved to select.el).
5947 (x-select-request-type): Move to select.el.
5948 (x-selection-value-internal, x--selection-value): Remove functions.
5949 (gui-selection-value, gui-select-text): Remove moethods.
5950 (gui-set-selection): Merge own and disown methods.
5951
5952 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5953 Delete function (move functionality into w32--set-selection and
5954 w32--get-selection).
5955 (gui-select-text, gui-selection-value): Don't define methods.
5956 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5957 New functions.
5958 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5959 Use them.
5960 (gui-selection-exists-p): Adjust to new name of C primitive.
5961
5962 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5963 test of gui-select-enable-clipboard, to make it usable as
5964 a gui-get-selection method.
5965 (gui-selection-exists-p): Adjust to new name of C primitive.
5966 (gui-set-selection): Merge own and disown methods.
5967 (gui-select-text, gui-selection-value): Delete methods.
5968 (w16--select-text): Delete function.
5969
5970 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5971 (ns-selection-value): Remove functions.
5972 (gui-select-text, gui-selection-value): Don't define method any more.
5973 (gui-set-selection): Merge the old own and disown methods.
5974 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5975 underlying C primitive.
5976
5977 * startup.el (command-line): Adjust now that `gui-method' expects nil
5978 for ttys.
5979
5980 * frame.el (gui-method): Use window-system rather than framep.
5981 (gui-method-declare): The tty case is now nil rather than t.
5982 (make-frame): Adjust accordingly.
5983
5984 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * net/newst-reader.el (newsticker--image-read): Simplify.
5987 (newsticker--icon-read): Use dolist and fix free var error.
5988
5989 * imenu.el (imenu--menubar-keymap): New var.
5990 (imenu-add-to-menubar): Set it to remember the keymap we used.
5991 (imenu-update-menubar): Use it instead of asking lookup-key.
5992
5993 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5994
5995 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5996
5997 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5998 case (bug#18767).
5999
6000 2014-10-21 Glenn Morris <rgm@gnu.org>
6001
6002 * Merge in all changes up to version 24.4 release.
6003
6004 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6007 case (bug#18767).
6008
6009 2014-10-20 Glenn Morris <rgm@gnu.org>
6010
6011 * Merge in all changes up to 24.4 release.
6012
6013 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6014
6015 * net/newst-backend.el
6016 (newsticker--image-download-by-url-callback): Make this function
6017 actually work: Check status properly, then save image.
6018
6019 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6022 `this-event'.
6023 (mouse-drag-line): Unless there's no actual mouse, use the event's
6024 position info.
6025
6026 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * textmodes/css-mode.el (scss-mode): New major-mode.
6029 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6030 (css-ident-re): Allow things like @-moz-keyframes.
6031 (scss--hash-re): New const.
6032 (css--font-lock-keywords): New function, extracted from
6033 css-font-lock-keywords.
6034
6035 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6036
6037 * net/newst-backend.el: Require url-parse.
6038 (newsticker--get-news-by-wget): Store feed name as process property.
6039 (newsticker--sentinel): Read feed name from process property.
6040 (newsticker--sentinel-work): Rename argument name to feed-name.
6041 Rename variable imageurl to image-url. Pick icon url from Atom
6042 1.0 data. Launch download of feed icon.
6043 (newsticker--get-icon-url-atom-1.0): New.
6044 (newsticker--unxml)
6045 (newsticker--unxml-node)
6046 (newsticker--unxml-attribute): Documentation.
6047 (newsticker--icons-dir): New.
6048 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6049 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6050 (newsticker--image-download-by-wget): New. Use process properties
6051 for storing informations.
6052 (newsticker--image-sentinel): Read informations from process properties.
6053 (newsticker--image-save)
6054 (newsticker--image-remove)
6055 (newsticker--image-download-by-url)
6056 (newsticker--image-download-by-url-callback): New.
6057 (newsticker-opml-export): Handle url list entries containing a
6058 function instead of an url string.
6059
6060 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6061 (newsticker--print-extra-elements)
6062 (newsticker--do-print-extra-element):
6063 Documentation (newsticker--image-read): Optionally limit image height.
6064 Use imagemagick if possible.
6065 (newsticker--icon-read): New.
6066
6067 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6068 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6069 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6070 (newsticker--tree-widget-leaf-icon): Use feed icon.
6071
6072 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6075 Use help-function-arglist instead.
6076
6077 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6078 (eieio--with-scoped-class): Use `declare'.
6079 (eieio-defclass): Remove compatibility code.
6080 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6081 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6082
6083 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6084
6085 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6086
6087 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6088 replacements to stock names before stock names in a list.
6089 Cdr may be a list, each name is tried in turn until one is found.
6090
6091 2014-10-18 Alan Mackenzie <acm@muc.de>
6092
6093 Check that a "macro" found near point-min isn't a ## operator.
6094 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6095 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6096
6097 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6098
6099 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6100 correct data to `gnutls-boot' (Bug#18664).
6101 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6102
6103 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6104
6105 * whitespace.el (whitespace-style, whitespace-big-indent)
6106 (whitespace-big-indent-regexp, whitespace-style-value-list)
6107 (whitespace-toggle-option-alist, whitespace-interactive-char)
6108 (whitespace-toggle-options)
6109 (global-whitespace-toggle-options, whitespace-help-text)
6110 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6111 style to `whitespace-mode' to indicate that the line indentation
6112 is too deep. By default, 32 SPACEs or four TABs are considered
6113 too many but `whitespace-big-indent-regexp' can be configured.
6114
6115 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6116
6117 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6118 tildify-mode-alist.
6119
6120 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6123 (defclass, defgeneric, defmethod): Add doc-string position.
6124 (with-slots): Require cl-lib.
6125
6126 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6127 (list-of): New type.
6128 (eieio--typep): Remove.
6129 (eieio-perform-slot-validation): Use cl-typep instead.
6130
6131 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6132
6133 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6134
6135 2014-10-16 Alan Mackenzie <acm@muc.de>
6136
6137 Trigger showing when point is in the "periphery" of a line or just
6138 inside a paren.
6139 * paren.el (show-paren-style, show-paren-delay)
6140 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6141 Remove superfluous :group specifications.
6142 (show-paren-when-point-inside-paren)
6143 (show-paren-when-point-in-periphery): New customizable variables.
6144 (show-paren-highlight-openparen): Make into a defcustom.
6145 (show-paren--unescaped-p, show-paren--categorize-paren)
6146 (show-paren--locate-near-paren): New defuns.
6147 (show-paren--default): Refaactor and trigger on more paren
6148 positions.
6149 (show-paren-function): Small consequential changes.
6150
6151 2014-10-16 Tom Tromey <tom@tromey.com>
6152
6153 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6154 (bug #18719).
6155
6156 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6157
6158 * international/characters.el (bracket-type): Force pre-loading of
6159 uni-brackets.el.
6160
6161 2014-10-16 Alan Mackenzie <acm@muc.de>
6162
6163 * cus-edit.el (custom-command-apply): Specify the return value in
6164 the doc string.
6165 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6166 custom-command-apply has returned non-nil.
6167
6168 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6171 Remove incorrect handling of eldoc-print-after-edit.
6172 (eldoc-message-commands, eldoc-last-data): Use defvar.
6173 * loadup.el (emacs-lisp/eldoc): Load it.
6174
6175 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6176 (m4-mode): Use it.
6177 (m4--quoted-p): New function.
6178 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6179 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6180 for most special characters.
6181
6182 * progmodes/compile.el (compilation--previous-directory): Simplify.
6183 (compilation-next-error): Ensure the parse before we look at
6184 compilation-message property.
6185
6186 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6187
6188 * simple.el (what-cursor-position):
6189 * descr-text.el (describe-char): Update to support the new bidi
6190 characters.
6191
6192 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6193 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6194 buffer-menu display when the first buffer happens to start with
6195 R2L letter.
6196
6197 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * progmodes/elisp-mode.el (elisp--local-variables-1):
6200 Handle quoted expressions (bug#18688).
6201
6202 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6203 Michael Albinus <michael.albinus@gmx.de>
6204
6205 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6206 Reduce the amount of set environment variable commands.
6207
6208 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6209
6210 Fix import completion. (Bug#18582)
6211 * progmodes/python.el (python-shell-completion-get-completions):
6212 Fix import case regexp.
6213
6214 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6217 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6218 * progmodes/prolog.el (prolog-electric--underscore): Same.
6219
6220 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6221
6222 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6223
6224 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6225
6226 * cus-start.el (all): Add missing ns and boolean to
6227 ns-use-fullscreen-animation.
6228
6229 2014-10-11 Leo Liu <sdl.web@gmail.com>
6230
6231 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6232 Use strings.
6233 (cfengine3-create-imenu-index): New function.
6234 (cfengine3-mode): Use it for `imenu-create-index-function'.
6235 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6236 buffer is empty.
6237
6238 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6239
6240 * cus-start.el (all): Add ns-use-fullscreen-animation.
6241
6242 2014-10-11 Glenn Morris <rgm@gnu.org>
6243
6244 * calendar/diary-lib.el (diary-display-function):
6245 Drop support for deprecated nil and list forms.
6246 (diary-list-entries): Update for the above.
6247 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6248
6249 2014-10-10 Leo Liu <sdl.web@gmail.com>
6250
6251 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6252 (Bug#18656)
6253
6254 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * select.el (gui-selection-exists-p-alist): New method.
6257 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6258 * simple.el (deactivate-mark): Use it.
6259 * term/x-win.el (gui-selection-exists-p):
6260 * term/w32-win.el (gui-selection-exists-p):
6261 * term/pc-win.el (gui-selection-exists-p):
6262 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6263
6264 2014-10-10 Glenn Morris <rgm@gnu.org>
6265
6266 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6267 Fix :type. Allow t to mean no limit.
6268 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6269
6270 2014-10-09 Glenn Morris <rgm@gnu.org>
6271
6272 * frame.el (display-monitor-attributes-list): Doc tweaks.
6273
6274 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6275
6276 * faces.el (display-grayscale-p): Mention in the doc string that
6277 the argument can be either a display name or a frame.
6278
6279 * frame.el (display-pixel-height, display-pixel-width)
6280 (display-mm-height, display-mm-width, display-backing-store)
6281 (display-save-under, display-planes, display-color-cells)
6282 (display-visual-class, display-monitor-attributes-list)
6283 (display-screens): Mention in the doc string that the argument can
6284 be either a display name or a frame. Improve the docs of the
6285 monitor attributes. (Bug#18636)
6286
6287 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6288
6289 * term.el (term-window-width): Subtract 1 from the width when
6290 any fringe has zero width, not just the right fringe. (Bug#18601)
6291
6292 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6295
6296 2014-10-08 Leo Liu <sdl.web@gmail.com>
6297
6298 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6299
6300 2014-10-08 Glenn Morris <rgm@gnu.org>
6301
6302 * calendar/cal-x.el (calendar-dedicate-diary):
6303 Drop support for recently deleted aliases.
6304
6305 2014-10-08 Leo Liu <sdl.web@gmail.com>
6306
6307 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6308 Always return a syntax. Replace call-process-shell-command with
6309 process-file. Ensure cfengine-mode-syntax-functions-regex is
6310 always set. Ensure cache when cfengine-cf-promises fails.
6311 (Bug#18620)
6312
6313 2014-10-07 Glenn Morris <rgm@gnu.org>
6314
6315 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6316
6317 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6318
6319 Sync with upstream verilog-mode revision c075a492.
6320 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6321 (verilog-menu): Add AUTOINSERTLAST.
6322 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6323 is nil, fix indenting initial/final to match always statements, bug825.
6324 Reported by Tim Clapp.
6325 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6326 bug557. Reported by ZeDong Mao and Jason Forkey.
6327 (verilog-read-decls): Fix parsing typed interfaces.
6328 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6329 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6330 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6331 Reported by Pierre-David Pfister.
6332 (verilog-auto-insert-lisp): Doc fix.
6333 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6334 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6335 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6336 (verilog-sk-uvm-component): Fix missing string keyword in class
6337 skeletons, bug824. Reported by eldad faruhi.
6338
6339 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * term/w32-win.el: Move all code from 32-common-fns.el here.
6342 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6343 console as well (bug#18629).
6344 * w32-common-fns.el: Remove.
6345 * loadup.el: Don't load w32-common-fns.el.
6346 * w32-fns.elc: Don't require w32-common-fns.
6347
6348 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6349 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6350 Remove redundant obsolescence thingy.
6351 * loadup.el: Don't load obsolete/loaddefs.el.
6352 * Makefile.in (obsolete-autoloads): Remove.
6353 (AUTOGENEL): Remove obsolete/loaddefs.el.
6354
6355 2014-10-06 Glenn Morris <rgm@gnu.org>
6356
6357 * Makefile.in (obsolete-autoloads): Write to a separate file,
6358 to workaround autoloads bug. (Bug#17407)
6359 (AUTOGENEL): Add obsolete/loaddefs.el.
6360 * loadup.el: Load obsolete/loaddefs.el if present.
6361 * subr.el (do-after-load-evaluation):
6362 Don't warn about obsolete/loaddefs.el.
6363
6364 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6365 It has zero relationship to a game.
6366
6367 2014-10-06 Leo Liu <sdl.web@gmail.com>
6368
6369 * imenu.el (imenu): Re-write for clarity.
6370
6371 2014-10-06 Glenn Morris <rgm@gnu.org>
6372
6373 Remove calendar code obsolete since at least version 23.1.
6374 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6375 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6376 (calendar-goto-bahai-date, list-bahai-diary-entries)
6377 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6378 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6379 (insert-yearly-bahai-diary-entry):
6380 * calendar/cal-china.el (chinese-calendar-time-zone)
6381 (chinese-calendar-location-name)
6382 (chinese-calendar-daylight-time-offset)
6383 (chinese-calendar-standard-time-zone-name)
6384 (chinese-calendar-daylight-time-zone-name)
6385 (chinese-calendar-daylight-savings-starts)
6386 (chinese-calendar-daylight-savings-ends)
6387 (chinese-calendar-daylight-savings-starts-time)
6388 (chinese-calendar-daylight-savings-ends-time)
6389 (chinese-calendar-celestial-stem)
6390 (chinese-calendar-terrestrial-branch)
6391 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6392 (calendar-goto-chinese-date):
6393 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6394 (calendar-print-coptic-date, coptic-prompt-for-date)
6395 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6396 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6397 * calendar/cal-french.el (calendar-absolute-from-french)
6398 (calendar-print-french-date, calendar-goto-french-date):
6399 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6400 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6401 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6402 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6403 (holiday-passover-etc, holiday-tisha-b-av-etc)
6404 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6405 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6406 (insert-monthly-hebrew-diary-entry)
6407 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6408 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6409 (diary-sabbath-candles):
6410 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6411 (calendar-print-islamic-date, calendar-goto-islamic-date)
6412 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6413 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6414 (insert-monthly-islamic-diary-entry)
6415 (insert-yearly-islamic-diary-entry):
6416 * calendar/cal-iso.el (calendar-absolute-from-iso)
6417 (calendar-print-iso-date, calendar-iso-read-args)
6418 (calendar-goto-iso-date, calendar-goto-iso-week):
6419 * calendar/cal-julian.el (calendar-absolute-from-julian)
6420 (calendar-print-julian-date, calendar-goto-julian-date)
6421 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6422 (calendar-goto-astro-day-number):
6423 * calendar/cal-mayan.el (calendar-print-mayan-date)
6424 (calendar-next-haab-date, calendar-previous-haab-date)
6425 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6426 (calendar-next-calendar-round-date)
6427 (calendar-previous-calendar-round-date)
6428 (calendar-absolute-from-mayan-long-count)
6429 (calendar-goto-mayan-long-count-date):
6430 * calendar/cal-move.el (scroll-calendar-left)
6431 (scroll-calendar-right, scroll-calendar-left-three-months)
6432 (scroll-calendar-right-three-months):
6433 * calendar/cal-persia.el (calendar-absolute-from-persian)
6434 (calendar-print-persian-date, persian-prompt-for-date)
6435 (calendar-goto-persian-date):
6436 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6437 * calendar/calendar.el (view-diary-entries-initially)
6438 (mark-diary-entries-in-calendar, calendar-today-face)
6439 (diary-face, holiday-face, view-calendar-holidays-initially)
6440 (mark-holidays-in-calendar, initial-calendar-window-hook)
6441 (today-visible-calendar-hook, today-invisible-calendar-hook)
6442 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6443 (bahai-diary-entry-symbol, american-date-diary-pattern)
6444 (european-date-diary-pattern, european-calendar-display-form)
6445 (american-calendar-display-form, holidays-in-diary-buffer)
6446 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6447 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6448 (fancy-diary-buffer, increment-calendar-month)
6449 (extract-calendar-month, extract-calendar-day)
6450 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6451 (mark-visible-calendar-date, calendar-version):
6452 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6453 (diary-display-hook, list-diary-entries-hook)
6454 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6455 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6456 (abbreviated-calendar-year, number-of-diary-entries)
6457 (view-other-diary-entries, add-to-diary-list)
6458 (include-other-diary-files, simple-diary-display)
6459 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6460 (mark-sexp-diary-entries, mark-included-diary-files)
6461 (mark-calendar-days-named, mark-calendar-month)
6462 (mark-calendar-date-pattern, sort-diary-entries)
6463 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6464 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6465 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6466 (insert-block-diary-entry, insert-cyclic-diary-entry)
6467 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6468 * calendar/holidays.el (general-holidays, oriental-holidays)
6469 (local-holidays, other-holidays, hebrew-holidays)
6470 (christian-holidays, islamic-holidays, bahai-holidays)
6471 (solar-holidays, list-calendar-holidays)
6472 (check-calendar-holidays, mark-calendar-holidays)
6473 (filter-visible-calendar-holidays):
6474 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6475 (diary-phases-of-moon): Remove obsolete aliases.
6476 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6477 * calendar/cal-x.el (calendar-one-frame-setup)
6478 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6479 Remove obsolete functions.
6480 (cal-x-load-hook): Remove obsolete hook.
6481 * calendar/calendar.el (european-calendar-style):
6482 Remove obsolete variable.
6483 (calendar-date-style): No longer consult european-calendar-style.
6484 * calendar/calendar.el (european-calendar, american-calendar):
6485 Remove obsolete commands.
6486 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6487 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6488 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6489 Use the face `diary' instead of the variable `diary-face'.
6490 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6491 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6492 * calendar/icalendar.el (icalendar--date-style): Remove function.
6493 Replace all uses with calendar-date-style.
6494 * textmodes/remember.el (calendar-date-style): Declare.
6495 (remember-diary-convert-entry):
6496 No longer consult european-calendar-style.
6497
6498 2014-10-05 Leo Liu <sdl.web@gmail.com>
6499
6500 * imenu.el (imenu-default-goto-function): Fix typo.
6501
6502 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6503
6504 * net/ntlm.el (ntlm-build-auth-request):
6505 Add NTLM2 Session support. (Bug#15603)
6506
6507 2014-10-04 Glenn Morris <rgm@gnu.org>
6508
6509 * apropos.el (apropos-symbols-internal):
6510 Avoid error with non-symbol properties. (Bug#18337#16)
6511
6512 * startup.el (command-line):
6513 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6514
6515 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6516
6517 * window.el (window-full-height-p): Make it behave correctly for
6518 minibuffer window.
6519 (window-current-scroll-bars): Fix code.
6520 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6521 window-scroll-bars.
6522 * frame.el (frame-current-scroll-bars): Fix doc-string.
6523 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6524
6525 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6526
6527 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6528
6529 2014-10-04 Glenn Morris <rgm@gnu.org>
6530
6531 * frame.el (frame-monitor-attributes)
6532 (display-monitor-attributes-list): Doc fixes.
6533
6534 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 Merge trivially safe differences from standalone CC-mode.
6537 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6538 just to then pass it to `symbol-value'.
6539 (prog-mode): Provide fallback definition, if needed.
6540 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6541 Remove "cl-" prefix accordingly.
6542 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6543 characterp depending on the type of characters.
6544 (c-font-lock-enum-tail): Remove unused var `start'.
6545 * progmodes/cc-engine.el: Load CL at compile-time.
6546 (c-declare-lang-variables): Use mapcan.
6547 (c-append-to-state-cache): Remove unused var `ce+1'.
6548 (c-parse-state-state): Make buffer-local.
6549 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6550 (c-just-after-func-arglist-p): Remove unused var `end'.
6551 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6552 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6553 (c-make-keywords-re): Use delete-dups.
6554 (c-get-current-file): Avoid file-name-base.
6555 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6556 `close-paren-inserted'.
6557 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6558
6559 * progmodes/python.el: Avoid building unneeded markers.
6560 (python-font-lock-keywords, python-indent-dedent-line)
6561 (python-fill-paren, python-shell-completion-complete-or-indent):
6562 Prefer point over point-marker.
6563 (inferior-python-mode): Remove redundant completion settings.
6564
6565 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6566
6567 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6568 (vc-svn-ignore): Use it. (Bug#18619)
6569
6570 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6571
6572 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6573 In doc-string mention need to set `frame-resize-pixelwise'.
6574
6575 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6578 similarly to Rogers's 2010-06-16 change for the remote case
6579 (bug#18605).
6580
6581 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 New gui-selection-value consolidating x-selection-value.
6584 * select.el (gui-selection-value-alist): New method.
6585 (gui-selection-value): New function.
6586 (x-selection-value): Make it an obsolete alias.
6587 * simple.el (interprogram-paste-function): Default to
6588 gui-selection-value.
6589 * w32-common-fns.el (w32-get-selection-value): Simplify.
6590 (x-selection-value): Remove alias.
6591 (interprogram-paste-function): Don't set.
6592 (gui-selection-value): Define for w32.
6593 * term/x-win.el (gui-selection-value): Define for x.
6594 (x--selection-value): Rename from x--selection-value.
6595 (interprogram-paste-function): Don't set.
6596 * term/pc-win.el (w16-get-selection-value): Simplify.
6597 (msdos-initialize-window-system): Don't set
6598 interprogram-paste-function.
6599 (gui-selection-value): Define for pc.
6600 * term/ns-win.el (x-selection-value): Remove.
6601 (gui-selection-value): Define for ns, instead.
6602 * term/common-win.el (x-setup-function-keys): Don't set
6603 interprogram-paste-function.
6604 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6605 Use gui-selection-value.
6606
6607 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6608
6609 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6610
6611 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * obsolete/lucid.el (read-number): Remove, redundant.
6614 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6615 Remove, broken.
6616
6617 2014-10-02 Glenn Morris <rgm@gnu.org>
6618
6619 * emacs-lisp/package.el (package-import-keyring):
6620 Create gnupg directory private. (Bug#17625#155)
6621
6622 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * progmodes/python.el (python-shell-completion-get-completions):
6625 Use python-shell--prompt-calculated-input-regexp from the
6626 process buffer (bug#18582).
6627 Don't assume that `line' comes from the process buffer.
6628
6629 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6630
6631 * frame.el: Use lexical-binding (bug#18598).
6632 (make-frame): Use t rather than nil for tty's window-system.
6633 * startup.el (command-line): Use gui-method.
6634
6635 Consolidate management/ownership of selections.
6636 * select.el (gui-get-selection-alist): New method.
6637 (gui-get-selection): Use it. Rename from x-get-selection.
6638 (x-get-selection): Define as obsolete alias.
6639 (x-get-clipboard): Mark obsolete.
6640 (gui-get-primary-selection): New function.
6641 (x-get-selection-value): Mark obsolete.
6642 (gui-own-selection-alist, gui-disown-selection-alist)
6643 (gui-selection-owner-p-alist): New methods.
6644 (gui-set-selection): Use them. Rename from x-set-selection.
6645 (x-set-selection): Define as obsolete alias.
6646 (gui--valid-simple-selection-p): Rename from
6647 x-valid-simple-selection-p.
6648 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6649 (gui-selection-owner-p, gui-get-selection): Define for w32.
6650 (w32-get-selection-value): Rename from x-get-selection-value.
6651 Use the new gui-last-selected-text.
6652 * term/x-win.el (x-get-selection-value): Remove.
6653 (x-clipboard-yank): Declare obsolete.
6654 (gui-own-selection, gui-disown-selection, gui-get-selection)
6655 (gui-selection-owner-p): Define for x.
6656 * term/w32-win.el (w32-win-suspend-error): Rename from
6657 x-win-suspend-error.
6658 * term/pc-win.el (w16-get-selection-value): Rename from
6659 x-get-selection-value.
6660 (w16-selection-owner-p): Rename from x-selection-owner-p.
6661 (gui-own-selection, gui-disown-selection, gui-get-selection)
6662 (gui-selection-owner-p): Define for pc.
6663 (w16--select-text): New function.
6664 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6665 (gui-get-selection, gui-selection-owner-p): Define for ns.
6666 * term.el (term-mouse-paste):
6667 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6668
6669 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6670
6671 * calc/calc-help.el (calc-describe-thing): Quote strings
6672 which could look like regexps.
6673
6674 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 Consolidate x-select-text.
6677 * frame.el (gui-method, gui-method-define, gui-method-declare)
6678 (gui-call): New macros.
6679 (gui-method--name): New function.
6680 (frame-creation-function-alist): Use gui-method-declare.
6681 (make-frame): Use gui-method.
6682 * select.el (gui-select-enable-clipboard): Rename from
6683 x-select-enable-clipboard and move here.
6684 (x-select-enable-clipboard): Define as obsolete alias.
6685 (gui-last-selected-text): New var, to replace x-last-selected-text.
6686 (gui-select-text): New GUI method.
6687 (gui-select-text): New function.
6688 (x-select-text): Define as obsolete alias.
6689 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6690 Move to select.el.
6691 * simple.el (interprogram-cut-function): Change default to
6692 x-select-text.
6693 (interprogram-paste-function): Change default to `ignore'.
6694 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6695 * term/x-win.el (interprogram-cut-function): Don't modify.
6696 (gui-select-text): Add method for x.
6697 * term/w32-win.el (gui-select-text): Add method for w32.
6698 * term/pc-win.el (x-last-selected-text): Remove, use
6699 gui-last-selected-text instead.
6700 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6701 (gui-select-text): Add method for pc.
6702 * term/ns-win.el (ns-last-selected-text): Remove, use
6703 gui-last-selected-text instead.
6704 (gui-select-text): Add method for ns.
6705 (x-setup-function-keys): Don't change interprogram-cut-function.
6706 * loadup.el ("startup"): Load after "frame".
6707 * subr.el (package--builtin-versions, package--description-file):
6708 Move from startup.el.
6709 * startup.el (package--builtin-versions, package--description-file):
6710 Move to subr.el.
6711 (handle-args-function-alist, window-system-initialization-alist):
6712 Use gui-method-declare.
6713 (command-line): Use gui-method.
6714
6715 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6716
6717 * subr.el (alist-get): New accessor.
6718 * emacs-lisp/gv.el (alist-get): Provide expander.
6719 * winner.el (winner-remember):
6720 * tempo.el (tempo-use-tag-list):
6721 * progmodes/gud.el (minor-mode-map-alist):
6722 * international/mule-cmds.el (define-char-code-property):
6723 * frameset.el (frameset-filter-params):
6724 * files.el (dir-locals-set-class-variables):
6725 * register.el (get-register, set-register):
6726 * calc/calc-yank.el (calc-set-register): Use it.
6727 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6728 * tooltip.el (tooltip-set-param): Mark as obsolete.
6729 (tooltip-show): Use alist-get instead.
6730 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6731
6732 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6733
6734 * net/newst-backend.el: Remove Time-stamp. Rename variable
6735 `newsticker--download-logos' to `newsticker-download-logos' and
6736 make it customizable.
6737 (newsticker--sentinel-work): Move xml-workarounds to function
6738 `newsticker--do-xml-workarounds', call unless libxml-parser is
6739 used. Allow single quote in regexp for encoding.
6740 Use libxml-parser if available, else fall back to `xml-parse-region'.
6741 Take care of possibly missing namespace prefixes (like "RDF"
6742 instead of "rdf:RDF") when checking xml nodes and attributes (as
6743 libxml correctly removes the prefixes). Always use Atom 1.0 as
6744 fallback feed type. Rename `newsticker--download-logos' to
6745 `newsticker-download-logos'
6746 (newsticker--unxml, newsticker--unxml-node)
6747 (newsticker--unxml-attribute): New.
6748 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6749 HTML code has become part of the xml parse tree.
6750 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6751 of possibly missing namespace prefixes.
6752 (newsticker--parse-generic-items): Code formatting. Typo.
6753 (newsticker--images-dir): Add trailing slash.
6754 (newsticker--image-get): Fix error message.
6755
6756 * net/newst-plainview.el: Remove Time-stamp.
6757
6758 * net/newst-reader.el: Remove Time-stamp.
6759 (newsticker-download-logos): Rename variable
6760 `newsticker--download-logos' to `newsticker-download-logos' and
6761 make it customizable.
6762 (newsticker--print-extra-elements): Add optional parameter
6763 'htmlish for using html markup. Amend list of ignored elements.
6764 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6765 using html markup.
6766
6767 * net/newst-ticker.el: Remove Time-stamp.
6768
6769 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6770 for formatting extra elements.
6771
6772 * net/newsticker.el: Remove Time-stamp, Version.
6773 (newsticker-version): Make obsolete.
6774
6775 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6776
6777 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6778 (bug#18462).
6779
6780 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 * emacs-lisp/package.el (package-check-signature): Default to nil if
6783 GPG is not available.
6784 (package-refresh-contents): Don't mess with the keyring if we won't
6785 check the signatures anyway.
6786
6787 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6790 (ses-center, ses-center-span): Use them.
6791 (ses-print-cell): Bind them while calling the printer.
6792 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6793 (ses-dorange): Revert last change.
6794 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6795 the formula.
6796 (ses-set-cell): Avoid `eval'.
6797 (ses--time-check): Rename it from ses-time-check and turn it into
6798 a macro.
6799
6800 * ses.el (ses-setup): Don't assume modifying the iteration var of
6801 dotimes affects the iteration (bug#18191).
6802
6803 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6804
6805 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6806 their values with 'cl-progv'.
6807 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6808 their values with 'cl-progv', also use non-interned symbols for
6809 row, minrow, maxrow, mincol and maxcol.
6810 (maxrow maxcol): New defvar, to make the compiler happy.
6811
6812 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6815 completion functions.
6816
6817 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6818
6819 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6820
6821 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6822
6823 Font-lock `cl-flet*', too.
6824 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6825 Add "flet*" to intermediate var `cl-lib-kw'.
6826
6827 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * epg-config.el (epg-gpg-program): Use the plain program names rather
6830 than their absolute file name.
6831
6832 * subr.el (track-mouse): New macro.
6833 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6834 Remove track-mouse case.
6835 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6836
6837 2014-09-27 Leo Liu <sdl.web@gmail.com>
6838
6839 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6840
6841 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6842
6843 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6846 Handle the case where `match' is :pcase--succeed or :pcase--fail
6847 (bug#18554).
6848
6849 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6850 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6851 (eldoc-schedule-timer): Obey it.
6852 (eldoc-documentation-function): Default to nil.
6853 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6854 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6855 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6856 (eldoc-last-data-store, eldoc-docstring-first-line)
6857 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6858 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6859 (eldoc-function-argstring): Move to elisp-mode.el.
6860 (eldoc-symbol-function): Remove, unused.
6861 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6862 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6863 (elisp--preceding-sexp): Rename from preceding-sexp.
6864 * loadup.el: Load new file progmodes/elisp-mode.
6865 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6866 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6867 (lisp--local-variables-completion-table, lisp--expect-function-p)
6868 (lisp--form-quoted-p, lisp--company-doc-buffer)
6869 (lisp--company-doc-string, lisp--company-location)
6870 (lisp-completion-at-point): Move to elisp-mode.el.
6871 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6872 extracted from emacs-lisp-mode-syntax-table.
6873 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6874 elisp-mode.el.
6875 (lisp-imenu-generic-expression): Add comments to document what comes
6876 from which Lisp dialect.
6877 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6878 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6879 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6880 (emacs-lisp-byte-code-comment)
6881 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6882 (lisp-interaction-mode-map, lisp-interaction-mode)
6883 (eval-print-last-sexp, last-sexp-setup-props)
6884 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6885 (eval-last-sexp-1, eval-last-sexp-print-value)
6886 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6887 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6888
6889 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6890
6891 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6892 Do not match file names that end in '/', as they cannot be 'grep'
6893 hits nowadays. This prevents confusion when 'grep -r' reports a
6894 match in a file whose basename is ':12345:'. Conversely, do not
6895 require exactly the same sequence of spaces and tabs after both
6896 colons, and allow spaces or tabs before the second colon, as per
6897 the POSIX spec for 'grep' output.
6898
6899 2014-09-26 Leo Liu <sdl.web@gmail.com>
6900
6901 Add cl-parse-integer based on parse-integer (Bug#18557)
6902 * calendar/parse-time.el (parse-time-digits): Remove.
6903 (digit-char-p, parse-integer) Moved to cl-lib.el.
6904 (parse-time-tokenize, parse-time-rules, parse-time-string):
6905 Use cl-parse-integer.
6906
6907 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6908
6909 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6910 (cl-digit-char-p): New function.
6911
6912 2014-09-25 Juri Linkov <juri@jurta.org>
6913
6914 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6915 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6916 Return the current buffer if no files match the default pattern
6917 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6918
6919 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6922 the global vc-handled-backends (bug#18535).
6923
6924 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6927 Suggested by <lompik@voila.fr>.
6928
6929 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6930
6931 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6932 Rename from `newsticker--treeview-do-get-node'.
6933 (newsticker--treeview-get-node-by-id):
6934 Rename from `newsticker--treeview-get-node'.
6935 (newsticker--treeview-buffer-init)
6936 (newsticker--treeview-buffer-init): Disable buffer undo.
6937 (newsticker--treeview-unfold-node): Adapt to modified
6938 `newsticker--group-find-parent-group'.
6939 (newsticker--group-do-find-group):
6940 Rename from `newsticker--group-do-find-group-for-feed'.
6941 Now works for both, groups and feeds.
6942 (newsticker--group-find-parent-group):
6943 Rename from `newsticker--group-find-group-for-feed'.
6944 Now works for both, groups and feeds.
6945 (newsticker--group-do-get-parent-group)
6946 (newsticker--group-get-parent-group): Remove.
6947 (newsticker-group-add-group): Change interactive prompts.
6948 (newsticker-group-add-group): Finally jump to added group.
6949 (newsticker-group-delete-group): Finally jump to current feed.
6950 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6951 (newsticker--get-group-names, newsticker--group-names): New.
6952 (newsticker-group-move-feed): Finally jump to moved feed.
6953 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6954 (newsticker-group-shift-group-down)
6955 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6956 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6957
6958 * net/newst-backend.el (newsticker--item-list)
6959 (newsticker--item-position, newsticker--prev-message)
6960 (newsticker--scrollable-text): Move to newst-ticker.el.
6961
6962 * net/newst-ticker.el (newsticker--item-list)
6963 (newsticker--item-position, newsticker--prev-message)
6964 (newsticker--scrollable-text): Move from newst-backend.el.
6965
6966 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6967
6968 * window.el (fit-window-to-buffer): When counting buffer width,
6969 count the whole visible buffer. Correctly convert the body-height
6970 to pixel size for window-text-pixel-size (Bug#18498).
6971
6972 2014-09-22 Sam Steingold <sds@gnu.org>
6973
6974 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6975 (sql-execute): Use `special-mode'.
6976
6977 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 Add pcase-defmacro, as well as `quote' and `app' patterns.
6980 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6981 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6982 (pcase--funcall, pcase--eval): New functions.
6983 (pcase--u1): Use them for guard, pred, let, and app.
6984 (\`): Use the new feature to generate better code for vector patterns.
6985 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6986 (pcase--upat): Remove.
6987 (pcase--macroexpand): Don't hardcode handling of `.
6988 (pcase--split-consp, pcase--split-vector): Remove.
6989 (pcase--split-equal): Disregard ` since it's expanded away.
6990 (pcase--split-member): Optimize for quote rather than for `.
6991 (pcase--split-pred): Optimize for quote rather than for `.
6992 (pcase--u1): Remove handling of ` (and of `or' and `and').
6993 Quote non-selfquoting values when passing them to `eq'.
6994 Drop `app's let-binding if the variable is not used.
6995 (pcase--q1): Remove.
6996 (`): Define as a pattern macro.
6997 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6998 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6999 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7000 quote patterns.
7001 (pcase--split-match): Don't hoist or/and here any more.
7002 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7003 (pcase--flip): New helper macro.
7004 (pcase--u1): Optimize the memq case directly.
7005 Don't handle neither self-quoting nor and/or patterns any more.
7006 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7007 (pcase--macroexpand): New function.
7008 (pcase--expand): Use it.
7009 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7010 New optimization functions.
7011 (pcase--u1): Add support for `quote' and `app'.
7012 (pcase): Document them in the docstring.
7013
7014 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 Use lexical-bindin in Ibuffer.
7017 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7018 (ibuffer-compile-format): Simplify.
7019 (ibuffer-clear-summary-columns): Simplify.
7020 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7021 elem of dotimes when we don't refer to the iteration var from it.
7022 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7023 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7024 Silence byte-compiler.
7025
7026 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7027
7028 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7029 expression for a list.
7030
7031 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7032 for functions with no arguments.
7033
7034 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7035 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7036
7037 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7038
7039 * simple.el (clone-indirect-buffer): Mention the return value
7040 (bug#18478).
7041
7042 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7043 Text mode in docstring (bug#18464).
7044
7045 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7048 Accept underscores in identifiers after "sub" (bug#18502).
7049
7050 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7051
7052 * textmodes/reftex-sel.el (reftex-select-label-mode)
7053 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7054 from special-mode (instead of fundamental-mode) and propertize
7055 with font-lock-face instead of just face. (Bug#18496)
7056
7057 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7058
7059 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7060
7061 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7062 `table-etc' when `end' is non-nil.
7063 (lisp-completion-at-point): Move `end' back if it's after quote.
7064 If in comment or string, only complete when after backquote.
7065 (Bug#18265)
7066 (lisp-completion-at-point): Don't use
7067 `lisp--local-variables-completion-table' in the
7068 `lisp--form-quoted-p' case.
7069
7070 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7071
7072 * emacs-lisp/lisp.el (lisp--expect-function-p)
7073 (lisp--form-quoted-p): New functions.
7074 (lisp-completion-at-point): Use them to see if we're completing a
7075 variable reference, a function name, or just any symbol.
7076 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7077
7078 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7079
7080 * net/shr.el, net/eww.el: Don't override `shr-width', but
7081 introduce a new variable `shr-internal-width'. This allows users
7082 to specify a width themselves.
7083
7084 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7085
7086 * image-mode.el (image-toggle-display-image): If we have a
7087 `fit-width' or a `fit-height', don't limit the size of the image
7088 to the window size, because that doesn't preserve the aspect ratio.
7089 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7090 warning.
7091
7092 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7093
7094 * progmodes/js.el: Add interpreter-mode-alist support for various
7095 JavaScript interpreters.
7096
7097 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7098
7099 Don't assume 'grep' supports GREP_OPTIONS.
7100 The GREP_OPTIONS environment variable is planned to be marked
7101 obsolescent in GNU grep, due to problems in its use, so stop
7102 relying on it.
7103 * progmodes/grep.el (grep-highlight-matches): Document this.
7104 (grep-process-setup): Do not set GREP_OPTIONS.
7105 (grep-compute-defaults): Use an explicit --color option if supported.
7106
7107 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7109 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7110 Don't add outdated key-shortcut cache (bug#18482).
7111
7112 2014-09-15 Glenn Morris <rgm@gnu.org>
7113
7114 * image.el (image-multi-frame-p): Fix thinko - do not force
7115 a delay if none was specified. (Bug#18334)
7116
7117 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7118
7119 * window.el (fit-window-to-buffer): Doc fix.
7120
7121 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7122
7123 * desktop.el (desktop-create-buffer): Check that buffers are still live
7124 before burying them (bug#18373).
7125
7126 2014-09-15 Glenn Morris <rgm@gnu.org>
7127
7128 * calendar/diary-lib.el (diary-list-entries):
7129 Restore 24.3 display behavior. (Bug#18381)
7130
7131 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7132
7133 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7134 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7135 discrepancy between window-pixel-edges and mouse events, and
7136 avoids moving mode line up when the mouse click is on the modeline
7137 and no drag is attempted.
7138
7139 2014-09-14 Daniel Colascione <dancol@dancol.org>
7140
7141 * register.el (insert-register): Change default interactive
7142 insertion mode.
7143
7144 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7145
7146 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7147 Suppress debug messages.
7148
7149 * net/tramp.el (tramp-file-name-handler):
7150 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7151 appropriate.
7152
7153 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7154
7155 * calendar/calendar.el (calendar-update-mode-line):
7156 Do not overwrite mode-line-format if calendar-mode-line-format is
7157 nil. (Bug#18467)
7158
7159 2014-09-13 Leo Liu <sdl.web@gmail.com>
7160
7161 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7162 (pcase--expand): Use it.
7163 (pcase-exhaustive): New macro. (Bug#16567)
7164
7165 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7166 Add pcase-exhaustive.
7167
7168 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7169
7170 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7171 using the specified transfer-encoding, if any, or 'undecided'.
7172 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7173 broken at the window margin.
7174
7175 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7176
7177 Support rendering of HTML parts in Rmail (bug#4258).
7178 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7179 separately from other text/ types. Suppress tagline for
7180 multipart body.
7181 (rmail-mime-parse): Don't change visibility of tagline here.
7182 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7183 Handle text/html specially.
7184 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7185 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7186 (rmail-mime-render-html-lynx): New functions.
7187 (rmail-mime-fix-inserted-faces): New function.
7188 (rmail-mime-process-multipart): Find the best part to show
7189 following rmail-mime-prefer-html if set.
7190 (rmail-mime-searching): New variable.
7191 (rmail-search-mime-message): Bind rmail-mime-searching to
7192 suppress rendering while searching.
7193
7194 2014-09-12 Sam Steingold <sds@gnu.org>
7195
7196 * progmodes/sql.el (sql-product-alist): Add vertica.
7197 (sql-vertica-program, sql-vertica-options)
7198 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7199 New functions and variables to support Vertica.
7200 Inspired by code by Roman Scherer <roman@burningswell.com>.
7201
7202 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7203
7204 * ses.el (ses-file-format-extend-parameter-list): Rename from
7205 ses-file-format-extend-paramter-list, to correct a misspelling.
7206 All uses changed.
7207
7208 2014-09-10 Alan Mackenzie <acm@muc.de>
7209
7210 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7211 gets loaded at run-time).
7212 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7213 c-lang-const to c-make-no-parens-syntax-table and correct the
7214 logic.
7215 (c-no-parens-syntax-table): Correct the logic of the
7216 c-lang-defvar.
7217
7218 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7221 plus misc cleanup.
7222 * progmodes/cc-mode.el (c-basic-common-init):
7223 Set open-paren-in-column-0-is-defun-start.
7224 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7225 Remove declarations, unused.
7226 (run-mode-hooks): Remove declaration.
7227 (font-lock-defaults): Use plain `defvar' to declare.
7228 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7229 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7230 (c-make-mode-syntax-table): Don't micro-optimize.
7231 (c-keywords, c-keyword-member-alist): Simplify.
7232 (c-kwds-lang-consts): Don't eval at compile-time.
7233 (c-primary-expr-regexp): Comment out unused vars.
7234 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7235 (c-font-byte-compile): New var.
7236 (c--compile): New function. Use it instead of `byte-compile'.
7237 (c-cpp-matchers): Quote the value returned by
7238 `c-make-syntactic-matcher' in case it's not self-evaluating.
7239 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7240 parentheses instead (in case MATCHER happens to be a list).
7241 (c-font-lock-enum-tail): Remove unused var `start'.
7242 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7243 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7244 test into an argument.
7245 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7246 (c-get-char-property): Don't use `eval' just to unquote a constant.
7247 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7248 more efficiently.
7249 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7250 (c-clear-char-property, c-clear-char-properties): Check that `property'
7251 is a quoted constant.
7252 (c-emacs-features): Remove `infodock', `syntax-properties', and
7253 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7254 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7255 changing buffer, so we don't have to setq them again afterwards.
7256 (c-lang-const): Remove redundant symbolp assertions.
7257 (c-find-assignment-for-mode): Use `or'.
7258 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7259
7260 2014-09-09 Sam Steingold <sds@gnu.org>
7261
7262 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7263
7264 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7267 Change doc comments into docstrings.
7268 * Makefile.in: Remove cc-awk dependency.
7269
7270 2014-09-08 Sam Steingold <sds@gnu.org>
7271
7272 * progmodes/sql.el (sql-send-line-and-next): New command,
7273 bound to C-c C-n.
7274 (sql-show-sqli-buffer): Display the buffer instead of its name and
7275 bind the command to C-c C-z.
7276 (sql-default-directory): New user option.
7277 (sql-product-interactive): Bind `default-directory' to it to
7278 enable remote connections using Tramp.
7279 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7280 suitable buffer is available.
7281
7282 2014-09-08 Glenn Morris <rgm@gnu.org>
7283
7284 * calendar/calendar.el (calendar-basic-setup):
7285 Fix calendar-view-holidays-initially-flag and fancy display.
7286 * calendar/diary-lib.el (diary-live-p): Doc fix.
7287
7288 * calendar/calendar.el (calendar-basic-setup):
7289 Avoid clobbering calendar with diary. (Bug#18381)
7290
7291 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7292
7293 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7294
7295 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7296
7297 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7298 as well (bug#18400).
7299
7300 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7301
7302 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7303
7304 2014-09-06 Leo Liu <sdl.web@gmail.com>
7305
7306 * emacs-lisp/pcase.el (pcase): Doc fix.
7307 (pcase--split-vector): New function.
7308 (pcase--q1): Support vector qpattern. (Bug#18327)
7309
7310 2014-09-05 Sam Steingold <sds@gnu.org>
7311
7312 * textmodes/tex-mode.el (tex-print-file-extension): New user
7313 option.
7314 (tex-print): Use it instead of the hard-coded string.
7315
7316 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7317
7318 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7319 Expand `default-directory'.
7320
7321 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7322
7323 * scroll-bar.el (horizontal-scroll-bars-available-p):
7324 New function.
7325 (horizontal-scroll-bar-mode): Rewrite using
7326 horizontal-scroll-bars-available-p.
7327 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7328 horizontal-scroll-bars-available-p.
7329
7330 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7331
7332 * subr.el (call-process-shell-command, process-file-shell-command):
7333 Make the `args' obsolete (bug#18409).
7334 (start-process-shell-command, start-file-process-shell-command):
7335 Use `declare'.
7336
7337 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7338
7339 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7340 "negative" hms forms.
7341
7342 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7343
7344 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7345 returns nil (bug#18391).
7346
7347 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7350 terminating paren (bug#18352).
7351 (eldoc-last-data-store): Return cached data.
7352 (eldoc-get-var-docstring): Avoid setq.
7353 (eldoc-get-fnsym-args-string): Clarify data flow.
7354
7355 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7356
7357 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7358 case where we're currently providing part of the &rest arg after some
7359 &key args, as in define-ibuffer-op (bug#18048).
7360
7361 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7364 buffer-local setting of which-func-mode.
7365 (which-func-mode): Use defvar-local.
7366 (which-function-mode): Don't reset which-func-mode in each buffer since
7367 it might have been set by someone else.
7368 (which-func-update-ediff-windows): Check which-function-mode.
7369
7370 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7371
7372 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7373 from frame-initial-frame-alist.
7374 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7375 (horizontal-scroll-bar-mode-explicit)
7376 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7377 (toggle-horizontal-scroll-bar): Remove.
7378 (horizontal-scroll-bar-mode): Remove defcustom.
7379 (horizontal-scroll-bar-mode): Fix doc-string.
7380 (scroll-bar-toolkit-scroll)
7381 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7382
7383 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * emacs-lisp/package.el (package-generate-description-file):
7386 Properly quote the arguments (bug#18332). Change second arg.
7387 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7388 quote the elements.
7389 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7390 the *-pkg.el file. Adjust to new calling convention of
7391 package-generate-description-file.
7392
7393 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7394 (gud-gdb-completions): Remove obsolete workaround.
7395
7396 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7397
7398 * subr.el (posn-col-row): Revert the change from commit
7399 2010-11-13T21:07:58Z!eliz@gnu.org, which
7400 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7401 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7402 introduced an off-by-one error in the reported row when there is a
7403 header line. (Bug#18384)
7404
7405 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7406
7407 * progmodes/python.el (python-indent-post-self-insert-function):
7408 Avoid electric colon at beginning-of-defun. (Bug#18228)
7409
7410 2014-09-03 Glenn Morris <rgm@gnu.org>
7411
7412 * tutorial.el (tutorial--display-changes):
7413 Fix 2014-08-01 change. (Bug#18382)
7414
7415 2014-09-03 Ken Brown <kbrown@cornell.edu>
7416
7417 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7418 the Cygwin-w32 build. (Bug#18347)
7419
7420 2014-09-03 Glenn Morris <rgm@gnu.org>
7421
7422 * tar-mode.el (tar--extract, tar-extract):
7423 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7424
7425 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7428 handle multiline elements (bug#18380).
7429
7430 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7431
7432 * ls-lisp.el (ls-lisp-use-string-collate)
7433 (ls-lisp-UCA-like-collation): New defcustoms.
7434 (ls-lisp-string-lessp): Use them to control sorting by file
7435 names. (Bug#18051)
7436 (ls-lisp-version-lessp): New function.
7437 (ls-lisp-handle-switches): Use it to implement the -v switch of
7438 GNU ls.
7439 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7440
7441 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7442
7443 * ibuffer.el: Replace mode-specific quit function with
7444 `quit-window' via `special-mode'.
7445 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7446 of local overrides.
7447 (ibuffer): Don't store previous windows configuration.
7448 Let `quit-window' handle restoring.
7449 (ibuffer-quit): Remove function. Use `quit-window' instead.
7450 (ibuffer-restore-window-config-on-quit): Remove variable.
7451 (ibuffer-prev-window-config): Remove variable.
7452
7453 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7454
7455 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7456 name instead of variable name in hook docstring. (Bug#18349)
7457
7458 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7459
7460 * window.el (display-buffer-at-bottom): Prefer bottom-left
7461 window to other bottom windows. Reuse a bottom window if it
7462 shows the buffer already. Suggested by Juri Linkov
7463 <juri@jurta.org> in discussion of (Bug#18181).
7464
7465 2014-08-29 Leo Liu <sdl.web@gmail.com>
7466
7467 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7468 append to minibuffer-setup-hook. (Bug#18341)
7469
7470 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7473 byte-compiler.
7474 (lookup-syntax-properties): Silence byte-compiler.
7475 (c-lang-defconst): Quote the code with `lambda' rather than with
7476 `quote'.
7477 (c-lang-const): Avoid unneeded setq.
7478 (c-lang-constants-under-evaluation): Add docstring.
7479 (c-lang--novalue): New constant.
7480 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7481 (c-get-lang-constant): Same here.
7482 Get the mode's value using `funcall' now that the code is quoted
7483 with `lambda'.
7484
7485 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7486
7487 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7488 (Bug#18326)
7489
7490 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7491
7492 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7493 interpretation of `portion-whole'.
7494
7495 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7496
7497 * net/tramp-adb.el: Spell author name correctly.
7498
7499 2014-08-28 João Távora <joaotavora@gmail.com>
7500
7501 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7502 use url-expand-file-name. (Bug#18310)
7503
7504 2014-08-28 Glenn Morris <rgm@gnu.org>
7505
7506 * emulation/cua-rect.el (cua--highlight-rectangle):
7507 Avoid error at point-min. (Bug#18309)
7508
7509 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7510
7511 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7512 executable-find (bug#18244).
7513
7514 * simple.el (self-insert-uses-region-functions): Defvar.
7515
7516 2014-08-28 Glenn Morris <rgm@gnu.org>
7517
7518 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7519
7520 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7521
7522 * startup.el (normal-top-level): Now use internal--top-level-message.
7523
7524 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7525
7526 * startup.el (normal-top-level): Use top-level-message.
7527
7528 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7529
7530 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7531 URLs containing spaces and the like.
7532
7533 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7534
7535 * subr.el (remq): Fix docstring (Bug#18253).
7536
7537 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7538
7539 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7540
7541 2014-08-24 Alan Mackenzie <acm@muc.de>
7542
7543 Handle C++11's "auto" and "decltype" constructions.
7544 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7545 and return 'decltype.
7546 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7547 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7548 keyword.
7549 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7550 "decltype" keyword.
7551 (c-font-lock-c++-new): Handle "decltype" constructions.
7552 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7553 New c-lang-defconsts/defvars.
7554 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7555 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7556 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7557 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7558
7559 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7560 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7561 off from c->-op-cont-re.
7562 (c->-op-cont-tokens): Change to use the above.
7563 (c->-op-without->-cont-regexp): New lang-const.
7564 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7565 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7566
7567
7568 2014-08-23 Alan Mackenzie <acm@muc.de>
7569
7570 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7571 loop, bug #18306. The bug was introduced on 2014-08-02.
7572
7573 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7574
7575 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7576 Don't recognize a Top node if there are other sectioning commands
7577 earlier in the Texinfo file. This fixes a bug in
7578 texinfo-make-menu and avoids inflooping in
7579 texinfo-all-menus-update when they are invoked on texinfo.texi.
7580
7581 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7582
7583 * window.el (window--side-window-p): New function.
7584 (split-window, window-splittable-p): Use window--side-window-p to
7585 determine whether WINDOW can be split (Bug#18304).
7586 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7587 `window-splittable-p' and add another (Bug#18304).
7588
7589 2014-08-20 Sam Steingold <sds@gnu.org>
7590
7591 * progmodes/python.el (python-new-pythonpath): Extract from
7592 `python-shell-calculate-process-environment'.
7593
7594 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7595
7596 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7597 for &key args (bug#18048).
7598
7599 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7602 (eldoc-function-argstring-format): Remove.
7603 (eldoc-function-argstring): Always return upcase args.
7604 Use help-make-usage. Don't add parens.
7605 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7606 it's too late to do it right (bug#18048).
7607
7608 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7609
7610 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7611 (scroll-bar-toolkit-horizontal-scroll): When determining the
7612 paragraph direction, use the buffer of the window designated in
7613 the event.
7614
7615 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7616
7617 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7618 context of unified diff.
7619
7620 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7621
7622 Add dependencies to fix loaddefs race during parallel builds.
7623 Without this, for example, 'make -j bootstrap' can fail and report
7624 "Opening input file: no such file or directory,
7625 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7626 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7627 got confused because diary-loaddefs.el was being built in parallel.
7628 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7629 Depend on $(CAL_DIR)/cal-loaddefs.el.
7630 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7631
7632 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7633
7634 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7635 portion-whole for scrolling right-to-left text.
7636
7637 2014-08-15 Leo Liu <sdl.web@gmail.com>
7638
7639 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7640 elements from imenu.
7641
7642 2014-08-15 Glenn Morris <rgm@gnu.org>
7643
7644 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7645
7646 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7647
7648 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7649 Add Guile regexpses.
7650
7651 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7652
7653 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7654 add Guile debugger support for GUD.
7655
7656 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7659 (mouse-sel--ignore): New function.
7660 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7661 (mouse-sel-original-interprogram-cut-function)
7662 (mouse-sel-original-interprogram-paste-function): Remove.
7663
7664 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7665
7666 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7667 Call "git add" when there are no longer conflict markers.
7668
7669 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7670
7671 * vc/vc-git.el (vc-git-find-file-hook): New function.
7672 Adds support for calling smerge (and resolve) on a conflicted file.
7673 (vc-git-conflicted-files): New function.
7674 Useful in itself and a step towards better smerge support.
7675
7676 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7679 to the first part if they're the same as the selection.
7680
7681 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7682
7683 * image-mode.el (image-transform-reset): New command and menu item.
7684 (image-mode-map): Rearrange the menu items to put presumably more
7685 obscure items at the end.
7686
7687 2014-08-12 Juri Linkov <juri@jurta.org>
7688
7689 * vc/vc-annotate.el (vc-annotate-background-mode):
7690 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7691
7692 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7695
7696 2014-08-11 Sam Steingold <sds@gnu.org>
7697
7698 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7699 the presence of known validators (tidy, (o)nsgmls).
7700
7701 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7702
7703 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7704 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7705 (newsticker--treeview-list-add-item):
7706 Use `newsticker-treeview-date-format'.
7707
7708 2014-08-11 Glenn Morris <rgm@gnu.org>
7709
7710 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7711 chose coding system for writing before backing up, since it causes
7712 a more serious problem than the one it solves. (Closes Bug#18141,
7713 reopens Bug#13522.)
7714
7715 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7716
7717 * window.el (window-total-size): Make doc-string more self-contained.
7718
7719 * window.el (display-buffer-below-selected): Restore original
7720 behavior if buffer is already displayed in the window below the
7721 selected one (Bug#18181).
7722
7723 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7726 event (bug#18212).
7727
7728 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7729
7730 * info.el (info): Doc fix.
7731
7732 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7735 (bug#18212).
7736
7737 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7738
7739 * simple.el (default-line-height): A floating-point value of
7740 line-spacing means a fraction of the default frame font's height,
7741 not of the font currently used by the 'default' face.
7742 Truncate the pixel value, like the display engine does.
7743 (window-screen-lines): Use window-inside-pixel-edges for
7744 determining the window height in pixels. (Bug#18195)
7745
7746 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7747
7748 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7749
7750 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7751
7752 Enumerate evaluated sexp diary entries (Bug#7911).
7753 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7754 (icalendar-export-sexp-enumeration-days): New.
7755 (icalendar-export-region): Now `icalendar--convert-to-ical'
7756 returns a cons cell or a list of cons cells.
7757 (icalendar--convert-to-ical): Take care of
7758 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7759 (icalendar--convert-ordinary-to-ical)
7760 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7761 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7762 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7763 (icalendar--convert-anniversary-to-ical): Return cons cell.
7764 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7765 entries. Return (list of) cons cells.
7766
7767 2014-08-09 Juri Linkov <juri@jurta.org>
7768
7769 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7770 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7771
7772 2014-08-09 Alan Mackenzie <acm@muc.de>
7773
7774 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7775 for top-level that can cause unacceptable slow-down in scrolling.
7776 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7777 Antipov from 2013-10-14 in emacs-devel.
7778
7779 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7780
7781 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7782 `ibuffer-auto-mode' menu entry.
7783 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7784
7785 2014-08-08 Matthias Meulien <orontee@gmail.com>
7786
7787 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7788 (Bug#16394)
7789
7790 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7791
7792 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7793 calls of window-min-pixel-height and window-min-pixel-width.
7794
7795 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7796
7797 * progmodes/ada-mode.el:
7798 * net/tramp.el (tramp-handle-file-symlink-p):
7799 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7800 about VMS, which we no longer support.
7801 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7802 and fix a FIXME, using convert-standard-filename in place of
7803 removed ada-convert-file-name.
7804
7805 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7806
7807 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7808
7809 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7810
7811 Refer to MS-DOS using the same name everywhere.
7812 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7813 ``msdog'' become ``MS-DOS''.
7814
7815 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7816
7817 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7818 Use cached "remote-copy-args" value, if available. (Bug#18199)
7819
7820 2014-08-07 Leo Liu <sdl.web@gmail.com>
7821
7822 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7823 Revert change on 2014-03-22.
7824
7825 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7826
7827 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7828 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7829 (Bug#13750).
7830
7831
7832 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * image-mode.el (image-toggle-display-image): Always rescale images
7835 to not be bigger than the current window.
7836
7837 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7838
7839 * net/eww.el (eww-bookmarks-directory): New variable.
7840 (eww-write-bookmarks): Use it.
7841 (eww-read-bookmarks): Ditto.
7842
7843 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7844
7845 * net/shr.el (shr-copy-url): Also copy the image URL.
7846
7847 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7848
7849 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7850 also for Tramp working buffers.
7851
7852 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7853
7854 * progmodes/python.el: Fix completions inside (i)pdb.
7855 (python-shell-completion-pdb-string-code): Make obsolete.
7856 (python-shell-completion-get-completions):
7857 Use python-shell-completion-string-code resending setup code
7858 continuously for (i)pdb.
7859
7860 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7861
7862 * rect.el (rectangle--default-line-number-format): Rename
7863 from misspelled rectange--default-line-number-format (Bug#18045).
7864 All uses changed.
7865
7866 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7867
7868 Don't mishandle year-9999 dates (Bug#18176).
7869 * calendar/parse-time.el (parse-time-rules):
7870 Allow years up to most-positive-fixnum.
7871 * calendar/time-date.el (date-to-time):
7872 Pass "Specified time is not representable" errors through.
7873
7874 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7875
7876 * progmodes/python.el: Completion code cleanups.
7877 (python-shell-completion-get-completions): Detect and send import
7878 statements directly to completion function.
7879 (python-shell-completion-at-point): Simplify prompt calculation
7880 and import vs input completion logic.
7881
7882 2014-08-02 Alan Mackenzie <acm@muc.de>
7883
7884 Fix confusion in C++ file caused by comma in "= {1,2},".
7885 Bug #17756.
7886 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7887 for a statement boundary marked by "}", check there's no "="
7888 before the "{".
7889 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7890 non-nil `comma-delim' argument.
7891 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7892 initializer expression more accurately.
7893
7894 Correct loop termination condition in c-syntactic-skip-backward.
7895 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7896 the situation where, after moving back out of a literal,
7897 skip-chars-backward doesn't move further, yet checks have still to
7898 be done.
7899
7900 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7901
7902 * tutorial.el (tutorial--display-changes): Accept punctuation
7903 characters before the key binding. (Bug#18146)
7904
7905 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7906
7907 * progmodes/python.el: Shell output capture enhancements.
7908 (python-shell-accept-process-output): New function.
7909 (inferior-python-mode)
7910 (python-shell-send-setup-code): Use it.
7911
7912 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7913
7914 * calendar/icalendar.el (icalendar--decode-isodatetime):
7915 Use actual current-time-zone when converting to local time. (Bug#15408)
7916
7917 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7918
7919 * window.el (window--state-put-2): Handle horizontal scroll
7920 bars, if present.
7921
7922 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7923
7924 * menu-bar.el (menu-bar-update-buffers): Update item list format
7925 in `buffers-menu' to confirm with changes to `get_keyelt'
7926 (r117463). (Bug#18016)
7927
7928 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7929
7930 * progmodes/python.el (inferior-python-mode): Make input prompts
7931 read-only.
7932
7933 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7934
7935 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7936 executables named "python2" or "python3".
7937 (tramp-get-remote-uid-with-python): Use parentheses around
7938 arguments to `print' to make it compatible with Python 3.
7939 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7940
7941 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7942
7943 * window.el (window--pixel-to-total): Use FRAME's root window, not
7944 that of the selected frame. (Bug#18112, Bug#16674)
7945
7946 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7947
7948 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7949 (Bug#18117)
7950
7951 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7952
7953 * progmodes/python.el (inferior-python-mode): Doc fix.
7954
7955 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7956
7957 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7958 not a character, ignore it instead of raising an error.
7959
7960 * calendar/todo-mode.el: Fix handling of marked items and make
7961 minor code improvements.
7962 (todo-edit-item): If there are marked items, ensure user can only
7963 invoke editing commands that work with marked items.
7964 (todo-edit-item--text): When there are marked items, make it a
7965 noop if invoked with point not on an item; otherwise, ensure it
7966 applies only to item at point.
7967 (todo-item-undone): If there are marked not-done items, return
7968 point to its original position before signaling user error.
7969 (todo--user-error-if-marked-done-item): New function.
7970 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7971 (todo-item-done): Use it.
7972
7973 2014-07-28 Glenn Morris <rgm@gnu.org>
7974
7975 * files.el (toggle-read-only): Re-add basic doc-string.
7976 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7977
7978 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7979 Replace missing `switch-to-prolog' with `run-prolog'.
7980 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7981
7982 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7983
7984 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7985 of file-wide setting when changing category-wide setting.
7986
7987 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7988
7989 * doc-view.el (doc-view-open-text): Don't require that the
7990 document is saved in a file (e.g., email attachment).
7991
7992 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7993
7994 Parse completion input in a iPython friendly way. (Bug#18084)
7995 * progmodes/python.el
7996 (python-shell-completion-at-point): Rename from
7997 python-shell-completion-complete-at-point.
7998 (inferior-python-mode): Use it.
7999 (python-completion-at-point): Rename from
8000 python-completion-complete-at-point. Parse input up to first
8001 backward occurrence of whitespace, open-paren, close-paren or
8002 string delimiter.
8003 (python-mode): Use it.
8004
8005 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8006
8007 * progmodes/python.el
8008 (python-shell-with-shell-buffer): New macro.
8009 (python-shell-font-lock-get-or-create-buffer)
8010 (python-shell-font-lock-kill-buffer)
8011 (python-shell-font-lock-with-font-lock-buffer)
8012 (python-shell-font-lock-cleanup-buffer)
8013 (python-shell-font-lock-toggle): Use it.
8014 (python-shell-font-lock-turn-on)
8015 (python-shell-font-lock-turn-off): Use it. Make command.
8016
8017 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8018
8019 Grab all Python process output before inferior-python-mode hooks.
8020 * progmodes/python.el (inferior-python-mode):
8021 Call accept-process-output and sit-for to ensure all output for process
8022 has been received before running hooks.
8023 (python-shell-internal-get-or-create-process):
8024 Cleanup accept-process-output and sit-for calls.
8025
8026 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8027
8028 More robust shell startup and code setup.
8029 * progmodes/python.el (python-shell-make-comint):
8030 Remove accept-process-output call.
8031 (python-shell-get-buffer): Return current buffer if major-mode is
8032 inferior-python-mode.
8033 (python-shell-get-or-create-process): Use it.
8034 (python-shell-send-setup-code): Send all setup code in one string,
8035 output success message and accept-process-output.
8036
8037 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8038
8039 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8040 Add rudimentary support for bidirectional text.
8041
8042 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8043
8044 * frame.el (frame-notice-user-settings): Rewrite using
8045 frame-initial-frame-tool-bar-height.
8046 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8047 (menu-bar-no-horizontal-scroll-bar): New functions.
8048 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8049 scroll bars.
8050 * scroll-bar.el (scroll-bar-lines)
8051 (set-horizontal-scroll-bar-mode)
8052 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8053 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8054 (scroll-bar-toolkit-horizontal-scroll): New functions.
8055 (horizontal-scroll-bar-mode)
8056 (previous-horizontal-scroll-bar-mode)
8057 (horizontal-scroll-bar-mode-explicit): New variables.
8058 (horizontal-scroll-bar-mode): New option.
8059 (toggle-horizontal-scroll-bar): Do something.
8060 (top-level): Bind horizontal-scroll-bar mouse-1.
8061 * startup.el (tool-bar-originally-present): Remove variable.
8062 (command-line): Don't set tool-bar-originally-present.
8063 * window.el (window-min-height): Update doc-string.
8064 (window--dump-frame): Dump horizontal scroll bar values.
8065 (window--min-size-1): Handle minibuffer window separately.
8066 Count in margins and horizontal scroll bar. Return safe value
8067 iff IGNORE equals 'safe.
8068 (frame-windows-min-size): New function (used by frame resizing
8069 routines).
8070 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8071 scroll bars.
8072 (window--sanitize-window-sizes): New function.
8073 (window-split-min-size): Remove.
8074 (split-window): Count divider-width. Don't use
8075 `window-split-min-size' any more. Reword error messages.
8076 Sanitize windows sizes after splitting.
8077
8078 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8079
8080 Use `defvar-local' more.
8081 * progmodes/hideshow.el
8082 (hs-c-start-regexp, hs-block-start-regexp)
8083 (hs-block-start-mdata-select, hs-block-end-regexp)
8084 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8085 remove corresponding `make-variable-buffer-local' top-level calls.
8086
8087 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8088
8089 Cleanup error signals. (Bug#18067)
8090 * progmodes/python.el
8091 (python-indent-shift-left): Use user-error instead.
8092 (python-shell-prompt-detect): Use lwarn with python group.
8093 (python-completion-complete-at-point)
8094 (python-eldoc--get-doc-at-point): Don't signal error.
8095
8096 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8097
8098 Support for packages in Python shell. (Bug#13570)
8099 * progmodes/python.el (python-shell--package-depth): New var.
8100 (python-shell-package-enable): New command.
8101 (python-util-list-directories, python-util-list-files)
8102 (python-util-list-packages): New functions.
8103
8104 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8105
8106 Faster comint output. (Bug#16875)
8107 * progmodes/python.el:
8108 (python-comint-output-filter-function): Make obsolete.
8109 (python-comint-postoutput-scroll-to-bottom): New function.
8110 (inferior-python-mode): Set comint-output-filter-functions to a
8111 minimum.
8112
8113 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8114
8115 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8116 Safeguard current point and undo history.
8117
8118 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8119
8120 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8121 * progmodes/python.el:
8122 (python-shell-prompt-input-regexps): Add iPython block prompt.
8123 (python-shell-output-syntax-table): Delete var.
8124 (python-shell-font-lock-with-font-lock-buffer): New macro.
8125 (python-shell-font-lock-get-or-create-buffer)
8126 (python-shell-font-lock-kill-buffer)
8127 (python-shell-font-lock-cleanup-buffer)
8128 (python-shell-font-lock-post-command-hook)
8129 (python-shell-font-lock-turn-off): New functions.
8130 (python-shell-font-lock-turn-on): New function.
8131 (inferior-python-mode): Use it.
8132 (python-shell-font-lock-toggle): New command.
8133 (python-shell-font-lock-enable): Rename from
8134 python-shell-enable-font-lock.
8135 (run-python-internal): Use it.
8136 (python-shell-font-lock-comint-output-filter-function): New function.
8137 (python-shell-comint-end-of-output-p): New function.
8138 (python-shell-output-filter): Use it.
8139 (python-util-comint-last-prompt): New function.
8140 (python-util-text-properties-replace-name): New function.
8141
8142 2014-07-25 Glenn Morris <rgm@gnu.org>
8143
8144 * vc/ediff-init.el (ediff-toggle-read-only-function):
8145 * vc/ediff-util.el (ediff-toggle-read-only):
8146 Replace obsolete toggle-read-only with read-only-mode.
8147
8148 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8149
8150 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8151 with `save-match-data'. (Bug#18095)
8152
8153 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8154
8155 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8156 order to ensure that row and col are lexically bound inside the
8157 evaluated sexp.
8158
8159 2014-07-21 Glenn Morris <rgm@gnu.org>
8160
8161 * progmodes/hideif.el (hide-ifdef-mode-submap):
8162 Also substitute read-only-mode.
8163 * bindings.el (mode-line-toggle-read-only):
8164 * bs.el (bs-toggle-readonly):
8165 * buff-menu.el (Buffer-menu-toggle-read-only):
8166 * dired.el (dired-toggle-read-only):
8167 * files.el (view-read-only, find-file-read-only)
8168 (find-file-read-only-other-window)
8169 (find-file-read-only-other-frame):
8170 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8171 Doc fixes re toggle-read-only.
8172
8173 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8174
8175 * progmodes/python.el: Add comment about pipe buffering and
8176 solutions for missing/delayed output in inferior Python shells.
8177 (Bug#17304)
8178
8179 * progmodes/python.el (python-mode): Don't set
8180 mode-require-final-newline. (Bug#17990)
8181
8182 Make python.el work with IPython automatically. (Bug#15510)
8183 * progmodes/python.el:
8184 (python-shell-completion-setup-code): New value supporting iPython.
8185 (python-shell-completion-string-code): New value supporting iPython.
8186 (python-shell-completion-get-completions): Use them.
8187 (python-shell-completion-module-string-code): Make obsolete.
8188 (python-shell-prompt-input-regexps)
8189 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8190 (python-shell-output-filter): Fix comment typo.
8191
8192 Fix Python shell prompts detection for remote hosts.
8193 * progmodes/python.el (python-shell-prompt-detect):
8194 Replace call-process with process-file and make it more robust.
8195
8196 Autodetect Python shell prompts. (Bug#17370)
8197 * progmodes/python.el:
8198 (python-shell-interpreter-interactive-arg)
8199 (python-shell-prompt-detect-enabled)
8200 (python-shell-prompt-detect-failure-warning)
8201 (python-shell-prompt-input-regexps)
8202 (python-shell-prompt-output-regexps): New vars.
8203 (python-shell-prompt-calculated-input-regexp)
8204 (python-shell-prompt-calculated-output-regexp): New vars.
8205 (python-shell-get-process-name)
8206 (python-shell-internal-get-process-name)
8207 (python-shell-output-filter)
8208 (python-shell-completion-get-completions): Use them.
8209 (python-shell-prompt-detect)
8210 (python-shell-prompt-validate-regexps): New functions.
8211 (python-shell-prompt-set-calculated-regexps): New function.
8212 (inferior-python-mode): Use it. Also honor overriden
8213 python-shell-interpreter and python-shell-interpreter-args.
8214 (python-shell-make-comint): Honor overriden
8215 python-shell-interpreter and python-shell-interpreter-args.
8216 (python-shell-get-or-create-process): Make it testable by allowing
8217 to call run-python non-interactively.
8218 (python-util-valid-regexp-p): New function.
8219 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8220 (python-shell-prompt-output-regexp)
8221 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8222
8223 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8226 smie-config--guess.
8227 (smie-config--guess): Use it.
8228
8229 * emacs-lisp/edebug.el: Use nadvice.
8230 (edebug-original-read): Remove.
8231 (edebug--read): Rename from edebug-read and add `orig' arg.
8232 (edebug-uninstall-read-eval-functions)
8233 (edebug-install-read-eval-functions): Use nadvice.
8234 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8235 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8236 (edebug-read-string, edebug-read-function): Use just `read'.
8237 (edebug-original-debug-on-entry): Remove.
8238 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8239 `orig' arg.
8240 (debug-on-entry): Override with nadvice.
8241
8242 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8243 it also makes sense to bind it to a non-mouse event.
8244
8245 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8246
8247 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8250 (bug#18015).
8251
8252 * rect.el (rectangle--string-preview): Don't assume there
8253 a non-nil default (bug#17984).
8254
8255 2014-07-16 Glenn Morris <rgm@gnu.org>
8256
8257 * desktop.el (after-init-hook): Disable startup frame restoration
8258 in non-graphical situations. (Bug#17693)
8259
8260 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8261 if it was "empty", or used for a different set of files. (Bug#17884)
8262
8263 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8264
8265 * bindings.el (mode-line-remote): If default-directory is not a
8266 string, don't call file-remote-p on it; instead state in the
8267 help-echo that it is nil. (Bug#17986)
8268
8269 2014-07-14 Daniel Colascione <dancol@dancol.org>
8270
8271 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8272 to `macroexpand-all'
8273
8274 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8275 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8276
8277 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8278
8279 Fix bug: C-x v v discarded existing log message (Bug#17884).
8280 * vc/vc-dispatcher.el (vc-log-edit):
8281 Don't clobber an already-existing log message.
8282
8283 2014-07-12 Glenn Morris <rgm@gnu.org>
8284
8285 * vc/log-edit.el (log-edit-changelog-entries):
8286 Check for a visited-but-never-saved ChangeLog.
8287
8288 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8291 a non-existing file (bug#17970).
8292
8293 * faces.el (face-name): Undo last change.
8294 (x-resolve-font-name): Don't call face-name (bug#17956).
8295
8296 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8297
8298 Fix dedenters and electric colon handling. (Bug#15163)
8299 * progmodes/python.el
8300 (python-rx-constituents): Add dedenter and block-ender.
8301 (python-indent-dedenters, python-indent-block-enders): Delete.
8302 (python-indent-context): Return new case for dedenter-statement.
8303 (python-indent-calculate-indentation): Handle new case.
8304 (python-indent-calculate-levels): Fix levels calculation for
8305 dedenter statements.
8306 (python-indent-post-self-insert-function): Fix colon handling.
8307 (python-info-dedenter-opening-block-message): New function.
8308 (python-indent-line): Use it.
8309 (python-info-closing-block)
8310 (python-info-closing-block-message): Remove.
8311 (python-info-dedenter-opening-block-position)
8312 (python-info-dedenter-opening-block-positions)
8313 (python-info-dedenter-statement-p): New functions.
8314
8315 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8316
8317 * files.el (out-of-memory-warning-percentage): New defcustom.
8318 (warn-maybe-out-of-memory): Use it.
8319
8320 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8321
8322 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8323 when calling `read-string'. (Bug#17839)
8324
8325 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8326
8327 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8328 warning.
8329
8330 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8331
8332 * files.el (warn-maybe-out-of-memory): New function.
8333 (find-file-noselect): Use it.
8334
8335 2014-07-09 Sam Steingold <sds@gnu.org>
8336
8337 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8338 `constant' like `bless', `return' &c
8339
8340 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8343 next line.
8344
8345 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8348 the middle of a line (bug#17896).
8349
8350 2014-07-09 Juri Linkov <juri@jurta.org>
8351
8352 * startup.el (command-line): Append displaying the warning about
8353 the errors in the init file to the end of `after-init-hook'.
8354 (Bug#17927)
8355
8356 * faces.el (face-name): Return input arg `face' as-is
8357 when it's not a symbol.
8358 (x-resolve-font-name): Don't check if the face is a symbol.
8359 (Bug#17956)
8360
8361 * facemenu.el (list-colors-print): In help-echo format use %.2f
8362 instead of %d because now HSV values are floating-point components
8363 between 0.0 and 1.0.
8364
8365 2014-07-09 Glenn Morris <rgm@gnu.org>
8366
8367 * emulation/cua-rect.el (cua--activate-rectangle):
8368 Avoid setting cua--rectangle to nil. (Bug#17877)
8369
8370 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8371
8372 * calendar/todo-mode.el: Fix wrong-type-argument error when
8373 marking multiple consecutive items.
8374 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8375 end of the todo and done items sections. Note in doc string that
8376 items marked by passing a numeric prefix argument can include the
8377 last todo and first done items.
8378 (todo-mark-category): Don't try to mark the empty line between the
8379 todo and done items sections.
8380
8381 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8384 proper Lisp quoting (bug#17934).
8385
8386 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8387 require-final-newline since prog-mode already took care of it (bug#17947).
8388
8389 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8390
8391 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8392 refer to the Todo mode Info manual. Update the comment on
8393 requiring cl-lib.
8394 (todo-find-filtered-items-file): Add todo-prefix overlays.
8395 (todo-filter-items): Reorder a let-bound variable to avoid a
8396 wrong-type-argument error on canceling the file choice dialog.
8397
8398 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * progmodes/octave.el (inferior-octave-mode):
8401 Set comint-input-ring-size to a number (bug#17912).
8402
8403 2014-07-09 Juri Linkov <juri@jurta.org>
8404
8405 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8406 and `isearch-mode' associated with nil. (Bug#17849)
8407
8408 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * linum.el (linum--face-height): New function (bug#17813).
8411 (linum-update-window): Use it to adjust margin to linum's width.
8412
8413 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8414 * eshell/em-smart.el (eshell-smart-scroll-window):
8415 Use with-selected-window.
8416
8417 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8418 Remove also pointless window&mark manipulation.
8419
8420 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8421 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8422 (perl-continuation-line-p): Don't skip over anything else than labels.
8423 Return the previous char.
8424 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8425 and update callers accordingly. For continuation lines, check the
8426 the case of array hashes.
8427 (perl-backward-to-noncomment): Make it non-interactive.
8428 (perl-backward-to-start-of-continued-exp): Rewrite.
8429
8430 2014-07-08 Sam Steingold <sds@gnu.org>
8431
8432 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8433 New user commands.
8434
8435 2014-07-08 Juri Linkov <juri@jurta.org>
8436
8437 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8438 (vc-annotate-color-map): Use less saturated colors (20%) for
8439 background-mode.
8440 (vc-annotate-very-old-color): Add default value for background-mode.
8441 (vc-annotate-background): Set default value to nil since now text on
8442 the default backgrounds should be legible in light and dark modes.
8443 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8444 (Bug#17808)
8445
8446 2014-07-08 Juri Linkov <juri@jurta.org>
8447
8448 * simple.el (transpose-chars): Don't move point into read-only area.
8449 (Bug#17829)
8450
8451 2014-07-08 Juri Linkov <juri@jurta.org>
8452
8453 * window.el (with-displayed-buffer-window): New macro.
8454 (with-temp-buffer-window, with-current-buffer-window):
8455 Use `macroexp-let2' to evaluate and bind variables
8456 in the same order as macro arguments.
8457 (display-buffer--action-function-custom-type):
8458 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8459
8460 * minibuffer.el (minibuffer-completion-help): Replace
8461 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8462 with actions that display *Completions* at-bottom when called
8463 from the minibuffer, or below-selected in a normal buffer.
8464 Associate `window-height' with `fit-window-to-buffer'.
8465 Let-bind `pop-up-windows' to nil.
8466
8467 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8468 instead of `with-current-buffer-window'. (Bug#17809)
8469
8470 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8471
8472 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8473 (hide-ifdef-env-backup): New variable.
8474 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8475 New customizable variables.
8476 (hif-clear-all-ifdef-defined): New defun.
8477 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8478 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8479 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8480 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8481 Fix bug to hide the correct #elif region(s).
8482 (hif-range-elif): New defun.
8483 (hif-recurse-level): New var.
8484 (hif-evaluate-region, hif-evaluate-macro): New defun.
8485 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8486 fully hidden.
8487 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8488 Better interaction.
8489
8490 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8491
8492 * net/dbus.el (dbus-peer-handler): New defun.
8493 (dbus-register-service): Register it. (Bug#17858)
8494 (dbus-managed-objects-handler): Fix docstring.
8495
8496 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8497
8498 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8499 (narrow-to-defun): New arg include-comments, defaulting to it
8500 (bug#16328).
8501
8502 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8505 different calling convention to rectangle--unhighlight-for-redisplay.
8506
8507 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8508
8509 * net/tramp.el (tramp-call-process): Handle error strings.
8510
8511 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8512
8513 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8514 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8515
8516 * net/trampver.el: Update release number.
8517
8518 2014-07-03 Juri Linkov <juri@jurta.org>
8519
8520 * desktop.el (desktop-save): Rename arg `auto-save' to
8521 `only-if-changed'. Doc fix. (Bug#17873)
8522
8523 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8526 Use insert-for-yank (bug#17271).
8527
8528 2014-07-03 Leo Liu <sdl.web@gmail.com>
8529
8530 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8531 Support lexical-binding.
8532
8533 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * vc/log-edit.el (log-edit-goto-eoh): New function.
8536 (log-edit--match-first-line): Use it (bug#17861).
8537
8538 2014-07-03 Glenn Morris <rgm@gnu.org>
8539
8540 * vc/log-edit.el (log-edit-hook): Add missing :version.
8541
8542 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8543
8544 * progmodes/python.el (python-indent-post-self-insert-function):
8545 Enhancements to electric indentation behavior inside
8546 parens. (Bug#17658)
8547
8548 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8551 buffer-invisibility-spec (bug#17867).
8552
8553 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8554
8555 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8556 pass "-a".
8557
8558 2014-07-03 Glenn Morris <rgm@gnu.org>
8559
8560 * cus-edit.el (help):
8561 * finder.el (finder-known-keywords):
8562 * help.el (help-for-help-internal):
8563 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8564 (ediff-redraw-registry-buffer):
8565 * vc/ediff-ptch.el (ediff-patch-file-internal):
8566 Doc fixes re "online" help. (Bug#17803)
8567
8568 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8569 (idlwave-mode): Doc URL update.
8570
8571 2014-07-01 Juri Linkov <juri@jurta.org>
8572
8573 * man.el: Display man pages immediately and use process-filter
8574 to format them asynchronously.
8575 (Man-width): Doc fix.
8576 (man): Doc fix.
8577 (Man-start-calling): Use `with-selected-window' to get
8578 `frame-width' and `window-width'.
8579 (Man-getpage-in-background): Call `Man-notify-when-ready'
8580 immediately after creating a new buffer. Call `Man-mode' and set
8581 `mode-line-process' in the created buffer. Set process-filter to
8582 `Man-bgproc-filter' in start-process branch. In call-process branch
8583 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8584 Use `Man-start-calling' inside `with-current-buffer'.
8585 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8586 (Man-cleanup-manpage): Don't print messages.
8587 (Man-bgproc-filter): New function.
8588 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8589 user moved it during asynchronous formatting. Move calls of
8590 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8591 `Man-bgproc-filter'. Move the call of `Man-mode' to
8592 `Man-getpage-in-background'. Use `quit-restore-window'
8593 instead of `kill-buffer'. Use `message' instead of `error'
8594 because errors are caught by process sentinel.
8595 (Man-mode): Move calls of `Man-build-page-list',
8596 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8597 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8598
8599 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8600 for the message about the man page cleaned up.
8601
8602 2014-07-01 Mario Lang <mlang@delysid.org>
8603
8604 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8605 cosutomization option `gnutls-verify-error'.
8606
8607 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8610 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8611
8612 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8613 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8614 is suspended (bug#17857).
8615
8616 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8617
8618 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8619 Prefer utf-8 coding. (Bug#17859)
8620
8621 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8622
8623 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8624 for `reverse'.
8625
8626 2014-06-30 Glenn Morris <rgm@gnu.org>
8627
8628 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8629 (autoload-ensure-default-file): Maybe make existing output writable.
8630 * Makefile.in (AUTOGEN_VCS): Remove.
8631 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8632
8633 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8634
8635 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8636
8637 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8638
8639 New if-let, when-let, thread-first and thread-last macros.
8640
8641 * emacs-lisp/subr-x.el
8642 (internal--listify, internal--check-binding)
8643 (internal--build-binding-value-form, internal--build-binding)
8644 (internal--build-bindings): New functions.
8645 (internal--thread-argument, thread-first, thread-last)
8646 (if-let, when-let): New macros.
8647
8648 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8649
8650 * net/rcirc.el (rcirc-buffer-process): Restore previous
8651 behaviour. (Bug#17772)
8652
8653 2014-06-29 Alan Mackenzie <acm@muc.de>
8654
8655 Don't call c-parse-state when c++-template-syntax-table is active.
8656 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8657 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8658 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8659
8660 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8661
8662 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8663 account for file-wide setting of todo-top-priorities-overrides.
8664 Make code a bit cleaner.
8665
8666 2014-06-28 Glenn Morris <rgm@gnu.org>
8667
8668 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8669
8670 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8671
8672 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8673 category-wide setting of todo-top-priorities-overrides, check for
8674 a file-wide setting and fontify accordingly.
8675
8676 2014-06-28 Glenn Morris <rgm@gnu.org>
8677
8678 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8679
8680 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8683
8684 2014-06-28 K. Handa <handa@gnu.org>
8685
8686 Fix Bug#17739.
8687
8688 * composite.el: Setup composition-function-table for dotted circle.
8689 (compose-gstring-for-dotted-circle): New function.
8690
8691 * international/characters.el: Add category "^" to all
8692 non-spacing characters.
8693
8694 2014-06-28 Glenn Morris <rgm@gnu.org>
8695
8696 * Makefile.in (doit): Remove force rule.
8697 (custom-deps, finder-data, autoloads, update-subdirs)
8698 (compile-one-process): PHONY targets do not need force rules.
8699
8700 * Makefile.in (compile-main, compile, compile-always):
8701 No need to explicitly pass variables to ourself in recursive calls.
8702
8703 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8706
8707 2014-06-26 Glenn Morris <rgm@gnu.org>
8708
8709 * Makefile.in (update-authors): Update for moved authors.el.
8710
8711 2014-06-26 Leo Liu <sdl.web@gmail.com>
8712
8713 * skeleton.el (skeleton-end-hook): Default to nil and move the
8714 work to skeleton-insert. (Bug#17850)
8715
8716 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8717
8718 * calc/calc-alg.el (math-beforep):
8719 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8720 Simplify because string-lessp can accept symbols as args.
8721
8722 2014-06-26 Daiki Ueno <ueno@gnu.org>
8723
8724 * emacs-lisp/package.el (package--check-signature):
8725 If package-check-signature is allow-unsigned, don't signal error when
8726 we can't verify signature because of missing public key
8727 (bug#17625).
8728
8729 2014-06-26 Glenn Morris <rgm@gnu.org>
8730
8731 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8732 Remove outdated declaration.
8733
8734 * emacs-lisp/authors.el (authors-valid-file-names)
8735 (authors-renamed-files-alist): Additions.
8736
8737 2014-06-26 Leo Liu <sdl.web@gmail.com>
8738
8739 * textmodes/picture.el (picture-set-tab-stops):
8740 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8741 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8742
8743 * progmodes/asm-mode.el (asm-calculate-indentation):
8744 Use indent-next-tab-stop.
8745
8746 * indent.el (indent-accumulate-tab-stops): New function.
8747
8748 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8751 (package-desc-status): Obey it.
8752
8753 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8754
8755 * calendar/todo-mode.el: Fix two bugs.
8756 (todo-insert-item--basic): If user cancels item insertion to
8757 another category before setting priority, show original category
8758 whether it is in the same or a different file.
8759 (todo-set-item-priority): After selecting category, instead of
8760 moving point to top, which extends an active region, restore it.
8761
8762 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * help-fns.el (describe-function-1): Check file-name is a string before
8765 calling help-fns--autoloaded-p (bug#17564).
8766
8767 2014-06-26 Juri Linkov <juri@jurta.org>
8768
8769 * desktop.el (desktop-auto-save-enable)
8770 (desktop-auto-save-disable): New functions.
8771 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8772 (desktop-read): Disable the autosave before loading the desktop,
8773 and enable afterwards. (Bug#17351)
8774
8775 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 Fix some indentation problem with \; and pipes (bug#17842).
8778 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8779 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8780 New functions.
8781 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8782 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8783 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8784
8785 2014-06-26 Glenn Morris <rgm@gnu.org>
8786
8787 * emacs-lisp/find-func.el (find-function-C-source-directory):
8788 Use file-accessible-directory-p.
8789
8790 * ps-samp.el: Make it slightly less awful.
8791 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8792 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8793 Only set local values.
8794 (ps-article-subject, ps-article-author): Use standard functions
8795 like mail-fetch-field.
8796 (ps-info-file, ps-info-node): Use match-string.
8797 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8798 (ps-samp-ps-setup): ... new function.
8799
8800 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8801 Optimize away code unneeded on any modern Emacs.
8802
8803 * emacs-lisp/authors.el: Move to ../admin.
8804
8805 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8806
8807 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8808
8809 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8810 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8811 performance enhancements.
8812 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8813 expansion.
8814 (hif-factor, hif-string-concatenation, intern-safe): Support string
8815 concatenation and argumented macro expansion.
8816 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8817 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8818 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8819 (hif-canonicalize-tokens, hif-place-macro-invocation)
8820 (hif-parse-macro-arglist): Mostly new functions for supporting
8821 argumented macro expansion.
8822 (hif-string-concatenation, hif-stringify, hif-token-concat)
8823 (hif-token-stringification, hif-token-concatenation):
8824 Stringification and concatenation.
8825 (hif-find-next-relevant): Fix comments.
8826 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8827 some cases involving #elif.
8828 (hif-find-define, hif-add-new-defines): New functions for automatically
8829 scanning of defined symbols.
8830 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8831 (hide-ifdef-undef): Fix behavior to match CPP.
8832
8833 2014-06-25 Glenn Morris <rgm@gnu.org>
8834
8835 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8836 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8837 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8838 files. They are not relevant to the original issue (bug#1004),
8839 and cause unnecessary recompilation (bug#2151).
8840
8841 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8844 (landmark--last-pos): New var.
8845 (landmark--intangible-chars): New const.
8846 (landmark--intangible): New function.
8847 (landmark-mode, landmark-move): Use it.
8848 (landmark-mode): Remove properties.
8849 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8850 (landmark-cross-qtuple):
8851 Don't worry about `intangible' any more.
8852 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8853 (landmark-init-display): Don't set `intangible' and `point-entered'.
8854 (square): Remove. Inline it instead.
8855 (landmark--distance): Rename from `distance'.
8856 (landmark-calc-distance-of-robot-from): Rename from
8857 calc-distance-of-robot-from.
8858 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8859
8860 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8861
8862 * files.el (dir-locals-find-file, file-relative-name):
8863 * info.el (Info-complete-menu-item):
8864 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8865 to compare-strings to avoid out-of-range errors.
8866 * subr.el (string-prefix-p): Adjust to match strict range
8867 checking in compare-strings.
8868
8869 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8870
8871 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8872 for comment lines non-greedy and stopping at newlines to fix stack
8873 overflows with large files.
8874
8875 2014-06-24 Eli Barzilay <eli@barzilay.org>
8876
8877 * calculator.el (calculator-last-input): Drop 'ascii-character property
8878 lookup.
8879
8880 2014-06-24 Leo Liu <sdl.web@gmail.com>
8881
8882 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8883 tab-stop-list to nil. (Bug#16381)
8884
8885 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8886 (indent-rigidly-left-to-tab-stop)
8887 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8888 (move-to-tab-stop): Change callers.
8889
8890 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8891
8892 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8893 wrt behavior of \n as the first/last element of a skeleton.
8894
8895 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8896
8897 * net/tramp-adb.el (tramp-adb-handle-process-file):
8898 * net/tramp-sh.el (tramp-sh-handle-process-file):
8899 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8900 the output buffer when DISPLAY is non-nil. (Bug#17815)
8901
8902 2014-06-24 Glenn Morris <rgm@gnu.org>
8903
8904 * play/landmark.el (landmark-move-down, landmark-move-up):
8905 Fix 2007-10-20 change - preserve horizontal position.
8906
8907 2014-06-23 Sam Steingold <sds@gnu.org>
8908
8909 * simple.el (kill-append): Remove undo boundary depending on ...
8910 (kill-append-merge-undo): New user option.
8911
8912 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * simple.el (handle-shift-selection, exchange-point-and-mark)
8915 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8916 (transient-mark-mode): Use&set the global value.
8917 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8918 * emulation/edt.el (edt-emulation-off): Save&restore the global
8919 transient-mark-mode setting.
8920 * obsolete/pc-select.el (pc-selection-mode): Use the
8921 transient-mark-mode function.
8922
8923 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8924
8925 * international/fontset.el (script-representative-chars):
8926 Add representative characters for scripts added in Unicode 7.0.
8927 (otf-script-alist): Synchronize with the latest registry of OTF
8928 script tags.
8929
8930 * international/characters.el (char-script-table): Update for
8931 scripts added and codepoint ranges changed in Unicode 7.0.
8932
8933 2014-06-23 Eli Barzilay <eli@barzilay.org>
8934
8935 * calculator.el (calculator-standard-displayer): Fix bug in use of
8936 `calculator-groupize-number'.
8937 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8938 `eval' code, so it works in v24.3.1 too.
8939 (calculator-last-input): Comment to clarify purpose.
8940
8941 2014-06-22 Mario Lang <mlang@delysid.org>
8942
8943 * textmodes/rst.el (rst-comment-region): From from -> from.
8944
8945 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8946
8947 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8948
8949 * electric.el (electric-layout-post-self-insert-function):
8950 * emacs-lisp/ert.el (ert--insert-infos):
8951 * obsolete/vi.el (vi-set-mark):
8952 * term.el (term-handle-scroll):
8953 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8954 * wid-edit.el (widget-editable-list-value-create):
8955 Prefer point-marker to copy-marker of point.
8956
8957 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8958
8959 Fix completion retrieval parsing (bug#17209).
8960 * progmodes/python.el (python-mode):
8961 (python-util-strip-string): New function.
8962 (python-shell-completion-get-completions): Use it.
8963
8964 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8965
8966 * skeleton.el (skeleton-insert): Fix last change.
8967
8968 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8969
8970 Enhancements for outline integration (bug#17796).
8971 * progmodes/python.el (python-mode): Properly set
8972 outline-heading-end-regexp so that comments after colons for
8973 defuns are supported.
8974
8975 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8976
8977 * skeleton.el (skeleton-insert): Doc fix.
8978
8979 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8982 (smie-config-guess): Use smie-config-local so the rules are obeyed
8983 (bug#17818).
8984
8985 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8986 since it's already done inside the loop (bug#17819).
8987
8988 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8989
8990 * mouse.el (mouse-drag-line): Re-remove code initially removed
8991 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8992 (Bug#17819).
8993
8994 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8995
8996 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8997 align with the surrounding parent (bug#17721).
8998
8999 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9000
9001 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9002 locally to nil.
9003 (texinfo-insert-block, texinfo-insert-@end)
9004 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9005 local setting of skeleton-end-newline by adding an explicit \n to
9006 the skeletons where appropriate. (Bug#17801)
9007
9008 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9011 (smie-indent--hanging-p): Use it.
9012 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9013
9014 2014-06-21 Leo Liu <sdl.web@gmail.com>
9015
9016 * simple.el (read-quoted-char): Don't let help chars pop up help
9017 buffer. (Bug#16617)
9018
9019 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9022 for | (bug#17621).
9023
9024 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9025 Drop unknown events instead of burping.
9026
9027 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9028
9029 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9030 and later. (Bug#17790)
9031
9032 2014-06-21 Juri Linkov <juri@jurta.org>
9033
9034 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9035 to `soft'. (Bug#17554)
9036
9037 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9040 (bug#17737).
9041
9042 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9043
9044 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9045 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9046
9047 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9048
9049 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9050 `unread-command-events'.
9051
9052 2014-06-19 William Xu <william.xwl@gmail.com>
9053
9054 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9055 hex integer constants (bug#17807).
9056
9057 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * international/mule-util.el (truncate-string-ellipsis): New var.
9060 (truncate-string-to-width): Use it.
9061
9062 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9063
9064 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9065 (lisp-string-in-doc-position-p): New function, extracted from
9066 lisp-font-lock-syntactic-face-function.
9067 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9068
9069 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9070
9071 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9072
9073 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9074
9075 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9076 (bubbles--game-over): Don't add `intangible' properties since they
9077 didn't work anyway.
9078
9079 2014-06-18 Juri Linkov <juri@jurta.org>
9080
9081 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9082 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9083 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9084 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9085 Add `min-colors 88' version with removed black/white foregrounds.
9086 (Bug#10181)
9087
9088 2014-06-18 Juri Linkov <juri@jurta.org>
9089
9090 * vc/diff-mode.el (diff-changed): Empty face definition to use
9091 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9092 (diff-context): Use darker color on light background and
9093 lighter color on dark background.
9094
9095 2014-06-18 Juri Linkov <juri@jurta.org>
9096
9097 * vc/diff-mode.el (diff-refine-changed): Rename from
9098 `diff-refine-change' for consistency with `diff-changed'.
9099 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9100
9101 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9102 `smerge-refined-change'.
9103 (smerge-refined-change): Add obsolete face alias.
9104
9105 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9106
9107 * rect.el (rectangle-preview): New custom.
9108 (rectangle): New group.
9109 (rectangle--pos-cols): Add `window' argument.
9110 (rectangle--string-preview-state, rectangle--string-preview-window):
9111 New vars.
9112 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9113 (rectangle--space-to, rectangle--string-preview): New functions.
9114 (string-rectangle): Use them.
9115 (rectangle--inhibit-region-highlight): New var.
9116 (rectangle--highlight-for-redisplay): Obey it. Make sure
9117 `apply-on-region' uses the point-crutches of the right window.
9118 Use :align-to rather than multiple spaces.
9119
9120 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9121
9122 * ruler-mode.el (ruler-mode-window-col)
9123 (ruler-mode-mouse-set-left-margin)
9124 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9125 from mouse position (Bug#17768).
9126
9127 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9128
9129 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9130 without varname or rhs causes crash.
9131 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9132 impossible to win endgame.
9133 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9134 rlogin is anymore.
9135 (dun-help): Bump version number; update contact info.
9136
9137 2014-06-15 Eli Barzilay <eli@barzilay.org>
9138
9139 * calculator.el (calculator-prompt, calculator-remove-zeros)
9140 (calculator-mode-hook, calculator-operators, calculator-stack)
9141 (calculator-mode): Tweak docstring.
9142 (calculator-user-operators): Tweak docstring, fix a bug in the last
9143 example.
9144 (calculator-displayer): `std' case has an optional boolean.
9145 (calculator-displayers): Use the new boolean to group in decimal mode.
9146 (calculator-mode-map, calculator, calculator-message)
9147 (calculator-op-arity, calculator-add-operators)
9148 (calculator-string-to-number, calculator-displayer-prev)
9149 (calculator-displayer-next, calculator-remove-zeros)
9150 (calculator-eng-display, calculator-number-to-string)
9151 (calculator-update-display, calculator-last-input)
9152 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9153 (calculator-exp, calculator-saved-move, calculator-clear)
9154 (calculator-copy, calculator-put-value, calculator-help)
9155 (calculator-expt, calculator-truncate): Minor code improvements.
9156 (calculator-need-3-lines): New function pulling out code from
9157 `calculator'.
9158 (calculator-get-display): Rename from `calculator-get-prompt', and
9159 improved.
9160 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9161 extended for all uses of it. All callers changed.
9162 (calculator-groupize-number): New utility for splitting a number into
9163 groups.
9164 (calculator-standard-displayer): Improve code, new optional argument to
9165 use comma-split groups, make second argument optional too to use with
9166 'left/'right inputs. All callers changed.
9167 (calculator-reduce-stack-once): New utility, doing the meat of what
9168 `calculator-reduce-stack' used to do, much improved (mostly using
9169 `pcase' for conciseness and clarity).
9170 (calculator-reduce-stack): Now doing just the reduction loop using
9171 `calculator-reduce-stack-once'.
9172 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9173 (calculator-last-input): Improve code, remove some old cruft.
9174 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9175 (calculator-integer-p): Remove.
9176 (calculator-fact): Improve code, make it work on non-integer values
9177 too (using truncated numbers).
9178
9179 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9180
9181 Sync with Tramp 2.2.10.
9182
9183 * net/tramp.el (tramp-methods): Tweak docstring.
9184 (tramp-handle-file-accessible-directory-p): Check for
9185 `file-readable-p' instead of `file-executable-p'.
9186 (tramp-check-cached-permissions):
9187 Use `tramp-compat-file-attributes'.
9188 (tramp-call-process): Add new argument VEC. Adapt callees in all
9189 tramp*.el files.
9190
9191 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9192 (tramp-adb-maybe-open-connection): Don't set
9193 `tramp-current-*' variables.
9194
9195 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9196 file properties of temporary buffers.
9197
9198 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9199
9200 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9201 (tramp-gvfs-handle-delete-file): Flush file
9202 properties, not directory properties.
9203 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9204 reading "unix::mode".
9205 (tramp-gvfs-handle-file-name-all-completions):
9206 Use "-h" option for "gvfs-ls".
9207 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9208 (tramp-gvfs-send-command): Simplify traces.
9209
9210 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9211 (vc-git-program, vc-hg-program): Declare.
9212 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9213 (tramp-methods) <nc>: Add new method.
9214 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9215 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9216 `tramp-login-args'.
9217 (tramp-default-user-alist): Add "nc".
9218 (top): Remove completion function for "sftp". Add completion
9219 functions for "nc" and "psftp".
9220 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9221 Implement support for "nc" method.
9222 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9223 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9224 Tweak docstring.
9225 (tramp-sh-handle-write-region): Tweak error message.
9226 (tramp-sh-handle-vc-registered): Remove backends when the remote
9227 binary does not exist.
9228 (tramp-find-inline-encoding): Do not raise an error.
9229 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9230 the "nc" case. Quote result also locally.
9231
9232 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9233 (tramp-smb-handle-set-file-acl): Use `start-process'.
9234 (tramp-smb-handle-insert-directory): Use progress reporter.
9235 (tramp-smb-handle-rename-file): Flush also file properties of
9236 FILENAME.
9237
9238 * net/trampver.el: Update release number.
9239
9240 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9243 add-to-list.
9244 (ses-localvars): Remove ses--local-printer-list, unused.
9245 (ses--metaprogramming): New macro. Use it to defvar variables.
9246 (ses-set-localvars): Simplify.
9247 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9248 property-list into an alist.
9249 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9250 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9251 Remove; use defstruct accessors/setters instead.
9252 (ses-cell-formula-aset, ses-cell-printer-aset)
9253 (ses-cell-references-aset): Remove, use setf instead.
9254 (ses--alist-get): New function.
9255 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9256 Use an alist instead of a plist and don't do move-to-front since the
9257 list is always short.
9258 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9259 (ses-cell-property-set-fun, ses-cell-property-set)
9260 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9261 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9262 (ses--letref): New macro.
9263 (ses-cell-property-pop): Rewrite.
9264 (ses--cell): Rename from ses-cell and make it into a function.
9265 Make `formula' fallback on `value' if nil.
9266 (ses--local-printer): Rename from ses-local-printer and make it into
9267 a function.
9268 (ses-set-cell): Turn it into a macro so finding the accessor from the
9269 field name is done at compile time.
9270 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9271 `ref' before adding `sym' to :ses-repair-reference.
9272 (ses-calculate-cell): Use ses--letref rather than
9273 ses-cell-property-get-handle.
9274 (ses-write-cells): Use a single prin1-to-string.
9275 (ses-setter-with-undo): New function.
9276 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9277 (ses-unset-with-undo): Remove.
9278 (ses-load): Prefer apply' over `eval'.
9279 (ses-read-printer, ses-set-column-width): Use standard "(default
9280 foo)" format.
9281
9282 2014-06-15 Glenn Morris <rgm@gnu.org>
9283
9284 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9285
9286 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9287 Replace delete-duplicates and mapcan by cl- versions throughout.
9288 And cl-macroexpand-all by macroexpand-all.
9289 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9290
9291 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9292
9293 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9294
9295 2014-06-15 Juri Linkov <juri@jurta.org>
9296
9297 * bindings.el: Put `ascii-character' property on keypad keys
9298 mapped to characters. (Bug#17759)
9299
9300 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9303 bumping forward into a closing paren (bug#17761).
9304
9305 * term/xterm.el (xterm--version-handler): Work around for OSX
9306 Terminal.app (bug#17607).
9307
9308 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9309
9310 * play/dunnet.el (dun-describe-room, dun-mode):
9311 If a lamp is in the room, you won't be eaten by a grue.
9312
9313 2014-06-13 Glenn Morris <rgm@gnu.org>
9314
9315 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9316 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9317 (compile-always): GNU make automatically passes
9318 command-line arguments to sub-makes.
9319
9320 * calendar/calendar.el (calendar-generate-window):
9321 Remove pointless call to font-lock-fontify-buffer.
9322
9323 2014-06-13 Matthias Meulien <orontee@gmail.com>
9324
9325 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9326 (bug#17767).
9327
9328 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * simple.el (set-mark-command): Simplify a bit.
9331
9332 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9333
9334 * help.el (help--key-binding-keymap): New function.
9335 (help--binding-locus): New function.
9336 (describe-key): Mention the keymap in which the binding was
9337 found. (bug#13948)
9338
9339 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * hippie-exp.el (he--all-buffers): New function.
9342 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9343 (try-expand-dabbrev-all-buffers): Use it.
9344
9345 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9346
9347 * hippie-exp.el (try-expand-line-all-buffers)
9348 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9349 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9350 original buffer, in case they're buffer-local.
9351
9352 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9353
9354 * ses.el (ses-initial-global-parameters-re): New defconst, a
9355 specific regexp is needed now that ses.el can handle both
9356 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9357 local printers.
9358 (ses-localvars): Add local variables needed for local printer handling.
9359 (ses-set-localvars): Handle hashmap initialization.
9360 (ses-paramlines-plist): Add param-line for number of local printers.
9361 (ses-paramfmt-plist): New defconst, needed for code factorization
9362 between functions `ses-set-parameter' and
9363 `ses-file-format-extend-paramter-list'
9364 (ses-make-local-printer-info): New defsubst.
9365 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9366 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9367 (ses-cell-printer-aset): New defmacro.
9368 (ses-local-printer-compile): New defun.
9369 (ses-local-printer): New defmacro.
9370 (ses-printer-validate, ses-call-printer): Add support for local
9371 printer functions.
9372 (ses-file-format-extend-paramter-list): New defun.
9373 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9374 factorization.
9375 (ses-load): Add support for local printer functions.
9376 (ses-read-printer): Update docstring and add support for local printer
9377 functions.
9378 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9379 (ses-safe-printer): Add support for local printer functions.
9380
9381 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9382
9383 * ffap.el (ffap-lax-url): New var (bug#17723).
9384 (ffap-url-at-point): Use it.
9385 (ffap-file-at-point): Avoid returning just "/".
9386
9387 2014-06-12 Matthias Meulien <orontee@gmail.com>
9388
9389 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9390 (python-mode-map): Bind it.
9391
9392 * progmodes/python.el (class skeleton): Don't erase last char of class
9393 name (bug#17683).
9394
9395 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9396
9397 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9398
9399 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9400
9401 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9402 (bug#17745).
9403
9404 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * international/mule-cmds.el: Use lexical-binding.
9407 (ucs-names): Simplify.
9408
9409 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9410
9411 * progmodes/python.el (run-python): Use read-shell-command.
9412
9413 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * rect.el: Make it possible to move bounds past EOL or into TABs.
9416 (operate-on-rectangle): Use apply-on-rectangle.
9417 (rectangle--mark-crutches): New var.
9418 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9419 (rectangle--crutches, rectangle--reset-crutches): New functions.
9420 (apply-on-rectangle): Obey crutches. Avoid setq.
9421 Fix missing final iteration if end is at EOB&BOL.
9422 (rectangle-mark-mode-map): Add remap bindings for
9423 exchange-point-and-mark and char/line movements.
9424 (rectangle--*-char): New function.
9425 (rectangle-exchange-point-and-mark, rectangle-right-char)
9426 (rectangle-left-char, rectangle-forward-char)
9427 (rectangle-backward-char, rectangle-next-line)
9428 (rectangle-previous-line): New commands.
9429 (rectangle--place-cursor): New function.
9430 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9431
9432 2014-06-08 Glenn Morris <rgm@gnu.org>
9433
9434 * startup.el (initial-buffer-choice): Doc fix.
9435 Reset :version (adding an option does not merit a :version bump).
9436
9437 * bookmark.el (bookmark-load):
9438 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9439
9440 2014-06-08 Juri Linkov <juri@jurta.org>
9441
9442 * desktop.el: Activate auto-saving on window configuration changes.
9443 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9444 `desktop-auto-save-set-timer' to/from
9445 `window-configuration-change-hook'.
9446 (desktop-auto-save-set-timer): Change REPEAT arg of
9447 `run-with-idle-timer' from t to nil.
9448 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9449
9450 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9451
9452 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9453 vc-hg-command (bug#17570).
9454
9455 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9458 (bug#17702).
9459
9460 2014-06-08 Glenn Morris <rgm@gnu.org>
9461
9462 * startup.el (window-setup-hook): Doc fix.
9463
9464 * emacs-lisp/package.el (package-check-signature)
9465 (package-unsigned-archives): Doc fixes.
9466
9467 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9468
9469 * window.el (display-buffer-use-some-window): Don't make window
9470 used smaller than it was before (Bug#17671).
9471
9472 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9473
9474 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9475 'redisplay' instead of '(sit-for 0)'.
9476
9477 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9478
9479 * net/tramp.el (tramp-ssh-controlmaster-options):
9480 Improve search regexp. (Bug#17653)
9481
9482 2014-06-08 Glenn Morris <rgm@gnu.org>
9483
9484 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9485
9486 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9487
9488 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9489
9490 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9491
9492 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9493 (bug#17586).
9494
9495 * vc/vc-hg.el (vc-hg-log-graph): New var.
9496 (vc-hg-print-log): Use it.
9497 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9498 graph output (bug#17515).
9499
9500 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9503 even happened elsewhere.
9504
9505 2014-06-06 Mario Lang <mlang@delysid.org>
9506
9507 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9508 `recenter' if `current-buffer' is equal to `window-buffer'.
9509
9510 2014-06-05 Leo Liu <sdl.web@gmail.com>
9511
9512 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9513
9514 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9515
9516 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9517 New function which calls a callback on portions of the buffer that are
9518 outside of ignored environments.
9519 (tildify-build-regexp): Remove function since it is now
9520 incorporated in `tildify-foreach-region-outside-env' where it is
9521 optimized and simplified by the use of `mapconcat'.
9522 (tildify-tildify): Return number of substitutions made so that…
9523 (tildify-count): …can be removed.
9524 (tildify-find-env): Accept a new PAIRS argument which was
9525 previously looked up in `tildify-ignored-environments-alist' each
9526 time the function was called. With this change, the lookup is
9527 performed only once in `tildify-foreach-region-outside-env'.
9528 (tildify-region): Greatly simplify the function since now most of
9529 the work is done by `tildify-foreach-region-outside-env'.
9530 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9531 and instead using or.
9532
9533 * textmodes/tildify.el (tildify-ignored-environments-alist):
9534 Optimize environments regexes
9535
9536 Each time beginning of an environment to ignore is found,
9537 `tildify-find-env' needs to identify regexp for the ending
9538 of the environment. This is done by trying all the opening
9539 regexes on matched text in a loop, so to speed that up, this
9540 loop should have fewer things to match, which can be done by
9541 using alternatives in the opening regexes.
9542
9543 Coincidentally, this should make matching of the opening
9544 regexp faster as well thanks to the use of `regexp-opt' and
9545 having common prefix pulled from many regexes.
9546
9547 * textmodes/tildify.el (tildify-string-alist)
9548 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9549 of supported modes since `xml-mode' is no longer a thing but just
9550 an alias to the former. Also include comments and insides of tags
9551 in `tildify-ignored-environments-alist' for XML modes. Finally,
9552 since XML does not define “&nbsp;”[1], use a numeric reference for
9553 a no-break space (namely “&#160;”)
9554
9555 [1] XML specification defines only a handful of predefined entities.
9556 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9557 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9558 >, &, ' and " respectively). This is in contrast to HTML and even
9559 XHTML which defined a whole bunch of entities including “&nbsp;”.
9560
9561 * textmodes/tildify.el (tildify-pattern-alist)
9562 (tildify-string-alist, tildify-ignored-environments-alist):
9563 Improve defcustom's types by adding more tags explaining what each
9564 value means and replace “sexp” used in
9565 `tildify-ignored-environments-alist' with a full type declaration.
9566
9567 * textmodes/tildify.el (tildify-find-env): Fix matched group
9568 indexes in end-regex building
9569
9570 When looking for a start of an ignore-environment, the regex is built
9571 by concatenating regexes of all the environments configured in
9572 `tildify-ignored-environments-alist'. So for example, the following
9573 list could be used to match TeX's \verb and \verb* commands:
9574
9575 (("\\\\verb\\(.\\)" . (1))
9576 ("\\\\verb\\*\\(.\\)" . (1)))
9577
9578 This would result in the following regex being used to find the start
9579 of any of the variants of the \verb command:
9580
9581 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9582
9583 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9584 won't match anything, and thus (match-string 1) will be nil, which
9585 will cause building of the end-matching regex to fail.
9586
9587 Fix this by using capture groups from the time when the opening
9588 regexes are matched individually.
9589
9590 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9591 in `tildify-find-env'
9592
9593 The `tildify-ignored-environments-alist' allows the end-regex to
9594 be provided not as a static string but mix of strings and indexes
9595 of groups matched the begin-regex. For example, the “\verb!…!”
9596 TeX-command (where “!” is an arbitrary character) is handled
9597 using:
9598
9599 ("\\\\verb\\*?\\(.\\)" . (1))
9600
9601 In the same way, the following should be supported as well:
9602
9603 ("open-\\(.\\)" . ("end-" 1))
9604
9605 However the tildify-find-env function fails at
9606
9607 (concat result
9608 (if (stringp (setq aux (car expression)))
9609 expression ; BUG: expression is a list
9610 (regexp-quote (match-string aux))))
9611
9612 where the string part is handled incorrectly.
9613
9614 The most trivial fix would be to replace `expression' in the
9615 true-part of the if-statement with `aux', but instead, this commit
9616 optimizes `tildify-find-env' by changing it to use `mapconcat'
9617 rather than open-coded while-loop.
9618
9619 2014-06-05 Mario Lang <mlang@delysid.org>
9620
9621 * woman.el (woman-mapcan): Remove.
9622 (woman-parse-colon-path): Use cl-mapcan instead.
9623
9624 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9625
9626 * register.el: Add link to Emacs manual in Commentary.
9627
9628 2014-06-02 Sam Steingold <sds@gnu.org>
9629
9630 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9631 (popup-menu): ...here.
9632 (menu-bar-open): Use it to avoid an error when `lookup-key'
9633 returns a number.
9634
9635 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9636
9637 * net/tramp.el (tramp-call-process): Add traces.
9638 (tramp-handle-unhandled-file-name-directory): Return "/".
9639
9640 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9641
9642 Sync with upstream verilog-mode revision 3cd8144.
9643 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9644 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9645 (verilog-type-font-keywords): Add nor.
9646 (verilog-batch-execute-func): Force reading of Local Variables.
9647 Fix printing "no changes to be saved" with verilog-batch.
9648 (verilog-auto-arg-ports): Doc fix.
9649 Add verilog-auto-arg-format to support newlines in AUTOARG.
9650 (verilog-auto-arg): Doc fix.
9651
9652 2014-06-02 Glenn Morris <rgm@gnu.org>
9653
9654 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9655 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9656 * emulation/ws-mode.el: Move to obsolete/.
9657 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9658
9659 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9660
9661 * simple.el (keyboard-quit): Force update of mode lines, to remove
9662 the "Def" indicator, if we were defining a macro. (Bug#17615)
9663
9664 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9665
9666 * minibuffer.el (minibuffer-force-complete-and-exit):
9667 Obey minibuffer-default (bug#17545).
9668
9669 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9670 (bug#17619).
9671
9672 * subr.el (set-transient-map): Don't wait for some "nested"
9673 transient-map to finish if we're only supposed to be active for
9674 the next command (bug#17642).
9675
9676 2014-06-02 Leo Liu <sdl.web@gmail.com>
9677
9678 * emacs-lisp/gv.el (window-buffer, window-display-table)
9679 (window-dedicated-p, window-hscroll, window-point, window-start):
9680 Fix gv-expander. (Bug#17630)
9681
9682 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9685 clicks (bug#17633).
9686
9687 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9688 for the single comma, since ", " is *very* common in normal French text
9689 (bug#17643).
9690
9691 2014-06-02 Glenn Morris <rgm@gnu.org>
9692
9693 * emacs-lisp/package.el (package-check-signature)
9694 (package-unsigned-archives): Fix :version.
9695
9696 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9697
9698 * subr.el (sit-for): Don't run input-methods (bug#15614).
9699
9700 2014-06-02 Glenn Morris <rgm@gnu.org>
9701
9702 * cus-start.el: Fix some :version numbers.
9703
9704 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * simple.el (deactivate-mark): Set mark-active to nil even if
9707 deactivation is done via setting transient-mark-mode to nil,
9708 since one is buffer-local and the other is global.
9709
9710 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9711 there can't be more than 2 arguments (bug#17584).
9712
9713 2014-06-02 Glenn Morris <rgm@gnu.org>
9714
9715 * simple.el (filter-buffer-substring-functions)
9716 (filter-buffer-substring-function, buffer-substring-filters)
9717 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9718
9719 * minibuffer.el (completion-in-region-functions, completion-in-region)
9720 (completion--in-region): Doc fixes.
9721
9722 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9723 (expand-abbrev, abbrev--default-expand): Doc fixes.
9724
9725 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9726
9727 Include sources used to create macuvs.h.
9728 * international/README: Refer to the Unicode Terms of Use rather
9729 than copying it bodily here, as that simplifies maintenance.
9730
9731 2014-06-01 Glenn Morris <rgm@gnu.org>
9732
9733 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9734
9735 2014-05-31 Glenn Morris <rgm@gnu.org>
9736
9737 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9738
9739 2014-05-30 Glenn Morris <rgm@gnu.org>
9740
9741 * loadup.el: Treat `command-line-args' more flexibly.
9742
9743 2014-05-30 Alan Mackenzie <acm@muc.de>
9744
9745 Guard (looking-at "\\s!") from XEmacs.
9746 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9747
9748 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9749
9750 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9751 The argument COUNT is now optional, to be more backward-compatible.
9752 Doc fix. (Bug#17560)
9753
9754 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9755
9756 * whitespace.el (whitespace-report-region):
9757 Simplify documentation.
9758 (whitespace-report-region): Allow report-if-bogus to take the
9759 value `never', for non-interactive use.
9760 (whitespace-report): Refer to whitespace-report-region's
9761 documentation.
9762
9763 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9766 Side benefit: it works without jit-lock.
9767 (whitespace-point--used): New buffer-local var.
9768 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9769 (whitespace-color-off): Use font-lock-flush.
9770 (whitespace-point--used, whitespace-point--flush-used): New functions.
9771 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9772 (whitespace-empty-at-eob-regexp): Use them.
9773 (whitespace-post-command-hook): Rewrite.
9774
9775 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9776 (font-lock-fontify-buffer): Mark interactive-only.
9777 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9778 Make buffer-local.
9779 (font-lock-specified-p): Remove redundant boundp check.
9780 (font-lock-flush-function, font-lock-ensure-function): New vars.
9781 (font-lock-turn-on-thing-lock): Set them.
9782 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9783 (font-lock-after-change-function): Make `old-len' optional.
9784 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9785 Call font-lock-flush, just in case.
9786 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9787 recent Emacsen.
9788 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9789 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9790 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9791 and with-syntax-table.
9792 * textmodes/conf-mode.el (conf-quote-normal):
9793 * progmodes/sh-script.el (sh-set-shell):
9794 * progmodes/prog-mode.el (prettify-symbols-mode):
9795 * progmodes/f90.el (f90-font-lock-n):
9796 * progmodes/cwarn.el (cwarn-mode):
9797 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9798 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9799 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9800 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9801 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9802 font-lock-fontify-buffer-function and
9803 font-lock-unfontify-buffer-function.
9804 (rmail-unfontify-buffer-function, rmail-fontify-message):
9805 Use with-silent-modifications.
9806 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9807 and font-lock-ensure.
9808 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9809
9810 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9811
9812 * emacs-lisp/package.el (package-generate-autoloads):
9813 Inhibit backup files.
9814
9815 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9818 (bug#17608).
9819
9820 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9821
9822 * textmodes/tildify.el (tildify-buffer, tildify-region):
9823 Add dont-ask option.
9824
9825 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9826
9827 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9828 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9829
9830 * subr.el (internal--funcall-interactively): New.
9831 (internal--call-interactively): Remove.
9832 (called-interactively-p): Detect funcall-interactively instead of
9833 call-interactively.
9834 * simple.el (repeat-complex-command): Use funcall-interactively.
9835 (repeat-complex-command--called-interactively-skip): Remove.
9836
9837 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * register.el (register-read-with-preview): Don't burp on
9840 frame switches (e.g. due to the frame we just popped).
9841
9842 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9843 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9844
9845 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9846
9847 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9848
9849 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9850
9851 * window.el (window--dump-frame): Remove interactive specification.
9852
9853 2014-05-26 Glenn Morris <rgm@gnu.org>
9854
9855 * hippie-exp.el (he-line-search-regexp):
9856 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9857
9858 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9859
9860 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9861 to avoid errors when trying to create or visit a file foo.todo
9862 located outside to todo-directory, and to allow having such files
9863 without them being tied to Todo mode (bug#17482).
9864 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9865 (todo-archive-done-item, todo-find-filtered-items-file)
9866 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9867 (todo-category-completions, todo-read-category): When visiting a
9868 Todo file, make sure we're in the right mode and the buffer local
9869 variables are set.
9870 (todo-make-categories-list, todo-reset-nondiary-marker)
9871 (todo-reset-done-string, todo-reset-comment-string):
9872 After processing all Todo files, kill the buffers of those files that
9873 weren't being visited before the processing.
9874 (todo-display-as-todo-file, todo-add-to-buffer-list)
9875 (todo-visit-files-commands): Comment out.
9876 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9877 (auto-mode-alist): Remove add-to-list calls making Todo file
9878 extensions unrestrictedly tied to Todo modes.
9879
9880 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9883 (advice-function-member-p): Tell it to check both names and functions
9884 (bug#17531).
9885 (advice--add-function): Adjust call accordingly.
9886
9887 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9888
9889 * calendar/todo-mode.el: Miscellaneous bug fixes.
9890 (todo-delete-file): When deleting an archive but not its todo
9891 file, make sure to update the todo file's category sexp.
9892 (todo-move-category): Keep the moved category's name unless the
9893 file moved to already has a category with that name. If the
9894 numerically last category of the source file was moved, make the
9895 first category current to avoid selecting a nonexisting category.
9896 (todo-merge-category): Fix implementation to make merging to a
9897 category in another file work as documented. Eliminate now
9898 insufficient and unnecessary renaming of archive category, correct
9899 document string accordingly, and clarify it. If the numerically
9900 last category of the source file was merged, make the first
9901 category current to avoid selecting a nonexisting category.
9902 (todo-archive-done-item): When there are marked items and point
9903 happens to be on an unmarked item, ignore the latter. Don't leave
9904 point below last item after archiving marked items.
9905 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9906 from an archive with only one category deletes the archive only
9907 when the category is empty after unarchiving. Make sure the todo
9908 file's category sexp is updated.
9909 (todo-read-file-name): Allow an existing file name even when it is
9910 not required (todo-move-category needs this to work as documented).
9911 (todo-add-file): Call todo-validate-name to reject the name of an
9912 existing todo file (needed due to fix in todo-read-file-name).
9913 (todo-reset-nondiary-marker): Also reset in filtered items files.
9914 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9915 regexp filtered items files.
9916 (todo-reset-highlight-item): Also reset in filtered items files.
9917 Fix incorrect variable reference in document string.
9918
9919 2014-05-26 Glenn Morris <rgm@gnu.org>
9920
9921 * window.el (window--dump-frame): Avoid error in --without-x builds.
9922
9923 2014-05-26 Glenn Morris <rgm@gnu.org>
9924
9925 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9926
9927 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9928
9929 * frame.el (set-frame-font): Doc fix.
9930
9931 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9932
9933 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9934
9935 * emacs-lisp/package.el (package--download-one-archive):
9936 Use `write-region' instead of `save-buffer' to avoid running various
9937 hooks. (Bug#17155)
9938 (describe-package-1): Same. Insert newline at the end of the
9939 buffer if appropriate.
9940
9941 2014-05-26 Juri Linkov <juri@jurta.org>
9942
9943 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9944 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9945 Add more modifiers: meta, control, shift, hyper, super, alt.
9946 (Bug#17439)
9947
9948 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9949 to allow changing its value with `set-variable'.
9950
9951 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9954 #; comments.
9955 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9956 New functions.
9957 (scheme-mode-variables): Set syntax-propertize-function instead of
9958 font-lock-syntactic-face-function.
9959 (scheme-font-lock-syntactic-face-function): Delete.
9960
9961 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9962
9963 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9964 (bug#17392).
9965
9966 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9967
9968 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9969 for a temporary file name.
9970
9971 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9972
9973 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9974
9975 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9976
9977 * net/dbus.el (dbus-init-bus, dbus-call-method)
9978 (dbus-call-method-asynchronously, dbus-send-signal)
9979 (dbus-method-return-internal, dbus-method-error-internal):
9980 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9981
9982 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9983
9984 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9985 methods which do not have a doc string. (Bug#17490)
9986
9987 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9988
9989 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9990 also for AMS Math's \eqref macro.
9991
9992 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9993
9994 Arrange to never byte-compile the generated -pkg.el file.
9995
9996 * emacs-lisp/package.el (package-generate-description-file):
9997 Output first-line comment to set buffer-local var `no-byte-compile'.
9998 Suggested by Dmitry Gutov:
9999 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10000
10001 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10002
10003 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10004
10005 * emacs-lisp/package.el (package-generate-description-file):
10006 Inline `package--alist-to-plist'; rewrite to selectively
10007 quote alist values that are not self-quoting.
10008 (package--alist-to-plist): Delete func.
10009
10010 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10011
10012 * term/xterm.el (xterm-function-map): Add mapping for shifted
10013 keypad keys.
10014
10015 2014-05-24 Daniel Colascione <dancol@dancol.org>
10016
10017 * progmodes/subword.el (subword-find-word-boundary): Move point to
10018 correct spot before search. (Bug#17580)
10019
10020 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10021 breaking the build.
10022
10023 2014-05-24 Leo Liu <sdl.web@gmail.com>
10024
10025 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10026
10027 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * minibuffer.el (completion--sreverse): Remove.
10030 (completion--common-suffix): Use `reverse' instead.
10031 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10032
10033 2014-05-22 Glenn Morris <rgm@gnu.org>
10034
10035 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10036
10037 2014-05-21 Daniel Colascione <dancol@dancol.org>
10038
10039 * files.el (interpreter-mode-alist): Add mksh.
10040
10041 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10042 derivative.
10043 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10044 mksh. Improve custom spec; allow regular expressions.
10045 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10046 (sh-after-hack-local-variables): New function.
10047 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10048 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10049 the normalization.
10050 (sh-canonicalize-shell): Rewrite to support regexes.
10051
10052 2014-05-21 Leo Liu <sdl.web@gmail.com>
10053
10054 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10055
10056 2014-05-19 Leo Liu <sdl.web@gmail.com>
10057
10058 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10059
10060 2014-05-18 Glenn Morris <rgm@gnu.org>
10061
10062 * loadup.el:
10063 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10064
10065 2014-05-14 Sam Steingold <sds@gnu.org>
10066
10067 * progmodes/python.el (python-shell-get-or-create-process):
10068 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10069 back unless requested.
10070
10071 2014-05-14 Glenn Morris <rgm@gnu.org>
10072
10073 * subr.el (with-file-modes): New macro.
10074 * printing.el (pr-save-file-modes): Make obsolete.
10075 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10076 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10077 Add with-file-modes.
10078 * doc-view.el (doc-view-make-safe-dir):
10079 * epg.el (epg--start):
10080 * files.el (locate-user-emacs-file, make-temp-file)
10081 (backup-buffer-copy, move-file-to-trash):
10082 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10083 * eshell/esh-util.el (eshell-with-private-file-modes)
10084 (eshell-make-private-directory):
10085 * net/browse-url.el (browse-url-mosaic):
10086 * obsolete/mailpost.el (post-mail-send-it):
10087 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10088 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10089 Use with-file-modes.
10090
10091 * vc/emerge.el (emerge-make-temp-file): Simplify.
10092
10093 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10094 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10097 suffix (bug#15419).
10098
10099 2014-05-14 Glenn Morris <rgm@gnu.org>
10100
10101 * vc/emerge.el (emerge-temp-file-prefix):
10102 Make pointless option obsolete.
10103 (emerge-temp-file-mode): Make non-functional option obsolete.
10104
10105 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10106
10107 * net/browse-url.el (browse-url):
10108 Use `unhandled-file-name-directory' when setting `default-directory',
10109 in order to circumvent stalled remote connections. (Bug#17425)
10110
10111 2014-05-14 Glenn Morris <rgm@gnu.org>
10112
10113 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10114 Optimize on Emacs, which has the relevant functions for ages.
10115
10116 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10119
10120 2014-05-12 Sam Steingold <sds@gnu.org>
10121
10122 * calendar/time-date.el (seconds-to-string): New function to
10123 pretty print time delay in seconds.
10124
10125 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * mpc.el (mpc-format): Trim Date to the year.
10128 (mpc-songs-hashcons): Shorten the Date field.
10129
10130 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10131 into autoloading just because of a silly indirection.
10132
10133 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10134
10135 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10136
10137 2014-05-12 Glenn Morris <rgm@gnu.org>
10138
10139 * emacs-lisp/find-gc.el: Move to ../admin.
10140
10141 * printing.el (pr-version):
10142 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10143
10144 * net/browse-url.el (browse-url-mosaic):
10145 Create /tmp/Mosaic.PID as a private file.
10146
10147 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10150 (advice--member-p): If name is given, only compare the name.
10151 (advice--remove-function): Don't stop at the first match.
10152 (advice--normalize-place): New function.
10153 (add-function, remove-function): Use it.
10154 (advice--add-function): Pass the name, if any, to
10155 advice--remove-function.
10156
10157 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10158
10159 * electric.el (electric-indent-post-self-insert-function): Don't use
10160 `pos' after modifying the buffer (bug#17449).
10161
10162 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10163
10164 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10165 Correct argument list to conform to todo-insert-item--basic.
10166
10167 2014-05-12 Glenn Morris <rgm@gnu.org>
10168
10169 * files.el (cd-absolute): Test if directory is accessible
10170 rather than executable. (Bug#17330)
10171
10172 * progmodes/compile.el (recompile):
10173 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10174
10175 * net/browse-url.el (browse-url-mosaic):
10176 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10177 This is CVE-2014-3423.
10178
10179 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * mouse.el: Use the normal toplevel loop while dragging.
10182 (mouse-set-point): Handle multi-clicks.
10183 (mouse-set-region): Handle multi-clicks for drags.
10184 (mouse-drag-region): Update call accordingly.
10185 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10186 Use the normal event loop instead of a local while/read-event loop.
10187 (global-map): Remove redundant bindings for double/triple-mouse-1.
10188 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10189 Generate synthetic down events when the protocol only sends up events.
10190 (xterm-mouse-last): Remove.
10191 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10192 terminal parameter instead.
10193 (xterm-mouse--set-click-count): New function.
10194 (xterm-mouse-event): Detect/generate double/triple clicks.
10195 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10196
10197 * info.el (Info-quoted): New face.
10198 (Info-mode-font-lock-keywords): New var.
10199 (Info-mode): Use it.
10200
10201 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10202 are a hindrance for C-x C-e.
10203
10204 2014-05-11 Leo Liu <sdl.web@gmail.com>
10205
10206 * net/rcirc.el (rcirc-sentinel): Fix last change.
10207
10208 2014-05-08 Sam Steingold <sds@gnu.org>
10209
10210 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10211 (rcirc-sentinel): Auto-reconnect to the server if
10212 `rcirc-reconnect-delay' is non-0 (but not more often than its
10213 value in case the host is off-line).
10214
10215 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10216
10217 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10218
10219 2014-05-09 Glenn Morris <rgm@gnu.org>
10220
10221 * files.el (file-expand-wildcards):
10222 * man.el (Man-support-local-filenames):
10223 * printing.el (pr-i-directory, pr-interface-directory):
10224 * progmodes/grep.el (lgrep, rgrep):
10225 * textmodes/ispell.el (ispell-call-process)
10226 (ispell-call-process-region, ispell-start-process)
10227 (ispell-init-process): Use file-accessible-directory-p.
10228
10229 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10232 (xterm-mouse--read-event-sequence-1000): Return nil if something
10233 looks fishy.
10234 (xterm-mouse-event): Propagate it.
10235 (xterm-mouse-translate-1): Handle it.
10236
10237 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10238
10239 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10240 four slots of the parameter list are filled, make sure to pass it
10241 to the argument list of todo-insert-item--basic.
10242
10243 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10246 Add optional `seen' argument to detect and break infinite loops.
10247
10248 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10249
10250 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10251 (trace-unsafe, trace-use-tree): Make parentheses style be
10252 according to Emacs style.
10253
10254 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10255
10256 * net/tramp-sh.el (tramp-remote-process-environment):
10257 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10258 Add :version entry.
10259 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10260 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10261 extra "PSx=..." commands.
10262 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10263 (Bug#17295)
10264
10265 (tramp-uudecode): Replace the hard-coded temporary file name by a
10266 format specifier.
10267 (tramp-remote-coding-commands): Enhance docstring.
10268 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10269 name. (Bug#17415)
10270 This is CVE-2014-3424.
10271
10272 2014-05-08 Glenn Morris <rgm@gnu.org>
10273
10274 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10275 (find-gc-source-files): Update some names.
10276 (trace-call-tree): Simplify and update.
10277 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10278 This is CVE-2014-3422.
10279
10280 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 * minibuffer.el (completion--try-word-completion): Revert fix for
10283 Bug#15980 (bug#17375).
10284
10285 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10286 Always store button numbers in the same way in xterm-mouse-last;
10287 Don't burp is xterm-mouse-last is not set as expected.
10288 Never return negative indices.
10289
10290 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10291
10292 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10293 Backtrack one char if the global/char-literal var matcher hits
10294 inside a string. The next char could be the beginning of an
10295 expression expansion.
10296
10297 2014-05-08 Glenn Morris <rgm@gnu.org>
10298
10299 * help-fns.el (describe-function-1): Test for an autoload before a
10300 macro, since `macrop' works on autoloads. (Bug#17410)
10301
10302 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10305
10306 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10307 Make sure the new point we return is within the new string (bug#17239).
10308
10309 2014-05-05 Daniel Colascione <dancol@dancol.org>
10310
10311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10312 Port `gnu' pattern to rx.
10313
10314 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10315
10316 Remove unneeded prompt when closing a buffer with active
10317 emacsclient ("Buffer ... still has clients"), #16548.
10318 * server.el (server-start): Remove the only call to:
10319 (server-kill-buffer-query-function): Remove.
10320
10321 2014-05-04 Leo Liu <sdl.web@gmail.com>
10322
10323 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10324 Defvar to pacify compiler.
10325
10326 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10327
10328 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10329
10330 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10333 Use nil rather than `default' for the "default" appearance (bug#17388).
10334 * vc/ediff-util.el (ediff-inferior-compare-regions)
10335 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10336 a misleading `default' value when it's really a boolean.
10337 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10338 overlay is not visible.
10339
10340 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10341
10342 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10343 (todo-menu): Uncomment and update.
10344
10345 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10346
10347 * calendar/todo-mode.el: Reimplement item editing to have the same
10348 basic user interface as item insertion, and make small UI and
10349 larger internal improvements to the latter.
10350 (todo-insert-item): Add reference to the Todo mode user manual to
10351 the documentation string.
10352 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10353 adjust all callers. Change signature to combine diary and
10354 nonmarking arguments. Incorporate functionality of deleted item
10355 copying command and add error checking. Remove detailed
10356 descriptions of the arguments from the documentation string, since
10357 this is treated in the Todo mode user manual.
10358 (todo-copy-item, todo-edit-multiline-item)
10359 (todo-edit-done-item-comment, todo-edit-item-header)
10360 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10361 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10362 (todo-edit-item-date-year, todo-edit-item-date-month)
10363 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10364 Remove.
10365 (todo-edit-item): Reimplement as wrapper command for
10366 todo-edit-item--next-key and make it distinguish done and not done
10367 todo items.
10368 (todo-edit-item--text): New function, replacing old command
10369 todo-edit-item and incorporating deleted commands
10370 todo-edit-multiline-item and todo-edit-done-item-comment.
10371 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10372 Use only numeric value of prefix argument. Remove detailed
10373 descriptions of the arguments from the documentation string, since
10374 this is treated in the Todo mode user manual.
10375 (todo-edit-item--diary-inclusion): New function, replacing old
10376 command todo-edit-item-diary-inclusion and incorporating and fixing
10377 functionality of deleted command todo-edit-item-diary-nonmarking,
10378 making sure to remove todo-nondiary-marker when adding
10379 diary-nonmarking-symbol.
10380 (todo-edit-category-diary-inclusion): Make sure to delete
10381 diary-nonmarking-symbol when adding todo-nondiary-marker.
10382 (todo-edit-category-diary-nonmarking): Fix indentation.
10383 (todo-insert-item--parameters): Group diary and nonmarking
10384 parameters together.
10385 (todo-insert-item--apply-args): Adjust to signature of
10386 todo-insert-item--basic and incorporate copy parameter.
10387 Make small code improvements.
10388 (todo-insert-item--next-param): Improve prompt and adjust it to
10389 new parameter grouping. Remove obsolete code.
10390 (todo-edit-item--param-key-alist)
10391 (todo-edit-item--date-param-key-alist)
10392 (todo-edit-done-item--param-key-alist): New defconsts.
10393 (todo-edit-item--prompt): New variable.
10394 (todo-edit-item--next-key): New function.
10395 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10396 Remove bindings of deleted commands.
10397
10398 2014-05-04 Leo Liu <sdl.web@gmail.com>
10399
10400 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10401
10402 2014-05-04 Glenn Morris <rgm@gnu.org>
10403
10404 * allout-widgets.el (allout-widgets-tally)
10405 (allout-decorate-item-guides):
10406 * menu-bar.el (menu-bar-positive-p):
10407 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10408 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10409 * progmodes/js.el (js--inside-param-list-p)
10410 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10411 * progmodes/prolog.el (region-exists-p):
10412 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10413 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10414 Doc fixes (replace `iff').
10415
10416 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10419
10420 2014-05-04 Leo Liu <sdl.web@gmail.com>
10421
10422 Support Chinese diary entries in calendar and diary. (Bug#17393)
10423 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10424 (calendar-chinese-from-absolute-for-diary)
10425 (calendar-chinese-to-absolute-for-diary)
10426 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10427 (diary-chinese-list-entries): New functions to list and mark
10428 Chinese diary entries in the calendar window.
10429 (diary-chinese-anniversary)
10430 (diary-chinese-insert-anniversary-entry)
10431 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10432 (diary-chinese-insert-yearly-entry): New commands to insert
10433 Chinese diary entries.
10434
10435 * calendar/diary-lib.el (diary-font-lock-keywords):
10436 Support font-locking Chinese dates.
10437
10438 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10439 inserting Chinese diary entries.
10440
10441 * calendar/calendar.el (diary-chinese-entry-symbol):
10442 New customizable variable.
10443 (calendar-mode-map): Add bindings for inserting Chinese diary
10444 entries.
10445
10446 2014-05-03 Juri Linkov <juri@jurta.org>
10447
10448 * dired.el (dired-check-switches, dired-switches-recursive-p):
10449 New functions. (Bug#17218)
10450 (dired-switches-escape-p, dired-move-to-end-of-filename):
10451 Use `dired-check-switches'.
10452 (dired-insert-old-subdirs, dired-build-subdir-alist)
10453 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10454
10455 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10456
10457 * simple.el (undo-make-selective-list): New algorithm fixes
10458 incorrectness of position adjustments when undoing in region.
10459 (Bug#17235)
10460 (undo-elt-crosses-region): Make obsolete.
10461 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10462 New functions to adjust positions using undo-deltas.
10463
10464 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10467 the last consecutive closing paren (bug#17345).
10468
10469 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10470
10471 * dired.el (dired-mode): make terminology for eXpunge command
10472 consistent. (Bug#17276)
10473
10474 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10475
10476 * dired.el (dired-initial-position-hook, dired-initial-position):
10477 Doc string fixes.
10478
10479 2014-04-30 Glenn Morris <rgm@gnu.org>
10480
10481 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10482
10483 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10484
10485 * faces.el (face-spec-recalc): Apply X resources only after the
10486 defface spec has been applied. Thus, X resources are no longer
10487 overriden by the defface spec which also fixes issues on win32 where
10488 the toolbar coloring was wrong because it is set through X resources
10489 and was (wrongfully) overriden. (Bug#16694)
10490
10491 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * textmodes/rst.el (electric-pair-pairs): Declare.
10494 (rst-mode): Set it (bug#17131).
10495
10496 2014-04-30 Juri Linkov <juri@jurta.org>
10497
10498 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10499 and `print-level' to nil. (Bug#17351)
10500
10501 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10502
10503 * battery.el (battery-update): Handle the case where battery
10504 status is "N/A" (bug#17319).
10505
10506 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10509 to syntax-propertize.
10510 (ps-mode-auto-indent): Mark as obsolete.
10511 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10512 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10513 word regexp operators.
10514 (ps-mode-map): Move initialization into declaration. Remove binding
10515 for TAB, RET, >, ], and }.
10516 (ps-mode-syntax-table): Move initialization into declaration.
10517 Don't give word syntax to non-word chars.
10518 (ps-run-mode-map): Move initialization into declaration.
10519 (ps-mode-menu-main): Remove auto-indent entry.
10520 (ps-mode-smie-rules): New function.
10521 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10522 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10523 (ps-mode--string-syntax-table): New const.
10524 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10525 New functions.
10526 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10527 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10528
10529 2014-04-27 Daniel Colascione <dancol@dancol.org>
10530
10531 * term/xterm.el (xterm-paste): Use large finite timeout when
10532 reading event to avoid putting keys in this-command-keys.
10533
10534 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10537 (perl-syntax-propertize-function): Use it. Extend handling of
10538 here-docs to the unquoted case.
10539
10540 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10541
10542 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10543 Use equal-including-properties to compare help-echo strings (bug#17331).
10544
10545 2014-04-25 Leo Liu <sdl.web@gmail.com>
10546
10547 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10548 Fix syntax for @. (Bug#17325)
10549
10550 2014-04-25 Daniel Colascione <dancol@dancol.org>
10551
10552 * emacs-lisp/cl.el (gv): Require gv early to break eager
10553 macro-expansion cycles.
10554
10555 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * simple.el (region-active-p): Check there's a mark (bug#17324).
10558
10559 * simple.el (completion-list-mode-map): Use choose-completion for the
10560 mouse binding as well (bug#17302).
10561 (completion-list-mode, completion-setup-function): Adjust docstring and
10562 echo area message accordingly.
10563 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10564 calling convention of choose-completion.
10565 * comint.el (comint-dynamic-list-completions):
10566 * term.el (term-dynamic-list-completions): Accept choose-completion.
10567
10568 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10569 &, |, +, - and * can't be a division (bug#17317).
10570
10571 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10572 features on gnome-terminal (bug#16988).
10573
10574 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10575
10576 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10577
10578 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10579 the declared object, ignore zero or more parens, not zero or one.
10580
10581 2014-04-24 Leo Liu <sdl.web@gmail.com>
10582
10583 * progmodes/xscheme.el (xscheme-expressions-ring)
10584 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10585 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10586 (xscheme-allow-output-p, xscheme-prompt)
10587 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10588
10589 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10590 Comment out unused functions.
10591
10592 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * info.el: Use lexical-binding and cl-lib.
10595 Use defvar-local and setq-local instead of make-local-variable.
10596 (Info-apropos-matches): Avoid add-to-list.
10597 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10598
10599 2014-04-24 Daniel Colascione <dancol@dancol.org>
10600
10601 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10602
10603 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10604
10605 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10606
10607 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10608
10609 * dired.el (dired-insert-set-properties): Do not consider
10610 subdirectory headings and empty lines to be information that
10611 `dired-hide-details-mode' should hide. (Bug#17228)
10612
10613 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10614
10615 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10616 Remove test messages.
10617 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10618 and `target' twice.
10619
10620 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10623 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10624
10625 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10626
10627 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10628
10629 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10630 Set "IFS=" when using read builtin, in order to preserve spaces in
10631 the file name. Add test messages for hunting a bug on hydra.
10632 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10633
10634 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10637 Don't prettify a word within a symbol.
10638
10639 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10640
10641 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10642 possible.
10643
10644 2014-04-22 Daniel Colascione <dancol@dancol.org>
10645
10646 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10647 use defun to define `function-put'.
10648
10649 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10652 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10653 (lisp-mode-variables): Set font-lock-extra-managed-props.
10654
10655 * emacs-lisp/byte-run.el (function-put): New function.
10656 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10657 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10658 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10659 Use them.
10660
10661 2014-04-22 Daniel Colascione <dancol@dancol.org>
10662
10663 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10664 Add `full-p' parameter; when nil, call `macroexpand' instead of
10665 `macroexpand-all'.
10666
10667 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10668 Improve docstrings.
10669
10670 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10671 Use lambda function values, not quoted lambdas.
10672 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10673
10674 * emacs-lisp/cl-macs.el
10675 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10676 (cl-struct-slot-value): Conditionally use aref or nth so that the
10677 compiler produces optimal code.
10678
10679 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10680
10681 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10682 (inline): Don't inline cl--set-elt.
10683 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10684 Define as inlinable instead.
10685 (cl-struct-set-slot-value): Remove.
10686
10687 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10688 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10689 Use setf instead.
10690
10691 2014-04-21 Daniel Colascione <dancol@dancol.org>
10692
10693 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10694 last two parameters after all.
10695 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10696 (cl--compiler-macro-assoc,cl-struct-slot-value)
10697 (cl-struct-set-slot-value): Stop using them.
10698
10699 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10702 entry in image-mode-winprops-alist.
10703
10704 2014-04-21 Daniel Colascione <dancol@dancol.org>
10705
10706 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10707 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10708 (byte-compile-toplevel-file-form): Use it.
10709
10710 * emacs-lisp/cl-macs.el:
10711 (cl--loop-let): Properly destructure `while' clauses.
10712
10713 2014-04-20 Daniel Colascione <dancol@dancol.org>
10714
10715 * vc/vc.el (vc-root-dir): New public autoloaded function for
10716 generically finding the current VC root.
10717 * vc/vc-hooks.el (vc-not-supported): New error.
10718 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10719
10720 2014-04-20 Daniel Colascione <dancol@dancol.org>
10721
10722 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10723 argument.
10724 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10725 argument in case we're inside a symbol-macrolet.
10726 (cl--do-arglist, cl--compiler-macro-typep)
10727 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10728 environment to `cl--const-expr-val'.
10729 (cl-struct-sequence-type,cl-struct-slot-info)
10730 (cl-struct-slot-offset, cl-struct-slot-value)
10731 (cl-struct-set-slot-value): New functions.
10732
10733 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10736 assignments such as "case=hello" (bug#17297).
10737
10738 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10739
10740 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10741 Do not autoload.
10742 (tramp-file-name-handler, tramp-completion-file-name-handler):
10743 Revert patch from 2014-04-10, it isn't necessary anymore.
10744 (tramp-autoload-file-name-handler)
10745 (tramp-register-autoload-file-name-handlers): New defuns.
10746 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10747 (tramp-register-file-name-handlers): Remove also
10748 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10749 Do not autoload its invocation, but eval it after loading of 'tramp.
10750
10751 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10752
10753 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10754
10755 2014-04-17 Daniel Colascione <dancol@dancol.org>
10756
10757 Add support for bracketed paste mode; add infrastructure for
10758 managing terminal mode enabling and disabling automatically.
10759
10760 * xt-mouse.el:
10761 (xterm-mouse-mode): Simplify.
10762 (xterm-mouse-tracking-enable-sequence)
10763 (xterm-mouse-tracking-disable-sequence): New constants.
10764 (turn-on-xterm-mouse-tracking-on-terminal)
10765 (turn-off-xterm-mouse-tracking-on-terminal):
10766 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10767 parameters instead of random hooks.
10768 (turn-on-xterm-mouse-tracking)
10769 (turn-off-xterm-mouse-tracking): Delete.
10770
10771 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10772 (xterm-paste-ending-sequence): New constant.
10773 (xterm-paste): New command used for bracketed paste support.
10774
10775 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10776 (terminal-init-xterm-bracketed-paste-mode): New function.
10777 (terminal-init-xterm): Call it.
10778 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10779 and tty-mode-reset-strings instead of random hooks.
10780 (xterm-turn-on-modify-other-keys)
10781 (xterm-turn-off-modify-other-keys)
10782 (xterm-remove-modify-other-keys): Delete obsolete functions.
10783
10784 * term/screen.el: Rewrite to just use the xterm code.
10785 Add copyright notice. Mention tmux.
10786
10787 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10788
10789 * image-mode.el (image-mode-window-put): Also update the property of
10790 the "default window".
10791 * doc-view.el (doc-view-new-window-function): If no window
10792 exists, move to the last known page.
10793
10794 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10797 here-documents (bug#17262).
10798
10799 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10800
10801 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10802 Provide doc strings, as required by snarf-documentation.
10803
10804 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10807 arg of overlays-at. Use `invisible-p'.
10808
10809 * obsolete/lucid.el (extent-at):
10810 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10811 overlays-at.
10812 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10813
10814 2014-04-16 João Távora <joaotavora@gmail.com>
10815
10816 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10817 links. (Bug#17217).
10818
10819 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10820
10821 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10822 Use mapc to loop over a vector. (Bug#17257).
10823
10824 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10825
10826 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10827 patch, there are new problems with file names containing spaces.
10828 Get rid of backticks. (Bug#17238)
10829
10830 2014-04-16 João Távora <joaotavora@gmail.com>
10831
10832 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10833 possible bug.
10834
10835 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10836
10837 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10838 (blink-cursor-mode): Mention customization variables and the
10839 effect of 'blink-cursor-blinks'.
10840
10841 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10842
10843 * simple.el (undo): Prevent insertion of identity mapping into
10844 undo-equiv-table so as undo-only does not inf loop in the presence
10845 of consecutive nils in undo list.
10846
10847 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10848
10849 * faces.el (make-face): Deprecate optional argument as it is no
10850 longer needed/used since the conditional X resources handling
10851 has been pushed down to make-face-x-resource-internal itself.
10852 (make-empty-face): Don't pass optional argument to make-face.
10853
10854 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10855
10856 * savehist.el (savehist-save): Remove workaround for a read-passwd
10857 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10858 noticing that the shim was still present.
10859
10860 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10861
10862 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10863
10864 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * faces.el (face-set-after-frame-default): Remove unused local variable.
10867
10868 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * progmodes/grep.el: Use lexical-binding.
10871 (grep-expand-template): Pass explicit lexical env to `eval'.
10872 (zrgrep): Let-bind grep-find-template explicitly.
10873
10874 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10875 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10876
10877 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10878
10879 * international/characters.el <standard-case-table>: Add entries
10880 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10881 Set category of Coptic characters be 'g' (Greek).
10882
10883 2014-04-12 Leo Liu <sdl.web@gmail.com>
10884
10885 * progmodes/octave.el (completion-table-with-cache):
10886 Define if not available.
10887 (octave-goto-function-definition, octave-sync-function-file-names)
10888 (octave-find-definition-default-filename):
10889 Backquote upattern for compatibility.
10890
10891 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10892
10893 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10894 name twice due to backticks. (Bug#17238)
10895
10896 2014-04-12 Glenn Morris <rgm@gnu.org>
10897
10898 * term/w32-win.el (x-win-suspend-error):
10899 * term/x-win.el (x-win-suspend-error): Sync docs.
10900
10901 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10902
10903 * faces.el (make-face): Remove deprecated optional argument.
10904 The conditional application of X resources is handled directly by
10905 make-face-x-resource-internal since Emacs 24.4.
10906 (make-empty-face): Don't pass optional argument to make-face.
10907
10908 2014-04-11 Glenn Morris <rgm@gnu.org>
10909
10910 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10911
10912 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 Ediff's overlay priorities cause more trouble than they solve.
10915 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10916 (ediff-highest-priority): Remove function (bug#17234).
10917 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10918 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10919 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10920 overlay priorities.
10921
10922 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10923
10924 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10925 entry; use symbol boundaries to avoid mis-matches.
10926
10927 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10928
10929 * net/tramp.el (tramp-file-name-handler)
10930 (tramp-completion-file-name-handler): Avoid recursive loading.
10931
10932 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10933 Quote result also locally.
10934
10935 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10938 Remove left-over code.
10939
10940 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10941 Reuse the previous comment's indentation unconditionally if it's on its
10942 own line.
10943
10944 2014-04-09 Daniel Colascione <dancol@dancol.org>
10945
10946 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10947 `no-syntax-crossing' arguments. Forward to `up-list'.
10948 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10949 Implement logic for escaping from strings. Use narrowing to deal
10950 with corner cases.
10951
10952 2014-04-09 Leo Liu <sdl.web@gmail.com>
10953
10954 * net/rcirc.el (rcirc-connection-info): New variable.
10955 (rcirc-connect): Use it to store connection info.
10956 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10957 for killed process.
10958 (rcirc-cmd-reconnect): New command. (Bug#17045)
10959 (rcirc-mode, set-rcirc-encode-coding-system)
10960 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10961
10962 2014-04-09 Daniel Colascione <dancol@dancol.org>
10963
10964 * emacs-lisp/cl-indent.el: Add comment claiming
10965 facility is also good for elisp.
10966 (lisp-indent-find-method): New function.
10967 (common-lisp-indent-function): Recognize cl-loop.
10968 (common-lisp-indent-function-1): Recognize cl constructs; use
10969 `lisp-indent-find-method' instead of `get' directly.
10970 (if): Use else-body style for elisp.
10971
10972 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10973
10974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10975 Module methods. (Bug#17216)
10976
10977 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10978
10979 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10980 (describe-bindings-internal): Mark obsolete.
10981
10982 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10985 buffer-file-name, and buffer-file-truename any more.
10986
10987 2014-04-08 Leo Liu <sdl.web@gmail.com>
10988
10989 Use lexical-binding and require cl-lib.
10990 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10991 (rcirc-handler-generic, rcirc-fill-paragraph)
10992 (rcirc-format-response-string, rcirc-target-buffer)
10993 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10994 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10995 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10996 (rcirc-markup-timestamp, rcirc-markup-attributes)
10997 (rcirc-markup-my-nick, rcirc-markup-urls)
10998 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10999 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11000 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11001 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11002 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11003 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11004 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11005 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11006 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11007 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11008 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11009 use cl-lib.
11010
11011 2014-04-07 João Távora <joaotavora@gmail.com>
11012
11013 * elec-pair.el (electric-pair--syntax-ppss):
11014 When inside comments parse from comment beginning.
11015 (electric-pair--balance-info): Fix typo in comment.
11016 (electric-pair--in-unterminated-string-p): Delete.
11017 (electric-pair--unbalanced-strings-p): New function.
11018 (electric-pair-string-bound-function): New var.
11019 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11020 according to `electric-pair--in-unterminated-string-p'
11021
11022 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11023 Inhibit quote pairing if point-max is inside an unterminated string.
11024 (electric-pair--looking-at-unterminated-string-p): Delete.
11025 (electric-pair--in-unterminated-string-p): New function.
11026
11027 2014-04-07 Glenn Morris <rgm@gnu.org>
11028
11029 * shell.el (shell-directory-tracker):
11030 Go back to just ignoring failures. (Bug#17159)
11031
11032 2014-04-07 João Távora <joaotavora@gmail.com>
11033
11034 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11035 backspace. (Bug#16981)
11036 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11037 (electric-pair-backward-delete-char-untabify): Delete.
11038 (electric-pair-mode-map): Bind backspace to a menu item filtering
11039 a new `electric-pair-delete-pair' command.
11040 (electric-pair-delete-pair): New command.
11041
11042 * progmodes/python.el (python-electric-pair-string-delimiter):
11043 Fix triple-quoting electricity. (Bug#17192)
11044
11045 * elec-pair.el (electric-pair-post-self-insert-function):
11046 Don't skip whitespace when `electric-pair-text-pairs' and
11047 `electric-pair-pairs' were used. syntax to
11048 electric-pair--skip-whitespace. (Bug#17183)
11049
11050 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11051
11052 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11053 "<F>". (Bug#17199)
11054
11055 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11058 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11059
11060 2014-04-07 Glenn Morris <rgm@gnu.org>
11061
11062 * help.el (view-lossage): Doc tweak.
11063
11064 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11065
11066 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11067 only when inhibit-x-resources is nil, and do that earlier in the
11068 function. Doc fix. (Bug#16694)
11069 (face-spec-choose): Accept additional optional argument, whose
11070 value is returned if no matching attributes are found.
11071 (face-spec-recalc): Use the new optional argument when calling
11072 face-spec-choose. (Bug#16378)
11073 (make-face-x-resource-internal): Do nothing when
11074 inhibit-x-resources is non-nil. Don't touch the default face if
11075 reversed video is given--as was done in previous versions of Emacs.
11076 (face-set-after-frame-default): Don't call
11077 make-face-x-resource-internal here. (Bug#16434)
11078
11079 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11080
11081 * doc-view.el (doc-view-bookmark-jump):
11082 Use `bookmark-after-jump-hook' to jump to the right page after the
11083 buffer is shown in a window. (bug#16090)
11084
11085 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11086
11087 * international/characters.el (mirroring): Fix last change:
11088 instead of loading uni-mirrored.el explicitly, do that implicitly
11089 by creating the 'mirroring' uniprop table. This avoids announcing
11090 the loading of uni-mirrored.el.
11091
11092 2014-04-07 Glenn Morris <rgm@gnu.org>
11093
11094 * files.el (buffer-stale--default-function)
11095 (buffer-stale-function, revert-buffer--default):
11096 * autorevert.el (auto-revert-buffers): Doc tweaks.
11097
11098 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11099
11100 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11101
11102 2014-04-07 Glenn Morris <rgm@gnu.org>
11103
11104 * files.el (make-backup-file-name-function)
11105 (make-backup-file-name, make-backup-file-name--default-function)
11106 (make-backup-file-name-1, find-backup-file-name)
11107 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11108 (buffer-stale--default-function, buffer-stale-function)
11109 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11110 (revert-buffer, revert-buffer--default)
11111 (revert-buffer-insert-file-contents--default-function):
11112 Doc fixes related to defaults no longer being nil.
11113 (make-backup-file-name-function): Bump :version.
11114 Restore nil as a valid but deprecated custom type.
11115
11116 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11117
11118 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11119 Handle $' used as a variable (bug#17174).
11120
11121 * progmodes/perl-mode.el (perl-indent-new-calculate):
11122 Handle forward-sexp failure (bug#16985).
11123 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11124 modifiers introducing expressions (bug#17116).
11125
11126 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11129
11130 2014-04-05 Leo Liu <sdl.web@gmail.com>
11131
11132 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11133 Add define-compilation-mode.
11134
11135 2014-04-04 João Távora <joaotavora@gmail.com>
11136
11137 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11138 parse from comment beginning.
11139 (electric-pair--balance-info): Fix typo in comment.
11140 (electric-pair--in-unterminated-string-p): Delete.
11141 (electric-pair--unbalanced-strings-p): New function.
11142 (electric-pair-string-bound-function): New var.
11143 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11144 according to `electric-pair--in-unterminated-string-p'.
11145
11146 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11149 Move declaration before first use.
11150 (reftex-move-to-next-arg): Silence compiler warning.
11151
11152 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11153
11154 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11155 Use `window-total-width' instead of `window-width'.
11156
11157 2014-04-03 Daniel Colascione <dancol@dancol.org>
11158
11159 * subr.el (set-transient-map): Remove rms's workaround entirely;
11160 use new `suspicious-object' subr to mark our lambda for closer
11161 scrutiny during gc.
11162
11163 2014-04-02 Richard Stallman <rms@gnu.org>
11164
11165 * subr.el (set-transient-map): Comment out previous change.
11166
11167 2014-04-02 Glenn Morris <rgm@gnu.org>
11168
11169 * menu-bar.el (menu-bar-file-menu):
11170 * vc/ediff.el (ediff-current-file):
11171 Update for revert-buffer-function no longer being nil by default.
11172
11173 * simple.el (command-execute): Respect nil disabled-command-function.
11174
11175 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11176
11177 * simple.el (command-execute): Do not execute the command when it
11178 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11179
11180 2014-04-02 Juri Linkov <juri@jurta.org>
11181
11182 * dired-aux.el (dired-compress-file): Don't use string-match-p
11183 because its match data is used afterwards.
11184
11185 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11188 0 like nil.
11189
11190 2014-04-02 João Távora <joaotavora@gmail.com>
11191
11192 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11193 Inhibit quote pairing if point-max is inside an unterminated string.
11194 (electric-pair--looking-at-unterminated-string-p):
11195 Delete.
11196 (electric-pair--in-unterminated-string-p): New function.
11197
11198 2014-04-01 Daniel Colascione <dancol@dancol.org>
11199
11200 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11201 when trying to complete the prompt.
11202
11203 2014-03-31 Leo Liu <sdl.web@gmail.com>
11204
11205 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11206 Refactor out eldoc-documentation-function-default.
11207 (eldoc-documentation-function-default): New function.
11208 (eldoc-documentation-function): Change value.
11209
11210 2014-03-31 Glenn Morris <rgm@gnu.org>
11211
11212 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11213
11214 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11215 (vhdl-compose-components-package, vhdl-compose-configuration):
11216 Abbreviate default-directory (missing from some previous upstream sync).
11217
11218 2014-03-31 Reto Zimmermann <reto@gnu.org>
11219
11220 Sync with upstream vhdl mode v3.35.2.
11221 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11222 (top-level): No longer require assoc.
11223 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11224 New functions. Use throughout to replace aget etc.
11225 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11226 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11227 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11228 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11229 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11230 except `vhdl-compiler'.
11231 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11232 when appropriate.
11233
11234 2014-03-31 Glenn Morris <rgm@gnu.org>
11235
11236 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11237 Revert 2014-03-26 merge goof; go back to using defalias.
11238
11239 2014-03-30 Daniel Colascione <dancol@dancol.org>
11240
11241 * comint.el (comint-send-input):
11242 Deactivate completion-in-region-mode before we send comint input.
11243 (Bug#17139).
11244
11245 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11246 on keyboard-quit.
11247
11248 2014-03-29 Glenn Morris <rgm@gnu.org>
11249
11250 * textmodes/reftex.el: Manage most autoloads automatically.
11251 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11252 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11253 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11254 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11255 * textmodes/reftex-toc.el: Set generated-autoload-file,
11256 and add autoload cookies for reftex.el.
11257 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11258
11259 2014-03-28 Glenn Morris <rgm@gnu.org>
11260
11261 * cus-start.el (report-emacs-bug-address): Set custom properties.
11262 * mail/emacsbug.el (report-emacs-bug-address):
11263 Variable is now defined in emacs.c.
11264
11265 * mail/emacsbug.el (report-emacs-bug):
11266 Include system-configuration-features.
11267
11268 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11269
11270 * simple.el (cycle-spacing): Never delete spaces on first run by
11271 default, but do so in a new 'fast mode and if there are already
11272 N spaces (the previous behavior).
11273 Compare N with its value in previous invocation so that changing
11274 prefix argument restarts `cycle-spacing' sequence.
11275 The idea is that with this change, binding M-SPC to
11276 `cycle-spacing' should not introduce any changes in behavior of
11277 the binding so long as users do not type M-SPC twice in a raw with
11278 the same prefix argument or lack thereof.
11279
11280 2014-03-28 Glenn Morris <rgm@gnu.org>
11281
11282 * faces.el (term-file-aliases): New variable.
11283 (tty-run-terminal-initialization): Respect term-file-aliases.
11284 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11285 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11286 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11287
11288 2014-03-27 Glenn Morris <rgm@gnu.org>
11289
11290 * startup.el (inhibit-startup-hooks): Doc tweak.
11291 (normal-top-level): Simplify running of hooks.
11292 For window-setup-hook, respect inhibit-startup-hooks.
11293 (command-line-1): Don't set window-setup-hook to nil.
11294
11295 Allow selective autoloading from obsolete/ directory.
11296 * Makefile.in (obsolete-autoloads): New rule.
11297 (autoloads): Run obsolete-autoloads.
11298 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11299 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11300
11301 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11302
11303 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11304 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11305
11306 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11307 Don't propertize `?' or `!' as symbol constituent when after
11308 colon. (Bug#17097)
11309
11310 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11311
11312 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11313 which is no longer needed and causes trouble in GTK builds (bug#17046).
11314
11315 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11316 Use url-insert-file-contents; package-handle-response no longer exists.
11317
11318 2014-03-26 Daniel Colascione <dancol@dancol.org>
11319
11320 * simple.el (process-menu-mode-map): New variable.
11321 (process-menu-delete-process): New command.
11322
11323 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11324
11325 * emacs-lisp/package.el: Fix bug#16733 (again).
11326 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11327 (url-http-target-url): Remove unused declarations.
11328 (package-handle-response): Remove.
11329 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11330 (package--download-one-archive): Use current-buffer instead of
11331 dynamic binding of `buffer'.
11332 (describe-package-1): Do not decode readme-string.
11333
11334 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11335
11336 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11337
11338 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11339 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11340 `remote-file-name-inhibit-cache' to nil in the second pass.
11341 (tramp-find-executable): Do not call "which" on SunOS.
11342 (tramp-send-command-and-check): Fix docstring.
11343 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11344 check whether source directory has set the sticky bit.
11345
11346 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11347
11348 * simple.el (primitive-undo): Only process marker adjustments
11349 validated against their corresponding (TEXT . POS). Issue warning
11350 for lone marker adjustments in undo history. (Bug#16818)
11351 (undo-make-selective-list): Add marker adjustments to selective
11352 undo list based on whether their corresponding (TEXT . POS) is in
11353 the region. Remove variable adjusted-markers, which was unused
11354 and only non nil during undo-make-selective-list.
11355 (undo-elt-in-region): Return nil when passed a marker adjustment
11356 and explain in function doc.
11357
11358 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11359
11360 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11361
11362 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11363
11364 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11365 Match special global variables without curlies, too.
11366 (ruby-font-lock-keywords): Simplify the matcher for special global
11367 variables. Don't require a non-word character after the variable.
11368 (Bug#17057)
11369
11370 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * simple.el (redisplay-highlight-region-function): Increase priority of
11373 overlay to make sure boundaries are visible (bug#15899).
11374
11375 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11376
11377 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11378 (frameset-restore): Compare display strings with equal.
11379
11380 * frame.el (make-frame): Don't quote display name in error message,
11381 it is already a string.
11382
11383 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11384
11385 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11386 the password.
11387
11388 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11389
11390 * emacs-lisp/package.el (package--add-to-archive-contents):
11391 Include already installed and built-in packages in
11392 `package-archive-contents'.
11393 (package-install): Don't include already installed packages in the
11394 options during interactive invocation. (Bug#16762)
11395 (package-show-package-list): If the buffer is already displayed in
11396 another window, switch to that window.
11397
11398 2014-03-26 Reto Zimmermann <reto@gnu.org>
11399
11400 Sync with upstream vhdl mode v3.35.1.
11401 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11402 (vhdl-compiler-alist): Doc fix.
11403 (vhdl-goto-line): Remove.
11404 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11405 (vhdl-mode) <paragraph-start>: Fix value.
11406 (vhdl-fix-statement-region): Not `for' in wait-statement.
11407 (vhdl-beautify-region): Also (un)tabify.
11408 (vhdl-get-visible-signals):
11409 Scan declarative part of generate statements.
11410 (vhdl-template-record): Fix indentation for record type declaration.
11411 (vhdl-expand-abbrev, vhdl-expand-paren):
11412 Revert to using fset again rather than defalias.
11413 (vhdl-scan-directory-contents): Tweak.
11414 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11415 (vhdl-compose-components-package):
11416 Replace vhdl-goto-line with forward-line.
11417 (top-level): Tweak speedbar frame selection.
11418 (vhdl-generate-makefile-1): Support for compilers with no
11419 unit-to-file name mapping (create directory with dummy files).
11420
11421 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11422
11423 Sync with upstream verilog-mode revision 702457d.
11424 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11425 (create-lockfiles): Declare.
11426 (verilog-read-decls): Fix module header imports, bug709.
11427 Reported by Victor Lau.
11428 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11429 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11430 interface-only modules, bug721. Reported by Dean Hoyt.
11431
11432 2014-03-26 Glenn Morris <rgm@gnu.org>
11433
11434 * obsolete/gulp.el: Move here from emacs-lisp/.
11435
11436 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11437 Remove fallback aliases, since they are always defined now.
11438
11439 2014-03-24 Daniel Colascione <dancol@dancol.org>
11440
11441 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11442 instead of cl-loop search function.
11443
11444 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11445
11446 * calendar/parse-time.el (parse-time-iso8601-regexp)
11447 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11448 it more generally.
11449
11450 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11451
11452 * net/dns.el (network-interface-list): Define for XEmacs.
11453
11454 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11455
11456 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11457 the network interfaces changed.
11458 (dns-query): Use it to flush the data.
11459
11460 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11461
11462 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11463
11464 2014-03-23 Daniel Colascione <dancol@dancol.org>
11465
11466 Change subword-mode to use `find-word-boundary-function-table' and
11467 replace `capitalized-words-mode'. Also, convert to lexical binding.
11468 * progmodes/cap-words.el: Delete now-obsolete file.
11469 * progmodes/subword.el: Reimplement using
11470 `find-word-boundary-function-table'.
11471 (subword-mode-map): Hollow out.
11472 (capitalized-words-mode): Define as obsolete alias for
11473 `subword-mode'.
11474 (subword-mode, superword-mode): Tweak documentation to reflect new
11475 implementation; call `subword-setup-buffer'.
11476 (subword-forward, subword-capitalize): Add underscore to indicate
11477 unused variable.
11478 (subword-find-word-boundary-function-table): New constant.
11479 (subword-empty-char-table): New constant.
11480 (subword-setup-buffer): New function.
11481 (subword-find-word-boundary): New function.
11482
11483 2014-03-23 Daniel Colascione <dancol@dancol.org>
11484
11485 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11486 list to look for keyword arguments instead of `memq', fixing
11487 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11488 Please make bootstrap.
11489
11490 2014-03-22 Glenn Morris <rgm@gnu.org>
11491
11492 * dired.el (dired-read-regexp): Make obsolete.
11493 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11494 (dired-flag-files-regexp):
11495 * dired-aux.el (dired-mark-read-regexp):
11496 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11497
11498 * startup.el (fancy-startup-text):
11499 * help.el (describe-gnu-project): Visit online info about GNU project.
11500
11501 * help-fns.el (help-fns--interactive-only): New function.
11502 (help-fns-describe-function-functions): Add the above function.
11503 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11504 (next-line, previous-line): Remove hand-written interactive-only
11505 information from doc strings, it is auto-generated now.
11506 * bookmark.el (bookmark-write):
11507 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11508 (epa-mail-import-keys): Mark interactive-only,
11509 and remove hand-written interactive-only information from doc strings.
11510 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11511 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11512 * files.el (not-modified):
11513 * simple.el (mark-whole-buffer): Mark interactive-only.
11514
11515 * emacs-lisp/byte-run.el (defun-declarations-alist):
11516 Add interactive-only. Doc tweak.
11517 (macro-declarations-alist): Doc tweak.
11518 * subr.el (declare): Doc tweak (add xref to manual).
11519 * comint.el (comint-run):
11520 * files.el (insert-file-literally, insert-file):
11521 * replace.el (replace-string, replace-regexp):
11522 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11523 (delete-forward-char, goto-line, insert-buffer, next-line)
11524 (previous-line): Set interactive-only via declare.
11525
11526 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11527
11528 * emacs-lisp/package.el (package-desc): Use the contents of the
11529 quoted form, not its cdr. (Bug#16873)
11530
11531 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11532
11533 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11534 benefit of doc.c; change parameter profile to match the X function.
11535
11536 2014-03-22 Leo Liu <sdl.web@gmail.com>
11537
11538 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11539 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11540
11541 2014-03-21 Richard Stallman <rms@gnu.org>
11542
11543 * battery.el (battery-linux-sysfs): Search for each field
11544 from the beginning of the buffer.
11545
11546 * subr.el (set-transient-map): Clear out function and value
11547 of the temporary symbol when we're done with it.
11548
11549 * mail/rmailsum.el (rmail-summary-delete-forward):
11550 Optimize case of reaching end and handling count.
11551 (rmail-summary-mark-deleted): Optimize when N is current msg.
11552 Don't create new summary line.
11553 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11554 (rmail-summary-undelete-many): Rewrite for speed.
11555 (rmail-summary-msg-number): New function.
11556
11557 * mail/rmail.el (rmail-delete-message): Update summary.
11558 (rmail-undelete-previous-message): Handle repeat count arg.
11559 (rmail-delete-backward, rmail-delete-forward): Likewise.
11560
11561 2014-03-21 Daniel Colascione <dancol@dancol.org>
11562
11563 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11564 information in bug reports.
11565
11566 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11569 and `tramp-copy-env'.
11570
11571 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11572 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11573
11574 2014-03-21 Glenn Morris <rgm@gnu.org>
11575
11576 * electric.el (electric-indent-post-self-insert-function): Add doc.
11577
11578 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11579
11580 * emacs-lisp/package.el (package-compute-transaction):
11581 Use `version-list-<=' to compare the requirement version against
11582 the version of package already to be installed. Update the error
11583 message. (Bug#16826)
11584
11585 * progmodes/ruby-mode.el (ruby-smie-rules):
11586 Add indentation rule for ` @ '. (Bug#17050)
11587
11588 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11589
11590 * align.el (align-regexp): Remove superfluous backslash.
11591
11592 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11593 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11594 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11595 Fix docstring typos.
11596 (ffap-next): Use C-u in docstring.
11597 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11598 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11599 Remove superfluous backslashes.
11600 (ffap-string-at-point): Reflow docstring.
11601
11602 * server.el (server-host): Reflow docstring.
11603 (server-unload-function): Fix docstring typo.
11604 (server-eval-at): Remove superfluous backslash.
11605
11606 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11607 (skeleton-insert): Doc fix.
11608 (skeleton-insert): Reflow docstring.
11609
11610 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11611 (tty-color-approximate, tty-color-by-index, tty-color-values)
11612 (tty-color-desc): Remove superfluous backslashes.
11613
11614 2014-03-21 Glenn Morris <rgm@gnu.org>
11615
11616 * cus-start.el (history-length): Bump :version.
11617
11618 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11619 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11620 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11621 Don't set `make-backup-files'.
11622
11623 * info.el (info--prettify-description): New function,
11624 to give info-finder descriptions consistent case, punctuation.
11625 (Info-finder-find-node): Use it. Sort packages.
11626 Refer to "description" rather than "commentary".
11627
11628 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11629
11630 * frameset.el (frameset--print-register): New function.
11631 (frameset-to-register): Use it.
11632
11633 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11634
11635 * progmodes/hideif.el (hif-string-to-number): New function.
11636 (hif-tokenize): Use it to understand non-decimal floats.
11637
11638 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11639
11640 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11641
11642 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * electric.el (electric-newline-and-maybe-indent): New command.
11645 Bind it globally to C-j.
11646 (electric-indent-mode): Don't mess with the global map any more.
11647 Don't drop the post-self-insert-hook is some buffer is still using it
11648 (bug#16770).
11649
11650 * bindings.el (global-map): Remove C-j binding.
11651
11652 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11653 the docstring of functions advised before dumping (bug#16993).
11654
11655 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11656
11657 * ps-print.el (ps-generate-postscript-with-faces):
11658 Explicitly deactivate the mark (bug#16866).
11659 * simple.el (deactivate-mark): Update region highlight.
11660
11661 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11662
11663 * emacs-lisp/package.el (describe-package-1):
11664 Decode commentary (bug#16733).
11665
11666 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11667
11668 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11669 modification of the value argument of :set (bug#16755).
11670
11671 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * simple.el (newline-and-indent): Do autofill (bug#17031).
11674
11675 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11676
11677 * newcomment.el (comment-normalize-vars): Only add escaping check
11678 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11679 (comment-beginning): Use `narrow-to-region' instead of moving back
11680 one character.
11681 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11682 (comment-start-skip): Update the docstring.
11683
11684 2014-03-18 Richard Stallman <rms@gnu.org>
11685
11686 * dired.el (dired-display-file): Force use of other window.
11687
11688 2014-03-18 Daniel Colascione <dancol@dancol.org>
11689
11690 * startup.el (tty-handle-args): Remove debug message from 2007.
11691
11692 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11695 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11696 (advice--make-1, advice-add, advice-remove):
11697 Remove braindead :advice-pending hack.
11698
11699 2014-03-17 Glenn Morris <rgm@gnu.org>
11700
11701 * calendar/calendar.el (calendar-generate-month): Apply weekend
11702 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11703
11704 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11707 (tramp-call-process): Trace also DESTINATION.
11708
11709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11710 Quote file names when they are local. Remove superfluous trace.
11711
11712 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11713
11714 * newcomment.el (comment-beginning): If `comment-start-skip'
11715 doesn't match, move back one char and try again. (Bug#16971)
11716
11717 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11718 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11719 Set `comment-start-skip' to a simpler value that doesn't try to
11720 check if the semicolon is escaped (this is handled by
11721 `syntax-ppss' now). (Bug#16971)
11722
11723 * progmodes/scheme.el (scheme-mode-variables): Same.
11724
11725 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11726
11727 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11728 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11729 current (Bug#16816, Bug#17007).
11730 (with-current-buffer-window): New macro doing the same as
11731 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11732 * help.el (help-print-return-message): Warn in doc-string to not
11733 use this in `with-help-window'.
11734 (describe-bindings-internal): Call `describe-buffer-bindings'
11735 from within help buffer. See Juanma's scenario in (Bug#16816).
11736 (with-help-window): Update doc-string.
11737 * dired.el (dired-mark-pop-up):
11738 * files.el (save-buffers-kill-emacs):
11739 * register.el (register-preview): Use `with-current-buffer-window'
11740 instead of `with-temp-buffer-window'.
11741
11742 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11743
11744 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11745 Implement inserting into current buffer, documented in their docstrings.
11746 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11747 (rst-section-tree-point, rst-forward-section, rst-indent)
11748 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11749 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11750 (rst-font-lock-handle-adornment-pre-match-form)
11751 (rst-repeat-last-character): Reflow docstrings.
11752 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11753 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11754 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11755 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11756 Fix docstring typos.
11757 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11758 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11759 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11760
11761 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11762
11763 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11764 for compatibility with other ports.
11765 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11766 from the -xrm command line argument, but in the Nextstep port its value
11767 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11768
11769 * progmodes/python.el (defconst, python-syntax-count-quotes)
11770 (python-indent-region, python-indent-shift-right)
11771 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11772 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11773 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11774 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11775 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11776 (python-shell-buffer-substring, python-shell-send-buffer)
11777 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11778 (python-completion-complete-at-point, python-fill-docstring-style)
11779 (python-eldoc-function, python-imenu-format-item-label)
11780 (python-imenu-format-parent-item-label)
11781 (python-imenu-format-parent-item-jump-label)
11782 (python-imenu--build-tree, python-imenu-create-index)
11783 (python-imenu-create-flat-index): Fix docstring typos.
11784 (python-indent-context, python-shell-prompt-regexp, run-python):
11785 Remove superfluous backslashes.
11786 (python-indent-line, python-nav-beginning-of-defun)
11787 (python-shell-get-buffer, python-shell-get-process)
11788 (python-info-current-defun, python-info-current-line-comment-p)
11789 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11790 (python-indent-post-self-insert-function, python-shell-send-file)
11791 (python-shell-completion-get-completions)
11792 (python-shell-completion-complete-or-indent)
11793 (python-eldoc--get-doc-at-point): Reflow docstrings.
11794
11795 2014-03-14 Glenn Morris <rgm@gnu.org>
11796
11797 * emacs-lisp/package.el (package-menu-mode-map):
11798 Replace use of obsolete function alias. Tweak menu item text.
11799
11800 * info.el (Info-finder-find-node):
11801 Ignore the `emacs' metapackage. (Bug#10813)
11802
11803 * finder.el (finder-list-matches): Include unversioned packages
11804 in the result of a keyword search.
11805
11806 * finder.el (finder--builtins-descriptions): New constant.
11807 (finder-compile-keywords): Use finder--builtins-descriptions.
11808
11809 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11810
11811 * simple.el (blink-matching-paren): Describe the new value,
11812 `jump', enabling the old behavior.
11813 (blink-matching-open): Use that value. (Bug#17008)
11814
11815 2014-03-14 Glenn Morris <rgm@gnu.org>
11816
11817 * finder.el (finder-no-scan-regexp): Add leim-list.
11818 (finder-compile-keywords):
11819 Don't skip files with same basename. (Bug#14010)
11820 * Makefile.in (setwins_finder): New, excluding leim.
11821 (finder-data): Use setwins_finder.
11822
11823 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11824 (help-function-arglist, help-make-usage): Move from here...
11825 * help.el (help-split-fundoc, help-add-fundoc-usage)
11826 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11827 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11828
11829 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11830
11831 * net/socks.el (socks, socks-override-functions)
11832 (socks-find-services-entry):
11833 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11834 (hif-find-ifdef-block):
11835 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11836
11837 * net/tls.el (tls-program): Reflow docstring.
11838
11839 * progmodes/pascal.el (pascal-mode-abbrev-table)
11840 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11841 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11842 (pascal-outline-mode): Fix docstring typos.
11843 (pascal-mode): Let define-derived-mode document mode hook.
11844 (pascal-uncomment-area): Reflow.
11845 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11846
11847 * progmodes/opascal.el (opascal-compound-block-indent)
11848 (opascal-case-label-indent): Fix docstring typos.
11849 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11850
11851 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11852
11853 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11854 Fontify multiple adjacent negation chars. (Bug#17004)
11855
11856 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11857
11858 * emacs-lisp/package.el (package--prepare-dependencies):
11859 Accept requirements without explicit version (bug#14941).
11860
11861 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11862
11863 * register.el (register-separator, copy-to-register): Doc fixes.
11864 (register-preview-default): Remove unnecessary call to concat.
11865
11866 * frameset.el (frameset-restore): When checking for a visible frame,
11867 use the action map instead of calling visible-frame-list.
11868
11869 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11870
11871 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11872
11873 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11874
11875 * window.el (fit-frame-to-buffer): Get maximum width from
11876 display's width instead of height.
11877
11878 2014-03-12 Glenn Morris <rgm@gnu.org>
11879
11880 * desktop.el (desktop-restore-frames)
11881 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11882 (desktop-restore-reuses-frames): Doc tweaks.
11883
11884 * electric.el (electric-indent-mode): Doc fix.
11885
11886 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11887
11888 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11889 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11890 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11891 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11892 (cvs-dired-use-hook): Fix docstring typos.
11893 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11894 Doc fixes.
11895
11896 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11897 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11898 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11899 (cvs-execute-single-dir): Fix docstring typos.
11900
11901 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11902 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11903
11904 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11905
11906 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11907 Fix docstring typos.
11908
11909 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11910
11911 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11912 called from jump-to-register after unloading the frameset package.
11913
11914 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11915
11916 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11917 (bug#16975). Deactivate the mark before setting it to nil.
11918 (activate-mark): Do nothing if region is already active.
11919
11920 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11921
11922 * frameset.el (frameset--target-display): Remove definition; declare.
11923 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11924
11925 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11926
11927 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11928 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11929 when the advice is pending.
11930 (advice-remove): Remove this marker when not needed any more.
11931
11932 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11933
11934 * frameset.el: Separate options for reusing frames and cleaning up.
11935 (frameset--reuse-list): Remove definition; declare.
11936 (frameset--action-map): Declare.
11937 (frameset--find-frame-if): Doc fix.
11938 (frameset--restore-frame): Cache frame action.
11939 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11940 how to clean up the frame list after restoring. Remove cleaning
11941 options from REUSE-FRAMES. Change all keyword values to symbols.
11942 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11943
11944 * desktop.el (desktop-restore-forces-onscreen)
11945 (desktop-restore-reuses-frames): Use non-keyword values.
11946 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11947
11948 2014-03-10 Glenn Morris <rgm@gnu.org>
11949
11950 * files.el (find-file): Doc fix: update info node name.
11951
11952 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11953 Doc fix: remove references to deleted info nodes.
11954
11955 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11956
11957 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11958 Do not add nil to the environment, when there's no remote `locale'.
11959 (tramp-find-inline-encoding): Check, that the remote host has
11960 installed perl, before sending scripts.
11961
11962 2014-03-10 Leo Liu <sdl.web@gmail.com>
11963
11964 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11965 Clear eldoc-last-message. (Bug#16920)
11966
11967 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11968
11969 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11970 (bug#14430).
11971
11972 2014-03-09 Juri Linkov <juri@jurta.org>
11973
11974 * ansi-color.el (ansi-color-names-vector): Copy default colors
11975 from `xterm-standard-colors' that look well on the default white
11976 background (and also on the black background) to avoid illegible
11977 color combinations like yellow-on-white and white-on-white.
11978 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11979
11980 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11981
11982 * frameset.el (frameset-restore): When no frame is visible, do not
11983 generate a list of frames, just make visible the selected one.
11984
11985 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11986
11987 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11988 it only contains the repository root. (Bug#16897)
11989
11990 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11991
11992 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11993 only when `remote-file-name-inhibit-cache' is nil.
11994 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11995
11996 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11997
11998 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11999 Fix doc-strings.
12000 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12001 fit-frame-to-buffer variable. Fix doc-string.
12002 (fit-window-to-buffer): Set ONLY argument in call of
12003 fit-frame-to-buffer. Fix doc-string.
12004
12005 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12006
12007 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12008 (tramp-action-password): Clear password cache if needed.
12009 (tramp-read-passwd): Do not clear password cache.
12010
12011 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12012 cache unless it is the first password request.
12013
12014 2014-03-06 Glenn Morris <rgm@gnu.org>
12015
12016 * simple.el (newline): Doc tweak.
12017
12018 * emacs-lisp/shadow.el (load-path-shadows-find):
12019 Ignore dir-locals. (Bug#12357)
12020
12021 2014-03-05 Glenn Morris <rgm@gnu.org>
12022
12023 * files.el (interpreter-mode-alist):
12024 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12025
12026 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12027
12028 * frameset.el (frameset--initial-params): Filter out null entries.
12029
12030 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12031
12032 * window.el (window-min-height, window-min-width):
12033 Rewrite doc-strings.
12034 (window-body-size): Add PIXELWISE argument to make it consistent
12035 with its callees.
12036
12037 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12038
12039 * finder.el (finder-mode-map, finder-mode-syntax-table):
12040 Revert part of 2014-02-28 change.
12041
12042 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12043
12044 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12045 (eww-setup-buffer): Clear next/prev/etc more reliably.
12046 (eww-textarea-map): [tab] doesn't work on tty.
12047 Reported by Mario Lang.
12048
12049 * net/shr.el (shr-map): Ditto.
12050
12051 2014-03-04 Glenn Morris <rgm@gnu.org>
12052
12053 * minibuffer.el (completion-hilit-commonality):
12054 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12055
12056 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * hilit-chg.el (hilit-chg-unload-function): New function.
12059 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12060 (hilit-chg-map-changes): Prefer cardinal number to digit.
12061 (hilit-chg-display-changes): Reflow docstring.
12062 (highlight-changes-rotate-faces): Remove superfluous backslash.
12063
12064 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12065
12066 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12067 `tramp-send-command-and-check'.
12068
12069 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12070
12071 * hexl.el (hexl-address-region, hexl-ascii-region)
12072 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12073 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12074 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12075 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12076 (hexl-mode): Doc fix.
12077 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12078 (hexl-mode-ruler): Fix typos in docstrings.
12079
12080 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12081 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12082 Remove superfluous backslashes.
12083 (strokes-last-stroke, strokes-global-map, strokes-mode):
12084 Reflow docstrings.
12085 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12086 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12087 (strokes-distance-squared, strokes-global-set-stroke)
12088 (strokes-global-set-stroke-string): Doc fixes.
12089 (strokes-help): Fix typos; reflow docstring.
12090
12091 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12092
12093 * window.el (window-in-direction): Fix doc-string.
12094
12095 2014-03-04 Glenn Morris <rgm@gnu.org>
12096
12097 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12098 Explicit error if no grammar.
12099 (smie-config-save): Doc fix. Fix quote typo.
12100
12101 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12104 electric-indent-mode-hook if we obey electric-indent-mode.
12105 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12106 decide whether we obey electric-indent-mode.
12107 (c-change-set-fl-decl-start, c-extend-after-change-region):
12108 Silence warnings.
12109 (c-electric-indent-mode-hook): Assume we do want to obey
12110 electric-indent-mode.
12111
12112 * electric.el (electric-indent-mode-has-been-called): Remove.
12113 (electric-indent-mode): Fix accordingly.
12114
12115 * files.el (hack-local-variables): Mention file name in warning.
12116
12117 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12118
12119 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12120
12121 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12122 * simple.el (delete-forward-char): Mark as interactive-only.
12123
12124 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12125
12126 * icomplete.el (icomplete-completions):
12127 Follow-up to 2014-03-01 change.
12128
12129 * icomplete.el: Miscellaneous doc fixes.
12130 Use Icomplete everywhere instead of icomplete for consistency.
12131 (icomplete-max-delay-chars): Fix typo.
12132 (icomplete-mode): Use \[].
12133 (icomplete-tidy, icomplete-exhibit): Reflow.
12134 (icomplete-minibuffer-setup-hook, icomplete-completions):
12135 Remove superfluous backlashes.
12136
12137 * ido.el: Miscellaneous doc fixes.
12138 Use Ido everywhere instead of ido or `ido' for consistency.
12139 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12140 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12141 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12142 (ido-separator): Extract obsolescence info from docstring and declare
12143 with make-obsolete-variable.
12144 (ido-minibuffer-setup-hook): Simplify example.
12145 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12146 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12147 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12148 (ido-everywhere): Reflow docstring.
12149 (ido-toggle-vc): Doc fix.
12150 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12151 of long list of keybindings.
12152
12153 2014-03-03 Glenn Morris <rgm@gnu.org>
12154
12155 * frame.el (display-pixel-height, display-pixel-width)
12156 (display-mm-dimensions-alist, display-mm-height)
12157 (display-mm-width): Doc tweaks.
12158
12159 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12160
12161 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12162 case of undo in region.
12163
12164 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12165
12166 * window.el (fit-window-to-buffer): Fix argument in window-size
12167 call when window is horizontally combined.
12168
12169 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12170
12171 * icomplete.el (icomplete-completions): Use string-width.
12172 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12173
12174 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12175
12176 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12177 Highlight regexp options. (Bug#16914)
12178
12179 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12180
12181 * window.el (window--max-delta-1): Round down when calculating
12182 how many lines/columns we can get from a window.
12183
12184 2014-03-01 Glenn Morris <rgm@gnu.org>
12185
12186 * isearch.el (search-invisible): Doc fix.
12187
12188 * minibuffer.el (completion-hilit-commonality):
12189 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12190 * comint.el (comint-dynamic-list-completions): Doc fix.
12191 * comint.el (comint-dynamic-list-completions):
12192 * filecache.el (file-cache-minibuffer-complete):
12193 * tempo.el (tempo-display-completions):
12194 * eshell/em-hist.el (eshell-list-history):
12195 Replace use of obsolete argument of display-completion-list.
12196
12197 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12198
12199 * icomplete.el (icomplete-completions):
12200 Revert back to using "..." when ?… cannot be displayed.
12201
12202 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12203
12204 * finder.el (finder-unload-function): New function.
12205
12206 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12207
12208 * dframe.el (dframe-detach):
12209 * find-dired.el (find-dired, find-name-dired):
12210 * finder.el (finder-mode-map, finder-mode-syntax-table)
12211 (finder-headmark, finder-select, finder-mouse-select):
12212 Fix docstring typos.
12213
12214 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12215
12216 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12217 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12218 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12219 Fix doc-string based on a suggestion by Nicolas Richard
12220 <theonewiththeevillook@yahoo.fr>.
12221 * help.el (with-help-window): Fix doc-string.
12222
12223 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12224
12225 * net/shr.el (shr-image-animate): New option.
12226 (shr-put-image): Respect shr-image-animate.
12227
12228 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12229
12230 * net/tramp-adb.el (tramp-adb-parse-device-names):
12231 Use `accept-process-output'.
12232 (tramp-adb-handle-file-truename): Cache the localname only.
12233 (tramp-adb-handle-make-directory)
12234 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12235 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12236 modes cannot be changed.
12237
12238 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12239 file properties of symlinks.
12240
12241 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12242
12243 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12244 required/optional fields to match development biblatex. (Bug#16781)
12245
12246 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12247
12248 * saveplace.el (toggle-save-place):
12249 Fix argument handling. (Bug#16673)
12250
12251 2014-02-28 Glenn Morris <rgm@gnu.org>
12252
12253 * minibuffer.el (completions-first-difference)
12254 (completions-common-part, completion-hilit-commonality): Doc fixes.
12255
12256 2014-02-28 Karl Berry <karl@gnu.org>
12257
12258 * info.el (Info-mode-map): Add H for describe-mode,
12259 to synchronize with standalone Info.
12260
12261 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12262
12263 * progmodes/sql.el (sql-interactive-mode):
12264 Avoid setting global comint-input-ring-separator. (Bug#16814)
12265
12266 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12267
12268 * net/dbus.el (dbus--init-bus): Declare function.
12269 (dbus-path-local, dbus-interface-local): New defconst.
12270 (dbus-init-bus): Use them.
12271 (dbus-return-values-table): Extend doc.
12272 (dbus-handle-bus-disconnect): Extend error message.
12273
12274 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12275
12276 * subr.el (y-or-n-p): Fix double space issue in message.
12277
12278 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12279
12280 * net/tramp.el (tramp-call-process): Improve trace message.
12281 (tramp-handle-insert-file-contents): Trace error case.
12282
12283 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12284 <insert-directory>: Use `tramp-handle-insert-directory'.
12285 (tramp-adb-handle-insert-directory): Remove function.
12286 (tramp-adb-send-command-and-check): New defun, replacing
12287 `tramp-adb-command-exit-status'. Change all callees.
12288 (tramp-adb-handle-file-attributes)
12289 (tramp-adb-handle-directory-files-and-attributes): Use it.
12290 (tramp-adb-ls-output-name-less-p):
12291 Use `directory-listing-before-filename-regexp'.
12292 (tramp-adb-handle-delete-directory): Flush also file properties of
12293 the truename of directory.
12294 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12295 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12296 (tramp-adb-handle-write-region): Implement APPEND.
12297 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12298 properties correctly.
12299 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12300 variables. Check for connected devices only when needed.
12301
12302 2014-02-27 Glenn Morris <rgm@gnu.org>
12303
12304 * minibuffer.el (completion-table-dynamic)
12305 (completion-table-with-cache): Doc fixes.
12306
12307 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12308 (completing-read-multiple): Doc fixes.
12309
12310 2014-02-27 Daniel Colascione <dancol@dancol.org>
12311
12312 * minibuffer.el (completion--nth-completion): Fix indentation.
12313
12314 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12315 explicit tramp path is empty.
12316
12317 2014-02-27 Glenn Morris <rgm@gnu.org>
12318
12319 * emacs-lisp/crm.el (completing-read-multiple):
12320 Empower help-enable-auto-load.
12321
12322 2014-02-26 Glenn Morris <rgm@gnu.org>
12323
12324 * startup.el (command-line): Don't init the tty in daemon mode.
12325
12326 Avoid calling tty-setup-hook twice, eg if a term file
12327 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12328 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12329 (tty-create-frame-with-faces): Use it.
12330 * startup.el (command-line): Pass run-hook argument
12331 to tty-run-terminal-initialization.
12332
12333 * dired.el (dired-restore-desktop-buffer): Demote errors;
12334 eg in case a glob match fails. (Bug#16884)
12335
12336 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12337
12338 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12339 error from `read-from-string'. (Bug#16850)
12340
12341 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12342 result of `completing-read' in the interactive form. (Bug#16854)
12343
12344 2014-02-25 Glenn Morris <rgm@gnu.org>
12345
12346 * image.el (image-animate, image-animate-timeout):
12347 Stop animating images in dead buffers. (Bug#16878)
12348
12349 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12350
12351 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12352 Doc fixes.
12353 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12354 * term/sun.el (sun-raw-prefix-hooks):
12355 Use tty-setup-hook instead of term-setup-hook.
12356 (terminal-init-sun): Construct message from bytecomp plist.
12357 * term/wyse50.el (enable-arrow-keys): Doc fix.
12358
12359 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12360
12361 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12362 Fix docstring typos.
12363
12364 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12365
12366 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12367
12368 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12369
12370 * minibuffer.el (completion--try-word-completion):
12371 Fix error when completing M-x commands (bug#16808).
12372
12373 2014-02-24 Leo Liu <sdl.web@gmail.com>
12374
12375 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12376
12377 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12378
12379 * apropos.el (apropos-print): Avoid formatting error when
12380 apropos-do-all and apropos-compact-layout are both t.
12381
12382 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12383
12384 * apropos.el (apropos-property, apropos-all-words-regexp)
12385 (apropos-true-hit, apropos-variable, apropos-print):
12386 Fix docstring typos, and remove obsolete comment.
12387
12388 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12389
12390 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12391 Preserve trailing "/". (Bug#16851)
12392
12393 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12394
12395 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12396 after `=>' (bug#16811).
12397 (ruby-smie-rules): Handle the inconsistent second element of the
12398 list returned by `smie-indent--parent'.
12399 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12400 method call.
12401
12402 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12403
12404 * elec-pair.el (electric-pair-text-syntax-table)
12405 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12406 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12407 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12408 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12409
12410 2014-02-22 Glenn Morris <rgm@gnu.org>
12411
12412 * imenu.el (imenu--generic-function): Doc fix.
12413
12414 * register.el (frame-configuration-to-register): Make obsolete.
12415
12416 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12417
12418 * desktop.el (desktop-save-buffer-p): Do not fail when
12419 desktop-files-not-to-save is nil. Return t for true result
12420 as the doc says.
12421
12422 2014-02-22 Daniel Colascione <dancol@dancol.org>
12423
12424 * net/secrets.el (secrets-create-item, secrets-search-items):
12425 Check that attribute values are strings, avoiding the construction
12426 of invalid dbus messages.
12427
12428 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12429
12430 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12431 defun-declarations-alist.
12432
12433 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12436 (bug#16829).
12437
12438 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12439
12440 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12441 (whitespace-newline, whitespace-trailing, whitespace-line)
12442 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12443 (whitespace-space-after-tab): Fix typo in docstrings.
12444
12445 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12446
12447 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12448
12449 * electric.el (electric-indent-functions-without-reindent):
12450 Add `yaml-indent-line'.
12451
12452 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12453
12454 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12455 It has done nothing for years; should be removed after the release.
12456
12457 * simple.el (choose-completion): Fix docstring typo.
12458 (read-quoted-char-radix): Remove unneeded * in docstring.
12459 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12460 Don't escape parentheses unnecessarily in docstrings.
12461
12462 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12463
12464 Fix handling of window-min-height/-width (Bug#16738).
12465 * window.el (window--dump-window, window--dump-frame):
12466 New functions.
12467 (window--min-size-1): Account for window dividers.
12468 When window-resize-pixelwise is nil, delay rounding till after the
12469 sum of the window components has been calculated.
12470 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12471 nil make sure at least one text line and two text columns remain
12472 fully visible.
12473 (window-resize): Signal an error when window-resize-apply fails.
12474 (window--resize-child-windows): Fix calculation of by how many
12475 pixels a window can still be shrunk via window-new-normal.
12476 (adjust-window-trailing-edge): Call window--resizable with
12477 correct TRAIL argument.
12478
12479 (with-temp-buffer-window): Don't evaluate BODY within
12480 with-current-buffer (Bug#16816).
12481
12482 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12483
12484 * net/tramp.el (tramp-check-cached-permissions):
12485 Call `file-attributes' with `suffix' being a symbol but a string.
12486
12487 2014-02-21 Daniel Colascione <dancol@dancol.org>
12488
12489 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12490 (dbus-init-bus): New function: call into dbus-init-bus-1
12491 and installs a handler for the disconnect signal.
12492 (dbus-call-method): Rewrite to look for result in cons.
12493 (dbus-call-method-handler): Store result in cons.
12494 (dbus-check-event): Recognize events with nil sender as valid.
12495 (dbus-handle-bus-disconnect): New function. React to bus
12496 disconnection signal by synthesizing dbus error for each
12497 pending synchronous or asynchronous call.
12498 (dbus-notice-synchronous-call-errors): New function.
12499 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12500 is true, not all the time.
12501
12502 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12503
12504 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12505 Remove obsolescence declarations, these variables do not exist anymore.
12506
12507 * savehist.el (savehist-save-minibuffer-history)
12508 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12509 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12510 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12511 mostly, refer to "Savehist mode" when talking about the mode,
12512 and not the function.
12513
12514 * saveplace.el (save-place): Remove redundant info in docstring.
12515 (save-place-forget-unreadable-files, toggle-save-place)
12516 (save-place-forget-unreadable-files, save-place-dired-hook):
12517 Fix typos and remove unneeded backslashes.
12518
12519 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12520
12521 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12522 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12523
12524 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12525 <insert-directory>: Use `tramp-handle-insert-directory'.
12526 (tramp-gvfs-handle-insert-directory): Remove function.
12527
12528 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12529 Call `tramp-handle-insert-directory'.
12530
12531 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12532
12533 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12534 before the start of buffer/region (bug#16799).
12535
12536 2014-02-20 Glenn Morris <rgm@gnu.org>
12537
12538 * isearch.el (search-invisible): Doc fix.
12539
12540 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12541
12542 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12543 (bug#16657).
12544
12545 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12546
12547 * frameset.el (frameset-restore): Delay removing an old frame's
12548 duplicate id until the new frame has been correctly created.
12549
12550 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12551
12552 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12553 (tramp-check-cached-permissions): Call `file-attributes' if the
12554 cache is empty.
12555
12556 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12557 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12558
12559 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12560 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12561 (tramp-gvfs-maybe-open-connection): Set always connection
12562 properties, even if target is mounted already.
12563
12564 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12565 Set tramp-autoload cookie.
12566 (tramp-get-remote-touch): New defun.
12567 (tramp-sh-handle-set-file-times): Use it.
12568 (tramp-sh-handle-directory-files-and-attributes):
12569 Use `tramp-handle-directory-files-and-attributes' if neither stat
12570 nor perl are available on the remote host.
12571
12572 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12573 "/". Write long listing only when "l" belongs to the switches.
12574
12575 * net/trampver.el: Update release number.
12576
12577 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12578
12579 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12580
12581 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12582
12583 * window.el (window-state-put): Allow WINDOW to refer to an
12584 internal window (Bug#16793).
12585
12586 2014-02-19 Glenn Morris <rgm@gnu.org>
12587
12588 * textmodes/remember.el: Move provide statement to end.
12589 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12590 (remember-notes): Doc fixes.
12591
12592 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12593
12594 * delsel.el (delete-char): Restore incorrectly erased property
12595 (bug#16795).
12596
12597 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12598
12599 * frameset.el (frameset--restore-frame): When a frame is being reused
12600 and its root window is not alive, delete all the frame's windows before
12601 restoring the window state. This works around the issue in bug#16793.
12602
12603 2014-02-18 Glenn Morris <rgm@gnu.org>
12604
12605 * textmodes/remember.el (remember-data-directory)
12606 (remember-directory-file-name-format, remember-store-in-files)
12607 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12608 (remember-notes-save-and-bury-buffer)
12609 (remember-notes--kill-buffer-query): Doc fixes.
12610
12611 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12612
12613 2014-02-17 Alan Mackenzie <acm@muc.de>
12614
12615 Connect electric-indent-mode up with CC Mode. Bug #15478.
12616 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12617 to electric-indent-{,local-}-mode.
12618 (c-basic-common-init): Set electric-indent-inhibit.
12619 Initialize c-electric-flag from electric-indent-mode.
12620 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12621 New hook functions which propagate electric-indent-mode to CC mode.
12622
12623 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12624 hit, toggle electric-indent-local-mode.
12625
12626 * electric.el (electric-indent-mode-has-been-called):
12627 New variable.
12628
12629 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12630
12631 * frameset.el (frameset-cfg-id): New function.
12632 (frameset--reuse-frame, frameset-restore): Use it.
12633 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12634
12635 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12636
12637 * ido.el (ido-file-internal): Remove unused var `d'.
12638 Use \` for to match BoS. Fit within 80n columns.
12639
12640 2014-02-17 Daniel Colascione <dancol@dancol.org>
12641
12642 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12643 dbus-call-method check for completion using a busy-wait loop with
12644 gradual backoff.
12645
12646 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12647
12648 Sync with Tramp 2.2.9.
12649
12650 * net/trampver.el: Update release number.
12651
12652 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12653
12654 * ido.el (ido-file-internal): Don't add the name of an existing
12655 directory twice. (Bug#16747)
12656
12657 2014-02-16 Glenn Morris <rgm@gnu.org>
12658
12659 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12660 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12661
12662 2014-02-15 Michael R. Mauger <michael@mauger.com>
12663
12664 * progmodes/sql.el: Version 3.4
12665 (sql-oracle-options): New default value ("-L").
12666 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12667 (sql-placeholders-filter): Correct placeholder pattern.
12668 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12669 (sql-login-delay): New variable.
12670 (sql-product-interactive): Use it.
12671
12672 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12673
12674 * frameset.el (frameset--jump-to-register): Check that buffer is live
12675 (bug#16749).
12676
12677 2014-02-15 Glenn Morris <rgm@gnu.org>
12678
12679 * info.el (info-initialize): Revert 2014-01-10 change.
12680
12681 2014-02-14 Glenn Morris <rgm@gnu.org>
12682
12683 * replace.el (map-query-replace-regexp)
12684 (read-regexp-defaults-function, read-regexp): Doc fixes.
12685
12686 * dired.el (dired-read-regexp):
12687 * faces.el (list-faces-display):
12688 * misearch.el (multi-isearch-read-matching-buffers)
12689 (multi-isearch-read-matching-files):
12690 * play/cookie1.el (cookie-apropos):
12691 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12692
12693 * textmodes/remember.el (remember): Use frameset-to-register
12694 rather than frame-configuration-to-register.
12695
12696 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12697
12698 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12699 incorrect keybinding.
12700
12701 2014-02-13 Daniel Colascione <dancol@dancol.org>
12702
12703 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12704 when adding overlays so that line numbers from compiler match line
12705 numbers we use.
12706
12707 2014-02-13 Glenn Morris <rgm@gnu.org>
12708
12709 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12710
12711 * jit-lock.el (jit-lock-mode): Doc fix.
12712
12713 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12714
12715 * apropos.el (apropos-read-pattern): When the user passes an empty
12716 string, give a more helpful error message than "Wrong type
12717 argument: stringp, nil".
12718
12719 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12722
12723 2014-02-13 Glenn Morris <rgm@gnu.org>
12724
12725 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12726
12727 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12728
12729 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12730 shift-select commands.
12731
12732 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12733
12734 * progmodes/js.el (js-indent-line): Don't widen.
12735 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12736
12737 2014-02-12 Glenn Morris <rgm@gnu.org>
12738
12739 * icomplete.el (icomplete): Add info-link to defgroup.
12740 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12741 (icomplete-minibuffer-map, icomplete-mode)
12742 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12743
12744 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12745 (package-menu-filter): Rename from package-menu-filter-interactive.
12746 Doc fix.
12747
12748 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12749
12750 * frameset.el (frameset--jump-to-register): Select the required
12751 window and buffer before restoring position (bug#16696).
12752
12753 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12754
12755 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12756
12757 2014-02-10 Glenn Morris <rgm@gnu.org>
12758
12759 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12760
12761 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12762
12763 * w32-common-fns.el (x-get-selection): Doc fix.
12764 * select.el (x-get-selection): Doc fix. (Bug#15109)
12765
12766 * face-remap.el (face-remap-add-relative)
12767 (face-remap-remove-relative, face-remap-reset-base)
12768 (face-remap-set-base): Call force-mode-line-update to redisplay
12769 the current buffer due to potential change in faces. (Bug#16709)
12770
12771 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12772
12773 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12774 script more robustly.
12775
12776 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12777
12778 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12779
12780 * simple.el (choose-completion): Doc fix (bug#14160).
12781
12782 * subr.el (event-start): Say what a nil EVENT value means.
12783
12784 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12785 (bug#14197).
12786
12787 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12788
12789 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12790
12791 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12792
12793 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12794 predicate function (bug#15455).
12795
12796 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12797
12798 * ielm.el (inferior-emacs-lisp-mode): Instead of
12799 `comment-use-global-state', set `comment-use-syntax'.
12800
12801 2014-02-10 Glenn Morris <rgm@gnu.org>
12802
12803 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12804
12805 2014-02-09 Alan Mackenzie <acm@muc.de>
12806
12807 Fix c-invalidate-state-cache on narrowed buffers.
12808 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12809 Widen when setting and clearing the CPP delimiter properties.
12810
12811 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12812
12813 * help.el (describe-bindings): Doc fix (bug#9888).
12814
12815 * files.el (save-buffer): Use ARG as the parameter name for
12816 consistency (bug#10346).
12817 (save-buffer): Clarify the 0 argument (bug#10346).
12818
12819 * cus-edit.el (customize-apropos): Fix error string.
12820 (custom-buffer-create): Doc fix (bug#11122).
12821 (custom-sort-items): Doc fix (bug#11121).
12822
12823 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12824
12825 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12826 (icomplete-simple-completing-p): Mention the previous variable.
12827
12828 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12829 meaning of the parameter (bug#12282).
12830
12831 * files.el (find-file-noselect): Clarify prompt when changing
12832 readedness (bug#13261).
12833 (locate-file): Suffixes aren't returned, so don't say that they
12834 are (bug#12674).
12835 (backup-inhibited): Doc clarification (bug#12525).
12836
12837 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12838 before we actually start to delete things (bug#16331).
12839
12840 * subr.el (event-start): Doc fix (bug#14228).
12841 (event-end): Ditto.
12842
12843 2014-02-09 Glenn Morris <rgm@gnu.org>
12844
12845 * emacs-lisp/warnings.el (lwarn):
12846 Empower help-enable-auto-load. (Bug#15940)
12847
12848 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12849
12850 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12851 (Bug#16690)
12852
12853 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12854
12855 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12856 Insert output at end of buffer. (Bug#16120)
12857
12858 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12859
12860 * simple.el (choose-completion-string-functions): Document new
12861 calling convention (bug#14153).
12862 (execute-extended-command): Clarify doc string (bug#13373).
12863
12864 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12865
12866 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12867 (find-grep-dired): Doc fix (bug#14288).
12868
12869 2014-02-08 Juri Linkov <juri@jurta.org>
12870
12871 * isearch.el (isearch-quote-char): Check character validity
12872 like in `quoted-insert' (bug#16677).
12873
12874 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12875
12876 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12877
12878 * isearch.el (isearch-hide-immediately): Doc clarification
12879 (bug#14723).
12880
12881 * simple.el (line-move): Document utility function used many
12882 places in the Emacs sources (bug#14843).
12883
12884 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12885 (dired-prev-marked-file): Doc fix (bug#14855).
12886 (dired-up-directory): Doc fix (bug#14848).
12887
12888 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12889
12890 * files.el (file-relative-name): Doc fix (bug#15159).
12891
12892 * fringe.el (fringe-styles): Doc fix (bug#15239).
12893
12894 * isearch.el (isearch-filter-predicate): Documentation typo fix
12895 (bug#15474).
12896
12897 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12898
12899 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12900
12901 * replace.el (replace-match-maybe-edit): Doc clarification
12902 (bug#15632).
12903
12904 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12905
12906 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12907
12908 2014-02-08 Glenn Morris <rgm@gnu.org>
12909
12910 * help-fns.el (describe-variable):
12911 Check {file,dir}-local-variables-alist, and buffer-file-name,
12912 in the correct buffer.
12913
12914 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12915
12916 * help-fns.el (describe-variable): Fix the case where
12917 a value is directory-local with no dir-locals file. (Bug#16635)
12918
12919 2014-02-08 Glenn Morris <rgm@gnu.org>
12920
12921 * abbrev.el (edit-abbrevs-mode):
12922 Derive from fundamental-mode. (Bug#16682)
12923
12924 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12925
12926 * simple.el (quoted-insert): Check character validity (bug#16677).
12927
12928 2014-02-07 Juri Linkov <juri@jurta.org>
12929
12930 * desktop.el (desktop-read): Claim the lock when the owner is not
12931 the current process. (Bug#16157)
12932
12933 2014-02-07 Juri Linkov <juri@jurta.org>
12934
12935 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12936 to "\\` ". (Bug#16651)
12937
12938 2014-02-07 Juri Linkov <juri@jurta.org>
12939
12940 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12941 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12942 (desktop-auto-save-cancel-timer): New function with some code from
12943 `desktop-auto-save-set-timer'.
12944 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12945 Instead of setting `desktop-save-mode' to nil, call
12946 `desktop-save-mode' with arg 0. (Bug#16630)
12947
12948 2014-02-07 Glenn Morris <rgm@gnu.org>
12949
12950 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12951 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12952 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12953
12954 * obsolete/iswitchb.el: Move to obsolete/.
12955 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12956 since obsolete/ is not scanned for autoloads.
12957 * emacs-lisp/authors.el (authors-valid-file-names):
12958 Add iswitchb.el.
12959
12960 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12961 Disable now non-functional find-file-hook.
12962
12963 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12964
12965 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12966 instead of ";" in order to avoid additional prompts. Let heredoc
12967 scripts read from tty. (Bug#16582)
12968 (tramp-send-command): No special handling of heredocs, it isn't
12969 necessary anymore.
12970
12971 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12974 with a space (bug#16664). Limit the symbols considered to the ones
12975 that are bound or fbound (bug#16646).
12976
12977 2014-02-06 Glenn Morris <rgm@gnu.org>
12978
12979 * epa.el (epa-mail-aliases): Doc fix.
12980
12981 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12982
12983 * emacs-lisp/lisp.el (lisp-completion-at-point):
12984 Use `completion-table-merge' instead of `completion-table-in-turn'
12985 (bug#16604).
12986
12987 * minibuffer.el (completion-table-merge): New function.
12988
12989 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12990
12991 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12992 (tramp-sh-handle-set-file-acl)
12993 (tramp-sh-handle-start-file-process)
12994 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12995 (tramp-find-executable, tramp-send-command): Use it.
12996
12997 2014-02-05 Glenn Morris <rgm@gnu.org>
12998
12999 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13000
13001 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13002
13003 * progmodes/python.el (python-shell-send-string)
13004 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13005
13006 2014-02-04 Anders Lindgren <andlind@gmail.com>
13007
13008 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13009 the names (bug#16620).
13010
13011 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13012
13013 * faces.el (window-divider): New default value. Rewrite doc-string.
13014 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13015
13016 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13017
13018 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13019 `protected' and `public' can also be called without arguments.
13020
13021 2014-02-03 Glenn Morris <rgm@gnu.org>
13022
13023 * register.el (window-configuration-to-register)
13024 (frame-configuration-to-register): Unadvertise unused argument.
13025 * frameset.el (frameset-to-register): Remove unused argument.
13026
13027 * frameset.el (frameset-to-register):
13028 * kmacro.el (kmacro-to-register):
13029 * register.el (increment-register):
13030 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13031 (calc-append-to-register, calc-prepend-to-register):
13032 * play/gametree.el (gametree-layout-to-register)
13033 (gametree-apply-register-layout):
13034 * textmodes/picture.el (picture-clear-rectangle-to-register)
13035 (picture-yank-rectangle-from-register):
13036 * vc/emerge.el (emerge-combine-versions-register):
13037 Use register-read-with-preview to read registers.
13038
13039 2014-02-03 João Távora <joaotavora@gmail.com>
13040
13041 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13042 when at beginning of (possibly narrowed) buffer.
13043
13044 2014-02-02 Daniel Colascione <dancol@dancol.org>
13045
13046 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13047 Also try to display local help from just before point.
13048
13049 2014-02-02 Alan Mackenzie <acm@muc.de>
13050
13051 c-parse-state. Don't "append-lower-brace-pair" in certain
13052 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13053 recognised as a comment.
13054
13055 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13056 as well as normal comment starter.
13057 (c-parse-state-get-strategy): Extra return possibility
13058 'back-and-forward.
13059 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13060 return value list to indicate replacement of a brace-pair cons
13061 with its car.
13062 (c-parse-state-1): With 'back-and-forward, only call
13063 c-append-lower-brace-pair-to state-cache when cons-separated.
13064
13065 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13066
13067 * term/ns-win.el (ns-suspend-error): New function.
13068 (ns-initialize-window-system): Add ns-suspend-error to
13069 suspend-hook (Bug#16612).
13070
13071 2014-02-02 Daniel Colascione <dancol@dancol.org>
13072
13073 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13074 Make loading cc-mode silent.
13075
13076 2014-02-02 Daniel Colascione <dancol@dancol.org>
13077
13078 * comint.el (comint-prompt-read-only): Change doc to suggest
13079 remap keybinding.
13080
13081 2014-02-02 Glenn Morris <rgm@gnu.org>
13082
13083 * register.el (register-read-with-preview, point-to-register)
13084 (window-configuration-to-register, frame-configuration-to-register)
13085 (jump-to-register, number-to-register, view-register, insert-register)
13086 (copy-to-register, append-to-register, prepend-to-register)
13087 (copy-rectangle-to-register): Doc fixes.
13088
13089 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13090
13091 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13092 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13093 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13094 * help-fns.el (describe-function-1): Use it.
13095
13096 2014-02-02 Glenn Morris <rgm@gnu.org>
13097
13098 * register.el (register-preview-default): New function,
13099 split from register-preview.
13100 (register-preview-function): Rename from register-preview-functions,
13101 make it not a hook.
13102 (register-preview): Use register-preview-function.
13103 (register-read-with-preview): Error on non-character event. (Bug#16595)
13104
13105 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13106
13107 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13108 `:' before binary operators (bug#16609). Don't check for `:'
13109 before `[' and `(', or their syntax status. A percent literal
13110 can't end with either.
13111 (ruby-font-lock-keywords): For built-ins that require arguments,
13112 check that they're followed by something that looks like argument
13113 (bug#16610).
13114
13115 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13116
13117 * subr.el (butlast): Document what an omitted N means (bug#13437).
13118 (nbutlast): Ditto.
13119
13120 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13121
13122 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13123 depth shallower (bug#16587).
13124 (shr-tag-svg): Respect `shr-inhibit-images'.
13125 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13126
13127 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13128
13129 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13130 (ruby-smie-grammar): Make "." right-associative. Make its priority
13131 lower than the ternary and all binary operators.
13132 (ruby-smie-rules): Indent "(" relative to the first non-"."
13133 parent, or the first "." parent at indentation.
13134 Use `ruby-align-chained-calls' for indentation of "." tokens.
13135 (Bug#16593)
13136
13137 2014-01-31 Juri Linkov <juri@jurta.org>
13138
13139 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13140 from `make-hash-table'.
13141
13142 * textmodes/ispell.el (ispell-init-process): Change message format
13143 to be consistent with other messages.
13144
13145 2014-01-31 Glenn Morris <rgm@gnu.org>
13146
13147 * delsel.el (delete-selection-mode): Doc fix.
13148
13149 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13150 (trace-function-background): Doc fixes.
13151
13152 * ido.el (ido-use-virtual-buffers): Doc fix.
13153 Reset :version, since the default value has not changed.
13154
13155 * register.el (register-preview-delay, register-read-with-preview):
13156 Doc fixes.
13157
13158 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13159 do not mess with mail-buffer position (fixes 2009-11-03 change).
13160 * progmodes/cc-mode.el (c-submit-bug-report):
13161 Check auto-fill-mode is bound. (Bug#16592)
13162
13163 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13164
13165 * startup.el (fancy-splash-image-file): New function,
13166 split from fancy-splash-head.
13167 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13168 so that we are both using the same image. (Bug#16574)
13169
13170 2014-01-30 Glenn Morris <rgm@gnu.org>
13171
13172 * simple.el (eval-expression): Doc fix.
13173
13174 * hexl.el (hexl-mode-hook):
13175 * ielm.el (ielm-mode-hook):
13176 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13177 (lisp-interaction-mode-hook):
13178 * progmodes/cfengine.el (cfengine3-documentation-function):
13179 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13180
13181 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13182
13183 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13184 is a symbol (bug#16584).
13185
13186 2014-01-30 Glenn Morris <rgm@gnu.org>
13187
13188 * help.el (help-for-help-internal): Add "P" to text.
13189
13190 2014-01-29 Glenn Morris <rgm@gnu.org>
13191
13192 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13193
13194 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13195
13196 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13197 height constraints.
13198
13199 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13200
13201 * progmodes/hideif.el: Extend to full CPP expression syntax.
13202 (hif-token-alist): Add missing tokens.
13203 (hif-token-regexp): Add support for float/octal/hex immediates.
13204 (hif-string-literal-regexp): New const.
13205 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13206 (hif-exprlist): New function.
13207 (hif-parse-if-exp): Use it.
13208 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13209 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13210 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13211 (hif-logxor, hif-comma): New functions.
13212
13213 2014-01-28 Glenn Morris <rgm@gnu.org>
13214
13215 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13216
13217 * indent.el (tab-stop-list): Doc fix. Add :version.
13218
13219 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13220 (cvs-append-to-ignore): Add compatibility alias.
13221
13222 2014-01-27 Glenn Morris <rgm@gnu.org>
13223
13224 * dired.el (dired-hide-details-mode): Don't autoload it,
13225 since it cannot be used outside Dired buffers anyway.
13226
13227 * emulation/cua-base.el (cua-mode): Doc fix.
13228
13229 * dired.el (dired-hide-details-hide-symlink-targets)
13230 (dired-hide-details-hide-information-lines)
13231 (dired-hide-details-mode): Doc fixes.
13232
13233 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13234 * strokes.el (strokes-file): Doc fix. Bump :version.
13235 (strokes-help): Doc fix.
13236 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13237 * emulation/viper.el (viper): Doc fix for custom group.
13238 (top-level): Remove oh-so-no-longer-relevant text about vip.
13239 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13240
13241 * ido.el (ido-save-directory-list-file):
13242 * saveplace.el (save-place-file):
13243 * calendar/timeclock.el (timeclock-file):
13244 * net/quickurl.el (quickurl-url-file):
13245 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13246 * progmodes/idlwave.el (idlwave-config-directory):
13247 * textmodes/remember.el (remember-data-file):
13248 Bump :version.
13249
13250 2014-01-26 Glenn Morris <rgm@gnu.org>
13251
13252 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13253 Doc fix. Make obsolete.
13254 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13255
13256 * sort.el (delete-duplicate-lines): Doc fix.
13257
13258 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13259
13260 * progmodes/ada-mode.el (ada):
13261 * woman.el (woman): Link to info manual and Commentary section.
13262
13263 * progmodes/flymake.el (flymake):
13264 * nxml/nxml-mode.el (nxml):
13265 * net/eww.el (eww):
13266 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13267 * htmlfontify.el (htmlfontify):
13268 * ses.el (ses):
13269 * epa.el (epa):
13270 * ido.el (ido): Link to info manual.
13271
13272 2014-01-25 Leo Liu <sdl.web@gmail.com>
13273
13274 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13275
13276 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13277
13278 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13279 (bug#16537).
13280
13281 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13282
13283 * net/eww.el (eww-download-callback):
13284 Fix reference to eww-download-directory.
13285
13286 * emacs-lisp/bytecomp.el (byte-compile-file):
13287 Remove unused local variable `file-name'.
13288
13289 2014-01-24 Glenn Morris <rgm@gnu.org>
13290
13291 * woman.el (woman-default-faces, woman-monochrome-faces):
13292 Fix obsolescence specification.
13293
13294 * subr.el (with-demoted-errors): Doc fix.
13295
13296 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13299 (cl--macroexp-fboundp): New function.
13300 (cl--make-type-test): Use it.
13301
13302 2014-01-23 Glenn Morris <rgm@gnu.org>
13303
13304 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13305 * simple.el (eval-expression): Doc fixes.
13306
13307 2014-01-22 Glenn Morris <rgm@gnu.org>
13308
13309 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13310
13311 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13312
13313 * emacs-lisp/package.el: Write files silently.
13314 (package-autoload-ensure-default-file, package--write-file-no-coding)
13315 (package-generate-description-file, package--download-one-archive)
13316 (package-install-from-archive): Tell `write-region' to stay quiet.
13317 (package-menu-mode, package-menu--print-info): Omit the Archive column
13318 if there's only one archive.
13319 (package-all-keywords, package--has-keyword-p): Remove dead code.
13320
13321 2014-01-22 Glenn Morris <rgm@gnu.org>
13322
13323 * version.el (emacs-bzr-version-bzr): Fix typo.
13324
13325 * version.el (emacs-repository-get-version):
13326 Check either .bzr or .git, but not both.
13327 Make the git case actually use the DIR argument, and return nil
13328 rather than the empty string.
13329 Avoid error if .git exists but the git executable is not found.
13330
13331 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13332
13333 Fixes in window size functions around Bug#16430 and Bug#16470.
13334 * window.el (window-total-size, window-size): New argument ROUND.
13335 (window--min-delta-1, window-min-delta, window--max-delta-1):
13336 Be more conservative when calculating the numbers of lines or
13337 columns a window can shrink (Bug#16430).
13338 (fit-window-to-buffer): Simplify code.
13339 * term.el (term-window-width): Call window-body-width again.
13340
13341 2014-01-22 Glenn Morris <rgm@gnu.org>
13342
13343 * image.el (image-format-suffixes): Doc fix.
13344
13345 * international/quail.el (quail-define-package): Doc fix.
13346
13347 * emacs-lisp/authors.el (authors-valid-file-names)
13348 (authors-renamed-files-alist): Additions.
13349
13350 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13351 reverts 2014-01-09 change. (Bug#16422)
13352
13353 * calc/calc-embed.el (thing-at-point-looking-at):
13354 * emacs-lisp/map-ynp.el (x-popup-dialog):
13355 * obsolete/lmenu.el (x-popup-dialog):
13356 * emacs-lisp/package.el (url-recreate-url):
13357 * mail/mailclient.el (clipboard-kill-ring-save):
13358 * subr.el (x-popup-dialog): Update declaration.
13359 * mail/rmail.el (rmail-mime-message-p):
13360 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13361
13362 2014-01-21 Daniel Colascione <dancol@dancol.org>
13363
13364 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13365 Correctly detect when we're inside an arithmetic expansion form
13366 containing nested parenthesis.
13367 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13368 to detect cases where we shouldn't expand "<<" to a heredoc
13369 skeleton.
13370
13371 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13374 (eldoc--message-command-p): New function.
13375 (eldoc-display-message-p): Use it.
13376 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13377 message is not automatically erased for us.
13378 (eldoc-print-current-symbol-info): Erase previous message, if any.
13379
13380 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13381
13382 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13383 specify it's an interactive function.
13384
13385 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13386 Fix regex used for scanning for citation keys which failed for
13387 citations with optional arguments.
13388
13389 2014-01-21 Leo Liu <sdl.web@gmail.com>
13390
13391 * simple.el (read--expression): Don't enable eldoc-mode.
13392
13393 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * simple.el (move-beginning-of-line): Make sure we don't move forward
13396 (bug#16497).
13397
13398 2014-01-20 Juri Linkov <juri@jurta.org>
13399
13400 * saveplace.el (toggle-save-place, save-place-to-alist)
13401 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13402 'dired-mode) before checking for dired-directory. (Bug#16477)
13403
13404 2014-01-20 Juri Linkov <juri@jurta.org>
13405
13406 * indent.el (indent-line-to): Use backward-to-indentation
13407 instead of back-to-indentation. (Bug#16461)
13408
13409 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13410
13411 Revert some of the CANNOT_DUMP fix (Bug#16494).
13412 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13413 but fixing this can wait until after the next release.
13414 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13415
13416 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13417
13418 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13419 Use `password-word-equivalents'.
13420 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13421 to t. (Bug#5664, Bug#13124)
13422
13423 2014-01-19 Alan Mackenzie <acm@muc.de>
13424
13425 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13426 points.
13427 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13428 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13429 * progmodes/cc-mode.el (c-before-change, c-after-change)
13430 (c-font-lock-fontify-region): Bind it here.
13431
13432 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13433
13434 * term.el (term-window-width): Call window-text-width instead of
13435 window-width (Bug#16470).
13436
13437 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13438
13439 * simple.el (password-word-equivalents): Remove duplicates.
13440 Sort, to make this easier next time.
13441 Downcase. Omit ": " after "jelszó".
13442
13443 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13444
13445 * term/common-win.el (saved-region-selection): Defvar it.
13446 (x-select-text): Set saved-region-selection (Bug#16382).
13447
13448 2014-01-18 Glenn Morris <rgm@gnu.org>
13449
13450 * emacs-lisp/authors.el (authors-aliases)
13451 (authors-renamed-files-alist): Add some entries.
13452
13453 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13454
13455 * net/tramp.el (tramp-password-prompt-regexp):
13456 Use `password-word-equivalents' if available.
13457 (tramp-action-password, tramp-process-one-action)
13458 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13459
13460 2014-01-17 Chong Yidong <cyd@gnu.org>
13461
13462 * simple.el (password-word-equivalents): New defcustom.
13463 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13464 to 24.4.
13465 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13466 to t. (Bug#13124)
13467
13468 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13469
13470 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13471 (ruby-align-to-stmt-keywords): Change the default value.
13472 Use `ruby-alignable-keywords' to generate the possible customization
13473 choices.
13474 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13475 keywords, check against the value of `ruby-alignable-keywords'
13476 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13477
13478 2014-01-17 Glenn Morris <rgm@gnu.org>
13479
13480 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13481
13482 Make M-x authors return zero *Authors Errors* from current logs.
13483 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13484 (authors-ignored-files): Add some entries, remove others.
13485 (authors-ambiguous-files, authors-valid-file-names):
13486 Add some entries.
13487 (authors-renamed-files-alist): Add, remove, and adjust entries.
13488 (authors-renamed-files-regexps): Add some entries.
13489 Remove some very broad ones. Make some entries `lax'.
13490 (authors-lax-changelogs): New constant.
13491 (authors-disambiguate-file-name): Treat top-level specially.
13492 (authors-lax-changelog-p): New function.
13493 (authors-canonical-file-name): Check file as written against
13494 authors-valid-file-names. Do not special-case etc/.
13495 Handle `lax' logs and authors-renamed-files-regexps elements.
13496
13497 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13498
13499 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13500 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13501 callers.
13502
13503 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13504
13505 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13506 Assume we're already in the proper buffer.
13507 Inspired by Anders Lindgren <andlind@gmail.com>.
13508 (follow-post-command-hook): Call it from the right buffer.
13509 (follow-comint-scroll-to-bottom): Adjust call.
13510 (follow-all-followers): Use get-buffer-window-list.
13511
13512 2014-01-15 Daniel Colascione <dancol@dancol.org>
13513
13514 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13515 `buffer-file-name' in interactive-form so that we don't leave
13516 pathless file names in `file-name-history'.
13517
13518 2014-01-15 Juri Linkov <juri@jurta.org>
13519
13520 * indent.el (indent-rigidly): Set deactivate-mark to nil
13521 in transient indentation mode. (Bug#16438)
13522
13523 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13524
13525 * emacs-lisp/package.el (package-desc-keywords): New function
13526 (Bug#16222).
13527 (describe-package-1, package-all-keywords)
13528 (package--has-keyword-p): Use it.
13529
13530 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13531
13532 * simple.el (define-alternatives): When creating the
13533 COMMAND-alternatives variable, assign COMMAND as its definition
13534 name so that `describe-variable' can relocate it.
13535
13536 2014-01-14 Matthew Leach <matthew@mattleach.net>
13537
13538 * font-lock.el (font-lock-keywords): Fix typo in docstring
13539 (bug#16307).
13540
13541 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13542
13543 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13544 line instead of wrongly reset `add-coment' (bug#13577).
13545
13546 2014-01-14 Daiki Ueno <ueno@gnu.org>
13547
13548 * epa-file.el (epa-file-write-region): Encode the region according
13549 to `buffer-file-format'. Problem reported at:
13550 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13551
13552 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13555 so it applies in the right buffer (bug#16410).
13556
13557 2014-01-13 Daniel Colascione <dancol@dancol.org>
13558
13559 * textmodes/rst.el (rst-define-key): Provide deprecated
13560 keybindings through named functions instead of anonymous ones so
13561 that "??" doesn't appear in describe-mode output.
13562
13563 2014-01-13 Bastien Guerry <bzg@gnu.org>
13564
13565 * simple.el (define-alternatives): Call the selected command
13566 interactively. When setting `COMMAND--implementation' for the
13567 first time, tell the user how to chose another implementation.
13568 Enhance the docstring.
13569
13570 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13573 (log-edit--match-first-line): New function.
13574 (log-edit-font-lock-keywords): Use it.
13575 (log-edit-mode): Make jit-lock-defer-multiline work.
13576
13577 2014-01-13 Bastien Guerry <bzg@gnu.org>
13578
13579 * rect.el (rectangle-mark-mode): When the region is not active,
13580 display a message saying that the mark as been set and that
13581 rectangle mode is in use.
13582 (rectangle--highlight-for-redisplay): Only put an overlay with a
13583 visible vertical bar when (display-graphic-p) is non-nil.
13584 This partially fixes Bug#16403.
13585
13586 2014-01-13 Juri Linkov <juri@jurta.org>
13587
13588 * info.el (Info-find-file): Go to DIR before displaying the error
13589 about a nonexistent file if no previous Info file is visited.
13590 Use `user-error' instead of `error' for "Info file %s does not exist".
13591 (Info-find-node-2): In case of a nonexistent node in unwind forms
13592 go to the Top node if there is no previous node to revert to.
13593 (Bug#16405)
13594
13595 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13596
13597 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13598 * window.el (fit-frame-to-buffer): Fix doc-string.
13599 Respect window-min-height/-width. Fit pixelwise when
13600 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13601 when avoiding that frame goes partially off-screen.
13602 (fit-window-to-buffer): Respect window-min-height/-width
13603 (Bug#14096).
13604
13605 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13608 after an empty line.
13609
13610 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * net/shr.el (shr-render-region): Autoload.
13613
13614 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13615
13616 * net/eww.el (eww-download-directory): Rename from
13617 `eww-download-path' (Bug#16419).
13618
13619 2014-01-12 Leo Liu <sdl.web@gmail.com>
13620
13621 * dired-x.el (dired-mode-map): Fix last change.
13622
13623 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13624
13625 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13626
13627 Spelling fixes.
13628 * emacs-lisp/generic.el (generic--normalize-comments):
13629 Rename from generic--normalise-comments. All uses changed.
13630 * play/bubbles.el (bubbles--neighborhood-score)
13631 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13632 (bubbles--neighborhood-available)
13633 (bubbles--update-neighborhood-score):
13634 Rename from names with 'neighbourhood'. All uses changed.
13635
13636 2014-01-12 Leo Liu <sdl.web@gmail.com>
13637
13638 Re-implement the feature of showing eldoc info after editing.
13639 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13640 (eldoc-edit-message-commands): New function.
13641 (eldoc-print-after-edit): New variable.
13642 (eldoc-pre-command-refresh-echo-area): Emit message only by
13643 eldoc-message-commands.
13644 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13645 if eldoc-print-after-edit is set. (Bug#16346)
13646 * simple.el (read--expression): Enable eldoc-mode.
13647 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13648
13649 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13650 Eric S. Raymond <esr@thyrsus.com>
13651
13652 * version.el (emacs-repository-get-version): Enhance so the
13653 function works correctly in either a Bazaar or Git repo.
13654
13655 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13656
13657 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13658 Goes with removal of the joke manpages from /etc.
13659
13660 2014-01-10 Kenichi Handa <handa@gnu.org>
13661
13662 * mail/rmail.el (rmail-get-coding-system):
13663 Check rmail-get-coding-function before "funcall"ing it.
13664
13665 2014-01-10 Glenn Morris <rgm@gnu.org>
13666
13667 * emacs-lisp/authors.el (authors-fixed-entries):
13668 Update for files that no longer exist.
13669
13670 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13671
13672 * version.el (emacs-bzr-get-version): Restore compatibilty with
13673 24.3 (Tested).
13674
13675 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13676
13677 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13678 and Podfile.
13679
13680 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13681
13682 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13683
13684 2014-01-10 Chong Yidong <cyd@gnu.org>
13685
13686 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13687
13688 2014-01-10 Anders Lindgren <andlind@gmail.com>
13689
13690 * follow.el (follow-cache-command-list): Include right-char and
13691 left-char.
13692
13693 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13694
13695 Spelling fixes.
13696 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13697 * woman.el (woman-mark-horizontal-position):
13698 Rename from woman-mark-horizonal-position. Use changed.
13699
13700 2014-01-10 Glenn Morris <rgm@gnu.org>
13701
13702 * info.el (info-initialize): If running uninstalled, ensure our
13703 own info files are always found first, even if INFOPATH is set.
13704
13705 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13706
13707 2014-01-09 David Engster <deng@randomsample.de>
13708
13709 * emacs-lisp/eieio-custom.el:
13710 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13711 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13712 * emacs-lisp/eieio.el: Regenerate autoloads.
13713
13714 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13715
13716 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13717 following renames. (Bug#8756)
13718
13719 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13722 (bug#16382).
13723 (activate-mark): Add `no-tmm' argument.
13724 (set-mark, push-mark-command): Use it instead of running
13725 activate-mark-hook by hand.
13726
13727 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13728
13729 In preparation for the move to git, sanitize out some
13730 Bazaar-specific names.
13731
13732 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13733
13734 * version.el (emacs-bzr-version): Name changed to
13735 emacs-repository-version. Obsolete-variable alias made.
13736 * loadup.el: Follow through on this name change.
13737 * mail/emacsbug.el (report-emacs-bug): Factor out any
13738 assumption about the version control system in use.
13739
13740 2014-01-08 David Engster <deng@randomsample.de>
13741
13742 * help-fns.el (help-fns-describe-function-functions):
13743 New variable to call functions for augmenting help buffers.
13744 (describe-function-1): Remove explicit calls to
13745 `help-fns--compiler-macro', `help-fns--parent-mode' and
13746 `help-fns--obsolete'. Put them in above new variable instead, and
13747 call them through `run-hook-with-args'.
13748 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13749 `eieio-describe-class'. Not meant for interactive use anymore,
13750 but to augment existing help buffers. Remove optional second
13751 argument. Create proper button for file location.
13752 Rewrite function to use `insert' instead of `princ' and `prin1' where
13753 possible.
13754 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13755 (eieio-method-def, eieio-class-def): Move further up.
13756 (describe-method, describe-generic, eieio-describe-method):
13757 Remove aliases.
13758 (eieio-help-constructor, eieio-help-generic): Rename from
13759 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13760 Rewrite to use `insert' in the current buffer and use proper help
13761 buttons.
13762 (eieio-help-find-method-definition)
13763 (eieio-help-find-class-definition): Also accept symbols as
13764 arguments.
13765 (eieio-help-mode-augmentation-maybee): Remove.
13766 (eieio-describe-class-sb): Use `describe-function'.
13767 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13768 Add `eieio-help-generic' and `eieio-help-constructor'.
13769
13770 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13771
13772 Spelling fixes.
13773 * language/china-util.el (hz-ascii-designation):
13774 Rename from hz-ascii-designnation.
13775 (hz-ascii-designation): Rename from hz-ascii-designnation.
13776 All uses changed.
13777
13778 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13779
13780 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13781 package-alist.
13782
13783 2014-01-08 Bastien Guerry <bzg@gnu.org>
13784
13785 * emacs-lisp/package.el (package-delete):
13786 Correctly delete the package from package-alist.
13787
13788 2014-01-08 Daiki Ueno <ueno@gnu.org>
13789
13790 * emacs-lisp/package.el (url-recreate-url): Declare.
13791 (url-http-target-url): Declare.
13792 (package-handle-response): Include requested URL in the error message.
13793 (package--check-signature): Don't re-signal errors from
13794 package--with-work-buffer. Suggested by Stefan Monnier.
13795
13796 2014-01-07 Bastien Guerry <bzg@gnu.org>
13797
13798 * minibuffer.el (completion--try-word-completion): When both a
13799 hyphen and a space are possible candidates for the character
13800 following a word, display both candidates. (Bug#15980)
13801
13802 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13803
13804 * window.el (balance-windows-2): While rounding don't give a
13805 window more than the remainder. Bug#16351, bug#16383.
13806
13807 2014-01-07 Glenn Morris <rgm@gnu.org>
13808
13809 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13810 (menu-bar-help-menu): Use view-external-packages instead.
13811
13812 2014-01-07 Bastien Guerry <bzg@gnu.org>
13813
13814 * emacs-lisp/package.el (package-delete): Also delete the package
13815 name from `package-alist', not its description only.
13816
13817 2014-01-07 Glenn Morris <rgm@gnu.org>
13818
13819 * help.el (view-external-packages):
13820 * menu-bar.el (menu-bar-help-extra-packages):
13821 Visit efaq.info rather than etc/MORE.STUFF.
13822
13823 2014-01-07 Juri Linkov <juri@jurta.org>
13824
13825 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13826 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13827
13828 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13829 that shadows RET. (Bug#16342)
13830
13831 2014-01-07 Chong Yidong <cyd@gnu.org>
13832
13833 * isearch.el (isearch-yank-char, isearch-yank-word)
13834 (isearch-yank-line): Doc fix.
13835
13836 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13837
13838 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13839 * emacs-lisp/elint.el (elint-find-builtins):
13840 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13841 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13842 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13843 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13844 * apropos.el (apropos-safe-documentation):
13845 * subr.el (symbol-file): Remove redundant fboundp.
13846 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13847
13848 2014-01-06 Bastien Guerry <bzg@gnu.org>
13849
13850 * hl-line.el (global-hl-line-overlay): Make a local variable.
13851 (global-hl-line-overlays): New variable to store all overlays.
13852 (global-hl-line-mode): Don't delete overlays from the current
13853 buffer when `global-hl-line-sticky-flag' is non-nil.
13854 (global-hl-line-highlight): Add new overlays to
13855 `global-hl-line-overlays'.
13856 (global-hl-line-unhighlight-all): New function to delete all
13857 overlays when turning off `global-hl-line-mode'.
13858 This fixes Bug#16183.
13859
13860 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * subr.el (set-transient-map): Fix nested case and docstring.
13863
13864 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13865
13866 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13867 `Texinfo' entry.
13868
13869 2014-01-06 Daniel Colascione <dancol@dancol.org>
13870
13871 Fix defun navigation in vc log view.
13872
13873 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13874 like `beginning-of-defun'.
13875 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13876 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13877 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13878 (log-view-extract-comment): Call `log-view-current-entry' directly
13879 instead of relying on broken `log-view-beginning-of-defun' behavior.
13880
13881 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13882
13883 Spelling fixes.
13884 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13885 * emacs-lisp/debug.el (cancel-debug-on-entry):
13886 * epg.el (epg-error-to-string):
13887 * files.el (recover-file):
13888 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13889 * mail/emacsbug.el (report-emacs-bug-hook):
13890 * mail/sendmail.el (mail-recover):
13891 * ses.el (ses-yank-resize):
13892 * term/ns-win.el (ns-print-buffer):
13893 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13894 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13895 All uses changed.
13896 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13897
13898 2014-01-06 Leo Liu <sdl.web@gmail.com>
13899
13900 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13901 to avoid shadowing global key. (Bug#16354)
13902
13903 2014-01-06 Daniel Colascione <dancol@dancol.org>
13904
13905 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13906 rst-mode.
13907
13908 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13909
13910 * window.el (balance-windows): Add mising t to fix Bug#16351.
13911
13912 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13913
13914 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13915 (bug#16285).
13916 (shr-insert): If we have a word that's longer than `shr-width',
13917 break after it anyway. Otherwise we'll do no breaking once we get
13918 such a long word.
13919
13920 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13921
13922 * net/eww.el (eww): Support single/double quote for search.
13923 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13924 (eww-history-quit): Delete and use quit-window.
13925 (eww-history-kill): Delete, because it doesn't work well and
13926 not necessary.
13927 (eww-history-mode-map): Delete some keys and add easy-menu.
13928
13929 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13930
13931 Fix misspelling of 'chinese' in rx (Bug#16237).
13932 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13933 chinese-two-byte.
13934
13935 Change subword regexps back to vars (Bug#16296).
13936 * progmodes/subword.el (subword-forward-regexp)
13937 (subword-backward-regexp): Change these back to variables.
13938
13939 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13940
13941 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13942 syntax-begin-function (bug#16247).
13943
13944 2014-01-03 Chong Yidong <cyd@gnu.org>
13945
13946 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13947 (advice--docstring): Delete variable.
13948 (advice--make-1): Leave the docstring empty.
13949 (advice-add): Use function-documentation for advised docstring.
13950
13951 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13952 Ignore function-documentation property when getting documentation.
13953 (ad-activate-advised-definition): Use function-documentation
13954 generate the docstring.
13955 (ad-make-advised-definition): Don't call
13956 ad-make-advised-definition-docstring.
13957 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13958 Delete functions.
13959
13960 * progmodes/sql.el (sql-help): Use function-documentation instead
13961 of dynamic-docstring-function property. No need to autoload now.
13962 (sql--help-docstring): New variable.
13963 (sql--make-help-docstring): Use it.
13964
13965 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13966
13967 * ielm.el (ielm-tab): Retarget.
13968 (ielm-map): Use ielm-tab for tab.
13969 (ielm-complete-filename): Use comint-filename-completion.
13970 (ielm-complete-symbol): Remove.
13971 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13972 remove ielm-tab from completion-at-point-functions (bug#16224).
13973
13974 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13975 Beware signals raised by predicates (bug#16201).
13976
13977 2014-01-02 Richard Stallman <rms@gnu.org>
13978
13979 * dired-aux.el (dired-do-print): Handle printer-name.
13980
13981 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13982 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13983 (rmail-epa-decrypt): Turn off mime processing.
13984
13985 * mail/rmail.el (rmail-make-in-reply-to-field):
13986 Add parens in message-id.
13987
13988 * mail/rmail.el (rmail-get-coding-function): Variable.
13989 (rmail-get-coding-system): Use it.
13990
13991 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13992
13993 * international/mule-conf.el: Unify the charset indian-is13194.
13994 (indian-is13194): Specify unify-map.
13995
13996 2013-12-31 Leo Liu <sdl.web@gmail.com>
13997
13998 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13999
14000 2013-12-30 Daniel Colascione <dancol@dancol.org>
14001
14002 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14003 of printing a useless when we resume from sleep.
14004
14005 * progmodes/sh-script.el
14006 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14007 in indentation code. (Bug#16233)
14008
14009 2013-12-28 João Távora <joaotavora@gmail.com>
14010
14011 * elec-pair.el (electric-pair-post-self-insert-function):
14012 Don't open extra newlines at beginning of buffer. (Bug#16272)
14013
14014 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14015
14016 * frame.el (window-system-for-display): Don't allow to create a
14017 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14018
14019 2013-12-28 Glenn Morris <rgm@gnu.org>
14020
14021 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14022 Update callers.
14023
14024 * apropos.el (apropos-match-face):
14025 * calculator.el (calculator-displayer):
14026 * dabbrev.el (dabbrev-search-these-buffers-only):
14027 * face-remap.el (buffer-face-mode-face):
14028 * simple.el (yank-handled-properties):
14029 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14030 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14031 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14032 (hashcash-double-spend-database):
14033 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14034 (ruby-deep-indent-paren-style):
14035 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14036 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14037 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14038 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14039 Specify custom types.
14040
14041 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14042 * bookmark.el (bookmark-bmenu-use-header-line):
14043 * doc-view.el (doc-view-scale-internally):
14044 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14045 * register.el (register-preview-delay):
14046 * net/shr.el (shr-bullet):
14047 * progmodes/cfengine.el (cfengine-cf-promises)
14048 (cfengine-parameters-indent):
14049 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14050 * textmodes/reftex-vars.el (reftex-label-regexps):
14051 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14052
14053 * net/tls.el (tls-certtool-program): Fix default value.
14054
14055 * desktop.el (desktop-restore-in-current-display):
14056 * newcomment.el (comment-empty-lines):
14057 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14058 (idlwave-pad-keyword):
14059 * progmodes/tcl.el (tcl-tab-always-indent):
14060 * textmodes/reftex-vars.el (reftex-index-default-tag):
14061 * elec-pair.el (electric-pair-skip-whitespace):
14062 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14063
14064 * emacs-lisp/authors.el (authors-ignored-files)
14065 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14066
14067 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14068
14069 * shell.el (shell-dynamic-complete-command): Doc fix.
14070 (shell--command-completion-data): Shell completion now matches
14071 executable filenames from the current buffer's directory, on
14072 systems in which this behavior is the default (windows-nt, ms-dos).
14073
14074 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14075
14076 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14077
14078 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14081 (bug#16251).
14082
14083 * electric.el: Move all electric-pair-* to elec-pair.el.
14084 * elec-pair.el: New file, split from electric.el.
14085
14086 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14087
14088 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14089 indentation level is larger than the width, because that will
14090 infloop.
14091 (shr-insert): Fill repeatedly long texts, so that Japanese is
14092 formatted correctly (bug#16263).
14093 (shr-find-fill-point): Off by one error in comparison with the
14094 indentation.
14095
14096 2013-12-26 João Távora <joaotavora@gmail.com>
14097
14098 * electric.el (electric-pair-mode): More flexible engine for skip-
14099 and inhibit predicates, new options for pairing-related functionality.
14100 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14101 if that keeps or improves their balance in buffers.
14102 (electric-pair-delete-adjacent-pairs): Delete the pair when
14103 backspacing over adjacent matched delimiters.
14104 (electric-pair-open-extra-newline): Open extra newline when
14105 inserting newlines between adjacent matched delimiters.
14106 (electric--sort-post-self-insertion-hook):
14107 Sort post-self-insert-hook according to priority values when
14108 minor-modes are activated.
14109 * simple.el (newline-and-indent): Call newline with interactive
14110 set to t.
14111 (blink-paren-post-self-insert-function): Set priority to 100.
14112 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14113 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14114 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14115 electric-pair-open-newline-between-pairs to nil.
14116
14117 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14118
14119 * progmodes/python.el: Use lexical-binding.
14120 (python-nav-beginning-of-defun): Stop searching ASAP.
14121
14122 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14123
14124 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14125 Fix interactive spec. Doc fix. (Bug#15754)
14126
14127 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14128
14129 * emacs-lisp/byte-run.el (eval-when-compile):
14130 * progmodes/cc-defs.el (cc-eval-when-compile):
14131 Fix edebug spec (bug#16184).
14132
14133 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14134
14135 * net/shr.el (shr-visit-file): Remove debugging function.
14136 (shr-insert): Don't infloop if we can't find a good place to break
14137 the line (bug#16256).
14138
14139 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14140
14141 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14142 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14143 python-nav-lisp-forward-sexp-safe.
14144 (python-nav--forward-sexp): New argument SAFE allows switching
14145 forward sexp movement behavior for parens.
14146 (python-nav-forward-sexp): Throw errors on unterminated parens
14147 (Bug#16191).
14148 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14149 (python-nav-backward-sexp-safe): New functions.
14150 (python-shell-buffer-substring):
14151 Use `python-nav-forward-sexp-safe'.
14152
14153 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14154
14155 * net/shr.el (shr-find-fill-point): Don't break lines before a
14156 quotation mark.
14157 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14158 (shr-find-fill-point): Remove the special checks for the quotation
14159 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14160
14161 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14162
14163 * net/eww.el (eww-form-textarea): Use a different face for
14164 textareas than text input since they have different keymaps
14165 (bug#16142).
14166
14167 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14168
14169 * progmodes/python.el (python-nav-beginning-of-statement):
14170 Speed up (Bug#15295).
14171
14172 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14173
14174 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14175 the window configuration.
14176
14177 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14178
14179 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14180 we run on MS-Windows or MS-DOS.
14181
14182 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14183
14184 * window.el (balance-windows-area): Call window-size instead of
14185 window-height and window-width. Bug#16241.
14186
14187 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14188
14189 * net/eww.el (eww-bookmark-quit): Remove.
14190 (eww-bookmark-browse): Restore the window configuration when you
14191 choose a bookmark (bug#16144).
14192
14193 2013-12-24 Daniel Colascione <dancol@dancol.org>
14194
14195 * icomplete.el: Remove redundant :group arguments to `defcustom'
14196 throughout.
14197 (icomplete-show-matches-on-no-input): New customizable variable.
14198 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14199 we have something to show.
14200 (icomplete-exhibit): Compute completions even if we have no user input.
14201
14202 2013-12-23 Daniel Colascione <dancol@dancol.org>
14203
14204 * icomplete.el: Move `provide' to end of file.
14205
14206 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14207
14208 * net/gnutls.el (gnutls-verify-error): Add version tag.
14209
14210 2013-12-23 Chong Yidong <cyd@gnu.org>
14211
14212 * subr.el (set-transient-map): Rename from
14213 set-temporary-overlay-map. Doc fix.
14214
14215 * face-remap.el (text-scale-adjust):
14216 * indent.el (indent-rigidly):
14217 * kmacro.el (kmacro-call-macro):
14218 * minibuffer.el (minibuffer-force-complete):
14219 * repeat.el (repeat):
14220 * simple.el (universal-argument--mode):
14221 * calendar/todo-mode.el (todo-insert-item--next-param):
14222 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14223
14224 * indent.el (indent-rigidly): Use substitute-command-keys.
14225
14226 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14227
14228 * net/eww.el (eww-tag-select): Add text-property to jump to next
14229 select field.
14230 (eww): Add non-supported ftp error.
14231
14232 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14233
14234 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14235 comments. Handle electric indent after typing `?' and `!'.
14236
14237 2013-12-22 Chong Yidong <cyd@gnu.org>
14238
14239 * faces.el (face-spec-recalc): If the theme specs are not
14240 applicable to a frame, fall back on the defface spec.
14241 This prevents themes from obliterating faces on low-color terminals.
14242
14243 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14244
14245 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14246 after `{'. We need it after block openers, and it doesn't seem
14247 to hurt after hash openers.
14248
14249 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14250
14251 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14252 extracted from `ruby-smie-rules'.
14253 (ruby--electric-indent-chars): New variable.
14254 (ruby--electric-indent-p): New function.
14255 (ruby-mode): Use `electric-indent-functions' instead of
14256 `electric-indent-chars'.
14257
14258 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14259
14260 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14261 docstring.
14262 (ruby-smie-rules): Indent plus one level after `=>'.
14263
14264 2013-12-21 Richard Stallman <rms@gnu.org>
14265
14266 * simple.el (newline): Doc fix.
14267
14268 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14269
14270 * net/eww.el (eww-list-histories, eww-list-histories)
14271 (eww-history-browse, eww-history-quit, eww-history-kill)
14272 (eww-history-mode-map, eww-history-mode): New command and
14273 functions to list browser histories.
14274 (eww-form-text): Support text form with disabled
14275 and readonly attributes.
14276 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14277
14278 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14279
14280 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14281 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14282 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14283 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14284 Use `user-error'.
14285 (eww-bookmark-mode-map): Add menu.
14286 (eww-render, eww-mode): Use `setq-local'.
14287 (eww-tool-bar-map): New variable.
14288 (eww-mode): Set `tool-bar-map'.
14289 (eww-view-source): Check for `html-mode' with `fboundp'.
14290
14291 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14292
14293 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14294 elements with text inside. Also remove debugging.
14295
14296 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14297
14298 * cus-start.el (all): Add ns-use-srgb-colorspace.
14299
14300 2013-12-21 Chong Yidong <cyd@gnu.org>
14301
14302 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14303 undefined. Thus, theme settings for undefined faces do not take
14304 effect until the faces are defined with defface, the same as with
14305 theme variables.
14306
14307 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14308 (face-spec-reset-face): Don't assign extra properties in temacs.
14309 (face-spec-recalc): Apply X resources too.
14310
14311 2013-12-21 Chong Yidong <cyd@gnu.org>
14312
14313 * faces.el (face-spec-set):
14314 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14315 * custom.el (defface): Doc fixes (Bug#16203).
14316
14317 * indent.el (indent-rigidly-map): Add docstring, and move commands
14318 into named functions.
14319 (indent-rigidly-left, indent-rigidly-right)
14320 (indent-rigidly-left-to-tab-stop)
14321 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14322 indentation direction based on bidi direction, and accumulate
14323 sequential commands in a single undo boundary.
14324 (indent-rigidly--pop-undo): New utility function.
14325
14326 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14327
14328 * faces.el (read-face-name): Require crm.el when using crm-separator.
14329
14330 2013-12-20 Daniel Colascione <dancol@dancol.org>
14331
14332 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14333 so that we don't reflow comments into the shebang line.
14334
14335 2013-12-20 Juri Linkov <juri@jurta.org>
14336
14337 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14338 a position when `dired-directory' is non-nil. Check integer
14339 positions with `integerp'.
14340 (toggle-save-place, save-places-to-alist): Add check for
14341 `dired-directory'.
14342 (save-place-find-file-hook): Check integer positions with
14343 `integerp'.
14344 (save-place-dired-hook): Use `dired-goto-file' when
14345 `dired-filename' is found in the assoc list. Check integer
14346 positions with `integerp'.
14347 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14348
14349 * dired.el (dired-initial-position-hook): Rename back from
14350 `dired-initial-point-hook'.
14351 (dired-initial-position): Rename `dired-initial-point-hook' to
14352 `dired-initial-position-hook'.
14353 (dired-file-name-at-point): Doc fix. (Bug#15329)
14354
14355 2013-12-20 Juri Linkov <juri@jurta.org>
14356
14357 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14358 (read-regexp-suggestions): New function.
14359 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14360 Use `read-regexp-suggestions'. Add non-empty default to history
14361 for empty input.
14362 (occur-read-regexp-defaults-function): Remove function.
14363 (occur-read-primary-args): Use `regexp-history-last' instead of
14364 `occur-read-regexp-defaults-function'.
14365
14366 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14367 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14368 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14369 `hi-lock-read-regexp-defaults-function'. Doc fix.
14370 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14371 with `find-tag-default-as-symbol-regexp'. Doc fix.
14372 (hi-lock-read-regexp-defaults): Remove function.
14373 (hi-lock-regexp-okay): Add check for null.
14374
14375 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14376 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14377
14378 * subr.el (find-tag-default-as-symbol-regexp): New function.
14379 (find-tag-default-as-regexp): Move symbol regexp formatting to
14380 `find-tag-default-as-symbol-regexp'.
14381
14382 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14383
14384 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14385 (Bug#14179)
14386
14387 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14388
14389 * calendar/todo-mode.el: New implementation of item insertion
14390 commands and key bindings.
14391 (todo-key-prompt): New face.
14392 (todo-insert-item): New command.
14393 (todo-insert-item--parameters): New defconst, replacing defvar
14394 todo-insertion-commands-args-genlist.
14395 (todo-insert-item--param-key-alist): New defconst, replacing
14396 defvar todo-insertion-commands-arg-key-list.
14397 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14398 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14399 (todo-insert-item--next-param): New functions.
14400 (todo-insert-item--args, todo-insert-item--argleft)
14401 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14402 New variables.
14403 (todo-key-bindings-t): Change binding of "i" from
14404 todo-insertion-map to todo-insert-item.
14405 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14406 (todo-insertion-command-name, todo-insertion-commands-names)
14407 (todo-define-insertion-command, todo-insertion-commands)
14408 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14409
14410 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14411
14412 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14413 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14414 eval-when-compile.
14415 (todo-move-category): Allow choosing a non-existing todo file to
14416 move the category to, and create that file.
14417 (todo-default-priority): New user option.
14418 (todo-set-item-priority): Use it.
14419 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14420 (desktop-restore-file-buffer): Declare.
14421 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14422 (todo-modes-set-2): Locally set desktop-save-buffer to
14423 todo-desktop-save-buffer.
14424 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14425 (auto-mode-alist): Add autoload cookie.
14426
14427 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14428
14429 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14430 helpers.el was a poor choice of name.
14431 (string-remove-prefix): New function.
14432 (string-remove-suffix): New function.
14433
14434 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14435
14436 Fix assignment for new window total sizes.
14437 * window.el (window--pixel-to-size): Remove function.
14438 (window--pixel-to-total-1, window--pixel-to-total):
14439 Fix calculation of new total sizes.
14440
14441 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14442
14443 * comint.el (comint-output-filter): Fix rear-nonsticky property
14444 placement (Bug#16010).
14445
14446 2013-12-20 Chong Yidong <cyd@gnu.org>
14447
14448 * faces.el (read-color): Minor fix for completion function.
14449
14450 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14451
14452 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14453 New option. (Bug#16182)
14454 (ruby-smie--indent-to-stmt-p): Use it.
14455 (ruby-smie-rules): Revert the logic in the handling of `when'.
14456 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14457 (ruby-deep-arglist, ruby-deep-indent-paren)
14458 (ruby-deep-indent-paren-style): Update docstrings to note that the
14459 vars don't have any effect with SMIE.
14460
14461 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14462
14463 * calc/calc.el (calc-enter, calc-pop): Use the variable
14464 `calc-context-sensitive-enter'.
14465
14466 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14467
14468 * net/shr.el (shr-insert): Protect against infloops in degenerate
14469 tables.
14470
14471 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14472
14473 * progmodes/octave.el (octave): Add link to manual and octave
14474 homepage.
14475 (octave-mode-menu): Link to octave-mode manual.
14476
14477 2013-12-20 Leo Liu <sdl.web@gmail.com>
14478
14479 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14480 insertion using skeleton-end-newline. (Bug#16138)
14481
14482 2013-12-20 Juri Linkov <juri@jurta.org>
14483
14484 * replace.el (occur-engine): Use `add-face-text-property'
14485 to add the face property to matches and titles. (Bug#14645)
14486
14487 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14488 the palette of other hi-lock colors.
14489 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14490
14491 2013-12-19 Juri Linkov <juri@jurta.org>
14492
14493 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14494 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14495 (minibuffer-history-symbol): Move variable declaration closer to
14496 its usage.
14497
14498 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14499 (Bug#14785)
14500
14501 2013-12-19 Juri Linkov <juri@jurta.org>
14502
14503 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14504 New function.
14505 (log-edit-hook): Add it to :options. (Bug#16170)
14506
14507 2013-12-19 Juri Linkov <juri@jurta.org>
14508
14509 * simple.el (eval-expression-print-format): Don't check for
14510 command names and the last command. Always display additional
14511 formats of the integer result in the echo area, and insert them
14512 to the current buffer only with a zero prefix arg.
14513 Display character when char-displayable-p is non-nil.
14514 (eval-expression): With a zero prefix arg, set `print-length' and
14515 `print-level' to nil, and insert the integer values from
14516 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14517
14518 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14519 `eval-last-sexp-arg-internal'. Doc fix.
14520 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14521 `eval-last-sexp-print-value'. Doc fix.
14522 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14523 Set `print-length' and `print-level' to nil when arg is zero.
14524 (eval-last-sexp): Doc fix.
14525 (eval-defun-2): Print the integer values from
14526 `eval-expression-print-format' at the end.
14527
14528 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14529 values from `eval-expression-print-format' at the end.
14530
14531 * ielm.el (ielm-eval-input): Print the integer
14532 values from `eval-expression-print-format' at the end.
14533
14534 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14535
14536 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14537 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14538
14539 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14542 (hl-line-highlight, global-hl-line-highlight): Use it.
14543 (hl-line-overlay): Use defvar-local.
14544
14545 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14546
14547 * term/ns-win.el: Require dnd.
14548 (global-map): Remove drag items.
14549 (ns-insert-text, ns-set-foreground-at-mouse)
14550 (ns-set-background-at-mouse):
14551 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14552 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14553 New functions.
14554
14555 2013-12-19 Glenn Morris <rgm@gnu.org>
14556
14557 * emacs-lisp/ert.el (ert-select-tests):
14558 Fix string/symbol mixup. (Bug#16121)
14559
14560 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14561
14562 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14563 keywords to their parent.
14564
14565 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14566
14567 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14568 first arg to be a string (fixed dead code), or an operator symbol.
14569 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14570 operator symbols.
14571 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14572 did nothing. Don't respond to `(:after ".")', it will be called
14573 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14574 change anything. Only return indentation for binary operators
14575 when they are hanging. De-dent opening paren when its parent is
14576 `.', otherwise it looks bad when the dot is not at bol or eol
14577 (bug#16182).
14578
14579 2013-12-19 Juri Linkov <juri@jurta.org>
14580
14581 * replace.el (query-replace-read-args): Split a non-negative arg
14582 and a negative arg into separate elements.
14583 (query-replace, query-replace-regexp, replace-string)
14584 (replace-regexp): Add arg `backward'. Doc fix.
14585 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14586 move point to the beginning of the match.
14587 (replace-search, replace-highlight): Use new arg `backward'
14588 to set the value of `isearch-forward'.
14589 (perform-replace): Add arg `backward' and use it to perform
14590 replacement backward. (Bug#14979)
14591
14592 * isearch.el (isearch-query-replace): Use a negative prefix arg
14593 to call `perform-replace' with a non-nil arg `backward'.
14594
14595 2013-12-18 Juri Linkov <juri@jurta.org>
14596
14597 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14598 to the default list. Move `log-edit-show-files' to the end.
14599 Add more available functions to options.
14600 (log-edit): Move default specific settings to
14601 `log-edit-insert-message-template'. Don't move point.
14602 (log-edit-insert-message-template): New function.
14603 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14604 (Bug#16170)
14605
14606 2013-12-18 Juri Linkov <juri@jurta.org>
14607
14608 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14609 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14610
14611 2013-12-18 Leo Liu <sdl.web@gmail.com>
14612
14613 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14614 (Bug#16186)
14615
14616 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14617
14618 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14619 formats for displaying file sizes when the -s switch is given.
14620 Instead, compute a separate format for displaying the size in
14621 blocks, which is displayed in addition to the "regular" size.
14622 When -h is given in addition to -s, produce size in blocks in
14623 human-readable form as well. (Bug#16179)
14624
14625 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14626
14627 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14628 Reference tables with ~\ref{...} instead of only \ref{...}.
14629
14630 2013-12-18 Chong Yidong <cyd@gnu.org>
14631
14632 * cus-edit.el (custom-magic-alist): Fix "themed" description
14633 (Bug#14348).
14634
14635 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14636 is non-nil, do not create a new entry in the symbol's theme-value
14637 or theme-face property; update theme-settings only (Bug#14664).
14638 (custom-available-themes): Doc fix.
14639
14640 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14641 (Bug#15674).
14642
14643 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14644
14645 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14646
14647 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14648 (Bug#13914).
14649
14650 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14651
14652 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14653
14654 2013-12-18 Glenn Morris <rgm@gnu.org>
14655
14656 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14657 * cus-start.el (load-prefer-newer): New option.
14658
14659 2013-12-18 Le Wang <l26wang@gmail.com>
14660
14661 * comint.el (comint-previous-matching-input-from-input):
14662 Retain point (Bug#13404).
14663
14664 2013-12-18 Chong Yidong <cyd@gnu.org>
14665
14666 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14667
14668 2013-12-18 Glenn Morris <rgm@gnu.org>
14669
14670 * mail/emacsbug.el (report-emacs-bug):
14671 Only mention enable-multibyte-characters if non-standard.
14672
14673 2013-12-17 Juri Linkov <juri@jurta.org>
14674
14675 * arc-mode.el (archive-extract-by-file): Check if directory exists
14676 before deletion to not show irrelevant errors if it doesn't exist.
14677
14678 2013-12-17 Juri Linkov <juri@jurta.org>
14679
14680 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14681 (Bug#14751)
14682
14683 * net/eww.el (browse-web): Add alias to `eww'.
14684 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14685 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14686
14687 * net/browse-url.el (browse-url-browser-function): Move `eww'
14688 closer to similar functions.
14689
14690 * startup.el (fancy-startup-screen, fancy-about-screen):
14691 Set browse-url-browser-function to eww-browse-url locally.
14692 (Bug#14751)
14693
14694 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14695
14696 * window.el (window--pixel-to-total): Remove unused `mini' var.
14697 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14698 (split-window): Remove unused `new' var.
14699 (window--display-buffer): Remove unused `frame' and `delta' vars.
14700 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14701 and display-width'.
14702
14703 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14704
14705 * dired.el (dired-mark-pop-up):
14706 * register.el (register-preview): Don't bind
14707 split-height-threshold here since it's now done in
14708 display-buffer-below-selected.
14709
14710 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14711
14712 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14713 xterm-rgb-convert-to-16bit.
14714 (rxvt-register-default-colors): Standardize with
14715 xterm-register-default-colors (Bug#14078).
14716
14717 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14718
14719 * simple.el (kill-region): Pass mark first, then point, so that
14720 kill-append works right (Bug#12819).
14721 (copy-region-as-kill, kill-ring-save): Likewise.
14722
14723 2013-12-17 Leo Liu <sdl.web@gmail.com>
14724
14725 * net/rcirc.el (rcirc-add-face):
14726 * eshell/em-prompt.el (eshell-emit-prompt):
14727 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14728 (Bug#16167)
14729
14730 2013-12-17 Chong Yidong <cyd@gnu.org>
14731
14732 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14733 Suggested by Xue Fuqiao.
14734
14735 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14736
14737 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14738
14739 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 * net/shr.el (shr-insert-document): Remove unused var
14742 `shr-preliminary-table-render'.
14743 (shr-rescale-image): Remove unused arg `force'.
14744 (shr-put-image): Update calls accordingly.
14745 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14746
14747 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14748
14749 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14750 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14751 :close-all, to see which indentation method to use (Bug#16116).
14752 (smie-rules-function): Document the method :close-all.
14753
14754 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14755
14756 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14757
14758 * net/eww.el (eww-display-html): If we can't find the anchor we're
14759 looking for, then go to point-min.
14760
14761 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14762
14763 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14764 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14765 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14766 Expand dir too, in case it's relative.
14767
14768 2013-12-16 Juri Linkov <juri@jurta.org>
14769
14770 * desktop.el (desktop-auto-save-timeout): Change default to
14771 `auto-save-timeout'. Doc fix.
14772 (desktop-save): Skip the timestamp in desktop-saved-frameset
14773 when checking for auto-save changes.
14774 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14775 `desktop-auto-save' is called repeatedly by the idle timer.
14776 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14777 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14778 (Bug#15331)
14779
14780 2013-12-16 Juri Linkov <juri@jurta.org>
14781
14782 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14783 (Bug#16035)
14784 (isearch-pre-command-hook): Check `this-command' for symbolp.
14785
14786 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14787
14788 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14789
14790 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14791
14792 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14793 (cfengine3--current-function): Bring in the current-function
14794 functionality from `cfengine3--current-word'.
14795 (cfengine3-completion-function): Bring in the
14796 bounds-of-current-word functionality from
14797 `cfengine3--current-word'.
14798
14799 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14800
14801 * window.el (display-buffer-below-selected):
14802 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14803
14804 2013-12-16 Leo Liu <sdl.web@gmail.com>
14805
14806 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14807 Remove NOMSG arg and all uses changed.
14808
14809 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14810
14811 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14812 (cua--deactivate-rectangle): Don't deactivate the mark.
14813 (cua-set-rectangle-mark): Don't set mark-active since
14814 cua--activate-rectangle already does it for us.
14815 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14816 non-rectangular region.
14817
14818 * emulation/cua-base.el (cua-repeat-replace-region):
14819 Use with-current-buffer.
14820
14821 * net/gnutls.el: Use cl-lib.
14822 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14823
14824 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14825
14826 * emacs-lisp/package.el (package-built-in-p): Support both
14827 built-in and the package.el converted package descriptions.
14828 (package-show-package-list): Allow keywords.
14829 (package-keyword-button-action): Use it instead of
14830 `finder-list-matches'.
14831 (package-menu-filter-interactive): Interactive filtering (by
14832 keyword) function.
14833 (package-menu--generate): Support keywords and change keymappings
14834 and headers when they are given.
14835 (package--has-keyword-p): Helper function.
14836 (package-menu--refresh): Use it.
14837 (package--mapc): Helper function.
14838 (package-all-keywords): Use it.
14839 (package-menu-mode-map): Set up menu items and keybindings to
14840 provide a filtering UI.
14841
14842 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14843
14844 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14845 the behavior when a certificate fails validation. Defaults to
14846 old behavior: never abort, just warn.
14847 (gnutls-negotiate): Use it.
14848
14849 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14850
14851 * window.el (display-buffer-below-selected): Never split window
14852 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14853
14854 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14855
14856 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14857 (package-buffer-info): Use it (bug#15108).
14858
14859 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * icomplete.el (icomplete-completions): Make sure the prefix is already
14862 displayed elsewhere before hiding it (bug#16219).
14863
14864 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14865
14866 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14867 open-paren tokens when preceded by a open-paren, too.
14868 (ruby-smie-rules): Handle virtual indentation after open-paren
14869 tokens specially. If there is code between it and eol, return the
14870 column where is starts (Bug#16118).
14871
14872 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14873
14874 * progmodes/cfengine.el: Fix `add-hook' doc.
14875 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14876 (cfengine3--current-word): Fix parameters.
14877 (cfengine3-make-syntax-cache): Simplify further.
14878 (cfengine3-completion-function, cfengine3--current-function):
14879 Use `assq' for symbols.
14880 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14881
14882 2013-12-13 Glenn Morris <rgm@gnu.org>
14883
14884 * loadup.el (load-path): Warn if site-load or site-init changes it.
14885 No more need to reset it when bootstrapping.
14886
14887 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14888
14889 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14890 locations for cf-promises.
14891 (cfengine-mode-syntax-functions-regex): New caching variable.
14892 (cfengine3-fallback-syntax): Fallback syntax for cases where
14893 cf-promises doesn't run.
14894 (cfengine3--current-word): Reimplement using
14895 `cfengine-mode-syntax-functions-regex'.
14896 (cfengine3-completion-function, cfengine3--current-function):
14897 Use `cfengine3-make-syntax-cache' directly.
14898 (cfengine3-clear-syntax-cache): New function.
14899 (cfengine3-make-syntax-cache): Simplify and create
14900 `cfengine-mode-syntax-functions-regex' on demand.
14901 (cfengine3-format-function-docstring): Don't call
14902 `cfengine3-make-syntax-cache' explicitly.
14903
14904 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14905
14906 Fix windmove-find-other-window broken after pixelwise resizing
14907 (Bug#16017).
14908 * windmove.el (windmove-other-window-loc): Revert change from
14909 2013-12-04.
14910 (windmove-find-other-window): Call window-in-direction.
14911 * window.el (window-in-direction): New arguments SIGN, WRAP and
14912 MINI to emulate original windmove-find-other-window behavior.
14913
14914 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14915
14916 * simple.el (blink-matching--overlay): New variable.
14917 (blink-matching-open): Instead of moving point, highlight the
14918 matching paren with an overlay
14919 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14920
14921 * faces.el (paren-showing-faces, show-paren-match)
14922 (show-paren-mismatch): Move from paren.el.
14923
14924 2013-12-13 Leo Liu <sdl.web@gmail.com>
14925
14926 * indent.el (indent-region): Disable progress reporter in
14927 minibuffer. (Bug#16108)
14928
14929 * bindings.el (visual-order-cursor-movement): Fix version.
14930
14931 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14932
14933 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14934 Also match after beginning of line.
14935 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14936 files. Thanks to Russell Sim. (Bug#15378)
14937
14938 2013-12-13 Juri Linkov <juri@jurta.org>
14939
14940 * simple.el <Keypad support>: Remove key bindings duplicated
14941 with bindings.el. (Bug#14397)
14942
14943 2013-12-13 Juri Linkov <juri@jurta.org>
14944
14945 * comint.el (comint-mode-map): Replace `delete-char' with
14946 `delete-forward-char'. (Bug#16109)
14947
14948 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14949
14950 * progmodes/python.el (python-indent-calculate-indentation):
14951 Fix de-denters cornercase. (Bug#15731)
14952
14953 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14956 (advice--make): Pay attention to `depth'.
14957 (advice--make-1): Don't autoload commands eagerly.
14958 * emacs-lisp/elp.el (elp-instrument-function):
14959 * emacs-lisp/trace.el (trace-function-internal):
14960 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14961
14962 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14963
14964 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14965
14966 * term/w32-win.el (w32-handle-dropped-file):
14967 * startup.el (normal-top-level):
14968 * net/browse-url.el (browse-url-file-url):
14969 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14970 decode file names using 'utf-8' rather than
14971 file-name-coding-system.
14972
14973 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14974
14975 * progmodes/python.el (python-indent-context)
14976 (python-indent-calculate-indentation): Fix auto-identation
14977 behavior for comment blocks. (Bug#15916)
14978
14979 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14980
14981 * progmodes/python.el (python-indent-calculate-indentation):
14982 When determining indentation, don't treat "return", "pass", etc., as
14983 operators when they are just string constituents. (Bug#15812)
14984
14985 2013-12-12 Juri Linkov <juri@jurta.org>
14986
14987 * uniquify.el (uniquify-buffer-name-style): Change default to
14988 `post-forward-angle-brackets'.
14989
14990 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14991 `uniquify'. Change default to `post-forward-angle-brackets'.
14992
14993 2013-12-11 Glenn Morris <rgm@gnu.org>
14994
14995 * emacs-lisp/package.el (finder-list-matches):
14996 Autoload rather than falsely declaring.
14997
14998 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14999
15000 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15001 (eww-mode-map): Use them.
15002
15003 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15004
15005 * window.el (display-buffer-in-side-window): Fix doc-string
15006 (Bug#16115).
15007
15008 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15009
15010 * vc/vc-git.el: Silence byte-compiler warnings.
15011 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15012 (log-edit-set-header): Declare.
15013
15014 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15015
15016 * Makefile.in (custom-deps, finder-data): Run output file names
15017 through unmsys--file-name. (Bug#16099)
15018
15019 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15020
15021 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15022 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15023
15024 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15025 instead of deleting the selection "by hand" (bug#16098).
15026 Rely on insert-for-yank to yank rectangles.
15027 (cua-highlight-region-shift-only): Mark obsolete.
15028 (cua-mode): Don't enable/disable transient-mark-mode,
15029 shift-select-mode (cua-mode works both with and without them), and
15030 pc-selection-mode (obsolete).
15031 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15032 (cua--deactivate-rectangle): Deactivate it.
15033
15034 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15035 (delete-selection-helper): Make sure yank starts at the top of the
15036 deleted region.
15037 (minibuffer-keyboard-quit): Use region-active-p.
15038
15039 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15040
15041 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15042 to `delete' (bug#16109).
15043
15044 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15045
15046 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15047 info manual and show keybindings and set `:group' keyword.
15048
15049 2013-12-11 Juri Linkov <juri@jurta.org>
15050
15051 * delsel.el (delete-active-region): Let-bind `this-command'
15052 to prevent `kill-region' from changing its original value.
15053 (delete-selection-helper): Handle `overwrite-mode' for the type
15054 `kill' exactly the same way as for the type `t'.
15055 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15056 Support more commands. (Bug#13312)
15057
15058 2013-12-11 Juri Linkov <juri@jurta.org>
15059
15060 * bindings.el: Map kp keys to non-kp keys systematically
15061 with basic modifiers control, meta and shift. (Bug#14397)
15062
15063 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15064
15065 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15066 "Close browser" menu items. Fix wrong function of "List
15067 bookmarks".
15068
15069 2013-12-11 Juri Linkov <juri@jurta.org>
15070
15071 * misearch.el (multi-isearch-buffers): Set the value of
15072 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15073 arg of isearch-forward to t.
15074 (multi-isearch-buffers-regexp): Set the value of
15075 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15076 arg of isearch-forward-regexp to t.
15077 (multi-isearch-files): Set the value of
15078 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15079 arg of isearch-forward to t.
15080 (multi-isearch-files-regexp): Set the value of
15081 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15082 arg of isearch-forward-regexp to t. (Bug#16035)
15083
15084 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15085 arg of isearch-forward to t.
15086 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15087 arg of isearch-forward-regexp to t.
15088 (dired-isearch-filter-filenames): Remove unnecessary check for
15089 `dired-isearch-filenames'.
15090
15091 * comint.el (comint-history-isearch-backward):
15092 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15093 (comint-history-isearch-backward-regexp):
15094 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15095
15096 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15097
15098 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15099 unmsys--file-name. (Bug#16099)
15100
15101 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15102
15103 * emacs-lisp/package.el (package-keyword-button-action):
15104 Remove finder.el require dependency.
15105
15106 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15107
15108 * emacs-lisp/package.el: Require finder.el.
15109 (describe-package-1): Add keyword buttons.
15110 (package-make-button): New convenience function.
15111 (package-keyword-button-action): Keyword button action using
15112 `finder-list-matches'.
15113
15114 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15115
15116 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15117 last commit.
15118
15119 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15120
15121 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15122 symlinked files.
15123
15124 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15125
15126 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15127 after the end of a percent literal.
15128
15129 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15130
15131 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15132 Handle caret-delimited strings (Bug#16079).
15133
15134 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15135
15136 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15137 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15138 `ruby-parse-partial' (Bug#16078).
15139
15140 2013-12-09 Leo Liu <sdl.web@gmail.com>
15141
15142 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15143
15144 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15145
15146 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15147 (js-switch-indent-offset): New option.
15148 (js--proper-indentation): Use it. And handle the case when
15149 "default" is actually a key in an object literal.
15150 (js--same-line): New function.
15151 (js--multi-line-declaration-indentation): Use it.
15152 (js--indent-in-array-comp, js--array-comp-indentation):
15153 New functions.
15154 (js--proper-indentation): Use them, to handle array comprehension
15155 continuations.
15156
15157 2013-12-08 Leo Liu <sdl.web@gmail.com>
15158
15159 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15160 (flymake-make-overlay): Remove arg MOUSE-FACE.
15161 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15162
15163 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15164
15165 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15166 New function.
15167 (redisplay-highlight-region-function): Use it.
15168
15169 * emulation/cua-base.el (cua--explicit-region-start)
15170 (cua--last-region-shifted): Remove.
15171 (cua--deactivate): Use deactivate-mark.
15172 (cua--pre-command-handler-1): Don't handle shift-selection.
15173 (cua--post-command-handler-1): Don't change transient-mark-mode.
15174 (cua--select-keymaps): Use region-active-p rather than
15175 cua--explicit-region-start or cua--last-region-shifted.
15176 (cua-mode): Enable shift-select-mode.
15177
15178 2013-12-08 Leo Liu <sdl.web@gmail.com>
15179
15180 * progmodes/flymake.el (flymake-popup-current-error-menu):
15181 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15182 (flymake-posn-at-point-as-event, flymake-popup-menu)
15183 (flymake-make-emacs-menu): Remove. (Bug#16077)
15184
15185 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * rect.el (rectangle-mark-mode): Activate mark even if
15188 transient-mark-mode is off (bug#16066).
15189 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15190 is > mark and at bolp.
15191
15192 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15193 (region-extract-function): Use it.
15194 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15195 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15196 Delete functions.
15197 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15198 kill-ring-save, kill-region, delete-char, delete-forward-char.
15199 Ignore self-insert-iso.
15200
15201 * emulation/cua-gmrk.el (cua--init-global-mark):
15202 Ignore `self-insert-iso'.
15203
15204 * emulation/cua-base.el (cua--prefix-copy-handler)
15205 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15206 checking cua--rectangle.
15207 (cua-delete-region): Use region-extract-function.
15208 (cua-replace-region): Delete function.
15209 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15210 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15211 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15212 (cua--init-keymaps): Don't remap delete-selection commands.
15213 (cua-mode): Use delete-selection-mode instead of rolling our own
15214 (bug#16085).
15215
15216 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15217 Obey region-extract-function.
15218
15219 Make registers and delete-selection-mode work on rectangles.
15220 * register.el (describe-register-1): Don't modify the register's value.
15221 (copy-to-register): Obey region-extract-function.
15222 * delsel.el (delete-active-region): Obey region-extract-function.
15223
15224 2013-12-08 Leo Liu <sdl.web@gmail.com>
15225
15226 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15227 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15228 (flymake-compilation-prevents-syntax-check)
15229 (flymake-start-syntax-check-on-newline)
15230 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15231 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15232 (flymake-xml-program, flymake-master-file-dirs)
15233 (flymake-master-file-count-limit)
15234 (flymake-allowed-file-name-masks): Relocate.
15235 (flymake-makehash, flymake-float-time)
15236 (flymake-replace-regexp-in-string, flymake-split-string)
15237 (flymake-get-temp-dir): Remove.
15238 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15239 (flymake-current-row, flymake-selected-frame)
15240 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15241 related functions. (Bug#16077)
15242
15243 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15244
15245 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15246
15247 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15248
15249 * help-fns.el (describe-function-1): Use new advice-* functions
15250 rather than old ad-* functions. Fix function type description and
15251 source links for advised functions and subrs.
15252
15253 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15254
15255 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15256
15257 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15258
15259 * progmodes/compile.el (compilation-start):
15260 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15261
15262 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15263 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15264
15265 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15266
15267 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15268 Touch up the last change.
15269
15270 2013-12-06 Leo Liu <sdl.web@gmail.com>
15271
15272 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15273 (inferior-octave-startup): Always use "octave> " for prompt.
15274 (octave-goto-function-definition)
15275 (octave-sync-function-file-names)
15276 (octave-find-definition-default-filename): Remove redundant backquotes.
15277
15278 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15279
15280 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15281 syntax for `?'.
15282 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15283 where appropriate already.
15284 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15285 end of method names (Bug#15874).
15286
15287 2013-12-06 Juri Linkov <juri@jurta.org>
15288
15289 * isearch.el (isearch--saved-overriding-local-map):
15290 New internal variable.
15291 (isearch-mode): Set it to the initial value of
15292 `overriding-terminal-local-map'.
15293 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15294 with `isearch--saved-overriding-local-map'. (Bug#16035)
15295
15296 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15297
15298 * progmodes/octave.el (inferior-octave-completion-table):
15299 Turn back into function, use `completion-table-with-cache'
15300 (Bug#11906). Update all references.
15301
15302 * minibuffer.el (completion-table-with-cache): New function.
15303
15304 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15305
15306 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15307
15308 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15309
15310 * net/eww.el (eww-current-source): New variable to store page
15311 source.
15312 (eww-display-html, eww-mode, eww-save-history)
15313 (eww-restore-history): Use it.
15314 (eww-view-source): New command to view page source.
15315 Opportunistically uses `html-mode' to highlight the buffer.
15316 (eww-mode-map): Install it.
15317
15318 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15319
15320 * net/dbus.el (dbus-unregister-service)
15321 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15322 Fix docstring.
15323 (dbus-unregister-service): Skip :serial entries in
15324 `dbus-registered-objects-table'.
15325 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15326
15327 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15328
15329 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15330 around keywords with extra `split-string' argument.
15331
15332 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15333
15334 * windmove.el (windmove-other-window-loc): Handle navigation
15335 between windows (excluding the minibuffer window - Bug#16017).
15336
15337 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15338
15339 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15340 in D-Bus type syntax.
15341 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15342 preserve unibyte strings. (Bug#16048)
15343
15344 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15345
15346 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15347 Call force-mode-line-update is the proper buffer (bug#16042).
15348
15349 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15350
15351 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15352 `log-edit-remember-comment', make argument optional. Adjust all
15353 callers.
15354 (log-edit-mode): Add `log-edit-remember-comment' to
15355 `kill-buffer-hook' locally.
15356 (log-edit-kill-buffer): Don't remember comment explicitly since
15357 the buffer is killed anyway.
15358
15359 2013-12-04 Juri Linkov <juri@jurta.org>
15360
15361 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15362 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15363
15364 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15365
15366 * notifications.el (notifications-close-notification): Call the
15367 D-Bus method with ID being a `:uint32'. (Bug#16030)
15368
15369 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15370
15371 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15372
15373 2013-12-03 Juri Linkov <juri@jurta.org>
15374
15375 * progmodes/compile.el (compilation-start): Rename window alist
15376 entry `no-display-ok' to `allow-no-window'.
15377
15378 * simple.el (shell-command): Add window alist entry
15379 `allow-no-window' to `display-buffer'.
15380 (async-shell-command): Doc fix.
15381
15382 * window.el (display-buffer-no-window): New action function.
15383 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15384
15385 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15386
15387 * vc/log-edit.el (log-edit-set-header): Extract from
15388 `log-edit-toggle-header'.
15389 (log-edit-extract-headers): Separate the summary, when extracted
15390 from header, from the rest of the message with an empty line.
15391
15392 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15393 line, if present, to the Summary header.
15394
15395 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15396
15397 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15398 in current-buffer (bug#16029).
15399
15400 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15401
15402 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15403 (debugger-mode-map): Bind it.
15404 (debugger--backtrace-base): New function.
15405 (debugger-eval-expression): Use it.
15406 (debugger-frame-number): Skip local vars when present.
15407 (debugger--locals-visible-p, debugger--insert-locals)
15408 (debugger--show-locals, debugger--hide-locals): New functions.
15409
15410 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15411
15412 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15413 "LC_ALL".
15414 (tramp-get-remote-locale): New defun.
15415 (tramp-open-connection-setup-interactive-shell): Use it.
15416
15417 2013-12-02 Leo Liu <sdl.web@gmail.com>
15418
15419 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15420
15421 * progmodes/sh-script.el (sh-shell-process):
15422 * progmodes/octave.el (inferior-octave-process-live-p):
15423 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15424 (gdb-inferior-io-sentinel):
15425 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15426
15427 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15428
15429 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15430 `save-selected-window' to `log-edit-hide-buf'. This makes
15431 `log-edit-show-files' idempotent.
15432 (log-edit-show-files): Mark the new window as dedicated.
15433
15434 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15435
15436 * vc/log-edit.el (log-edit-mode-map): Add binding for
15437 `log-edit-kill-biffer'.
15438 (log-edit-hide-buf): Add a FIXME comment.
15439 (log-edit-add-new-comment): New function, extracted from
15440 `log-edit-done'.
15441 (log-edit-done, log-edit-add-to-changelog): Use it.
15442 (log-edit-kill-buffer): New command.
15443
15444 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15445
15446 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15447 instead of killing the buffer.
15448
15449 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15450
15451 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15452
15453 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15454
15455 * net/eww.el (eww-form-checkbox-selected-symbol)
15456 (eww-form-checkbox-symbol): New customizable variable.
15457 (eww-form-checkbox, eww-toggle-checkbox):
15458 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15459
15460 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15461 (shr--get-media-pref, shr--extract-best-source): New function.
15462 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15463 no :src tag was specified.
15464
15465 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15466 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15467 Use \\` to match beginning of string instead of ^.
15468 (eww-browse-with-external-browser): Provide optional URL parameter.
15469 (eww-render): Set `eww-current-title' back to "".
15470
15471 * net/shr.el (shr-tag-video): Display content for video if no
15472 poster is available.
15473 (shr-tag-audio): Add support for <audio> tag.
15474
15475 * net/eww.el (eww-text-input-types): New const.
15476 (eww-process-text-input): Treat input types in
15477 `eww-text-input-types' as text.
15478
15479 * net/shr.el (shr-tag-table): Fix comment typo.
15480
15481 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15482
15483 * net/eww.el (eww-follow-link): New command to avoid reloading
15484 pages when we follow #target links (bug#15243).
15485 (eww-quit): Special mode buffers shouldn't query before exiting.
15486
15487 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15488
15489 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15490 forms.
15491
15492 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493
15494 * net/eww.el (eww-restore-history): Update the window title after
15495 moving in the history.
15496 (eww-current-dom): New variable used to save the current DOM.
15497
15498 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15499
15500 * vc/log-edit.el (log-edit-mode-map): Add binding for
15501 `log-edit-beginning-of-line'.
15502 (log-edit-setup-add-author): New user option.
15503 (log-edit-beginning-of-line): New command.
15504 (log-edit): Move major mode call above the contents setup so that
15505 the local variable values are already applied.
15506 (log-edit): Only insert "Author: " when
15507 `log-edit-setup-add-author' is non-nil.
15508 (log-edit): When SETUP is non-nil, position point after ": "
15509 instead of point-min.
15510
15511 2013-12-01 Glenn Morris <rgm@gnu.org>
15512
15513 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15514
15515 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15516
15517 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15518 redisplay to make sure the initial frame gets a chance to become
15519 visible. (Bug#16014)
15520
15521 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15522
15523 Support resizing frames and windows pixelwise.
15524 * cus-start.el (frame-resize-pixelwise)
15525 (window-resize-pixelwise): New entries.
15526 * emacs-lisp/debug.el (debug): Use window-total-height instead
15527 of window-total-size.
15528 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15529 * help.el (describe-bindings-internal): Use help-buffer as
15530 argument for with-help-window.
15531 (temp-buffer-max-width): New option.
15532 (resize-temp-buffer-window, help-window-setup)
15533 (with-help-window): Rewrite.
15534 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15535 dragging dividers.
15536 * window.el (frame-char-size, window-min-pixel-height)
15537 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15538 (window-min-pixel-width, window-safe-min-pixel-size)
15539 (window-combination-p, window-safe-min-size)
15540 (window-resizable-p, window--size-to-pixel)
15541 (window--pixel-to-size, window--resize-apply-p): New functions.
15542 (window-safe-min-height): Fix doc-string.
15543 (window-size, window-min-size, window--min-size-1)
15544 (window-sizable, window-sizable-p, window--min-delta-1)
15545 (window-min-delta, window--max-delta-1, window-max-delta)
15546 (window--resizable, window--resizable-p, window-resizable)
15547 (window-full-height-p, window-full-width-p, window-at-side-p)
15548 (window--in-direction-2, window-in-direction)
15549 (window--resize-reset-1, window--resize-mini-window)
15550 (window-resize, window-resize-no-error)
15551 (window--resize-child-windows-normal)
15552 (window--resize-child-windows, window--resize-siblings)
15553 (window--resize-this-window, window--resize-root-window)
15554 (window--resize-root-window-vertically)
15555 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15556 (maximize-window, minimize-window, delete-window)
15557 (quit-restore-window, window-split-min-size, split-window)
15558 (balance-windows-2, balance-windows)
15559 (balance-windows-area-adjust, balance-windows-area)
15560 (window--state-get-1, window-state-get, window--state-put-1)
15561 (window--state-put-2, window-state-put)
15562 (display-buffer-record-window, window--display-buffer):
15563 Make functions handle pixelwise sizing of windows.
15564 (display-buffer--action-function-custom-type)
15565 (display-buffer-fallback-action):
15566 Add display-buffer-in-previous-window.
15567 (display-buffer-use-some-window): Resize window to height it had
15568 before.
15569 (fit-window-to-buffer-horizontally): New option.
15570 (fit-frame-to-buffer): Describe new values.
15571 (fit-frame-to-buffer-bottom-margin): Replace with
15572 fit-frame-to-buffer-margins.
15573 (window--sanitize-margin): New function.
15574 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15575 using window-text-pixel-size.
15576
15577 2013-11-30 Glenn Morris <rgm@gnu.org>
15578
15579 * emacs-lisp/bytecomp.el (byte-compile-form):
15580 Make the `interactive-only' warning like the `obsolete' one.
15581 * comint.el (comint-run):
15582 * files.el (insert-file-literally, insert-file):
15583 * replace.el (replace-string, replace-regexp):
15584 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15585 (goto-line, insert-buffer, next-line, previous-line):
15586 Tweak `interactive-only' spec.
15587
15588 Stop keeping (most) generated cedet grammar files in the repository.
15589 * Makefile.in (semantic): New.
15590 (compile-main): Depend on semantic.
15591
15592 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15595 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15596
15597 * uniquify.el (uniquify-buffer-name-style): Change default.
15598
15599 * loadup.el: Preload "uniquify".
15600
15601 * time.el (display-time-update): Update all mode lines (bug#15999).
15602
15603 * electric.el (electric-indent-mode): Enable by default.
15604 * loadup.el: Preload "electric".
15605
15606 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15607
15608 * emacs-lisp/helpers.el (string-empty-p): New function.
15609 (string-blank-p): New function.
15610
15611 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15612
15613 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15614 (Bug#14029).
15615
15616 2013-11-29 Andreas Politz <politza@fh-trier.de>
15617 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15618 allow non-lambda lists as functions.
15619 (imenu--in-alist): Don't recurse into non-subalists.
15620 (imenu): Don't pass function itself as an argument (Bug#14029).
15621
15622 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15623
15624 * progmodes/python.el (python-mode-map): Remove binding for ":".
15625 (python-indent-electric-colon): Remove command.
15626 (python-indent-post-self-insert-function): Integrate the previous code
15627 of python-indent-electric-colon. Make it conditional on
15628 electric-indent-mode.
15629 (python-mode): Add ?: to electric-indent-chars.
15630 Move python-indent-post-self-insert-function to the end of
15631 post-self-insert-hook.
15632
15633 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15634
15635 * doc-view.el (doc-view-goto-page): Update mode-line.
15636
15637 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15638
15639 2013-11-27 Glenn Morris <rgm@gnu.org>
15640
15641 * international/charprop.el, international/uni-bidi.el:
15642 * international/uni-category.el, international/uni-combining.el:
15643 * international/uni-comment.el, international/uni-decimal.el:
15644 * international/uni-decomposition.el, international/uni-digit.el:
15645 * international/uni-lowercase.el, international/uni-mirrored.el:
15646 * international/uni-name.el, international/uni-numeric.el:
15647 * international/uni-old-name.el, international/uni-titlecase.el:
15648 * international/uni-uppercase.el:
15649 Remove generated files from VCS repository.
15650
15651 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15652
15653 * filenotify.el (file-notify-add-watch): Don't special-case
15654 w32notify when computing the directory to watch.
15655
15656 2013-11-27 Glenn Morris <rgm@gnu.org>
15657
15658 Make bootstrap without generated uni-*.el files possible again.
15659 * loadup.el: Update command-line-args checking for unidata-gen.
15660 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15661 * composite.el, international/characters.el:
15662 Handle unicode tables being undefined.
15663
15664 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15665 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15666 (compile-main): Depend on leim rule.
15667 (leim): New rule.
15668 * loadup.el: Move leim-list.el to leim/ subdirectory.
15669 * startup.el (normal-top-level): No more leim directory.
15670 * international/ja-dic-cnv.el (skkdic-convert):
15671 Disable version-control and autoloads in output files.
15672 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15673 Disable version-control and autoloads in output files.
15674 * leim/quail: Move here from ../leim.
15675 * leim/quail/hangul.el (hangul-input-method-activate):
15676 Add autoload cookie.
15677 (generated-autoload-load-name): Set file-local value.
15678 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15679 (generated-autoload-load-name): Set file-local value.
15680
15681 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15682
15683 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15684 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15685 (eww-quit): Ask confirmation before quitting eww.
15686
15687 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15688
15689 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15690 reading output from Diff on MS-Windows and MS-DOS.
15691
15692 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15693
15694 * emacs-lisp/helpers.el (string-reverse): New function.
15695
15696 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15697
15698 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15699 names on MS Windows, like "/[::1]:".
15700
15701 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15702 SWITCHES.
15703
15704 2013-11-26 Glenn Morris <rgm@gnu.org>
15705
15706 * progmodes/python.el (python-indent-guess-indent-offset):
15707 Avoid corner-case error. (Bug#15975)
15708
15709 Preload leim-list.el. (Bug#4789)
15710 * loadup.el: Load leim-list.el when found.
15711 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15712
15713 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15714
15715 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15716
15717 * emacs-lisp/helpers.el (string-join): New function.
15718
15719 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15720
15721 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15722 Mark as obsolete and replace it with a symbol property.
15723 (byte-compile-form): Use new 'interactive-only property.
15724 * comint.el, files.el, replace.el, simple.el:
15725 Apply new 'interactive-only properly.
15726
15727 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15728
15729 * window.el (display-buffer-at-bottom): Make sure that
15730 split-window-sensibly creates the new window on bottom
15731 (Bug#15961).
15732
15733 2013-11-23 David Kastrup <dak@gnu.org>
15734
15735 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15736 on the conflict markers when available.
15737 (smerge--get-marker): New function.
15738 (smerge-end-re, smerge-base-re): Add subgroup.
15739
15740 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15741
15742 * frame.el (handle-focus-in, handle-focus-out): Add missing
15743 interactive spec.
15744
15745 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15746
15747 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15748 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15749
15750 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15753 (gomoku--last-pos): New var.
15754 (gomoku--intangible-chars): New const.
15755 (gomoku--intangible): New function.
15756 (gomoku-mode): Use it. Derive from special-mode.
15757 (gomoku-move-up): Adjust line count.
15758 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15759 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15760 Simplify accordingly.
15761
15762 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15763 Remove blink-cursor code.
15764 (blink-cursor-timer-function, blink-cursor-suspend):
15765 Don't special-case GUIs.
15766 (blink-cursor-mode): Use focus-in/out-hook.
15767
15768 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15769
15770 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15771 work when annotation is invisible (Bug#13886).
15772
15773 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15774
15775 * json.el (json-alist-p): Only return non-nil if the alist has
15776 simple keys (Bug#13518).
15777
15778 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15779
15780 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15781 when control-statement is the first statement in a buffer (Bug#15956).
15782
15783 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15784
15785 * imenu.el (imenu-generic-skip-comments-and-strings):
15786 New option (Bug#15560).
15787 (imenu--generic-function): Use it.
15788
15789 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15790
15791 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15792 (Bug#13898)
15793
15794 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15795
15796 * emacs-lisp/helpers.el: Add some string helpers.
15797 (string-trim-left): Removes leading whitespace.
15798 (string-trim-right): Removes trailing whitespace.
15799 (string-trim): Removes leading and trailing whitespace.
15800
15801 * subr.el (string-suffix-p): New function.
15802
15803 2013-11-23 Glenn Morris <rgm@gnu.org>
15804
15805 * progmodes/python.el (python-shell-send-file):
15806 Add option to delete file when done. (Bug#15647)
15807 (python-shell-send-string, python-shell-send-region): Use it.
15808
15809 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15810
15811 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15812 to set buffer-read-only to t, never to nil. (Bug#15938)
15813
15814 * textmodes/tex-mode.el (latex-noindent-environments):
15815 Add safe-local-variable property. (Bug#15936)
15816
15817 2013-11-23 Glenn Morris <rgm@gnu.org>
15818
15819 * textmodes/enriched.el (enriched-mode): Doc fix.
15820 * emacs-lisp/authors.el (authors-renamed-files-alist):
15821 Add enriched.doc -> enriched.txt.
15822
15823 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15824
15825 2013-11-22 Leo Liu <sdl.web@gmail.com>
15826
15827 * progmodes/octave.el (inferior-octave-startup): Spit out error
15828 message.
15829
15830 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15831
15832 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15833 Improve docstring.
15834 Add :version.
15835 (ruby-encoding-magic-comment-style): Add :version.
15836
15837 2013-11-22 Leo Liu <sdl.web@gmail.com>
15838
15839 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15840 (Bug#15076)
15841 (octave-help-mode): Adapt to change to help-mode-finish to use
15842 derived-mode-p on 2013-09-17.
15843 (inferior-octave-prompt): Also match octave-gui.
15844 (octave-kill-process): Don't ask twice. (Bug#10564)
15845
15846 2013-11-22 Leo Liu <sdl.web@gmail.com>
15847
15848 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15849 (inferior-octave-startup, inferior-octave-check-process)
15850 (inferior-octave-track-window-width-change)
15851 (octave-completion-at-point, octave-eldoc-function): Use it.
15852 (octave-kill-process): Provide confirmation. (Bug#10564)
15853
15854 2013-11-21 Leo Liu <sdl.web@gmail.com>
15855
15856 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15857 Fix obsolete variable comment-use-global-state.
15858
15859 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15860
15861 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15862 Add `octave-source-file'.
15863 (octave-source-file): New function. (Bug#15935)
15864
15865 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15866
15867 * net/eww.el (eww-local-regex): New variable.
15868 (eww): Use it to detect localhost and similar.
15869
15870 2013-11-21 Leo Liu <sdl.web@gmail.com>
15871
15872 Add completion for command `ag'.
15873 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15874 (pcomplete/ag): New function.
15875 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15876
15877 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15878
15879 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15880 (bug#14646).
15881 (make-obsolete): Remove interactive spec.
15882
15883 2013-11-21 Glenn Morris <rgm@gnu.org>
15884
15885 * startup.el (command-line-1): Use path-separator with -L.
15886
15887 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15888
15889 * emacs-lisp/package.el (describe-package-1): Add package archive
15890 to shown fields.
15891
15892 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15893
15894 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15895 Change default to "# encoding: %s" to differentiate it from the
15896 default Ruby encoding comment template.
15897
15898 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15899
15900 * ses.el (ses-mode): Doc fix. (Bug#14748)
15901
15902 2013-11-20 Leo Liu <sdl.web@gmail.com>
15903
15904 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15905
15906 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15907
15908 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15909 when rebase or bisect are in progress.
15910
15911 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15912
15913 * filenotify.el (file-notify-add-watch): Doc fix.
15914
15915 2013-11-19 Leo Liu <sdl.web@gmail.com>
15916
15917 * obsolete/rcompile.el: Mark obsolete.
15918
15919 * progmodes/compile.el (compilation-start)
15920 (compilation-goto-locus, compilation-find-file):
15921 Pass no-display-ok and handle nil value from display-buffer.
15922 (Bug#13594)
15923
15924 * window.el (display-buffer-alist, display-buffer): Document the
15925 new parameter no-display-ok. Return either a window or nil
15926 but never a non-window value.
15927
15928 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15929
15930 * electric.el (electric-indent-mode-map): Remove.
15931 (electric-indent-mode): Change the global-map instead (bug#15915).
15932
15933 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15934 Use add-function.
15935
15936 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15937
15938 * emacs-lisp/nadvice.el (remove-function): Align with
15939 add-function's behavior.
15940
15941 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15942 (gdb--string-regexp): New constant.
15943 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15944 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15945 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15946 submatch 1.
15947 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15948 Adjust use accordingly.
15949 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15950
15951 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15952
15953 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15954 interpolation curlies (Bug#15914).
15955
15956 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15957
15958 * calc/calc.el (calc-context-sensitive-enter): New variable.
15959 (calc-enter): Use `calc-context-sensitive-enter'.
15960
15961 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15962
15963 * progmodes/cfengine.el: Version bump.
15964 (cfengine-cf-promises): New defcustom to locate cf-promises.
15965 (cfengine3-vartypes): Add new "data" type.
15966 (cfengine3--current-word): New function to get current name-like
15967 word or its bounds.
15968 (cfengine3--current-function): New function to look up a CFEngine
15969 function's definition.
15970 (cfengine3-format-function-docstring): New function.
15971 (cfengine3-make-syntax-cache): New function.
15972 (cfengine3-documentation-function): New function: ElDoc glue.
15973 (cfengine3-completion-function): New function: completion glue.
15974 (cfengine3-mode): Set `compile-command',
15975 `eldoc-documentation-function', and add to
15976 `completion-at-point-functions'.
15977
15978 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15979
15980 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15981 `tramp-current-connection'.
15982
15983 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15984
15985 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15986 nil/self/true/false with "end of symbol".
15987
15988 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15989
15990 * subr.el (version-regexp-alist): Fix a typo.
15991
15992 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15993
15994 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15995 "en_US.utf8" and "LC_CTYPE" to "".
15996 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15997 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15998
15999 2013-11-15 Leo Liu <sdl.web@gmail.com>
16000
16001 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16002
16003 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16004
16005 * progmodes/gud.el (ctl-x-map):
16006 Remove C-x SPC binding. (Bug#12342)
16007 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16008
16009 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16010
16011 * subr.el (version-regexp-alist):
16012 Recognize hg, svn and darcs versions as snapshot versions.
16013
16014 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16015 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16016 (ruby--encoding-comment-required-p): Extract from
16017 `ruby-mode-set-encoding'.
16018 (ruby-mode-set-encoding): Add the ability to always insert an
16019 utf-8 encoding comment. Fix and simplify coding comment update
16020 logic.
16021
16022 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16023
16024 * net/tramp-gvfs.el (top): Run init code only when
16025 `tramp-gvfs-enabled' is not nil.
16026 (tramp-gvfs-enabled): Check also :system bus.
16027
16028 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16029
16030 Sync with upstream verilog-mode revision 78e66ba.
16031 * progmodes/verilog-mode.el (verilog-end-of-defun)
16032 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16033 (verilog-get-end-of-defun): Remove unused argument.
16034 (verilog-comment-depth): Remove unused local `e'.
16035 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16036 Don't pass arg to verilog-get-end-of-defun.
16037
16038 2013-11-14 Glenn Morris <rgm@gnu.org>
16039
16040 * obsolete/assoc.el (aget): Prefix dynamic variable.
16041
16042 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16043
16044 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * widget.el, hfy-cmap.el: Remove bogus package version number.
16047
16048 2013-11-13 Glenn Morris <rgm@gnu.org>
16049
16050 * replace.el (replace-eval-replacement):
16051 Try to give more helpful error message. (Bug#15836)
16052
16053 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16054 (archive-7z-update): Avoid custom type mismatches.
16055
16056 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16057
16058 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16059
16060 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16061 address can be empty.
16062
16063 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16064 Accept nil SWITCHES.
16065 (tramp-gvfs-handle-write-region): Implement APPEND.
16066
16067 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16068
16069 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16070 binary "|" operator and closing block args delimiter.
16071 Remove FIXME comment referring to Ruby 1.8-only syntax.
16072 (ruby-smie--implicit-semi-p): Not after "|" operator.
16073 (ruby-smie--closing-pipe-p): New function.
16074 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16075 (ruby-smie-rules): Indent after "|".
16076
16077 2013-11-12 Glenn Morris <rgm@gnu.org>
16078
16079 * ps-print.el (ps-face-attribute-list):
16080 Handle anonymous faces. (Bug#15827)
16081
16082 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16083
16084 * window.el (display-buffer-other-frame): Fix doc-string.
16085 (Bug#15868)
16086
16087 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16090
16091 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16092
16093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16094 (tramp-sh-handle-file-local-copy): Don't write a message when
16095 saving temporary files.
16096
16097 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16098 both directories are remote.
16099 (tramp-smb-handle-directory-files): Do not return double entries.
16100 Do not expand full file names.
16101 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16102 (tramp-smb-handle-write-region): Implement APPEND.
16103 (tramp-smb-get-stat-capability): Fix a stupid bug.
16104
16105 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16106
16107 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16108
16109 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16110
16111 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16112 throwing error over malformed let/let* (bug#15814).
16113
16114 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * iswitchb.el (iswitchb-mode): Mark obsolete.
16117
16118 2013-11-11 Glenn Morris <rgm@gnu.org>
16119
16120 * international/uni-bidi.el, international/uni-category.el:
16121 * international/uni-name.el, international/uni-numeric.el:
16122 Regenerate for Unicode 6.3.0.
16123
16124 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16125
16126 * net/tramp.el (tramp-methods):
16127 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16128 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16129
16130 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16131
16132 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16133 Force highlighting text after Summary keyword in doc face for rpm.
16134
16135 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16136
16137 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16138 available and the word has no wildcards, append one to the grep pattern.
16139 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16140 (ispell-complete-word): Call `ispell-lookup-words' with the value
16141 independent of `ispell-look-p'.
16142
16143 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16144
16145 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16146 Not after "||".
16147 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16148 their parent.
16149
16150 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16151
16152 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16153 (ruby-font-lock-keywords): Use backquote.
16154
16155 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16156
16157 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16158 (ruby-smie--backward-token): Only consider full-string matches.
16159
16160 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16161
16162 * faces.el (describe-face): Add distant-foreground.
16163
16164 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16165
16166 * progmodes/ruby-mode.el: Improve encoding comment handling.
16167 (ruby-encoding-magic-comment-style): New option.
16168 (ruby-custom-encoding-magic-comment-template): New option.
16169 (ruby--insert-coding-comment, ruby--detect-encoding):
16170 New functions extracted from `ruby-mode-set-encoding'.
16171 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16172 to control the style of the auto-inserted encoding comment.
16173
16174 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16175
16176 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16177 Use `smie-backward-sexp' with token argument.
16178
16179 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16180
16181 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16182 Remove instrumentation code.
16183
16184 2013-11-08 Glenn Morris <rgm@gnu.org>
16185
16186 * progmodes/autoconf.el (autoconf-mode):
16187 Tweak comment-start-skip. (Bug#15822)
16188
16189 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16190
16191 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16192 at bobp (bug#15826).
16193 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16194
16195 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16196
16197 * man.el (Man-start-calling): New macro, extracted from
16198 Man-getpage-in-background.
16199 (Man-getpage-in-background): Use it.
16200 (Man-update-manpage): New command.
16201 (Man-mode-map): Bind it.
16202
16203 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16204
16205 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16206 of "and", "or", "&&" and "||".
16207 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16208 argument. Prohibit opening curly brace because it could only be a
16209 block opener in that position.
16210 (ruby-smie--forward-token, ruby-smie--backward-token):
16211 Separate "|" from "&" or "*" going after it. That can happen in block
16212 arguments.
16213 (ruby-smie--indent-to-stmt): New function, seeks the end of
16214 previous statement or beginning of buffer.
16215 (ruby-smie-rules): Use it.
16216 (ruby-smie-rules): Check if there's a ":" before a curly block
16217 opener candidate; if there is, it's a hash.
16218
16219 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16220
16221 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16222 (cl--block-wrapper): Fix last accidental change.
16223
16224 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16225
16226 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16227 Instrument, in order to hunt failure on hydra.
16228
16229 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16230
16231 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16232 malformed bindings form (bug#15814).
16233
16234 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16235
16236 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16237 "." compared to " @ ". This incidentally fixes some indentation
16238 examples with "do".
16239 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16240 (ruby-smie-grammar): New tokens: "and" and "or".
16241 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16242 Exclude "and" and "or". Remove "do" in order to work around token
16243 priorities.
16244 (ruby-smie-rules): Add all infix tokens. Handle the case of
16245 beginning-of-buffer.
16246
16247 2013-11-06 Glenn Morris <rgm@gnu.org>
16248
16249 * Makefile.in (setwins_almost, setwins_for_subdirs):
16250 Avoid accidental matches.
16251
16252 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * menu-bar.el (popup-menu): Use key-binding.
16255
16256 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16257
16258 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16259 menus, support also the menus produced by minor modes.
16260 (Bug#15817)
16261
16262 2013-11-06 Leo Liu <sdl.web@gmail.com>
16263
16264 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16265 DISTANCE to bound the search. All uses changed. (Bug#15808)
16266
16267 2013-11-06 Glenn Morris <rgm@gnu.org>
16268
16269 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16270 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16271 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16272
16273 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * electric.el (electric-indent-just-newline): New command.
16276 (electric-indent-mode-map): New keymap.
16277 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16278 Re-add :group which weren't redundant.
16279
16280 * electric.el (electric-indent-local-mode): New minor mode.
16281 (electric-indent-functions-without-reindent): New var.
16282 (electric-indent-post-self-insert-function): Use it.
16283 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16284
16285 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16286
16287 * international/quail.el (quail-help): Be more explicit about the
16288 meaning of the labels shown on the keys. (Bug#15800)
16289
16290 * startup.el (normal-top-level): Load the subdirs.el files before
16291 setting the locale environment. (Bug#15805)
16292
16293 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16294
16295 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16296 via arguments so as to get the right ones (bug#15418).
16297
16298 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16299
16300 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16301
16302 Fix problems found while writing a test suite.
16303
16304 * net/tramp-compat.el (tramp-compat-load): New defun.
16305 * net/tramp.el (tramp-handle-load): Use it.
16306
16307 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16308 "(numberp ok-if-already-exists)" correctly.
16309
16310 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16311
16312 * international/characters.el (glyphless-char-display-control):
16313 Add usage note.
16314
16315 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16316
16317 * progmodes/python.el (python-mode):
16318 * progmodes/scheme.el (scheme-mode):
16319 * progmodes/prolog.el (prolog-mode):
16320 * progmodes/ruby-mode.el (ruby-mode):
16321 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16322 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16323
16324 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16325
16326 * rect.el (rectangle--highlight-for-redisplay):
16327 * emacs-lisp/smie.el (smie--next-indent-change):
16328 Use buffer-chars-modified-tick.
16329
16330 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16331
16332 * electric.el (electric-indent-post-self-insert-function):
16333 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16334
16335 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16336
16337 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16338
16339 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16340
16341 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16342 (bug#15786).
16343
16344 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16345
16346 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16347
16348 * progmodes/python.el: Fix up last change.
16349 (python-shell--save-temp-file): New function.
16350 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16351 `string' comes from the current buffer.
16352 (python-shell-send-string-no-output): Remove `msg' arg.
16353 (python--use-fake-loc): New var.
16354 (python-shell-buffer-substring): Obey it. Try to compensate for the
16355 extra coding line added by python-shell--save-temp-file.
16356 (python-shell-send-region): Use python-shell--save-temp-file and
16357 python-shell-send-file directly. Add `nomain' argument.
16358 (python-shell-send-buffer): Use python-shell-send-region.
16359 (python-electric-pair-string-delimiter): New function.
16360 (python-mode): Use it.
16361
16362 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16363
16364 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16365 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16366 environment and decoding all of the default-directory's to here
16367 from command-line.
16368 (command-line): Decode also argv[0].
16369
16370 * loadup.el: Error out if default-directory is a multibyte string
16371 when we are dumping.
16372
16373 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16374
16375 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16376
16377 * emacs-lisp/package.el (package-menu-mode)
16378 (package-menu--print-info, package-menu--archive-predicate):
16379 Add Archive column to package list.
16380
16381 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16382
16383 Fix problems found while writing a test suite.
16384
16385 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16386 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16387 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16388 to nil when running original file name handler. Otherwise,
16389 there are problems with constructs like "$$FOO".
16390
16391 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16392 for `localname'.
16393
16394 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16395
16396 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16397
16398 * subr.el (version<, version<=, version=):
16399 Update docstrings with information for snapshot versions.
16400
16401 * helpers.el: New library for misc helper functions.
16402 (hash-table-keys): New function returning a list of hash keys.
16403 (hash-table-values): New function returning a list of hash values.
16404
16405 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16406
16407 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16408 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16409
16410 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16411
16412 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16413 checking whether point is after a 1-letter word.
16414
16415 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16416
16417 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16418 Don't infloop when expanding region over `multiline' syntax-type that
16419 begins a line (bug#15778).
16420
16421 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16422
16423 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16424 Make it into a proper minor mode.
16425 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16426 (rectangle-mark-mode-map): New keymap.
16427 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16428
16429 2013-11-04 Glenn Morris <rgm@gnu.org>
16430
16431 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16432
16433 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16434
16435 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16436 (ruby-smie-rules): Use smie-rule-parent instead.
16437
16438 * emacs-lisp/smie.el (smie-rule-parent): Always call
16439 smie-indent-virtual rather than only for hanging tokens.
16440 (smie--next-indent-change): New helper command.
16441
16442 2013-11-03 Glenn Morris <rgm@gnu.org>
16443
16444 * Makefile.in (abs_srcdir): Remove.
16445 (emacs): Unset EMACSLOADPATH.
16446
16447 2013-11-02 Glenn Morris <rgm@gnu.org>
16448
16449 * Makefile.in (EMACS): Use a relative filename.
16450 (abs_top_builddir): Remove.
16451 (custom-deps, finder-data, autoloads): Use --chdir.
16452
16453 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16454
16455 Use relative filenames in TAGS files.
16456 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16457 (lisptagsfiles4, TAGS): Use relative file names.
16458 (TAGS-LISP): Remove.
16459 (maintainer-clean): No more TAGS-LISP file.
16460
16461 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16462 (lisptagsfiles4): Use absolute filenames again.
16463 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16464 Remove all *loaddefs files, not just the first. Remove esh-groups.
16465 (maintainer-clean): Delete TAGS, TAGS-LISP.
16466
16467 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16468
16469 * emacs-lisp/package.el (package-version-join):
16470 Recognize snapshot versions.
16471
16472 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16473
16474 * subr.el (version-regexp-alist): Add support for snapshot versions.
16475
16476 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16477
16478 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16479 New function, replacement for `smie-rule-parent' for when we want to
16480 skip over our direct parent if it's an assignment token..
16481 (ruby-smie-rules): Use it.
16482
16483 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16484
16485 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16486 unconditionally. Remove now unnecessary forward declarations.
16487 Remove XEmacs-specific setup.
16488 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16489 (ruby-font-lock-syntactic-keywords)
16490 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16491 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16492 (ruby-here-doc-end-syntax): Remove.
16493 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16494 defined as function.
16495
16496 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16497
16498 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16499
16500 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16501
16502 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16503 table and abbrev table, `define-derived-mode' does that for us
16504 anyway.
16505
16506 2013-11-01 Glenn Morris <rgm@gnu.org>
16507
16508 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16509 files is atomic for some time, so no parallel compilation issues).
16510
16511 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16512
16513 * faces.el (face-x-resources): Add :distant-foreground.
16514 (region): Use :distant-foreground for gtk and ns.
16515
16516 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16517
16518 Allow multiple bibliographies when BibLaTeX is used rather than
16519 BibTeX.
16520 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16521 (reftex-locate-bibliography-files): Us it.
16522
16523 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16524
16525 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16526 allow comments in pbm files.
16527
16528 * term/w32-win.el (dynamic-library-alist): Support newer versions
16529 of libjpeg starting with v7: look only for the DLL from the
16530 version against which Emacs was built.
16531 Support versions of libpng beyond 1.4.x.
16532 Support libtiff v4.x.
16533
16534 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16535
16536 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16537 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16538 Add property :safe.
16539 (ruby-deep-arglist): Add property :type.
16540
16541 2013-10-31 Glenn Morris <rgm@gnu.org>
16542
16543 * Makefile.in (custom-deps, finder-data): No need to setq the target
16544 variables, we are in the right directory and the defaults work fine.
16545
16546 2013-10-30 Glenn Morris <rgm@gnu.org>
16547
16548 * Makefile.in (autoloads): Do not use abs_lisp.
16549
16550 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16551 `newline' does not respect `standard-output', so use `princ'.
16552
16553 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16554
16555 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16556 * buff-menu.el (Buffer-menu--unmark): New function.
16557 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16558
16559 2013-10-30 Glenn Morris <rgm@gnu.org>
16560
16561 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16562
16563 * emacs-lisp/package.el (lm-homepage): Declare.
16564
16565 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16566 Fix doc typos.
16567
16568 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16569
16570 * Makefile.in (finder-data, autoloads, update-subdirs)
16571 (compile-main, compile-clean, compile-always, bootstrap-clean):
16572 Check return value of cd.
16573 (compile-calc): Remove.
16574
16575 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16576
16577 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16578
16579 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16580 (byte-compile-and-folded): New function.
16581 (=, <, >, <=, >=): Use it.
16582
16583 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16584 (path-separator, null-device, buffer-file-coding-system)
16585 (lpr-headers-switches): Check system-type before modifying them.
16586 (find-buffer-file-type-coding-system): Mark obsolete.
16587 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16588 find-file-not-found-set-buffer-file-coding-system.
16589 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16590 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16591 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16592 (w32-direct-print-region-helper, w32-direct-print-region-function)
16593 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16594 * startup.el (normal-top-level-add-subdirs-to-load-path):
16595 * ps-print.el (ps-print-region-function):
16596 * lpr.el (print-region-function): Use new name.
16597
16598 * subr.el (custom-declare-variable-early): Remove function.
16599 (custom-declare-variable-list): Remove var.
16600 (error, user-error): Remove `while' loop.
16601 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16602 (user-emacs-directory-warning, locate-user-emacs-file):
16603 Move to files.el.
16604 * simple.el (read-quoted-char-radix, read-quoted-char):
16605 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16606 Move from subr.el.
16607 * custom.el (custom-declare-variable-list): Don't process
16608 custom-declare-variable-list.
16609
16610 * progmodes/python.el (python-shell-get-buffer): New function.
16611 (python-shell-get-process): Use it.
16612 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16613 Python which encoding was used. Don't split-string since we only care
16614 about the first line. Return the temp-file, if applicable.
16615 (python-shell-send-region): Tell compile.el how to turn locations in
16616 the temp-file into locations in the source buffer.
16617
16618 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16619
16620 * subr.el (undefined): Add missing behavior from the C code for
16621 unbound keys.
16622
16623 * rect.el: Use lexical-binding. Add new rectangular region support.
16624 (rectangle-mark): New command.
16625 (rectangle--region): New var.
16626 (deactivate-mark-hook): Reset rectangle--region.
16627 (rectangle--extract-region, rectangle--insert-for-yank)
16628 (rectangle--highlight-for-redisplay)
16629 (rectangle--unhighlight-for-redisplay): New functions.
16630 (region-extract-function, redisplay-unhighlight-region-function)
16631 (redisplay-highlight-region-function): Use them to handle
16632 rectangular region.
16633 * simple.el (region-extract-function): New var.
16634 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16635 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16636 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16637 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16638 (redisplay-unhighlight-region-function)
16639 (redisplay-highlight-region-function): New vars.
16640 (redisplay--update-region-highlight): New function.
16641 (pre-redisplay-function): Use it.
16642 (exchange-point-and-mark): Don't deactivate the mark before
16643 reactivate-it anyway.
16644 * comint.el (comint-kill-region): Remove yank-handler argument.
16645 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16646 (delete-char): Remove property, since it's now part of their
16647 default behavior.
16648 (self-insert-iso): Remove property since this command doesn't exist.
16649
16650 * emacs-lisp/package.el (package--download-one-archive)
16651 (describe-package-1): Don't query the user about final newline.
16652
16653 2013-10-29 Daniel Colascione <dancol@dancol.org>
16654
16655 * net/tramp.el (tramp-methods): Document new functionality.
16656 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16657 tramp-hostname-checker if method provides one instead of scanning
16658 argument list for "%h" to decide hostname acceptability.
16659
16660 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16661
16662 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16663 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16664 Handle COPY-CONTENTS. (Bug#15737)
16665
16666 2013-10-28 Daiki Ueno <ueno@gnu.org>
16667
16668 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16669 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16670
16671 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16672
16673 * image.el (defimage, image-load-path): Doc fixes.
16674
16675 2013-10-27 Alan Mackenzie <acm@muc.de>
16676
16677 Indent statements in macros following "##" correctly.
16678 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16679 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16680
16681 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16682
16683 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16684
16685 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16686
16687 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16688 after `=' is probably a new expression.
16689
16690 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16691
16692 * man.el (man-imenu-title): New option.
16693 (Man-mode-map): Add menu. (Bug#15722)
16694 (Man-mode): Add imenu to menu.
16695
16696 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16697
16698 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16699 specific in what the first arg can be: a non-keyword word,
16700 string/regexp/percent literal opener, opening paren, or unary
16701 operator followed directly by word.
16702
16703 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16704
16705 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16706 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16707 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16708 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16709 Remove vars, they do not apply any more.
16710 (prolog-mode-abbrev-table): Remove redundant declaration.
16711 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16712 (prolog-use-smie): Remove.
16713 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16714 supported by prolog-electric-if-then-else-flag.
16715 (prolog-mode-variables, prolog-menu): Use setq-local.
16716 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16717 Remove binding to `Backspace' since this key doesn't exist anyway.
16718 Remove bindings for electric self-inserting keys.
16719 (prog-mode): Assume it's defined.
16720 (prolog-post-self-insert): New function.
16721 (prolog-mode): Use it.
16722 (prolog-indent-line, prolog-indent-level)
16723 (prolog-find-indent-of-matching-paren)
16724 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16725 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16726 (prolog-goto-next-paren, prolog-in-string-or-comment)
16727 (prolog-tokenize, prolog-inside-mline-comment)
16728 (prolog-find-start-of-mline-comment): Remove functions.
16729 (prolog-find-unmatched-paren, prolog-clause-end)
16730 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16731 (prolog-electric--if-then-else): Rename from
16732 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16733 (prolog-tokenize-searchkey): Remove const.
16734 (prolog-clause-info): Use forward-sexp.
16735 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16736 (prolog-electric-if-then-else): Remove commands.
16737 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16738 for use in post-self-insert-hook.
16739 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16740 for use in post-self-insert-hook.
16741 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16742 for use in post-self-insert-hook.
16743 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16744 adapt it for use in post-self-insert-hook.
16745
16746 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16747
16748 * emacs-lisp/ert.el (ert-run-tests-interactively):
16749 Use `completing-read'. (Bug#9756)
16750
16751 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16752
16753 * simple.el (line-move): Call line-move-1 instead of
16754 line-move-visual when the current window hscroll is zero, but
16755 temporary-goal-column indicates we will need to hscroll as result
16756 of the movement. (Bug#15712)
16757
16758 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16759
16760 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16761 capitalization. Use :visible instead of :active.
16762 Fix `ruby-indent-exp' reference. Add menu items for the generic
16763 commands that are used with SMIE.
16764 (ruby-do-end-to-brace): Insert space after `{'.
16765
16766 2013-10-25 John Anthony <john@jo.hnanthony.com>
16767
16768 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16769
16770 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16771
16772 2013-10-25 Glenn Morris <rgm@gnu.org>
16773
16774 * vc/vc.el (vc-print-log): Don't use a working revision unless
16775 one was explicitly specified. (Bug#15322)
16776
16777 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16778
16779 * subr.el (add-to-list): Preserve return value in compiler-macro
16780 (bug#15692).
16781
16782 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16783
16784 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16785 result. Ask user to retry using '-all' flag. (Bug#15701)
16786
16787 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16788
16789 * emacs-lisp/smie.el: New smie-config system.
16790 (smie-config): New defcustom.
16791 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16792 (smie-config-guess, smie-config-save): New commands.
16793 (smie-config--mode-local, smie-config--buffer-local)
16794 (smie-config--trace, smie-config--modefuns): New vars.
16795 (smie-config--advice, smie-config--mode-hook)
16796 (smie-config--setter, smie-config-local, smie-config--get-trace)
16797 (smie-config--guess-value, smie-config--guess): New functions.
16798 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16799 text properties. Treat "string fence" syntax like string syntax.
16800
16801 * progmodes/sh-script.el (sh-use-smie): Change default.
16802 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16803 (sh-var-value): Simplify by CSE.
16804 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16805 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16806 is used.
16807 (sh-guess-basic-offset): Use cl-incf.
16808 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16809
16810 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16811
16812 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16813 (bug#15699).
16814
16815 2013-10-24 Glenn Morris <rgm@gnu.org>
16816
16817 * Makefile.in (abs_top_srcdir): Remove.
16818 (update-subdirs): Use relative path to update-subdirs.
16819
16820 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16821
16822 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16823 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16824 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16825 Call unmsys--file-name before expand-file-name, not after it.
16826
16827 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16828
16829 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16830 (ert-test-skipped): New error.
16831 (ert-skip, ert-stats-skipped): New defuns.
16832 (ert--skip-unless): New macro.
16833 (ert-test-skipped): New struct.
16834 (ert--run-test-debugger, ert-test-result-type-p)
16835 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16836 (ert--stats-set-test-and-result, ert-char-for-test-result)
16837 (ert-string-for-test-result, ert-run-tests-batch)
16838 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16839 Handle skipped tests. (Bug#9803)
16840
16841 2013-10-24 Glenn Morris <rgm@gnu.org>
16842
16843 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16844
16845 * Makefile.in (abs_top_srcdir): New, set by configure.
16846 (update-subdirs): Correct build-aux location.
16847
16848 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16849
16850 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16851 value, whether we could auto-deduce `backend', or not.
16852
16853 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16854 with parameters" example. Simplify the "is it block or is it
16855 hash" check, but also make it more thorough.
16856
16857 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16858
16859 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16860
16861 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16862
16863 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16864 { if it is hanging.
16865
16866 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16867 :before ";".
16868
16869 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16870
16871 * progmodes/compile.el (compilation-directory-matcher)
16872 (compilation-page-delimiter):
16873 Support GNU Make-4.0 directory quoting. (Bug#15678)
16874
16875 2013-10-23 Leo Liu <sdl.web@gmail.com>
16876
16877 * ido.el (ido-tidy): Handle read-only text.
16878
16879 2013-10-23 Glenn Morris <rgm@gnu.org>
16880
16881 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16882 (emacs, compile, compile-always):
16883 Quote entities that might contain whitespace.
16884 (custom-deps, finder-data, autoloads): Use abs_lisp.
16885 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16886 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16887 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16888
16889 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16890
16891 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16892 Use `following-char'.
16893
16894 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16895
16896 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16897 * progmodes/ruby-mode.el (ruby-smie-rules):
16898 Remove corresponding workaround. Fix indentation rule of ";" so it
16899 also applies when ";" is the parent.
16900
16901 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16902
16903 * frame.el (display-screens, display-pixel-height)
16904 (display-pixel-width, display-mm-width, display-backing-store)
16905 (display-save-under, display-planes, display-color-cells)
16906 (display-visual-class, display-monitor-attributes-list):
16907 Mention the optional ‘display’ argument in doc strings.
16908
16909 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16910
16911 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16912 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16913
16914 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16915
16916 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16917 TODO. Add "." after " @ ".
16918 (ruby-smie--at-dot-call): New function. Checks if point at method
16919 call with explicit target.
16920 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16921 to the method name tokens when it precedes them.
16922 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16923 (ruby-smie-rules): Add rule for indentation before and after "."
16924 token.
16925
16926 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16927
16928 * textmodes/remember.el (remember-diary-extract-entries):
16929 Avoid add-to-list.
16930
16931 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16932 an instruction.
16933
16934 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16935
16936 * progmodes/ruby-mode.el (ruby-smie-grammar):
16937 Add (almost) all infix operators.
16938 (ruby-smie--implicit-semi-p): Add new operator chars.
16939
16940 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16941 `smie-down-list'.
16942 (ruby-smie--args-separator-p): Check that there's no newline
16943 between method call and its arguments.
16944
16945 2013-10-20 Alan Mackenzie <acm@muc.de>
16946
16947 Allow comma separated lists after Java "implements".
16948
16949 * progmodes/cc-engine.el (c-backward-over-enum-header):
16950 Parse commas.
16951 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16952 from a "disallowed" list in enum fontification.
16953
16954 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16955
16956 * startup.el (default-frame-background-mode): Remove unused defvar.
16957
16958 * progmodes/verilog-mode.el (verilog-mode): Don't set
16959 comment-indent-function globally.
16960
16961 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16962
16963 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16964 Move Info menu item creation to ns-win.el.
16965
16966 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16967 in menu bar.
16968
16969 * menu-bar.el: Move GNUstep specific menus...
16970
16971 * term/ns-win.el (ns-initialize-window-system): ... to here.
16972
16973 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16974
16975 * simple.el (newline): Only run post-self-insert-hook when
16976 called interactively.
16977
16978 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16979
16980 * icomplete.el (icomplete-with-completion-tables): Add :version.
16981
16982 2013-10-19 Alan Mackenzie <acm@muc.de>
16983
16984 Fix fontification bugs with constructors and const.
16985
16986 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16987 CASE 2) Remove the check for the absence of a suffix construct
16988 after a function declaration with only types (no identifiers) in
16989 the parentheses. Also, accept a function declaration with just a
16990 type inside the parentheses, if this type can be positively
16991 recognised as such, or if a prefix keyword like "explicit" nails
16992 down the construct as a declaration.
16993
16994 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16995
16996 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16997 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16998 the problem whereby selecting a menu item that leads to a
16999 minibuffer prompt moves the cursor out of the minibuffer window,
17000 making it hard to type at the prompt. Suggested by Stefan Monnier
17001 <monnier@iro.umontreal.ca>.
17002
17003 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17004
17005 * menu-bar.el: Don't make Services menu.
17006
17007 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17008
17009 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17010 (ffap-alist): Use ffap-c++-mode for c++-mode.
17011 (ffap-c++-path): New variable.
17012 (ffap-c++-mode): New function.
17013
17014 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17015
17016 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17017
17018 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17019
17020 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17021 introduced on 2013-09-08, which results in an infinite loop
17022 requesting a password.
17023
17024 2013-10-18 Glenn Morris <rgm@gnu.org>
17025
17026 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17027
17028 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17029
17030 Sync with upstream verilog-mode revision 1a6ecec7.
17031 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17032 (verilog-mode-release-date): Remove.
17033 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17034 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17035 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17036 (verilog-auto-tieoff-ignore-regexp)
17037 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17038 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17039 (verilog-signals-with, verilog-dir-cache-preserving)
17040 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17041 Doc fixes.
17042 (verilog-case-fold): New option, to control case folding in
17043 regexp searches, bug597.
17044 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17045 (verilog-string-match-fold, verilog-in-paren-count)
17046 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17047 (verilog-at-close-struct-p): New functions.
17048 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17049 (verilog-forward-sexp, verilog-set-auto-endcomments)
17050 (verilog-leap-to-case-head): Handle "unique0" case.
17051 (verilog-in-constraint-re): New constant.
17052 (verilog-keywords, verilog-type-font-keywords):
17053 Add some SystemVerilog 1800-2012 keywords.
17054 (verilog-label-be): Remove unimplemented argument, bug669.
17055 (verilog-batch-execute-func): When batch expanding clear
17056 create-lockfiles to prevent spurious user locks when a file ends
17057 up not changing.
17058 (verilog-calculate-indent, verilog-calc-1)
17059 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17060 (verilog-do-indent): Fix indentation of nested constraints
17061 and structures.
17062 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17063 (verilog-auto-inst-param): Use verilog-string-match-fold.
17064 (verilog-read-inst-module-matcher):
17065 Fix AUTOINST on gate primitives with #1.
17066 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17067 Reads all user-defined typed variables.
17068 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17069 (verilog-signals-matching-regexp)
17070 (verilog-signals-not-matching-regexp, verilog-auto):
17071 Respect verilog-case-fold.
17072 (verilog-diff-report): Fix line count.
17073 (verilog-auto-assign-modport): Remove unused local `modi'.
17074 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17075 better handle multidimensional arrays.
17076 Fix packed array ports misadding bit index in AUTOINST, bug637.
17077 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17078 to not double-declare existing outputs and inputs, respectively.
17079 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17080 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17081 (verilog-sk-uvm-component): New skeleton.
17082 (verilog-submit-bug-report): Add verilog-case-fold,
17083 remove verilog-mode-release-date.
17084
17085 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17086
17087 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17088 as before.
17089
17090 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17091
17092 * textmodes/remember.el (remember): Set buffer-offer-save in
17093 remember buffers (bug#13566).
17094
17095 2013-10-18 Daniel Colascione <dancol@dancol.org>
17096
17097 When evaluating forms in ielm, direct standard output to ielm
17098 buffer. Add new ielm-return-for-effect command. Remove trailing
17099 whitespace throughout.
17100
17101 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17102 (ielm-return-for-effect): New command.
17103 (ielm-send-input): Accept optional `for-effect' parameter.
17104 (ielm-eval-input): Accept optional `for-effect' parameter.
17105 Bind `standard-output' to stream we create using
17106 `ielm-standard-output-impl'. Suppress printing result when
17107 `for-effect'.
17108 (ielm-standard-output-impl): New function.
17109 (inferior-emacs-lisp-mode): Explain new features in documentation.
17110
17111 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17112
17113 Code cleanup.
17114
17115 * net/tramp.el (tramp-debug-message): Do not check for connection
17116 buffer.
17117 (tramp-message): Use "vector" connection property.
17118
17119 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17120 (tramp-equal-remote, tramp-eshell-directory-change)
17121 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17122 (tramp-adb-handle-rename-file)
17123 * net/tramp-cmds.el (tramp-list-remote-buffers)
17124 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17125 * net/tramp-compat.el (tramp-compat-process-running-p)
17126 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17127 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17128 (tramp-gvfs-handle-rename-file)
17129 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17130 (tramp-set-file-uid-gid)
17131 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17132 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17133 of `file-remote-p'.
17134
17135 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17136 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17137 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17138 (tramp-gw-open-network-stream): Suppress unrelated traces.
17139
17140 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17141 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17142 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17143 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17144 connection property.
17145
17146 * net/tramp-cache.el (top): Suppress traces when reading
17147 persistency file.
17148
17149 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17150 Refactor common code. Improve debug message.
17151 (tramp-maybe-open-connection)
17152 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17153 connection buffer too early.
17154
17155 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17156 from `tramp-smb-actions-with-acl'.
17157 (tramp-smb-actions-set-acl): New defconst.
17158 (tramp-smb-handle-copy-directory)
17159 (tramp-smb-action-get-acl): New defun, renamed from
17160 `tramp-smb-action-with-acl'.
17161 (tramp-smb-action-set-acl): New defun.
17162 (tramp-smb-handle-set-file-acl): Rewrite.
17163
17164 2013-10-17 Glenn Morris <rgm@gnu.org>
17165
17166 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17167
17168 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17169
17170 * skeleton.el (skeleton-newline): Remove.
17171 (skeleton-internal-1): Use (insert "\n") instead.
17172
17173 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17174 let-bindings.
17175
17176 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17177 forward-sexp-function while we redo its job (bug#15613).
17178
17179 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17180
17181 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17182 represented by lists.
17183
17184 2013-10-16 Glenn Morris <rgm@gnu.org>
17185
17186 * tmm.el (tmm--history): New dynamic variable.
17187 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17188
17189 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17190
17191 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17192 (tramp-smb-errors): Add error messages.
17193 (tramp-smb-actions-with-acl): New defconst.
17194 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17195 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17196 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17197 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17198 (tramp-smb-get-stat-capability): Fix tests.
17199
17200 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17201
17202 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17203 (bug#15580).
17204
17205 2013-10-16 Glenn Morris <rgm@gnu.org>
17206
17207 * ansi-color.el (ansi-color-drop-regexp):
17208 Add 1J, 1K, 2K. (Bug#15617)
17209
17210 * files.el (hack-local-variables--warned-lexical): New.
17211 (hack-local-variables):
17212 Warn about misplaced lexical-binding. (Bug#15616)
17213
17214 * net/eww.el (eww-render): Always set eww-current-url,
17215 and update header line. (Bug#15622)
17216 (eww-display-html): ... Rather than just doing it here.
17217
17218 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17219
17220 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17221 menu navigations commands.
17222
17223 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17224
17225 * progmodes/subword.el (subword-capitalize): Be careful when
17226 the search for [[:alpha:]] fails (bug#15580).
17227
17228 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17229
17230 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17231 to commands that scroll the menu.
17232
17233 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17234
17235 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17236 Handle methods ending with `?' and `!'.
17237
17238 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17239
17240 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17241 `japanese-cp932' to `cp932' to fix the problem where saving a
17242 source file written in Shift_JIS twice would end up having
17243 `coding: japanese-cp932' which Ruby could not recognize.
17244 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17245 in `ruby-encoding-map'.
17246 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17247 doesn't need to be explicitly declared in magic comment.
17248 (ruby-encoding-map): Add type declaration for better customize UI.
17249
17250 2013-10-13 Glenn Morris <rgm@gnu.org>
17251
17252 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17253 Occur buffers are read-only. http://bugs.debian.org/720775
17254
17255 * emacs-lisp/authors.el (authors-fixed-entries):
17256 Comment out old alpha stuff.
17257
17258 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17259
17260 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17261 to `after-save-hook' instead of `before-save-hook'.
17262 (ruby-mode-set-encoding): Use the value of coding system used to
17263 write the file. Call `basic-save-buffer-1' after modifying the
17264 buffer.
17265
17266 2013-10-13 Alan Mackenzie <acm@muc.de>
17267
17268 Fix indentation/fontification of Java enum with
17269 "implements"/generic.
17270
17271 * progmodes/cc-engine.el (c-backward-over-enum-header):
17272 Extracted from the three other places and enhanced to handle generics.
17273 (c-inside-bracelist-p): Uses new function above.
17274 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17275 function above.
17276 (c-font-lock-enum-tail): Uses new function above.
17277
17278 2013-10-13 Kenichi Handa <handa@gnu.org>
17279
17280 * international/mule-cmds.el (select-safe-coding-system): Remove a
17281 superfluous condition in chekcing whether a coding system is safe
17282 or not.
17283
17284 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17285
17286 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17287
17288 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17289
17290 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17291
17292 2013-10-13 Glenn Morris <rgm@gnu.org>
17293
17294 * menu-bar.el (menu-bar-update-buffers):
17295 Unify Buffers menu prompt string. (Bug#15576)
17296
17297 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17298
17299 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17300 Add some entries.
17301 (authors-fixed-entries): Use accented form of name.
17302
17303 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17304
17305 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17306 method calls (bug#15594).
17307 (ruby-smie--args-separator-p): New function.
17308 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17309 recognize paren-free method calls.
17310
17311 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17312 internals of universal-argument.
17313
17314 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17315
17316 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17317 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17318 dropped menu on second mouse click on the menu bar.
17319
17320 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17321
17322 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17323 (explicit-shell-file-name): Declare.
17324 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17325 (sh-completion-at-point-function): New function.
17326 (sh-mode): Use it.
17327 (sh-smie--keyword-p): Remove unused argument.
17328 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17329 vars.
17330 (sh-set-shell): Always setup SMIE, even if we use the
17331 old indentation code.
17332
17333 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17334
17335 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17336 cases of ? and =.
17337 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17338 predicate would return nil are almost non-existent.
17339 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17340
17341 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17342 cache also after commands that modify the buffer but don't move
17343 point.
17344
17345 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17346
17347 * env.el (substitute-env-in-file-name): New function.
17348 (substitute-env-vars): Extend the meaning of the optional arg.
17349
17350 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17351
17352 * term/w32-win.el (dynamic-library-alist): Define separate lists
17353 of GIF DLLs for versions before and after 5.0.0 of giflib.
17354 (Bug#15531)
17355
17356 2013-10-10 João Távora <joaotavora@gmail.com>
17357
17358 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17359 not locked, use last revision and current source as
17360 defaults. (Bug#15569)
17361
17362 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17363
17364 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17365 menu-bar is hidden.
17366
17367 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17368
17369 * window.el (pop-to-buffer-same-window): Fix doc-string.
17370 (Bug#15492)
17371
17372 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17373
17374 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17375
17376 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17377
17378 * calendar/icalendar.el (icalendar-import-file):
17379 Fix interactive spec. (Bug#15482)
17380
17381 2013-10-10 Glenn Morris <rgm@gnu.org>
17382
17383 * desktop.el (desktop-save): Default to saving in .emacs.d,
17384 since PWD is no longer in desktop-path by default. (Bug#15319)
17385
17386 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17387 now that text mode has a menu with the same entry.
17388 (menu-bar-text-mode-auto-fill): Remove now unused func.
17389 * textmodes/text-mode.el (text-mode-map):
17390 Use auto-fill help text from menu-bar.el.
17391
17392 2013-10-10 John Anthony <john@jo.hnanthony.com>
17393
17394 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17395
17396 2013-10-09 Juri Linkov <juri@jurta.org>
17397
17398 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17399 instead of this-command-keys. Add universal-argument-more and
17400 universal-argument-minus to the list of prefix commands. (Bug#15568)
17401
17402 2013-10-09 Glenn Morris <rgm@gnu.org>
17403
17404 * vc/vc-svn.el (vc-svn-create-repo):
17405 Expand paths in file://... url. (Bug#15446)
17406
17407 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17408 Add some entries.
17409 (authors): Remove unused local variables.
17410
17411 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * profiler.el: Create a more coherent calltree from partial backtraces.
17414 (profiler-format): Hide the tail with `invisible' so that C-s can still
17415 find the hidden elements.
17416 (profiler-calltree-depth): Don't recurse so enthusiastically.
17417 (profiler-function-equal): New hash-table-test.
17418 (profiler-calltree-build-unified): New function.
17419 (profiler-calltree-build): Use it.
17420 (profiler-report-make-name-part): Indent the calltree less.
17421 (profiler-report-mode): Add visibility specs for profiler-format.
17422 (profiler-report-expand-entry, profiler-report-toggle-entry):
17423 Expand the whole subtree when provided with a prefix arg.
17424
17425 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17426
17427 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17428 iuwu-mod token.
17429 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17430 hanging iuwu-mod token.
17431 (ruby-smie--forward-token): Do not include a dot after a token in
17432 that token.
17433 (ruby-smie--backward-token): Likewise.
17434
17435 2013-10-08 Juri Linkov <juri@jurta.org>
17436
17437 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17438 to isearch-other-control-char.
17439 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17440 and isearch-post-command-hook to post-command-hook.
17441 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17442 and isearch-post-command-hook from post-command-hook.
17443 (isearch-unread-key-sequence)
17444 (isearch-reread-key-sequence-naturally)
17445 (isearch-lookup-scroll-key, isearch-other-control-char)
17446 (isearch-other-meta-char): Remove functions.
17447 (isearch-pre-command-hook, isearch-post-command-hook):
17448 New functions based on isearch-other-meta-char rewritten
17449 relying on the new behavior of overriding-terminal-local-map
17450 that does not replace the local keymaps any more. (Bug#15200)
17451
17452 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17453
17454 Support menus on text-mode terminals.
17455 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17456 functionality.
17457
17458 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17459
17460 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17461 Move here from mouse.el.
17462 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17463 and arrow keys.
17464 (tty-menu-navigation-map): New map for TTY menu navigation.
17465
17466 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17467
17468 * frame.el (display-mouse-p): Report text-mode mouse as available
17469 on w32.
17470 (display-popup-menus-p): Report availability if mouse is
17471 available; don't condition on window-system.
17472
17473 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17474 (tty-menu-selected-face): New faces.
17475
17476 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17477
17478 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17479 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17480 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17481 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17482 New constants.
17483 (lisp-mode-variables): New `elisp' argument.
17484 (emacs-lisp-mode): Use it.
17485 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17486 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17487
17488 * indent.el: Use lexical-binding.
17489 (indent-region): Add progress reporter.
17490 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17491 last step.
17492 (indent--next-tab-stop): New function to implement this behavior.
17493 (tab-to-tab-stop, move-to-tab-stop): Use it.
17494
17495 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17496
17497 * indent.el (indent-rigidly--current-indentation): New function.
17498 (indent-rigidly-map): New var.
17499 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17500
17501 2013-10-08 Bastien Guerry <bzg@gnu.org>
17502
17503 * register.el (insert-register): Fix 2013-10-07 change.
17504
17505 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17506
17507 * progmodes/perl-mode.el: Use lexical-binding.
17508 Remove redundant :group args.
17509 (perl-nochange): Change default to be closer to other major modes's
17510 standard behavior.
17511 (perl-indent-line): Don't consider text on current line as a
17512 valid beginning of function from which to indent.
17513
17514 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17515 with more than one argument (bug#15538).
17516
17517 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17518
17519 * vc/pcvs.el: Use lexical-binding.
17520 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17521 environment of `eval'.
17522 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17523 than a list of expressions. Adjust callers.
17524 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17525
17526 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17527
17528 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17529 case of the dot in a chained method call being on the following line.
17530
17531 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * electric.el (electric-indent-inhibit): New var.
17534 (electric-indent-post-self-insert-function): Use it.
17535 * progmodes/python.el (python-mode): Set it.
17536
17537 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17538 open braces.
17539
17540 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17541
17542 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17543 (css-mode): Use electric-indent-chars.
17544
17545 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17546 (font-lock-beg, font-lock-end): Move before first use.
17547 (nxml-mode): Use syntax-propertize-function.
17548 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17549 (nxml-extend-after-change-region): Remove.
17550 * nxml/xmltok.el: Use lexical-binding.
17551 (xmltok-save): Use `declare'.
17552 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17553 * nxml/nxml-util.el: Use lexical-binding.
17554 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17555 Use `declare'.
17556 * nxml/nxml-ns.el: Use lexical-binding.
17557 (nxml-ns-save): Use `declare'.
17558 (nxml-ns-prefixes-for): Avoid add-to-list.
17559 * nxml/rng-match.el: Use lexical-binding.
17560 (rng--ipattern): Use cl-defstruct.
17561 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17562 (rng-cons-group-after, rng-subst-group-after)
17563 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17564 Use closures instead of `(lambda...).
17565
17566 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17567
17568 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17569 of BEG and END.
17570
17571 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17572 Use `tramp-handle-insert-file-contents'.
17573 (tramp-gvfs-handle-insert-file-contents): Remove function.
17574
17575 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17576 Use `save-restriction' in order to keep markers.
17577
17578 * net/trampver.el: Update release number.
17579
17580 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17581
17582 * progmodes/compile.el (compilation-parse-errors):
17583 Use compilation--put-prop.
17584 (compilation--ensure-parse): Check compilation-multiline.
17585
17586 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17587
17588 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17589 lexical-binding.
17590
17591 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17592
17593 * progmodes/ruby-mode.el: Fix recently added tests.
17594 (ruby-smie-grammar): Add - and +.
17595 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17596 (ruby-smie--backward-id): New functions.
17597 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17598 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17599 any more.
17600
17601 2013-10-07 Leo Liu <sdl.web@gmail.com>
17602
17603 * register.el (register-preview-delay)
17604 (register-preview-functions): New variables.
17605 (register-read-with-preview, register-preview)
17606 (register-describe-oneline): New functions.
17607 (point-to-register, window-configuration-to-register)
17608 (frame-configuration-to-register, jump-to-register)
17609 (number-to-register, view-register, insert-register)
17610 (copy-to-register, append-to-register, prepend-to-register)
17611 (copy-rectangle-to-register): Use register-read-with-preview to
17612 read register. (Bug#15525)
17613
17614 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17615
17616 * net/network-stream.el (network-stream-open-starttls): Don't add
17617 --insecure if it's already present, because that gnutls-cli
17618 rejects getting that parameter twice.
17619
17620 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17621
17622 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17623 keyword, too.
17624
17625 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17626
17627 * newcomment.el (comment-use-global-state): Change default value
17628 to t, mark obsolete (Bug#15251).
17629 (comment-beginning): In addition to `comment-to-syntax', check the
17630 value of `comment-use-global-state'.
17631
17632 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17633
17634 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17635 (ruby-comment-column): Follow the global default, by default.
17636 (ruby-smie-grammar): Add assignment syntax.
17637 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17638 open-paren, a comma, or a \.
17639 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17640 and line continuations.
17641 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17642 followed by implicit semi-colons. Add rule for string concatenation
17643 and for indentation at BOB.
17644 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17645
17646 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17647 calling next-sexp, since next-token may have skipped chars which
17648 next-sexp doesn't know should be skipped!
17649
17650 2013-10-05 Leo Liu <sdl.web@gmail.com>
17651
17652 * progmodes/octave.el (octave-send-region):
17653 Call compilation-forget-errors.
17654
17655 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17656
17657 * vc/vc-svn.el (vc-svn-find-admin-dir):
17658 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17659 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17660 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17661 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17662
17663 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17664
17665 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17666
17667 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17668
17669 * subr.el (read-passwd): Hide chars even when called within a context
17670 where after-change-functions is disabled (bug#15501).
17671 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17672 until we removed ourself from overriding-terminal-local-map.
17673
17674 2013-10-04 Leo Liu <sdl.web@gmail.com>
17675
17676 * progmodes/octave.el (inferior-octave-mode):
17677 Call compilation-forget-errors.
17678
17679 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17680
17681 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17682
17683 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17684
17685 * net/secrets.el (secrets-create-collection): Add optional
17686 argument ALIAS. Use proper Label keyword. Append ALIAS as
17687 dbus-call-method argument. (Bug#15516)
17688
17689 2013-10-04 Leo Liu <sdl.web@gmail.com>
17690
17691 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17692 (inferior-octave-compilation-font-lock-keywords): New variables.
17693 (compilation-error-regexp-alist)
17694 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17695 (inferior-octave-mode): Use compilation-shell-minor-mode.
17696
17697 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17698
17699 * minibuffer.el (completion--replace): Be careful that `end' might be
17700 a marker.
17701
17702 2013-10-03 Daiki Ueno <ueno@gnu.org>
17703
17704 Add support for package signature checking.
17705 * emacs-lisp/package.el (url-http-file-exists-p)
17706 (epg-make-context, epg-context-set-home-directory)
17707 (epg-verify-string, epg-context-result-for)
17708 (epg-signature-status, epg-signature-to-string)
17709 (epg-check-configuration, epg-configuration)
17710 (epg-import-keys-from-file): Declare.
17711 (package-check-signature): New user option.
17712 (package-unsigned-archives): New user option.
17713 (package-desc): Add `signed' field.
17714 (package-load-descriptor): Set `signed' field if .signed file exists.
17715 (package--archive-file-exists-p): New function.
17716 (package--check-signature): New function.
17717 (package-install-from-archive): Check package signature.
17718 (package--download-one-archive): Check archive signature.
17719 (package-delete): Remove .signed file.
17720 (package-import-keyring): New command.
17721 (package-refresh-contents): Import default keyring.
17722 (package-desc-status): Add "unsigned" status.
17723 (describe-package-1, package-menu--print-info)
17724 (package-menu-mark-delete, package-menu--find-upgrades)
17725 (package-menu--status-predicate): Support "unsigned" status.
17726
17727 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17728
17729 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17730 the new compilation scheme using the new byte-codes.
17731
17732 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17733 (byte-pophandler): New byte codes.
17734 (byte-goto-ops): Adjust accordingly.
17735 (byte-compile--use-old-handlers): New var.
17736 (byte-compile-catch): Use new byte codes depending on
17737 byte-compile--use-old-handlers.
17738 (byte-compile-condition-case--old): Rename from
17739 byte-compile-condition-case.
17740 (byte-compile-condition-case--new): New function.
17741 (byte-compile-condition-case): New function that dispatches depending
17742 on byte-compile--use-old-handlers.
17743 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17744 when we can.
17745
17746 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17747 Optimize under `condition-case' and `catch' if
17748 byte-compile--use-old-handlers is nil.
17749 (disassemble-offset): Handle new bytecodes.
17750
17751 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17752
17753 * subr.el (error): Use `declare'.
17754 (decode-char, encode-char): Use advertised-calling-convention instead
17755 of the docstring to discourage use of the `restriction' arg.
17756
17757 2013-10-03 Daiki Ueno <ueno@gnu.org>
17758
17759 * epg.el (epg-verify-file): Add a comment saying that it does not
17760 notify verification error as a return value nor a signal.
17761 (epg-verify-string): Ditto.
17762
17763 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17764
17765 * progmodes/compile.el (compilation-start): Try globbing the arg to
17766 `cd' (bug#15417).
17767
17768 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17769
17770 Sync with Tramp 2.2.8.
17771
17772 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17773 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17774 * net/trampver.el: Update release number.
17775
17776 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17777
17778 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17779 and default-process-coding-system for darwin only.
17780
17781 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17782
17783 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17784
17785 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17786
17787 * vc/vc-git.el (vc-git-grep): Disable pager.
17788
17789 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17790
17791 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17792 Use :url instead of :homepage, as per
17793 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17794
17795 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17796 non-nil, use `syntax-ppss' (Bug#15251).
17797
17798 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17799
17800 * progmodes/octave.el (inferior-octave-startup-file):
17801 Prefer ~/.emacs.d/init_octave.m.
17802
17803 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17804
17805 * emacs-lisp/package.el (package-desc-from-define):
17806 Accept additional arguments as plist, convert them to an alist and store
17807 them in the `extras' slot.
17808 (package-generate-description-file): Convert extras alist back to
17809 plist and append to the `define-package' form arguments.
17810 (package--alist-to-plist): New function.
17811 (package--ac-desc): Add `extras' slot.
17812 (package--add-to-archive-contents): Check if the archive-contents
17813 vector is long enough, and if it is, pass its `extras' slot value
17814 to `package-desc-create'.
17815 (package-buffer-info): Call `lm-homepage', pass the returned value
17816 to `package-desc-from-define'.
17817 (describe-package-1): Render the homepage button (Bug#13291).
17818
17819 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17820 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17821
17822 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17823
17824 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17825 and default-process-coding-system to utf-8-unix (Bug#15402).
17826
17827 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17828
17829 * subr.el (looking-back): Do not recommend using looking-back.
17830
17831 2013-09-28 Alan Mackenzie <acm@muc.de>
17832
17833 Fix indentation/fontification of Java enum with "implements".
17834
17835 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17836 regexp which matches "implements", etc., in Java.
17837 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17838 specifier clauses coming after "enum".
17839 * progmodes/cc-fonts.el (c-font-lock-declarations)
17840 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17841 after "enum".
17842
17843 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17844
17845 * faces.el (region): Change ns_selection_color to
17846 ns_selection_fg_color, add ns_selection_bg_color.
17847
17848 2013-09-28 Leo Liu <sdl.web@gmail.com>
17849
17850 * progmodes/octave.el (inferior-octave-completion-table)
17851 (inferior-octave-completion-at-point): Minor tweaks.
17852
17853 * textmodes/ispell.el (ispell-lookup-words): Rename from
17854 lookup-words. (Bug#15460)
17855 (lookup-words): Obsolete.
17856 (ispell-complete-word, ispell-command-loop): All uses changed.
17857
17858 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17859
17860 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17861 (octave-mode-menu): Add octave-send-buffer.
17862 (octave-send-buffer): New function.
17863
17864 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17865
17866 * progmodes/octave.el (octave-mode-map): Add key binding for
17867 octave-lookfor.
17868 (octave-mode-menu): Add octave-lookfor.
17869 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17870 octave-lookfor.
17871 (octave-lookfor): New function.
17872
17873 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17874
17875 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17876 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17877 its convention.
17878 (cl--loop-set-iterator-function): New function.
17879 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17880 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17881 Bind `it' with `let' instead of substituting it with `cl-subst'.
17882 (cl--unused-var-p): New function.
17883 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17884 Eliminate some unused variable warnings (bug#15326).
17885
17886 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17887
17888 * doc-view.el (doc-view-scale-reset): Rename from
17889 `doc-view-reset-zoom-level'.
17890 (doc-view-scale-adjust): New command.
17891 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17892 `doc-view-scale-adjust'.
17893
17894 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17895
17896 * doc-view.el (doc-view-reset-zoom-level): New command.
17897 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17898 zoom commands (bug#15466).
17899
17900 2013-09-26 Kenichi Handa <handa@gnu.org>
17901
17902 * international/quail.el (quail-help): Make it not a command.
17903
17904 2013-09-26 Leo Liu <sdl.web@gmail.com>
17905
17906 * minibuffer.el (completion-all-sorted-completions): Make args
17907 optional as they are.
17908
17909 2013-09-25 Daniel Colascione <dancol@dancol.org>
17910
17911 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17912 specs are and that they're not evaluated.
17913
17914 2013-09-24 Sam Steingold <sds@gnu.org>
17915
17916 * midnight.el (clean-buffer-list-kill-regexps)
17917 (clean-buffer-list-kill-buffer-names): Update for the new Man
17918 buffer naming which includes the object name.
17919
17920 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17921
17922 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17923 (eshell-parse-command, eshell-parse-pipeline): Use it since
17924 eshell-separate-commands requires a dynamic scoped var.
17925 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17926
17927 2013-09-23 Leo Liu <sdl.web@gmail.com>
17928
17929 * autoinsert.el (auto-insert-alist): Make the value of
17930 lexical-binding match its file setting.
17931
17932 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17933
17934 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17935
17936 * autoarg.el (autoarg-kp-digit-argument):
17937 * electric.el (Electric-command-loop):
17938 * kmacro.el (kmacro-step-edit-insert):
17939 Do not set universal-argument-num-events.
17940
17941 2013-09-22 Leo Liu <sdl.web@gmail.com>
17942
17943 * files.el (interpreter-mode-alist): Add octave.
17944
17945 2013-09-21 Alan Mackenzie <acm@muc.de>
17946
17947 C++: fontify identifier in declaration following "public:" correctly.
17948 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17949 to match "public", etc.
17950 (c-decl-prefix-re): Add ":" into the C++ value.
17951 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17952 bit. Add a check for a ":" preceded by "public", etc.
17953
17954 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17955
17956 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17957 recognized by GDB 7.5 and later.
17958
17959 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17960
17961 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17962
17963 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17964
17965 * subr.el (internal--call-interactively): New const.
17966 (called-interactively-p): Use it (bug#3984).
17967
17968 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17969
17970 * vc/pcvs.el (cvs-mode-ignore):
17971 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17972 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17973
17974 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17975
17976 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17977 (eshell-ls-orig-insert-directory): Remove.
17978 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17979 (eshell-ls-use-in-dired): Use advice-add/remove.
17980 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17981 Add `orig-fun' arg for use in :around advice.
17982 Make it check (redundantly) eshell-ls-use-in-dired.
17983
17984 2013-09-19 Glenn Morris <rgm@gnu.org>
17985
17986 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17987
17988 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17989
17990 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17991
17992 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17993
17994 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17995 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17996 (tramp-get-remote-python): New defuns.
17997 (tramp-get-remote-uid-with-perl)
17998 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17999 contributed by yary <not.com@gmail.com> (tiny change).
18000 (tramp-get-remote-uid-with-python)
18001 (tramp-get-remote-gid-with-python): New defuns. Python code
18002 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18003 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18004
18005 2013-09-19 Glenn Morris <rgm@gnu.org>
18006
18007 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18008
18009 * eshell/em-unix.el (eshell-remove-entries):
18010 Rename argument to avoid name-clash with global `top-level'.
18011
18012 * eshell/esh-proc.el (eshell-kill-process-function):
18013 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18014 (eshell-reset-after-proc): Remove unused arg `proc'.
18015
18016 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18017 (directory-files-and-attributes): Mark unused arg.
18018
18019 * eshell/em-unix.el (eshell-remove-entries):
18020 Remove unused arg `path'. Update callers.
18021
18022 * eshell/em-hist.el (eshell-hist-parse-arguments):
18023 Remove unused arg `silent'. Update callers.
18024
18025 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18026 Fix (f)boundp mix-up.
18027
18028 * eshell/em-smart.el (eshell-smart-scroll-window)
18029 (eshell-disable-after-change):
18030 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18031
18032 2013-09-18 Alan Mackenzie <acm@muc.de>
18033
18034 Fix fontification of type when followed by "const".
18035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18036 "known" types from fontification.
18037
18038 2013-09-18 Glenn Morris <rgm@gnu.org>
18039
18040 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18041 (chart-face-list): Drop Emacsen without display-color-p.
18042
18043 * net/eww.el (libxml-parse-html-region): Declare.
18044 (eww-display-html): Explicit error if no libxml2 support.
18045
18046 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18047
18048 * image.el (image-type-from-buffer, image-multi-frame-p):
18049 Remove --without-x warning/error.
18050
18051 * mouse.el (mouse-yank-primary):
18052 * term.el (term-mouse-paste):
18053 Reorder to silence --without-x compilation.
18054
18055 * mpc.el (doc-view-mode): Silence --without-x compilation.
18056
18057 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18058 Silence --without-x compilation.
18059
18060 * progmodes/gud.el (gud-find-file, gud-mode):
18061 Silence --without-x compilation.
18062 (tooltip-mode): Declare.
18063
18064 * wdired.el (dired-backup-overwrite): Remove declaration.
18065 (wdired-mode-map): Add doc string.
18066
18067 * custom.el (x-get-resource): Declare.
18068
18069 * eshell/em-glob.el (ange-cache):
18070 * eshell/em-unix.el (ange-cache): Declare.
18071
18072 * faces.el (x-display-list, x-open-connection, x-get-resource):
18073 Declare.
18074
18075 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18076 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18077 Declare.
18078
18079 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18080
18081 * net/gnutls.el (gnutls-log-level): Declare.
18082
18083 * net/shr.el (image-size, image-animate): Declare.
18084
18085 * simple.el (font-info): Declare.
18086
18087 * subr.el (x-popup-dialog): Declare.
18088
18089 * term/common-win.el (x-select-enable-primary)
18090 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18091 Declare.
18092
18093 * term/ns-win.el (x-handle-args): Declare.
18094
18095 * term/x-win.el (x-select-enable-clipboard): Declare.
18096
18097 * term/w32-win.el (create-default-fontset): Declare.
18098
18099 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18100 Declare.
18101
18102 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18103 (fit-frame-to-buffer): Explicit error if --without-x.
18104 (mouse-autoselect-window-select): Silence compiler.
18105
18106 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18107
18108 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18109 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18110 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18111 * eshell/esh-util.el (eshell-sublist):
18112 Remove unused local variables.
18113
18114 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18115
18116 * textmodes/two-column.el: Make 2C-split work for --without-x.
18117 (scroll-bar-columns): Autoload.
18118 (top-level): Require fringe when compiling.
18119
18120 2013-09-18 Leo Liu <sdl.web@gmail.com>
18121
18122 * subr.el (add-hook): Robustify to handle closure as well.
18123
18124 2013-09-17 Glenn Morris <rgm@gnu.org>
18125
18126 * simple.el (messages-buffer-mode-map): Unbind "g".
18127
18128 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18129
18130 * help-mode.el (help-mode-finish): Use derived-mode-p.
18131 Remove obsolete highlighting.
18132
18133 * play/life.el (life-mode): Use define-derived-mode. Derive from
18134 special-mode.
18135 (life): Let-bind inhibit-read-only.
18136 (life-setup): Avoid `setq'. Use `life-mode'.
18137
18138 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18139 which should not be needed any more.
18140 (package-menu-refresh, package-menu-describe-package): Use user-error.
18141
18142 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18143 (eshell-post-rewrite-command-hook): Make obsolete.
18144 (eshell-parse-command): Simplify.
18145 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18146 (eshell--cmd): Declare.
18147 (eshell-parse-pipeline): Remove unused var `final-p'.
18148 Pass a dynvar to eshell-post-rewrite-command-hook.
18149 Implement the new eshell-post-rewrite-command-function.
18150 (eshell-invoke-directly): Remove unused arg `input'.
18151 * eshell/esh-io.el (eshell-io-initialize):
18152 Use eshell-post-rewrite-command-function (bug#15399).
18153 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18154 adjust to new calling convention.
18155 (eshell-create-handles): Rename args to avoid clashing with dynvar
18156 `standard-output'.
18157
18158 2013-09-17 Glenn Morris <rgm@gnu.org>
18159
18160 * simple.el (messages-buffer-mode): New major mode.
18161 (messages-buffer): New function.
18162 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18163 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18164 (ert-run-test): Use `messages-buffer' function.
18165 (ert--force-message-log-buffer-truncation): Ignore read-only.
18166 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18167 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18168
18169 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18170
18171 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18172
18173 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18174
18175 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * icomplete.el (icomplete-in-buffer): New var.
18178 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18179 vars and replace them with functions.
18180 (icomplete-minibuffer-setup): Adjust accordingly.
18181 (icomplete--completion-table, icomplete--completion-predicate)
18182 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18183 New functions.
18184 (icomplete-forward-completions, icomplete-backward-completions)
18185 (icomplete-simple-completing-p, icomplete-exhibit)
18186 (icomplete-completions): Use them.
18187 (icomplete--in-region-buffer): New var.
18188 (icomplete--in-region-setup): New function.
18189 (icomplete-mode): Use it.
18190
18191 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18192 (bug#15379).
18193 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18194 return args and options.
18195 (eshell-eval-using-options): Use the new return value of
18196 eshell--do-opts to set the options's vars in their scope.
18197 (eshell--set-option): Rename from eshell-set-option.
18198 Add arg `opt-vals'.
18199 (eshell--process-option): Rename from eshell-process-option.
18200 Add arg `opt-vals'.
18201 (eshell--process-args): Use an `opt-vals' alist to store the options's
18202 values during their processing and return them additionally to the
18203 remaining args.
18204
18205 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18206
18207 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18208 continuation character an operator, as far as indentation is
18209 concerned (Bug#15369).
18210
18211 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18212
18213 * window.el (window--state-put-2): Don't process buffer state
18214 when buffer doesn't exist any more (Bug#15382).
18215
18216 2013-09-15 Glenn Morris <rgm@gnu.org>
18217
18218 * eshell/em-unix.el (eshell/rm):
18219 Make -f ignore missing files. (Bug#15373)
18220
18221 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18222 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18223 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18224
18225 2013-09-14 Glenn Morris <rgm@gnu.org>
18226
18227 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18228
18229 2013-09-13 Glenn Morris <rgm@gnu.org>
18230
18231 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18232 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18233
18234 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18235
18236 * frame.el (x-focus-frame): Mark as declared in frame.c.
18237
18238 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18239
18240 * ls-lisp.el: Use advice-add.
18241 (original-insert-directory): Remove.
18242 (ls-lisp--insert-directory): Rename from insert-directory; add
18243 `orig-fun' argument.
18244 (insert-directory): Advise.
18245
18246 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18247
18248 * term.el (term-emulate-terminal): Decode the command string
18249 before passing it to term-command-hook. (Bug#15337)
18250
18251 2013-09-13 Glenn Morris <rgm@gnu.org>
18252
18253 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18254
18255 * eshell/esh-ext.el (eshell-search-path): Declare.
18256
18257 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18258 Otherwise an error occurs if eshell-dirs module not loaded.
18259
18260 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18261
18262 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18263
18264 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18265 `tramp-check-proper-host'. Check for a valid method name.
18266
18267 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18268 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18269 * net/tramp-sh.el (tramp-maybe-open-connection):
18270 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18271
18272 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18273 also for hash values.
18274
18275 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18276
18277 * term/ns-win.el (parameters): Don't declare as dynamic.
18278 (before-make-frame-hook): Don't add ineffective function.
18279
18280 * eshell/*.el: Use lexical-binding (bug#15231).
18281
18282 2013-09-12 Kenichi Handa <handa@gnu.org>
18283
18284 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18285
18286 2013-09-12 Glenn Morris <rgm@gnu.org>
18287
18288 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18289 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18290
18291 * subr.el (do-after-load-evaluation): Also give compiler warnings
18292 when obsolete files are used (except by obsolete files).
18293
18294 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18295 in the status output, assume `filename' is the first. (Bug#15322)
18296
18297 * vc/vc.el (vc-deduce-fileset): Doc fix.
18298
18299 * calc/calc-help.el (Info-goto-node):
18300 * progmodes/cperl-mode.el (Info-find-node):
18301 * vc/ediff.el (Info-goto-node): Update declarations.
18302
18303 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18304
18305 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18306 (vc-bzr-pull): Require vc-dispatcher.
18307 * vc/vc-git.el (vc-compilation-mode): Declare.
18308 (vc-git-pull): Require vc-dispatcher.
18309
18310 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18311
18312 * progmodes/octave.el (help-button-action): Declare.
18313
18314 * shell.el (shell-directory-tracker): Output error as a message
18315 rather than just returning it as a string.
18316 (shell-process-pushd): Remove useless use of message.
18317
18318 * dframe.el (dframe-timer-fn):
18319 * files.el (dir-locals-read-from-file):
18320 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18321 (mpc-format):
18322 * reveal.el (reveal-post-command):
18323 * saveplace.el (load-save-place-alist-from-file):
18324 * shell.el (shell-resync-dirs):
18325 * w32-common-fns.el (x-get-selection-value):
18326 * emacs-lisp/copyright.el (copyright-find-copyright):
18327 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18328 * emulation/tpu-edt.el (tpu-copy-keyfile):
18329 * play/bubbles.el (bubbles--mark-neighbourhood):
18330 * progmodes/executable.el
18331 (executable-make-buffer-file-executable-if-script-p):
18332 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18333
18334 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18335
18336 Cleanup Eshell to rely less on dynamic scoping.
18337 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18338 last-value, and ext-command here. Bind `args' closer to `body'.
18339 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18340 (eshell--args): Declare new dynamic var.
18341 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18342 last-value, and ext-command. Pass `args' to `body'.
18343 (eshell-process-args): Bind eshell--args.
18344 (eshell-set-option): Use eshell--args.
18345 * eshell/eshell.el (eshell): Use derived-mode-p.
18346 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18347 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18348 (eshell-glob-function): Declare.
18349 * eshell/esh-util.el: Require cl-lib.
18350 (eshell-read-hosts-file): Avoid add-to-list.
18351 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18352 `err'.
18353 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18354 Declare.
18355 (eshell/diff): Remove unused var `err'.
18356 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18357 `killflag'.
18358 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18359 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18360 first use.
18361 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18362 Move declaration before first use.
18363 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18364 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18365 rely on cl-return.
18366
18367 2013-09-12 Glenn Morris <rgm@gnu.org>
18368
18369 * term/ns-win.el (global-map): Remove binding for ispell-next,
18370 deleted 1999-05-29. (Bug#15357)
18371
18372 2013-09-11 Glenn Morris <rgm@gnu.org>
18373
18374 * echistory.el (electric-command-history): Remove call to deleted func.
18375
18376 * play/landmark.el (landmark-mode): Fix typos.
18377
18378 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18379 Check cvs-sort-ignore-file is bound.
18380
18381 * savehist.el: No need for cl when compiling on Emacs.
18382
18383 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18384
18385 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18386 (bug#15338).
18387 (eshell-self-insert-command, eshell-send-invisible):
18388 Remove unused argument.
18389 (eshell-handle-control-codes): Remove unused var `orig'.
18390 Avoid delete-backward-char.
18391
18392 * files.el (set-auto-mode): Simplify a bit further.
18393
18394 2013-09-11 Glenn Morris <rgm@gnu.org>
18395
18396 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18397 (set-auto-mode): Don't regexp-quote elements.
18398 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18399 * progmodes/cc-mode.el (interpreter-mode-alist):
18400 * progmodes/ruby-mode.el (interpreter-mode-alist):
18401 Revert previous change.
18402
18403 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18404
18405 * play/snake.el (snake-mode):
18406 * play/mpuz.el (mpuz-mode):
18407 * play/landmark.el (lm-mode):
18408 * play/blackbox.el (blackbox-mode):
18409 * play/5x5.el (5x5-mode):
18410 * obsolete/options.el (Edit-options-mode):
18411 * net/quickurl.el (quickurl-list-mode):
18412 * net/newst-treeview.el (newsticker-treeview-mode):
18413 * mail/rmailsum.el (rmail-summary-mode):
18414 * mail/mspools.el (mspools-mode):
18415 * locate.el (locate-mode):
18416 * ibuffer.el (ibuffer-mode):
18417 * emulation/ws-mode.el (wordstar-mode):
18418 * emacs-lisp/debug.el (debugger-mode):
18419 * array.el (array-mode):
18420 * net/eudc.el (eudc-mode): Use define-derived-mode.
18421 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18422 Move initialization into declaration.
18423 (mairix-searches-mode): Use define-derived-mode.
18424 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18425 (eudc-edit-hotlist): Use dolist.
18426 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18427 (Man-mode): Use define-derived-mode.
18428 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18429 (Info-edit-mode): Use define-derived-mode.
18430 (Info-cease-edit): Use Info-mode.
18431 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18432 into declaration.
18433 (eshell-mode): Use define-derived-mode.
18434 * chistory.el (command-history-mode-map): Rename from
18435 command-history-map.
18436 (command-history-mode): Use define-derived-mode.
18437 (Command-history-setup): Remove function.
18438 * calc/calc.el (calc-trail-mode-map): New var.
18439 (calc-trail-mode): Use define-derived-mode.
18440 (calc-trail-buffer): Set calc-main-buffer manually.
18441 * bookmark.el (bookmark-insert-annotation): New function.
18442 (bookmark-edit-annotation): Use it.
18443 (bookmark-edit-annotation-mode): Make it a proper major mode.
18444 (bookmark-send-edited-annotation): Use derived-mode-p.
18445 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18446 closer to its ideal place. Use \' to match EOS.
18447
18448 * profiler.el (profiler-calltree-find): Use function-equal.
18449
18450 2013-09-10 Glenn Morris <rgm@gnu.org>
18451
18452 * files.el (interpreter-mode-alist): Convert to regexps.
18453 (set-auto-mode): Adapt for this. (Bug#15306)
18454 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18455 Comment out unused variable.
18456 * progmodes/cc-mode.el (interpreter-mode-alist):
18457 * progmodes/python.el (interpreter-mode-alist):
18458 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18459 * progmodes/sh-script.el (sh-set-shell):
18460 No longer use interpreter-mode-alist to get list of shells.
18461
18462 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18463
18464 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18465
18466 * simple.el: Use set-temporary-overlay-map for universal-argument.
18467 (universal-argument-map): Don't use default-bindings (bug#15317).
18468 Bind switch-frame explicitly. Replace universal-argument-minus with
18469 a conditional binding.
18470 (universal-argument-num-events, saved-overriding-map): Remove.
18471 (restore-overriding-map): Remove.
18472 (universal-argument--mode): Rename from save&set-overriding-map,
18473 and rewrite.
18474 (universal-argument, universal-argument-more, negative-argument)
18475 (digit-argument): Adjust accordingly.
18476 (universal-argument-minus): Remove.
18477 (universal-argument-other-key): Remove.
18478
18479 * subr.el (with-demoted-errors): Add `format' argument.
18480
18481 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18482
18483 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18484 `tramp-cleanup-connection'.
18485
18486 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18487 parameters KEEP-DEBUG and KEEP-PASSWORD.
18488
18489 * net/tramp.el (tramp-file-name-handler):
18490 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18491 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18492 (tramp-maybe-open-connection):
18493 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18494 Use `tramp-cleanup-connection'.
18495
18496 * net/tramp-sh.el (tramp-maybe-open-connection):
18497 Catch 'uname-changed inside the progress reporter.
18498
18499 2013-09-10 Glenn Morris <rgm@gnu.org>
18500
18501 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18502
18503 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18504 returns "alternate access method" in mode (eg "-rw-r--r--.").
18505
18506 2013-09-08 Glenn Morris <rgm@gnu.org>
18507
18508 * saveplace.el (load-save-place-alist-from-file):
18509 Demote errors. (Bug#15305)
18510
18511 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18512
18513 Improve compatibility with older Emacsen, and XEmacs.
18514
18515 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18516 only if it is bound. It isn't for XEmacs.
18517 (with-tramp-progress-reporter): Do not let-bind `result'.
18518 This yields to scoping errors in XEmacs.
18519 (tramp-handle-make-auto-save-file-name): New function, moved from
18520 tramp-sh.el.
18521
18522 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18523 for `make-auto-save-file-name'.
18524 (tramp-adb--gnu-switches-to-ash):
18525 Use `tramp-compat-replace-regexp-in-string'.
18526
18527 * net/tramp-cache.el (tramp-cache-print): Call
18528 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18529
18530 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18531 bound. It isn't for XEmacs.
18532
18533 * net/tramp-compat.el (tramp-compat-copy-file):
18534 Catch `wrong-number-of-arguments' error.
18535 (tramp-compat-replace-regexp-in-string): New defun.
18536
18537 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18538 for `make-auto-save-file-name'.
18539 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18540 `copy-file'.
18541 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18542 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18543 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18544
18545 * net/tramp-gw.el (tramp-gw-open-network-stream):
18546 Use `tramp-compat-replace-regexp-in-string'.
18547
18548 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18549 Call `tramp-handle-make-auto-save-file-name'.
18550 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18551 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18552 (tramp-sh-file-inotifywait-process-filter):
18553 Use `tramp-compat-replace-regexp-in-string'.
18554 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18555
18556 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18557 for `make-auto-save-file-name'.
18558 (tramp-smb-handle-copy-directory):
18559 Call `tramp-compat-replace-regexp-in-string'.
18560 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18561 (tramp-smb-handle-copy-file): Improve error message.
18562 (tramp-smb-handle-rename-file): Rename directly only in case
18563 `newname' does not exist yet. This is a restriction of smbclient.
18564 (tramp-smb-maybe-open-connection): Rerun the function only when
18565 `auth-sources' is non-nil.
18566
18567 2013-09-08 Kenichi Handa <handa@gnu.org>
18568
18569 * international/characters.el: Set category "^" (Combining) for
18570 more characters.
18571
18572 2013-09-07 Alan Mackenzie <acm@muc.de>
18573
18574 Correctly fontify Java class constructors.
18575 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18576 in Java Mode.
18577 (c-recognize-typeless-decls): Set the Java value to t.
18578 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18579 While handling a "(", add a check for, effectively, Java, and handle a
18580 "typeless" declaration there.
18581
18582 2013-09-07 Roland Winkler <winkler@gnu.org>
18583
18584 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18585 field subtitle for entry type book.
18586
18587 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18588
18589 * minibuffer.el: Make minibuffer-complete call completion-in-region
18590 rather than other way around.
18591 (completion--some, completion-pcm--find-all-completions):
18592 Don't delay signals when debugging.
18593 (minibuffer-completion-contents): Beware fields within the
18594 minibuffer contents.
18595 (completion-all-sorted-completions): Use defvar-local.
18596 (completion--do-completion, completion--cache-all-sorted-completions)
18597 (completion-all-sorted-completions, minibuffer-force-complete):
18598 Add args `beg' and `end'.
18599 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18600 (minibuffer-complete): Use completion-in-region.
18601 (completion-complete-and-exit): New fun, extracted from
18602 minibuffer-complete-and-exit.
18603 (minibuffer-complete-and-exit): Use it.
18604 (completion--complete-and-exit): Rename from
18605 minibuffer--complete-and-exit.
18606 (completion-in-region--single-word): New function, extracted from
18607 minibuffer-complete-word.
18608 (minibuffer-complete-word): Use it.
18609 (display-completion-list): Make `common-substring' argument obsolete.
18610 (completion--in-region): Call completion--in-region-1 instead of
18611 minibuffer-complete.
18612 (completion-help-at-point): Pass boundaries to
18613 minibuffer-completion-help as args rather than via an overlay.
18614 (completion-pcm--string->pattern): Use `any-delim'.
18615 (completion-pcm--optimize-pattern): New function.
18616 (completion-pcm--pattern->regex): Handle `any-delim'.
18617 * icomplete.el (icomplete-forward-completions)
18618 (icomplete-backward-completions, icomplete-completions):
18619 Adjust calls to completion-all-sorted-completions and
18620 completion--cache-all-sorted-completions.
18621 (icomplete-with-completion-tables): Default to t.
18622 * emacs-lisp/crm.el (crm--current-element): Rename from
18623 crm--select-current-element. Don't put an overlay but return the
18624 boundaries instead.
18625 (crm--completion-command): Take two new args to bind to the boundaries.
18626 (crm-completion-help): Adjust accordingly.
18627 (crm-complete): Use completion-in-region.
18628 (crm-complete-word): Use completion-in-region--single-word.
18629 (crm-complete-and-exit): Use completion-complete-and-exit.
18630
18631 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18632
18633 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18634 than dynamically.
18635
18636 2013-09-06 Juri Linkov <juri@jurta.org>
18637
18638 * info.el (Info-display-images-node): When image file doesn't exist
18639 display text version of the image if it's provided in the Info file.
18640 Otherwise, display the location of missing image from SRC attribute.
18641 Add help-echo text property from ALT attribute. (Bug#15279)
18642
18643 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18644
18645 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18646 (edit-abbrevs-mode): Use define-derived-mode.
18647
18648 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18649 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18650 that it's defined.
18651 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18652 Use define-derived-mode.
18653
18654 * epg.el (epg-start-encrypt): Minor CSE simplification.
18655
18656 2013-09-06 William Xu <william.xwl@gmail.com>
18657
18658 * arc-mode.el: Add support for 7za (bug#15264).
18659 (archive-7z-program): New var.
18660 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18661 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18662 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18663
18664 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18665
18666 Remove URL syntax.
18667
18668 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18669 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18670 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18671 (tramp-postfix-host-format, tramp-file-name-regexp)
18672 (tramp-completion-file-name-regexp)
18673 (tramp-completion-dissect-file-name)
18674 (tramp-handle-substitute-in-file-name): Remove 'url case.
18675 (tramp-file-name-regexp-url)
18676 (tramp-completion-file-name-regexp-url): Remove constants.
18677
18678 2013-09-06 Glenn Morris <rgm@gnu.org>
18679
18680 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18681
18682 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18683
18684 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18685 keywords" below "here-doc beginnings" (Bug#15270).
18686
18687 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18688
18689 * subr.el (pop): Use `car-safe'.
18690 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18691 to detect unused `pop' return value.
18692
18693 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18694 var `block-regexp'.
18695 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18696 (python-fill-string): Remove unused var `marker'.
18697 (python-skeleton-add-menu-items): Remove unused var `items'.
18698
18699 * international/mule-cmds.el: Require CL.
18700 (find-coding-systems-for-charsets): Avoid add-to-list.
18701 (sanitize-coding-system-list): New function, extracted from
18702 select-safe-coding-system-interactively.
18703 (select-safe-coding-system-interactively): Use it.
18704 (read-input-method-name): Accept symbols for `default'.
18705
18706 * emacs-lisp/advice.el (defadvice): Add indent rule.
18707
18708 2013-09-05 Daniel Hackney <dan@haxney.org>
18709
18710 * dired-x.el:
18711 * net/ange-ftp.el:
18712 * net/browse-url.el:
18713 * net/dbus.el:
18714 * net/eudc.el:
18715 * net/eudcb-ldap.el:
18716 * net/eww.el:
18717 * net/imap.el:
18718 * printing.el:
18719 * vc/ediff-diff.el:
18720 * vc/ediff-init.el:
18721 * vc/ediff-merg.el:
18722 * vc/ediff-mult.el:
18723 * vc/ediff-util.el:
18724 * vc/ediff-wind.el:
18725 * vc/ediff.el:
18726 * vc/emerge.el:
18727 * vc/pcvs.el:
18728 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18729 byte compiler. Remove some unused let-bound variables.
18730
18731 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18732
18733 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18734 a "ref-cell", since it gets better optimized (bug#14883).
18735
18736 2013-09-05 Glenn Morris <rgm@gnu.org>
18737
18738 * progmodes/cc-awk.el (c-forward-sws): Declare.
18739
18740 2013-09-04 Glenn Morris <rgm@gnu.org>
18741
18742 * generic-x.el [rul-generic-mode]: Require cc-mode.
18743 (c++-mode-syntax-table): Declare.
18744 (rul-generic-mode-syntax-table): Init in the defvar.
18745
18746 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18747
18748 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18749 (vc-do-command, vc-set-async-update):
18750 * vc/vc-mtn.el (vc-mtn-dir-status):
18751 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18752 (vc-hg-pull, vc-hg-merge-branch):
18753 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18754 (vc-git-merge-branch):
18755 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18756 (vc-cvs-dir-status-files):
18757 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18758 (vc-bzr-dir-status-files):
18759 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18760 * vc/vc-annotate.el: Use lexical-binding.
18761 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18762 (vc-sentinel-movepoint): Declare.
18763 (vc-annotate): Don't use `goto-line'.
18764 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18765 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18766 (vc-sentinel-movepoint): Declare.
18767 * vc/vc-svn.el: Use lexical-binding.
18768 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18769 * vc/vc-sccs.el:
18770 * vc/vc-rcs.el: Use lexical-binding.
18771
18772 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18773 `deleted'. Don't drop errors silently.
18774
18775 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18776
18777 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18778
18779 * vc/vc.el (vc-ignore): Rewrite.
18780 (vc-default-ignore): New function.
18781 (vc-default-ignore-completion-table): Use find-ignore-file.
18782
18783 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18784 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18785 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18786 Remove. Most code moved to vc.el.
18787
18788 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18789
18790 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18791 * net/tramp-smb.el (tramp-smb-get-file-entries):
18792 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18793 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18794
18795 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18796 Update call to it.
18797 (eww-change-select): Remove unused var `properties'.
18798 (eww-make-unique-file-name): Remove unused var `base'.
18799
18800 * finder.el (finder-compile-keywords): Don't mess with windows.
18801
18802 * calculator.el (calculator-funcall): Fix typo in last change.
18803
18804 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18805
18806 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18807 <pkg>-autoloads.el file stop us.
18808
18809 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18810 warnings, and factor out common code.
18811
18812 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18813
18814 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18815 two-character operators and whether the character preceding them
18816 changes their meaning (Bug#15208).
18817
18818 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18819
18820 Format code sent to Python shell for robustness.
18821 * progmodes/python.el (python-shell-buffer-substring):
18822 New function.
18823 (python-shell-send-region, python-shell-send-buffer): Use it.
18824
18825 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18826
18827 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18828 * net/tramp.el (tramp-user-error): ... here.
18829 (tramp-find-method, tramp-check-proper-host)
18830 (tramp-dissect-file-name, tramp-debug-message)
18831 (tramp-handle-shell-command):
18832 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18833 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18834
18835 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18836
18837 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18838
18839 * avoid.el (mouse-avoidance-point-position)
18840 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18841 returns nil.
18842
18843 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18844
18845 * progmodes/python.el (python-shell-completion-get-completions):
18846 Drop use of deleted `comint-last-prompt-overlay'.
18847 (python-nav-if-name-main): New command.
18848
18849 2013-09-01 Glenn Morris <rgm@gnu.org>
18850
18851 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18852 Avoid leading space in $wins. Otherwise the sed command used by
18853 eg compile-main ends up containing "/*.el". (Bug#15170)
18854
18855 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18856
18857 2013-08-30 Glenn Morris <rgm@gnu.org>
18858
18859 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18860 Fix is-this-a-directory logic. (Bug#15220)
18861
18862 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18863
18864 * textmodes/css-mode.el: Use SMIE.
18865 (css-smie-grammar): New var.
18866 (css-smie--forward-token, css-smie--backward-token)
18867 (css-smie-rules): New functions.
18868 (css-mode): Use them.
18869 (css-navigation-syntax-table): Remove var.
18870 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18871 (css-indent-calculate, css-indent-line): Remove functions.
18872
18873 Misc changes to reduce use of `(lambda...); and other cleanups.
18874 * cus-edit.el: Use lexical-binding.
18875 (customize-push-and-save, customize-apropos)
18876 (custom-buffer-create-internal): Use closures.
18877 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18878 * progmodes/ada-xref.el: Use setq.
18879 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18880 * dframe.el: Use lexical-binding.
18881 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18882 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18883 * descr-text.el: Use lexical-binding.
18884 (describe-text-widget, describe-text-sexp, describe-property-list):
18885 Use closures.
18886 * comint.el (comint-history-isearch-push-state): Use a closure.
18887 * calculator.el: Use lexical-binding.
18888 (calculator-number-to-string): Make it work with lexical-binding.
18889 (calculator-funcall): Same and use cl-letf.
18890
18891 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18892 (lisp--company-doc-string, lisp--company-location): New functions.
18893 (lisp-completion-at-point): Use them to improve Company support.
18894
18895 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18896 params of lambda expressions.
18897 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18898 (ruby-smie--opening-pipe-p): New function.
18899 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18900 symbols and matched |...| for formal params.
18901 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18902 from being treated as hanging. Handle "rescue".
18903
18904 2013-08-29 Glenn Morris <rgm@gnu.org>
18905
18906 * progmodes/cc-engine.el (c-pull-open-brace):
18907 Move definition before use.
18908
18909 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18912 are immutable. Don't use `unsafe' any more.
18913 (cl--defsubst-expand): Don't substitute at the same time as keeping
18914 a residual unused let-binding. Don't use `unsafe' any more.
18915
18916 2013-08-29 Glenn Morris <rgm@gnu.org>
18917
18918 * calendar/cal-china.el (calendar-chinese-year-cache):
18919 Recenter on 2015.
18920
18921 * nxml/nxml-util.el (nxml-debug-clear-inside):
18922 Use cl-loop rather than loop.
18923
18924 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18925
18926 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18927
18928 2013-08-28 Glenn Morris <rgm@gnu.org>
18929
18930 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18931
18932 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18933
18934 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18935
18936 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18937
18938 * simple.el (repeat-complex-command--called-interactively-skip):
18939 New function.
18940 (repeat-complex-command): Use it (bug#14136).
18941
18942 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18943 (c-define-abbrev-table): Add `doc' argument.
18944 (c-mode-abbrev-table, c++-mode-abbrev-table)
18945 (objc-mode-abbrev-table, java-mode-abbrev-table)
18946 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18947 (awk-mode-abbrev-table): Use it.
18948 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18949 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18950 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18951 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18952 Move initialization into the declaration; and remove any
18953 autoload cookie.
18954
18955 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18956 and dynamic let binding.
18957
18958 * vc/smerge-mode.el: Remove redundant :group args.
18959
18960 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18961 to load-path.
18962
18963 2013-08-28 Juri Linkov <juri@jurta.org>
18964
18965 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18966 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18967 (isearch-other-meta-char): Handle an undefined shifted printing
18968 character by downshifting it. (Bug#15200)
18969
18970 2013-08-28 Juri Linkov <juri@jurta.org>
18971
18972 * isearch.el (isearch-search): Change regexp error message for
18973 non-regexp searches. (Bug#15166)
18974
18975 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18976
18977 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18978 for portability to hosts where /bin/sh has problems.
18979
18980 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18981
18982 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18983
18984 2013-08-27 Juri Linkov <juri@jurta.org>
18985
18986 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18987 in the keyboard macro. (Bug#15126)
18988
18989 2013-08-27 Juri Linkov <juri@jurta.org>
18990
18991 * isearch.el (isearch-quote-char): Comment out converting unibyte
18992 to multibyte, thus syncing with its `quoted-insert' counterpart.
18993 (Bug#15166)
18994
18995 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18996
18997 * window.el (display-buffer-use-some-window): Add missing
18998 argument in call of get-largest-window (Bug#15185).
18999 Reported by Stephen Leake.
19000
19001 2013-08-27 Glenn Morris <rgm@gnu.org>
19002
19003 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19004
19005 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19006
19007 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19008 from a matcher-function unless there's no more matches (bug#15161).
19009
19010 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19011
19012 * minibuffer.el: Revert change from 2013-08-20.
19013
19014 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19015 with text property `tramp-default', if appropriate.
19016 (tramp-check-proper-host): New defun.
19017 (tramp-dissect-file-name): Do not check hostname. Revert change
19018 of 2013-03-18.
19019 (tramp-backtrace): Make VEC-OR-PROC optional.
19020
19021 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19022 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19023 * net/tramp-sh.el (tramp-maybe-open-connection):
19024 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19025 Apply `tramp-check-proper-host'.
19026
19027 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19028
19029 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19030 lambda expression in order to have `describe-variable' display it.
19031
19032 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19033
19034 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19035 BUF can be optional. (Bug#15186)
19036
19037 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19038
19039 * progmodes/flymake.el (flymake-get-real-file-name-function):
19040 Fix broken customization. (Bug#15184)
19041
19042 2013-08-25 Alan Mackenzie <acm@muc.de>
19043
19044 Improve indentation of bracelists defined by macros (without "=").
19045
19046 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19047 expansion begins with "{", regard it as bracelist when it doesn't
19048 contain a ";".
19049
19050 Parse C++ inher-intro when there's a template split over 2 lines.
19051
19052 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19053 rigorously the search for "class" etc. followed by ":".
19054
19055 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19056 random languages a regexp which never matches rather than nil.
19057
19058 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19059
19060 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19061 (c-awk-regexp-one-line-possibly-open-char-list-re)
19062 (c-awk-one-line-possibly-open-regexp-re)
19063 (c-awk-one-line-non-syn-ws*-re): Remove.
19064 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19065 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19066 (c-awk-space*-unclosed-regexp-/-re): New constants.
19067 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19068 aren't regexp delimiters.
19069
19070 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19071 handling for a rare situation in AWK Mode involving unterminated
19072 strings/regexps.
19073
19074 2013-08-23 Glenn Morris <rgm@gnu.org>
19075
19076 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19077
19078 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19079
19080 * files.el (create-file-buffer): If the result would begin with
19081 spaces, prepend a "|" instead of removing them. (Bug#15162)
19082
19083 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19084
19085 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19086 text-properties (bug#15155).
19087
19088 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19089 exist any more.
19090 (calc-keypad-redraw): Remove unused var `pad'.
19091 (calc-keypad-press): Remove unused var `menu'.
19092
19093 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19094
19095 * window.el (display-buffer-pop-up-frame):
19096 Call pop-up-frame-function with BUFFER current so `make-frame' will
19097 use it as the new frame's buffer (Bug#15133).
19098
19099 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19100
19101 * calendar/timeclock.el: Minor cleanups.
19102 (timeclock-ask-before-exiting, timeclock-use-display-time):
19103 Use `symbol'.
19104 (timeclock-modeline-display): Define as alias before the
19105 actual definition.
19106 (timeclock-mode-line-display): Use define-minor-mode.
19107 (timeclock-day-list-template): Make it a function, add an argument.
19108 (timeclock-day-list-required, timeclock-day-list-length)
19109 (timeclock-day-list-debt, timeclock-day-list-span)
19110 (timeclock-day-list-break): Adjust calls accordingly.
19111
19112 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19115 Use read--expression so that completion works again.
19116
19117 2013-08-21 Sam Steingold <sds@gnu.org>
19118
19119 Add rudimentary inferior shell interaction
19120 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19121 (sh-set-shell): Reset it.
19122 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19123 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19124
19125 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19126
19127 * align.el: Use lexical-binding.
19128 (align-region): Simplify accordingly.
19129
19130 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19131
19132 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19133
19134 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19135 `non-essential' up.
19136
19137 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19138
19139 * net/tramp.el:
19140 * net/tramp-adb.el:
19141 * net/tramp-cmds.el:
19142 * net/tramp-ftp.el:
19143 * net/tramp-gvfs.el:
19144 * net/tramp-gw.el:
19145 * net/tramp-sh.el: Don't wrap external variable declarations by
19146 `eval-when-compile'.
19147
19148 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19149
19150 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19151 now that Emacs supports ImageMagick animations.
19152
19153 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19154
19155 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19156 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19157
19158 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19159
19160 * window.el (mouse-autoselect-window-select): Do autoselect when
19161 mouse pointer is on margin.
19162
19163 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19164
19165 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19166
19167 2013-08-16 Glenn Morris <rgm@gnu.org>
19168
19169 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19170 Handle "Remote Directory" response of some clients. (Bug#15058)
19171
19172 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19173 Tweak warning. (Bug#14926)
19174
19175 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19176 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19177
19178 * image-mode.el (image-mode-map): Add menu items to reverse,
19179 increase, decrease, reset animation speed.
19180 (image--set-speed, image-increase-speed, image-decrease-speed)
19181 (image-reverse-speed, image-reset-speed): New functions.
19182 (image-mode-map): Add bindings for speed commands.
19183
19184 * image.el (image-animate-get-speed, image-animate-set-speed):
19185 New functions.
19186 (image-animate-timeout): Respect image :speed property.
19187
19188 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19189
19190 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19191 previous line (bug#15101).
19192 (debugger-eval-expression, debugger-record-expression):
19193 Use read--expression (bug#15102).
19194
19195 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19196
19197 Remove byte compiler warnings, visible when compiling with
19198 `byte-compile-force-lexical-warnings' set to t.
19199
19200 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19201 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19202 (tramp-handle-unhandled-file-name-directory)
19203 (tramp-handle-file-notify-add-watch, tramp-action-login)
19204 (tramp-action-succeed, tramp-action-permission-denied)
19205 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19206 arguments with "_".
19207
19208 * net/tramp-adb.el (tramp-adb-parse-device-names)
19209 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19210 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19211 (tramp-adb-handle-file-truename): Remove unused arguments.
19212
19213 * net/tramp-cache.el (tramp-flush-directory-property)
19214 (tramp-flush-connection-property, tramp-list-connections)
19215 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19216
19217 * net/tramp-compat.el (tramp-compat-make-temp-file):
19218 Rename FILENAME to F.
19219
19220 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19221 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19222 (tramp-zeroconf-parse-workstation-device-names)
19223 (tramp-zeroconf-parse-webdav-device-names)
19224 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19225
19226 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19227 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19228
19229 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19230 arguments.
19231 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19232 (tramp-sh-handle-insert-file-contents-literally)
19233 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19234 with "_".
19235 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19236 Remove unused variables.
19237
19238 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19239 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19240 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19241
19242 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19243 Make them a defconst.
19244 (tramp-uuencode-region): Remove unused variable.
19245
19246 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19247
19248 * frameset.el (frameset--prop-setter): New function.
19249 (frameset-prop): Add gv-setter declaration.
19250 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19251 parameter was already set in FILTERED. Doc fix.
19252 (frameset--record-minibuffer-relationships): Allow saving a
19253 minibufferless frame without its corresponding minibuffer frame.
19254 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19255 frame, if the frame id matches.
19256 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19257 frames before orphaned ones.
19258 (frameset-restore): Warn about orphaned windows, instead of error out.
19259
19260 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19261
19262 * window.el (window-make-atom): Don't overwrite parameter
19263 already present.
19264 (display-buffer-in-atom-window): Handle special case where we
19265 split an already atomic window.
19266 (window--major-non-side-window, display-buffer-in-side-window)
19267 (window--side-check): Ignore minibuffer window when walking
19268 window tree.
19269 (window-deletable-p): Return 'frame only if no other frame uses
19270 our minibuffer window.
19271 (record-window-buffer): Run buffer-list-update-hook.
19272 (split-window): Make sure window--check-frame won't destroy an
19273 existing atomic window in case the new window gets nested
19274 inside.
19275 (display-buffer-at-bottom): Ignore minibuffer window when
19276 walking window tree. Don't split a side window.
19277 (pop-to-buffer): Don't set-buffer here, the select-window call
19278 should do that.
19279 (mouse-autoselect-window-select): Autoselect only if we are in the
19280 text portion of the window.
19281
19282 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19283
19284 * net/shr.el (shr-parse-image-data): New function to grab both the
19285 data itself and the Content-Type.
19286 (shr-put-image): Use it.
19287
19288 * net/eww.el (eww-display-image): Ditto.
19289
19290 * image.el (image-content-type-suffixes): New variable.
19291
19292 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19293
19294 * progmodes/python.el (python-imenu--build-tree)
19295 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19296
19297 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19298
19299 * simple.el (backward-word): Mention the optional argument.
19300
19301 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19302
19303 * frameset.el (frameset--make): Rename constructor from make-frameset.
19304 (frameset-p, frameset-valid-p): Don't autoload.
19305 (frameset-valid-p): Use normal accessors.
19306
19307 2013-08-13 Glenn Morris <rgm@gnu.org>
19308
19309 * progmodes/compile.el (compile-command): Tweak example in doc.
19310 * obsolete/scribe.el (scribe-mode):
19311 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19312
19313 * mail/feedmail.el (feedmail-confirm-outgoing)
19314 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19315
19316 * cus-start.el (truncate-partial-width-windows): Fix type.
19317
19318 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19319
19320 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19321
19322 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19323
19324 * emacs-lisp/timer.el (timer--time-setter): New function.
19325 (timer--time): Use it as gv-setter.
19326
19327 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19328 setter is not a symbol.
19329
19330 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19331
19332 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19333 if sending fails. This makes debugging easier.
19334
19335 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19336
19337 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19338 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19339 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19340
19341 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19342
19343 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19344
19345 2013-08-12 Glenn Morris <rgm@gnu.org>
19346
19347 * format.el (format-annotate-function):
19348 Handle read-only text properties in the source. (Bug#14887)
19349
19350 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19351
19352 * net/eww.el (eww-display-html): Ignore coding system errors.
19353 One web site uses "utf-8lias" as the coding system.
19354
19355 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19356
19357 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19358
19359 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19360
19361 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19362 (tutorial--detailed-help): Remove unused local variables.
19363 (tutorial--save-tutorial-to): Use ignore-errors.
19364 (help-with-tutorial): Use looking-at-p.
19365
19366 * view.el (view-buffer-other-window, view-buffer-other-frame):
19367 Mark unused arguments.
19368
19369 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19370 (woman-select-symbol-fonts, woman, woman-find-file)
19371 (woman-insert-file-contents, woman-non-underline-faces):
19372 Use string-match-p.
19373 (woman1-unquote): Move declaration.
19374
19375 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19376 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19377 argument. Remove unused local variable.
19378 (xml-parse-elem-type): Use string-match-p.
19379 (xml-substitute-numeric-entities): Use ignore-errors.
19380
19381 * calculator.el (calculator): Mark unused argument.
19382 (calculator-paste, calculator-quit, calculator-integer-p):
19383 Use ignore-errors.
19384 (calculator-string-to-number, calculator-decimal, calculator-exp)
19385 (calculator-op-or-exp): Use string-match-p.
19386
19387 * dired.el (dired-buffer-more-recently-used-p): Declare.
19388 (dired-insert-set-properties, dired-insert-old-subdirs):
19389 Use ignore-errors.
19390
19391 * dired-aux.el (dired-compress): Use ignore-errors.
19392 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19393 (dired-do-async-shell-command, dired-do-shell-command)
19394 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19395 (dired-insert-subdir-validate): Use string-match-p.
19396 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19397 (dired-add-entry): Use string-match-p, looking-at-p.
19398 (dired-insert-subdir-newpos): Remove unused local variable.
19399
19400 * filenotify.el (file-notify-callback): Remove unused local variable.
19401
19402 * filesets.el (filesets-error): Mark unused argument.
19403 (filesets-which-command-p, filesets-filter-dir-names)
19404 (filesets-directory-files, filesets-get-external-viewer)
19405 (filesets-ingroup-get-data): Use string-match-p.
19406
19407 * find-file.el (ff-other-file-name, ff-other-file-name)
19408 (ff-find-the-other-file, ff-cc-hh-converter):
19409 Remove unused local variables.
19410 (ff-get-file-name): Use string-match-p.
19411 (ff-all-dirs-under): Use ignore-errors.
19412
19413 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19414 (follow-select-if-visible): Remove unused local variable.
19415
19416 * forms.el (read-file-filter): Move declaration.
19417 (forms--make-format, forms--make-parser, forms-insert-record):
19418 Quote function with #'.
19419 (forms--update): Use string-match-p. Quote function with #'.
19420
19421 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19422 (help-make-xrefs): Use looking-at-p.
19423 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19424
19425 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19426 (ibuffer-confirm-operation-on): Use string-match-p.
19427
19428 * msb.el (msb-item-handler, msb-dired-item-handler):
19429 Mark unused arguments.
19430
19431 * ses.el (ses-decode-cell-symbol)
19432 (ses-kill-override): Remove unused local variable.
19433 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19434 (ses-load): Use ignore-errors, looking-at-p.
19435 (ses-jump-safe): Use ignore-errors.
19436 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19437
19438 * tabify.el (untabify, tabify): Mark unused arguments.
19439
19440 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19441 Mark unused argument.
19442 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19443 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19444
19445 * emacs-lisp/timer.el (timer--time): Define setter with
19446 gv-define-setter to avoid deprecation warning.
19447
19448 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19449 (*record-cmpl-statistics-p*): Remove (was commented out).
19450 (cmpl-statistics-block): Remove (body was commented out).
19451 All callers changed.
19452 (add-completions-from-buffer, load-completions-from-file):
19453 Remove unused variables.
19454
19455 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19456
19457 * filecache.el (file-cache-delete-file-list):
19458 Print message only when told so.
19459 (file-cache-files-matching): Use #' in mapconcat argument.
19460
19461 * ffap.el (ffap-url-at-point): Fix reference to variable
19462 thing-at-point-default-mail-uri-scheme.
19463
19464 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19465
19466 * subr.el (define-error): New function.
19467 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19468 error-file-not-found and define with define-error.
19469 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19470 and define with define-error.
19471 * userlock.el (file-locked, file-supersession):
19472 * simple.el (mark-inactive):
19473 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19474 * progmodes/ada-mode.el (ada-mode-errors):
19475 * play/life.el (life-extinct):
19476 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19477 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19478 * nxml/rng-util.el (rng-error):
19479 * nxml/rng-uri.el (rng-uri-error):
19480 * nxml/rng-match.el (rng-compile-error):
19481 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19482 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19483 * nxml/nxml-rap.el (nxml-scan-error):
19484 * nxml/nxml-outln.el (nxml-outline-error):
19485 * net/soap-client.el (soap-error):
19486 * net/gnutls.el (gnutls-error):
19487 * net/ange-ftp.el (ftp-error):
19488 * mpc.el (mpc-proc-error):
19489 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19490 (json-number-format, json-string-escape, json-string-format)
19491 (json-key-format, json-object-format):
19492 * jka-compr.el (compression-error):
19493 * international/quail.el (quail-error):
19494 * international/kkc.el (kkc-error):
19495 * emacs-lisp/ert.el (ert-test-failed):
19496 * calc/calc.el (calc-error, inexact-result, math-overflow)
19497 (math-underflow):
19498 * bookmark.el (bookmark-error-no-filename):
19499 * epg.el (epg-error): Define with define-error.
19500
19501 * time.el (display-time-event-handler)
19502 (display-time-next-load-average): Don't call sit-for since it seems
19503 unnecessary (bug#15045).
19504
19505 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19506 Use #' instead of ' to quote functions.
19507 (checkdoc-output-mode): Use setq-local.
19508 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19509 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19510 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19511 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19512 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19513 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19514 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19515 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19516
19517 * ido.el (ido-completion-help): Fix up compiler warning.
19518
19519 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19520
19521 * frameset.el (frameset-p): Add autoload cookie.
19522 (frameset--jump-to-register): New function, based on code moved from
19523 register.el.
19524 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19525
19526 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19527 (frameset-restore, frameset-save, frameset-session-filter-alist):
19528 Remove declarations.
19529 (register-alist): Doc fix.
19530 (frameset-to-register): Move to frameset.el.
19531 (jump-to-register, describe-register-1): Remove frameset-specific code.
19532
19533 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19534
19535 * allout-widgets.el (allout-widgets-pre-command-business)
19536 (allout-widgets-post-command-business)
19537 (allout-widgets-after-change-handler)
19538 (allout-decorate-item-and-context, allout-set-boundary-marker)
19539 (allout-body-modification-handler)
19540 (allout-graphics-modification-handler): Mark ignored arguments.
19541 (allout-widgets-post-command-business)
19542 (allout-widgets-exposure-change-processor)
19543 (allout-widgets-exposure-undo-processor)
19544 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19545 (allout-parse-item-at-point, allout-decorate-item-guides)
19546 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19547 * allout.el (epa-passphrase-callback-function): Declare.
19548 (allout-overlay-insert-in-front-handler)
19549 (allout-overlay-interior-modification-handler)
19550 (allout-isearch-end-handler, allout-chart-siblings)
19551 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19552 (allout-yank-processing, allout-process-exposed)
19553 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19554 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19555 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19556 (lisp-indent-defform): Mark ignored arguments.
19557 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19558 (calculate-lisp-indent): Remove unused variables.
19559 * international/characters.el (indian-2-column, arabic-2-column)
19560 (tibetan): Mark ignored arguments.
19561 (use-cjk-char-width-table): Mark ignored arguments.
19562 Remove unused variables.
19563 * international/fontset.el (build-default-fontset-data)
19564 (x-compose-font-name, create-fontset-from-fontset-spec):
19565 Mark ignored arguments.
19566 (fontset-plain-name): Remove unused variables.
19567 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19568 (keyboard-coding-system): Mark ignored arguments.
19569 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19570 * help.el (resize-temp-buffer-window):
19571 * window.el (display-buffer-in-major-side-window)
19572 (display-buffer-in-side-window, display-buffer-in-previous-window):
19573 Remove unused variables.
19574 * isearch.el (isearch-forward-symbol):
19575 * version.el (emacs-bzr-version-bzr):
19576 * international/mule-cmds.el (current-language-environment):
19577 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19578 (x-handle-display):
19579 * term/pc-win.el (x-list-fonts, x-display-planes)
19580 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19581 (x-server-version, x-display-screens, x-display-mm-height)
19582 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19583 (x-selection-owner-p, x-own-selection-internal)
19584 (x-disown-selection-internal, x-get-selection-internal)
19585 (msdos-initialize-window-system):
19586 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19587 * term/x-win.el (x-handle-no-bitmap-icon):
19588 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19589 (vc-default-find-file-hook, vc-default-extra-menu):
19590 Mark ignored arguments.
19591
19592 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19593
19594 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19595 break-condition in the context of the debugged code (bug#12685).
19596
19597 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19598
19599 * comint.el:
19600 Do not use an overlay to highlight the last prompt. (Bug#14744)
19601 (comint-mode): Make comint-last-prompt buffer local.
19602 (comint-last-prompt): New variable.
19603 (comint-last-prompt-overlay): Remove. Superseded by
19604 comint-last-prompt.
19605 (comint-snapshot-last-prompt, comint-output-filter):
19606 Use comint-last-prompt.
19607
19608 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19609
19610 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19611 (frameset-save): Check validity of the resulting frameset.
19612
19613 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19614
19615 * ido.el (ido-record-command): Add doc string.
19616
19617 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19618
19619 * frameset.el (frameset): Do not disable creation of the default
19620 frameset-p predicate. Doc fix.
19621 (frameset-valid-p): New function, copied from the old predicate-p.
19622 Add additional checks.
19623 (frameset-restore): Check with frameset-valid-p.
19624 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19625 (frameset-name, frameset-description, frameset-properties)
19626 (frameset-states): Add docstring.
19627 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19628 (frameset-filter-alist): Doc fixes.
19629
19630 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19631
19632 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19633
19634 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19635
19636 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19637 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19638 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19639 (byte-compile-normal-call): Remove obsolescence check.
19640
19641 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19642
19643 * frameset.el (frameset-restore): Doc fix.
19644
19645 * register.el (frameset-frame-id, frameset-frame-with-id)
19646 (frameset-p, frameset-restore, frameset-save): Declare.
19647 (register-alist): Document framesets.
19648 (frameset-session-filter-alist): Declare.
19649 (frameset-to-register): New function.
19650 (jump-to-register): Implement jumping to framesets. Doc fix.
19651 (describe-register-1): Describe framesets.
19652
19653 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19654
19655 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19656
19657 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19658 Use lexical-binding.
19659
19660 * frameset.el (frameset): Use type vector, not list (incompatible
19661 change). Do not declare a new constructor, use the default one.
19662 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19663 `name' and `description', respectively, and add read-only slot
19664 `timestamp'. Doc fixes.
19665 (frameset-copy, frameset-persistent-filter-alist)
19666 (frameset-filter-alist, frameset-switch-to-gui-p)
19667 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19668 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19669 (frameset-filter-iconified, frameset-keep-original-display-p):
19670 Doc fixes.
19671 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19672 Rename from frameset-filter-(save|restore)-param. All callers changed.
19673 Doc fix.
19674 (frameset-p): Adapt to change to vector and be more thorough.
19675 Change arg name to OBJECT. Doc fix.
19676 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19677 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19678 All callers changed.
19679 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19680 All callers changed.
19681 (frameset--record-minibuffer-relationships): Rename from
19682 frameset--process-minibuffer-frames. All callers changed.
19683 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19684 Use new default constructor (again). Doc fix.
19685 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19686 All callers changed.
19687 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19688 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19689 Doc fix.
19690 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19691 PARAMETERS and WINDOW-STATE, respectively.
19692 (frameset-restore): Add new keyword argument PREDICATE.
19693 Reset frameset--target-display to nil. Doc fix.
19694
19695 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19696
19697 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19698 (bat-mode): Use it.
19699 (bat-mode-syntax-table): Mark \n as end-of-comment.
19700 (bat-font-lock-keywords): Remove comment rule.
19701
19702 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19703 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19704
19705 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19706 (byte-compile-callargs-warn): Use `push'.
19707 (byte-compile-arglist-warn): Ignore higher-order "calls".
19708 (byte-compile-file-form-autoload): Use `pcase'.
19709 (byte-compile-function-form): If quoting a symbol, check that it exists.
19710
19711 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19712
19713 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19714 and add a few popular commands found in batch files.
19715 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19716 (dos-mode): Doc fixes.
19717
19718 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19719
19720 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19721 (dos-mode): Use setq-local. Add space after "rem".
19722 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19723 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19724
19725 2013-08-07 Arni Magnusson <arnima@hafro.is>
19726
19727 * progmodes/dos.el: New file.
19728 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19729 dos-mode.
19730
19731 2013-08-06 Glenn Morris <rgm@gnu.org>
19732
19733 * calendar/calendar.el: Add new faces, and day-header-array.
19734 (calendar-weekday-header, calendar-weekend-header)
19735 (calendar-month-header): New faces.
19736 (calendar-day-header-construct): New function.
19737 (calendar-day-header-width): Also :set calendar-day-header-array.
19738 (calendar-american-month-header, calendar-european-month-header)
19739 (calendar-iso-month-header): Use calendar- faces.
19740 (calendar-generate-month):
19741 Use calendar-day-header-array for day headers; apply faces to them.
19742 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19743 (calendar-abbrev-construct): Add optional maxlen argument.
19744 (calendar-day-name-array): Doc fix.
19745 (calendar-day-name-array, calendar-abbrev-length)
19746 (calendar-day-abbrev-array):
19747 Also :set calendar-day-header-array, and maybe redraw.
19748 (calendar-day-header-array): New option. (Bug#15007)
19749 (calendar-font-lock-keywords): Set to nil and make obsolete.
19750 (calendar-day-name): Add option to use header array.
19751
19752 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19753
19754 * net/shr.el (shr-render-td): Remove debugging.
19755 (shr-render-td): Make width computation consistent by defaulting
19756 all zero-width columns to 10 characters. This may not be optimal,
19757 but it's at least consistent.
19758 (shr-make-table-1): Redo last change to fix the real problem in
19759 colspan handling.
19760
19761 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19762
19763 * files.el (cache-long-line-scans):
19764 Make obsolete alias to `cache-long-scans'.
19765
19766 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19767
19768 * frameset.el (frameset, frameset-filter-alist)
19769 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19770 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19771 (frameset-compute-pos): Rename from frameset--compute-pos,
19772 and add docstring.
19773 (frameset-move-onscreen): Use frameset-compute-pos.
19774 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19775
19776 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19777 Fix typos in docstrings.
19778
19779 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19780
19781 * frame.el (get-other-frame): Tiny cleanup.
19782
19783 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19784
19785 * vc/vc.el (vc-default-ignore-completion-table):
19786 Silence byte-compiler warning.
19787
19788 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19789 slot, which can indeed be nil.
19790 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19791 Move entry for `left' from persistent to live filter alist.
19792 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19793 Doc fixes.
19794 (frameset-filter-params): When restoring a frame, copy items added to
19795 `filtered', to avoid unwittingly modifying the original parameters.
19796 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19797 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19798
19799 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19800 to use looking-at-p instead of looking-at. (Bug#15028)
19801
19802 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19803
19804 Revert introduction of isearch-filter-predicates (bug#14714).
19805 Rely on add-function instead.
19806 * isearch.el (isearch-filter-predicates): Rename it back to
19807 isearch-filter-predicate.
19808 (isearch-message-prefix): Use advice-function-mapc and advice
19809 properties to get the isearch-message-prefix.
19810 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19811 instead of run-hook-with-args-until-failure.
19812 (isearch-filter-visible): Not obsolete any more.
19813 * loadup.el: Preload nadvice.
19814 * replace.el (perform-replace): Revert to funcall
19815 instead of run-hook-with-args-until-failure.
19816 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19817 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19818 dired-isearch-filenames-toggle; make it into a proper minor mode.
19819 Use add/remove-function.
19820 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19821 Call the minor-mode rather than add/remove-hook.
19822 (dired-isearch-filter-filenames):
19823 Remove isearch-message-prefix property.
19824 * info.el (Info--search-loop): New function, extracted from Info-search.
19825 Funcall isearch-filter-predicate instead of
19826 run-hook-with-args-until-failure isearch-filter-predicates.
19827 (Info-search): Use it.
19828 (Info-mode): Use isearch-filter-predicate instead of
19829 isearch-filter-predicates.
19830
19831 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19832
19833 Do not call to `selected-window' where it is assumed by default.
19834 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19835 `window-hscroll', `window-width', `window-height', `window-buffer',
19836 `window-frame', `window-start', `window-point', `next-window'
19837 and `window-display-table'.
19838 * abbrev.el (abbrev--default-expand):
19839 * bs.el (bs--show-with-configuration):
19840 * buff-menu.el (Buffer-menu-mouse-select):
19841 * calc/calc.el (calc):
19842 * calendar/calendar.el (calendar-generate-window):
19843 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19844 (diary-make-entry):
19845 * comint.el (send-invisible, comint-dynamic-complete-filename)
19846 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19847 * completion.el (complete):
19848 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19849 * disp-table.el (describe-current-display-table):
19850 * doc-view.el (doc-view-insert-image):
19851 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19852 * ehelp.el (with-electric-help):
19853 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19854 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19855 * emacs-lisp/helper.el (Helper-help-scroller):
19856 * emulation/cua-base.el (cua--post-command-handler-1):
19857 * eshell/esh-mode.el (eshell-output-filter):
19858 * ffap.el (ffap-gnus-wrapper):
19859 * help-macro.el (make-help-screen):
19860 * hilit-chg.el (highlight-compare-buffers):
19861 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19862 * hl-line.el (global-hl-line-highlight):
19863 * icomplete.el (icomplete-simple-completing-p):
19864 * isearch.el (isearch-done):
19865 * jit-lock.el (jit-lock-stealth-fontify):
19866 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19867 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19868 * mpc.el (mpc-tagbrowser, mpc):
19869 * net/rcirc.el (rcirc-any-buffer):
19870 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19871 * play/landmark.el (landmark-max-width, landmark-max-height):
19872 * play/zone.el (zone):
19873 * progmodes/compile.el (compilation-goto-locus):
19874 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19875 * progmodes/etags.el (find-tag-other-window):
19876 * progmodes/fortran.el (fortran-column-ruler):
19877 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19878 * progmodes/verilog-mode.el (verilog-point-text):
19879 * reposition.el (reposition-window):
19880 * rot13.el (toggle-rot13-mode):
19881 * server.el (server-switch-buffer):
19882 * shell.el (shell-dynamic-complete-command)
19883 (shell-dynamic-complete-environment-variable):
19884 * simple.el (insert-buffer, set-selective-display)
19885 (delete-completion-window):
19886 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19887 (speedbar-recenter):
19888 * startup.el (fancy-splash-head):
19889 * textmodes/ispell.el (ispell-command-loop):
19890 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19891 * tutorial.el (help-with-tutorial):
19892 * vc/add-log.el (add-change-log-entry):
19893 * vc/compare-w.el (compare-windows):
19894 * vc/ediff-help.el (ediff-indent-help-message):
19895 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19896 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19897 (ediff-setup-control-frame):
19898 * vc/emerge.el (emerge-position-region):
19899 * vc/pcvs-util.el (cvs-bury-buffer):
19900 * window.el (walk-windows, mouse-autoselect-window-select):
19901 * winner.el (winner-set-conf, winner-undo): Related users changed.
19902
19903 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19904
19905 * frameset.el (frameset--set-id): Doc fix.
19906 (frameset-frame-id, frameset-frame-id-equal-p)
19907 (frameset-locate-frame-id): New functions.
19908 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19909 (frameset-restore): Use them.
19910
19911 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19912
19913 Do not call to `selected-frame' where it is assumed by default.
19914 Affected functions are `raise-frame', `redraw-frame',
19915 `frame-first-window', `frame-terminal' and `delete-frame'.
19916 * calendar/appt.el (appt-disp-window):
19917 * epg.el (epg-wait-for-completion):
19918 * follow.el (follow-delete-other-windows-and-split)
19919 (follow-avoid-tail-recenter):
19920 * international/mule.el (set-terminal-coding-system):
19921 * mail/rmail.el (rmail-mail-return):
19922 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19923 * progmodes/f90.el (f90-add-imenu-menu):
19924 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19925 * server.el (server-switch-buffer):
19926 * simple.el (delete-completion-window):
19927 * talk.el (talk):
19928 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19929 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19930 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19931 * vc/ediff.el (ediff-documentation): Related users changed.
19932 * frame.el (selected-terminal): Remove the leftover.
19933
19934 2013-08-05 Glenn Morris <rgm@gnu.org>
19935
19936 * calendar/calendar.el (calendar-generate-month):
19937 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19938 (calendar-generate-month, calendar-font-lock-keywords):
19939 Fix for calendar-day-header-width > length of any day name.
19940
19941 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19942
19943 * desktop.el (desktop-clear): Use new name of sort predicate.
19944
19945 * frameset.el (frameset): Add docstring. Move :version property to its
19946 own `version' slot.
19947 (frameset-copy): Rename from copy-frameset.
19948 (frameset-p): Check more thoroughly.
19949 (frameset-prop): Do not check for :version, which is no longer a prop.
19950 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19951 Use new :never value instead of t.
19952 (frameset-filter-alist): Expand and clarify docstring.
19953 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19954 (frameset-filter-minibuffer, frameset-filter-save-param)
19955 (frameset-filter-restore-param, frameset-filter-iconified):
19956 Add pointer to docstring of frameset-filter-alist.
19957 (frameset-filter-params): Rename filter values to be more meaningful:
19958 :never instead of t, and reverse the meanings of :save and :restore.
19959 (frameset--process-minibuffer-frames): Clarify error message.
19960 (frameset-save): Avoid unnecessary and confusing call to framep.
19961 Use new BOA constructor for framesets.
19962 (frameset--reuse-list): Doc fix.
19963 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19964 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19965 (frameset-minibufferless-first-p): Doc fix.
19966 Rename from frameset-sort-frames-for-deletion.
19967 (frameset-restore): Doc fixes. Use new function names.
19968 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19969
19970 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19971
19972 * desktop.el (desktop-restore-forces-onscreen)
19973 (desktop-restore-reuses-frames): Document :keyword constant values.
19974 (desktop-filter-parameters-alist): Remove, now identical to
19975 frameset-filter-alist.
19976 (desktop--filter-tty*): Remove, moved to frameset.el.
19977 (desktop-save-frameset, desktop-restore-frameset):
19978 Do not pass :filters argument.
19979
19980 * frameset.el (frameset-live-filter-alist)
19981 (frameset-persistent-filter-alist): New variables.
19982 (frameset-filter-alist): Use them. Add autoload cookie.
19983 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19984 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19985 `frameset--id' (it's supposed to be internal to frameset.el).
19986 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19987 (frameset--initial-params): New function.
19988 (frameset--get-frame): Use it. Doc fix.
19989 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19990 Accept :all, not 'all.
19991 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19992 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19993 with fbound symbols. Fix frame id matching, and remove matching ids if
19994 the frame being restored is deleted. Obey :delete.
19995
19996 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19997
19998 * subr.el (macrop): New function.
19999 (text-clone--maintaining): New var.
20000 (text-clone--maintain): Rename from text-clone-maintain. Use it
20001 instead of inhibit-modification-hooks.
20002
20003 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20004 a proxy, so as handle autoloads and redefinitions of the target.
20005 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20006
20007 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20008 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20009 (pcase--mutually-exclusive-p): New function.
20010 (pcase--split-consp): Use it.
20011 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20012 mutually exclusive with the current predicate.
20013
20014 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20015 (edebug-macrop): Remove. Use `macrop' instead.
20016 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20017 (ad-macro-p):
20018 * eshell/esh-cmd.el (eshell-macrop):
20019 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20020
20021 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20022
20023 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20024 (advice-mapc): New function, using it.
20025 (advice-function-member-p): New function.
20026 (advice--normalize): Store the cdr in advice--saved-rewrite since
20027 that's the part that will be changed.
20028 (advice--symbol-function): New function.
20029 (advice-remove): Handle removal before the function is defined.
20030 Adjust to new advice--saved-rewrite.
20031 (advice-member-p): Use advice-function-member-p and
20032 advice--symbol-function.
20033
20034 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20035
20036 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20037 (frameset-filter-minibuffer): Doc fix.
20038 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20039 (frameset--set-id, frameset--process-minibuffer-frames)
20040 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20041 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20042
20043 * desktop.el (desktop-clear): Only delete frames when called
20044 interactively and desktop-restore-frames is non-nil. Doc fix.
20045 (desktop-read): Set desktop-saved-frameset to nil.
20046
20047 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20048
20049 * vc/vc.el (vc-ignore): Rewrite.
20050 (vc-default-ignore-completion-table, vc--read-lines)
20051 (vc--add-line, vc--remove-regexp): New functions.
20052
20053 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20054 (vc-svn-ignore-completion-table): New function.
20055
20056 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20057 (vc-hg-ignore-completion-table)
20058 (vc-hg-find-ignore-file): New functions.
20059
20060 * vc/vc-git.el (vc-git-ignore): Rewrite.
20061 (vc-git-ignore-completion-table)
20062 (vc-git-find-ignore-file): New functions.
20063
20064 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20065
20066 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20067 (vc-bzr-ignore-completion-table)
20068 (vc-bzr-find-ignore-file): New functions.
20069
20070 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20071
20072 * frameset.el (frameset-prop): New function and setter.
20073 (frameset-save): Do not modify frame list passed by the caller.
20074
20075 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20076
20077 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20078
20079 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20080
20081 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20082 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20083
20084 * custom.el (custom-initialize-default, custom-initialize-set)
20085 (custom-initialize-reset, custom-initialize-changed): Affect the
20086 toplevel-default-value (bug#6275, bug#14586).
20087 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20088 for bug#6275.
20089
20090 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20091
20092 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20093 Add cl-def* expressions.
20094
20095 * frameset.el (frameset-filter-params): Fix order of arguments.
20096
20097 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20098
20099 Move code related to saving frames to frameset.el.
20100 * desktop.el: Require frameset.
20101 (desktop-restore-frames): Doc fix.
20102 (desktop-restore-reuses-frames): Rename from
20103 desktop-restoring-reuses-frames.
20104 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20105 (desktop-clear): Clear frames too.
20106 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20107 (desktop--filter-tty*, desktop-save, desktop-read):
20108 Use frameset functions.
20109 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20110 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20111 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20112 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20113 (desktop--process-minibuffer-frames, desktop-save-frames)
20114 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20115 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20116 (desktop--sort-states, desktop-restoring-frames-p)
20117 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20118 (desktop-restoring-frameset-p, desktop-restore-frameset)
20119 (desktop--check-dont-save, desktop-save-frameset): New functions.
20120 (desktop--app-id): New constant.
20121 (desktop-first-buffer, desktop-buffer-ok-count)
20122 (desktop-buffer-fail-count): Move before first use.
20123 * frameset.el: New file.
20124
20125 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20126
20127 * files.el: Use lexical-binding.
20128 (dir-locals-read-from-file): Remove unused `err' variable.
20129 (hack-dir-local-variables--warned-coding): New var.
20130 (hack-dir-local-variables): Use it to avoid repeated warnings.
20131 (make-backup-file-name--default-function): New function.
20132 (make-backup-file-name-function): Use it as default.
20133 (buffer-stale--default-function): New function.
20134 (buffer-stale-function): Use it as default.
20135 (revert-buffer-insert-file-contents--default-function): New function.
20136 (revert-buffer-insert-file-contents-function): Use it as default.
20137 (insert-directory): Avoid add-to-list.
20138
20139 * autorevert.el (auto-revert-handler): Simplify.
20140 Use buffer-stale--default-function.
20141
20142 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20143
20144 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20145
20146 * whitespace.el (whitespace-ensure-local-variables): New function.
20147 (whitespace-cleanup-region): Call it.
20148 (whitespace-turn-on): Call it.
20149
20150 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20151
20152 Complete file name handlers.
20153
20154 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20155 (tramp-handle-verify-visited-file-modtime)
20156 (tramp-handle-file-notify-rm-watch): New functions.
20157 (tramp-call-process): Do not bind `default-directory'.
20158
20159 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20160 Order alphabetically.
20161 <access-file, add-name-to-file, dired-call-process>:
20162 <dired-compress-file, file-acl, file-notify-rm-watch>:
20163 <file-ownership-preserved-p, file-selinux-context>:
20164 <make-directory-internal, make-symbolic-link, set-file-acl>:
20165 <set-file-selinux-context, set-visited-file-modtime>:
20166 <verify-visited-file-modtime>: Add handler.
20167 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20168
20169 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20170 <file-notify-add-watch, file-notify-rm-watch>:
20171 <set-file-times, set-visited-file-modtime>:
20172 <verify-visited-file-modtime>: Add handler.
20173 (with-tramp-gvfs-error-message)
20174 (tramp-gvfs-handle-set-visited-file-modtime)
20175 (tramp-gvfs-fuse-file-name): Remove.
20176 (tramp-gvfs-handle-file-notify-add-watch)
20177 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20178 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20179
20180 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20181 Order alphabetically.
20182 <file-notify-rm-watch>: Use default Tramp handler.
20183 <executable-find>: Remove private handler.
20184 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20185 `default-directory'.
20186 (tramp-sh-handle-executable-find)
20187 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20188 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20189 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20190 Do not use `format' in `tramp-message'.
20191
20192 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20193 <file-notify-rm-watch, set-visited-file-modtime>:
20194 <verify-visited-file-modtime>: Add handler.
20195 (tramp-smb-call-winexe): Do not bind `default-directory'.
20196
20197 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20198
20199 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20200
20201 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20202
20203 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20204 use it.
20205 (log-view-diff-changeset): Same.
20206 (log-view-diff-common): Call backend command `previous-revision'
20207 to find out the previous revision, in both cases. Swap the
20208 variables `to' and `fr', so that `fr' usually refers to the
20209 earlier revision (Bug#14989).
20210
20211 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20212
20213 * ibuf-ext.el (ibuffer-filter-by-filename):
20214 Make it work with dired buffers too.
20215
20216 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20217
20218 * emacs-lisp/re-builder.el (reb-color-display-p):
20219 * files.el (save-buffers-kill-terminal):
20220 * net/browse-url.el (browse-url):
20221 * server.el (server-save-buffers-kill-terminal):
20222 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20223 Prefer nil to selected-frame for the first arg of frame-parameter.
20224
20225 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20226
20227 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20228
20229 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20230
20231 * minibuffer.el (completion--twq-all): Try and preserve each
20232 completion's case choice (bug#14907).
20233
20234 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20235
20236 * net/network-stream.el (open-network-stream): Mention the new
20237 :nogreeting parameter.
20238 (network-stream-open-starttls): Use the :nogreeting parameter
20239 (bug#14938).
20240
20241 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20242
20243 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20244 more natural than popping.
20245
20246 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20247 (shr-urlify): Highlight under mouse.
20248
20249 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20250
20251 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20252
20253 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20254
20255 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20256 buffer for output.
20257
20258 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20259 point-min==1. Fix search string. Fix parentheses missing.
20260
20261 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20262 assume point-min==1. Fix search string. Fix parentheses missing.
20263
20264 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20265
20266 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20267 buffer for output.
20268
20269 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20270
20271 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20272 initial frame is minibuffer-less. (Bug#14841)
20273
20274 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20275
20276 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20277 option.
20278
20279 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20280 (tramp-maybe-open-connection): Use it.
20281
20282 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20283
20284 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20285 minimal set of parameters passed when creating a frame, because
20286 the minibuffer status of a frame cannot be changed later.
20287
20288 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20289
20290 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20291 replace-regexp-in-string and inadvertent omissions in previous change.
20292 (todo-filter-items): Ensure only file names are comma-separated in
20293 name of filtered items buffer.
20294
20295 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20296
20297 * desktop.el: Optionally force offscreen frames back onscreen.
20298 (desktop-restoring-reuses-frames): New option.
20299 (desktop--compute-pos, desktop--move-onscreen): New functions.
20300 (desktop--make-frame): Use desktop--move-onscreen.
20301
20302 2013-07-27 Alan Mackenzie <acm@muc.de>
20303
20304 Fontify a Java generic method as a function.
20305 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20306 value to t.
20307
20308 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20309
20310 * calendar/todo-mode.el: Add command to rename todo files.
20311 (todo-rename-file): New command.
20312 (todo-key-bindings-t): Add key binding for it. Change the
20313 bindings of todo-filter-regexp-items(-multifile) to use `x'
20314 instead of `r', since the latter is better suited to the new
20315 renaming command.
20316
20317 2013-07-27 Alan Mackenzie <acm@muc.de>
20318
20319 Make Java try-with-resources statement parse properly.
20320 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20321 (c-block-stmt-1-2-key): New language constants/variables.
20322 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20323 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20324 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20325 with c-block-stmt-1-2-key.
20326
20327 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20328
20329 * desktop.el (desktop--make-frame): Apply most frame parameters after
20330 creating the frame to force (partially or totally) offscreen frames to
20331 be restored as such.
20332
20333 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20334
20335 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20336 (Bug#14948)
20337
20338 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20339
20340 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20341 `base' arg of backtrace-frame.
20342
20343 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20344
20345 * simple.el (list-processes): Doc fix.
20346
20347 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20348
20349 * desktop.el (desktop--select-frame):
20350 Try harder to reuse existing frames.
20351
20352 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20353
20354 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20355 (edebug-eval): Use backtrace-eval.
20356 (edebug--display, edebug--recursive-edit): Don't let-bind the
20357 edebug-outer-* vars that keep track of variables we locally let-bind.
20358 (edebug-outside-excursion): Don't restore outside values of locally
20359 let-bound vars.
20360 (edebug--display): Use user-error.
20361 (cl-lexical-debug, cl-debug-env): Remove.
20362
20363 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20364
20365 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20366 are restored to be sure that they are visible before deleting any
20367 remaining ones.
20368
20369 2013-07-26 Matthias Meulien <orontee@gmail.com>
20370
20371 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20372 vc-print-root-log. (Bug#14948)
20373
20374 2013-07-26 Richard Stallman <rms@gnu.org>
20375
20376 Add aliases for encrypting mail.
20377 * epa.el (epa-mail-aliases): New option.
20378 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20379 Bind inhibit-read-only so read-only text doesn't ruin everything.
20380 (epa-mail-default-recipients): New subroutine broken out.
20381 Handle epa-mail-aliases.
20382
20383 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20384
20385 Add support for lexical variables to the debugger's `e' command.
20386 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20387 vars, except for debugger-outer-match-data.
20388 (debugger-frame-number): Move check for "on a function call" from
20389 callers into it. Add `skip-base' argument.
20390 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20391 (debugger-env-macro): Only reset the state stored in non-variables,
20392 i.e. current-buffer and match-data.
20393 (debugger-eval-expression): Rewrite using backtrace-eval.
20394 * subr.el (internal--called-interactively-p--get-frame): Remove.
20395 (called-interactively-p):
20396 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20397 `base' arg of backtrace-frame instead.
20398
20399 2013-07-26 Glenn Morris <rgm@gnu.org>
20400
20401 * align.el (align-regexp): Doc fix. (Bug#14857)
20402 (align-region): Explicit error if subexpression missing/does not match.
20403
20404 * simple.el (global-visual-line-mode):
20405 Do not duplicate the mode lighter. (Bug#14858)
20406
20407 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20408
20409 * window.el (display-buffer): In display-buffer bind
20410 split-window-keep-point to t, bug#14829.
20411
20412 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20413
20414 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20415 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20416 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20417 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20418 Change accordingly.
20419 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20420 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20421
20422 2013-07-25 Glenn Morris <rgm@gnu.org>
20423
20424 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20425
20426 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20427
20428 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20429 parameter to modify-frame-parameters if the value has not changed;
20430 this is a workaround for bug#14949.
20431 (desktop--make-frame): On cl-delete-if call, check parameter name,
20432 not full parameter.
20433
20434 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20435
20436 * vc/vc.el (vc-ignore): New function.
20437
20438 * vc/vc-svn.el (vc-svn-ignore): New function.
20439
20440 * vc/vc-hg.el (vc-hg-ignore): New function.
20441
20442 * vc/vc-git.el (vc-git-ignore): New function.
20443
20444 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20445 (vc-dir-ignore): New function.
20446
20447 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20448 (cvs-append-to-ignore): Move here from pcvs.el.
20449
20450 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20451
20452 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20453
20454 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20455
20456 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20457 (desktop-restore-frames): Warn when deleting an existing frame failed.
20458
20459 2013-07-24 Glenn Morris <rgm@gnu.org>
20460
20461 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20462
20463 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20464
20465 * filenotify.el (file-notify-supported-p):
20466 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20467 Remove functions.
20468
20469 * autorevert.el (auto-revert-use-notify)
20470 (auto-revert-notify-add-watch):
20471 * net/tramp.el (tramp-file-name-for-operation):
20472 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20473 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20474 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20475 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20476 Remove `file-notify-supported-p' entry.
20477
20478 2013-07-24 Glenn Morris <rgm@gnu.org>
20479
20480 * printing.el: Replace all uses of deleted ps-windows-system,
20481 ps-lp-system, ps-flatten-list with lpr- versions.
20482
20483 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20484
20485 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20486 checked with memq (bug#14935).
20487
20488 * files.el (revert-buffer-function): Use a non-nil default.
20489 (revert-buffer-preserve-modes): Declare var to
20490 provide access to the `preserve-modes' argument.
20491 (revert-buffer): Let-bind it.
20492 (revert-buffer--default): New function, extracted from revert-buffer.
20493
20494 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20495
20496 * lpr.el: Signal print errors more prominently.
20497 (print-region-function): Don't default to nil.
20498 (lpr-print-region): New function, extracted from print-region-1.
20499 Check lpr's return value and signal an error in case of problem.
20500 (print-region-1): Use it.
20501 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20502 versions instead.
20503 (ps-printer-name): Default to nil.
20504 (ps-printer-name-option): Default to lpr-printer-switch.
20505 (ps-print-region-function): Don't default to nil.
20506 (ps-postscript-code-directory): Simplify default.
20507 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20508 (ps-string-list, ps-eval-switch, ps-flatten-list)
20509 (ps-flatten-list-1): Remove.
20510 (ps-multibyte-buffer): Avoid setq.
20511 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20512 (print-region-function, ps-print-region-function): Don't set them here.
20513
20514 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20515
20516 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20517 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20518 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20519 (ido-decorations): Doc fix.
20520
20521 * ansi-color.el: Fix old URL.
20522
20523 2013-07-23 Michael R. Mauger <michael@mauger.com>
20524
20525 * progmodes/sql.el: Version 3.3
20526 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20527 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20528 (sql-interactive-remove-continuation-prompt): Rewrite, use
20529 functions above. Fix continuation prompt and complete output line
20530 handling.
20531 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20532 redirected output buffer.
20533 (sql-mode): Restore deleted code (Bug#13591).
20534
20535 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20536
20537 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20538
20539 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20540
20541 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20542
20543 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20544 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20545 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20546
20547 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20548
20549 * desktop.el (desktop-clear): Simplify; remove useless checks
20550 against invalid buffer names.
20551 (desktop-list*): Use cl-list*.
20552 (desktop-buffer-info, desktop-create-buffer): Simplify.
20553
20554 2013-07-23 Leo Liu <sdl.web@gmail.com>
20555
20556 * bookmark.el (bookmark-make-record): Restore NAME as a default
20557 value. (Bug#14933)
20558
20559 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20562 extracted from autoload--insert-text.
20563 (autoload--insert-text): Remove.
20564 (autoload--print-cookie-text): New function, extracted from
20565 autoload--insert-cookie-text.
20566 (autoload--insert-cookie-text): Remove.
20567 (autoload-generate-file-autoloads): Adjust calls accordingly.
20568
20569 * winner.el (winner-hook-installed-p): Remove.
20570 (winner-mode): Simplify accordingly.
20571
20572 * subr.el (add-to-list): Fix compiler-macro when `append' is
20573 not constant. Don't use `cl-member' for the base case.
20574
20575 * progmodes/subword.el: Fix boundary case (bug#13758).
20576 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20577 own group.
20578 (subword-backward-regexp): Make it a constant.
20579 (subword-forward-internal): Don't treat a trailing capital as the
20580 beginning of a word.
20581
20582 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20583
20584 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20585 global value of tabulated-list-revert-hook (bug#14930).
20586
20587 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20588
20589 * desktop.el: Require 'cl-lib.
20590 (desktop-before-saving-frames-functions): New hook.
20591 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20592 for frames being saved. Rename from desktop--save-minibuffer-frames.
20593 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20594 Do not save frames with non-nil `desktop-dont-save' parameter.
20595 Filter out deleted frames.
20596 (desktop--find-frame): Use cl-find-if.
20597 (desktop--select-frame): Use cl-(first|second|third) to access values
20598 of desktop-mini.
20599 (desktop--make-frame): Use cl-delete-if.
20600 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20601 (desktop-restore-frames): Use cl-(first|second|third) to access values
20602 of desktop-mini. Look for visible frame at the end, not while
20603 restoring frames.
20604
20605 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20606 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20607 Use string-match-p, looking-at-p (bug#14927).
20608
20609 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20610
20611 * desktop.el (desktop-saved-frame-states):
20612 Rename from desktop--saved-states; all users changed.
20613 (desktop-save-frames): Rename from desktop--save-frames.
20614 Do not save state to desktop file.
20615 (desktop-save): Save desktop-saved-frame-states to desktop file
20616 and reset to nil.
20617 (desktop-restoring-frames-p): New function.
20618 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20619 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20620 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20621
20622 * desktop.el: Correctly restore iconified frames.
20623 (desktop--filter-iconified-position): New function.
20624 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20625
20626 2013-07-20 Glenn Morris <rgm@gnu.org>
20627
20628 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20629 Let `message' do the formatting.
20630 (def-gdb-preempt-display-buffer): Add explicit format.
20631
20632 * image-dired.el (image-dired-track-original-file):
20633 Use with-current-buffer.
20634 (image-dired-track-thumbnail): Use with-current-buffer.
20635 Avoid changing point of wrong window.
20636
20637 * image-dired.el (image-dired-track-original-file):
20638 Avoid changing point of wrong window. (Bug#14909)
20639
20640 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20641
20642 * progmodes/gdb-mi.el (gdb-done-or-error):
20643 Guard against "%" in gdb output. (Bug#14127)
20644
20645 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20646
20647 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20648 (Bug#14826)
20649
20650 * international/mule.el (coding-system-iso-2022-flags): Fix last
20651 change.
20652
20653 2013-07-20 Kenichi Handa <handa@gnu.org>
20654
20655 * international/mule.el (coding-system-iso-2022-flags):
20656 Add `8-bit-level-4'. (Bug#8522)
20657
20658 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20659
20660 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20661 (bug#14815).
20662
20663 * net/eww.el (eww-process-text-input): Allow inputting when the
20664 point is at the start of the line, as the properties aren't
20665 front-sticky.
20666
20667 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20668 degenerate widths.
20669
20670 2013-07-19 Richard Stallman <rms@gnu.org>
20671
20672 * epa.el (epa-popup-info-window): Doc fix.
20673
20674 * subr.el (split-string): New arg TRIM.
20675
20676 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20677
20678 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20679 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20680
20681 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20682
20683 * filenotify.el (file-notify--library): Rename from
20684 `file-notify-support'. Do not autoload. Adapt all uses.
20685 (file-notify-supported-p): New defun.
20686
20687 * autorevert.el (auto-revert-use-notify):
20688 Use `file-notify-supported-p' instead of `file-notify-support'.
20689 Adapt docstring.
20690 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20691
20692 * net/tramp.el (tramp-file-name-for-operation):
20693 Add `file-notify-supported-p'.
20694
20695 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20696 New defun.
20697 (tramp-sh-file-name-handler-alist): Add it as handler for
20698 `file-notify-supported-p '.
20699
20700 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20701 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20702 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20703 Add `ignore' as handler for `file-notify-*' functions.
20704
20705 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20706
20707 * simple.el (line-move-partial, line-move): Don't start vscroll or
20708 scroll-up if the current line is not taller than the window.
20709 (Bug#14881)
20710
20711 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20712
20713 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20714 highlight question marks in the method names as strings.
20715 (ruby-block-beg-keywords): Inline.
20716 (ruby-font-lock-keyword-beg-re): Extract from
20717 `ruby-font-lock-keywords'.
20718
20719 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20720
20721 * frame.el (blink-cursor-blinks): New defcustom.
20722 (blink-cursor-blinks-done): New defvar.
20723 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20724 (blink-cursor-timer-function): Check if number of blinks has been
20725 done on X and NS.
20726 (blink-cursor-suspend, blink-cursor-check): New defuns.
20727
20728 2013-07-15 Glenn Morris <rgm@gnu.org>
20729
20730 * edmacro.el (edmacro-format-keys): Fix previous change.
20731
20732 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20733
20734 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20735 The hack didn't work outside English locales anyway.
20736
20737 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20738
20739 * simple.el (define-alternatives): Rename from alternatives-define,
20740 per RMS' suggestion.
20741
20742 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20743
20744 * desktop.el (desktop-restore-frames): Change default to t.
20745 (desktop-restore-in-current-display): Now offer more options.
20746 (desktop-restoring-reuses-frames): New customization option.
20747 (desktop--saved-states): Doc fix.
20748 (desktop-filter-parameters-alist): New variable, renamed and expanded
20749 from desktop--excluded-frame-parameters.
20750 (desktop--target-display): New variable.
20751 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20752 (desktop--filter-tty*, desktop--filter-*-color)
20753 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20754 (desktop--filter-save-desktop-parm)
20755 (desktop-restore-in-original-display-p): New functions.
20756 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20757 (desktop--save-minibuffer-frames): New function, inspired by a similar
20758 function from Martin Rudalics.
20759 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20760 (desktop--restore-in-this-display-p): Remove.
20761 (desktop--find-frame): Rename from desktop--find-frame-in-display
20762 and add predicate argument.
20763 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20764 (desktop--reuse-list): New variable.
20765 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20766 New functions.
20767 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20768
20769 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20770
20771 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20772
20773 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20774
20775 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20776 Highlight conversion methods on Kernel.
20777
20778 2013-07-13 Alan Mackenzie <acm@muc.de>
20779
20780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20781 and comment it out. This out-commenting enables certain C++
20782 declarations to be parsed correctly.
20783
20784 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20785
20786 * international/mule.el (define-coding-system): Doc fix.
20787
20788 * simple.el (default-font-height): Don't call font-info if the
20789 frame's default font didn't change since the frame was created.
20790 (Bug#14838)
20791
20792 2013-07-13 Leo Liu <sdl.web@gmail.com>
20793
20794 * ido.el (ido-read-file-name): Guard against non-symbol value.
20795
20796 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20797
20798 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20799 in nested defuns.
20800
20801 2013-07-13 Leo Liu <sdl.web@gmail.com>
20802
20803 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20804 ido-set-matches call. (Bug#6852)
20805
20806 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20807
20808 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20809 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20810 Ruby 2.0.
20811 (ruby-font-lock-keywords): Distinguish calls to functions with
20812 module-like names from module references. Highlight character
20813 literals.
20814
20815 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20816
20817 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20818 (gdb-send): Handle continued commands. (Bug#14847)
20819
20820 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20821
20822 * desktop.el (desktop--v2s): Remove unused local variable.
20823 (desktop-save-buffer): Make defvar-local; adjust docstring.
20824 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20825 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20826
20827 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20828
20829 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20830
20831 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20832
20833 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20834 (Bug#14842)
20835
20836 2013-07-12 Glenn Morris <rgm@gnu.org>
20837
20838 * doc-view.el: Require cl-lib at runtime too.
20839 (doc-view-remove-if): Remove.
20840 (doc-view-search-next-match, doc-view-search-previous-match):
20841 Use cl-remove-if.
20842
20843 * edmacro.el: Require cl-lib at runtime too.
20844 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20845 (edmacro-mismatch, edmacro-subseq): Remove.
20846
20847 * shadowfile.el: Require cl-lib.
20848 (shadow-remove-if): Remove.
20849 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20850 Use cl-remove-if.
20851
20852 * wid-edit.el: Require cl-lib.
20853 (widget-choose): Use cl-remove-if.
20854 (widget-remove-if): Remove.
20855
20856 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20857 (ebrowse-delete-if-not): Remove.
20858 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20859 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20860 Use cl-delete-if-not.
20861
20862 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20863
20864 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20865 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20866
20867 2013-07-12 Leo Liu <sdl.web@gmail.com>
20868
20869 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20870
20871 2013-07-11 Glenn Morris <rgm@gnu.org>
20872
20873 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20874 (edebug-gensym-index, edebug-gensym):
20875 Remove reimplementation of cl-gensym.
20876 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20877
20878 * thumbs.el: Require cl-lib at run-time too.
20879 (thumbs-gensym-counter, thumbs-gensym):
20880 Remove reimplementation of cl-gensym.
20881 (thumbs-temp-file): Use cl-gensym.
20882
20883 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20884 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20885 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20886 (ert--union, ert--gensym-counter, ert--gensym-counter)
20887 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20888 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20889 (ert-make-test-unbound, ert--expand-should-1)
20890 (ert--expand-should, ert--should-error-handle-error)
20891 (should-error, ert--explain-equal-rec)
20892 (ert--plist-difference-explanation, ert-select-tests)
20893 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20894 Use cl-lib functions rather than reimplementations.
20895
20896 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20897
20898 * net/tramp.el (tramp-methods): Extend docstring.
20899 (tramp-connection-timeout): New defcustom.
20900 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20901 (with-tramp-progress-reporter): Simplify.
20902 (tramp-process-actions): Improve messages.
20903
20904 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20905 * net/tramp-sh.el (tramp-maybe-open-connection):
20906 Use `tramp-connection-timeout'.
20907 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20908 (Bug#14808)
20909
20910 2013-07-11 Leo Liu <sdl.web@gmail.com>
20911
20912 * ido.el (ido-read-file-name): Conform to the requirements of
20913 read-file-name. (Bug#11861)
20914 (ido-read-directory-name): Conform to the requirements of
20915 read-directory-name.
20916
20917 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20918
20919 * subr.el (delay-warning): New function.
20920
20921 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20922
20923 * simple.el (default-line-height): New function.
20924 (line-move-partial, line-move): Use it instead of computing the
20925 line height inline.
20926 (line-move-partial): Always compute ROWH. If the last line is
20927 partially-visible, but its text is completely visible, allow
20928 cursor to enter such a partially-visible line.
20929
20930 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20931
20932 Improve error messages. (Bug#14808)
20933
20934 * net/tramp.el (tramp-current-connection): New defvar, moved from
20935 tramp-sh.el.
20936 (tramp-message-show-progress-reporter-message): Remove, not
20937 needed anymore.
20938 (tramp-error-with-buffer): Show message in minibuffer.
20939 Discard input before waiting. Reset connection timestamp.
20940 (with-tramp-progress-reporter): Improve messages.
20941 (tramp-process-actions): Use progress reporter. Delete process in
20942 case of error. Improve messages.
20943
20944 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20945 Call `tramp-error-with-buffer' with vector and buffer.
20946 (tramp-current-connection): Remove.
20947 (tramp-maybe-open-connection): The car of
20948 `tramp-current-connection' are the first 3 slots of the vector.
20949
20950 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20951
20952 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20953 inside continued strings.
20954
20955 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20956
20957 Timestamp fixes for undo (Bug#14824).
20958 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20959
20960 2013-07-10 Leo Liu <sdl.web@gmail.com>
20961
20962 * files.el (require-final-newline): Allow safe local value.
20963 (Bug#14834)
20964
20965 2013-07-09 Leo Liu <sdl.web@gmail.com>
20966
20967 * ido.el (ido-read-directory-name): Handle fallback.
20968 (ido-read-file-name): Update DIR to ido-current-directory.
20969 (Bug#1516)
20970 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20971
20972 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20973
20974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20975 "autoload". Remove "warn lower camel case" section, previously
20976 commented out. Highlight negation char. Do not highlight the
20977 target in singleton method definitions.
20978
20979 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20980
20981 * faces.el (tty-setup-hook): Declare the hook.
20982
20983 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20984 and detect when a guard/pred depends on local vars (bug#14773).
20985 (pcase--u1): Adjust caller.
20986
20987 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20988
20989 * simple.el (line-move-partial, line-move): Account for
20990 line-spacing.
20991 (line-move-partial): Avoid setting vscroll when the last
20992 partially-visible line in window is of default height.
20993
20994 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20995
20996 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20997 been used a while.
20998
20999 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21000
21001 * subr.el (read-quoted-char): Remove unused local variable `char'.
21002
21003 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21004
21005 * vc/ediff.el (ediff-version): Version update.
21006 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21007 (ediff-merge-with-ancestor-command, ediff-directories-command)
21008 (ediff-directories3-command, ediff-merge-directories-command)
21009 (ediff-merge-directories-with-ancestor-command): New functions.
21010 All are command-line interfaces to ediff: to facilitate calling
21011 Emacs with the appropriate ediff functions invoked.
21012
21013 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21014 New function.
21015 (viper-save-kill-buffer): Check if buffer is modified.
21016
21017 * emulation/viper.el (viper-version): Version update.
21018 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21019
21020 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21021
21022 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21023 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21024 (viper-intercept-ESC-key): Simplify.
21025 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21026 don't use kbd.
21027 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21028 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21029 (viper-setup-ESC-to-escape): New functions.
21030 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21031 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21032
21033 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21034
21035 * simple.el (default-font-height, window-screen-lines):
21036 New functions.
21037 (line-move, line-move-partial): Use them instead of
21038 frame-char-height and window-text-height. This makes scrolling
21039 text smoother when the buffer's default face uses a font that is
21040 different from the frame's default font.
21041
21042 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21043
21044 * files.el (write-file): Do not display confirm dialog for NS,
21045 it does its own dialog, which can't be canceled (Bug#14578).
21046
21047 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21048
21049 * simple.el (line-move-partial): Adjust the row returned by
21050 posn-at-point for the current window-vscroll. (Bug#14567)
21051
21052 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21053
21054 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21055 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21056 spaces.
21057
21058 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21059
21060 * window.el (window-state-put-stale-windows): New variable.
21061 (window--state-put-2): Save list of windows without matching buffer.
21062 (window-state-put): Remove "bufferless" windows if possible.
21063
21064 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21065
21066 * simple.el (alternatives-define): Remove leftover :group keyword.
21067 Tweak docstring.
21068
21069 2013-07-06 Leo Liu <sdl.web@gmail.com>
21070
21071 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21072 (ido-enable-virtual-buffers): New variable.
21073 (ido-buffer-internal, ido-toggle-virtual-buffers)
21074 (ido-make-buffer-list): Use it.
21075 (ido-exhibit): Support turning on and off virtual buffers
21076 automatically.
21077
21078 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21079
21080 * simple.el (alternatives-define): New macro.
21081
21082 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21083
21084 * subr.el (read-quoted-char): Use read-key.
21085 (sit-for): Let read-event decode tty input (bug#14782).
21086
21087 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21088
21089 * calendar/todo-mode.el: Add handling of file deletion, both by
21090 mode command and externally. Fix various related bugs.
21091 Clarify Commentary and improve some documentation strings and code.
21092 (todo-delete-file): New command.
21093 (todo-check-file): New function.
21094 (todo-show): Handle external deletion of the file we're trying to
21095 show (bug#14688). Replace called-interactively-p by an optional
21096 prefix argument to avoid problematic interaction with catch form
21097 when byte compiled (bug#14702).
21098 (todo-quit): Handle external deletion of the archive's todo file.
21099 Make sure the buffer that was visiting the archive file is still
21100 live before trying to bury it.
21101 (todo-category-completions): Handle external deletion of any
21102 category completion files.
21103 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21104 of todo files, in case of external deletion.
21105 (todo-add-file): Replace unnecessary setq by let-binding.
21106 (todo-find-archive): Check whether there are any archives.
21107 Replace unnecessary setq by let-binding.
21108 (todo-archive-done-item): Use find-file-noselect to get the
21109 archive buffer whether or not the archive already exists.
21110 Remove superfluous code. Use file size instead of buffer-file-name to
21111 check if the archive is new; if it is, update list of archives.
21112 (todo-default-todo-file): Allow nil to be a valid value for when
21113 there are no todo files.
21114 (todo-reevaluate-default-file-defcustom): Use corrected definition
21115 of todo-default-todo-file.
21116 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21117 (todo-delete-category, todo-show-categories-table)
21118 (todo-category-number): Clarify comment.
21119 (todo-filter-items): Clarify documentation string.
21120 (todo-show-current-file, todo-display-as-todo-file)
21121 (todo-reset-and-enable-done-separator): Tweak documentation string.
21122 (todo-done-separator): Make separator length window-width, since
21123 bug#2749 is now fixed.
21124
21125 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21126
21127 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21128 Support both "gvfs-monitor-dir" and "inotifywait".
21129 (tramp-sh-file-inotifywait-process-filter): Rename from
21130 `tramp-sh-file-notify-process-filter'.
21131 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21132 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21133
21134 2013-07-05 Leo Liu <sdl.web@gmail.com>
21135
21136 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21137
21138 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21139
21140 * frame.el (display-pixel-height, display-pixel-width)
21141 (display-mm-height, display-mm-width): Mention behavior on
21142 multi-monitor setups in docstrings.
21143 (w32-display-monitor-attributes-list): Declare function.
21144 (display-monitor-attributes-list): Use it.
21145
21146 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21147
21148 * filenotify.el: New package.
21149
21150 * autorevert.el (top): Require filenotify.el.
21151 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21152 instead.
21153 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21154 (auto-revert-notify-handler): Use `file-notify-*' functions.
21155
21156 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21157
21158 * net/tramp.el (tramp-file-name-for-operation):
21159 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21160
21161 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21162 for `file-notify-add-watch' and `file-notify-rm-watch'.
21163 (tramp-process-sentinel): Improve trace.
21164 (tramp-sh-handle-file-notify-add-watch)
21165 (tramp-sh-file-notify-process-filter)
21166 (tramp-sh-handle-file-notify-rm-watch)
21167 (tramp-get-remote-inotifywait): New defuns.
21168
21169 2013-07-03 Juri Linkov <juri@jurta.org>
21170
21171 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21172 call of `occur-read-primary-args' to interactive spec.
21173
21174 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21175 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21176
21177 2013-07-03 Matthias Meulien <orontee@gmail.com>
21178
21179 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21180 `Buffer-menu-multi-occur'. Add it to the menu.
21181 (Buffer-menu-mode): Document it in docstring.
21182 (Buffer-menu-multi-occur): New command. (Bug#14673)
21183
21184 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21185
21186 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21187 keywords and built-ins.
21188
21189 2013-07-03 Glenn Morris <rgm@gnu.org>
21190
21191 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21192
21193 Make info-xref checks case-sensitive by default
21194 * info.el (Info-find-node, Info-find-in-tag-table)
21195 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21196 Add option for exact case matching of nodes.
21197 * info-xref.el (info-xref): New custom group.
21198 (info-xref-case-fold): New option.
21199 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21200
21201 2013-07-03 Leo Liu <sdl.web@gmail.com>
21202
21203 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21204
21205 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21206
21207 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21208 middle of block statement initially, lower the depth. Remove
21209 FIXME comment, not longer valid. Remove middle of block statement
21210 detection, no need to do that anymore since we've been using
21211 `ruby-parse-region' here.
21212
21213 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21214
21215 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21216
21217 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21218
21219 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21220
21221 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21222
21223 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21224 (desktop-restore-in-current-display): New customization option.
21225 (desktop--excluded-frame-parameters): Add `font'.
21226 (desktop--save-frames): Rename from desktop--save-windows.
21227 (desktop--restore-in-this-display-p): New function.
21228 (desktop--make-full-frame): Remove unwanted width/height from
21229 full(width|height) frames.
21230 (desktop--restore-frames): Rename from desktop--restore-windows.
21231 Obey desktop-restore-current-display. Do not delete old frames or
21232 select a new frame unless we were able to restore at least one frame.
21233
21234 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21235
21236 * files.el (find-file-noselect): Simplify conditional expression.
21237
21238 * textmodes/remember.el (remember-append-to-file):
21239 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21240
21241 Add `remember-notes' function to store random notes across Emacs
21242 restarts.
21243 * textmodes/remember.el (remember-data-file): Add :set callback to
21244 affect notes buffer (if any).
21245 (remember-notes): New command.
21246 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21247 New defcustoms for the `remember-notes' function.
21248 (remember-notes-save-and-bury-buffer): New command.
21249 (remember-notes-mode-map): New variable.
21250 (remember-mode): New minor mode.
21251 (remember-notes--kill-buffer-query): New function.
21252 * startup.el (initial-buffer-choice): Add notes to custom type.
21253
21254 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21255
21256 * bindings.el (right-char, left-char): Don't call sit-for, this is
21257 no longer needed. Use arithmetic comparison only for numerical
21258 arguments.
21259
21260 * international/mule-cmds.el (select-safe-coding-system):
21261 Handle the case of FROM being a string correctly. (Bug#14755)
21262
21263 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21264
21265 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21266 progression on degenerate tables.
21267 (shr-rescale-image): ImageMagick animated images currently don't work.
21268
21269 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21270
21271 Some fixes and improvements for desktop frame restoration.
21272 It is still experimental and disabled by default.
21273 * desktop.el (desktop--save-windows): Put the selected frame at
21274 the head of the list.
21275 (desktop--make-full-frame): New function.
21276 (desktop--restore-windows): Try to re-select the frame that was
21277 selected upon saving. Do not abort if some frames fail to restore,
21278 just show an error message and continue. Set up maximized frames
21279 so they have default non-maximized dimensions.
21280
21281 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21282
21283 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21284 Don't start heredoc inside a string or comment.
21285
21286 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21287
21288 * bindings.el (visual-order-cursor-movement): New defcustom.
21289 (right-char, left-char): Provide visual-order cursor motion by
21290 calling move-point-visually. Update the doc strings.
21291
21292 2013-06-28 Kenichi Handa <handa@gnu.org>
21293
21294 * international/mule.el (define-coding-system): New coding system
21295 properties :inhibit-null-byte-detection,
21296 :inhibit-iso-escape-detection, and :prefer-utf-8.
21297 (set-buffer-file-coding-system): If :charset-list property of
21298 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21299 appropriate for setting.
21300
21301 * international/mule-cmds.el (select-safe-coding-system):
21302 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21303 multibyte characters, return utf-8 (or one of its siblings).
21304
21305 * international/mule-conf.el (prefer-utf-8): New coding system.
21306 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21307 files.
21308
21309 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21310
21311 * net/shr.el (shr-render-region): New function.
21312
21313 * net/eww.el: Autoload `eww-browse-url'.
21314
21315 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21316
21317 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21318 Adapt to `package-desc-version' being a list.
21319 Use `package--ac-desc-version' to retrieve version from a package
21320 archive element.
21321
21322 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21323
21324 New experimental feature to save&restore window and frame setup.
21325 * desktop.el (desktop-save-windows): New defcustom.
21326 (desktop--saved-states): New var.
21327 (desktop--excluded-frame-parameters): New defconst.
21328 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21329 (desktop--restore-windows, desktop--save-windows): New functions.
21330 (desktop-save): Call `desktop--save-windows'.
21331 (desktop-read): Call `desktop--restore-windows'.
21332
21333 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21334
21335 * net/shr.el (add-face-text-property): Remove compat definition.
21336
21337 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21338
21339 * info.el (Info-try-follow-nearest-node): Move search for footnote
21340 above search for node name to prevent missing a footnote (bug#14717).
21341
21342 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21343
21344 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21345
21346 2013-06-27 Leo Liu <sdl.web@gmail.com>
21347
21348 * net/eww.el (eww-read-bookmarks): Check file size.
21349
21350 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21351
21352 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21353 advice--pending if newdef is nil or an autoload (bug#13820).
21354 (advice-mapc): New function.
21355
21356 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21357
21358 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21359 probably.
21360 (eww-mode-map): Add a menu bar.
21361 (eww-add-bookmark): New command.
21362 (eww-bookmark-mode): New mode and commands.
21363 (eww-add-bookmark): Remove newlines from the title.
21364 (eww-bookmark-browse): Don't bug out if it's the only window.
21365
21366 2013-06-26 Glenn Morris <rgm@gnu.org>
21367
21368 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21369 (hfy-size): Handle ttys. (Bug#14668)
21370
21371 * info-xref.el: Update for Texinfo 5 change in *note format.
21372 (info-xref-node-re, info-xref-note-re): New constants.
21373 (info-xref-check-buffer): Use info-xref-note-re.
21374
21375 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21376
21377 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21378
21379 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21380 nil terminate the loop (bug#14718).
21381
21382 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21383
21384 * net/eww.el: Rework history traversal. When going forward/back,
21385 put these actions into the history, too, so that they can be
21386 replayed.
21387 (eww-render): Move the history reset to the correct buffer.
21388
21389 2013-06-25 Juri Linkov <juri@jurta.org>
21390
21391 * files-x.el (modify-dir-local-variable): Change the header comment
21392 in the file with directory local variables. (Bug#14692)
21393
21394 * files-x.el (read-file-local-variable-value): Add `default'.
21395 (Bug#14710)
21396
21397 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21398
21399 * net/eww.el (eww-make-unique-file-name): Create a unique file
21400 name before saving to entering `y' accidentally asynchronously.
21401
21402 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21403
21404 * net/eww.el (eww-download): New command and keystroke.
21405
21406 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21407
21408 * net/eww.el (eww-copy-page-url): Change name of command.
21409
21410 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21411 be more consistent with Info and dired.
21412
21413 * net/eww.el (eww-mode-map): Ditto.
21414
21415 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21416
21417 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21418 packages from archives.
21419 (package-archive-contents): Change format; include obsolete packages.
21420 (package-desc): Use `dir' to mark builtin packages.
21421 (package--from-builtin): Set the `dir' field to `builtin'.
21422 (generated-autoload-file, version-control): Declare.
21423 (package-compute-transaction): Change first arg and return value to be
21424 lists of package-descs. Adjust to new package-archive-contents format.
21425 (package--add-to-archive-contents): Adjust to new
21426 package-archive-contents format.
21427 (package-download-transaction): Arg is now a list of package-descs.
21428 (package-install): If `pkg' is a package name, pass it as
21429 a requirement, so it is subject to the usual (e.g. disabled) checks.
21430 (describe-package): Accept package-desc as well.
21431 (describe-package-1): Describe a specific package-desc. Add links to
21432 other package-descs for the same package name.
21433 (package-menu-describe-package): Pass the actual package-desc.
21434 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21435 works correctly.
21436 (package-desc-status): New function.
21437 (package-menu--refresh): New function, extracted
21438 from package-menu--generate.
21439 (package-menu--generate): Use it.
21440 (package-delete): Update package-alist.
21441 (package-menu-execute): Don't call package-initialize.
21442
21443 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21444 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21445 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21446 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21447 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21448 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21449
21450 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21451
21452 * window.el (window--state-get-1): Workaround for bug#14527.
21453 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21454
21455 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21456
21457 * net/eww.el (eww-back-url): Implement the history by stashing all
21458 the data into a list.
21459 (eww-forward-url): Allow going forward in the history, too.
21460
21461 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21462
21463 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21464 for values and use read--expression for expressions (bug#14710).
21465 (read-file-local-variable): Avoid setq.
21466 (read-file-local-variable-mode): Use minor-mode-list.
21467
21468 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21469
21470 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21471 for DOI URLs.
21472
21473 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21474
21475 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21476 Update imenu-support when dialect changes.
21477
21478 2013-06-25 Leo Liu <sdl.web@gmail.com>
21479
21480 * ido.el (ido-read-internal): Allow forward slash on windows.
21481
21482 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21483
21484 * net/eww.el (eww): Start of strings is \\`, not ^.
21485
21486 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21487
21488 * net/shr.el (shr-browse-url): Fix interactive spec.
21489
21490 * net/eww.el (eww): Add a trailing slash to domain names.
21491
21492 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21493
21494 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21495
21496 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21497
21498 * net/shr.el (shr-browse-url): Use an external browser if given a
21499 prefix.
21500
21501 * net/eww.el (eww-external-browser): Move to shr.
21502
21503 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21504
21505 * net/eww.el (eww): Work more correctly for file: URLs.
21506 (eww-detect-charset): Allow quoted charsets.
21507 (eww-yank-page-url): New command and keystroke.
21508
21509 2013-06-24 Daiki Ueno <ueno@gnu.org>
21510
21511 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21512 file name of gpg executable.
21513 (epg-context-program): New function.
21514 (epg-context-home-directory): New function.
21515 (epg-context-set-program): New function.
21516 (epg-context-set-home-directory): New function.
21517 (epg--start): Use `epg-context-program' instead of
21518 'epg-gpg-program'.
21519 (epg--list-keys-1): Likewise.
21520
21521 2013-06-24 Leo Liu <sdl.web@gmail.com>
21522
21523 * ido.el (ido-read-internal): Fix bug#14620.
21524
21525 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21526
21527 * faces.el (face-documentation): Simplify.
21528 (read-face-attribute, tty-find-type, x-resolve-font-name):
21529 Use `string-match-p'.
21530 (list-faces-display): Use `string-match-p'. Simplify.
21531 (face-spec-recalc): Check face to avoid face alias loops.
21532 (read-color): Use `string-match-p' and non-capturing parenthesis.
21533
21534 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21535
21536 * net/shr.el (shr-rescale-image): Use the new
21537 :max-width/:max-height functionality.
21538
21539 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21540
21541 * net/eww.el (eww-search-prefix): New variable.
21542 (eww): Use it.
21543 (eww-external-browser): New variable.
21544 (eww-mode-map): New keystroke.
21545 (eww-browse-with-external-browser): New command.
21546
21547 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21548
21549 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21550
21551 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21552 Don't skip aligning the next header field when padding is 0;
21553 otherwise, field width is not respected unless the title is as
21554 wide as the field.
21555
21556 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21557
21558 * emacs-lisp/package.el (package-el-version): Remove.
21559 (package-process-define-package): Fix inf-loop.
21560 (package-install): Allow symbols as arguments again.
21561
21562 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21563
21564 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21565 add some more keyword-like methods.
21566 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21567
21568 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21569
21570 * bs.el (bs-buffer-show-mark): Make defvar-local.
21571 (bs-mode): Use setq-local.
21572
21573 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21574 (emacs-lock--try-unlocking): Make defvar-local.
21575
21576 2013-06-22 Glenn Morris <rgm@gnu.org>
21577
21578 * play/cookie1.el (cookie-apropos): Minor simplification.
21579
21580 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21581
21582 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21583
21584 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21585 `regexp-opt', it breaks the build during dumping.
21586
21587 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21588
21589 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21590 Highlight keyword-like methods on Kernel and Module with
21591 font-lock-builtin-face.
21592 (auto-mode-alist): Consolidate different entries into one regexp
21593 and add more *file-s.
21594
21595 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21596
21597 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21598
21599 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21600 (diary-entry): Use it in the action of this button type instead of
21601 diary-goto-entry.
21602
21603 * calendar/todo-mode.el: New version.
21604 (todo-add-category): Append new category to end of file and give
21605 it the highest number, instead of putting it at the beginning and
21606 giving it 0. Incorporate noninteractive functionality.
21607 (todo-forward-category): Adapt to 1-based category numbering.
21608 Allow skipping over archived categories.
21609 (todo-backward-category): Derive from todo-forward-category.
21610 (todo-backward-item, todo-forward-item): Make noninteractive and
21611 delegate interactive part to new commands. Make sensitive to done items.
21612 (todo-categories): Make value an alist of category names and
21613 vectors of item counts.
21614 (todo-category-beg): Make a defconst.
21615 (todo-category-number): Use 1 instead of 0 as initial value.
21616 (todo-category-select): Make sensitive to overlays, optional item
21617 highlighting and done items.
21618 (todo-delete-item): Make sensitive to overlays and marked and done items.
21619 (todo-edit-item): Make sensitive to overlays and editing of
21620 date/time header optional. Add format checks.
21621 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21622 no-op if point is not on an item. Advertise using todo-edit-quit.
21623 (todo-edit-mode): Make sensitive to new format, font-locking, and
21624 multiple todo files.
21625 (todo-insert-item, todo-insert-item-here): Derive from
21626 todo-basic-insert-item and extend functionality.
21627 (todo-item-end, todo-item-start): Make sensitive to done items.
21628 (todo-item-string): Don't return text properties. Restore point.
21629 (todo-jump-to-category): Make sensitive to multiple todo files and
21630 todo archives. Use extended category completion.
21631 (todo-lower-item, todo-raise-item): Rename to *-priority and
21632 derive from todo-set-item-priority.
21633 (todo-mode): Derive from special-mode. Make sensitive to new
21634 format, font-locking and multiple todo files. Make read-only.
21635 (todo-mode-map): Don't suppress digit keys, so they can supply
21636 prefix arguments. Add many new key bindings.
21637 (todo-prefix): Insert as an overlay instead of file text.
21638 Change semantics from diary date expression to purely visual mark.
21639 (todo-print): Rename to todo-print-buffer. Make buffer display
21640 features printable. Remove option to restrict number of items
21641 printed. Add option to print to file.
21642 (todo-print-function): Rename to todo-print-buffer-function.
21643 (todo-quit): Extend to handle exiting new todo modes.
21644 (todo-remove-item): Make sensitive to overlays.
21645 (todo-save): Extend to buffers of filtered items.
21646 (todo-show): Make sensitive to done items, multiple todo files and
21647 new todo modes. Offer to convert legacy todo file before creating
21648 first new todo file.
21649 (todo-show-priorities): Rename to todo-top-priorities.
21650 Change semantics of value 0.
21651 (todo-top-priorities): Rename to todo-filter-top-priorities,
21652 derive from todo-filter-items and extend functionality.
21653 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21654 and extend functionality to other types of filtered items.
21655 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21656 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21657 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21658 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21659 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21660 (todo-edit-mode-hook, todo-entry-prefix-function)
21661 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21662 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21663 (todo-initials, todo-insert-threshold, todo-item-string-start)
21664 (todo-line-string, todo-menu, todo-mode-hook)
21665 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21666 (todo-print-priorities, todo-remove-separator)
21667 (todo-save-top-priorities-too, todo-string-count-lines)
21668 (todo-string-multiline-p, todo-time-string-format)
21669 (todo-tmp-buffer-name): Remove.
21670 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21671 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21672 (todo-edit-category-diary-inclusion)
21673 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21674 (todo-edit-file, todo-edit-item-date-day)
21675 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21676 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21677 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21678 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21679 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21680 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21681 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21682 (todo-filter-top-priorities-multifile, todo-find-archive)
21683 (todo-find-filtered-items-file, todo-go-to-source-item)
21684 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21685 (todo-jump-to-archive-category, todo-lower-category)
21686 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21687 (todo-move-category, todo-move-item, todo-next-button)
21688 (todo-next-item, todo-padded-string, todo-powerset)
21689 (todo-previous-button, todo-previous-item)
21690 (todo-print-buffer-to-file, todo-raise-category)
21691 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21692 (todo-set-category-number, todo-set-item-priority)
21693 (todo-set-top-priorities-in-category)
21694 (todo-set-top-priorities-in-file, todo-show-categories-table)
21695 (todo-sort-categories-alphabetically-or-numerically)
21696 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21697 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21698 (todo-toggle-item-header, todo-toggle-item-highlighting)
21699 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21700 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21701 (todo-unarchive-items, todo-unmark-category): New commands.
21702 (todo-absolute-file-name, todo-add-to-buffer-list)
21703 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21704 (todo-basic-insert-item, todo-category-completions)
21705 (todo-category-number, todo-category-string-matcher-1)
21706 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21707 (todo-check-format, todo-clear-matches)
21708 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21709 (todo-current-category, todo-date-string-matcher)
21710 (todo-define-insertion-command, todo-diary-expired-matcher)
21711 (todo-diary-goto-entry, todo-diary-item-p)
21712 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21713 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21714 (todo-done-item-section-p, todo-done-separator)
21715 (todo-done-string-matcher, todo-files, todo-filter-items)
21716 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21717 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21718 (todo-insert-category-line, todo-insert-item-from-calendar)
21719 (todo-insert-sort-button, todo-insert-with-overlays)
21720 (todo-insertion-command-name, todo-insertion-key-bindings)
21721 (todo-label-to-key, todo-longest-category-name-length)
21722 (todo-make-categories-list, todo-mode-external-set)
21723 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21724 (todo-modes-set-3, todo-multiple-filter-files)
21725 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21726 (todo-read-category, todo-read-date, todo-read-dayname)
21727 (todo-read-file-name, todo-read-time)
21728 (todo-reevaluate-category-completions-files-defcustom)
21729 (todo-reevaluate-default-file-defcustom)
21730 (todo-reevaluate-filelist-defcustoms)
21731 (todo-reevaluate-filter-files-defcustom)
21732 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21733 (todo-reset-done-separator, todo-reset-done-separator-string)
21734 (todo-reset-done-string, todo-reset-global-current-todo-file)
21735 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21736 (todo-reset-prefix, todo-set-categories)
21737 (todo-set-date-from-calendar, todo-set-show-current-file)
21738 (todo-set-top-priorities, todo-short-file-name)
21739 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21740 (todo-total-item-counts, todo-update-buffer-list)
21741 (todo-update-categories-display, todo-update-categories-sexp)
21742 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21743 New functions.
21744 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21745 New major modes.
21746 (todo-categories, todo-display, todo-edit, todo-faces)
21747 (todo-filtered): New defgroups.
21748 (todo-archived-only, todo-button, todo-category-string, todo-date)
21749 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21750 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21751 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21752 (todo-add-item-if-new-category, todo-always-add-time-string)
21753 (todo-categories-align, todo-categories-archived-label)
21754 (todo-categories-category-label, todo-categories-diary-label)
21755 (todo-categories-done-label, todo-categories-number-separator)
21756 (todo-categories-todo-label, todo-categories-totals-label)
21757 (todo-category-completions-files, todo-completion-ignore-case)
21758 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21759 (todo-done-separator-string, todo-done-string)
21760 (todo-files-function, todo-filter-done-items, todo-filter-files)
21761 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21762 (todo-initial-category, todo-initial-file, todo-item-mark)
21763 (todo-legacy-date-time-regexp, todo-mode-line-function)
21764 (todo-nondiary-marker, todo-number-prefix)
21765 (todo-print-buffer-function, todo-show-current-file)
21766 (todo-show-done-only, todo-show-first, todo-show-with-done)
21767 (todo-skip-archived-categories, todo-top-priorities-overrides)
21768 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21769 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21770 New defcustoms.
21771 (todo-category-done, todo-date-pattern, todo-date-string-start)
21772 (todo-diary-items-buffer, todo-done-string-start)
21773 (todo-filtered-items-buffer, todo-item-start)
21774 (todo-month-abbrev-array, todo-month-name-array)
21775 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21776 (todo-top-priorities-buffer): New defconsts.
21777 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21778 (todo-categories-with-marks, todo-category-string-face)
21779 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21780 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21781 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21782 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21783 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21784 (todo-font-lock-keywords, todo-global-current-todo-file)
21785 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21786 (todo-insertion-commands-args)
21787 (todo-insertion-commands-args-genlist)
21788 (todo-insertion-commands-names, todo-insertion-map)
21789 (todo-key-bindings-t, todo-key-bindings-t+a)
21790 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21791 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21792 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21793 (todo-visited): New variables.
21794
21795 2013-06-21 Glenn Morris <rgm@gnu.org>
21796
21797 * play/cookie1.el (cookie-apropos): Add optional display argument.
21798 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21799 (psychoanalyze-pinhead): Use cookie-doctor.
21800
21801 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21802
21803 * emacs-lisp/package.el (tar-get-file-descriptor)
21804 (tar--extract): Declare.
21805
21806 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21807
21808 Extend flymake's warning predicate to be a function (bug#14217).
21809 * progmodes/flymake.el (flymake-warning-predicate): New.
21810 (flymake-parse-line): Use it.
21811 (flymake-warning-re): Make obsolete alias to
21812 `flymake-warning-predicate'.
21813
21814 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21815
21816 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21817 (package-obsolete-list): Remove.
21818 (package-activate): Remove min-version argument. Add `force' argument.
21819 Adjust to new package-alist format.
21820 (package-mark-obsolete): Remove.
21821 (package-unpack): Force reload of the package's autoloads.
21822 (package-installed-p): Check builtins if the installed package is not
21823 recent enough.
21824 (package-initialize): Don't reset package-obsolete-list.
21825 Don't specify which package version to activate.
21826 (package-process-define-package, describe-package-1)
21827 (package-menu--generate): Adjust to new package-alist format.
21828
21829 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21830
21831 * allout-widgets.el (allout-widgets-mode-off)
21832 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21833 (allout-widgets-post-command-business)
21834 (allout-widgets-after-copy-or-kill-function)
21835 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21836 (allout-decorate-item-and-context)
21837 (allout-graphics-modification-handler): Fix typos in docstrings.
21838 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21839
21840 * cmuscheme.el (scheme-start-file): Doc fix.
21841 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21842 (scheme-input-filter): Use `string-match-p'.
21843
21844 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21845
21846 * dired-x.el: Use Dired consistently in docstrings.
21847
21848 * dired.el: Use Dired consistently in docstrings.
21849 (dired-readin, dired-mode): Use `setq-local'.
21850 (dired-switches-alist): Make defvar-local.
21851 (dired-buffers-for-dir): Use `zerop'.
21852 (dired-safe-switches-p, dired-switches-escape-p)
21853 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21854 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21855 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21856 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21857 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21858 (dired-toggle-marks, dired-mark-files-containing-regexp)
21859 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21860 (dired-flag-auto-save-files, dired-flag-backup-files):
21861 Use `looking-at-p'.
21862 (dired-mark-files-regexp, dired-build-subdir-alist):
21863 Use `string-match-p', `looking-at-p'.
21864
21865 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21866 (direct-print-region-helper): Use `string-match-p'.
21867
21868 2013-06-21 Leo Liu <sdl.web@gmail.com>
21869
21870 * comint.el (comint-redirect-results-list-from-process):
21871 Fix infinite loop.
21872
21873 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21874
21875 * net/eww.el (eww-update-header-line-format): Quote % characters.
21876
21877 2013-06-21 Glenn Morris <rgm@gnu.org>
21878
21879 * play/cookie1.el (cookie): New custom group.
21880 (cookie-file): New option.
21881 (cookie-check-file): New function.
21882 (cookie): Make it interactive. Make start and end messages optional.
21883 Interactively, display the result. Default to cookie-file.
21884 (cookie-insert): Default to cookie-file.
21885 (cookie-snarf): Make start and end messages optional.
21886 Default to cookie-file. Use with-temp-buffer.
21887 (cookie-read): Rename from read-cookie.
21888 Make start and end messages optional. Default to cookie-file.
21889 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21890 Do not autoload it.
21891 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21892 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21893
21894 2013-06-21 Leo Liu <sdl.web@gmail.com>
21895
21896 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21897
21898 2013-06-21 Glenn Morris <rgm@gnu.org>
21899
21900 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21901
21902 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21903 Daniel Hackney <dan@haxney.org>
21904
21905 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21906 Consolidate the single-file vs tarball code.
21907 (package-desc-suffix): New function.
21908 (package-desc-full-name): Don't bother inlining it.
21909 (package-load-descriptor): Return the new package-desc.
21910 (package-mark-obsolete): Remove unused arg `package'.
21911 (package-unpack): Make it work for single files as well.
21912 Make it update package-alist.
21913 (package--make-autoloads-and-stuff): Rename from
21914 package--make-autoloads-and-compile. Don't compile any more.
21915 (package--compile): New function.
21916 (package-generate-description-file): New function, extracted from
21917 package-unpack-single.
21918 (package-unpack-single): Remove.
21919 (package--with-work-buffer): Add indentation and debugging info.
21920 (package-download-single): Remove.
21921 (package-install-from-archive): Rename from package-download-tar, make
21922 it take a pkg-desc, and make it work for single files as well.
21923 (package-download-transaction): Simplify.
21924 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21925 external tar program.
21926 (package-install-from-buffer): Remove `pkg-desc' argument.
21927 Use package-tar-file-info for tar-mode buffers.
21928 (package-install-file): Simplify accordingly.
21929 (package-archive-base): Change to take a pkg-desc.
21930 * tar-mode.el (tar--check-descriptor): New function, extracted from
21931 tar-get-descriptor.
21932 (tar-get-descriptor): Use it.
21933 (tar-get-file-descriptor): New function.
21934 (tar--extract): New function, extracted from tar-extract.
21935 (tar--extract): Use it.
21936 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21937 case the summary uses non-ascii. Adjust to new calling convention of
21938 package-tar-file-info.
21939
21940 2013-06-21 Leo Liu <sdl.web@gmail.com>
21941
21942 * comint.el (comint-redirect-results-list-from-process):
21943 Fix random delay. (Bug#14681)
21944
21945 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21946
21947 * profiler.el (profiler-format-number): Use log, not log10.
21948
21949 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21950
21951 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21952
21953 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21954
21955 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21956 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21957 yet available.
21958 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21959 (AUTOGENEL): ... here.
21960 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21961 (cl--defsubst-expand): Use it.
21962
21963 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21964
21965 * subr.el (log10): Move here from C code, and declare as obsolete.
21966 All uses of (log10 X) replaced with (log X 10).
21967
21968 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21969
21970 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21971 Declare with `defvar-local'.
21972 (tabulated-list-use-header-line, tabulated-list-entries)
21973 (tabulated-list-padding, tabulated-list-printer)
21974 (tabulated-list-sort-key): Declare with `defvar-local'.
21975 (tabulated-list-init-header, tabulated-list-print-fake-header):
21976 Use `setq-local'.
21977
21978 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21979
21980 * arc-mode.el (archive-mode): Add `archive-write-file' to
21981 `write-contents-functions' also for remote files. (Bug#14652)
21982
21983 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21984
21985 * cus-edit.el (custom-commands): Fix typos.
21986 (custom-display): Fix tooltip text.
21987 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21988 Fix typos in docstrings.
21989 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21990 (custom-unlispify-menu-entry, custom-magic-value-create)
21991 (custom-add-see-also, custom-group-value-create): Use ?\s.
21992 (custom-guess-type, customize-apropos, editable-field)
21993 (custom-face-value-create): Use `string-match-p'.
21994 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21995
21996 * custom.el (custom-load-symbol): Use `string-match-p'.
21997
21998 * ansi-color.el: Convert to lexical binding.
21999 (ansi-colors): Fix URL.
22000 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22001 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22002 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22003
22004 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22005
22006 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22007
22008 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22009
22010 2013-06-19 Tom Tromey <tromey@redhat.com>
22011
22012 * net/eww.el (eww-top-url): Remove.
22013 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22014 (eww-render): Set new variables. Don't set eww-top-url.
22015 (eww-handle-link): Handle "prev", "home", and "contents".
22016 Downcase the rel text.
22017 (eww-top-url): Choose best top URL.
22018
22019 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22020
22021 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22022 relying in widget.el. Using widget.el leads to too many
22023 user interface inconsistencies.
22024 (eww-self-insert): Implement entering commands in text fields.
22025 (eww-process-text-input): New function to make text input field editing
22026 work.
22027 (eww-submit): Rewrite to use the new-style form methods.
22028 (eww-select-display): Display the correct selected item.
22029 (eww-change-select): Implement changing the select value.
22030 (eww-toggle-checkbox): Implement radio/checkboxes.
22031 (eww-update-field): Fix compilation error.
22032 (eww-tag-textarea): Implement <textarea>.
22033
22034 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22035 we don't shadow mode-specific bindings.
22036
22037 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22038 nothing to push.
22039
22040 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22041
22042 2013-06-19 Glenn Morris <rgm@gnu.org>
22043
22044 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22045
22046 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22047
22048 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22049 not needed.
22050
22051 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22052
22053 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22054
22055 * net/browse-url.el (browse-url-browser-function):
22056 `eww-browse-url' has the right calling signature, `eww' does not.
22057
22058 2013-06-19 Glenn Morris <rgm@gnu.org>
22059
22060 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22061 Only eval autoloaded macros.
22062 (byte-compile-autoload): Only give the macro warning for macros.
22063
22064 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22065 (ps-underlined-faces): Declare.
22066
22067 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22068 (speedbar-add-supported-extension): Declare.
22069
22070 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22071 Don't include a date stamp in the header of the generated file;
22072 it leads to needless differences between output files.
22073
22074 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22075
22076 * net/secrets.el (secrets-struct-secret-content-type):
22077 Replace check of introspection data by a test call of "CreateItem".
22078 Some servers do not offer introspection.
22079
22080 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22081
22082 * electric.el (electric-pair-mode): Improve interaction with
22083 electric-layout-mode.
22084 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22085 (electric-pair-syntax): Use text-mode-syntax-table in comments
22086 and strings.
22087 (electric-pair--insert): New function.
22088 (electric-pair-post-self-insert-function): Use it and
22089 electric--after-char-pos.
22090
22091 2013-06-19 Leo Liu <sdl.web@gmail.com>
22092
22093 * progmodes/octave.el (octave-help): Fix regexp.
22094
22095 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22096
22097 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22098 (shr-table-horizontal-line): Allow nil as a value, and change the
22099 default.
22100 (shr-insert-table-ruler): Respect the nil value.
22101
22102 2013-06-18 Tom Tromey <tromey@barimba>
22103
22104 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22105 New defvars.
22106 (eww-open-file): New defun.
22107 (eww-render): Initialize new variables.
22108 (eww-display-html): Handle "link" and "a".
22109 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22110 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22111 (eww-back-url): Rename from eww-previous-url.
22112 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22113 New defuns.
22114
22115 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22116
22117 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22118 Distinguish ternary operator tokens from slash symbol and slash
22119 char literal.
22120
22121 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22122
22123 Convert symbol prettification into minor mode and global minor mode.
22124
22125 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22126 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22127 (prettify-symbols--keywords): Rename from
22128 `prog-prettify-symbols-alist' and make a local defvar.
22129 (prettify-symbols--compose-symbol): Rename from
22130 `prog--prettify-font-lock-compose-symbol'.
22131 (prettify-symbols--make-keywords): Rename from
22132 `prog-prettify-font-lock-symbols-keywords' and simplify.
22133 (prog-prettify-install): Remove.
22134 (prettify-symbols-mode): New minor mode, based on
22135 `prog-prettify-install'.
22136 (turn-on-prettify-symbols-mode): New function.
22137 (global-prettify-symbols-mode): New globalized minor mode.
22138
22139 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22140 * progmodes/cfengine.el (cfengine3-mode):
22141 * progmodes/perl-mode.el (perl-mode): Don't call
22142 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22143
22144 2013-06-18 Juri Linkov <juri@jurta.org>
22145
22146 * files-x.el (modify-file-local-variable-message): New function.
22147 (modify-file-local-variable)
22148 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22149 and call `modify-file-local-variable-message' when it's non-nil.
22150 (add-file-local-variable, delete-file-local-variable)
22151 (add-file-local-variable-prop-line)
22152 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22153 and use it. (Bug#9820)
22154
22155 2013-06-18 Juri Linkov <juri@jurta.org>
22156
22157 * emulation/vi.el (vi-shell-op):
22158 * emulation/vip.el (vip-execute-com, ex-command):
22159 * emulation/viper-cmd.el (viper-exec-bang):
22160 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22161 the call of `shell-command-on-region'. (Bug#14637)
22162
22163 * simple.el (shell-command-on-region): Doc fix.
22164
22165 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22166
22167 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22168 (bug#14633).
22169
22170 2013-06-18 Glenn Morris <rgm@gnu.org>
22171
22172 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22173
22174 * newcomment.el (comment-search-forward, comment-search-backward):
22175 Doc fix. (Bug#14376)
22176
22177 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22178
22179 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22180 (buffer-face-mode-invoke): Doc fix.
22181
22182 2013-06-18 Matthias Meulien <orontee@gmail.com>
22183
22184 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22185 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22186
22187 2013-06-18 Glenn Morris <rgm@gnu.org>
22188
22189 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22190 Replace obsolete function generic-make-keywords with its expansion.
22191
22192 * progmodes/python.el (ffap-alist): Declare.
22193
22194 * textmodes/reftex.el (bibtex-mode-map): Declare.
22195
22196 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22197
22198 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22199 (package-unpack, package-unpack-single): Return the pkg-dir.
22200 (package-download-transaction): Use it to update package-alist.
22201
22202 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22203
22204 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22205 possible choice.
22206
22207 2013-06-17 Juri Linkov <juri@jurta.org>
22208
22209 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22210
22211 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22212
22213 * emacs-lisp/package.el (package-load-descriptor):
22214 Remove `with-syntax-table' call, `read' doesn't need it.
22215 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22216
22217 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22218
22219 * startup.el (command-line): Expand package name returned by
22220 `package--description-file' (bug#14639).
22221
22222 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22223
22224 * emacs-lisp/package.el (package-load-descriptor): Do not call
22225 `emacs-lisp-mode', just use its syntax table.
22226
22227 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22228
22229 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22230 `font-lock-extra-managed-props' if any prettifying keyword is added.
22231 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22232 (prog-mode): Use `setq-local'.
22233
22234 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22235
22236 * international/characters.el (standard-case-table): Set syntax of ?»
22237 and ?« to punctuation.
22238
22239 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22240
22241 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22242 Save relevant match data before calling `syntax-ppss' (bug#14595).
22243
22244 2013-06-15 Juri Linkov <juri@jurta.org>
22245
22246 * files-x.el (modify-file-local-variable-prop-line): Add local
22247 variables to the end of the existing comment on the first line.
22248 Use `file-auto-mode-skip' to skip interpreter magic line,
22249 and also skip XML declaration.
22250
22251 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22252
22253 * startup.el (package--builtin-versions): New var.
22254 (package-subdirectory-regexp): Remove.
22255 (package--description-file): Hard code its value instead.
22256
22257 * emacs-lisp/package.el: Don't activate packages older than builtin.
22258 (package-obsolete-list): Rename from package-obsolete-alist, and make
22259 it into a simple list of package-desc.
22260 (package-strip-version): Remove.
22261 (package-built-in-p): Use package--builtin-versions.
22262 (package-mark-obsolete): Simplify.
22263 (package-process-define-package): Mark it obsolete if older than the
22264 builtin version.
22265 (package-handle-response): Use line-end-position.
22266 (package-read-archive-contents, package--download-one-archive):
22267 Simplify.
22268 (package--add-to-archive-contents): Skip if older than the builtin or
22269 installed version.
22270 (package-menu-describe-package): Fix last change.
22271 (package-list-unversioned): New var.
22272 (package-menu--generate): Use it.
22273
22274 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22275 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22276 (autoload-builtin-package-versions): New variable.
22277 (autoload-generate-file-autoloads): Use them.
22278 Remove the list of autoloaded functions/macros from the
22279 (autoload...) comments.
22280
22281 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22282
22283 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22284
22285 * simple.el (line-move-partial): Don't jump to the next screen
22286 line as soon as it becomes visible. Instead, continue enlarging
22287 the vscroll until the portion of a tall screen line that's left on
22288 display is about the height of the frame's default font.
22289 (Bug#14567)
22290
22291 2013-06-15 Glenn Morris <rgm@gnu.org>
22292
22293 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22294 compilation-error-regexp-alist void, or local while let-bound.
22295
22296 * progmodes/make-mode.el (makefile-mode-syntax-table):
22297 Treat "=" as punctuation. (Bug#14614)
22298
22299 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22300
22301 * help-fns.el (describe-variable):
22302 Add extra line for permanent-local variables.
22303
22304 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22305
22306 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22307 Add export, import, library. (Bug#9164)
22308 (library): Set indent function.
22309
22310 2013-06-14 Glenn Morris <rgm@gnu.org>
22311
22312 * term/xterm.el (xterm--query):
22313 Stop after first matching handler. (Bug#14615)
22314
22315 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22316
22317 Add support for dired in saveplace.
22318 * dired.el (dired-initial-position-hook): New variable.
22319 (dired-initial-position): Call hook to place cursor position.
22320 * saveplace.el (save-place-to-alist): Add dired position.
22321 (save-place-dired-hook): New function.
22322
22323 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22324
22325 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22326 through a symbol rather than letrec.
22327
22328 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22329 (package-desc): Add `dir' field.
22330 (package-desc-full-name): New function.
22331 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22332 (package-maybe-load-descriptor): Remove.
22333 (package-load-all-descriptors): Just call package-load-descriptor.
22334 (package--disabled-p): New function.
22335 (package-desc-vers, package-desc-doc): Remove aliases.
22336 (package--dir): Remove function.
22337 (package-activate): Check if a package is disabled.
22338 (package-process-define-package): New function, extracted from
22339 define-package.
22340 (define-package): Turn into a place holder.
22341 (package-unpack-single, package-tar-file-info):
22342 Use package--description-file.
22343 (package-compute-transaction): Use package--disabled-p.
22344 (package-download-transaction): Don't call
22345 package-maybe-load-descriptor since they're all loaded anyway.
22346 (package-install): Change argument to be a pkg-desc.
22347 (package-delete): Use a single pkg-desc argument.
22348 (describe-package-1): Use package-desc-dir instead of package--dir.
22349 Use package-desc property instead of package-symbol.
22350 (package-install-button-action): Adjust accordingly.
22351 (package--push): Rewrite.
22352 (package-menu--print-info): Adjust accordingly. Change the ID format
22353 to be a pkg-desc.
22354 (package-menu-describe-package, package-menu-get-status)
22355 (package-menu--find-upgrades, package-menu-mark-upgrades)
22356 (package-menu-execute, package-menu--name-predicate):
22357 Adjust accordingly.
22358 * startup.el (package--description-file): New function.
22359 (command-line): Use it.
22360 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22361 Use package-desc-version.
22362
22363 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22364 (byte-compile-preprocess): Use it.
22365 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22366 can't quite recognize.
22367 (byte-compile-add-to-list): Remove.
22368 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22369 (cconv-closure-convert): Add assertion.
22370
22371 * emacs-lisp/map-ynp.el: Use lexical-binding.
22372 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22373 Factor out some repeated code.
22374
22375 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22376
22377 * subr.el (with-eval-after-load): New macro.
22378 (eval-after-load): Allow form to be a function.
22379 take advantage of lexical-binding.
22380 (do-after-load-evaluation): Use dolist and adjust to new format.
22381 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22382
22383 2013-06-13 Juri Linkov <juri@jurta.org>
22384
22385 * replace.el (perform-replace): Display "symbol " and other search
22386 modes from `isearch-message-prefix' in the *Help* buffer.
22387
22388 * isearch.el (isearch-query-replace): Add " symbol" and other
22389 possible search modes from `isearch-message-prefix' to the prompt.
22390 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22391 when reading a regexp to collect.
22392
22393 2013-06-13 Juri Linkov <juri@jurta.org>
22394
22395 * isearch.el (word-search-regexp): Match whitespace if the search
22396 string begins or ends in whitespace. The LAX arg is applied to
22397 both ends of the search string. Use `regexp-quote' and explicit
22398 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22399 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22400 boundaries are replaced with symbol boundaries, and characters
22401 between symbols match non-word non-symbol syntax. (Bug#14602)
22402
22403 2013-06-13 Juri Linkov <juri@jurta.org>
22404
22405 * isearch.el (isearch-del-char): Don't exceed the length of
22406 `isearch-string' by the prefix arg. (Bug#14563)
22407
22408 2013-06-13 Juri Linkov <juri@jurta.org>
22409
22410 * isearch.el (isearch-yank-word, isearch-yank-line)
22411 (isearch-char-by-name, isearch-quote-char)
22412 (isearch-printing-char, isearch-process-search-char):
22413 Add optional count prefix arg. (Bug#14563)
22414
22415 * international/isearch-x.el
22416 (isearch-process-search-multibyte-characters):
22417 Add optional count prefix arg.
22418
22419 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22420
22421 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22422 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22423 lexical-binding.
22424
22425 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22426
22427 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22428
22429 2013-06-13 Glenn Morris <rgm@gnu.org>
22430
22431 * startup.el (tty-handle-args):
22432 Don't just discard "--" and anything after. (Bug#14608)
22433
22434 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22435
22436 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22437
22438 Implement changes in Secret Service API. Make it backward compatible.
22439 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22440 (secrets-create-item): Use it. Prefix properties with interface.
22441
22442 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22443
22444 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22445 (term-emulate-terminal): Respect term-suppress-hard-newline.
22446
22447 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22448
22449 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22450 Only remove a `thumb-file' overlay. (Bug#14548)
22451
22452 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22453
22454 * mail/reporter.el (reporter-submit-bug-report):
22455 Handle missing package-name. (Bug#14600)
22456
22457 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22458
22459 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22460 (reftex-citation-prompt, reftex-default-bibliography)
22461 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22462 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22463 (reftex-bib-sort-author, reftex-bib-sort-year)
22464 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22465 (reftex-extract-bib-entries-from-thebibliography)
22466 (reftex-get-bibkey-default, reftex-get-bib-names)
22467 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22468 (reftex-format-bib-entry, reftex-parse-bibitem)
22469 (reftex-format-bibitem, reftex-do-citation)
22470 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22471 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22472 (reftex-insert-bib-matches, reftex-format-citation)
22473 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22474 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22475 existing comments into docstrings.
22476
22477 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22478
22479 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22480
22481 2013-06-12 Andreas Schwab <schwab@suse.de>
22482
22483 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22484 for auto-save files.
22485
22486 2013-06-12 Glenn Morris <rgm@gnu.org>
22487
22488 * ido.el (ido-delete-ignored-files): Remove.
22489 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22490 Go back to calling ido-ignore-item-p directly.
22491
22492 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22493
22494 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22495
22496 * ido.el (ido-delete-ignored-files): New function,
22497 split from ido-make-file-list-1.
22498 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22499 (ido-make-file-list-1): Use ido-delete-ignored-files.
22500
22501 2013-06-12 Leo Liu <sdl.web@gmail.com>
22502
22503 * progmodes/octave.el (inferior-octave-startup)
22504 (inferior-octave-completion-table)
22505 (inferior-octave-track-window-width-change)
22506 (octave-eldoc-function-signatures, octave-help)
22507 (octave-find-definition): Use single quoted strings.
22508 (inferior-octave-startup-args): Change default value.
22509 (inferior-octave-startup): Do not hard code "-i" and
22510 "--no-line-editing".
22511 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22512 (inferior-octave-directory-tracker): Use it.
22513 (octave-goto-function-definition): Robustify.
22514 (octave-help): Support highlighting operators in 'See also'.
22515 (octave-find-definition): Find subfunctions only in Octave mode.
22516
22517 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22518
22519 * help-fns.el (help-fns--compiler-macro): If the handler function is
22520 named, then put a link to it.
22521 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22522 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22523 (cl-typep): Use it.
22524 (cl-eval-when): Simplify debug spec.
22525 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22526 compiler-macro function instead of setting `compiler-macro-file'.
22527
22528 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22529
22530 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22531 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22532
22533 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22534 Daniel Hackney <dan@haxney.org>
22535
22536 First part of Daniel Hackney's patch to package.el.
22537 * emacs-lisp/package.el: Use defstruct.
22538 (package-desc): New, main struct.
22539 (package--bi-desc, package--ac-desc): New structs, used to describe the
22540 format in external files.
22541 (package-desc-vers): Replace with package-desc-version accessor.
22542 (package-desc-doc): Replace with package-desc-summary accessor.
22543 (package-activate-1): Remove `package' arg since the pkg-vec now
22544 includes the name.
22545 (define-package): Use package-desc-from-define.
22546 (package-unpack-single): Change file-name arg to be a symbol.
22547 (package--add-to-archive-contents): Use package-desc-create and new
22548 accessor functions to package--ac-desc.
22549 (package-buffer-info, package-tar-file-info): Return a package-desc.
22550 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22551 arg to be a package-desc.
22552 (package-install-file): Adjust accordingly. Use \' to match EOS.
22553 (package--from-builtin): New function.
22554 (describe-package-1, package-menu--generate): Use it.
22555 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22556 (package-generate-autoloads): Idem and return the name of the file.
22557 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22558 Change pkg-info arg to be a package-desc.
22559 Use package-make-ac-desc.
22560 (package-upload-file): Use \' to match EOS.
22561 * finder.el (finder-compile-keywords): Use package-make-builtin.
22562
22563 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22564
22565 * vc/vc.el (vc-deduce-fileset): Change error message.
22566 (vc-read-backend): New function.
22567 (vc-next-action): Use it.
22568
22569 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22570
22571 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22572 (prolog-font-lock-keywords): Use regexp-opt instead.
22573 Don't manually highlight strings.
22574 (prolog-mode-variables): Simplify comment-start-skip.
22575 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22576
22577 * emacs-lisp/generic.el (generic--normalise-comments)
22578 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22579 (generic-mode-set-comments): Use them.
22580 (generic-bracket-support): Use setq-local.
22581 (generic-make-keywords-list): Declare obsolete.
22582
22583 2013-06-11 Glenn Morris <rgm@gnu.org>
22584
22585 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22586 Prettify after setting font-lock-defaults. (Bug#14574)
22587
22588 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22589
22590 * replace.el (query-replace, occur-read-regexp-defaults-function)
22591 (replace-search):
22592 * subr.el (declare-function, number-sequence, local-set-key)
22593 (substitute-key-definition, locate-user-emacs-file)
22594 (with-silent-modifications, split-string, eval-after-load):
22595 Fix typos, remove unneeded backslashes and reflow some docstrings.
22596
22597 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22598
22599 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22600 default for Elisp files.
22601
22602 2013-06-11 Glenn Morris <rgm@gnu.org>
22603
22604 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22605 although define-derived-mode was doing this anyway. (Bug#14583)
22606
22607 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22608
22609 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22610 Fix make-variable-buffer-local call to refer to the correct variable.
22611
22612 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22613
22614 * eshell/em-term.el (eshell-visual-commands)
22615 (eshell-visual-subcommands, eshell-visual-options):
22616 Add summary line to docstrings. Add cross-references.
22617
22618 2013-06-10 Glenn Morris <rgm@gnu.org>
22619
22620 * epa.el (epa-read-file-name): New function. (Bug#14510)
22621 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22622
22623 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22624
22625 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22626 output redirection to be ignored with visual commands.
22627
22628 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22629
22630 * eshell/em-term.el (eshell-visual-command-p): New function.
22631 (eshell-term-initialize): Move long lambda to separate function
22632 eshell-visual-command-p.
22633 * eshell/em-dirs.el (eshell-dirs-initialize):
22634 * eshell/em-script.el (eshell-script-initialize):
22635 Add missing #' to lambda.
22636
22637 2013-06-08 Leo Liu <sdl.web@gmail.com>
22638
22639 * progmodes/octave.el (octave-add-log-current-defun): New function.
22640 (octave-mode): Set add-log-current-defun-function.
22641 (octave-goto-function-definition): Do not move point if not found.
22642 (octave-find-definition): Enhance to try subfunctions first.
22643
22644 2013-06-08 Glenn Morris <rgm@gnu.org>
22645
22646 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22647 (byte-compile-backward-char, byte-compile-backward-word):
22648 Improve previous change, to handle non-explicit nil.
22649
22650 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22651
22652 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22653 (smie--opener/closer-at-point): New function.
22654 (smie--matching-block-data): Use it. Don't match from right after an
22655 opener or right before a closer. Obey smie-blink-matching-inners.
22656 Don't signal a mismatch for repeated inners like "switch..case..case".
22657
22658 2013-06-07 Leo Liu <sdl.web@gmail.com>
22659
22660 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22661 to t. (Bug#14303)
22662 (octave-function-header-regexp): Fix. (Bug#14570)
22663 (octave-help-mode-finish-hook, octave-help-mode-finish):
22664 Remove. Just use temp-buffer-show-hook.
22665
22666 * newcomment.el (comment-search-backward): Revert last change.
22667 (Bug#14434)
22668
22669 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22670
22671 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22672
22673 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22674 through xargs, to avoid failure due to MS-Windows limitations on
22675 command-line length.
22676
22677 2013-06-06 Glenn Morris <rgm@gnu.org>
22678
22679 * font-lock.el (lisp-font-lock-keywords-2):
22680 Treat user-error like error.
22681
22682 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22683 (byte-compile-backward-char, byte-compile-backward-word):
22684 Handle explicit nil arguments. (Bug#14565)
22685
22686 2013-06-05 Alan Mackenzie <acm@muc.de>
22687
22688 * isearch.el (isearch-allow-prefix): New user option.
22689 (isearch-other-meta-char): Don't exit isearch when a prefix
22690 argument is typed whilst `isearch-allow-prefix' is non-nil.
22691 (Bug#9706)
22692
22693 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22694
22695 * autorevert.el (auto-revert-notify-handler): Use memq.
22696 Hide assertion failure.
22697
22698 * skeleton.el: Use cl-lib.
22699 (skeleton-further-elements): Use defvar-local.
22700 (skeleton-insert): Use cl-progv.
22701
22702 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22703
22704 * progmodes/prog-mode.el (prog-prettify-symbols)
22705 (prog-prettify-install): Update docstrings.
22706
22707 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22708
22709 * simple.el: Move all the prog-mode code to prog-mode.el.
22710 * progmodes/prog-mode.el: New file.
22711 * loadup.el: Add prog-mode.el.
22712
22713 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22714
22715 * simple.el (prog-prettify-symbols): Add version.
22716 (prog-prettify-install): Add convenience function to prettify symbols.
22717
22718 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22719 (perl--augmented-font-lock-keywords-1)
22720 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22721 variables and use it.
22722
22723 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22724 (cfengine3-mode): Remove unneeded variable and use it.
22725
22726 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22727 (lisp--augmented-font-lock-keywords-1)
22728 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22729 Remove unneeded variables and use it.
22730
22731 2013-06-05 João Távora <joaotavora@gmail.com>
22732
22733 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22734 to point when opening the connection. (Bug#14380)
22735
22736 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22737
22738 * subr.el (load-history-regexp, load-history-filename-element)
22739 (eval-after-load, after-load-functions, do-after-load-evaluation)
22740 (eval-next-after-load, display-delayed-warnings)
22741 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22742 definition of save-match-data.
22743 (overriding-local-map): Remove accidental obsolescence declaration.
22744
22745 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22746
22747 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22748
22749 Generalize symbol prettify support to prog-mode and implement it
22750 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22751 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22752 (prog--prettify-font-lock-compose-symbol)
22753 (prog-prettify-font-lock-symbols-keywords): New variables and
22754 functions to support symbol prettification.
22755 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22756 (lisp--augmented-font-lock-keywords-1)
22757 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22758 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22759 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22760 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22761 Implement prettify of -> => :: strings.
22762 * progmodes/perl-mode.el (perl-prettify-symbols)
22763 (perl--font-lock-compose-symbol)
22764 (perl--font-lock-symbols-keywords): Move to prog-mode.
22765 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22766 (perl-font-lock-keywords-1)
22767 (perl-font-lock-keywords-2): Remove explicit prettify support.
22768 (perl--augmented-font-lock-keywords)
22769 (perl--augmented-font-lock-keywords-1)
22770 (perl--augmented-font-lock-keywords-2, perl-mode):
22771 Implement prettify support.
22772
22773 2013-06-05 Leo Liu <sdl.web@gmail.com>
22774
22775 Re-implement SMIE matching block highlight using
22776 show-paren-data-function. (Bug#14395)
22777 * emacs-lisp/smie.el (smie-matching-block-highlight)
22778 (smie--highlight-matching-block-overlay)
22779 (smie--highlight-matching-block-lastpos)
22780 (smie-highlight-matching-block)
22781 (smie-highlight-matching-block-mode): Remove.
22782 (smie--matching-block-data-cache): New variable.
22783 (smie--matching-block-data): New function.
22784 (smie-setup): Use smie--matching-block-data for
22785 show-paren-data-function.
22786
22787 * progmodes/octave.el (octave-mode-menu): Fix.
22788 (octave-find-definition): Skip garbage lines.
22789
22790 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22791
22792 Fix compilation error with simultaneous dynamic+lexical scoping.
22793 Add warning when a defvar appears after the first let-binding.
22794 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22795 (byte-compile-close-variables): Initialize it.
22796 (byte-compile--declare-var): New function.
22797 (byte-compile-file-form-defvar)
22798 (byte-compile-file-form-define-abbrev-table)
22799 (byte-compile-file-form-custom-declare-variable): Use it.
22800 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22801 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22802 (byte-compile-bind): Handle dynamic bindings that shadow
22803 lexical bindings.
22804 (byte-compile-unbind): Make arg non-optional.
22805 (byte-compile-let): Simplify.
22806 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22807 (cconv--analyse-function, cconv-analyse-form): Populate it.
22808 Protect byte-compile-bound-variables to limit the scope of defvars.
22809 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22810 Remove unneeded rule for `declare'.
22811
22812 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22813 so as to avoid depending on cl-adjoin at run-time.
22814 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22815
22816 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22817 (macroexp--warn-and-return): Use it.
22818
22819 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22820
22821 * subr.el: Convert to lexical binding.
22822 (overriding-local-map): Make obsolete.
22823 (add-to-list): Doc fix. Add compiler macro.
22824 (read-key): Swap values of local maps.
22825
22826 2013-06-05 Leo Liu <sdl.web@gmail.com>
22827
22828 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22829
22830 2013-06-04 Leo Liu <sdl.web@gmail.com>
22831
22832 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22833 (compilation-auto-jump): Suppress the "Mark set" message to give
22834 way to exit message.
22835
22836 2013-06-04 Alan Mackenzie <acm@muc.de>
22837
22838 Remove faulty optimization from indentation calculation.
22839 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22840 search limit based on 2000 characters back from indent-point.
22841
22842 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22843
22844 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22845
22846 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22847
22848 * emacs-lisp/lisp.el: Use lexical-binding.
22849 (lisp--local-variables-1, lisp--local-variables): New functions.
22850 (lisp--local-variables-completion-table): New var.
22851 (lisp-completion-at-point): Use it complete let-bound vars.
22852
22853 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22854 eagerly (bug#14422).
22855
22856 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22857
22858 * autorevert.el (auto-revert-notify-enabled)
22859 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22860 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22861 (auto-revert-notify-handler): Handle also gfilenotify.
22862
22863 * subr.el (file-notify-handle-event): New defun. Replacing ...
22864 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22865 Remove.
22866
22867 2013-06-03 Juri Linkov <juri@jurta.org>
22868
22869 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22870 `M-s h .'. (Bug#14427)
22871
22872 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22873 command `hi-lock-face-symbol-at-point'.
22874 (hi-lock-face-symbol-at-point): New command.
22875 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22876 (hi-lock-menu): Add `highlight-symbol-at-point'.
22877 (hi-lock-mode): Doc fix.
22878
22879 * isearch.el (isearch-forward-symbol-at-point): New command.
22880 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22881 (isearch-highlight-regexp): Add a regexp which matches
22882 words/symbols for word/symbol mode.
22883
22884 * subr.el (find-tag-default-bounds): New function with the body
22885 mostly moved from `find-tag-default'.
22886 (find-tag-default): Move most code to `find-tag-default-bounds',
22887 call it and apply `buffer-substring-no-properties' afterwards.
22888
22889 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22890
22891 * eshell/em-term.el (eshell-term-initialize):
22892 Use `cl-intersection' rather than `intersection'.
22893
22894 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22895
22896 * vc/log-view.el: Doc fix.
22897 (log-view-mode-map): Copy keymap from `special-mode-map'.
22898
22899 2013-06-02 Eric Ludlam <zappo@gnu.org>
22900
22901 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22902 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22903 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22904 (eieio-unbound, eieio-default-superclass)
22905 (eieio--define-field-accessors, method-static, method-before)
22906 (method-primary, method-after, method-num-lists)
22907 (method-generic-before, method-generic-primary)
22908 (method-generic-after, method-num-slots)
22909 (eieio-specialized-key-to-generic-key)
22910 (eieio--check-type, class-v, class-p)
22911 (eieio-class-name, define-obsolete-function-alias)
22912 (eieio-class-parents-fast, eieio-class-children-fast)
22913 (same-class-fast-p, class-constructor, generic-p)
22914 (generic-primary-only-p, generic-primary-only-one-p)
22915 (class-option-assoc, class-option, eieio-object-p)
22916 (class-abstract-p, class-method-invocation-order)
22917 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22918 (eieio-class-un-autoload, eieio-defclass)
22919 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22920 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22921 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22922 (eieio-defgeneric-reset-generic-form)
22923 (eieio-defgeneric-form-primary-only)
22924 (eieio-defgeneric-reset-generic-form-primary-only)
22925 (eieio-defgeneric-form-primary-only-one)
22926 (eieio-defgeneric-reset-generic-form-primary-only-one)
22927 (eieio-unbind-method-implementations)
22928 (eieio--defmethod, eieio--typep)
22929 (eieio-perform-slot-validation, eieio-validate-slot-value)
22930 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22931 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22932 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22933 (eieio-slot-name-index, eieio-class-slot-name-index)
22934 (eieio-set-defaults, eieio-initarg-to-attribute)
22935 (eieio-attribute-to-initarg, eieio-c3-candidate)
22936 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22937 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22938 (eieio-class-precedence-list, eieio-generic-call-methodname)
22939 (eieio-generic-call-arglst, eieio-generic-call-key)
22940 (eieio-generic-call-next-method-list)
22941 (eieio-pre-method-execution-functions, eieio-generic-call)
22942 (eieio-generic-call-primary-only, eieiomt-method-list)
22943 (eieiomt-optimizing-obarray, eieiomt-install)
22944 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22945 (eieio-generic-form, eieio-defmethod, make-obsolete)
22946 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22947 (defclass): Remove `eval-and-compile' from macro.
22948 (call-next-method, shared-initialize): Instead of using
22949 `scoped-class' variable, use new eieio--scoped-class, and
22950 eieio--with-scoped-class.
22951 (initialize-instance): Rename local variable 'scoped-class' to
22952 'this-class' to remove ambiguitity from old global.
22953
22954 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22955 eieio.el.
22956 (eieio--scoped-class-stack): New variable.
22957 (eieio--scoped-class): New fcn.
22958 (eieio--with-scoped-class): New scoping macro.
22959 (eieio-defclass): Use pushnew instead of add-to-list.
22960 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22961 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22962 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22963 `scoped-class' variable, use new eieio--scoped-class, and
22964 eieio--with-scoped-class.
22965
22966 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22967
22968 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22969
22970 * eshell/esh-ext.el (eshell-external-command): Pass args to
22971 `eshell-find-interpreter'.
22972 (eshell-find-interpreter): Add new second parameter ARGS.
22973
22974 * eshell/em-script.el (eshell-script-initialize): Add second arg
22975 to the function added as MATCH to `eshell-interpreter-alist'.
22976
22977 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22978 the function added as MATCH to `eshell-interpreter-alist'.
22979
22980 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22981 (eshell-visual-options): New defcustom.
22982 (eshell-escape-control-x): Adapt docstring.
22983 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22984 `eshell-visual-options' in addition to `eshell-visual-commands'.
22985 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22986
22987 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22988
22989 * progmodes/python.el (python-indent-block-enders): Add break,
22990 continue and raise keywords.
22991
22992 2013-06-01 Glenn Morris <rgm@gnu.org>
22993
22994 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22995
22996 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22997 * progmodes/cc-cmds.el (delete-forward-p):
22998 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22999 * progmodes/cc-engine.el (buffer-syntactic-context):
23000 * progmodes/cc-fonts.el (face-property-instance):
23001 * progmodes/cc-mode.el (set-keymap-parents):
23002 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23003 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23004 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23005 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23006 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23007
23008 * progmodes/cc-vars.el (other): Emacs has this widget since
23009 at least 21.1, so don't (re)define it.
23010
23011 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23012 Replace the obsolete alias pcomplete-arg-quote-list.
23013
23014 2013-06-01 Leo Liu <sdl.web@gmail.com>
23015
23016 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23017 punctuation syntax.
23018 (inferior-octave-minimal-columns)
23019 (inferior-octave-last-column-width): New variables.
23020 (inferior-octave-track-window-width-change): New function.
23021 (inferior-octave-mode): Adjust column width so that Octave output,
23022 for example from 'ls', can fit into the window nicely.
23023
23024 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23025
23026 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23027 Highlight expansions inside regexp literals.
23028
23029 2013-05-31 Glenn Morris <rgm@gnu.org>
23030
23031 * obsolete/sym-comp.el (symbol-complete):
23032 Replace obsolete completion-annotate-function.
23033
23034 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23035
23036 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23037
23038 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23039 New function, checks if point is inside a literal that allows
23040 expression expansion.
23041 (ruby-syntax-propertize-expansion): Use it.
23042 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23043 around the body.
23044
23045 2013-05-30 Juri Linkov <juri@jurta.org>
23046
23047 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23048 to "\M-si".
23049 (isearch-invisible): New variable.
23050 (isearch-forward): Doc fix.
23051 (isearch-mode): Set `isearch-invisible'
23052 to the value of `search-invisible'.
23053 (isearch-toggle-case-fold): Doc fix.
23054 (isearch-toggle-invisible): New command.
23055 (isearch-query-replace): Let-bind `search-invisible'
23056 to the value of `isearch-invisible'.
23057 (isearch-search): Use `isearch-invisible' instead of
23058 `search-invisible'. Let-bind `search-invisible'
23059 to the value of `isearch-invisible'. (Bug#11378)
23060
23061 2013-05-30 Juri Linkov <juri@jurta.org>
23062
23063 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23064 call when `query-flag' is nil and `search-invisible' is non-nil.
23065 (Bug#11746)
23066
23067 2013-05-30 Glenn Morris <rgm@gnu.org>
23068
23069 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23070
23071 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23072 (cc-require): Suppress spurious "noruntime" warnings.
23073 (cc-require-when-compile): Use fboundp, for sake of compiler.
23074
23075 * progmodes/cc-mode.el: Move load of cc-vars before that of
23076 cc-langs (which in turn loads cc-vars), to quieten compiler.
23077
23078 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23079
23080 * paren.el: Simplify the code.
23081 (show-paren-mode): Always start the timer.
23082 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23083 (show-paren--overlay, show-paren--overlay-1): Rename from
23084 show-paren-overlay and show-paren-overlay-1, and initialize to an
23085 overlay rather than to nil.
23086 (show-paren-function): Misc cleanup and simplifications.
23087
23088 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23089
23090 * paren.el (show-paren-data-function): New hook.
23091 (show-paren--default): New function, extracted from show-paren-function.
23092 (show-paren-function): Use show-paren-data-function.
23093
23094 2013-05-30 Glenn Morris <rgm@gnu.org>
23095
23096 * ielm.el (ielm-map, ielm-complete-symbol):
23097 Use completion-at-point rather than obsolete functions.
23098 (inferior-emacs-lisp-mode): Doc fix.
23099 Set completion-at-point-functions, rather than
23100 comint-dynamic-complete-functions.
23101
23102 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23103 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23104 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23105
23106 * image.el (image-animated-p): Tweak definition.
23107
23108 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23109 (rlogin-process-connection-type): Tweak default. Add set-after.
23110 (rlogin-host): Doc fix.
23111 (rlogin): Tweak prompt.
23112 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23113
23114 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23115 * progmodes/tcl.el (inferior-tcl-mode-map):
23116 Use completion-at-point rather than obsolete alias.
23117
23118 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23119
23120 * minibuffer.el (read-file-name-completion-ignore-case):
23121 Move before completion--in-region, for eager macro expansion.
23122
23123 2013-05-29 Juri Linkov <juri@jurta.org>
23124
23125 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23126 for total count of matching lines. Add `global-matches' for total
23127 count of matches. Rename `matches' to `lines' for count of
23128 matching lines. Add `matches' for count of matches.
23129 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23130 to `prev-line' for line number of prev match endpt.
23131 Increment `matches' for every match. Print the number of
23132 matching lines in the header.
23133 (occur-context-lines): Rename `lines' to `curr-line'.
23134 Rename `prev-lines' to `prev-line'. (Bug#14017)
23135
23136 2013-05-29 Juri Linkov <juri@jurta.org>
23137
23138 * replace.el (perform-replace): Add `skip-read-only-count',
23139 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23140 Increment them for corresponding conditions and report the number
23141 of skipped occurrences in the final message. (Bug#11746)
23142 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23143 (replace-string, replace-regexp): Doc fix.
23144
23145 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23146
23147 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23148
23149 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23150 prog-mode-map (bug#14504).
23151
23152 2013-05-29 Leo Liu <sdl.web@gmail.com>
23153
23154 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23155 (octave-help): Small simplification.
23156
23157 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23158 off the highlight first.
23159
23160 2013-05-29 Glenn Morris <rgm@gnu.org>
23161
23162 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23163 Handle idlwave-last-system-routine-info-cons-cell being nil.
23164
23165 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23166 (idlwave-write-paths): Simplify via with-temp-buffer.
23167
23168 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23169 * emulation/cua-rect.el: Also load cua-base at run time.
23170
23171 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23172 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23173 (cperl-imenu-on-info): Require imenu.
23174
23175 2013-05-28 Alan Mackenzie <acm@muc.de>
23176
23177 Handle "capitalised keywords" correctly.
23178 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23179
23180 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23181
23182 * eshell/em-unix.el: Add -r option to cp.
23183
23184 2013-05-28 Glenn Morris <rgm@gnu.org>
23185
23186 * vc/vc-arch.el (vc-exec-after): Declare.
23187 (vc-switches): Autoload.
23188 * vc/vc-bzr.el: No need to require vc when compiling.
23189 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23190 (vc-resynch-buffer, vc-dir-refresh): Declare.
23191 (vc-setup-buffer, vc-switches): Autoload.
23192 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23193 (vc-resynch-buffer): Declare.
23194 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23195 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23196 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23197 (grep-read-regexp, grep-read-files, grep-expand-template)
23198 (vc-dir-refresh): Declare.
23199 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23200 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23201 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23202 * vc/vc-mtn.el (vc-exec-after): Declare.
23203 (vc-switches): Autoload.
23204 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23205 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23206 (vc-file-tree-walk): Declare.
23207 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23208 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23209 (vc-tag-precondition, vc-rename-master): Autoload.
23210 * vc/vc-svn.el (vc-exec-after): Declare.
23211 (vc-switches, vc-setup-buffer): Autoload.
23212 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23213 Autoload.
23214 (vc-resynch-buffer): Declare.
23215
23216 * obsolete/fast-lock.el (byte-compile-warnings):
23217 Don't warn about obsolete features in this obsolete file.
23218
23219 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23220 Move definition before use.
23221
23222 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23223 (dun-unix-verbs): Remove dun-zippy.
23224 (dun-zippy): Remove function.
23225
23226 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23227
23228 2013-05-27 Juri Linkov <juri@jurta.org>
23229
23230 * replace.el (replace-search): New function with code moved out
23231 from `perform-replace'.
23232 (replace-highlight, replace-dehighlight): Move function definitions
23233 up closer to `replace-search'. (Bug#11746)
23234
23235 2013-05-27 Juri Linkov <juri@jurta.org>
23236
23237 * replace.el (perform-replace): Ignore invisible matches.
23238 In addition to checking `query-replace-skip-read-only', also
23239 filter out matches by calling `run-hook-with-args-until-failure'
23240 on `isearch-filter-predicates', and also check `search-invisible'
23241 for t or call `isearch-range-invisible'.
23242 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23243
23244 2013-05-27 Juri Linkov <juri@jurta.org>
23245
23246 * isearch.el (isearch-filter-predicates): Rename from
23247 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23248 (isearch-message-prefix): Display text from the property
23249 `isearch-message-prefix' of the currently active filters.
23250 (isearch-search): Don't compare `isearch-filter-predicate' with
23251 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23252 on `isearch-filter-predicates'. Also check `search-invisible' for t
23253 or call `isearch-range-invisible'.
23254 (isearch-filter-visible): Make obsolete.
23255 (isearch-lazy-highlight-search):
23256 Call `run-hook-with-args-until-failure' on
23257 `isearch-filter-predicates' and use `isearch-range-invisible'.
23258
23259 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23260 `isearch-filter-predicates' instead of `funcall'ing
23261 `isearch-filter-predicate'.
23262 (Info-mode): Set `Info-isearch-filter' to
23263 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23264
23265 * dired-aux.el (dired-isearch-filter-predicate-orig):
23266 Remove variable.
23267 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23268 (dired-isearch-filenames-end): Add and remove
23269 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23270 instead of changing the value of `isearch-filter-predicate'.
23271 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23272 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23273 Put property `isearch-message-prefix' to "filename " on
23274 `dired-isearch-filter-filenames'.
23275
23276 * wdired.el (wdired-change-to-wdired-mode):
23277 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23278 locally instead of changing `isearch-filter-predicate'.
23279 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23280
23281 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23282
23283 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23284 return the commit hash (Bug#14459). Also set the
23285 `vc-git-detached' property.
23286 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23287 (vc-git-mode-line-string): Use the same help-echo format whether
23288 in detached mode or not, because we know the actual revision now.
23289 When in detached mode, shorten the revision to 7 chars.
23290
23291 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23292
23293 * emacs-lisp/easy-mmode.el (define-minor-mode):
23294 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23295 mode hook and provide a docstring.
23296
23297 2013-05-27 Alan Mackenzie <acm@muc.de>
23298
23299 Remove spurious syntax-table text properties inserted by C-y.
23300 * progmodes/cc-mode.el (c-after-change): Also clear hard
23301 syntax-table property with value nil.
23302
23303 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23304
23305 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23306 when reading the events; the buffer layout shall not be changed.
23307
23308 2013-05-27 Leo Liu <sdl.web@gmail.com>
23309
23310 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23311 New variable.
23312 (inferior-octave-directory-tracker): Automatically re-sync
23313 default-directory.
23314 (octave-help): Improve handling of 'See also'.
23315
23316 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23317
23318 * doc-view.el: Minor naming convention tweaks.
23319 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23320
23321 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23322 even if there's no `display' property yet (bug#14435).
23323
23324 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23325
23326 * subr.el (unmsys--file-name): Rename from reveal-filename.
23327
23328 * Makefile.in (custom-deps, finder-data, autoloads)
23329 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23330 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23331 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23332
23333 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23334
23335 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23336 error-completion on the first 2 args of condition-case (bug#14446).
23337 Don't burp at EOB.
23338
23339 2013-05-25 Leo Liu <sdl.web@gmail.com>
23340
23341 * comint.el (comint-previous-matching-input): Do not flood the
23342 *Messages* buffer with trivial messages.
23343
23344 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23345
23346 * progmodes/flymake.el (flymake-nop): Don't return a string.
23347 (flymake-set-at): Fix typo.
23348
23349 * simple.el (read--expression): New function, extracted from
23350 eval-expression. Set completion-at-point-functions (bug#14465).
23351 (eval-expression, eval-minibuffer): Use it.
23352
23353 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23354
23355 * progmodes/flymake.el (flymake-save-buffer-in-file)
23356 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23357 (flymake-selected-frame, flymake-log, flymake-ins-after)
23358 (flymake-set-at, flymake-get-buildfile-from-cache)
23359 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23360 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23361 Refine the doc string.
23362 (flymake-get-file-name-mode-and-masks): Reformat.
23363 (flymake-get-real-file-name-function): Fix a minor bug.
23364
23365 2013-05-24 Juri Linkov <juri@jurta.org>
23366
23367 * progmodes/grep.el (grep-mode-font-lock-keywords):
23368 Support =linenumber= format used by git-grep for lines with
23369 function names. (Bug#13549)
23370
23371 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23372
23373 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23374 0 after a semi-colon; it works better for smie-auto-fill.
23375 (octave--indent-new-comment-line): New function.
23376 (octave-indent-new-comment-line): Use it (indirectly).
23377 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23378 modify comment-line-break-function.
23379
23380 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23381 (smie-setup): Use add-function to set it.
23382
23383 2013-05-24 Sam Steingold <sds@gnu.org>
23384
23385 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23386 argument (before the `interactive' argument).
23387
23388 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23389
23390 * image-mode.el (image-mode-winprops): Add winprops to
23391 image-mode-winprops-alist before running
23392 image-mode-new-window-functions.
23393 * doc-view.el (doc-view-new-window-function): Don't delay
23394 doc-view-goto-page via timers (bug#14435).
23395
23396 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23397
23398 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23399 (doc-view-desktop-save-buffer): New function.
23400 (doc-view-restore-desktop-buffer): New function.
23401 (desktop-buffer-mode-handlers):
23402 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23403 handler.
23404 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23405 `desktop-save-buffer' function.
23406
23407 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23408
23409 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23410 (tramp-gvfs-file-name-handler): Raise a user error when
23411 `tramp-gvfs-enabled' is nil.
23412 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23413 Do not raise a user error when loading package. (Bug#14447)
23414
23415 * net/xesam.el: Move to obsolete/.
23416
23417 2013-05-24 Glenn Morris <rgm@gnu.org>
23418
23419 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23420
23421 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23422
23423 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23424 (Info-find-node, Man-getpage-in-background): Declare.
23425
23426 * mail/unrmail.el (unrmail):
23427 Replace obsolete detect-coding-with-priority.
23428
23429 * net/socks.el (socks-split-string): Use this rather than split-string.
23430 (socks-nslookup-host): Update for above change.
23431 (dynamic-choice, s5-dynamic-choice-match)
23432 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23433 Comment out unused code.
23434
23435 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23436 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23437 (gud-tooltip-echo-area): Make obsolete.
23438 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23439
23440 * progmodes/js.el (js--optimize-arglist): Declare.
23441
23442 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23443
23444 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23445 (ediff-window-C): Declare.
23446
23447 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23448 Tweak requires to silence compiler.
23449
23450 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23451 (he-search-string, he-tried-table, he-expand-list)
23452 (he-init-string, he-string-member, he-substitute-string)
23453 (he-reset-string): Declare.
23454
23455 * obsolete/options.el (list-options): Use custom-variable-p,
23456 rather than obsolete alias.
23457
23458 2013-05-23 Sam Steingold <sds@gnu.org>
23459
23460 * simple.el (shell-command-on-region): Pass the `replace' argument
23461 down to `call-process-region' to comply with the doc as reported on
23462 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23463
23464 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23465
23466 * emacs-lisp/smie.el (smie-indent-forward-token)
23467 (smie-indent-backward-token): Handle string tokens (bug#14381).
23468
23469 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23470
23471 * ielm.el (ielm-menu): New menu.
23472 (inferior-emacs-lisp-mode): Set comment-start.
23473
23474 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23475
23476 * textmodes/reftex.el (reftex-ref-style-toggle):
23477 Fix deactivate action.
23478
23479 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23480 Add cleveref macros.
23481
23482 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23483 Accept options for bibliography commands.
23484 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23485 Add addbibresource. Basic Biblatex support.
23486
23487 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23488
23489 * net/tramp-gvfs.el (top):
23490 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23491 when loading package. (Bug#14447)
23492
23493 2013-05-23 Glenn Morris <rgm@gnu.org>
23494
23495 * progmodes/js.el: No need to load comint when compiling.
23496 (ring-insert, comint-send-string, comint-send-input)
23497 (comint-last-input-end, ido-chop): Declare.
23498
23499 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23500 * vc/ediff-mult.el: Adjust requires.
23501 (ediff-directories-internal, ediff-directory-revisions-internal)
23502 (ediff-patch-file-internal): Declare.
23503 * vc/ediff-ptch.el: Adjust requires.
23504 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23505 (ediff-find-file): Autoload.
23506 * vc/ediff-util.el: No need to load ediff when compiling.
23507 (ediff-regions-internal): Declare.
23508 * vc/ediff-wind.el: Adjust requires.
23509 (ediff-compute-toolbar-width): Define when compiling.
23510 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23511 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23512 (dired-get-filename, dired-get-marked-files)
23513 (ediff-last-dir-patch, ediff-patch-default-directory)
23514 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23515 (ediff-patch-buffer-internal): Declare.
23516
23517 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23518 (ispell-process, ispell-buffer-local-words, lm-summary)
23519 (lm-section-start, lm-section-end): Declare.
23520 (checkdoc-ispell-init): Simplify.
23521
23522 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23523 (he-string-member, he-reset-string, he-substitute-string): Declare.
23524
23525 * eshell/em-ls.el: Adjust requires.
23526 (eshell-glob-regexp): Declare.
23527 * eshell/em-tramp.el: Adjust requires.
23528 (eshell-parse-command): Autoload.
23529 * eshell/em-xtra.el: Adjust requires.
23530 (eshell-parse-command): Autoload.
23531 * eshell/esh-ext.el: Adjust requires.
23532 (eshell-parse-command, eshell-close-handles): Autoload.
23533 * eshell/esh-io.el: Adjust requires.
23534 (eshell-output-filter): Autoload.
23535 * eshell/esh-util.el: No need to load tramp when compiling.
23536 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23537 Declare.
23538 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23539 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23540 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23541 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23542 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23543 * eshell/esh-opt.el, eshell/esh-proc.el:
23544 * eshell/esh-var.el: Adjust requires.
23545 * eshell/eshell.el: Do not require esh-util twice.
23546 (eshell-add-input-to-history): Declare.
23547 (eshell-command): Check history module is active before using it.
23548
23549 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23550
23551 2013-05-22 Leo Liu <sdl.web@gmail.com>
23552
23553 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23554
23555 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23556
23557 * autorevert.el (auto-revert-notify-add-watch)
23558 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23559 it indicates changes in file modification time.
23560
23561 2013-05-22 Glenn Morris <rgm@gnu.org>
23562
23563 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23564 Always delete the autoloaded function from the noruntime and
23565 unresolved functions lists.
23566
23567 * allout.el: No need to load epa, epg, overlay when compiling.
23568 (epg-context-set-passphrase-callback, epg-list-keys)
23569 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23570 (epg-key-user-id-list): Declare.
23571
23572 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23573 (viper-set-parsing-style-toggling-macro)
23574 (viper-set-emacs-state-searchstyle-macros):
23575 Use called-interactively-p on Emacs.
23576 (viper-looking-back): Make it an obsolete alias. Update callers.
23577 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23578 Use looking-back rather than viper-looking-back.
23579 (viper-tmp-insert-at-eob, viper-enlarge-region)
23580 (viper-read-string-with-history, viper-register-to-point)
23581 (viper-append-to-register, viper-change-state-to-vi)
23582 (viper-backward-char-carefully, viper-forward-char-carefully)
23583 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23584 (viper-change-state-to-emacs): Declare.
23585 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23586 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23587 * emulation/viper-mous.el: Do not load viper-cmd.
23588 (viper-backward-char-carefully, viper-forward-char-carefully)
23589 (viper-forward-word, viper-adjust-window): Declare.
23590
23591 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23592
23593 * progmodes/idlw-help.el (idlwave-help-fontify):
23594 Use called-interactively-p.
23595
23596 * term/w32console.el (w32-get-console-codepage)
23597 (w32-get-console-output-codepage): Declare.
23598
23599 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23600 Remove unnecessary declarations.
23601 (dframe-message): Doc fix.
23602
23603 * info.el (dframe-select-attached-frame, dframe-current-frame):
23604 Declare.
23605
23606 * speedbar.el (speedbar-message): Make it an obsolete alias.
23607 Update all callers.
23608 (speedbar-with-attached-buffer)
23609 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23610 (speedbar-with-writable): Use backquote.
23611 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23612 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23613 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23614 rather than speedbar- aliases.
23615 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23616 (speedbar-make-specialized-keymap, speedbar-insert-button)
23617 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23618 (speedbar-do-function-pointer): Declare.
23619 (rmail-speedbar-button, rmail-speedbar-find-file)
23620 (rmail-speedbar-move-message):
23621 Use dframe-with-attached-buffer rather than speedbar- alias.
23622 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23623 (dframe-message, speedbar-make-specialized-keymap)
23624 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23625 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23626 (speedbar-insert-button, dframe-select-attached-frame)
23627 (dframe-maybee-jump-to-attached-frame)
23628 (speedbar-change-initial-expansion-list)
23629 (speedbar-previously-used-expansion-list-name): Declare.
23630 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23631 Use dframe-message, dframe-with-attached-buffer rather than
23632 speedbar- aliases.
23633 (gud-sentinel): Silence compiler.
23634 * progmodes/vhdl-mode.el (speedbar-refresh)
23635 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23636 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23637 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23638 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23639 (speedbar-file-lists, speedbar-make-tag-line)
23640 (speedbar-line-directory, speedbar-goto-this-file)
23641 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23642 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23643 (speedbar-make-button, speedbar-reset-scanners)
23644 (speedbar-files-item-info, speedbar-line-text)
23645 (speedbar-find-file-in-frame, speedbar-set-timer)
23646 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23647 (speedbar-with-writable): Do not (re)define it.
23648 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23649 rather than speedbar- alias.
23650
23651 2013-05-21 Leo Liu <sdl.web@gmail.com>
23652
23653 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23654 menu items.
23655 (octave-mode): Tweak fill-nobreak-predicate.
23656 (inferior-octave-startup): Check process to avoid infinite loop.
23657 (inferior-octave): Pop to buffer first to show abornmal process
23658 exit information.
23659
23660 2013-05-21 Glenn Morris <rgm@gnu.org>
23661
23662 * printing.el (pr-menu-bar): Define when compiling.
23663
23664 2013-05-21 Leo Liu <sdl.web@gmail.com>
23665
23666 * progmodes/octave.el (octave-auto-fill): Remove.
23667 (octave-indent-new-comment-line): Improve.
23668 (octave-mode): Use auto fill mode through
23669 comment-line-break-function and fill-nobreak-predicate.
23670 (octave-goto-function-definition): Support DEFUN_DLD.
23671 (octave-beginning-of-defun): Small tweak.
23672 (octave-help): Show parent directory.
23673
23674 2013-05-21 Glenn Morris <rgm@gnu.org>
23675
23676 * files.el (dired-unmark):
23677 * progmodes/gud.el (gdb-input): Update declarations.
23678
23679 * calculator.el (electric, ehelp): No need to load when compiling.
23680 (Electric-command-loop, electric-describe-mode): Declare.
23681
23682 * doc-view.el (doc-view-current-converter-processes): Move before use.
23683
23684 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23685 Move MODE-set-explicitly definition before use.
23686
23687 * international/mule-diag.el (mule-diag):
23688 Don't use obsolete window-system-version.
23689
23690 * mail/feedmail.el (smtpmail): No need to load when compiling.
23691 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23692
23693 * mail/mail-utils.el (rfc822): No need to load when compiling.
23694 (rfc822-addresses): Autoload it.
23695 (mail-strip-quoted-names): Trivial simplification.
23696
23697 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23698 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23699
23700 * net/snmp-mode.el (tempo): Don't duplicate requires.
23701
23702 * progmodes/prolog.el (info): No need to load when compiling.
23703 (comint): Require before shell requires it.
23704 (Info-goto-node): Autoload it.
23705 (Info-follow-nearest-node): Declare.
23706 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23707
23708 * textmodes/artist.el (picture-mode-exit): Declare.
23709
23710 * textmodes/reftex-parse.el (reftex-parse-from-file):
23711 Trivial rewrite so the compiler can parse it better.
23712
23713 2013-05-20 Leo Liu <sdl.web@gmail.com>
23714
23715 * progmodes/octave.el (octave-help-mode-map)
23716 (octave-help-mode-finish-hook): New variables.
23717 (octave-help-mode, octave-help-mode-finish): New functions.
23718 (octave-help): Use octave-help-mode.
23719
23720 2013-05-20 Glenn Morris <rgm@gnu.org>
23721
23722 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23723
23724 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23725
23726 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23727 start at point, so that expansion starting right after opening
23728 slash in a regexp is recognized.
23729 (ruby-syntax-before-regexp-re): New defvar, extracted from
23730 ruby-syntax-propertize-function. Since the value of this regexp
23731 is looked up at runtime now, we should be able to turn
23732 `ruby-syntax-methods-before-regexp' into a defcustom later.
23733 (ruby-syntax-propertize-function): Split regexp matching into two
23734 parts, for opening and closing slashes. That allows us to skip
23735 over string interpolations and support multiline regexps.
23736 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23737 for them, which calls `ruby-syntax-propertize-expansion'.
23738 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23739 call to `ruby-syntax-propertize-function'.
23740 (ruby-syntax-propertize-expansion): Extracted from
23741 `ruby-syntax-propertize-expansions'. Handles one expansion.
23742 (ruby-syntax-propertize-percent-literal): Leave point right after
23743 the percent symbol, so that the expression expansion rule can
23744 propertize the contents.
23745 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23746 heredoc openers.
23747 (ruby-syntax-propertize-expansions): Remove.
23748
23749 2013-05-18 Juri Linkov <juri@jurta.org>
23750
23751 * man.el (Man-default-man-entry): Remove `-' from the end
23752 of the default value. (Bug#14400)
23753
23754 2013-05-18 Glenn Morris <rgm@gnu.org>
23755
23756 * comint.el (comint-password-prompt-regexp):
23757 Allow "password for XXX" where XXX contains colons (eg https://...).
23758
23759 2013-05-18 Leo Liu <sdl.web@gmail.com>
23760
23761 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23762 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23763 (octave-source-directories): Don't check process.
23764 (octave-source-directories, octave-find-definition): Doc fix.
23765
23766 2013-05-18 Glenn Morris <rgm@gnu.org>
23767
23768 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23769 Remove backspace/delete bindings. (Bug#14392)
23770
23771 * cus-dep.el (custom-make-dependencies): Sort the output.
23772 (custom-versions-load-alist): Convert comment to doc.
23773
23774 2013-05-17 Leo Liu <sdl.web@gmail.com>
23775
23776 * newcomment.el (comment-search-backward): Stricter in finding
23777 comment start. (Bug#14303)
23778
23779 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23780 (octave-comment-start-skip): Properly anchored.
23781
23782 2013-05-17 Leo Liu <sdl.web@gmail.com>
23783
23784 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23785 Clean up when turned off. (Bug#14395)
23786 (smie--highlight-matching-block-overlay): No longer buffer-local.
23787 (smie-highlight-matching-block): Adjust.
23788
23789 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23790
23791 Doc string fix for "nanoseconds" (Bug#14406).
23792 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23793 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23794
23795 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23796
23797 * calc/calc-units.el (math-extract-units): Preserve powers
23798 of units.
23799
23800 2013-05-17 Leo Liu <sdl.web@gmail.com>
23801
23802 * subr.el (delete-consecutive-dups): New function.
23803 * ido.el (ido-set-matches-1): Use it.
23804 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23805 * ido.el (ido-remove-consecutive-dups): Remove.
23806
23807 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23808
23809 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23810 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23811 regexp-opt's `words'.
23812
23813 2013-05-16 Leo Liu <sdl.web@gmail.com>
23814
23815 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23816 (smie--highlight-matching-block-overlay)
23817 (smie--highlight-matching-block-lastpos)
23818 (smie--highlight-matching-block-timer): New variables.
23819 (smie-highlight-matching-block): New function.
23820 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23821 (smie-setup): Conditionally enable smie-blink-matching-open.
23822
23823 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23824
23825 Sync with upstream verilog-mode r840.
23826 * progmodes/verilog-mode.el (verilog-mode-version)
23827 (verilog-mode-release-date): Update.
23828 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23829 (verilog-sig-tieoff): Fix string error on
23830 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23831 (verilog-read-decls): Fix parameters confusing
23832 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23833
23834 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23835
23836 * subr.el (reveal-filename): New function.
23837
23838 * loadup.el: Compute Emacs executable versions on MS-Windows,
23839 where executables have the .exe extension. Add a hard link
23840 emacs-XX.YY.ZZ.exe on MS-Windows.
23841
23842 * Makefile.in (XARGS_LIMIT): New variable.
23843 (custom-deps, finder-data, autoloads)
23844 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23845 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23846 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23847 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23848
23849 2013-05-16 Leo Liu <sdl.web@gmail.com>
23850
23851 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23852 (octave-mode-menu, octave-mode-map): Remove its uses.
23853
23854 2013-05-16 Reto Zimmermann <reto@gnu.org>
23855
23856 Sync with upstream vhdl mode v3.34.2.
23857 * progmodes/vhdl-mode.el: Use `push' throughout.
23858 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23859 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23860 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23861 (vhdl-actual-generic-name): New option to derive actual generic name.
23862 (vhdl-port-paste-signals): Replace formal by actual generics.
23863 (vhdl-beautify): New name for old group vhdl-align. Update users.
23864 (vhdl-beautify-options): New option.
23865 (vhdl-last-input-event): New compat alias. Use throughout.
23866 (vhdl-goto-line): Replace user level function `goto-line'.
23867 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23868 vhdl-fix-statement-buffer.
23869 (vhdl-create-mode-menu): Add some entries.
23870 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23871 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23872 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23873 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23874 to force statements on one line.
23875 (vhdl-remove-trailing-spaces-region):
23876 New, split from vhdl-remove-trailing-spaces.
23877 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23878 Respect vhdl-beautify-options.
23879 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23880 (vhdl-update-sensitivity-list): Not add with index if exists without.
23881 Not include array index with signal. Ignore keywords in comments.
23882 (vhdl-get-visible-signals): Regexp tweaks.
23883 (vhdl-template-component-inst): Handle empty library.
23884 (vhdl-template-type): Add template for 'enum' type.
23885 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23886 Use vhdl-replace-string.
23887 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23888 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23889 (vhdl-speedbar-initialize): Update for above name change.
23890 (vhdl-compose-wire-components): Fix in handling of constants.
23891 (vhdl-error-regexp-emacs-alist): New variable.
23892 (vhdl-error-regexp-add-emacs): New function;
23893 adds support for new compile.el (Emacs 22+)
23894 (vhdl-generate-makefile-1): Change target order for single lib. units.
23895 Allow use of absolute file names.
23896
23897 2013-05-16 Leo Liu <sdl.web@gmail.com>
23898
23899 * simple.el (prog-indent-sexp): Indent enclosing defun.
23900
23901 2013-05-15 Glenn Morris <rgm@gnu.org>
23902
23903 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23904 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23905 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23906 (whitespace-highlight): Move to whitespace group.
23907
23908 * comint.el (comint-source):
23909 * pcmpl-linux.el (pcmpl-linux):
23910 * shell.el (shell-faces):
23911 * eshell/esh-opt.el (eshell-opt):
23912 * international/ccl.el (ccl): Remove empty custom groups.
23913
23914 * completion.el (dynamic-completion-mode):
23915 * jit-lock.el (jit-lock-debug-mode):
23916 * minibuffer.el (completion-in-region-mode):
23917 * type-break.el (type-break-mode-line-message-mode)
23918 (type-break-query-mode):
23919 * emulation/tpu-edt.el (tpu-edt-mode):
23920 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23921 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23922 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23923
23924 * term/xterm.el (xterm): Change parent group to terminals.
23925
23926 * master.el (master): Remove empty custom group.
23927 (master-mode): Remove unused :group argument.
23928 * textmodes/refill.el (refill): Remove empty custom group.
23929 (refill-mode): Remove unused :group argument.
23930
23931 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23932
23933 * cus-dep.el: Provide a feature.
23934 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23935 Don't mistakenly ignore files whose basenames match a basename
23936 from preloaded-file-list (eg cedet/ede/simple.el).
23937 Add a fallback method for getting :group.
23938
23939 2013-05-15 Juri Linkov <juri@jurta.org>
23940
23941 * isearch.el (isearch-char-by-name): Rename from
23942 `isearch-insert-char-by-name'. Doc fix.
23943 (isearch-forward): Mention `isearch-char-by-name' in
23944 the docstring. (Bug#13348)
23945
23946 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23947 `exit-minibuffer' instead of
23948 `isearch-nonincremental-exit-minibuffer'.
23949 (isearch-edit-string): Remove mention of
23950 `isearch-nonincremental-exit-minibuffer' from docstring.
23951 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23952 (isearch-forward-exit-minibuffer)
23953 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23954
23955 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23956
23957 * loadup.el: Just use unversioned DOC.
23958
23959 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23960 literals as extending to EOB.
23961 (nxml-last-fontify-end): Remove unused variable.
23962 (nxml-after-change1): Use with-silent-modifications.
23963 (nxml-extend-after-change-region): Simplify.
23964 (nxml-extend-after-change-region1): Remove function.
23965 (nxml-after-change1): Don't adjust for dependent regions.
23966 (nxml-fontify-matcher): Simplify.
23967 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23968 (xmltok-add-dependent): Remove function.
23969 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23970 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23971 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23972 unclosed <[[, <?, comment, and other literals as extending to EOB.
23973 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23974 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23975 Remove functions.
23976 (rng-do-some-validation-1): Don't mark dependent regions.
23977 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23978 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23979 (nxml-clear-dependent-regions): Remove functions.
23980 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23981 (nxml-ensure-scan-up-to-date):
23982 Don't clear&mark dependent regions.
23983
23984 2013-05-15 Leo Liu <sdl.web@gmail.com>
23985
23986 * progmodes/octave.el (octave-goto-function-definition):
23987 Improve and fix callers.
23988
23989 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23990
23991 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23992 the setter (bug#14387).
23993
23994 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23995 surrounding group (bug#14402).
23996
23997 2013-05-14 Juri Linkov <juri@jurta.org>
23998
23999 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24000 (Bug#14390)
24001
24002 2013-05-14 Glenn Morris <rgm@gnu.org>
24003
24004 * progmodes/f90.el (f90-imenu-generic-expression):
24005 Fix typo in 2013-05-08 change. (Bug#14402)
24006
24007 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24008
24009 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24010 Remove signals for which replies are never received.
24011
24012 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24013
24014 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24015 (gdb-handler-alist, gdb-handler-number): Remove variables.
24016 (gdb-handler-list): New variable.
24017 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24018 (gdb-pending-handler-p, gdb-handle-reply)
24019 (gdb-remove-all-pending-triggers): New functions.
24020 (gdb-discard-unordered-replies): New defcustom.
24021 (gdb-handler): New defstruct.
24022 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24023 instead of gdb-pending-triggers. Update docstring.
24024 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24025 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24026 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24027 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24028 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24029 (gdb-frame-handler): Pending triggers are now automatically managed.
24030 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24031 Remove argument.
24032 (gdb-input): Automatically handles pending triggers. Update docstring.
24033 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24034 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24035 Update comments.
24036 (gdb-done-or-error): Now use gdb-handle-reply.
24037
24038 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24039
24040 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24041 gdb-debug-log.
24042
24043 2013-05-14 Glenn Morris <rgm@gnu.org>
24044
24045 * subr.el (user-emacs-directory-warning): New option.
24046 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24047
24048 2013-05-14 Leo Liu <sdl.web@gmail.com>
24049
24050 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24051 during redisplay.
24052 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24053 (octave-font-lock-texinfo-comment): Fix invalid search bound
24054 error: wrong side of point.
24055
24056 2013-05-14 Glenn Morris <rgm@gnu.org>
24057
24058 * progmodes/flymake.el (flymake-xml-program): New option.
24059 (flymake-xml-init): Use it.
24060
24061 * term/xterm.el: Provide a feature.
24062
24063 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24064
24065 2013-05-13 Glenn Morris <rgm@gnu.org>
24066
24067 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24068 Add compat aliases as a hack workaround. (Bug#14384)
24069
24070 2013-05-13 Leo Liu <sdl.web@gmail.com>
24071
24072 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24073 ###, and %!.
24074 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24075 C-M-q.
24076 (octave-comment-start-skip): Include %!.
24077 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24078
24079 2013-05-12 Leo Liu <sdl.web@gmail.com>
24080
24081 * progmodes/octave.el (inferior-octave-startup): Store the value
24082 of __octave_srcdir__ for octave-source-directories.
24083 (inferior-octave-check-process): New function refactored out of
24084 inferior-octave-send-list-and-digest.
24085 (octave-source-directories)
24086 (octave-find-definition-filename-function): New variables.
24087 (octave-source-directories)
24088 (octave-find-definition-default-filename): New functions.
24089 (octave-find-definition): Improve to find functions implemented in C++.
24090
24091 2013-05-12 Glenn Morris <rgm@gnu.org>
24092
24093 * calendar/diary-lib.el (diary-outlook-format-1):
24094 Don't include dayname in the output. (Bug#14349)
24095
24096 2013-05-11 Glenn Morris <rgm@gnu.org>
24097
24098 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24099
24100 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24101 Treat cc-provide like provide.
24102
24103 2013-05-11 Kevin Ryde <user42@zip.com.au>
24104
24105 * cus-dep.el (custom-make-dependencies):
24106 Use generated-autoload-load-name for the sake of files such
24107 such cedet/semantic/bovine/c.el, where the base file name
24108 is not in load-path. (Bug#5277)
24109
24110 2013-05-11 Glenn Morris <rgm@gnu.org>
24111
24112 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24113 Provide features.
24114
24115 2013-05-11 Leo Liu <sdl.web@gmail.com>
24116
24117 * progmodes/octave.el (octave-indent-comment): Improve.
24118 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24119 (octave-eldoc-function-signatures, octave-eldoc-function):
24120 New functions.
24121 (octave-mode, inferior-octave-mode): Add eldoc support.
24122
24123 2013-05-11 Richard Stallman <rms@gnu.org>
24124
24125 * epa.el (epa-decrypt-file): Take output file name as argument
24126 and read it using `interactive'.
24127
24128 2013-05-11 Leo Liu <sdl.web@gmail.com>
24129
24130 * progmodes/octave.el (octave-beginning-of-line)
24131 (octave-end-of-line): Check before using up-list because it jumps
24132 out of more syntactic contructs since moving to smie.
24133 (octave-indent-comment): New function.
24134 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24135 (octave-begin-keywords, octave-end-keywords)
24136 (octave-reserved-words, octave-smie-bnf-table)
24137 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24138
24139 2013-05-11 Glenn Morris <rgm@gnu.org>
24140
24141 * faces.el (internal-face-x-get-resource):
24142 * frame.el (ns-display-monitor-attributes-list):
24143 * calc/calc-aent.el (math-to-radians-2):
24144 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24145 Fix declarations.
24146
24147 * calc/calc-menu.el: Make it loadable in isolation.
24148
24149 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24150 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24151 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24152 (eudc-bbdb-query-internal): Require 'bbdb.
24153
24154 * lpr.el (lpr-headers-switches):
24155 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24156
24157 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24158
24159 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24160
24161 * term.el (term-set-escape-char): Make it idempotent.
24162
24163 2013-05-10 Leo Liu <sdl.web@gmail.com>
24164
24165 * progmodes/octave.el (inferior-octave-completion-table):
24166 No longer a function and all uses changed. Use cache to speed up
24167 completion due to bug#11906.
24168 (octave-beginning-of-defun): Re-write to be more general.
24169
24170 2013-05-10 Glenn Morris <rgm@gnu.org>
24171
24172 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24173
24174 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24175
24176 * comint.el (comint-redirect-send-command-to-process): Use :around
24177 rather than :override for comint-redirect-filter.
24178 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24179 Call it instead of comint-redirect-original-filter-function (which
24180 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24181
24182 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24183
24184 * frame.el (display-monitor-attributes-list): Add NS case.
24185 (ns-display-monitor-attributes-list): Declare.
24186
24187 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24188
24189 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24190
24191 2013-05-09 Glenn Morris <rgm@gnu.org>
24192
24193 * international/fontset.el (vertical-centering-font-regexp):
24194 Set standard-value.
24195
24196 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24197
24198 * bookmark.el (bookmark-search-delay):
24199 * cus-start.el (vertical-centering-font-regexp):
24200 * ps-mule.el (ps-mule-font-info-database-default):
24201 * ps-print.el (ps-default-fg, ps-default-bg):
24202 * type-break.el (type-break-good-break-interval):
24203 * whitespace.el (whitespace-indentation-regexp)
24204 (whitespace-space-after-tab-regexp):
24205 * emacs-lisp/testcover.el (testcover-1value-functions)
24206 (testcover-noreturn-functions, testcover-progn-functions)
24207 (testcover-prog1-functions):
24208 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24209 * eshell/em-glob.el (eshell-glob-translate-alist):
24210 * play/tetris.el (tetris-tty-colors):
24211 * progmodes/cpp.el (cpp-face-default-list):
24212 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24213 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24214 (idlwave-help-browser-generic-args):
24215 * progmodes/make-mode.el (makefile-special-targets-list):
24216 * progmodes/python.el (python-shell-virtualenv-path):
24217 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24218 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24219 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24220 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24221 * textmodes/reftex-vars.el (reftex-format-label-function):
24222 * textmodes/remember.el (remember-diary-file): Fix custom types.
24223
24224 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24225 Add :version.
24226
24227 2013-05-09 Leo Liu <sdl.web@gmail.com>
24228
24229 * progmodes/octave.el (inferior-octave-completion-at-point):
24230 Restore file completion. (Bug#14300)
24231 (inferior-octave-startup): Fix incorrect highlighting for the
24232 first prompt.
24233
24234 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24235
24236 * progmodes/ruby-mode.el: First cut at SMIE support.
24237 (ruby-use-smie): New var.
24238 (ruby-smie-grammar): New constant.
24239 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24240 (ruby-smie--forward-token, ruby-smie--backward-token)
24241 (ruby-smie-rules): New functions.
24242 (ruby-mode-variables): Setup SMIE if applicable.
24243
24244 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24245
24246 * simple.el (line-move-visual): Signal beginning/end of buffer
24247 only if vertical-motion moved less than it was requested. Avoids
24248 silly incorrect error messages when there are display strings with
24249 multiple newlines at EOL.
24250
24251 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24252
24253 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24254 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24255 (prolog-char-quote-workaround):
24256 * progmodes/cperl-mode.el (cperl-under-as-char):
24257 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24258 Mark as obsolete.
24259 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24260 their declaration.
24261 (vhdl-mode-syntax-table-init): Remove.
24262
24263 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24264 last change.
24265
24266 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24267 syntax for "_".
24268 (ld-script-font-lock-keywords):
24269 Change regexps to use things like \_< and \_>.
24270
24271 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24272 Change all regexps to use things like \_< and \_>.
24273
24274 * progmodes/autoconf.el (autoconf-definition-regexp)
24275 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24276 Handle a _ with symbol syntax.
24277 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24278
24279 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24280 Consolidate declaration.
24281 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24282 the declaration.
24283 (ada-create-syntax-table): Remove.
24284 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24285 already has the right syntax nowadays.
24286 (ada-goto-next-word): Don't change the syntax of "_".
24287
24288 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24289 with-wrapper-hook.
24290
24291 2013-05-08 Sam Steingold <sds@gnu.org>
24292
24293 * thingatpt.el (thing-at-point): Accept optional second argument
24294 NO-PROPERTIES to strip the text properties from the return value.
24295 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24296 to `thing-at-point' instead of stripping the properties ourselves.
24297 Also, when `thing-at-point' fails to find a url, prepend "http://"
24298 to the filename at point on the assumption that the user is
24299 pointing at something like gnu.org/gnu.
24300
24301 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24302
24303 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24304 * faces.el (crm-separator):
24305 Silence byte-compiler.
24306
24307 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24308 (tool-bar-map): Remove unneeded defvars.
24309
24310 2013-05-08 Leo Liu <sdl.web@gmail.com>
24311
24312 Re-work a fix for bug#10994 based on Le Wang's patch.
24313 * ido.el (ido-remove-consecutive-dups): New helper.
24314 (ido-completing-read): Use it.
24315 (ido-chop): Revert fix for bug#10994.
24316
24317 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24318
24319 * cus-edit.el (custom-save-variables):
24320 Pretty-print long values. (Bug#14187)
24321
24322 2013-05-08 Glenn Morris <rgm@gnu.org>
24323
24324 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24325 (m4-mode-syntax-table): Init in the defvar.
24326 (m4-mode-abbrev-table): Let define-derived-mode define it.
24327
24328 2013-05-08 Tom Tromey <tromey@redhat.com>
24329
24330 * progmodes/m4-mode.el (m4-mode-syntax-table):
24331 Do not treat "_" as word constituent. (Bug#14167)
24332
24333 2013-05-07 Glenn Morris <rgm@gnu.org>
24334
24335 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24336 Remove explicit eshell-isearch-cancel-map.
24337
24338 * progmodes/f90.el (f90-smart-end-names): New option.
24339 (f90-smart-end): Doc fix.
24340 (f90-end-block-optional-name): New constant.
24341 (f90-block-match): Respect f90-smart-end-names.
24342
24343 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24344
24345 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24346 about implicit semi-colons (bug#14218).
24347
24348 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24349
24350 * frame.el (display-monitor-attributes-list)
24351 (frame-monitor-attributes): New functions.
24352
24353 2013-05-06 Leo Liu <sdl.web@gmail.com>
24354
24355 * progmodes/octave.el (octave-syntax-propertize-function): Change
24356 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24357 (octave-font-lock-keywords): Use octave-operator-regexp.
24358 (octave-completion-at-point): Rename from
24359 octave-completion-at-point-function.
24360 (inferior-octave-directory-tracker): Robustify.
24361 (octave-text-functions): Remove and fix its uses. No such things
24362 any more.
24363
24364 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24365
24366 * emacs-lisp/trace.el (trace--display-buffer): New function.
24367 (trace-make-advice): Use it.
24368
24369 2013-05-06 Juri Linkov <juri@jurta.org>
24370
24371 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24372 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24373 Doc fix.
24374 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24375 in the help string. (Bug#12985)
24376
24377 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24378
24379 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24380
24381 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24382
24383 * progmodes/perl-mode.el: Add support for here documents.
24384 (perl-syntax-propertize-function): Match here-doc markers.
24385 (perl-syntax-propertize-special-constructs): Find their end.
24386 (perl-imenu-generic-expression): Use [:alnum:].
24387
24388 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24389 (advice--add-function): Refresh the advice if already present
24390 (bug#14317).
24391
24392 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24393
24394 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24395
24396 2013-05-06 Glenn Morris <rgm@gnu.org>
24397
24398 * w32-fns.el (w32-charset-info-alist): Declare.
24399
24400 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24401 of its defcustom properties.
24402 (eshell-cmpl-initialize): No need to load pcomplete.
24403
24404 * generic-x.el: No need to require comint when compiling.
24405
24406 * net/eudc-export.el: Make it loadable without bbdb.
24407 (top-level): Use require rather than load-library.
24408 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24409 (eudc-batch-export-records-to-bbdb)
24410 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24411 Require bbdb.
24412
24413 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24414
24415 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24416 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24417 some tweaks, instead.
24418
24419 2013-05-05 Leo Liu <sdl.web@gmail.com>
24420
24421 * progmodes/octave.el (octave-font-lock-keywords)
24422 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24423 (inferior-octave-send-list-and-digest): Improve error message.
24424 (octave-mode, inferior-octave-mode): Use setq-local.
24425 (octave-help): Set info-lookup-mode.
24426
24427 2013-05-05 Richard Stallman <rms@gnu.org>
24428
24429 * vc/compare-w.el (compare-windows-whitespace):
24430 Treat no-break space as whitespace.
24431
24432 * mail/rmailsum.el (rmail-summary-rmail-update):
24433 Detect empty summary and don't change selected message.
24434 (rmail-summary-goto-msg): Likewise.
24435
24436 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24437 Doc fixes, rename args.
24438
24439 2013-05-05 Alan Mackenzie <acm@muc.de>
24440
24441 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24442
24443 2013-05-05 Juri Linkov <juri@jurta.org>
24444
24445 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24446 to not add the length of the summary segment to the return value.
24447 (Bug#14125)
24448
24449 2013-05-05 Leo Liu <sdl.web@gmail.com>
24450
24451 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24452 (inferior-octave-output-filter): Remove.
24453 (octave-send-region, inferior-octave-startup): Fix callers.
24454 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24455 (octave-binary-file-extensions): New user variable.
24456 (octave-find-definition): Confirm if opening binary files.
24457 (octave-help-file): Use octave-find-definition to get the binary
24458 confirmation.
24459 (octave-help): Adjust for octave-help-file change.
24460
24461 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24462
24463 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24464 Merge the two entries that handle function definitions.
24465 (pascal--syntax-propertize): New const.
24466 (pascal-mode): Use it. Use setq-local.
24467
24468 2013-05-04 Glenn Morris <rgm@gnu.org>
24469
24470 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24471 (diary-from-outlook): Respect diary-from-outlook-function.
24472
24473 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24474
24475 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24476 Move the declaration from C.
24477 (read-minibuffer, eval-minibuffer): Move from C.
24478 (completion-setup-function): Avoid minibuffer-completion-contents.
24479
24480 2013-05-03 Leo Liu <sdl.web@gmail.com>
24481
24482 * progmodes/octave.el (octave-font-lock-keywords): Do not
24483 dehighlight 'end' in comments or strings.
24484 (octave-completing-read, octave-goto-function-definition):
24485 New helpers.
24486 (octave-help-buffer): New user variable.
24487 (octave-help-file, octave-help-function): New button types.
24488 (octave-help): New command and bind it to C-h ;.
24489 (octave-find-definition): New command and bind it to M-.
24490 (user-error): Alias to error if not defined.
24491
24492 2013-05-02 Leo Liu <sdl.web@gmail.com>
24493
24494 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24495 for \. (bug#14332)
24496 (octave-font-lock-keywords): Include [ and {.
24497
24498 2013-05-02 Leo Liu <sdl.web@gmail.com>
24499
24500 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24501 (inferior-octave): Remove calling comint-mode and return the buffer.
24502 (inferior-octave-startup): Cosmetic changes.
24503
24504 2013-05-02 Leo Liu <sdl.web@gmail.com>
24505
24506 * progmodes/octave.el (octave-syntax-propertize-function):
24507 Include the case when ' is at line beginning. (Bug#14336)
24508
24509 2013-05-02 Glenn Morris <rgm@gnu.org>
24510
24511 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24512 * desktop.el (vc-dir-mode): Just autoload it here.
24513
24514 2013-05-02 Alan Mackenzie <acm@muc.de>
24515
24516 Eliminate variable c-standard-font-lock-fontify-region-function.
24517 * progmodes/cc-mode.el
24518 (c-standard-font-lock-fontify-region-function): Remove.
24519 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24520
24521 2013-05-01 Leo Liu <sdl.web@gmail.com>
24522
24523 * progmodes/octave.el: Compatible with older emacs-24 releases.
24524 (inferior-octave-has-built-in-variables): Remove. Built-in
24525 variables were removed from Octave in 2007.
24526 (inferior-octave-startup): Fix uses.
24527 (comint-line-beginning-position): Remove compatibility code for
24528 emacs 21.
24529
24530 2013-05-01 Juri Linkov <juri@jurta.org>
24531
24532 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24533
24534 2013-05-01 Juri Linkov <juri@jurta.org>
24535
24536 * comint.el (comint-previous-matching-input): Don't print message
24537 "History item: %d" when `isearch-mode' is active.
24538 (comint-history-isearch-message): Print message "History item: %d"
24539 when `comint-input-ring-index' is not empty and this function is
24540 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24541
24542 2013-05-01 Leo Liu <sdl.web@gmail.com>
24543
24544 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24545 definitions. Use completion-at-point to insert keywords.
24546 (octave-abbrev-start): Remove.
24547 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24548
24549 2013-04-30 Leo Liu <sdl.web@gmail.com>
24550
24551 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24552 change.
24553
24554 2013-04-30 Alan Mackenzie <acm@muc.de>
24555
24556 Handle arbitrarily long C++ member initialization lists.
24557 * progmodes/cc-engine.el (c-back-over-member-initializers):
24558 new function.
24559 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24560 (most) member init lists.
24561
24562 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24563
24564 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24565 variable.
24566
24567 2013-04-30 Leo Liu <sdl.web@gmail.com>
24568
24569 * progmodes/octave.el (octave-variables): Remove. No builtin
24570 variables any more. All converted to functions.
24571 (octave-font-lock-keywords, octave-completion-at-point-function):
24572 Fix uses.
24573 (octave-font-lock-texinfo-comment): New user variable.
24574 (octave-texinfo-font-lock-keywords): New variable for texinfo
24575 comment block.
24576 (octave-function-comment-block): New face.
24577 (octave-font-lock-texinfo-comment): New function.
24578 (octave-mode): Font lock texinfo comment block.
24579
24580 2013-04-29 Leo Liu <sdl.web@gmail.com>
24581
24582 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24583 indexing expression.
24584 (octave-continuation-string): Do not use \.
24585 (inferior-octave-complete-impossible): Remove.
24586 (inferior-octave-completion-table)
24587 (inferior-octave-completion-at-point): Remove its uses.
24588 (inferior-octave-startup): completion_matches was introduced to
24589 Octave in 1996 so safe to assume it.
24590 (octave-function-file-comment): Improve to follow how Octave does it.
24591 (octave-update-function-file-comment): Tweak.
24592
24593 2013-04-29 Leo Liu <sdl.web@gmail.com>
24594
24595 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24596 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24597 (octave-function-file-comment): Fix typo.
24598 (octave-sync-function-file-names): Use read-char-choice.
24599
24600 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24601
24602 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24603 to t for the less important warnings.
24604
24605 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24606
24607 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24608
24609 2013-04-27 Glenn Morris <rgm@gnu.org>
24610
24611 * vc/log-view.el (log-view-current-entry):
24612 Treat "---" separator lines as part of the following rev. (Bug#14169)
24613
24614 2013-04-27 Juri Linkov <juri@jurta.org>
24615
24616 * subr.el (read-number): Doc fix about using it by interactive
24617 code letter `n'. (Bug#14254)
24618
24619 2013-04-27 Juri Linkov <juri@jurta.org>
24620
24621 * desktop.el (desktop-auto-save-timeout): New option.
24622 (desktop-file-checksum): New variable.
24623 (desktop-save): Add optional arg `auto-save' and don't auto-save
24624 if nothing changed.
24625 (desktop-auto-save-timer): New variable.
24626 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24627 (after-init-hook): Call `desktop-auto-save-set-timer'.
24628 Suggested by Reuben Thomas <rrt@sc3d.org> in
24629 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24630
24631 2013-04-27 Leo Liu <sdl.web@gmail.com>
24632
24633 * progmodes/octave.el (octave-function-file-p)
24634 (octave-skip-comment-forward, octave-function-file-comment)
24635 (octave-update-function-file-comment): New functions.
24636 (octave-mode-map): Bind C-c ; to
24637 octave-update-function-file-comment.
24638 (octave-mode-menu): Add octave-update-function-file-comment.
24639 (octave-mode, inferior-octave-mode): Fix doc-string.
24640 (octave-insert-defun): Conform to Octave's coding convention.
24641 (Bug#14285)
24642
24643 * files.el (basic-save-buffer): Don't let errors in
24644 before-save-hook prevent saving buffer.
24645
24646 2013-04-20 Roland Winkler <winkler@gnu.org>
24647
24648 * faces.el (read-face-name): Use completing-read if arg multiple
24649 is nil.
24650
24651 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24652
24653 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24654 displayed, move point to after the totals line.
24655 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24656 for the details.
24657
24658 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24659
24660 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24661 Add current dir to the load-path.
24662 (package-generate-autoloads): Don't rely on
24663 autoload-ensure-default-file.
24664
24665 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24666
24667 * textmodes/remember.el (remember-store-in-files): Document that
24668 the file name format is passed to `format-time-string'.
24669
24670 2013-04-26 Leo Liu <sdl.web@gmail.com>
24671
24672 * progmodes/octave.el (octave-sync-function-file-names): New function.
24673 (octave-mode): Use it in before-save-hook.
24674
24675 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24676
24677 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24678 (bug#14274).
24679
24680 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24681 \n and comment, even if it's not an implicit ; (bug#14218).
24682
24683 2013-04-26 Glenn Morris <rgm@gnu.org>
24684
24685 * subr.el (read-number): Once more use `read' rather than
24686 `string-to-number', to trap non-numeric input. (Bug#14254)
24687
24688 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24689
24690 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24691 Use `syntax-multiline' text property consistently instead of
24692 `font-lock-multiline'. (Bug#14237)
24693
24694 2013-04-26 Glenn Morris <rgm@gnu.org>
24695
24696 * emacs-lisp/shadow.el (list-load-path-shadows):
24697 No longer necessary to check for duplicate simple.el, since
24698 2012-07-07 change to init_lread to not include installation lisp
24699 directories in load-path when running uninstalled. (Bug#14270)
24700
24701 2013-04-26 Leo Liu <sdl.web@gmail.com>
24702
24703 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24704 (octave-mode, inferior-octave-mode): Use setq-local.
24705 (octave-not-in-string-or-comment-p): Rename to
24706 octave-in-string-or-comment-p.
24707 (octave-in-comment-p, octave-in-string-p)
24708 (octave-in-string-or-comment-p): Replace defsubst with defun.
24709
24710 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24711
24712 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24713
24714 2013-04-25 Bastien Guerry <bzg@gnu.org>
24715
24716 * textmodes/remember.el (remember-data-directory)
24717 (remember-directory-file-name-format): Fix custom types.
24718
24719 2013-04-25 Leo Liu <sdl.web@gmail.com>
24720
24721 * progmodes/octave.el (octave-completion-at-point-function):
24722 Make use of inferior octave process.
24723 (octave-initialize-completions): Remove.
24724 (inferior-octave-completion-table): New function.
24725 (inferior-octave-completion-at-point): Use it.
24726 (octave-completion-alist): Remove.
24727
24728 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24729
24730 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24731 (opascal-mode-syntax-table): New var.
24732 (opascal-literal-kind, opascal-is-literal-end)
24733 (opascal-literal-token-at): Rewrite.
24734 (opascal--literal-start-re, opascal-font-lock-keywords)
24735 (opascal--syntax-propertize): New constants.
24736 (opascal-font-lock-defaults): Adjust.
24737 (opascal-mode): Use them. Set comment-<foo> variables as well.
24738 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24739 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24740 (delphi-other-face, opascal-other-face): Remove face variables.
24741 (opascal-save-state): Remove macro.
24742 (opascal-fontifying-progress-step): Remove constant.
24743 (opascal--ignore-changes): Remove var.
24744 (opascal-set-token-property, opascal-parse-next-literal)
24745 (opascal-is-stable-literal, opascal-complete-literal)
24746 (opascal-is-literal-start, opascal-face-of)
24747 (opascal-parse-region, opascal-parse-region-until-stable)
24748 (opascal-fontify-region, opascal-after-change)
24749 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24750 (opascal-debug-parse-region, opascal-debug-parse-window)
24751 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24752 (opascal-debug-fontify-buffer): Remove.
24753 (opascal-debug-mode-map): Adjust accordingly.
24754
24755 2013-04-25 Leo Liu <sdl.web@gmail.com>
24756
24757 Merge octave-mod.el and octave-inf.el into octave.el with some
24758 cleanups.
24759 * progmodes/octave.el: New file renamed from octave-mod.el.
24760 * progmodes/octave-inf.el: Merged into octave.el.
24761 * progmodes/octave-mod.el: Renamed to octave.el.
24762
24763 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24764
24765 * textmodes/reftex-vars.el
24766 (reftex-label-ignored-macros-and-environments): New defcustom.
24767
24768 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24769
24770 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24771
24772 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24773 (smie-indent-keyword): Improve the check to ensure that the next
24774 comment is really on the same line.
24775 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24776
24777 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24778 semi-colons if the line is not otherwise empty (bug#14218).
24779
24780 2013-04-25 Glenn Morris <rgm@gnu.org>
24781
24782 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24783
24784 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24785
24786 * progmodes/opascal.el (opascal-set-token-property): Rename from
24787 opascal-set-text-properties and only set `token' (bug#14134).
24788 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24789 (opascal-literal-text-properties): Remove.
24790 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24791 Adjust callers.
24792
24793 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24794
24795 * textmodes/remember.el (remember-handler-functions): Add an
24796 option for a new handler `remember-store-in-files'.
24797 (remember-data-directory, remember-directory-file-name-format):
24798 New options.
24799 (remember-store-in-files): New function to store remember notes
24800 as separate files within a directory.
24801
24802 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24803
24804 * progmodes/compile.el (compilation-next-error-function):
24805 Pass "formats" to compilation-find-file (bug#11777).
24806
24807 2013-04-24 Glenn Morris <rgm@gnu.org>
24808
24809 * vc/vc-bzr.el (vc-bzr-print-log):
24810 * vc/vc-hg.el (vc-hg-print-log):
24811 * vc/vc-svn.el (vc-svn-print-log):
24812 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24813
24814 * vc/vc-bzr.el (vc-bzr-print-log):
24815 * vc/vc-cvs.el (vc-cvs-print-log):
24816 * vc/vc-git.el (vc-git-print-log):
24817 * vc/vc-hg.el (vc-hg-print-log):
24818 * vc/vc-mtn.el (vc-mtn-print-log):
24819 * vc/vc-rcs.el (vc-rcs-print-log):
24820 * vc/vc-sccs.el (vc-sccs-print-log):
24821 * vc/vc-svn.el (vc-svn-print-log):
24822 * vc/vc.el (vc-print-log-internal): Doc fixes.
24823
24824 2013-04-23 Glenn Morris <rgm@gnu.org>
24825
24826 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24827 Remove venerable code attempting to avoid substitute-command-keys.
24828
24829 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24830
24831 * textmodes/reftex-vars.el (reftex-label-regexps):
24832 Call `reftex-compile-variables' after changes to this variable.
24833
24834 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24835
24836 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24837 Use lexical-binding.
24838 (jit-lock-force-redisplay): Use markers, check buffer's continued
24839 existence and beware narrowed buffers.
24840 (jit-lock-fontify-now): Adjust call accordingly.
24841
24842 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24843
24844 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24845 to avoid misleading the user.
24846
24847 2013-04-22 Leo Liu <sdl.web@gmail.com>
24848
24849 * info-look.el: Prefer latex2e.info. (Bug#14240)
24850
24851 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24852
24853 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24854
24855 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24856 * net/tramp.el (tramp-call-process): ... here.
24857 (tramp-set-completion-function, tramp-parse-putty):
24858 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24859 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24860 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24861 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24862 (tramp-call-local-coding-command): Use `tramp-call-process'
24863 instead of `tramp-compat-call-process'.
24864
24865 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24866 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24867 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24868 (tramp-find-inline-compress): Improve traces.
24869 (tramp-maybe-send-script): Check for Perl binary.
24870 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24871
24872 2013-04-22 Daiki Ueno <ueno@gnu.org>
24873
24874 * epg.el (epg-context-pinentry-mode): New function.
24875 (epg-context-set-pinentry-mode): New function.
24876 (epg--start): Pass --pinentry-mode option to gpg command.
24877
24878 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24879
24880 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24881 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24882 `completion-at-point'. (Bug#13774)
24883
24884 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24885 default key binding for `describe-distribution' has been moved to
24886 `C-h C-o'. (Bug#13970)
24887
24888 2013-04-21 Glenn Morris <rgm@gnu.org>
24889
24890 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24891 Add doc strings.
24892 (vc-print-log): Clarify interactive prompt.
24893
24894 2013-04-20 Glenn Morris <rgm@gnu.org>
24895
24896 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24897 No longer include timestamp etc information.
24898
24899 2013-04-20 Roland Winkler <winkler@gnu.org>
24900
24901 * faces.el (read-face-name): Bug fix, return just one face if arg
24902 multiple is nil. (Bug#14209)
24903
24904 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24905
24906 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24907 (remove-function): Autoload.
24908
24909 * comint.el (comint-redirect-original-filter-function): Remove.
24910 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24911 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24912 (vc-cvs-annotate-command):
24913 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24914 * progmodes/prolog.el (prolog-consult-compile):
24915 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24916 Use add/remove-function instead.
24917 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24918 (gud-tooltip-process-output, gud-tooltip-tips):
24919 Use add/remove-function instead.
24920 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24921 (scheme-interaction-mode, exit-scheme-interaction-mode):
24922 Use add/remove-function instead.
24923
24924 * vc/vc-dispatcher.el: Use lexical-binding.
24925 (vc--process-sentinel): Rename from vc-process-sentinel.
24926 Change last arg to be the code to run. Don't use vc-previous-sentinel
24927 and vc-sentinel-commands any more.
24928 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24929 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24930
24931 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24932
24933 * progmodes/sh-script.el (sh-imenu-generic-expression):
24934 Handle function names with a single character. (Bug#14111)
24935
24936 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24937
24938 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24939 for subroutines defined in an eval (bug#14182).
24940
24941 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24942
24943 * bookmark.el (bookmark-completing-read): Improve handling of empty
24944 string (bug#14176).
24945
24946 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24947
24948 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24949
24950 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24951
24952 New faster Imenu implementation (bug#14058).
24953 * progmodes/python.el (python-imenu-prev-index-position)
24954 (python-imenu-format-item-label-function)
24955 (python-imenu-format-parent-item-label-function)
24956 (python-imenu-format-parent-item-jump-label-function):
24957 New vars.
24958 (python-imenu-format-item-label)
24959 (python-imenu-format-parent-item-label)
24960 (python-imenu-format-parent-item-jump-label)
24961 (python-imenu--put-parent, python-imenu--build-tree)
24962 (python-imenu-create-index, python-imenu-create-flat-index)
24963 (python-util-popn): New functions.
24964 (python-mode): Set imenu-create-index-function to
24965 python-imenu-create-index.
24966
24967 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24968
24969 * winner.el (winner-active-region): Use region-active-p, activate-mark
24970 and deactivate-mark (bug#14225).
24971
24972 * simple.el (deactivate-mark): Don't inline it.
24973
24974 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24975
24976 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24977
24978 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24979
24980 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24981 file extensions from the archive-mode entry in order to prefer
24982 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24983
24984 2013-04-18 Leo Liu <sdl.web@gmail.com>
24985
24986 * bindings.el (help-event-list): Add ?\?.
24987
24988 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24989
24990 * subr.el (with-wrapper-hook): Declare obsolete.
24991 * simple.el (filter-buffer-substring-function): New hook.
24992 (filter-buffer-substring): Use it.
24993 (filter-buffer-substring-functions): Mark obsolete.
24994 * minibuffer.el (completion-in-region-function): New hook.
24995 (completion-in-region): Use it.
24996 (completion-in-region-functions): Mark obsolete.
24997 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24998 * abbrev.el (abbrev-expand-function): New hook.
24999 (expand-abbrev): Use it.
25000 (abbrev-expand-functions): Mark obsolete.
25001 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25002 and :filter-return.
25003
25004 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25005
25006 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25007 and do not care about match data.
25008
25009 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25010
25011 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25012 completion tables when completing error conditions and
25013 `declare' arguments.
25014 (lisp-complete-symbol, field-complete): Mark as obsolete.
25015 (check-parens): Unmatched parens are user errors.
25016 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25017
25018 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25019
25020 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25021 command changed buffer (ie. `flyspell-pre-buffer' is not current
25022 buffer), which prevents making decisions based on invalid value of
25023 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25024 cause an error when `flyspell-pre-point' was nil after switching
25025 buffers.
25026 (flyspell-post-command-hook): No longer needs to change buffers when
25027 checking pre-word. While at it remove unnecessary progn.
25028
25029 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25030
25031 * textmodes/ispell.el (ispell-add-per-file-word-list):
25032 Fix `flyspell-correct-word-before-point' error when accepting
25033 words and `coment-padding' is an integer by using
25034 `comment-normalize-vars' (Bug #14214).
25035
25036 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25037
25038 New defun movement commands.
25039 * progmodes/python.el (python-nav--syntactically)
25040 (python-nav--forward-defun, python-nav-backward-defun)
25041 (python-nav-forward-defun): New functions.
25042
25043 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25044
25045 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25046 (python-syntax-context): Use named compiler-macro for backwards
25047 compatibility with Emacs 24.x.
25048
25049 2013-04-17 Leo Liu <sdl.web@gmail.com>
25050
25051 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25052 octave-hide-process-buffer.
25053
25054 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25055
25056 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25057 (bug#14216).
25058
25059 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25060
25061 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25062 Fix adjustment of offset when receiving incomplete responses from GDB
25063 (bug#14129).
25064
25065 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25066
25067 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25068 python-mode-abbrev-table.
25069 (python-skeleton-define): Adjust accordingly.
25070 (python-mode-abbrev-table): New table that inherits from it so that
25071 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25072
25073 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25074 (abbrev-symbol): Use it.
25075 (abbrev--before-point): Use it since we already handle inheritance.
25076
25077 2013-04-16 Leo Liu <sdl.web@gmail.com>
25078
25079 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25080 binding to info-lookup-symbol.
25081
25082 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25083
25084 * minibuffer.el (completion--twq-all):
25085 * term/ns-win.el (ns-initialize-window-system):
25086 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25087
25088 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25089
25090 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25091 global bindings.
25092
25093 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25094
25095 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25096
25097 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25098 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25099 to nil.
25100 (ruby-end-of-defun): Remove the unused arg, change the docstring
25101 to reflect that this function is only used as the value of
25102 `end-of-defun-function'.
25103 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25104 to reflect an earlier change that beginning/end-of-defun functions
25105 jump between methods in a class definition, as well as top-level
25106 functions.
25107
25108 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25109
25110 * minibuffer.el (minibuffer-complete): Don't just scroll
25111 a *Completions* that's been iconified.
25112 (minibuffer-force-complete): Make sure repetitions do cycle when going
25113 through completion-in-region -> minibuffer-complete.
25114
25115 2013-04-15 Alan Mackenzie <acm@muc.de>
25116
25117 Correct the placement of c-cpp-delimiters when there're #s not at
25118 col 0.
25119
25120 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25121 place a submatch around the #.
25122 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25123 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25124 on the #, not BOL.
25125
25126 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25127
25128 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25129 (advice--member-p): New arg `name'.
25130 (advice--add-function, advice-member-p): Use it (bug#14202).
25131
25132 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25133
25134 Reformulate java imenu-generic-expression.
25135 The old expression contained ill formed regexps.
25136
25137 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25138 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25139 (cc-imenu-java-method-arg-regexp): New defconsts.
25140 (cc-imenu-java-build-type-args-regex): New defun.
25141 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25142 handling of spaces in the regexp.
25143
25144 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25145
25146 * textmodes/ispell.el (ispell-command-loop): Remove
25147 flyspell highlight of a word when ispell accepts it (bug #14178).
25148
25149 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25150
25151 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25152 uses code from the previous `ange-ftp-run-real-handler'.
25153 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25154 only in case that function exist. This is needed for proper
25155 unloading of Tramp.
25156
25157 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25158
25159 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25160
25161 * textmodes/reftex.el (reftex-compile-variables): Use it.
25162
25163 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25164
25165 * files.el (normal-mode): Only use default major-mode if no other mode
25166 was specified.
25167
25168 * emacs-lisp/trace.el (trace-values): New function.
25169
25170 * files.el: Allow : in local variables (bug#14089).
25171 (hack-local-variable-regexp): New var.
25172 (hack-local-variables-prop-line, hack-local-variables): Use it.
25173
25174 2013-04-13 Roland Winkler <winkler@gnu.org>
25175
25176 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25177 data before it gets modified by bibtex-beginning-of-entry.
25178
25179 2013-04-13 Roland Winkler <winkler@gnu.org>
25180
25181 * textmodes/bibtex.el (bibtex-url): Doc fix.
25182
25183 2013-04-13 Roland Winkler <winkler@gnu.org>
25184
25185 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25186 does not visit a BibTeX file, exclude it from the list of buffers
25187 returned by bibtex-initialize.
25188
25189 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25190
25191 * window.el (split-window): Remove interactive form, since as a
25192 command this function is a special case of split-window-below.
25193 Correct doc string.
25194
25195 2013-04-12 Roland Winkler <winkler@gnu.org>
25196
25197 * faces.el (read-face-name): Do not override value of arg default.
25198 Allow single faces and strings as default values. Remove those
25199 elements from return value that are not faces.
25200 (describe-face): Simplify.
25201 (face-at-point): New optional args thing and multiple so that this
25202 function can provide the same functionality previously provided by
25203 read-face-name.
25204 (make-face-bold, make-face-unbold, make-face-italic)
25205 (make-face-unitalic, make-face-bold-italic, invert-face)
25206 (modify-face, read-face-and-attribute): Use face-at-point.
25207
25208 * cus-edit.el (customize-face, customize-face-other-window)
25209 * cus-theme.el (custom-theme-add-face)
25210 * face-remap.el (buffer-face-set)
25211 * facemenu.el (facemenu-set-face): Use face-at-point.
25212
25213 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25214
25215 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25216
25217 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25218
25219 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25220 off leading { and trailing } from field values.
25221
25222 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25223
25224 * emacs-lisp/timer.el (timer--check): New function.
25225 (timer--time, timer-set-function, timer-event-handler): Use it.
25226 (timer-set-idle-time): Simplify.
25227 (timer--activate): CSE.
25228 (timer-event-handler): Give more info in error message.
25229 (internal-timer-start-idle): New function, moved from C.
25230
25231 * mpc.el (mpc-proc): Add `restart' argument.
25232 (mpc-proc-cmd): Use it.
25233 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25234 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25235 less often.
25236
25237 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25238
25239 * progmodes/sh-script.el: Implement `sh-mode' own
25240 `add-log-current-defun-function' (bug#14112).
25241 (sh-current-defun-name): New function.
25242 (sh-mode): Use the function.
25243
25244 2013-04-09 Bastien Guerry <bzg@gnu.org>
25245
25246 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25247
25248 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25249
25250 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25251
25252 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25253 timer (bug#14156).
25254
25255 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25256
25257 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25258 declaration.
25259
25260 2013-04-07 Leo Liu <sdl.web@gmail.com>
25261
25262 * pcmpl-x.el: New file.
25263
25264 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25265
25266 Do not set x-display-name until X connection is established.
25267 This is needed to prevent from weird situation described at
25268 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25269 * frame.el (make-frame): Set x-display-name after call to
25270 window system initialization function, not before.
25271 * term/x-win.el (x-initialize-window-system): Add optional
25272 display argument and use it.
25273 * term/w32-win.el (w32-initialize-window-system):
25274 * term/ns-win.el (ns-initialize-window-system):
25275 * term/pc-win.el (msdos-initialize-window-system):
25276 Add compatible optional display argument.
25277
25278 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25279
25280 * files.el (normal-backup-enable-predicate): On MS-Windows and
25281 MS-DOS compare truenames of temporary-file-directory and of the
25282 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25283 don't fail comparison by compare-strings. Also, compare file
25284 names case-insensitively on MS-Windows and MS-DOS.
25285
25286 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25287
25288 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25289 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25290
25291 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25292
25293 * whitespace.el (whitespace-color-on, whitespace-color-off):
25294 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25295
25296 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25297
25298 * ispell.el (ispell-set-spellchecker-params):
25299 Really set `ispell-args' for all equivs.
25300
25301 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25302
25303 * ido.el (ido-completions): Use extra elements of ido-decorations
25304 (bug#14143).
25305 (ido-decorations): Update docstring.
25306
25307 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25308
25309 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25310 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25311 nil during initialization, in order not to miss changes since the
25312 file was opened. (Bug#14140)
25313
25314 2013-04-05 Leo Liu <sdl.web@gmail.com>
25315
25316 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25317
25318 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25319
25320 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25321
25322 2013-04-04 Glenn Morris <rgm@gnu.org>
25323
25324 * electric.el (electric-pair-inhibit-predicate): Add :version.
25325
25326 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25327
25328 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25329 when a package is required several times (bug#14082).
25330
25331 2013-04-04 Roland Winkler <winkler@gnu.org>
25332
25333 * faces.el (read-face-name): Behave as promised by the docstring.
25334 Assume that arg default is a list of faces.
25335 (describe-face): Call read-face-name with list of default faces.
25336
25337 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25338
25339 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25340 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25341 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25342 the header.
25343 (bookmark-exit-hook-internal): Save even if list is empty.
25344
25345 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25346
25347 * emacs-lisp/package.el (package-pinned-packages): New var.
25348 (package--add-to-archive-contents): Obey it (bug#14118).
25349
25350 2013-04-03 Alan Mackenzie <acm@muc.de>
25351
25352 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25353 Also adapt to the new values of element 7 of a parse state.
25354
25355 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25356 parameter `not-in-delimiter'. Handle being inside comment opener.
25357 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25358 character in case we're typing a '*' after a '/'.
25359 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25360 instead by passing the parameter to c-state-pp-to-literal.
25361
25362 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25363 for elt. 7 of a parse state.
25364
25365 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25366
25367 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25368 * international/latin1-disp.el, international/mule-util.el:
25369 * language/cyril-util.el, language/european.el, language/ind-util.el:
25370 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25371 * language/tibetan.el, language/viet-util.el:
25372 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25373
25374 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25375
25376 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25377 (electric-pair-post-self-insert-function): Use it.
25378 (electric-pair-default-inhibit): New function, extracted from
25379 electric-pair-post-self-insert-function.
25380
25381 2013-03-31 Roland Winkler <winkler@gnu.org>
25382
25383 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25384
25385 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25386
25387 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25388
25389 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25390
25391 Un-indent after "pass" and "return" statements (Bug#13888)
25392 * progmodes/python.el (python-indent-block-enders): New var.
25393 (python-indent-calculate-indentation): Use it.
25394
25395 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25396
25397 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25398 defun. Defining it as defalias could introduce too eager
25399 byte-compiler optimization. (Bug#14030)
25400
25401 2013-03-30 Chong Yidong <cyd@gnu.org>
25402
25403 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25404
25405 2013-03-30 Leo Liu <sdl.web@gmail.com>
25406
25407 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25408 (kmacro-execute-from-register): Pass the keyboard macro to
25409 kmacro-call-macro or repeating won't work correctly.
25410
25411 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25412
25413 * progmodes/subword.el: Back to using `forward-symbol'.
25414
25415 * subr.el (forward-whitespace, forward-symbol)
25416 (forward-same-syntax): Move from thingatpt.el.
25417
25418 2013-03-29 Leo Liu <sdl.web@gmail.com>
25419
25420 * kmacro.el (kmacro-to-register): New command.
25421 (kmacro-execute-from-register): New function.
25422 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25423
25424 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25425
25426 * mpc.el: Use defvar-local and setq-local.
25427 (mpc--proc-connect): Connection failures are not bugs.
25428 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25429 (mpc-volume-map): Bind to the up-events.
25430
25431 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25432
25433 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25434 instead of `forward-symbol'.
25435
25436 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25437
25438 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25439 (edebug--recursive-edit): Use it.
25440 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25441 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25442
25443 2013-03-28 Leo Liu <sdl.web@gmail.com>
25444
25445 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25446
25447 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25448
25449 * facemenu.el (list-colors-callback): New defvar.
25450 (list-colors-redisplay): New function.
25451 (list-colors-display): Install list-colors-redisplay as the
25452 revert-buffer-function. (Bug#14063)
25453
25454 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25455
25456 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25457 and suffixes don't overlap (bug#14061).
25458
25459 * case-table.el: Use lexical-binding.
25460 (case-table-get-table): New function.
25461 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25462
25463 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25464
25465 * progmodes/subword.el: Add `superword-mode' to do word motion
25466 over symbol_words (parallels and leverages `subword-mode' which
25467 does word motion inside MixedCaseWords).
25468
25469 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25470
25471 * eshell/em-unix.el: Move su and sudo to...
25472 * eshell/em-tramp.el: ...Eshell tramp module.
25473
25474 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25475
25476 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25477 Change return value to be a sexp. Delay `get-buffer' to after
25478 restoring the desktop (bug#13951).
25479
25480 2013-03-26 Leo Liu <sdl.web@gmail.com>
25481
25482 * register.el: Move semantic tag handling back to
25483 cedet/semantic/senator.el. (Bug#14052)
25484
25485 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25486
25487 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25488 into the prompt either (bug#13963).
25489
25490 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25491
25492 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25493 part of "(error-foo)".
25494
25495 2013-03-24 Juri Linkov <juri@jurta.org>
25496
25497 * replace.el (list-matching-lines-prefix-face): New defcustom.
25498 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25499 `occur-engine' if `face-differs-from-default-p' returns t.
25500 (occur-engine): Add `,' inside backquote construct to evaluate
25501 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25502 Pass `prefix-face' to the functions `occur-context-lines' and
25503 `occur-engine-add-prefix'.
25504 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25505 `prefix-face' and propertize the prefix with `prefix-face'.
25506 (Bug#14017)
25507
25508 2013-03-24 Leo Liu <sdl.web@gmail.com>
25509
25510 * nxml/rng-valid.el (rng-validate-while-idle)
25511 (rng-validate-quick-while-idle): Guard against deleted buffer.
25512 (Bug#13999)
25513
25514 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25515 is the last entry in kill-buffer-hook.
25516
25517 * files.el (kill-buffer-hook): Doc fix.
25518
25519 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25520
25521 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25522 Make it safe-local.
25523
25524 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25525
25526 2013-03-23 Leo Liu <sdl.web@gmail.com>
25527
25528 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25529 Remove.
25530
25531 * nxml/rng-valid.el (rng-validate-mode)
25532 (rng-after-change-function, rng-do-some-validation):
25533 * nxml/rng-maint.el (rng-validate-buffer):
25534 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25535 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25536 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25537 (nxml-extend-after-change-region): Use with-silent-modifications.
25538
25539 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25540 timer-idle-list.
25541
25542 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25543 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25544 timer-idle-list. (Bug#13999)
25545
25546 2013-03-23 Juri Linkov <juri@jurta.org>
25547
25548 * info.el (info-index-match): New face.
25549 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25550 main pattern and add text properties with the new face to matches
25551 in index entries relative to the beginning of the index entry.
25552 (Bug#14015)
25553
25554 2013-03-21 Eric Ludlam <zappo@gnu.org>
25555
25556 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25557 Inhibit read only while inserting objects.
25558
25559 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25560
25561 * progmodes/cfengine.el: Update docs to mention
25562 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25563 symbol motion. Remove "_" from the word syntax.
25564
25565 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25566
25567 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25568 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25569
25570 2013-03-20 Juri Linkov <juri@jurta.org>
25571
25572 * info.el (Info-next-reference-or-link)
25573 (Info-prev-reference-or-link): New functions.
25574 (Info-next-reference, Info-prev-reference): Use them.
25575 (Info-try-follow-nearest-node): Handle footnote navigation.
25576 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25577
25578 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25579
25580 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25581 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25582
25583 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25584
25585 Suppress unnecessary non-ASCII chatter during build process.
25586 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25587 (batch-skkdic-convert): Suppress most of the chatter.
25588 It's not needed so much now that machines are faster,
25589 and its non-ASCII component was confusing; see Dmitry Gutov in
25590 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25591
25592 2013-03-20 Leo Liu <sdl.web@gmail.com>
25593
25594 * ido.el (ido-chop): Fix bug#10994.
25595
25596 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25597
25598 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25599 Remove vars.
25600 (whitespace-color-on, whitespace-color-off):
25601 Use `font-lock-fontify-buffer' (Bug#13817).
25602
25603 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25604
25605 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25606 remapping in mode-line.
25607 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25608
25609 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25610
25611 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25612 value for `whitespace-line' face (Bug#13875).
25613 (whitespace-font-lock-keywords): Change description.
25614 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25615 the constructed keywords instead.
25616 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25617
25618 2013-03-19 Leo Liu <sdl.web@gmail.com>
25619
25620 * progmodes/compile.el (compilation-display-error): New command.
25621 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25622 C-o. (Bug#13992)
25623
25624 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25625
25626 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25627
25628 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25629
25630 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25631
25632 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25633
25634 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25635
25636 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25637 * net/tramp-gvfs.el (top):
25638 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25639 (tramp-handle-shell-command): Use it.
25640 (tramp-dissect-file-name): Raise an error when hostname is a
25641 method name, and neither method nor user is specified.
25642
25643 * net/trampver.el: Update release number.
25644
25645 2013-03-18 Leo Liu <sdl.web@gmail.com>
25646
25647 Make sure eldoc can be turned off properly.
25648 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25649 eldoc-mode.
25650 (eldoc-display-message-p): Revert last change.
25651 (eldoc-display-message-no-interference-p)
25652 (eldoc-print-current-symbol-info): Tweak.
25653
25654 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25655
25656 * doc-view.el (doc-view-new-window-function): Check the new window
25657 overlay's display property instead the char property of the
25658 buffer's first char. Use `with-selected-window' instead of
25659 `save-window-excursion' with `select-window'.
25660 (doc-view-document->bitmap): Check the current doc-view overlay's
25661 display property instead the char property of the buffer's first char.
25662
25663 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25664
25665 Automate the build of ja-dic.el (Bug#13984).
25666 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25667 from the input, rather than assume that it's been done for us by the
25668 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25669 the current date into a ja-dic.el comment, as that complicates
25670 regression testing.
25671
25672 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25673
25674 * whitespace.el: Fix double evaluation.
25675 (whitespace-space, whitespace-hspace, whitespace-tab)
25676 (whitespace-newline, whitespace-trailing, whitespace-line)
25677 (whitespace-space-before-tab, whitespace-indentation)
25678 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25679 obsolete defvars.
25680 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25681 (whitespace-color-on): Use a single font-lock-add-keywords call.
25682 Fix double-evaluation of face variables.
25683
25684 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25685
25686 * net/tramp-adb.el (tramp-adb-parse-device-names):
25687 Use `start-process' instead of `call-process'. Otherwise, the
25688 function might be blocked under MS Windows. (Bug#13299)
25689
25690 2013-03-17 Leo Liu <sdl.web@gmail.com>
25691
25692 Extend eldoc to display info in the mode-line. (Bug#13978)
25693 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25694 (eldoc-mode-line-string): New variable.
25695 (eldoc-minibuffer-message): New function.
25696 (eldoc-message-function): New variable.
25697 (eldoc-message): Use it.
25698 (eldoc-display-message-p)
25699 (eldoc-display-message-no-interference-p):
25700 Support eldoc-post-insert-mode.
25701
25702 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25703 (eval-expression): Run it.
25704
25705 2013-03-17 Roland Winkler <winkler@gnu.org>
25706
25707 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25708 strings in the list of return values.
25709
25710 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25711
25712 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25713 radix before checking for HMS forms.
25714
25715 2013-03-16 Leo Liu <sdl.web@gmail.com>
25716
25717 * progmodes/scheme.el: Add indentation and font-locking for λ.
25718 (Bug#13975)
25719
25720 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25721
25722 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25723 token before point (bug#13942).
25724
25725 2013-03-16 Leo Liu <sdl.web@gmail.com>
25726
25727 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25728
25729 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25730
25731 * startup.el (command-line-normalize-file-name): Fix handling of
25732 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25733 <xfq.free@gmail.com> in
25734 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25735
25736 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25737
25738 Sync with Tramp 2.2.7.
25739
25740 * net/trampver.el: Update release number.
25741
25742 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25743
25744 * doc-view.el: Fix bug#13887.
25745 (doc-view-insert-image): Don't modify overlay associated to
25746 non-live windows, and implement horizontal centering of image in
25747 case it's smaller than the window.
25748 (doc-view-new-window-function): Force redisplay of new windows on
25749 doc-view buffers.
25750
25751 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25752
25753 * saveplace.el (save-place-alist-to-file): Don't sort
25754 `save-place-alist', just pretty-print it (bug#13882).
25755
25756 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25757
25758 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25759 Check whether `default-file-name-coding-system' is bound.
25760 It isn't in XEmacs.
25761
25762 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25763
25764 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25765 backquotes for `obsolete' (bug#13929).
25766
25767 * international/mule.el (find-auto-coding): Include file name in
25768 obsolescence warning (bug#13922).
25769
25770 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25771
25772 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25773 for CFEngine 3-specific indentation.
25774 (cfengine3-indent-line): Use it. Fix up category regex.
25775 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25776
25777 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25778
25779 * type-break.el (type-break-file-name):
25780 * textmodes/remember.el (remember-data-file):
25781 * strokes.el (strokes-file):
25782 * shadowfile.el (shadow-initialize):
25783 * saveplace.el (save-place-file):
25784 * ps-bdf.el (bdf-cache-file):
25785 * progmodes/idlwave.el (idlwave-config-directory):
25786 * net/quickurl.el (quickurl-url-file):
25787 * international/kkc.el (kkc-init-file-name):
25788 * ido.el (ido-save-directory-list-file):
25789 * emulation/viper.el (viper-custom-file-name):
25790 * emulation/vip.el (vip-startup-file):
25791 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25792 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25793
25794 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25795
25796 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25797 * language/thai-word.el: Switch to UTF-8.
25798
25799 See ChangeLog.16 for earlier changes.
25800
25801 ;; Local Variables:
25802 ;; coding: utf-8
25803 ;; End:
25804
25805 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25806
25807 This file is part of GNU Emacs.
25808
25809 GNU Emacs is free software: you can redistribute it and/or modify
25810 it under the terms of the GNU General Public License as published by
25811 the Free Software Foundation, either version 3 of the License, or
25812 (at your option) any later version.
25813
25814 GNU Emacs is distributed in the hope that it will be useful,
25815 but WITHOUT ANY WARRANTY; without even the implied warranty of
25816 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25817 GNU General Public License for more details.
25818
25819 You should have received a copy of the GNU General Public License
25820 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.