ChangeLog fix
[bpt/emacs.git] / lisp / ChangeLog
1 2014-04-06 João Távora <joaotavora@gmail.com>
2
3 Fix `electric-pair-delete-adjacent-pairs' in modes binding
4 backspace. (bug#16981)
5 * elec-pair.el (electric-pair-backward-delete-char): Delete.
6 (electric-pair-backward-delete-char-untabify): Delete.
7 (electric-pair-mode-map): Bind backspace to a menu item filtering
8 a new `electric-pair-delete-pair' command.
9 (electric-pair-delete-pair): New command.
10
11 2014-04-06 João Távora <joaotavora@gmail.com>
12
13 * progmodes/python.el (python-electric-pair-string-delimiter): Fix
14 triple-quoting electricity. (Bug#17192)
15
16 2014-04-06 João Távora <joaotavora@gmail.com>
17
18 * elec-pair.el (electric-pair-post-self-insert-function): Don't
19 skip whitespace when `electric-pair-text-pairs' and
20 `electric-pair-pairs' were used. syntax to
21 electric-pair--skip-whitespace. (Bug#17183)
22
23 2014-04-06 Eli Zaretskii <eliz@gnu.org>
24
25 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
26 "<F>". (Bug#17199)
27
28 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
31 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
32
33 2014-04-05 Glenn Morris <rgm@gnu.org>
34
35 * help.el (view-lossage): Doc tweak.
36
37 2014-04-05 Matthias Dahl <ml_emacs-lists@binary-island.eu>
38
39 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
40 only when inhibit-x-resources is nil, and do that earlier in the
41 function. Doc fix. (Bug#16694)
42 (face-spec-choose): Accept additional optional argument, whose
43 value is returned if no matching attributes are found.
44 (face-spec-recalc): Use the new optional argument when calling
45 face-spec-choose. (Bug#16378)
46 (make-face-x-resource-internal): Do nothing when
47 inhibit-x-resources is non-nil. Don't touch the default face if
48 reversed video is given--as was done in previous versions of Emacs.
49 (face-set-after-frame-default): Don't call
50 make-face-x-resource-internal here. (Bug#16434)
51
52 2014-04-04 Tassilo Horn <tsdh@gnu.org>
53
54 * doc-view.el (doc-view-bookmark-jump):
55 Use `bookmark-after-jump-hook' to jump to the right page after the
56 buffer is shown in a window. (bug#16090)
57
58 2014-04-04 Eli Zaretskii <eliz@gnu.org>
59
60 * international/characters.el (mirroring): Fix last change:
61 instead of loading uni-mirrored.el explicitly, do that implicitly
62 by creating the 'mirroring' uniprop table. This avoids announcing
63 the loading of uni-mirrored.el.
64
65 2014-04-04 Glenn Morris <rgm@gnu.org>
66
67 * files.el (buffer-stale--default-function)
68 (buffer-stale-function, revert-buffer--default):
69 * autorevert.el (auto-revert-buffers): Doc tweaks.
70
71 2014-04-03 Eli Zaretskii <eliz@gnu.org>
72
73 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
74
75 2014-04-03 Glenn Morris <rgm@gnu.org>
76
77 * files.el (make-backup-file-name-function)
78 (make-backup-file-name, make-backup-file-name--default-function)
79 (make-backup-file-name-1, find-backup-file-name)
80 (revert-buffer-function, revert-buffer-insert-file-contents-function)
81 (buffer-stale--default-function, buffer-stale-function)
82 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
83 (revert-buffer, revert-buffer--default)
84 (revert-buffer-insert-file-contents--default-function):
85 Doc fixes related to defaults no longer being nil.
86 (make-backup-file-name-function): Bump :version.
87 Restore nil as a valid but deprecated custom type.
88
89 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
92 used as a variable (bug#17174).
93
94 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * progmodes/perl-mode.el (perl-indent-new-calculate):
97 Handle forward-sexp failure (bug#16985).
98 (perl-syntax-propertize-function): Add "foreach" and "for" statement
99 modifiers introducing expressions (bug#17116).
100
101 2014-04-02 Glenn Morris <rgm@gnu.org>
102
103 * menu-bar.el (menu-bar-file-menu):
104 * vc/ediff.el (ediff-current-file):
105 Update for revert-buffer-function no longer being nil by default.
106
107 * simple.el (command-execute): Respect nil disabled-command-function.
108
109 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
110
111 * simple.el (command-execute): Do not execute the command when it
112 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
113
114 2014-03-29 Juri Linkov <juri@jurta.org>
115
116 * dired-aux.el (dired-compress-file): Don't use string-match-p
117 because its match data is used afterwards.
118
119 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
122 0 like nil.
123
124 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
125
126 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
127 Highlight special globals with font-lock-builtin-face. (Bug#17057)
128
129 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
130 Don't propertize `?' or `!' as symbol constituent when after
131 colon. (Bug#17097)
132
133 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
134
135 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
136 which is no longer needed and causes trouble in GTK builds (bug#17046).
137
138 * emacs-lisp/package-x.el (package--archive-contents-from-url):
139 Use url-insert-file-contents; package-handle-response no longer exists.
140
141 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
142
143 * emacs-lisp/package.el: Fix bug#16733 (again).
144 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
145 (url-http-target-url): Remove unused declarations.
146 (package-handle-response): Remove.
147 (package--with-work-buffer): Use url-insert-file-contents and simplify.
148 (package--download-one-archive): Use current-buffer instead of
149 dynamic binding of `buffer'.
150 (describe-package-1): Do not decode readme-string.
151
152 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
153
154 * simple.el (primitive-undo): Correction to 2014-03-24 change.
155
156 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
157
158 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
159
160 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
161 from 2014-03-07, it decreases performance unnecessarily. Let-bind
162 `remote-file-name-inhibit-cache' to nil in the second pass.
163 (tramp-find-executable): Do not call "which" on SunOS.
164 (tramp-send-command-and-check): Fix docstring.
165 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
166 check whether source directory has set the sticky bit.
167
168 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
169
170 * simple.el (primitive-undo): Only process marker adjustments
171 validated against their corresponding (TEXT . POS). Issue warning
172 for lone marker adjustments in undo history. (Bug#16818)
173 (undo-make-selective-list): Add marker adjustments to selective
174 undo list based on whether their corresponding (TEXT . POS) is in
175 the region. Remove variable adjusted-markers, which was unused
176 and only non nil during undo-make-selective-list.
177 (undo-elt-in-region): Return nil when passed a marker adjustment
178 and explain in function doc.
179
180 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
181
182 * emacs-lisp/package.el (package--add-to-archive-contents):
183 Include already installed and built-in packages in
184 `package-archive-contents'.
185 (package-install): Don't include already installed packages in the
186 options during interactive invocation. (Bug#16762)
187
188 2014-03-24 Daniel Colascione <dancol@dancol.org>
189
190 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
191 instead of cl-loop search function.
192
193 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
194
195 * frameset.el (frameset--initial-params): Fix typo in parameter name.
196
197 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
198
199 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
200
201 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
202
203 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
204 Match special global variables without curlies, too.
205 (ruby-font-lock-keywords): Simplify the matcher for special global
206 variables. Don't require a non-word character after the variable.
207 (Bug#17057)
208
209 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * simple.el (redisplay-highlight-region-function): Increase priority of
212 overlay to make sure boundaries are visible (bug#15899).
213
214 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
215
216 * frameset.el (frameset-restore): Compare display strings with equal.
217
218 * frame.el (make-frame): Don't quote display name in error message,
219 it is already a string.
220
221 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
222
223 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
224 the password.
225
226 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
227
228 * emacs-lisp/package.el (package-show-package-list): If the buffer
229 is already displayed in another window, switch to that window.
230
231 2014-03-21 Daniel Colascione <dancol@dancol.org>
232
233 * mail/emacsbug.el (report-emacs-bug): Include memory usage
234 information in bug reports.
235
236 2014-03-23 Daniel Colascione <dancol@dancol.org>
237
238 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
239 list to look for keyword arguments instead of `memq', fixing
240 (Bug#3647) --- unfortunately, only for freshly-compiled code.
241 Please make bootstrap.
242
243 2014-03-23 Richard Stallman <rms@gnu.org>
244
245 * battery.el (battery-linux-sysfs): Search for each field
246 from the beginning of the buffer.
247
248 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
249
250 * emacs-lisp/package.el (package-desc): Use the contents of the
251 quoted form, not its cdr. (Bug#16873)
252
253 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
254
255 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
256 benefit of doc.c; change parameter profile to match the X function.
257
258 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
259
260 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
261 and `tramp-copy-env'.
262
263 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
264 (tramp-maybe-open-connection): Handle `tramp-login-env'.
265
266 2014-03-21 Glenn Morris <rgm@gnu.org>
267
268 * electric.el (electric-indent-post-self-insert-function): Add doc.
269
270 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
271
272 * emacs-lisp/package.el (package-compute-transaction):
273 Use `version-list-<=' to compare the requirement version against
274 the version of package already to be installed. Update the error
275 message. (Bug#16826)
276
277 * progmodes/ruby-mode.el (ruby-smie-rules):
278 Add indentation rule for ` @ '. (Bug#17050)
279
280 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
281
282 * align.el (align-regexp): Remove superfluous backslash.
283
284 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
285 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
286 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
287 Fix docstring typos.
288 (ffap-next): Use C-u in docstring.
289 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
290 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
291 Remove superfluous backslashes.
292 (ffap-string-at-point): Reflow docstring.
293
294 * server.el (server-host): Reflow docstring.
295 (server-unload-function): Fix docstring typo.
296 (server-eval-at): Remove superfluous backslash.
297
298 * skeleton.el (skeleton-insert): Remove superfluous backslash.
299 (skeleton-insert): Doc fix.
300 (skeleton-insert): Reflow docstring.
301
302 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
303 (tty-color-approximate, tty-color-by-index, tty-color-values)
304 (tty-color-desc): Remove superfluous backslashes.
305
306 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * electric.el (electric-newline-and-maybe-indent): New command.
309 Bind it globally to C-j.
310 (electric-indent-mode): Don't mess with the global map any more.
311 Don't drop the post-self-insert-hook is some buffer is still using it
312 (bug#16770).
313
314 * bindings.el (global-map): Remove C-j binding.
315
316 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
317 the docstring of functions advised before dumping (bug#16993).
318
319 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
320
321 * ps-print.el (ps-generate-postscript-with-faces):
322 Explicitly deactivate the mark (bug#16866).
323 * simple.el (deactivate-mark): Update region highlight.
324
325 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
326
327 * emacs-lisp/package.el (describe-package-1):
328 Decode commentary (bug#16733).
329
330 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
331
332 * custom.el (defcustom): Doc fix: recommend avoiding destructive
333 modification of the value argument of :set (bug#16755).
334
335 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * simple.el (newline-and-indent): Do autofill (bug#17031).
338
339 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
340
341 * newcomment.el (comment-normalize-vars): Only add escaping check
342 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
343 (comment-beginning): Use `narrow-to-region' instead of moving back
344 one character.
345 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
346 (comment-start-skip): Update the docstring.
347
348 2014-03-18 Richard Stallman <rms@gnu.org>
349
350 * dired.el (dired-display-file): Force use of other window.
351
352 2014-03-18 Daniel Colascione <dancol@dancol.org>
353
354 * startup.el (tty-handle-args): Remove debug message from 2007.
355
356 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
359 (advice--make-interactive-form): Use it to avoid (auto)loading function.
360 (advice--make-1, advice-add, advice-remove):
361 Remove braindead :advice-pending hack.
362
363 2014-03-17 Glenn Morris <rgm@gnu.org>
364
365 * calendar/calendar.el (calendar-generate-month): Apply weekend
366 face to the right days; fixes 2013-08-06 change. (Bug#17028)
367
368 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
369
370 * net/tramp.el (tramp-action-out-of-band): Read pending output.
371 (tramp-call-process): Trace also DESTINATION.
372
373 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
374 Quote file names when they are local. Remove superfluous trace.
375
376 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
377
378 * newcomment.el (comment-beginning): If `comment-start-skip'
379 doesn't match, move back one char and try again. (Bug#16971)
380
381 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
382 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
383 Set `comment-start-skip' to a simpler value that doesn't try to
384 check if the semicolon is escaped (this is handled by
385 `syntax-ppss' now). (Bug#16971)
386
387 * progmodes/scheme.el (scheme-mode-variables): Same.
388
389 2014-03-16 Martin Rudalics <rudalics@gmx.at>
390
391 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
392 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
393 current (Bug#16816, Bug#17007).
394 (with-current-buffer-window): New macro doing the same as
395 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
396 * help.el (help-print-return-message): Warn in doc-string to not
397 use this in `with-help-window'.
398 (describe-bindings-internal): Call `describe-buffer-bindings'
399 from within help buffer. See Juanma's scenario in (Bug#16816).
400 (with-help-window): Update doc-string.
401 * dired.el (dired-mark-pop-up):
402 * files.el (save-buffers-kill-emacs):
403 * register.el (register-preview): Use `with-current-buffer-window'
404 instead of `with-temp-buffer-window'.
405
406 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
407
408 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
409 Implement inserting into current buffer, documented in their docstrings.
410 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
411 (rst-section-tree-point, rst-forward-section, rst-indent)
412 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
413 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
414 (rst-font-lock-handle-adornment-pre-match-form)
415 (rst-repeat-last-character): Reflow docstrings.
416 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
417 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
418 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
419 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
420 Fix docstring typos.
421 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
422 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
423 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
424
425 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
426
427 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
428 for compatibility with other ports.
429 (ns-initialize-window-system): Use it. It is set in term/common-win.el
430 from the -xrm command line argument, but in the Nextstep port its value
431 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
432
433 * progmodes/python.el (defconst, python-syntax-count-quotes)
434 (python-indent-region, python-indent-shift-right)
435 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
436 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
437 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
438 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
439 (inferior-python-mode, python-shell-make-comint, run-python-internal)
440 (python-shell-buffer-substring, python-shell-send-buffer)
441 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
442 (python-completion-complete-at-point, python-fill-docstring-style)
443 (python-eldoc-function, python-imenu-format-item-label)
444 (python-imenu-format-parent-item-label)
445 (python-imenu-format-parent-item-jump-label)
446 (python-imenu--build-tree, python-imenu-create-index)
447 (python-imenu-create-flat-index): Fix docstring typos.
448 (python-indent-context, python-shell-prompt-regexp, run-python):
449 Remove superfluous backslashes.
450 (python-indent-line, python-nav-beginning-of-defun)
451 (python-shell-get-buffer, python-shell-get-process)
452 (python-info-current-defun, python-info-current-line-comment-p)
453 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
454 (python-indent-post-self-insert-function, python-shell-send-file)
455 (python-shell-completion-get-completions)
456 (python-shell-completion-complete-or-indent)
457 (python-eldoc--get-doc-at-point): Reflow docstrings.
458
459 2014-03-14 Glenn Morris <rgm@gnu.org>
460
461 * emacs-lisp/package.el (package-menu-mode-map):
462 Replace use of obsolete function alias. Tweak menu item text.
463
464 * info.el (Info-finder-find-node):
465 Ignore the `emacs' metapackage. (Bug#10813)
466
467 * finder.el (finder-list-matches): Include unversioned packages
468 in the result of a keyword search.
469
470 * finder.el (finder--builtins-descriptions): New constant.
471 (finder-compile-keywords): Use finder--builtins-descriptions.
472
473 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
474
475 * simple.el (blink-matching-paren): Describe the new value,
476 `jump', enabling the old behavior.
477 (blink-matching-open): Use that value. (Bug#17008)
478
479 2014-03-14 Glenn Morris <rgm@gnu.org>
480
481 * finder.el (finder-no-scan-regexp): Add leim-list.
482 (finder-compile-keywords):
483 Don't skip files with same basename. (Bug#14010)
484 * Makefile.in (setwins_finder): New, excluding leim.
485 (finder-data): Use setwins_finder.
486
487 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
488 (help-function-arglist, help-make-usage): Move from here...
489 * help.el (help-split-fundoc, help-add-fundoc-usage)
490 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
491 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
492
493 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
494
495 * net/socks.el (socks, socks-override-functions)
496 (socks-find-services-entry):
497 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
498 (hif-find-ifdef-block):
499 * progmodes/modula2.el (m2-indent): Fix docstring typos.
500
501 * net/tls.el (tls-program): Reflow docstring.
502
503 * progmodes/pascal.el (pascal-mode-abbrev-table)
504 (pascal-imenu-generic-expression, pascal-auto-endcomments)
505 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
506 (pascal-outline-mode): Fix docstring typos.
507 (pascal-mode): Let define-derived-mode document mode hook.
508 (pascal-uncomment-area): Reflow.
509 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
510
511 * progmodes/opascal.el (opascal-compound-block-indent)
512 (opascal-case-label-indent): Fix docstring typos.
513 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
514
515 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
516
517 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
518 Fontify multiple adjacent negation chars. (Bug#17004)
519
520 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
521
522 * emacs-lisp/package.el (package--prepare-dependencies):
523 Accept requirements without explicit version (bug#14941).
524
525 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
526
527 * register.el (register-separator, copy-to-register): Doc fixes.
528 (register-preview-default): Remove unnecessary call to concat.
529
530 * frameset.el (frameset-restore): When checking for a visible frame,
531 use the action map instead of calling visible-frame-list.
532
533 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
534
535 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
536
537 2014-03-12 Martin Rudalics <rudalics@gmx.at>
538
539 * window.el (fit-frame-to-buffer): Get maximum width from
540 display's width instead of height.
541
542 2014-03-12 Glenn Morris <rgm@gnu.org>
543
544 * desktop.el (desktop-restore-frames)
545 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
546 (desktop-restore-reuses-frames): Doc tweaks.
547
548 * electric.el (electric-indent-mode): Doc fix.
549
550 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
551
552 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
553 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
554 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
555 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
556 (cvs-dired-use-hook): Fix docstring typos.
557 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
558 Doc fixes.
559
560 * vc/pcvs-defs.el (cvs-auto-remove-handled)
561 (cvs-auto-remove-directories, cvs-default-ignore-marks)
562 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
563 (cvs-execute-single-dir): Fix docstring typos.
564
565 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
566 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
567
568 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
569
570 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
571 Fix docstring typos.
572
573 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
574
575 * frameset.el (frameset--jump-to-register): Add autoload; it could be
576 called from jump-to-register after unloading the frameset package.
577
578 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
581 (bug#16975). Deactivate the mark before setting it to nil.
582 (activate-mark): Do nothing if region is already active.
583
584 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
585
586 * frameset.el (frameset--target-display): Remove definition; declare.
587 (frameset-save, frameset-restore): Let-bind frameset--target-display.
588
589 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
592 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
593 when the advice is pending.
594 (advice-remove): Remove this marker when not needed any more.
595
596 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
597
598 * frameset.el: Separate options for reusing frames and cleaning up.
599 (frameset--reuse-list): Remove definition; declare.
600 (frameset--action-map): Declare.
601 (frameset--find-frame-if): Doc fix.
602 (frameset--restore-frame): Cache frame action.
603 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
604 how to clean up the frame list after restoring. Remove cleaning
605 options from REUSE-FRAMES. Change all keyword values to symbols.
606 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
607
608 * desktop.el (desktop-restore-forces-onscreen)
609 (desktop-restore-reuses-frames): Use non-keyword values.
610 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
611
612 2014-03-10 Glenn Morris <rgm@gnu.org>
613
614 * files.el (find-file): Doc fix: update info node name.
615
616 * emacs-lisp/advice.el (ad-add-advice, defadvice):
617 Doc fix: remove references to deleted info nodes.
618
619 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
620
621 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
622 Do not add `nil' to the environment, when there's no remote `locale'.
623 (tramp-find-inline-encoding): Check, that the remote host has
624 installed perl, before sending scripts.
625
626 2014-03-10 Leo Liu <sdl.web@gmail.com>
627
628 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
629 Clear eldoc-last-message. (Bug#16920)
630
631 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
632
633 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
634 (bug#14430).
635
636 2014-03-09 Juri Linkov <juri@jurta.org>
637
638 * ansi-color.el (ansi-color-names-vector): Copy default colors
639 from `xterm-standard-colors' that look well on the default white
640 background (and also on the black background) to avoid illegible
641 color combinations like yellow-on-white and white-on-white.
642 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
643
644 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
645
646 * frameset.el (frameset-restore): When no frame is visible, do not
647 generate a list of frames, just make visible the selected one.
648
649 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
650
651 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
652 it only contains the repository root. (Bug#16897)
653
654 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
655
656 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
657 only when `remote-file-name-inhibit-cache' is nil.
658 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
659
660 2014-03-06 Martin Rudalics <rudalics@gmx.at>
661
662 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
663 Fix doc-strings.
664 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
665 fit-frame-to-buffer variable. Fix doc-string.
666 (fit-window-to-buffer): Set ONLY argument in call of
667 fit-frame-to-buffer. Fix doc-string.
668
669 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
670
671 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
672 (tramp-action-password): Clear password cache if needed.
673 (tramp-read-passwd): Do not clear password cache.
674
675 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
676 cache unless it is the first password request.
677
678 2014-03-06 Glenn Morris <rgm@gnu.org>
679
680 * simple.el (newline): Doc tweak.
681
682 * emacs-lisp/shadow.el (load-path-shadows-find):
683 Ignore dir-locals. (Bug#12357)
684
685 2014-03-05 Glenn Morris <rgm@gnu.org>
686
687 * files.el (interpreter-mode-alist):
688 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
689
690 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
691
692 * frameset.el (frameset--initial-params): Filter out null entries.
693
694 2014-03-05 Martin Rudalics <rudalics@gmx.at>
695
696 * window.el (window-min-height, window-min-width):
697 Rewrite doc-strings.
698 (window-body-size): Add PIXELWISE argument to make it consistent
699 with its callees.
700
701 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
702
703 * finder.el (finder-mode-map, finder-mode-syntax-table):
704 Revert part of 2014-02-28 change.
705
706 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
707
708 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
709 (eww-setup-buffer): Clear next/prev/etc more reliably.
710 (eww-textarea-map): [tab] doesn't work on tty.
711 Reported by Mario Lang.
712
713 * net/shr.el (shr-map): Ditto.
714
715 2014-03-04 Glenn Morris <rgm@gnu.org>
716
717 * minibuffer.el (completion-hilit-commonality):
718 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
719
720 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
721
722 * hilit-chg.el (hilit-chg-unload-function): New function.
723 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
724 (hilit-chg-map-changes): Prefer cardinal number to digit.
725 (hilit-chg-display-changes): Reflow docstring.
726 (highlight-changes-rotate-faces): Remove superfluous backslash.
727
728 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
729
730 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
731 `tramp-send-command-and-check'.
732
733 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
734
735 * hexl.el (hexl-address-region, hexl-ascii-region)
736 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
737 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
738 (hexl-forward-word, hexl-previous-line, hexl-next-line):
739 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
740 (hexl-mode): Doc fix.
741 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
742 (hexl-mode-ruler): Fix typos in docstrings.
743
744 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
745 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
746 Remove superfluous backslashes.
747 (strokes-last-stroke, strokes-global-map, strokes-mode):
748 Reflow docstrings.
749 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
750 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
751 (strokes-distance-squared, strokes-global-set-stroke)
752 (strokes-global-set-stroke-string): Doc fixes.
753 (strokes-help): Fix typos; reflow docstring.
754
755 2014-03-04 Martin Rudalics <rudalics@gmx.at>
756
757 * window.el (window-in-direction): Fix doc-string.
758
759 2014-03-04 Glenn Morris <rgm@gnu.org>
760
761 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
762 Explicit error if no grammar.
763 (smie-config-save): Doc fix. Fix quote typo.
764
765 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
768 electric-indent-mode-hook if we obey electric-indent-mode.
769 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
770 decide whether we obey electric-indent-mode.
771 (c-change-set-fl-decl-start, c-extend-after-change-region):
772 Silence warnings.
773 (c-electric-indent-mode-hook): Assume we do want to obey
774 electric-indent-mode.
775
776 * electric.el (electric-indent-mode-has-been-called): Remove.
777 (electric-indent-mode): Fix accordingly.
778
779 * files.el (hack-local-variables): Mention file name in warning.
780
781 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
782
783 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
784
785 * binding.el: Add comment describing why C-d binds to `delete-char'.
786 * simple.el (delete-forward-char): Mark as interactive-only.
787
788 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
789
790 * icomplete.el (icomplete-completions):
791 Follow-up to 2014-03-01 change.
792
793 * icomplete.el: Miscellaneous doc fixes.
794 Use Icomplete everywhere instead of icomplete for consistency.
795 (icomplete-max-delay-chars): Fix typo.
796 (icomplete-mode): Use \[].
797 (icomplete-tidy, icomplete-exhibit): Reflow.
798 (icomplete-minibuffer-setup-hook, icomplete-completions):
799 Remove superfluous backlashes.
800
801 * ido.el: Miscellaneous doc fixes.
802 Use Ido everywhere instead of ido or `ido' for consistency.
803 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
804 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
805 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
806 (ido-separator): Extract obsolescence info from docstring and declare
807 with make-obsolete-variable.
808 (ido-minibuffer-setup-hook): Simplify example.
809 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
810 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
811 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
812 (ido-everywhere): Reflow docstring.
813 (ido-toggle-vc): Doc fix.
814 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
815 of long list of keybindings.
816
817 2014-03-03 Glenn Morris <rgm@gnu.org>
818
819 * frame.el (display-pixel-height, display-pixel-width)
820 (display-mm-dimensions-alist, display-mm-height)
821 (display-mm-width): Doc tweaks.
822
823 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
824
825 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
826 case of undo in region.
827
828 2014-03-02 Martin Rudalics <rudalics@gmx.at>
829
830 * window.el (fit-window-to-buffer): Fix argument in window-size
831 call when window is horizontally combined.
832
833 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
834
835 * icomplete.el (icomplete-completions): Use string-width.
836 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
837
838 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
839
840 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
841 Highlight regexp options. (Bug#16914)
842
843 2014-03-01 Martin Rudalics <rudalics@gmx.at>
844
845 * window.el (window--max-delta-1): Round down when calculating
846 how many lines/columns we can get from a window.
847
848 2014-03-01 Glenn Morris <rgm@gnu.org>
849
850 * isearch.el (search-invisible): Doc fix.
851
852 * minibuffer.el (completion-hilit-commonality):
853 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
854 * comint.el (comint-dynamic-list-completions): Doc fix.
855 * comint.el (comint-dynamic-list-completions):
856 * filecache.el (file-cache-minibuffer-complete):
857 * tempo.el (tempo-display-completions):
858 * eshell/em-hist.el (eshell-list-history):
859 Replace use of obsolete argument of display-completion-list.
860
861 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
862
863 * icomplete.el (icomplete-completions):
864 Revert back to using "..." when ?… cannot be displayed.
865
866 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
867
868 * finder.el (finder-unload-function): New function.
869
870 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
871
872 * dframe.el (dframe-detach):
873 * find-dired.el (find-dired, find-name-dired):
874 * finder.el (finder-mode-map, finder-mode-syntax-table)
875 (finder-headmark, finder-select, finder-mouse-select):
876 Fix docstring typos.
877
878 2014-02-28 Martin Rudalics <rudalics@gmx.at>
879
880 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
881 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
882 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
883 Fix doc-string based on a suggestion by Nicolas Richard
884 <theonewiththeevillook@yahoo.fr>.
885 * help.el (with-help-window): Fix doc-string.
886
887 2014-02-28 Ivan Kanis <ivan@kanis.fr>
888
889 * net/shr.el (shr-image-animate): New option.
890 (shr-put-image): Respect shr-image-animate.
891
892 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp-adb.el (tramp-adb-parse-device-names):
895 Use `accept-process-output'.
896 (tramp-adb-handle-file-truename): Cache the localname only.
897 (tramp-adb-handle-make-directory)
898 (tramp-adb-handle-delete-directory): Flush file properties correctly.
899 (tramp-adb-handle-set-file-modes): Do not raise an error when file
900 modes cannot be changed.
901
902 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
903 file properties of symlinks.
904
905 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
906
907 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
908 required/optional fields to match development biblatex. (Bug#16781)
909
910 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
911
912 * saveplace.el (toggle-save-place):
913 Fix argument handling. (Bug#16673)
914
915 2014-02-28 Glenn Morris <rgm@gnu.org>
916
917 * minibuffer.el (completions-first-difference)
918 (completions-common-part, completion-hilit-commonality): Doc fixes.
919
920 2014-02-28 Karl Berry <karl@gnu.org>
921
922 * info.el (Info-mode-map): Add H for describe-mode,
923 to synchronize with standalone Info.
924
925 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
926
927 * progmodes/sql.el (sql-interactive-mode):
928 Avoid setting global comint-input-ring-separator. (Bug#16814)
929
930 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
931
932 * net/dbus.el (dbus--init-bus): Declare function.
933 (dbus-path-local, dbus-interface-local): New defconst.
934 (dbus-init-bus): Use them.
935 (dbus-return-values-table): Extend doc.
936 (dbus-handle-bus-disconnect): Extend error message.
937
938 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
939
940 * subr.el (y-or-n-p): Fix double space issue in message.
941
942 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
943
944 * net/tramp.el (tramp-call-process): Improve trace message.
945 (tramp-handle-insert-file-contents): Trace error case.
946
947 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
948 <insert-directory>: Use `tramp-handle-insert-directory'.
949 (tramp-adb-handle-insert-directory): Remove function.
950 (tramp-adb-send-command-and-check): New defun, replacing
951 `tramp-adb-command-exit-status'. Change all callees.
952 (tramp-adb-handle-file-attributes)
953 (tramp-adb-handle-directory-files-and-attributes): Use it.
954 (tramp-adb-ls-output-name-less-p):
955 Use `directory-listing-before-filename-regexp'.
956 (tramp-adb-handle-delete-directory): Flush also file properties of
957 the truename of directory.
958 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
959 (tramp-adb-handle-file-local-copy): Make the local copy readable.
960 (tramp-adb-handle-write-region): Implement APPEND.
961 (tramp-adb-handle-rename-file): Make it more robust. Flush file
962 properties correctly.
963 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
964 variables. Check for connected devices only when needed.
965
966 2014-02-27 Glenn Morris <rgm@gnu.org>
967
968 * minibuffer.el (completion-table-dynamic)
969 (completion-table-with-cache): Doc fixes.
970
971 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
972 (completing-read-multiple): Doc fixes.
973
974 2014-02-27 Daniel Colascione <dancol@dancol.org>
975
976 * minibuffer.el (completion--nth-completion): Fix indentation.
977
978 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
979 explicit tramp path is empty.
980
981 2014-02-27 Glenn Morris <rgm@gnu.org>
982
983 * emacs-lisp/crm.el (completing-read-multiple):
984 Empower help-enable-auto-load.
985
986 2014-02-26 Glenn Morris <rgm@gnu.org>
987
988 * startup.el (command-line): Don't init the tty in daemon mode.
989
990 Avoid calling tty-setup-hook twice, eg if a term file
991 explicitly calls tty-run-terminal-initialization. (Bug#16859)
992 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
993 (tty-create-frame-with-faces): Use it.
994 * startup.el (command-line): Pass run-hook argument
995 to tty-run-terminal-initialization.
996
997 * dired.el (dired-restore-desktop-buffer): Demote errors;
998 eg in case a glob match fails. (Bug#16884)
999
1000 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1001
1002 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1003 error from `read-from-string'. (Bug#16850)
1004
1005 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1006 result of `completing-read' in the interactive form. (Bug#16854)
1007
1008 2014-02-25 Glenn Morris <rgm@gnu.org>
1009
1010 * image.el (image-animate, image-animate-timeout):
1011 Stop animating images in dead buffers. (Bug#16878)
1012
1013 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1014
1015 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1016 Doc fixes.
1017 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1018 * term/sun.el (sun-raw-prefix-hooks):
1019 Use tty-setup-hook instead of term-setup-hook.
1020 (terminal-init-sun): Construct message from bytecomp plist.
1021 * term/wyse50.el (enable-arrow-keys): Doc fix.
1022
1023 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1024
1025 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1026 Fix docstring typos.
1027
1028 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1029
1030 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1031
1032 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1033
1034 * minibuffer.el (completion--try-word-completion):
1035 Fix error when completing M-x commands (bug#16808).
1036
1037 2014-02-24 Leo Liu <sdl.web@gmail.com>
1038
1039 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1040
1041 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1042
1043 * apropos.el (apropos-print): Avoid formatting error when
1044 apropos-do-all and apropos-compact-layout are both t.
1045
1046 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1047
1048 * apropos.el (apropos-property, apropos-all-words-regexp)
1049 (apropos-true-hit, apropos-variable, apropos-print):
1050 Fix docstring typos, and remove obsolete comment.
1051
1052 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1053
1054 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1055 Preserve trailing "/". (Bug#16851)
1056
1057 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1058
1059 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1060 after `=>' (bug#16811).
1061 (ruby-smie-rules): Handle the inconsistent second element of the
1062 list returned by `smie-indent--parent'.
1063 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1064 method call.
1065
1066 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1067
1068 * elec-pair.el (electric-pair-text-syntax-table)
1069 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1070 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1071 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1072 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1073
1074 2014-02-22 Glenn Morris <rgm@gnu.org>
1075
1076 * imenu.el (imenu--generic-function): Doc fix.
1077
1078 * register.el (frame-configuration-to-register): Make obsolete.
1079
1080 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1081
1082 * desktop.el (desktop-save-buffer-p): Do not fail when
1083 desktop-files-not-to-save is nil. Return t for true result
1084 as the doc says.
1085
1086 2014-02-22 Daniel Colascione <dancol@dancol.org>
1087
1088 * net/secrets.el (secrets-create-item, secrets-search-items):
1089 Check that attribute values are strings, avoiding the construction
1090 of invalid dbus messages.
1091
1092 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1093
1094 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1095 defun-declarations-alist.
1096
1097 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1100 (bug#16829).
1101
1102 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1103
1104 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1105 (whitespace-newline, whitespace-trailing, whitespace-line)
1106 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1107 (whitespace-space-after-tab): Fix typo in docstrings.
1108
1109 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1110
1111 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1112
1113 * electric.el (electric-indent-functions-without-reindent):
1114 Add `yaml-indent-line'.
1115
1116 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1117
1118 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1119 It has done nothing for years; should be removed after the release.
1120
1121 * simple.el (choose-completion): Fix docstring typo.
1122 (read-quoted-char-radix): Remove unneeded * in docstring.
1123 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1124 Don't escape parentheses unnecessarily in docstrings.
1125
1126 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1127
1128 Fix handling of window-min-height/-width (Bug#16738).
1129 * window.el (window--dump-window, window--dump-frame):
1130 New functions.
1131 (window--min-size-1): Account for window dividers.
1132 When window-resize-pixelwise is nil, delay rounding till after the
1133 sum of the window components has been calculated.
1134 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1135 nil make sure at least one text line and two text columns remain
1136 fully visible.
1137 (window-resize): Signal an error when window-resize-apply fails.
1138 (window--resize-child-windows): Fix calculation of by how many
1139 pixels a window can still be shrunk via window-new-normal.
1140 (adjust-window-trailing-edge): Call window--resizable with
1141 correct TRAIL argument.
1142
1143 (with-temp-buffer-window): Don't evaluate BODY within
1144 with-current-buffer (Bug#16816).
1145
1146 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1147
1148 * net/tramp.el (tramp-check-cached-permissions):
1149 Call `file-attributes' with `suffix' being a symbol but a string.
1150
1151 2014-02-21 Daniel Colascione <dancol@dancol.org>
1152
1153 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1154 (dbus-init-bus): New function: call into dbus-init-bus-1
1155 and installs a handler for the disconnect signal.
1156 (dbus-call-method): Rewrite to look for result in cons.
1157 (dbus-call-method-handler): Store result in cons.
1158 (dbus-check-event): Recognize events with nil sender as valid.
1159 (dbus-handle-bus-disconnect): New function. React to bus
1160 disconnection signal by synthesizing dbus error for each
1161 pending synchronous or asynchronous call.
1162 (dbus-notice-synchronous-call-errors): New function.
1163 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1164 is true, not all the time.
1165
1166 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1167
1168 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1169 Remove obsolescence declarations, these variables do not exist anymore.
1170
1171 * savehist.el (savehist-save-minibuffer-history)
1172 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1173 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1174 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1175 mostly, refer to "Savehist mode" when talking about the mode,
1176 and not the function.
1177
1178 * saveplace.el (save-place): Remove redundant info in docstring.
1179 (save-place-forget-unreadable-files, toggle-save-place)
1180 (save-place-forget-unreadable-files, save-place-dired-hook):
1181 Fix typos and remove unneeded backslashes.
1182
1183 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1184
1185 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1186 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1187
1188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1189 <insert-directory>: Use `tramp-handle-insert-directory'.
1190 (tramp-gvfs-handle-insert-directory): Remove function.
1191
1192 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1193 Call `tramp-handle-insert-directory'.
1194
1195 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1196
1197 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1198 before the start of buffer/region (bug#16799).
1199
1200 2014-02-20 Glenn Morris <rgm@gnu.org>
1201
1202 * isearch.el (search-invisible): Doc fix.
1203
1204 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1205
1206 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1207 (bug#16657).
1208
1209 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1210
1211 * frameset.el (frameset-restore): Delay removing an old frame's
1212 duplicate id until the new frame has been correctly created.
1213
1214 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1217 (tramp-check-cached-permissions): Call `file-attributes' if the
1218 cache is empty.
1219
1220 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1221 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1222
1223 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1224 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1225 (tramp-gvfs-maybe-open-connection): Set always connection
1226 properties, even if target is mounted already.
1227
1228 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1229 Set tramp-autoload cookie.
1230 (tramp-get-remote-touch): New defun.
1231 (tramp-sh-handle-set-file-times): Use it.
1232 (tramp-sh-handle-directory-files-and-attributes):
1233 Use `tramp-handle-directory-files-and-attributes' if neither stat
1234 nor perl are available on the remote host.
1235
1236 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1237 "/". Write long listing only when "l" belongs to the switches.
1238
1239 * net/trampver.el: Update release number.
1240
1241 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1242
1243 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1244
1245 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1246
1247 * window.el (window-state-put): Allow WINDOW to refer to an
1248 internal window (Bug#16793).
1249
1250 2014-02-19 Glenn Morris <rgm@gnu.org>
1251
1252 * textmodes/remember.el: Move provide statement to end.
1253 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1254 (remember-notes): Doc fixes.
1255
1256 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1257
1258 * delsel.el (delete-char): Restore incorrectly erased property
1259 (bug#16795).
1260
1261 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1262
1263 * frameset.el (frameset--restore-frame): When a frame is being reused
1264 and its root window is not alive, delete all the frame's windows before
1265 restoring the window state. This works around the issue in bug#16793.
1266
1267 2014-02-18 Glenn Morris <rgm@gnu.org>
1268
1269 * textmodes/remember.el (remember-data-directory)
1270 (remember-directory-file-name-format, remember-store-in-files)
1271 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1272 (remember-notes-save-and-bury-buffer)
1273 (remember-notes--kill-buffer-query): Doc fixes.
1274
1275 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1276
1277 2014-02-17 Alan Mackenzie <acm@muc.de>
1278
1279 Connect electric-indent-mode up with CC Mode. Bug #15478.
1280 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1281 to electric-indent-{,local-}-mode.
1282 (c-basic-common-init): Set electric-indent-inhibit.
1283 Initialise c-electric-flag from electric-indent-mode.
1284 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1285 New hook functions which propagate electric-indent-mode to CC mode.
1286
1287 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1288 hit, toggle electric-indent-local-mode.
1289
1290 * electric.el (electric-indent-mode-has-been-called):
1291 New variable.
1292
1293 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1294
1295 * frameset.el (frameset-cfg-id): New function.
1296 (frameset--reuse-frame, frameset-restore): Use it.
1297 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1298
1299 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * ido.el (ido-file-internal): Remove unused var `d'.
1302 Use \` for to match BoS. Fit within 80n columns.
1303
1304 2014-02-17 Daniel Colascione <dancol@dancol.org>
1305
1306 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1307 dbus-call-method check for completion using a busy-wait loop with
1308 gradual backoff.
1309
1310 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1311
1312 Sync with Tramp 2.2.9.
1313
1314 * net/trampver.el: Update release number.
1315
1316 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1317
1318 * ido.el (ido-file-internal): Don't add the name of an existing
1319 directory twice. (Bug#16747)
1320
1321 2014-02-16 Glenn Morris <rgm@gnu.org>
1322
1323 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1324 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1325
1326 2014-02-15 Michael R. Mauger <michael@mauger.com>
1327
1328 * progmodes/sql.el: Version 3.4
1329 (sql-oracle-options): New default value ("-L").
1330 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1331 (sql-placeholders-filter): Correct placeholder pattern.
1332 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1333 (sql-login-delay): New variable.
1334 (sql-product-interactive): Use it.
1335
1336 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1337
1338 * frameset.el (frameset--jump-to-register): Check that buffer is live
1339 (bug#16749).
1340
1341 2014-02-15 Glenn Morris <rgm@gnu.org>
1342
1343 * info.el (info-initialize): Revert 2014-01-10 change.
1344
1345 2014-02-14 Glenn Morris <rgm@gnu.org>
1346
1347 * replace.el (map-query-replace-regexp)
1348 (read-regexp-defaults-function, read-regexp): Doc fixes.
1349
1350 * dired.el (dired-read-regexp):
1351 * faces.el (list-faces-display):
1352 * misearch.el (multi-isearch-read-matching-buffers)
1353 (multi-isearch-read-matching-files):
1354 * play/cookie1.el (cookie-apropos):
1355 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1356
1357 * textmodes/remember.el (remember): Use frameset-to-register
1358 rather than frame-configuration-to-register.
1359
1360 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1361
1362 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1363 incorrect keybinding.
1364
1365 2014-02-13 Daniel Colascione <dancol@dancol.org>
1366
1367 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1368 when adding overlays so that line numbers from compiler match line
1369 numbers we use.
1370
1371 2014-02-13 Glenn Morris <rgm@gnu.org>
1372
1373 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1374
1375 * jit-lock.el (jit-lock-mode): Doc fix.
1376
1377 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1378
1379 * apropos.el (apropos-read-pattern): When the user passes an empty
1380 string, give a more helpful error message than "Wrong type
1381 argument: stringp, nil".
1382
1383 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1386
1387 2014-02-13 Glenn Morris <rgm@gnu.org>
1388
1389 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1390
1391 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1394 shift-select commands.
1395
1396 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1397
1398 * progmodes/js.el (js-indent-line): Don't widen.
1399 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1400
1401 2014-02-12 Glenn Morris <rgm@gnu.org>
1402
1403 * icomplete.el (icomplete): Add info-link to defgroup.
1404 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1405 (icomplete-minibuffer-map, icomplete-mode)
1406 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1407
1408 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1409 (package-menu-filter): Rename from package-menu-filter-interactive.
1410 Doc fix.
1411
1412 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1413
1414 * frameset.el (frameset--jump-to-register): Select the required
1415 window and buffer before restoring position (bug#16696).
1416
1417 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1418
1419 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1420
1421 2014-02-10 Glenn Morris <rgm@gnu.org>
1422
1423 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1424
1425 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1426
1427 * w32-common-fns.el (x-get-selection): Doc fix.
1428 * select.el (x-get-selection): Doc fix. (Bug#15109)
1429
1430 * face-remap.el (face-remap-add-relative)
1431 (face-remap-remove-relative, face-remap-reset-base)
1432 (face-remap-set-base): Call force-mode-line-update to redisplay
1433 the current buffer due to potential change in faces. (Bug#16709)
1434
1435 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1436
1437 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1438 script more robustly.
1439
1440 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1441
1442 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1443
1444 * simple.el (choose-completion): Doc fix (bug#14160).
1445
1446 * subr.el (event-start): Say what a nil EVENT value means.
1447
1448 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1449 (bug#14197).
1450
1451 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1452
1453 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1454
1455 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1456
1457 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1458 predicate function (bug#15455).
1459
1460 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1461
1462 * ielm.el (inferior-emacs-lisp-mode): Instead of
1463 `comment-use-global-state', set `comment-use-syntax'.
1464
1465 2014-02-10 Glenn Morris <rgm@gnu.org>
1466
1467 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1468
1469 2014-02-09 Alan Mackenzie <acm@muc.de>
1470
1471 Fix c-invalidate-state-cache on narrowed buffers.
1472 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1473 Widen when setting and clearing the CPP delimiter properties.
1474
1475 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1476
1477 * help.el (describe-bindings): Doc fix (bug#9888).
1478
1479 * files.el (save-buffer): Use ARG as the parameter name for
1480 consistency (bug#10346).
1481 (save-buffer): Clarify the 0 argument (bug#10346).
1482
1483 * cus-edit.el (customize-apropos): Fix error string.
1484 (custom-buffer-create): Doc fix (bug#11122).
1485 (custom-sort-items): Doc fix (bug#11121).
1486
1487 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1488
1489 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1490 (icomplete-simple-completing-p): Mention the previous variable.
1491
1492 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1493 meaning of the parameter (bug#12282).
1494
1495 * files.el (find-file-noselect): Clarify prompt when changing
1496 readedness (bug#13261).
1497 (locate-file): Suffixes aren't returned, so don't say that they
1498 are (bug#12674).
1499 (backup-inhibited): Doc clarification (bug#12525).
1500
1501 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1502 before we actually start to delete things (bug#16331).
1503
1504 * subr.el (event-start): Doc fix (bug#14228).
1505 (event-end): Ditto.
1506
1507 2014-02-09 Glenn Morris <rgm@gnu.org>
1508
1509 * emacs-lisp/warnings.el (lwarn):
1510 Empower help-enable-auto-load. (Bug#15940)
1511
1512 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1513
1514 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1515 (Bug#16690)
1516
1517 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1518
1519 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1520 Insert output at end of buffer. (Bug#16120)
1521
1522 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1523
1524 * simple.el (choose-completion-string-functions): Document new
1525 calling convention (bug#14153).
1526 (execute-extended-command): Clarify doc string (bug#13373).
1527
1528 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1529
1530 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1531 (find-grep-dired): Doc fix (bug#14288).
1532
1533 2014-02-08 Juri Linkov <juri@jurta.org>
1534
1535 * isearch.el (isearch-quote-char): Check character validity
1536 like in `quoted-insert' (bug#16677).
1537
1538 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1539
1540 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1541
1542 * isearch.el (isearch-hide-immediately): Doc clarification
1543 (bug#14723).
1544
1545 * simple.el (line-move): Document utility function used many
1546 places in the Emacs sources (bug#14843).
1547
1548 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1549 (dired-prev-marked-file): Doc fix (bug#14855).
1550 (dired-up-directory): Doc fix (bug#14848).
1551
1552 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1553
1554 * files.el (file-relative-name): Doc fix (bug#15159).
1555
1556 * fringe.el (fringe-styles): Doc fix (bug#15239).
1557
1558 * isearch.el (isearch-filter-predicate): Documentation typo fix
1559 (bug#15474).
1560
1561 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1562
1563 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1564
1565 * replace.el (replace-match-maybe-edit): Doc clarification
1566 (bug#15632).
1567
1568 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1569
1570 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1571
1572 2014-02-08 Glenn Morris <rgm@gnu.org>
1573
1574 * help-fns.el (describe-variable):
1575 Check {file,dir}-local-variables-alist, and buffer-file-name,
1576 in the correct buffer.
1577
1578 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1579
1580 * help-fns.el (describe-variable): Fix the case where
1581 a value is directory-local with no dir-locals file. (Bug#16635)
1582
1583 2014-02-08 Glenn Morris <rgm@gnu.org>
1584
1585 * abbrev.el (edit-abbrevs-mode):
1586 Derive from fundamental-mode. (Bug#16682)
1587
1588 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1589
1590 * simple.el (quoted-insert): Check character validity (bug#16677).
1591
1592 2014-02-07 Juri Linkov <juri@jurta.org>
1593
1594 * desktop.el (desktop-read): Claim the lock when the owner is not
1595 the current process. (Bug#16157)
1596
1597 2014-02-07 Juri Linkov <juri@jurta.org>
1598
1599 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1600 to "\\` ". (Bug#16651)
1601
1602 2014-02-07 Juri Linkov <juri@jurta.org>
1603
1604 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1605 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1606 (desktop-auto-save-cancel-timer): New function with some code from
1607 `desktop-auto-save-set-timer'.
1608 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1609 Instead of setting `desktop-save-mode' to nil, call
1610 `desktop-save-mode' with arg 0. (Bug#16630)
1611
1612 2014-02-07 Glenn Morris <rgm@gnu.org>
1613
1614 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1615 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1616 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1617
1618 * obsolete/iswitchb.el: Move to obsolete/.
1619 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1620 since obsolete/ is not scanned for autoloads.
1621 * emacs-lisp/authors.el (authors-valid-file-names):
1622 Add iswitchb.el.
1623
1624 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1625 Disable now non-functional find-file-hook.
1626
1627 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1628
1629 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1630 instead of ";" in order to avoid additional prompts. Let heredoc
1631 scripts read from tty. (Bug#16582)
1632 (tramp-send-command): No special handling of heredocs, it isn't
1633 necessary anymore.
1634
1635 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1638 with a space (bug#16664). Limit the symbols considered to the ones
1639 that are bound or fbound (bug#16646).
1640
1641 2014-02-06 Glenn Morris <rgm@gnu.org>
1642
1643 * epa.el (epa-mail-aliases): Doc fix.
1644
1645 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1646
1647 * emacs-lisp/lisp.el (lisp-completion-at-point):
1648 Use `completion-table-merge' instead of `completion-table-in-turn'
1649 (bug#16604).
1650
1651 * minibuffer.el (completion-table-merge): New function.
1652
1653 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1654
1655 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1656 (tramp-sh-handle-set-file-acl)
1657 (tramp-sh-handle-start-file-process)
1658 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1659 (tramp-find-executable, tramp-send-command): Use it.
1660
1661 2014-02-05 Glenn Morris <rgm@gnu.org>
1662
1663 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1664
1665 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1666
1667 * progmodes/python.el (python-shell-send-string)
1668 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1669
1670 2014-02-04 Anders Lindgren <andlind@gmail.com>
1671
1672 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1673 the names (bug#16620).
1674
1675 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1676
1677 * faces.el (window-divider): New default value. Rewrite doc-string.
1678 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1679
1680 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1681
1682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1683 `protected' and `public' can also be called without arguments.
1684
1685 2014-02-03 Glenn Morris <rgm@gnu.org>
1686
1687 * register.el (window-configuration-to-register)
1688 (frame-configuration-to-register): Unadvertise unused argument.
1689 * frameset.el (frameset-to-register): Remove unused argument.
1690
1691 * frameset.el (frameset-to-register):
1692 * kmacro.el (kmacro-to-register):
1693 * register.el (increment-register):
1694 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1695 (calc-append-to-register, calc-prepend-to-register):
1696 * play/gametree.el (gametree-layout-to-register)
1697 (gametree-apply-register-layout):
1698 * textmodes/picture.el (picture-clear-rectangle-to-register)
1699 (picture-yank-rectangle-from-register):
1700 * vc/emerge.el (emerge-combine-versions-register):
1701 Use register-read-with-preview to read registers.
1702
1703 2014-02-03 João Távora <joaotavora@gmail.com>
1704
1705 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1706 when at beginning of (possibly narrowed) buffer.
1707
1708 2014-02-02 Daniel Colascione <dancol@dancol.org>
1709
1710 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1711 Also try to display local help from just before point.
1712
1713 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1714
1715 c-parse-state. Don't "append-lower-brace-pair" in certain
1716 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1717 recognised as a comment.
1718
1719 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1720 as well as normal comment starter.
1721 (c-parse-state-get-strategy): Extra return possibility
1722 'back-and-forward.
1723 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1724 return value list to indicate replacement of a brace-pair cons
1725 with its car.
1726 (c-parse-state-1): With 'back-and-forward, only call
1727 c-append-lower-brace-pair-to state-cache when cons-separated.
1728
1729 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1730
1731 * term/ns-win.el (ns-suspend-error): New function.
1732 (ns-initialize-window-system): Add ns-suspend-error to
1733 suspend-hook (Bug#16612).
1734
1735 2014-02-02 Daniel Colascione <dancol@dancol.org>
1736
1737 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1738 Make loading cc-mode silent.
1739
1740 2014-02-02 Daniel Colascione <dancol@dancol.org>
1741
1742 * comint.el (comint-prompt-read-only): Change doc to suggest
1743 remap keybinding.
1744
1745 2014-02-02 Glenn Morris <rgm@gnu.org>
1746
1747 * register.el (register-read-with-preview, point-to-register)
1748 (window-configuration-to-register, frame-configuration-to-register)
1749 (jump-to-register, number-to-register, view-register, insert-register)
1750 (copy-to-register, append-to-register, prepend-to-register)
1751 (copy-rectangle-to-register): Doc fixes.
1752
1753 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1756 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1757 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1758 * help-fns.el (describe-function-1): Use it.
1759
1760 2014-02-02 Glenn Morris <rgm@gnu.org>
1761
1762 * register.el (register-preview-default): New function,
1763 split from register-preview.
1764 (register-preview-function): Rename from register-preview-functions,
1765 make it not a hook.
1766 (register-preview): Use register-preview-function.
1767 (register-read-with-preview): Error on non-character event. (Bug#16595)
1768
1769 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1770
1771 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1772 `:' before binary operators (bug#16609). Don't check for `:'
1773 before `[' and `(', or their syntax status. A percent literal
1774 can't end with either.
1775 (ruby-font-lock-keywords): For built-ins that require arguments,
1776 check that they're followed by something that looks like argument
1777 (bug#16610).
1778
1779 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1780
1781 * subr.el (butlast): Document what an omitted N means (bug#13437).
1782 (nbutlast): Ditto.
1783
1784 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1785
1786 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1787 depth shallower (bug#16587).
1788 (shr-tag-svg): Respect `shr-inhibit-images'.
1789 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1790
1791 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1792
1793 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1794 (ruby-smie-grammar): Make "." right-associative. Make its priority
1795 lower than the ternary and all binary operators.
1796 (ruby-smie-rules): Indent "(" relative to the first non-"."
1797 parent, or the first "." parent at indentation.
1798 Use `ruby-align-chained-calls' for indentation of "." tokens.
1799 (Bug#16593)
1800
1801 2014-01-31 Juri Linkov <juri@jurta.org>
1802
1803 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1804 from `make-hash-table'.
1805
1806 * textmodes/ispell.el (ispell-init-process): Change message format
1807 to be consistent with other messages.
1808
1809 2014-01-31 Glenn Morris <rgm@gnu.org>
1810
1811 * delsel.el (delete-selection-mode): Doc fix.
1812
1813 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1814 (trace-function-background): Doc fixes.
1815
1816 * ido.el (ido-use-virtual-buffers): Doc fix.
1817 Reset :version, since the default value has not changed.
1818
1819 * register.el (register-preview-delay, register-read-with-preview):
1820 Doc fixes.
1821
1822 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1823 do not mess with mail-buffer position (fixes 2009-11-03 change).
1824 * progmodes/cc-mode.el (c-submit-bug-report):
1825 Check auto-fill-mode is bound. (Bug#16592)
1826
1827 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1828
1829 * startup.el (fancy-splash-image-file): New function,
1830 split from fancy-splash-head.
1831 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1832 so that we are both using the same image. (Bug#16574)
1833
1834 2014-01-30 Glenn Morris <rgm@gnu.org>
1835
1836 * simple.el (eval-expression): Doc fix.
1837
1838 * hexl.el (hexl-mode-hook):
1839 * ielm.el (ielm-mode-hook):
1840 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1841 (lisp-interaction-mode-hook):
1842 * progmodes/cfengine.e (cfengine3-documentation-function):
1843 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1844
1845 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1848 is a symbol (bug#16584).
1849
1850 2014-01-30 Glenn Morris <rgm@gnu.org>
1851
1852 * help.el (help-for-help-internal): Add "P" to text.
1853
1854 2014-01-29 Glenn Morris <rgm@gnu.org>
1855
1856 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1857
1858 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1859
1860 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1861 height constraints.
1862
1863 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1864
1865 * progmodes/hideif.el: Extend to full CPP expression syntax.
1866 (hif-token-alist): Add missing tokens.
1867 (hif-token-regexp): Add support for float/octal/hex immediates.
1868 (hif-string-literal-regexp): New const.
1869 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1870 (hif-exprlist): New function.
1871 (hif-parse-if-exp): Use it.
1872 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1873 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1874 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1875 (hif-logxor, hif-comma): New functions.
1876
1877 2014-01-28 Glenn Morris <rgm@gnu.org>
1878
1879 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1880
1881 * indent.el (tab-stop-list): Doc fix. Add :version.
1882
1883 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1884 (cvs-append-to-ignore): Add compatibility alias.
1885
1886 2014-01-27 Glenn Morris <rgm@gnu.org>
1887
1888 * dired.el (dired-hide-details-mode): Don't autoload it,
1889 since it cannot be used outside Dired buffers anyway.
1890
1891 * emulation/cua-base.el (cua-mode): Doc fix.
1892
1893 * dired.el (dired-hide-details-hide-symlink-targets)
1894 (dired-hide-details-hide-information-lines)
1895 (dired-hide-details-mode): Doc fixes.
1896
1897 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1898 * strokes.el (strokes-file): Doc fix. Bump :version.
1899 (strokes-help): Doc fix.
1900 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1901 * emulation/viper.el (viper): Doc fix for custom group.
1902 (top-level): Remove oh-so-no-longer-relevant text about vip.
1903 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1904
1905 * ido.el (ido-save-directory-list-file):
1906 * saveplace.el (save-place-file):
1907 * calendar/timeclock.el (timeclock-file):
1908 * net/quickurl.el (quickurl-url-file):
1909 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1910 * progmodes/idlwave.el (idlwave-config-directory):
1911 * textmodes/remember.el (remember-data-file):
1912 Bump :version.
1913
1914 2014-01-26 Glenn Morris <rgm@gnu.org>
1915
1916 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1917 Doc fix. Make obsolete.
1918 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1919
1920 * sort.el (delete-duplicate-lines): Doc fix.
1921
1922 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1923
1924 * progmodes/ada-mode.el (ada):
1925 * woman.el (woman): Link to info manual and Commentary section.
1926
1927 * progmodes/flymake.el (flymake):
1928 * nxml/nxml-mode.el (nxml):
1929 * net/eww.el (eww):
1930 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1931 * htmlfontify.el (htmlfontify):
1932 * ses.el (ses):
1933 * epa.el (epa):
1934 * ido.el (ido): Link to info manual.
1935
1936 2014-01-25 Leo Liu <sdl.web@gmail.com>
1937
1938 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1939
1940 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1941
1942 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1943 (bug#16537).
1944
1945 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1946
1947 * net/eww.el (eww-download-callback):
1948 Fix reference to eww-download-directory.
1949
1950 * emacs-lisp/bytecomp.el (byte-compile-file):
1951 Remove unused local variable `file-name'.
1952
1953 2014-01-24 Glenn Morris <rgm@gnu.org>
1954
1955 * woman.el (woman-default-faces, woman-monochrome-faces):
1956 Fix obsolescence specification.
1957
1958 * subr.el (with-demoted-errors): Doc fix.
1959
1960 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1963 (cl--macroexp-fboundp): New function.
1964 (cl--make-type-test): Use it.
1965
1966 2014-01-23 Glenn Morris <rgm@gnu.org>
1967
1968 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1969 * simple.el (eval-expression): Doc fixes.
1970
1971 2014-01-22 Glenn Morris <rgm@gnu.org>
1972
1973 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1974
1975 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * emacs-lisp/package.el: Write files silently.
1978 (package-autoload-ensure-default-file, package--write-file-no-coding)
1979 (package-generate-description-file, package--download-one-archive)
1980 (package-install-from-archive): Tell `write-region' to stay quiet.
1981 (package-menu-mode, package-menu--print-info): Omit the Archive column
1982 if there's only one archive.
1983 (package-all-keywords, package--has-keyword-p): Remove dead code.
1984
1985 2014-01-22 Glenn Morris <rgm@gnu.org>
1986
1987 * version.el (emacs-bzr-version-bzr): Fix typo.
1988
1989 * version.el (emacs-repository-get-version):
1990 Check either .bzr or .git, but not both.
1991 Make the git case actually use the DIR argument, and return nil
1992 rather than the empty string.
1993 Avoid error if .git exists but the git executable is not found.
1994
1995 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1996
1997 Fixes in window size functions around Bug#16430 and Bug#16470.
1998 * window.el (window-total-size, window-size): New argument ROUND.
1999 (window--min-delta-1, window-min-delta, window--max-delta-1):
2000 Be more conservative when calculating the numbers of lines or
2001 columns a window can shrink (Bug#16430).
2002 (fit-window-to-buffer): Simplify code.
2003 * term.el (term-window-width): Call window-body-width again.
2004
2005 2014-01-22 Glenn Morris <rgm@gnu.org>
2006
2007 * image.el (image-format-suffixes): Doc fix.
2008
2009 * international/quail.el (quail-define-package): Doc fix.
2010
2011 * emacs-lisp/authors.el (authors-valid-file-names)
2012 (authors-renamed-files-alist): Additions.
2013
2014 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2015 reverts 2014-01-09 change. (Bug#16422)
2016
2017 * calc/calc-embed.el (thing-at-point-looking-at):
2018 * emacs-lisp/map-ynp.el (x-popup-dialog):
2019 * obsolete/lmenu.el (x-popup-dialog):
2020 * emacs-lisp/package.el (url-recreate-url):
2021 * mail/mailclient.el (clipboard-kill-ring-save):
2022 * subr.el (x-popup-dialog): Update declaration.
2023 * mail/rmail.el (rmail-mime-message-p):
2024 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2025
2026 2014-01-21 Daniel Colascione <dancol@dancol.org>
2027
2028 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2029 Correctly detect when we're inside an arithmetic expansion form
2030 containing nested parenthesis.
2031 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2032 to detect cases where we shouldn't expand "<<" to a heredoc
2033 skeleton.
2034
2035 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2038 (eldoc--message-command-p): New function.
2039 (eldoc-display-message-p): Use it.
2040 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2041 message is not automatically erased for us.
2042 (eldoc-print-current-symbol-info): Erase previous message, if any.
2043
2044 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2045
2046 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2047 specify it's an interactive function.
2048
2049 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2050 Fix regex used for scanning for citation keys which failed for
2051 citations with optional arguments.
2052
2053 2014-01-21 Leo Liu <sdl.web@gmail.com>
2054
2055 * simple.el (read--expression): Don't enable eldoc-mode.
2056
2057 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * simple.el (move-beginning-of-line): Make sure we don't move forward
2060 (bug#16497).
2061
2062 2014-01-20 Juri Linkov <juri@jurta.org>
2063
2064 * saveplace.el (toggle-save-place, save-place-to-alist)
2065 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2066 'dired-mode) before checking for dired-directory. (Bug#16477)
2067
2068 2014-01-20 Juri Linkov <juri@jurta.org>
2069
2070 * indent.el (indent-line-to): Use backward-to-indentation
2071 instead of back-to-indentation. (Bug#16461)
2072
2073 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2074
2075 Revert some of the CANNOT_DUMP fix (Bug#16494).
2076 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2077 but fixing this can wait until after the next release.
2078 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2079
2080 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2083 Use `password-word-equivalents'.
2084 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2085 to t. (Bug#5664, Bug#13124)
2086
2087 2014-01-19 Alan Mackenzie <acm@muc.de>
2088
2089 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2090 points.
2091 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2092 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2093 * progmodes/cc-mode.el (c-before-change, c-after-change)
2094 (c-font-lock-fontify-region): Bind it here.
2095
2096 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2097
2098 * term.el (term-window-width): Call window-text-width instead of
2099 window-width (Bug#16470).
2100
2101 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2102
2103 * simple.el (password-word-equivalents): Remove duplicates.
2104 Sort, to make this easier next time.
2105 Downcase. Omit ": " after "jelszó".
2106
2107 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2108
2109 * term/common-win.el (saved-region-selection): Defvar it.
2110 (x-select-text): Set saved-region-selection (Bug#16382).
2111
2112 2014-01-18 Glenn Morris <rgm@gnu.org>
2113
2114 * emacs-lisp/authors.el (authors-aliases)
2115 (authors-renamed-files-alist): Add some entries.
2116
2117 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2118
2119 * net/tramp.el (tramp-password-prompt-regexp):
2120 Use `password-word-equivalents' if available.
2121 (tramp-action-password, tramp-process-one-action)
2122 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2123
2124 2014-01-17 Chong Yidong <cyd@gnu.org>
2125
2126 * simple.el (password-word-equivalents): New defcustom.
2127 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2128 to 24.4.
2129 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2130 to t. (Bug#13124)
2131
2132 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2133
2134 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2135 (ruby-align-to-stmt-keywords): Change the default value.
2136 Use `ruby-alignable-keywords' to generate the possible customization
2137 choices.
2138 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2139 keywords, check against the value of `ruby-alignable-keywords'
2140 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2141
2142 2014-01-17 Glenn Morris <rgm@gnu.org>
2143
2144 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2145
2146 Make M-x authors return zero *Authors Errors* from current logs.
2147 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2148 (authors-ignored-files): Add some entries, remove others.
2149 (authors-ambiguous-files, authors-valid-file-names):
2150 Add some entries.
2151 (authors-renamed-files-alist): Add, remove, and adjust entries.
2152 (authors-renamed-files-regexps): Add some entries.
2153 Remove some very broad ones. Make some entries `lax'.
2154 (authors-lax-changelogs): New constant.
2155 (authors-disambiguate-file-name): Treat top-level specially.
2156 (authors-lax-changelog-p): New function.
2157 (authors-canonical-file-name): Check file as written against
2158 authors-valid-file-names. Do not special-case etc/.
2159 Handle `lax' logs and authors-renamed-files-regexps elements.
2160
2161 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2162
2163 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2164 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2165 callers.
2166
2167 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2170 Assume we're already in the proper buffer.
2171 Inspired by Anders Lindgren <andlind@gmail.com>.
2172 (follow-post-command-hook): Call it from the right buffer.
2173 (follow-comint-scroll-to-bottom): Adjust call.
2174 (follow-all-followers): Use get-buffer-window-list.
2175
2176 2014-01-15 Daniel Colascione <dancol@dancol.org>
2177
2178 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2179 `buffer-file-name' in interactive-form so that we don't leave
2180 pathless file names in `file-name-history'.
2181
2182 2014-01-15 Juri Linkov <juri@jurta.org>
2183
2184 * indent.el (indent-rigidly): Set deactivate-mark to nil
2185 in transient indentation mode. (Bug#16438)
2186
2187 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2188
2189 * emacs-lisp/package.el (package-desc-keywords): New function
2190 (Bug#16222).
2191 (describe-package-1, package-all-keywords)
2192 (package--has-keyword-p): Use it.
2193
2194 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2195
2196 * simple.el (define-alternatives): When creating the
2197 COMMAND-alternatives variable, assign COMMAND as its definition
2198 name so that `describe-variable' can relocate it.
2199
2200 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2201
2202 * font-lock.el (font-lock-keywords): Fix typo in docstring
2203 (bug#16307).
2204
2205 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2206
2207 * ispell.el (ispell-region): Reset `in-comment' for new line
2208 instead of wrongly reset `add-coment' (bug#13577).
2209
2210 2014-01-14 Daiki Ueno <ueno@gnu.org>
2211
2212 * epa-file.el (epa-file-write-region): Encode the region according
2213 to `buffer-file-format'. Problem reported at:
2214 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2215
2216 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2219 so it applies in the right buffer (bug#16410).
2220
2221 2014-01-13 Daniel Colascione <dancol@dancol.org>
2222
2223 * textmodes/rst.el (rst-define-key): Provide deprecated
2224 keybindings through named functions instead of anonymous ones so
2225 that "??" doesn't appear in describe-mode output.
2226
2227 2014-01-13 Bastien Guerry <bzg@gnu.org>
2228
2229 * simple.el (define-alternatives): Call the selected command
2230 interactively. When setting `COMMAND--implementation' for the
2231 first time, tell the user how to chose another implementation.
2232 Enhance the docstring.
2233
2234 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2237 (log-edit--match-first-line): New function.
2238 (log-edit-font-lock-keywords): Use it.
2239 (log-edit-mode): Make jit-lock-defer-multiline work.
2240
2241 2014-01-13 Bastien Guerry <bzg@gnu.org>
2242
2243 * rect.el (rectangle-mark-mode): When the region is not active,
2244 display a message saying that the mark as been set and that
2245 rectangle mode is in use.
2246 (rectangle--highlight-for-redisplay): Only put an overlay with a
2247 visible vertical bar when (display-graphic-p) is non-nil.
2248 This partially fixes Bug#16403.
2249
2250 2014-01-13 Juri Linkov <juri@jurta.org>
2251
2252 * info.el (Info-find-file): Go to DIR before displaying the error
2253 about a nonexistent file if no previous Info file is visited.
2254 Use `user-error' instead of `error' for "Info file %s does not exist".
2255 (Info-find-node-2): In case of a nonexistent node in unwind forms
2256 go to the Top node if there is no previous node to revert to.
2257 (Bug#16405)
2258
2259 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2260
2261 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2262 * window.el (fit-frame-to-buffer): Fix doc-string.
2263 Respect window-min-height/-width. Fit pixelwise when
2264 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2265 when avoiding that frame goes partially off-screen.
2266 (fit-window-to-buffer): Respect window-min-height/-width
2267 (Bug#14096).
2268
2269 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2272 after an empty line.
2273
2274 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * net/shr.el (shr-render-region): Autoload.
2277
2278 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2279
2280 * net/eww.el (eww-download-directory): Rename from
2281 `eww-download-path' (Bug#16419).
2282
2283 2014-01-12 Leo Liu <sdl.web@gmail.com>
2284
2285 * dired-x.el (dired-mode-map): Fix last change.
2286
2287 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2288
2289 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2290
2291 Spelling fixes.
2292 * emacs-lisp/generic.el (generic--normalize-comments):
2293 Rename from generic--normalise-comments. All uses changed.
2294 * play/bubbles.el (bubbles--neighborhood-score)
2295 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2296 (bubbles--neighborhood-available)
2297 (bubbles--update-neighborhood-score):
2298 Rename from names with 'neighbourhood'. All uses changed.
2299
2300 2014-01-12 Leo Liu <sdl.web@gmail.com>
2301
2302 Re-implement the feature of showing eldoc info after editing.
2303 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2304 (eldoc-edit-message-commands): New function.
2305 (eldoc-print-after-edit): New variable.
2306 (eldoc-pre-command-refresh-echo-area): Emit message only by
2307 eldoc-message-commands.
2308 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2309 if eldoc-print-after-edit is set. (Bug#16346)
2310 * simple.el (read--expression): Enable eldoc-mode.
2311 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2312
2313 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2314 Eric S. Raymond <esr@thyrsus.com>
2315
2316 * version.el (emacs-repository-get-version): Enhance so the
2317 function works correctly in either a Bazaar or Git repo.
2318
2319 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2320
2321 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2322 Goes with removal of the joke manpages from /etc.
2323
2324 2014-01-10 Kenichi Handa <handa@gnu.org>
2325
2326 * mail/rmail.el (rmail-get-coding-system):
2327 Check rmail-get-coding-function before "funcall"ing it.
2328
2329 2014-01-10 Glenn Morris <rgm@gnu.org>
2330
2331 * emacs-lisp/authors.el (authors-fixed-entries):
2332 Update for files that no longer exist.
2333
2334 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2335
2336 * version.el (emacs-bzr-get-version): Restore compatibilty with
2337 24.3 (Tested).
2338
2339 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2340
2341 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2342 and Podfile.
2343
2344 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2345
2346 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2347
2348 2014-01-10 Chong Yidong <cyd@gnu.org>
2349
2350 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2351
2352 2014-01-10 Anders Lindgren <andlind@gmail.com>
2353
2354 * follow.el (follow-cache-command-list): Include right-char and
2355 left-char.
2356
2357 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2358
2359 Spelling fixes.
2360 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2361 * woman.el (woman-mark-horizontal-position):
2362 Rename from woman-mark-horizonal-position. Use changed.
2363
2364 2014-01-10 Glenn Morris <rgm@gnu.org>
2365
2366 * info.el (info-initialize): If running uninstalled, ensure our
2367 own info files are always found first, even if INFOPATH is set.
2368
2369 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2370
2371 2014-01-09 David Engster <deng@randomsample.de>
2372
2373 * emacs-lisp/eieio-custom.el:
2374 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2375 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2376 * emacs-lisp/eieio.el: Regenerate autoloads.
2377
2378 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2379
2380 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2381 following renames. (Bug#8756)
2382
2383 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2384
2385 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2386 (bug#16382).
2387 (activate-mark): Add `no-tmm' argument.
2388 (set-mark, push-mark-command): Use it instead of running
2389 activate-mark-hook by hand.
2390
2391 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2392
2393 In preparation for the move to git, sanitize out some
2394 Bazaar-specific names.
2395
2396 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2397
2398 * version.el (emacs-bzr-version): Name changed to
2399 emacs-repository-version. Obsolete-variable alias made.
2400 * loadup.el: Follow through on this name change.
2401 * mail/emacsbug.el (report-emacs-bug): Factor out any
2402 assumption about the version control system in use.
2403
2404 2014-01-08 David Engster <deng@randomsample.de>
2405
2406 * help-fns.el (help-fns-describe-function-functions):
2407 New variable to call functions for augmenting help buffers.
2408 (describe-function-1): Remove explicit calls to
2409 `help-fns--compiler-macro', `help-fns--parent-mode' and
2410 `help-fns--obsolete'. Put them in above new variable instead, and
2411 call them through `run-hook-with-args'.
2412 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2413 `eieio-describe-class'. Not meant for interactive use anymore,
2414 but to augment existing help buffers. Remove optional second
2415 argument. Create proper button for file location.
2416 Rewrite function to use `insert' instead of `princ' and `prin1' where
2417 possible.
2418 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2419 (eieio-method-def, eieio-class-def): Move further up.
2420 (describe-method, describe-generic, eieio-describe-method):
2421 Remove aliases.
2422 (eieio-help-constructor, eieio-help-generic): Rename from
2423 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2424 Rewrite to use `insert' in the current buffer and use proper help
2425 buttons.
2426 (eieio-help-find-method-definition)
2427 (eieio-help-find-class-definition): Also accept symbols as
2428 arguments.
2429 (eieio-help-mode-augmentation-maybee): Remove.
2430 (eieio-describe-class-sb): Use `describe-function'.
2431 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2432 Add `eieio-help-generic' and `eieio-help-constructor'.
2433
2434 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2435
2436 Spelling fixes.
2437 * language/china-util.el (hz-ascii-designation):
2438 Rename from hz-ascii-designnation.
2439 (hz-ascii-designation): Rename from hz-ascii-designnation.
2440 All uses changed.
2441
2442 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2445 package-alist.
2446
2447 2014-01-08 Bastien Guerry <bzg@gnu.org>
2448
2449 * emacs-lisp/package.el (package-delete):
2450 Correctly delete the package from package-alist.
2451
2452 2014-01-08 Daiki Ueno <ueno@gnu.org>
2453
2454 * emacs-lisp/package.el (url-recreate-url): Declare.
2455 (url-http-target-url): Declare.
2456 (package-handle-response): Include requested URL in the error message.
2457 (package--check-signature): Don't re-signal errors from
2458 package--with-work-buffer. Suggested by Stefan Monnier.
2459
2460 2014-01-07 Bastien Guerry <bzg@gnu.org>
2461
2462 * minibuffer.el (completion--try-word-completion): When both a
2463 hyphen and a space are possible candidates for the character
2464 following a word, display both candidates. (Bug#15980)
2465
2466 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2467
2468 * window.el (balance-windows-2): While rounding don't give a
2469 window more than the remainder. Bug#16351, bug#16383.
2470
2471 2014-01-07 Glenn Morris <rgm@gnu.org>
2472
2473 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2474 (menu-bar-help-menu): Use view-external-packages instead.
2475
2476 2014-01-07 Bastien Guerry <bzg@gnu.org>
2477
2478 * emacs-lisp/package.el (package-delete): Also delete the package
2479 name from `package-alist', not its description only.
2480
2481 2014-01-07 Glenn Morris <rgm@gnu.org>
2482
2483 * help.el (view-external-packages):
2484 * menu-bar.el (menu-bar-help-extra-packages):
2485 Visit efaq.info rather than etc/MORE.STUFF.
2486
2487 2014-01-07 Juri Linkov <juri@jurta.org>
2488
2489 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2490 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2491
2492 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2493 that shadows RET. (Bug#16342)
2494
2495 2014-01-07 Chong Yidong <cyd@gnu.org>
2496
2497 * isearch.el (isearch-yank-char, isearch-yank-word)
2498 (isearch-yank-line): Doc fix.
2499
2500 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2503 * emacs-lisp/elint.el (elint-find-builtins):
2504 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2505 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2506 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2507 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2508 * apropos.el (apropos-safe-documentation):
2509 * subr.el (symbol-file): Remove redundant fboundp.
2510 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2511
2512 2014-01-06 Bastien Guerry <bzg@gnu.org>
2513
2514 * hl-line.el (global-hl-line-overlay): Make a local variable.
2515 (global-hl-line-overlays): New variable to store all overlays.
2516 (global-hl-line-mode): Don't delete overlays from the current
2517 buffer when `global-hl-line-sticky-flag' is non-nil.
2518 (global-hl-line-highlight): Add new overlays to
2519 `global-hl-line-overlays'.
2520 (global-hl-line-unhighlight-all): New function to delete all
2521 overlays when turning off `global-hl-line-mode'.
2522 This fixes Bug#16183.
2523
2524 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * subr.el (set-transient-map): Fix nested case and docstring.
2527
2528 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2529
2530 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2531 `Texinfo' entry.
2532
2533 2014-01-06 Daniel Colascione <dancol@dancol.org>
2534
2535 Fix defun navigation in vc log view.
2536
2537 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2538 like `beginning-of-defun'.
2539 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2540 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2541 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2542 (log-view-extract-comment): Call `log-view-current-entry' directly
2543 instead of relying on broken `log-view-beginning-of-defun' behavior.
2544
2545 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2546
2547 Spelling fixes.
2548 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2549 * emacs-lisp/debug.el (cancel-debug-on-entry):
2550 * epg.el (epg-error-to-string):
2551 * files.el (recover-file):
2552 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2553 * mail/emacsbug.el (report-emacs-bug-hook):
2554 * mail/sendmail.el (mail-recover):
2555 * ses.el (ses-yank-resize):
2556 * term/ns-win.el (ns-print-buffer):
2557 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2558 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2559 All uses changed.
2560 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2561
2562 2014-01-06 Leo Liu <sdl.web@gmail.com>
2563
2564 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2565 to avoid shadowing global key. (Bug#16354)
2566
2567 2014-01-06 Daniel Colascione <dancol@dancol.org>
2568
2569 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2570 rst-mode.
2571
2572 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2573
2574 * window.el (balance-windows): Add mising t to fix Bug#16351.
2575
2576 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2577
2578 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2579 (bug#16285).
2580 (shr-insert): If we have a word that's longer than `shr-width',
2581 break after it anyway. Otherwise we'll do no breaking once we get
2582 such a long word.
2583
2584 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2585
2586 * net/eww.el (eww): Support single/double quote for search.
2587 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2588 (eww-history-quit): Delete and use quit-window.
2589 (eww-history-kill): Delete, because it doesn't work well and
2590 not necessary.
2591 (eww-history-mode-map): Delete some keys and add easy-menu.
2592
2593 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2594
2595 Fix misspelling of 'chinese' in rx (Bug#16237).
2596 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2597 chinese-two-byte.
2598
2599 Change subword regexps back to vars (Bug#16296).
2600 * progmodes/subword.el (subword-forward-regexp)
2601 (subword-backward-regexp): Change these back to variables.
2602
2603 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2606 syntax-begin-function (bug#16247).
2607
2608 2014-01-03 Chong Yidong <cyd@gnu.org>
2609
2610 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2611 (advice--docstring): Delete variable.
2612 (advice--make-1): Leave the docstring empty.
2613 (advice-add): Use function-documentation for advised docstring.
2614
2615 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2616 Ignore function-documentation property when getting documentation.
2617 (ad-activate-advised-definition): Use function-documentation
2618 generate the docstring.
2619 (ad-make-advised-definition): Don't call
2620 ad-make-advised-definition-docstring.
2621 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2622 Delete functions.
2623
2624 * progmodes/sql.el (sql-help): Use function-documentation instead
2625 of dynamic-docstring-function property. No need to autoload now.
2626 (sql--help-docstring): New variable.
2627 (sql--make-help-docstring): Use it.
2628
2629 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * ielm.el (ielm-tab): Retarget.
2632 (ielm-map): Use ielm-tab for tab.
2633 (ielm-complete-filename): Use comint-filename-completion.
2634 (ielm-complete-symbol): Remove.
2635 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2636 remove ielm-tab from completion-at-point-functions (bug#16224).
2637
2638 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2639 Beware signals raised by predicates (bug#16201).
2640
2641 2014-01-02 Richard Stallman <rms@gnu.org>
2642
2643 * dired-aux.el (dired-do-print): Handle printer-name.
2644
2645 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2646 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2647 (rmail-epa-decrypt): Turn off mime processing.
2648
2649 * mail/rmail.el (rmail-make-in-reply-to-field):
2650 Add parens in message-id.
2651
2652 * mail/rmail.el (rmail-get-coding-function): Variable.
2653 (rmail-get-coding-system): Use it.
2654
2655 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2656
2657 * international/mule-conf.el: Unify the charset indian-is13194.
2658 (indian-is13194): Specify unify-map.
2659
2660 2013-12-31 Leo Liu <sdl.web@gmail.com>
2661
2662 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2663
2664 2013-12-30 Daniel Colascione <dancol@dancol.org>
2665
2666 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2667 of printing a useless when we resume from sleep.
2668
2669 * progmodes/sh-script.el
2670 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2671 in indentation code. (Bug#16233)
2672
2673 2013-12-28 João Távora <joaotavora@gmail.com>
2674
2675 * elec-pair.el (electric-pair-post-self-insert-function):
2676 Don't open extra newlines at beginning of buffer. (Bug#16272)
2677
2678 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2679
2680 * frame.el (window-system-for-display): Don't allow to create a
2681 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2682
2683 2013-12-28 Glenn Morris <rgm@gnu.org>
2684
2685 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2686 Update callers.
2687
2688 * apropos.el (apropos-match-face):
2689 * calculator.el (calculator-displayer):
2690 * dabbrev.el (dabbrev-search-these-buffers-only):
2691 * face-remap.el (buffer-face-mode-face):
2692 * simple.el (yank-handled-properties):
2693 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2694 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2695 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2696 (hashcash-double-spend-database):
2697 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2698 (ruby-deep-indent-paren-style):
2699 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2700 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2701 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2702 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2703 Specify custom types.
2704
2705 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2706 * bookmark.el (bookmark-bmenu-use-header-line):
2707 * doc-view.el (doc-view-scale-internally):
2708 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2709 * register.el (register-preview-delay):
2710 * net/shr.el (shr-bullet):
2711 * progmodes/cfengine.el (cfengine-cf-promises)
2712 (cfengine-parameters-indent):
2713 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2714 * textmodes/reftex-vars.el (reftex-label-regexps):
2715 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2716
2717 * net/tls.el (tls-certtool-program): Fix default value.
2718
2719 * desktop.el (desktop-restore-in-current-display):
2720 * newcomment.el (comment-empty-lines):
2721 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2722 (idlwave-pad-keyword):
2723 * progmodes/tcl.el (tcl-tab-always-indent):
2724 * textmodes/reftex-vars.el (reftex-index-default-tag):
2725 * elec-pair.el (electric-pair-skip-whitespace):
2726 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2727
2728 * emacs-lisp/authors.el (authors-ignored-files)
2729 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2730
2731 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2732
2733 * shell.el (shell-dynamic-complete-command): Doc fix.
2734 (shell--command-completion-data): Shell completion now matches
2735 executable filenames from the current buffer's directory, on
2736 systems in which this behavior is the default (windows-nt, ms-dos).
2737
2738 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2739
2740 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2741
2742 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2745 (bug#16251).
2746
2747 * electric.el: Move all electric-pair-* to elec-pair.el.
2748 * elec-pair.el: New file, split from electric.el.
2749
2750 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2751
2752 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2753 indentation level is larger than the width, because that will
2754 infloop.
2755 (shr-insert): Fill repeatedly long texts, so that Japanese is
2756 formatted correctly (bug#16263).
2757 (shr-find-fill-point): Off by one error in comparison with the
2758 indentation.
2759
2760 2013-12-26 João Távora <joaotavora@gmail.com>
2761
2762 * electric.el (electric-pair-mode): More flexible engine for skip-
2763 and inhibit predicates, new options for pairing-related functionality.
2764 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2765 if that keeps or improves their balance in buffers.
2766 (electric-pair-delete-adjacent-pairs): Delete the pair when
2767 backspacing over adjacent matched delimiters.
2768 (electric-pair-open-extra-newline): Open extra newline when
2769 inserting newlines between adjacent matched delimiters.
2770 (electric--sort-post-self-insertion-hook):
2771 Sort post-self-insert-hook according to priority values when
2772 minor-modes are activated.
2773 * simple.el (newline-and-indent): Call newline with interactive
2774 set to t.
2775 (blink-paren-post-self-insert-function): Set priority to 100.
2776 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2777 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2778 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2779 electric-pair-open-newline-between-pairs to nil.
2780
2781 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2782
2783 * progmodes/python.el: Use lexical-binding.
2784 (python-nav-beginning-of-defun): Stop searching ASAP.
2785
2786 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2787
2788 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2789 Fix interactive spec. Doc fix. (Bug#15754)
2790
2791 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2792
2793 * emacs-lisp/byte-run.el (eval-when-compile):
2794 * progmodes/cc-defs.el (cc-eval-when-compile):
2795 Fix edebug spec (bug#16184).
2796
2797 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2798
2799 * net/shr.el (shr-visit-file): Remove debugging function.
2800 (shr-insert): Don't infloop if we can't find a good place to break
2801 the line (bug#16256).
2802
2803 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2804
2805 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2806 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2807 python-nav-lisp-forward-sexp-safe.
2808 (python-nav--forward-sexp): New argument SAFE allows switching
2809 forward sexp movement behavior for parens.
2810 (python-nav-forward-sexp): Throw errors on unterminated parens
2811 (Bug#16191).
2812 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2813 (python-nav-backward-sexp-safe): New functions.
2814 (python-shell-buffer-substring):
2815 Use `python-nav-forward-sexp-safe'.
2816
2817 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2818
2819 * net/shr.el (shr-find-fill-point): Don't break lines before a
2820 quotation mark.
2821 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2822 (shr-find-fill-point): Remove the special checks for the quotation
2823 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2824
2825 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2826
2827 * net/eww.el (eww-form-textarea): Use a different face for
2828 textareas than text input since they have different keymaps
2829 (bug#16142).
2830
2831 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2832
2833 * progmodes/python.el (python-nav-beginning-of-statement):
2834 Speed up (Bug#15295).
2835
2836 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2837
2838 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2839 the window configuration.
2840
2841 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2842
2843 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2844 we run on MS-Windows or MS-DOS.
2845
2846 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2847
2848 * window.el (balance-windows-area): Call window-size instead of
2849 window-height and window-width. Bug#16241.
2850
2851 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2852
2853 * net/eww.el (eww-bookmark-quit): Remove.
2854 (eww-bookmark-browse): Restore the window configuration when you
2855 choose a bookmark (bug#16144).
2856
2857 2013-12-24 Daniel Colascione <dancol@dancol.org>
2858
2859 * icomplete.el: Remove redundant :group arguments to `defcustom'
2860 throughout.
2861 (icomplete-show-matches-on-no-input): New customizable variable.
2862 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2863 we have something to show.
2864 (icomplete-exhibit): Compute completions even if we have no user input.
2865
2866 2013-12-23 Daniel Colascione <dancol@dancol.org>
2867
2868 * icomplete.el: Move `provide' to end of file.
2869
2870 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2871
2872 * net/gnutls.el (gnutls-verify-error): Add version tag.
2873
2874 2013-12-23 Chong Yidong <cyd@gnu.org>
2875
2876 * subr.el (set-transient-map): Rename from
2877 set-temporary-overlay-map. Doc fix.
2878
2879 * face-remap.el (text-scale-adjust):
2880 * indent.el (indent-rigidly):
2881 * kmacro.el (kmacro-call-macro):
2882 * minibuffer.el (minibuffer-force-complete):
2883 * repeat.el (repeat):
2884 * simple.el (universal-argument--mode):
2885 * calendar/todo-mode.el (todo-insert-item--next-param):
2886 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2887
2888 * indent.el (indent-rigidly): Use substitute-command-keys.
2889
2890 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2891
2892 * net/eww.el (eww-tag-select): Add text-property to jump to next
2893 select field.
2894 (eww): Add non-supported ftp error.
2895
2896 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2897
2898 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2899 comments. Handle electric indent after typing `?' and `!'.
2900
2901 2013-12-22 Chong Yidong <cyd@gnu.org>
2902
2903 * faces.el (face-spec-recalc): If the theme specs are not
2904 applicable to a frame, fall back on the defface spec.
2905 This prevents themes from obliterating faces on low-color terminals.
2906
2907 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2908
2909 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2910 after `{'. We need it after block openers, and it doesn't seem
2911 to hurt after hash openers.
2912
2913 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2914
2915 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2916 extracted from `ruby-smie-rules'.
2917 (ruby--electric-indent-chars): New variable.
2918 (ruby--electric-indent-p): New function.
2919 (ruby-mode): Use `electric-indent-functions' instead of
2920 `electric-indent-chars'.
2921
2922 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2923
2924 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2925 docstring.
2926 (ruby-smie-rules): Indent plus one level after `=>'.
2927
2928 2013-12-21 Richard Stallman <rms@gnu.org>
2929
2930 * simple.el (newline): Doc fix.
2931
2932 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2933
2934 * net/eww.el (eww-list-histories, eww-list-histories)
2935 (eww-history-browse, eww-history-quit, eww-history-kill)
2936 (eww-history-mode-map, eww-history-mode): New command and
2937 functions to list browser histories.
2938 (eww-form-text): Support text form with disabled
2939 and readonly attributes.
2940 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2941
2942 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2943
2944 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2945 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2946 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2947 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2948 Use `user-error'.
2949 (eww-bookmark-mode-map): Add menu.
2950 (eww-render, eww-mode): Use `setq-local'.
2951 (eww-tool-bar-map): New variable.
2952 (eww-mode): Set `tool-bar-map'.
2953 (eww-view-source): Check for `html-mode' with `fboundp'.
2954
2955 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2956
2957 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2958 elements with text inside. Also remove debugging.
2959
2960 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2961
2962 * cus-start.el (all): Add ns-use-srgb-colorspace.
2963
2964 2013-12-21 Chong Yidong <cyd@gnu.org>
2965
2966 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2967 undefined. Thus, theme settings for undefined faces do not take
2968 effect until the faces are defined with defface, the same as with
2969 theme variables.
2970
2971 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2972 (face-spec-reset-face): Don't assign extra properties in temacs.
2973 (face-spec-recalc): Apply X resources too.
2974
2975 2013-12-21 Chong Yidong <cyd@gnu.org>
2976
2977 * faces.el (face-spec-set):
2978 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2979 * custom.el (defface): Doc fixes (Bug#16203).
2980
2981 * indent.el (indent-rigidly-map): Add docstring, and move commands
2982 into named functions.
2983 (indent-rigidly-left, indent-rigidly-right)
2984 (indent-rigidly-left-to-tab-stop)
2985 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2986 indentation direction based on bidi direction, and accumulate
2987 sequential commands in a single undo boundary.
2988 (indent-rigidly--pop-undo): New utility function.
2989
2990 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * faces.el (read-face-name): Require crm.el when using crm-separator.
2993
2994 2013-12-20 Daniel Colascione <dancol@dancol.org>
2995
2996 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2997 so that we don't reflow comments into the shebang line.
2998
2999 2013-12-20 Juri Linkov <juri@jurta.org>
3000
3001 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3002 a position when `dired-directory' is non-nil. Check integer
3003 positions with `integerp'.
3004 (toggle-save-place, save-places-to-alist): Add check for
3005 `dired-directory'.
3006 (save-place-find-file-hook): Check integer positions with
3007 `integerp'.
3008 (save-place-dired-hook): Use `dired-goto-file' when
3009 `dired-filename' is found in the assoc list. Check integer
3010 positions with `integerp'.
3011 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3012
3013 * dired.el (dired-initial-position-hook): Rename back from
3014 `dired-initial-point-hook'.
3015 (dired-initial-position): Rename `dired-initial-point-hook' to
3016 `dired-initial-position-hook'.
3017 (dired-file-name-at-point): Doc fix. (Bug#15329)
3018
3019 2013-12-20 Juri Linkov <juri@jurta.org>
3020
3021 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3022 (read-regexp-suggestions): New function.
3023 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3024 Use `read-regexp-suggestions'. Add non-empty default to history
3025 for empty input.
3026 (occur-read-regexp-defaults-function): Remove function.
3027 (occur-read-primary-args): Use `regexp-history-last' instead of
3028 `occur-read-regexp-defaults-function'.
3029
3030 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3031 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3032 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3033 `hi-lock-read-regexp-defaults-function'. Doc fix.
3034 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3035 with `find-tag-default-as-symbol-regexp'. Doc fix.
3036 (hi-lock-read-regexp-defaults): Remove function.
3037 (hi-lock-regexp-okay): Add check for null.
3038
3039 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3040 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3041
3042 * subr.el (find-tag-default-as-symbol-regexp): New function.
3043 (find-tag-default-as-regexp): Move symbol regexp formatting to
3044 `find-tag-default-as-symbol-regexp'.
3045
3046 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3047
3048 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3049 (Bug#14179)
3050
3051 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3052
3053 * calendar/todo-mode.el: New implementation of item insertion
3054 commands and key bindings.
3055 (todo-key-prompt): New face.
3056 (todo-insert-item): New command.
3057 (todo-insert-item--parameters): New defconst, replacing defvar
3058 todo-insertion-commands-args-genlist.
3059 (todo-insert-item--param-key-alist): New defconst, replacing
3060 defvar todo-insertion-commands-arg-key-list.
3061 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3062 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3063 (todo-insert-item--next-param): New functions.
3064 (todo-insert-item--args, todo-insert-item--argleft)
3065 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3066 New variables.
3067 (todo-key-bindings-t): Change binding of "i" from
3068 todo-insertion-map to todo-insert-item.
3069 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3070 (todo-insertion-command-name, todo-insertion-commands-names)
3071 (todo-define-insertion-command, todo-insertion-commands)
3072 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3073
3074 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3075
3076 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3077 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3078 eval-when-compile.
3079 (todo-move-category): Allow choosing a non-existing todo file to
3080 move the category to, and create that file.
3081 (todo-default-priority): New user option.
3082 (todo-set-item-priority): Use it.
3083 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3084 (desktop-restore-file-buffer): Declare.
3085 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3086 (todo-modes-set-2): Locally set desktop-save-buffer to
3087 todo-desktop-save-buffer.
3088 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3089 (auto-mode-alist): Add autoload cookie.
3090
3091 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3092
3093 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3094 helpers.el was a poor choice of name.
3095 (string-remove-prefix): New function.
3096 (string-remove-suffix): New function.
3097
3098 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3099
3100 Fix assignment for new window total sizes.
3101 * window.el (window--pixel-to-size): Remove function.
3102 (window--pixel-to-total-1, window--pixel-to-total):
3103 Fix calculation of new total sizes.
3104
3105 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3106
3107 * comint.el (comint-output-filter): Fix rear-nonsticky property
3108 placement (Bug#16010).
3109
3110 2013-12-20 Chong Yidong <cyd@gnu.org>
3111
3112 * faces.el (read-color): Minor fix for completion function.
3113
3114 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3115
3116 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3117 New option. (Bug#16182)
3118 (ruby-smie--indent-to-stmt-p): Use it.
3119 (ruby-smie-rules): Revert the logic in the handling of `when'.
3120 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3121 (ruby-deep-arglist, ruby-deep-indent-paren)
3122 (ruby-deep-indent-paren-style): Update docstrings to note that the
3123 vars don't have any effect with SMIE.
3124
3125 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3126
3127 * calc/calc.el (calc-enter, calc-pop): Use the variable
3128 `calc-context-sensitive-enter'.
3129
3130 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3131
3132 * net/shr.el (shr-insert): Protect against infloops in degenerate
3133 tables.
3134
3135 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3136
3137 * progmodes/octave.el (octave): Add link to manual and octave
3138 homepage.
3139 (octave-mode-menu): Link to octave-mode manual.
3140
3141 2013-12-20 Leo Liu <sdl.web@gmail.com>
3142
3143 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3144 insertion using skeleton-end-newline. (Bug#16138)
3145
3146 2013-12-20 Juri Linkov <juri@jurta.org>
3147
3148 * replace.el (occur-engine): Use `add-face-text-property'
3149 to add the face property to matches and titles. (Bug#14645)
3150
3151 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3152 the palette of other hi-lock colors.
3153 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3154
3155 2013-12-19 Juri Linkov <juri@jurta.org>
3156
3157 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3158 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3159 (minibuffer-history-symbol): Move variable declaration closer to
3160 its usage.
3161
3162 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3163 (Bug#14785)
3164
3165 2013-12-19 Juri Linkov <juri@jurta.org>
3166
3167 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3168 New function.
3169 (log-edit-hook): Add it to :options. (Bug#16170)
3170
3171 2013-12-19 Juri Linkov <juri@jurta.org>
3172
3173 * simple.el (eval-expression-print-format): Don't check for
3174 command names and the last command. Always display additional
3175 formats of the integer result in the echo area, and insert them
3176 to the current buffer only with a zero prefix arg.
3177 Display character when char-displayable-p is non-nil.
3178 (eval-expression): With a zero prefix arg, set `print-length' and
3179 `print-level' to nil, and insert the integer values from
3180 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3181
3182 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3183 `eval-last-sexp-arg-internal'. Doc fix.
3184 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3185 `eval-last-sexp-print-value'. Doc fix.
3186 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3187 Set `print-length' and `print-level' to nil when arg is zero.
3188 (eval-last-sexp): Doc fix.
3189 (eval-defun-2): Print the integer values from
3190 `eval-expression-print-format' at the end.
3191
3192 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3193 values from `eval-expression-print-format' at the end.
3194
3195 * ielm.el (ielm-eval-input): Print the integer
3196 values from `eval-expression-print-format' at the end.
3197
3198 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3199
3200 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3201 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3202
3203 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3206 (hl-line-highlight, global-hl-line-highlight): Use it.
3207 (hl-line-overlay): Use defvar-local.
3208
3209 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3210
3211 * term/ns-win.el: Require dnd.
3212 (global-map): Remove drag items.
3213 (ns-insert-text, ns-set-foreground-at-mouse)
3214 (ns-set-background-at-mouse):
3215 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3216 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3217 New functions.
3218
3219 2013-12-19 Glenn Morris <rgm@gnu.org>
3220
3221 * emacs-lisp/ert.el (ert-select-tests):
3222 Fix string/symbol mixup. (Bug#16121)
3223
3224 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3225
3226 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3227 keywords to their parent.
3228
3229 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3230
3231 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3232 first arg to be a string (fixed dead code), or an operator symbol.
3233 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3234 operator symbols.
3235 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3236 did nothing. Don't respond to `(:after ".")', it will be called
3237 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3238 change anything. Only return indentation for binary operators
3239 when they are hanging. De-dent opening paren when its parent is
3240 `.', otherwise it looks bad when the dot is not at bol or eol
3241 (bug#16182).
3242
3243 2013-12-19 Juri Linkov <juri@jurta.org>
3244
3245 * replace.el (query-replace-read-args): Split a non-negative arg
3246 and a negative arg into separate elements.
3247 (query-replace, query-replace-regexp, replace-string)
3248 (replace-regexp): Add arg `backward'. Doc fix.
3249 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3250 move point to the beginning of the match.
3251 (replace-search, replace-highlight): Use new arg `backward'
3252 to set the value of `isearch-forward'.
3253 (perform-replace): Add arg `backward' and use it to perform
3254 replacement backward. (Bug#14979)
3255
3256 * isearch.el (isearch-query-replace): Use a negative prefix arg
3257 to call `perform-replace' with a non-nil arg `backward'.
3258
3259 2013-12-18 Juri Linkov <juri@jurta.org>
3260
3261 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3262 to the default list. Move `log-edit-show-files' to the end.
3263 Add more available functions to options.
3264 (log-edit): Move default specific settings to
3265 `log-edit-insert-message-template'. Don't move point.
3266 (log-edit-insert-message-template): New function.
3267 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3268 (Bug#16170)
3269
3270 2013-12-18 Juri Linkov <juri@jurta.org>
3271
3272 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3273 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3274
3275 2013-12-18 Leo Liu <sdl.web@gmail.com>
3276
3277 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3278 (Bug#16186)
3279
3280 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3281
3282 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3283 formats for displaying file sizes when the -s switch is given.
3284 Instead, compute a separate format for displaying the size in
3285 blocks, which is displayed in addition to the "regular" size.
3286 When -h is given in addition to -s, produce size in blocks in
3287 human-readable form as well. (Bug#16179)
3288
3289 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3290
3291 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3292 Reference tables with ~\ref{...} instead of only \ref{...}.
3293
3294 2013-12-18 Chong Yidong <cyd@gnu.org>
3295
3296 * cus-edit.el (custom-magic-alist): Fix "themed" description
3297 (Bug#14348).
3298
3299 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3300 is non-nil, do not create a new entry in the symbol's theme-value
3301 or theme-face property; update theme-settings only (Bug#14664).
3302 (custom-available-themes): Doc fix.
3303
3304 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3305 (Bug#15674).
3306
3307 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3308
3309 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3310
3311 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3312 (Bug#13914).
3313
3314 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3315
3316 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3317
3318 2013-12-18 Glenn Morris <rgm@gnu.org>
3319
3320 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3321 * cus-start.el (load-prefer-newer): New option.
3322
3323 2013-12-18 Le Wang <l26wang@gmail.com>
3324
3325 * comint.el (comint-previous-matching-input-from-input):
3326 Retain point (Bug#13404).
3327
3328 2013-12-18 Chong Yidong <cyd@gnu.org>
3329
3330 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3331
3332 2013-12-18 Glenn Morris <rgm@gnu.org>
3333
3334 * mail/emacsbug.el (report-emacs-bug):
3335 Only mention enable-multibyte-characters if non-standard.
3336
3337 2013-12-17 Juri Linkov <juri@jurta.org>
3338
3339 * arc-mode.el (archive-extract-by-file): Check if directory exists
3340 before deletion to not show irrelevant errors if it doesn't exist.
3341
3342 2013-12-17 Juri Linkov <juri@jurta.org>
3343
3344 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3345 (Bug#14751)
3346
3347 * net/eww.el (browse-web): Add alias to `eww'.
3348 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3349 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3350
3351 * net/browse-url.el (browse-url-browser-function): Move `eww'
3352 closer to similar functions.
3353
3354 * startup.el (fancy-startup-screen, fancy-about-screen):
3355 Set browse-url-browser-function to eww-browse-url locally.
3356 (Bug#14751)
3357
3358 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * window.el (window--pixel-to-total): Remove unused `mini' var.
3361 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3362 (split-window): Remove unused `new' var.
3363 (window--display-buffer): Remove unused `frame' and `delta' vars.
3364 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3365 and display-width'.
3366
3367 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3368
3369 * dired.el (dired-mark-pop-up):
3370 * register.el (register-preview): Don't bind
3371 split-height-threshold here since it's now done in
3372 display-buffer-below-selected.
3373
3374 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3375
3376 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3377 xterm-rgb-convert-to-16bit.
3378 (rxvt-register-default-colors): Standardize with
3379 xterm-register-default-colors (Bug#14078).
3380
3381 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3382
3383 * simple.el (kill-region): Pass mark first, then point, so that
3384 kill-append works right (Bug#12819).
3385 (copy-region-as-kill, kill-ring-save): Likewise.
3386
3387 2013-12-17 Leo Liu <sdl.web@gmail.com>
3388
3389 * net/rcirc.el (rcirc-add-face):
3390 * eshell/em-prompt.el (eshell-emit-prompt):
3391 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3392 (Bug#16167)
3393
3394 2013-12-17 Chong Yidong <cyd@gnu.org>
3395
3396 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3397 Suggested by Xue Fuqiao.
3398
3399 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3400
3401 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3402
3403 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * net/shr.el (shr-insert-document): Remove unused var
3406 `shr-preliminary-table-render'.
3407 (shr-rescale-image): Remove unused arg `force'.
3408 (shr-put-image): Update calls accordingly.
3409 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3410
3411 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3412
3413 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3414 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3415 :close-all, to see which indentation method to use (Bug#16116).
3416 (smie-rules-function): Document the method :close-all.
3417
3418 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3419
3420 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3421
3422 * net/eww.el (eww-display-html): If we can't find the anchor we're
3423 looking for, then go to point-min.
3424
3425 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3426
3427 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3428 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3429 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3430 Expand dir too, in case it's relative.
3431
3432 2013-12-16 Juri Linkov <juri@jurta.org>
3433
3434 * desktop.el (desktop-auto-save-timeout): Change default to
3435 `auto-save-timeout'. Doc fix.
3436 (desktop-save): Skip the timestamp in desktop-saved-frameset
3437 when checking for auto-save changes.
3438 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3439 `desktop-auto-save' is called repeatedly by the idle timer.
3440 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3441 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3442 (Bug#15331)
3443
3444 2013-12-16 Juri Linkov <juri@jurta.org>
3445
3446 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3447 (Bug#16035)
3448 (isearch-pre-command-hook): Check `this-command' for symbolp.
3449
3450 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3453
3454 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3455
3456 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3457 (cfengine3--current-function): Bring in the current-function
3458 functionality from `cfengine3--current-word'.
3459 (cfengine3-completion-function): Bring in the
3460 bounds-of-current-word functionality from
3461 `cfengine3--current-word'.
3462
3463 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3464
3465 * window.el (display-buffer-below-selected):
3466 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3467
3468 2013-12-16 Leo Liu <sdl.web@gmail.com>
3469
3470 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3471 Remove NOMSG arg and all uses changed.
3472
3473 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3476 (cua--deactivate-rectangle): Don't deactivate the mark.
3477 (cua-set-rectangle-mark): Don't set mark-active since
3478 cua--activate-rectangle already does it for us.
3479 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3480 non-rectangular region.
3481
3482 * emulation/cua-base.el (cua-repeat-replace-region):
3483 Use with-current-buffer.
3484
3485 * net/gnutls.el: Use cl-lib.
3486 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3487
3488 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3489
3490 * emacs-lisp/package.el (package-built-in-p): Support both
3491 built-in and the package.el converted package descriptions.
3492 (package-show-package-list): Allow keywords.
3493 (package-keyword-button-action): Use it instead of
3494 `finder-list-matches'.
3495 (package-menu-filter-interactive): Interactive filtering (by
3496 keyword) function.
3497 (package-menu--generate): Support keywords and change keymappings
3498 and headers when they are given.
3499 (package--has-keyword-p): Helper function.
3500 (package-menu--refresh): Use it.
3501 (package--mapc): Helper function.
3502 (package-all-keywords): Use it.
3503 (package-menu-mode-map): Set up menu items and keybindings to
3504 provide a filtering UI.
3505
3506 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3507
3508 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3509 the behavior when a certificate fails validation. Defaults to
3510 old behavior: never abort, just warn.
3511 (gnutls-negotiate): Use it.
3512
3513 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3514
3515 * window.el (display-buffer-below-selected): Never split window
3516 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3517
3518 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3519
3520 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3521 (package-buffer-info): Use it (bug#15108).
3522
3523 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * icomplete.el (icomplete-completions): Make sure the prefix is already
3526 displayed elsewhere before hiding it (bug#16219).
3527
3528 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3529
3530 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3531 open-paren tokens when preceded by a open-paren, too.
3532 (ruby-smie-rules): Handle virtual indentation after open-paren
3533 tokens specially. If there is code between it and eol, return the
3534 column where is starts (Bug#16118).
3535
3536 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3537
3538 * progmodes/cfengine.el: Fix `add-hook' doc.
3539 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3540 (cfengine3--current-word): Fix parameters.
3541 (cfengine3-make-syntax-cache): Simplify further.
3542 (cfengine3-completion-function, cfengine3--current-function):
3543 Use `assq' for symbols.
3544 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3545
3546 2013-12-13 Glenn Morris <rgm@gnu.org>
3547
3548 * loadup.el (load-path): Warn if site-load or site-init changes it.
3549 No more need to reset it when bootstrapping.
3550
3551 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3552
3553 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3554 locations for cf-promises.
3555 (cfengine-mode-syntax-functions-regex): New caching variable.
3556 (cfengine3-fallback-syntax): Fallback syntax for cases where
3557 cf-promises doesn't run.
3558 (cfengine3--current-word): Reimplement using
3559 `cfengine-mode-syntax-functions-regex'.
3560 (cfengine3-completion-function, cfengine3--current-function):
3561 Use `cfengine3-make-syntax-cache' directly.
3562 (cfengine3-clear-syntax-cache): New function.
3563 (cfengine3-make-syntax-cache): Simplify and create
3564 `cfengine-mode-syntax-functions-regex' on demand.
3565 (cfengine3-format-function-docstring): Don't call
3566 `cfengine3-make-syntax-cache' explicitly.
3567
3568 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3569
3570 Fix windmove-find-other-window broken after pixelwise resizing
3571 (Bug#16017).
3572 * windmove.el (windmove-other-window-loc): Revert change from
3573 2013-12-04.
3574 (windmove-find-other-window): Call window-in-direction.
3575 * window.el (window-in-direction): New arguments SIGN, WRAP and
3576 MINI to emulate original windmove-find-other-window behavior.
3577
3578 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3579
3580 * simple.el (blink-matching--overlay): New variable.
3581 (blink-matching-open): Instead of moving point, highlight the
3582 matching paren with an overlay
3583 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3584
3585 * faces.el (paren-showing-faces, show-paren-match)
3586 (show-paren-mismatch): Move from paren.el.
3587
3588 2013-12-13 Leo Liu <sdl.web@gmail.com>
3589
3590 * indent.el (indent-region): Disable progress reporter in
3591 minibuffer. (Bug#16108)
3592
3593 * bindings.el (visual-order-cursor-movement): Fix version.
3594
3595 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3596
3597 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3598 Also match after beginning of line.
3599 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3600 files. Thanks to Russell Sim. (Bug#15378)
3601
3602 2013-12-13 Juri Linkov <juri@jurta.org>
3603
3604 * simple.el <Keypad support>: Remove key bindings duplicated
3605 with bindings.el. (Bug#14397)
3606
3607 2013-12-13 Juri Linkov <juri@jurta.org>
3608
3609 * comint.el (comint-mode-map): Replace `delete-char' with
3610 `delete-forward-char'. (Bug#16109)
3611
3612 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3613
3614 * progmodes/python.el (python-indent-calculate-indentation):
3615 Fix de-denters cornercase. (Bug#15731)
3616
3617 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3620 (advice--make): Pay attention to `depth'.
3621 (advice--make-1): Don't autoload commands eagerly.
3622 * emacs-lisp/elp.el (elp-instrument-function):
3623 * emacs-lisp/trace.el (trace-function-internal):
3624 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3625
3626 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3627
3628 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3629
3630 * term/w32-win.el (w32-handle-dropped-file):
3631 * startup.el (normal-top-level):
3632 * net/browse-url.el (browse-url-file-url):
3633 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3634 decode file names using 'utf-8' rather than
3635 file-name-coding-system.
3636
3637 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3638
3639 * progmodes/python.el (python-indent-context)
3640 (python-indent-calculate-indentation): Fix auto-identation
3641 behavior for comment blocks. (Bug#15916)
3642
3643 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3644
3645 * progmodes/python.el (python-indent-calculate-indentation):
3646 When determining indentation, don't treat "return", "pass", etc., as
3647 operators when they are just string constituents. (Bug#15812)
3648
3649 2013-12-12 Juri Linkov <juri@jurta.org>
3650
3651 * uniquify.el (uniquify-buffer-name-style): Change default to
3652 `post-forward-angle-brackets'.
3653
3654 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3655 `uniquify'. Change default to `post-forward-angle-brackets'.
3656
3657 2013-12-11 Glenn Morris <rgm@gnu.org>
3658
3659 * emacs-lisp/package.el (finder-list-matches):
3660 Autoload rather than falsely declaring.
3661
3662 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3663
3664 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3665 (eww-mode-map): Use them.
3666
3667 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3668
3669 * window.el (display-buffer-in-side-window): Fix doc-string
3670 (Bug#16115).
3671
3672 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3673
3674 * vc/vc-git.el: Silence byte-compiler warnings.
3675 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3676 (log-edit-set-header): Declare.
3677
3678 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3679
3680 * Makefile.in (custom-deps, finder-data): Run output file names
3681 through unmsys--file-name. (Bug#16099)
3682
3683 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3684
3685 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3686 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3687
3688 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3689 instead of deleting the selection "by hand" (bug#16098).
3690 Rely on insert-for-yank to yank rectangles.
3691 (cua-highlight-region-shift-only): Mark obsolete.
3692 (cua-mode): Don't enable/disable transient-mark-mode,
3693 shift-select-mode (cua-mode works both with and without them), and
3694 pc-selection-mode (obsolete).
3695 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3696 (cua--deactivate-rectangle): Deactivate it.
3697
3698 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3699 (delete-selection-helper): Make sure yank starts at the top of the
3700 deleted region.
3701 (minibuffer-keyboard-quit): Use region-active-p.
3702
3703 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3704
3705 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3706 to `delete' (bug#16109).
3707
3708 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3709
3710 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3711 info manual and show keybindings and set `:group' keyword.
3712
3713 2013-12-11 Juri Linkov <juri@jurta.org>
3714
3715 * delsel.el (delete-active-region): Let-bind `this-command'
3716 to prevent `kill-region' from changing its original value.
3717 (delete-selection-helper): Handle `overwrite-mode' for the type
3718 `kill' exactly the same way as for the type `t'.
3719 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3720 Support more commands. (Bug#13312)
3721
3722 2013-12-11 Juri Linkov <juri@jurta.org>
3723
3724 * bindings.el: Map kp keys to non-kp keys systematically
3725 with basic modifiers control, meta and shift. (Bug#14397)
3726
3727 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3728
3729 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3730 "Close browser" menu items. Fix wrong function of "List
3731 bookmarks".
3732
3733 2013-12-11 Juri Linkov <juri@jurta.org>
3734
3735 * misearch.el (multi-isearch-buffers): Set the value of
3736 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3737 arg of isearch-forward to t.
3738 (multi-isearch-buffers-regexp): Set the value of
3739 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3740 arg of isearch-forward-regexp to t.
3741 (multi-isearch-files): Set the value of
3742 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3743 arg of isearch-forward to t.
3744 (multi-isearch-files-regexp): Set the value of
3745 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3746 arg of isearch-forward-regexp to t. (Bug#16035)
3747
3748 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3749 arg of isearch-forward to t.
3750 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3751 arg of isearch-forward-regexp to t.
3752 (dired-isearch-filter-filenames): Remove unnecessary check for
3753 `dired-isearch-filenames'.
3754
3755 * comint.el (comint-history-isearch-backward):
3756 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3757 (comint-history-isearch-backward-regexp):
3758 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3759
3760 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3761
3762 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3763 unmsys--file-name. (Bug#16099)
3764
3765 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3766
3767 * emacs-lisp/package.el (package-keyword-button-action):
3768 Remove finder.el require dependency.
3769
3770 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3771
3772 * emacs-lisp/package.el: Require finder.el.
3773 (describe-package-1): Add keyword buttons.
3774 (package-make-button): New convenience function.
3775 (package-keyword-button-action): Keyword button action using
3776 `finder-list-matches'.
3777
3778 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3779
3780 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3781 last commit.
3782
3783 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3784
3785 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3786 symlinked files.
3787
3788 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3789
3790 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3791 after the end of a percent literal.
3792
3793 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3794
3795 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3796 Handle caret-delimited strings (Bug#16079).
3797
3798 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3799
3800 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3801 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3802 `ruby-parse-partial' (Bug#16078).
3803
3804 2013-12-09 Leo Liu <sdl.web@gmail.com>
3805
3806 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3807
3808 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3809
3810 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3811 (js-switch-indent-offset): New option.
3812 (js--proper-indentation): Use it. And handle the case when
3813 "default" is actually a key in an object literal.
3814 (js--same-line): New function.
3815 (js--multi-line-declaration-indentation): Use it.
3816 (js--indent-in-array-comp, js--array-comp-indentation):
3817 New functions.
3818 (js--proper-indentation): Use them, to handle array comprehension
3819 continuations.
3820
3821 2013-12-08 Leo Liu <sdl.web@gmail.com>
3822
3823 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3824 (flymake-make-overlay): Remove arg MOUSE-FACE.
3825 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3826
3827 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3830 New function.
3831 (redisplay-highlight-region-function): Use it.
3832
3833 * emulation/cua-base.el (cua--explicit-region-start)
3834 (cua--last-region-shifted): Remove.
3835 (cua--deactivate): Use deactivate-mark.
3836 (cua--pre-command-handler-1): Don't handle shift-selection.
3837 (cua--post-command-handler-1): Don't change transient-mark-mode.
3838 (cua--select-keymaps): Use region-active-p rather than
3839 cua--explicit-region-start or cua--last-region-shifted.
3840 (cua-mode): Enable shift-select-mode.
3841
3842 2013-12-08 Leo Liu <sdl.web@gmail.com>
3843
3844 * progmodes/flymake.el (flymake-popup-current-error-menu):
3845 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3846 (flymake-posn-at-point-as-event, flymake-popup-menu)
3847 (flymake-make-emacs-menu): Remove. (Bug#16077)
3848
3849 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 * rect.el (rectangle-mark-mode): Activate mark even if
3852 transient-mark-mode is off (bug#16066).
3853 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3854 is > mark and at bolp.
3855
3856 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3857 (region-extract-function): Use it.
3858 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3859 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3860 Delete functions.
3861 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3862 kill-ring-save, kill-region, delete-char, delete-forward-char.
3863 Ignore self-insert-iso.
3864
3865 * emulation/cua-gmrk.el (cua--init-global-mark):
3866 Ignore `self-insert-iso'.
3867
3868 * emulation/cua-base.el (cua--prefix-copy-handler)
3869 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3870 checking cua--rectangle.
3871 (cua-delete-region): Use region-extract-function.
3872 (cua-replace-region): Delete function.
3873 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3874 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3875 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3876 (cua--init-keymaps): Don't remap delete-selection commands.
3877 (cua-mode): Use delete-selection-mode instead of rolling our own
3878 (bug#16085).
3879
3880 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3881 Obey region-extract-function.
3882
3883 Make registers and delete-selection-mode work on rectangles.
3884 * register.el (describe-register-1): Don't modify the register's value.
3885 (copy-to-register): Obey region-extract-function.
3886 * delsel.el (delete-active-region): Obey region-extract-function.
3887
3888 2013-12-08 Leo Liu <sdl.web@gmail.com>
3889
3890 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3891 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3892 (flymake-compilation-prevents-syntax-check)
3893 (flymake-start-syntax-check-on-newline)
3894 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3895 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3896 (flymake-xml-program, flymake-master-file-dirs)
3897 (flymake-master-file-count-limit)
3898 (flymake-allowed-file-name-masks): Relocate.
3899 (flymake-makehash, flymake-float-time)
3900 (flymake-replace-regexp-in-string, flymake-split-string)
3901 (flymake-get-temp-dir): Remove.
3902 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3903 (flymake-current-row, flymake-selected-frame)
3904 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3905 related functions. (Bug#16077)
3906
3907 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3908
3909 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3910
3911 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3912
3913 * help-fns.el (describe-function-1): Use new advice-* functions
3914 rather than old ad-* functions. Fix function type description and
3915 source links for advised functions and subrs.
3916
3917 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3918
3919 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3920
3921 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3922
3923 * progmodes/compile.el (compilation-start):
3924 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3925
3926 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3927 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3928
3929 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3930
3931 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3932 Touch up the last change.
3933
3934 2013-12-06 Leo Liu <sdl.web@gmail.com>
3935
3936 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3937 (inferior-octave-startup): Always use "octave> " for prompt.
3938 (octave-goto-function-definition)
3939 (octave-sync-function-file-names)
3940 (octave-find-definition-default-filename): Remove redundant backquotes.
3941
3942 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3943
3944 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3945 syntax for `?'.
3946 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3947 where appropriate already.
3948 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3949 end of method names (Bug#15874).
3950
3951 2013-12-06 Juri Linkov <juri@jurta.org>
3952
3953 * isearch.el (isearch--saved-overriding-local-map):
3954 New internal variable.
3955 (isearch-mode): Set it to the initial value of
3956 `overriding-terminal-local-map'.
3957 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3958 with `isearch--saved-overriding-local-map'. (Bug#16035)
3959
3960 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3961
3962 * progmodes/octave.el (inferior-octave-completion-table):
3963 Turn back into function, use `completion-table-with-cache'
3964 (Bug#11906). Update all references.
3965
3966 * minibuffer.el (completion-table-with-cache): New function.
3967
3968 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3969
3970 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3971
3972 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3973
3974 * net/eww.el (eww-current-source): New variable to store page
3975 source.
3976 (eww-display-html, eww-mode, eww-save-history)
3977 (eww-restore-history): Use it.
3978 (eww-view-source): New command to view page source.
3979 Opportunistically uses `html-mode' to highlight the buffer.
3980 (eww-mode-map): Install it.
3981
3982 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3983
3984 * net/dbus.el (dbus-unregister-service)
3985 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3986 Fix docstring.
3987 (dbus-unregister-service): Skip :serial entries in
3988 `dbus-registered-objects-table'.
3989 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3990
3991 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3992
3993 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3994 around keywords with extra `split-string' argument.
3995
3996 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3997
3998 * windmove.el (windmove-other-window-loc): Handle navigation
3999 between windows (excluding the minibuffer window - Bug#16017).
4000
4001 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4002
4003 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4004 in D-Bus type syntax.
4005 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4006 preserve unibyte strings. (Bug#16048)
4007
4008 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4011 Call force-mode-line-update is the proper buffer (bug#16042).
4012
4013 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4014
4015 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4016 `log-edit-remember-comment', make argument optional. Adjust all
4017 callers.
4018 (log-edit-mode): Add `log-edit-remember-comment' to
4019 `kill-buffer-hook' locally.
4020 (log-edit-kill-buffer): Don't remember comment explicitly since
4021 the buffer is killed anyway.
4022
4023 2013-12-04 Juri Linkov <juri@jurta.org>
4024
4025 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4026 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4027
4028 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4029
4030 * notifications.el (notifications-close-notification): Call the
4031 D-Bus method with ID being a `:uint32'. (Bug#16030)
4032
4033 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4034
4035 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4036
4037 2013-12-03 Juri Linkov <juri@jurta.org>
4038
4039 * progmodes/compile.el (compilation-start): Rename window alist
4040 entry `no-display-ok' to `allow-no-window'.
4041
4042 * simple.el (shell-command): Add window alist entry
4043 `allow-no-window' to `display-buffer'.
4044 (async-shell-command): Doc fix.
4045
4046 * window.el (display-buffer-no-window): New action function.
4047 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4048
4049 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4050
4051 * vc/log-edit.el (log-edit-set-header): Extract from
4052 `log-edit-toggle-header'.
4053 (log-edit-extract-headers): Separate the summary, when extracted
4054 from header, from the rest of the message with an empty line.
4055
4056 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4057 line, if present, to the Summary header.
4058
4059 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4062 in current-buffer (bug#16029).
4063
4064 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4065
4066 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4067 (debugger-mode-map): Bind it.
4068 (debugger--backtrace-base): New function.
4069 (debugger-eval-expression): Use it.
4070 (debugger-frame-number): Skip local vars when present.
4071 (debugger--locals-visible-p, debugger--insert-locals)
4072 (debugger--show-locals, debugger--hide-locals): New functions.
4073
4074 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4075
4076 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4077 "LC_ALL".
4078 (tramp-get-remote-locale): New defun.
4079 (tramp-open-connection-setup-interactive-shell): Use it.
4080
4081 2013-12-02 Leo Liu <sdl.web@gmail.com>
4082
4083 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4084
4085 * progmodes/sh-script.el (sh-shell-process):
4086 * progmodes/octave.el (inferior-octave-process-live-p):
4087 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4088 (gdb-inferior-io-sentinel):
4089 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4090
4091 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4092
4093 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4094 `save-selected-window' to `log-edit-hide-buf'. This makes
4095 `log-edit-show-files' idempotent.
4096 (log-edit-show-files): Mark the new window as dedicated.
4097
4098 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4099
4100 * vc/log-edit.el (log-edit-mode-map): Add binding for
4101 `log-edit-kill-biffer'.
4102 (log-edit-hide-buf): Add a FIXME comment.
4103 (log-edit-add-new-comment): New function, extracted from
4104 `log-edit-done'.
4105 (log-edit-done, log-edit-add-to-changelog): Use it.
4106 (log-edit-kill-buffer): New command.
4107
4108 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4109
4110 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4111 instead of killing the buffer.
4112
4113 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4116
4117 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4118
4119 * net/eww.el (eww-form-checkbox-selected-symbol)
4120 (eww-form-checkbox-symbol): New customizable variable.
4121 (eww-form-checkbox, eww-toggle-checkbox):
4122 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4123
4124 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4125 (shr--get-media-pref, shr--extract-best-source): New function.
4126 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4127 no :src tag was specified.
4128
4129 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4130 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4131 Use \\` to match beginning of string instead of ^.
4132 (eww-browse-with-external-browser): Provide optional URL parameter.
4133 (eww-render): Set `eww-current-title' back to "".
4134
4135 * net/shr.el (shr-tag-video): Display content for video if no
4136 poster is available.
4137 (shr-tag-audio): Add support for <audio> tag.
4138
4139 * net/eww.el (eww-text-input-types): New const.
4140 (eww-process-text-input): Treat input types in
4141 `eww-text-input-types' as text.
4142
4143 * net/shr.el (shr-tag-table): Fix comment typo.
4144
4145 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4146
4147 * net/eww.el (eww-follow-link): New command to avoid reloading
4148 pages when we follow #target links (bug#15243).
4149 (eww-quit): Special mode buffers shouldn't query before exiting.
4150
4151 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4152
4153 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4154 forms.
4155
4156 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4157
4158 * net/eww.el (eww-restore-history): Update the window title after
4159 moving in the history.
4160 (eww-current-dom): New variable used to save the current DOM.
4161
4162 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4163
4164 * vc/log-edit.el (log-edit-mode-map): Add binding for
4165 `log-edit-beginning-of-line'.
4166 (log-edit-setup-add-author): New user option.
4167 (log-edit-beginning-of-line): New command.
4168 (log-edit): Move major mode call above the contents setup so that
4169 the local variable values are already applied.
4170 (log-edit): Only insert "Author: " when
4171 `log-edit-setup-add-author' is non-nil.
4172 (log-edit): When SETUP is non-nil, position point after ": "
4173 instead of point-min.
4174
4175 2013-12-01 Glenn Morris <rgm@gnu.org>
4176
4177 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4178
4179 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4180
4181 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4182 redisplay to make sure the initial frame gets a chance to become
4183 visible. (Bug#16014)
4184
4185 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4186
4187 Support resizing frames and windows pixelwise.
4188 * cus-start.el (frame-resize-pixelwise)
4189 (window-resize-pixelwise): New entries.
4190 * emacs-lisp/debug.el (debug): Use window-total-height instead
4191 of window-total-size.
4192 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4193 * help.el (describe-bindings-internal): Use help-buffer as
4194 argument for with-help-window.
4195 (temp-buffer-max-width): New option.
4196 (resize-temp-buffer-window, help-window-setup)
4197 (with-help-window): Rewrite.
4198 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4199 dragging dividers.
4200 * window.el (frame-char-size, window-min-pixel-height)
4201 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4202 (window-min-pixel-width, window-safe-min-pixel-size)
4203 (window-combination-p, window-safe-min-size)
4204 (window-resizable-p, window--size-to-pixel)
4205 (window--pixel-to-size, window--resize-apply-p): New functions.
4206 (window-safe-min-height): Fix doc-string.
4207 (window-size, window-min-size, window--min-size-1)
4208 (window-sizable, window-sizable-p, window--min-delta-1)
4209 (window-min-delta, window--max-delta-1, window-max-delta)
4210 (window--resizable, window--resizable-p, window-resizable)
4211 (window-full-height-p, window-full-width-p, window-at-side-p)
4212 (window--in-direction-2, window-in-direction)
4213 (window--resize-reset-1, window--resize-mini-window)
4214 (window-resize, window-resize-no-error)
4215 (window--resize-child-windows-normal)
4216 (window--resize-child-windows, window--resize-siblings)
4217 (window--resize-this-window, window--resize-root-window)
4218 (window--resize-root-window-vertically)
4219 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4220 (maximize-window, minimize-window, delete-window)
4221 (quit-restore-window, window-split-min-size, split-window)
4222 (balance-windows-2, balance-windows)
4223 (balance-windows-area-adjust, balance-windows-area)
4224 (window--state-get-1, window-state-get, window--state-put-1)
4225 (window--state-put-2, window-state-put)
4226 (display-buffer-record-window, window--display-buffer):
4227 Make functions handle pixelwise sizing of windows.
4228 (display-buffer--action-function-custom-type)
4229 (display-buffer-fallback-action):
4230 Add display-buffer-in-previous-window.
4231 (display-buffer-use-some-window): Resize window to height it had
4232 before.
4233 (fit-window-to-buffer-horizontally): New option.
4234 (fit-frame-to-buffer): Describe new values.
4235 (fit-frame-to-buffer-bottom-margin): Replace with
4236 fit-frame-to-buffer-margins.
4237 (window--sanitize-margin): New function.
4238 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4239 using window-text-pixel-size.
4240
4241 2013-11-30 Glenn Morris <rgm@gnu.org>
4242
4243 * emacs-lisp/bytecomp.el (byte-compile-form):
4244 Make the `interactive-only' warning like the `obsolete' one.
4245 * comint.el (comint-run):
4246 * files.el (insert-file-literally, insert-file):
4247 * replace.el (replace-string, replace-regexp):
4248 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4249 (goto-line, insert-buffer, next-line, previous-line):
4250 Tweak `interactive-only' spec.
4251
4252 Stop keeping (most) generated cedet grammar files in the repository.
4253 * Makefile.in (semantic): New.
4254 (compile-main): Depend on semantic.
4255
4256 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4259 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4260
4261 * uniquify.el (uniquify-buffer-name-style): Change default.
4262
4263 * loadup.el: Preload "uniquify".
4264
4265 * time.el (display-time-update): Update all mode lines (bug#15999).
4266
4267 * electric.el (electric-indent-mode): Enable by default.
4268 * loadup.el: Preload "electric".
4269
4270 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4271
4272 * emacs-lisp/helpers.el (string-empty-p): New function.
4273 (string-blank-p): New function.
4274
4275 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4276
4277 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4278 (Bug#14029).
4279
4280 2013-11-29 Andreas Politz <politza@fh-trier.de>
4281 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4282 allow non-lambda lists as functions.
4283 (imenu--in-alist): Don't recurse into non-subalists.
4284 (imenu): Don't pass function itself as an argument (Bug#14029).
4285
4286 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * progmodes/python.el (python-mode-map): Remove binding for ":".
4289 (python-indent-electric-colon): Remove command.
4290 (python-indent-post-self-insert-function): Integrate the previous code
4291 of python-indent-electric-colon. Make it conditional on
4292 electric-indent-mode.
4293 (python-mode): Add ?: to electric-indent-chars.
4294 Move python-indent-post-self-insert-function to the end of
4295 post-self-insert-hook.
4296
4297 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4298
4299 * doc-view.el (doc-view-goto-page): Update mode-line.
4300
4301 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4302
4303 2013-11-27 Glenn Morris <rgm@gnu.org>
4304
4305 * international/charprop.el, international/uni-bidi.el:
4306 * international/uni-category.el, international/uni-combining.el:
4307 * international/uni-comment.el, international/uni-decimal.el:
4308 * international/uni-decomposition.el, international/uni-digit.el:
4309 * international/uni-lowercase.el, international/uni-mirrored.el:
4310 * international/uni-name.el, international/uni-numeric.el:
4311 * international/uni-old-name.el, international/uni-titlecase.el:
4312 * international/uni-uppercase.el:
4313 Remove generated files from VCS repository.
4314
4315 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4316
4317 * filenotify.el (file-notify-add-watch): Don't special-case
4318 w32notify when computing the directory to watch.
4319
4320 2013-11-27 Glenn Morris <rgm@gnu.org>
4321
4322 Make bootstrap without generated uni-*.el files possible again.
4323 * loadup.el: Update command-line-args checking for unidata-gen.
4324 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4325 * composite.el, international/characters.el:
4326 Handle unicode tables being undefined.
4327
4328 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4329 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4330 (compile-main): Depend on leim rule.
4331 (leim): New rule.
4332 * loadup.el: Move leim-list.el to leim/ subdirectory.
4333 * startup.el (normal-top-level): No more leim directory.
4334 * international/ja-dic-cnv.el (skkdic-convert):
4335 Disable version-control and autoloads in output files.
4336 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4337 Disable version-control and autoloads in output files.
4338 * leim/quail: Move here from ../leim.
4339 * leim/quail/hangul.el (hangul-input-method-activate):
4340 Add autoload cookie.
4341 (generated-autoload-load-name): Set file-local value.
4342 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4343 (generated-autoload-load-name): Set file-local value.
4344
4345 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4346
4347 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4348 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4349 (eww-quit): Ask confirmation before quitting eww.
4350
4351 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4352
4353 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4354 reading output from Diff on MS-Windows and MS-DOS.
4355
4356 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4357
4358 * emacs-lisp/helpers.el (string-reverse): New function.
4359
4360 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4363 names on MS Windows, like "/[::1]:".
4364
4365 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4366 SWITCHES.
4367
4368 2013-11-26 Glenn Morris <rgm@gnu.org>
4369
4370 * progmodes/python.el (python-indent-guess-indent-offset):
4371 Avoid corner-case error. (Bug#15975)
4372
4373 Preload leim-list.el. (Bug#4789)
4374 * loadup.el: Load leim-list.el when found.
4375 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4376
4377 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4378
4379 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4380
4381 * emacs-lisp/helpers.el (string-join): New function.
4382
4383 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4384
4385 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4386 Mark as obsolete and replace it with a symbol property.
4387 (byte-compile-form): Use new 'interactive-only property.
4388 * comint.el, files.el, replace.el, simple.el:
4389 Apply new 'interactive-only properly.
4390
4391 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4392
4393 * window.el (display-buffer-at-bottom): Make sure that
4394 split-window-sensibly creates the new window on bottom
4395 (Bug#15961).
4396
4397 2013-11-23 David Kastrup <dak@gnu.org>
4398
4399 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4400 on the conflict markers when available.
4401 (smerge--get-marker): New function.
4402 (smerge-end-re, smerge-base-re): Add subgroup.
4403
4404 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * frame.el (handle-focus-in, handle-focus-out): Add missing
4407 interactive spec.
4408
4409 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4412 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4413
4414 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4415
4416 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4417 (gomoku--last-pos): New var.
4418 (gomoku--intangible-chars): New const.
4419 (gomoku--intangible): New function.
4420 (gomoku-mode): Use it. Derive from special-mode.
4421 (gomoku-move-up): Adjust line count.
4422 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4423 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4424 Simplify accordingly.
4425
4426 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4427 Remove blink-cursor code.
4428 (blink-cursor-timer-function, blink-cursor-suspend):
4429 Don't special-case GUIs.
4430 (blink-cursor-mode): Use focus-in/out-hook.
4431
4432 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4433
4434 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4435 work when annotation is invisible (Bug#13886).
4436
4437 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4438
4439 * json.el (json-alist-p): Only return non-nil if the alist has
4440 simple keys (Bug#13518).
4441
4442 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4443
4444 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4445 when control-statement is the first statement in a buffer (Bug#15956).
4446
4447 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4448
4449 * imenu.el (imenu-generic-skip-comments-and-strings):
4450 New option (Bug#15560).
4451 (imenu--generic-function): Use it.
4452
4453 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4454
4455 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4456 (Bug#13898)
4457
4458 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4459
4460 * emacs-lisp/helpers.el: Add some string helpers.
4461 (string-trim-left): Removes leading whitespace.
4462 (string-trim-right): Removes trailing whitespace.
4463 (string-trim): Removes leading and trailing whitespace.
4464
4465 * subr.el (string-suffix-p): New function.
4466
4467 2013-11-23 Glenn Morris <rgm@gnu.org>
4468
4469 * progmodes/python.el (python-shell-send-file):
4470 Add option to delete file when done. (Bug#15647)
4471 (python-shell-send-string, python-shell-send-region): Use it.
4472
4473 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4474
4475 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4476 to set buffer-read-only to t, never to nil. (Bug#15938)
4477
4478 * textmodes/tex-mode.el (latex-noindent-environments):
4479 Add safe-local-variable property. (Bug#15936)
4480
4481 2013-11-23 Glenn Morris <rgm@gnu.org>
4482
4483 * textmodes/enriched.el (enriched-mode): Doc fix.
4484 * emacs-lisp/authors.el (authors-renamed-files-alist):
4485 Add enriched.doc -> enriched.txt.
4486
4487 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4488
4489 2013-11-22 Leo Liu <sdl.web@gmail.com>
4490
4491 * progmodes/octave.el (inferior-octave-startup): Spit out error
4492 message.
4493
4494 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4495
4496 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4497 Improve docstring.
4498 Add :version.
4499 (ruby-encoding-magic-comment-style): Add :version.
4500
4501 2013-11-22 Leo Liu <sdl.web@gmail.com>
4502
4503 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4504 (Bug#15076)
4505 (octave-help-mode): Adapt to change to help-mode-finish to use
4506 derived-mode-p on 2013-09-17.
4507 (inferior-octave-prompt): Also match octave-gui.
4508 (octave-kill-process): Don't ask twice. (Bug#10564)
4509
4510 2013-11-22 Leo Liu <sdl.web@gmail.com>
4511
4512 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4513 (inferior-octave-startup, inferior-octave-check-process)
4514 (inferior-octave-track-window-width-change)
4515 (octave-completion-at-point, octave-eldoc-function): Use it.
4516 (octave-kill-process): Provide confirmation. (Bug#10564)
4517
4518 2013-11-21 Leo Liu <sdl.web@gmail.com>
4519
4520 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4521 Fix obsolete variable comment-use-global-state.
4522
4523 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4524
4525 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4526 Add `octave-source-file'.
4527 (octave-source-file): New function. (Bug#15935)
4528
4529 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4530
4531 * net/eww.el (eww-local-regex): New variable.
4532 (eww): Use it to detect localhost and similar.
4533
4534 2013-11-21 Leo Liu <sdl.web@gmail.com>
4535
4536 Add completion for command `ag'.
4537 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4538 (pcomplete/ag): New function.
4539 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4540
4541 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4544 (bug#14646).
4545 (make-obsolete): Remove interactive spec.
4546
4547 2013-11-21 Glenn Morris <rgm@gnu.org>
4548
4549 * startup.el (command-line-1): Use path-separator with -L.
4550
4551 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4552
4553 * emacs-lisp/package.el (describe-package-1): Add package archive
4554 to shown fields.
4555
4556 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4557
4558 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4559 Change default to "# encoding: %s" to differentiate it from the
4560 default Ruby encoding comment template.
4561
4562 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4563
4564 * ses.el (ses-mode): Doc fix. (Bug#14748)
4565
4566 2013-11-20 Leo Liu <sdl.web@gmail.com>
4567
4568 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4569
4570 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4571
4572 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4573 when rebase or bisect are in progress.
4574
4575 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4576
4577 * filenotify.el (file-notify-add-watch): Doc fix.
4578
4579 2013-11-19 Leo Liu <sdl.web@gmail.com>
4580
4581 * obsolete/rcompile.el: Mark obsolete.
4582
4583 * progmodes/compile.el (compilation-start)
4584 (compilation-goto-locus, compilation-find-file):
4585 Pass no-display-ok and handle nil value from display-buffer.
4586 (Bug#13594)
4587
4588 * window.el (display-buffer-alist, display-buffer): Document the
4589 new parameter no-display-ok. Return either a window or nil
4590 but never a non-window value.
4591
4592 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * electric.el (electric-indent-mode-map): Remove.
4595 (electric-indent-mode): Change the global-map instead (bug#15915).
4596
4597 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4598 Use add-function.
4599
4600 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * emacs-lisp/nadvice.el (remove-function): Align with
4603 add-function's behavior.
4604
4605 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4606 (gdb--string-regexp): New constant.
4607 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4608 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4609 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4610 submatch 1.
4611 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4612 Adjust use accordingly.
4613 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4614
4615 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4616
4617 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4618 interpolation curlies (Bug#15914).
4619
4620 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4621
4622 * calc/calc.el (calc-context-sensitive-enter): New variable.
4623 (calc-enter): Use `calc-context-sensitive-enter'.
4624
4625 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4626
4627 * progmodes/cfengine.el: Version bump.
4628 (cfengine-cf-promises): New defcustom to locate cf-promises.
4629 (cfengine3-vartypes): Add new "data" type.
4630 (cfengine3--current-word): New function to get current name-like
4631 word or its bounds.
4632 (cfengine3--current-function): New function to look up a CFEngine
4633 function's definition.
4634 (cfengine3-format-function-docstring): New function.
4635 (cfengine3-make-syntax-cache): New function.
4636 (cfengine3-documentation-function): New function: ElDoc glue.
4637 (cfengine3-completion-function): New function: completion glue.
4638 (cfengine3-mode): Set `compile-command',
4639 `eldoc-documentation-function', and add to
4640 `completion-at-point-functions'.
4641
4642 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4643
4644 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4645 `tramp-current-connection'.
4646
4647 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4648
4649 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4650 nil/self/true/false with "end of symbol".
4651
4652 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4653
4654 * subr.el (version-regexp-alist): Fix a typo.
4655
4656 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4659 "en_US.utf8" and "LC_CTYPE" to "".
4660 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4661 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4662
4663 2013-11-15 Leo Liu <sdl.web@gmail.com>
4664
4665 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4666
4667 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * progmodes/gud.el (ctl-x-map):
4670 Remove C-x SPC binding. (Bug#12342)
4671 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4672
4673 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4674
4675 * subr.el (version-regexp-alist):
4676 Recognize hg, svn and darcs versions as snapshot versions.
4677
4678 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4679 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4680 (ruby--encoding-comment-required-p): Extract from
4681 `ruby-mode-set-encoding'.
4682 (ruby-mode-set-encoding): Add the ability to always insert an
4683 utf-8 encoding comment. Fix and simplify coding comment update
4684 logic.
4685
4686 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4687
4688 * net/tramp-gvfs.el (top): Run init code only when
4689 `tramp-gvfs-enabled' is not nil.
4690 (tramp-gvfs-enabled): Check also :system bus.
4691
4692 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 Sync with upstream verilog-mode revision 78e66ba.
4695 * progmodes/verilog-mode.el (verilog-end-of-defun)
4696 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4697 (verilog-get-end-of-defun): Remove unused argument.
4698 (verilog-comment-depth): Remove unused local `e'.
4699 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4700 Don't pass arg to verilog-get-end-of-defun.
4701
4702 2013-11-14 Glenn Morris <rgm@gnu.org>
4703
4704 * obsolete/assoc.el (aget): Prefix dynamic variable.
4705
4706 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4707
4708 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * widget.el, hfy-cmap.el: Remove bogus package version number.
4711
4712 2013-11-13 Glenn Morris <rgm@gnu.org>
4713
4714 * replace.el (replace-eval-replacement):
4715 Try to give more helpful error message. (Bug#15836)
4716
4717 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4718 (archive-7z-update): Avoid custom type mismatches.
4719
4720 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4721
4722 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4723
4724 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4725 address can be empty.
4726
4727 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4728 Accept nil SWITCHES.
4729 (tramp-gvfs-handle-write-region): Implement APPEND.
4730
4731 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4732
4733 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4734 binary "|" operator and closing block args delimiter.
4735 Remove FIXME comment referring to Ruby 1.8-only syntax.
4736 (ruby-smie--implicit-semi-p): Not after "|" operator.
4737 (ruby-smie--closing-pipe-p): New function.
4738 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4739 (ruby-smie-rules): Indent after "|".
4740
4741 2013-11-12 Glenn Morris <rgm@gnu.org>
4742
4743 * ps-print.el (ps-face-attribute-list):
4744 Handle anonymous faces. (Bug#15827)
4745
4746 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4747
4748 * window.el (display-buffer-other-frame): Fix doc-string.
4749 (Bug#15868)
4750
4751 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4754
4755 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4756
4757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4758 (tramp-sh-handle-file-local-copy): Don't write a message when
4759 saving temporary files.
4760
4761 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4762 both directories are remote.
4763 (tramp-smb-handle-directory-files): Do not return double entries.
4764 Do not expand full file names.
4765 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4766 (tramp-smb-handle-write-region): Implement APPEND.
4767 (tramp-smb-get-stat-capability): Fix a stupid bug.
4768
4769 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4772
4773 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4774
4775 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4776 throwing error over malformed let/let* (bug#15814).
4777
4778 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * iswitchb.el (iswitchb-mode): Mark obsolete.
4781
4782 2013-11-11 Glenn Morris <rgm@gnu.org>
4783
4784 * international/uni-bidi.el, international/uni-category.el:
4785 * international/uni-name.el, international/uni-numeric.el:
4786 Regenerate for Unicode 6.3.0.
4787
4788 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4789
4790 * net/tramp.el (tramp-methods):
4791 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4792 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4793
4794 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4795
4796 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4797 Force highlighting text after Summary keyword in doc face for rpm.
4798
4799 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4800
4801 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4802 available and the word has no wildcards, append one to the grep pattern.
4803 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4804 (ispell-complete-word): Call `ispell-lookup-words' with the value
4805 independent of `ispell-look-p'.
4806
4807 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4808
4809 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4810 Not after "||".
4811 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4812 their parent.
4813
4814 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4817 (ruby-font-lock-keywords): Use backquote.
4818
4819 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4820
4821 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4822 (ruby-smie--backward-token): Only consider full-string matches.
4823
4824 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4825
4826 * faces.el (describe-face): Add distant-foreground.
4827
4828 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4829
4830 * progmodes/ruby-mode.el: Improve encoding comment handling.
4831 (ruby-encoding-magic-comment-style): New option.
4832 (ruby-custom-encoding-magic-comment-template): New option.
4833 (ruby--insert-coding-comment, ruby--detect-encoding):
4834 New functions extracted from `ruby-mode-set-encoding'.
4835 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4836 to control the style of the auto-inserted encoding comment.
4837
4838 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4839
4840 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4841 Use `smie-backward-sexp' with token argument.
4842
4843 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4844
4845 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4846 Remove instrumentation code.
4847
4848 2013-11-08 Glenn Morris <rgm@gnu.org>
4849
4850 * progmodes/autoconf.el (autoconf-mode):
4851 Tweak comment-start-skip. (Bug#15822)
4852
4853 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4856 at bobp (bug#15826).
4857 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4858
4859 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4860
4861 * man.el (Man-start-calling): New macro, extracted from
4862 Man-getpage-in-background.
4863 (Man-getpage-in-background): Use it.
4864 (Man-update-manpage): New command.
4865 (Man-mode-map): Bind it.
4866
4867 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4868
4869 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4870 of "and", "or", "&&" and "||".
4871 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4872 argument. Prohibit opening curly brace because it could only be a
4873 block opener in that position.
4874 (ruby-smie--forward-token, ruby-smie--backward-token):
4875 Separate "|" from "&" or "*" going after it. That can happen in block
4876 arguments.
4877 (ruby-smie--indent-to-stmt): New function, seeks the end of
4878 previous statement or beginning of buffer.
4879 (ruby-smie-rules): Use it.
4880 (ruby-smie-rules): Check if there's a ":" before a curly block
4881 opener candidate; if there is, it's a hash.
4882
4883 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4886 (cl--block-wrapper): Fix last accidental change.
4887
4888 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4891 Instrument, in order to hunt failure on hydra.
4892
4893 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4894
4895 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4896 malformed bindings form (bug#15814).
4897
4898 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4899
4900 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4901 "." compared to " @ ". This incidentally fixes some indentation
4902 examples with "do".
4903 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4904 (ruby-smie-grammar): New tokens: "and" and "or".
4905 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4906 Exclude "and" and "or". Remove "do" in order to work around token
4907 priorities.
4908 (ruby-smie-rules): Add all infix tokens. Handle the case of
4909 beginning-of-buffer.
4910
4911 2013-11-06 Glenn Morris <rgm@gnu.org>
4912
4913 * Makefile.in (setwins_almost, setwins_for_subdirs):
4914 Avoid accidental matches.
4915
4916 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * menu-bar.el (popup-menu): Use key-binding.
4919
4920 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4921
4922 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4923 menus, support also the menus produced by minor modes.
4924 (Bug#15817)
4925
4926 2013-11-06 Leo Liu <sdl.web@gmail.com>
4927
4928 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4929 DISTANCE to bound the search. All uses changed. (Bug#15808)
4930
4931 2013-11-06 Glenn Morris <rgm@gnu.org>
4932
4933 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4934 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4935 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4936
4937 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * electric.el (electric-indent-just-newline): New command.
4940 (electric-indent-mode-map): New keymap.
4941 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4942 Re-add :group which weren't redundant.
4943
4944 * electric.el (electric-indent-local-mode): New minor mode.
4945 (electric-indent-functions-without-reindent): New var.
4946 (electric-indent-post-self-insert-function): Use it.
4947 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4948
4949 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4950
4951 * international/quail.el (quail-help): Be more explicit about the
4952 meaning of the labels shown on the keys. (Bug#15800)
4953
4954 * startup.el (normal-top-level): Load the subdirs.el files before
4955 setting the locale environment. (Bug#15805)
4956
4957 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4960 via arguments so as to get the right ones (bug#15418).
4961
4962 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4963
4964 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4965
4966 Fix problems found while writing a test suite.
4967
4968 * net/tramp-compat.el (tramp-compat-load): New defun.
4969 * net/tramp.el (tramp-handle-load): Use it.
4970
4971 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4972 "(numberp ok-if-already-exists)" correctly.
4973
4974 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4975
4976 * international/characters.el (glyphless-char-display-control):
4977 Add usage note.
4978
4979 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4980
4981 * progmodes/python.el (python-mode):
4982 * progmodes/scheme.el (scheme-mode):
4983 * progmodes/prolog.el (prolog-mode):
4984 * progmodes/ruby-mode.el (ruby-mode):
4985 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4986 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4987
4988 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * rect.el (rectangle--highlight-for-redisplay):
4991 * emacs-lisp/smie.el (smie--next-indent-change):
4992 Use buffer-chars-modified-tick.
4993
4994 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4995
4996 * electric.el (electric-indent-post-self-insert-function):
4997 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4998
4999 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5000
5001 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5002
5003 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5004
5005 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5006 (bug#15786).
5007
5008 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5011
5012 * progmodes/python.el: Fix up last change.
5013 (python-shell--save-temp-file): New function.
5014 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5015 `string' comes from the current buffer.
5016 (python-shell-send-string-no-output): Remove `msg' arg.
5017 (python--use-fake-loc): New var.
5018 (python-shell-buffer-substring): Obey it. Try to compensate for the
5019 extra coding line added by python-shell--save-temp-file.
5020 (python-shell-send-region): Use python-shell--save-temp-file and
5021 python-shell-send-file directly. Add `nomain' argument.
5022 (python-shell-send-buffer): Use python-shell-send-region.
5023 (python-electric-pair-string-delimiter): New function.
5024 (python-mode): Use it.
5025
5026 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5027
5028 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5029 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5030 environment and decoding all of the default-directory's to here
5031 from command-line.
5032 (command-line): Decode also argv[0].
5033
5034 * loadup.el: Error out if default-directory is a multibyte string
5035 when we are dumping.
5036
5037 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5038
5039 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5040
5041 * emacs-lisp/package.el (package-menu-mode)
5042 (package-menu--print-info, package-menu--archive-predicate):
5043 Add Archive column to package list.
5044
5045 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5046
5047 Fix problems found while writing a test suite.
5048
5049 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5050 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5051 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5052 to nil when running original file name handler. Otherwise,
5053 there are problems with constructs like "$$FOO".
5054
5055 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5056 for `localname'.
5057
5058 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5059
5060 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5061
5062 * subr.el (version<, version<=, version=):
5063 Update docstrings with information for snapshot versions.
5064
5065 * helpers.el: New library for misc helper functions.
5066 (hash-table-keys): New function returning a list of hash keys.
5067 (hash-table-values): New function returning a list of hash values.
5068
5069 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5070
5071 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5072 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5073
5074 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5075
5076 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5077 checking whether point is after a 1-letter word.
5078
5079 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5080
5081 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5082 Don't infloop when expanding region over `multiline' syntax-type that
5083 begins a line (bug#15778).
5084
5085 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5086
5087 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5088 Make it into a proper minor mode.
5089 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5090 (rectangle-mark-mode-map): New keymap.
5091 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5092
5093 2013-11-04 Glenn Morris <rgm@gnu.org>
5094
5095 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5096
5097 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5100 (ruby-smie-rules): Use smie-rule-parent instead.
5101
5102 * emacs-lisp/smie.el (smie-rule-parent): Always call
5103 smie-indent-virtual rather than only for hanging tokens.
5104 (smie--next-indent-change): New helper command.
5105
5106 2013-11-03 Glenn Morris <rgm@gnu.org>
5107
5108 * Makefile.in (abs_srcdir): Remove.
5109 (emacs): Unset EMACSLOADPATH.
5110
5111 2013-11-02 Glenn Morris <rgm@gnu.org>
5112
5113 * Makefile.in (EMACS): Use a relative filename.
5114 (abs_top_builddir): Remove.
5115 (custom-deps, finder-data, autoloads): Use --chdir.
5116
5117 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5118
5119 Use relative filenames in TAGS files.
5120 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5121 (lisptagsfiles4, TAGS): Use relative file names.
5122 (TAGS-LISP): Remove.
5123 (maintainer-clean): No more TAGS-LISP file.
5124
5125 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5126 (lisptagsfiles4): Use absolute filenames again.
5127 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5128 Remove all *loaddefs files, not just the first. Remove esh-groups.
5129 (maintainer-clean): Delete TAGS, TAGS-LISP.
5130
5131 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5132
5133 * emacs-lisp/package.el (package-version-join):
5134 Recognize snapshot versions.
5135
5136 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5137
5138 * subr.el (version-regexp-alist): Add support for snapshot versions.
5139
5140 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5141
5142 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5143 New function, replacement for `smie-rule-parent' for when we want to
5144 skip over our direct parent if it's an assignment token..
5145 (ruby-smie-rules): Use it.
5146
5147 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5148
5149 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5150 unconditionally. Remove now unnecessary forward declarations.
5151 Remove XEmacs-specific setup.
5152 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5153 (ruby-font-lock-syntactic-keywords)
5154 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5155 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5156 (ruby-here-doc-end-syntax): Remove.
5157 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5158 defined as function.
5159
5160 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5161
5162 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5163
5164 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5165
5166 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5167 table and abbrev table, `define-derived-mode' does that for us
5168 anyway.
5169
5170 2013-11-01 Glenn Morris <rgm@gnu.org>
5171
5172 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5173 files is atomic for some time, so no parallel compilation issues).
5174
5175 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5176
5177 * faces.el (face-x-resources): Add :distant-foreground.
5178 (region): Use :distant-foreground for gtk and ns.
5179
5180 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5181
5182 Allow multiple bibliographies when BibLaTeX is used rather than
5183 BibTeX.
5184 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5185 (reftex-locate-bibliography-files): Us it.
5186
5187 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5188
5189 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5190 allow comments in pbm files.
5191
5192 * term/w32-win.el (dynamic-library-alist): Support newer versions
5193 of libjpeg starting with v7: look only for the DLL from the
5194 version against which Emacs was built.
5195 Support versions of libpng beyond 1.4.x.
5196 Support libtiff v4.x.
5197
5198 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5199
5200 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5201 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5202 Add property :safe.
5203 (ruby-deep-arglist): Add property :type.
5204
5205 2013-10-31 Glenn Morris <rgm@gnu.org>
5206
5207 * Makefile.in (custom-deps, finder-data): No need to setq the target
5208 variables, we are in the right directory and the defaults work fine.
5209
5210 2013-10-30 Glenn Morris <rgm@gnu.org>
5211
5212 * Makefile.in (autoloads): Do not use abs_lisp.
5213
5214 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5215 `newline' does not respect `standard-output', so use `princ'.
5216
5217 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5218
5219 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5220 * buff-menu.el (Buffer-menu--unmark): New function.
5221 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5222
5223 2013-10-30 Glenn Morris <rgm@gnu.org>
5224
5225 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5226
5227 * emacs-lisp/package.el (lm-homepage): Declare.
5228
5229 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5230 Fix doc typos.
5231
5232 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5233
5234 * Makefile.in (finder-data, autoloads, update-subdirs)
5235 (compile-main, compile-clean, compile-always, bootstrap-clean):
5236 Check return value of cd.
5237 (compile-calc): Remove.
5238
5239 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5242
5243 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5244 (byte-compile-and-folded): New function.
5245 (=, <, >, <=, >=): Use it.
5246
5247 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5248 (path-separator, null-device, buffer-file-coding-system)
5249 (lpr-headers-switches): Check system-type before modifying them.
5250 (find-buffer-file-type-coding-system): Mark obsolete.
5251 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5252 find-file-not-found-set-buffer-file-coding-system.
5253 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5254 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5255 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5256 (w32-direct-print-region-helper, w32-direct-print-region-function)
5257 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5258 * startup.el (normal-top-level-add-subdirs-to-load-path):
5259 * ps-print.el (ps-print-region-function):
5260 * lpr.el (print-region-function): Use new name.
5261
5262 * subr.el (custom-declare-variable-early): Remove function.
5263 (custom-declare-variable-list): Remove var.
5264 (error, user-error): Remove `while' loop.
5265 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5266 (user-emacs-directory-warning, locate-user-emacs-file):
5267 Move to files.el.
5268 * simple.el (read-quoted-char-radix, read-quoted-char):
5269 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5270 Move from subr.el.
5271 * custom.el (custom-declare-variable-list): Don't process
5272 custom-declare-variable-list.
5273
5274 * progmodes/python.el (python-shell-get-buffer): New function.
5275 (python-shell-get-process): Use it.
5276 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5277 Python which encoding was used. Don't split-string since we only care
5278 about the first line. Return the temp-file, if applicable.
5279 (python-shell-send-region): Tell compile.el how to turn locations in
5280 the temp-file into locations in the source buffer.
5281
5282 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * subr.el (undefined): Add missing behavior from the C code for
5285 unbound keys.
5286
5287 * rect.el: Use lexical-binding. Add new rectangular region support.
5288 (rectangle-mark): New command.
5289 (rectangle--region): New var.
5290 (deactivate-mark-hook): Reset rectangle--region.
5291 (rectangle--extract-region, rectangle--insert-for-yank)
5292 (rectangle--highlight-for-redisplay)
5293 (rectangle--unhighlight-for-redisplay): New functions.
5294 (region-extract-function, redisplay-unhighlight-region-function)
5295 (redisplay-highlight-region-function): Use them to handle
5296 rectangular region.
5297 * simple.el (region-extract-function): New var.
5298 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5299 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5300 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5301 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5302 (redisplay-unhighlight-region-function)
5303 (redisplay-highlight-region-function): New vars.
5304 (redisplay--update-region-highlight): New function.
5305 (pre-redisplay-function): Use it.
5306 (exchange-point-and-mark): Don't deactivate the mark before
5307 reactivate-it anyway.
5308 * comint.el (comint-kill-region): Remove yank-handler argument.
5309 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5310 (delete-char): Remove property, since it's now part of their
5311 default behavior.
5312 (self-insert-iso): Remove property since this command doesn't exist.
5313
5314 * emacs-lisp/package.el (package--download-one-archive)
5315 (describe-package-1): Don't query the user about final newline.
5316
5317 2013-10-29 Daniel Colascione <dancol@dancol.org>
5318
5319 * net/tramp.el (tramp-methods): Document new functionality.
5320 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5321 tramp-hostname-checker if method provides one instead of scanning
5322 argument list for "%h" to decide hostname acceptability.
5323
5324 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5325
5326 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5327 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5328 Handle COPY-CONTENTS. (Bug#15737)
5329
5330 2013-10-28 Daiki Ueno <ueno@gnu.org>
5331
5332 * epa-file.el
5333 (epa-file-cache-passphrase-for-symmetric-encryption):
5334 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5335
5336 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5337
5338 * image.el (defimage, image-load-path): Doc fixes.
5339
5340 2013-10-27 Alan Mackenzie <acm@muc.de>
5341
5342 Indent statements in macros following "##" correctly.
5343 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5344 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5345
5346 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5347
5348 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5349
5350 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5351
5352 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5353 after `=' is probably a new expression.
5354
5355 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5356
5357 * man.el (man-imenu-title): New option.
5358 (Man-mode-map): Add menu. (Bug#15722)
5359 (Man-mode): Add imenu to menu.
5360
5361 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5362
5363 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5364 specific in what the first arg can be: a non-keyword word,
5365 string/regexp/percent literal opener, opening paren, or unary
5366 operator followed directly by word.
5367
5368 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5371 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5372 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5373 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5374 Remove vars, they do not apply any more.
5375 (prolog-mode-abbrev-table): Remove redundant declaration.
5376 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5377 (prolog-use-smie): Remove.
5378 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5379 supported by prolog-electric-if-then-else-flag.
5380 (prolog-mode-variables, prolog-menu): Use setq-local.
5381 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5382 Remove binding to `Backspace' since this key doesn't exist anyway.
5383 Remove bindings for electric self-inserting keys.
5384 (prog-mode): Assume it's defined.
5385 (prolog-post-self-insert): New function.
5386 (prolog-mode): Use it.
5387 (prolog-indent-line, prolog-indent-level)
5388 (prolog-find-indent-of-matching-paren)
5389 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5390 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5391 (prolog-goto-next-paren, prolog-in-string-or-comment)
5392 (prolog-tokenize, prolog-inside-mline-comment)
5393 (prolog-find-start-of-mline-comment): Remove functions.
5394 (prolog-find-unmatched-paren, prolog-clause-end)
5395 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5396 (prolog-electric--if-then-else): Rename from
5397 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5398 (prolog-tokenize-searchkey): Remove const.
5399 (prolog-clause-info): Use forward-sexp.
5400 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5401 (prolog-electric-if-then-else): Remove commands.
5402 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5403 for use in post-self-insert-hook.
5404 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5405 for use in post-self-insert-hook.
5406 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5407 for use in post-self-insert-hook.
5408 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5409 adapt it for use in post-self-insert-hook.
5410
5411 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5412
5413 * emacs-lisp/ert.el (ert-run-tests-interactively):
5414 Use `completing-read'. (Bug#9756)
5415
5416 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5417
5418 * simple.el (line-move): Call line-move-1 instead of
5419 line-move-visual when the current window hscroll is zero, but
5420 temporary-goal-column indicates we will need to hscroll as result
5421 of the movement. (Bug#15712)
5422
5423 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5424
5425 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5426 capitalization. Use :visible instead of :active.
5427 Fix `ruby-indent-exp' reference. Add menu items for the generic
5428 commands that are used with SMIE.
5429 (ruby-do-end-to-brace): Insert space after `{'.
5430
5431 2013-10-25 John Anthony <john@jo.hnanthony.com>
5432
5433 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5434
5435 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5436
5437 2013-10-25 Glenn Morris <rgm@gnu.org>
5438
5439 * vc/vc.el (vc-print-log): Don't use a working revision unless
5440 one was explicitly specified. (Bug#15322)
5441
5442 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * subr.el (add-to-list): Preserve return value in compiler-macro
5445 (bug#15692).
5446
5447 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5448
5449 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5450 result. Ask user to retry using '-all' flag. (Bug#15701)
5451
5452 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * emacs-lisp/smie.el: New smie-config system.
5455 (smie-config): New defcustom.
5456 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5457 (smie-config-guess, smie-config-save): New commands.
5458 (smie-config--mode-local, smie-config--buffer-local)
5459 (smie-config--trace, smie-config--modefuns): New vars.
5460 (smie-config--advice, smie-config--mode-hook)
5461 (smie-config--setter, smie-config-local, smie-config--get-trace)
5462 (smie-config--guess-value, smie-config--guess): New functions.
5463 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5464 text properties. Treat "string fence" syntax like string syntax.
5465
5466 * progmodes/sh-script.el (sh-use-smie): Change default.
5467 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5468 (sh-var-value): Simplify by CSE.
5469 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5470 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5471 is used.
5472 (sh-guess-basic-offset): Use cl-incf.
5473 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5474
5475 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5476
5477 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5478 (bug#15699).
5479
5480 2013-10-24 Glenn Morris <rgm@gnu.org>
5481
5482 * Makefile.in (abs_top_srcdir): Remove.
5483 (update-subdirs): Use relative path to update-subdirs.
5484
5485 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5486
5487 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5488 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5489 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5490 Call unmsys--file-name before expand-file-name, not after it.
5491
5492 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5493
5494 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5495 (ert-test-skipped): New error.
5496 (ert-skip, ert-stats-skipped): New defuns.
5497 (ert--skip-unless): New macro.
5498 (ert-test-skipped): New struct.
5499 (ert--run-test-debugger, ert-test-result-type-p)
5500 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5501 (ert--stats-set-test-and-result, ert-char-for-test-result)
5502 (ert-string-for-test-result, ert-run-tests-batch)
5503 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5504 Handle skipped tests. (Bug#9803)
5505
5506 2013-10-24 Glenn Morris <rgm@gnu.org>
5507
5508 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5509
5510 * Makefile.in (abs_top_srcdir): New, set by configure.
5511 (update-subdirs): Correct build-aux location.
5512
5513 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5514
5515 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5516 value, whether we could auto-deduce `backend', or not.
5517
5518 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5519 with parameters" example. Simplify the "is it block or is it
5520 hash" check, but also make it more thorough.
5521
5522 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5523
5524 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5525
5526 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5529 { if it is hanging.
5530
5531 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5532 :before ";".
5533
5534 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5535
5536 * progmodes/compile.el (compilation-directory-matcher)
5537 (compilation-page-delimiter):
5538 Support GNU Make-4.0 directory quoting. (Bug#15678)
5539
5540 2013-10-23 Leo Liu <sdl.web@gmail.com>
5541
5542 * ido.el (ido-tidy): Handle read-only text.
5543
5544 2013-10-23 Glenn Morris <rgm@gnu.org>
5545
5546 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5547 (emacs, compile, compile-always):
5548 Quote entities that might contain whitespace.
5549 (custom-deps, finder-data, autoloads): Use abs_lisp.
5550 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5551 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5552 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5553
5554 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5555
5556 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5557 Use `following-char'.
5558
5559 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5562 * progmodes/ruby-mode.el (ruby-smie-rules):
5563 Remove corresponding workaround. Fix indentation rule of ";" so it
5564 also applies when ";" is the parent.
5565
5566 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5567
5568 * frame.el (display-screens, display-pixel-height)
5569 (display-pixel-width, display-mm-width, display-backing-store)
5570 (display-save-under, display-planes, display-color-cells)
5571 (display-visual-class, display-monitor-attributes-list):
5572 Mention the optional ‘display’ argument in doc strings.
5573
5574 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5575
5576 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5577 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5578
5579 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5580
5581 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5582 TODO. Add "." after " @ ".
5583 (ruby-smie--at-dot-call): New function. Checks if point at method
5584 call with explicit target.
5585 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5586 to the method name tokens when it precedes them.
5587 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5588 (ruby-smie-rules): Add rule for indentation before and after "."
5589 token.
5590
5591 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * textmodes/remember.el (remember-diary-extract-entries):
5594 Avoid add-to-list.
5595
5596 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5597 an instruction.
5598
5599 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5600
5601 * progmodes/ruby-mode.el (ruby-smie-grammar):
5602 Add (almost) all infix operators.
5603 (ruby-smie--implicit-semi-p): Add new operator chars.
5604
5605 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5606 `smie-down-list'.
5607 (ruby-smie--args-separator-p): Check that there's no newline
5608 between method call and its arguments.
5609
5610 2013-10-20 Alan Mackenzie <acm@muc.de>
5611
5612 Allow comma separated lists after Java "implements".
5613
5614 * progmodes/cc-engine.el (c-backward-over-enum-header):
5615 Parse commas.
5616 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5617 from a "disallowed" list in enum fontification.
5618
5619 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5620
5621 * startup.el (default-frame-background-mode): Remove unused defvar.
5622
5623 * progmodes/verilog-mode.el (verilog-mode): Don't set
5624 comment-indent-function globally.
5625
5626 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5627
5628 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5629 Move Info menu item creation to ns-win.el.
5630
5631 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5632 in menu bar.
5633
5634 * menu-bar.el: Move GNUstep specific menus...
5635
5636 * term/ns-win.el (ns-initialize-window-system): ... to here.
5637
5638 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * simple.el (newline): Only run post-self-insert-hook when
5641 called interactively.
5642
5643 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5644
5645 * icomplete.el (icomplete-with-completion-tables): Add :version.
5646
5647 2013-10-19 Alan Mackenzie <acm@muc.de>
5648
5649 Fix fontification bugs with constructors and const.
5650
5651 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5652 CASE 2) Remove the check for the absence of a suffix construct
5653 after a function declaration with only types (no identifiers) in
5654 the parentheses. Also, accept a function declaration with just a
5655 type inside the parentheses, if this type can be positively
5656 recognised as such, or if a prefix keyword like "explicit" nails
5657 down the construct as a declaration.
5658
5659 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5660
5661 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5662 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5663 the problem whereby selecting a menu item that leads to a
5664 minibuffer prompt moves the cursor out of the minibuffer window,
5665 making it hard to type at the prompt. Suggested by Stefan Monnier
5666 <monnier@iro.umontreal.ca>.
5667
5668 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5669
5670 * menu-bar.el: Don't make Services menu.
5671
5672 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5673
5674 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5675 (ffap-alist): Use ffap-c++-mode for c++-mode.
5676 (ffap-c++-path): New variable.
5677 (ffap-c++-mode): New function.
5678
5679 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5680
5681 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5682
5683 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5684
5685 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5686 introduced on 2013-09-08, which results in an infinite loop
5687 requesting a password.
5688
5689 2013-10-18 Glenn Morris <rgm@gnu.org>
5690
5691 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5692
5693 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5694
5695 Sync with upstream verilog-mode revision 1a6ecec7.
5696 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5697 (verilog-mode-release-date): Remove.
5698 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5699 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5700 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5701 (verilog-auto-tieoff-ignore-regexp)
5702 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5703 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5704 (verilog-signals-with, verilog-dir-cache-preserving)
5705 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5706 Doc fixes.
5707 (verilog-case-fold): New option, to control case folding in
5708 regexp searches, bug597.
5709 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5710 (verilog-string-match-fold, verilog-in-paren-count)
5711 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5712 (verilog-at-close-struct-p): New functions.
5713 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5714 (verilog-forward-sexp, verilog-set-auto-endcomments)
5715 (verilog-leap-to-case-head): Handle "unique0" case.
5716 (verilog-in-constraint-re): New constant.
5717 (verilog-keywords, verilog-type-font-keywords):
5718 Add some SystemVerilog 1800-2012 keywords.
5719 (verilog-label-be): Remove unimplemented argument, bug669.
5720 (verilog-batch-execute-func): When batch expanding clear
5721 create-lockfiles to prevent spurious user locks when a file ends
5722 up not changing.
5723 (verilog-calculate-indent, verilog-calc-1)
5724 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5725 (verilog-do-indent): Fix indentation of nested constraints
5726 and structures.
5727 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5728 (verilog-auto-inst-param): Use verilog-string-match-fold.
5729 (verilog-read-inst-module-matcher):
5730 Fix AUTOINST on gate primitives with #1.
5731 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5732 Reads all user-defined typed variables.
5733 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5734 (verilog-signals-matching-regexp)
5735 (verilog-signals-not-matching-regexp, verilog-auto):
5736 Respect verilog-case-fold.
5737 (verilog-diff-report): Fix line count.
5738 (verilog-auto-assign-modport): Remove unused local `modi'.
5739 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5740 better handle multidimensional arrays.
5741 Fix packed array ports misadding bit index in AUTOINST, bug637.
5742 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5743 to not double-declare existing outputs and inputs, respectively.
5744 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5745 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5746 (verilog-sk-uvm-component): New skeleton.
5747 (verilog-submit-bug-report): Add verilog-case-fold,
5748 remove verilog-mode-release-date.
5749
5750 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5751
5752 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5753 as before.
5754
5755 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5756
5757 * textmodes/remember.el (remember): Set buffer-offer-save in
5758 remember buffers (bug#13566).
5759
5760 2013-10-18 Daniel Colascione <dancol@dancol.org>
5761
5762 When evaluating forms in ielm, direct standard output to ielm
5763 buffer. Add new ielm-return-for-effect command. Remove trailing
5764 whitespace throughout.
5765
5766 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5767 (ielm-return-for-effect): New command.
5768 (ielm-send-input): Accept optional `for-effect' parameter.
5769 (ielm-eval-input): Accept optional `for-effect' parameter.
5770 Bind `standard-output' to stream we create using
5771 `ielm-standard-output-impl'. Suppress printing result when
5772 `for-effect'.
5773 (ielm-standard-output-impl): New function.
5774 (inferior-emacs-lisp-mode): Explain new features in documentation.
5775
5776 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5777
5778 Code cleanup.
5779
5780 * net/tramp.el (tramp-debug-message): Do not check for connection
5781 buffer.
5782 (tramp-message): Use "vector" connection property.
5783
5784 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5785 (tramp-equal-remote, tramp-eshell-directory-change)
5786 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5787 (tramp-adb-handle-rename-file)
5788 * net/tramp-cmds.el (tramp-list-remote-buffers)
5789 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5790 * net/tramp-compat.el (tramp-compat-process-running-p)
5791 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5792 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5793 (tramp-gvfs-handle-rename-file)
5794 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5795 (tramp-set-file-uid-gid)
5796 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5797 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5798 of `file-remote-p'.
5799
5800 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5801 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5802 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5803 (tramp-gw-open-network-stream): Suppress unrelated traces.
5804
5805 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5806 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5807 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5808 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5809 connection property.
5810
5811 * net/tramp-cache.el (top): Suppress traces when reading
5812 persistency file.
5813
5814 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5815 Refactor common code. Improve debug message.
5816 (tramp-maybe-open-connection)
5817 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5818 connection buffer too early.
5819
5820 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5821 from `tramp-smb-actions-with-acl'.
5822 (tramp-smb-actions-set-acl): New defconst.
5823 (tramp-smb-handle-copy-directory)
5824 (tramp-smb-action-get-acl): New defun, renamed from
5825 `tramp-smb-action-with-acl'.
5826 (tramp-smb-action-set-acl): New defun.
5827 (tramp-smb-handle-set-file-acl): Rewrite.
5828
5829 2013-10-17 Glenn Morris <rgm@gnu.org>
5830
5831 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5832
5833 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * skeleton.el (skeleton-newline): Remove.
5836 (skeleton-internal-1): Use (insert "\n") instead.
5837
5838 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5839 let-bindings.
5840
5841 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5842 forward-sexp-function while we redo its job (bug#15613).
5843
5844 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5845
5846 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5847 represented by lists.
5848
5849 2013-10-16 Glenn Morris <rgm@gnu.org>
5850
5851 * tmm.el (tmm--history): New dynamic variable.
5852 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5853
5854 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5855
5856 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5857 (tramp-smb-errors): Add error messages.
5858 (tramp-smb-actions-with-acl): New defconst.
5859 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5860 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5861 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5862 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5863 (tramp-smb-get-stat-capability): Fix tests.
5864
5865 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5866
5867 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5868 (bug#15580).
5869
5870 2013-10-16 Glenn Morris <rgm@gnu.org>
5871
5872 * ansi-color.el (ansi-color-drop-regexp):
5873 Add 1J, 1K, 2K. (Bug#15617)
5874
5875 * files.el (hack-local-variables--warned-lexical): New.
5876 (hack-local-variables):
5877 Warn about misplaced lexical-binding. (Bug#15616)
5878
5879 * net/eww.el (eww-render): Always set eww-current-url,
5880 and update header line. (Bug#15622)
5881 (eww-display-html): ... Rather than just doing it here.
5882
5883 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5884
5885 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5886 menu navigations commands.
5887
5888 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5889
5890 * progmodes/subword.el (subword-capitalize): Be careful when
5891 the search for [[:alpha:]] fails (bug#15580).
5892
5893 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5894
5895 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5896 to commands that scroll the menu.
5897
5898 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5899
5900 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5901 Handle methods ending with `?' and `!'.
5902
5903 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5904
5905 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5906 `japanese-cp932' to `cp932' to fix the problem where saving a
5907 source file written in Shift_JIS twice would end up having
5908 `coding: japanese-cp932' which Ruby could not recognize.
5909 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5910 in `ruby-encoding-map'.
5911 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5912 doesn't need to be explicitly declared in magic comment.
5913 (ruby-encoding-map): Add type declaration for better customize UI.
5914
5915 2013-10-13 Glenn Morris <rgm@gnu.org>
5916
5917 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5918 Occur buffers are read-only. http://bugs.debian.org/720775
5919
5920 * emacs-lisp/authors.el (authors-fixed-entries):
5921 Comment out old alpha stuff.
5922
5923 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5924
5925 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5926 to `after-save-hook' instead of `before-save-hook'.
5927 (ruby-mode-set-encoding): Use the value of coding system used to
5928 write the file. Call `basic-save-buffer-1' after modifying the
5929 buffer.
5930
5931 2013-10-13 Alan Mackenzie <acm@muc.de>
5932
5933 Fix indentation/fontification of Java enum with
5934 "implements"/generic.
5935
5936 * progmodes/cc-engine.el (c-backward-over-enum-header):
5937 Extracted from the three other places and enhanced to handle generics.
5938 (c-inside-bracelist-p): Uses new function above.
5939 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5940 function above.
5941 (c-font-lock-enum-tail): Uses new function above.
5942
5943 2013-10-13 Kenichi Handa <handa@gnu.org>
5944
5945 * international/mule-cmds.el (select-safe-coding-system): Remove a
5946 superfluous condition in chekcing whether a coding system is safe
5947 or not.
5948
5949 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5950
5951 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5952
5953 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5954
5955 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5956
5957 2013-10-13 Glenn Morris <rgm@gnu.org>
5958
5959 * menu-bar.el (menu-bar-update-buffers):
5960 Unify Buffers menu prompt string. (Bug#15576)
5961
5962 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5963
5964 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5965 Add some entries.
5966 (authors-fixed-entries): Use accented form of name.
5967
5968 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5969
5970 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5971 method calls (bug#15594).
5972 (ruby-smie--args-separator-p): New function.
5973 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5974 recognize paren-free method calls.
5975
5976 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5977 internals of universal-argument.
5978
5979 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5980
5981 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5982 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5983 dropped menu on second mouse click on the menu bar.
5984
5985 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5988 (explicit-shell-file-name): Declare.
5989 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5990 (sh-completion-at-point-function): New function.
5991 (sh-mode): Use it.
5992 (sh-smie--keyword-p): Remove unused argument.
5993 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5994 vars.
5995 (sh-set-shell): Always setup SMIE, even if we use the
5996 old indentation code.
5997
5998 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5999
6000 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6001 cases of ? and =.
6002 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6003 predicate would return nil are almost non-existent.
6004 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6005
6006 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6007 cache also after commands that modify the buffer but don't move
6008 point.
6009
6010 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * env.el (substitute-env-in-file-name): New function.
6013 (substitute-env-vars): Extend the meaning of the optional arg.
6014
6015 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6016
6017 * term/w32-win.el (dynamic-library-alist): Define separate lists
6018 of GIF DLLs for versions before and after 5.0.0 of giflib.
6019 (Bug#15531)
6020
6021 2013-10-10 João Távora <joaotavora@gmail.com>
6022
6023 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6024 not locked, use last revision and current source as
6025 defaults. (Bug#15569)
6026
6027 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6028
6029 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6030 menu-bar is hidden.
6031
6032 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6033
6034 * window.el (pop-to-buffer-same-window): Fix doc-string.
6035 (Bug#15492)
6036
6037 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6040
6041 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6042
6043 * calendar/icalendar.el (icalendar-import-file):
6044 Fix interactive spec. (Bug#15482)
6045
6046 2013-10-10 Glenn Morris <rgm@gnu.org>
6047
6048 * desktop.el (desktop-save): Default to saving in .emacs.d,
6049 since PWD is no longer in desktop-path by default. (Bug#15319)
6050
6051 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6052 now that text mode has a menu with the same entry.
6053 (menu-bar-text-mode-auto-fill): Remove now unused func.
6054 * textmodes/text-mode.el (text-mode-map):
6055 Use auto-fill help text from menu-bar.el.
6056
6057 2013-10-10 John Anthony <john@jo.hnanthony.com>
6058
6059 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6060
6061 2013-10-09 Juri Linkov <juri@jurta.org>
6062
6063 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6064 instead of this-command-keys. Add universal-argument-more and
6065 universal-argument-minus to the list of prefix commands. (Bug#15568)
6066
6067 2013-10-09 Glenn Morris <rgm@gnu.org>
6068
6069 * vc/vc-svn.el (vc-svn-create-repo):
6070 Expand paths in file://... url. (Bug#15446)
6071
6072 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6073 Add some entries.
6074 (authors): Remove unused local variables.
6075
6076 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * profiler.el: Create a more coherent calltree from partial backtraces.
6079 (profiler-format): Hide the tail with `invisible' so that C-s can still
6080 find the hidden elements.
6081 (profiler-calltree-depth): Don't recurse so enthusiastically.
6082 (profiler-function-equal): New hash-table-test.
6083 (profiler-calltree-build-unified): New function.
6084 (profiler-calltree-build): Use it.
6085 (profiler-report-make-name-part): Indent the calltree less.
6086 (profiler-report-mode): Add visibility specs for profiler-format.
6087 (profiler-report-expand-entry, profiler-report-toggle-entry):
6088 Expand the whole subtree when provided with a prefix arg.
6089
6090 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6093 iuwu-mod token.
6094 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6095 hanging iuwu-mod token.
6096 (ruby-smie--forward-token): Do not include a dot after a token in
6097 that token.
6098 (ruby-smie--backward-token): Likewise.
6099
6100 2013-10-08 Juri Linkov <juri@jurta.org>
6101
6102 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6103 to isearch-other-control-char.
6104 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6105 and isearch-post-command-hook to post-command-hook.
6106 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6107 and isearch-post-command-hook from post-command-hook.
6108 (isearch-unread-key-sequence)
6109 (isearch-reread-key-sequence-naturally)
6110 (isearch-lookup-scroll-key, isearch-other-control-char)
6111 (isearch-other-meta-char): Remove functions.
6112 (isearch-pre-command-hook, isearch-post-command-hook):
6113 New functions based on isearch-other-meta-char rewritten
6114 relying on the new behavior of overriding-terminal-local-map
6115 that does not replace the local keymaps any more. (Bug#15200)
6116
6117 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6118
6119 Support menus on text-mode terminals.
6120 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6121 functionality.
6122
6123 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6124
6125 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6126 Move here from mouse.el.
6127 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6128 and arrow keys.
6129 (tty-menu-navigation-map): New map for TTY menu navigation.
6130
6131 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6132
6133 * frame.el (display-mouse-p): Report text-mode mouse as available
6134 on w32.
6135 (display-popup-menus-p): Report availability if mouse is
6136 available; don't condition on window-system.
6137
6138 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6139 (tty-menu-selected-face): New faces.
6140
6141 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6144 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6145 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6146 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6147 New constants.
6148 (lisp-mode-variables): New `elisp' argument.
6149 (emacs-lisp-mode): Use it.
6150 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6151 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6152
6153 * indent.el: Use lexical-binding.
6154 (indent-region): Add progress reporter.
6155 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6156 last step.
6157 (indent--next-tab-stop): New function to implement this behavior.
6158 (tab-to-tab-stop, move-to-tab-stop): Use it.
6159
6160 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6161
6162 * indent.el (indent-rigidly--current-indentation): New function.
6163 (indent-rigidly-map): New var.
6164 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6165
6166 2013-10-08 Bastien Guerry <bzg@gnu.org>
6167
6168 * register.el (insert-register): Fix 2013-10-07 change.
6169
6170 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6171
6172 * progmodes/perl-mode.el: Use lexical-binding.
6173 Remove redundant :group args.
6174 (perl-nochange): Change default to be closer to other major modes's
6175 standard behavior.
6176 (perl-indent-line): Don't consider text on current line as a
6177 valid beginning of function from which to indent.
6178
6179 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6180 with more than one argument (bug#15538).
6181
6182 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6183
6184 * vc/pcvs.el: Use lexical-binding.
6185 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6186 environment of `eval'.
6187 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6188 than a list of expressions. Adjust callers.
6189 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6190
6191 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6192
6193 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6194 case of the dot in a chained method call being on the following line.
6195
6196 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * electric.el (electric-indent-inhibit): New var.
6199 (electric-indent-post-self-insert-function): Use it.
6200 * progmodes/python.el (python-mode): Set it.
6201
6202 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6203 open braces.
6204
6205 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6206
6207 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6208 (css-mode): Use electric-indent-chars.
6209
6210 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6211 (font-lock-beg, font-lock-end): Move before first use.
6212 (nxml-mode): Use syntax-propertize-function.
6213 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6214 (nxml-extend-after-change-region): Remove.
6215 * nxml/xmltok.el: Use lexical-binding.
6216 (xmltok-save): Use `declare'.
6217 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6218 * nxml/nxml-util.el: Use lexical-binding.
6219 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6220 Use `declare'.
6221 * nxml/nxml-ns.el: Use lexical-binding.
6222 (nxml-ns-save): Use `declare'.
6223 (nxml-ns-prefixes-for): Avoid add-to-list.
6224 * nxml/rng-match.el: Use lexical-binding.
6225 (rng--ipattern): Use cl-defstruct.
6226 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6227 (rng-cons-group-after, rng-subst-group-after)
6228 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6229 Use closures instead of `(lambda...).
6230
6231 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6232
6233 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6234 of BEG and END.
6235
6236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6237 Use `tramp-handle-insert-file-contents'.
6238 (tramp-gvfs-handle-insert-file-contents): Remove function.
6239
6240 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6241 Use `save-restriction' in order to keep markers.
6242
6243 * net/trampver.el: Update release number.
6244
6245 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * progmodes/compile.el (compilation-parse-errors):
6248 Use compilation--put-prop.
6249 (compilation--ensure-parse): Check compilation-multiline.
6250
6251 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6252
6253 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6254 lexical-binding.
6255
6256 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6257
6258 * progmodes/ruby-mode.el: Fix recently added tests.
6259 (ruby-smie-grammar): Add - and +.
6260 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6261 (ruby-smie--backward-id): New functions.
6262 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6263 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6264 any more.
6265
6266 2013-10-07 Leo Liu <sdl.web@gmail.com>
6267
6268 * register.el (register-preview-delay)
6269 (register-preview-functions): New variables.
6270 (register-read-with-preview, register-preview)
6271 (register-describe-oneline): New functions.
6272 (point-to-register, window-configuration-to-register)
6273 (frame-configuration-to-register, jump-to-register)
6274 (number-to-register, view-register, insert-register)
6275 (copy-to-register, append-to-register, prepend-to-register)
6276 (copy-rectangle-to-register): Use register-read-with-preview to
6277 read register. (Bug#15525)
6278
6279 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6280
6281 * net/network-stream.el (network-stream-open-starttls): Don't add
6282 --insecure if it's already present, because that gnutls-cli
6283 rejects getting that parameter twice.
6284
6285 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6286
6287 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6288 keyword, too.
6289
6290 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6291
6292 * newcomment.el (comment-use-global-state): Change default value
6293 to t, mark obsolete (Bug#15251).
6294 (comment-beginning): In addition to `comment-to-syntax', check the
6295 value of `comment-use-global-state'.
6296
6297 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6300 (ruby-comment-column): Follow the global default, by default.
6301 (ruby-smie-grammar): Add assignment syntax.
6302 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6303 open-paren, a comma, or a \.
6304 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6305 and line continuations.
6306 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6307 followed by implicit semi-colons. Add rule for string concatenation
6308 and for indentation at BOB.
6309 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6310
6311 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6312 calling next-sexp, since next-token may have skipped chars which
6313 next-sexp doesn't know should be skipped!
6314
6315 2013-10-05 Leo Liu <sdl.web@gmail.com>
6316
6317 * progmodes/octave.el (octave-send-region):
6318 Call compilation-forget-errors.
6319
6320 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6321
6322 * vc/vc-svn.el (vc-svn-find-admin-dir):
6323 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6324 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6325 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6326 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6327
6328 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6331
6332 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6333
6334 * subr.el (read-passwd): Hide chars even when called within a context
6335 where after-change-functions is disabled (bug#15501).
6336 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6337 until we removed ourself from overriding-terminal-local-map.
6338
6339 2013-10-04 Leo Liu <sdl.web@gmail.com>
6340
6341 * progmodes/octave.el (inferior-octave-mode):
6342 Call compilation-forget-errors.
6343
6344 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6345
6346 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6347
6348 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6349
6350 * net/secrets.el (secrets-create-collection): Add optional
6351 argument ALIAS. Use proper Label keyword. Append ALIAS as
6352 dbus-call-method argument. (Bug#15516)
6353
6354 2013-10-04 Leo Liu <sdl.web@gmail.com>
6355
6356 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6357 (inferior-octave-compilation-font-lock-keywords): New variables.
6358 (compilation-error-regexp-alist)
6359 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6360 (inferior-octave-mode): Use compilation-shell-minor-mode.
6361
6362 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6363
6364 * minibuffer.el (completion--replace): Be careful that `end' might be
6365 a marker.
6366
6367 2013-10-03 Daiki Ueno <ueno@gnu.org>
6368
6369 Add support for package signature checking.
6370 * emacs-lisp/package.el (url-http-file-exists-p)
6371 (epg-make-context, epg-context-set-home-directory)
6372 (epg-verify-string, epg-context-result-for)
6373 (epg-signature-status, epg-signature-to-string)
6374 (epg-check-configuration, epg-configuration)
6375 (epg-import-keys-from-file): Declare.
6376 (package-check-signature): New user option.
6377 (package-unsigned-archives): New user option.
6378 (package-desc): Add `signed' field.
6379 (package-load-descriptor): Set `signed' field if .signed file exists.
6380 (package--archive-file-exists-p): New function.
6381 (package--check-signature): New function.
6382 (package-install-from-archive): Check package signature.
6383 (package--download-one-archive): Check archive signature.
6384 (package-delete): Remove .signed file.
6385 (package-import-keyring): New command.
6386 (package-refresh-contents): Import default keyring.
6387 (package-desc-status): Add "unsigned" status.
6388 (describe-package-1, package-menu--print-info)
6389 (package-menu-mark-delete, package-menu--find-upgrades)
6390 (package-menu--status-predicate): Support "unsigned" status.
6391
6392 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6395 the new compilation scheme using the new byte-codes.
6396
6397 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6398 (byte-pophandler): New byte codes.
6399 (byte-goto-ops): Adjust accordingly.
6400 (byte-compile--use-old-handlers): New var.
6401 (byte-compile-catch): Use new byte codes depending on
6402 byte-compile--use-old-handlers.
6403 (byte-compile-condition-case--old): Rename from
6404 byte-compile-condition-case.
6405 (byte-compile-condition-case--new): New function.
6406 (byte-compile-condition-case): New function that dispatches depending
6407 on byte-compile--use-old-handlers.
6408 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6409 when we can.
6410
6411 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6412 Optimize under `condition-case' and `catch' if
6413 byte-compile--use-old-handlers is nil.
6414 (disassemble-offset): Handle new bytecodes.
6415
6416 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * subr.el (error): Use `declare'.
6419 (decode-char, encode-char): Use advertised-calling-convention instead
6420 of the docstring to discourage use of the `restriction' arg.
6421
6422 2013-10-03 Daiki Ueno <ueno@gnu.org>
6423
6424 * epg.el (epg-verify-file): Add a comment saying that it does not
6425 notify verification error as a return value nor a signal.
6426 (epg-verify-string): Ditto.
6427
6428 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6429
6430 * progmodes/compile.el (compilation-start): Try globbing the arg to
6431 `cd' (bug#15417).
6432
6433 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6434
6435 Sync with Tramp 2.2.8.
6436
6437 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6438 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6439 * net/trampver.el: Update release number.
6440
6441 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6442
6443 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6444 and default-process-coding-system for darwin only.
6445
6446 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6449
6450 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6451
6452 * vc/vc-git.el (vc-git-grep): Disable pager.
6453
6454 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6455
6456 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6457 Use :url instead of :homepage, as per
6458 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6459
6460 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6461 non-nil, use `syntax-ppss' (Bug#15251).
6462
6463 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6464
6465 * progmodes/octave.el (inferior-octave-startup-file):
6466 Prefer ~/.emacs.d/init_octave.m.
6467
6468 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6469
6470 * emacs-lisp/package.el (package-desc-from-define):
6471 Accept additional arguments as plist, convert them to an alist and store
6472 them in the `extras' slot.
6473 (package-generate-description-file): Convert extras alist back to
6474 plist and append to the `define-package' form arguments.
6475 (package--alist-to-plist): New function.
6476 (package--ac-desc): Add `extras' slot.
6477 (package--add-to-archive-contents): Check if the archive-contents
6478 vector is long enough, and if it is, pass its `extras' slot value
6479 to `package-desc-create'.
6480 (package-buffer-info): Call `lm-homepage', pass the returned value
6481 to `package-desc-from-define'.
6482 (describe-package-1): Render the homepage button (Bug#13291).
6483
6484 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6485 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6486
6487 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6488
6489 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6490 and default-process-coding-system to utf-8-unix (Bug#15402).
6491
6492 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6493
6494 * subr.el (looking-back): Do not recommend using looking-back.
6495
6496 2013-09-28 Alan Mackenzie <acm@muc.de>
6497
6498 Fix indentation/fontification of Java enum with "implements".
6499
6500 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6501 regexp which matches "implements", etc., in Java.
6502 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6503 specifier clauses coming after "enum".
6504 * progmodes/cc-fonts.el (c-font-lock-declarations)
6505 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6506 after "enum".
6507
6508 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6509
6510 * faces.el (region): Change ns_selection_color to
6511 ns_selection_fg_color, add ns_selection_bg_color.
6512
6513 2013-09-28 Leo Liu <sdl.web@gmail.com>
6514
6515 * progmodes/octave.el (inferior-octave-completion-table)
6516 (inferior-octave-completion-at-point): Minor tweaks.
6517
6518 * textmodes/ispell.el (ispell-lookup-words): Rename from
6519 lookup-words. (Bug#15460)
6520 (lookup-words): Obsolete.
6521 (ispell-complete-word, ispell-command-loop): All uses changed.
6522
6523 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6524
6525 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6526 (octave-mode-menu): Add octave-send-buffer.
6527 (octave-send-buffer): New function.
6528
6529 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6530
6531 * progmodes/octave.el (octave-mode-map): Add key binding for
6532 octave-lookfor.
6533 (octave-mode-menu): Add octave-lookfor.
6534 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6535 octave-lookfor.
6536 (octave-lookfor): New function.
6537
6538 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6541 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6542 its convention.
6543 (cl--loop-set-iterator-function): New function.
6544 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6545 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6546 Bind `it' with `let' instead of substituting it with `cl-subst'.
6547 (cl--unused-var-p): New function.
6548 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6549 Eliminate some unused variable warnings (bug#15326).
6550
6551 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6552
6553 * doc-view.el (doc-view-scale-reset): Rename from
6554 `doc-view-reset-zoom-level'.
6555 (doc-view-scale-adjust): New command.
6556 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6557 `doc-view-scale-adjust'.
6558
6559 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6560
6561 * doc-view.el (doc-view-reset-zoom-level): New command.
6562 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6563 zoom commands (bug#15466).
6564
6565 2013-09-26 Kenichi Handa <handa@gnu.org>
6566
6567 * international/quail.el (quail-help): Make it not a command.
6568
6569 2013-09-26 Leo Liu <sdl.web@gmail.com>
6570
6571 * minibuffer.el (completion-all-sorted-completions): Make args
6572 optional as they are.
6573
6574 2013-09-25 Daniel Colascione <dancol@dancol.org>
6575
6576 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6577 specs are and that they're not evaluated.
6578
6579 2013-09-24 Sam Steingold <sds@gnu.org>
6580
6581 * midnight.el (clean-buffer-list-kill-regexps)
6582 (clean-buffer-list-kill-buffer-names): Update for the new Man
6583 buffer naming which includes the object name.
6584
6585 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6588 (eshell-parse-command, eshell-parse-pipeline): Use it since
6589 eshell-separate-commands requires a dynamic scoped var.
6590 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6591
6592 2013-09-23 Leo Liu <sdl.web@gmail.com>
6593
6594 * autoinsert.el (auto-insert-alist): Make the value of
6595 lexical-binding match its file setting.
6596
6597 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6598
6599 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6600
6601 * autoarg.el (autoarg-kp-digit-argument):
6602 * electric.el (Electric-command-loop):
6603 * kmacro.el (kmacro-step-edit-insert):
6604 Do not set universal-argument-num-events.
6605
6606 2013-09-22 Leo Liu <sdl.web@gmail.com>
6607
6608 * files.el (interpreter-mode-alist): Add octave.
6609
6610 2013-09-21 Alan Mackenzie <acm@muc.de>
6611
6612 C++: fontify identifier in declaration following "public:" correctly.
6613 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6614 to match "public", etc.
6615 (c-decl-prefix-re): Add ":" into the C++ value.
6616 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6617 bit. Add a check for a ":" preceded by "public", etc.
6618
6619 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6620
6621 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6622 recognized by GDB 7.5 and later.
6623
6624 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6625
6626 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6627
6628 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 * subr.el (internal--call-interactively): New const.
6631 (called-interactively-p): Use it (bug#3984).
6632
6633 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6634
6635 * vc/pcvs.el (cvs-mode-ignore):
6636 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6637 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6638
6639 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6642 (eshell-ls-orig-insert-directory): Remove.
6643 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6644 (eshell-ls-use-in-dired): Use advice-add/remove.
6645 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6646 Add `orig-fun' arg for use in :around advice.
6647 Make it check (redundantly) eshell-ls-use-in-dired.
6648
6649 2013-09-19 Glenn Morris <rgm@gnu.org>
6650
6651 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6652
6653 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6654
6655 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6656
6657 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6658
6659 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6660 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6661 (tramp-get-remote-python): New defuns.
6662 (tramp-get-remote-uid-with-perl)
6663 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6664 contributed by yary <not.com@gmail.com> (tiny change).
6665 (tramp-get-remote-uid-with-python)
6666 (tramp-get-remote-gid-with-python): New defuns. Python code
6667 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6668 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6669
6670 2013-09-19 Glenn Morris <rgm@gnu.org>
6671
6672 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6673
6674 * eshell/em-unix.el (eshell-remove-entries):
6675 Rename argument to avoid name-clash with global `top-level'.
6676
6677 * eshell/esh-proc.el (eshell-kill-process-function):
6678 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6679 (eshell-reset-after-proc): Remove unused arg `proc'.
6680
6681 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6682 (directory-files-and-attributes): Mark unused arg.
6683
6684 * eshell/em-unix.el (eshell-remove-entries):
6685 Remove unused arg `path'. Update callers.
6686
6687 * eshell/em-hist.el (eshell-hist-parse-arguments):
6688 Remove unused arg `silent'. Update callers.
6689
6690 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6691 Fix (f)boundp mix-up.
6692
6693 * eshell/em-smart.el (eshell-smart-scroll-window)
6694 (eshell-disable-after-change):
6695 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6696
6697 2013-09-18 Alan Mackenzie <acm@muc.de>
6698
6699 Fix fontification of type when followed by "const".
6700 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6701 "known" types from fontification.
6702
6703 2013-09-18 Glenn Morris <rgm@gnu.org>
6704
6705 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6706 (chart-face-list): Drop Emacsen without display-color-p.
6707
6708 * net/eww.el (libxml-parse-html-region): Declare.
6709 (eww-display-html): Explicit error if no libxml2 support.
6710
6711 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6712
6713 * image.el (image-type-from-buffer, image-multi-frame-p):
6714 Remove --without-x warning/error.
6715
6716 * mouse.el (mouse-yank-primary):
6717 * term.el (term-mouse-paste):
6718 Reorder to silence --without-x compilation.
6719
6720 * mpc.el (doc-view-mode): Silence --without-x compilation.
6721
6722 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6723 Silence --without-x compilation.
6724
6725 * progmodes/gud.el (gud-find-file, gud-mode):
6726 Silence --without-x compilation.
6727 (tooltip-mode): Declare.
6728
6729 * wdired.el (dired-backup-overwrite): Remove declaration.
6730 (wdired-mode-map): Add doc string.
6731
6732 * custom.el (x-get-resource): Declare.
6733
6734 * eshell/em-glob.el (ange-cache):
6735 * eshell/em-unix.el (ange-cache): Declare.
6736
6737 * faces.el (x-display-list, x-open-connection, x-get-resource):
6738 Declare.
6739
6740 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6741 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6742 Declare.
6743
6744 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6745
6746 * net/gnutls.el (gnutls-log-level): Declare.
6747
6748 * net/shr.el (image-size, image-animate): Declare.
6749
6750 * simple.el (font-info): Declare.
6751
6752 * subr.el (x-popup-dialog): Declare.
6753
6754 * term/common-win.el (x-select-enable-primary)
6755 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6756 Declare.
6757
6758 * term/ns-win.el (x-handle-args): Declare.
6759
6760 * term/x-win.el (x-select-enable-clipboard): Declare.
6761
6762 * term/w32-win.el (create-default-fontset): Declare.
6763
6764 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6765 Declare.
6766
6767 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6768 (fit-frame-to-buffer): Explicit error if --without-x.
6769 (mouse-autoselect-window-select): Silence compiler.
6770
6771 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6772
6773 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6774 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6775 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6776 * eshell/esh-util.el (eshell-sublist):
6777 Remove unused local variables.
6778
6779 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6780
6781 * textmodes/two-column.el: Make 2C-split work for --without-x.
6782 (scroll-bar-columns): Autoload.
6783 (top-level): Require fringe when compiling.
6784
6785 2013-09-18 Leo Liu <sdl.web@gmail.com>
6786
6787 * subr.el (add-hook): Robustify to handle closure as well.
6788
6789 2013-09-17 Glenn Morris <rgm@gnu.org>
6790
6791 * simple.el (messages-buffer-mode-map): Unbind "g".
6792
6793 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * help-mode.el (help-mode-finish): Use derived-mode-p.
6796 Remove obsolete highlighting.
6797
6798 * play/life.el (life-mode): Use define-derived-mode. Derive from
6799 special-mode.
6800 (life): Let-bind inhibit-read-only.
6801 (life-setup): Avoid `setq'. Use `life-mode'.
6802
6803 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6804 which should not be needed any more.
6805 (package-menu-refresh, package-menu-describe-package): Use user-error.
6806
6807 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6808 (eshell-post-rewrite-command-hook): Make obsolete.
6809 (eshell-parse-command): Simplify.
6810 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6811 (eshell--cmd): Declare.
6812 (eshell-parse-pipeline): Remove unused var `final-p'.
6813 Pass a dynvar to eshell-post-rewrite-command-hook.
6814 Implement the new eshell-post-rewrite-command-function.
6815 (eshell-invoke-directly): Remove unused arg `input'.
6816 * eshell/esh-io.el (eshell-io-initialize):
6817 Use eshell-post-rewrite-command-function (bug#15399).
6818 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6819 adjust to new calling convention.
6820 (eshell-create-handles): Rename args to avoid clashing with dynvar
6821 `standard-output'.
6822
6823 2013-09-17 Glenn Morris <rgm@gnu.org>
6824
6825 * simple.el (messages-buffer-mode): New major mode.
6826 (messages-buffer): New function.
6827 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6828 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6829 (ert-run-test): Use `messages-buffer' function.
6830 (ert--force-message-log-buffer-truncation): Ignore read-only.
6831 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6832 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6833
6834 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6837
6838 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6839
6840 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * icomplete.el (icomplete-in-buffer): New var.
6843 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6844 vars and replace them with functions.
6845 (icomplete-minibuffer-setup): Adjust accordingly.
6846 (icomplete--completion-table, icomplete--completion-predicate)
6847 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6848 New functions.
6849 (icomplete-forward-completions, icomplete-backward-completions)
6850 (icomplete-simple-completing-p, icomplete-exhibit)
6851 (icomplete-completions): Use them.
6852 (icomplete--in-region-buffer): New var.
6853 (icomplete--in-region-setup): New function.
6854 (icomplete-mode): Use it.
6855
6856 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6857 (bug#15379).
6858 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6859 return args and options.
6860 (eshell-eval-using-options): Use the new return value of
6861 eshell--do-opts to set the options's vars in their scope.
6862 (eshell--set-option): Rename from eshell-set-option.
6863 Add arg `opt-vals'.
6864 (eshell--process-option): Rename from eshell-process-option.
6865 Add arg `opt-vals'.
6866 (eshell--process-args): Use an `opt-vals' alist to store the options's
6867 values during their processing and return them additionally to the
6868 remaining args.
6869
6870 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6871
6872 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6873 continuation character an operator, as far as indentation is
6874 concerned (Bug#15369).
6875
6876 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6877
6878 * window.el (window--state-put-2): Don't process buffer state
6879 when buffer doesn't exist any more (Bug#15382).
6880
6881 2013-09-15 Glenn Morris <rgm@gnu.org>
6882
6883 * eshell/em-unix.el (eshell/rm):
6884 Make -f ignore missing files. (Bug#15373)
6885
6886 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6887 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6888 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6889
6890 2013-09-14 Glenn Morris <rgm@gnu.org>
6891
6892 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6893
6894 2013-09-13 Glenn Morris <rgm@gnu.org>
6895
6896 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6897 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6898
6899 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6900
6901 * frame.el (x-focus-frame): Mark as declared in frame.c.
6902
6903 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * ls-lisp.el: Use advice-add.
6906 (original-insert-directory): Remove.
6907 (ls-lisp--insert-directory): Rename from insert-directory; add
6908 `orig-fun' argument.
6909 (insert-directory): Advise.
6910
6911 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6912
6913 * term.el (term-emulate-terminal): Decode the command string
6914 before passing it to term-command-hook. (Bug#15337)
6915
6916 2013-09-13 Glenn Morris <rgm@gnu.org>
6917
6918 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6919
6920 * eshell/esh-ext.el (eshell-search-path): Declare.
6921
6922 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6923 Otherwise an error occurs if eshell-dirs module not loaded.
6924
6925 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6926
6927 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6928
6929 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6930 `tramp-check-proper-host'. Check for a valid method name.
6931
6932 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6933 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6934 * net/tramp-sh.el (tramp-maybe-open-connection):
6935 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6936
6937 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6938 also for hash values.
6939
6940 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6941
6942 * term/ns-win.el (parameters): Don't declare as dynamic.
6943 (before-make-frame-hook): Don't add ineffective function.
6944
6945 * eshell/*.el: Use lexical-binding (bug#15231).
6946
6947 2013-09-12 Kenichi Handa <handa@gnu.org>
6948
6949 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6950
6951 2013-09-12 Glenn Morris <rgm@gnu.org>
6952
6953 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6954 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6955
6956 * subr.el (do-after-load-evaluation): Also give compiler warnings
6957 when obsolete files are used (except by obsolete files).
6958
6959 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6960 in the status output, assume `filename' is the first. (Bug#15322)
6961
6962 * vc/vc.el (vc-deduce-fileset): Doc fix.
6963
6964 * calc/calc-help.el (Info-goto-node):
6965 * progmodes/cperl-mode.el (Info-find-node):
6966 * vc/ediff.el (Info-goto-node): Update declarations.
6967
6968 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6969
6970 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6971 (vc-bzr-pull): Require vc-dispatcher.
6972 * vc/vc-git.el (vc-compilation-mode): Declare.
6973 (vc-git-pull): Require vc-dispatcher.
6974
6975 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6976
6977 * progmodes/octave.el (help-button-action): Declare.
6978
6979 * shell.el (shell-directory-tracker): Output error as a message
6980 rather than just returning it as a string.
6981 (shell-process-pushd): Remove useless use of message.
6982
6983 * dframe.el (dframe-timer-fn):
6984 * files.el (dir-locals-read-from-file):
6985 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6986 (mpc-format):
6987 * reveal.el (reveal-post-command):
6988 * saveplace.el (load-save-place-alist-from-file):
6989 * shell.el (shell-resync-dirs):
6990 * w32-common-fns.el (x-get-selection-value):
6991 * emacs-lisp/copyright.el (copyright-find-copyright):
6992 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6993 * emulation/tpu-edt.el (tpu-copy-keyfile):
6994 * play/bubbles.el (bubbles--mark-neighbourhood):
6995 * progmodes/executable.el
6996 (executable-make-buffer-file-executable-if-script-p):
6997 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6998
6999 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 Cleanup Eshell to rely less on dynamic scoping.
7002 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7003 last-value, and ext-command here. Bind `args' closer to `body'.
7004 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7005 (eshell--args): Declare new dynamic var.
7006 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7007 last-value, and ext-command. Pass `args' to `body'.
7008 (eshell-process-args): Bind eshell--args.
7009 (eshell-set-option): Use eshell--args.
7010 * eshell/eshell.el (eshell): Use derived-mode-p.
7011 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7012 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7013 (eshell-glob-function): Declare.
7014 * eshell/esh-util.el: Require cl-lib.
7015 (eshell-read-hosts-file): Avoid add-to-list.
7016 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7017 `err'.
7018 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7019 Declare.
7020 (eshell/diff): Remove unused var `err'.
7021 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7022 `killflag'.
7023 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7024 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7025 first use.
7026 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7027 Move declaration before first use.
7028 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7029 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7030 rely on cl-return.
7031
7032 2013-09-12 Glenn Morris <rgm@gnu.org>
7033
7034 * term/ns-win.el (global-map): Remove binding for ispell-next,
7035 deleted 1999-05-29. (Bug#15357)
7036
7037 2013-09-11 Glenn Morris <rgm@gnu.org>
7038
7039 * echistory.el (electric-command-history): Remove call to deleted func.
7040
7041 * play/landmark.el (landmark-mode): Fix typos.
7042
7043 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7044 Check cvs-sort-ignore-file is bound.
7045
7046 * savehist.el: No need for cl when compiling on Emacs.
7047
7048 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7051 (bug#15338).
7052 (eshell-self-insert-command, eshell-send-invisible):
7053 Remove unused argument.
7054 (eshell-handle-control-codes): Remove unused var `orig'.
7055 Avoid delete-backward-char.
7056
7057 * files.el (set-auto-mode): Simplify a bit further.
7058
7059 2013-09-11 Glenn Morris <rgm@gnu.org>
7060
7061 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7062 (set-auto-mode): Don't regexp-quote elements.
7063 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7064 * progmodes/cc-mode.el (interpreter-mode-alist):
7065 * progmodes/ruby-mode.el (interpreter-mode-alist):
7066 Revert previous change.
7067
7068 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * play/snake.el (snake-mode):
7071 * play/mpuz.el (mpuz-mode):
7072 * play/landmark.el (lm-mode):
7073 * play/blackbox.el (blackbox-mode):
7074 * play/5x5.el (5x5-mode):
7075 * obsolete/options.el (Edit-options-mode):
7076 * net/quickurl.el (quickurl-list-mode):
7077 * net/newst-treeview.el (newsticker-treeview-mode):
7078 * mail/rmailsum.el (rmail-summary-mode):
7079 * mail/mspools.el (mspools-mode):
7080 * locate.el (locate-mode):
7081 * ibuffer.el (ibuffer-mode):
7082 * emulation/ws-mode.el (wordstar-mode):
7083 * emacs-lisp/debug.el (debugger-mode):
7084 * array.el (array-mode):
7085 * net/eudc.el (eudc-mode): Use define-derived-mode.
7086 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7087 Move initialization into declaration.
7088 (mairix-searches-mode): Use define-derived-mode.
7089 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7090 (eudc-edit-hotlist): Use dolist.
7091 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7092 (Man-mode): Use define-derived-mode.
7093 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7094 (Info-edit-mode): Use define-derived-mode.
7095 (Info-cease-edit): Use Info-mode.
7096 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7097 into declaration.
7098 (eshell-mode): Use define-derived-mode.
7099 * chistory.el (command-history-mode-map): Rename from
7100 command-history-map.
7101 (command-history-mode): Use define-derived-mode.
7102 (Command-history-setup): Remove function.
7103 * calc/calc.el (calc-trail-mode-map): New var.
7104 (calc-trail-mode): Use define-derived-mode.
7105 (calc-trail-buffer): Set calc-main-buffer manually.
7106 * bookmark.el (bookmark-insert-annotation): New function.
7107 (bookmark-edit-annotation): Use it.
7108 (bookmark-edit-annotation-mode): Make it a proper major mode.
7109 (bookmark-send-edited-annotation): Use derived-mode-p.
7110 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7111 closer to its ideal place. Use \' to match EOS.
7112
7113 * profiler.el (profiler-calltree-find): Use function-equal.
7114
7115 2013-09-10 Glenn Morris <rgm@gnu.org>
7116
7117 * files.el (interpreter-mode-alist): Convert to regexps.
7118 (set-auto-mode): Adapt for this. (Bug#15306)
7119 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7120 Comment out unused variable.
7121 * progmodes/cc-mode.el (interpreter-mode-alist):
7122 * progmodes/python.el (interpreter-mode-alist):
7123 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7124 * progmodes/sh-script.el (sh-set-shell):
7125 No longer use interpreter-mode-alist to get list of shells.
7126
7127 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7128
7129 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * simple.el: Use set-temporary-overlay-map for universal-argument.
7132 (universal-argument-map): Don't use default-bindings (bug#15317).
7133 Bind switch-frame explicitly. Replace universal-argument-minus with
7134 a conditional binding.
7135 (universal-argument-num-events, saved-overriding-map): Remove.
7136 (restore-overriding-map): Remove.
7137 (universal-argument--mode): Rename from save&set-overriding-map,
7138 and rewrite.
7139 (universal-argument, universal-argument-more, negative-argument)
7140 (digit-argument): Adjust accordingly.
7141 (universal-argument-minus): Remove.
7142 (universal-argument-other-key): Remove.
7143
7144 * subr.el (with-demoted-errors): Add `format' argument.
7145
7146 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7147
7148 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7149 `tramp-cleanup-connection'.
7150
7151 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7152 parameters KEEP-DEBUG and KEEP-PASSWORD.
7153
7154 * net/tramp.el (tramp-file-name-handler):
7155 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7156 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7157 (tramp-maybe-open-connection):
7158 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7159 Use `tramp-cleanup-connection'.
7160
7161 * net/tramp-sh.el (tramp-maybe-open-connection):
7162 Catch 'uname-changed inside the progress reporter.
7163
7164 2013-09-10 Glenn Morris <rgm@gnu.org>
7165
7166 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7167
7168 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7169 returns "alternate access method" in mode (eg "-rw-r--r--.").
7170
7171 2013-09-08 Glenn Morris <rgm@gnu.org>
7172
7173 * saveplace.el (load-save-place-alist-from-file):
7174 Demote errors. (Bug#15305)
7175
7176 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7177
7178 Improve compatibility with older Emacsen, and XEmacs.
7179
7180 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7181 only if it is bound. It isn't for XEmacs.
7182 (with-tramp-progress-reporter): Do not let-bind `result'.
7183 This yields to scoping errors in XEmacs.
7184 (tramp-handle-make-auto-save-file-name): New function, moved from
7185 tramp-sh.el.
7186
7187 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7188 for `make-auto-save-file-name'.
7189 (tramp-adb--gnu-switches-to-ash):
7190 Use `tramp-compat-replace-regexp-in-string'.
7191
7192 * net/tramp-cache.el (tramp-cache-print): Call
7193 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7194
7195 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7196 bound. It isn't for XEmacs.
7197
7198 * net/tramp-compat.el (tramp-compat-copy-file):
7199 Catch `wrong-number-of-arguments' error.
7200 (tramp-compat-replace-regexp-in-string): New defun.
7201
7202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7203 for `make-auto-save-file-name'.
7204 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7205 `copy-file'.
7206 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7207 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7208 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7209
7210 * net/tramp-gw.el (tramp-gw-open-network-stream):
7211 Use `tramp-compat-replace-regexp-in-string'.
7212
7213 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7214 Call `tramp-handle-make-auto-save-file-name'.
7215 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7216 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7217 (tramp-sh-file-inotifywait-process-filter):
7218 Use `tramp-compat-replace-regexp-in-string'.
7219 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7220
7221 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7222 for `make-auto-save-file-name'.
7223 (tramp-smb-handle-copy-directory):
7224 Call `tramp-compat-replace-regexp-in-string'.
7225 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7226 (tramp-smb-handle-copy-file): Improve error message.
7227 (tramp-smb-handle-rename-file): Rename directly only in case
7228 `newname' does not exist yet. This is a restriction of smbclient.
7229 (tramp-smb-maybe-open-connection): Rerun the function only when
7230 `auth-sources' is non-nil.
7231
7232 2013-09-08 Kenichi Handa <handa@gnu.org>
7233
7234 * international/characters.el: Set category "^" (Combining) for
7235 more characters.
7236
7237 2013-09-07 Alan Mackenzie <acm@muc.de>
7238
7239 Correctly fontify Java class constructors.
7240 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7241 in Java Mode.
7242 (c-recognize-typeless-decls): Set the Java value to t.
7243 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7244 While handling a "(", add a check for, effectively, Java, and handle a
7245 "typeless" declaration there.
7246
7247 2013-09-07 Roland Winkler <winkler@gnu.org>
7248
7249 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7250 field subtitle for entry type book.
7251
7252 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * minibuffer.el: Make minibuffer-complete call completion-in-region
7255 rather than other way around.
7256 (completion--some, completion-pcm--find-all-completions):
7257 Don't delay signals when debugging.
7258 (minibuffer-completion-contents): Beware fields within the
7259 minibuffer contents.
7260 (completion-all-sorted-completions): Use defvar-local.
7261 (completion--do-completion, completion--cache-all-sorted-completions)
7262 (completion-all-sorted-completions, minibuffer-force-complete):
7263 Add args `beg' and `end'.
7264 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7265 (minibuffer-complete): Use completion-in-region.
7266 (completion-complete-and-exit): New fun, extracted from
7267 minibuffer-complete-and-exit.
7268 (minibuffer-complete-and-exit): Use it.
7269 (completion--complete-and-exit): Rename from
7270 minibuffer--complete-and-exit.
7271 (completion-in-region--single-word): New function, extracted from
7272 minibuffer-complete-word.
7273 (minibuffer-complete-word): Use it.
7274 (display-completion-list): Make `common-substring' argument obsolete.
7275 (completion--in-region): Call completion--in-region-1 instead of
7276 minibuffer-complete.
7277 (completion-help-at-point): Pass boundaries to
7278 minibuffer-completion-help as args rather than via an overlay.
7279 (completion-pcm--string->pattern): Use `any-delim'.
7280 (completion-pcm--optimize-pattern): New function.
7281 (completion-pcm--pattern->regex): Handle `any-delim'.
7282 * icomplete.el (icomplete-forward-completions)
7283 (icomplete-backward-completions, icomplete-completions):
7284 Adjust calls to completion-all-sorted-completions and
7285 completion--cache-all-sorted-completions.
7286 (icomplete-with-completion-tables): Default to t.
7287 * emacs-lisp/crm.el (crm--current-element): Rename from
7288 crm--select-current-element. Don't put an overlay but return the
7289 boundaries instead.
7290 (crm--completion-command): Take two new args to bind to the boundaries.
7291 (crm-completion-help): Adjust accordingly.
7292 (crm-complete): Use completion-in-region.
7293 (crm-complete-word): Use completion-in-region--single-word.
7294 (crm-complete-and-exit): Use completion-complete-and-exit.
7295
7296 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7297
7298 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7299 than dynamically.
7300
7301 2013-09-06 Juri Linkov <juri@jurta.org>
7302
7303 * info.el (Info-display-images-node): When image file doesn't exist
7304 display text version of the image if it's provided in the Info file.
7305 Otherwise, display the location of missing image from SRC attribute.
7306 Add help-echo text property from ALT attribute. (Bug#15279)
7307
7308 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7311 (edit-abbrevs-mode): Use define-derived-mode.
7312
7313 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7314 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7315 that it's defined.
7316 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7317 Use define-derived-mode.
7318
7319 * epg.el (epg-start-encrypt): Minor CSE simplification.
7320
7321 2013-09-06 William Xu <william.xwl@gmail.com>
7322
7323 * arc-mode.el: Add support for 7za (bug#15264).
7324 (archive-7z-program): New var.
7325 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7326 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7327 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7328
7329 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7330
7331 Remove URL syntax.
7332
7333 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7334 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7335 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7336 (tramp-postfix-host-format, tramp-file-name-regexp)
7337 (tramp-completion-file-name-regexp)
7338 (tramp-completion-dissect-file-name)
7339 (tramp-handle-substitute-in-file-name): Remove 'url case.
7340 (tramp-file-name-regexp-url)
7341 (tramp-completion-file-name-regexp-url): Remove constants.
7342
7343 2013-09-06 Glenn Morris <rgm@gnu.org>
7344
7345 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7346
7347 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7348
7349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7350 keywords" below "here-doc beginnings" (Bug#15270).
7351
7352 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * subr.el (pop): Use `car-safe'.
7355 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7356 to detect unused `pop' return value.
7357
7358 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7359 var `block-regexp'.
7360 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7361 (python-fill-string): Remove unused var `marker'.
7362 (python-skeleton-add-menu-items): Remove unused var `items'.
7363
7364 * international/mule-cmds.el: Require CL.
7365 (find-coding-systems-for-charsets): Avoid add-to-list.
7366 (sanitize-coding-system-list): New function, extracted from
7367 select-safe-coding-system-interactively.
7368 (select-safe-coding-system-interactively): Use it.
7369 (read-input-method-name): Accept symbols for `default'.
7370
7371 * emacs-lisp/advice.el (defadvice): Add indent rule.
7372
7373 2013-09-05 Daniel Hackney <dan@haxney.org>
7374
7375 * dired-x.el:
7376 * net/ange-ftp.el:
7377 * net/browse-url.el:
7378 * net/dbus.el:
7379 * net/eudc.el:
7380 * net/eudcb-ldap.el:
7381 * net/eww.el:
7382 * net/imap.el:
7383 * printing.el:
7384 * vc/ediff-diff.el:
7385 * vc/ediff-init.el:
7386 * vc/ediff-merg.el:
7387 * vc/ediff-mult.el:
7388 * vc/ediff-util.el:
7389 * vc/ediff-wind.el:
7390 * vc/ediff.el:
7391 * vc/emerge.el:
7392 * vc/pcvs.el:
7393 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7394 byte compiler. Remove some unused let-bound variables.
7395
7396 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7399 a "ref-cell", since it gets better optimized (bug#14883).
7400
7401 2013-09-05 Glenn Morris <rgm@gnu.org>
7402
7403 * progmodes/cc-awk.el (c-forward-sws): Declare.
7404
7405 2013-09-04 Glenn Morris <rgm@gnu.org>
7406
7407 * generic-x.el [rul-generic-mode]: Require cc-mode.
7408 (c++-mode-syntax-table): Declare.
7409 (rul-generic-mode-syntax-table): Init in the defvar.
7410
7411 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7414 (vc-do-command, vc-set-async-update):
7415 * vc/vc-mtn.el (vc-mtn-dir-status):
7416 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7417 (vc-hg-pull, vc-hg-merge-branch):
7418 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7419 (vc-git-merge-branch):
7420 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7421 (vc-cvs-dir-status-files):
7422 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7423 (vc-bzr-dir-status-files):
7424 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7425 * vc/vc-annotate.el: Use lexical-binding.
7426 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7427 (vc-sentinel-movepoint): Declare.
7428 (vc-annotate): Don't use `goto-line'.
7429 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7430 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7431 (vc-sentinel-movepoint): Declare.
7432 * vc/vc-svn.el: Use lexical-binding.
7433 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7434 * vc/vc-sccs.el:
7435 * vc/vc-rcs.el: Use lexical-binding.
7436
7437 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7438 `deleted'. Don't drop errors silently.
7439
7440 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7441
7442 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7443
7444 * vc/vc.el (vc-ignore): Rewrite.
7445 (vc-default-ignore): New function.
7446 (vc-default-ignore-completion-table): Use find-ignore-file.
7447
7448 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7449 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7450 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7451 Remove. Most code moved to vc.el.
7452
7453 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7456 * net/tramp-smb.el (tramp-smb-get-file-entries):
7457 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7458 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7459
7460 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7461 Update call to it.
7462 (eww-change-select): Remove unused var `properties'.
7463 (eww-make-unique-file-name): Remove unused var `base'.
7464
7465 * finder.el (finder-compile-keywords): Don't mess with windows.
7466
7467 * calculator.el (calculator-funcall): Fix typo in last change.
7468
7469 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7470
7471 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7472 <pkg>-autoloads.el file stop us.
7473
7474 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7475 warnings, and factor out common code.
7476
7477 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7478
7479 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7480 two-character operators and whether the character preceding them
7481 changes their meaning (Bug#15208).
7482
7483 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7484
7485 Format code sent to Python shell for robustness.
7486 * progmodes/python.el (python-shell-buffer-substring):
7487 New function.
7488 (python-shell-send-region, python-shell-send-buffer): Use it.
7489
7490 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7491
7492 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7493 * net/tramp.el (tramp-user-error): ... here.
7494 (tramp-find-method, tramp-check-proper-host)
7495 (tramp-dissect-file-name, tramp-debug-message)
7496 (tramp-handle-shell-command):
7497 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7498 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7499
7500 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7501
7502 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7503
7504 * avoid.el (mouse-avoidance-point-position)
7505 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7506 returns nil.
7507
7508 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7509
7510 * progmodes/python.el (python-shell-completion-get-completions):
7511 Drop use of deleted `comint-last-prompt-overlay'.
7512 (python-nav-if-name-main): New command.
7513
7514 2013-09-01 Glenn Morris <rgm@gnu.org>
7515
7516 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7517 Avoid leading space in $wins. Otherwise the sed command used by
7518 eg compile-main ends up containing "/*.el". (Bug#15170)
7519
7520 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7521
7522 2013-08-30 Glenn Morris <rgm@gnu.org>
7523
7524 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7525 Fix is-this-a-directory logic. (Bug#15220)
7526
7527 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7529 * textmodes/css-mode.el: Use SMIE.
7530 (css-smie-grammar): New var.
7531 (css-smie--forward-token, css-smie--backward-token)
7532 (css-smie-rules): New functions.
7533 (css-mode): Use them.
7534 (css-navigation-syntax-table): Remove var.
7535 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7536 (css-indent-calculate, css-indent-line): Remove functions.
7537
7538 Misc changes to reduce use of `(lambda...); and other cleanups.
7539 * cus-edit.el: Use lexical-binding.
7540 (customize-push-and-save, customize-apropos)
7541 (custom-buffer-create-internal): Use closures.
7542 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7543 * progmodes/ada-xref.el: Use setq.
7544 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7545 * dframe.el: Use lexical-binding.
7546 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7547 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7548 * descr-text.el: Use lexical-binding.
7549 (describe-text-widget, describe-text-sexp, describe-property-list):
7550 Use closures.
7551 * comint.el (comint-history-isearch-push-state): Use a closure.
7552 * calculator.el: Use lexical-binding.
7553 (calculator-number-to-string): Make it work with lexical-binding.
7554 (calculator-funcall): Same and use cl-letf.
7555
7556 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7557 (lisp--company-doc-string, lisp--company-location): New functions.
7558 (lisp-completion-at-point): Use them to improve Company support.
7559
7560 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7561 params of lambda expressions.
7562 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7563 (ruby-smie--opening-pipe-p): New function.
7564 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7565 symbols and matched |...| for formal params.
7566 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7567 from being treated as hanging. Handle "rescue".
7568
7569 2013-08-29 Glenn Morris <rgm@gnu.org>
7570
7571 * progmodes/cc-engine.el (c-pull-open-brace):
7572 Move definition before use.
7573
7574 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7577 are immutable. Don't use `unsafe' any more.
7578 (cl--defsubst-expand): Don't substitute at the same time as keeping
7579 a residual unused let-binding. Don't use `unsafe' any more.
7580
7581 2013-08-29 Glenn Morris <rgm@gnu.org>
7582
7583 * calendar/cal-china.el (calendar-chinese-year-cache):
7584 Recenter on 2015.
7585
7586 * nxml/nxml-util.el (nxml-debug-clear-inside):
7587 Use cl-loop rather than loop.
7588
7589 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7590
7591 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7592
7593 2013-08-28 Glenn Morris <rgm@gnu.org>
7594
7595 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7596
7597 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7598
7599 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7600
7601 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * simple.el (repeat-complex-command--called-interactively-skip):
7604 New function.
7605 (repeat-complex-command): Use it (bug#14136).
7606
7607 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7608 (c-define-abbrev-table): Add `doc' argument.
7609 (c-mode-abbrev-table, c++-mode-abbrev-table)
7610 (objc-mode-abbrev-table, java-mode-abbrev-table)
7611 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7612 (awk-mode-abbrev-table): Use it.
7613 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7614 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7615 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7616 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7617 Move initialization into the declaration; and remove any
7618 autoload cookie.
7619
7620 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7621 and dynamic let binding.
7622
7623 * vc/smerge-mode.el: Remove redundant :group args.
7624
7625 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7626 to load-path.
7627
7628 2013-08-28 Juri Linkov <juri@jurta.org>
7629
7630 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7631 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7632 (isearch-other-meta-char): Handle an undefined shifted printing
7633 character by downshifting it. (Bug#15200)
7634
7635 2013-08-28 Juri Linkov <juri@jurta.org>
7636
7637 * isearch.el (isearch-search): Change regexp error message for
7638 non-regexp searches. (Bug#15166)
7639
7640 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7641
7642 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7643 for portability to hosts where /bin/sh has problems.
7644
7645 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7648
7649 2013-08-27 Juri Linkov <juri@jurta.org>
7650
7651 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7652 in the keyboard macro. (Bug#15126)
7653
7654 2013-08-27 Juri Linkov <juri@jurta.org>
7655
7656 * isearch.el (isearch-quote-char): Comment out converting unibyte
7657 to multibyte, thus syncing with its `quoted-insert' counterpart.
7658 (Bug#15166)
7659
7660 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7661
7662 * window.el (display-buffer-use-some-window): Add missing
7663 argument in call of get-largest-window (Bug#15185).
7664 Reported by Stephen Leake.
7665
7666 2013-08-27 Glenn Morris <rgm@gnu.org>
7667
7668 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7669
7670 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7673 from a matcher-function unless there's no more matches (bug#15161).
7674
7675 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7676
7677 * minibuffer.el: Revert change from 2013-08-20.
7678
7679 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7680 with text property `tramp-default', if appropriate.
7681 (tramp-check-proper-host): New defun.
7682 (tramp-dissect-file-name): Do not check hostname. Revert change
7683 of 2013-03-18.
7684 (tramp-backtrace): Make VEC-OR-PROC optional.
7685
7686 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7687 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7688 * net/tramp-sh.el (tramp-maybe-open-connection):
7689 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7690 Apply `tramp-check-proper-host'.
7691
7692 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7693
7694 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7695 lambda expression in order to have `describe-variable' display it.
7696
7697 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7698
7699 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7700 BUF can be optional. (Bug#15186)
7701
7702 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7703
7704 * progmodes/flymake.el (flymake-get-real-file-name-function):
7705 Fix broken customization. (Bug#15184)
7706
7707 2013-08-25 Alan Mackenzie <acm@muc.de>
7708
7709 Improve indentation of bracelists defined by macros (without "=").
7710
7711 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7712 expansion begins with "{", regard it as bracelist when it doesn't
7713 contain a ";".
7714
7715 Parse C++ inher-intro when there's a template split over 2 lines.
7716
7717 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7718 rigorously the search for "class" etc. followed by ":".
7719
7720 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7721 random languages a regexp which never matches rather than nil.
7722
7723 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7724
7725 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7726 (c-awk-regexp-one-line-possibly-open-char-list-re)
7727 (c-awk-one-line-possibly-open-regexp-re)
7728 (c-awk-one-line-non-syn-ws*-re): Remove.
7729 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7730 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7731 (c-awk-space*-unclosed-regexp-/-re): New constants.
7732 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7733 aren't regexp delimiters.
7734
7735 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7736 handling for a rare situation in AWK Mode involving unterminated
7737 strings/regexps.
7738
7739 2013-08-23 Glenn Morris <rgm@gnu.org>
7740
7741 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7742
7743 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7744
7745 * files.el (create-file-buffer): If the result would begin with
7746 spaces, prepend a "|" instead of removing them. (Bug#15162)
7747
7748 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7751 text-properties (bug#15155).
7752
7753 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7754 exist any more.
7755 (calc-keypad-redraw): Remove unused var `pad'.
7756 (calc-keypad-press): Remove unused var `menu'.
7757
7758 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7759
7760 * window.el (display-buffer-pop-up-frame):
7761 Call pop-up-frame-function with BUFFER current so `make-frame' will
7762 use it as the new frame's buffer (Bug#15133).
7763
7764 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * calendar/timeclock.el: Minor cleanups.
7767 (timeclock-ask-before-exiting, timeclock-use-display-time):
7768 Use `symbol'.
7769 (timeclock-modeline-display): Define as alias before the
7770 actual definition.
7771 (timeclock-mode-line-display): Use define-minor-mode.
7772 (timeclock-day-list-template): Make it a function, add an argument.
7773 (timeclock-day-list-required, timeclock-day-list-length)
7774 (timeclock-day-list-debt, timeclock-day-list-span)
7775 (timeclock-day-list-break): Adjust calls accordingly.
7776
7777 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7780 Use read--expression so that completion works again.
7781
7782 2013-08-21 Sam Steingold <sds@gnu.org>
7783
7784 Add rudimentary inferior shell interaction
7785 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7786 (sh-set-shell): Reset it.
7787 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7788 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7789
7790 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * align.el: Use lexical-binding.
7793 (align-region): Simplify accordingly.
7794
7795 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7796
7797 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7798
7799 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7800 `non-essential' up.
7801
7802 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7803
7804 * net/tramp.el:
7805 * net/tramp-adb.el:
7806 * net/tramp-cmds.el:
7807 * net/tramp-ftp.el:
7808 * net/tramp-gvfs.el:
7809 * net/tramp-gw.el:
7810 * net/tramp-sh.el: Don't wrap external variable declarations by
7811 `eval-when-compile'.
7812
7813 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7814
7815 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7816 now that Emacs supports ImageMagick animations.
7817
7818 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7819
7820 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7821 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7822
7823 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7824
7825 * window.el (mouse-autoselect-window-select): Do autoselect when
7826 mouse pointer is on margin.
7827
7828 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7829
7830 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7831
7832 2013-08-16 Glenn Morris <rgm@gnu.org>
7833
7834 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7835 Handle "Remote Directory" response of some clients. (Bug#15058)
7836
7837 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7838 Tweak warning. (Bug#14926)
7839
7840 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7841 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7842
7843 * image-mode.el (image-mode-map): Add menu items to reverse,
7844 increase, decrease, reset animation speed.
7845 (image--set-speed, image-increase-speed, image-decrease-speed)
7846 (image-reverse-speed, image-reset-speed): New functions.
7847 (image-mode-map): Add bindings for speed commands.
7848
7849 * image.el (image-animate-get-speed, image-animate-set-speed):
7850 New functions.
7851 (image-animate-timeout): Respect image :speed property.
7852
7853 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7856 previous line (bug#15101).
7857 (debugger-eval-expression, debugger-record-expression):
7858 Use read--expression (bug#15102).
7859
7860 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7861
7862 Remove byte compiler warnings, visible when compiling with
7863 `byte-compile-force-lexical-warnings' set to t.
7864
7865 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7866 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7867 (tramp-handle-unhandled-file-name-directory)
7868 (tramp-handle-file-notify-add-watch, tramp-action-login)
7869 (tramp-action-succeed, tramp-action-permission-denied)
7870 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7871 arguments with "_".
7872
7873 * net/tramp-adb.el (tramp-adb-parse-device-names)
7874 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7875 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7876 (tramp-adb-handle-file-truename): Remove unused arguments.
7877
7878 * net/tramp-cache.el (tramp-flush-directory-property)
7879 (tramp-flush-connection-property, tramp-list-connections)
7880 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7881
7882 * net/tramp-compat.el (tramp-compat-make-temp-file):
7883 Rename FILENAME to F.
7884
7885 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7886 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7887 (tramp-zeroconf-parse-workstation-device-names)
7888 (tramp-zeroconf-parse-webdav-device-names)
7889 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7890
7891 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7892 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7893
7894 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7895 arguments.
7896 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7897 (tramp-sh-handle-insert-file-contents-literally)
7898 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7899 with "_".
7900 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7901 Remove unused variables.
7902
7903 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7904 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7905 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7906
7907 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7908 Make them a defconst.
7909 (tramp-uuencode-region): Remove unused variable.
7910
7911 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * frameset.el (frameset--prop-setter): New function.
7914 (frameset-prop): Add gv-setter declaration.
7915 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7916 parameter was already set in FILTERED. Doc fix.
7917 (frameset--record-minibuffer-relationships): Allow saving a
7918 minibufferless frame without its corresponding minibuffer frame.
7919 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7920 frame, if the frame id matches.
7921 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7922 frames before orphaned ones.
7923 (frameset-restore): Warn about orphaned windows, instead of error out.
7924
7925 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7926
7927 * window.el (window-make-atom): Don't overwrite parameter
7928 already present.
7929 (display-buffer-in-atom-window): Handle special case where we
7930 split an already atomic window.
7931 (window--major-non-side-window, display-buffer-in-side-window)
7932 (window--side-check): Ignore minibuffer window when walking
7933 window tree.
7934 (window-deletable-p): Return 'frame only if no other frame uses
7935 our minibuffer window.
7936 (record-window-buffer): Run buffer-list-update-hook.
7937 (split-window): Make sure window--check-frame won't destroy an
7938 existing atomic window in case the new window gets nested
7939 inside.
7940 (display-buffer-at-bottom): Ignore minibuffer window when
7941 walking window tree. Don't split a side window.
7942 (pop-to-buffer): Don't set-buffer here, the select-window call
7943 should do that.
7944 (mouse-autoselect-window-select): Autoselect only if we are in the
7945 text portion of the window.
7946
7947 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7948
7949 * net/shr.el (shr-parse-image-data): New function to grab both the
7950 data itself and the Content-Type.
7951 (shr-put-image): Use it.
7952
7953 * net/eww.el (eww-display-image): Ditto.
7954
7955 * image.el (image-content-type-suffixes): New variable.
7956
7957 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7958
7959 * progmodes/python.el (python-imenu--build-tree)
7960 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7961
7962 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7963
7964 * simple.el (backward-word): Mention the optional argument.
7965
7966 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * frameset.el (frameset--make): Rename constructor from make-frameset.
7969 (frameset-p, frameset-valid-p): Don't autoload.
7970 (frameset-valid-p): Use normal accessors.
7971
7972 2013-08-13 Glenn Morris <rgm@gnu.org>
7973
7974 * progmodes/compile.el (compile-command): Tweak example in doc.
7975 * obsolete/scribe.el (scribe-mode):
7976 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7977
7978 * mail/feedmail.el (feedmail-confirm-outgoing)
7979 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7980
7981 * cus-start.el (truncate-partial-width-windows): Fix type.
7982
7983 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7984
7985 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7986
7987 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * emacs-lisp/timer.el (timer--time-setter): New function.
7990 (timer--time): Use it as gv-setter.
7991
7992 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7993 setter is not a symbol.
7994
7995 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7996
7997 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7998 if sending fails. This makes debugging easier.
7999
8000 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8001
8002 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8003 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8004 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8005
8006 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8007
8008 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8009
8010 2013-08-12 Glenn Morris <rgm@gnu.org>
8011
8012 * format.el (format-annotate-function):
8013 Handle read-only text properties in the source. (Bug#14887)
8014
8015 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * net/eww.el (eww-display-html): Ignore coding system errors.
8018 One web site uses "utf-8lias" as the coding system.
8019
8020 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8023
8024 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8025
8026 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8027 (tutorial--detailed-help): Remove unused local variables.
8028 (tutorial--save-tutorial-to): Use ignore-errors.
8029 (help-with-tutorial): Use looking-at-p.
8030
8031 * view.el (view-buffer-other-window, view-buffer-other-frame):
8032 Mark unused arguments.
8033
8034 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8035 (woman-select-symbol-fonts, woman, woman-find-file)
8036 (woman-insert-file-contents, woman-non-underline-faces):
8037 Use string-match-p.
8038 (woman1-unquote): Move declaration.
8039
8040 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8041 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8042 argument. Remove unused local variable.
8043 (xml-parse-elem-type): Use string-match-p.
8044 (xml-substitute-numeric-entities): Use ignore-errors.
8045
8046 * calculator.el (calculator): Mark unused argument.
8047 (calculator-paste, calculator-quit, calculator-integer-p):
8048 Use ignore-errors.
8049 (calculator-string-to-number, calculator-decimal, calculator-exp)
8050 (calculator-op-or-exp): Use string-match-p.
8051
8052 * dired.el (dired-buffer-more-recently-used-p): Declare.
8053 (dired-insert-set-properties, dired-insert-old-subdirs):
8054 Use ignore-errors.
8055
8056 * dired-aux.el (dired-compress): Use ignore-errors.
8057 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8058 (dired-do-async-shell-command, dired-do-shell-command)
8059 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8060 (dired-insert-subdir-validate): Use string-match-p.
8061 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8062 (dired-add-entry): Use string-match-p, looking-at-p.
8063 (dired-insert-subdir-newpos): Remove unused local variable.
8064
8065 * filenotify.el (file-notify-callback): Remove unused local variable.
8066
8067 * filesets.el (filesets-error): Mark unused argument.
8068 (filesets-which-command-p, filesets-filter-dir-names)
8069 (filesets-directory-files, filesets-get-external-viewer)
8070 (filesets-ingroup-get-data): Use string-match-p.
8071
8072 * find-file.el (ff-other-file-name, ff-other-file-name)
8073 (ff-find-the-other-file, ff-cc-hh-converter):
8074 Remove unused local variables.
8075 (ff-get-file-name): Use string-match-p.
8076 (ff-all-dirs-under): Use ignore-errors.
8077
8078 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8079 (follow-select-if-visible): Remove unused local variable.
8080
8081 * forms.el (read-file-filter): Move declaration.
8082 (forms--make-format, forms--make-parser, forms-insert-record):
8083 Quote function with #'.
8084 (forms--update): Use string-match-p. Quote function with #'.
8085
8086 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8087 (help-make-xrefs): Use looking-at-p.
8088 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8089
8090 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8091 (ibuffer-confirm-operation-on): Use string-match-p.
8092
8093 * msb.el (msb-item-handler, msb-dired-item-handler):
8094 Mark unused arguments.
8095
8096 * ses.el (ses-decode-cell-symbol)
8097 (ses-kill-override): Remove unused local variable.
8098 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8099 (ses-load): Use ignore-errors, looking-at-p.
8100 (ses-jump-safe): Use ignore-errors.
8101 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8102
8103 * tabify.el (untabify, tabify): Mark unused arguments.
8104
8105 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8106 Mark unused argument.
8107 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8108 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8109
8110 * emacs-lisp/timer.el (timer--time): Define setter with
8111 gv-define-setter to avoid deprecation warning.
8112
8113 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8114 (*record-cmpl-statistics-p*): Remove (was commented out).
8115 (cmpl-statistics-block): Remove (body was commented out).
8116 All callers changed.
8117 (add-completions-from-buffer, load-completions-from-file):
8118 Remove unused variables.
8119
8120 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8121
8122 * filecache.el (file-cache-delete-file-list):
8123 Print message only when told so.
8124 (file-cache-files-matching): Use #' in mapconcat argument.
8125
8126 * ffap.el (ffap-url-at-point): Fix reference to variable
8127 thing-at-point-default-mail-uri-scheme.
8128
8129 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * subr.el (define-error): New function.
8132 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8133 error-file-not-found and define with define-error.
8134 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8135 and define with define-error.
8136 * userlock.el (file-locked, file-supersession):
8137 * simple.el (mark-inactive):
8138 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8139 * progmodes/ada-mode.el (ada-mode-errors):
8140 * play/life.el (life-extinct):
8141 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8142 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8143 * nxml/rng-util.el (rng-error):
8144 * nxml/rng-uri.el (rng-uri-error):
8145 * nxml/rng-match.el (rng-compile-error):
8146 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8147 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8148 * nxml/nxml-rap.el (nxml-scan-error):
8149 * nxml/nxml-outln.el (nxml-outline-error):
8150 * net/soap-client.el (soap-error):
8151 * net/gnutls.el (gnutls-error):
8152 * net/ange-ftp.el (ftp-error):
8153 * mpc.el (mpc-proc-error):
8154 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8155 (json-number-format, json-string-escape, json-string-format)
8156 (json-key-format, json-object-format):
8157 * jka-compr.el (compression-error):
8158 * international/quail.el (quail-error):
8159 * international/kkc.el (kkc-error):
8160 * emacs-lisp/ert.el (ert-test-failed):
8161 * calc/calc.el (calc-error, inexact-result, math-overflow)
8162 (math-underflow):
8163 * bookmark.el (bookmark-error-no-filename):
8164 * epg.el (epg-error): Define with define-error.
8165
8166 * time.el (display-time-event-handler)
8167 (display-time-next-load-average): Don't call sit-for since it seems
8168 unnecessary (bug#15045).
8169
8170 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8171 Use #' instead of ' to quote functions.
8172 (checkdoc-output-mode): Use setq-local.
8173 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8174 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8175 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8176 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8177 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8178 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8179 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8180 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8181
8182 * ido.el (ido-completion-help): Fix up compiler warning.
8183
8184 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8185
8186 * frameset.el (frameset-p): Add autoload cookie.
8187 (frameset--jump-to-register): New function, based on code moved from
8188 register.el.
8189 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8190
8191 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8192 (frameset-restore, frameset-save, frameset-session-filter-alist):
8193 Remove declarations.
8194 (register-alist): Doc fix.
8195 (frameset-to-register): Move to frameset.el.
8196 (jump-to-register, describe-register-1): Remove frameset-specific code.
8197
8198 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8199
8200 * allout-widgets.el (allout-widgets-pre-command-business)
8201 (allout-widgets-post-command-business)
8202 (allout-widgets-after-change-handler)
8203 (allout-decorate-item-and-context, allout-set-boundary-marker)
8204 (allout-body-modification-handler)
8205 (allout-graphics-modification-handler): Mark ignored arguments.
8206 (allout-widgets-post-command-business)
8207 (allout-widgets-exposure-change-processor)
8208 (allout-widgets-exposure-undo-processor)
8209 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8210 (allout-parse-item-at-point, allout-decorate-item-guides)
8211 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8212 * allout.el (epa-passphrase-callback-function): Declare.
8213 (allout-overlay-insert-in-front-handler)
8214 (allout-overlay-interior-modification-handler)
8215 (allout-isearch-end-handler, allout-chart-siblings)
8216 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8217 (allout-yank-processing, allout-process-exposed)
8218 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8219 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8220 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8221 (lisp-indent-defform): Mark ignored arguments.
8222 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8223 (calculate-lisp-indent): Remove unused variables.
8224 * international/characters.el (indian-2-column, arabic-2-column)
8225 (tibetan): Mark ignored arguments.
8226 (use-cjk-char-width-table): Mark ignored arguments.
8227 Remove unused variables.
8228 * international/fontset.el (build-default-fontset-data)
8229 (x-compose-font-name, create-fontset-from-fontset-spec):
8230 Mark ignored arguments.
8231 (fontset-plain-name): Remove unused variables.
8232 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8233 (keyboard-coding-system): Mark ignored arguments.
8234 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8235 * help.el (resize-temp-buffer-window):
8236 * window.el (display-buffer-in-major-side-window)
8237 (display-buffer-in-side-window, display-buffer-in-previous-window):
8238 Remove unused variables.
8239 * isearch.el (isearch-forward-symbol):
8240 * version.el (emacs-bzr-version-bzr):
8241 * international/mule-cmds.el (current-language-environment):
8242 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8243 (x-handle-display):
8244 * term/pc-win.el (x-list-fonts, x-display-planes)
8245 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8246 (x-server-version, x-display-screens, x-display-mm-height)
8247 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8248 (x-selection-owner-p, x-own-selection-internal)
8249 (x-disown-selection-internal, x-get-selection-internal)
8250 (msdos-initialize-window-system):
8251 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8252 * term/x-win.el (x-handle-no-bitmap-icon):
8253 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8254 (vc-default-find-file-hook, vc-default-extra-menu):
8255 Mark ignored arguments.
8256
8257 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8260 break-condition in the context of the debugged code (bug#12685).
8261
8262 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8263
8264 * comint.el:
8265 Do not use an overlay to highlight the last prompt. (Bug#14744)
8266 (comint-mode): Make comint-last-prompt buffer local.
8267 (comint-last-prompt): New variable.
8268 (comint-last-prompt-overlay): Remove. Superseded by
8269 comint-last-prompt.
8270 (comint-snapshot-last-prompt, comint-output-filter):
8271 Use comint-last-prompt.
8272
8273 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8274
8275 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8276 (frameset-save): Check validity of the resulting frameset.
8277
8278 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8279
8280 * ido.el (ido-record-command): Add doc string.
8281
8282 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * frameset.el (frameset): Do not disable creation of the default
8285 frameset-p predicate. Doc fix.
8286 (frameset-valid-p): New function, copied from the old predicate-p.
8287 Add additional checks.
8288 (frameset-restore): Check with frameset-valid-p.
8289 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8290 (frameset-name, frameset-description, frameset-properties)
8291 (frameset-states): Add docstring.
8292 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8293 (frameset-filter-alist): Doc fixes.
8294
8295 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8296
8297 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8298
8299 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8302 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8303 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8304 (byte-compile-normal-call): Remove obsolescence check.
8305
8306 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8307
8308 * frameset.el (frameset-restore): Doc fix.
8309
8310 * register.el (frameset-frame-id, frameset-frame-with-id)
8311 (frameset-p, frameset-restore, frameset-save): Declare.
8312 (register-alist): Document framesets.
8313 (frameset-session-filter-alist): Declare.
8314 (frameset-to-register): New function.
8315 (jump-to-register): Implement jumping to framesets. Doc fix.
8316 (describe-register-1): Describe framesets.
8317
8318 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8319
8320 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8321
8322 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8323 Use lexical-binding.
8324
8325 * frameset.el (frameset): Use type vector, not list (incompatible
8326 change). Do not declare a new constructor, use the default one.
8327 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8328 `name' and `description', respectively, and add read-only slot
8329 `timestamp'. Doc fixes.
8330 (frameset-copy, frameset-persistent-filter-alist)
8331 (frameset-filter-alist, frameset-switch-to-gui-p)
8332 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8333 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8334 (frameset-filter-iconified, frameset-keep-original-display-p):
8335 Doc fixes.
8336 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8337 Rename from frameset-filter-(save|restore)-param. All callers changed.
8338 Doc fix.
8339 (frameset-p): Adapt to change to vector and be more thorough.
8340 Change arg name to OBJECT. Doc fix.
8341 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8342 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8343 All callers changed.
8344 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8345 All callers changed.
8346 (frameset--record-minibuffer-relationships): Rename from
8347 frameset--process-minibuffer-frames. All callers changed.
8348 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8349 Use new default constructor (again). Doc fix.
8350 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8351 All callers changed.
8352 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8353 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8354 Doc fix.
8355 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8356 PARAMETERS and WINDOW-STATE, respectively.
8357 (frameset-restore): Add new keyword argument PREDICATE.
8358 Reset frameset--target-display to nil. Doc fix.
8359
8360 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8363 (bat-mode): Use it.
8364 (bat-mode-syntax-table): Mark \n as end-of-comment.
8365 (bat-font-lock-keywords): Remove comment rule.
8366
8367 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8368 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8369
8370 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8371 (byte-compile-callargs-warn): Use `push'.
8372 (byte-compile-arglist-warn): Ignore higher-order "calls".
8373 (byte-compile-file-form-autoload): Use `pcase'.
8374 (byte-compile-function-form): If quoting a symbol, check that it exists.
8375
8376 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8377
8378 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8379 and add a few popular commands found in batch files.
8380 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8381 (dos-mode): Doc fixes.
8382
8383 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8384
8385 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8386 (dos-mode): Use setq-local. Add space after "rem".
8387 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8388 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8389
8390 2013-08-07 Arni Magnusson <arnima@hafro.is>
8391
8392 * progmodes/dos.el: New file.
8393 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8394 dos-mode.
8395
8396 2013-08-06 Glenn Morris <rgm@gnu.org>
8397
8398 * calendar/calendar.el: Add new faces, and day-header-array.
8399 (calendar-weekday-header, calendar-weekend-header)
8400 (calendar-month-header): New faces.
8401 (calendar-day-header-construct): New function.
8402 (calendar-day-header-width): Also :set calendar-day-header-array.
8403 (calendar-american-month-header, calendar-european-month-header)
8404 (calendar-iso-month-header): Use calendar- faces.
8405 (calendar-generate-month):
8406 Use calendar-day-header-array for day headers; apply faces to them.
8407 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8408 (calendar-abbrev-construct): Add optional maxlen argument.
8409 (calendar-day-name-array): Doc fix.
8410 (calendar-day-name-array, calendar-abbrev-length)
8411 (calendar-day-abbrev-array):
8412 Also :set calendar-day-header-array, and maybe redraw.
8413 (calendar-day-header-array): New option. (Bug#15007)
8414 (calendar-font-lock-keywords): Set to nil and make obsolete.
8415 (calendar-day-name): Add option to use header array.
8416
8417 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8418
8419 * net/shr.el (shr-render-td): Remove debugging.
8420 (shr-render-td): Make width computation consistent by defaulting
8421 all zero-width columns to 10 characters. This may not be optimal,
8422 but it's at least consistent.
8423 (shr-make-table-1): Redo last change to fix the real problem in
8424 colspan handling.
8425
8426 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8427
8428 * files.el (cache-long-line-scans):
8429 Make obsolete alias to `cache-long-scans'.
8430
8431 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * frameset.el (frameset, frameset-filter-alist)
8434 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8435 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8436 (frameset-compute-pos): Rename from frameset--compute-pos,
8437 and add docstring.
8438 (frameset-move-onscreen): Use frameset-compute-pos.
8439 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8440
8441 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8442 Fix typos in docstrings.
8443
8444 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8445
8446 * frame.el (get-other-frame): Tiny cleanup.
8447
8448 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * vc/vc.el (vc-default-ignore-completion-table):
8451 Silence byte-compiler warning.
8452
8453 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8454 slot, which can indeed be nil.
8455 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8456 Move entry for `left' from persistent to live filter alist.
8457 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8458 Doc fixes.
8459 (frameset-filter-params): When restoring a frame, copy items added to
8460 `filtered', to avoid unwittingly modifying the original parameters.
8461 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8462 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8463
8464 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8465 to use looking-at-p instead of looking-at. (Bug#15028)
8466
8467 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 Revert introduction of isearch-filter-predicates (bug#14714).
8470 Rely on add-function instead.
8471 * isearch.el (isearch-filter-predicates): Rename it back to
8472 isearch-filter-predicate.
8473 (isearch-message-prefix): Use advice-function-mapc and advice
8474 properties to get the isearch-message-prefix.
8475 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8476 instead of run-hook-with-args-until-failure.
8477 (isearch-filter-visible): Not obsolete any more.
8478 * loadup.el: Preload nadvice.
8479 * replace.el (perform-replace): Revert to funcall
8480 instead of run-hook-with-args-until-failure.
8481 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8482 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8483 dired-isearch-filenames-toggle; make it into a proper minor mode.
8484 Use add/remove-function.
8485 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8486 Call the minor-mode rather than add/remove-hook.
8487 (dired-isearch-filter-filenames):
8488 Remove isearch-message-prefix property.
8489 * info.el (Info--search-loop): New function, extracted from Info-search.
8490 Funcall isearch-filter-predicate instead of
8491 run-hook-with-args-until-failure isearch-filter-predicates.
8492 (Info-search): Use it.
8493 (Info-mode): Use isearch-filter-predicate instead of
8494 isearch-filter-predicates.
8495
8496 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8497
8498 Do not call to `selected-window' where it is assumed by default.
8499 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8500 `window-hscroll', `window-width', `window-height', `window-buffer',
8501 `window-frame', `window-start', `window-point', `next-window'
8502 and `window-display-table'.
8503 * abbrev.el (abbrev--default-expand):
8504 * bs.el (bs--show-with-configuration):
8505 * buff-menu.el (Buffer-menu-mouse-select):
8506 * calc/calc.el (calc):
8507 * calendar/calendar.el (calendar-generate-window):
8508 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8509 (diary-make-entry):
8510 * comint.el (send-invisible, comint-dynamic-complete-filename)
8511 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8512 * completion.el (complete):
8513 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8514 * disp-table.el (describe-current-display-table):
8515 * doc-view.el (doc-view-insert-image):
8516 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8517 * ehelp.el (with-electric-help):
8518 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8519 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8520 * emacs-lisp/helper.el (Helper-help-scroller):
8521 * emulation/cua-base.el (cua--post-command-handler-1):
8522 * eshell/esh-mode.el (eshell-output-filter):
8523 * ffap.el (ffap-gnus-wrapper):
8524 * help-macro.el (make-help-screen):
8525 * hilit-chg.el (highlight-compare-buffers):
8526 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8527 * hl-line.el (global-hl-line-highlight):
8528 * icomplete.el (icomplete-simple-completing-p):
8529 * isearch.el (isearch-done):
8530 * jit-lock.el (jit-lock-stealth-fontify):
8531 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8532 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8533 * mpc.el (mpc-tagbrowser, mpc):
8534 * net/rcirc.el (rcirc-any-buffer):
8535 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8536 * play/landmark.el (landmark-max-width, landmark-max-height):
8537 * play/zone.el (zone):
8538 * progmodes/compile.el (compilation-goto-locus):
8539 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8540 * progmodes/etags.el (find-tag-other-window):
8541 * progmodes/fortran.el (fortran-column-ruler):
8542 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8543 * progmodes/verilog-mode.el (verilog-point-text):
8544 * reposition.el (reposition-window):
8545 * rot13.el (toggle-rot13-mode):
8546 * server.el (server-switch-buffer):
8547 * shell.el (shell-dynamic-complete-command)
8548 (shell-dynamic-complete-environment-variable):
8549 * simple.el (insert-buffer, set-selective-display)
8550 (delete-completion-window):
8551 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8552 (speedbar-recenter):
8553 * startup.el (fancy-splash-head):
8554 * textmodes/ispell.el (ispell-command-loop):
8555 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8556 * tutorial.el (help-with-tutorial):
8557 * vc/add-log.el (add-change-log-entry):
8558 * vc/compare-w.el (compare-windows):
8559 * vc/ediff-help.el (ediff-indent-help-message):
8560 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8561 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8562 (ediff-setup-control-frame):
8563 * vc/emerge.el (emerge-position-region):
8564 * vc/pcvs-util.el (cvs-bury-buffer):
8565 * window.el (walk-windows, mouse-autoselect-window-select):
8566 * winner.el (winner-set-conf, winner-undo): Related users changed.
8567
8568 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * frameset.el (frameset--set-id): Doc fix.
8571 (frameset-frame-id, frameset-frame-id-equal-p)
8572 (frameset-locate-frame-id): New functions.
8573 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8574 (frameset-restore): Use them.
8575
8576 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8577
8578 Do not call to `selected-frame' where it is assumed by default.
8579 Affected functions are `raise-frame', `redraw-frame',
8580 `frame-first-window', `frame-terminal' and `delete-frame'.
8581 * calendar/appt.el (appt-disp-window):
8582 * epg.el (epg-wait-for-completion):
8583 * follow.el (follow-delete-other-windows-and-split)
8584 (follow-avoid-tail-recenter):
8585 * international/mule.el (set-terminal-coding-system):
8586 * mail/rmail.el (rmail-mail-return):
8587 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8588 * progmodes/f90.el (f90-add-imenu-menu):
8589 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8590 * server.el (server-switch-buffer):
8591 * simple.el (delete-completion-window):
8592 * talk.el (talk):
8593 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8594 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8595 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8596 * vc/ediff.el (ediff-documentation): Related users changed.
8597 * frame.el (selected-terminal): Remove the leftover.
8598
8599 2013-08-05 Glenn Morris <rgm@gnu.org>
8600
8601 * calendar/calendar.el (calendar-generate-month):
8602 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8603 (calendar-generate-month, calendar-font-lock-keywords):
8604 Fix for calendar-day-header-width > length of any day name.
8605
8606 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * desktop.el (desktop-clear): Use new name of sort predicate.
8609
8610 * frameset.el (frameset): Add docstring. Move :version property to its
8611 own `version' slot.
8612 (frameset-copy): Rename from copy-frameset.
8613 (frameset-p): Check more thoroughly.
8614 (frameset-prop): Do not check for :version, which is no longer a prop.
8615 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8616 Use new :never value instead of t.
8617 (frameset-filter-alist): Expand and clarify docstring.
8618 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8619 (frameset-filter-minibuffer, frameset-filter-save-param)
8620 (frameset-filter-restore-param, frameset-filter-iconified):
8621 Add pointer to docstring of frameset-filter-alist.
8622 (frameset-filter-params): Rename filter values to be more meaningful:
8623 :never instead of t, and reverse the meanings of :save and :restore.
8624 (frameset--process-minibuffer-frames): Clarify error message.
8625 (frameset-save): Avoid unnecessary and confusing call to framep.
8626 Use new BOA constructor for framesets.
8627 (frameset--reuse-list): Doc fix.
8628 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8629 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8630 (frameset-minibufferless-first-p): Doc fix.
8631 Rename from frameset-sort-frames-for-deletion.
8632 (frameset-restore): Doc fixes. Use new function names.
8633 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8634
8635 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8636
8637 * desktop.el (desktop-restore-forces-onscreen)
8638 (desktop-restore-reuses-frames): Document :keyword constant values.
8639 (desktop-filter-parameters-alist): Remove, now identical to
8640 frameset-filter-alist.
8641 (desktop--filter-tty*): Remove, moved to frameset.el.
8642 (desktop-save-frameset, desktop-restore-frameset):
8643 Do not pass :filters argument.
8644
8645 * frameset.el (frameset-live-filter-alist)
8646 (frameset-persistent-filter-alist): New variables.
8647 (frameset-filter-alist): Use them. Add autoload cookie.
8648 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8649 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8650 `frameset--id' (it's supposed to be internal to frameset.el).
8651 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8652 (frameset--initial-params): New function.
8653 (frameset--get-frame): Use it. Doc fix.
8654 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8655 Accept :all, not 'all.
8656 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8657 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8658 with fbound symbols. Fix frame id matching, and remove matching ids if
8659 the frame being restored is deleted. Obey :delete.
8660
8661 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8662
8663 * subr.el (macrop): New function.
8664 (text-clone--maintaining): New var.
8665 (text-clone--maintain): Rename from text-clone-maintain. Use it
8666 instead of inhibit-modification-hooks.
8667
8668 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8669 a proxy, so as handle autoloads and redefinitions of the target.
8670 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8671
8672 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8673 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8674 (pcase--mutually-exclusive-p): New function.
8675 (pcase--split-consp): Use it.
8676 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8677 mutually exclusive with the current predicate.
8678
8679 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8680 (edebug-macrop): Remove. Use `macrop' instead.
8681 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8682 (ad-macro-p):
8683 * eshell/esh-cmd.el (eshell-macrop):
8684 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8685
8686 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8689 (advice-mapc): New function, using it.
8690 (advice-function-member-p): New function.
8691 (advice--normalize): Store the cdr in advice--saved-rewrite since
8692 that's the part that will be changed.
8693 (advice--symbol-function): New function.
8694 (advice-remove): Handle removal before the function is defined.
8695 Adjust to new advice--saved-rewrite.
8696 (advice-member-p): Use advice-function-member-p and
8697 advice--symbol-function.
8698
8699 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8700
8701 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8702 (frameset-filter-minibuffer): Doc fix.
8703 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8704 (frameset--set-id, frameset--process-minibuffer-frames)
8705 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8706 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8707
8708 * desktop.el (desktop-clear): Only delete frames when called
8709 interactively and desktop-restore-frames is non-nil. Doc fix.
8710 (desktop-read): Set desktop-saved-frameset to nil.
8711
8712 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8713
8714 * vc/vc.el (vc-ignore): Rewrite.
8715 (vc-default-ignore-completion-table, vc--read-lines)
8716 (vc--add-line, vc--remove-regexp): New functions.
8717
8718 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8719 (vc-svn-ignore-completion-table): New function.
8720
8721 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8722 (vc-hg-ignore-completion-table)
8723 (vc-hg-find-ignore-file): New functions.
8724
8725 * vc/vc-git.el (vc-git-ignore): Rewrite.
8726 (vc-git-ignore-completion-table)
8727 (vc-git-find-ignore-file): New functions.
8728
8729 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8730
8731 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8732 (vc-bzr-ignore-completion-table)
8733 (vc-bzr-find-ignore-file): New functions.
8734
8735 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8736
8737 * frameset.el (frameset-prop): New function and setter.
8738 (frameset-save): Do not modify frame list passed by the caller.
8739
8740 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8743
8744 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8747 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8748
8749 * custom.el (custom-initialize-default, custom-initialize-set)
8750 (custom-initialize-reset, custom-initialize-changed): Affect the
8751 toplevel-default-value (bug#6275, bug#14586).
8752 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8753 for bug#6275.
8754
8755 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8756
8757 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8758 Add cl-def* expressions.
8759
8760 * frameset.el (frameset-filter-params): Fix order of arguments.
8761
8762 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8763
8764 Move code related to saving frames to frameset.el.
8765 * desktop.el: Require frameset.
8766 (desktop-restore-frames): Doc fix.
8767 (desktop-restore-reuses-frames): Rename from
8768 desktop-restoring-reuses-frames.
8769 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8770 (desktop-clear): Clear frames too.
8771 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8772 (desktop--filter-tty*, desktop-save, desktop-read):
8773 Use frameset functions.
8774 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8775 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8776 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8777 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8778 (desktop--process-minibuffer-frames, desktop-save-frames)
8779 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8780 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8781 (desktop--sort-states, desktop-restoring-frames-p)
8782 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8783 (desktop-restoring-frameset-p, desktop-restore-frameset)
8784 (desktop--check-dont-save, desktop-save-frameset): New functions.
8785 (desktop--app-id): New constant.
8786 (desktop-first-buffer, desktop-buffer-ok-count)
8787 (desktop-buffer-fail-count): Move before first use.
8788 * frameset.el: New file.
8789
8790 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * files.el: Use lexical-binding.
8793 (dir-locals-read-from-file): Remove unused `err' variable.
8794 (hack-dir-local-variables--warned-coding): New var.
8795 (hack-dir-local-variables): Use it to avoid repeated warnings.
8796 (make-backup-file-name--default-function): New function.
8797 (make-backup-file-name-function): Use it as default.
8798 (buffer-stale--default-function): New function.
8799 (buffer-stale-function): Use it as default.
8800 (revert-buffer-insert-file-contents--default-function): New function.
8801 (revert-buffer-insert-file-contents-function): Use it as default.
8802 (insert-directory): Avoid add-to-list.
8803
8804 * autorevert.el (auto-revert-handler): Simplify.
8805 Use buffer-stale--default-function.
8806
8807 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8808
8809 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8810
8811 * whitespace.el (whitespace-ensure-local-variables): New function.
8812 (whitespace-cleanup-region): Call it.
8813 (whitespace-turn-on): Call it.
8814
8815 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8816
8817 Complete file name handlers.
8818
8819 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8820 (tramp-handle-verify-visited-file-modtime)
8821 (tramp-handle-file-notify-rm-watch): New functions.
8822 (tramp-call-process): Do not bind `default-directory'.
8823
8824 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8825 Order alphabetically.
8826 <access-file, add-name-to-file, dired-call-process>:
8827 <dired-compress-file, file-acl, file-notify-rm-watch>:
8828 <file-ownership-preserved-p, file-selinux-context>:
8829 <make-directory-internal, make-symbolic-link, set-file-acl>:
8830 <set-file-selinux-context, set-visited-file-modtime>:
8831 <verify-visited-file-modtime>: Add handler.
8832 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8833
8834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8835 <file-notify-add-watch, file-notify-rm-watch>:
8836 <set-file-times, set-visited-file-modtime>:
8837 <verify-visited-file-modtime>: Add handler.
8838 (with-tramp-gvfs-error-message)
8839 (tramp-gvfs-handle-set-visited-file-modtime)
8840 (tramp-gvfs-fuse-file-name): Remove.
8841 (tramp-gvfs-handle-file-notify-add-watch)
8842 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8843 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8844
8845 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8846 Order alphabetically.
8847 <file-notify-rm-watch>: Use default Tramp handler.
8848 <executable-find>: Remove private handler.
8849 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8850 `default-directory'.
8851 (tramp-sh-handle-executable-find)
8852 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8853 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8854 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8855 Do not use `format' in `tramp-message'.
8856
8857 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8858 <file-notify-rm-watch, set-visited-file-modtime>:
8859 <verify-visited-file-modtime>: Add handler.
8860 (tramp-smb-call-winexe): Do not bind `default-directory'.
8861
8862 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8863
8864 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8865
8866 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8867
8868 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8869 use it.
8870 (log-view-diff-changeset): Same.
8871 (log-view-diff-common): Call backend command `previous-revision'
8872 to find out the previous revision, in both cases. Swap the
8873 variables `to' and `fr', so that `fr' usually refers to the
8874 earlier revision (Bug#14989).
8875
8876 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8877
8878 * ibuf-ext.el (ibuffer-filter-by-filename):
8879 Make it work with dired buffers too.
8880
8881 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8882
8883 * emacs-lisp/re-builder.el (reb-color-display-p):
8884 * files.el (save-buffers-kill-terminal):
8885 * net/browse-url.el (browse-url):
8886 * server.el (server-save-buffers-kill-terminal):
8887 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8888 Prefer nil to selected-frame for the first arg of frame-parameter.
8889
8890 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8891
8892 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8893
8894 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8895
8896 * minibuffer.el (completion--twq-all): Try and preserve each
8897 completion's case choice (bug#14907).
8898
8899 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8900
8901 * net/network-stream.el (open-network-stream): Mention the new
8902 :nogreeting parameter.
8903 (network-stream-open-starttls): Use the :nogreeting parameter
8904 (bug#14938).
8905
8906 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8907
8908 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8909 more natural than popping.
8910
8911 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8912 (shr-urlify): Highlight under mouse.
8913
8914 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8915
8916 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8917
8918 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8919
8920 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8921 buffer for output.
8922
8923 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8924 point-min==1. Fix search string. Fix parentheses missing.
8925
8926 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8927 assume point-min==1. Fix search string. Fix parentheses missing.
8928
8929 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8930
8931 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8932 buffer for output.
8933
8934 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8935
8936 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8937 initial frame is minibuffer-less. (Bug#14841)
8938
8939 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8940
8941 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8942 option.
8943
8944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8945 (tramp-maybe-open-connection): Use it.
8946
8947 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8950 minimal set of parameters passed when creating a frame, because
8951 the minibuffer status of a frame cannot be changed later.
8952
8953 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8954
8955 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8956 replace-regexp-in-string and inadvertent omissions in previous change.
8957 (todo-filter-items): Ensure only file names are comma-separated in
8958 name of filtered items buffer.
8959
8960 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8961
8962 * desktop.el: Optionally force offscreen frames back onscreen.
8963 (desktop-restoring-reuses-frames): New option.
8964 (desktop--compute-pos, desktop--move-onscreen): New functions.
8965 (desktop--make-frame): Use desktop--move-onscreen.
8966
8967 2013-07-27 Alan Mackenzie <acm@muc.de>
8968
8969 Fontify a Java generic method as a function.
8970 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8971 value to t.
8972
8973 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8974
8975 * calendar/todo-mode.el: Add command to rename todo files.
8976 (todo-rename-file): New command.
8977 (todo-key-bindings-t): Add key binding for it. Change the
8978 bindings of todo-filter-regexp-items(-multifile) to use `x'
8979 instead of `r', since the latter is better suited to the new
8980 renaming command.
8981
8982 2013-07-27 Alan Mackenzie <acm@muc.de>
8983
8984 Make Java try-with-resources statement parse properly.
8985 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8986 (c-block-stmt-1-2-key): New language constants/variables.
8987 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8988 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8989 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8990 with c-block-stmt-1-2-key.
8991
8992 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8993
8994 * desktop.el (desktop--make-frame): Apply most frame parameters after
8995 creating the frame to force (partially or totally) offscreen frames to
8996 be restored as such.
8997
8998 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8999
9000 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9001 (Bug#14948)
9002
9003 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9006 `base' arg of backtrace-frame.
9007
9008 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9009
9010 * simple.el (list-processes): Doc fix.
9011
9012 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9013
9014 * desktop.el (desktop--select-frame):
9015 Try harder to reuse existing frames.
9016
9017 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9020 (edebug-eval): Use backtrace-eval.
9021 (edebug--display, edebug--recursive-edit): Don't let-bind the
9022 edebug-outer-* vars that keep track of variables we locally let-bind.
9023 (edebug-outside-excursion): Don't restore outside values of locally
9024 let-bound vars.
9025 (edebug--display): Use user-error.
9026 (cl-lexical-debug, cl-debug-env): Remove.
9027
9028 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9031 are restored to be sure that they are visible before deleting any
9032 remaining ones.
9033
9034 2013-07-26 Matthias Meulien <orontee@gmail.com>
9035
9036 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9037 vc-print-root-log. (Bug#14948)
9038
9039 2013-07-26 Richard Stallman <rms@gnu.org>
9040
9041 Add aliases for encrypting mail.
9042 * epa.el (epa-mail-aliases): New option.
9043 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9044 Bind inhibit-read-only so read-only text doesn't ruin everything.
9045 (epa-mail-default-recipients): New subroutine broken out.
9046 Handle epa-mail-aliases.
9047
9048 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 Add support for lexical variables to the debugger's `e' command.
9051 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9052 vars, except for debugger-outer-match-data.
9053 (debugger-frame-number): Move check for "on a function call" from
9054 callers into it. Add `skip-base' argument.
9055 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9056 (debugger-env-macro): Only reset the state stored in non-variables,
9057 i.e. current-buffer and match-data.
9058 (debugger-eval-expression): Rewrite using backtrace-eval.
9059 * subr.el (internal--called-interactively-p--get-frame): Remove.
9060 (called-interactively-p):
9061 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9062 `base' arg of backtrace-frame instead.
9063
9064 2013-07-26 Glenn Morris <rgm@gnu.org>
9065
9066 * align.el (align-regexp): Doc fix. (Bug#14857)
9067 (align-region): Explicit error if subexpression missing/does not match.
9068
9069 * simple.el (global-visual-line-mode):
9070 Do not duplicate the mode lighter. (Bug#14858)
9071
9072 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9073
9074 * window.el (display-buffer): In display-buffer bind
9075 split-window-keep-point to t, bug#14829.
9076
9077 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9078
9079 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9080 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9081 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9082 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9083 Change accordingly.
9084 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9085 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9086
9087 2013-07-25 Glenn Morris <rgm@gnu.org>
9088
9089 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9090
9091 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9092
9093 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9094 parameter to modify-frame-parameters if the value has not changed;
9095 this is a workaround for bug#14949.
9096 (desktop--make-frame): On cl-delete-if call, check parameter name,
9097 not full parameter.
9098
9099 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9100
9101 * vc/vc.el (vc-ignore): New function.
9102
9103 * vc/vc-svn.el (vc-svn-ignore): New function.
9104
9105 * vc/vc-hg.el (vc-hg-ignore): New function.
9106
9107 * vc/vc-git.el (vc-git-ignore): New function.
9108
9109 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9110 (vc-dir-ignore): New function.
9111
9112 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9113 (cvs-append-to-ignore): Move here from pcvs.el.
9114
9115 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9116
9117 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9118
9119 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9120
9121 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9122 (desktop-restore-frames): Warn when deleting an existing frame failed.
9123
9124 2013-07-24 Glenn Morris <rgm@gnu.org>
9125
9126 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9127
9128 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9129
9130 * filenotify.el (file-notify-supported-p):
9131 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9132 Remove functions.
9133
9134 * autorevert.el (auto-revert-use-notify)
9135 (auto-revert-notify-add-watch):
9136 * net/tramp.el (tramp-file-name-for-operation):
9137 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9138 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9139 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9140 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9141 Remove `file-notify-supported-p' entry.
9142
9143 2013-07-24 Glenn Morris <rgm@gnu.org>
9144
9145 * printing.el: Replace all uses of deleted ps-windows-system,
9146 ps-lp-system, ps-flatten-list with lpr- versions.
9147
9148 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9151 checked with memq (bug#14935).
9152
9153 * files.el (revert-buffer-function): Use a non-nil default.
9154 (revert-buffer-preserve-modes): Declare var to
9155 provide access to the `preserve-modes' argument.
9156 (revert-buffer): Let-bind it.
9157 (revert-buffer--default): New function, extracted from revert-buffer.
9158
9159 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * lpr.el: Signal print errors more prominently.
9162 (print-region-function): Don't default to nil.
9163 (lpr-print-region): New function, extracted from print-region-1.
9164 Check lpr's return value and signal an error in case of problem.
9165 (print-region-1): Use it.
9166 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9167 versions instead.
9168 (ps-printer-name): Default to nil.
9169 (ps-printer-name-option): Default to lpr-printer-switch.
9170 (ps-print-region-function): Don't default to nil.
9171 (ps-postscript-code-directory): Simplify default.
9172 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9173 (ps-string-list, ps-eval-switch, ps-flatten-list)
9174 (ps-flatten-list-1): Remove.
9175 (ps-multibyte-buffer): Avoid setq.
9176 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9177 (print-region-function, ps-print-region-function): Don't set them here.
9178
9179 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9180
9181 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9182 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9183 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9184 (ido-decorations): Doc fix.
9185
9186 * ansi-color.el: Fix old URL.
9187
9188 2013-07-23 Michael R. Mauger <michael@mauger.com>
9189
9190 * progmodes/sql.el: Version 3.3
9191 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9192 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9193 (sql-interactive-remove-continuation-prompt): Rewrite, use
9194 functions above. Fix continuation prompt and complete output line
9195 handling.
9196 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9197 redirected output buffer.
9198 (sql-mode): Restore deleted code (Bug#13591).
9199
9200 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9201
9202 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9203
9204 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9205
9206 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9207
9208 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9209 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9210 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9211
9212 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9213
9214 * desktop.el (desktop-clear): Simplify; remove useless checks
9215 against invalid buffer names.
9216 (desktop-list*): Use cl-list*.
9217 (desktop-buffer-info, desktop-create-buffer): Simplify.
9218
9219 2013-07-23 Leo Liu <sdl.web@gmail.com>
9220
9221 * bookmark.el (bookmark-make-record): Restore NAME as a default
9222 value. (Bug#14933)
9223
9224 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9227 extracted from autoload--insert-text.
9228 (autoload--insert-text): Remove.
9229 (autoload--print-cookie-text): New function, extracted from
9230 autoload--insert-cookie-text.
9231 (autoload--insert-cookie-text): Remove.
9232 (autoload-generate-file-autoloads): Adjust calls accordingly.
9233
9234 * winner.el (winner-hook-installed-p): Remove.
9235 (winner-mode): Simplify accordingly.
9236
9237 * subr.el (add-to-list): Fix compiler-macro when `append' is
9238 not constant. Don't use `cl-member' for the base case.
9239
9240 * progmodes/subword.el: Fix boundary case (bug#13758).
9241 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9242 own group.
9243 (subword-backward-regexp): Make it a constant.
9244 (subword-forward-internal): Don't treat a trailing capital as the
9245 beginning of a word.
9246
9247 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9248
9249 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9250 global value of tabulated-list-revert-hook (bug#14930).
9251
9252 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9253
9254 * desktop.el: Require 'cl-lib.
9255 (desktop-before-saving-frames-functions): New hook.
9256 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9257 for frames being saved. Rename from desktop--save-minibuffer-frames.
9258 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9259 Do not save frames with non-nil `desktop-dont-save' parameter.
9260 Filter out deleted frames.
9261 (desktop--find-frame): Use cl-find-if.
9262 (desktop--select-frame): Use cl-(first|second|third) to access values
9263 of desktop-mini.
9264 (desktop--make-frame): Use cl-delete-if.
9265 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9266 (desktop-restore-frames): Use cl-(first|second|third) to access values
9267 of desktop-mini. Look for visible frame at the end, not while
9268 restoring frames.
9269
9270 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9271 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9272 Use string-match-p, looking-at-p (bug#14927).
9273
9274 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9275
9276 * desktop.el (desktop-saved-frame-states):
9277 Rename from desktop--saved-states; all users changed.
9278 (desktop-save-frames): Rename from desktop--save-frames.
9279 Do not save state to desktop file.
9280 (desktop-save): Save desktop-saved-frame-states to desktop file
9281 and reset to nil.
9282 (desktop-restoring-frames-p): New function.
9283 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9284 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9285 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9286
9287 * desktop.el: Correctly restore iconified frames.
9288 (desktop--filter-iconified-position): New function.
9289 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9290
9291 2013-07-20 Glenn Morris <rgm@gnu.org>
9292
9293 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9294 Let `message' do the formatting.
9295 (def-gdb-preempt-display-buffer): Add explicit format.
9296
9297 * image-dired.el (image-dired-track-original-file):
9298 Use with-current-buffer.
9299 (image-dired-track-thumbnail): Use with-current-buffer.
9300 Avoid changing point of wrong window.
9301
9302 * image-dired.el (image-dired-track-original-file):
9303 Avoid changing point of wrong window. (Bug#14909)
9304
9305 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9306
9307 * progmodes/gdb-mi.el (gdb-done-or-error):
9308 Guard against "%" in gdb output. (Bug#14127)
9309
9310 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9311
9312 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9313 (Bug#14826)
9314
9315 * international/mule.el (coding-system-iso-2022-flags): Fix last
9316 change.
9317
9318 2013-07-20 Kenichi Handa <handa@gnu.org>
9319
9320 * international/mule.el (coding-system-iso-2022-flags):
9321 Add `8-bit-level-4'. (Bug#8522)
9322
9323 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9324
9325 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9326 (bug#14815).
9327
9328 * net/eww.el (eww-process-text-input): Allow inputting when the
9329 point is at the start of the line, as the properties aren't
9330 front-sticky.
9331
9332 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9333 degenerate widths.
9334
9335 2013-07-19 Richard Stallman <rms@gnu.org>
9336
9337 * epa.el (epa-popup-info-window): Doc fix.
9338
9339 * subr.el (split-string): New arg TRIM.
9340
9341 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9342
9343 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9344 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9345
9346 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9347
9348 * filenotify.el (file-notify--library): Rename from
9349 `file-notify-support'. Do not autoload. Adapt all uses.
9350 (file-notify-supported-p): New defun.
9351
9352 * autorevert.el (auto-revert-use-notify):
9353 Use `file-notify-supported-p' instead of `file-notify-support'.
9354 Adapt docstring.
9355 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9356
9357 * net/tramp.el (tramp-file-name-for-operation):
9358 Add `file-notify-supported-p'.
9359
9360 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9361 New defun.
9362 (tramp-sh-file-name-handler-alist): Add it as handler for
9363 `file-notify-supported-p '.
9364
9365 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9366 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9367 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9368 Add `ignore' as handler for `file-notify-*' functions.
9369
9370 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9371
9372 * simple.el (line-move-partial, line-move): Don't start vscroll or
9373 scroll-up if the current line is not taller than the window.
9374 (Bug#14881)
9375
9376 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9377
9378 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9379 highlight question marks in the method names as strings.
9380 (ruby-block-beg-keywords): Inline.
9381 (ruby-font-lock-keyword-beg-re): Extract from
9382 `ruby-font-lock-keywords'.
9383
9384 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9385
9386 * frame.el (blink-cursor-blinks): New defcustom.
9387 (blink-cursor-blinks-done): New defvar.
9388 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9389 (blink-cursor-timer-function): Check if number of blinks has been
9390 done on X and NS.
9391 (blink-cursor-suspend, blink-cursor-check): New defuns.
9392
9393 2013-07-15 Glenn Morris <rgm@gnu.org>
9394
9395 * edmacro.el (edmacro-format-keys): Fix previous change.
9396
9397 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9398
9399 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9400 The hack didn't work outside English locales anyway.
9401
9402 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9403
9404 * simple.el (define-alternatives): Rename from alternatives-define,
9405 per RMS' suggestion.
9406
9407 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9408
9409 * desktop.el (desktop-restore-frames): Change default to t.
9410 (desktop-restore-in-current-display): Now offer more options.
9411 (desktop-restoring-reuses-frames): New customization option.
9412 (desktop--saved-states): Doc fix.
9413 (desktop-filter-parameters-alist): New variable, renamed and expanded
9414 from desktop--excluded-frame-parameters.
9415 (desktop--target-display): New variable.
9416 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9417 (desktop--filter-tty*, desktop--filter-*-color)
9418 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9419 (desktop--filter-save-desktop-parm)
9420 (desktop-restore-in-original-display-p): New functions.
9421 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9422 (desktop--save-minibuffer-frames): New function, inspired by a similar
9423 function from Martin Rudalics.
9424 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9425 (desktop--restore-in-this-display-p): Remove.
9426 (desktop--find-frame): Rename from desktop--find-frame-in-display
9427 and add predicate argument.
9428 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9429 (desktop--reuse-list): New variable.
9430 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9431 New functions.
9432 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9433
9434 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9435
9436 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9437
9438 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9439
9440 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9441 Highlight conversion methods on Kernel.
9442
9443 2013-07-13 Alan Mackenzie <acm@muc.de>
9444
9445 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9446 and comment it out. This out-commenting enables certain C++
9447 declarations to be parsed correctly.
9448
9449 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9450
9451 * international/mule.el (define-coding-system): Doc fix.
9452
9453 * simple.el (default-font-height): Don't call font-info if the
9454 frame's default font didn't change since the frame was created.
9455 (Bug#14838)
9456
9457 2013-07-13 Leo Liu <sdl.web@gmail.com>
9458
9459 * ido.el (ido-read-file-name): Guard against non-symbol value.
9460
9461 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9462
9463 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9464 in nested defuns.
9465
9466 2013-07-13 Leo Liu <sdl.web@gmail.com>
9467
9468 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9469 ido-set-matches call. (Bug#6852)
9470
9471 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9472
9473 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9474 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9475 Ruby 2.0.
9476 (ruby-font-lock-keywords): Distinguish calls to functions with
9477 module-like names from module references. Highlight character
9478 literals.
9479
9480 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9481
9482 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9483 (gdb-send): Handle continued commands. (Bug#14847)
9484
9485 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9486
9487 * desktop.el (desktop--v2s): Remove unused local variable.
9488 (desktop-save-buffer): Make defvar-local; adjust docstring.
9489 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9490 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9491
9492 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9493
9494 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9495
9496 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9497
9498 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9499 (Bug#14842)
9500
9501 2013-07-12 Glenn Morris <rgm@gnu.org>
9502
9503 * doc-view.el: Require cl-lib at runtime too.
9504 (doc-view-remove-if): Remove.
9505 (doc-view-search-next-match, doc-view-search-previous-match):
9506 Use cl-remove-if.
9507
9508 * edmacro.el: Require cl-lib at runtime too.
9509 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9510 (edmacro-mismatch, edmacro-subseq): Remove.
9511
9512 * shadowfile.el: Require cl-lib.
9513 (shadow-remove-if): Remove.
9514 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9515 Use cl-remove-if.
9516
9517 * wid-edit.el: Require cl-lib.
9518 (widget-choose): Use cl-remove-if.
9519 (widget-remove-if): Remove.
9520
9521 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9522 (ebrowse-delete-if-not): Remove.
9523 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9524 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9525 Use cl-delete-if-not.
9526
9527 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9528
9529 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9530 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9531
9532 2013-07-12 Leo Liu <sdl.web@gmail.com>
9533
9534 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9535
9536 2013-07-11 Glenn Morris <rgm@gnu.org>
9537
9538 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9539 (edebug-gensym-index, edebug-gensym):
9540 Remove reimplementation of cl-gensym.
9541 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9542
9543 * thumbs.el: Require cl-lib at run-time too.
9544 (thumbs-gensym-counter, thumbs-gensym):
9545 Remove reimplementation of cl-gensym.
9546 (thumbs-temp-file): Use cl-gensym.
9547
9548 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9549 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9550 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9551 (ert--union, ert--gensym-counter, ert--gensym-counter)
9552 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9553 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9554 (ert-make-test-unbound, ert--expand-should-1)
9555 (ert--expand-should, ert--should-error-handle-error)
9556 (should-error, ert--explain-equal-rec)
9557 (ert--plist-difference-explanation, ert-select-tests)
9558 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9559 Use cl-lib functions rather than reimplementations.
9560
9561 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9562
9563 * net/tramp.el (tramp-methods): Extend docstring.
9564 (tramp-connection-timeout): New defcustom.
9565 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9566 (with-tramp-progress-reporter): Simplify.
9567 (tramp-process-actions): Improve messages.
9568
9569 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9570 * net/tramp-sh.el (tramp-maybe-open-connection):
9571 Use `tramp-connection-timeout'.
9572 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9573 (Bug#14808)
9574
9575 2013-07-11 Leo Liu <sdl.web@gmail.com>
9576
9577 * ido.el (ido-read-file-name): Conform to the requirements of
9578 read-file-name. (Bug#11861)
9579 (ido-read-directory-name): Conform to the requirements of
9580 read-directory-name.
9581
9582 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9583
9584 * subr.el (delay-warning): New function.
9585
9586 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9587
9588 * simple.el (default-line-height): New function.
9589 (line-move-partial, line-move): Use it instead of computing the
9590 line height inline.
9591 (line-move-partial): Always compute ROWH. If the last line is
9592 partially-visible, but its text is completely visible, allow
9593 cursor to enter such a partially-visible line.
9594
9595 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9596
9597 Improve error messages. (Bug#14808)
9598
9599 * net/tramp.el (tramp-current-connection): New defvar, moved from
9600 tramp-sh.el.
9601 (tramp-message-show-progress-reporter-message): Remove, not
9602 needed anymore.
9603 (tramp-error-with-buffer): Show message in minibuffer.
9604 Discard input before waiting. Reset connection timestamp.
9605 (with-tramp-progress-reporter): Improve messages.
9606 (tramp-process-actions): Use progress reporter. Delete process in
9607 case of error. Improve messages.
9608
9609 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9610 Call `tramp-error-with-buffer' with vector and buffer.
9611 (tramp-current-connection): Remove.
9612 (tramp-maybe-open-connection): The car of
9613 `tramp-current-connection' are the first 3 slots of the vector.
9614
9615 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9616
9617 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9618 inside continued strings.
9619
9620 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9621
9622 Timestamp fixes for undo (Bug#14824).
9623 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9624
9625 2013-07-10 Leo Liu <sdl.web@gmail.com>
9626
9627 * files.el (require-final-newline): Allow safe local value.
9628 (Bug#14834)
9629
9630 2013-07-09 Leo Liu <sdl.web@gmail.com>
9631
9632 * ido.el (ido-read-directory-name): Handle fallback.
9633 (ido-read-file-name): Update DIR to ido-current-directory.
9634 (Bug#1516)
9635 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9636
9637 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9638
9639 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9640 "autoload". Remove "warn lower camel case" section, previously
9641 commented out. Highlight negation char. Do not highlight the
9642 target in singleton method definitions.
9643
9644 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * faces.el (tty-setup-hook): Declare the hook.
9647
9648 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9649 and detect when a guard/pred depends on local vars (bug#14773).
9650 (pcase--u1): Adjust caller.
9651
9652 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9653
9654 * simple.el (line-move-partial, line-move): Account for
9655 line-spacing.
9656 (line-move-partial): Avoid setting vscroll when the last
9657 partially-visible line in window is of default height.
9658
9659 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9660
9661 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9662 been used a while.
9663
9664 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9665
9666 * subr.el (read-quoted-char): Remove unused local variable `char'.
9667
9668 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9669
9670 * ediff.el (ediff-version): Version update.
9671 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9672 (ediff-merge-with-ancestor-command, ediff-directories-command)
9673 (ediff-directories3-command, ediff-merge-directories-command)
9674 (ediff-merge-directories-with-ancestor-command): New functions.
9675 All are command-line interfaces to ediff: to facilitate calling
9676 Emacs with the appropriate ediff functions invoked.
9677
9678 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9679 (viper-save-kill-buffer): Check if buffer is modified.
9680
9681 * viper.el (viper-version): Version update.
9682 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9683
9684 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9687 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9688 (viper-intercept-ESC-key): Simplify.
9689 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9690 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9691 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9692 (viper-setup-ESC-to-escape): New functions.
9693 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9694 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9695
9696 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9697
9698 * simple.el (default-font-height, window-screen-lines):
9699 New functions.
9700 (line-move, line-move-partial): Use them instead of
9701 frame-char-height and window-text-height. This makes scrolling
9702 text smoother when the buffer's default face uses a font that is
9703 different from the frame's default font.
9704
9705 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9706
9707 * files.el (write-file): Do not display confirm dialog for NS,
9708 it does its own dialog, which can't be canceled (Bug#14578).
9709
9710 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9711
9712 * simple.el (line-move-partial): Adjust the row returned by
9713 posn-at-point for the current window-vscroll. (Bug#14567)
9714
9715 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9716
9717 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9718 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9719 spaces.
9720
9721 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9722
9723 * window.el (window-state-put-stale-windows): New variable.
9724 (window--state-put-2): Save list of windows without matching buffer.
9725 (window-state-put): Remove "bufferless" windows if possible.
9726
9727 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9728
9729 * simple.el (alternatives-define): Remove leftover :group keyword.
9730 Tweak docstring.
9731
9732 2013-07-06 Leo Liu <sdl.web@gmail.com>
9733
9734 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9735 (ido-enable-virtual-buffers): New variable.
9736 (ido-buffer-internal, ido-toggle-virtual-buffers)
9737 (ido-make-buffer-list): Use it.
9738 (ido-exhibit): Support turning on and off virtual buffers
9739 automatically.
9740
9741 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9742
9743 * simple.el (alternatives-define): New macro.
9744
9745 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * subr.el (read-quoted-char): Use read-key.
9748 (sit-for): Let read-event decode tty input (bug#14782).
9749
9750 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9751
9752 * calendar/todo-mode.el: Add handling of file deletion, both by
9753 mode command and externally. Fix various related bugs.
9754 Clarify Commentary and improve some documentation strings and code.
9755 (todo-delete-file): New command.
9756 (todo-check-file): New function.
9757 (todo-show): Handle external deletion of the file we're trying to
9758 show (bug#14688). Replace called-interactively-p by an optional
9759 prefix argument to avoid problematic interaction with catch form
9760 when byte compiled (bug#14702).
9761 (todo-quit): Handle external deletion of the archive's todo file.
9762 Make sure the buffer that was visiting the archive file is still
9763 live before trying to bury it.
9764 (todo-category-completions): Handle external deletion of any
9765 category completion files.
9766 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9767 of todo files, in case of external deletion.
9768 (todo-add-file): Replace unnecessary setq by let-binding.
9769 (todo-find-archive): Check whether there are any archives.
9770 Replace unnecessary setq by let-binding.
9771 (todo-archive-done-item): Use find-file-noselect to get the
9772 archive buffer whether or not the archive already exists.
9773 Remove superfluous code. Use file size instead of buffer-file-name to
9774 check if the archive is new; if it is, update list of archives.
9775 (todo-default-todo-file): Allow nil to be a valid value for when
9776 there are no todo files.
9777 (todo-reevaluate-default-file-defcustom): Use corrected definition
9778 of todo-default-todo-file.
9779 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9780 (todo-delete-category, todo-show-categories-table)
9781 (todo-category-number): Clarify comment.
9782 (todo-filter-items): Clarify documentation string.
9783 (todo-show-current-file, todo-display-as-todo-file)
9784 (todo-reset-and-enable-done-separator): Tweak documentation string.
9785 (todo-done-separator): Make separator length window-width, since
9786 bug#2749 is now fixed.
9787
9788 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9789
9790 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9791 Support both "gvfs-monitor-dir" and "inotifywait".
9792 (tramp-sh-file-inotifywait-process-filter): Rename from
9793 `tramp-sh-file-notify-process-filter'.
9794 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9795 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9796
9797 2013-07-05 Leo Liu <sdl.web@gmail.com>
9798
9799 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9800
9801 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9802
9803 * frame.el (display-pixel-height, display-pixel-width)
9804 (display-mm-height, display-mm-width): Mention behavior on
9805 multi-monitor setups in docstrings.
9806 (w32-display-monitor-attributes-list): Declare function.
9807 (display-monitor-attributes-list): Use it.
9808
9809 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9810
9811 * filenotify.el: New package.
9812
9813 * autorevert.el (top): Require filenotify.el.
9814 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9815 instead.
9816 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9817 (auto-revert-notify-handler): Use `file-notify-*' functions.
9818
9819 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9820
9821 * net/tramp.el (tramp-file-name-for-operation):
9822 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9823
9824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9825 for `file-notify-add-watch' and `file-notify-rm-watch'.
9826 (tramp-process-sentinel): Improve trace.
9827 (tramp-sh-handle-file-notify-add-watch)
9828 (tramp-sh-file-notify-process-filter)
9829 (tramp-sh-handle-file-notify-rm-watch)
9830 (tramp-get-remote-inotifywait): New defuns.
9831
9832 2013-07-03 Juri Linkov <juri@jurta.org>
9833
9834 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9835 call of `occur-read-primary-args' to interactive spec.
9836
9837 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9838 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9839
9840 2013-07-03 Matthias Meulien <orontee@gmail.com>
9841
9842 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9843 `Buffer-menu-multi-occur'. Add it to the menu.
9844 (Buffer-menu-mode): Document it in docstring.
9845 (Buffer-menu-multi-occur): New command. (Bug#14673)
9846
9847 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9848
9849 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9850 keywords and built-ins.
9851
9852 2013-07-03 Glenn Morris <rgm@gnu.org>
9853
9854 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9855
9856 Make info-xref checks case-sensitive by default
9857 * info.el (Info-find-node, Info-find-in-tag-table)
9858 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9859 Add option for exact case matching of nodes.
9860 * info-xref.el (info-xref): New custom group.
9861 (info-xref-case-fold): New option.
9862 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9863
9864 2013-07-03 Leo Liu <sdl.web@gmail.com>
9865
9866 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9867
9868 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9869
9870 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9871 middle of block statement initially, lower the depth. Remove
9872 FIXME comment, not longer valid. Remove middle of block statement
9873 detection, no need to do that anymore since we've been using
9874 `ruby-parse-region' here.
9875
9876 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9877
9878 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9879
9880 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9881
9882 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9883
9884 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9885
9886 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9887 (desktop-restore-in-current-display): New customization option.
9888 (desktop--excluded-frame-parameters): Add `font'.
9889 (desktop--save-frames): Rename from desktop--save-windows.
9890 (desktop--restore-in-this-display-p): New function.
9891 (desktop--make-full-frame): Remove unwanted width/height from
9892 full(width|height) frames.
9893 (desktop--restore-frames): Rename from desktop--restore-windows.
9894 Obey desktop-restore-current-display. Do not delete old frames or
9895 select a new frame unless we were able to restore at least one frame.
9896
9897 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9898
9899 * files.el (find-file-noselect): Simplify conditional expression.
9900
9901 * textmodes/remember.el (remember-append-to-file):
9902 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9903
9904 Add `remember-notes' function to store random notes across Emacs
9905 restarts.
9906 * textmodes/remember.el (remember-data-file): Add :set callback to
9907 affect notes buffer (if any).
9908 (remember-notes): New command.
9909 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9910 New defcustoms for the `remember-notes' function.
9911 (remember-notes-save-and-bury-buffer): New command.
9912 (remember-notes-mode-map): New variable.
9913 (remember-mode): New minor mode.
9914 (remember-notes--kill-buffer-query): New function.
9915 * startup.el (initial-buffer-choice): Add notes to custom type.
9916
9917 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9918
9919 * bindings.el (right-char, left-char): Don't call sit-for, this is
9920 no longer needed. Use arithmetic comparison only for numerical
9921 arguments.
9922
9923 * international/mule-cmds.el (select-safe-coding-system):
9924 Handle the case of FROM being a string correctly. (Bug#14755)
9925
9926 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9927
9928 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9929 progression on degenerate tables.
9930 (shr-rescale-image): ImageMagick animated images currently don't work.
9931
9932 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9933
9934 Some fixes and improvements for desktop frame restoration.
9935 It is still experimental and disabled by default.
9936 * desktop.el (desktop--save-windows): Put the selected frame at
9937 the head of the list.
9938 (desktop--make-full-frame): New function.
9939 (desktop--restore-windows): Try to re-select the frame that was
9940 selected upon saving. Do not abort if some frames fail to restore,
9941 just show an error message and continue. Set up maximized frames
9942 so they have default non-maximized dimensions.
9943
9944 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9945
9946 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9947 Don't start heredoc inside a string or comment.
9948
9949 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9950
9951 * bindings.el (visual-order-cursor-movement): New defcustom.
9952 (right-char, left-char): Provide visual-order cursor motion by
9953 calling move-point-visually. Update the doc strings.
9954
9955 2013-06-28 Kenichi Handa <handa@gnu.org>
9956
9957 * international/mule.el (define-coding-system): New coding system
9958 properties :inhibit-null-byte-detection,
9959 :inhibit-iso-escape-detection, and :prefer-utf-8.
9960 (set-buffer-file-coding-system): If :charset-list property of
9961 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9962 appropriate for setting.
9963
9964 * international/mule-cmds.el (select-safe-coding-system):
9965 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9966 multibyte characters, return utf-8 (or one of its siblings).
9967
9968 * international/mule-conf.el (prefer-utf-8): New coding system.
9969 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9970 files.
9971
9972 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9973
9974 * net/shr.el (shr-render-region): New function.
9975
9976 * net/eww.el: Autoload `eww-browse-url'.
9977
9978 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9979
9980 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9981 Adapt to `package-desc-version' being a list.
9982 Use `package--ac-desc-version' to retrieve version from a package
9983 archive element.
9984
9985 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9986
9987 New experimental feature to save&restore window and frame setup.
9988 * desktop.el (desktop-save-windows): New defcustom.
9989 (desktop--saved-states): New var.
9990 (desktop--excluded-frame-parameters): New defconst.
9991 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9992 (desktop--restore-windows, desktop--save-windows): New functions.
9993 (desktop-save): Call `desktop--save-windows'.
9994 (desktop-read): Call `desktop--restore-windows'.
9995
9996 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
9998 * net/shr.el (add-face-text-property): Remove compat definition.
9999
10000 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10001
10002 * info.el (Info-try-follow-nearest-node): Move search for footnote
10003 above search for node name to prevent missing a footnote (bug#14717).
10004
10005 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10006
10007 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10008
10009 2013-06-27 Leo Liu <sdl.web@gmail.com>
10010
10011 * net/eww.el (eww-read-bookmarks): Check file size.
10012
10013 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10016 advice--pending if newdef is nil or an autoload (bug#13820).
10017 (advice-mapc): New function.
10018
10019 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10020
10021 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10022 probably.
10023 (eww-mode-map): Add a menu bar.
10024 (eww-add-bookmark): New command.
10025 (eww-bookmark-mode): New mode and commands.
10026 (eww-add-bookmark): Remove newlines from the title.
10027 (eww-bookmark-browse): Don't bug out if it's the only window.
10028
10029 2013-06-26 Glenn Morris <rgm@gnu.org>
10030
10031 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10032 (hfy-size): Handle ttys. (Bug#14668)
10033
10034 * info-xref.el: Update for Texinfo 5 change in *note format.
10035 (info-xref-node-re, info-xref-note-re): New constants.
10036 (info-xref-check-buffer): Use info-xref-note-re.
10037
10038 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10041
10042 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10043 nil terminate the loop (bug#14718).
10044
10045 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10046
10047 * net/eww.el: Rework history traversal. When going forward/back,
10048 put these actions into the history, too, so that they can be
10049 replayed.
10050 (eww-render): Move the history reset to the correct buffer.
10051
10052 2013-06-25 Juri Linkov <juri@jurta.org>
10053
10054 * files-x.el (modify-dir-local-variable): Change the header comment
10055 in the file with directory local variables. (Bug#14692)
10056
10057 * files-x.el (read-file-local-variable-value): Add `default'.
10058 (Bug#14710)
10059
10060 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10061
10062 * net/eww.el (eww-make-unique-file-name): Create a unique file
10063 name before saving to entering `y' accidentally asynchronously.
10064
10065 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10066
10067 * net/eww.el (eww-download): New command and keystroke.
10068
10069 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10070
10071 * net/eww.el (eww-copy-page-url): Change name of command.
10072
10073 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10074 be more consistent with Info and dired.
10075
10076 * net/eww.el (eww-mode-map): Ditto.
10077
10078 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10081 packages from archives.
10082 (package-archive-contents): Change format; include obsolete packages.
10083 (package-desc): Use `dir' to mark builtin packages.
10084 (package--from-builtin): Set the `dir' field to `builtin'.
10085 (generated-autoload-file, version-control): Declare.
10086 (package-compute-transaction): Change first arg and return value to be
10087 lists of package-descs. Adjust to new package-archive-contents format.
10088 (package--add-to-archive-contents): Adjust to new
10089 package-archive-contents format.
10090 (package-download-transaction): Arg is now a list of package-descs.
10091 (package-install): If `pkg' is a package name, pass it as
10092 a requirement, so it is subject to the usual (e.g. disabled) checks.
10093 (describe-package): Accept package-desc as well.
10094 (describe-package-1): Describe a specific package-desc. Add links to
10095 other package-descs for the same package name.
10096 (package-menu-describe-package): Pass the actual package-desc.
10097 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10098 works correctly.
10099 (package-desc-status): New function.
10100 (package-menu--refresh): New function, extracted
10101 from package-menu--generate.
10102 (package-menu--generate): Use it.
10103 (package-delete): Update package-alist.
10104 (package-menu-execute): Don't call package-initialize.
10105
10106 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10107 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10108 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10109 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10110 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10111 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10112
10113 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10114
10115 * window.el (window--state-get-1): Workaround for bug#14527.
10116 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10117
10118 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10119
10120 * net/eww.el (eww-back-url): Implement the history by stashing all
10121 the data into a list.
10122 (eww-forward-url): Allow going forward in the history, too.
10123
10124 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10127 for values and use read--expression for expressions (bug#14710).
10128 (read-file-local-variable): Avoid setq.
10129 (read-file-local-variable-mode): Use minor-mode-list.
10130
10131 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10132
10133 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10134 for DOI URLs.
10135
10136 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10137
10138 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10139 Update imenu-support when dialect changes.
10140
10141 2013-06-25 Leo Liu <sdl.web@gmail.com>
10142
10143 * ido.el (ido-read-internal): Allow forward slash on windows.
10144
10145 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10146
10147 * net/eww.el (eww): Start of strings is \\`, not ^.
10148
10149 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10150
10151 * net/shr.el (shr-browse-url): Fix interactive spec.
10152
10153 * net/eww.el (eww): Add a trailing slash to domain names.
10154
10155 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10156
10157 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10158
10159 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10160
10161 * net/shr.el (shr-browse-url): Use an external browser if given a
10162 prefix.
10163
10164 * net/eww.el (eww-external-browser): Move to shr.
10165
10166 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10167
10168 * net/eww.el (eww): Work more correctly for file: URLs.
10169 (eww-detect-charset): Allow quoted charsets.
10170 (eww-yank-page-url): New command and keystroke.
10171
10172 2013-06-24 Daiki Ueno <ueno@gnu.org>
10173
10174 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10175 file name of gpg executable.
10176 (epg-context-program): New function.
10177 (epg-context-home-directory): New function.
10178 (epg-context-set-program): New function.
10179 (epg-context-set-home-directory): New function.
10180 (epg--start): Use `epg-context-program' instead of
10181 'epg-gpg-program'.
10182 (epg--list-keys-1): Likewise.
10183
10184 2013-06-24 Leo Liu <sdl.web@gmail.com>
10185
10186 * ido.el (ido-read-internal): Fix bug#14620.
10187
10188 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10189
10190 * faces.el (face-documentation): Simplify.
10191 (read-face-attribute, tty-find-type, x-resolve-font-name):
10192 Use `string-match-p'.
10193 (list-faces-display): Use `string-match-p'. Simplify.
10194 (face-spec-recalc): Check face to avoid face alias loops.
10195 (read-color): Use `string-match-p' and non-capturing parenthesis.
10196
10197 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10198
10199 * net/shr.el (shr-rescale-image): Use the new
10200 :max-width/:max-height functionality.
10201
10202 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10203
10204 * net/eww.el (eww-search-prefix): New variable.
10205 (eww): Use it.
10206 (eww-external-browser): New variable.
10207 (eww-mode-map): New keystroke.
10208 (eww-browse-with-external-browser): New command.
10209
10210 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10211
10212 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10213
10214 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10215 Don't skip aligning the next header field when padding is 0;
10216 otherwise, field width is not respected unless the title is as
10217 wide as the field.
10218
10219 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * emacs-lisp/package.el (package-el-version): Remove.
10222 (package-process-define-package): Fix inf-loop.
10223 (package-install): Allow symbols as arguments again.
10224
10225 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10226
10227 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10228 add some more keyword-like methods.
10229 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10230
10231 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10232
10233 * bs.el (bs-buffer-show-mark): Make defvar-local.
10234 (bs-mode): Use setq-local.
10235
10236 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10237 (emacs-lock--try-unlocking): Make defvar-local.
10238
10239 2013-06-22 Glenn Morris <rgm@gnu.org>
10240
10241 * play/cookie1.el (cookie-apropos): Minor simplification.
10242
10243 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10244
10245 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10246
10247 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10248 `regexp-opt', it breaks the build during dumping.
10249
10250 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10251
10252 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10253 Highlight keyword-like methods on Kernel and Module with
10254 font-lock-builtin-face.
10255 (auto-mode-alist): Consolidate different entries into one regexp
10256 and add more *file-s.
10257
10258 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10259
10260 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10261
10262 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10263 (diary-entry): Use it in the action of this button type instead of
10264 diary-goto-entry.
10265
10266 * calendar/todo-mode.el: New version.
10267 (todo-add-category): Append new category to end of file and give
10268 it the highest number, instead of putting it at the beginning and
10269 giving it 0. Incorporate noninteractive functionality.
10270 (todo-forward-category): Adapt to 1-based category numbering.
10271 Allow skipping over archived categories.
10272 (todo-backward-category): Derive from todo-forward-category.
10273 (todo-backward-item, todo-forward-item): Make noninteractive and
10274 delegate interactive part to new commands. Make sensitive to done items.
10275 (todo-categories): Make value an alist of category names and
10276 vectors of item counts.
10277 (todo-category-beg): Make a defconst.
10278 (todo-category-number): Use 1 instead of 0 as initial value.
10279 (todo-category-select): Make sensitive to overlays, optional item
10280 highlighting and done items.
10281 (todo-delete-item): Make sensitive to overlays and marked and done items.
10282 (todo-edit-item): Make sensitive to overlays and editing of
10283 date/time header optional. Add format checks.
10284 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10285 no-op if point is not on an item. Advertise using todo-edit-quit.
10286 (todo-edit-mode): Make sensitive to new format, font-locking, and
10287 multiple todo files.
10288 (todo-insert-item, todo-insert-item-here): Derive from
10289 todo-basic-insert-item and extend functionality.
10290 (todo-item-end, todo-item-start): Make sensitive to done items.
10291 (todo-item-string): Don't return text properties. Restore point.
10292 (todo-jump-to-category): Make sensitive to multiple todo files and
10293 todo archives. Use extended category completion.
10294 (todo-lower-item, todo-raise-item): Rename to *-priority and
10295 derive from todo-set-item-priority.
10296 (todo-mode): Derive from special-mode. Make sensitive to new
10297 format, font-locking and multiple todo files. Make read-only.
10298 (todo-mode-map): Don't suppress digit keys, so they can supply
10299 prefix arguments. Add many new key bindings.
10300 (todo-prefix): Insert as an overlay instead of file text.
10301 Change semantics from diary date expression to purely visual mark.
10302 (todo-print): Rename to todo-print-buffer. Make buffer display
10303 features printable. Remove option to restrict number of items
10304 printed. Add option to print to file.
10305 (todo-print-function): Rename to todo-print-buffer-function.
10306 (todo-quit): Extend to handle exiting new todo modes.
10307 (todo-remove-item): Make sensitive to overlays.
10308 (todo-save): Extend to buffers of filtered items.
10309 (todo-show): Make sensitive to done items, multiple todo files and
10310 new todo modes. Offer to convert legacy todo file before creating
10311 first new todo file.
10312 (todo-show-priorities): Rename to todo-top-priorities.
10313 Change semantics of value 0.
10314 (todo-top-priorities): Rename to todo-filter-top-priorities,
10315 derive from todo-filter-items and extend functionality.
10316 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10317 and extend functionality to other types of filtered items.
10318 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10319 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10320 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10321 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10322 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10323 (todo-edit-mode-hook, todo-entry-prefix-function)
10324 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10325 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10326 (todo-initials, todo-insert-threshold, todo-item-string-start)
10327 (todo-line-string, todo-menu, todo-mode-hook)
10328 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10329 (todo-print-priorities, todo-remove-separator)
10330 (todo-save-top-priorities-too, todo-string-count-lines)
10331 (todo-string-multiline-p, todo-time-string-format)
10332 (todo-tmp-buffer-name): Remove.
10333 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10334 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10335 (todo-edit-category-diary-inclusion)
10336 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10337 (todo-edit-file, todo-edit-item-date-day)
10338 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10339 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10340 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10341 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10342 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10343 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10344 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10345 (todo-filter-top-priorities-multifile, todo-find-archive)
10346 (todo-find-filtered-items-file, todo-go-to-source-item)
10347 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10348 (todo-jump-to-archive-category, todo-lower-category)
10349 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10350 (todo-move-category, todo-move-item, todo-next-button)
10351 (todo-next-item, todo-padded-string, todo-powerset)
10352 (todo-previous-button, todo-previous-item)
10353 (todo-print-buffer-to-file, todo-raise-category)
10354 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10355 (todo-set-category-number, todo-set-item-priority)
10356 (todo-set-top-priorities-in-category)
10357 (todo-set-top-priorities-in-file, todo-show-categories-table)
10358 (todo-sort-categories-alphabetically-or-numerically)
10359 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10360 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10361 (todo-toggle-item-header, todo-toggle-item-highlighting)
10362 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10363 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10364 (todo-unarchive-items, todo-unmark-category): New commands.
10365 (todo-absolute-file-name, todo-add-to-buffer-list)
10366 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10367 (todo-basic-insert-item, todo-category-completions)
10368 (todo-category-number, todo-category-string-matcher-1)
10369 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10370 (todo-check-format, todo-clear-matches)
10371 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10372 (todo-current-category, todo-date-string-matcher)
10373 (todo-define-insertion-command, todo-diary-expired-matcher)
10374 (todo-diary-goto-entry, todo-diary-item-p)
10375 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10376 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10377 (todo-done-item-section-p, todo-done-separator)
10378 (todo-done-string-matcher, todo-files, todo-filter-items)
10379 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10380 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10381 (todo-insert-category-line, todo-insert-item-from-calendar)
10382 (todo-insert-sort-button, todo-insert-with-overlays)
10383 (todo-insertion-command-name, todo-insertion-key-bindings)
10384 (todo-label-to-key, todo-longest-category-name-length)
10385 (todo-make-categories-list, todo-mode-external-set)
10386 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10387 (todo-modes-set-3, todo-multiple-filter-files)
10388 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10389 (todo-read-category, todo-read-date, todo-read-dayname)
10390 (todo-read-file-name, todo-read-time)
10391 (todo-reevaluate-category-completions-files-defcustom)
10392 (todo-reevaluate-default-file-defcustom)
10393 (todo-reevaluate-filelist-defcustoms)
10394 (todo-reevaluate-filter-files-defcustom)
10395 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10396 (todo-reset-done-separator, todo-reset-done-separator-string)
10397 (todo-reset-done-string, todo-reset-global-current-todo-file)
10398 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10399 (todo-reset-prefix, todo-set-categories)
10400 (todo-set-date-from-calendar, todo-set-show-current-file)
10401 (todo-set-top-priorities, todo-short-file-name)
10402 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10403 (todo-total-item-counts, todo-update-buffer-list)
10404 (todo-update-categories-display, todo-update-categories-sexp)
10405 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10406 New functions.
10407 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10408 New major modes.
10409 (todo-categories, todo-display, todo-edit, todo-faces)
10410 (todo-filtered): New defgroups.
10411 (todo-archived-only, todo-button, todo-category-string, todo-date)
10412 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10413 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10414 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10415 (todo-add-item-if-new-category, todo-always-add-time-string)
10416 (todo-categories-align, todo-categories-archived-label)
10417 (todo-categories-category-label, todo-categories-diary-label)
10418 (todo-categories-done-label, todo-categories-number-separator)
10419 (todo-categories-todo-label, todo-categories-totals-label)
10420 (todo-category-completions-files, todo-completion-ignore-case)
10421 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10422 (todo-done-separator-string, todo-done-string)
10423 (todo-files-function, todo-filter-done-items, todo-filter-files)
10424 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10425 (todo-initial-category, todo-initial-file, todo-item-mark)
10426 (todo-legacy-date-time-regexp, todo-mode-line-function)
10427 (todo-nondiary-marker, todo-number-prefix)
10428 (todo-print-buffer-function, todo-show-current-file)
10429 (todo-show-done-only, todo-show-first, todo-show-with-done)
10430 (todo-skip-archived-categories, todo-top-priorities-overrides)
10431 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10432 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10433 New defcustoms.
10434 (todo-category-done, todo-date-pattern, todo-date-string-start)
10435 (todo-diary-items-buffer, todo-done-string-start)
10436 (todo-filtered-items-buffer, todo-item-start)
10437 (todo-month-abbrev-array, todo-month-name-array)
10438 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10439 (todo-top-priorities-buffer): New defconsts.
10440 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10441 (todo-categories-with-marks, todo-category-string-face)
10442 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10443 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10444 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10445 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10446 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10447 (todo-font-lock-keywords, todo-global-current-todo-file)
10448 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10449 (todo-insertion-commands-args)
10450 (todo-insertion-commands-args-genlist)
10451 (todo-insertion-commands-names, todo-insertion-map)
10452 (todo-key-bindings-t, todo-key-bindings-t+a)
10453 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10454 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10455 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10456 (todo-visited): New variables.
10457
10458 2013-06-21 Glenn Morris <rgm@gnu.org>
10459
10460 * play/cookie1.el (cookie-apropos): Add optional display argument.
10461 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10462 (psychoanalyze-pinhead): Use cookie-doctor.
10463
10464 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10465
10466 * emacs-lisp/package.el (tar-get-file-descriptor)
10467 (tar--extract): Declare.
10468
10469 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10470
10471 Extend flymake's warning predicate to be a function (bug#14217).
10472 * progmodes/flymake.el (flymake-warning-predicate): New.
10473 (flymake-parse-line): Use it.
10474 (flymake-warning-re): Make obsolete alias to
10475 `flymake-warning-predicate'.
10476
10477 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10478
10479 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10480 (package-obsolete-list): Remove.
10481 (package-activate): Remove min-version argument. Add `force' argument.
10482 Adjust to new package-alist format.
10483 (package-mark-obsolete): Remove.
10484 (package-unpack): Force reload of the package's autoloads.
10485 (package-installed-p): Check builtins if the installed package is not
10486 recent enough.
10487 (package-initialize): Don't reset package-obsolete-list.
10488 Don't specify which package version to activate.
10489 (package-process-define-package, describe-package-1)
10490 (package-menu--generate): Adjust to new package-alist format.
10491
10492 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10493
10494 * allout-widgets.el (allout-widgets-mode-off)
10495 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10496 (allout-widgets-post-command-business)
10497 (allout-widgets-after-copy-or-kill-function)
10498 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10499 (allout-decorate-item-and-context)
10500 (allout-graphics-modification-handler): Fix typos in docstrings.
10501 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10502
10503 * cmuscheme.el (scheme-start-file): Doc fix.
10504 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10505 (scheme-input-filter): Use `string-match-p'.
10506
10507 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10508
10509 * dired-x.el: Use Dired consistently in docstrings.
10510
10511 * dired.el: Use Dired consistently in docstrings.
10512 (dired-readin, dired-mode): Use `setq-local'.
10513 (dired-switches-alist): Make defvar-local.
10514 (dired-buffers-for-dir): Use `zerop'.
10515 (dired-safe-switches-p, dired-switches-escape-p)
10516 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10517 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10518 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10519 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10520 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10521 (dired-toggle-marks, dired-mark-files-containing-regexp)
10522 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10523 (dired-flag-auto-save-files, dired-flag-backup-files):
10524 Use `looking-at-p'.
10525 (dired-mark-files-regexp, dired-build-subdir-alist):
10526 Use `string-match-p', `looking-at-p'.
10527
10528 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10529 (direct-print-region-helper): Use `string-match-p'.
10530
10531 2013-06-21 Leo Liu <sdl.web@gmail.com>
10532
10533 * comint.el (comint-redirect-results-list-from-process):
10534 Fix infinite loop.
10535
10536 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10537
10538 * net/eww.el (eww-update-header-line-format): Quote % characters.
10539
10540 2013-06-21 Glenn Morris <rgm@gnu.org>
10541
10542 * play/cookie1.el (cookie): New custom group.
10543 (cookie-file): New option.
10544 (cookie-check-file): New function.
10545 (cookie): Make it interactive. Make start and end messages optional.
10546 Interactively, display the result. Default to cookie-file.
10547 (cookie-insert): Default to cookie-file.
10548 (cookie-snarf): Make start and end messages optional.
10549 Default to cookie-file. Use with-temp-buffer.
10550 (cookie-read): Rename from read-cookie.
10551 Make start and end messages optional. Default to cookie-file.
10552 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10553 Do not autoload it.
10554 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10555 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10556
10557 2013-06-21 Leo Liu <sdl.web@gmail.com>
10558
10559 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10560
10561 2013-06-21 Glenn Morris <rgm@gnu.org>
10562
10563 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10564
10565 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10566 Daniel Hackney <dan@haxney.org>
10567
10568 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10569 Consolidate the single-file vs tarball code.
10570 (package-desc-suffix): New function.
10571 (package-desc-full-name): Don't bother inlining it.
10572 (package-load-descriptor): Return the new package-desc.
10573 (package-mark-obsolete): Remove unused arg `package'.
10574 (package-unpack): Make it work for single files as well.
10575 Make it update package-alist.
10576 (package--make-autoloads-and-stuff): Rename from
10577 package--make-autoloads-and-compile. Don't compile any more.
10578 (package--compile): New function.
10579 (package-generate-description-file): New function, extracted from
10580 package-unpack-single.
10581 (package-unpack-single): Remove.
10582 (package--with-work-buffer): Add indentation and debugging info.
10583 (package-download-single): Remove.
10584 (package-install-from-archive): Rename from package-download-tar, make
10585 it take a pkg-desc, and make it work for single files as well.
10586 (package-download-transaction): Simplify.
10587 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10588 external tar program.
10589 (package-install-from-buffer): Remove `pkg-desc' argument.
10590 Use package-tar-file-info for tar-mode buffers.
10591 (package-install-file): Simplify accordingly.
10592 (package-archive-base): Change to take a pkg-desc.
10593 * tar-mode.el (tar--check-descriptor): New function, extracted from
10594 tar-get-descriptor.
10595 (tar-get-descriptor): Use it.
10596 (tar-get-file-descriptor): New function.
10597 (tar--extract): New function, extracted from tar-extract.
10598 (tar--extract): Use it.
10599 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10600 case the summary uses non-ascii. Adjust to new calling convention of
10601 package-tar-file-info.
10602
10603 2013-06-21 Leo Liu <sdl.web@gmail.com>
10604
10605 * comint.el (comint-redirect-results-list-from-process):
10606 Fix random delay. (Bug#14681)
10607
10608 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10609
10610 * profiler.el (profiler-format-number): Use log, not log10.
10611
10612 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10613
10614 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10615
10616 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10619 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10620 yet available.
10621 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10622 (AUTOGENEL): ... here.
10623 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10624 (cl--defsubst-expand): Use it.
10625
10626 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10627
10628 * subr.el (log10): Move here from C code, and declare as obsolete.
10629 All uses of (log10 X) replaced with (log X 10).
10630
10631 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10632
10633 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10634 Declare with `defvar-local'.
10635 (tabulated-list-use-header-line, tabulated-list-entries)
10636 (tabulated-list-padding, tabulated-list-printer)
10637 (tabulated-list-sort-key): Declare with `defvar-local'.
10638 (tabulated-list-init-header, tabulated-list-print-fake-header):
10639 Use `setq-local'.
10640
10641 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10642
10643 * arc-mode.el (archive-mode): Add `archive-write-file' to
10644 `write-contents-functions' also for remote files. (Bug#14652)
10645
10646 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10647
10648 * cus-edit.el (custom-commands): Fix typos.
10649 (custom-display): Fix tooltip text.
10650 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10651 Fix typos in docstrings.
10652 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10653 (custom-unlispify-menu-entry, custom-magic-value-create)
10654 (custom-add-see-also, custom-group-value-create): Use ?\s.
10655 (custom-guess-type, customize-apropos, editable-field)
10656 (custom-face-value-create): Use `string-match-p'.
10657 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10658
10659 * custom.el (custom-load-symbol): Use `string-match-p'.
10660
10661 * ansi-color.el: Convert to lexical binding.
10662 (ansi-colors): Fix URL.
10663 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10664 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10665 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10666
10667 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10668
10669 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10670
10671 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10672
10673 2013-06-19 Tom Tromey <tromey@redhat.com>
10674
10675 * net/eww.el (eww-top-url): Remove.
10676 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10677 (eww-render): Set new variables. Don't set eww-top-url.
10678 (eww-handle-link): Handle "prev", "home", and "contents".
10679 Downcase the rel text.
10680 (eww-top-url): Choose best top URL.
10681
10682 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10683
10684 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10685 relying in widget.el. Using widget.el leads to too many
10686 user interface inconsistencies.
10687 (eww-self-insert): Implement entering commands in text fields.
10688 (eww-process-text-input): New function to make text input field editing
10689 work.
10690 (eww-submit): Rewrite to use the new-style form methods.
10691 (eww-select-display): Display the correct selected item.
10692 (eww-change-select): Implement changing the select value.
10693 (eww-toggle-checkbox): Implement radio/checkboxes.
10694 (eww-update-field): Fix compilation error.
10695 (eww-tag-textarea): Implement <textarea>.
10696
10697 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10698 we don't shadow mode-specific bindings.
10699
10700 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10701 nothing to push.
10702
10703 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10704
10705 2013-06-19 Glenn Morris <rgm@gnu.org>
10706
10707 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10708
10709 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10710
10711 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10712 not needed.
10713
10714 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10715
10716 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10717
10718 * net/browse-url.el (browse-url-browser-function):
10719 `eww-browse-url' has the right calling signature, `eww' does not.
10720
10721 2013-06-19 Glenn Morris <rgm@gnu.org>
10722
10723 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10724 Only eval autoloaded macros.
10725 (byte-compile-autoload): Only give the macro warning for macros.
10726
10727 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10728 (ps-underlined-faces): Declare.
10729
10730 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10731 (speedbar-add-supported-extension): Declare.
10732
10733 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10734 Don't include a date stamp in the header of the generated file;
10735 it leads to needless differences between output files.
10736
10737 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10738
10739 * net/secrets.el (secrets-struct-secret-content-type):
10740 Replace check of introspection data by a test call of "CreateItem".
10741 Some servers do not offer introspection.
10742
10743 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * electric.el (electric-pair-mode): Improve interaction with
10746 electric-layout-mode.
10747 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10748 (electric-pair-syntax): Use text-mode-syntax-table in comments
10749 and strings.
10750 (electric-pair--insert): New function.
10751 (electric-pair-post-self-insert-function): Use it and
10752 electric--after-char-pos.
10753
10754 2013-06-19 Leo Liu <sdl.web@gmail.com>
10755
10756 * progmodes/octave.el (octave-help): Fix regexp.
10757
10758 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10759
10760 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10761 (shr-table-horizontal-line): Allow nil as a value, and change the
10762 default.
10763 (shr-insert-table-ruler): Respect the nil value.
10764
10765 2013-06-18 Tom Tromey <tromey@barimba>
10766
10767 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10768 New defvars.
10769 (eww-open-file): New defun.
10770 (eww-render): Initialize new variables.
10771 (eww-display-html): Handle "link" and "a".
10772 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10773 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10774 (eww-back-url): Rename from eww-previous-url.
10775 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10776 New defuns.
10777
10778 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10779
10780 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10781 Distinguish ternary operator tokens from slash symbol and slash
10782 char literal.
10783
10784 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10785
10786 Convert symbol prettification into minor mode and global minor mode.
10787
10788 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10789 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10790 (prettify-symbols--keywords): Rename from
10791 `prog-prettify-symbols-alist' and make a local defvar.
10792 (prettify-symbols--compose-symbol): Rename from
10793 `prog--prettify-font-lock-compose-symbol'.
10794 (prettify-symbols--make-keywords): Rename from
10795 `prog-prettify-font-lock-symbols-keywords' and simplify.
10796 (prog-prettify-install): Remove.
10797 (prettify-symbols-mode): New minor mode, based on
10798 `prog-prettify-install'.
10799 (turn-on-prettify-symbols-mode): New function.
10800 (global-prettify-symbols-mode): New globalized minor mode.
10801
10802 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10803 * progmodes/cfengine.el (cfengine3-mode):
10804 * progmodes/perl-mode.el (perl-mode): Don't call
10805 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10806
10807 2013-06-18 Juri Linkov <juri@jurta.org>
10808
10809 * files-x.el (modify-file-local-variable-message): New function.
10810 (modify-file-local-variable)
10811 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10812 and call `modify-file-local-variable-message' when it's non-nil.
10813 (add-file-local-variable, delete-file-local-variable)
10814 (add-file-local-variable-prop-line)
10815 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10816 and use it. (Bug#9820)
10817
10818 2013-06-18 Juri Linkov <juri@jurta.org>
10819
10820 * emulation/vi.el (vi-shell-op):
10821 * emulation/vip.el (vip-execute-com, ex-command):
10822 * emulation/viper-cmd.el (viper-exec-bang):
10823 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10824 the call of `shell-command-on-region'. (Bug#14637)
10825
10826 * simple.el (shell-command-on-region): Doc fix.
10827
10828 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10831 (bug#14633).
10832
10833 2013-06-18 Glenn Morris <rgm@gnu.org>
10834
10835 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10836
10837 * newcomment.el (comment-search-forward, comment-search-backward):
10838 Doc fix. (Bug#14376)
10839
10840 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10841
10842 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10843 (buffer-face-mode-invoke): Doc fix.
10844
10845 2013-06-18 Matthias Meulien <orontee@gmail.com>
10846
10847 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10848 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10849
10850 2013-06-18 Glenn Morris <rgm@gnu.org>
10851
10852 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10853 Replace obsolete function generic-make-keywords with its expansion.
10854
10855 * progmodes/python.el (ffap-alist): Declare.
10856
10857 * textmodes/reftex.el (bibtex-mode-map): Declare.
10858
10859 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10862 (package-unpack, package-unpack-single): Return the pkg-dir.
10863 (package-download-transaction): Use it to update package-alist.
10864
10865 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10866
10867 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10868 possible choice.
10869
10870 2013-06-17 Juri Linkov <juri@jurta.org>
10871
10872 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10873
10874 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10875
10876 * emacs-lisp/package.el (package-load-descriptor):
10877 Remove `with-syntax-table' call, `read' doesn't need it.
10878 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10879
10880 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10881
10882 * startup.el (command-line): Expand package name returned by
10883 `package--description-file' (bug#14639).
10884
10885 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10886
10887 * emacs-lisp/package.el (package-load-descriptor): Do not call
10888 `emacs-lisp-mode', just use its syntax table.
10889
10890 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10891
10892 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10893 `font-lock-extra-managed-props' if any prettifying keyword is added.
10894 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10895 (prog-mode): Use `setq-local'.
10896
10897 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * international/characters.el (standard-case-table): Set syntax of ?»
10900 and ?« to punctuation.
10901
10902 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10903
10904 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10905 Save relevant match data before calling `syntax-ppss' (bug#14595).
10906
10907 2013-06-15 Juri Linkov <juri@jurta.org>
10908
10909 * files-x.el (modify-file-local-variable-prop-line): Add local
10910 variables to the end of the existing comment on the first line.
10911 Use `file-auto-mode-skip' to skip interpreter magic line,
10912 and also skip XML declaration.
10913
10914 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10915
10916 * startup.el (package--builtin-versions): New var.
10917 (package-subdirectory-regexp): Remove.
10918 (package--description-file): Hard code its value instead.
10919
10920 * emacs-lisp/package.el: Don't activate packages older than builtin.
10921 (package-obsolete-list): Rename from package-obsolete-alist, and make
10922 it into a simple list of package-desc.
10923 (package-strip-version): Remove.
10924 (package-built-in-p): Use package--builtin-versions.
10925 (package-mark-obsolete): Simplify.
10926 (package-process-define-package): Mark it obsolete if older than the
10927 builtin version.
10928 (package-handle-response): Use line-end-position.
10929 (package-read-archive-contents, package--download-one-archive):
10930 Simplify.
10931 (package--add-to-archive-contents): Skip if older than the builtin or
10932 installed version.
10933 (package-menu-describe-package): Fix last change.
10934 (package-list-unversioned): New var.
10935 (package-menu--generate): Use it.
10936
10937 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10938 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10939 (autoload-builtin-package-versions): New variable.
10940 (autoload-generate-file-autoloads): Use them.
10941 Remove the list of autoloaded functions/macros from the
10942 (autoload...) comments.
10943
10944 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10945
10946 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10947
10948 * simple.el (line-move-partial): Don't jump to the next screen
10949 line as soon as it becomes visible. Instead, continue enlarging
10950 the vscroll until the portion of a tall screen line that's left on
10951 display is about the height of the frame's default font.
10952 (Bug#14567)
10953
10954 2013-06-15 Glenn Morris <rgm@gnu.org>
10955
10956 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10957 compilation-error-regexp-alist void, or local while let-bound.
10958
10959 * progmodes/make-mode.el (makefile-mode-syntax-table):
10960 Treat "=" as punctuation. (Bug#14614)
10961
10962 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * help-fns.el (describe-variable):
10965 Add extra line for permanent-local variables.
10966
10967 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10968
10969 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10970 Add export, import, library. (Bug#9164)
10971 (library): Set indent function.
10972
10973 2013-06-14 Glenn Morris <rgm@gnu.org>
10974
10975 * term/xterm.el (xterm--query):
10976 Stop after first matching handler. (Bug#14615)
10977
10978 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10979
10980 Add support for dired in saveplace.
10981 * dired.el (dired-initial-position-hook): New variable.
10982 (dired-initial-position): Call hook to place cursor position.
10983 * saveplace.el (save-place-to-alist): Add dired position.
10984 (save-place-dired-hook): New function.
10985
10986 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10989 through a symbol rather than letrec.
10990
10991 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10992 (package-desc): Add `dir' field.
10993 (package-desc-full-name): New function.
10994 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10995 (package-maybe-load-descriptor): Remove.
10996 (package-load-all-descriptors): Just call package-load-descriptor.
10997 (package--disabled-p): New function.
10998 (package-desc-vers, package-desc-doc): Remove aliases.
10999 (package--dir): Remove function.
11000 (package-activate): Check if a package is disabled.
11001 (package-process-define-package): New function, extracted from
11002 define-package.
11003 (define-package): Turn into a place holder.
11004 (package-unpack-single, package-tar-file-info):
11005 Use package--description-file.
11006 (package-compute-transaction): Use package--disabled-p.
11007 (package-download-transaction): Don't call
11008 package-maybe-load-descriptor since they're all loaded anyway.
11009 (package-install): Change argument to be a pkg-desc.
11010 (package-delete): Use a single pkg-desc argument.
11011 (describe-package-1): Use package-desc-dir instead of package--dir.
11012 Use package-desc property instead of package-symbol.
11013 (package-install-button-action): Adjust accordingly.
11014 (package--push): Rewrite.
11015 (package-menu--print-info): Adjust accordingly. Change the ID format
11016 to be a pkg-desc.
11017 (package-menu-describe-package, package-menu-get-status)
11018 (package-menu--find-upgrades, package-menu-mark-upgrades)
11019 (package-menu-execute, package-menu--name-predicate):
11020 Adjust accordingly.
11021 * startup.el (package--description-file): New function.
11022 (command-line): Use it.
11023 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11024 Use package-desc-version.
11025
11026 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11027 (byte-compile-preprocess): Use it.
11028 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11029 can't quite recognize.
11030 (byte-compile-add-to-list): Remove.
11031 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11032 (cconv-closure-convert): Add assertion.
11033
11034 * emacs-lisp/map-ynp.el: Use lexical-binding.
11035 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11036 Factor out some repeated code.
11037
11038 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * subr.el (with-eval-after-load): New macro.
11041 (eval-after-load): Allow form to be a function.
11042 take advantage of lexical-binding.
11043 (do-after-load-evaluation): Use dolist and adjust to new format.
11044 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11045
11046 2013-06-13 Juri Linkov <juri@jurta.org>
11047
11048 * replace.el (perform-replace): Display "symbol " and other search
11049 modes from `isearch-message-prefix' in the *Help* buffer.
11050
11051 * isearch.el (isearch-query-replace): Add " symbol" and other
11052 possible search modes from `isearch-message-prefix' to the prompt.
11053 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11054 when reading a regexp to collect.
11055
11056 2013-06-13 Juri Linkov <juri@jurta.org>
11057
11058 * isearch.el (word-search-regexp): Match whitespace if the search
11059 string begins or ends in whitespace. The LAX arg is applied to
11060 both ends of the search string. Use `regexp-quote' and explicit
11061 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11062 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11063 boundaries are replaced with symbol boundaries, and characters
11064 between symbols match non-word non-symbol syntax. (Bug#14602)
11065
11066 2013-06-13 Juri Linkov <juri@jurta.org>
11067
11068 * isearch.el (isearch-del-char): Don't exceed the length of
11069 `isearch-string' by the prefix arg. (Bug#14563)
11070
11071 2013-06-13 Juri Linkov <juri@jurta.org>
11072
11073 * isearch.el (isearch-yank-word, isearch-yank-line)
11074 (isearch-char-by-name, isearch-quote-char)
11075 (isearch-printing-char, isearch-process-search-char):
11076 Add optional count prefix arg. (Bug#14563)
11077
11078 * international/isearch-x.el
11079 (isearch-process-search-multibyte-characters):
11080 Add optional count prefix arg.
11081
11082 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11083
11084 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11085 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11086 lexical-binding.
11087
11088 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11089
11090 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11091
11092 2013-06-13 Glenn Morris <rgm@gnu.org>
11093
11094 * startup.el (tty-handle-args):
11095 Don't just discard "--" and anything after. (Bug#14608)
11096
11097 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11098
11099 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11100
11101 Implement changes in Secret Service API. Make it backward compatible.
11102 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11103 (secrets-create-item): Use it. Prefix properties with interface.
11104
11105 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11106
11107 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11108 (term-emulate-terminal): Respect term-suppress-hard-newline.
11109
11110 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11111
11112 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11113 Only remove a `thumb-file' overlay. (Bug#14548)
11114
11115 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11116
11117 * mail/reporter.el (reporter-submit-bug-report):
11118 Handle missing package-name. (Bug#14600)
11119
11120 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11121
11122 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11123 (reftex-citation-prompt, reftex-default-bibliography)
11124 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11125 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11126 (reftex-bib-sort-author, reftex-bib-sort-year)
11127 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11128 (reftex-extract-bib-entries-from-thebibliography)
11129 (reftex-get-bibkey-default, reftex-get-bib-names)
11130 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11131 (reftex-format-bib-entry, reftex-parse-bibitem)
11132 (reftex-format-bibitem, reftex-do-citation)
11133 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11134 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11135 (reftex-insert-bib-matches, reftex-format-citation)
11136 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11137 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11138 existing comments into docstrings.
11139
11140 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11141
11142 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11143
11144 2013-06-12 Andreas Schwab <schwab@suse.de>
11145
11146 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11147 for auto-save files.
11148
11149 2013-06-12 Glenn Morris <rgm@gnu.org>
11150
11151 * ido.el (ido-delete-ignored-files): Remove.
11152 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11153 Go back to calling ido-ignore-item-p directly.
11154
11155 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11156
11157 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11158
11159 * ido.el (ido-delete-ignored-files): New function,
11160 split from ido-make-file-list-1.
11161 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11162 (ido-make-file-list-1): Use ido-delete-ignored-files.
11163
11164 2013-06-12 Leo Liu <sdl.web@gmail.com>
11165
11166 * progmodes/octave.el (inferior-octave-startup)
11167 (inferior-octave-completion-table)
11168 (inferior-octave-track-window-width-change)
11169 (octave-eldoc-function-signatures, octave-help)
11170 (octave-find-definition): Use single quoted strings.
11171 (inferior-octave-startup-args): Change default value.
11172 (inferior-octave-startup): Do not hard code "-i" and
11173 "--no-line-editing".
11174 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11175 (inferior-octave-directory-tracker): Use it.
11176 (octave-goto-function-definition): Robustify.
11177 (octave-help): Support highlighting operators in 'See also'.
11178 (octave-find-definition): Find subfunctions only in Octave mode.
11179
11180 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * help-fns.el (help-fns--compiler-macro): If the handler function is
11183 named, then put a link to it.
11184 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11185 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11186 (cl-typep): Use it.
11187 (cl-eval-when): Simplify debug spec.
11188 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11189 compiler-macro function instead of setting `compiler-macro-file'.
11190
11191 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11192
11193 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11194 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11195
11196 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11197 Daniel Hackney <dan@haxney.org>
11198
11199 First part of Daniel Hackney's patch to package.el.
11200 * emacs-lisp/package.el: Use defstruct.
11201 (package-desc): New, main struct.
11202 (package--bi-desc, package--ac-desc): New structs, used to describe the
11203 format in external files.
11204 (package-desc-vers): Replace with package-desc-version accessor.
11205 (package-desc-doc): Replace with package-desc-summary accessor.
11206 (package-activate-1): Remove `package' arg since the pkg-vec now
11207 includes the name.
11208 (define-package): Use package-desc-from-define.
11209 (package-unpack-single): Change file-name arg to be a symbol.
11210 (package--add-to-archive-contents): Use package-desc-create and new
11211 accessor functions to package--ac-desc.
11212 (package-buffer-info, package-tar-file-info): Return a package-desc.
11213 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11214 arg to be a package-desc.
11215 (package-install-file): Adjust accordingly. Use \' to match EOS.
11216 (package--from-builtin): New function.
11217 (describe-package-1, package-menu--generate): Use it.
11218 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11219 (package-generate-autoloads): Idem and return the name of the file.
11220 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11221 Change pkg-info arg to be a package-desc.
11222 Use package-make-ac-desc.
11223 (package-upload-file): Use \' to match EOS.
11224 * finder.el (finder-compile-keywords): Use package-make-builtin.
11225
11226 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * vc/vc.el (vc-deduce-fileset): Change error message.
11229 (vc-read-backend): New function.
11230 (vc-next-action): Use it.
11231
11232 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11233
11234 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11235 (prolog-font-lock-keywords): Use regexp-opt instead.
11236 Don't manually highlight strings.
11237 (prolog-mode-variables): Simplify comment-start-skip.
11238 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11239
11240 * emacs-lisp/generic.el (generic--normalise-comments)
11241 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11242 (generic-mode-set-comments): Use them.
11243 (generic-bracket-support): Use setq-local.
11244 (generic-make-keywords-list): Declare obsolete.
11245
11246 2013-06-11 Glenn Morris <rgm@gnu.org>
11247
11248 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11249 Prettify after setting font-lock-defaults. (Bug#14574)
11250
11251 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11252
11253 * replace.el (query-replace, occur-read-regexp-defaults-function)
11254 (replace-search):
11255 * subr.el (declare-function, number-sequence, local-set-key)
11256 (substitute-key-definition, locate-user-emacs-file)
11257 (with-silent-modifications, split-string, eval-after-load):
11258 Fix typos, remove unneeded backslashes and reflow some docstrings.
11259
11260 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11261
11262 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11263 default for Elisp files.
11264
11265 2013-06-11 Glenn Morris <rgm@gnu.org>
11266
11267 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11268 although define-derived-mode was doing this anyway. (Bug#14583)
11269
11270 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11271
11272 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11273 Fix make-variable-buffer-local call to refer to the correct variable.
11274
11275 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11276
11277 * eshell/em-term.el (eshell-visual-commands)
11278 (eshell-visual-subcommands, eshell-visual-options):
11279 Add summary line to docstrings. Add cross-references.
11280
11281 2013-06-10 Glenn Morris <rgm@gnu.org>
11282
11283 * epa.el (epa-read-file-name): New function. (Bug#14510)
11284 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11285
11286 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11287
11288 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11289 output redirection to be ignored with visual commands.
11290
11291 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11292
11293 * eshell/em-term.el (eshell-visual-command-p): New function.
11294 (eshell-term-initialize): Move long lambda to separate function
11295 eshell-visual-command-p.
11296 * eshell/em-dirs.el (eshell-dirs-initialize):
11297 * eshell/em-script.el (eshell-script-initialize):
11298 Add missing #' to lambda.
11299
11300 2013-06-08 Leo Liu <sdl.web@gmail.com>
11301
11302 * progmodes/octave.el (octave-add-log-current-defun): New function.
11303 (octave-mode): Set add-log-current-defun-function.
11304 (octave-goto-function-definition): Do not move point if not found.
11305 (octave-find-definition): Enhance to try subfunctions first.
11306
11307 2013-06-08 Glenn Morris <rgm@gnu.org>
11308
11309 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11310 (byte-compile-backward-char, byte-compile-backward-word):
11311 Improve previous change, to handle non-explicit nil.
11312
11313 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11316 (smie--opener/closer-at-point): New function.
11317 (smie--matching-block-data): Use it. Don't match from right after an
11318 opener or right before a closer. Obey smie-blink-matching-inners.
11319 Don't signal a mismatch for repeated inners like "switch..case..case".
11320
11321 2013-06-07 Leo Liu <sdl.web@gmail.com>
11322
11323 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11324 to t. (Bug#14303)
11325 (octave-function-header-regexp): Fix. (Bug#14570)
11326 (octave-help-mode-finish-hook, octave-help-mode-finish):
11327 Remove. Just use temp-buffer-show-hook.
11328
11329 * newcomment.el (comment-search-backward): Revert last change.
11330 (Bug#14434)
11331
11332 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11333
11334 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11335
11336 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11337 through xargs, to avoid failure due to MS-Windows limitations on
11338 command-line length.
11339
11340 2013-06-06 Glenn Morris <rgm@gnu.org>
11341
11342 * font-lock.el (lisp-font-lock-keywords-2):
11343 Treat user-error like error.
11344
11345 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11346 (byte-compile-backward-char, byte-compile-backward-word):
11347 Handle explicit nil arguments. (Bug#14565)
11348
11349 2013-06-05 Alan Mackenzie <acm@muc.de>
11350
11351 * isearch.el (isearch-allow-prefix): New user option.
11352 (isearch-other-meta-char): Don't exit isearch when a prefix
11353 argument is typed whilst `isearch-allow-prefix' is non-nil.
11354 (Bug#9706)
11355
11356 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * autorevert.el (auto-revert-notify-handler): Use memq.
11359 Hide assertion failure.
11360
11361 * skeleton.el: Use cl-lib.
11362 (skeleton-further-elements): Use defvar-local.
11363 (skeleton-insert): Use cl-progv.
11364
11365 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11366
11367 * progmodes/prog-mode.el (prog-prettify-symbols)
11368 (prog-prettify-install): Update docstrings.
11369
11370 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * simple.el: Move all the prog-mode code to prog-mode.el.
11373 * progmodes/prog-mode.el: New file.
11374 * loadup.el: Add prog-mode.el.
11375
11376 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11377
11378 * simple.el (prog-prettify-symbols): Add version.
11379 (prog-prettify-install): Add convenience function to prettify symbols.
11380
11381 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11382 (perl--augmented-font-lock-keywords-1)
11383 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11384 variables and use it.
11385
11386 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11387 (cfengine3-mode): Remove unneeded variable and use it.
11388
11389 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11390 (lisp--augmented-font-lock-keywords-1)
11391 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11392 Remove unneeded variables and use it.
11393
11394 2013-06-05 João Távora <joaotavora@gmail.com>
11395
11396 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11397 to point when opening the connection. (Bug#14380)
11398
11399 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * subr.el (load-history-regexp, load-history-filename-element)
11402 (eval-after-load, after-load-functions, do-after-load-evaluation)
11403 (eval-next-after-load, display-delayed-warnings)
11404 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11405 definition of save-match-data.
11406 (overriding-local-map): Remove accidental obsolescence declaration.
11407
11408 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11409
11410 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11411
11412 Generalize symbol prettify support to prog-mode and implement it
11413 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11414 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11415 (prog--prettify-font-lock-compose-symbol)
11416 (prog-prettify-font-lock-symbols-keywords): New variables and
11417 functions to support symbol prettification.
11418 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11419 (lisp--augmented-font-lock-keywords-1)
11420 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11421 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11422 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11423 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11424 Implement prettify of -> => :: strings.
11425 * progmodes/perl-mode.el (perl-prettify-symbols)
11426 (perl--font-lock-compose-symbol)
11427 (perl--font-lock-symbols-keywords): Move to prog-mode.
11428 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11429 (perl-font-lock-keywords-1)
11430 (perl-font-lock-keywords-2): Remove explicit prettify support.
11431 (perl--augmented-font-lock-keywords)
11432 (perl--augmented-font-lock-keywords-1)
11433 (perl--augmented-font-lock-keywords-2, perl-mode):
11434 Implement prettify support.
11435
11436 2013-06-05 Leo Liu <sdl.web@gmail.com>
11437
11438 Re-implement SMIE matching block highlight using
11439 show-paren-data-function. (Bug#14395)
11440 * emacs-lisp/smie.el (smie-matching-block-highlight)
11441 (smie--highlight-matching-block-overlay)
11442 (smie--highlight-matching-block-lastpos)
11443 (smie-highlight-matching-block)
11444 (smie-highlight-matching-block-mode): Remove.
11445 (smie--matching-block-data-cache): New variable.
11446 (smie--matching-block-data): New function.
11447 (smie-setup): Use smie--matching-block-data for
11448 show-paren-data-function.
11449
11450 * progmodes/octave.el (octave-mode-menu): Fix.
11451 (octave-find-definition): Skip garbage lines.
11452
11453 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 Fix compilation error with simultaneous dynamic+lexical scoping.
11456 Add warning when a defvar appears after the first let-binding.
11457 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11458 (byte-compile-close-variables): Initialize it.
11459 (byte-compile--declare-var): New function.
11460 (byte-compile-file-form-defvar)
11461 (byte-compile-file-form-define-abbrev-table)
11462 (byte-compile-file-form-custom-declare-variable): Use it.
11463 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11464 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11465 (byte-compile-bind): Handle dynamic bindings that shadow
11466 lexical bindings.
11467 (byte-compile-unbind): Make arg non-optional.
11468 (byte-compile-let): Simplify.
11469 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11470 (cconv--analyse-function, cconv-analyse-form): Populate it.
11471 Protect byte-compile-bound-variables to limit the scope of defvars.
11472 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11473 Remove unneeded rule for `declare'.
11474
11475 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11476 so as to avoid depending on cl-adjoin at run-time.
11477 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11478
11479 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11480 (macroexp--warn-and-return): Use it.
11481
11482 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11483
11484 * subr.el: Convert to lexical binding.
11485 (overriding-local-map): Make obsolete.
11486 (add-to-list): Doc fix. Add compiler macro.
11487 (read-key): Swap values of local maps.
11488
11489 2013-06-05 Leo Liu <sdl.web@gmail.com>
11490
11491 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11492
11493 2013-06-04 Leo Liu <sdl.web@gmail.com>
11494
11495 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11496 (compilation-auto-jump): Suppress the "Mark set" message to give
11497 way to exit message.
11498
11499 2013-06-04 Alan Mackenzie <acm@muc.de>
11500
11501 Remove faulty optimisation from indentation calculation.
11502 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11503 search limit based on 2000 characters back from indent-point.
11504
11505 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11506
11507 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11508
11509 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * emacs-lisp/lisp.el: Use lexical-binding.
11512 (lisp--local-variables-1, lisp--local-variables): New functions.
11513 (lisp--local-variables-completion-table): New var.
11514 (lisp-completion-at-point): Use it complete let-bound vars.
11515
11516 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11517 eagerly (bug#14422).
11518
11519 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11520
11521 * autorevert.el (auto-revert-notify-enabled)
11522 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11523 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11524 (auto-revert-notify-handler): Handle also gfilenotify.
11525
11526 * subr.el (file-notify-handle-event): New defun. Replacing ...
11527 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11528 Remove.
11529
11530 2013-06-03 Juri Linkov <juri@jurta.org>
11531
11532 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11533 `M-s h .'. (Bug#14427)
11534
11535 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11536 command `hi-lock-face-symbol-at-point'.
11537 (hi-lock-face-symbol-at-point): New command.
11538 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11539 (hi-lock-menu): Add `highlight-symbol-at-point'.
11540 (hi-lock-mode): Doc fix.
11541
11542 * isearch.el (isearch-forward-symbol-at-point): New command.
11543 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11544 (isearch-highlight-regexp): Add a regexp which matches
11545 words/symbols for word/symbol mode.
11546
11547 * subr.el (find-tag-default-bounds): New function with the body
11548 mostly moved from `find-tag-default'.
11549 (find-tag-default): Move most code to `find-tag-default-bounds',
11550 call it and apply `buffer-substring-no-properties' afterwards.
11551
11552 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11553
11554 * eshell/em-term.el (eshell-term-initialize):
11555 Use `cl-intersection' rather than `intersection'.
11556
11557 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11558
11559 * vc/log-view.el: Doc fix.
11560 (log-view-mode-map): Copy keymap from `special-mode-map'.
11561
11562 2013-06-02 Eric Ludlam <zappo@gnu.org>
11563
11564 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11565 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11566 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11567 (eieio-unbound, eieio-default-superclass)
11568 (eieio--define-field-accessors, method-static, method-before)
11569 (method-primary, method-after, method-num-lists)
11570 (method-generic-before, method-generic-primary)
11571 (method-generic-after, method-num-slots)
11572 (eieio-specialized-key-to-generic-key)
11573 (eieio--check-type, class-v, class-p)
11574 (eieio-class-name, define-obsolete-function-alias)
11575 (eieio-class-parents-fast, eieio-class-children-fast)
11576 (same-class-fast-p, class-constructor, generic-p)
11577 (generic-primary-only-p, generic-primary-only-one-p)
11578 (class-option-assoc, class-option, eieio-object-p)
11579 (class-abstract-p, class-method-invocation-order)
11580 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11581 (eieio-class-un-autoload, eieio-defclass)
11582 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11583 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11584 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11585 (eieio-defgeneric-reset-generic-form)
11586 (eieio-defgeneric-form-primary-only)
11587 (eieio-defgeneric-reset-generic-form-primary-only)
11588 (eieio-defgeneric-form-primary-only-one)
11589 (eieio-defgeneric-reset-generic-form-primary-only-one)
11590 (eieio-unbind-method-implementations)
11591 (eieio--defmethod, eieio--typep)
11592 (eieio-perform-slot-validation, eieio-validate-slot-value)
11593 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11594 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11595 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11596 (eieio-slot-name-index, eieio-class-slot-name-index)
11597 (eieio-set-defaults, eieio-initarg-to-attribute)
11598 (eieio-attribute-to-initarg, eieio-c3-candidate)
11599 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11600 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11601 (eieio-class-precedence-list, eieio-generic-call-methodname)
11602 (eieio-generic-call-arglst, eieio-generic-call-key)
11603 (eieio-generic-call-next-method-list)
11604 (eieio-pre-method-execution-functions, eieio-generic-call)
11605 (eieio-generic-call-primary-only, eieiomt-method-list)
11606 (eieiomt-optimizing-obarray, eieiomt-install)
11607 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11608 (eieio-generic-form, eieio-defmethod, make-obsolete)
11609 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11610 (defclass): Remove `eval-and-compile' from macro.
11611 (call-next-method, shared-initialize): Instead of using
11612 `scoped-class' variable, use new eieio--scoped-class, and
11613 eieio--with-scoped-class.
11614 (initialize-instance): Rename local variable 'scoped-class' to
11615 'this-class' to remove ambiguitity from old global.
11616
11617 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11618 eieio.el.
11619 (eieio--scoped-class-stack): New variable.
11620 (eieio--scoped-class): New fcn.
11621 (eieio--with-scoped-class): New scoping macro.
11622 (eieio-defclass): Use pushnew instead of add-to-list.
11623 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11624 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11625 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11626 `scoped-class' variable, use new eieio--scoped-class, and
11627 eieio--with-scoped-class.
11628
11629 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11630
11631 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11632
11633 * eshell/esh-ext.el (eshell-external-command): Pass args to
11634 `eshell-find-interpreter'.
11635 (eshell-find-interpreter): Add new second parameter ARGS.
11636
11637 * eshell/em-script.el (eshell-script-initialize): Add second arg
11638 to the function added as MATCH to `eshell-interpreter-alist'.
11639
11640 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11641 the function added as MATCH to `eshell-interpreter-alist'.
11642
11643 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11644 (eshell-visual-options): New defcustom.
11645 (eshell-escape-control-x): Adapt docstring.
11646 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11647 `eshell-visual-options' in addition to `eshell-visual-commands'.
11648 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11649
11650 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11651
11652 * progmodes/python.el (python-indent-block-enders): Add break,
11653 continue and raise keywords.
11654
11655 2013-06-01 Glenn Morris <rgm@gnu.org>
11656
11657 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11658
11659 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11660 * progmodes/cc-cmds.el (delete-forward-p):
11661 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11662 * progmodes/cc-engine.el (buffer-syntactic-context):
11663 * progmodes/cc-fonts.el (face-property-instance):
11664 * progmodes/cc-mode.el (set-keymap-parents):
11665 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11666 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11667 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11668 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11669 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11670
11671 * progmodes/cc-vars.el (other): Emacs has this widget since
11672 at least 21.1, so don't (re)define it.
11673
11674 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11675 Replace the obsolete alias pcomplete-arg-quote-list.
11676
11677 2013-06-01 Leo Liu <sdl.web@gmail.com>
11678
11679 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11680 punctuation syntax.
11681 (inferior-octave-minimal-columns)
11682 (inferior-octave-last-column-width): New variables.
11683 (inferior-octave-track-window-width-change): New function.
11684 (inferior-octave-mode): Adjust column width so that Octave output,
11685 for example from 'ls', can fit into the window nicely.
11686
11687 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11688
11689 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11690 Highlight expansions inside regexp literals.
11691
11692 2013-05-31 Glenn Morris <rgm@gnu.org>
11693
11694 * obsolete/sym-comp.el (symbol-complete):
11695 Replace obsolete completion-annotate-function.
11696
11697 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11698
11699 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11700
11701 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11702 New function, checks if point is inside a literal that allows
11703 expression expansion.
11704 (ruby-syntax-propertize-expansion): Use it.
11705 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11706 around the body.
11707
11708 2013-05-30 Juri Linkov <juri@jurta.org>
11709
11710 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11711 to "\M-si".
11712 (isearch-invisible): New variable.
11713 (isearch-forward): Doc fix.
11714 (isearch-mode): Set `isearch-invisible'
11715 to the value of `search-invisible'.
11716 (isearch-toggle-case-fold): Doc fix.
11717 (isearch-toggle-invisible): New command.
11718 (isearch-query-replace): Let-bind `search-invisible'
11719 to the value of `isearch-invisible'.
11720 (isearch-search): Use `isearch-invisible' instead of
11721 `search-invisible'. Let-bind `search-invisible'
11722 to the value of `isearch-invisible'. (Bug#11378)
11723
11724 2013-05-30 Juri Linkov <juri@jurta.org>
11725
11726 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11727 call when `query-flag' is nil and `search-invisible' is non-nil.
11728 (Bug#11746)
11729
11730 2013-05-30 Glenn Morris <rgm@gnu.org>
11731
11732 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11733
11734 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11735 (cc-require): Suppress spurious "noruntime" warnings.
11736 (cc-require-when-compile): Use fboundp, for sake of compiler.
11737
11738 * progmodes/cc-mode.el: Move load of cc-vars before that of
11739 cc-langs (which in turn loads cc-vars), to quieten compiler.
11740
11741 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11742
11743 * paren.el: Simplify the code.
11744 (show-paren-mode): Always start the timer.
11745 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11746 (show-paren--overlay, show-paren--overlay-1): Rename from
11747 show-paren-overlay and show-paren-overlay-1, and initialize to an
11748 overlay rather than to nil.
11749 (show-paren-function): Misc cleanup and simplifications.
11750
11751 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * paren.el (show-paren-data-function): New hook.
11754 (show-paren--default): New function, extracted from show-paren-function.
11755 (show-paren-function): Use show-paren-data-function.
11756
11757 2013-05-30 Glenn Morris <rgm@gnu.org>
11758
11759 * ielm.el (ielm-map, ielm-complete-symbol):
11760 Use completion-at-point rather than obsolete functions.
11761 (inferior-emacs-lisp-mode): Doc fix.
11762 Set completion-at-point-functions, rather than
11763 comint-dynamic-complete-functions.
11764
11765 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11766 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11767 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11768
11769 * image.el (image-animated-p): Tweak definition.
11770
11771 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11772 (rlogin-process-connection-type): Tweak default. Add set-after.
11773 (rlogin-host): Doc fix.
11774 (rlogin): Tweak prompt.
11775 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11776
11777 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11778 * progmodes/tcl.el (inferior-tcl-mode-map):
11779 Use completion-at-point rather than obsolete alias.
11780
11781 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11782
11783 * minibuffer.el (read-file-name-completion-ignore-case):
11784 Move before completion--in-region, for eager macro expansion.
11785
11786 2013-05-29 Juri Linkov <juri@jurta.org>
11787
11788 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11789 for total count of matching lines. Add `global-matches' for total
11790 count of matches. Rename `matches' to `lines' for count of
11791 matching lines. Add `matches' for count of matches.
11792 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11793 to `prev-line' for line number of prev match endpt.
11794 Increment `matches' for every match. Print the number of
11795 matching lines in the header.
11796 (occur-context-lines): Rename `lines' to `curr-line'.
11797 Rename `prev-lines' to `prev-line'. (Bug#14017)
11798
11799 2013-05-29 Juri Linkov <juri@jurta.org>
11800
11801 * replace.el (perform-replace): Add `skip-read-only-count',
11802 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11803 Increment them for corresponding conditions and report the number
11804 of skipped occurrences in the final message. (Bug#11746)
11805 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11806 (replace-string, replace-regexp): Doc fix.
11807
11808 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11811
11812 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11813 prog-mode-map (bug#14504).
11814
11815 2013-05-29 Leo Liu <sdl.web@gmail.com>
11816
11817 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11818 (octave-help): Small simplification.
11819
11820 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11821 off the highlight first.
11822
11823 2013-05-29 Glenn Morris <rgm@gnu.org>
11824
11825 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11826 Handle idlwave-last-system-routine-info-cons-cell being nil.
11827
11828 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11829 (idlwave-write-paths): Simplify via with-temp-buffer.
11830
11831 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11832 * emulation/cua-rect.el: Also load cua-base at run time.
11833
11834 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11835 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11836 (cperl-imenu-on-info): Require imenu.
11837
11838 2013-05-28 Alan Mackenzie <acm@muc.de>
11839
11840 Handle "capitalised keywords" correctly.
11841 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11842
11843 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11844
11845 * eshell/em-unix.el: Add -r option to cp.
11846
11847 2013-05-28 Glenn Morris <rgm@gnu.org>
11848
11849 * vc/vc-arch.el (vc-exec-after): Declare.
11850 (vc-switches): Autoload.
11851 * vc/vc-bzr.el: No need to require vc when compiling.
11852 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11853 (vc-resynch-buffer, vc-dir-refresh): Declare.
11854 (vc-setup-buffer, vc-switches): Autoload.
11855 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11856 (vc-resynch-buffer): Declare.
11857 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11858 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11859 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11860 (grep-read-regexp, grep-read-files, grep-expand-template)
11861 (vc-dir-refresh): Declare.
11862 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11863 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11864 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11865 * vc/vc-mtn.el (vc-exec-after): Declare.
11866 (vc-switches): Autoload.
11867 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11868 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11869 (vc-file-tree-walk): Declare.
11870 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11871 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11872 (vc-tag-precondition, vc-rename-master): Autoload.
11873 * vc/vc-svn.el (vc-exec-after): Declare.
11874 (vc-switches, vc-setup-buffer): Autoload.
11875 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11876 Autoload.
11877 (vc-resynch-buffer): Declare.
11878
11879 * obsolete/fast-lock.el (byte-compile-warnings):
11880 Don't warn about obsolete features in this obsolete file.
11881
11882 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11883 Move definition before use.
11884
11885 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11886 (dun-unix-verbs): Remove dun-zippy.
11887 (dun-zippy): Remove function.
11888
11889 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11890
11891 2013-05-27 Juri Linkov <juri@jurta.org>
11892
11893 * replace.el (replace-search): New function with code moved out
11894 from `perform-replace'.
11895 (replace-highlight, replace-dehighlight): Move function definitions
11896 up closer to `replace-search'. (Bug#11746)
11897
11898 2013-05-27 Juri Linkov <juri@jurta.org>
11899
11900 * replace.el (perform-replace): Ignore invisible matches.
11901 In addition to checking `query-replace-skip-read-only', also
11902 filter out matches by calling `run-hook-with-args-until-failure'
11903 on `isearch-filter-predicates', and also check `search-invisible'
11904 for t or call `isearch-range-invisible'.
11905 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11906
11907 2013-05-27 Juri Linkov <juri@jurta.org>
11908
11909 * isearch.el (isearch-filter-predicates): Rename from
11910 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11911 (isearch-message-prefix): Display text from the property
11912 `isearch-message-prefix' of the currently active filters.
11913 (isearch-search): Don't compare `isearch-filter-predicate' with
11914 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11915 on `isearch-filter-predicates'. Also check `search-invisible' for t
11916 or call `isearch-range-invisible'.
11917 (isearch-filter-visible): Make obsolete.
11918 (isearch-lazy-highlight-search):
11919 Call `run-hook-with-args-until-failure' on
11920 `isearch-filter-predicates' and use `isearch-range-invisible'.
11921
11922 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11923 `isearch-filter-predicates' instead of `funcall'ing
11924 `isearch-filter-predicate'.
11925 (Info-mode): Set `Info-isearch-filter' to
11926 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11927
11928 * dired-aux.el (dired-isearch-filter-predicate-orig):
11929 Remove variable.
11930 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11931 (dired-isearch-filenames-end): Add and remove
11932 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11933 instead of changing the value of `isearch-filter-predicate'.
11934 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11935 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11936 Put property `isearch-message-prefix' to "filename " on
11937 `dired-isearch-filter-filenames'.
11938
11939 * wdired.el (wdired-change-to-wdired-mode):
11940 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11941 locally instead of changing `isearch-filter-predicate'.
11942 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11943
11944 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11945
11946 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11947 return the commit hash (Bug#14459). Also set the
11948 `vc-git-detached' property.
11949 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11950 (vc-git-mode-line-string): Use the same help-echo format whether
11951 in detached mode or not, because we know the actual revision now.
11952 When in detached mode, shorten the revision to 7 chars.
11953
11954 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11955
11956 * emacs-lisp/easy-mmode.el (define-minor-mode):
11957 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11958 mode hook and provide a docstring.
11959
11960 2013-05-27 Alan Mackenzie <acm@muc.de>
11961
11962 Remove spurious syntax-table text properties inserted by C-y.
11963 * progmodes/cc-mode.el (c-after-change): Also clear hard
11964 syntax-table property with value nil.
11965
11966 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11967
11968 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11969 when reading the events; the buffer layout shall not be changed.
11970
11971 2013-05-27 Leo Liu <sdl.web@gmail.com>
11972
11973 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11974 New variable.
11975 (inferior-octave-directory-tracker): Automatically re-sync
11976 default-directory.
11977 (octave-help): Improve handling of 'See also'.
11978
11979 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11980
11981 * doc-view.el: Minor naming convention tweaks.
11982 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11983
11984 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11985 even if there's no `display' property yet (bug#14435).
11986
11987 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11988
11989 * subr.el (unmsys--file-name): Rename from reveal-filename.
11990
11991 * Makefile.in (custom-deps, finder-data, autoloads)
11992 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11993 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11994 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11995
11996 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11997
11998 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11999 error-completion on the first 2 args of condition-case (bug#14446).
12000 Don't burp at EOB.
12001
12002 2013-05-25 Leo Liu <sdl.web@gmail.com>
12003
12004 * comint.el (comint-previous-matching-input): Do not flood the
12005 *Messages* buffer with trivial messages.
12006
12007 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * progmodes/flymake.el (flymake-nop): Don't return a string.
12010 (flymake-set-at): Fix typo.
12011
12012 * simple.el (read--expression): New function, extracted from
12013 eval-expression. Set completion-at-point-functions (bug#14465).
12014 (eval-expression, eval-minibuffer): Use it.
12015
12016 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12017
12018 * progmodes/flymake.el (flymake-save-buffer-in-file)
12019 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12020 (flymake-selected-frame, flymake-log, flymake-ins-after)
12021 (flymake-set-at, flymake-get-buildfile-from-cache)
12022 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12023 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12024 Refine the doc string.
12025 (flymake-get-file-name-mode-and-masks): Reformat.
12026 (flymake-get-real-file-name-function): Fix a minor bug.
12027
12028 2013-05-24 Juri Linkov <juri@jurta.org>
12029
12030 * progmodes/grep.el (grep-mode-font-lock-keywords):
12031 Support =linenumber= format used by git-grep for lines with
12032 function names. (Bug#13549)
12033
12034 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12037 0 after a semi-colon; it works better for smie-auto-fill.
12038 (octave--indent-new-comment-line): New function.
12039 (octave-indent-new-comment-line): Use it (indirectly).
12040 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12041 modify comment-line-break-function.
12042
12043 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12044 (smie-setup): Use add-function to set it.
12045
12046 2013-05-24 Sam Steingold <sds@gnu.org>
12047
12048 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12049 argument (before the `interactive' argument).
12050
12051 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * image-mode.el (image-mode-winprops): Add winprops to
12054 image-mode-winprops-alist before running
12055 image-mode-new-window-functions.
12056 * doc-view.el (doc-view-new-window-function): Don't delay
12057 doc-view-goto-page via timers (bug#14435).
12058
12059 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12060
12061 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12062 (doc-view-desktop-save-buffer): New function.
12063 (doc-view-restore-desktop-buffer): New function.
12064 (desktop-buffer-mode-handlers):
12065 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12066 handler.
12067 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12068 `desktop-save-buffer' function.
12069
12070 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12071
12072 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12073 (tramp-gvfs-file-name-handler): Raise a user error when
12074 `tramp-gvfs-enabled' is nil.
12075 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12076 Do not raise a user error when loading package. (Bug#14447)
12077
12078 * net/xesam.el: Move to obsolete/.
12079
12080 2013-05-24 Glenn Morris <rgm@gnu.org>
12081
12082 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12083
12084 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12085
12086 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12087 (Info-find-node, Man-getpage-in-background): Declare.
12088
12089 * mail/unrmail.el (unrmail):
12090 Replace obsolete detect-coding-with-priority.
12091
12092 * net/socks.el (socks-split-string): Use this rather than split-string.
12093 (socks-nslookup-host): Update for above change.
12094 (dynamic-choice, s5-dynamic-choice-match)
12095 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12096 Comment out unused code.
12097
12098 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12099 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12100 (gud-tooltip-echo-area): Make obsolete.
12101 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12102
12103 * progmodes/js.el (js--optimize-arglist): Declare.
12104
12105 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12106
12107 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12108 (ediff-window-C): Declare.
12109
12110 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12111 Tweak requires to silence compiler.
12112
12113 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12114 (he-search-string, he-tried-table, he-expand-list)
12115 (he-init-string, he-string-member, he-substitute-string)
12116 (he-reset-string): Declare.
12117
12118 * obsolete/options.el (list-options): Use custom-variable-p,
12119 rather than obsolete alias.
12120
12121 2013-05-23 Sam Steingold <sds@gnu.org>
12122
12123 * simple.el (shell-command-on-region): Pass the `replace' argument
12124 down to `call-process-region' to comply with the doc as reported on
12125 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12126
12127 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * emacs-lisp/smie.el (smie-indent-forward-token)
12130 (smie-indent-backward-token): Handle string tokens (bug#14381).
12131
12132 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12133
12134 * ielm.el (ielm-menu): New menu.
12135 (inferior-emacs-lisp-mode): Set comment-start.
12136
12137 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12138
12139 * textmodes/reftex.el (reftex-ref-style-toggle):
12140 Fix deactivate action.
12141
12142 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12143 Add cleveref macros.
12144
12145 * textmodes/reftex-parse.el
12146 (reftex-locate-bibliography-files): Accept options for
12147 bibliography commands.
12148 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12149 Add addbibresource. Basic Biblatex support.
12150
12151 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12152
12153 * net/tramp-gvfs.el (top):
12154 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12155 when loading package. (Bug#14447)
12156
12157 2013-05-23 Glenn Morris <rgm@gnu.org>
12158
12159 * progmodes/js.el: No need to load comint when compiling.
12160 (ring-insert, comint-send-string, comint-send-input)
12161 (comint-last-input-end, ido-chop): Declare.
12162
12163 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12164 * vc/ediff-mult.el: Adjust requires.
12165 (ediff-directories-internal, ediff-directory-revisions-internal)
12166 (ediff-patch-file-internal): Declare.
12167 * vc/ediff-ptch.el: Adjust requires.
12168 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12169 (ediff-find-file): Autoload.
12170 * vc/ediff-util.el: No need to load ediff when compiling.
12171 (ediff-regions-internal): Declare.
12172 * vc/ediff-wind.el: Adjust requires.
12173 (ediff-compute-toolbar-width): Define when compiling.
12174 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12175 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12176 (dired-get-filename, dired-get-marked-files)
12177 (ediff-last-dir-patch, ediff-patch-default-directory)
12178 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12179 (ediff-patch-buffer-internal): Declare.
12180
12181 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12182 (ispell-process, ispell-buffer-local-words, lm-summary)
12183 (lm-section-start, lm-section-end): Declare.
12184 (checkdoc-ispell-init): Simplify.
12185
12186 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12187 (he-string-member, he-reset-string, he-substitute-string): Declare.
12188
12189 * eshell/em-ls.el: Adjust requires.
12190 (eshell-glob-regexp): Declare.
12191 * eshell/em-tramp.el: Adjust requires.
12192 (eshell-parse-command): Autoload.
12193 * eshell/em-xtra.el: Adjust requires.
12194 (eshell-parse-command): Autoload.
12195 * eshell/esh-ext.el: Adjust requires.
12196 (eshell-parse-command, eshell-close-handles): Autoload.
12197 * eshell/esh-io.el: Adjust requires.
12198 (eshell-output-filter): Autoload.
12199 * eshell/esh-util.el: No need to load tramp when compiling.
12200 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12201 Declare.
12202 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12203 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12204 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12205 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12206 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12207 * eshell/esh-opt.el, eshell/esh-proc.el:
12208 * eshell/esh-var.el: Adjust requires.
12209 * eshell/eshell.el: Do not require esh-util twice.
12210 (eshell-add-input-to-history): Declare.
12211 (eshell-command): Check history module is active before using it.
12212
12213 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12214
12215 2013-05-22 Leo Liu <sdl.web@gmail.com>
12216
12217 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12218
12219 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12220
12221 * autorevert.el (auto-revert-notify-add-watch)
12222 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12223 it indicates changes in file modification time.
12224
12225 2013-05-22 Glenn Morris <rgm@gnu.org>
12226
12227 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12228 Always delete the autoloaded function from the noruntime and
12229 unresolved functions lists.
12230
12231 * allout.el: No need to load epa, epg, overlay when compiling.
12232 (epg-context-set-passphrase-callback, epg-list-keys)
12233 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12234 (epg-key-user-id-list): Declare.
12235
12236 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12237 (viper-set-parsing-style-toggling-macro)
12238 (viper-set-emacs-state-searchstyle-macros):
12239 Use called-interactively-p on Emacs.
12240 (viper-looking-back): Make it an obsolete alias. Update callers.
12241 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12242 Use looking-back rather than viper-looking-back.
12243 (viper-tmp-insert-at-eob, viper-enlarge-region)
12244 (viper-read-string-with-history, viper-register-to-point)
12245 (viper-append-to-register, viper-change-state-to-vi)
12246 (viper-backward-char-carefully, viper-forward-char-carefully)
12247 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12248 (viper-change-state-to-emacs): Declare.
12249 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12250 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12251 * emulation/viper-mous.el: Do not load viper-cmd.
12252 (viper-backward-char-carefully, viper-forward-char-carefully)
12253 (viper-forward-word, viper-adjust-window): Declare.
12254
12255 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12256
12257 * progmodes/idlw-help.el (idlwave-help-fontify):
12258 Use called-interactively-p.
12259
12260 * term/w32console.el (w32-get-console-codepage)
12261 (w32-get-console-output-codepage): Declare.
12262
12263 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12264 Remove unnecessary declarations.
12265 (dframe-message): Doc fix.
12266
12267 * info.el (dframe-select-attached-frame, dframe-current-frame):
12268 Declare.
12269
12270 * speedbar.el (speedbar-message): Make it an obsolete alias.
12271 Update all callers.
12272 (speedbar-with-attached-buffer)
12273 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12274 (speedbar-with-writable): Use backquote.
12275 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12276 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12277 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12278 rather than speedbar- aliases.
12279 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12280 (speedbar-make-specialized-keymap, speedbar-insert-button)
12281 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12282 (speedbar-do-function-pointer): Declare.
12283 (rmail-speedbar-button, rmail-speedbar-find-file)
12284 (rmail-speedbar-move-message):
12285 Use dframe-with-attached-buffer rather than speedbar- alias.
12286 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12287 (dframe-message, speedbar-make-specialized-keymap)
12288 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12289 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12290 (speedbar-insert-button, dframe-select-attached-frame)
12291 (dframe-maybee-jump-to-attached-frame)
12292 (speedbar-change-initial-expansion-list)
12293 (speedbar-previously-used-expansion-list-name): Declare.
12294 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12295 Use dframe-message, dframe-with-attached-buffer rather than
12296 speedbar- aliases.
12297 (gud-sentinel): Silence compiler.
12298 * progmodes/vhdl-mode.el (speedbar-refresh)
12299 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12300 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12301 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12302 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12303 (speedbar-file-lists, speedbar-make-tag-line)
12304 (speedbar-line-directory, speedbar-goto-this-file)
12305 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12306 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12307 (speedbar-make-button, speedbar-reset-scanners)
12308 (speedbar-files-item-info, speedbar-line-text)
12309 (speedbar-find-file-in-frame, speedbar-set-timer)
12310 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12311 (speedbar-with-writable): Do not (re)define it.
12312 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12313 rather than speedbar- alias.
12314
12315 2013-05-21 Leo Liu <sdl.web@gmail.com>
12316
12317 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12318 menu items.
12319 (octave-mode): Tweak fill-nobreak-predicate.
12320 (inferior-octave-startup): Check process to avoid infinite loop.
12321 (inferior-octave): Pop to buffer first to show abornmal process
12322 exit information.
12323
12324 2013-05-21 Glenn Morris <rgm@gnu.org>
12325
12326 * printing.el (pr-menu-bar): Define when compiling.
12327
12328 2013-05-21 Leo Liu <sdl.web@gmail.com>
12329
12330 * progmodes/octave.el (octave-auto-fill): Remove.
12331 (octave-indent-new-comment-line): Improve.
12332 (octave-mode): Use auto fill mode through
12333 comment-line-break-function and fill-nobreak-predicate.
12334 (octave-goto-function-definition): Support DEFUN_DLD.
12335 (octave-beginning-of-defun): Small tweak.
12336 (octave-help): Show parent directory.
12337
12338 2013-05-21 Glenn Morris <rgm@gnu.org>
12339
12340 * files.el (dired-unmark):
12341 * progmodes/gud.el (gdb-input): Update declarations.
12342
12343 * calculator.el (electric, ehelp): No need to load when compiling.
12344 (Electric-command-loop, electric-describe-mode): Declare.
12345
12346 * doc-view.el (doc-view-current-converter-processes): Move before use.
12347
12348 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12349 Move MODE-set-explicitly definition before use.
12350
12351 * international/mule-diag.el (mule-diag):
12352 Don't use obsolete window-system-version.
12353
12354 * mail/feedmail.el (smtpmail): No need to load when compiling.
12355 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12356
12357 * mail/mail-utils.el (rfc822): No need to load when compiling.
12358 (rfc822-addresses): Autoload it.
12359 (mail-strip-quoted-names): Trivial simplification.
12360
12361 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12362 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12363
12364 * net/snmp-mode.el (tempo): Don't duplicate requires.
12365
12366 * progmodes/prolog.el (info): No need to load when compiling.
12367 (comint): Require before shell requires it.
12368 (Info-goto-node): Autoload it.
12369 (Info-follow-nearest-node): Declare.
12370 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12371
12372 * textmodes/artist.el (picture-mode-exit): Declare.
12373
12374 * textmodes/reftex-parse.el (reftex-parse-from-file):
12375 Trivial rewrite so the compiler can parse it better.
12376
12377 2013-05-20 Leo Liu <sdl.web@gmail.com>
12378
12379 * progmodes/octave.el (octave-help-mode-map)
12380 (octave-help-mode-finish-hook): New variables.
12381 (octave-help-mode, octave-help-mode-finish): New functions.
12382 (octave-help): Use octave-help-mode.
12383
12384 2013-05-20 Glenn Morris <rgm@gnu.org>
12385
12386 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12387
12388 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12389
12390 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12391 start at point, so that expansion starting right after opening
12392 slash in a regexp is recognized.
12393 (ruby-syntax-before-regexp-re): New defvar, extracted from
12394 ruby-syntax-propertize-function. Since the value of this regexp
12395 is looked up at runtime now, we should be able to turn
12396 `ruby-syntax-methods-before-regexp' into a defcustom later.
12397 (ruby-syntax-propertize-function): Split regexp matching into two
12398 parts, for opening and closing slashes. That allows us to skip
12399 over string interpolations and support multiline regexps.
12400 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12401 for them, which calls `ruby-syntax-propertize-expansion'.
12402 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12403 call to `ruby-syntax-propertize-function'.
12404 (ruby-syntax-propertize-expansion): Extracted from
12405 `ruby-syntax-propertize-expansions'. Handles one expansion.
12406 (ruby-syntax-propertize-percent-literal): Leave point right after
12407 the percent symbol, so that the expression expansion rule can
12408 propertize the contents.
12409 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12410 heredoc openers.
12411 (ruby-syntax-propertize-expansions): Remove.
12412
12413 2013-05-18 Juri Linkov <juri@jurta.org>
12414
12415 * man.el (Man-default-man-entry): Remove `-' from the end
12416 of the default value. (Bug#14400)
12417
12418 2013-05-18 Glenn Morris <rgm@gnu.org>
12419
12420 * comint.el (comint-password-prompt-regexp):
12421 Allow "password for XXX" where XXX contains colons (eg https://...).
12422
12423 2013-05-18 Leo Liu <sdl.web@gmail.com>
12424
12425 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12426 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12427 (octave-source-directories): Don't check process.
12428 (octave-source-directories, octave-find-definition): Doc fix.
12429
12430 2013-05-18 Glenn Morris <rgm@gnu.org>
12431
12432 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12433 Remove backspace/delete bindings. (Bug#14392)
12434
12435 * cus-dep.el (custom-make-dependencies): Sort the output.
12436 (custom-versions-load-alist): Convert comment to doc.
12437
12438 2013-05-17 Leo Liu <sdl.web@gmail.com>
12439
12440 * newcomment.el (comment-search-backward): Stricter in finding
12441 comment start. (Bug#14303)
12442
12443 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12444 (octave-comment-start-skip): Properly anchored.
12445
12446 2013-05-17 Leo Liu <sdl.web@gmail.com>
12447
12448 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12449 Clean up when turned off. (Bug#14395)
12450 (smie--highlight-matching-block-overlay): No longer buffer-local.
12451 (smie-highlight-matching-block): Adjust.
12452
12453 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12454
12455 Doc string fix for "nanoseconds" (Bug#14406).
12456 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12457 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12458
12459 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12460
12461 * calc/calc-units.el (math-extract-units): Preserve powers
12462 of units.
12463
12464 2013-05-17 Leo Liu <sdl.web@gmail.com>
12465
12466 * subr.el (delete-consecutive-dups): New function.
12467 * ido.el (ido-set-matches-1): Use it.
12468 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12469 * ido.el (ido-remove-consecutive-dups): Remove.
12470
12471 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12472
12473 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12474 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12475 regexp-opt's `words'.
12476
12477 2013-05-16 Leo Liu <sdl.web@gmail.com>
12478
12479 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12480 (smie--highlight-matching-block-overlay)
12481 (smie--highlight-matching-block-lastpos)
12482 (smie--highlight-matching-block-timer): New variables.
12483 (smie-highlight-matching-block): New function.
12484 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12485 (smie-setup): Conditionally enable smie-blink-matching-open.
12486
12487 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12488
12489 Sync with upstream verilog-mode r840.
12490 * progmodes/verilog-mode.el (verilog-mode-version)
12491 (verilog-mode-release-date): Update.
12492 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12493 (verilog-sig-tieoff): Fix string error on
12494 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12495 (verilog-read-decls): Fix parameters confusing
12496 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12497
12498 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12499
12500 * subr.el (reveal-filename): New function.
12501
12502 * loadup.el: Compute Emacs executable versions on MS-Windows,
12503 where executables have the .exe extension. Add a hard link
12504 emacs-XX.YY.ZZ.exe on MS-Windows.
12505
12506 * Makefile.in (XARGS_LIMIT): New variable.
12507 (custom-deps, finder-data, autoloads)
12508 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12509 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12510 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12511 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12512
12513 2013-05-16 Leo Liu <sdl.web@gmail.com>
12514
12515 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12516 (octave-mode-menu, octave-mode-map): Remove its uses.
12517
12518 2013-05-16 Reto Zimmermann <reto@gnu.org>
12519
12520 Sync with upstream vhdl mode v3.34.2.
12521 * progmodes/vhdl-mode.el: Use `push' throughout.
12522 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12523 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12524 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12525 (vhdl-actual-generic-name): New option to derive actual generic name.
12526 (vhdl-port-paste-signals): Replace formal by actual generics.
12527 (vhdl-beautify): New name for old group vhdl-align. Update users.
12528 (vhdl-beautify-options): New option.
12529 (vhdl-last-input-event): New compat alias. Use throughout.
12530 (vhdl-goto-line): Replace user level function `goto-line'.
12531 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12532 vhdl-fix-statement-buffer.
12533 (vhdl-create-mode-menu): Add some entries.
12534 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12535 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12536 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12537 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12538 to force statements on one line.
12539 (vhdl-remove-trailing-spaces-region):
12540 New, split from vhdl-remove-trailing-spaces.
12541 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12542 Respect vhdl-beautify-options.
12543 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12544 (vhdl-update-sensitivity-list): Not add with index if exists without.
12545 Not include array index with signal. Ignore keywords in comments.
12546 (vhdl-get-visible-signals): Regexp tweaks.
12547 (vhdl-template-component-inst): Handle empty library.
12548 (vhdl-template-type): Add template for 'enum' type.
12549 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12550 Use vhdl-replace-string.
12551 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12552 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12553 (vhdl-speedbar-initialize): Update for above name change.
12554 (vhdl-compose-wire-components): Fix in handling of constants.
12555 (vhdl-error-regexp-emacs-alist): New variable.
12556 (vhdl-error-regexp-add-emacs): New function;
12557 adds support for new compile.el (Emacs 22+)
12558 (vhdl-generate-makefile-1): Change target order for single lib. units.
12559 Allow use of absolute file names.
12560
12561 2013-05-16 Leo Liu <sdl.web@gmail.com>
12562
12563 * simple.el (prog-indent-sexp): Indent enclosing defun.
12564
12565 2013-05-15 Glenn Morris <rgm@gnu.org>
12566
12567 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12568 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12569 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12570 (whitespace-highlight): Move to whitespace group.
12571
12572 * comint.el (comint-source):
12573 * pcmpl-linux.el (pcmpl-linux):
12574 * shell.el (shell-faces):
12575 * eshell/esh-opt.el (eshell-opt):
12576 * international/ccl.el (ccl): Remove empty custom groups.
12577
12578 * completion.el (dynamic-completion-mode):
12579 * jit-lock.el (jit-lock-debug-mode):
12580 * minibuffer.el (completion-in-region-mode):
12581 * type-break.el (type-break-mode-line-message-mode)
12582 (type-break-query-mode):
12583 * emulation/tpu-edt.el (tpu-edt-mode):
12584 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12585 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12586 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12587
12588 * term/xterm.el (xterm): Change parent group to terminals.
12589
12590 * master.el (master): Remove empty custom group.
12591 (master-mode): Remove unused :group argument.
12592 * textmodes/refill.el (refill): Remove empty custom group.
12593 (refill-mode): Remove unused :group argument.
12594
12595 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12596
12597 * cus-dep.el: Provide a feature.
12598 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12599 Don't mistakenly ignore files whose basenames match a basename
12600 from preloaded-file-list (eg cedet/ede/simple.el).
12601 Add a fallback method for getting :group.
12602
12603 2013-05-15 Juri Linkov <juri@jurta.org>
12604
12605 * isearch.el (isearch-char-by-name): Rename from
12606 `isearch-insert-char-by-name'. Doc fix.
12607 (isearch-forward): Mention `isearch-char-by-name' in
12608 the docstring. (Bug#13348)
12609
12610 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12611 `exit-minibuffer' instead of
12612 `isearch-nonincremental-exit-minibuffer'.
12613 (isearch-edit-string): Remove mention of
12614 `isearch-nonincremental-exit-minibuffer' from docstring.
12615 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12616 (isearch-forward-exit-minibuffer)
12617 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12618
12619 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * loadup.el: Just use unversioned DOC.
12622
12623 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12624 literals as extending to EOB.
12625 (nxml-last-fontify-end): Remove unused variable.
12626 (nxml-after-change1): Use with-silent-modifications.
12627 (nxml-extend-after-change-region): Simplify.
12628 (nxml-extend-after-change-region1): Remove function.
12629 (nxml-after-change1): Don't adjust for dependent regions.
12630 (nxml-fontify-matcher): Simplify.
12631 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12632 (xmltok-add-dependent): Remove function.
12633 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12634 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12635 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12636 unclosed <[[, <?, comment, and other literals as extending to EOB.
12637 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12638 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12639 Remove functions.
12640 (rng-do-some-validation-1): Don't mark dependent regions.
12641 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12642 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12643 (nxml-clear-dependent-regions): Remove functions.
12644 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12645 (nxml-ensure-scan-up-to-date):
12646 Don't clear&mark dependent regions.
12647
12648 2013-05-15 Leo Liu <sdl.web@gmail.com>
12649
12650 * progmodes/octave.el (octave-goto-function-definition):
12651 Improve and fix callers.
12652
12653 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12654
12655 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12656 the setter (bug#14387).
12657
12658 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12659 surrounding group (bug#14402).
12660
12661 2013-05-14 Juri Linkov <juri@jurta.org>
12662
12663 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12664 (Bug#14390)
12665
12666 2013-05-14 Glenn Morris <rgm@gnu.org>
12667
12668 * progmodes/f90.el (f90-imenu-generic-expression):
12669 Fix typo in 2013-05-08 change. (Bug#14402)
12670
12671 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12672
12673 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12674 Remove signals for which replies are never received.
12675
12676 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12677
12678 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12679 (gdb-handler-alist, gdb-handler-number): Remove variables.
12680 (gdb-handler-list): New variable.
12681 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12682 (gdb-pending-handler-p, gdb-handle-reply)
12683 (gdb-remove-all-pending-triggers): New functions.
12684 (gdb-discard-unordered-replies): New defcustom.
12685 (gdb-handler): New defstruct.
12686 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12687 instead of gdb-pending-triggers. Update docstring.
12688 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12689 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12690 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12691 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12692 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12693 (gdb-frame-handler): Pending triggers are now automatically managed.
12694 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12695 Remove argument.
12696 (gdb-input): Automatically handles pending triggers. Update docstring.
12697 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12698 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12699 Update comments.
12700 (gdb-done-or-error): Now use gdb-handle-reply.
12701
12702 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12703
12704 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12705 gdb-debug-log.
12706
12707 2013-05-14 Glenn Morris <rgm@gnu.org>
12708
12709 * subr.el (user-emacs-directory-warning): New option.
12710 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12711
12712 2013-05-14 Leo Liu <sdl.web@gmail.com>
12713
12714 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12715 during redisplay.
12716 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12717 (octave-font-lock-texinfo-comment): Fix invalid search bound
12718 error: wrong side of point.
12719
12720 2013-05-14 Glenn Morris <rgm@gnu.org>
12721
12722 * progmodes/flymake.el (flymake-xml-program): New option.
12723 (flymake-xml-init): Use it.
12724
12725 * term/xterm.el: Provide a feature.
12726
12727 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12728
12729 2013-05-13 Glenn Morris <rgm@gnu.org>
12730
12731 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12732 Add compat aliases as a hack workaround. (Bug#14384)
12733
12734 2013-05-13 Leo Liu <sdl.web@gmail.com>
12735
12736 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12737 ###, and %!.
12738 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12739 C-M-q.
12740 (octave-comment-start-skip): Include %!.
12741 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12742
12743 2013-05-12 Leo Liu <sdl.web@gmail.com>
12744
12745 * progmodes/octave.el (inferior-octave-startup): Store the value
12746 of __octave_srcdir__ for octave-source-directories.
12747 (inferior-octave-check-process): New function refactored out of
12748 inferior-octave-send-list-and-digest.
12749 (octave-source-directories)
12750 (octave-find-definition-filename-function): New variables.
12751 (octave-source-directories)
12752 (octave-find-definition-default-filename): New functions.
12753 (octave-find-definition): Improve to find functions implemented in C++.
12754
12755 2013-05-12 Glenn Morris <rgm@gnu.org>
12756
12757 * calendar/diary-lib.el (diary-outlook-format-1):
12758 Don't include dayname in the output. (Bug#14349)
12759
12760 2013-05-11 Glenn Morris <rgm@gnu.org>
12761
12762 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12763
12764 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12765 Treat cc-provide like provide.
12766
12767 2013-05-11 Kevin Ryde <user42@zip.com.au>
12768
12769 * cus-dep.el (custom-make-dependencies):
12770 Use generated-autoload-load-name for the sake of files such
12771 such cedet/semantic/bovine/c.el, where the base file name
12772 is not in load-path. (Bug#5277)
12773
12774 2013-05-11 Glenn Morris <rgm@gnu.org>
12775
12776 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12777 Provide features.
12778
12779 2013-05-11 Leo Liu <sdl.web@gmail.com>
12780
12781 * progmodes/octave.el (octave-indent-comment): Improve.
12782 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12783 (octave-eldoc-function-signatures, octave-eldoc-function):
12784 New functions.
12785 (octave-mode, inferior-octave-mode): Add eldoc support.
12786
12787 2013-05-11 Richard Stallman <rms@gnu.org>
12788
12789 * epa.el (epa-decrypt-file): Take output file name as argument
12790 and read it using `interactive'.
12791
12792 2013-05-11 Leo Liu <sdl.web@gmail.com>
12793
12794 * progmodes/octave.el (octave-beginning-of-line)
12795 (octave-end-of-line): Check before using up-list because it jumps
12796 out of more syntactic contructs since moving to smie.
12797 (octave-indent-comment): New function.
12798 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12799 (octave-begin-keywords, octave-end-keywords)
12800 (octave-reserved-words, octave-smie-bnf-table)
12801 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12802
12803 2013-05-11 Glenn Morris <rgm@gnu.org>
12804
12805 * faces.el (internal-face-x-get-resource):
12806 * frame.el (ns-display-monitor-attributes-list):
12807 * calc/calc-aent.el (math-to-radians-2):
12808 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12809 Fix declarations.
12810
12811 * calc/calc-menu.el: Make it loadable in isolation.
12812
12813 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12814 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12815 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12816 (eudc-bbdb-query-internal): Require 'bbdb.
12817
12818 * lpr.el (lpr-headers-switches):
12819 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12820
12821 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12822
12823 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12824
12825 * term.el (term-set-escape-char): Make it idempotent.
12826
12827 2013-05-10 Leo Liu <sdl.web@gmail.com>
12828
12829 * progmodes/octave.el (inferior-octave-completion-table):
12830 No longer a function and all uses changed. Use cache to speed up
12831 completion due to bug#11906.
12832 (octave-beginning-of-defun): Re-write to be more general.
12833
12834 2013-05-10 Glenn Morris <rgm@gnu.org>
12835
12836 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12837
12838 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12839
12840 * comint.el (comint-redirect-send-command-to-process): Use :around
12841 rather than :override for comint-redirect-filter.
12842 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12843 Call it instead of comint-redirect-original-filter-function (which
12844 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12845
12846 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12847
12848 * frame.el (display-monitor-attributes-list): Add NS case.
12849 (ns-display-monitor-attributes-list): Declare.
12850
12851 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12852
12853 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12854
12855 2013-05-09 Glenn Morris <rgm@gnu.org>
12856
12857 * international/fontset.el (vertical-centering-font-regexp):
12858 Set standard-value.
12859
12860 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12861
12862 * bookmark.el (bookmark-search-delay):
12863 * cus-start.el (vertical-centering-font-regexp):
12864 * ps-mule.el (ps-mule-font-info-database-default):
12865 * ps-print.el (ps-default-fg, ps-default-bg):
12866 * type-break.el (type-break-good-break-interval):
12867 * whitespace.el (whitespace-indentation-regexp)
12868 (whitespace-space-after-tab-regexp):
12869 * emacs-lisp/testcover.el (testcover-1value-functions)
12870 (testcover-noreturn-functions, testcover-progn-functions)
12871 (testcover-prog1-functions):
12872 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12873 * eshell/em-glob.el (eshell-glob-translate-alist):
12874 * play/tetris.el (tetris-tty-colors):
12875 * progmodes/cpp.el (cpp-face-default-list):
12876 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12877 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12878 (idlwave-help-browser-generic-args):
12879 * progmodes/make-mode.el (makefile-special-targets-list):
12880 * progmodes/python.el (python-shell-virtualenv-path):
12881 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12882 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12883 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12884 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12885 * textmodes/reftex-vars.el (reftex-format-label-function):
12886 * textmodes/remember.el (remember-diary-file): Fix custom types.
12887
12888 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12889 Add :version.
12890
12891 2013-05-09 Leo Liu <sdl.web@gmail.com>
12892
12893 * progmodes/octave.el (inferior-octave-completion-at-point):
12894 Restore file completion. (Bug#14300)
12895 (inferior-octave-startup): Fix incorrect highlighting for the
12896 first prompt.
12897
12898 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * progmodes/ruby-mode.el: First cut at SMIE support.
12901 (ruby-use-smie): New var.
12902 (ruby-smie-grammar): New constant.
12903 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12904 (ruby-smie--forward-token, ruby-smie--backward-token)
12905 (ruby-smie-rules): New functions.
12906 (ruby-mode-variables): Setup SMIE if applicable.
12907
12908 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12909
12910 * simple.el (line-move-visual): Signal beginning/end of buffer
12911 only if vertical-motion moved less than it was requested. Avoids
12912 silly incorrect error messages when there are display strings with
12913 multiple newlines at EOL.
12914
12915 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12916
12917 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12918 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12919 (prolog-char-quote-workaround):
12920 * progmodes/cperl-mode.el (cperl-under-as-char):
12921 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12922 Mark as obsolete.
12923 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12924 their declaration.
12925 (vhdl-mode-syntax-table-init): Remove.
12926
12927 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12928 last change.
12929
12930 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12931 syntax for "_".
12932 (ld-script-font-lock-keywords):
12933 Change regexps to use things like \_< and \_>.
12934
12935 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12936 Change all regexps to use things like \_< and \_>.
12937
12938 * progmodes/autoconf.el (autoconf-definition-regexp)
12939 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12940 Handle a _ with symbol syntax.
12941 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12942
12943 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12944 Consolidate declaration.
12945 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12946 the declaration.
12947 (ada-create-syntax-table): Remove.
12948 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12949 already has the right syntax nowadays.
12950 (ada-goto-next-word): Don't change the syntax of "_".
12951
12952 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12953 with-wrapper-hook.
12954
12955 2013-05-08 Sam Steingold <sds@gnu.org>
12956
12957 * thingatpt.el (thing-at-point): Accept optional second argument
12958 NO-PROPERTIES to strip the text properties from the return value.
12959 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12960 to `thing-at-point' instead of stripping the properties ourselves.
12961 Also, when `thing-at-point' fails to find a url, prepend "http://"
12962 to the filename at point on the assumption that the user is
12963 pointing at something like gnu.org/gnu.
12964
12965 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12966
12967 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12968 * faces.el (crm-separator):
12969 Silence byte-compiler.
12970
12971 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12972 (tool-bar-map): Remove unneeded defvars.
12973
12974 2013-05-08 Leo Liu <sdl.web@gmail.com>
12975
12976 Re-work a fix for bug#10994 based on Le Wang's patch.
12977 * ido.el (ido-remove-consecutive-dups): New helper.
12978 (ido-completing-read): Use it.
12979 (ido-chop): Revert fix for bug#10994.
12980
12981 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12982
12983 * cus-edit.el (custom-save-variables):
12984 Pretty-print long values. (Bug#14187)
12985
12986 2013-05-08 Glenn Morris <rgm@gnu.org>
12987
12988 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12989 (m4-mode-syntax-table): Init in the defvar.
12990 (m4-mode-abbrev-table): Let define-derived-mode define it.
12991
12992 2013-05-08 Tom Tromey <tromey@redhat.com>
12993
12994 * progmodes/m4-mode.el (m4-mode-syntax-table):
12995 Do not treat "_" as word constituent. (Bug#14167)
12996
12997 2013-05-07 Glenn Morris <rgm@gnu.org>
12998
12999 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13000 Remove explicit eshell-isearch-cancel-map.
13001
13002 * progmodes/f90.el (f90-smart-end-names): New option.
13003 (f90-smart-end): Doc fix.
13004 (f90-end-block-optional-name): New constant.
13005 (f90-block-match): Respect f90-smart-end-names.
13006
13007 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13008
13009 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13010 about implicit semi-colons (bug#14218).
13011
13012 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13013
13014 * frame.el (display-monitor-attributes-list)
13015 (frame-monitor-attributes): New functions.
13016
13017 2013-05-06 Leo Liu <sdl.web@gmail.com>
13018
13019 * progmodes/octave.el (octave-syntax-propertize-function): Change
13020 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13021 (octave-font-lock-keywords): Use octave-operator-regexp.
13022 (octave-completion-at-point): Rename from
13023 octave-completion-at-point-function.
13024 (inferior-octave-directory-tracker): Robustify.
13025 (octave-text-functions): Remove and fix its uses. No such things
13026 any more.
13027
13028 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 * emacs-lisp/trace.el (trace--display-buffer): New function.
13031 (trace-make-advice): Use it.
13032
13033 2013-05-06 Juri Linkov <juri@jurta.org>
13034
13035 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13036 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13037 Doc fix.
13038 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13039 in the help string. (Bug#12985)
13040
13041 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13042
13043 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13044
13045 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * progmodes/perl-mode.el: Add support for here documents.
13048 (perl-syntax-propertize-function): Match here-doc markers.
13049 (perl-syntax-propertize-special-constructs): Find their end.
13050 (perl-imenu-generic-expression): Use [:alnum:].
13051
13052 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13053 (advice--add-function): Refresh the advice if already present
13054 (bug#14317).
13055
13056 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13057
13058 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13059
13060 2013-05-06 Glenn Morris <rgm@gnu.org>
13061
13062 * w32-fns.el (w32-charset-info-alist): Declare.
13063
13064 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13065 of its defcustom properties.
13066 (eshell-cmpl-initialize): No need to load pcomplete.
13067
13068 * generic-x.el: No need to require comint when compiling.
13069
13070 * net/eudc-export.el: Make it loadable without bbdb.
13071 (top-level): Use require rather than load-library.
13072 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13073 (eudc-batch-export-records-to-bbdb)
13074 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13075 Require bbdb.
13076
13077 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13078
13079 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13080 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13081 some tweaks, instead.
13082
13083 2013-05-05 Leo Liu <sdl.web@gmail.com>
13084
13085 * progmodes/octave.el (octave-font-lock-keywords)
13086 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13087 (inferior-octave-send-list-and-digest): Improve error message.
13088 (octave-mode, inferior-octave-mode): Use setq-local.
13089 (octave-help): Set info-lookup-mode.
13090
13091 2013-05-05 Richard Stallman <rms@gnu.org>
13092
13093 * vc/compare-w.el (compare-windows-whitespace):
13094 Treat no-break space as whitespace.
13095
13096 * mail/rmailsum.el (rmail-summary-rmail-update):
13097 Detect empty summary and don't change selected message.
13098 (rmail-summary-goto-msg): Likewise.
13099
13100 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13101 Doc fixes, rename args.
13102
13103 2013-05-05 Alan Mackenzie <acm@muc.de>
13104
13105 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13106
13107 2013-05-05 Juri Linkov <juri@jurta.org>
13108
13109 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13110 to not add the length of the summary segment to the return value.
13111 (Bug#14125)
13112
13113 2013-05-05 Leo Liu <sdl.web@gmail.com>
13114
13115 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13116 (inferior-octave-output-filter): Remove.
13117 (octave-send-region, inferior-octave-startup): Fix callers.
13118 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13119 (octave-binary-file-extensions): New user variable.
13120 (octave-find-definition): Confirm if opening binary files.
13121 (octave-help-file): Use octave-find-definition to get the binary
13122 confirmation.
13123 (octave-help): Adjust for octave-help-file change.
13124
13125 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13128 Merge the two entries that handle function definitions.
13129 (pascal--syntax-propertize): New const.
13130 (pascal-mode): Use it. Use setq-local.
13131
13132 2013-05-04 Glenn Morris <rgm@gnu.org>
13133
13134 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13135 (diary-from-outlook): Respect diary-from-outlook-function.
13136
13137 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13138
13139 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13140 Move the declaration from C.
13141 (read-minibuffer, eval-minibuffer): Move from C.
13142 (completion-setup-function): Avoid minibuffer-completion-contents.
13143
13144 2013-05-03 Leo Liu <sdl.web@gmail.com>
13145
13146 * progmodes/octave.el (octave-font-lock-keywords): Do not
13147 dehighlight 'end' in comments or strings.
13148 (octave-completing-read, octave-goto-function-definition):
13149 New helpers.
13150 (octave-help-buffer): New user variable.
13151 (octave-help-file, octave-help-function): New button types.
13152 (octave-help): New command and bind it to C-h ;.
13153 (octave-find-definition): New command and bind it to M-.
13154 (user-error): Alias to error if not defined.
13155
13156 2013-05-02 Leo Liu <sdl.web@gmail.com>
13157
13158 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13159 for \. (bug#14332)
13160 (octave-font-lock-keywords): Include [ and {.
13161
13162 2013-05-02 Leo Liu <sdl.web@gmail.com>
13163
13164 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13165 (inferior-octave): Remove calling comint-mode and return the buffer.
13166 (inferior-octave-startup): Cosmetic changes.
13167
13168 2013-05-02 Leo Liu <sdl.web@gmail.com>
13169
13170 * progmodes/octave.el (octave-syntax-propertize-function):
13171 Include the case when ' is at line beginning. (Bug#14336)
13172
13173 2013-05-02 Glenn Morris <rgm@gnu.org>
13174
13175 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13176 * desktop.el (vc-dir-mode): Just autoload it here.
13177
13178 2013-05-02 Alan Mackenzie <acm@muc.de>
13179
13180 Eliminate variable c-standard-font-lock-fontify-region-function.
13181 * progmodes/cc-mode.el
13182 (c-standard-font-lock-fontify-region-function): Remove.
13183 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13184
13185 2013-05-01 Leo Liu <sdl.web@gmail.com>
13186
13187 * progmodes/octave.el: Compatible with older emacs-24 releases.
13188 (inferior-octave-has-built-in-variables): Remove. Built-in
13189 variables were removed from Octave in 2007.
13190 (inferior-octave-startup): Fix uses.
13191 (comint-line-beginning-position): Remove compatibility code for
13192 emacs 21.
13193
13194 2013-05-01 Juri Linkov <juri@jurta.org>
13195
13196 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13197
13198 2013-05-01 Juri Linkov <juri@jurta.org>
13199
13200 * comint.el (comint-previous-matching-input): Don't print message
13201 "History item: %d" when `isearch-mode' is active.
13202 (comint-history-isearch-message): Print message "History item: %d"
13203 when `comint-input-ring-index' is not empty and this function is
13204 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13205
13206 2013-05-01 Leo Liu <sdl.web@gmail.com>
13207
13208 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13209 definitions. Use completion-at-point to insert keywords.
13210 (octave-abbrev-start): Remove.
13211 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13212
13213 2013-04-30 Leo Liu <sdl.web@gmail.com>
13214
13215 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13216 change.
13217
13218 2013-04-30 Alan Mackenzie <acm@muc.de>
13219
13220 Handle arbitrarily long C++ member initialisation lists.
13221 * progmodes/cc-engine.el (c-back-over-member-initializers):
13222 new function.
13223 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13224 (most) member init lists.
13225
13226 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13227
13228 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13229 variable.
13230
13231 2013-04-30 Leo Liu <sdl.web@gmail.com>
13232
13233 * progmodes/octave.el (octave-variables): Remove. No builtin
13234 variables any more. All converted to functions.
13235 (octave-font-lock-keywords, octave-completion-at-point-function):
13236 Fix uses.
13237 (octave-font-lock-texinfo-comment): New user variable.
13238 (octave-texinfo-font-lock-keywords): New variable for texinfo
13239 comment block.
13240 (octave-function-comment-block): New face.
13241 (octave-font-lock-texinfo-comment): New function.
13242 (octave-mode): Font lock texinfo comment block.
13243
13244 2013-04-29 Leo Liu <sdl.web@gmail.com>
13245
13246 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13247 indexing expression.
13248 (octave-continuation-string): Do not use \.
13249 (inferior-octave-complete-impossible): Remove.
13250 (inferior-octave-completion-table)
13251 (inferior-octave-completion-at-point): Remove its uses.
13252 (inferior-octave-startup): completion_matches was introduced to
13253 Octave in 1996 so safe to assume it.
13254 (octave-function-file-comment): Improve to follow how Octave does it.
13255 (octave-update-function-file-comment): Tweak.
13256
13257 2013-04-29 Leo Liu <sdl.web@gmail.com>
13258
13259 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13260 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13261 (octave-function-file-comment): Fix typo.
13262 (octave-sync-function-file-names): Use read-char-choice.
13263
13264 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13265
13266 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13267 to t for the less important warnings.
13268
13269 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13270
13271 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13272
13273 2013-04-27 Glenn Morris <rgm@gnu.org>
13274
13275 * vc/log-view.el (log-view-current-entry):
13276 Treat "---" separator lines as part of the following rev. (Bug#14169)
13277
13278 2013-04-27 Juri Linkov <juri@jurta.org>
13279
13280 * subr.el (read-number): Doc fix about using it by interactive
13281 code letter `n'. (Bug#14254)
13282
13283 2013-04-27 Juri Linkov <juri@jurta.org>
13284
13285 * desktop.el (desktop-auto-save-timeout): New option.
13286 (desktop-file-checksum): New variable.
13287 (desktop-save): Add optional arg `auto-save' and don't auto-save
13288 if nothing changed.
13289 (desktop-auto-save-timer): New variable.
13290 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13291 (after-init-hook): Call `desktop-auto-save-set-timer'.
13292 Suggested by Reuben Thomas <rrt@sc3d.org> in
13293 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13294
13295 2013-04-27 Leo Liu <sdl.web@gmail.com>
13296
13297 * progmodes/octave.el (octave-function-file-p)
13298 (octave-skip-comment-forward, octave-function-file-comment)
13299 (octave-update-function-file-comment): New functions.
13300 (octave-mode-map): Bind C-c ; to
13301 octave-update-function-file-comment.
13302 (octave-mode-menu): Add octave-update-function-file-comment.
13303 (octave-mode, inferior-octave-mode): Fix doc-string.
13304 (octave-insert-defun): Conform to Octave's coding convention.
13305 (Bug#14285)
13306
13307 * files.el (basic-save-buffer): Don't let errors in
13308 before-save-hook prevent saving buffer.
13309
13310 2013-04-20 Roland Winkler <winkler@gnu.org>
13311
13312 * faces.el (read-face-name): Use completing-read if arg multiple
13313 is nil.
13314
13315 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13316
13317 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13318 displayed, move point to after the totals line.
13319 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13320 for the details.
13321
13322 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13323
13324 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13325 Add current dir to the load-path.
13326 (package-generate-autoloads): Don't rely on
13327 autoload-ensure-default-file.
13328
13329 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13330
13331 * textmodes/remember.el (remember-store-in-files): Document that
13332 the file name format is passed to `format-time-string'.
13333
13334 2013-04-26 Leo Liu <sdl.web@gmail.com>
13335
13336 * progmodes/octave.el (octave-sync-function-file-names): New function.
13337 (octave-mode): Use it in before-save-hook.
13338
13339 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13342 (bug#14274).
13343
13344 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13345 \n and comment, even if it's not an implicit ; (bug#14218).
13346
13347 2013-04-26 Glenn Morris <rgm@gnu.org>
13348
13349 * subr.el (read-number): Once more use `read' rather than
13350 `string-to-number', to trap non-numeric input. (Bug#14254)
13351
13352 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13353
13354 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13355 Use `syntax-multiline' text property consistently instead of
13356 `font-lock-multiline'. (Bug#14237)
13357
13358 2013-04-26 Glenn Morris <rgm@gnu.org>
13359
13360 * emacs-lisp/shadow.el (list-load-path-shadows):
13361 No longer necessary to check for duplicate simple.el, since
13362 2012-07-07 change to init_lread to not include installation lisp
13363 directories in load-path when running uninstalled. (Bug#14270)
13364
13365 2013-04-26 Leo Liu <sdl.web@gmail.com>
13366
13367 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13368 (octave-mode, inferior-octave-mode): Use setq-local.
13369 (octave-not-in-string-or-comment-p): Rename to
13370 octave-in-string-or-comment-p.
13371 (octave-in-comment-p, octave-in-string-p)
13372 (octave-in-string-or-comment-p): Replace defsubst with defun.
13373
13374 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13375
13376 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13377
13378 2013-04-25 Bastien Guerry <bzg@gnu.org>
13379
13380 * textmodes/remember.el (remember-data-directory)
13381 (remember-directory-file-name-format): Fix custom types.
13382
13383 2013-04-25 Leo Liu <sdl.web@gmail.com>
13384
13385 * progmodes/octave.el (octave-completion-at-point-function):
13386 Make use of inferior octave process.
13387 (octave-initialize-completions): Remove.
13388 (inferior-octave-completion-table): New function.
13389 (inferior-octave-completion-at-point): Use it.
13390 (octave-completion-alist): Remove.
13391
13392 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13393
13394 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13395 (opascal-mode-syntax-table): New var.
13396 (opascal-literal-kind, opascal-is-literal-end)
13397 (opascal-literal-token-at): Rewrite.
13398 (opascal--literal-start-re, opascal-font-lock-keywords)
13399 (opascal--syntax-propertize): New constants.
13400 (opascal-font-lock-defaults): Adjust.
13401 (opascal-mode): Use them. Set comment-<foo> variables as well.
13402 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13403 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13404 (delphi-other-face, opascal-other-face): Remove face variables.
13405 (opascal-save-state): Remove macro.
13406 (opascal-fontifying-progress-step): Remove constant.
13407 (opascal--ignore-changes): Remove var.
13408 (opascal-set-token-property, opascal-parse-next-literal)
13409 (opascal-is-stable-literal, opascal-complete-literal)
13410 (opascal-is-literal-start, opascal-face-of)
13411 (opascal-parse-region, opascal-parse-region-until-stable)
13412 (opascal-fontify-region, opascal-after-change)
13413 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13414 (opascal-debug-parse-region, opascal-debug-parse-window)
13415 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13416 (opascal-debug-fontify-buffer): Remove.
13417 (opascal-debug-mode-map): Adjust accordingly.
13418
13419 2013-04-25 Leo Liu <sdl.web@gmail.com>
13420
13421 Merge octave-mod.el and octave-inf.el into octave.el with some
13422 cleanups.
13423 * progmodes/octave.el: New file renamed from octave-mod.el.
13424 * progmodes/octave-inf.el: Merged into octave.el.
13425 * progmodes/octave-mod.el: Renamed to octave.el.
13426
13427 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13428
13429 * textmodes/reftex-vars.el
13430 (reftex-label-ignored-macros-and-environments): New defcustom.
13431
13432 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13433
13434 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13435
13436 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13437 (smie-indent-keyword): Improve the check to ensure that the next
13438 comment is really on the same line.
13439 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13440
13441 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13442 semi-colons if the line is not otherwise empty (bug#14218).
13443
13444 2013-04-25 Glenn Morris <rgm@gnu.org>
13445
13446 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13447
13448 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13449
13450 * progmodes/opascal.el (opascal-set-token-property): Rename from
13451 opascal-set-text-properties and only set `token' (bug#14134).
13452 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13453 (opascal-literal-text-properties): Remove.
13454 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13455 Adjust callers.
13456
13457 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13458
13459 * textmodes/remember.el (remember-handler-functions): Add an
13460 option for a new handler `remember-store-in-files'.
13461 (remember-data-directory, remember-directory-file-name-format):
13462 New options.
13463 (remember-store-in-files): New function to store remember notes
13464 as separate files within a directory.
13465
13466 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13467
13468 * progmodes/compile.el (compilation-next-error-function):
13469 Pass "formats" to compilation-find-file (bug#11777).
13470
13471 2013-04-24 Glenn Morris <rgm@gnu.org>
13472
13473 * vc/vc-bzr.el (vc-bzr-print-log):
13474 * vc/vc-hg.el (vc-hg-print-log):
13475 * vc/vc-svn.el (vc-svn-print-log):
13476 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13477
13478 * vc/vc-bzr.el (vc-bzr-print-log):
13479 * vc/vc-cvs.el (vc-cvs-print-log):
13480 * vc/vc-git.el (vc-git-print-log):
13481 * vc/vc-hg.el (vc-hg-print-log):
13482 * vc/vc-mtn.el (vc-mtn-print-log):
13483 * vc/vc-rcs.el (vc-rcs-print-log):
13484 * vc/vc-sccs.el (vc-sccs-print-log):
13485 * vc/vc-svn.el (vc-svn-print-log):
13486 * vc/vc.el (vc-print-log-internal): Doc fixes.
13487
13488 2013-04-23 Glenn Morris <rgm@gnu.org>
13489
13490 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13491 Remove venerable code attempting to avoid substitute-command-keys.
13492
13493 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13494
13495 * textmodes/reftex-vars.el (reftex-label-regexps):
13496 Call `reftex-compile-variables' after changes to this variable.
13497
13498 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13499
13500 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13501 Use lexical-binding.
13502 (jit-lock-force-redisplay): Use markers, check buffer's continued
13503 existence and beware narrowed buffers.
13504 (jit-lock-fontify-now): Adjust call accordingly.
13505
13506 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13507
13508 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13509 to avoid misleading the user.
13510
13511 2013-04-22 Leo Liu <sdl.web@gmail.com>
13512
13513 * info-look.el: Prefer latex2e.info. (Bug#14240)
13514
13515 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13516
13517 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13518
13519 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13520 * net/tramp.el (tramp-call-process): ... here.
13521 (tramp-set-completion-function, tramp-parse-putty):
13522 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13523 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13524 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13525 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13526 (tramp-call-local-coding-command): Use `tramp-call-process'
13527 instead of `tramp-compat-call-process'.
13528
13529 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13530 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13531 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13532 (tramp-find-inline-compress): Improve traces.
13533 (tramp-maybe-send-script): Check for Perl binary.
13534 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13535
13536 2013-04-22 Daiki Ueno <ueno@gnu.org>
13537
13538 * epg.el (epg-context-pinentry-mode): New function.
13539 (epg-context-set-pinentry-mode): New function.
13540 (epg--start): Pass --pinentry-mode option to gpg command.
13541
13542 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13543
13544 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13545 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13546 `completion-at-point'. (Bug#13774)
13547
13548 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13549 default key binding for `describe-distribution' has been moved to
13550 `C-h C-o'. (Bug#13970)
13551
13552 2013-04-21 Glenn Morris <rgm@gnu.org>
13553
13554 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13555 Add doc strings.
13556 (vc-print-log): Clarify interactive prompt.
13557
13558 2013-04-20 Glenn Morris <rgm@gnu.org>
13559
13560 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13561 No longer include timestamp etc information.
13562
13563 2013-04-20 Roland Winkler <winkler@gnu.org>
13564
13565 * faces.el (read-face-name): Bug fix, return just one face if arg
13566 multiple is nil. (Bug#14209)
13567
13568 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13569
13570 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13571 (remove-function): Autoload.
13572
13573 * comint.el (comint-redirect-original-filter-function): Remove.
13574 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13575 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13576 (vc-cvs-annotate-command):
13577 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13578 * progmodes/prolog.el (prolog-consult-compile):
13579 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13580 Use add/remove-function instead.
13581 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13582 (gud-tooltip-process-output, gud-tooltip-tips):
13583 Use add/remove-function instead.
13584 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13585 (scheme-interaction-mode, exit-scheme-interaction-mode):
13586 Use add/remove-function instead.
13587
13588 * vc/vc-dispatcher.el: Use lexical-binding.
13589 (vc--process-sentinel): Rename from vc-process-sentinel.
13590 Change last arg to be the code to run. Don't use vc-previous-sentinel
13591 and vc-sentinel-commands any more.
13592 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13593 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13594
13595 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13596
13597 * progmodes/sh-script.el (sh-imenu-generic-expression):
13598 Handle function names with a single character. (Bug#14111)
13599
13600 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13601
13602 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13603 for subroutines defined in an eval (bug#14182).
13604
13605 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13606
13607 * bookmark.el (bookmark-completing-read): Improve handling of empty
13608 string (bug#14176).
13609
13610 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13613
13614 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13615
13616 New faster Imenu implementation (bug#14058).
13617 * progmodes/python.el:
13618 (python-imenu-prev-index-position):
13619 (python-imenu-format-item-label-function)
13620 (python-imenu-format-parent-item-label-function)
13621 (python-imenu-format-parent-item-jump-label-function):
13622 New vars.
13623 (python-imenu-format-item-label)
13624 (python-imenu-format-parent-item-label)
13625 (python-imenu-format-parent-item-jump-label)
13626 (python-imenu--put-parent, python-imenu--build-tree)
13627 (python-imenu-create-index, python-imenu-create-flat-index)
13628 (python-util-popn): New functions.
13629 (python-mode): Set imenu-create-index-function to
13630 python-imenu-create-index.
13631
13632 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13633
13634 * winner.el (winner-active-region): Use region-active-p, activate-mark
13635 and deactivate-mark (bug#14225).
13636
13637 * simple.el (deactivate-mark): Don't inline it.
13638
13639 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13640
13641 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13642
13643 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13644
13645 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13646 file extensions from the archive-mode entry in order to prefer
13647 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13648
13649 2013-04-18 Leo Liu <sdl.web@gmail.com>
13650
13651 * bindings.el (help-event-list): Add ?\?.
13652
13653 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * subr.el (with-wrapper-hook): Declare obsolete.
13656 * simple.el (filter-buffer-substring-function): New hook.
13657 (filter-buffer-substring): Use it.
13658 (filter-buffer-substring-functions): Mark obsolete.
13659 * minibuffer.el (completion-in-region-function): New hook.
13660 (completion-in-region): Use it.
13661 (completion-in-region-functions): Mark obsolete.
13662 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13663 * abbrev.el (abbrev-expand-function): New hook.
13664 (expand-abbrev): Use it.
13665 (abbrev-expand-functions): Mark obsolete.
13666 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13667 and :filter-return.
13668
13669 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13670
13671 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13672 and do not care about match data.
13673
13674 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13677 completion tables when completing error conditions and
13678 `declare' arguments.
13679 (lisp-complete-symbol, field-complete): Mark as obsolete.
13680 (check-parens): Unmatched parens are user errors.
13681 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13682
13683 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13684
13685 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13686 command changed buffer (ie. `flyspell-pre-buffer' is not current
13687 buffer), which prevents making decisions based on invalid value of
13688 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13689 cause an error when `flyspell-pre-point' was nil after switching
13690 buffers.
13691 (flyspell-post-command-hook): No longer needs to change buffers when
13692 checking pre-word. While at it remove unnecessary progn.
13693
13694 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13695
13696 * textmodes/ispell.el (ispell-add-per-file-word-list):
13697 Fix `flyspell-correct-word-before-point' error when accepting
13698 words and `coment-padding' is an integer by using
13699 `comment-normalize-vars' (Bug #14214).
13700
13701 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13702
13703 New defun movement commands.
13704 * progmodes/python.el (python-nav--syntactically)
13705 (python-nav--forward-defun, python-nav-backward-defun)
13706 (python-nav-forward-defun): New functions.
13707
13708 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13709
13710 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13711 (python-syntax-context): Use named compiler-macro for backwards
13712 compatibility with Emacs 24.x.
13713
13714 2013-04-17 Leo Liu <sdl.web@gmail.com>
13715
13716 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13717 octave-hide-process-buffer.
13718
13719 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13722 (bug#14216).
13723
13724 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13725
13726 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13727 Fix adjustment of offset when receiving incomplete responses from GDB
13728 (bug#14129).
13729
13730 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13733 python-mode-abbrev-table.
13734 (python-skeleton-define): Adjust accordingly.
13735 (python-mode-abbrev-table): New table that inherits from it so that
13736 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13737
13738 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13739 (abbrev-symbol): Use it.
13740 (abbrev--before-point): Use it since we already handle inheritance.
13741
13742 2013-04-16 Leo Liu <sdl.web@gmail.com>
13743
13744 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13745 binding to info-lookup-symbol.
13746
13747 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13748
13749 * minibuffer.el (completion--twq-all):
13750 * term/ns-win.el (ns-initialize-window-system):
13751 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13752
13753 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13754
13755 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13756 global bindings.
13757
13758 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13759
13760 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13761
13762 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13763 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13764 to nil.
13765 (ruby-end-of-defun): Remove the unused arg, change the docstring
13766 to reflect that this function is only used as the value of
13767 `end-of-defun-function'.
13768 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13769 to reflect an earlier change that beginning/end-of-defun functions
13770 jump between methods in a class definition, as well as top-level
13771 functions.
13772
13773 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13774
13775 * minibuffer.el (minibuffer-complete): Don't just scroll
13776 a *Completions* that's been iconified.
13777 (minibuffer-force-complete): Make sure repetitions do cycle when going
13778 through completion-in-region -> minibuffer-complete.
13779
13780 2013-04-15 Alan Mackenzie <acm@muc.de>
13781
13782 Correct the placement of c-cpp-delimiters when there're #s not at
13783 col 0.
13784
13785 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13786 place a submatch around the #.
13787 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13788 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13789 on the #, not BOL.
13790
13791 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13792
13793 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13794 (advice--member-p): New arg `name'.
13795 (advice--add-function, advice-member-p): Use it (bug#14202).
13796
13797 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13798
13799 Reformulate java imenu-generic-expression.
13800 The old expression contained ill formed regexps.
13801
13802 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13803 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13804 (cc-imenu-java-method-arg-regexp): New defconsts.
13805 (cc-imenu-java-build-type-args-regex): New defun.
13806 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13807 handling of spaces in the regexp.
13808
13809 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13810
13811 * textmodes/ispell.el (ispell-command-loop): Remove
13812 flyspell highlight of a word when ispell accepts it (bug #14178).
13813
13814 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13815
13816 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13817 uses code from the previous `ange-ftp-run-real-handler'.
13818 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13819 only in case that function exist. This is needed for proper
13820 unloading of Tramp.
13821
13822 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13823
13824 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13825
13826 * textmodes/reftex.el (reftex-compile-variables): Use it.
13827
13828 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13829
13830 * files.el (normal-mode): Only use default major-mode if no other mode
13831 was specified.
13832
13833 * emacs-lisp/trace.el (trace-values): New function.
13834
13835 * files.el: Allow : in local variables (bug#14089).
13836 (hack-local-variable-regexp): New var.
13837 (hack-local-variables-prop-line, hack-local-variables): Use it.
13838
13839 2013-04-13 Roland Winkler <winkler@gnu.org>
13840
13841 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13842 data before it gets modified by bibtex-beginning-of-entry.
13843
13844 2013-04-13 Roland Winkler <winkler@gnu.org>
13845
13846 * textmodes/bibtex.el (bibtex-url): Doc fix.
13847
13848 2013-04-13 Roland Winkler <winkler@gnu.org>
13849
13850 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13851 does not visit a BibTeX file, exclude it from the list of buffers
13852 returned by bibtex-initialize.
13853
13854 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13855
13856 * window.el (split-window): Remove interactive form, since as a
13857 command this function is a special case of split-window-below.
13858 Correct doc string.
13859
13860 2013-04-12 Roland Winkler <winkler@gnu.org>
13861
13862 * faces.el (read-face-name): Do not override value of arg default.
13863 Allow single faces and strings as default values. Remove those
13864 elements from return value that are not faces.
13865 (describe-face): Simplify.
13866 (face-at-point): New optional args thing and multiple so that this
13867 function can provide the same functionality previously provided by
13868 read-face-name.
13869 (make-face-bold, make-face-unbold, make-face-italic)
13870 (make-face-unitalic, make-face-bold-italic, invert-face)
13871 (modify-face, read-face-and-attribute): Use face-at-point.
13872
13873 * cus-edit.el (customize-face, customize-face-other-window)
13874 * cus-theme.el (custom-theme-add-face)
13875 * face-remap.el (buffer-face-set)
13876 * facemenu.el (facemenu-set-face): Use face-at-point.
13877
13878 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13879
13880 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13881
13882 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13883
13884 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13885 off leading { and trailing } from field values.
13886
13887 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13888
13889 * emacs-lisp/timer.el (timer--check): New function.
13890 (timer--time, timer-set-function, timer-event-handler): Use it.
13891 (timer-set-idle-time): Simplify.
13892 (timer--activate): CSE.
13893 (timer-event-handler): Give more info in error message.
13894 (internal-timer-start-idle): New function, moved from C.
13895
13896 * mpc.el (mpc-proc): Add `restart' argument.
13897 (mpc-proc-cmd): Use it.
13898 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13899 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13900 less often.
13901
13902 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13903
13904 * progmodes/sh-script.el: Implement `sh-mode' own
13905 `add-log-current-defun-function' (bug#14112).
13906 (sh-current-defun-name): New function.
13907 (sh-mode): Use the function.
13908
13909 2013-04-09 Bastien Guerry <bzg@gnu.org>
13910
13911 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13912
13913 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13914
13915 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13916
13917 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13918 timer (bug#14156).
13919
13920 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13921
13922 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13923 declaration.
13924
13925 2013-04-07 Leo Liu <sdl.web@gmail.com>
13926
13927 * pcmpl-x.el: New file.
13928
13929 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13930
13931 Do not set x-display-name until X connection is established.
13932 This is needed to prevent from weird situation described at
13933 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13934 * frame.el (make-frame): Set x-display-name after call to
13935 window system initialization function, not before.
13936 * term/x-win.el (x-initialize-window-system): Add optional
13937 display argument and use it.
13938 * term/w32-win.el (w32-initialize-window-system):
13939 * term/ns-win.el (ns-initialize-window-system):
13940 * term/pc-win.el (msdos-initialize-window-system):
13941 Add compatible optional display argument.
13942
13943 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13944
13945 * files.el (normal-backup-enable-predicate): On MS-Windows and
13946 MS-DOS compare truenames of temporary-file-directory and of the
13947 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13948 don't fail comparison by compare-strings. Also, compare file
13949 names case-insensitively on MS-Windows and MS-DOS.
13950
13951 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13952
13953 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13954 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13955
13956 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13957
13958 * whitespace.el (whitespace-color-on, whitespace-color-off):
13959 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13960
13961 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13962
13963 * ispell.el (ispell-set-spellchecker-params):
13964 Really set `ispell-args' for all equivs.
13965
13966 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13967
13968 * ido.el (ido-completions): Use extra elements of ido-decorations
13969 (bug#14143).
13970 (ido-decorations): Update docstring.
13971
13972 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13973
13974 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13975 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13976 nil during initialization, in order not to miss changes since the
13977 file was opened. (Bug#14140)
13978
13979 2013-04-05 Leo Liu <sdl.web@gmail.com>
13980
13981 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13982
13983 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13984
13985 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13986
13987 2013-04-04 Glenn Morris <rgm@gnu.org>
13988
13989 * electric.el (electric-pair-inhibit-predicate): Add :version.
13990
13991 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13992
13993 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13994 when a package is required several times (bug#14082).
13995
13996 2013-04-04 Roland Winkler <winkler@gnu.org>
13997
13998 * faces.el (read-face-name): Behave as promised by the docstring.
13999 Assume that arg default is a list of faces.
14000 (describe-face): Call read-face-name with list of default faces.
14001
14002 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14003
14004 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14005 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14006 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14007 the header.
14008 (bookmark-exit-hook-internal): Save even if list is empty.
14009
14010 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14011
14012 * emacs-lisp/package.el (package-pinned-packages): New var.
14013 (package--add-to-archive-contents): Obey it (bug#14118).
14014
14015 2013-04-03 Alan Mackenzie <acm@muc.de>
14016
14017 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14018 Also adapt to the new values of element 7 of a parse state.
14019
14020 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14021 parameter `not-in-delimiter'. Handle being inside comment opener.
14022 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14023 character in case we're typing a '*' after a '/'.
14024 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14025 instead by passing the parameter to c-state-pp-to-literal.
14026
14027 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14028 for elt. 7 of a parse state.
14029
14030 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14031
14032 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14033 * international/latin1-disp.el, international/mule-util.el:
14034 * language/cyril-util.el, language/european.el, language/ind-util.el:
14035 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14036 * language/tibetan.el, language/viet-util.el:
14037 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14038
14039 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14040
14041 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14042 (electric-pair-post-self-insert-function): Use it.
14043 (electric-pair-default-inhibit): New function, extracted from
14044 electric-pair-post-self-insert-function.
14045
14046 2013-03-31 Roland Winkler <winkler@gnu.org>
14047
14048 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14049
14050 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14053
14054 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14055
14056 Un-indent after "pass" and "return" statements (Bug#13888)
14057 * progmodes/python.el (python-indent-block-enders): New var.
14058 (python-indent-calculate-indentation): Use it.
14059
14060 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14061
14062 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14063 defun. Defining it as defalias could introduce too eager
14064 byte-compiler optimization. (Bug#14030)
14065
14066 2013-03-30 Chong Yidong <cyd@gnu.org>
14067
14068 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14069
14070 2013-03-30 Leo Liu <sdl.web@gmail.com>
14071
14072 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14073 (kmacro-execute-from-register): Pass the keyboard macro to
14074 kmacro-call-macro or repeating won't work correctly.
14075
14076 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14077
14078 * progmodes/subword.el: Back to using `forward-symbol'.
14079
14080 * subr.el (forward-whitespace, forward-symbol)
14081 (forward-same-syntax): Move from thingatpt.el.
14082
14083 2013-03-29 Leo Liu <sdl.web@gmail.com>
14084
14085 * kmacro.el (kmacro-to-register): New command.
14086 (kmacro-execute-from-register): New function.
14087 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14088
14089 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14090
14091 * mpc.el: Use defvar-local and setq-local.
14092 (mpc--proc-connect): Connection failures are not bugs.
14093 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14094 (mpc-volume-map): Bind to the up-events.
14095
14096 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14097
14098 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14099 instead of `forward-symbol'.
14100
14101 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14102
14103 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14104 (edebug--recursive-edit): Use it.
14105 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14106 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14107
14108 2013-03-28 Leo Liu <sdl.web@gmail.com>
14109
14110 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14111
14112 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14113
14114 * facemenu.el (list-colors-callback): New defvar.
14115 (list-colors-redisplay): New function.
14116 (list-colors-display): Install list-colors-redisplay as the
14117 revert-buffer-function. (Bug#14063)
14118
14119 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14120
14121 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14122 and suffixes don't overlap (bug#14061).
14123
14124 * case-table.el: Use lexical-binding.
14125 (case-table-get-table): New function.
14126 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14127
14128 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14129
14130 * progmodes/subword.el: Add `superword-mode' to do word motion
14131 over symbol_words (parallels and leverages `subword-mode' which
14132 does word motion inside MixedCaseWords).
14133
14134 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14135
14136 * eshell/em-unix.el: Move su and sudo to...
14137 * eshell/em-tramp.el: ...Eshell tramp module.
14138
14139 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14140
14141 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14142 Change return value to be a sexp. Delay `get-buffer' to after
14143 restoring the desktop (bug#13951).
14144
14145 2013-03-26 Leo Liu <sdl.web@gmail.com>
14146
14147 * register.el: Move semantic tag handling back to
14148 cedet/semantic/senator.el. (Bug#14052)
14149
14150 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14151
14152 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14153 into the prompt either (bug#13963).
14154
14155 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14158 part of "(error-foo)".
14159
14160 2013-03-24 Juri Linkov <juri@jurta.org>
14161
14162 * replace.el (list-matching-lines-prefix-face): New defcustom.
14163 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14164 `occur-engine' if `face-differs-from-default-p' returns t.
14165 (occur-engine): Add `,' inside backquote construct to evaluate
14166 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14167 Pass `prefix-face' to the functions `occur-context-lines' and
14168 `occur-engine-add-prefix'.
14169 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14170 `prefix-face' and propertize the prefix with `prefix-face'.
14171 (Bug#14017)
14172
14173 2013-03-24 Leo Liu <sdl.web@gmail.com>
14174
14175 * nxml/rng-valid.el (rng-validate-while-idle)
14176 (rng-validate-quick-while-idle): Guard against deleted buffer.
14177 (Bug#13999)
14178
14179 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14180 is the last entry in kill-buffer-hook.
14181
14182 * files.el (kill-buffer-hook): Doc fix.
14183
14184 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14185
14186 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14187 Make it safe-local.
14188
14189 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14190
14191 2013-03-23 Leo Liu <sdl.web@gmail.com>
14192
14193 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14194 Remove.
14195
14196 * nxml/rng-valid.el (rng-validate-mode)
14197 (rng-after-change-function, rng-do-some-validation):
14198 * nxml/rng-maint.el (rng-validate-buffer):
14199 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14200 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14201 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14202 (nxml-extend-after-change-region): Use with-silent-modifications.
14203
14204 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14205 timer-idle-list.
14206
14207 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14208 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14209 timer-idle-list. (Bug#13999)
14210
14211 2013-03-23 Juri Linkov <juri@jurta.org>
14212
14213 * info.el (info-index-match): New face.
14214 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14215 main pattern and add text properties with the new face to matches
14216 in index entries relative to the beginning of the index entry.
14217 (Bug#14015)
14218
14219 2013-03-21 Eric Ludlam <zappo@gnu.org>
14220
14221 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14222 Inhibit read only while inserting objects.
14223
14224 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14225
14226 * progmodes/cfengine.el: Update docs to mention
14227 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14228 symbol motion. Remove "_" from the word syntax.
14229
14230 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14231
14232 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14233 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14234
14235 2013-03-20 Juri Linkov <juri@jurta.org>
14236
14237 * info.el (Info-next-reference-or-link)
14238 (Info-prev-reference-or-link): New functions.
14239 (Info-next-reference, Info-prev-reference): Use them.
14240 (Info-try-follow-nearest-node): Handle footnote navigation.
14241 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14242
14243 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14244
14245 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14246 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14247
14248 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14249
14250 Suppress unnecessary non-ASCII chatter during build process.
14251 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14252 (batch-skkdic-convert): Suppress most of the chatter.
14253 It's not needed so much now that machines are faster,
14254 and its non-ASCII component was confusing; see Dmitry Gutov in
14255 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14256
14257 2013-03-20 Leo Liu <sdl.web@gmail.com>
14258
14259 * ido.el (ido-chop): Fix bug#10994.
14260
14261 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14262
14263 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14264 Remove vars.
14265 (whitespace-color-on, whitespace-color-off):
14266 Use `font-lock-fontify-buffer' (Bug#13817).
14267
14268 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14271 remapping in mode-line.
14272 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14273
14274 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14275
14276 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14277 value for `whitespace-line' face (Bug#13875).
14278 (whitespace-font-lock-keywords): Change description.
14279 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14280 the constructed keywords instead.
14281 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14282
14283 2013-03-19 Leo Liu <sdl.web@gmail.com>
14284
14285 * progmodes/compile.el (compilation-display-error): New command.
14286 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14287 C-o. (Bug#13992)
14288
14289 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14290
14291 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14292
14293 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14294
14295 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14296
14297 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14298
14299 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14300
14301 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14302 * net/tramp-gvfs.el (top):
14303 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14304 (tramp-handle-shell-command): Use it.
14305 (tramp-dissect-file-name): Raise an error when hostname is a
14306 method name, and neither method nor user is specified.
14307
14308 * net/trampver.el: Update release number.
14309
14310 2013-03-18 Leo Liu <sdl.web@gmail.com>
14311
14312 Make sure eldoc can be turned off properly.
14313 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14314 eldoc-mode.
14315 (eldoc-display-message-p): Revert last change.
14316 (eldoc-display-message-no-interference-p)
14317 (eldoc-print-current-symbol-info): Tweak.
14318
14319 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14320
14321 * doc-view.el (doc-view-new-window-function): Check the new window
14322 overlay's display property instead the char property of the
14323 buffer's first char. Use `with-selected-window' instead of
14324 `save-window-excursion' with `select-window'.
14325 (doc-view-document->bitmap): Check the current doc-view overlay's
14326 display property instead the char property of the buffer's first char.
14327
14328 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14329
14330 Automate the build of ja-dic.el (Bug#13984).
14331 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14332 from the input, rather than assume that it's been done for us by the
14333 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14334 the current date into a ja-dic.el comment, as that complicates
14335 regression testing.
14336
14337 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * whitespace.el: Fix double evaluation.
14340 (whitespace-space, whitespace-hspace, whitespace-tab)
14341 (whitespace-newline, whitespace-trailing, whitespace-line)
14342 (whitespace-space-before-tab, whitespace-indentation)
14343 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14344 obsolete defvars.
14345 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14346 (whitespace-color-on): Use a single font-lock-add-keywords call.
14347 Fix double-evaluation of face variables.
14348
14349 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14350
14351 * net/tramp-adb.el (tramp-adb-parse-device-names):
14352 Use `start-process' instead of `call-process'. Otherwise, the
14353 function might be blocked under MS Windows. (Bug#13299)
14354
14355 2013-03-17 Leo Liu <sdl.web@gmail.com>
14356
14357 Extend eldoc to display info in the mode-line. (Bug#13978)
14358 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14359 (eldoc-mode-line-string): New variable.
14360 (eldoc-minibuffer-message): New function.
14361 (eldoc-message-function): New variable.
14362 (eldoc-message): Use it.
14363 (eldoc-display-message-p)
14364 (eldoc-display-message-no-interference-p):
14365 Support eldoc-post-insert-mode.
14366
14367 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14368 (eval-expression): Run it.
14369
14370 2013-03-17 Roland Winkler <winkler@gnu.org>
14371
14372 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14373 strings in the list of return values.
14374
14375 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14376
14377 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14378 radix before checking for HMS forms.
14379
14380 2013-03-16 Leo Liu <sdl.web@gmail.com>
14381
14382 * progmodes/scheme.el: Add indentation and font-locking for λ.
14383 (Bug#13975)
14384
14385 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14388 token before point (bug#13942).
14389
14390 2013-03-16 Leo Liu <sdl.web@gmail.com>
14391
14392 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14393
14394 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14395
14396 * startup.el (command-line-normalize-file-name): Fix handling of
14397 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14398 <xfq.free@gmail.com> in
14399 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14400
14401 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14402
14403 Sync with Tramp 2.2.7.
14404
14405 * net/trampver.el: Update release number.
14406
14407 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14408
14409 * doc-view.el: Fix bug#13887.
14410 (doc-view-insert-image): Don't modify overlay associated to
14411 non-live windows, and implement horizontal centering of image in
14412 case it's smaller than the window.
14413 (doc-view-new-window-function): Force redisplay of new windows on
14414 doc-view buffers.
14415
14416 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14417
14418 * saveplace.el (save-place-alist-to-file): Don't sort
14419 `save-place-alist', just pretty-print it (bug#13882).
14420
14421 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14422
14423 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14424 Check whether `default-file-name-coding-system' is bound.
14425 It isn't in XEmacs.
14426
14427 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14430 backquotes for `obsolete' (bug#13929).
14431
14432 * international/mule.el (find-auto-coding): Include file name in
14433 obsolescence warning (bug#13922).
14434
14435 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14436
14437 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14438 for CFEngine 3-specific indentation.
14439 (cfengine3-indent-line): Use it. Fix up category regex.
14440 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14441
14442 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14443
14444 * type-break.el (type-break-file-name):
14445 * textmodes/remember.el (remember-data-file):
14446 * strokes.el (strokes-file):
14447 * shadowfile.el (shadow-initialize):
14448 * saveplace.el (save-place-file):
14449 * ps-bdf.el (bdf-cache-file):
14450 * progmodes/idlwave.el (idlwave-config-directory):
14451 * net/quickurl.el (quickurl-url-file):
14452 * international/kkc.el (kkc-init-file-name):
14453 * ido.el (ido-save-directory-list-file):
14454 * emulation/viper.el (viper-custom-file-name):
14455 * emulation/vip.el (vip-startup-file):
14456 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14457 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14458
14459 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14460
14461 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14462 * language/thai-word.el: Switch to UTF-8.
14463
14464 See ChangeLog.16 for earlier changes.
14465
14466 ;; Local Variables:
14467 ;; coding: utf-8
14468 ;; End:
14469
14470 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14471
14472 This file is part of GNU Emacs.
14473
14474 GNU Emacs is free software: you can redistribute it and/or modify
14475 it under the terms of the GNU General Public License as published by
14476 the Free Software Foundation, either version 3 of the License, or
14477 (at your option) any later version.
14478
14479 GNU Emacs is distributed in the hope that it will be useful,
14480 but WITHOUT ANY WARRANTY; without even the implied warranty of
14481 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14482 GNU General Public License for more details.
14483
14484 You should have received a copy of the GNU General Public License
14485 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.