Fix bug #17169 with infinite recursion in bidi_initialize under force-load-messages.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2
3 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
4
5 2014-04-03 Glenn Morris <rgm@gnu.org>
6
7 * files.el (make-backup-file-name-function)
8 (make-backup-file-name, make-backup-file-name--default-function)
9 (make-backup-file-name-1, find-backup-file-name)
10 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11 (buffer-stale--default-function, buffer-stale-function)
12 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
13 (revert-buffer, revert-buffer--default)
14 (revert-buffer-insert-file-contents--default-function):
15 Doc fixes related to defaults no longer being nil.
16 (make-backup-file-name-function): Bump :version.
17 Restore nil as a valid but deprecated custom type.
18
19 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
22 used as a variable (bug#17174).
23
24 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * progmodes/perl-mode.el (perl-indent-new-calculate):
27 Handle forward-sexp failure (bug#16985).
28 (perl-syntax-propertize-function): Add "foreach" and "for" statement
29 modifiers introducing expressions (bug#17116).
30
31 2014-04-02 Glenn Morris <rgm@gnu.org>
32
33 * menu-bar.el (menu-bar-file-menu):
34 * vc/ediff.el (ediff-current-file):
35 Update for revert-buffer-function no longer being nil by default.
36
37 * simple.el (command-execute): Respect nil disabled-command-function.
38
39 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
40
41 * simple.el (command-execute): Do not execute the command when it
42 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
43
44 2014-03-29 Juri Linkov <juri@jurta.org>
45
46 * dired-aux.el (dired-compress-file): Don't use string-match-p
47 because its match data is used afterwards.
48
49 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
52 0 like nil.
53
54 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
55
56 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
57 Highlight special globals with font-lock-builtin-face. (Bug#17057)
58
59 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
60 Don't propertize `?' or `!' as symbol constituent when after
61 colon. (Bug#17097)
62
63 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
64
65 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
66 which is no longer needed and causes trouble in GTK builds (bug#17046).
67
68 * emacs-lisp/package-x.el (package--archive-contents-from-url):
69 Use url-insert-file-contents; package-handle-response no longer exists.
70
71 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
72
73 * emacs-lisp/package.el: Fix bug#16733 (again).
74 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
75 (url-http-target-url): Remove unused declarations.
76 (package-handle-response): Remove.
77 (package--with-work-buffer): Use url-insert-file-contents and simplify.
78 (package--download-one-archive): Use current-buffer instead of
79 dynamic binding of `buffer'.
80 (describe-package-1): Do not decode readme-string.
81
82 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
83
84 * simple.el (primitive-undo): Correction to 2014-03-24 change.
85
86 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
87
88 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
89
90 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
91 from 2014-03-07, it decreases performance unnecessarily. Let-bind
92 `remote-file-name-inhibit-cache' to nil in the second pass.
93 (tramp-find-executable): Do not call "which" on SunOS.
94 (tramp-send-command-and-check): Fix docstring.
95 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
96 check whether source directory has set the sticky bit.
97
98 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
99
100 * simple.el (primitive-undo): Only process marker adjustments
101 validated against their corresponding (TEXT . POS). Issue warning
102 for lone marker adjustments in undo history. (Bug#16818)
103 (undo-make-selective-list): Add marker adjustments to selective
104 undo list based on whether their corresponding (TEXT . POS) is in
105 the region. Remove variable adjusted-markers, which was unused
106 and only non nil during undo-make-selective-list.
107 (undo-elt-in-region): Return nil when passed a marker adjustment
108 and explain in function doc.
109
110 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
111
112 * emacs-lisp/package.el (package--add-to-archive-contents):
113 Include already installed and built-in packages in
114 `package-archive-contents'.
115 (package-install): Don't include already installed packages in the
116 options during interactive invocation. (Bug#16762)
117
118 2014-03-24 Daniel Colascione <dancol@dancol.org>
119
120 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
121 instead of cl-loop search function.
122
123 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
124
125 * frameset.el (frameset--initial-params): Fix typo in parameter name.
126
127 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
128
129 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
130
131 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
132
133 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
134 Match special global variables without curlies, too.
135 (ruby-font-lock-keywords): Simplify the matcher for special global
136 variables. Don't require a non-word character after the variable.
137 (Bug#17057)
138
139 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * simple.el (redisplay-highlight-region-function): Increase priority of
142 overlay to make sure boundaries are visible (bug#15899).
143
144 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
145
146 * frameset.el (frameset-restore): Compare display strings with equal.
147
148 * frame.el (make-frame): Don't quote display name in error message,
149 it is already a string.
150
151 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
152
153 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
154 the password.
155
156 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
157
158 * emacs-lisp/package.el (package-show-package-list): If the buffer
159 is already displayed in another window, switch to that window.
160
161 2014-03-21 Daniel Colascione <dancol@dancol.org>
162
163 * mail/emacsbug.el (report-emacs-bug): Include memory usage
164 information in bug reports.
165
166 2014-03-23 Daniel Colascione <dancol@dancol.org>
167
168 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
169 list to look for keyword arguments instead of `memq', fixing
170 (Bug#3647) --- unfortunately, only for freshly-compiled code.
171 Please make bootstrap.
172
173 2014-03-23 Richard Stallman <rms@gnu.org>
174
175 * battery.el (battery-linux-sysfs): Search for each field
176 from the beginning of the buffer.
177
178 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
179
180 * emacs-lisp/package.el (package-desc): Use the contents of the
181 quoted form, not its cdr. (Bug#16873)
182
183 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
184
185 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
186 benefit of doc.c; change parameter profile to match the X function.
187
188 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
189
190 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
191 and `tramp-copy-env'.
192
193 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
194 (tramp-maybe-open-connection): Handle `tramp-login-env'.
195
196 2014-03-21 Glenn Morris <rgm@gnu.org>
197
198 * electric.el (electric-indent-post-self-insert-function): Add doc.
199
200 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
201
202 * emacs-lisp/package.el (package-compute-transaction):
203 Use `version-list-<=' to compare the requirement version against
204 the version of package already to be installed. Update the error
205 message. (Bug#16826)
206
207 * progmodes/ruby-mode.el (ruby-smie-rules):
208 Add indentation rule for ` @ '. (Bug#17050)
209
210 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
211
212 * align.el (align-regexp): Remove superfluous backslash.
213
214 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
215 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
216 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
217 Fix docstring typos.
218 (ffap-next): Use C-u in docstring.
219 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
220 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
221 Remove superfluous backslashes.
222 (ffap-string-at-point): Reflow docstring.
223
224 * server.el (server-host): Reflow docstring.
225 (server-unload-function): Fix docstring typo.
226 (server-eval-at): Remove superfluous backslash.
227
228 * skeleton.el (skeleton-insert): Remove superfluous backslash.
229 (skeleton-insert): Doc fix.
230 (skeleton-insert): Reflow docstring.
231
232 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
233 (tty-color-approximate, tty-color-by-index, tty-color-values)
234 (tty-color-desc): Remove superfluous backslashes.
235
236 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * electric.el (electric-newline-and-maybe-indent): New command.
239 Bind it globally to C-j.
240 (electric-indent-mode): Don't mess with the global map any more.
241 Don't drop the post-self-insert-hook is some buffer is still using it
242 (bug#16770).
243
244 * bindings.el (global-map): Remove C-j binding.
245
246 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
247 the docstring of functions advised before dumping (bug#16993).
248
249 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
250
251 * ps-print.el (ps-generate-postscript-with-faces):
252 Explicitly deactivate the mark (bug#16866).
253 * simple.el (deactivate-mark): Update region highlight.
254
255 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
256
257 * emacs-lisp/package.el (describe-package-1):
258 Decode commentary (bug#16733).
259
260 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
261
262 * custom.el (defcustom): Doc fix: recommend avoiding destructive
263 modification of the value argument of :set (bug#16755).
264
265 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * simple.el (newline-and-indent): Do autofill (bug#17031).
268
269 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
270
271 * newcomment.el (comment-normalize-vars): Only add escaping check
272 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
273 (comment-beginning): Use `narrow-to-region' instead of moving back
274 one character.
275 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
276 (comment-start-skip): Update the docstring.
277
278 2014-03-18 Richard Stallman <rms@gnu.org>
279
280 * dired.el (dired-display-file): Force use of other window.
281
282 2014-03-18 Daniel Colascione <dancol@dancol.org>
283
284 * startup.el (tty-handle-args): Remove debug message from 2007.
285
286 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
289 (advice--make-interactive-form): Use it to avoid (auto)loading function.
290 (advice--make-1, advice-add, advice-remove):
291 Remove braindead :advice-pending hack.
292
293 2014-03-17 Glenn Morris <rgm@gnu.org>
294
295 * calendar/calendar.el (calendar-generate-month): Apply weekend
296 face to the right days; fixes 2013-08-06 change. (Bug#17028)
297
298 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
299
300 * net/tramp.el (tramp-action-out-of-band): Read pending output.
301 (tramp-call-process): Trace also DESTINATION.
302
303 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
304 Quote file names when they are local. Remove superfluous trace.
305
306 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
307
308 * newcomment.el (comment-beginning): If `comment-start-skip'
309 doesn't match, move back one char and try again. (Bug#16971)
310
311 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
312 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
313 Set `comment-start-skip' to a simpler value that doesn't try to
314 check if the semicolon is escaped (this is handled by
315 `syntax-ppss' now). (Bug#16971)
316
317 * progmodes/scheme.el (scheme-mode-variables): Same.
318
319 2014-03-16 Martin Rudalics <rudalics@gmx.at>
320
321 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
322 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
323 current (Bug#16816, Bug#17007).
324 (with-current-buffer-window): New macro doing the same as
325 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
326 * help.el (help-print-return-message): Warn in doc-string to not
327 use this in `with-help-window'.
328 (describe-bindings-internal): Call `describe-buffer-bindings'
329 from within help buffer. See Juanma's scenario in (Bug#16816).
330 (with-help-window): Update doc-string.
331 * dired.el (dired-mark-pop-up):
332 * files.el (save-buffers-kill-emacs):
333 * register.el (register-preview): Use `with-current-buffer-window'
334 instead of `with-temp-buffer-window'.
335
336 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
337
338 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
339 Implement inserting into current buffer, documented in their docstrings.
340 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
341 (rst-section-tree-point, rst-forward-section, rst-indent)
342 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
343 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
344 (rst-font-lock-handle-adornment-pre-match-form)
345 (rst-repeat-last-character): Reflow docstrings.
346 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
347 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
348 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
349 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
350 Fix docstring typos.
351 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
352 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
353 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
354
355 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
356
357 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
358 for compatibility with other ports.
359 (ns-initialize-window-system): Use it. It is set in term/common-win.el
360 from the -xrm command line argument, but in the Nextstep port its value
361 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
362
363 * progmodes/python.el (defconst, python-syntax-count-quotes)
364 (python-indent-region, python-indent-shift-right)
365 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
366 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
367 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
368 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
369 (inferior-python-mode, python-shell-make-comint, run-python-internal)
370 (python-shell-buffer-substring, python-shell-send-buffer)
371 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
372 (python-completion-complete-at-point, python-fill-docstring-style)
373 (python-eldoc-function, python-imenu-format-item-label)
374 (python-imenu-format-parent-item-label)
375 (python-imenu-format-parent-item-jump-label)
376 (python-imenu--build-tree, python-imenu-create-index)
377 (python-imenu-create-flat-index): Fix docstring typos.
378 (python-indent-context, python-shell-prompt-regexp, run-python):
379 Remove superfluous backslashes.
380 (python-indent-line, python-nav-beginning-of-defun)
381 (python-shell-get-buffer, python-shell-get-process)
382 (python-info-current-defun, python-info-current-line-comment-p)
383 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
384 (python-indent-post-self-insert-function, python-shell-send-file)
385 (python-shell-completion-get-completions)
386 (python-shell-completion-complete-or-indent)
387 (python-eldoc--get-doc-at-point): Reflow docstrings.
388
389 2014-03-14 Glenn Morris <rgm@gnu.org>
390
391 * emacs-lisp/package.el (package-menu-mode-map):
392 Replace use of obsolete function alias. Tweak menu item text.
393
394 * info.el (Info-finder-find-node):
395 Ignore the `emacs' metapackage. (Bug#10813)
396
397 * finder.el (finder-list-matches): Include unversioned packages
398 in the result of a keyword search.
399
400 * finder.el (finder--builtins-descriptions): New constant.
401 (finder-compile-keywords): Use finder--builtins-descriptions.
402
403 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
404
405 * simple.el (blink-matching-paren): Describe the new value,
406 `jump', enabling the old behavior.
407 (blink-matching-open): Use that value. (Bug#17008)
408
409 2014-03-14 Glenn Morris <rgm@gnu.org>
410
411 * finder.el (finder-no-scan-regexp): Add leim-list.
412 (finder-compile-keywords):
413 Don't skip files with same basename. (Bug#14010)
414 * Makefile.in (setwins_finder): New, excluding leim.
415 (finder-data): Use setwins_finder.
416
417 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
418 (help-function-arglist, help-make-usage): Move from here...
419 * help.el (help-split-fundoc, help-add-fundoc-usage)
420 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
421 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
422
423 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
424
425 * net/socks.el (socks, socks-override-functions)
426 (socks-find-services-entry):
427 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
428 (hif-find-ifdef-block):
429 * progmodes/modula2.el (m2-indent): Fix docstring typos.
430
431 * net/tls.el (tls-program): Reflow docstring.
432
433 * progmodes/pascal.el (pascal-mode-abbrev-table)
434 (pascal-imenu-generic-expression, pascal-auto-endcomments)
435 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
436 (pascal-outline-mode): Fix docstring typos.
437 (pascal-mode): Let define-derived-mode document mode hook.
438 (pascal-uncomment-area): Reflow.
439 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
440
441 * progmodes/opascal.el (opascal-compound-block-indent)
442 (opascal-case-label-indent): Fix docstring typos.
443 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
444
445 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
446
447 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
448 Fontify multiple adjacent negation chars. (Bug#17004)
449
450 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
451
452 * emacs-lisp/package.el (package--prepare-dependencies):
453 Accept requirements without explicit version (bug#14941).
454
455 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
456
457 * register.el (register-separator, copy-to-register): Doc fixes.
458 (register-preview-default): Remove unnecessary call to concat.
459
460 * frameset.el (frameset-restore): When checking for a visible frame,
461 use the action map instead of calling visible-frame-list.
462
463 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
464
465 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
466
467 2014-03-12 Martin Rudalics <rudalics@gmx.at>
468
469 * window.el (fit-frame-to-buffer): Get maximum width from
470 display's width instead of height.
471
472 2014-03-12 Glenn Morris <rgm@gnu.org>
473
474 * desktop.el (desktop-restore-frames)
475 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
476 (desktop-restore-reuses-frames): Doc tweaks.
477
478 * electric.el (electric-indent-mode): Doc fix.
479
480 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
481
482 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
483 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
484 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
485 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
486 (cvs-dired-use-hook): Fix docstring typos.
487 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
488 Doc fixes.
489
490 * vc/pcvs-defs.el (cvs-auto-remove-handled)
491 (cvs-auto-remove-directories, cvs-default-ignore-marks)
492 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
493 (cvs-execute-single-dir): Fix docstring typos.
494
495 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
496 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
497
498 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
499
500 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
501 Fix docstring typos.
502
503 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
504
505 * frameset.el (frameset--jump-to-register): Add autoload; it could be
506 called from jump-to-register after unloading the frameset package.
507
508 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
511 (bug#16975). Deactivate the mark before setting it to nil.
512 (activate-mark): Do nothing if region is already active.
513
514 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
515
516 * frameset.el (frameset--target-display): Remove definition; declare.
517 (frameset-save, frameset-restore): Let-bind frameset--target-display.
518
519 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
522 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
523 when the advice is pending.
524 (advice-remove): Remove this marker when not needed any more.
525
526 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
527
528 * frameset.el: Separate options for reusing frames and cleaning up.
529 (frameset--reuse-list): Remove definition; declare.
530 (frameset--action-map): Declare.
531 (frameset--find-frame-if): Doc fix.
532 (frameset--restore-frame): Cache frame action.
533 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
534 how to clean up the frame list after restoring. Remove cleaning
535 options from REUSE-FRAMES. Change all keyword values to symbols.
536 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
537
538 * desktop.el (desktop-restore-forces-onscreen)
539 (desktop-restore-reuses-frames): Use non-keyword values.
540 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
541
542 2014-03-10 Glenn Morris <rgm@gnu.org>
543
544 * files.el (find-file): Doc fix: update info node name.
545
546 * emacs-lisp/advice.el (ad-add-advice, defadvice):
547 Doc fix: remove references to deleted info nodes.
548
549 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
550
551 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
552 Do not add `nil' to the environment, when there's no remote `locale'.
553 (tramp-find-inline-encoding): Check, that the remote host has
554 installed perl, before sending scripts.
555
556 2014-03-10 Leo Liu <sdl.web@gmail.com>
557
558 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
559 Clear eldoc-last-message. (Bug#16920)
560
561 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
564 (bug#14430).
565
566 2014-03-09 Juri Linkov <juri@jurta.org>
567
568 * ansi-color.el (ansi-color-names-vector): Copy default colors
569 from `xterm-standard-colors' that look well on the default white
570 background (and also on the black background) to avoid illegible
571 color combinations like yellow-on-white and white-on-white.
572 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
573
574 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
575
576 * frameset.el (frameset-restore): When no frame is visible, do not
577 generate a list of frames, just make visible the selected one.
578
579 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
580
581 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
582 it only contains the repository root. (Bug#16897)
583
584 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
585
586 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
587 only when `remote-file-name-inhibit-cache' is nil.
588 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
589
590 2014-03-06 Martin Rudalics <rudalics@gmx.at>
591
592 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
593 Fix doc-strings.
594 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
595 fit-frame-to-buffer variable. Fix doc-string.
596 (fit-window-to-buffer): Set ONLY argument in call of
597 fit-frame-to-buffer. Fix doc-string.
598
599 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
600
601 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
602 (tramp-action-password): Clear password cache if needed.
603 (tramp-read-passwd): Do not clear password cache.
604
605 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
606 cache unless it is the first password request.
607
608 2014-03-06 Glenn Morris <rgm@gnu.org>
609
610 * simple.el (newline): Doc tweak.
611
612 * emacs-lisp/shadow.el (load-path-shadows-find):
613 Ignore dir-locals. (Bug#12357)
614
615 2014-03-05 Glenn Morris <rgm@gnu.org>
616
617 * files.el (interpreter-mode-alist):
618 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
619
620 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
621
622 * frameset.el (frameset--initial-params): Filter out null entries.
623
624 2014-03-05 Martin Rudalics <rudalics@gmx.at>
625
626 * window.el (window-min-height, window-min-width):
627 Rewrite doc-strings.
628 (window-body-size): Add PIXELWISE argument to make it consistent
629 with its callees.
630
631 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
632
633 * finder.el (finder-mode-map, finder-mode-syntax-table):
634 Revert part of 2014-02-28 change.
635
636 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
637
638 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
639 (eww-setup-buffer): Clear next/prev/etc more reliably.
640 (eww-textarea-map): [tab] doesn't work on tty.
641 Reported by Mario Lang.
642
643 * net/shr.el (shr-map): Ditto.
644
645 2014-03-04 Glenn Morris <rgm@gnu.org>
646
647 * minibuffer.el (completion-hilit-commonality):
648 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
649
650 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
651
652 * hilit-chg.el (hilit-chg-unload-function): New function.
653 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
654 (hilit-chg-map-changes): Prefer cardinal number to digit.
655 (hilit-chg-display-changes): Reflow docstring.
656 (highlight-changes-rotate-faces): Remove superfluous backslash.
657
658 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
659
660 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
661 `tramp-send-command-and-check'.
662
663 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
664
665 * hexl.el (hexl-address-region, hexl-ascii-region)
666 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
667 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
668 (hexl-forward-word, hexl-previous-line, hexl-next-line):
669 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
670 (hexl-mode): Doc fix.
671 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
672 (hexl-mode-ruler): Fix typos in docstrings.
673
674 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
675 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
676 Remove superfluous backslashes.
677 (strokes-last-stroke, strokes-global-map, strokes-mode):
678 Reflow docstrings.
679 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
680 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
681 (strokes-distance-squared, strokes-global-set-stroke)
682 (strokes-global-set-stroke-string): Doc fixes.
683 (strokes-help): Fix typos; reflow docstring.
684
685 2014-03-04 Martin Rudalics <rudalics@gmx.at>
686
687 * window.el (window-in-direction): Fix doc-string.
688
689 2014-03-04 Glenn Morris <rgm@gnu.org>
690
691 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
692 Explicit error if no grammar.
693 (smie-config-save): Doc fix. Fix quote typo.
694
695 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
698 electric-indent-mode-hook if we obey electric-indent-mode.
699 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
700 decide whether we obey electric-indent-mode.
701 (c-change-set-fl-decl-start, c-extend-after-change-region):
702 Silence warnings.
703 (c-electric-indent-mode-hook): Assume we do want to obey
704 electric-indent-mode.
705
706 * electric.el (electric-indent-mode-has-been-called): Remove.
707 (electric-indent-mode): Fix accordingly.
708
709 * files.el (hack-local-variables): Mention file name in warning.
710
711 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
712
713 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
714
715 * binding.el: Add comment describing why C-d binds to `delete-char'.
716 * simple.el (delete-forward-char): Mark as interactive-only.
717
718 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
719
720 * icomplete.el (icomplete-completions):
721 Follow-up to 2014-03-01 change.
722
723 * icomplete.el: Miscellaneous doc fixes.
724 Use Icomplete everywhere instead of icomplete for consistency.
725 (icomplete-max-delay-chars): Fix typo.
726 (icomplete-mode): Use \[].
727 (icomplete-tidy, icomplete-exhibit): Reflow.
728 (icomplete-minibuffer-setup-hook, icomplete-completions):
729 Remove superfluous backlashes.
730
731 * ido.el: Miscellaneous doc fixes.
732 Use Ido everywhere instead of ido or `ido' for consistency.
733 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
734 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
735 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
736 (ido-separator): Extract obsolescence info from docstring and declare
737 with make-obsolete-variable.
738 (ido-minibuffer-setup-hook): Simplify example.
739 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
740 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
741 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
742 (ido-everywhere): Reflow docstring.
743 (ido-toggle-vc): Doc fix.
744 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
745 of long list of keybindings.
746
747 2014-03-03 Glenn Morris <rgm@gnu.org>
748
749 * frame.el (display-pixel-height, display-pixel-width)
750 (display-mm-dimensions-alist, display-mm-height)
751 (display-mm-width): Doc tweaks.
752
753 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
754
755 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
756 case of undo in region.
757
758 2014-03-02 Martin Rudalics <rudalics@gmx.at>
759
760 * window.el (fit-window-to-buffer): Fix argument in window-size
761 call when window is horizontally combined.
762
763 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
764
765 * icomplete.el (icomplete-completions): Use string-width.
766 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
767
768 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
769
770 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
771 Highlight regexp options. (Bug#16914)
772
773 2014-03-01 Martin Rudalics <rudalics@gmx.at>
774
775 * window.el (window--max-delta-1): Round down when calculating
776 how many lines/columns we can get from a window.
777
778 2014-03-01 Glenn Morris <rgm@gnu.org>
779
780 * isearch.el (search-invisible): Doc fix.
781
782 * minibuffer.el (completion-hilit-commonality):
783 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
784 * comint.el (comint-dynamic-list-completions): Doc fix.
785 * comint.el (comint-dynamic-list-completions):
786 * filecache.el (file-cache-minibuffer-complete):
787 * tempo.el (tempo-display-completions):
788 * eshell/em-hist.el (eshell-list-history):
789 Replace use of obsolete argument of display-completion-list.
790
791 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
792
793 * icomplete.el (icomplete-completions):
794 Revert back to using "..." when ?… cannot be displayed.
795
796 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
797
798 * finder.el (finder-unload-function): New function.
799
800 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
801
802 * dframe.el (dframe-detach):
803 * find-dired.el (find-dired, find-name-dired):
804 * finder.el (finder-mode-map, finder-mode-syntax-table)
805 (finder-headmark, finder-select, finder-mouse-select):
806 Fix docstring typos.
807
808 2014-02-28 Martin Rudalics <rudalics@gmx.at>
809
810 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
811 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
812 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
813 Fix doc-string based on a suggestion by Nicolas Richard
814 <theonewiththeevillook@yahoo.fr>.
815 * help.el (with-help-window): Fix doc-string.
816
817 2014-02-28 Ivan Kanis <ivan@kanis.fr>
818
819 * net/shr.el (shr-image-animate): New option.
820 (shr-put-image): Respect shr-image-animate.
821
822 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
823
824 * net/tramp-adb.el (tramp-adb-parse-device-names):
825 Use `accept-process-output'.
826 (tramp-adb-handle-file-truename): Cache the localname only.
827 (tramp-adb-handle-make-directory)
828 (tramp-adb-handle-delete-directory): Flush file properties correctly.
829 (tramp-adb-handle-set-file-modes): Do not raise an error when file
830 modes cannot be changed.
831
832 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
833 file properties of symlinks.
834
835 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
836
837 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
838 required/optional fields to match development biblatex. (Bug#16781)
839
840 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
841
842 * saveplace.el (toggle-save-place):
843 Fix argument handling. (Bug#16673)
844
845 2014-02-28 Glenn Morris <rgm@gnu.org>
846
847 * minibuffer.el (completions-first-difference)
848 (completions-common-part, completion-hilit-commonality): Doc fixes.
849
850 2014-02-28 Karl Berry <karl@gnu.org>
851
852 * info.el (Info-mode-map): Add H for describe-mode,
853 to synchronize with standalone Info.
854
855 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
856
857 * progmodes/sql.el (sql-interactive-mode):
858 Avoid setting global comint-input-ring-separator. (Bug#16814)
859
860 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
861
862 * net/dbus.el (dbus--init-bus): Declare function.
863 (dbus-path-local, dbus-interface-local): New defconst.
864 (dbus-init-bus): Use them.
865 (dbus-return-values-table): Extend doc.
866 (dbus-handle-bus-disconnect): Extend error message.
867
868 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
869
870 * subr.el (y-or-n-p): Fix double space issue in message.
871
872 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
873
874 * net/tramp.el (tramp-call-process): Improve trace message.
875 (tramp-handle-insert-file-contents): Trace error case.
876
877 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
878 <insert-directory>: Use `tramp-handle-insert-directory'.
879 (tramp-adb-handle-insert-directory): Remove function.
880 (tramp-adb-send-command-and-check): New defun, replacing
881 `tramp-adb-command-exit-status'. Change all callees.
882 (tramp-adb-handle-file-attributes)
883 (tramp-adb-handle-directory-files-and-attributes): Use it.
884 (tramp-adb-ls-output-name-less-p):
885 Use `directory-listing-before-filename-regexp'.
886 (tramp-adb-handle-delete-directory): Flush also file properties of
887 the truename of directory.
888 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
889 (tramp-adb-handle-file-local-copy): Make the local copy readable.
890 (tramp-adb-handle-write-region): Implement APPEND.
891 (tramp-adb-handle-rename-file): Make it more robust. Flush file
892 properties correctly.
893 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
894 variables. Check for connected devices only when needed.
895
896 2014-02-27 Glenn Morris <rgm@gnu.org>
897
898 * minibuffer.el (completion-table-dynamic)
899 (completion-table-with-cache): Doc fixes.
900
901 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
902 (completing-read-multiple): Doc fixes.
903
904 2014-02-27 Daniel Colascione <dancol@dancol.org>
905
906 * minibuffer.el (completion--nth-completion): Fix indentation.
907
908 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
909 explicit tramp path is empty.
910
911 2014-02-27 Glenn Morris <rgm@gnu.org>
912
913 * emacs-lisp/crm.el (completing-read-multiple):
914 Empower help-enable-auto-load.
915
916 2014-02-26 Glenn Morris <rgm@gnu.org>
917
918 * startup.el (command-line): Don't init the tty in daemon mode.
919
920 Avoid calling tty-setup-hook twice, eg if a term file
921 explicitly calls tty-run-terminal-initialization. (Bug#16859)
922 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
923 (tty-create-frame-with-faces): Use it.
924 * startup.el (command-line): Pass run-hook argument
925 to tty-run-terminal-initialization.
926
927 * dired.el (dired-restore-desktop-buffer): Demote errors;
928 eg in case a glob match fails. (Bug#16884)
929
930 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
931
932 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
933 error from `read-from-string'. (Bug#16850)
934
935 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
936 result of `completing-read' in the interactive form. (Bug#16854)
937
938 2014-02-25 Glenn Morris <rgm@gnu.org>
939
940 * image.el (image-animate, image-animate-timeout):
941 Stop animating images in dead buffers. (Bug#16878)
942
943 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
944
945 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
946 Doc fixes.
947 * startup.el (term-setup-hook): Doc fix. Make obsolete.
948 * term/sun.el (sun-raw-prefix-hooks):
949 Use tty-setup-hook instead of term-setup-hook.
950 (terminal-init-sun): Construct message from bytecomp plist.
951 * term/wyse50.el (enable-arrow-keys): Doc fix.
952
953 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
954
955 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
956 Fix docstring typos.
957
958 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
959
960 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
961
962 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
963
964 * minibuffer.el (completion--try-word-completion):
965 Fix error when completing M-x commands (bug#16808).
966
967 2014-02-24 Leo Liu <sdl.web@gmail.com>
968
969 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
970
971 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
972
973 * apropos.el (apropos-print): Avoid formatting error when
974 apropos-do-all and apropos-compact-layout are both t.
975
976 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
977
978 * apropos.el (apropos-property, apropos-all-words-regexp)
979 (apropos-true-hit, apropos-variable, apropos-print):
980 Fix docstring typos, and remove obsolete comment.
981
982 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
983
984 * net/tramp-sh.el (tramp-sh-handle-file-truename):
985 Preserve trailing "/". (Bug#16851)
986
987 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
988
989 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
990 after `=>' (bug#16811).
991 (ruby-smie-rules): Handle the inconsistent second element of the
992 list returned by `smie-indent--parent'.
993 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
994 method call.
995
996 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
997
998 * elec-pair.el (electric-pair-text-syntax-table)
999 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1000 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1001 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1002 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1003
1004 2014-02-22 Glenn Morris <rgm@gnu.org>
1005
1006 * imenu.el (imenu--generic-function): Doc fix.
1007
1008 * register.el (frame-configuration-to-register): Make obsolete.
1009
1010 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1011
1012 * desktop.el (desktop-save-buffer-p): Do not fail when
1013 desktop-files-not-to-save is nil. Return t for true result
1014 as the doc says.
1015
1016 2014-02-22 Daniel Colascione <dancol@dancol.org>
1017
1018 * net/secrets.el (secrets-create-item, secrets-search-items):
1019 Check that attribute values are strings, avoiding the construction
1020 of invalid dbus messages.
1021
1022 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1023
1024 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1025 defun-declarations-alist.
1026
1027 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1030 (bug#16829).
1031
1032 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1033
1034 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1035 (whitespace-newline, whitespace-trailing, whitespace-line)
1036 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1037 (whitespace-space-after-tab): Fix typo in docstrings.
1038
1039 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1040
1041 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1042
1043 * electric.el (electric-indent-functions-without-reindent):
1044 Add `yaml-indent-line'.
1045
1046 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1047
1048 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1049 It has done nothing for years; should be removed after the release.
1050
1051 * simple.el (choose-completion): Fix docstring typo.
1052 (read-quoted-char-radix): Remove unneeded * in docstring.
1053 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1054 Don't escape parentheses unnecessarily in docstrings.
1055
1056 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1057
1058 Fix handling of window-min-height/-width (Bug#16738).
1059 * window.el (window--dump-window, window--dump-frame):
1060 New functions.
1061 (window--min-size-1): Account for window dividers.
1062 When window-resize-pixelwise is nil, delay rounding till after the
1063 sum of the window components has been calculated.
1064 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1065 nil make sure at least one text line and two text columns remain
1066 fully visible.
1067 (window-resize): Signal an error when window-resize-apply fails.
1068 (window--resize-child-windows): Fix calculation of by how many
1069 pixels a window can still be shrunk via window-new-normal.
1070 (adjust-window-trailing-edge): Call window--resizable with
1071 correct TRAIL argument.
1072
1073 (with-temp-buffer-window): Don't evaluate BODY within
1074 with-current-buffer (Bug#16816).
1075
1076 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1077
1078 * net/tramp.el (tramp-check-cached-permissions):
1079 Call `file-attributes' with `suffix' being a symbol but a string.
1080
1081 2014-02-21 Daniel Colascione <dancol@dancol.org>
1082
1083 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1084 (dbus-init-bus): New function: call into dbus-init-bus-1
1085 and installs a handler for the disconnect signal.
1086 (dbus-call-method): Rewrite to look for result in cons.
1087 (dbus-call-method-handler): Store result in cons.
1088 (dbus-check-event): Recognize events with nil sender as valid.
1089 (dbus-handle-bus-disconnect): New function. React to bus
1090 disconnection signal by synthesizing dbus error for each
1091 pending synchronous or asynchronous call.
1092 (dbus-notice-synchronous-call-errors): New function.
1093 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1094 is true, not all the time.
1095
1096 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1097
1098 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1099 Remove obsolescence declarations, these variables do not exist anymore.
1100
1101 * savehist.el (savehist-save-minibuffer-history)
1102 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1103 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1104 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1105 mostly, refer to "Savehist mode" when talking about the mode,
1106 and not the function.
1107
1108 * saveplace.el (save-place): Remove redundant info in docstring.
1109 (save-place-forget-unreadable-files, toggle-save-place)
1110 (save-place-forget-unreadable-files, save-place-dired-hook):
1111 Fix typos and remove unneeded backslashes.
1112
1113 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1116 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1117
1118 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1119 <insert-directory>: Use `tramp-handle-insert-directory'.
1120 (tramp-gvfs-handle-insert-directory): Remove function.
1121
1122 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1123 Call `tramp-handle-insert-directory'.
1124
1125 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1126
1127 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1128 before the start of buffer/region (bug#16799).
1129
1130 2014-02-20 Glenn Morris <rgm@gnu.org>
1131
1132 * isearch.el (search-invisible): Doc fix.
1133
1134 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1135
1136 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1137 (bug#16657).
1138
1139 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1140
1141 * frameset.el (frameset-restore): Delay removing an old frame's
1142 duplicate id until the new frame has been correctly created.
1143
1144 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1145
1146 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1147 (tramp-check-cached-permissions): Call `file-attributes' if the
1148 cache is empty.
1149
1150 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1151 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1152
1153 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1154 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1155 (tramp-gvfs-maybe-open-connection): Set always connection
1156 properties, even if target is mounted already.
1157
1158 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1159 Set tramp-autoload cookie.
1160 (tramp-get-remote-touch): New defun.
1161 (tramp-sh-handle-set-file-times): Use it.
1162 (tramp-sh-handle-directory-files-and-attributes):
1163 Use `tramp-handle-directory-files-and-attributes' if neither stat
1164 nor perl are available on the remote host.
1165
1166 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1167 "/". Write long listing only when "l" belongs to the switches.
1168
1169 * net/trampver.el: Update release number.
1170
1171 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1172
1173 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1174
1175 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1176
1177 * window.el (window-state-put): Allow WINDOW to refer to an
1178 internal window (Bug#16793).
1179
1180 2014-02-19 Glenn Morris <rgm@gnu.org>
1181
1182 * textmodes/remember.el: Move provide statement to end.
1183 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1184 (remember-notes): Doc fixes.
1185
1186 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * delsel.el (delete-char): Restore incorrectly erased property
1189 (bug#16795).
1190
1191 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1192
1193 * frameset.el (frameset--restore-frame): When a frame is being reused
1194 and its root window is not alive, delete all the frame's windows before
1195 restoring the window state. This works around the issue in bug#16793.
1196
1197 2014-02-18 Glenn Morris <rgm@gnu.org>
1198
1199 * textmodes/remember.el (remember-data-directory)
1200 (remember-directory-file-name-format, remember-store-in-files)
1201 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1202 (remember-notes-save-and-bury-buffer)
1203 (remember-notes--kill-buffer-query): Doc fixes.
1204
1205 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1206
1207 2014-02-17 Alan Mackenzie <acm@muc.de>
1208
1209 Connect electric-indent-mode up with CC Mode. Bug #15478.
1210 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1211 to electric-indent-{,local-}-mode.
1212 (c-basic-common-init): Set electric-indent-inhibit.
1213 Initialise c-electric-flag from electric-indent-mode.
1214 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1215 New hook functions which propagate electric-indent-mode to CC mode.
1216
1217 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1218 hit, toggle electric-indent-local-mode.
1219
1220 * electric.el (electric-indent-mode-has-been-called):
1221 New variable.
1222
1223 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1224
1225 * frameset.el (frameset-cfg-id): New function.
1226 (frameset--reuse-frame, frameset-restore): Use it.
1227 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1228
1229 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * ido.el (ido-file-internal): Remove unused var `d'.
1232 Use \` for to match BoS. Fit within 80n columns.
1233
1234 2014-02-17 Daniel Colascione <dancol@dancol.org>
1235
1236 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1237 dbus-call-method check for completion using a busy-wait loop with
1238 gradual backoff.
1239
1240 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1241
1242 Sync with Tramp 2.2.9.
1243
1244 * net/trampver.el: Update release number.
1245
1246 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1247
1248 * ido.el (ido-file-internal): Don't add the name of an existing
1249 directory twice. (Bug#16747)
1250
1251 2014-02-16 Glenn Morris <rgm@gnu.org>
1252
1253 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1254 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1255
1256 2014-02-15 Michael R. Mauger <michael@mauger.com>
1257
1258 * progmodes/sql.el: Version 3.4
1259 (sql-oracle-options): New default value ("-L").
1260 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1261 (sql-placeholders-filter): Correct placeholder pattern.
1262 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1263 (sql-login-delay): New variable.
1264 (sql-product-interactive): Use it.
1265
1266 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1267
1268 * frameset.el (frameset--jump-to-register): Check that buffer is live
1269 (bug#16749).
1270
1271 2014-02-15 Glenn Morris <rgm@gnu.org>
1272
1273 * info.el (info-initialize): Revert 2014-01-10 change.
1274
1275 2014-02-14 Glenn Morris <rgm@gnu.org>
1276
1277 * replace.el (map-query-replace-regexp)
1278 (read-regexp-defaults-function, read-regexp): Doc fixes.
1279
1280 * dired.el (dired-read-regexp):
1281 * faces.el (list-faces-display):
1282 * misearch.el (multi-isearch-read-matching-buffers)
1283 (multi-isearch-read-matching-files):
1284 * play/cookie1.el (cookie-apropos):
1285 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1286
1287 * textmodes/remember.el (remember): Use frameset-to-register
1288 rather than frame-configuration-to-register.
1289
1290 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1291
1292 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1293 incorrect keybinding.
1294
1295 2014-02-13 Daniel Colascione <dancol@dancol.org>
1296
1297 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1298 when adding overlays so that line numbers from compiler match line
1299 numbers we use.
1300
1301 2014-02-13 Glenn Morris <rgm@gnu.org>
1302
1303 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1304
1305 * jit-lock.el (jit-lock-mode): Doc fix.
1306
1307 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1308
1309 * apropos.el (apropos-read-pattern): When the user passes an empty
1310 string, give a more helpful error message than "Wrong type
1311 argument: stringp, nil".
1312
1313 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1316
1317 2014-02-13 Glenn Morris <rgm@gnu.org>
1318
1319 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1320
1321 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1324 shift-select commands.
1325
1326 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1327
1328 * progmodes/js.el (js-indent-line): Don't widen.
1329 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1330
1331 2014-02-12 Glenn Morris <rgm@gnu.org>
1332
1333 * icomplete.el (icomplete): Add info-link to defgroup.
1334 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1335 (icomplete-minibuffer-map, icomplete-mode)
1336 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1337
1338 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1339 (package-menu-filter): Rename from package-menu-filter-interactive.
1340 Doc fix.
1341
1342 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1343
1344 * frameset.el (frameset--jump-to-register): Select the required
1345 window and buffer before restoring position (bug#16696).
1346
1347 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1348
1349 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1350
1351 2014-02-10 Glenn Morris <rgm@gnu.org>
1352
1353 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1354
1355 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1356
1357 * w32-common-fns.el (x-get-selection): Doc fix.
1358 * select.el (x-get-selection): Doc fix. (Bug#15109)
1359
1360 * face-remap.el (face-remap-add-relative)
1361 (face-remap-remove-relative, face-remap-reset-base)
1362 (face-remap-set-base): Call force-mode-line-update to redisplay
1363 the current buffer due to potential change in faces. (Bug#16709)
1364
1365 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1366
1367 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1368 script more robustly.
1369
1370 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1371
1372 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1373
1374 * simple.el (choose-completion): Doc fix (bug#14160).
1375
1376 * subr.el (event-start): Say what a nil EVENT value means.
1377
1378 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1379 (bug#14197).
1380
1381 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1382
1383 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1384
1385 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1386
1387 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1388 predicate function (bug#15455).
1389
1390 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1391
1392 * ielm.el (inferior-emacs-lisp-mode): Instead of
1393 `comment-use-global-state', set `comment-use-syntax'.
1394
1395 2014-02-10 Glenn Morris <rgm@gnu.org>
1396
1397 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1398
1399 2014-02-09 Alan Mackenzie <acm@muc.de>
1400
1401 Fix c-invalidate-state-cache on narrowed buffers.
1402 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1403 Widen when setting and clearing the CPP delimiter properties.
1404
1405 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1406
1407 * help.el (describe-bindings): Doc fix (bug#9888).
1408
1409 * files.el (save-buffer): Use ARG as the parameter name for
1410 consistency (bug#10346).
1411 (save-buffer): Clarify the 0 argument (bug#10346).
1412
1413 * cus-edit.el (customize-apropos): Fix error string.
1414 (custom-buffer-create): Doc fix (bug#11122).
1415 (custom-sort-items): Doc fix (bug#11121).
1416
1417 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1418
1419 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1420 (icomplete-simple-completing-p): Mention the previous variable.
1421
1422 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1423 meaning of the parameter (bug#12282).
1424
1425 * files.el (find-file-noselect): Clarify prompt when changing
1426 readedness (bug#13261).
1427 (locate-file): Suffixes aren't returned, so don't say that they
1428 are (bug#12674).
1429 (backup-inhibited): Doc clarification (bug#12525).
1430
1431 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1432 before we actually start to delete things (bug#16331).
1433
1434 * subr.el (event-start): Doc fix (bug#14228).
1435 (event-end): Ditto.
1436
1437 2014-02-09 Glenn Morris <rgm@gnu.org>
1438
1439 * emacs-lisp/warnings.el (lwarn):
1440 Empower help-enable-auto-load. (Bug#15940)
1441
1442 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1443
1444 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1445 (Bug#16690)
1446
1447 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1448
1449 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1450 Insert output at end of buffer. (Bug#16120)
1451
1452 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1453
1454 * simple.el (choose-completion-string-functions): Document new
1455 calling convention (bug#14153).
1456 (execute-extended-command): Clarify doc string (bug#13373).
1457
1458 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1459
1460 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1461 (find-grep-dired): Doc fix (bug#14288).
1462
1463 2014-02-08 Juri Linkov <juri@jurta.org>
1464
1465 * isearch.el (isearch-quote-char): Check character validity
1466 like in `quoted-insert' (bug#16677).
1467
1468 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1469
1470 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1471
1472 * isearch.el (isearch-hide-immediately): Doc clarification
1473 (bug#14723).
1474
1475 * simple.el (line-move): Document utility function used many
1476 places in the Emacs sources (bug#14843).
1477
1478 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1479 (dired-prev-marked-file): Doc fix (bug#14855).
1480 (dired-up-directory): Doc fix (bug#14848).
1481
1482 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1483
1484 * files.el (file-relative-name): Doc fix (bug#15159).
1485
1486 * fringe.el (fringe-styles): Doc fix (bug#15239).
1487
1488 * isearch.el (isearch-filter-predicate): Documentation typo fix
1489 (bug#15474).
1490
1491 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1492
1493 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1494
1495 * replace.el (replace-match-maybe-edit): Doc clarification
1496 (bug#15632).
1497
1498 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1499
1500 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1501
1502 2014-02-08 Glenn Morris <rgm@gnu.org>
1503
1504 * help-fns.el (describe-variable):
1505 Check {file,dir}-local-variables-alist, and buffer-file-name,
1506 in the correct buffer.
1507
1508 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1509
1510 * help-fns.el (describe-variable): Fix the case where
1511 a value is directory-local with no dir-locals file. (Bug#16635)
1512
1513 2014-02-08 Glenn Morris <rgm@gnu.org>
1514
1515 * abbrev.el (edit-abbrevs-mode):
1516 Derive from fundamental-mode. (Bug#16682)
1517
1518 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1519
1520 * simple.el (quoted-insert): Check character validity (bug#16677).
1521
1522 2014-02-07 Juri Linkov <juri@jurta.org>
1523
1524 * desktop.el (desktop-read): Claim the lock when the owner is not
1525 the current process. (Bug#16157)
1526
1527 2014-02-07 Juri Linkov <juri@jurta.org>
1528
1529 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1530 to "\\` ". (Bug#16651)
1531
1532 2014-02-07 Juri Linkov <juri@jurta.org>
1533
1534 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1535 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1536 (desktop-auto-save-cancel-timer): New function with some code from
1537 `desktop-auto-save-set-timer'.
1538 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1539 Instead of setting `desktop-save-mode' to nil, call
1540 `desktop-save-mode' with arg 0. (Bug#16630)
1541
1542 2014-02-07 Glenn Morris <rgm@gnu.org>
1543
1544 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1545 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1546 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1547
1548 * obsolete/iswitchb.el: Move to obsolete/.
1549 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1550 since obsolete/ is not scanned for autoloads.
1551 * emacs-lisp/authors.el (authors-valid-file-names):
1552 Add iswitchb.el.
1553
1554 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1555 Disable now non-functional find-file-hook.
1556
1557 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1558
1559 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1560 instead of ";" in order to avoid additional prompts. Let heredoc
1561 scripts read from tty. (Bug#16582)
1562 (tramp-send-command): No special handling of heredocs, it isn't
1563 necessary anymore.
1564
1565 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1568 with a space (bug#16664). Limit the symbols considered to the ones
1569 that are bound or fbound (bug#16646).
1570
1571 2014-02-06 Glenn Morris <rgm@gnu.org>
1572
1573 * epa.el (epa-mail-aliases): Doc fix.
1574
1575 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1576
1577 * emacs-lisp/lisp.el (lisp-completion-at-point):
1578 Use `completion-table-merge' instead of `completion-table-in-turn'
1579 (bug#16604).
1580
1581 * minibuffer.el (completion-table-merge): New function.
1582
1583 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1584
1585 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1586 (tramp-sh-handle-set-file-acl)
1587 (tramp-sh-handle-start-file-process)
1588 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1589 (tramp-find-executable, tramp-send-command): Use it.
1590
1591 2014-02-05 Glenn Morris <rgm@gnu.org>
1592
1593 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1594
1595 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1596
1597 * progmodes/python.el (python-shell-send-string)
1598 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1599
1600 2014-02-04 Anders Lindgren <andlind@gmail.com>
1601
1602 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1603 the names (bug#16620).
1604
1605 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1606
1607 * faces.el (window-divider): New default value. Rewrite doc-string.
1608 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1609
1610 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1611
1612 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1613 `protected' and `public' can also be called without arguments.
1614
1615 2014-02-03 Glenn Morris <rgm@gnu.org>
1616
1617 * register.el (window-configuration-to-register)
1618 (frame-configuration-to-register): Unadvertise unused argument.
1619 * frameset.el (frameset-to-register): Remove unused argument.
1620
1621 * frameset.el (frameset-to-register):
1622 * kmacro.el (kmacro-to-register):
1623 * register.el (increment-register):
1624 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1625 (calc-append-to-register, calc-prepend-to-register):
1626 * play/gametree.el (gametree-layout-to-register)
1627 (gametree-apply-register-layout):
1628 * textmodes/picture.el (picture-clear-rectangle-to-register)
1629 (picture-yank-rectangle-from-register):
1630 * vc/emerge.el (emerge-combine-versions-register):
1631 Use register-read-with-preview to read registers.
1632
1633 2014-02-03 João Távora <joaotavora@gmail.com>
1634
1635 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1636 when at beginning of (possibly narrowed) buffer.
1637
1638 2014-02-02 Daniel Colascione <dancol@dancol.org>
1639
1640 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1641 Also try to display local help from just before point.
1642
1643 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1644
1645 c-parse-state. Don't "append-lower-brace-pair" in certain
1646 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1647 recognised as a comment.
1648
1649 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1650 as well as normal comment starter.
1651 (c-parse-state-get-strategy): Extra return possibility
1652 'back-and-forward.
1653 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1654 return value list to indicate replacement of a brace-pair cons
1655 with its car.
1656 (c-parse-state-1): With 'back-and-forward, only call
1657 c-append-lower-brace-pair-to state-cache when cons-separated.
1658
1659 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1660
1661 * term/ns-win.el (ns-suspend-error): New function.
1662 (ns-initialize-window-system): Add ns-suspend-error to
1663 suspend-hook (Bug#16612).
1664
1665 2014-02-02 Daniel Colascione <dancol@dancol.org>
1666
1667 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1668 Make loading cc-mode silent.
1669
1670 2014-02-02 Daniel Colascione <dancol@dancol.org>
1671
1672 * comint.el (comint-prompt-read-only): Change doc to suggest
1673 remap keybinding.
1674
1675 2014-02-02 Glenn Morris <rgm@gnu.org>
1676
1677 * register.el (register-read-with-preview, point-to-register)
1678 (window-configuration-to-register, frame-configuration-to-register)
1679 (jump-to-register, number-to-register, view-register, insert-register)
1680 (copy-to-register, append-to-register, prepend-to-register)
1681 (copy-rectangle-to-register): Doc fixes.
1682
1683 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1686 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1687 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1688 * help-fns.el (describe-function-1): Use it.
1689
1690 2014-02-02 Glenn Morris <rgm@gnu.org>
1691
1692 * register.el (register-preview-default): New function,
1693 split from register-preview.
1694 (register-preview-function): Rename from register-preview-functions,
1695 make it not a hook.
1696 (register-preview): Use register-preview-function.
1697 (register-read-with-preview): Error on non-character event. (Bug#16595)
1698
1699 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1700
1701 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1702 `:' before binary operators (bug#16609). Don't check for `:'
1703 before `[' and `(', or their syntax status. A percent literal
1704 can't end with either.
1705 (ruby-font-lock-keywords): For built-ins that require arguments,
1706 check that they're followed by something that looks like argument
1707 (bug#16610).
1708
1709 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1710
1711 * subr.el (butlast): Document what an omitted N means (bug#13437).
1712 (nbutlast): Ditto.
1713
1714 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1715
1716 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1717 depth shallower (bug#16587).
1718 (shr-tag-svg): Respect `shr-inhibit-images'.
1719 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1720
1721 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1722
1723 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1724 (ruby-smie-grammar): Make "." right-associative. Make its priority
1725 lower than the ternary and all binary operators.
1726 (ruby-smie-rules): Indent "(" relative to the first non-"."
1727 parent, or the first "." parent at indentation.
1728 Use `ruby-align-chained-calls' for indentation of "." tokens.
1729 (Bug#16593)
1730
1731 2014-01-31 Juri Linkov <juri@jurta.org>
1732
1733 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1734 from `make-hash-table'.
1735
1736 * textmodes/ispell.el (ispell-init-process): Change message format
1737 to be consistent with other messages.
1738
1739 2014-01-31 Glenn Morris <rgm@gnu.org>
1740
1741 * delsel.el (delete-selection-mode): Doc fix.
1742
1743 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1744 (trace-function-background): Doc fixes.
1745
1746 * ido.el (ido-use-virtual-buffers): Doc fix.
1747 Reset :version, since the default value has not changed.
1748
1749 * register.el (register-preview-delay, register-read-with-preview):
1750 Doc fixes.
1751
1752 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1753 do not mess with mail-buffer position (fixes 2009-11-03 change).
1754 * progmodes/cc-mode.el (c-submit-bug-report):
1755 Check auto-fill-mode is bound. (Bug#16592)
1756
1757 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1758
1759 * startup.el (fancy-splash-image-file): New function,
1760 split from fancy-splash-head.
1761 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1762 so that we are both using the same image. (Bug#16574)
1763
1764 2014-01-30 Glenn Morris <rgm@gnu.org>
1765
1766 * simple.el (eval-expression): Doc fix.
1767
1768 * hexl.el (hexl-mode-hook):
1769 * ielm.el (ielm-mode-hook):
1770 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1771 (lisp-interaction-mode-hook):
1772 * progmodes/cfengine.e (cfengine3-documentation-function):
1773 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1774
1775 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1778 is a symbol (bug#16584).
1779
1780 2014-01-30 Glenn Morris <rgm@gnu.org>
1781
1782 * help.el (help-for-help-internal): Add "P" to text.
1783
1784 2014-01-29 Glenn Morris <rgm@gnu.org>
1785
1786 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1787
1788 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1789
1790 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1791 height constraints.
1792
1793 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1794
1795 * progmodes/hideif.el: Extend to full CPP expression syntax.
1796 (hif-token-alist): Add missing tokens.
1797 (hif-token-regexp): Add support for float/octal/hex immediates.
1798 (hif-string-literal-regexp): New const.
1799 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1800 (hif-exprlist): New function.
1801 (hif-parse-if-exp): Use it.
1802 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1803 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1804 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1805 (hif-logxor, hif-comma): New functions.
1806
1807 2014-01-28 Glenn Morris <rgm@gnu.org>
1808
1809 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1810
1811 * indent.el (tab-stop-list): Doc fix. Add :version.
1812
1813 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1814 (cvs-append-to-ignore): Add compatibility alias.
1815
1816 2014-01-27 Glenn Morris <rgm@gnu.org>
1817
1818 * dired.el (dired-hide-details-mode): Don't autoload it,
1819 since it cannot be used outside Dired buffers anyway.
1820
1821 * emulation/cua-base.el (cua-mode): Doc fix.
1822
1823 * dired.el (dired-hide-details-hide-symlink-targets)
1824 (dired-hide-details-hide-information-lines)
1825 (dired-hide-details-mode): Doc fixes.
1826
1827 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1828 * strokes.el (strokes-file): Doc fix. Bump :version.
1829 (strokes-help): Doc fix.
1830 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1831 * emulation/viper.el (viper): Doc fix for custom group.
1832 (top-level): Remove oh-so-no-longer-relevant text about vip.
1833 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1834
1835 * ido.el (ido-save-directory-list-file):
1836 * saveplace.el (save-place-file):
1837 * calendar/timeclock.el (timeclock-file):
1838 * net/quickurl.el (quickurl-url-file):
1839 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1840 * progmodes/idlwave.el (idlwave-config-directory):
1841 * textmodes/remember.el (remember-data-file):
1842 Bump :version.
1843
1844 2014-01-26 Glenn Morris <rgm@gnu.org>
1845
1846 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1847 Doc fix. Make obsolete.
1848 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1849
1850 * sort.el (delete-duplicate-lines): Doc fix.
1851
1852 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1853
1854 * progmodes/ada-mode.el (ada):
1855 * woman.el (woman): Link to info manual and Commentary section.
1856
1857 * progmodes/flymake.el (flymake):
1858 * nxml/nxml-mode.el (nxml):
1859 * net/eww.el (eww):
1860 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1861 * htmlfontify.el (htmlfontify):
1862 * ses.el (ses):
1863 * epa.el (epa):
1864 * ido.el (ido): Link to info manual.
1865
1866 2014-01-25 Leo Liu <sdl.web@gmail.com>
1867
1868 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1869
1870 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1871
1872 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1873 (bug#16537).
1874
1875 >>>>>>> MERGE-SOURCE
1876 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1877
1878 * net/eww.el (eww-download-callback):
1879 Fix reference to eww-download-directory.
1880
1881 * emacs-lisp/bytecomp.el (byte-compile-file):
1882 Remove unused local variable `file-name'.
1883
1884 2014-01-24 Glenn Morris <rgm@gnu.org>
1885
1886 * woman.el (woman-default-faces, woman-monochrome-faces):
1887 Fix obsolescence specification.
1888
1889 * subr.el (with-demoted-errors): Doc fix.
1890
1891 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1894 (cl--macroexp-fboundp): New function.
1895 (cl--make-type-test): Use it.
1896
1897 2014-01-23 Glenn Morris <rgm@gnu.org>
1898
1899 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1900 * simple.el (eval-expression): Doc fixes.
1901
1902 2014-01-22 Glenn Morris <rgm@gnu.org>
1903
1904 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1905
1906 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * emacs-lisp/package.el: Write files silently.
1909 (package-autoload-ensure-default-file, package--write-file-no-coding)
1910 (package-generate-description-file, package--download-one-archive)
1911 (package-install-from-archive): Tell `write-region' to stay quiet.
1912 (package-menu-mode, package-menu--print-info): Omit the Archive column
1913 if there's only one archive.
1914 (package-all-keywords, package--has-keyword-p): Remove dead code.
1915
1916 2014-01-22 Glenn Morris <rgm@gnu.org>
1917
1918 * version.el (emacs-bzr-version-bzr): Fix typo.
1919
1920 * version.el (emacs-repository-get-version):
1921 Check either .bzr or .git, but not both.
1922 Make the git case actually use the DIR argument, and return nil
1923 rather than the empty string.
1924 Avoid error if .git exists but the git executable is not found.
1925
1926 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1927
1928 Fixes in window size functions around Bug#16430 and Bug#16470.
1929 * window.el (window-total-size, window-size): New argument ROUND.
1930 (window--min-delta-1, window-min-delta, window--max-delta-1):
1931 Be more conservative when calculating the numbers of lines or
1932 columns a window can shrink (Bug#16430).
1933 (fit-window-to-buffer): Simplify code.
1934 * term.el (term-window-width): Call window-body-width again.
1935
1936 2014-01-22 Glenn Morris <rgm@gnu.org>
1937
1938 * image.el (image-format-suffixes): Doc fix.
1939
1940 * international/quail.el (quail-define-package): Doc fix.
1941
1942 * emacs-lisp/authors.el (authors-valid-file-names)
1943 (authors-renamed-files-alist): Additions.
1944
1945 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1946 reverts 2014-01-09 change. (Bug#16422)
1947
1948 * calc/calc-embed.el (thing-at-point-looking-at):
1949 * emacs-lisp/map-ynp.el (x-popup-dialog):
1950 * obsolete/lmenu.el (x-popup-dialog):
1951 * emacs-lisp/package.el (url-recreate-url):
1952 * mail/mailclient.el (clipboard-kill-ring-save):
1953 * subr.el (x-popup-dialog): Update declaration.
1954 * mail/rmail.el (rmail-mime-message-p):
1955 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1956
1957 2014-01-21 Daniel Colascione <dancol@dancol.org>
1958
1959 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1960 Correctly detect when we're inside an arithmetic expansion form
1961 containing nested parenthesis.
1962 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1963 to detect cases where we shouldn't expand "<<" to a heredoc
1964 skeleton.
1965
1966 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1969 (eldoc--message-command-p): New function.
1970 (eldoc-display-message-p): Use it.
1971 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1972 message is not automatically erased for us.
1973 (eldoc-print-current-symbol-info): Erase previous message, if any.
1974
1975 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1976
1977 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1978 specify it's an interactive function.
1979
1980 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1981 Fix regex used for scanning for citation keys which failed for
1982 citations with optional arguments.
1983
1984 2014-01-21 Leo Liu <sdl.web@gmail.com>
1985
1986 * simple.el (read--expression): Don't enable eldoc-mode.
1987
1988 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * simple.el (move-beginning-of-line): Make sure we don't move forward
1991 (bug#16497).
1992
1993 2014-01-20 Juri Linkov <juri@jurta.org>
1994
1995 * saveplace.el (toggle-save-place, save-place-to-alist)
1996 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1997 'dired-mode) before checking for dired-directory. (Bug#16477)
1998
1999 2014-01-20 Juri Linkov <juri@jurta.org>
2000
2001 * indent.el (indent-line-to): Use backward-to-indentation
2002 instead of back-to-indentation. (Bug#16461)
2003
2004 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2005
2006 Revert some of the CANNOT_DUMP fix (Bug#16494).
2007 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2008 but fixing this can wait until after the next release.
2009 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2010
2011 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2014 Use `password-word-equivalents'.
2015 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2016 to t. (Bug#5664, Bug#13124)
2017
2018 2014-01-19 Alan Mackenzie <acm@muc.de>
2019
2020 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2021 points.
2022 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2023 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2024 * progmodes/cc-mode.el (c-before-change, c-after-change)
2025 (c-font-lock-fontify-region): Bind it here.
2026
2027 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2028
2029 * term.el (term-window-width): Call window-text-width instead of
2030 window-width (Bug#16470).
2031
2032 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2033
2034 * simple.el (password-word-equivalents): Remove duplicates.
2035 Sort, to make this easier next time.
2036 Downcase. Omit ": " after "jelszó".
2037
2038 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2039
2040 * term/common-win.el (saved-region-selection): Defvar it.
2041 (x-select-text): Set saved-region-selection (Bug#16382).
2042
2043 2014-01-18 Glenn Morris <rgm@gnu.org>
2044
2045 * emacs-lisp/authors.el (authors-aliases)
2046 (authors-renamed-files-alist): Add some entries.
2047
2048 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2049
2050 * net/tramp.el (tramp-password-prompt-regexp):
2051 Use `password-word-equivalents' if available.
2052 (tramp-action-password, tramp-process-one-action)
2053 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2054
2055 2014-01-17 Chong Yidong <cyd@gnu.org>
2056
2057 * simple.el (password-word-equivalents): New defcustom.
2058 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2059 to 24.4.
2060 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2061 to t. (Bug#13124)
2062
2063 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2066 (ruby-align-to-stmt-keywords): Change the default value.
2067 Use `ruby-alignable-keywords' to generate the possible customization
2068 choices.
2069 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2070 keywords, check against the value of `ruby-alignable-keywords'
2071 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2072
2073 2014-01-17 Glenn Morris <rgm@gnu.org>
2074
2075 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2076
2077 Make M-x authors return zero *Authors Errors* from current logs.
2078 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2079 (authors-ignored-files): Add some entries, remove others.
2080 (authors-ambiguous-files, authors-valid-file-names):
2081 Add some entries.
2082 (authors-renamed-files-alist): Add, remove, and adjust entries.
2083 (authors-renamed-files-regexps): Add some entries.
2084 Remove some very broad ones. Make some entries `lax'.
2085 (authors-lax-changelogs): New constant.
2086 (authors-disambiguate-file-name): Treat top-level specially.
2087 (authors-lax-changelog-p): New function.
2088 (authors-canonical-file-name): Check file as written against
2089 authors-valid-file-names. Do not special-case etc/.
2090 Handle `lax' logs and authors-renamed-files-regexps elements.
2091
2092 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2093
2094 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2095 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2096 callers.
2097
2098 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2101 Assume we're already in the proper buffer.
2102 Inspired by Anders Lindgren <andlind@gmail.com>.
2103 (follow-post-command-hook): Call it from the right buffer.
2104 (follow-comint-scroll-to-bottom): Adjust call.
2105 (follow-all-followers): Use get-buffer-window-list.
2106
2107 2014-01-15 Daniel Colascione <dancol@dancol.org>
2108
2109 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2110 `buffer-file-name' in interactive-form so that we don't leave
2111 pathless file names in `file-name-history'.
2112
2113 2014-01-15 Juri Linkov <juri@jurta.org>
2114
2115 * indent.el (indent-rigidly): Set deactivate-mark to nil
2116 in transient indentation mode. (Bug#16438)
2117
2118 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2119
2120 * emacs-lisp/package.el (package-desc-keywords): New function
2121 (Bug#16222).
2122 (describe-package-1, package-all-keywords)
2123 (package--has-keyword-p): Use it.
2124
2125 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2126
2127 * simple.el (define-alternatives): When creating the
2128 COMMAND-alternatives variable, assign COMMAND as its definition
2129 name so that `describe-variable' can relocate it.
2130
2131 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2132
2133 * font-lock.el (font-lock-keywords): Fix typo in docstring
2134 (bug#16307).
2135
2136 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2137
2138 * ispell.el (ispell-region): Reset `in-comment' for new line
2139 instead of wrongly reset `add-coment' (bug#13577).
2140
2141 2014-01-14 Daiki Ueno <ueno@gnu.org>
2142
2143 * epa-file.el (epa-file-write-region): Encode the region according
2144 to `buffer-file-format'. Problem reported at:
2145 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2146
2147 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2150 so it applies in the right buffer (bug#16410).
2151
2152 2014-01-13 Daniel Colascione <dancol@dancol.org>
2153
2154 * textmodes/rst.el (rst-define-key): Provide deprecated
2155 keybindings through named functions instead of anonymous ones so
2156 that "??" doesn't appear in describe-mode output.
2157
2158 2014-01-13 Bastien Guerry <bzg@gnu.org>
2159
2160 * simple.el (define-alternatives): Call the selected command
2161 interactively. When setting `COMMAND--implementation' for the
2162 first time, tell the user how to chose another implementation.
2163 Enhance the docstring.
2164
2165 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2168 (log-edit--match-first-line): New function.
2169 (log-edit-font-lock-keywords): Use it.
2170 (log-edit-mode): Make jit-lock-defer-multiline work.
2171
2172 2014-01-13 Bastien Guerry <bzg@gnu.org>
2173
2174 * rect.el (rectangle-mark-mode): When the region is not active,
2175 display a message saying that the mark as been set and that
2176 rectangle mode is in use.
2177 (rectangle--highlight-for-redisplay): Only put an overlay with a
2178 visible vertical bar when (display-graphic-p) is non-nil.
2179 This partially fixes Bug#16403.
2180
2181 2014-01-13 Juri Linkov <juri@jurta.org>
2182
2183 * info.el (Info-find-file): Go to DIR before displaying the error
2184 about a nonexistent file if no previous Info file is visited.
2185 Use `user-error' instead of `error' for "Info file %s does not exist".
2186 (Info-find-node-2): In case of a nonexistent node in unwind forms
2187 go to the Top node if there is no previous node to revert to.
2188 (Bug#16405)
2189
2190 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2191
2192 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2193 * window.el (fit-frame-to-buffer): Fix doc-string.
2194 Respect window-min-height/-width. Fit pixelwise when
2195 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2196 when avoiding that frame goes partially off-screen.
2197 (fit-window-to-buffer): Respect window-min-height/-width
2198 (Bug#14096).
2199
2200 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2203 after an empty line.
2204
2205 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * net/shr.el (shr-render-region): Autoload.
2208
2209 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2210
2211 * net/eww.el (eww-download-directory): Rename from
2212 `eww-download-path' (Bug#16419).
2213
2214 2014-01-12 Leo Liu <sdl.web@gmail.com>
2215
2216 * dired-x.el (dired-mode-map): Fix last change.
2217
2218 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2219
2220 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2221
2222 Spelling fixes.
2223 * emacs-lisp/generic.el (generic--normalize-comments):
2224 Rename from generic--normalise-comments. All uses changed.
2225 * play/bubbles.el (bubbles--neighborhood-score)
2226 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2227 (bubbles--neighborhood-available)
2228 (bubbles--update-neighborhood-score):
2229 Rename from names with 'neighbourhood'. All uses changed.
2230
2231 2014-01-12 Leo Liu <sdl.web@gmail.com>
2232
2233 Re-implement the feature of showing eldoc info after editing.
2234 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2235 (eldoc-edit-message-commands): New function.
2236 (eldoc-print-after-edit): New variable.
2237 (eldoc-pre-command-refresh-echo-area): Emit message only by
2238 eldoc-message-commands.
2239 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2240 if eldoc-print-after-edit is set. (Bug#16346)
2241 * simple.el (read--expression): Enable eldoc-mode.
2242 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2243
2244 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2245 Eric S. Raymond <esr@thyrsus.com>
2246
2247 * version.el (emacs-repository-get-version): Enhance so the
2248 function works correctly in either a Bazaar or Git repo.
2249
2250 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2251
2252 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2253 Goes with removal of the joke manpages from /etc.
2254
2255 2014-01-10 Kenichi Handa <handa@gnu.org>
2256
2257 * mail/rmail.el (rmail-get-coding-system):
2258 Check rmail-get-coding-function before "funcall"ing it.
2259
2260 2014-01-10 Glenn Morris <rgm@gnu.org>
2261
2262 * emacs-lisp/authors.el (authors-fixed-entries):
2263 Update for files that no longer exist.
2264
2265 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2266
2267 * version.el (emacs-bzr-get-version): Restore compatibilty with
2268 24.3 (Tested).
2269
2270 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2271
2272 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2273 and Podfile.
2274
2275 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2276
2277 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2278
2279 2014-01-10 Chong Yidong <cyd@gnu.org>
2280
2281 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2282
2283 2014-01-10 Anders Lindgren <andlind@gmail.com>
2284
2285 * follow.el (follow-cache-command-list): Include right-char and
2286 left-char.
2287
2288 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2289
2290 Spelling fixes.
2291 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2292 * woman.el (woman-mark-horizontal-position):
2293 Rename from woman-mark-horizonal-position. Use changed.
2294
2295 2014-01-10 Glenn Morris <rgm@gnu.org>
2296
2297 * info.el (info-initialize): If running uninstalled, ensure our
2298 own info files are always found first, even if INFOPATH is set.
2299
2300 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2301
2302 2014-01-09 David Engster <deng@randomsample.de>
2303
2304 * emacs-lisp/eieio-custom.el:
2305 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2306 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2307 * emacs-lisp/eieio.el: Regenerate autoloads.
2308
2309 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2310
2311 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2312 following renames. (Bug#8756)
2313
2314 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2317 (bug#16382).
2318 (activate-mark): Add `no-tmm' argument.
2319 (set-mark, push-mark-command): Use it instead of running
2320 activate-mark-hook by hand.
2321
2322 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2323
2324 In preparation for the move to git, sanitize out some
2325 Bazaar-specific names.
2326
2327 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2328
2329 * version.el (emacs-bzr-version): Name changed to
2330 emacs-repository-version. Obsolete-variable alias made.
2331 * loadup.el: Follow through on this name change.
2332 * mail/emacsbug.el (report-emacs-bug): Factor out any
2333 assumption about the version control system in use.
2334
2335 2014-01-08 David Engster <deng@randomsample.de>
2336
2337 * help-fns.el (help-fns-describe-function-functions):
2338 New variable to call functions for augmenting help buffers.
2339 (describe-function-1): Remove explicit calls to
2340 `help-fns--compiler-macro', `help-fns--parent-mode' and
2341 `help-fns--obsolete'. Put them in above new variable instead, and
2342 call them through `run-hook-with-args'.
2343 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2344 `eieio-describe-class'. Not meant for interactive use anymore,
2345 but to augment existing help buffers. Remove optional second
2346 argument. Create proper button for file location.
2347 Rewrite function to use `insert' instead of `princ' and `prin1' where
2348 possible.
2349 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2350 (eieio-method-def, eieio-class-def): Move further up.
2351 (describe-method, describe-generic, eieio-describe-method):
2352 Remove aliases.
2353 (eieio-help-constructor, eieio-help-generic): Rename from
2354 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2355 Rewrite to use `insert' in the current buffer and use proper help
2356 buttons.
2357 (eieio-help-find-method-definition)
2358 (eieio-help-find-class-definition): Also accept symbols as
2359 arguments.
2360 (eieio-help-mode-augmentation-maybee): Remove.
2361 (eieio-describe-class-sb): Use `describe-function'.
2362 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2363 Add `eieio-help-generic' and `eieio-help-constructor'.
2364
2365 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2366
2367 Spelling fixes.
2368 * language/china-util.el (hz-ascii-designation):
2369 Rename from hz-ascii-designnation.
2370 (hz-ascii-designation): Rename from hz-ascii-designnation.
2371 All uses changed.
2372
2373 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2376 package-alist.
2377
2378 2014-01-08 Bastien Guerry <bzg@gnu.org>
2379
2380 * emacs-lisp/package.el (package-delete):
2381 Correctly delete the package from package-alist.
2382
2383 2014-01-08 Daiki Ueno <ueno@gnu.org>
2384
2385 * emacs-lisp/package.el (url-recreate-url): Declare.
2386 (url-http-target-url): Declare.
2387 (package-handle-response): Include requested URL in the error message.
2388 (package--check-signature): Don't re-signal errors from
2389 package--with-work-buffer. Suggested by Stefan Monnier.
2390
2391 2014-01-07 Bastien Guerry <bzg@gnu.org>
2392
2393 * minibuffer.el (completion--try-word-completion): When both a
2394 hyphen and a space are possible candidates for the character
2395 following a word, display both candidates. (Bug#15980)
2396
2397 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2398
2399 * window.el (balance-windows-2): While rounding don't give a
2400 window more than the remainder. Bug#16351, bug#16383.
2401
2402 2014-01-07 Glenn Morris <rgm@gnu.org>
2403
2404 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2405 (menu-bar-help-menu): Use view-external-packages instead.
2406
2407 2014-01-07 Bastien Guerry <bzg@gnu.org>
2408
2409 * emacs-lisp/package.el (package-delete): Also delete the package
2410 name from `package-alist', not its description only.
2411
2412 2014-01-07 Glenn Morris <rgm@gnu.org>
2413
2414 * help.el (view-external-packages):
2415 * menu-bar.el (menu-bar-help-extra-packages):
2416 Visit efaq.info rather than etc/MORE.STUFF.
2417
2418 2014-01-07 Juri Linkov <juri@jurta.org>
2419
2420 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2421 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2422
2423 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2424 that shadows RET. (Bug#16342)
2425
2426 2014-01-07 Chong Yidong <cyd@gnu.org>
2427
2428 * isearch.el (isearch-yank-char, isearch-yank-word)
2429 (isearch-yank-line): Doc fix.
2430
2431 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2434 * emacs-lisp/elint.el (elint-find-builtins):
2435 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2436 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2437 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2438 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2439 * apropos.el (apropos-safe-documentation):
2440 * subr.el (symbol-file): Remove redundant fboundp.
2441 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2442
2443 2014-01-06 Bastien Guerry <bzg@gnu.org>
2444
2445 * hl-line.el (global-hl-line-overlay): Make a local variable.
2446 (global-hl-line-overlays): New variable to store all overlays.
2447 (global-hl-line-mode): Don't delete overlays from the current
2448 buffer when `global-hl-line-sticky-flag' is non-nil.
2449 (global-hl-line-highlight): Add new overlays to
2450 `global-hl-line-overlays'.
2451 (global-hl-line-unhighlight-all): New function to delete all
2452 overlays when turning off `global-hl-line-mode'.
2453 This fixes Bug#16183.
2454
2455 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * subr.el (set-transient-map): Fix nested case and docstring.
2458
2459 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2460
2461 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2462 `Texinfo' entry.
2463
2464 2014-01-06 Daniel Colascione <dancol@dancol.org>
2465
2466 Fix defun navigation in vc log view.
2467
2468 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2469 like `beginning-of-defun'.
2470 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2471 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2472 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2473 (log-view-extract-comment): Call `log-view-current-entry' directly
2474 instead of relying on broken `log-view-beginning-of-defun' behavior.
2475
2476 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2477
2478 Spelling fixes.
2479 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2480 * emacs-lisp/debug.el (cancel-debug-on-entry):
2481 * epg.el (epg-error-to-string):
2482 * files.el (recover-file):
2483 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2484 * mail/emacsbug.el (report-emacs-bug-hook):
2485 * mail/sendmail.el (mail-recover):
2486 * ses.el (ses-yank-resize):
2487 * term/ns-win.el (ns-print-buffer):
2488 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2489 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2490 All uses changed.
2491 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2492
2493 2014-01-06 Leo Liu <sdl.web@gmail.com>
2494
2495 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2496 to avoid shadowing global key. (Bug#16354)
2497
2498 2014-01-06 Daniel Colascione <dancol@dancol.org>
2499
2500 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2501 rst-mode.
2502
2503 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2504
2505 * window.el (balance-windows): Add mising t to fix Bug#16351.
2506
2507 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2508
2509 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2510 (bug#16285).
2511 (shr-insert): If we have a word that's longer than `shr-width',
2512 break after it anyway. Otherwise we'll do no breaking once we get
2513 such a long word.
2514
2515 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2516
2517 * net/eww.el (eww): Support single/double quote for search.
2518 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2519 (eww-history-quit): Delete and use quit-window.
2520 (eww-history-kill): Delete, because it doesn't work well and
2521 not necessary.
2522 (eww-history-mode-map): Delete some keys and add easy-menu.
2523
2524 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2525
2526 Fix misspelling of 'chinese' in rx (Bug#16237).
2527 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2528 chinese-two-byte.
2529
2530 Change subword regexps back to vars (Bug#16296).
2531 * progmodes/subword.el (subword-forward-regexp)
2532 (subword-backward-regexp): Change these back to variables.
2533
2534 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2537 syntax-begin-function (bug#16247).
2538
2539 2014-01-03 Chong Yidong <cyd@gnu.org>
2540
2541 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2542 (advice--docstring): Delete variable.
2543 (advice--make-1): Leave the docstring empty.
2544 (advice-add): Use function-documentation for advised docstring.
2545
2546 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2547 Ignore function-documentation property when getting documentation.
2548 (ad-activate-advised-definition): Use function-documentation
2549 generate the docstring.
2550 (ad-make-advised-definition): Don't call
2551 ad-make-advised-definition-docstring.
2552 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2553 Delete functions.
2554
2555 * progmodes/sql.el (sql-help): Use function-documentation instead
2556 of dynamic-docstring-function property. No need to autoload now.
2557 (sql--help-docstring): New variable.
2558 (sql--make-help-docstring): Use it.
2559
2560 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * ielm.el (ielm-tab): Retarget.
2563 (ielm-map): Use ielm-tab for tab.
2564 (ielm-complete-filename): Use comint-filename-completion.
2565 (ielm-complete-symbol): Remove.
2566 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2567 remove ielm-tab from completion-at-point-functions (bug#16224).
2568
2569 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2570 Beware signals raised by predicates (bug#16201).
2571
2572 2014-01-02 Richard Stallman <rms@gnu.org>
2573
2574 * dired-aux.el (dired-do-print): Handle printer-name.
2575
2576 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2577 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2578 (rmail-epa-decrypt): Turn off mime processing.
2579
2580 * mail/rmail.el (rmail-make-in-reply-to-field):
2581 Add parens in message-id.
2582
2583 * mail/rmail.el (rmail-get-coding-function): Variable.
2584 (rmail-get-coding-system): Use it.
2585
2586 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2587
2588 * international/mule-conf.el: Unify the charset indian-is13194.
2589 (indian-is13194): Specify unify-map.
2590
2591 2013-12-31 Leo Liu <sdl.web@gmail.com>
2592
2593 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2594
2595 2013-12-30 Daniel Colascione <dancol@dancol.org>
2596
2597 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2598 of printing a useless when we resume from sleep.
2599
2600 * progmodes/sh-script.el
2601 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2602 in indentation code. (Bug#16233)
2603
2604 2013-12-28 João Távora <joaotavora@gmail.com>
2605
2606 * elec-pair.el (electric-pair-post-self-insert-function):
2607 Don't open extra newlines at beginning of buffer. (Bug#16272)
2608
2609 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2610
2611 * frame.el (window-system-for-display): Don't allow to create a
2612 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2613
2614 2013-12-28 Glenn Morris <rgm@gnu.org>
2615
2616 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2617 Update callers.
2618
2619 * apropos.el (apropos-match-face):
2620 * calculator.el (calculator-displayer):
2621 * dabbrev.el (dabbrev-search-these-buffers-only):
2622 * face-remap.el (buffer-face-mode-face):
2623 * simple.el (yank-handled-properties):
2624 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2625 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2626 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2627 (hashcash-double-spend-database):
2628 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2629 (ruby-deep-indent-paren-style):
2630 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2631 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2632 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2633 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2634 Specify custom types.
2635
2636 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2637 * bookmark.el (bookmark-bmenu-use-header-line):
2638 * doc-view.el (doc-view-scale-internally):
2639 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2640 * register.el (register-preview-delay):
2641 * net/shr.el (shr-bullet):
2642 * progmodes/cfengine.el (cfengine-cf-promises)
2643 (cfengine-parameters-indent):
2644 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2645 * textmodes/reftex-vars.el (reftex-label-regexps):
2646 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2647
2648 * net/tls.el (tls-certtool-program): Fix default value.
2649
2650 * desktop.el (desktop-restore-in-current-display):
2651 * newcomment.el (comment-empty-lines):
2652 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2653 (idlwave-pad-keyword):
2654 * progmodes/tcl.el (tcl-tab-always-indent):
2655 * textmodes/reftex-vars.el (reftex-index-default-tag):
2656 * elec-pair.el (electric-pair-skip-whitespace):
2657 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2658
2659 * emacs-lisp/authors.el (authors-ignored-files)
2660 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2661
2662 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2663
2664 * shell.el (shell-dynamic-complete-command): Doc fix.
2665 (shell--command-completion-data): Shell completion now matches
2666 executable filenames from the current buffer's directory, on
2667 systems in which this behavior is the default (windows-nt, ms-dos).
2668
2669 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2670
2671 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2672
2673 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2674
2675 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2676 (bug#16251).
2677
2678 * electric.el: Move all electric-pair-* to elec-pair.el.
2679 * elec-pair.el: New file, split from electric.el.
2680
2681 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2682
2683 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2684 indentation level is larger than the width, because that will
2685 infloop.
2686 (shr-insert): Fill repeatedly long texts, so that Japanese is
2687 formatted correctly (bug#16263).
2688 (shr-find-fill-point): Off by one error in comparison with the
2689 indentation.
2690
2691 2013-12-26 João Távora <joaotavora@gmail.com>
2692
2693 * electric.el (electric-pair-mode): More flexible engine for skip-
2694 and inhibit predicates, new options for pairing-related functionality.
2695 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2696 if that keeps or improves their balance in buffers.
2697 (electric-pair-delete-adjacent-pairs): Delete the pair when
2698 backspacing over adjacent matched delimiters.
2699 (electric-pair-open-extra-newline): Open extra newline when
2700 inserting newlines between adjacent matched delimiters.
2701 (electric--sort-post-self-insertion-hook):
2702 Sort post-self-insert-hook according to priority values when
2703 minor-modes are activated.
2704 * simple.el (newline-and-indent): Call newline with interactive
2705 set to t.
2706 (blink-paren-post-self-insert-function): Set priority to 100.
2707 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2708 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2709 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2710 electric-pair-open-newline-between-pairs to nil.
2711
2712 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2713
2714 * progmodes/python.el: Use lexical-binding.
2715 (python-nav-beginning-of-defun): Stop searching ASAP.
2716
2717 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2718
2719 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2720 Fix interactive spec. Doc fix. (Bug#15754)
2721
2722 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2723
2724 * emacs-lisp/byte-run.el (eval-when-compile):
2725 * progmodes/cc-defs.el (cc-eval-when-compile):
2726 Fix edebug spec (bug#16184).
2727
2728 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2729
2730 * net/shr.el (shr-visit-file): Remove debugging function.
2731 (shr-insert): Don't infloop if we can't find a good place to break
2732 the line (bug#16256).
2733
2734 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2735
2736 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2737 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2738 python-nav-lisp-forward-sexp-safe.
2739 (python-nav--forward-sexp): New argument SAFE allows switching
2740 forward sexp movement behavior for parens.
2741 (python-nav-forward-sexp): Throw errors on unterminated parens
2742 (Bug#16191).
2743 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2744 (python-nav-backward-sexp-safe): New functions.
2745 (python-shell-buffer-substring):
2746 Use `python-nav-forward-sexp-safe'.
2747
2748 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2749
2750 * net/shr.el (shr-find-fill-point): Don't break lines before a
2751 quotation mark.
2752 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2753 (shr-find-fill-point): Remove the special checks for the quotation
2754 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2755
2756 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2757
2758 * net/eww.el (eww-form-textarea): Use a different face for
2759 textareas than text input since they have different keymaps
2760 (bug#16142).
2761
2762 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2763
2764 * progmodes/python.el (python-nav-beginning-of-statement):
2765 Speed up (Bug#15295).
2766
2767 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2768
2769 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2770 the window configuration.
2771
2772 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2773
2774 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2775 we run on MS-Windows or MS-DOS.
2776
2777 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2778
2779 * window.el (balance-windows-area): Call window-size instead of
2780 window-height and window-width. Bug#16241.
2781
2782 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2783
2784 * net/eww.el (eww-bookmark-quit): Remove.
2785 (eww-bookmark-browse): Restore the window configuration when you
2786 choose a bookmark (bug#16144).
2787
2788 2013-12-24 Daniel Colascione <dancol@dancol.org>
2789
2790 * icomplete.el: Remove redundant :group arguments to `defcustom'
2791 throughout.
2792 (icomplete-show-matches-on-no-input): New customizable variable.
2793 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2794 we have something to show.
2795 (icomplete-exhibit): Compute completions even if we have no user input.
2796
2797 2013-12-23 Daniel Colascione <dancol@dancol.org>
2798
2799 * icomplete.el: Move `provide' to end of file.
2800
2801 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2802
2803 * net/gnutls.el (gnutls-verify-error): Add version tag.
2804
2805 2013-12-23 Chong Yidong <cyd@gnu.org>
2806
2807 * subr.el (set-transient-map): Rename from
2808 set-temporary-overlay-map. Doc fix.
2809
2810 * face-remap.el (text-scale-adjust):
2811 * indent.el (indent-rigidly):
2812 * kmacro.el (kmacro-call-macro):
2813 * minibuffer.el (minibuffer-force-complete):
2814 * repeat.el (repeat):
2815 * simple.el (universal-argument--mode):
2816 * calendar/todo-mode.el (todo-insert-item--next-param):
2817 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2818
2819 * indent.el (indent-rigidly): Use substitute-command-keys.
2820
2821 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2822
2823 * net/eww.el (eww-tag-select): Add text-property to jump to next
2824 select field.
2825 (eww): Add non-supported ftp error.
2826
2827 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2828
2829 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2830 comments. Handle electric indent after typing `?' and `!'.
2831
2832 2013-12-22 Chong Yidong <cyd@gnu.org>
2833
2834 * faces.el (face-spec-recalc): If the theme specs are not
2835 applicable to a frame, fall back on the defface spec.
2836 This prevents themes from obliterating faces on low-color terminals.
2837
2838 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2839
2840 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2841 after `{'. We need it after block openers, and it doesn't seem
2842 to hurt after hash openers.
2843
2844 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2845
2846 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2847 extracted from `ruby-smie-rules'.
2848 (ruby--electric-indent-chars): New variable.
2849 (ruby--electric-indent-p): New function.
2850 (ruby-mode): Use `electric-indent-functions' instead of
2851 `electric-indent-chars'.
2852
2853 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2854
2855 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2856 docstring.
2857 (ruby-smie-rules): Indent plus one level after `=>'.
2858
2859 2013-12-21 Richard Stallman <rms@gnu.org>
2860
2861 * simple.el (newline): Doc fix.
2862
2863 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2864
2865 * net/eww.el (eww-list-histories, eww-list-histories)
2866 (eww-history-browse, eww-history-quit, eww-history-kill)
2867 (eww-history-mode-map, eww-history-mode): New command and
2868 functions to list browser histories.
2869 (eww-form-text): Support text form with disabled
2870 and readonly attributes.
2871 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2872
2873 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2874
2875 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2876 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2877 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2878 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2879 Use `user-error'.
2880 (eww-bookmark-mode-map): Add menu.
2881 (eww-render, eww-mode): Use `setq-local'.
2882 (eww-tool-bar-map): New variable.
2883 (eww-mode): Set `tool-bar-map'.
2884 (eww-view-source): Check for `html-mode' with `fboundp'.
2885
2886 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887
2888 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2889 elements with text inside. Also remove debugging.
2890
2891 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2892
2893 * cus-start.el (all): Add ns-use-srgb-colorspace.
2894
2895 2013-12-21 Chong Yidong <cyd@gnu.org>
2896
2897 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2898 undefined. Thus, theme settings for undefined faces do not take
2899 effect until the faces are defined with defface, the same as with
2900 theme variables.
2901
2902 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2903 (face-spec-reset-face): Don't assign extra properties in temacs.
2904 (face-spec-recalc): Apply X resources too.
2905
2906 2013-12-21 Chong Yidong <cyd@gnu.org>
2907
2908 * faces.el (face-spec-set):
2909 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2910 * custom.el (defface): Doc fixes (Bug#16203).
2911
2912 * indent.el (indent-rigidly-map): Add docstring, and move commands
2913 into named functions.
2914 (indent-rigidly-left, indent-rigidly-right)
2915 (indent-rigidly-left-to-tab-stop)
2916 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2917 indentation direction based on bidi direction, and accumulate
2918 sequential commands in a single undo boundary.
2919 (indent-rigidly--pop-undo): New utility function.
2920
2921 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2922
2923 * faces.el (read-face-name): Require crm.el when using crm-separator.
2924
2925 2013-12-20 Daniel Colascione <dancol@dancol.org>
2926
2927 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2928 so that we don't reflow comments into the shebang line.
2929
2930 2013-12-20 Juri Linkov <juri@jurta.org>
2931
2932 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2933 a position when `dired-directory' is non-nil. Check integer
2934 positions with `integerp'.
2935 (toggle-save-place, save-places-to-alist): Add check for
2936 `dired-directory'.
2937 (save-place-find-file-hook): Check integer positions with
2938 `integerp'.
2939 (save-place-dired-hook): Use `dired-goto-file' when
2940 `dired-filename' is found in the assoc list. Check integer
2941 positions with `integerp'.
2942 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2943
2944 * dired.el (dired-initial-position-hook): Rename back from
2945 `dired-initial-point-hook'.
2946 (dired-initial-position): Rename `dired-initial-point-hook' to
2947 `dired-initial-position-hook'.
2948 (dired-file-name-at-point): Doc fix. (Bug#15329)
2949
2950 2013-12-20 Juri Linkov <juri@jurta.org>
2951
2952 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2953 (read-regexp-suggestions): New function.
2954 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2955 Use `read-regexp-suggestions'. Add non-empty default to history
2956 for empty input.
2957 (occur-read-regexp-defaults-function): Remove function.
2958 (occur-read-primary-args): Use `regexp-history-last' instead of
2959 `occur-read-regexp-defaults-function'.
2960
2961 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2962 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2963 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2964 `hi-lock-read-regexp-defaults-function'. Doc fix.
2965 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2966 with `find-tag-default-as-symbol-regexp'. Doc fix.
2967 (hi-lock-read-regexp-defaults): Remove function.
2968 (hi-lock-regexp-okay): Add check for null.
2969
2970 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2971 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2972
2973 * subr.el (find-tag-default-as-symbol-regexp): New function.
2974 (find-tag-default-as-regexp): Move symbol regexp formatting to
2975 `find-tag-default-as-symbol-regexp'.
2976
2977 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2978
2979 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2980 (Bug#14179)
2981
2982 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2983
2984 * calendar/todo-mode.el: New implementation of item insertion
2985 commands and key bindings.
2986 (todo-key-prompt): New face.
2987 (todo-insert-item): New command.
2988 (todo-insert-item--parameters): New defconst, replacing defvar
2989 todo-insertion-commands-args-genlist.
2990 (todo-insert-item--param-key-alist): New defconst, replacing
2991 defvar todo-insertion-commands-arg-key-list.
2992 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2993 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2994 (todo-insert-item--next-param): New functions.
2995 (todo-insert-item--args, todo-insert-item--argleft)
2996 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2997 New variables.
2998 (todo-key-bindings-t): Change binding of "i" from
2999 todo-insertion-map to todo-insert-item.
3000 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3001 (todo-insertion-command-name, todo-insertion-commands-names)
3002 (todo-define-insertion-command, todo-insertion-commands)
3003 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3004
3005 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3006
3007 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3008 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3009 eval-when-compile.
3010 (todo-move-category): Allow choosing a non-existing todo file to
3011 move the category to, and create that file.
3012 (todo-default-priority): New user option.
3013 (todo-set-item-priority): Use it.
3014 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3015 (desktop-restore-file-buffer): Declare.
3016 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3017 (todo-modes-set-2): Locally set desktop-save-buffer to
3018 todo-desktop-save-buffer.
3019 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3020 (auto-mode-alist): Add autoload cookie.
3021
3022 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3023
3024 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3025 helpers.el was a poor choice of name.
3026 (string-remove-prefix): New function.
3027 (string-remove-suffix): New function.
3028
3029 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3030
3031 Fix assignment for new window total sizes.
3032 * window.el (window--pixel-to-size): Remove function.
3033 (window--pixel-to-total-1, window--pixel-to-total):
3034 Fix calculation of new total sizes.
3035
3036 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3037
3038 * comint.el (comint-output-filter): Fix rear-nonsticky property
3039 placement (Bug#16010).
3040
3041 2013-12-20 Chong Yidong <cyd@gnu.org>
3042
3043 * faces.el (read-color): Minor fix for completion function.
3044
3045 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3046
3047 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3048 New option. (Bug#16182)
3049 (ruby-smie--indent-to-stmt-p): Use it.
3050 (ruby-smie-rules): Revert the logic in the handling of `when'.
3051 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3052 (ruby-deep-arglist, ruby-deep-indent-paren)
3053 (ruby-deep-indent-paren-style): Update docstrings to note that the
3054 vars don't have any effect with SMIE.
3055
3056 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3057
3058 * calc/calc.el (calc-enter, calc-pop): Use the variable
3059 `calc-context-sensitive-enter'.
3060
3061 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3062
3063 * net/shr.el (shr-insert): Protect against infloops in degenerate
3064 tables.
3065
3066 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3067
3068 * progmodes/octave.el (octave): Add link to manual and octave
3069 homepage.
3070 (octave-mode-menu): Link to octave-mode manual.
3071
3072 2013-12-20 Leo Liu <sdl.web@gmail.com>
3073
3074 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3075 insertion using skeleton-end-newline. (Bug#16138)
3076
3077 2013-12-20 Juri Linkov <juri@jurta.org>
3078
3079 * replace.el (occur-engine): Use `add-face-text-property'
3080 to add the face property to matches and titles. (Bug#14645)
3081
3082 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3083 the palette of other hi-lock colors.
3084 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3085
3086 2013-12-19 Juri Linkov <juri@jurta.org>
3087
3088 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3089 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3090 (minibuffer-history-symbol): Move variable declaration closer to
3091 its usage.
3092
3093 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3094 (Bug#14785)
3095
3096 2013-12-19 Juri Linkov <juri@jurta.org>
3097
3098 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3099 New function.
3100 (log-edit-hook): Add it to :options. (Bug#16170)
3101
3102 2013-12-19 Juri Linkov <juri@jurta.org>
3103
3104 * simple.el (eval-expression-print-format): Don't check for
3105 command names and the last command. Always display additional
3106 formats of the integer result in the echo area, and insert them
3107 to the current buffer only with a zero prefix arg.
3108 Display character when char-displayable-p is non-nil.
3109 (eval-expression): With a zero prefix arg, set `print-length' and
3110 `print-level' to nil, and insert the integer values from
3111 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3112
3113 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3114 `eval-last-sexp-arg-internal'. Doc fix.
3115 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3116 `eval-last-sexp-print-value'. Doc fix.
3117 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3118 Set `print-length' and `print-level' to nil when arg is zero.
3119 (eval-last-sexp): Doc fix.
3120 (eval-defun-2): Print the integer values from
3121 `eval-expression-print-format' at the end.
3122
3123 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3124 values from `eval-expression-print-format' at the end.
3125
3126 * ielm.el (ielm-eval-input): Print the integer
3127 values from `eval-expression-print-format' at the end.
3128
3129 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3130
3131 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3132 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3133
3134 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3135
3136 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3137 (hl-line-highlight, global-hl-line-highlight): Use it.
3138 (hl-line-overlay): Use defvar-local.
3139
3140 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3141
3142 * term/ns-win.el: Require dnd.
3143 (global-map): Remove drag items.
3144 (ns-insert-text, ns-set-foreground-at-mouse)
3145 (ns-set-background-at-mouse):
3146 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3147 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3148 New functions.
3149
3150 2013-12-19 Glenn Morris <rgm@gnu.org>
3151
3152 * emacs-lisp/ert.el (ert-select-tests):
3153 Fix string/symbol mixup. (Bug#16121)
3154
3155 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3156
3157 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3158 keywords to their parent.
3159
3160 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3161
3162 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3163 first arg to be a string (fixed dead code), or an operator symbol.
3164 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3165 operator symbols.
3166 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3167 did nothing. Don't respond to `(:after ".")', it will be called
3168 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3169 change anything. Only return indentation for binary operators
3170 when they are hanging. De-dent opening paren when its parent is
3171 `.', otherwise it looks bad when the dot is not at bol or eol
3172 (bug#16182).
3173
3174 2013-12-19 Juri Linkov <juri@jurta.org>
3175
3176 * replace.el (query-replace-read-args): Split a non-negative arg
3177 and a negative arg into separate elements.
3178 (query-replace, query-replace-regexp, replace-string)
3179 (replace-regexp): Add arg `backward'. Doc fix.
3180 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3181 move point to the beginning of the match.
3182 (replace-search, replace-highlight): Use new arg `backward'
3183 to set the value of `isearch-forward'.
3184 (perform-replace): Add arg `backward' and use it to perform
3185 replacement backward. (Bug#14979)
3186
3187 * isearch.el (isearch-query-replace): Use a negative prefix arg
3188 to call `perform-replace' with a non-nil arg `backward'.
3189
3190 2013-12-18 Juri Linkov <juri@jurta.org>
3191
3192 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3193 to the default list. Move `log-edit-show-files' to the end.
3194 Add more available functions to options.
3195 (log-edit): Move default specific settings to
3196 `log-edit-insert-message-template'. Don't move point.
3197 (log-edit-insert-message-template): New function.
3198 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3199 (Bug#16170)
3200
3201 2013-12-18 Juri Linkov <juri@jurta.org>
3202
3203 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3204 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3205
3206 2013-12-18 Leo Liu <sdl.web@gmail.com>
3207
3208 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3209 (Bug#16186)
3210
3211 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3212
3213 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3214 formats for displaying file sizes when the -s switch is given.
3215 Instead, compute a separate format for displaying the size in
3216 blocks, which is displayed in addition to the "regular" size.
3217 When -h is given in addition to -s, produce size in blocks in
3218 human-readable form as well. (Bug#16179)
3219
3220 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3221
3222 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3223 Reference tables with ~\ref{...} instead of only \ref{...}.
3224
3225 2013-12-18 Chong Yidong <cyd@gnu.org>
3226
3227 * cus-edit.el (custom-magic-alist): Fix "themed" description
3228 (Bug#14348).
3229
3230 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3231 is non-nil, do not create a new entry in the symbol's theme-value
3232 or theme-face property; update theme-settings only (Bug#14664).
3233 (custom-available-themes): Doc fix.
3234
3235 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3236 (Bug#15674).
3237
3238 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3239
3240 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3241
3242 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3243 (Bug#13914).
3244
3245 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3246
3247 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3248
3249 2013-12-18 Glenn Morris <rgm@gnu.org>
3250
3251 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3252 * cus-start.el (load-prefer-newer): New option.
3253
3254 2013-12-18 Le Wang <l26wang@gmail.com>
3255
3256 * comint.el (comint-previous-matching-input-from-input):
3257 Retain point (Bug#13404).
3258
3259 2013-12-18 Chong Yidong <cyd@gnu.org>
3260
3261 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3262
3263 2013-12-18 Glenn Morris <rgm@gnu.org>
3264
3265 * mail/emacsbug.el (report-emacs-bug):
3266 Only mention enable-multibyte-characters if non-standard.
3267
3268 2013-12-17 Juri Linkov <juri@jurta.org>
3269
3270 * arc-mode.el (archive-extract-by-file): Check if directory exists
3271 before deletion to not show irrelevant errors if it doesn't exist.
3272
3273 2013-12-17 Juri Linkov <juri@jurta.org>
3274
3275 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3276 (Bug#14751)
3277
3278 * net/eww.el (browse-web): Add alias to `eww'.
3279 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3280 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3281
3282 * net/browse-url.el (browse-url-browser-function): Move `eww'
3283 closer to similar functions.
3284
3285 * startup.el (fancy-startup-screen, fancy-about-screen):
3286 Set browse-url-browser-function to eww-browse-url locally.
3287 (Bug#14751)
3288
3289 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * window.el (window--pixel-to-total): Remove unused `mini' var.
3292 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3293 (split-window): Remove unused `new' var.
3294 (window--display-buffer): Remove unused `frame' and `delta' vars.
3295 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3296 and display-width'.
3297
3298 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3299
3300 * dired.el (dired-mark-pop-up):
3301 * register.el (register-preview): Don't bind
3302 split-height-threshold here since it's now done in
3303 display-buffer-below-selected.
3304
3305 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3306
3307 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3308 xterm-rgb-convert-to-16bit.
3309 (rxvt-register-default-colors): Standardize with
3310 xterm-register-default-colors (Bug#14078).
3311
3312 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3313
3314 * simple.el (kill-region): Pass mark first, then point, so that
3315 kill-append works right (Bug#12819).
3316 (copy-region-as-kill, kill-ring-save): Likewise.
3317
3318 2013-12-17 Leo Liu <sdl.web@gmail.com>
3319
3320 * net/rcirc.el (rcirc-add-face):
3321 * eshell/em-prompt.el (eshell-emit-prompt):
3322 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3323 (Bug#16167)
3324
3325 2013-12-17 Chong Yidong <cyd@gnu.org>
3326
3327 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3328 Suggested by Xue Fuqiao.
3329
3330 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3331
3332 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3333
3334 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * net/shr.el (shr-insert-document): Remove unused var
3337 `shr-preliminary-table-render'.
3338 (shr-rescale-image): Remove unused arg `force'.
3339 (shr-put-image): Update calls accordingly.
3340 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3341
3342 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3343
3344 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3345 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3346 :close-all, to see which indentation method to use (Bug#16116).
3347 (smie-rules-function): Document the method :close-all.
3348
3349 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3350
3351 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3352
3353 * net/eww.el (eww-display-html): If we can't find the anchor we're
3354 looking for, then go to point-min.
3355
3356 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3357
3358 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3359 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3360 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3361 Expand dir too, in case it's relative.
3362
3363 2013-12-16 Juri Linkov <juri@jurta.org>
3364
3365 * desktop.el (desktop-auto-save-timeout): Change default to
3366 `auto-save-timeout'. Doc fix.
3367 (desktop-save): Skip the timestamp in desktop-saved-frameset
3368 when checking for auto-save changes.
3369 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3370 `desktop-auto-save' is called repeatedly by the idle timer.
3371 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3372 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3373 (Bug#15331)
3374
3375 2013-12-16 Juri Linkov <juri@jurta.org>
3376
3377 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3378 (Bug#16035)
3379 (isearch-pre-command-hook): Check `this-command' for symbolp.
3380
3381 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3384
3385 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3386
3387 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3388 (cfengine3--current-function): Bring in the current-function
3389 functionality from `cfengine3--current-word'.
3390 (cfengine3-completion-function): Bring in the
3391 bounds-of-current-word functionality from
3392 `cfengine3--current-word'.
3393
3394 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3395
3396 * window.el (display-buffer-below-selected):
3397 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3398
3399 2013-12-16 Leo Liu <sdl.web@gmail.com>
3400
3401 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3402 Remove NOMSG arg and all uses changed.
3403
3404 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3407 (cua--deactivate-rectangle): Don't deactivate the mark.
3408 (cua-set-rectangle-mark): Don't set mark-active since
3409 cua--activate-rectangle already does it for us.
3410 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3411 non-rectangular region.
3412
3413 * emulation/cua-base.el (cua-repeat-replace-region):
3414 Use with-current-buffer.
3415
3416 * net/gnutls.el: Use cl-lib.
3417 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3418
3419 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3420
3421 * emacs-lisp/package.el (package-built-in-p): Support both
3422 built-in and the package.el converted package descriptions.
3423 (package-show-package-list): Allow keywords.
3424 (package-keyword-button-action): Use it instead of
3425 `finder-list-matches'.
3426 (package-menu-filter-interactive): Interactive filtering (by
3427 keyword) function.
3428 (package-menu--generate): Support keywords and change keymappings
3429 and headers when they are given.
3430 (package--has-keyword-p): Helper function.
3431 (package-menu--refresh): Use it.
3432 (package--mapc): Helper function.
3433 (package-all-keywords): Use it.
3434 (package-menu-mode-map): Set up menu items and keybindings to
3435 provide a filtering UI.
3436
3437 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3438
3439 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3440 the behavior when a certificate fails validation. Defaults to
3441 old behavior: never abort, just warn.
3442 (gnutls-negotiate): Use it.
3443
3444 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3445
3446 * window.el (display-buffer-below-selected): Never split window
3447 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3448
3449 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3450
3451 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3452 (package-buffer-info): Use it (bug#15108).
3453
3454 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * icomplete.el (icomplete-completions): Make sure the prefix is already
3457 displayed elsewhere before hiding it (bug#16219).
3458
3459 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3460
3461 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3462 open-paren tokens when preceded by a open-paren, too.
3463 (ruby-smie-rules): Handle virtual indentation after open-paren
3464 tokens specially. If there is code between it and eol, return the
3465 column where is starts (Bug#16118).
3466
3467 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3468
3469 * progmodes/cfengine.el: Fix `add-hook' doc.
3470 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3471 (cfengine3--current-word): Fix parameters.
3472 (cfengine3-make-syntax-cache): Simplify further.
3473 (cfengine3-completion-function, cfengine3--current-function):
3474 Use `assq' for symbols.
3475 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3476
3477 2013-12-13 Glenn Morris <rgm@gnu.org>
3478
3479 * loadup.el (load-path): Warn if site-load or site-init changes it.
3480 No more need to reset it when bootstrapping.
3481
3482 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3483
3484 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3485 locations for cf-promises.
3486 (cfengine-mode-syntax-functions-regex): New caching variable.
3487 (cfengine3-fallback-syntax): Fallback syntax for cases where
3488 cf-promises doesn't run.
3489 (cfengine3--current-word): Reimplement using
3490 `cfengine-mode-syntax-functions-regex'.
3491 (cfengine3-completion-function, cfengine3--current-function):
3492 Use `cfengine3-make-syntax-cache' directly.
3493 (cfengine3-clear-syntax-cache): New function.
3494 (cfengine3-make-syntax-cache): Simplify and create
3495 `cfengine-mode-syntax-functions-regex' on demand.
3496 (cfengine3-format-function-docstring): Don't call
3497 `cfengine3-make-syntax-cache' explicitly.
3498
3499 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3500
3501 Fix windmove-find-other-window broken after pixelwise resizing
3502 (Bug#16017).
3503 * windmove.el (windmove-other-window-loc): Revert change from
3504 2013-12-04.
3505 (windmove-find-other-window): Call window-in-direction.
3506 * window.el (window-in-direction): New arguments SIGN, WRAP and
3507 MINI to emulate original windmove-find-other-window behavior.
3508
3509 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3510
3511 * simple.el (blink-matching--overlay): New variable.
3512 (blink-matching-open): Instead of moving point, highlight the
3513 matching paren with an overlay
3514 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3515
3516 * faces.el (paren-showing-faces, show-paren-match)
3517 (show-paren-mismatch): Move from paren.el.
3518
3519 2013-12-13 Leo Liu <sdl.web@gmail.com>
3520
3521 * indent.el (indent-region): Disable progress reporter in
3522 minibuffer. (Bug#16108)
3523
3524 * bindings.el (visual-order-cursor-movement): Fix version.
3525
3526 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3527
3528 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3529 Also match after beginning of line.
3530 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3531 files. Thanks to Russell Sim. (Bug#15378)
3532
3533 2013-12-13 Juri Linkov <juri@jurta.org>
3534
3535 * simple.el <Keypad support>: Remove key bindings duplicated
3536 with bindings.el. (Bug#14397)
3537
3538 2013-12-13 Juri Linkov <juri@jurta.org>
3539
3540 * comint.el (comint-mode-map): Replace `delete-char' with
3541 `delete-forward-char'. (Bug#16109)
3542
3543 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3544
3545 * progmodes/python.el (python-indent-calculate-indentation):
3546 Fix de-denters cornercase. (Bug#15731)
3547
3548 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3551 (advice--make): Pay attention to `depth'.
3552 (advice--make-1): Don't autoload commands eagerly.
3553 * emacs-lisp/elp.el (elp-instrument-function):
3554 * emacs-lisp/trace.el (trace-function-internal):
3555 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3556
3557 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3558
3559 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3560
3561 * term/w32-win.el (w32-handle-dropped-file):
3562 * startup.el (normal-top-level):
3563 * net/browse-url.el (browse-url-file-url):
3564 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3565 decode file names using 'utf-8' rather than
3566 file-name-coding-system.
3567
3568 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3569
3570 * progmodes/python.el (python-indent-context)
3571 (python-indent-calculate-indentation): Fix auto-identation
3572 behavior for comment blocks. (Bug#15916)
3573
3574 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3575
3576 * progmodes/python.el (python-indent-calculate-indentation):
3577 When determining indentation, don't treat "return", "pass", etc., as
3578 operators when they are just string constituents. (Bug#15812)
3579
3580 2013-12-12 Juri Linkov <juri@jurta.org>
3581
3582 * uniquify.el (uniquify-buffer-name-style): Change default to
3583 `post-forward-angle-brackets'.
3584
3585 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3586 `uniquify'. Change default to `post-forward-angle-brackets'.
3587
3588 2013-12-11 Glenn Morris <rgm@gnu.org>
3589
3590 * emacs-lisp/package.el (finder-list-matches):
3591 Autoload rather than falsely declaring.
3592
3593 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3594
3595 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3596 (eww-mode-map): Use them.
3597
3598 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3599
3600 * window.el (display-buffer-in-side-window): Fix doc-string
3601 (Bug#16115).
3602
3603 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3604
3605 * vc/vc-git.el: Silence byte-compiler warnings.
3606 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3607 (log-edit-set-header): Declare.
3608
3609 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3610
3611 * Makefile.in (custom-deps, finder-data): Run output file names
3612 through unmsys--file-name. (Bug#16099)
3613
3614 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3615
3616 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3617 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3618
3619 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3620 instead of deleting the selection "by hand" (bug#16098).
3621 Rely on insert-for-yank to yank rectangles.
3622 (cua-highlight-region-shift-only): Mark obsolete.
3623 (cua-mode): Don't enable/disable transient-mark-mode,
3624 shift-select-mode (cua-mode works both with and without them), and
3625 pc-selection-mode (obsolete).
3626 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3627 (cua--deactivate-rectangle): Deactivate it.
3628
3629 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3630 (delete-selection-helper): Make sure yank starts at the top of the
3631 deleted region.
3632 (minibuffer-keyboard-quit): Use region-active-p.
3633
3634 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3635
3636 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3637 to `delete' (bug#16109).
3638
3639 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3640
3641 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3642 info manual and show keybindings and set `:group' keyword.
3643
3644 2013-12-11 Juri Linkov <juri@jurta.org>
3645
3646 * delsel.el (delete-active-region): Let-bind `this-command'
3647 to prevent `kill-region' from changing its original value.
3648 (delete-selection-helper): Handle `overwrite-mode' for the type
3649 `kill' exactly the same way as for the type `t'.
3650 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3651 Support more commands. (Bug#13312)
3652
3653 2013-12-11 Juri Linkov <juri@jurta.org>
3654
3655 * bindings.el: Map kp keys to non-kp keys systematically
3656 with basic modifiers control, meta and shift. (Bug#14397)
3657
3658 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3659
3660 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3661 "Close browser" menu items. Fix wrong function of "List
3662 bookmarks".
3663
3664 2013-12-11 Juri Linkov <juri@jurta.org>
3665
3666 * misearch.el (multi-isearch-buffers): Set the value of
3667 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3668 arg of isearch-forward to t.
3669 (multi-isearch-buffers-regexp): Set the value of
3670 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3671 arg of isearch-forward-regexp to t.
3672 (multi-isearch-files): Set the value of
3673 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3674 arg of isearch-forward to t.
3675 (multi-isearch-files-regexp): Set the value of
3676 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3677 arg of isearch-forward-regexp to t. (Bug#16035)
3678
3679 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3680 arg of isearch-forward to t.
3681 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3682 arg of isearch-forward-regexp to t.
3683 (dired-isearch-filter-filenames): Remove unnecessary check for
3684 `dired-isearch-filenames'.
3685
3686 * comint.el (comint-history-isearch-backward):
3687 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3688 (comint-history-isearch-backward-regexp):
3689 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3690
3691 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3692
3693 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3694 unmsys--file-name. (Bug#16099)
3695
3696 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3697
3698 * emacs-lisp/package.el (package-keyword-button-action):
3699 Remove finder.el require dependency.
3700
3701 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3702
3703 * emacs-lisp/package.el: Require finder.el.
3704 (describe-package-1): Add keyword buttons.
3705 (package-make-button): New convenience function.
3706 (package-keyword-button-action): Keyword button action using
3707 `finder-list-matches'.
3708
3709 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3710
3711 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3712 last commit.
3713
3714 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3715
3716 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3717 symlinked files.
3718
3719 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3720
3721 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3722 after the end of a percent literal.
3723
3724 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3725
3726 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3727 Handle caret-delimited strings (Bug#16079).
3728
3729 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3730
3731 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3732 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3733 `ruby-parse-partial' (Bug#16078).
3734
3735 2013-12-09 Leo Liu <sdl.web@gmail.com>
3736
3737 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3738
3739 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3740
3741 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3742 (js-switch-indent-offset): New option.
3743 (js--proper-indentation): Use it. And handle the case when
3744 "default" is actually a key in an object literal.
3745 (js--same-line): New function.
3746 (js--multi-line-declaration-indentation): Use it.
3747 (js--indent-in-array-comp, js--array-comp-indentation):
3748 New functions.
3749 (js--proper-indentation): Use them, to handle array comprehension
3750 continuations.
3751
3752 2013-12-08 Leo Liu <sdl.web@gmail.com>
3753
3754 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3755 (flymake-make-overlay): Remove arg MOUSE-FACE.
3756 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3757
3758 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3761 New function.
3762 (redisplay-highlight-region-function): Use it.
3763
3764 * emulation/cua-base.el (cua--explicit-region-start)
3765 (cua--last-region-shifted): Remove.
3766 (cua--deactivate): Use deactivate-mark.
3767 (cua--pre-command-handler-1): Don't handle shift-selection.
3768 (cua--post-command-handler-1): Don't change transient-mark-mode.
3769 (cua--select-keymaps): Use region-active-p rather than
3770 cua--explicit-region-start or cua--last-region-shifted.
3771 (cua-mode): Enable shift-select-mode.
3772
3773 2013-12-08 Leo Liu <sdl.web@gmail.com>
3774
3775 * progmodes/flymake.el (flymake-popup-current-error-menu):
3776 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3777 (flymake-posn-at-point-as-event, flymake-popup-menu)
3778 (flymake-make-emacs-menu): Remove. (Bug#16077)
3779
3780 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * rect.el (rectangle-mark-mode): Activate mark even if
3783 transient-mark-mode is off (bug#16066).
3784 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3785 is > mark and at bolp.
3786
3787 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3788 (region-extract-function): Use it.
3789 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3790 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3791 Delete functions.
3792 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3793 kill-ring-save, kill-region, delete-char, delete-forward-char.
3794 Ignore self-insert-iso.
3795
3796 * emulation/cua-gmrk.el (cua--init-global-mark):
3797 Ignore `self-insert-iso'.
3798
3799 * emulation/cua-base.el (cua--prefix-copy-handler)
3800 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3801 checking cua--rectangle.
3802 (cua-delete-region): Use region-extract-function.
3803 (cua-replace-region): Delete function.
3804 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3805 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3806 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3807 (cua--init-keymaps): Don't remap delete-selection commands.
3808 (cua-mode): Use delete-selection-mode instead of rolling our own
3809 (bug#16085).
3810
3811 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3812 Obey region-extract-function.
3813
3814 Make registers and delete-selection-mode work on rectangles.
3815 * register.el (describe-register-1): Don't modify the register's value.
3816 (copy-to-register): Obey region-extract-function.
3817 * delsel.el (delete-active-region): Obey region-extract-function.
3818
3819 2013-12-08 Leo Liu <sdl.web@gmail.com>
3820
3821 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3822 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3823 (flymake-compilation-prevents-syntax-check)
3824 (flymake-start-syntax-check-on-newline)
3825 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3826 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3827 (flymake-xml-program, flymake-master-file-dirs)
3828 (flymake-master-file-count-limit)
3829 (flymake-allowed-file-name-masks): Relocate.
3830 (flymake-makehash, flymake-float-time)
3831 (flymake-replace-regexp-in-string, flymake-split-string)
3832 (flymake-get-temp-dir): Remove.
3833 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3834 (flymake-current-row, flymake-selected-frame)
3835 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3836 related functions. (Bug#16077)
3837
3838 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3839
3840 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3841
3842 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3843
3844 * help-fns.el (describe-function-1): Use new advice-* functions
3845 rather than old ad-* functions. Fix function type description and
3846 source links for advised functions and subrs.
3847
3848 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3849
3850 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3851
3852 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * progmodes/compile.el (compilation-start):
3855 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3856
3857 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3858 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3859
3860 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3861
3862 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3863 Touch up the last change.
3864
3865 2013-12-06 Leo Liu <sdl.web@gmail.com>
3866
3867 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3868 (inferior-octave-startup): Always use "octave> " for prompt.
3869 (octave-goto-function-definition)
3870 (octave-sync-function-file-names)
3871 (octave-find-definition-default-filename): Remove redundant backquotes.
3872
3873 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3874
3875 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3876 syntax for `?'.
3877 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3878 where appropriate already.
3879 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3880 end of method names (Bug#15874).
3881
3882 2013-12-06 Juri Linkov <juri@jurta.org>
3883
3884 * isearch.el (isearch--saved-overriding-local-map):
3885 New internal variable.
3886 (isearch-mode): Set it to the initial value of
3887 `overriding-terminal-local-map'.
3888 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3889 with `isearch--saved-overriding-local-map'. (Bug#16035)
3890
3891 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3892
3893 * progmodes/octave.el (inferior-octave-completion-table):
3894 Turn back into function, use `completion-table-with-cache'
3895 (Bug#11906). Update all references.
3896
3897 * minibuffer.el (completion-table-with-cache): New function.
3898
3899 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3900
3901 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3902
3903 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3904
3905 * net/eww.el (eww-current-source): New variable to store page
3906 source.
3907 (eww-display-html, eww-mode, eww-save-history)
3908 (eww-restore-history): Use it.
3909 (eww-view-source): New command to view page source.
3910 Opportunistically uses `html-mode' to highlight the buffer.
3911 (eww-mode-map): Install it.
3912
3913 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3914
3915 * net/dbus.el (dbus-unregister-service)
3916 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3917 Fix docstring.
3918 (dbus-unregister-service): Skip :serial entries in
3919 `dbus-registered-objects-table'.
3920 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3921
3922 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3923
3924 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3925 around keywords with extra `split-string' argument.
3926
3927 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3928
3929 * windmove.el (windmove-other-window-loc): Handle navigation
3930 between windows (excluding the minibuffer window - Bug#16017).
3931
3932 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3933
3934 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3935 in D-Bus type syntax.
3936 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3937 preserve unibyte strings. (Bug#16048)
3938
3939 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3942 Call force-mode-line-update is the proper buffer (bug#16042).
3943
3944 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3945
3946 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3947 `log-edit-remember-comment', make argument optional. Adjust all
3948 callers.
3949 (log-edit-mode): Add `log-edit-remember-comment' to
3950 `kill-buffer-hook' locally.
3951 (log-edit-kill-buffer): Don't remember comment explicitly since
3952 the buffer is killed anyway.
3953
3954 2013-12-04 Juri Linkov <juri@jurta.org>
3955
3956 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3957 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3958
3959 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3960
3961 * notifications.el (notifications-close-notification): Call the
3962 D-Bus method with ID being a `:uint32'. (Bug#16030)
3963
3964 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3965
3966 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3967
3968 2013-12-03 Juri Linkov <juri@jurta.org>
3969
3970 * progmodes/compile.el (compilation-start): Rename window alist
3971 entry `no-display-ok' to `allow-no-window'.
3972
3973 * simple.el (shell-command): Add window alist entry
3974 `allow-no-window' to `display-buffer'.
3975 (async-shell-command): Doc fix.
3976
3977 * window.el (display-buffer-no-window): New action function.
3978 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3979
3980 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3981
3982 * vc/log-edit.el (log-edit-set-header): Extract from
3983 `log-edit-toggle-header'.
3984 (log-edit-extract-headers): Separate the summary, when extracted
3985 from header, from the rest of the message with an empty line.
3986
3987 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3988 line, if present, to the Summary header.
3989
3990 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3993 in current-buffer (bug#16029).
3994
3995 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3996
3997 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3998 (debugger-mode-map): Bind it.
3999 (debugger--backtrace-base): New function.
4000 (debugger-eval-expression): Use it.
4001 (debugger-frame-number): Skip local vars when present.
4002 (debugger--locals-visible-p, debugger--insert-locals)
4003 (debugger--show-locals, debugger--hide-locals): New functions.
4004
4005 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4008 "LC_ALL".
4009 (tramp-get-remote-locale): New defun.
4010 (tramp-open-connection-setup-interactive-shell): Use it.
4011
4012 2013-12-02 Leo Liu <sdl.web@gmail.com>
4013
4014 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4015
4016 * progmodes/sh-script.el (sh-shell-process):
4017 * progmodes/octave.el (inferior-octave-process-live-p):
4018 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4019 (gdb-inferior-io-sentinel):
4020 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4021
4022 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4023
4024 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4025 `save-selected-window' to `log-edit-hide-buf'. This makes
4026 `log-edit-show-files' idempotent.
4027 (log-edit-show-files): Mark the new window as dedicated.
4028
4029 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4030
4031 * vc/log-edit.el (log-edit-mode-map): Add binding for
4032 `log-edit-kill-biffer'.
4033 (log-edit-hide-buf): Add a FIXME comment.
4034 (log-edit-add-new-comment): New function, extracted from
4035 `log-edit-done'.
4036 (log-edit-done, log-edit-add-to-changelog): Use it.
4037 (log-edit-kill-buffer): New command.
4038
4039 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4040
4041 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4042 instead of killing the buffer.
4043
4044 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4047
4048 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4049
4050 * net/eww.el (eww-form-checkbox-selected-symbol)
4051 (eww-form-checkbox-symbol): New customizable variable.
4052 (eww-form-checkbox, eww-toggle-checkbox):
4053 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4054
4055 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4056 (shr--get-media-pref, shr--extract-best-source): New function.
4057 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4058 no :src tag was specified.
4059
4060 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4061 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4062 Use \\` to match beginning of string instead of ^.
4063 (eww-browse-with-external-browser): Provide optional URL parameter.
4064 (eww-render): Set `eww-current-title' back to "".
4065
4066 * net/shr.el (shr-tag-video): Display content for video if no
4067 poster is available.
4068 (shr-tag-audio): Add support for <audio> tag.
4069
4070 * net/eww.el (eww-text-input-types): New const.
4071 (eww-process-text-input): Treat input types in
4072 `eww-text-input-types' as text.
4073
4074 * net/shr.el (shr-tag-table): Fix comment typo.
4075
4076 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4077
4078 * net/eww.el (eww-follow-link): New command to avoid reloading
4079 pages when we follow #target links (bug#15243).
4080 (eww-quit): Special mode buffers shouldn't query before exiting.
4081
4082 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4083
4084 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4085 forms.
4086
4087 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4088
4089 * net/eww.el (eww-restore-history): Update the window title after
4090 moving in the history.
4091 (eww-current-dom): New variable used to save the current DOM.
4092
4093 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4094
4095 * vc/log-edit.el (log-edit-mode-map): Add binding for
4096 `log-edit-beginning-of-line'.
4097 (log-edit-setup-add-author): New user option.
4098 (log-edit-beginning-of-line): New command.
4099 (log-edit): Move major mode call above the contents setup so that
4100 the local variable values are already applied.
4101 (log-edit): Only insert "Author: " when
4102 `log-edit-setup-add-author' is non-nil.
4103 (log-edit): When SETUP is non-nil, position point after ": "
4104 instead of point-min.
4105
4106 2013-12-01 Glenn Morris <rgm@gnu.org>
4107
4108 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4109
4110 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4111
4112 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4113 redisplay to make sure the initial frame gets a chance to become
4114 visible. (Bug#16014)
4115
4116 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4117
4118 Support resizing frames and windows pixelwise.
4119 * cus-start.el (frame-resize-pixelwise)
4120 (window-resize-pixelwise): New entries.
4121 * emacs-lisp/debug.el (debug): Use window-total-height instead
4122 of window-total-size.
4123 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4124 * help.el (describe-bindings-internal): Use help-buffer as
4125 argument for with-help-window.
4126 (temp-buffer-max-width): New option.
4127 (resize-temp-buffer-window, help-window-setup)
4128 (with-help-window): Rewrite.
4129 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4130 dragging dividers.
4131 * window.el (frame-char-size, window-min-pixel-height)
4132 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4133 (window-min-pixel-width, window-safe-min-pixel-size)
4134 (window-combination-p, window-safe-min-size)
4135 (window-resizable-p, window--size-to-pixel)
4136 (window--pixel-to-size, window--resize-apply-p): New functions.
4137 (window-safe-min-height): Fix doc-string.
4138 (window-size, window-min-size, window--min-size-1)
4139 (window-sizable, window-sizable-p, window--min-delta-1)
4140 (window-min-delta, window--max-delta-1, window-max-delta)
4141 (window--resizable, window--resizable-p, window-resizable)
4142 (window-full-height-p, window-full-width-p, window-at-side-p)
4143 (window--in-direction-2, window-in-direction)
4144 (window--resize-reset-1, window--resize-mini-window)
4145 (window-resize, window-resize-no-error)
4146 (window--resize-child-windows-normal)
4147 (window--resize-child-windows, window--resize-siblings)
4148 (window--resize-this-window, window--resize-root-window)
4149 (window--resize-root-window-vertically)
4150 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4151 (maximize-window, minimize-window, delete-window)
4152 (quit-restore-window, window-split-min-size, split-window)
4153 (balance-windows-2, balance-windows)
4154 (balance-windows-area-adjust, balance-windows-area)
4155 (window--state-get-1, window-state-get, window--state-put-1)
4156 (window--state-put-2, window-state-put)
4157 (display-buffer-record-window, window--display-buffer):
4158 Make functions handle pixelwise sizing of windows.
4159 (display-buffer--action-function-custom-type)
4160 (display-buffer-fallback-action):
4161 Add display-buffer-in-previous-window.
4162 (display-buffer-use-some-window): Resize window to height it had
4163 before.
4164 (fit-window-to-buffer-horizontally): New option.
4165 (fit-frame-to-buffer): Describe new values.
4166 (fit-frame-to-buffer-bottom-margin): Replace with
4167 fit-frame-to-buffer-margins.
4168 (window--sanitize-margin): New function.
4169 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4170 using window-text-pixel-size.
4171
4172 2013-11-30 Glenn Morris <rgm@gnu.org>
4173
4174 * emacs-lisp/bytecomp.el (byte-compile-form):
4175 Make the `interactive-only' warning like the `obsolete' one.
4176 * comint.el (comint-run):
4177 * files.el (insert-file-literally, insert-file):
4178 * replace.el (replace-string, replace-regexp):
4179 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4180 (goto-line, insert-buffer, next-line, previous-line):
4181 Tweak `interactive-only' spec.
4182
4183 Stop keeping (most) generated cedet grammar files in the repository.
4184 * Makefile.in (semantic): New.
4185 (compile-main): Depend on semantic.
4186
4187 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4190 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4191
4192 * uniquify.el (uniquify-buffer-name-style): Change default.
4193
4194 * loadup.el: Preload "uniquify".
4195
4196 * time.el (display-time-update): Update all mode lines (bug#15999).
4197
4198 * electric.el (electric-indent-mode): Enable by default.
4199 * loadup.el: Preload "electric".
4200
4201 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4202
4203 * emacs-lisp/helpers.el (string-empty-p): New function.
4204 (string-blank-p): New function.
4205
4206 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4207
4208 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4209 (Bug#14029).
4210
4211 2013-11-29 Andreas Politz <politza@fh-trier.de>
4212 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4213 allow non-lambda lists as functions.
4214 (imenu--in-alist): Don't recurse into non-subalists.
4215 (imenu): Don't pass function itself as an argument (Bug#14029).
4216
4217 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * progmodes/python.el (python-mode-map): Remove binding for ":".
4220 (python-indent-electric-colon): Remove command.
4221 (python-indent-post-self-insert-function): Integrate the previous code
4222 of python-indent-electric-colon. Make it conditional on
4223 electric-indent-mode.
4224 (python-mode): Add ?: to electric-indent-chars.
4225 Move python-indent-post-self-insert-function to the end of
4226 post-self-insert-hook.
4227
4228 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * doc-view.el (doc-view-goto-page): Update mode-line.
4231
4232 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4233
4234 2013-11-27 Glenn Morris <rgm@gnu.org>
4235
4236 * international/charprop.el, international/uni-bidi.el:
4237 * international/uni-category.el, international/uni-combining.el:
4238 * international/uni-comment.el, international/uni-decimal.el:
4239 * international/uni-decomposition.el, international/uni-digit.el:
4240 * international/uni-lowercase.el, international/uni-mirrored.el:
4241 * international/uni-name.el, international/uni-numeric.el:
4242 * international/uni-old-name.el, international/uni-titlecase.el:
4243 * international/uni-uppercase.el:
4244 Remove generated files from VCS repository.
4245
4246 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4247
4248 * filenotify.el (file-notify-add-watch): Don't special-case
4249 w32notify when computing the directory to watch.
4250
4251 2013-11-27 Glenn Morris <rgm@gnu.org>
4252
4253 Make bootstrap without generated uni-*.el files possible again.
4254 * loadup.el: Update command-line-args checking for unidata-gen.
4255 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4256 * composite.el, international/characters.el:
4257 Handle unicode tables being undefined.
4258
4259 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4260 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4261 (compile-main): Depend on leim rule.
4262 (leim): New rule.
4263 * loadup.el: Move leim-list.el to leim/ subdirectory.
4264 * startup.el (normal-top-level): No more leim directory.
4265 * international/ja-dic-cnv.el (skkdic-convert):
4266 Disable version-control and autoloads in output files.
4267 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4268 Disable version-control and autoloads in output files.
4269 * leim/quail: Move here from ../leim.
4270 * leim/quail/hangul.el (hangul-input-method-activate):
4271 Add autoload cookie.
4272 (generated-autoload-load-name): Set file-local value.
4273 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4274 (generated-autoload-load-name): Set file-local value.
4275
4276 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4277
4278 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4279 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4280 (eww-quit): Ask confirmation before quitting eww.
4281
4282 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4283
4284 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4285 reading output from Diff on MS-Windows and MS-DOS.
4286
4287 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4288
4289 * emacs-lisp/helpers.el (string-reverse): New function.
4290
4291 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4292
4293 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4294 names on MS Windows, like "/[::1]:".
4295
4296 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4297 SWITCHES.
4298
4299 2013-11-26 Glenn Morris <rgm@gnu.org>
4300
4301 * progmodes/python.el (python-indent-guess-indent-offset):
4302 Avoid corner-case error. (Bug#15975)
4303
4304 Preload leim-list.el. (Bug#4789)
4305 * loadup.el: Load leim-list.el when found.
4306 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4307
4308 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4309
4310 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4311
4312 * emacs-lisp/helpers.el (string-join): New function.
4313
4314 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4315
4316 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4317 Mark as obsolete and replace it with a symbol property.
4318 (byte-compile-form): Use new 'interactive-only property.
4319 * comint.el, files.el, replace.el, simple.el:
4320 Apply new 'interactive-only properly.
4321
4322 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4323
4324 * window.el (display-buffer-at-bottom): Make sure that
4325 split-window-sensibly creates the new window on bottom
4326 (Bug#15961).
4327
4328 2013-11-23 David Kastrup <dak@gnu.org>
4329
4330 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4331 on the conflict markers when available.
4332 (smerge--get-marker): New function.
4333 (smerge-end-re, smerge-base-re): Add subgroup.
4334
4335 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * frame.el (handle-focus-in, handle-focus-out): Add missing
4338 interactive spec.
4339
4340 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4343 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4344
4345 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4348 (gomoku--last-pos): New var.
4349 (gomoku--intangible-chars): New const.
4350 (gomoku--intangible): New function.
4351 (gomoku-mode): Use it. Derive from special-mode.
4352 (gomoku-move-up): Adjust line count.
4353 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4354 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4355 Simplify accordingly.
4356
4357 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4358 Remove blink-cursor code.
4359 (blink-cursor-timer-function, blink-cursor-suspend):
4360 Don't special-case GUIs.
4361 (blink-cursor-mode): Use focus-in/out-hook.
4362
4363 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4364
4365 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4366 work when annotation is invisible (Bug#13886).
4367
4368 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4369
4370 * json.el (json-alist-p): Only return non-nil if the alist has
4371 simple keys (Bug#13518).
4372
4373 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4374
4375 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4376 when control-statement is the first statement in a buffer (Bug#15956).
4377
4378 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4379
4380 * imenu.el (imenu-generic-skip-comments-and-strings):
4381 New option (Bug#15560).
4382 (imenu--generic-function): Use it.
4383
4384 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4385
4386 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4387 (Bug#13898)
4388
4389 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4390
4391 * emacs-lisp/helpers.el: Add some string helpers.
4392 (string-trim-left): Removes leading whitespace.
4393 (string-trim-right): Removes trailing whitespace.
4394 (string-trim): Removes leading and trailing whitespace.
4395
4396 * subr.el (string-suffix-p): New function.
4397
4398 2013-11-23 Glenn Morris <rgm@gnu.org>
4399
4400 * progmodes/python.el (python-shell-send-file):
4401 Add option to delete file when done. (Bug#15647)
4402 (python-shell-send-string, python-shell-send-region): Use it.
4403
4404 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4405
4406 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4407 to set buffer-read-only to t, never to nil. (Bug#15938)
4408
4409 * textmodes/tex-mode.el (latex-noindent-environments):
4410 Add safe-local-variable property. (Bug#15936)
4411
4412 2013-11-23 Glenn Morris <rgm@gnu.org>
4413
4414 * textmodes/enriched.el (enriched-mode): Doc fix.
4415 * emacs-lisp/authors.el (authors-renamed-files-alist):
4416 Add enriched.doc -> enriched.txt.
4417
4418 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4419
4420 2013-11-22 Leo Liu <sdl.web@gmail.com>
4421
4422 * progmodes/octave.el (inferior-octave-startup): Spit out error
4423 message.
4424
4425 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4426
4427 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4428 Improve docstring.
4429 Add :version.
4430 (ruby-encoding-magic-comment-style): Add :version.
4431
4432 2013-11-22 Leo Liu <sdl.web@gmail.com>
4433
4434 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4435 (Bug#15076)
4436 (octave-help-mode): Adapt to change to help-mode-finish to use
4437 derived-mode-p on 2013-09-17.
4438 (inferior-octave-prompt): Also match octave-gui.
4439 (octave-kill-process): Don't ask twice. (Bug#10564)
4440
4441 2013-11-22 Leo Liu <sdl.web@gmail.com>
4442
4443 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4444 (inferior-octave-startup, inferior-octave-check-process)
4445 (inferior-octave-track-window-width-change)
4446 (octave-completion-at-point, octave-eldoc-function): Use it.
4447 (octave-kill-process): Provide confirmation. (Bug#10564)
4448
4449 2013-11-21 Leo Liu <sdl.web@gmail.com>
4450
4451 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4452 Fix obsolete variable comment-use-global-state.
4453
4454 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4455
4456 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4457 Add `octave-source-file'.
4458 (octave-source-file): New function. (Bug#15935)
4459
4460 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4461
4462 * net/eww.el (eww-local-regex): New variable.
4463 (eww): Use it to detect localhost and similar.
4464
4465 2013-11-21 Leo Liu <sdl.web@gmail.com>
4466
4467 Add completion for command `ag'.
4468 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4469 (pcomplete/ag): New function.
4470 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4471
4472 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4475 (bug#14646).
4476 (make-obsolete): Remove interactive spec.
4477
4478 2013-11-21 Glenn Morris <rgm@gnu.org>
4479
4480 * startup.el (command-line-1): Use path-separator with -L.
4481
4482 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4483
4484 * emacs-lisp/package.el (describe-package-1): Add package archive
4485 to shown fields.
4486
4487 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4488
4489 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4490 Change default to "# encoding: %s" to differentiate it from the
4491 default Ruby encoding comment template.
4492
4493 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4494
4495 * ses.el (ses-mode): Doc fix. (Bug#14748)
4496
4497 2013-11-20 Leo Liu <sdl.web@gmail.com>
4498
4499 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4500
4501 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4502
4503 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4504 when rebase or bisect are in progress.
4505
4506 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4507
4508 * filenotify.el (file-notify-add-watch): Doc fix.
4509
4510 2013-11-19 Leo Liu <sdl.web@gmail.com>
4511
4512 * obsolete/rcompile.el: Mark obsolete.
4513
4514 * progmodes/compile.el (compilation-start)
4515 (compilation-goto-locus, compilation-find-file):
4516 Pass no-display-ok and handle nil value from display-buffer.
4517 (Bug#13594)
4518
4519 * window.el (display-buffer-alist, display-buffer): Document the
4520 new parameter no-display-ok. Return either a window or nil
4521 but never a non-window value.
4522
4523 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4524
4525 * electric.el (electric-indent-mode-map): Remove.
4526 (electric-indent-mode): Change the global-map instead (bug#15915).
4527
4528 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4529 Use add-function.
4530
4531 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4532
4533 * emacs-lisp/nadvice.el (remove-function): Align with
4534 add-function's behavior.
4535
4536 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4537 (gdb--string-regexp): New constant.
4538 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4539 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4540 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4541 submatch 1.
4542 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4543 Adjust use accordingly.
4544 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4545
4546 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4547
4548 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4549 interpolation curlies (Bug#15914).
4550
4551 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4552
4553 * calc/calc.el (calc-context-sensitive-enter): New variable.
4554 (calc-enter): Use `calc-context-sensitive-enter'.
4555
4556 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4557
4558 * progmodes/cfengine.el: Version bump.
4559 (cfengine-cf-promises): New defcustom to locate cf-promises.
4560 (cfengine3-vartypes): Add new "data" type.
4561 (cfengine3--current-word): New function to get current name-like
4562 word or its bounds.
4563 (cfengine3--current-function): New function to look up a CFEngine
4564 function's definition.
4565 (cfengine3-format-function-docstring): New function.
4566 (cfengine3-make-syntax-cache): New function.
4567 (cfengine3-documentation-function): New function: ElDoc glue.
4568 (cfengine3-completion-function): New function: completion glue.
4569 (cfengine3-mode): Set `compile-command',
4570 `eldoc-documentation-function', and add to
4571 `completion-at-point-functions'.
4572
4573 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4574
4575 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4576 `tramp-current-connection'.
4577
4578 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4579
4580 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4581 nil/self/true/false with "end of symbol".
4582
4583 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4584
4585 * subr.el (version-regexp-alist): Fix a typo.
4586
4587 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4588
4589 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4590 "en_US.utf8" and "LC_CTYPE" to "".
4591 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4592 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4593
4594 2013-11-15 Leo Liu <sdl.web@gmail.com>
4595
4596 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4597
4598 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * progmodes/gud.el (ctl-x-map):
4601 Remove C-x SPC binding. (Bug#12342)
4602 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4603
4604 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4605
4606 * subr.el (version-regexp-alist):
4607 Recognize hg, svn and darcs versions as snapshot versions.
4608
4609 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4610 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4611 (ruby--encoding-comment-required-p): Extract from
4612 `ruby-mode-set-encoding'.
4613 (ruby-mode-set-encoding): Add the ability to always insert an
4614 utf-8 encoding comment. Fix and simplify coding comment update
4615 logic.
4616
4617 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4618
4619 * net/tramp-gvfs.el (top): Run init code only when
4620 `tramp-gvfs-enabled' is not nil.
4621 (tramp-gvfs-enabled): Check also :system bus.
4622
4623 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 Sync with upstream verilog-mode revision 78e66ba.
4626 * progmodes/verilog-mode.el (verilog-end-of-defun)
4627 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4628 (verilog-get-end-of-defun): Remove unused argument.
4629 (verilog-comment-depth): Remove unused local `e'.
4630 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4631 Don't pass arg to verilog-get-end-of-defun.
4632
4633 2013-11-14 Glenn Morris <rgm@gnu.org>
4634
4635 * obsolete/assoc.el (aget): Prefix dynamic variable.
4636
4637 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4638
4639 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * widget.el, hfy-cmap.el: Remove bogus package version number.
4642
4643 2013-11-13 Glenn Morris <rgm@gnu.org>
4644
4645 * replace.el (replace-eval-replacement):
4646 Try to give more helpful error message. (Bug#15836)
4647
4648 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4649 (archive-7z-update): Avoid custom type mismatches.
4650
4651 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4652
4653 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4654
4655 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4656 address can be empty.
4657
4658 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4659 Accept nil SWITCHES.
4660 (tramp-gvfs-handle-write-region): Implement APPEND.
4661
4662 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4663
4664 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4665 binary "|" operator and closing block args delimiter.
4666 Remove FIXME comment referring to Ruby 1.8-only syntax.
4667 (ruby-smie--implicit-semi-p): Not after "|" operator.
4668 (ruby-smie--closing-pipe-p): New function.
4669 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4670 (ruby-smie-rules): Indent after "|".
4671
4672 2013-11-12 Glenn Morris <rgm@gnu.org>
4673
4674 * ps-print.el (ps-face-attribute-list):
4675 Handle anonymous faces. (Bug#15827)
4676
4677 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4678
4679 * window.el (display-buffer-other-frame): Fix doc-string.
4680 (Bug#15868)
4681
4682 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4685
4686 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4687
4688 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4689 (tramp-sh-handle-file-local-copy): Don't write a message when
4690 saving temporary files.
4691
4692 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4693 both directories are remote.
4694 (tramp-smb-handle-directory-files): Do not return double entries.
4695 Do not expand full file names.
4696 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4697 (tramp-smb-handle-write-region): Implement APPEND.
4698 (tramp-smb-get-stat-capability): Fix a stupid bug.
4699
4700 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4703
4704 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4705
4706 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4707 throwing error over malformed let/let* (bug#15814).
4708
4709 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * iswitchb.el (iswitchb-mode): Mark obsolete.
4712
4713 2013-11-11 Glenn Morris <rgm@gnu.org>
4714
4715 * international/uni-bidi.el, international/uni-category.el:
4716 * international/uni-name.el, international/uni-numeric.el:
4717 Regenerate for Unicode 6.3.0.
4718
4719 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4720
4721 * net/tramp.el (tramp-methods):
4722 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4723 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4724
4725 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4726
4727 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4728 Force highlighting text after Summary keyword in doc face for rpm.
4729
4730 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4731
4732 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4733 available and the word has no wildcards, append one to the grep pattern.
4734 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4735 (ispell-complete-word): Call `ispell-lookup-words' with the value
4736 independent of `ispell-look-p'.
4737
4738 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4739
4740 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4741 Not after "||".
4742 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4743 their parent.
4744
4745 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4748 (ruby-font-lock-keywords): Use backquote.
4749
4750 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4751
4752 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4753 (ruby-smie--backward-token): Only consider full-string matches.
4754
4755 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4756
4757 * faces.el (describe-face): Add distant-foreground.
4758
4759 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4760
4761 * progmodes/ruby-mode.el: Improve encoding comment handling.
4762 (ruby-encoding-magic-comment-style): New option.
4763 (ruby-custom-encoding-magic-comment-template): New option.
4764 (ruby--insert-coding-comment, ruby--detect-encoding):
4765 New functions extracted from `ruby-mode-set-encoding'.
4766 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4767 to control the style of the auto-inserted encoding comment.
4768
4769 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4770
4771 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4772 Use `smie-backward-sexp' with token argument.
4773
4774 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4775
4776 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4777 Remove instrumentation code.
4778
4779 2013-11-08 Glenn Morris <rgm@gnu.org>
4780
4781 * progmodes/autoconf.el (autoconf-mode):
4782 Tweak comment-start-skip. (Bug#15822)
4783
4784 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4787 at bobp (bug#15826).
4788 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4789
4790 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4791
4792 * man.el (Man-start-calling): New macro, extracted from
4793 Man-getpage-in-background.
4794 (Man-getpage-in-background): Use it.
4795 (Man-update-manpage): New command.
4796 (Man-mode-map): Bind it.
4797
4798 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4799
4800 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4801 of "and", "or", "&&" and "||".
4802 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4803 argument. Prohibit opening curly brace because it could only be a
4804 block opener in that position.
4805 (ruby-smie--forward-token, ruby-smie--backward-token):
4806 Separate "|" from "&" or "*" going after it. That can happen in block
4807 arguments.
4808 (ruby-smie--indent-to-stmt): New function, seeks the end of
4809 previous statement or beginning of buffer.
4810 (ruby-smie-rules): Use it.
4811 (ruby-smie-rules): Check if there's a ":" before a curly block
4812 opener candidate; if there is, it's a hash.
4813
4814 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4817 (cl--block-wrapper): Fix last accidental change.
4818
4819 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4820
4821 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4822 Instrument, in order to hunt failure on hydra.
4823
4824 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4825
4826 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4827 malformed bindings form (bug#15814).
4828
4829 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4830
4831 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4832 "." compared to " @ ". This incidentally fixes some indentation
4833 examples with "do".
4834 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4835 (ruby-smie-grammar): New tokens: "and" and "or".
4836 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4837 Exclude "and" and "or". Remove "do" in order to work around token
4838 priorities.
4839 (ruby-smie-rules): Add all infix tokens. Handle the case of
4840 beginning-of-buffer.
4841
4842 2013-11-06 Glenn Morris <rgm@gnu.org>
4843
4844 * Makefile.in (setwins_almost, setwins_for_subdirs):
4845 Avoid accidental matches.
4846
4847 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * menu-bar.el (popup-menu): Use key-binding.
4850
4851 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4852
4853 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4854 menus, support also the menus produced by minor modes.
4855 (Bug#15817)
4856
4857 2013-11-06 Leo Liu <sdl.web@gmail.com>
4858
4859 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4860 DISTANCE to bound the search. All uses changed. (Bug#15808)
4861
4862 2013-11-06 Glenn Morris <rgm@gnu.org>
4863
4864 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4865 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4866 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4867
4868 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 * electric.el (electric-indent-just-newline): New command.
4871 (electric-indent-mode-map): New keymap.
4872 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4873 Re-add :group which weren't redundant.
4874
4875 * electric.el (electric-indent-local-mode): New minor mode.
4876 (electric-indent-functions-without-reindent): New var.
4877 (electric-indent-post-self-insert-function): Use it.
4878 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4879
4880 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4881
4882 * international/quail.el (quail-help): Be more explicit about the
4883 meaning of the labels shown on the keys. (Bug#15800)
4884
4885 * startup.el (normal-top-level): Load the subdirs.el files before
4886 setting the locale environment. (Bug#15805)
4887
4888 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4891 via arguments so as to get the right ones (bug#15418).
4892
4893 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4894
4895 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4896
4897 Fix problems found while writing a test suite.
4898
4899 * net/tramp-compat.el (tramp-compat-load): New defun.
4900 * net/tramp.el (tramp-handle-load): Use it.
4901
4902 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4903 "(numberp ok-if-already-exists)" correctly.
4904
4905 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4906
4907 * international/characters.el (glyphless-char-display-control):
4908 Add usage note.
4909
4910 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4911
4912 * progmodes/python.el (python-mode):
4913 * progmodes/scheme.el (scheme-mode):
4914 * progmodes/prolog.el (prolog-mode):
4915 * progmodes/ruby-mode.el (ruby-mode):
4916 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4917 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4918
4919 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * rect.el (rectangle--highlight-for-redisplay):
4922 * emacs-lisp/smie.el (smie--next-indent-change):
4923 Use buffer-chars-modified-tick.
4924
4925 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4926
4927 * electric.el (electric-indent-post-self-insert-function):
4928 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4929
4930 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4931
4932 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4933
4934 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4935
4936 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4937 (bug#15786).
4938
4939 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4942
4943 * progmodes/python.el: Fix up last change.
4944 (python-shell--save-temp-file): New function.
4945 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4946 `string' comes from the current buffer.
4947 (python-shell-send-string-no-output): Remove `msg' arg.
4948 (python--use-fake-loc): New var.
4949 (python-shell-buffer-substring): Obey it. Try to compensate for the
4950 extra coding line added by python-shell--save-temp-file.
4951 (python-shell-send-region): Use python-shell--save-temp-file and
4952 python-shell-send-file directly. Add `nomain' argument.
4953 (python-shell-send-buffer): Use python-shell-send-region.
4954 (python-electric-pair-string-delimiter): New function.
4955 (python-mode): Use it.
4956
4957 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4958
4959 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4960 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4961 environment and decoding all of the default-directory's to here
4962 from command-line.
4963 (command-line): Decode also argv[0].
4964
4965 * loadup.el: Error out if default-directory is a multibyte string
4966 when we are dumping.
4967
4968 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4969
4970 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4971
4972 * emacs-lisp/package.el (package-menu-mode)
4973 (package-menu--print-info, package-menu--archive-predicate):
4974 Add Archive column to package list.
4975
4976 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4977
4978 Fix problems found while writing a test suite.
4979
4980 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4981 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4982 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4983 to nil when running original file name handler. Otherwise,
4984 there are problems with constructs like "$$FOO".
4985
4986 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4987 for `localname'.
4988
4989 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4990
4991 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4992
4993 * subr.el (version<, version<=, version=):
4994 Update docstrings with information for snapshot versions.
4995
4996 * helpers.el: New library for misc helper functions.
4997 (hash-table-keys): New function returning a list of hash keys.
4998 (hash-table-values): New function returning a list of hash values.
4999
5000 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5001
5002 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5003 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5004
5005 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5006
5007 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5008 checking whether point is after a 1-letter word.
5009
5010 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5011
5012 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5013 Don't infloop when expanding region over `multiline' syntax-type that
5014 begins a line (bug#15778).
5015
5016 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5017
5018 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5019 Make it into a proper minor mode.
5020 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5021 (rectangle-mark-mode-map): New keymap.
5022 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5023
5024 2013-11-04 Glenn Morris <rgm@gnu.org>
5025
5026 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5027
5028 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5031 (ruby-smie-rules): Use smie-rule-parent instead.
5032
5033 * emacs-lisp/smie.el (smie-rule-parent): Always call
5034 smie-indent-virtual rather than only for hanging tokens.
5035 (smie--next-indent-change): New helper command.
5036
5037 2013-11-03 Glenn Morris <rgm@gnu.org>
5038
5039 * Makefile.in (abs_srcdir): Remove.
5040 (emacs): Unset EMACSLOADPATH.
5041
5042 2013-11-02 Glenn Morris <rgm@gnu.org>
5043
5044 * Makefile.in (EMACS): Use a relative filename.
5045 (abs_top_builddir): Remove.
5046 (custom-deps, finder-data, autoloads): Use --chdir.
5047
5048 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5049
5050 Use relative filenames in TAGS files.
5051 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5052 (lisptagsfiles4, TAGS): Use relative file names.
5053 (TAGS-LISP): Remove.
5054 (maintainer-clean): No more TAGS-LISP file.
5055
5056 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5057 (lisptagsfiles4): Use absolute filenames again.
5058 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5059 Remove all *loaddefs files, not just the first. Remove esh-groups.
5060 (maintainer-clean): Delete TAGS, TAGS-LISP.
5061
5062 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5063
5064 * emacs-lisp/package.el (package-version-join):
5065 Recognize snapshot versions.
5066
5067 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5068
5069 * subr.el (version-regexp-alist): Add support for snapshot versions.
5070
5071 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5072
5073 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5074 New function, replacement for `smie-rule-parent' for when we want to
5075 skip over our direct parent if it's an assignment token..
5076 (ruby-smie-rules): Use it.
5077
5078 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5079
5080 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5081 unconditionally. Remove now unnecessary forward declarations.
5082 Remove XEmacs-specific setup.
5083 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5084 (ruby-font-lock-syntactic-keywords)
5085 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5086 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5087 (ruby-here-doc-end-syntax): Remove.
5088 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5089 defined as function.
5090
5091 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5092
5093 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5094
5095 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5096
5097 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5098 table and abbrev table, `define-derived-mode' does that for us
5099 anyway.
5100
5101 2013-11-01 Glenn Morris <rgm@gnu.org>
5102
5103 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5104 files is atomic for some time, so no parallel compilation issues).
5105
5106 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5107
5108 * faces.el (face-x-resources): Add :distant-foreground.
5109 (region): Use :distant-foreground for gtk and ns.
5110
5111 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5112
5113 Allow multiple bibliographies when BibLaTeX is used rather than
5114 BibTeX.
5115 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5116 (reftex-locate-bibliography-files): Us it.
5117
5118 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5119
5120 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5121 allow comments in pbm files.
5122
5123 * term/w32-win.el (dynamic-library-alist): Support newer versions
5124 of libjpeg starting with v7: look only for the DLL from the
5125 version against which Emacs was built.
5126 Support versions of libpng beyond 1.4.x.
5127 Support libtiff v4.x.
5128
5129 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5130
5131 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5132 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5133 Add property :safe.
5134 (ruby-deep-arglist): Add property :type.
5135
5136 2013-10-31 Glenn Morris <rgm@gnu.org>
5137
5138 * Makefile.in (custom-deps, finder-data): No need to setq the target
5139 variables, we are in the right directory and the defaults work fine.
5140
5141 2013-10-30 Glenn Morris <rgm@gnu.org>
5142
5143 * Makefile.in (autoloads): Do not use abs_lisp.
5144
5145 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5146 `newline' does not respect `standard-output', so use `princ'.
5147
5148 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5149
5150 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5151 * buff-menu.el (Buffer-menu--unmark): New function.
5152 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5153
5154 2013-10-30 Glenn Morris <rgm@gnu.org>
5155
5156 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5157
5158 * emacs-lisp/package.el (lm-homepage): Declare.
5159
5160 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5161 Fix doc typos.
5162
5163 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5164
5165 * Makefile.in (finder-data, autoloads, update-subdirs)
5166 (compile-main, compile-clean, compile-always, bootstrap-clean):
5167 Check return value of cd.
5168 (compile-calc): Remove.
5169
5170 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5171
5172 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5173
5174 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5175 (byte-compile-and-folded): New function.
5176 (=, <, >, <=, >=): Use it.
5177
5178 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5179 (path-separator, null-device, buffer-file-coding-system)
5180 (lpr-headers-switches): Check system-type before modifying them.
5181 (find-buffer-file-type-coding-system): Mark obsolete.
5182 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5183 find-file-not-found-set-buffer-file-coding-system.
5184 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5185 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5186 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5187 (w32-direct-print-region-helper, w32-direct-print-region-function)
5188 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5189 * startup.el (normal-top-level-add-subdirs-to-load-path):
5190 * ps-print.el (ps-print-region-function):
5191 * lpr.el (print-region-function): Use new name.
5192
5193 * subr.el (custom-declare-variable-early): Remove function.
5194 (custom-declare-variable-list): Remove var.
5195 (error, user-error): Remove `while' loop.
5196 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5197 (user-emacs-directory-warning, locate-user-emacs-file):
5198 Move to files.el.
5199 * simple.el (read-quoted-char-radix, read-quoted-char):
5200 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5201 Move from subr.el.
5202 * custom.el (custom-declare-variable-list): Don't process
5203 custom-declare-variable-list.
5204
5205 * progmodes/python.el (python-shell-get-buffer): New function.
5206 (python-shell-get-process): Use it.
5207 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5208 Python which encoding was used. Don't split-string since we only care
5209 about the first line. Return the temp-file, if applicable.
5210 (python-shell-send-region): Tell compile.el how to turn locations in
5211 the temp-file into locations in the source buffer.
5212
5213 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * subr.el (undefined): Add missing behavior from the C code for
5216 unbound keys.
5217
5218 * rect.el: Use lexical-binding. Add new rectangular region support.
5219 (rectangle-mark): New command.
5220 (rectangle--region): New var.
5221 (deactivate-mark-hook): Reset rectangle--region.
5222 (rectangle--extract-region, rectangle--insert-for-yank)
5223 (rectangle--highlight-for-redisplay)
5224 (rectangle--unhighlight-for-redisplay): New functions.
5225 (region-extract-function, redisplay-unhighlight-region-function)
5226 (redisplay-highlight-region-function): Use them to handle
5227 rectangular region.
5228 * simple.el (region-extract-function): New var.
5229 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5230 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5231 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5232 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5233 (redisplay-unhighlight-region-function)
5234 (redisplay-highlight-region-function): New vars.
5235 (redisplay--update-region-highlight): New function.
5236 (pre-redisplay-function): Use it.
5237 (exchange-point-and-mark): Don't deactivate the mark before
5238 reactivate-it anyway.
5239 * comint.el (comint-kill-region): Remove yank-handler argument.
5240 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5241 (delete-char): Remove property, since it's now part of their
5242 default behavior.
5243 (self-insert-iso): Remove property since this command doesn't exist.
5244
5245 * emacs-lisp/package.el (package--download-one-archive)
5246 (describe-package-1): Don't query the user about final newline.
5247
5248 2013-10-29 Daniel Colascione <dancol@dancol.org>
5249
5250 * net/tramp.el (tramp-methods): Document new functionality.
5251 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5252 tramp-hostname-checker if method provides one instead of scanning
5253 argument list for "%h" to decide hostname acceptability.
5254
5255 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5256
5257 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5258 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5259 Handle COPY-CONTENTS. (Bug#15737)
5260
5261 2013-10-28 Daiki Ueno <ueno@gnu.org>
5262
5263 * epa-file.el
5264 (epa-file-cache-passphrase-for-symmetric-encryption):
5265 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5266
5267 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5268
5269 * image.el (defimage, image-load-path): Doc fixes.
5270
5271 2013-10-27 Alan Mackenzie <acm@muc.de>
5272
5273 Indent statements in macros following "##" correctly.
5274 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5275 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5276
5277 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5278
5279 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5280
5281 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5282
5283 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5284 after `=' is probably a new expression.
5285
5286 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5287
5288 * man.el (man-imenu-title): New option.
5289 (Man-mode-map): Add menu. (Bug#15722)
5290 (Man-mode): Add imenu to menu.
5291
5292 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5293
5294 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5295 specific in what the first arg can be: a non-keyword word,
5296 string/regexp/percent literal opener, opening paren, or unary
5297 operator followed directly by word.
5298
5299 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5302 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5303 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5304 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5305 Remove vars, they do not apply any more.
5306 (prolog-mode-abbrev-table): Remove redundant declaration.
5307 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5308 (prolog-use-smie): Remove.
5309 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5310 supported by prolog-electric-if-then-else-flag.
5311 (prolog-mode-variables, prolog-menu): Use setq-local.
5312 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5313 Remove binding to `Backspace' since this key doesn't exist anyway.
5314 Remove bindings for electric self-inserting keys.
5315 (prog-mode): Assume it's defined.
5316 (prolog-post-self-insert): New function.
5317 (prolog-mode): Use it.
5318 (prolog-indent-line, prolog-indent-level)
5319 (prolog-find-indent-of-matching-paren)
5320 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5321 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5322 (prolog-goto-next-paren, prolog-in-string-or-comment)
5323 (prolog-tokenize, prolog-inside-mline-comment)
5324 (prolog-find-start-of-mline-comment): Remove functions.
5325 (prolog-find-unmatched-paren, prolog-clause-end)
5326 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5327 (prolog-electric--if-then-else): Rename from
5328 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5329 (prolog-tokenize-searchkey): Remove const.
5330 (prolog-clause-info): Use forward-sexp.
5331 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5332 (prolog-electric-if-then-else): Remove commands.
5333 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5334 for use in post-self-insert-hook.
5335 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5336 for use in post-self-insert-hook.
5337 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5338 for use in post-self-insert-hook.
5339 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5340 adapt it for use in post-self-insert-hook.
5341
5342 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5343
5344 * emacs-lisp/ert.el (ert-run-tests-interactively):
5345 Use `completing-read'. (Bug#9756)
5346
5347 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5348
5349 * simple.el (line-move): Call line-move-1 instead of
5350 line-move-visual when the current window hscroll is zero, but
5351 temporary-goal-column indicates we will need to hscroll as result
5352 of the movement. (Bug#15712)
5353
5354 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5355
5356 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5357 capitalization. Use :visible instead of :active.
5358 Fix `ruby-indent-exp' reference. Add menu items for the generic
5359 commands that are used with SMIE.
5360 (ruby-do-end-to-brace): Insert space after `{'.
5361
5362 2013-10-25 John Anthony <john@jo.hnanthony.com>
5363
5364 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5365
5366 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5367
5368 2013-10-25 Glenn Morris <rgm@gnu.org>
5369
5370 * vc/vc.el (vc-print-log): Don't use a working revision unless
5371 one was explicitly specified. (Bug#15322)
5372
5373 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 * subr.el (add-to-list): Preserve return value in compiler-macro
5376 (bug#15692).
5377
5378 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5379
5380 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5381 result. Ask user to retry using '-all' flag. (Bug#15701)
5382
5383 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * emacs-lisp/smie.el: New smie-config system.
5386 (smie-config): New defcustom.
5387 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5388 (smie-config-guess, smie-config-save): New commands.
5389 (smie-config--mode-local, smie-config--buffer-local)
5390 (smie-config--trace, smie-config--modefuns): New vars.
5391 (smie-config--advice, smie-config--mode-hook)
5392 (smie-config--setter, smie-config-local, smie-config--get-trace)
5393 (smie-config--guess-value, smie-config--guess): New functions.
5394 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5395 text properties. Treat "string fence" syntax like string syntax.
5396
5397 * progmodes/sh-script.el (sh-use-smie): Change default.
5398 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5399 (sh-var-value): Simplify by CSE.
5400 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5401 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5402 is used.
5403 (sh-guess-basic-offset): Use cl-incf.
5404 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5405
5406 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5407
5408 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5409 (bug#15699).
5410
5411 2013-10-24 Glenn Morris <rgm@gnu.org>
5412
5413 * Makefile.in (abs_top_srcdir): Remove.
5414 (update-subdirs): Use relative path to update-subdirs.
5415
5416 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5417
5418 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5419 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5420 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5421 Call unmsys--file-name before expand-file-name, not after it.
5422
5423 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5424
5425 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5426 (ert-test-skipped): New error.
5427 (ert-skip, ert-stats-skipped): New defuns.
5428 (ert--skip-unless): New macro.
5429 (ert-test-skipped): New struct.
5430 (ert--run-test-debugger, ert-test-result-type-p)
5431 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5432 (ert--stats-set-test-and-result, ert-char-for-test-result)
5433 (ert-string-for-test-result, ert-run-tests-batch)
5434 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5435 Handle skipped tests. (Bug#9803)
5436
5437 2013-10-24 Glenn Morris <rgm@gnu.org>
5438
5439 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5440
5441 * Makefile.in (abs_top_srcdir): New, set by configure.
5442 (update-subdirs): Correct build-aux location.
5443
5444 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5445
5446 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5447 value, whether we could auto-deduce `backend', or not.
5448
5449 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5450 with parameters" example. Simplify the "is it block or is it
5451 hash" check, but also make it more thorough.
5452
5453 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5454
5455 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5456
5457 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5460 { if it is hanging.
5461
5462 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5463 :before ";".
5464
5465 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5466
5467 * progmodes/compile.el (compilation-directory-matcher)
5468 (compilation-page-delimiter):
5469 Support GNU Make-4.0 directory quoting. (Bug#15678)
5470
5471 2013-10-23 Leo Liu <sdl.web@gmail.com>
5472
5473 * ido.el (ido-tidy): Handle read-only text.
5474
5475 2013-10-23 Glenn Morris <rgm@gnu.org>
5476
5477 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5478 (emacs, compile, compile-always):
5479 Quote entities that might contain whitespace.
5480 (custom-deps, finder-data, autoloads): Use abs_lisp.
5481 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5482 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5483 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5484
5485 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5486
5487 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5488 Use `following-char'.
5489
5490 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5493 * progmodes/ruby-mode.el (ruby-smie-rules):
5494 Remove corresponding workaround. Fix indentation rule of ";" so it
5495 also applies when ";" is the parent.
5496
5497 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5498
5499 * frame.el (display-screens, display-pixel-height)
5500 (display-pixel-width, display-mm-width, display-backing-store)
5501 (display-save-under, display-planes, display-color-cells)
5502 (display-visual-class, display-monitor-attributes-list):
5503 Mention the optional ‘display’ argument in doc strings.
5504
5505 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5506
5507 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5508 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5509
5510 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5511
5512 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5513 TODO. Add "." after " @ ".
5514 (ruby-smie--at-dot-call): New function. Checks if point at method
5515 call with explicit target.
5516 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5517 to the method name tokens when it precedes them.
5518 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5519 (ruby-smie-rules): Add rule for indentation before and after "."
5520 token.
5521
5522 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 * textmodes/remember.el (remember-diary-extract-entries):
5525 Avoid add-to-list.
5526
5527 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5528 an instruction.
5529
5530 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5531
5532 * progmodes/ruby-mode.el (ruby-smie-grammar):
5533 Add (almost) all infix operators.
5534 (ruby-smie--implicit-semi-p): Add new operator chars.
5535
5536 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5537 `smie-down-list'.
5538 (ruby-smie--args-separator-p): Check that there's no newline
5539 between method call and its arguments.
5540
5541 2013-10-20 Alan Mackenzie <acm@muc.de>
5542
5543 Allow comma separated lists after Java "implements".
5544
5545 * progmodes/cc-engine.el (c-backward-over-enum-header):
5546 Parse commas.
5547 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5548 from a "disallowed" list in enum fontification.
5549
5550 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5551
5552 * startup.el (default-frame-background-mode): Remove unused defvar.
5553
5554 * progmodes/verilog-mode.el (verilog-mode): Don't set
5555 comment-indent-function globally.
5556
5557 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5558
5559 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5560 Move Info menu item creation to ns-win.el.
5561
5562 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5563 in menu bar.
5564
5565 * menu-bar.el: Move GNUstep specific menus...
5566
5567 * term/ns-win.el (ns-initialize-window-system): ... to here.
5568
5569 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * simple.el (newline): Only run post-self-insert-hook when
5572 called interactively.
5573
5574 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5575
5576 * icomplete.el (icomplete-with-completion-tables): Add :version.
5577
5578 2013-10-19 Alan Mackenzie <acm@muc.de>
5579
5580 Fix fontification bugs with constructors and const.
5581
5582 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5583 CASE 2) Remove the check for the absence of a suffix construct
5584 after a function declaration with only types (no identifiers) in
5585 the parentheses. Also, accept a function declaration with just a
5586 type inside the parentheses, if this type can be positively
5587 recognised as such, or if a prefix keyword like "explicit" nails
5588 down the construct as a declaration.
5589
5590 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5591
5592 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5593 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5594 the problem whereby selecting a menu item that leads to a
5595 minibuffer prompt moves the cursor out of the minibuffer window,
5596 making it hard to type at the prompt. Suggested by Stefan Monnier
5597 <monnier@iro.umontreal.ca>.
5598
5599 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5600
5601 * menu-bar.el: Don't make Services menu.
5602
5603 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5604
5605 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5606 (ffap-alist): Use ffap-c++-mode for c++-mode.
5607 (ffap-c++-path): New variable.
5608 (ffap-c++-mode): New function.
5609
5610 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5611
5612 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5613
5614 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5615
5616 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5617 introduced on 2013-09-08, which results in an infinite loop
5618 requesting a password.
5619
5620 2013-10-18 Glenn Morris <rgm@gnu.org>
5621
5622 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5623
5624 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5625
5626 Sync with upstream verilog-mode revision 1a6ecec7.
5627 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5628 (verilog-mode-release-date): Remove.
5629 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5630 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5631 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5632 (verilog-auto-tieoff-ignore-regexp)
5633 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5634 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5635 (verilog-signals-with, verilog-dir-cache-preserving)
5636 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5637 Doc fixes.
5638 (verilog-case-fold): New option, to control case folding in
5639 regexp searches, bug597.
5640 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5641 (verilog-string-match-fold, verilog-in-paren-count)
5642 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5643 (verilog-at-close-struct-p): New functions.
5644 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5645 (verilog-forward-sexp, verilog-set-auto-endcomments)
5646 (verilog-leap-to-case-head): Handle "unique0" case.
5647 (verilog-in-constraint-re): New constant.
5648 (verilog-keywords, verilog-type-font-keywords):
5649 Add some SystemVerilog 1800-2012 keywords.
5650 (verilog-label-be): Remove unimplemented argument, bug669.
5651 (verilog-batch-execute-func): When batch expanding clear
5652 create-lockfiles to prevent spurious user locks when a file ends
5653 up not changing.
5654 (verilog-calculate-indent, verilog-calc-1)
5655 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5656 (verilog-do-indent): Fix indentation of nested constraints
5657 and structures.
5658 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5659 (verilog-auto-inst-param): Use verilog-string-match-fold.
5660 (verilog-read-inst-module-matcher):
5661 Fix AUTOINST on gate primitives with #1.
5662 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5663 Reads all user-defined typed variables.
5664 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5665 (verilog-signals-matching-regexp)
5666 (verilog-signals-not-matching-regexp, verilog-auto):
5667 Respect verilog-case-fold.
5668 (verilog-diff-report): Fix line count.
5669 (verilog-auto-assign-modport): Remove unused local `modi'.
5670 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5671 better handle multidimensional arrays.
5672 Fix packed array ports misadding bit index in AUTOINST, bug637.
5673 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5674 to not double-declare existing outputs and inputs, respectively.
5675 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5676 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5677 (verilog-sk-uvm-component): New skeleton.
5678 (verilog-submit-bug-report): Add verilog-case-fold,
5679 remove verilog-mode-release-date.
5680
5681 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5682
5683 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5684 as before.
5685
5686 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5687
5688 * textmodes/remember.el (remember): Set buffer-offer-save in
5689 remember buffers (bug#13566).
5690
5691 2013-10-18 Daniel Colascione <dancol@dancol.org>
5692
5693 When evaluating forms in ielm, direct standard output to ielm
5694 buffer. Add new ielm-return-for-effect command. Remove trailing
5695 whitespace throughout.
5696
5697 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5698 (ielm-return-for-effect): New command.
5699 (ielm-send-input): Accept optional `for-effect' parameter.
5700 (ielm-eval-input): Accept optional `for-effect' parameter.
5701 Bind `standard-output' to stream we create using
5702 `ielm-standard-output-impl'. Suppress printing result when
5703 `for-effect'.
5704 (ielm-standard-output-impl): New function.
5705 (inferior-emacs-lisp-mode): Explain new features in documentation.
5706
5707 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5708
5709 Code cleanup.
5710
5711 * net/tramp.el (tramp-debug-message): Do not check for connection
5712 buffer.
5713 (tramp-message): Use "vector" connection property.
5714
5715 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5716 (tramp-equal-remote, tramp-eshell-directory-change)
5717 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5718 (tramp-adb-handle-rename-file)
5719 * net/tramp-cmds.el (tramp-list-remote-buffers)
5720 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5721 * net/tramp-compat.el (tramp-compat-process-running-p)
5722 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5723 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5724 (tramp-gvfs-handle-rename-file)
5725 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5726 (tramp-set-file-uid-gid)
5727 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5728 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5729 of `file-remote-p'.
5730
5731 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5732 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5733 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5734 (tramp-gw-open-network-stream): Suppress unrelated traces.
5735
5736 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5737 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5738 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5739 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5740 connection property.
5741
5742 * net/tramp-cache.el (top): Suppress traces when reading
5743 persistency file.
5744
5745 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5746 Refactor common code. Improve debug message.
5747 (tramp-maybe-open-connection)
5748 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5749 connection buffer too early.
5750
5751 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5752 from `tramp-smb-actions-with-acl'.
5753 (tramp-smb-actions-set-acl): New defconst.
5754 (tramp-smb-handle-copy-directory)
5755 (tramp-smb-action-get-acl): New defun, renamed from
5756 `tramp-smb-action-with-acl'.
5757 (tramp-smb-action-set-acl): New defun.
5758 (tramp-smb-handle-set-file-acl): Rewrite.
5759
5760 2013-10-17 Glenn Morris <rgm@gnu.org>
5761
5762 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5763
5764 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * skeleton.el (skeleton-newline): Remove.
5767 (skeleton-internal-1): Use (insert "\n") instead.
5768
5769 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5770 let-bindings.
5771
5772 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5773 forward-sexp-function while we redo its job (bug#15613).
5774
5775 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5776
5777 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5778 represented by lists.
5779
5780 2013-10-16 Glenn Morris <rgm@gnu.org>
5781
5782 * tmm.el (tmm--history): New dynamic variable.
5783 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5784
5785 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5786
5787 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5788 (tramp-smb-errors): Add error messages.
5789 (tramp-smb-actions-with-acl): New defconst.
5790 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5791 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5792 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5793 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5794 (tramp-smb-get-stat-capability): Fix tests.
5795
5796 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5797
5798 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5799 (bug#15580).
5800
5801 2013-10-16 Glenn Morris <rgm@gnu.org>
5802
5803 * ansi-color.el (ansi-color-drop-regexp):
5804 Add 1J, 1K, 2K. (Bug#15617)
5805
5806 * files.el (hack-local-variables--warned-lexical): New.
5807 (hack-local-variables):
5808 Warn about misplaced lexical-binding. (Bug#15616)
5809
5810 * net/eww.el (eww-render): Always set eww-current-url,
5811 and update header line. (Bug#15622)
5812 (eww-display-html): ... Rather than just doing it here.
5813
5814 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5815
5816 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5817 menu navigations commands.
5818
5819 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5820
5821 * progmodes/subword.el (subword-capitalize): Be careful when
5822 the search for [[:alpha:]] fails (bug#15580).
5823
5824 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5825
5826 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5827 to commands that scroll the menu.
5828
5829 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5830
5831 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5832 Handle methods ending with `?' and `!'.
5833
5834 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5835
5836 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5837 `japanese-cp932' to `cp932' to fix the problem where saving a
5838 source file written in Shift_JIS twice would end up having
5839 `coding: japanese-cp932' which Ruby could not recognize.
5840 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5841 in `ruby-encoding-map'.
5842 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5843 doesn't need to be explicitly declared in magic comment.
5844 (ruby-encoding-map): Add type declaration for better customize UI.
5845
5846 2013-10-13 Glenn Morris <rgm@gnu.org>
5847
5848 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5849 Occur buffers are read-only. http://bugs.debian.org/720775
5850
5851 * emacs-lisp/authors.el (authors-fixed-entries):
5852 Comment out old alpha stuff.
5853
5854 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5855
5856 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5857 to `after-save-hook' instead of `before-save-hook'.
5858 (ruby-mode-set-encoding): Use the value of coding system used to
5859 write the file. Call `basic-save-buffer-1' after modifying the
5860 buffer.
5861
5862 2013-10-13 Alan Mackenzie <acm@muc.de>
5863
5864 Fix indentation/fontification of Java enum with
5865 "implements"/generic.
5866
5867 * progmodes/cc-engine.el (c-backward-over-enum-header):
5868 Extracted from the three other places and enhanced to handle generics.
5869 (c-inside-bracelist-p): Uses new function above.
5870 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5871 function above.
5872 (c-font-lock-enum-tail): Uses new function above.
5873
5874 2013-10-13 Kenichi Handa <handa@gnu.org>
5875
5876 * international/mule-cmds.el (select-safe-coding-system): Remove a
5877 superfluous condition in chekcing whether a coding system is safe
5878 or not.
5879
5880 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5881
5882 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5883
5884 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5885
5886 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5887
5888 2013-10-13 Glenn Morris <rgm@gnu.org>
5889
5890 * menu-bar.el (menu-bar-update-buffers):
5891 Unify Buffers menu prompt string. (Bug#15576)
5892
5893 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5894
5895 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5896 Add some entries.
5897 (authors-fixed-entries): Use accented form of name.
5898
5899 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5902 method calls (bug#15594).
5903 (ruby-smie--args-separator-p): New function.
5904 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5905 recognize paren-free method calls.
5906
5907 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5908 internals of universal-argument.
5909
5910 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5911
5912 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5913 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5914 dropped menu on second mouse click on the menu bar.
5915
5916 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5919 (explicit-shell-file-name): Declare.
5920 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5921 (sh-completion-at-point-function): New function.
5922 (sh-mode): Use it.
5923 (sh-smie--keyword-p): Remove unused argument.
5924 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5925 vars.
5926 (sh-set-shell): Always setup SMIE, even if we use the
5927 old indentation code.
5928
5929 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5930
5931 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5932 cases of ? and =.
5933 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5934 predicate would return nil are almost non-existent.
5935 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5936
5937 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5938 cache also after commands that modify the buffer but don't move
5939 point.
5940
5941 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * env.el (substitute-env-in-file-name): New function.
5944 (substitute-env-vars): Extend the meaning of the optional arg.
5945
5946 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5947
5948 * term/w32-win.el (dynamic-library-alist): Define separate lists
5949 of GIF DLLs for versions before and after 5.0.0 of giflib.
5950 (Bug#15531)
5951
5952 2013-10-10 João Távora <joaotavora@gmail.com>
5953
5954 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5955 not locked, use last revision and current source as
5956 defaults. (Bug#15569)
5957
5958 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5959
5960 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5961 menu-bar is hidden.
5962
5963 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5964
5965 * window.el (pop-to-buffer-same-window): Fix doc-string.
5966 (Bug#15492)
5967
5968 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5969
5970 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5971
5972 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5973
5974 * calendar/icalendar.el (icalendar-import-file):
5975 Fix interactive spec. (Bug#15482)
5976
5977 2013-10-10 Glenn Morris <rgm@gnu.org>
5978
5979 * desktop.el (desktop-save): Default to saving in .emacs.d,
5980 since PWD is no longer in desktop-path by default. (Bug#15319)
5981
5982 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5983 now that text mode has a menu with the same entry.
5984 (menu-bar-text-mode-auto-fill): Remove now unused func.
5985 * textmodes/text-mode.el (text-mode-map):
5986 Use auto-fill help text from menu-bar.el.
5987
5988 2013-10-10 John Anthony <john@jo.hnanthony.com>
5989
5990 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5991
5992 2013-10-09 Juri Linkov <juri@jurta.org>
5993
5994 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5995 instead of this-command-keys. Add universal-argument-more and
5996 universal-argument-minus to the list of prefix commands. (Bug#15568)
5997
5998 2013-10-09 Glenn Morris <rgm@gnu.org>
5999
6000 * vc/vc-svn.el (vc-svn-create-repo):
6001 Expand paths in file://... url. (Bug#15446)
6002
6003 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6004 Add some entries.
6005 (authors): Remove unused local variables.
6006
6007 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * profiler.el: Create a more coherent calltree from partial backtraces.
6010 (profiler-format): Hide the tail with `invisible' so that C-s can still
6011 find the hidden elements.
6012 (profiler-calltree-depth): Don't recurse so enthusiastically.
6013 (profiler-function-equal): New hash-table-test.
6014 (profiler-calltree-build-unified): New function.
6015 (profiler-calltree-build): Use it.
6016 (profiler-report-make-name-part): Indent the calltree less.
6017 (profiler-report-mode): Add visibility specs for profiler-format.
6018 (profiler-report-expand-entry, profiler-report-toggle-entry):
6019 Expand the whole subtree when provided with a prefix arg.
6020
6021 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6022
6023 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6024 iuwu-mod token.
6025 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6026 hanging iuwu-mod token.
6027 (ruby-smie--forward-token): Do not include a dot after a token in
6028 that token.
6029 (ruby-smie--backward-token): Likewise.
6030
6031 2013-10-08 Juri Linkov <juri@jurta.org>
6032
6033 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6034 to isearch-other-control-char.
6035 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6036 and isearch-post-command-hook to post-command-hook.
6037 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6038 and isearch-post-command-hook from post-command-hook.
6039 (isearch-unread-key-sequence)
6040 (isearch-reread-key-sequence-naturally)
6041 (isearch-lookup-scroll-key, isearch-other-control-char)
6042 (isearch-other-meta-char): Remove functions.
6043 (isearch-pre-command-hook, isearch-post-command-hook):
6044 New functions based on isearch-other-meta-char rewritten
6045 relying on the new behavior of overriding-terminal-local-map
6046 that does not replace the local keymaps any more. (Bug#15200)
6047
6048 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6049
6050 Support menus on text-mode terminals.
6051 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6052 functionality.
6053
6054 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6055
6056 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6057 Move here from mouse.el.
6058 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6059 and arrow keys.
6060 (tty-menu-navigation-map): New map for TTY menu navigation.
6061
6062 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6063
6064 * frame.el (display-mouse-p): Report text-mode mouse as available
6065 on w32.
6066 (display-popup-menus-p): Report availability if mouse is
6067 available; don't condition on window-system.
6068
6069 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6070 (tty-menu-selected-face): New faces.
6071
6072 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6075 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6076 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6077 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6078 New constants.
6079 (lisp-mode-variables): New `elisp' argument.
6080 (emacs-lisp-mode): Use it.
6081 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6082 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6083
6084 * indent.el: Use lexical-binding.
6085 (indent-region): Add progress reporter.
6086 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6087 last step.
6088 (indent--next-tab-stop): New function to implement this behavior.
6089 (tab-to-tab-stop, move-to-tab-stop): Use it.
6090
6091 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6092
6093 * indent.el (indent-rigidly--current-indentation): New function.
6094 (indent-rigidly-map): New var.
6095 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6096
6097 2013-10-08 Bastien Guerry <bzg@gnu.org>
6098
6099 * register.el (insert-register): Fix 2013-10-07 change.
6100
6101 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * progmodes/perl-mode.el: Use lexical-binding.
6104 Remove redundant :group args.
6105 (perl-nochange): Change default to be closer to other major modes's
6106 standard behavior.
6107 (perl-indent-line): Don't consider text on current line as a
6108 valid beginning of function from which to indent.
6109
6110 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6111 with more than one argument (bug#15538).
6112
6113 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6114
6115 * vc/pcvs.el: Use lexical-binding.
6116 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6117 environment of `eval'.
6118 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6119 than a list of expressions. Adjust callers.
6120 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6121
6122 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6123
6124 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6125 case of the dot in a chained method call being on the following line.
6126
6127 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6128
6129 * electric.el (electric-indent-inhibit): New var.
6130 (electric-indent-post-self-insert-function): Use it.
6131 * progmodes/python.el (python-mode): Set it.
6132
6133 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6134 open braces.
6135
6136 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6137
6138 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6139 (css-mode): Use electric-indent-chars.
6140
6141 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6142 (font-lock-beg, font-lock-end): Move before first use.
6143 (nxml-mode): Use syntax-propertize-function.
6144 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6145 (nxml-extend-after-change-region): Remove.
6146 * nxml/xmltok.el: Use lexical-binding.
6147 (xmltok-save): Use `declare'.
6148 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6149 * nxml/nxml-util.el: Use lexical-binding.
6150 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6151 Use `declare'.
6152 * nxml/nxml-ns.el: Use lexical-binding.
6153 (nxml-ns-save): Use `declare'.
6154 (nxml-ns-prefixes-for): Avoid add-to-list.
6155 * nxml/rng-match.el: Use lexical-binding.
6156 (rng--ipattern): Use cl-defstruct.
6157 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6158 (rng-cons-group-after, rng-subst-group-after)
6159 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6160 Use closures instead of `(lambda...).
6161
6162 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6163
6164 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6165 of BEG and END.
6166
6167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6168 Use `tramp-handle-insert-file-contents'.
6169 (tramp-gvfs-handle-insert-file-contents): Remove function.
6170
6171 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6172 Use `save-restriction' in order to keep markers.
6173
6174 * net/trampver.el: Update release number.
6175
6176 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * progmodes/compile.el (compilation-parse-errors):
6179 Use compilation--put-prop.
6180 (compilation--ensure-parse): Check compilation-multiline.
6181
6182 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6183
6184 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6185 lexical-binding.
6186
6187 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6188
6189 * progmodes/ruby-mode.el: Fix recently added tests.
6190 (ruby-smie-grammar): Add - and +.
6191 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6192 (ruby-smie--backward-id): New functions.
6193 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6194 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6195 any more.
6196
6197 2013-10-07 Leo Liu <sdl.web@gmail.com>
6198
6199 * register.el (register-preview-delay)
6200 (register-preview-functions): New variables.
6201 (register-read-with-preview, register-preview)
6202 (register-describe-oneline): New functions.
6203 (point-to-register, window-configuration-to-register)
6204 (frame-configuration-to-register, jump-to-register)
6205 (number-to-register, view-register, insert-register)
6206 (copy-to-register, append-to-register, prepend-to-register)
6207 (copy-rectangle-to-register): Use register-read-with-preview to
6208 read register. (Bug#15525)
6209
6210 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6211
6212 * net/network-stream.el (network-stream-open-starttls): Don't add
6213 --insecure if it's already present, because that gnutls-cli
6214 rejects getting that parameter twice.
6215
6216 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6217
6218 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6219 keyword, too.
6220
6221 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6222
6223 * newcomment.el (comment-use-global-state): Change default value
6224 to t, mark obsolete (Bug#15251).
6225 (comment-beginning): In addition to `comment-to-syntax', check the
6226 value of `comment-use-global-state'.
6227
6228 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6231 (ruby-comment-column): Follow the global default, by default.
6232 (ruby-smie-grammar): Add assignment syntax.
6233 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6234 open-paren, a comma, or a \.
6235 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6236 and line continuations.
6237 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6238 followed by implicit semi-colons. Add rule for string concatenation
6239 and for indentation at BOB.
6240 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6241
6242 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6243 calling next-sexp, since next-token may have skipped chars which
6244 next-sexp doesn't know should be skipped!
6245
6246 2013-10-05 Leo Liu <sdl.web@gmail.com>
6247
6248 * progmodes/octave.el (octave-send-region):
6249 Call compilation-forget-errors.
6250
6251 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6252
6253 * vc/vc-svn.el (vc-svn-find-admin-dir):
6254 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6255 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6256 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6257 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6258
6259 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6262
6263 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * subr.el (read-passwd): Hide chars even when called within a context
6266 where after-change-functions is disabled (bug#15501).
6267 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6268 until we removed ourself from overriding-terminal-local-map.
6269
6270 2013-10-04 Leo Liu <sdl.web@gmail.com>
6271
6272 * progmodes/octave.el (inferior-octave-mode):
6273 Call compilation-forget-errors.
6274
6275 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6276
6277 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6278
6279 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * net/secrets.el (secrets-create-collection): Add optional
6282 argument ALIAS. Use proper Label keyword. Append ALIAS as
6283 dbus-call-method argument. (Bug#15516)
6284
6285 2013-10-04 Leo Liu <sdl.web@gmail.com>
6286
6287 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6288 (inferior-octave-compilation-font-lock-keywords): New variables.
6289 (compilation-error-regexp-alist)
6290 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6291 (inferior-octave-mode): Use compilation-shell-minor-mode.
6292
6293 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6294
6295 * minibuffer.el (completion--replace): Be careful that `end' might be
6296 a marker.
6297
6298 2013-10-03 Daiki Ueno <ueno@gnu.org>
6299
6300 Add support for package signature checking.
6301 * emacs-lisp/package.el (url-http-file-exists-p)
6302 (epg-make-context, epg-context-set-home-directory)
6303 (epg-verify-string, epg-context-result-for)
6304 (epg-signature-status, epg-signature-to-string)
6305 (epg-check-configuration, epg-configuration)
6306 (epg-import-keys-from-file): Declare.
6307 (package-check-signature): New user option.
6308 (package-unsigned-archives): New user option.
6309 (package-desc): Add `signed' field.
6310 (package-load-descriptor): Set `signed' field if .signed file exists.
6311 (package--archive-file-exists-p): New function.
6312 (package--check-signature): New function.
6313 (package-install-from-archive): Check package signature.
6314 (package--download-one-archive): Check archive signature.
6315 (package-delete): Remove .signed file.
6316 (package-import-keyring): New command.
6317 (package-refresh-contents): Import default keyring.
6318 (package-desc-status): Add "unsigned" status.
6319 (describe-package-1, package-menu--print-info)
6320 (package-menu-mark-delete, package-menu--find-upgrades)
6321 (package-menu--status-predicate): Support "unsigned" status.
6322
6323 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6326 the new compilation scheme using the new byte-codes.
6327
6328 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6329 (byte-pophandler): New byte codes.
6330 (byte-goto-ops): Adjust accordingly.
6331 (byte-compile--use-old-handlers): New var.
6332 (byte-compile-catch): Use new byte codes depending on
6333 byte-compile--use-old-handlers.
6334 (byte-compile-condition-case--old): Rename from
6335 byte-compile-condition-case.
6336 (byte-compile-condition-case--new): New function.
6337 (byte-compile-condition-case): New function that dispatches depending
6338 on byte-compile--use-old-handlers.
6339 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6340 when we can.
6341
6342 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6343 Optimize under `condition-case' and `catch' if
6344 byte-compile--use-old-handlers is nil.
6345 (disassemble-offset): Handle new bytecodes.
6346
6347 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * subr.el (error): Use `declare'.
6350 (decode-char, encode-char): Use advertised-calling-convention instead
6351 of the docstring to discourage use of the `restriction' arg.
6352
6353 2013-10-03 Daiki Ueno <ueno@gnu.org>
6354
6355 * epg.el (epg-verify-file): Add a comment saying that it does not
6356 notify verification error as a return value nor a signal.
6357 (epg-verify-string): Ditto.
6358
6359 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6360
6361 * progmodes/compile.el (compilation-start): Try globbing the arg to
6362 `cd' (bug#15417).
6363
6364 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6365
6366 Sync with Tramp 2.2.8.
6367
6368 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6369 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6370 * net/trampver.el: Update release number.
6371
6372 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6373
6374 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6375 and default-process-coding-system for darwin only.
6376
6377 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6378
6379 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6380
6381 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6382
6383 * vc/vc-git.el (vc-git-grep): Disable pager.
6384
6385 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6386
6387 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6388 Use :url instead of :homepage, as per
6389 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6390
6391 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6392 non-nil, use `syntax-ppss' (Bug#15251).
6393
6394 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6395
6396 * progmodes/octave.el (inferior-octave-startup-file):
6397 Prefer ~/.emacs.d/init_octave.m.
6398
6399 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6400
6401 * emacs-lisp/package.el (package-desc-from-define):
6402 Accept additional arguments as plist, convert them to an alist and store
6403 them in the `extras' slot.
6404 (package-generate-description-file): Convert extras alist back to
6405 plist and append to the `define-package' form arguments.
6406 (package--alist-to-plist): New function.
6407 (package--ac-desc): Add `extras' slot.
6408 (package--add-to-archive-contents): Check if the archive-contents
6409 vector is long enough, and if it is, pass its `extras' slot value
6410 to `package-desc-create'.
6411 (package-buffer-info): Call `lm-homepage', pass the returned value
6412 to `package-desc-from-define'.
6413 (describe-package-1): Render the homepage button (Bug#13291).
6414
6415 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6416 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6417
6418 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6419
6420 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6421 and default-process-coding-system to utf-8-unix (Bug#15402).
6422
6423 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6424
6425 * subr.el (looking-back): Do not recommend using looking-back.
6426
6427 2013-09-28 Alan Mackenzie <acm@muc.de>
6428
6429 Fix indentation/fontification of Java enum with "implements".
6430
6431 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6432 regexp which matches "implements", etc., in Java.
6433 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6434 specifier clauses coming after "enum".
6435 * progmodes/cc-fonts.el (c-font-lock-declarations)
6436 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6437 after "enum".
6438
6439 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6440
6441 * faces.el (region): Change ns_selection_color to
6442 ns_selection_fg_color, add ns_selection_bg_color.
6443
6444 2013-09-28 Leo Liu <sdl.web@gmail.com>
6445
6446 * progmodes/octave.el (inferior-octave-completion-table)
6447 (inferior-octave-completion-at-point): Minor tweaks.
6448
6449 * textmodes/ispell.el (ispell-lookup-words): Rename from
6450 lookup-words. (Bug#15460)
6451 (lookup-words): Obsolete.
6452 (ispell-complete-word, ispell-command-loop): All uses changed.
6453
6454 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6455
6456 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6457 (octave-mode-menu): Add octave-send-buffer.
6458 (octave-send-buffer): New function.
6459
6460 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6461
6462 * progmodes/octave.el (octave-mode-map): Add key binding for
6463 octave-lookfor.
6464 (octave-mode-menu): Add octave-lookfor.
6465 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6466 octave-lookfor.
6467 (octave-lookfor): New function.
6468
6469 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6472 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6473 its convention.
6474 (cl--loop-set-iterator-function): New function.
6475 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6476 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6477 Bind `it' with `let' instead of substituting it with `cl-subst'.
6478 (cl--unused-var-p): New function.
6479 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6480 Eliminate some unused variable warnings (bug#15326).
6481
6482 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6483
6484 * doc-view.el (doc-view-scale-reset): Rename from
6485 `doc-view-reset-zoom-level'.
6486 (doc-view-scale-adjust): New command.
6487 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6488 `doc-view-scale-adjust'.
6489
6490 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6491
6492 * doc-view.el (doc-view-reset-zoom-level): New command.
6493 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6494 zoom commands (bug#15466).
6495
6496 2013-09-26 Kenichi Handa <handa@gnu.org>
6497
6498 * international/quail.el (quail-help): Make it not a command.
6499
6500 2013-09-26 Leo Liu <sdl.web@gmail.com>
6501
6502 * minibuffer.el (completion-all-sorted-completions): Make args
6503 optional as they are.
6504
6505 2013-09-25 Daniel Colascione <dancol@dancol.org>
6506
6507 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6508 specs are and that they're not evaluated.
6509
6510 2013-09-24 Sam Steingold <sds@gnu.org>
6511
6512 * midnight.el (clean-buffer-list-kill-regexps)
6513 (clean-buffer-list-kill-buffer-names): Update for the new Man
6514 buffer naming which includes the object name.
6515
6516 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6519 (eshell-parse-command, eshell-parse-pipeline): Use it since
6520 eshell-separate-commands requires a dynamic scoped var.
6521 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6522
6523 2013-09-23 Leo Liu <sdl.web@gmail.com>
6524
6525 * autoinsert.el (auto-insert-alist): Make the value of
6526 lexical-binding match its file setting.
6527
6528 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6529
6530 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6531
6532 * autoarg.el (autoarg-kp-digit-argument):
6533 * electric.el (Electric-command-loop):
6534 * kmacro.el (kmacro-step-edit-insert):
6535 Do not set universal-argument-num-events.
6536
6537 2013-09-22 Leo Liu <sdl.web@gmail.com>
6538
6539 * files.el (interpreter-mode-alist): Add octave.
6540
6541 2013-09-21 Alan Mackenzie <acm@muc.de>
6542
6543 C++: fontify identifier in declaration following "public:" correctly.
6544 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6545 to match "public", etc.
6546 (c-decl-prefix-re): Add ":" into the C++ value.
6547 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6548 bit. Add a check for a ":" preceded by "public", etc.
6549
6550 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6551
6552 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6553 recognized by GDB 7.5 and later.
6554
6555 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6556
6557 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6558
6559 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * subr.el (internal--call-interactively): New const.
6562 (called-interactively-p): Use it (bug#3984).
6563
6564 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6565
6566 * vc/pcvs.el (cvs-mode-ignore):
6567 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6568 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6569
6570 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6573 (eshell-ls-orig-insert-directory): Remove.
6574 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6575 (eshell-ls-use-in-dired): Use advice-add/remove.
6576 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6577 Add `orig-fun' arg for use in :around advice.
6578 Make it check (redundantly) eshell-ls-use-in-dired.
6579
6580 2013-09-19 Glenn Morris <rgm@gnu.org>
6581
6582 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6583
6584 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6585
6586 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6587
6588 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6589
6590 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6591 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6592 (tramp-get-remote-python): New defuns.
6593 (tramp-get-remote-uid-with-perl)
6594 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6595 contributed by yary <not.com@gmail.com> (tiny change).
6596 (tramp-get-remote-uid-with-python)
6597 (tramp-get-remote-gid-with-python): New defuns. Python code
6598 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6599 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6600
6601 2013-09-19 Glenn Morris <rgm@gnu.org>
6602
6603 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6604
6605 * eshell/em-unix.el (eshell-remove-entries):
6606 Rename argument to avoid name-clash with global `top-level'.
6607
6608 * eshell/esh-proc.el (eshell-kill-process-function):
6609 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6610 (eshell-reset-after-proc): Remove unused arg `proc'.
6611
6612 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6613 (directory-files-and-attributes): Mark unused arg.
6614
6615 * eshell/em-unix.el (eshell-remove-entries):
6616 Remove unused arg `path'. Update callers.
6617
6618 * eshell/em-hist.el (eshell-hist-parse-arguments):
6619 Remove unused arg `silent'. Update callers.
6620
6621 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6622 Fix (f)boundp mix-up.
6623
6624 * eshell/em-smart.el (eshell-smart-scroll-window)
6625 (eshell-disable-after-change):
6626 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6627
6628 2013-09-18 Alan Mackenzie <acm@muc.de>
6629
6630 Fix fontification of type when followed by "const".
6631 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6632 "known" types from fontification.
6633
6634 2013-09-18 Glenn Morris <rgm@gnu.org>
6635
6636 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6637 (chart-face-list): Drop Emacsen without display-color-p.
6638
6639 * net/eww.el (libxml-parse-html-region): Declare.
6640 (eww-display-html): Explicit error if no libxml2 support.
6641
6642 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6643
6644 * image.el (image-type-from-buffer, image-multi-frame-p):
6645 Remove --without-x warning/error.
6646
6647 * mouse.el (mouse-yank-primary):
6648 * term.el (term-mouse-paste):
6649 Reorder to silence --without-x compilation.
6650
6651 * mpc.el (doc-view-mode): Silence --without-x compilation.
6652
6653 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6654 Silence --without-x compilation.
6655
6656 * progmodes/gud.el (gud-find-file, gud-mode):
6657 Silence --without-x compilation.
6658 (tooltip-mode): Declare.
6659
6660 * wdired.el (dired-backup-overwrite): Remove declaration.
6661 (wdired-mode-map): Add doc string.
6662
6663 * custom.el (x-get-resource): Declare.
6664
6665 * eshell/em-glob.el (ange-cache):
6666 * eshell/em-unix.el (ange-cache): Declare.
6667
6668 * faces.el (x-display-list, x-open-connection, x-get-resource):
6669 Declare.
6670
6671 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6672 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6673 Declare.
6674
6675 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6676
6677 * net/gnutls.el (gnutls-log-level): Declare.
6678
6679 * net/shr.el (image-size, image-animate): Declare.
6680
6681 * simple.el (font-info): Declare.
6682
6683 * subr.el (x-popup-dialog): Declare.
6684
6685 * term/common-win.el (x-select-enable-primary)
6686 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6687 Declare.
6688
6689 * term/ns-win.el (x-handle-args): Declare.
6690
6691 * term/x-win.el (x-select-enable-clipboard): Declare.
6692
6693 * term/w32-win.el (create-default-fontset): Declare.
6694
6695 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6696 Declare.
6697
6698 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6699 (fit-frame-to-buffer): Explicit error if --without-x.
6700 (mouse-autoselect-window-select): Silence compiler.
6701
6702 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6703
6704 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6705 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6706 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6707 * eshell/esh-util.el (eshell-sublist):
6708 Remove unused local variables.
6709
6710 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6711
6712 * textmodes/two-column.el: Make 2C-split work for --without-x.
6713 (scroll-bar-columns): Autoload.
6714 (top-level): Require fringe when compiling.
6715
6716 2013-09-18 Leo Liu <sdl.web@gmail.com>
6717
6718 * subr.el (add-hook): Robustify to handle closure as well.
6719
6720 2013-09-17 Glenn Morris <rgm@gnu.org>
6721
6722 * simple.el (messages-buffer-mode-map): Unbind "g".
6723
6724 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * help-mode.el (help-mode-finish): Use derived-mode-p.
6727 Remove obsolete highlighting.
6728
6729 * play/life.el (life-mode): Use define-derived-mode. Derive from
6730 special-mode.
6731 (life): Let-bind inhibit-read-only.
6732 (life-setup): Avoid `setq'. Use `life-mode'.
6733
6734 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6735 which should not be needed any more.
6736 (package-menu-refresh, package-menu-describe-package): Use user-error.
6737
6738 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6739 (eshell-post-rewrite-command-hook): Make obsolete.
6740 (eshell-parse-command): Simplify.
6741 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6742 (eshell--cmd): Declare.
6743 (eshell-parse-pipeline): Remove unused var `final-p'.
6744 Pass a dynvar to eshell-post-rewrite-command-hook.
6745 Implement the new eshell-post-rewrite-command-function.
6746 (eshell-invoke-directly): Remove unused arg `input'.
6747 * eshell/esh-io.el (eshell-io-initialize):
6748 Use eshell-post-rewrite-command-function (bug#15399).
6749 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6750 adjust to new calling convention.
6751 (eshell-create-handles): Rename args to avoid clashing with dynvar
6752 `standard-output'.
6753
6754 2013-09-17 Glenn Morris <rgm@gnu.org>
6755
6756 * simple.el (messages-buffer-mode): New major mode.
6757 (messages-buffer): New function.
6758 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6759 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6760 (ert-run-test): Use `messages-buffer' function.
6761 (ert--force-message-log-buffer-truncation): Ignore read-only.
6762 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6763 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6764
6765 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6768
6769 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6770
6771 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * icomplete.el (icomplete-in-buffer): New var.
6774 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6775 vars and replace them with functions.
6776 (icomplete-minibuffer-setup): Adjust accordingly.
6777 (icomplete--completion-table, icomplete--completion-predicate)
6778 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6779 New functions.
6780 (icomplete-forward-completions, icomplete-backward-completions)
6781 (icomplete-simple-completing-p, icomplete-exhibit)
6782 (icomplete-completions): Use them.
6783 (icomplete--in-region-buffer): New var.
6784 (icomplete--in-region-setup): New function.
6785 (icomplete-mode): Use it.
6786
6787 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6788 (bug#15379).
6789 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6790 return args and options.
6791 (eshell-eval-using-options): Use the new return value of
6792 eshell--do-opts to set the options's vars in their scope.
6793 (eshell--set-option): Rename from eshell-set-option.
6794 Add arg `opt-vals'.
6795 (eshell--process-option): Rename from eshell-process-option.
6796 Add arg `opt-vals'.
6797 (eshell--process-args): Use an `opt-vals' alist to store the options's
6798 values during their processing and return them additionally to the
6799 remaining args.
6800
6801 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6802
6803 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6804 continuation character an operator, as far as indentation is
6805 concerned (Bug#15369).
6806
6807 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6808
6809 * window.el (window--state-put-2): Don't process buffer state
6810 when buffer doesn't exist any more (Bug#15382).
6811
6812 2013-09-15 Glenn Morris <rgm@gnu.org>
6813
6814 * eshell/em-unix.el (eshell/rm):
6815 Make -f ignore missing files. (Bug#15373)
6816
6817 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6818 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6819 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6820
6821 2013-09-14 Glenn Morris <rgm@gnu.org>
6822
6823 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6824
6825 2013-09-13 Glenn Morris <rgm@gnu.org>
6826
6827 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6828 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6829
6830 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6831
6832 * frame.el (x-focus-frame): Mark as declared in frame.c.
6833
6834 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * ls-lisp.el: Use advice-add.
6837 (original-insert-directory): Remove.
6838 (ls-lisp--insert-directory): Rename from insert-directory; add
6839 `orig-fun' argument.
6840 (insert-directory): Advise.
6841
6842 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6843
6844 * term.el (term-emulate-terminal): Decode the command string
6845 before passing it to term-command-hook. (Bug#15337)
6846
6847 2013-09-13 Glenn Morris <rgm@gnu.org>
6848
6849 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6850
6851 * eshell/esh-ext.el (eshell-search-path): Declare.
6852
6853 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6854 Otherwise an error occurs if eshell-dirs module not loaded.
6855
6856 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6857
6858 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6859
6860 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6861 `tramp-check-proper-host'. Check for a valid method name.
6862
6863 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6864 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6865 * net/tramp-sh.el (tramp-maybe-open-connection):
6866 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6867
6868 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6869 also for hash values.
6870
6871 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * term/ns-win.el (parameters): Don't declare as dynamic.
6874 (before-make-frame-hook): Don't add ineffective function.
6875
6876 * eshell/*.el: Use lexical-binding (bug#15231).
6877
6878 2013-09-12 Kenichi Handa <handa@gnu.org>
6879
6880 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6881
6882 2013-09-12 Glenn Morris <rgm@gnu.org>
6883
6884 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6885 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6886
6887 * subr.el (do-after-load-evaluation): Also give compiler warnings
6888 when obsolete files are used (except by obsolete files).
6889
6890 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6891 in the status output, assume `filename' is the first. (Bug#15322)
6892
6893 * vc/vc.el (vc-deduce-fileset): Doc fix.
6894
6895 * calc/calc-help.el (Info-goto-node):
6896 * progmodes/cperl-mode.el (Info-find-node):
6897 * vc/ediff.el (Info-goto-node): Update declarations.
6898
6899 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6900
6901 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6902 (vc-bzr-pull): Require vc-dispatcher.
6903 * vc/vc-git.el (vc-compilation-mode): Declare.
6904 (vc-git-pull): Require vc-dispatcher.
6905
6906 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6907
6908 * progmodes/octave.el (help-button-action): Declare.
6909
6910 * shell.el (shell-directory-tracker): Output error as a message
6911 rather than just returning it as a string.
6912 (shell-process-pushd): Remove useless use of message.
6913
6914 * dframe.el (dframe-timer-fn):
6915 * files.el (dir-locals-read-from-file):
6916 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6917 (mpc-format):
6918 * reveal.el (reveal-post-command):
6919 * saveplace.el (load-save-place-alist-from-file):
6920 * shell.el (shell-resync-dirs):
6921 * w32-common-fns.el (x-get-selection-value):
6922 * emacs-lisp/copyright.el (copyright-find-copyright):
6923 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6924 * emulation/tpu-edt.el (tpu-copy-keyfile):
6925 * play/bubbles.el (bubbles--mark-neighbourhood):
6926 * progmodes/executable.el
6927 (executable-make-buffer-file-executable-if-script-p):
6928 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6929
6930 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 Cleanup Eshell to rely less on dynamic scoping.
6933 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6934 last-value, and ext-command here. Bind `args' closer to `body'.
6935 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6936 (eshell--args): Declare new dynamic var.
6937 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6938 last-value, and ext-command. Pass `args' to `body'.
6939 (eshell-process-args): Bind eshell--args.
6940 (eshell-set-option): Use eshell--args.
6941 * eshell/eshell.el (eshell): Use derived-mode-p.
6942 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6943 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6944 (eshell-glob-function): Declare.
6945 * eshell/esh-util.el: Require cl-lib.
6946 (eshell-read-hosts-file): Avoid add-to-list.
6947 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6948 `err'.
6949 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6950 Declare.
6951 (eshell/diff): Remove unused var `err'.
6952 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6953 `killflag'.
6954 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6955 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6956 first use.
6957 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6958 Move declaration before first use.
6959 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6960 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6961 rely on cl-return.
6962
6963 2013-09-12 Glenn Morris <rgm@gnu.org>
6964
6965 * term/ns-win.el (global-map): Remove binding for ispell-next,
6966 deleted 1999-05-29. (Bug#15357)
6967
6968 2013-09-11 Glenn Morris <rgm@gnu.org>
6969
6970 * echistory.el (electric-command-history): Remove call to deleted func.
6971
6972 * play/landmark.el (landmark-mode): Fix typos.
6973
6974 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6975 Check cvs-sort-ignore-file is bound.
6976
6977 * savehist.el: No need for cl when compiling on Emacs.
6978
6979 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6982 (bug#15338).
6983 (eshell-self-insert-command, eshell-send-invisible):
6984 Remove unused argument.
6985 (eshell-handle-control-codes): Remove unused var `orig'.
6986 Avoid delete-backward-char.
6987
6988 * files.el (set-auto-mode): Simplify a bit further.
6989
6990 2013-09-11 Glenn Morris <rgm@gnu.org>
6991
6992 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6993 (set-auto-mode): Don't regexp-quote elements.
6994 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6995 * progmodes/cc-mode.el (interpreter-mode-alist):
6996 * progmodes/ruby-mode.el (interpreter-mode-alist):
6997 Revert previous change.
6998
6999 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * play/snake.el (snake-mode):
7002 * play/mpuz.el (mpuz-mode):
7003 * play/landmark.el (lm-mode):
7004 * play/blackbox.el (blackbox-mode):
7005 * play/5x5.el (5x5-mode):
7006 * obsolete/options.el (Edit-options-mode):
7007 * net/quickurl.el (quickurl-list-mode):
7008 * net/newst-treeview.el (newsticker-treeview-mode):
7009 * mail/rmailsum.el (rmail-summary-mode):
7010 * mail/mspools.el (mspools-mode):
7011 * locate.el (locate-mode):
7012 * ibuffer.el (ibuffer-mode):
7013 * emulation/ws-mode.el (wordstar-mode):
7014 * emacs-lisp/debug.el (debugger-mode):
7015 * array.el (array-mode):
7016 * net/eudc.el (eudc-mode): Use define-derived-mode.
7017 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7018 Move initialization into declaration.
7019 (mairix-searches-mode): Use define-derived-mode.
7020 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7021 (eudc-edit-hotlist): Use dolist.
7022 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7023 (Man-mode): Use define-derived-mode.
7024 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7025 (Info-edit-mode): Use define-derived-mode.
7026 (Info-cease-edit): Use Info-mode.
7027 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7028 into declaration.
7029 (eshell-mode): Use define-derived-mode.
7030 * chistory.el (command-history-mode-map): Rename from
7031 command-history-map.
7032 (command-history-mode): Use define-derived-mode.
7033 (Command-history-setup): Remove function.
7034 * calc/calc.el (calc-trail-mode-map): New var.
7035 (calc-trail-mode): Use define-derived-mode.
7036 (calc-trail-buffer): Set calc-main-buffer manually.
7037 * bookmark.el (bookmark-insert-annotation): New function.
7038 (bookmark-edit-annotation): Use it.
7039 (bookmark-edit-annotation-mode): Make it a proper major mode.
7040 (bookmark-send-edited-annotation): Use derived-mode-p.
7041 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7042 closer to its ideal place. Use \' to match EOS.
7043
7044 * profiler.el (profiler-calltree-find): Use function-equal.
7045
7046 2013-09-10 Glenn Morris <rgm@gnu.org>
7047
7048 * files.el (interpreter-mode-alist): Convert to regexps.
7049 (set-auto-mode): Adapt for this. (Bug#15306)
7050 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7051 Comment out unused variable.
7052 * progmodes/cc-mode.el (interpreter-mode-alist):
7053 * progmodes/python.el (interpreter-mode-alist):
7054 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7055 * progmodes/sh-script.el (sh-set-shell):
7056 No longer use interpreter-mode-alist to get list of shells.
7057
7058 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7059
7060 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * simple.el: Use set-temporary-overlay-map for universal-argument.
7063 (universal-argument-map): Don't use default-bindings (bug#15317).
7064 Bind switch-frame explicitly. Replace universal-argument-minus with
7065 a conditional binding.
7066 (universal-argument-num-events, saved-overriding-map): Remove.
7067 (restore-overriding-map): Remove.
7068 (universal-argument--mode): Rename from save&set-overriding-map,
7069 and rewrite.
7070 (universal-argument, universal-argument-more, negative-argument)
7071 (digit-argument): Adjust accordingly.
7072 (universal-argument-minus): Remove.
7073 (universal-argument-other-key): Remove.
7074
7075 * subr.el (with-demoted-errors): Add `format' argument.
7076
7077 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7078
7079 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7080 `tramp-cleanup-connection'.
7081
7082 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7083 parameters KEEP-DEBUG and KEEP-PASSWORD.
7084
7085 * net/tramp.el (tramp-file-name-handler):
7086 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7087 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7088 (tramp-maybe-open-connection):
7089 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7090 Use `tramp-cleanup-connection'.
7091
7092 * net/tramp-sh.el (tramp-maybe-open-connection):
7093 Catch 'uname-changed inside the progress reporter.
7094
7095 2013-09-10 Glenn Morris <rgm@gnu.org>
7096
7097 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7098
7099 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7100 returns "alternate access method" in mode (eg "-rw-r--r--.").
7101
7102 2013-09-08 Glenn Morris <rgm@gnu.org>
7103
7104 * saveplace.el (load-save-place-alist-from-file):
7105 Demote errors. (Bug#15305)
7106
7107 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7108
7109 Improve compatibility with older Emacsen, and XEmacs.
7110
7111 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7112 only if it is bound. It isn't for XEmacs.
7113 (with-tramp-progress-reporter): Do not let-bind `result'.
7114 This yields to scoping errors in XEmacs.
7115 (tramp-handle-make-auto-save-file-name): New function, moved from
7116 tramp-sh.el.
7117
7118 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7119 for `make-auto-save-file-name'.
7120 (tramp-adb--gnu-switches-to-ash):
7121 Use `tramp-compat-replace-regexp-in-string'.
7122
7123 * net/tramp-cache.el (tramp-cache-print): Call
7124 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7125
7126 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7127 bound. It isn't for XEmacs.
7128
7129 * net/tramp-compat.el (tramp-compat-copy-file):
7130 Catch `wrong-number-of-arguments' error.
7131 (tramp-compat-replace-regexp-in-string): New defun.
7132
7133 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7134 for `make-auto-save-file-name'.
7135 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7136 `copy-file'.
7137 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7138 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7139 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7140
7141 * net/tramp-gw.el (tramp-gw-open-network-stream):
7142 Use `tramp-compat-replace-regexp-in-string'.
7143
7144 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7145 Call `tramp-handle-make-auto-save-file-name'.
7146 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7147 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7148 (tramp-sh-file-inotifywait-process-filter):
7149 Use `tramp-compat-replace-regexp-in-string'.
7150 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7151
7152 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7153 for `make-auto-save-file-name'.
7154 (tramp-smb-handle-copy-directory):
7155 Call `tramp-compat-replace-regexp-in-string'.
7156 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7157 (tramp-smb-handle-copy-file): Improve error message.
7158 (tramp-smb-handle-rename-file): Rename directly only in case
7159 `newname' does not exist yet. This is a restriction of smbclient.
7160 (tramp-smb-maybe-open-connection): Rerun the function only when
7161 `auth-sources' is non-nil.
7162
7163 2013-09-08 Kenichi Handa <handa@gnu.org>
7164
7165 * international/characters.el: Set category "^" (Combining) for
7166 more characters.
7167
7168 2013-09-07 Alan Mackenzie <acm@muc.de>
7169
7170 Correctly fontify Java class constructors.
7171 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7172 in Java Mode.
7173 (c-recognize-typeless-decls): Set the Java value to t.
7174 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7175 While handling a "(", add a check for, effectively, Java, and handle a
7176 "typeless" declaration there.
7177
7178 2013-09-07 Roland Winkler <winkler@gnu.org>
7179
7180 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7181 field subtitle for entry type book.
7182
7183 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * minibuffer.el: Make minibuffer-complete call completion-in-region
7186 rather than other way around.
7187 (completion--some, completion-pcm--find-all-completions):
7188 Don't delay signals when debugging.
7189 (minibuffer-completion-contents): Beware fields within the
7190 minibuffer contents.
7191 (completion-all-sorted-completions): Use defvar-local.
7192 (completion--do-completion, completion--cache-all-sorted-completions)
7193 (completion-all-sorted-completions, minibuffer-force-complete):
7194 Add args `beg' and `end'.
7195 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7196 (minibuffer-complete): Use completion-in-region.
7197 (completion-complete-and-exit): New fun, extracted from
7198 minibuffer-complete-and-exit.
7199 (minibuffer-complete-and-exit): Use it.
7200 (completion--complete-and-exit): Rename from
7201 minibuffer--complete-and-exit.
7202 (completion-in-region--single-word): New function, extracted from
7203 minibuffer-complete-word.
7204 (minibuffer-complete-word): Use it.
7205 (display-completion-list): Make `common-substring' argument obsolete.
7206 (completion--in-region): Call completion--in-region-1 instead of
7207 minibuffer-complete.
7208 (completion-help-at-point): Pass boundaries to
7209 minibuffer-completion-help as args rather than via an overlay.
7210 (completion-pcm--string->pattern): Use `any-delim'.
7211 (completion-pcm--optimize-pattern): New function.
7212 (completion-pcm--pattern->regex): Handle `any-delim'.
7213 * icomplete.el (icomplete-forward-completions)
7214 (icomplete-backward-completions, icomplete-completions):
7215 Adjust calls to completion-all-sorted-completions and
7216 completion--cache-all-sorted-completions.
7217 (icomplete-with-completion-tables): Default to t.
7218 * emacs-lisp/crm.el (crm--current-element): Rename from
7219 crm--select-current-element. Don't put an overlay but return the
7220 boundaries instead.
7221 (crm--completion-command): Take two new args to bind to the boundaries.
7222 (crm-completion-help): Adjust accordingly.
7223 (crm-complete): Use completion-in-region.
7224 (crm-complete-word): Use completion-in-region--single-word.
7225 (crm-complete-and-exit): Use completion-complete-and-exit.
7226
7227 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7230 than dynamically.
7231
7232 2013-09-06 Juri Linkov <juri@jurta.org>
7233
7234 * info.el (Info-display-images-node): When image file doesn't exist
7235 display text version of the image if it's provided in the Info file.
7236 Otherwise, display the location of missing image from SRC attribute.
7237 Add help-echo text property from ALT attribute. (Bug#15279)
7238
7239 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7242 (edit-abbrevs-mode): Use define-derived-mode.
7243
7244 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7245 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7246 that it's defined.
7247 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7248 Use define-derived-mode.
7249
7250 * epg.el (epg-start-encrypt): Minor CSE simplification.
7251
7252 2013-09-06 William Xu <william.xwl@gmail.com>
7253
7254 * arc-mode.el: Add support for 7za (bug#15264).
7255 (archive-7z-program): New var.
7256 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7257 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7258 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7259
7260 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7261
7262 Remove URL syntax.
7263
7264 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7265 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7266 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7267 (tramp-postfix-host-format, tramp-file-name-regexp)
7268 (tramp-completion-file-name-regexp)
7269 (tramp-completion-dissect-file-name)
7270 (tramp-handle-substitute-in-file-name): Remove 'url case.
7271 (tramp-file-name-regexp-url)
7272 (tramp-completion-file-name-regexp-url): Remove constants.
7273
7274 2013-09-06 Glenn Morris <rgm@gnu.org>
7275
7276 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7277
7278 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7279
7280 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7281 keywords" below "here-doc beginnings" (Bug#15270).
7282
7283 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * subr.el (pop): Use `car-safe'.
7286 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7287 to detect unused `pop' return value.
7288
7289 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7290 var `block-regexp'.
7291 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7292 (python-fill-string): Remove unused var `marker'.
7293 (python-skeleton-add-menu-items): Remove unused var `items'.
7294
7295 * international/mule-cmds.el: Require CL.
7296 (find-coding-systems-for-charsets): Avoid add-to-list.
7297 (sanitize-coding-system-list): New function, extracted from
7298 select-safe-coding-system-interactively.
7299 (select-safe-coding-system-interactively): Use it.
7300 (read-input-method-name): Accept symbols for `default'.
7301
7302 * emacs-lisp/advice.el (defadvice): Add indent rule.
7303
7304 2013-09-05 Daniel Hackney <dan@haxney.org>
7305
7306 * dired-x.el:
7307 * net/ange-ftp.el:
7308 * net/browse-url.el:
7309 * net/dbus.el:
7310 * net/eudc.el:
7311 * net/eudcb-ldap.el:
7312 * net/eww.el:
7313 * net/imap.el:
7314 * printing.el:
7315 * vc/ediff-diff.el:
7316 * vc/ediff-init.el:
7317 * vc/ediff-merg.el:
7318 * vc/ediff-mult.el:
7319 * vc/ediff-util.el:
7320 * vc/ediff-wind.el:
7321 * vc/ediff.el:
7322 * vc/emerge.el:
7323 * vc/pcvs.el:
7324 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7325 byte compiler. Remove some unused let-bound variables.
7326
7327 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7330 a "ref-cell", since it gets better optimized (bug#14883).
7331
7332 2013-09-05 Glenn Morris <rgm@gnu.org>
7333
7334 * progmodes/cc-awk.el (c-forward-sws): Declare.
7335
7336 2013-09-04 Glenn Morris <rgm@gnu.org>
7337
7338 * generic-x.el [rul-generic-mode]: Require cc-mode.
7339 (c++-mode-syntax-table): Declare.
7340 (rul-generic-mode-syntax-table): Init in the defvar.
7341
7342 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7345 (vc-do-command, vc-set-async-update):
7346 * vc/vc-mtn.el (vc-mtn-dir-status):
7347 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7348 (vc-hg-pull, vc-hg-merge-branch):
7349 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7350 (vc-git-merge-branch):
7351 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7352 (vc-cvs-dir-status-files):
7353 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7354 (vc-bzr-dir-status-files):
7355 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7356 * vc/vc-annotate.el: Use lexical-binding.
7357 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7358 (vc-sentinel-movepoint): Declare.
7359 (vc-annotate): Don't use `goto-line'.
7360 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7361 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7362 (vc-sentinel-movepoint): Declare.
7363 * vc/vc-svn.el: Use lexical-binding.
7364 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7365 * vc/vc-sccs.el:
7366 * vc/vc-rcs.el: Use lexical-binding.
7367
7368 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7369 `deleted'. Don't drop errors silently.
7370
7371 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7372
7373 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7374
7375 * vc/vc.el (vc-ignore): Rewrite.
7376 (vc-default-ignore): New function.
7377 (vc-default-ignore-completion-table): Use find-ignore-file.
7378
7379 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7380 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7381 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7382 Remove. Most code moved to vc.el.
7383
7384 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7387 * net/tramp-smb.el (tramp-smb-get-file-entries):
7388 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7389 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7390
7391 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7392 Update call to it.
7393 (eww-change-select): Remove unused var `properties'.
7394 (eww-make-unique-file-name): Remove unused var `base'.
7395
7396 * finder.el (finder-compile-keywords): Don't mess with windows.
7397
7398 * calculator.el (calculator-funcall): Fix typo in last change.
7399
7400 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7401
7402 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7403 <pkg>-autoloads.el file stop us.
7404
7405 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7406 warnings, and factor out common code.
7407
7408 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7409
7410 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7411 two-character operators and whether the character preceding them
7412 changes their meaning (Bug#15208).
7413
7414 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7415
7416 Format code sent to Python shell for robustness.
7417 * progmodes/python.el (python-shell-buffer-substring):
7418 New function.
7419 (python-shell-send-region, python-shell-send-buffer): Use it.
7420
7421 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7424 * net/tramp.el (tramp-user-error): ... here.
7425 (tramp-find-method, tramp-check-proper-host)
7426 (tramp-dissect-file-name, tramp-debug-message)
7427 (tramp-handle-shell-command):
7428 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7429 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7430
7431 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7432
7433 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7434
7435 * avoid.el (mouse-avoidance-point-position)
7436 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7437 returns nil.
7438
7439 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7440
7441 * progmodes/python.el (python-shell-completion-get-completions):
7442 Drop use of deleted `comint-last-prompt-overlay'.
7443 (python-nav-if-name-main): New command.
7444
7445 2013-09-01 Glenn Morris <rgm@gnu.org>
7446
7447 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7448 Avoid leading space in $wins. Otherwise the sed command used by
7449 eg compile-main ends up containing "/*.el". (Bug#15170)
7450
7451 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7452
7453 2013-08-30 Glenn Morris <rgm@gnu.org>
7454
7455 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7456 Fix is-this-a-directory logic. (Bug#15220)
7457
7458 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * textmodes/css-mode.el: Use SMIE.
7461 (css-smie-grammar): New var.
7462 (css-smie--forward-token, css-smie--backward-token)
7463 (css-smie-rules): New functions.
7464 (css-mode): Use them.
7465 (css-navigation-syntax-table): Remove var.
7466 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7467 (css-indent-calculate, css-indent-line): Remove functions.
7468
7469 Misc changes to reduce use of `(lambda...); and other cleanups.
7470 * cus-edit.el: Use lexical-binding.
7471 (customize-push-and-save, customize-apropos)
7472 (custom-buffer-create-internal): Use closures.
7473 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7474 * progmodes/ada-xref.el: Use setq.
7475 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7476 * dframe.el: Use lexical-binding.
7477 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7478 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7479 * descr-text.el: Use lexical-binding.
7480 (describe-text-widget, describe-text-sexp, describe-property-list):
7481 Use closures.
7482 * comint.el (comint-history-isearch-push-state): Use a closure.
7483 * calculator.el: Use lexical-binding.
7484 (calculator-number-to-string): Make it work with lexical-binding.
7485 (calculator-funcall): Same and use cl-letf.
7486
7487 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7488 (lisp--company-doc-string, lisp--company-location): New functions.
7489 (lisp-completion-at-point): Use them to improve Company support.
7490
7491 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7492 params of lambda expressions.
7493 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7494 (ruby-smie--opening-pipe-p): New function.
7495 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7496 symbols and matched |...| for formal params.
7497 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7498 from being treated as hanging. Handle "rescue".
7499
7500 2013-08-29 Glenn Morris <rgm@gnu.org>
7501
7502 * progmodes/cc-engine.el (c-pull-open-brace):
7503 Move definition before use.
7504
7505 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7508 are immutable. Don't use `unsafe' any more.
7509 (cl--defsubst-expand): Don't substitute at the same time as keeping
7510 a residual unused let-binding. Don't use `unsafe' any more.
7511
7512 2013-08-29 Glenn Morris <rgm@gnu.org>
7513
7514 * calendar/cal-china.el (calendar-chinese-year-cache):
7515 Recenter on 2015.
7516
7517 * nxml/nxml-util.el (nxml-debug-clear-inside):
7518 Use cl-loop rather than loop.
7519
7520 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7521
7522 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7523
7524 2013-08-28 Glenn Morris <rgm@gnu.org>
7525
7526 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7527
7528 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7529
7530 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7531
7532 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7533
7534 * simple.el (repeat-complex-command--called-interactively-skip):
7535 New function.
7536 (repeat-complex-command): Use it (bug#14136).
7537
7538 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7539 (c-define-abbrev-table): Add `doc' argument.
7540 (c-mode-abbrev-table, c++-mode-abbrev-table)
7541 (objc-mode-abbrev-table, java-mode-abbrev-table)
7542 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7543 (awk-mode-abbrev-table): Use it.
7544 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7545 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7546 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7547 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7548 Move initialization into the declaration; and remove any
7549 autoload cookie.
7550
7551 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7552 and dynamic let binding.
7553
7554 * vc/smerge-mode.el: Remove redundant :group args.
7555
7556 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7557 to load-path.
7558
7559 2013-08-28 Juri Linkov <juri@jurta.org>
7560
7561 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7562 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7563 (isearch-other-meta-char): Handle an undefined shifted printing
7564 character by downshifting it. (Bug#15200)
7565
7566 2013-08-28 Juri Linkov <juri@jurta.org>
7567
7568 * isearch.el (isearch-search): Change regexp error message for
7569 non-regexp searches. (Bug#15166)
7570
7571 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7572
7573 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7574 for portability to hosts where /bin/sh has problems.
7575
7576 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7579
7580 2013-08-27 Juri Linkov <juri@jurta.org>
7581
7582 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7583 in the keyboard macro. (Bug#15126)
7584
7585 2013-08-27 Juri Linkov <juri@jurta.org>
7586
7587 * isearch.el (isearch-quote-char): Comment out converting unibyte
7588 to multibyte, thus syncing with its `quoted-insert' counterpart.
7589 (Bug#15166)
7590
7591 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7592
7593 * window.el (display-buffer-use-some-window): Add missing
7594 argument in call of get-largest-window (Bug#15185).
7595 Reported by Stephen Leake.
7596
7597 2013-08-27 Glenn Morris <rgm@gnu.org>
7598
7599 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7600
7601 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7604 from a matcher-function unless there's no more matches (bug#15161).
7605
7606 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7607
7608 * minibuffer.el: Revert change from 2013-08-20.
7609
7610 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7611 with text property `tramp-default', if appropriate.
7612 (tramp-check-proper-host): New defun.
7613 (tramp-dissect-file-name): Do not check hostname. Revert change
7614 of 2013-03-18.
7615 (tramp-backtrace): Make VEC-OR-PROC optional.
7616
7617 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7618 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7619 * net/tramp-sh.el (tramp-maybe-open-connection):
7620 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7621 Apply `tramp-check-proper-host'.
7622
7623 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7624
7625 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7626 lambda expression in order to have `describe-variable' display it.
7627
7628 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7629
7630 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7631 BUF can be optional. (Bug#15186)
7632
7633 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7634
7635 * progmodes/flymake.el (flymake-get-real-file-name-function):
7636 Fix broken customization. (Bug#15184)
7637
7638 2013-08-25 Alan Mackenzie <acm@muc.de>
7639
7640 Improve indentation of bracelists defined by macros (without "=").
7641
7642 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7643 expansion begins with "{", regard it as bracelist when it doesn't
7644 contain a ";".
7645
7646 Parse C++ inher-intro when there's a template split over 2 lines.
7647
7648 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7649 rigorously the search for "class" etc. followed by ":".
7650
7651 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7652 random languages a regexp which never matches rather than nil.
7653
7654 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7655
7656 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7657 (c-awk-regexp-one-line-possibly-open-char-list-re)
7658 (c-awk-one-line-possibly-open-regexp-re)
7659 (c-awk-one-line-non-syn-ws*-re): Remove.
7660 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7661 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7662 (c-awk-space*-unclosed-regexp-/-re): New constants.
7663 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7664 aren't regexp delimiters.
7665
7666 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7667 handling for a rare situation in AWK Mode involving unterminated
7668 strings/regexps.
7669
7670 2013-08-23 Glenn Morris <rgm@gnu.org>
7671
7672 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7673
7674 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7675
7676 * files.el (create-file-buffer): If the result would begin with
7677 spaces, prepend a "|" instead of removing them. (Bug#15162)
7678
7679 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7682 text-properties (bug#15155).
7683
7684 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7685 exist any more.
7686 (calc-keypad-redraw): Remove unused var `pad'.
7687 (calc-keypad-press): Remove unused var `menu'.
7688
7689 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7690
7691 * window.el (display-buffer-pop-up-frame):
7692 Call pop-up-frame-function with BUFFER current so `make-frame' will
7693 use it as the new frame's buffer (Bug#15133).
7694
7695 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * calendar/timeclock.el: Minor cleanups.
7698 (timeclock-ask-before-exiting, timeclock-use-display-time):
7699 Use `symbol'.
7700 (timeclock-modeline-display): Define as alias before the
7701 actual definition.
7702 (timeclock-mode-line-display): Use define-minor-mode.
7703 (timeclock-day-list-template): Make it a function, add an argument.
7704 (timeclock-day-list-required, timeclock-day-list-length)
7705 (timeclock-day-list-debt, timeclock-day-list-span)
7706 (timeclock-day-list-break): Adjust calls accordingly.
7707
7708 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7711 Use read--expression so that completion works again.
7712
7713 2013-08-21 Sam Steingold <sds@gnu.org>
7714
7715 Add rudimentary inferior shell interaction
7716 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7717 (sh-set-shell): Reset it.
7718 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7719 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7720
7721 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * align.el: Use lexical-binding.
7724 (align-region): Simplify accordingly.
7725
7726 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7727
7728 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7729
7730 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7731 `non-essential' up.
7732
7733 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * net/tramp.el:
7736 * net/tramp-adb.el:
7737 * net/tramp-cmds.el:
7738 * net/tramp-ftp.el:
7739 * net/tramp-gvfs.el:
7740 * net/tramp-gw.el:
7741 * net/tramp-sh.el: Don't wrap external variable declarations by
7742 `eval-when-compile'.
7743
7744 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7745
7746 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7747 now that Emacs supports ImageMagick animations.
7748
7749 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7750
7751 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7752 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7753
7754 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7755
7756 * window.el (mouse-autoselect-window-select): Do autoselect when
7757 mouse pointer is on margin.
7758
7759 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7760
7761 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7762
7763 2013-08-16 Glenn Morris <rgm@gnu.org>
7764
7765 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7766 Handle "Remote Directory" response of some clients. (Bug#15058)
7767
7768 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7769 Tweak warning. (Bug#14926)
7770
7771 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7772 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7773
7774 * image-mode.el (image-mode-map): Add menu items to reverse,
7775 increase, decrease, reset animation speed.
7776 (image--set-speed, image-increase-speed, image-decrease-speed)
7777 (image-reverse-speed, image-reset-speed): New functions.
7778 (image-mode-map): Add bindings for speed commands.
7779
7780 * image.el (image-animate-get-speed, image-animate-set-speed):
7781 New functions.
7782 (image-animate-timeout): Respect image :speed property.
7783
7784 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7787 previous line (bug#15101).
7788 (debugger-eval-expression, debugger-record-expression):
7789 Use read--expression (bug#15102).
7790
7791 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7792
7793 Remove byte compiler warnings, visible when compiling with
7794 `byte-compile-force-lexical-warnings' set to t.
7795
7796 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7797 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7798 (tramp-handle-unhandled-file-name-directory)
7799 (tramp-handle-file-notify-add-watch, tramp-action-login)
7800 (tramp-action-succeed, tramp-action-permission-denied)
7801 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7802 arguments with "_".
7803
7804 * net/tramp-adb.el (tramp-adb-parse-device-names)
7805 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7806 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7807 (tramp-adb-handle-file-truename): Remove unused arguments.
7808
7809 * net/tramp-cache.el (tramp-flush-directory-property)
7810 (tramp-flush-connection-property, tramp-list-connections)
7811 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7812
7813 * net/tramp-compat.el (tramp-compat-make-temp-file):
7814 Rename FILENAME to F.
7815
7816 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7817 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7818 (tramp-zeroconf-parse-workstation-device-names)
7819 (tramp-zeroconf-parse-webdav-device-names)
7820 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7821
7822 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7823 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7824
7825 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7826 arguments.
7827 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7828 (tramp-sh-handle-insert-file-contents-literally)
7829 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7830 with "_".
7831 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7832 Remove unused variables.
7833
7834 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7835 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7836 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7837
7838 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7839 Make them a defconst.
7840 (tramp-uuencode-region): Remove unused variable.
7841
7842 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7843
7844 * frameset.el (frameset--prop-setter): New function.
7845 (frameset-prop): Add gv-setter declaration.
7846 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7847 parameter was already set in FILTERED. Doc fix.
7848 (frameset--record-minibuffer-relationships): Allow saving a
7849 minibufferless frame without its corresponding minibuffer frame.
7850 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7851 frame, if the frame id matches.
7852 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7853 frames before orphaned ones.
7854 (frameset-restore): Warn about orphaned windows, instead of error out.
7855
7856 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7857
7858 * window.el (window-make-atom): Don't overwrite parameter
7859 already present.
7860 (display-buffer-in-atom-window): Handle special case where we
7861 split an already atomic window.
7862 (window--major-non-side-window, display-buffer-in-side-window)
7863 (window--side-check): Ignore minibuffer window when walking
7864 window tree.
7865 (window-deletable-p): Return 'frame only if no other frame uses
7866 our minibuffer window.
7867 (record-window-buffer): Run buffer-list-update-hook.
7868 (split-window): Make sure window--check-frame won't destroy an
7869 existing atomic window in case the new window gets nested
7870 inside.
7871 (display-buffer-at-bottom): Ignore minibuffer window when
7872 walking window tree. Don't split a side window.
7873 (pop-to-buffer): Don't set-buffer here, the select-window call
7874 should do that.
7875 (mouse-autoselect-window-select): Autoselect only if we are in the
7876 text portion of the window.
7877
7878 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
7880 * net/shr.el (shr-parse-image-data): New function to grab both the
7881 data itself and the Content-Type.
7882 (shr-put-image): Use it.
7883
7884 * net/eww.el (eww-display-image): Ditto.
7885
7886 * image.el (image-content-type-suffixes): New variable.
7887
7888 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7889
7890 * progmodes/python.el (python-imenu--build-tree)
7891 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7892
7893 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7894
7895 * simple.el (backward-word): Mention the optional argument.
7896
7897 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 * frameset.el (frameset--make): Rename constructor from make-frameset.
7900 (frameset-p, frameset-valid-p): Don't autoload.
7901 (frameset-valid-p): Use normal accessors.
7902
7903 2013-08-13 Glenn Morris <rgm@gnu.org>
7904
7905 * progmodes/compile.el (compile-command): Tweak example in doc.
7906 * obsolete/scribe.el (scribe-mode):
7907 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7908
7909 * mail/feedmail.el (feedmail-confirm-outgoing)
7910 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7911
7912 * cus-start.el (truncate-partial-width-windows): Fix type.
7913
7914 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7915
7916 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7917
7918 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 * emacs-lisp/timer.el (timer--time-setter): New function.
7921 (timer--time): Use it as gv-setter.
7922
7923 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7924 setter is not a symbol.
7925
7926 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7927
7928 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7929 if sending fails. This makes debugging easier.
7930
7931 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7932
7933 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7934 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7935 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7936
7937 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7938
7939 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7940
7941 2013-08-12 Glenn Morris <rgm@gnu.org>
7942
7943 * format.el (format-annotate-function):
7944 Handle read-only text properties in the source. (Bug#14887)
7945
7946 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7947
7948 * net/eww.el (eww-display-html): Ignore coding system errors.
7949 One web site uses "utf-8lias" as the coding system.
7950
7951 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7952
7953 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7954
7955 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7956
7957 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7958 (tutorial--detailed-help): Remove unused local variables.
7959 (tutorial--save-tutorial-to): Use ignore-errors.
7960 (help-with-tutorial): Use looking-at-p.
7961
7962 * view.el (view-buffer-other-window, view-buffer-other-frame):
7963 Mark unused arguments.
7964
7965 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7966 (woman-select-symbol-fonts, woman, woman-find-file)
7967 (woman-insert-file-contents, woman-non-underline-faces):
7968 Use string-match-p.
7969 (woman1-unquote): Move declaration.
7970
7971 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7972 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7973 argument. Remove unused local variable.
7974 (xml-parse-elem-type): Use string-match-p.
7975 (xml-substitute-numeric-entities): Use ignore-errors.
7976
7977 * calculator.el (calculator): Mark unused argument.
7978 (calculator-paste, calculator-quit, calculator-integer-p):
7979 Use ignore-errors.
7980 (calculator-string-to-number, calculator-decimal, calculator-exp)
7981 (calculator-op-or-exp): Use string-match-p.
7982
7983 * dired.el (dired-buffer-more-recently-used-p): Declare.
7984 (dired-insert-set-properties, dired-insert-old-subdirs):
7985 Use ignore-errors.
7986
7987 * dired-aux.el (dired-compress): Use ignore-errors.
7988 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7989 (dired-do-async-shell-command, dired-do-shell-command)
7990 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7991 (dired-insert-subdir-validate): Use string-match-p.
7992 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7993 (dired-add-entry): Use string-match-p, looking-at-p.
7994 (dired-insert-subdir-newpos): Remove unused local variable.
7995
7996 * filenotify.el (file-notify-callback): Remove unused local variable.
7997
7998 * filesets.el (filesets-error): Mark unused argument.
7999 (filesets-which-command-p, filesets-filter-dir-names)
8000 (filesets-directory-files, filesets-get-external-viewer)
8001 (filesets-ingroup-get-data): Use string-match-p.
8002
8003 * find-file.el (ff-other-file-name, ff-other-file-name)
8004 (ff-find-the-other-file, ff-cc-hh-converter):
8005 Remove unused local variables.
8006 (ff-get-file-name): Use string-match-p.
8007 (ff-all-dirs-under): Use ignore-errors.
8008
8009 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8010 (follow-select-if-visible): Remove unused local variable.
8011
8012 * forms.el (read-file-filter): Move declaration.
8013 (forms--make-format, forms--make-parser, forms-insert-record):
8014 Quote function with #'.
8015 (forms--update): Use string-match-p. Quote function with #'.
8016
8017 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8018 (help-make-xrefs): Use looking-at-p.
8019 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8020
8021 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8022 (ibuffer-confirm-operation-on): Use string-match-p.
8023
8024 * msb.el (msb-item-handler, msb-dired-item-handler):
8025 Mark unused arguments.
8026
8027 * ses.el (ses-decode-cell-symbol)
8028 (ses-kill-override): Remove unused local variable.
8029 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8030 (ses-load): Use ignore-errors, looking-at-p.
8031 (ses-jump-safe): Use ignore-errors.
8032 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8033
8034 * tabify.el (untabify, tabify): Mark unused arguments.
8035
8036 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8037 Mark unused argument.
8038 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8039 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8040
8041 * emacs-lisp/timer.el (timer--time): Define setter with
8042 gv-define-setter to avoid deprecation warning.
8043
8044 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8045 (*record-cmpl-statistics-p*): Remove (was commented out).
8046 (cmpl-statistics-block): Remove (body was commented out).
8047 All callers changed.
8048 (add-completions-from-buffer, load-completions-from-file):
8049 Remove unused variables.
8050
8051 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8052
8053 * filecache.el (file-cache-delete-file-list):
8054 Print message only when told so.
8055 (file-cache-files-matching): Use #' in mapconcat argument.
8056
8057 * ffap.el (ffap-url-at-point): Fix reference to variable
8058 thing-at-point-default-mail-uri-scheme.
8059
8060 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * subr.el (define-error): New function.
8063 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8064 error-file-not-found and define with define-error.
8065 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8066 and define with define-error.
8067 * userlock.el (file-locked, file-supersession):
8068 * simple.el (mark-inactive):
8069 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8070 * progmodes/ada-mode.el (ada-mode-errors):
8071 * play/life.el (life-extinct):
8072 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8073 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8074 * nxml/rng-util.el (rng-error):
8075 * nxml/rng-uri.el (rng-uri-error):
8076 * nxml/rng-match.el (rng-compile-error):
8077 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8078 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8079 * nxml/nxml-rap.el (nxml-scan-error):
8080 * nxml/nxml-outln.el (nxml-outline-error):
8081 * net/soap-client.el (soap-error):
8082 * net/gnutls.el (gnutls-error):
8083 * net/ange-ftp.el (ftp-error):
8084 * mpc.el (mpc-proc-error):
8085 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8086 (json-number-format, json-string-escape, json-string-format)
8087 (json-key-format, json-object-format):
8088 * jka-compr.el (compression-error):
8089 * international/quail.el (quail-error):
8090 * international/kkc.el (kkc-error):
8091 * emacs-lisp/ert.el (ert-test-failed):
8092 * calc/calc.el (calc-error, inexact-result, math-overflow)
8093 (math-underflow):
8094 * bookmark.el (bookmark-error-no-filename):
8095 * epg.el (epg-error): Define with define-error.
8096
8097 * time.el (display-time-event-handler)
8098 (display-time-next-load-average): Don't call sit-for since it seems
8099 unnecessary (bug#15045).
8100
8101 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8102 Use #' instead of ' to quote functions.
8103 (checkdoc-output-mode): Use setq-local.
8104 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8105 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8106 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8107 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8108 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8109 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8110 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8111 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8112
8113 * ido.el (ido-completion-help): Fix up compiler warning.
8114
8115 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * frameset.el (frameset-p): Add autoload cookie.
8118 (frameset--jump-to-register): New function, based on code moved from
8119 register.el.
8120 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8121
8122 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8123 (frameset-restore, frameset-save, frameset-session-filter-alist):
8124 Remove declarations.
8125 (register-alist): Doc fix.
8126 (frameset-to-register): Move to frameset.el.
8127 (jump-to-register, describe-register-1): Remove frameset-specific code.
8128
8129 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8130
8131 * allout-widgets.el (allout-widgets-pre-command-business)
8132 (allout-widgets-post-command-business)
8133 (allout-widgets-after-change-handler)
8134 (allout-decorate-item-and-context, allout-set-boundary-marker)
8135 (allout-body-modification-handler)
8136 (allout-graphics-modification-handler): Mark ignored arguments.
8137 (allout-widgets-post-command-business)
8138 (allout-widgets-exposure-change-processor)
8139 (allout-widgets-exposure-undo-processor)
8140 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8141 (allout-parse-item-at-point, allout-decorate-item-guides)
8142 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8143 * allout.el (epa-passphrase-callback-function): Declare.
8144 (allout-overlay-insert-in-front-handler)
8145 (allout-overlay-interior-modification-handler)
8146 (allout-isearch-end-handler, allout-chart-siblings)
8147 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8148 (allout-yank-processing, allout-process-exposed)
8149 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8150 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8151 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8152 (lisp-indent-defform): Mark ignored arguments.
8153 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8154 (calculate-lisp-indent): Remove unused variables.
8155 * international/characters.el (indian-2-column, arabic-2-column)
8156 (tibetan): Mark ignored arguments.
8157 (use-cjk-char-width-table): Mark ignored arguments.
8158 Remove unused variables.
8159 * international/fontset.el (build-default-fontset-data)
8160 (x-compose-font-name, create-fontset-from-fontset-spec):
8161 Mark ignored arguments.
8162 (fontset-plain-name): Remove unused variables.
8163 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8164 (keyboard-coding-system): Mark ignored arguments.
8165 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8166 * help.el (resize-temp-buffer-window):
8167 * window.el (display-buffer-in-major-side-window)
8168 (display-buffer-in-side-window, display-buffer-in-previous-window):
8169 Remove unused variables.
8170 * isearch.el (isearch-forward-symbol):
8171 * version.el (emacs-bzr-version-bzr):
8172 * international/mule-cmds.el (current-language-environment):
8173 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8174 (x-handle-display):
8175 * term/pc-win.el (x-list-fonts, x-display-planes)
8176 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8177 (x-server-version, x-display-screens, x-display-mm-height)
8178 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8179 (x-selection-owner-p, x-own-selection-internal)
8180 (x-disown-selection-internal, x-get-selection-internal)
8181 (msdos-initialize-window-system):
8182 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8183 * term/x-win.el (x-handle-no-bitmap-icon):
8184 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8185 (vc-default-find-file-hook, vc-default-extra-menu):
8186 Mark ignored arguments.
8187
8188 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8191 break-condition in the context of the debugged code (bug#12685).
8192
8193 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8194
8195 * comint.el:
8196 Do not use an overlay to highlight the last prompt. (Bug#14744)
8197 (comint-mode): Make comint-last-prompt buffer local.
8198 (comint-last-prompt): New variable.
8199 (comint-last-prompt-overlay): Remove. Superseded by
8200 comint-last-prompt.
8201 (comint-snapshot-last-prompt, comint-output-filter):
8202 Use comint-last-prompt.
8203
8204 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8205
8206 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8207 (frameset-save): Check validity of the resulting frameset.
8208
8209 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8210
8211 * ido.el (ido-record-command): Add doc string.
8212
8213 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * frameset.el (frameset): Do not disable creation of the default
8216 frameset-p predicate. Doc fix.
8217 (frameset-valid-p): New function, copied from the old predicate-p.
8218 Add additional checks.
8219 (frameset-restore): Check with frameset-valid-p.
8220 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8221 (frameset-name, frameset-description, frameset-properties)
8222 (frameset-states): Add docstring.
8223 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8224 (frameset-filter-alist): Doc fixes.
8225
8226 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8227
8228 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8229
8230 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8233 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8234 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8235 (byte-compile-normal-call): Remove obsolescence check.
8236
8237 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8238
8239 * frameset.el (frameset-restore): Doc fix.
8240
8241 * register.el (frameset-frame-id, frameset-frame-with-id)
8242 (frameset-p, frameset-restore, frameset-save): Declare.
8243 (register-alist): Document framesets.
8244 (frameset-session-filter-alist): Declare.
8245 (frameset-to-register): New function.
8246 (jump-to-register): Implement jumping to framesets. Doc fix.
8247 (describe-register-1): Describe framesets.
8248
8249 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8250
8251 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8252
8253 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8254 Use lexical-binding.
8255
8256 * frameset.el (frameset): Use type vector, not list (incompatible
8257 change). Do not declare a new constructor, use the default one.
8258 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8259 `name' and `description', respectively, and add read-only slot
8260 `timestamp'. Doc fixes.
8261 (frameset-copy, frameset-persistent-filter-alist)
8262 (frameset-filter-alist, frameset-switch-to-gui-p)
8263 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8264 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8265 (frameset-filter-iconified, frameset-keep-original-display-p):
8266 Doc fixes.
8267 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8268 Rename from frameset-filter-(save|restore)-param. All callers changed.
8269 Doc fix.
8270 (frameset-p): Adapt to change to vector and be more thorough.
8271 Change arg name to OBJECT. Doc fix.
8272 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8273 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8274 All callers changed.
8275 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8276 All callers changed.
8277 (frameset--record-minibuffer-relationships): Rename from
8278 frameset--process-minibuffer-frames. All callers changed.
8279 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8280 Use new default constructor (again). Doc fix.
8281 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8282 All callers changed.
8283 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8284 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8285 Doc fix.
8286 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8287 PARAMETERS and WINDOW-STATE, respectively.
8288 (frameset-restore): Add new keyword argument PREDICATE.
8289 Reset frameset--target-display to nil. Doc fix.
8290
8291 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8294 (bat-mode): Use it.
8295 (bat-mode-syntax-table): Mark \n as end-of-comment.
8296 (bat-font-lock-keywords): Remove comment rule.
8297
8298 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8299 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8300
8301 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8302 (byte-compile-callargs-warn): Use `push'.
8303 (byte-compile-arglist-warn): Ignore higher-order "calls".
8304 (byte-compile-file-form-autoload): Use `pcase'.
8305 (byte-compile-function-form): If quoting a symbol, check that it exists.
8306
8307 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8308
8309 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8310 and add a few popular commands found in batch files.
8311 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8312 (dos-mode): Doc fixes.
8313
8314 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8317 (dos-mode): Use setq-local. Add space after "rem".
8318 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8319 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8320
8321 2013-08-07 Arni Magnusson <arnima@hafro.is>
8322
8323 * progmodes/dos.el: New file.
8324 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8325 dos-mode.
8326
8327 2013-08-06 Glenn Morris <rgm@gnu.org>
8328
8329 * calendar/calendar.el: Add new faces, and day-header-array.
8330 (calendar-weekday-header, calendar-weekend-header)
8331 (calendar-month-header): New faces.
8332 (calendar-day-header-construct): New function.
8333 (calendar-day-header-width): Also :set calendar-day-header-array.
8334 (calendar-american-month-header, calendar-european-month-header)
8335 (calendar-iso-month-header): Use calendar- faces.
8336 (calendar-generate-month):
8337 Use calendar-day-header-array for day headers; apply faces to them.
8338 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8339 (calendar-abbrev-construct): Add optional maxlen argument.
8340 (calendar-day-name-array): Doc fix.
8341 (calendar-day-name-array, calendar-abbrev-length)
8342 (calendar-day-abbrev-array):
8343 Also :set calendar-day-header-array, and maybe redraw.
8344 (calendar-day-header-array): New option. (Bug#15007)
8345 (calendar-font-lock-keywords): Set to nil and make obsolete.
8346 (calendar-day-name): Add option to use header array.
8347
8348 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
8350 * net/shr.el (shr-render-td): Remove debugging.
8351 (shr-render-td): Make width computation consistent by defaulting
8352 all zero-width columns to 10 characters. This may not be optimal,
8353 but it's at least consistent.
8354 (shr-make-table-1): Redo last change to fix the real problem in
8355 colspan handling.
8356
8357 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8358
8359 * files.el (cache-long-line-scans):
8360 Make obsolete alias to `cache-long-scans'.
8361
8362 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8363
8364 * frameset.el (frameset, frameset-filter-alist)
8365 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8366 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8367 (frameset-compute-pos): Rename from frameset--compute-pos,
8368 and add docstring.
8369 (frameset-move-onscreen): Use frameset-compute-pos.
8370 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8371
8372 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8373 Fix typos in docstrings.
8374
8375 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8376
8377 * frame.el (get-other-frame): Tiny cleanup.
8378
8379 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8380
8381 * vc/vc.el (vc-default-ignore-completion-table):
8382 Silence byte-compiler warning.
8383
8384 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8385 slot, which can indeed be nil.
8386 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8387 Move entry for `left' from persistent to live filter alist.
8388 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8389 Doc fixes.
8390 (frameset-filter-params): When restoring a frame, copy items added to
8391 `filtered', to avoid unwittingly modifying the original parameters.
8392 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8393 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8394
8395 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8396 to use looking-at-p instead of looking-at. (Bug#15028)
8397
8398 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 Revert introduction of isearch-filter-predicates (bug#14714).
8401 Rely on add-function instead.
8402 * isearch.el (isearch-filter-predicates): Rename it back to
8403 isearch-filter-predicate.
8404 (isearch-message-prefix): Use advice-function-mapc and advice
8405 properties to get the isearch-message-prefix.
8406 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8407 instead of run-hook-with-args-until-failure.
8408 (isearch-filter-visible): Not obsolete any more.
8409 * loadup.el: Preload nadvice.
8410 * replace.el (perform-replace): Revert to funcall
8411 instead of run-hook-with-args-until-failure.
8412 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8413 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8414 dired-isearch-filenames-toggle; make it into a proper minor mode.
8415 Use add/remove-function.
8416 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8417 Call the minor-mode rather than add/remove-hook.
8418 (dired-isearch-filter-filenames):
8419 Remove isearch-message-prefix property.
8420 * info.el (Info--search-loop): New function, extracted from Info-search.
8421 Funcall isearch-filter-predicate instead of
8422 run-hook-with-args-until-failure isearch-filter-predicates.
8423 (Info-search): Use it.
8424 (Info-mode): Use isearch-filter-predicate instead of
8425 isearch-filter-predicates.
8426
8427 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8428
8429 Do not call to `selected-window' where it is assumed by default.
8430 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8431 `window-hscroll', `window-width', `window-height', `window-buffer',
8432 `window-frame', `window-start', `window-point', `next-window'
8433 and `window-display-table'.
8434 * abbrev.el (abbrev--default-expand):
8435 * bs.el (bs--show-with-configuration):
8436 * buff-menu.el (Buffer-menu-mouse-select):
8437 * calc/calc.el (calc):
8438 * calendar/calendar.el (calendar-generate-window):
8439 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8440 (diary-make-entry):
8441 * comint.el (send-invisible, comint-dynamic-complete-filename)
8442 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8443 * completion.el (complete):
8444 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8445 * disp-table.el (describe-current-display-table):
8446 * doc-view.el (doc-view-insert-image):
8447 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8448 * ehelp.el (with-electric-help):
8449 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8450 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8451 * emacs-lisp/helper.el (Helper-help-scroller):
8452 * emulation/cua-base.el (cua--post-command-handler-1):
8453 * eshell/esh-mode.el (eshell-output-filter):
8454 * ffap.el (ffap-gnus-wrapper):
8455 * help-macro.el (make-help-screen):
8456 * hilit-chg.el (highlight-compare-buffers):
8457 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8458 * hl-line.el (global-hl-line-highlight):
8459 * icomplete.el (icomplete-simple-completing-p):
8460 * isearch.el (isearch-done):
8461 * jit-lock.el (jit-lock-stealth-fontify):
8462 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8463 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8464 * mpc.el (mpc-tagbrowser, mpc):
8465 * net/rcirc.el (rcirc-any-buffer):
8466 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8467 * play/landmark.el (landmark-max-width, landmark-max-height):
8468 * play/zone.el (zone):
8469 * progmodes/compile.el (compilation-goto-locus):
8470 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8471 * progmodes/etags.el (find-tag-other-window):
8472 * progmodes/fortran.el (fortran-column-ruler):
8473 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8474 * progmodes/verilog-mode.el (verilog-point-text):
8475 * reposition.el (reposition-window):
8476 * rot13.el (toggle-rot13-mode):
8477 * server.el (server-switch-buffer):
8478 * shell.el (shell-dynamic-complete-command)
8479 (shell-dynamic-complete-environment-variable):
8480 * simple.el (insert-buffer, set-selective-display)
8481 (delete-completion-window):
8482 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8483 (speedbar-recenter):
8484 * startup.el (fancy-splash-head):
8485 * textmodes/ispell.el (ispell-command-loop):
8486 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8487 * tutorial.el (help-with-tutorial):
8488 * vc/add-log.el (add-change-log-entry):
8489 * vc/compare-w.el (compare-windows):
8490 * vc/ediff-help.el (ediff-indent-help-message):
8491 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8492 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8493 (ediff-setup-control-frame):
8494 * vc/emerge.el (emerge-position-region):
8495 * vc/pcvs-util.el (cvs-bury-buffer):
8496 * window.el (walk-windows, mouse-autoselect-window-select):
8497 * winner.el (winner-set-conf, winner-undo): Related users changed.
8498
8499 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8500
8501 * frameset.el (frameset--set-id): Doc fix.
8502 (frameset-frame-id, frameset-frame-id-equal-p)
8503 (frameset-locate-frame-id): New functions.
8504 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8505 (frameset-restore): Use them.
8506
8507 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8508
8509 Do not call to `selected-frame' where it is assumed by default.
8510 Affected functions are `raise-frame', `redraw-frame',
8511 `frame-first-window', `frame-terminal' and `delete-frame'.
8512 * calendar/appt.el (appt-disp-window):
8513 * epg.el (epg-wait-for-completion):
8514 * follow.el (follow-delete-other-windows-and-split)
8515 (follow-avoid-tail-recenter):
8516 * international/mule.el (set-terminal-coding-system):
8517 * mail/rmail.el (rmail-mail-return):
8518 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8519 * progmodes/f90.el (f90-add-imenu-menu):
8520 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8521 * server.el (server-switch-buffer):
8522 * simple.el (delete-completion-window):
8523 * talk.el (talk):
8524 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8525 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8526 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8527 * vc/ediff.el (ediff-documentation): Related users changed.
8528 * frame.el (selected-terminal): Remove the leftover.
8529
8530 2013-08-05 Glenn Morris <rgm@gnu.org>
8531
8532 * calendar/calendar.el (calendar-generate-month):
8533 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8534 (calendar-generate-month, calendar-font-lock-keywords):
8535 Fix for calendar-day-header-width > length of any day name.
8536
8537 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8538
8539 * desktop.el (desktop-clear): Use new name of sort predicate.
8540
8541 * frameset.el (frameset): Add docstring. Move :version property to its
8542 own `version' slot.
8543 (frameset-copy): Rename from copy-frameset.
8544 (frameset-p): Check more thoroughly.
8545 (frameset-prop): Do not check for :version, which is no longer a prop.
8546 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8547 Use new :never value instead of t.
8548 (frameset-filter-alist): Expand and clarify docstring.
8549 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8550 (frameset-filter-minibuffer, frameset-filter-save-param)
8551 (frameset-filter-restore-param, frameset-filter-iconified):
8552 Add pointer to docstring of frameset-filter-alist.
8553 (frameset-filter-params): Rename filter values to be more meaningful:
8554 :never instead of t, and reverse the meanings of :save and :restore.
8555 (frameset--process-minibuffer-frames): Clarify error message.
8556 (frameset-save): Avoid unnecessary and confusing call to framep.
8557 Use new BOA constructor for framesets.
8558 (frameset--reuse-list): Doc fix.
8559 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8560 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8561 (frameset-minibufferless-first-p): Doc fix.
8562 Rename from frameset-sort-frames-for-deletion.
8563 (frameset-restore): Doc fixes. Use new function names.
8564 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8565
8566 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8567
8568 * desktop.el (desktop-restore-forces-onscreen)
8569 (desktop-restore-reuses-frames): Document :keyword constant values.
8570 (desktop-filter-parameters-alist): Remove, now identical to
8571 frameset-filter-alist.
8572 (desktop--filter-tty*): Remove, moved to frameset.el.
8573 (desktop-save-frameset, desktop-restore-frameset):
8574 Do not pass :filters argument.
8575
8576 * frameset.el (frameset-live-filter-alist)
8577 (frameset-persistent-filter-alist): New variables.
8578 (frameset-filter-alist): Use them. Add autoload cookie.
8579 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8580 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8581 `frameset--id' (it's supposed to be internal to frameset.el).
8582 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8583 (frameset--initial-params): New function.
8584 (frameset--get-frame): Use it. Doc fix.
8585 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8586 Accept :all, not 'all.
8587 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8588 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8589 with fbound symbols. Fix frame id matching, and remove matching ids if
8590 the frame being restored is deleted. Obey :delete.
8591
8592 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * subr.el (macrop): New function.
8595 (text-clone--maintaining): New var.
8596 (text-clone--maintain): Rename from text-clone-maintain. Use it
8597 instead of inhibit-modification-hooks.
8598
8599 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8600 a proxy, so as handle autoloads and redefinitions of the target.
8601 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8602
8603 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8604 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8605 (pcase--mutually-exclusive-p): New function.
8606 (pcase--split-consp): Use it.
8607 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8608 mutually exclusive with the current predicate.
8609
8610 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8611 (edebug-macrop): Remove. Use `macrop' instead.
8612 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8613 (ad-macro-p):
8614 * eshell/esh-cmd.el (eshell-macrop):
8615 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8616
8617 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8620 (advice-mapc): New function, using it.
8621 (advice-function-member-p): New function.
8622 (advice--normalize): Store the cdr in advice--saved-rewrite since
8623 that's the part that will be changed.
8624 (advice--symbol-function): New function.
8625 (advice-remove): Handle removal before the function is defined.
8626 Adjust to new advice--saved-rewrite.
8627 (advice-member-p): Use advice-function-member-p and
8628 advice--symbol-function.
8629
8630 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8633 (frameset-filter-minibuffer): Doc fix.
8634 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8635 (frameset--set-id, frameset--process-minibuffer-frames)
8636 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8637 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8638
8639 * desktop.el (desktop-clear): Only delete frames when called
8640 interactively and desktop-restore-frames is non-nil. Doc fix.
8641 (desktop-read): Set desktop-saved-frameset to nil.
8642
8643 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8644
8645 * vc/vc.el (vc-ignore): Rewrite.
8646 (vc-default-ignore-completion-table, vc--read-lines)
8647 (vc--add-line, vc--remove-regexp): New functions.
8648
8649 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8650 (vc-svn-ignore-completion-table): New function.
8651
8652 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8653 (vc-hg-ignore-completion-table)
8654 (vc-hg-find-ignore-file): New functions.
8655
8656 * vc/vc-git.el (vc-git-ignore): Rewrite.
8657 (vc-git-ignore-completion-table)
8658 (vc-git-find-ignore-file): New functions.
8659
8660 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8661
8662 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8663 (vc-bzr-ignore-completion-table)
8664 (vc-bzr-find-ignore-file): New functions.
8665
8666 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8667
8668 * frameset.el (frameset-prop): New function and setter.
8669 (frameset-save): Do not modify frame list passed by the caller.
8670
8671 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8674
8675 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8676
8677 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8678 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8679
8680 * custom.el (custom-initialize-default, custom-initialize-set)
8681 (custom-initialize-reset, custom-initialize-changed): Affect the
8682 toplevel-default-value (bug#6275, bug#14586).
8683 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8684 for bug#6275.
8685
8686 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8687
8688 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8689 Add cl-def* expressions.
8690
8691 * frameset.el (frameset-filter-params): Fix order of arguments.
8692
8693 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8694
8695 Move code related to saving frames to frameset.el.
8696 * desktop.el: Require frameset.
8697 (desktop-restore-frames): Doc fix.
8698 (desktop-restore-reuses-frames): Rename from
8699 desktop-restoring-reuses-frames.
8700 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8701 (desktop-clear): Clear frames too.
8702 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8703 (desktop--filter-tty*, desktop-save, desktop-read):
8704 Use frameset functions.
8705 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8706 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8707 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8708 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8709 (desktop--process-minibuffer-frames, desktop-save-frames)
8710 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8711 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8712 (desktop--sort-states, desktop-restoring-frames-p)
8713 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8714 (desktop-restoring-frameset-p, desktop-restore-frameset)
8715 (desktop--check-dont-save, desktop-save-frameset): New functions.
8716 (desktop--app-id): New constant.
8717 (desktop-first-buffer, desktop-buffer-ok-count)
8718 (desktop-buffer-fail-count): Move before first use.
8719 * frameset.el: New file.
8720
8721 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8722
8723 * files.el: Use lexical-binding.
8724 (dir-locals-read-from-file): Remove unused `err' variable.
8725 (hack-dir-local-variables--warned-coding): New var.
8726 (hack-dir-local-variables): Use it to avoid repeated warnings.
8727 (make-backup-file-name--default-function): New function.
8728 (make-backup-file-name-function): Use it as default.
8729 (buffer-stale--default-function): New function.
8730 (buffer-stale-function): Use it as default.
8731 (revert-buffer-insert-file-contents--default-function): New function.
8732 (revert-buffer-insert-file-contents-function): Use it as default.
8733 (insert-directory): Avoid add-to-list.
8734
8735 * autorevert.el (auto-revert-handler): Simplify.
8736 Use buffer-stale--default-function.
8737
8738 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8739
8740 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8741
8742 * whitespace.el (whitespace-ensure-local-variables): New function.
8743 (whitespace-cleanup-region): Call it.
8744 (whitespace-turn-on): Call it.
8745
8746 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8747
8748 Complete file name handlers.
8749
8750 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8751 (tramp-handle-verify-visited-file-modtime)
8752 (tramp-handle-file-notify-rm-watch): New functions.
8753 (tramp-call-process): Do not bind `default-directory'.
8754
8755 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8756 Order alphabetically.
8757 <access-file, add-name-to-file, dired-call-process>:
8758 <dired-compress-file, file-acl, file-notify-rm-watch>:
8759 <file-ownership-preserved-p, file-selinux-context>:
8760 <make-directory-internal, make-symbolic-link, set-file-acl>:
8761 <set-file-selinux-context, set-visited-file-modtime>:
8762 <verify-visited-file-modtime>: Add handler.
8763 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8764
8765 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8766 <file-notify-add-watch, file-notify-rm-watch>:
8767 <set-file-times, set-visited-file-modtime>:
8768 <verify-visited-file-modtime>: Add handler.
8769 (with-tramp-gvfs-error-message)
8770 (tramp-gvfs-handle-set-visited-file-modtime)
8771 (tramp-gvfs-fuse-file-name): Remove.
8772 (tramp-gvfs-handle-file-notify-add-watch)
8773 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8774 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8775
8776 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8777 Order alphabetically.
8778 <file-notify-rm-watch>: Use default Tramp handler.
8779 <executable-find>: Remove private handler.
8780 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8781 `default-directory'.
8782 (tramp-sh-handle-executable-find)
8783 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8784 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8785 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8786 Do not use `format' in `tramp-message'.
8787
8788 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8789 <file-notify-rm-watch, set-visited-file-modtime>:
8790 <verify-visited-file-modtime>: Add handler.
8791 (tramp-smb-call-winexe): Do not bind `default-directory'.
8792
8793 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8794
8795 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8796
8797 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8798
8799 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8800 use it.
8801 (log-view-diff-changeset): Same.
8802 (log-view-diff-common): Call backend command `previous-revision'
8803 to find out the previous revision, in both cases. Swap the
8804 variables `to' and `fr', so that `fr' usually refers to the
8805 earlier revision (Bug#14989).
8806
8807 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8808
8809 * ibuf-ext.el (ibuffer-filter-by-filename):
8810 Make it work with dired buffers too.
8811
8812 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8813
8814 * emacs-lisp/re-builder.el (reb-color-display-p):
8815 * files.el (save-buffers-kill-terminal):
8816 * net/browse-url.el (browse-url):
8817 * server.el (server-save-buffers-kill-terminal):
8818 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8819 Prefer nil to selected-frame for the first arg of frame-parameter.
8820
8821 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8822
8823 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8824
8825 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8826
8827 * minibuffer.el (completion--twq-all): Try and preserve each
8828 completion's case choice (bug#14907).
8829
8830 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8831
8832 * net/network-stream.el (open-network-stream): Mention the new
8833 :nogreeting parameter.
8834 (network-stream-open-starttls): Use the :nogreeting parameter
8835 (bug#14938).
8836
8837 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8838
8839 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8840 more natural than popping.
8841
8842 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8843 (shr-urlify): Highlight under mouse.
8844
8845 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8846
8847 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8848
8849 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8850
8851 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8852 buffer for output.
8853
8854 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8855 point-min==1. Fix search string. Fix parentheses missing.
8856
8857 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8858 assume point-min==1. Fix search string. Fix parentheses missing.
8859
8860 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8861
8862 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8863 buffer for output.
8864
8865 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8866
8867 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8868 initial frame is minibuffer-less. (Bug#14841)
8869
8870 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8871
8872 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8873 option.
8874
8875 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8876 (tramp-maybe-open-connection): Use it.
8877
8878 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8879
8880 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8881 minimal set of parameters passed when creating a frame, because
8882 the minibuffer status of a frame cannot be changed later.
8883
8884 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8885
8886 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8887 replace-regexp-in-string and inadvertent omissions in previous change.
8888 (todo-filter-items): Ensure only file names are comma-separated in
8889 name of filtered items buffer.
8890
8891 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * desktop.el: Optionally force offscreen frames back onscreen.
8894 (desktop-restoring-reuses-frames): New option.
8895 (desktop--compute-pos, desktop--move-onscreen): New functions.
8896 (desktop--make-frame): Use desktop--move-onscreen.
8897
8898 2013-07-27 Alan Mackenzie <acm@muc.de>
8899
8900 Fontify a Java generic method as a function.
8901 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8902 value to t.
8903
8904 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8905
8906 * calendar/todo-mode.el: Add command to rename todo files.
8907 (todo-rename-file): New command.
8908 (todo-key-bindings-t): Add key binding for it. Change the
8909 bindings of todo-filter-regexp-items(-multifile) to use `x'
8910 instead of `r', since the latter is better suited to the new
8911 renaming command.
8912
8913 2013-07-27 Alan Mackenzie <acm@muc.de>
8914
8915 Make Java try-with-resources statement parse properly.
8916 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8917 (c-block-stmt-1-2-key): New language constants/variables.
8918 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8919 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8920 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8921 with c-block-stmt-1-2-key.
8922
8923 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * desktop.el (desktop--make-frame): Apply most frame parameters after
8926 creating the frame to force (partially or totally) offscreen frames to
8927 be restored as such.
8928
8929 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8930
8931 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8932 (Bug#14948)
8933
8934 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8937 `base' arg of backtrace-frame.
8938
8939 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8940
8941 * simple.el (list-processes): Doc fix.
8942
8943 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8944
8945 * desktop.el (desktop--select-frame):
8946 Try harder to reuse existing frames.
8947
8948 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8951 (edebug-eval): Use backtrace-eval.
8952 (edebug--display, edebug--recursive-edit): Don't let-bind the
8953 edebug-outer-* vars that keep track of variables we locally let-bind.
8954 (edebug-outside-excursion): Don't restore outside values of locally
8955 let-bound vars.
8956 (edebug--display): Use user-error.
8957 (cl-lexical-debug, cl-debug-env): Remove.
8958
8959 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8960
8961 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8962 are restored to be sure that they are visible before deleting any
8963 remaining ones.
8964
8965 2013-07-26 Matthias Meulien <orontee@gmail.com>
8966
8967 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8968 vc-print-root-log. (Bug#14948)
8969
8970 2013-07-26 Richard Stallman <rms@gnu.org>
8971
8972 Add aliases for encrypting mail.
8973 * epa.el (epa-mail-aliases): New option.
8974 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8975 Bind inhibit-read-only so read-only text doesn't ruin everything.
8976 (epa-mail-default-recipients): New subroutine broken out.
8977 Handle epa-mail-aliases.
8978
8979 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 Add support for lexical variables to the debugger's `e' command.
8982 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8983 vars, except for debugger-outer-match-data.
8984 (debugger-frame-number): Move check for "on a function call" from
8985 callers into it. Add `skip-base' argument.
8986 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8987 (debugger-env-macro): Only reset the state stored in non-variables,
8988 i.e. current-buffer and match-data.
8989 (debugger-eval-expression): Rewrite using backtrace-eval.
8990 * subr.el (internal--called-interactively-p--get-frame): Remove.
8991 (called-interactively-p):
8992 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8993 `base' arg of backtrace-frame instead.
8994
8995 2013-07-26 Glenn Morris <rgm@gnu.org>
8996
8997 * align.el (align-regexp): Doc fix. (Bug#14857)
8998 (align-region): Explicit error if subexpression missing/does not match.
8999
9000 * simple.el (global-visual-line-mode):
9001 Do not duplicate the mode lighter. (Bug#14858)
9002
9003 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9004
9005 * window.el (display-buffer): In display-buffer bind
9006 split-window-keep-point to t, bug#14829.
9007
9008 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9009
9010 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9011 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9012 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9013 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9014 Change accordingly.
9015 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9016 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9017
9018 2013-07-25 Glenn Morris <rgm@gnu.org>
9019
9020 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9021
9022 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9023
9024 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9025 parameter to modify-frame-parameters if the value has not changed;
9026 this is a workaround for bug#14949.
9027 (desktop--make-frame): On cl-delete-if call, check parameter name,
9028 not full parameter.
9029
9030 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9031
9032 * vc/vc.el (vc-ignore): New function.
9033
9034 * vc/vc-svn.el (vc-svn-ignore): New function.
9035
9036 * vc/vc-hg.el (vc-hg-ignore): New function.
9037
9038 * vc/vc-git.el (vc-git-ignore): New function.
9039
9040 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9041 (vc-dir-ignore): New function.
9042
9043 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9044 (cvs-append-to-ignore): Move here from pcvs.el.
9045
9046 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9047
9048 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9049
9050 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9051
9052 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9053 (desktop-restore-frames): Warn when deleting an existing frame failed.
9054
9055 2013-07-24 Glenn Morris <rgm@gnu.org>
9056
9057 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9058
9059 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9060
9061 * filenotify.el (file-notify-supported-p):
9062 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9063 Remove functions.
9064
9065 * autorevert.el (auto-revert-use-notify)
9066 (auto-revert-notify-add-watch):
9067 * net/tramp.el (tramp-file-name-for-operation):
9068 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9070 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9072 Remove `file-notify-supported-p' entry.
9073
9074 2013-07-24 Glenn Morris <rgm@gnu.org>
9075
9076 * printing.el: Replace all uses of deleted ps-windows-system,
9077 ps-lp-system, ps-flatten-list with lpr- versions.
9078
9079 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9082 checked with memq (bug#14935).
9083
9084 * files.el (revert-buffer-function): Use a non-nil default.
9085 (revert-buffer-preserve-modes): Declare var to
9086 provide access to the `preserve-modes' argument.
9087 (revert-buffer): Let-bind it.
9088 (revert-buffer--default): New function, extracted from revert-buffer.
9089
9090 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * lpr.el: Signal print errors more prominently.
9093 (print-region-function): Don't default to nil.
9094 (lpr-print-region): New function, extracted from print-region-1.
9095 Check lpr's return value and signal an error in case of problem.
9096 (print-region-1): Use it.
9097 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9098 versions instead.
9099 (ps-printer-name): Default to nil.
9100 (ps-printer-name-option): Default to lpr-printer-switch.
9101 (ps-print-region-function): Don't default to nil.
9102 (ps-postscript-code-directory): Simplify default.
9103 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9104 (ps-string-list, ps-eval-switch, ps-flatten-list)
9105 (ps-flatten-list-1): Remove.
9106 (ps-multibyte-buffer): Avoid setq.
9107 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9108 (print-region-function, ps-print-region-function): Don't set them here.
9109
9110 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9111
9112 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9113 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9114 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9115 (ido-decorations): Doc fix.
9116
9117 * ansi-color.el: Fix old URL.
9118
9119 2013-07-23 Michael R. Mauger <michael@mauger.com>
9120
9121 * progmodes/sql.el: Version 3.3
9122 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9123 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9124 (sql-interactive-remove-continuation-prompt): Rewrite, use
9125 functions above. Fix continuation prompt and complete output line
9126 handling.
9127 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9128 redirected output buffer.
9129 (sql-mode): Restore deleted code (Bug#13591).
9130
9131 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9132
9133 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9134
9135 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9136
9137 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9138
9139 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9140 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9141 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9142
9143 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9144
9145 * desktop.el (desktop-clear): Simplify; remove useless checks
9146 against invalid buffer names.
9147 (desktop-list*): Use cl-list*.
9148 (desktop-buffer-info, desktop-create-buffer): Simplify.
9149
9150 2013-07-23 Leo Liu <sdl.web@gmail.com>
9151
9152 * bookmark.el (bookmark-make-record): Restore NAME as a default
9153 value. (Bug#14933)
9154
9155 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9158 extracted from autoload--insert-text.
9159 (autoload--insert-text): Remove.
9160 (autoload--print-cookie-text): New function, extracted from
9161 autoload--insert-cookie-text.
9162 (autoload--insert-cookie-text): Remove.
9163 (autoload-generate-file-autoloads): Adjust calls accordingly.
9164
9165 * winner.el (winner-hook-installed-p): Remove.
9166 (winner-mode): Simplify accordingly.
9167
9168 * subr.el (add-to-list): Fix compiler-macro when `append' is
9169 not constant. Don't use `cl-member' for the base case.
9170
9171 * progmodes/subword.el: Fix boundary case (bug#13758).
9172 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9173 own group.
9174 (subword-backward-regexp): Make it a constant.
9175 (subword-forward-internal): Don't treat a trailing capital as the
9176 beginning of a word.
9177
9178 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9179
9180 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9181 global value of tabulated-list-revert-hook (bug#14930).
9182
9183 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9184
9185 * desktop.el: Require 'cl-lib.
9186 (desktop-before-saving-frames-functions): New hook.
9187 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9188 for frames being saved. Rename from desktop--save-minibuffer-frames.
9189 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9190 Do not save frames with non-nil `desktop-dont-save' parameter.
9191 Filter out deleted frames.
9192 (desktop--find-frame): Use cl-find-if.
9193 (desktop--select-frame): Use cl-(first|second|third) to access values
9194 of desktop-mini.
9195 (desktop--make-frame): Use cl-delete-if.
9196 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9197 (desktop-restore-frames): Use cl-(first|second|third) to access values
9198 of desktop-mini. Look for visible frame at the end, not while
9199 restoring frames.
9200
9201 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9202 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9203 Use string-match-p, looking-at-p (bug#14927).
9204
9205 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9206
9207 * desktop.el (desktop-saved-frame-states):
9208 Rename from desktop--saved-states; all users changed.
9209 (desktop-save-frames): Rename from desktop--save-frames.
9210 Do not save state to desktop file.
9211 (desktop-save): Save desktop-saved-frame-states to desktop file
9212 and reset to nil.
9213 (desktop-restoring-frames-p): New function.
9214 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9215 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9216 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9217
9218 * desktop.el: Correctly restore iconified frames.
9219 (desktop--filter-iconified-position): New function.
9220 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9221
9222 2013-07-20 Glenn Morris <rgm@gnu.org>
9223
9224 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9225 Let `message' do the formatting.
9226 (def-gdb-preempt-display-buffer): Add explicit format.
9227
9228 * image-dired.el (image-dired-track-original-file):
9229 Use with-current-buffer.
9230 (image-dired-track-thumbnail): Use with-current-buffer.
9231 Avoid changing point of wrong window.
9232
9233 * image-dired.el (image-dired-track-original-file):
9234 Avoid changing point of wrong window. (Bug#14909)
9235
9236 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9237
9238 * progmodes/gdb-mi.el (gdb-done-or-error):
9239 Guard against "%" in gdb output. (Bug#14127)
9240
9241 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9242
9243 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9244 (Bug#14826)
9245
9246 * international/mule.el (coding-system-iso-2022-flags): Fix last
9247 change.
9248
9249 2013-07-20 Kenichi Handa <handa@gnu.org>
9250
9251 * international/mule.el (coding-system-iso-2022-flags):
9252 Add `8-bit-level-4'. (Bug#8522)
9253
9254 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9255
9256 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9257 (bug#14815).
9258
9259 * net/eww.el (eww-process-text-input): Allow inputting when the
9260 point is at the start of the line, as the properties aren't
9261 front-sticky.
9262
9263 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9264 degenerate widths.
9265
9266 2013-07-19 Richard Stallman <rms@gnu.org>
9267
9268 * epa.el (epa-popup-info-window): Doc fix.
9269
9270 * subr.el (split-string): New arg TRIM.
9271
9272 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9273
9274 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9275 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9276
9277 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9278
9279 * filenotify.el (file-notify--library): Rename from
9280 `file-notify-support'. Do not autoload. Adapt all uses.
9281 (file-notify-supported-p): New defun.
9282
9283 * autorevert.el (auto-revert-use-notify):
9284 Use `file-notify-supported-p' instead of `file-notify-support'.
9285 Adapt docstring.
9286 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9287
9288 * net/tramp.el (tramp-file-name-for-operation):
9289 Add `file-notify-supported-p'.
9290
9291 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9292 New defun.
9293 (tramp-sh-file-name-handler-alist): Add it as handler for
9294 `file-notify-supported-p '.
9295
9296 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9297 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9298 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9299 Add `ignore' as handler for `file-notify-*' functions.
9300
9301 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9302
9303 * simple.el (line-move-partial, line-move): Don't start vscroll or
9304 scroll-up if the current line is not taller than the window.
9305 (Bug#14881)
9306
9307 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9308
9309 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9310 highlight question marks in the method names as strings.
9311 (ruby-block-beg-keywords): Inline.
9312 (ruby-font-lock-keyword-beg-re): Extract from
9313 `ruby-font-lock-keywords'.
9314
9315 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9316
9317 * frame.el (blink-cursor-blinks): New defcustom.
9318 (blink-cursor-blinks-done): New defvar.
9319 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9320 (blink-cursor-timer-function): Check if number of blinks has been
9321 done on X and NS.
9322 (blink-cursor-suspend, blink-cursor-check): New defuns.
9323
9324 2013-07-15 Glenn Morris <rgm@gnu.org>
9325
9326 * edmacro.el (edmacro-format-keys): Fix previous change.
9327
9328 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9329
9330 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9331 The hack didn't work outside English locales anyway.
9332
9333 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9334
9335 * simple.el (define-alternatives): Rename from alternatives-define,
9336 per RMS' suggestion.
9337
9338 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9339
9340 * desktop.el (desktop-restore-frames): Change default to t.
9341 (desktop-restore-in-current-display): Now offer more options.
9342 (desktop-restoring-reuses-frames): New customization option.
9343 (desktop--saved-states): Doc fix.
9344 (desktop-filter-parameters-alist): New variable, renamed and expanded
9345 from desktop--excluded-frame-parameters.
9346 (desktop--target-display): New variable.
9347 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9348 (desktop--filter-tty*, desktop--filter-*-color)
9349 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9350 (desktop--filter-save-desktop-parm)
9351 (desktop-restore-in-original-display-p): New functions.
9352 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9353 (desktop--save-minibuffer-frames): New function, inspired by a similar
9354 function from Martin Rudalics.
9355 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9356 (desktop--restore-in-this-display-p): Remove.
9357 (desktop--find-frame): Rename from desktop--find-frame-in-display
9358 and add predicate argument.
9359 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9360 (desktop--reuse-list): New variable.
9361 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9362 New functions.
9363 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9364
9365 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9366
9367 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9368
9369 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9370
9371 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9372 Highlight conversion methods on Kernel.
9373
9374 2013-07-13 Alan Mackenzie <acm@muc.de>
9375
9376 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9377 and comment it out. This out-commenting enables certain C++
9378 declarations to be parsed correctly.
9379
9380 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9381
9382 * international/mule.el (define-coding-system): Doc fix.
9383
9384 * simple.el (default-font-height): Don't call font-info if the
9385 frame's default font didn't change since the frame was created.
9386 (Bug#14838)
9387
9388 2013-07-13 Leo Liu <sdl.web@gmail.com>
9389
9390 * ido.el (ido-read-file-name): Guard against non-symbol value.
9391
9392 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9393
9394 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9395 in nested defuns.
9396
9397 2013-07-13 Leo Liu <sdl.web@gmail.com>
9398
9399 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9400 ido-set-matches call. (Bug#6852)
9401
9402 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9403
9404 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9405 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9406 Ruby 2.0.
9407 (ruby-font-lock-keywords): Distinguish calls to functions with
9408 module-like names from module references. Highlight character
9409 literals.
9410
9411 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9412
9413 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9414 (gdb-send): Handle continued commands. (Bug#14847)
9415
9416 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9417
9418 * desktop.el (desktop--v2s): Remove unused local variable.
9419 (desktop-save-buffer): Make defvar-local; adjust docstring.
9420 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9421 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9422
9423 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9424
9425 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9426
9427 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9428
9429 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9430 (Bug#14842)
9431
9432 2013-07-12 Glenn Morris <rgm@gnu.org>
9433
9434 * doc-view.el: Require cl-lib at runtime too.
9435 (doc-view-remove-if): Remove.
9436 (doc-view-search-next-match, doc-view-search-previous-match):
9437 Use cl-remove-if.
9438
9439 * edmacro.el: Require cl-lib at runtime too.
9440 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9441 (edmacro-mismatch, edmacro-subseq): Remove.
9442
9443 * shadowfile.el: Require cl-lib.
9444 (shadow-remove-if): Remove.
9445 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9446 Use cl-remove-if.
9447
9448 * wid-edit.el: Require cl-lib.
9449 (widget-choose): Use cl-remove-if.
9450 (widget-remove-if): Remove.
9451
9452 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9453 (ebrowse-delete-if-not): Remove.
9454 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9455 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9456 Use cl-delete-if-not.
9457
9458 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9459
9460 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9461 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9462
9463 2013-07-12 Leo Liu <sdl.web@gmail.com>
9464
9465 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9466
9467 2013-07-11 Glenn Morris <rgm@gnu.org>
9468
9469 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9470 (edebug-gensym-index, edebug-gensym):
9471 Remove reimplementation of cl-gensym.
9472 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9473
9474 * thumbs.el: Require cl-lib at run-time too.
9475 (thumbs-gensym-counter, thumbs-gensym):
9476 Remove reimplementation of cl-gensym.
9477 (thumbs-temp-file): Use cl-gensym.
9478
9479 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9480 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9481 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9482 (ert--union, ert--gensym-counter, ert--gensym-counter)
9483 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9484 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9485 (ert-make-test-unbound, ert--expand-should-1)
9486 (ert--expand-should, ert--should-error-handle-error)
9487 (should-error, ert--explain-equal-rec)
9488 (ert--plist-difference-explanation, ert-select-tests)
9489 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9490 Use cl-lib functions rather than reimplementations.
9491
9492 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9493
9494 * net/tramp.el (tramp-methods): Extend docstring.
9495 (tramp-connection-timeout): New defcustom.
9496 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9497 (with-tramp-progress-reporter): Simplify.
9498 (tramp-process-actions): Improve messages.
9499
9500 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9501 * net/tramp-sh.el (tramp-maybe-open-connection):
9502 Use `tramp-connection-timeout'.
9503 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9504 (Bug#14808)
9505
9506 2013-07-11 Leo Liu <sdl.web@gmail.com>
9507
9508 * ido.el (ido-read-file-name): Conform to the requirements of
9509 read-file-name. (Bug#11861)
9510 (ido-read-directory-name): Conform to the requirements of
9511 read-directory-name.
9512
9513 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9514
9515 * subr.el (delay-warning): New function.
9516
9517 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9518
9519 * simple.el (default-line-height): New function.
9520 (line-move-partial, line-move): Use it instead of computing the
9521 line height inline.
9522 (line-move-partial): Always compute ROWH. If the last line is
9523 partially-visible, but its text is completely visible, allow
9524 cursor to enter such a partially-visible line.
9525
9526 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9527
9528 Improve error messages. (Bug#14808)
9529
9530 * net/tramp.el (tramp-current-connection): New defvar, moved from
9531 tramp-sh.el.
9532 (tramp-message-show-progress-reporter-message): Remove, not
9533 needed anymore.
9534 (tramp-error-with-buffer): Show message in minibuffer.
9535 Discard input before waiting. Reset connection timestamp.
9536 (with-tramp-progress-reporter): Improve messages.
9537 (tramp-process-actions): Use progress reporter. Delete process in
9538 case of error. Improve messages.
9539
9540 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9541 Call `tramp-error-with-buffer' with vector and buffer.
9542 (tramp-current-connection): Remove.
9543 (tramp-maybe-open-connection): The car of
9544 `tramp-current-connection' are the first 3 slots of the vector.
9545
9546 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9547
9548 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9549 inside continued strings.
9550
9551 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9552
9553 Timestamp fixes for undo (Bug#14824).
9554 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9555
9556 2013-07-10 Leo Liu <sdl.web@gmail.com>
9557
9558 * files.el (require-final-newline): Allow safe local value.
9559 (Bug#14834)
9560
9561 2013-07-09 Leo Liu <sdl.web@gmail.com>
9562
9563 * ido.el (ido-read-directory-name): Handle fallback.
9564 (ido-read-file-name): Update DIR to ido-current-directory.
9565 (Bug#1516)
9566 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9567
9568 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9569
9570 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9571 "autoload". Remove "warn lower camel case" section, previously
9572 commented out. Highlight negation char. Do not highlight the
9573 target in singleton method definitions.
9574
9575 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * faces.el (tty-setup-hook): Declare the hook.
9578
9579 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9580 and detect when a guard/pred depends on local vars (bug#14773).
9581 (pcase--u1): Adjust caller.
9582
9583 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9584
9585 * simple.el (line-move-partial, line-move): Account for
9586 line-spacing.
9587 (line-move-partial): Avoid setting vscroll when the last
9588 partially-visible line in window is of default height.
9589
9590 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9591
9592 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9593 been used a while.
9594
9595 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9596
9597 * subr.el (read-quoted-char): Remove unused local variable `char'.
9598
9599 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9600
9601 * ediff.el (ediff-version): Version update.
9602 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9603 (ediff-merge-with-ancestor-command, ediff-directories-command)
9604 (ediff-directories3-command, ediff-merge-directories-command)
9605 (ediff-merge-directories-with-ancestor-command): New functions.
9606 All are command-line interfaces to ediff: to facilitate calling
9607 Emacs with the appropriate ediff functions invoked.
9608
9609 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9610 (viper-save-kill-buffer): Check if buffer is modified.
9611
9612 * viper.el (viper-version): Version update.
9613 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9614
9615 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9618 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9619 (viper-intercept-ESC-key): Simplify.
9620 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9621 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9622 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9623 (viper-setup-ESC-to-escape): New functions.
9624 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9625 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9626
9627 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9628
9629 * simple.el (default-font-height, window-screen-lines):
9630 New functions.
9631 (line-move, line-move-partial): Use them instead of
9632 frame-char-height and window-text-height. This makes scrolling
9633 text smoother when the buffer's default face uses a font that is
9634 different from the frame's default font.
9635
9636 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9637
9638 * files.el (write-file): Do not display confirm dialog for NS,
9639 it does its own dialog, which can't be canceled (Bug#14578).
9640
9641 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9642
9643 * simple.el (line-move-partial): Adjust the row returned by
9644 posn-at-point for the current window-vscroll. (Bug#14567)
9645
9646 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9647
9648 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9649 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9650 spaces.
9651
9652 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9653
9654 * window.el (window-state-put-stale-windows): New variable.
9655 (window--state-put-2): Save list of windows without matching buffer.
9656 (window-state-put): Remove "bufferless" windows if possible.
9657
9658 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9659
9660 * simple.el (alternatives-define): Remove leftover :group keyword.
9661 Tweak docstring.
9662
9663 2013-07-06 Leo Liu <sdl.web@gmail.com>
9664
9665 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9666 (ido-enable-virtual-buffers): New variable.
9667 (ido-buffer-internal, ido-toggle-virtual-buffers)
9668 (ido-make-buffer-list): Use it.
9669 (ido-exhibit): Support turning on and off virtual buffers
9670 automatically.
9671
9672 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9673
9674 * simple.el (alternatives-define): New macro.
9675
9676 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * subr.el (read-quoted-char): Use read-key.
9679 (sit-for): Let read-event decode tty input (bug#14782).
9680
9681 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9682
9683 * calendar/todo-mode.el: Add handling of file deletion, both by
9684 mode command and externally. Fix various related bugs.
9685 Clarify Commentary and improve some documentation strings and code.
9686 (todo-delete-file): New command.
9687 (todo-check-file): New function.
9688 (todo-show): Handle external deletion of the file we're trying to
9689 show (bug#14688). Replace called-interactively-p by an optional
9690 prefix argument to avoid problematic interaction with catch form
9691 when byte compiled (bug#14702).
9692 (todo-quit): Handle external deletion of the archive's todo file.
9693 Make sure the buffer that was visiting the archive file is still
9694 live before trying to bury it.
9695 (todo-category-completions): Handle external deletion of any
9696 category completion files.
9697 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9698 of todo files, in case of external deletion.
9699 (todo-add-file): Replace unnecessary setq by let-binding.
9700 (todo-find-archive): Check whether there are any archives.
9701 Replace unnecessary setq by let-binding.
9702 (todo-archive-done-item): Use find-file-noselect to get the
9703 archive buffer whether or not the archive already exists.
9704 Remove superfluous code. Use file size instead of buffer-file-name to
9705 check if the archive is new; if it is, update list of archives.
9706 (todo-default-todo-file): Allow nil to be a valid value for when
9707 there are no todo files.
9708 (todo-reevaluate-default-file-defcustom): Use corrected definition
9709 of todo-default-todo-file.
9710 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9711 (todo-delete-category, todo-show-categories-table)
9712 (todo-category-number): Clarify comment.
9713 (todo-filter-items): Clarify documentation string.
9714 (todo-show-current-file, todo-display-as-todo-file)
9715 (todo-reset-and-enable-done-separator): Tweak documentation string.
9716 (todo-done-separator): Make separator length window-width, since
9717 bug#2749 is now fixed.
9718
9719 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9720
9721 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9722 Support both "gvfs-monitor-dir" and "inotifywait".
9723 (tramp-sh-file-inotifywait-process-filter): Rename from
9724 `tramp-sh-file-notify-process-filter'.
9725 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9726 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9727
9728 2013-07-05 Leo Liu <sdl.web@gmail.com>
9729
9730 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9731
9732 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9733
9734 * frame.el (display-pixel-height, display-pixel-width)
9735 (display-mm-height, display-mm-width): Mention behavior on
9736 multi-monitor setups in docstrings.
9737 (w32-display-monitor-attributes-list): Declare function.
9738 (display-monitor-attributes-list): Use it.
9739
9740 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9741
9742 * filenotify.el: New package.
9743
9744 * autorevert.el (top): Require filenotify.el.
9745 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9746 instead.
9747 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9748 (auto-revert-notify-handler): Use `file-notify-*' functions.
9749
9750 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9751
9752 * net/tramp.el (tramp-file-name-for-operation):
9753 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9754
9755 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9756 for `file-notify-add-watch' and `file-notify-rm-watch'.
9757 (tramp-process-sentinel): Improve trace.
9758 (tramp-sh-handle-file-notify-add-watch)
9759 (tramp-sh-file-notify-process-filter)
9760 (tramp-sh-handle-file-notify-rm-watch)
9761 (tramp-get-remote-inotifywait): New defuns.
9762
9763 2013-07-03 Juri Linkov <juri@jurta.org>
9764
9765 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9766 call of `occur-read-primary-args' to interactive spec.
9767
9768 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9769 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9770
9771 2013-07-03 Matthias Meulien <orontee@gmail.com>
9772
9773 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9774 `Buffer-menu-multi-occur'. Add it to the menu.
9775 (Buffer-menu-mode): Document it in docstring.
9776 (Buffer-menu-multi-occur): New command. (Bug#14673)
9777
9778 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9779
9780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9781 keywords and built-ins.
9782
9783 2013-07-03 Glenn Morris <rgm@gnu.org>
9784
9785 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9786
9787 Make info-xref checks case-sensitive by default
9788 * info.el (Info-find-node, Info-find-in-tag-table)
9789 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9790 Add option for exact case matching of nodes.
9791 * info-xref.el (info-xref): New custom group.
9792 (info-xref-case-fold): New option.
9793 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9794
9795 2013-07-03 Leo Liu <sdl.web@gmail.com>
9796
9797 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9798
9799 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9800
9801 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9802 middle of block statement initially, lower the depth. Remove
9803 FIXME comment, not longer valid. Remove middle of block statement
9804 detection, no need to do that anymore since we've been using
9805 `ruby-parse-region' here.
9806
9807 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9808
9809 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9810
9811 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9812
9813 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9814
9815 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9816
9817 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9818 (desktop-restore-in-current-display): New customization option.
9819 (desktop--excluded-frame-parameters): Add `font'.
9820 (desktop--save-frames): Rename from desktop--save-windows.
9821 (desktop--restore-in-this-display-p): New function.
9822 (desktop--make-full-frame): Remove unwanted width/height from
9823 full(width|height) frames.
9824 (desktop--restore-frames): Rename from desktop--restore-windows.
9825 Obey desktop-restore-current-display. Do not delete old frames or
9826 select a new frame unless we were able to restore at least one frame.
9827
9828 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9829
9830 * files.el (find-file-noselect): Simplify conditional expression.
9831
9832 * textmodes/remember.el (remember-append-to-file):
9833 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9834
9835 Add `remember-notes' function to store random notes across Emacs
9836 restarts.
9837 * textmodes/remember.el (remember-data-file): Add :set callback to
9838 affect notes buffer (if any).
9839 (remember-notes): New command.
9840 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9841 New defcustoms for the `remember-notes' function.
9842 (remember-notes-save-and-bury-buffer): New command.
9843 (remember-notes-mode-map): New variable.
9844 (remember-mode): New minor mode.
9845 (remember-notes--kill-buffer-query): New function.
9846 * startup.el (initial-buffer-choice): Add notes to custom type.
9847
9848 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9849
9850 * bindings.el (right-char, left-char): Don't call sit-for, this is
9851 no longer needed. Use arithmetic comparison only for numerical
9852 arguments.
9853
9854 * international/mule-cmds.el (select-safe-coding-system):
9855 Handle the case of FROM being a string correctly. (Bug#14755)
9856
9857 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9858
9859 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9860 progression on degenerate tables.
9861 (shr-rescale-image): ImageMagick animated images currently don't work.
9862
9863 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9864
9865 Some fixes and improvements for desktop frame restoration.
9866 It is still experimental and disabled by default.
9867 * desktop.el (desktop--save-windows): Put the selected frame at
9868 the head of the list.
9869 (desktop--make-full-frame): New function.
9870 (desktop--restore-windows): Try to re-select the frame that was
9871 selected upon saving. Do not abort if some frames fail to restore,
9872 just show an error message and continue. Set up maximized frames
9873 so they have default non-maximized dimensions.
9874
9875 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9876
9877 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9878 Don't start heredoc inside a string or comment.
9879
9880 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9881
9882 * bindings.el (visual-order-cursor-movement): New defcustom.
9883 (right-char, left-char): Provide visual-order cursor motion by
9884 calling move-point-visually. Update the doc strings.
9885
9886 2013-06-28 Kenichi Handa <handa@gnu.org>
9887
9888 * international/mule.el (define-coding-system): New coding system
9889 properties :inhibit-null-byte-detection,
9890 :inhibit-iso-escape-detection, and :prefer-utf-8.
9891 (set-buffer-file-coding-system): If :charset-list property of
9892 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9893 appropriate for setting.
9894
9895 * international/mule-cmds.el (select-safe-coding-system):
9896 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9897 multibyte characters, return utf-8 (or one of its siblings).
9898
9899 * international/mule-conf.el (prefer-utf-8): New coding system.
9900 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9901 files.
9902
9903 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9904
9905 * net/shr.el (shr-render-region): New function.
9906
9907 * net/eww.el: Autoload `eww-browse-url'.
9908
9909 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9910
9911 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9912 Adapt to `package-desc-version' being a list.
9913 Use `package--ac-desc-version' to retrieve version from a package
9914 archive element.
9915
9916 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9917
9918 New experimental feature to save&restore window and frame setup.
9919 * desktop.el (desktop-save-windows): New defcustom.
9920 (desktop--saved-states): New var.
9921 (desktop--excluded-frame-parameters): New defconst.
9922 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9923 (desktop--restore-windows, desktop--save-windows): New functions.
9924 (desktop-save): Call `desktop--save-windows'.
9925 (desktop-read): Call `desktop--restore-windows'.
9926
9927 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9928
9929 * net/shr.el (add-face-text-property): Remove compat definition.
9930
9931 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9932
9933 * info.el (Info-try-follow-nearest-node): Move search for footnote
9934 above search for node name to prevent missing a footnote (bug#14717).
9935
9936 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9937
9938 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9939
9940 2013-06-27 Leo Liu <sdl.web@gmail.com>
9941
9942 * net/eww.el (eww-read-bookmarks): Check file size.
9943
9944 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9947 advice--pending if newdef is nil or an autoload (bug#13820).
9948 (advice-mapc): New function.
9949
9950 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9951
9952 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9953 probably.
9954 (eww-mode-map): Add a menu bar.
9955 (eww-add-bookmark): New command.
9956 (eww-bookmark-mode): New mode and commands.
9957 (eww-add-bookmark): Remove newlines from the title.
9958 (eww-bookmark-browse): Don't bug out if it's the only window.
9959
9960 2013-06-26 Glenn Morris <rgm@gnu.org>
9961
9962 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9963 (hfy-size): Handle ttys. (Bug#14668)
9964
9965 * info-xref.el: Update for Texinfo 5 change in *note format.
9966 (info-xref-node-re, info-xref-note-re): New constants.
9967 (info-xref-check-buffer): Use info-xref-note-re.
9968
9969 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9972
9973 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9974 nil terminate the loop (bug#14718).
9975
9976 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9977
9978 * net/eww.el: Rework history traversal. When going forward/back,
9979 put these actions into the history, too, so that they can be
9980 replayed.
9981 (eww-render): Move the history reset to the correct buffer.
9982
9983 2013-06-25 Juri Linkov <juri@jurta.org>
9984
9985 * files-x.el (modify-dir-local-variable): Change the header comment
9986 in the file with directory local variables. (Bug#14692)
9987
9988 * files-x.el (read-file-local-variable-value): Add `default'.
9989 (Bug#14710)
9990
9991 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9992
9993 * net/eww.el (eww-make-unique-file-name): Create a unique file
9994 name before saving to entering `y' accidentally asynchronously.
9995
9996 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9997
9998 * net/eww.el (eww-download): New command and keystroke.
9999
10000 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10001
10002 * net/eww.el (eww-copy-page-url): Change name of command.
10003
10004 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10005 be more consistent with Info and dired.
10006
10007 * net/eww.el (eww-mode-map): Ditto.
10008
10009 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10012 packages from archives.
10013 (package-archive-contents): Change format; include obsolete packages.
10014 (package-desc): Use `dir' to mark builtin packages.
10015 (package--from-builtin): Set the `dir' field to `builtin'.
10016 (generated-autoload-file, version-control): Declare.
10017 (package-compute-transaction): Change first arg and return value to be
10018 lists of package-descs. Adjust to new package-archive-contents format.
10019 (package--add-to-archive-contents): Adjust to new
10020 package-archive-contents format.
10021 (package-download-transaction): Arg is now a list of package-descs.
10022 (package-install): If `pkg' is a package name, pass it as
10023 a requirement, so it is subject to the usual (e.g. disabled) checks.
10024 (describe-package): Accept package-desc as well.
10025 (describe-package-1): Describe a specific package-desc. Add links to
10026 other package-descs for the same package name.
10027 (package-menu-describe-package): Pass the actual package-desc.
10028 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10029 works correctly.
10030 (package-desc-status): New function.
10031 (package-menu--refresh): New function, extracted
10032 from package-menu--generate.
10033 (package-menu--generate): Use it.
10034 (package-delete): Update package-alist.
10035 (package-menu-execute): Don't call package-initialize.
10036
10037 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10038 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10039 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10040 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10041 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10042 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10043
10044 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10045
10046 * window.el (window--state-get-1): Workaround for bug#14527.
10047 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10048
10049 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10050
10051 * net/eww.el (eww-back-url): Implement the history by stashing all
10052 the data into a list.
10053 (eww-forward-url): Allow going forward in the history, too.
10054
10055 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10058 for values and use read--expression for expressions (bug#14710).
10059 (read-file-local-variable): Avoid setq.
10060 (read-file-local-variable-mode): Use minor-mode-list.
10061
10062 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10063
10064 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10065 for DOI URLs.
10066
10067 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10068
10069 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10070 Update imenu-support when dialect changes.
10071
10072 2013-06-25 Leo Liu <sdl.web@gmail.com>
10073
10074 * ido.el (ido-read-internal): Allow forward slash on windows.
10075
10076 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10077
10078 * net/eww.el (eww): Start of strings is \\`, not ^.
10079
10080 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10081
10082 * net/shr.el (shr-browse-url): Fix interactive spec.
10083
10084 * net/eww.el (eww): Add a trailing slash to domain names.
10085
10086 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10087
10088 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10089
10090 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10091
10092 * net/shr.el (shr-browse-url): Use an external browser if given a
10093 prefix.
10094
10095 * net/eww.el (eww-external-browser): Move to shr.
10096
10097 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10098
10099 * net/eww.el (eww): Work more correctly for file: URLs.
10100 (eww-detect-charset): Allow quoted charsets.
10101 (eww-yank-page-url): New command and keystroke.
10102
10103 2013-06-24 Daiki Ueno <ueno@gnu.org>
10104
10105 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10106 file name of gpg executable.
10107 (epg-context-program): New function.
10108 (epg-context-home-directory): New function.
10109 (epg-context-set-program): New function.
10110 (epg-context-set-home-directory): New function.
10111 (epg--start): Use `epg-context-program' instead of
10112 'epg-gpg-program'.
10113 (epg--list-keys-1): Likewise.
10114
10115 2013-06-24 Leo Liu <sdl.web@gmail.com>
10116
10117 * ido.el (ido-read-internal): Fix bug#14620.
10118
10119 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10120
10121 * faces.el (face-documentation): Simplify.
10122 (read-face-attribute, tty-find-type, x-resolve-font-name):
10123 Use `string-match-p'.
10124 (list-faces-display): Use `string-match-p'. Simplify.
10125 (face-spec-recalc): Check face to avoid face alias loops.
10126 (read-color): Use `string-match-p' and non-capturing parenthesis.
10127
10128 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10129
10130 * net/shr.el (shr-rescale-image): Use the new
10131 :max-width/:max-height functionality.
10132
10133 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10134
10135 * net/eww.el (eww-search-prefix): New variable.
10136 (eww): Use it.
10137 (eww-external-browser): New variable.
10138 (eww-mode-map): New keystroke.
10139 (eww-browse-with-external-browser): New command.
10140
10141 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10142
10143 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10144
10145 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10146 Don't skip aligning the next header field when padding is 0;
10147 otherwise, field width is not respected unless the title is as
10148 wide as the field.
10149
10150 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10151
10152 * emacs-lisp/package.el (package-el-version): Remove.
10153 (package-process-define-package): Fix inf-loop.
10154 (package-install): Allow symbols as arguments again.
10155
10156 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10157
10158 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10159 add some more keyword-like methods.
10160 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10161
10162 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * bs.el (bs-buffer-show-mark): Make defvar-local.
10165 (bs-mode): Use setq-local.
10166
10167 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10168 (emacs-lock--try-unlocking): Make defvar-local.
10169
10170 2013-06-22 Glenn Morris <rgm@gnu.org>
10171
10172 * play/cookie1.el (cookie-apropos): Minor simplification.
10173
10174 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10175
10176 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10177
10178 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10179 `regexp-opt', it breaks the build during dumping.
10180
10181 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10182
10183 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10184 Highlight keyword-like methods on Kernel and Module with
10185 font-lock-builtin-face.
10186 (auto-mode-alist): Consolidate different entries into one regexp
10187 and add more *file-s.
10188
10189 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10190
10191 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10192
10193 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10194 (diary-entry): Use it in the action of this button type instead of
10195 diary-goto-entry.
10196
10197 * calendar/todo-mode.el: New version.
10198 (todo-add-category): Append new category to end of file and give
10199 it the highest number, instead of putting it at the beginning and
10200 giving it 0. Incorporate noninteractive functionality.
10201 (todo-forward-category): Adapt to 1-based category numbering.
10202 Allow skipping over archived categories.
10203 (todo-backward-category): Derive from todo-forward-category.
10204 (todo-backward-item, todo-forward-item): Make noninteractive and
10205 delegate interactive part to new commands. Make sensitive to done items.
10206 (todo-categories): Make value an alist of category names and
10207 vectors of item counts.
10208 (todo-category-beg): Make a defconst.
10209 (todo-category-number): Use 1 instead of 0 as initial value.
10210 (todo-category-select): Make sensitive to overlays, optional item
10211 highlighting and done items.
10212 (todo-delete-item): Make sensitive to overlays and marked and done items.
10213 (todo-edit-item): Make sensitive to overlays and editing of
10214 date/time header optional. Add format checks.
10215 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10216 no-op if point is not on an item. Advertise using todo-edit-quit.
10217 (todo-edit-mode): Make sensitive to new format, font-locking, and
10218 multiple todo files.
10219 (todo-insert-item, todo-insert-item-here): Derive from
10220 todo-basic-insert-item and extend functionality.
10221 (todo-item-end, todo-item-start): Make sensitive to done items.
10222 (todo-item-string): Don't return text properties. Restore point.
10223 (todo-jump-to-category): Make sensitive to multiple todo files and
10224 todo archives. Use extended category completion.
10225 (todo-lower-item, todo-raise-item): Rename to *-priority and
10226 derive from todo-set-item-priority.
10227 (todo-mode): Derive from special-mode. Make sensitive to new
10228 format, font-locking and multiple todo files. Make read-only.
10229 (todo-mode-map): Don't suppress digit keys, so they can supply
10230 prefix arguments. Add many new key bindings.
10231 (todo-prefix): Insert as an overlay instead of file text.
10232 Change semantics from diary date expression to purely visual mark.
10233 (todo-print): Rename to todo-print-buffer. Make buffer display
10234 features printable. Remove option to restrict number of items
10235 printed. Add option to print to file.
10236 (todo-print-function): Rename to todo-print-buffer-function.
10237 (todo-quit): Extend to handle exiting new todo modes.
10238 (todo-remove-item): Make sensitive to overlays.
10239 (todo-save): Extend to buffers of filtered items.
10240 (todo-show): Make sensitive to done items, multiple todo files and
10241 new todo modes. Offer to convert legacy todo file before creating
10242 first new todo file.
10243 (todo-show-priorities): Rename to todo-top-priorities.
10244 Change semantics of value 0.
10245 (todo-top-priorities): Rename to todo-filter-top-priorities,
10246 derive from todo-filter-items and extend functionality.
10247 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10248 and extend functionality to other types of filtered items.
10249 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10250 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10251 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10252 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10253 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10254 (todo-edit-mode-hook, todo-entry-prefix-function)
10255 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10256 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10257 (todo-initials, todo-insert-threshold, todo-item-string-start)
10258 (todo-line-string, todo-menu, todo-mode-hook)
10259 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10260 (todo-print-priorities, todo-remove-separator)
10261 (todo-save-top-priorities-too, todo-string-count-lines)
10262 (todo-string-multiline-p, todo-time-string-format)
10263 (todo-tmp-buffer-name): Remove.
10264 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10265 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10266 (todo-edit-category-diary-inclusion)
10267 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10268 (todo-edit-file, todo-edit-item-date-day)
10269 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10270 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10271 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10272 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10273 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10274 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10275 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10276 (todo-filter-top-priorities-multifile, todo-find-archive)
10277 (todo-find-filtered-items-file, todo-go-to-source-item)
10278 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10279 (todo-jump-to-archive-category, todo-lower-category)
10280 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10281 (todo-move-category, todo-move-item, todo-next-button)
10282 (todo-next-item, todo-padded-string, todo-powerset)
10283 (todo-previous-button, todo-previous-item)
10284 (todo-print-buffer-to-file, todo-raise-category)
10285 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10286 (todo-set-category-number, todo-set-item-priority)
10287 (todo-set-top-priorities-in-category)
10288 (todo-set-top-priorities-in-file, todo-show-categories-table)
10289 (todo-sort-categories-alphabetically-or-numerically)
10290 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10291 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10292 (todo-toggle-item-header, todo-toggle-item-highlighting)
10293 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10294 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10295 (todo-unarchive-items, todo-unmark-category): New commands.
10296 (todo-absolute-file-name, todo-add-to-buffer-list)
10297 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10298 (todo-basic-insert-item, todo-category-completions)
10299 (todo-category-number, todo-category-string-matcher-1)
10300 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10301 (todo-check-format, todo-clear-matches)
10302 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10303 (todo-current-category, todo-date-string-matcher)
10304 (todo-define-insertion-command, todo-diary-expired-matcher)
10305 (todo-diary-goto-entry, todo-diary-item-p)
10306 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10307 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10308 (todo-done-item-section-p, todo-done-separator)
10309 (todo-done-string-matcher, todo-files, todo-filter-items)
10310 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10311 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10312 (todo-insert-category-line, todo-insert-item-from-calendar)
10313 (todo-insert-sort-button, todo-insert-with-overlays)
10314 (todo-insertion-command-name, todo-insertion-key-bindings)
10315 (todo-label-to-key, todo-longest-category-name-length)
10316 (todo-make-categories-list, todo-mode-external-set)
10317 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10318 (todo-modes-set-3, todo-multiple-filter-files)
10319 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10320 (todo-read-category, todo-read-date, todo-read-dayname)
10321 (todo-read-file-name, todo-read-time)
10322 (todo-reevaluate-category-completions-files-defcustom)
10323 (todo-reevaluate-default-file-defcustom)
10324 (todo-reevaluate-filelist-defcustoms)
10325 (todo-reevaluate-filter-files-defcustom)
10326 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10327 (todo-reset-done-separator, todo-reset-done-separator-string)
10328 (todo-reset-done-string, todo-reset-global-current-todo-file)
10329 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10330 (todo-reset-prefix, todo-set-categories)
10331 (todo-set-date-from-calendar, todo-set-show-current-file)
10332 (todo-set-top-priorities, todo-short-file-name)
10333 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10334 (todo-total-item-counts, todo-update-buffer-list)
10335 (todo-update-categories-display, todo-update-categories-sexp)
10336 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10337 New functions.
10338 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10339 New major modes.
10340 (todo-categories, todo-display, todo-edit, todo-faces)
10341 (todo-filtered): New defgroups.
10342 (todo-archived-only, todo-button, todo-category-string, todo-date)
10343 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10344 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10345 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10346 (todo-add-item-if-new-category, todo-always-add-time-string)
10347 (todo-categories-align, todo-categories-archived-label)
10348 (todo-categories-category-label, todo-categories-diary-label)
10349 (todo-categories-done-label, todo-categories-number-separator)
10350 (todo-categories-todo-label, todo-categories-totals-label)
10351 (todo-category-completions-files, todo-completion-ignore-case)
10352 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10353 (todo-done-separator-string, todo-done-string)
10354 (todo-files-function, todo-filter-done-items, todo-filter-files)
10355 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10356 (todo-initial-category, todo-initial-file, todo-item-mark)
10357 (todo-legacy-date-time-regexp, todo-mode-line-function)
10358 (todo-nondiary-marker, todo-number-prefix)
10359 (todo-print-buffer-function, todo-show-current-file)
10360 (todo-show-done-only, todo-show-first, todo-show-with-done)
10361 (todo-skip-archived-categories, todo-top-priorities-overrides)
10362 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10363 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10364 New defcustoms.
10365 (todo-category-done, todo-date-pattern, todo-date-string-start)
10366 (todo-diary-items-buffer, todo-done-string-start)
10367 (todo-filtered-items-buffer, todo-item-start)
10368 (todo-month-abbrev-array, todo-month-name-array)
10369 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10370 (todo-top-priorities-buffer): New defconsts.
10371 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10372 (todo-categories-with-marks, todo-category-string-face)
10373 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10374 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10375 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10376 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10377 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10378 (todo-font-lock-keywords, todo-global-current-todo-file)
10379 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10380 (todo-insertion-commands-args)
10381 (todo-insertion-commands-args-genlist)
10382 (todo-insertion-commands-names, todo-insertion-map)
10383 (todo-key-bindings-t, todo-key-bindings-t+a)
10384 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10385 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10386 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10387 (todo-visited): New variables.
10388
10389 2013-06-21 Glenn Morris <rgm@gnu.org>
10390
10391 * play/cookie1.el (cookie-apropos): Add optional display argument.
10392 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10393 (psychoanalyze-pinhead): Use cookie-doctor.
10394
10395 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10396
10397 * emacs-lisp/package.el (tar-get-file-descriptor)
10398 (tar--extract): Declare.
10399
10400 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10401
10402 Extend flymake's warning predicate to be a function (bug#14217).
10403 * progmodes/flymake.el (flymake-warning-predicate): New.
10404 (flymake-parse-line): Use it.
10405 (flymake-warning-re): Make obsolete alias to
10406 `flymake-warning-predicate'.
10407
10408 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10411 (package-obsolete-list): Remove.
10412 (package-activate): Remove min-version argument. Add `force' argument.
10413 Adjust to new package-alist format.
10414 (package-mark-obsolete): Remove.
10415 (package-unpack): Force reload of the package's autoloads.
10416 (package-installed-p): Check builtins if the installed package is not
10417 recent enough.
10418 (package-initialize): Don't reset package-obsolete-list.
10419 Don't specify which package version to activate.
10420 (package-process-define-package, describe-package-1)
10421 (package-menu--generate): Adjust to new package-alist format.
10422
10423 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10424
10425 * allout-widgets.el (allout-widgets-mode-off)
10426 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10427 (allout-widgets-post-command-business)
10428 (allout-widgets-after-copy-or-kill-function)
10429 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10430 (allout-decorate-item-and-context)
10431 (allout-graphics-modification-handler): Fix typos in docstrings.
10432 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10433
10434 * cmuscheme.el (scheme-start-file): Doc fix.
10435 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10436 (scheme-input-filter): Use `string-match-p'.
10437
10438 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10439
10440 * dired-x.el: Use Dired consistently in docstrings.
10441
10442 * dired.el: Use Dired consistently in docstrings.
10443 (dired-readin, dired-mode): Use `setq-local'.
10444 (dired-switches-alist): Make defvar-local.
10445 (dired-buffers-for-dir): Use `zerop'.
10446 (dired-safe-switches-p, dired-switches-escape-p)
10447 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10448 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10449 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10450 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10451 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10452 (dired-toggle-marks, dired-mark-files-containing-regexp)
10453 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10454 (dired-flag-auto-save-files, dired-flag-backup-files):
10455 Use `looking-at-p'.
10456 (dired-mark-files-regexp, dired-build-subdir-alist):
10457 Use `string-match-p', `looking-at-p'.
10458
10459 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10460 (direct-print-region-helper): Use `string-match-p'.
10461
10462 2013-06-21 Leo Liu <sdl.web@gmail.com>
10463
10464 * comint.el (comint-redirect-results-list-from-process):
10465 Fix infinite loop.
10466
10467 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10468
10469 * net/eww.el (eww-update-header-line-format): Quote % characters.
10470
10471 2013-06-21 Glenn Morris <rgm@gnu.org>
10472
10473 * play/cookie1.el (cookie): New custom group.
10474 (cookie-file): New option.
10475 (cookie-check-file): New function.
10476 (cookie): Make it interactive. Make start and end messages optional.
10477 Interactively, display the result. Default to cookie-file.
10478 (cookie-insert): Default to cookie-file.
10479 (cookie-snarf): Make start and end messages optional.
10480 Default to cookie-file. Use with-temp-buffer.
10481 (cookie-read): Rename from read-cookie.
10482 Make start and end messages optional. Default to cookie-file.
10483 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10484 Do not autoload it.
10485 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10486 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10487
10488 2013-06-21 Leo Liu <sdl.web@gmail.com>
10489
10490 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10491
10492 2013-06-21 Glenn Morris <rgm@gnu.org>
10493
10494 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10495
10496 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10497 Daniel Hackney <dan@haxney.org>
10498
10499 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10500 Consolidate the single-file vs tarball code.
10501 (package-desc-suffix): New function.
10502 (package-desc-full-name): Don't bother inlining it.
10503 (package-load-descriptor): Return the new package-desc.
10504 (package-mark-obsolete): Remove unused arg `package'.
10505 (package-unpack): Make it work for single files as well.
10506 Make it update package-alist.
10507 (package--make-autoloads-and-stuff): Rename from
10508 package--make-autoloads-and-compile. Don't compile any more.
10509 (package--compile): New function.
10510 (package-generate-description-file): New function, extracted from
10511 package-unpack-single.
10512 (package-unpack-single): Remove.
10513 (package--with-work-buffer): Add indentation and debugging info.
10514 (package-download-single): Remove.
10515 (package-install-from-archive): Rename from package-download-tar, make
10516 it take a pkg-desc, and make it work for single files as well.
10517 (package-download-transaction): Simplify.
10518 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10519 external tar program.
10520 (package-install-from-buffer): Remove `pkg-desc' argument.
10521 Use package-tar-file-info for tar-mode buffers.
10522 (package-install-file): Simplify accordingly.
10523 (package-archive-base): Change to take a pkg-desc.
10524 * tar-mode.el (tar--check-descriptor): New function, extracted from
10525 tar-get-descriptor.
10526 (tar-get-descriptor): Use it.
10527 (tar-get-file-descriptor): New function.
10528 (tar--extract): New function, extracted from tar-extract.
10529 (tar--extract): Use it.
10530 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10531 case the summary uses non-ascii. Adjust to new calling convention of
10532 package-tar-file-info.
10533
10534 2013-06-21 Leo Liu <sdl.web@gmail.com>
10535
10536 * comint.el (comint-redirect-results-list-from-process):
10537 Fix random delay. (Bug#14681)
10538
10539 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10540
10541 * profiler.el (profiler-format-number): Use log, not log10.
10542
10543 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10544
10545 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10546
10547 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10550 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10551 yet available.
10552 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10553 (AUTOGENEL): ... here.
10554 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10555 (cl--defsubst-expand): Use it.
10556
10557 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10558
10559 * subr.el (log10): Move here from C code, and declare as obsolete.
10560 All uses of (log10 X) replaced with (log X 10).
10561
10562 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10563
10564 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10565 Declare with `defvar-local'.
10566 (tabulated-list-use-header-line, tabulated-list-entries)
10567 (tabulated-list-padding, tabulated-list-printer)
10568 (tabulated-list-sort-key): Declare with `defvar-local'.
10569 (tabulated-list-init-header, tabulated-list-print-fake-header):
10570 Use `setq-local'.
10571
10572 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10573
10574 * arc-mode.el (archive-mode): Add `archive-write-file' to
10575 `write-contents-functions' also for remote files. (Bug#14652)
10576
10577 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10578
10579 * cus-edit.el (custom-commands): Fix typos.
10580 (custom-display): Fix tooltip text.
10581 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10582 Fix typos in docstrings.
10583 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10584 (custom-unlispify-menu-entry, custom-magic-value-create)
10585 (custom-add-see-also, custom-group-value-create): Use ?\s.
10586 (custom-guess-type, customize-apropos, editable-field)
10587 (custom-face-value-create): Use `string-match-p'.
10588 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10589
10590 * custom.el (custom-load-symbol): Use `string-match-p'.
10591
10592 * ansi-color.el: Convert to lexical binding.
10593 (ansi-colors): Fix URL.
10594 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10595 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10596 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10597
10598 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10599
10600 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10601
10602 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10603
10604 2013-06-19 Tom Tromey <tromey@redhat.com>
10605
10606 * net/eww.el (eww-top-url): Remove.
10607 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10608 (eww-render): Set new variables. Don't set eww-top-url.
10609 (eww-handle-link): Handle "prev", "home", and "contents".
10610 Downcase the rel text.
10611 (eww-top-url): Choose best top URL.
10612
10613 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10614
10615 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10616 relying in widget.el. Using widget.el leads to too many
10617 user interface inconsistencies.
10618 (eww-self-insert): Implement entering commands in text fields.
10619 (eww-process-text-input): New function to make text input field editing
10620 work.
10621 (eww-submit): Rewrite to use the new-style form methods.
10622 (eww-select-display): Display the correct selected item.
10623 (eww-change-select): Implement changing the select value.
10624 (eww-toggle-checkbox): Implement radio/checkboxes.
10625 (eww-update-field): Fix compilation error.
10626 (eww-tag-textarea): Implement <textarea>.
10627
10628 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10629 we don't shadow mode-specific bindings.
10630
10631 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10632 nothing to push.
10633
10634 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10635
10636 2013-06-19 Glenn Morris <rgm@gnu.org>
10637
10638 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10639
10640 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10641
10642 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10643 not needed.
10644
10645 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10646
10647 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10648
10649 * net/browse-url.el (browse-url-browser-function):
10650 `eww-browse-url' has the right calling signature, `eww' does not.
10651
10652 2013-06-19 Glenn Morris <rgm@gnu.org>
10653
10654 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10655 Only eval autoloaded macros.
10656 (byte-compile-autoload): Only give the macro warning for macros.
10657
10658 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10659 (ps-underlined-faces): Declare.
10660
10661 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10662 (speedbar-add-supported-extension): Declare.
10663
10664 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10665 Don't include a date stamp in the header of the generated file;
10666 it leads to needless differences between output files.
10667
10668 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10669
10670 * net/secrets.el (secrets-struct-secret-content-type):
10671 Replace check of introspection data by a test call of "CreateItem".
10672 Some servers do not offer introspection.
10673
10674 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10675
10676 * electric.el (electric-pair-mode): Improve interaction with
10677 electric-layout-mode.
10678 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10679 (electric-pair-syntax): Use text-mode-syntax-table in comments
10680 and strings.
10681 (electric-pair--insert): New function.
10682 (electric-pair-post-self-insert-function): Use it and
10683 electric--after-char-pos.
10684
10685 2013-06-19 Leo Liu <sdl.web@gmail.com>
10686
10687 * progmodes/octave.el (octave-help): Fix regexp.
10688
10689 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10690
10691 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10692 (shr-table-horizontal-line): Allow nil as a value, and change the
10693 default.
10694 (shr-insert-table-ruler): Respect the nil value.
10695
10696 2013-06-18 Tom Tromey <tromey@barimba>
10697
10698 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10699 New defvars.
10700 (eww-open-file): New defun.
10701 (eww-render): Initialize new variables.
10702 (eww-display-html): Handle "link" and "a".
10703 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10704 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10705 (eww-back-url): Rename from eww-previous-url.
10706 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10707 New defuns.
10708
10709 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10710
10711 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10712 Distinguish ternary operator tokens from slash symbol and slash
10713 char literal.
10714
10715 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10716
10717 Convert symbol prettification into minor mode and global minor mode.
10718
10719 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10720 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10721 (prettify-symbols--keywords): Rename from
10722 `prog-prettify-symbols-alist' and make a local defvar.
10723 (prettify-symbols--compose-symbol): Rename from
10724 `prog--prettify-font-lock-compose-symbol'.
10725 (prettify-symbols--make-keywords): Rename from
10726 `prog-prettify-font-lock-symbols-keywords' and simplify.
10727 (prog-prettify-install): Remove.
10728 (prettify-symbols-mode): New minor mode, based on
10729 `prog-prettify-install'.
10730 (turn-on-prettify-symbols-mode): New function.
10731 (global-prettify-symbols-mode): New globalized minor mode.
10732
10733 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10734 * progmodes/cfengine.el (cfengine3-mode):
10735 * progmodes/perl-mode.el (perl-mode): Don't call
10736 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10737
10738 2013-06-18 Juri Linkov <juri@jurta.org>
10739
10740 * files-x.el (modify-file-local-variable-message): New function.
10741 (modify-file-local-variable)
10742 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10743 and call `modify-file-local-variable-message' when it's non-nil.
10744 (add-file-local-variable, delete-file-local-variable)
10745 (add-file-local-variable-prop-line)
10746 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10747 and use it. (Bug#9820)
10748
10749 2013-06-18 Juri Linkov <juri@jurta.org>
10750
10751 * emulation/vi.el (vi-shell-op):
10752 * emulation/vip.el (vip-execute-com, ex-command):
10753 * emulation/viper-cmd.el (viper-exec-bang):
10754 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10755 the call of `shell-command-on-region'. (Bug#14637)
10756
10757 * simple.el (shell-command-on-region): Doc fix.
10758
10759 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10762 (bug#14633).
10763
10764 2013-06-18 Glenn Morris <rgm@gnu.org>
10765
10766 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10767
10768 * newcomment.el (comment-search-forward, comment-search-backward):
10769 Doc fix. (Bug#14376)
10770
10771 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10772
10773 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10774 (buffer-face-mode-invoke): Doc fix.
10775
10776 2013-06-18 Matthias Meulien <orontee@gmail.com>
10777
10778 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10779 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10780
10781 2013-06-18 Glenn Morris <rgm@gnu.org>
10782
10783 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10784 Replace obsolete function generic-make-keywords with its expansion.
10785
10786 * progmodes/python.el (ffap-alist): Declare.
10787
10788 * textmodes/reftex.el (bibtex-mode-map): Declare.
10789
10790 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10791
10792 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10793 (package-unpack, package-unpack-single): Return the pkg-dir.
10794 (package-download-transaction): Use it to update package-alist.
10795
10796 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10797
10798 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10799 possible choice.
10800
10801 2013-06-17 Juri Linkov <juri@jurta.org>
10802
10803 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10804
10805 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10806
10807 * emacs-lisp/package.el (package-load-descriptor):
10808 Remove `with-syntax-table' call, `read' doesn't need it.
10809 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10810
10811 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10812
10813 * startup.el (command-line): Expand package name returned by
10814 `package--description-file' (bug#14639).
10815
10816 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10817
10818 * emacs-lisp/package.el (package-load-descriptor): Do not call
10819 `emacs-lisp-mode', just use its syntax table.
10820
10821 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10824 `font-lock-extra-managed-props' if any prettifying keyword is added.
10825 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10826 (prog-mode): Use `setq-local'.
10827
10828 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * international/characters.el (standard-case-table): Set syntax of ?»
10831 and ?« to punctuation.
10832
10833 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10834
10835 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10836 Save relevant match data before calling `syntax-ppss' (bug#14595).
10837
10838 2013-06-15 Juri Linkov <juri@jurta.org>
10839
10840 * files-x.el (modify-file-local-variable-prop-line): Add local
10841 variables to the end of the existing comment on the first line.
10842 Use `file-auto-mode-skip' to skip interpreter magic line,
10843 and also skip XML declaration.
10844
10845 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * startup.el (package--builtin-versions): New var.
10848 (package-subdirectory-regexp): Remove.
10849 (package--description-file): Hard code its value instead.
10850
10851 * emacs-lisp/package.el: Don't activate packages older than builtin.
10852 (package-obsolete-list): Rename from package-obsolete-alist, and make
10853 it into a simple list of package-desc.
10854 (package-strip-version): Remove.
10855 (package-built-in-p): Use package--builtin-versions.
10856 (package-mark-obsolete): Simplify.
10857 (package-process-define-package): Mark it obsolete if older than the
10858 builtin version.
10859 (package-handle-response): Use line-end-position.
10860 (package-read-archive-contents, package--download-one-archive):
10861 Simplify.
10862 (package--add-to-archive-contents): Skip if older than the builtin or
10863 installed version.
10864 (package-menu-describe-package): Fix last change.
10865 (package-list-unversioned): New var.
10866 (package-menu--generate): Use it.
10867
10868 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10869 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10870 (autoload-builtin-package-versions): New variable.
10871 (autoload-generate-file-autoloads): Use them.
10872 Remove the list of autoloaded functions/macros from the
10873 (autoload...) comments.
10874
10875 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10876
10877 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10878
10879 * simple.el (line-move-partial): Don't jump to the next screen
10880 line as soon as it becomes visible. Instead, continue enlarging
10881 the vscroll until the portion of a tall screen line that's left on
10882 display is about the height of the frame's default font.
10883 (Bug#14567)
10884
10885 2013-06-15 Glenn Morris <rgm@gnu.org>
10886
10887 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10888 compilation-error-regexp-alist void, or local while let-bound.
10889
10890 * progmodes/make-mode.el (makefile-mode-syntax-table):
10891 Treat "=" as punctuation. (Bug#14614)
10892
10893 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10894
10895 * help-fns.el (describe-variable):
10896 Add extra line for permanent-local variables.
10897
10898 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10899
10900 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10901 Add export, import, library. (Bug#9164)
10902 (library): Set indent function.
10903
10904 2013-06-14 Glenn Morris <rgm@gnu.org>
10905
10906 * term/xterm.el (xterm--query):
10907 Stop after first matching handler. (Bug#14615)
10908
10909 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10910
10911 Add support for dired in saveplace.
10912 * dired.el (dired-initial-position-hook): New variable.
10913 (dired-initial-position): Call hook to place cursor position.
10914 * saveplace.el (save-place-to-alist): Add dired position.
10915 (save-place-dired-hook): New function.
10916
10917 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10920 through a symbol rather than letrec.
10921
10922 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10923 (package-desc): Add `dir' field.
10924 (package-desc-full-name): New function.
10925 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10926 (package-maybe-load-descriptor): Remove.
10927 (package-load-all-descriptors): Just call package-load-descriptor.
10928 (package--disabled-p): New function.
10929 (package-desc-vers, package-desc-doc): Remove aliases.
10930 (package--dir): Remove function.
10931 (package-activate): Check if a package is disabled.
10932 (package-process-define-package): New function, extracted from
10933 define-package.
10934 (define-package): Turn into a place holder.
10935 (package-unpack-single, package-tar-file-info):
10936 Use package--description-file.
10937 (package-compute-transaction): Use package--disabled-p.
10938 (package-download-transaction): Don't call
10939 package-maybe-load-descriptor since they're all loaded anyway.
10940 (package-install): Change argument to be a pkg-desc.
10941 (package-delete): Use a single pkg-desc argument.
10942 (describe-package-1): Use package-desc-dir instead of package--dir.
10943 Use package-desc property instead of package-symbol.
10944 (package-install-button-action): Adjust accordingly.
10945 (package--push): Rewrite.
10946 (package-menu--print-info): Adjust accordingly. Change the ID format
10947 to be a pkg-desc.
10948 (package-menu-describe-package, package-menu-get-status)
10949 (package-menu--find-upgrades, package-menu-mark-upgrades)
10950 (package-menu-execute, package-menu--name-predicate):
10951 Adjust accordingly.
10952 * startup.el (package--description-file): New function.
10953 (command-line): Use it.
10954 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10955 Use package-desc-version.
10956
10957 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10958 (byte-compile-preprocess): Use it.
10959 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10960 can't quite recognize.
10961 (byte-compile-add-to-list): Remove.
10962 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10963 (cconv-closure-convert): Add assertion.
10964
10965 * emacs-lisp/map-ynp.el: Use lexical-binding.
10966 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10967 Factor out some repeated code.
10968
10969 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 * subr.el (with-eval-after-load): New macro.
10972 (eval-after-load): Allow form to be a function.
10973 take advantage of lexical-binding.
10974 (do-after-load-evaluation): Use dolist and adjust to new format.
10975 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10976
10977 2013-06-13 Juri Linkov <juri@jurta.org>
10978
10979 * replace.el (perform-replace): Display "symbol " and other search
10980 modes from `isearch-message-prefix' in the *Help* buffer.
10981
10982 * isearch.el (isearch-query-replace): Add " symbol" and other
10983 possible search modes from `isearch-message-prefix' to the prompt.
10984 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10985 when reading a regexp to collect.
10986
10987 2013-06-13 Juri Linkov <juri@jurta.org>
10988
10989 * isearch.el (word-search-regexp): Match whitespace if the search
10990 string begins or ends in whitespace. The LAX arg is applied to
10991 both ends of the search string. Use `regexp-quote' and explicit
10992 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10993 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10994 boundaries are replaced with symbol boundaries, and characters
10995 between symbols match non-word non-symbol syntax. (Bug#14602)
10996
10997 2013-06-13 Juri Linkov <juri@jurta.org>
10998
10999 * isearch.el (isearch-del-char): Don't exceed the length of
11000 `isearch-string' by the prefix arg. (Bug#14563)
11001
11002 2013-06-13 Juri Linkov <juri@jurta.org>
11003
11004 * isearch.el (isearch-yank-word, isearch-yank-line)
11005 (isearch-char-by-name, isearch-quote-char)
11006 (isearch-printing-char, isearch-process-search-char):
11007 Add optional count prefix arg. (Bug#14563)
11008
11009 * international/isearch-x.el
11010 (isearch-process-search-multibyte-characters):
11011 Add optional count prefix arg.
11012
11013 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11014
11015 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11016 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11017 lexical-binding.
11018
11019 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11020
11021 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11022
11023 2013-06-13 Glenn Morris <rgm@gnu.org>
11024
11025 * startup.el (tty-handle-args):
11026 Don't just discard "--" and anything after. (Bug#14608)
11027
11028 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11029
11030 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11031
11032 Implement changes in Secret Service API. Make it backward compatible.
11033 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11034 (secrets-create-item): Use it. Prefix properties with interface.
11035
11036 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11037
11038 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11039 (term-emulate-terminal): Respect term-suppress-hard-newline.
11040
11041 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11042
11043 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11044 Only remove a `thumb-file' overlay. (Bug#14548)
11045
11046 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11047
11048 * mail/reporter.el (reporter-submit-bug-report):
11049 Handle missing package-name. (Bug#14600)
11050
11051 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11052
11053 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11054 (reftex-citation-prompt, reftex-default-bibliography)
11055 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11056 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11057 (reftex-bib-sort-author, reftex-bib-sort-year)
11058 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11059 (reftex-extract-bib-entries-from-thebibliography)
11060 (reftex-get-bibkey-default, reftex-get-bib-names)
11061 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11062 (reftex-format-bib-entry, reftex-parse-bibitem)
11063 (reftex-format-bibitem, reftex-do-citation)
11064 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11065 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11066 (reftex-insert-bib-matches, reftex-format-citation)
11067 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11068 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11069 existing comments into docstrings.
11070
11071 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11072
11073 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11074
11075 2013-06-12 Andreas Schwab <schwab@suse.de>
11076
11077 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11078 for auto-save files.
11079
11080 2013-06-12 Glenn Morris <rgm@gnu.org>
11081
11082 * ido.el (ido-delete-ignored-files): Remove.
11083 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11084 Go back to calling ido-ignore-item-p directly.
11085
11086 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11087
11088 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11089
11090 * ido.el (ido-delete-ignored-files): New function,
11091 split from ido-make-file-list-1.
11092 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11093 (ido-make-file-list-1): Use ido-delete-ignored-files.
11094
11095 2013-06-12 Leo Liu <sdl.web@gmail.com>
11096
11097 * progmodes/octave.el (inferior-octave-startup)
11098 (inferior-octave-completion-table)
11099 (inferior-octave-track-window-width-change)
11100 (octave-eldoc-function-signatures, octave-help)
11101 (octave-find-definition): Use single quoted strings.
11102 (inferior-octave-startup-args): Change default value.
11103 (inferior-octave-startup): Do not hard code "-i" and
11104 "--no-line-editing".
11105 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11106 (inferior-octave-directory-tracker): Use it.
11107 (octave-goto-function-definition): Robustify.
11108 (octave-help): Support highlighting operators in 'See also'.
11109 (octave-find-definition): Find subfunctions only in Octave mode.
11110
11111 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * help-fns.el (help-fns--compiler-macro): If the handler function is
11114 named, then put a link to it.
11115 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11116 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11117 (cl-typep): Use it.
11118 (cl-eval-when): Simplify debug spec.
11119 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11120 compiler-macro function instead of setting `compiler-macro-file'.
11121
11122 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11123
11124 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11125 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11126
11127 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11128 Daniel Hackney <dan@haxney.org>
11129
11130 First part of Daniel Hackney's patch to package.el.
11131 * emacs-lisp/package.el: Use defstruct.
11132 (package-desc): New, main struct.
11133 (package--bi-desc, package--ac-desc): New structs, used to describe the
11134 format in external files.
11135 (package-desc-vers): Replace with package-desc-version accessor.
11136 (package-desc-doc): Replace with package-desc-summary accessor.
11137 (package-activate-1): Remove `package' arg since the pkg-vec now
11138 includes the name.
11139 (define-package): Use package-desc-from-define.
11140 (package-unpack-single): Change file-name arg to be a symbol.
11141 (package--add-to-archive-contents): Use package-desc-create and new
11142 accessor functions to package--ac-desc.
11143 (package-buffer-info, package-tar-file-info): Return a package-desc.
11144 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11145 arg to be a package-desc.
11146 (package-install-file): Adjust accordingly. Use \' to match EOS.
11147 (package--from-builtin): New function.
11148 (describe-package-1, package-menu--generate): Use it.
11149 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11150 (package-generate-autoloads): Idem and return the name of the file.
11151 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11152 Change pkg-info arg to be a package-desc.
11153 Use package-make-ac-desc.
11154 (package-upload-file): Use \' to match EOS.
11155 * finder.el (finder-compile-keywords): Use package-make-builtin.
11156
11157 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * vc/vc.el (vc-deduce-fileset): Change error message.
11160 (vc-read-backend): New function.
11161 (vc-next-action): Use it.
11162
11163 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11164
11165 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11166 (prolog-font-lock-keywords): Use regexp-opt instead.
11167 Don't manually highlight strings.
11168 (prolog-mode-variables): Simplify comment-start-skip.
11169 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11170
11171 * emacs-lisp/generic.el (generic--normalise-comments)
11172 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11173 (generic-mode-set-comments): Use them.
11174 (generic-bracket-support): Use setq-local.
11175 (generic-make-keywords-list): Declare obsolete.
11176
11177 2013-06-11 Glenn Morris <rgm@gnu.org>
11178
11179 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11180 Prettify after setting font-lock-defaults. (Bug#14574)
11181
11182 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11183
11184 * replace.el (query-replace, occur-read-regexp-defaults-function)
11185 (replace-search):
11186 * subr.el (declare-function, number-sequence, local-set-key)
11187 (substitute-key-definition, locate-user-emacs-file)
11188 (with-silent-modifications, split-string, eval-after-load):
11189 Fix typos, remove unneeded backslashes and reflow some docstrings.
11190
11191 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11194 default for Elisp files.
11195
11196 2013-06-11 Glenn Morris <rgm@gnu.org>
11197
11198 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11199 although define-derived-mode was doing this anyway. (Bug#14583)
11200
11201 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11202
11203 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11204 Fix make-variable-buffer-local call to refer to the correct variable.
11205
11206 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11207
11208 * eshell/em-term.el (eshell-visual-commands)
11209 (eshell-visual-subcommands, eshell-visual-options):
11210 Add summary line to docstrings. Add cross-references.
11211
11212 2013-06-10 Glenn Morris <rgm@gnu.org>
11213
11214 * epa.el (epa-read-file-name): New function. (Bug#14510)
11215 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11216
11217 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11218
11219 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11220 output redirection to be ignored with visual commands.
11221
11222 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11223
11224 * eshell/em-term.el (eshell-visual-command-p): New function.
11225 (eshell-term-initialize): Move long lambda to separate function
11226 eshell-visual-command-p.
11227 * eshell/em-dirs.el (eshell-dirs-initialize):
11228 * eshell/em-script.el (eshell-script-initialize):
11229 Add missing #' to lambda.
11230
11231 2013-06-08 Leo Liu <sdl.web@gmail.com>
11232
11233 * progmodes/octave.el (octave-add-log-current-defun): New function.
11234 (octave-mode): Set add-log-current-defun-function.
11235 (octave-goto-function-definition): Do not move point if not found.
11236 (octave-find-definition): Enhance to try subfunctions first.
11237
11238 2013-06-08 Glenn Morris <rgm@gnu.org>
11239
11240 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11241 (byte-compile-backward-char, byte-compile-backward-word):
11242 Improve previous change, to handle non-explicit nil.
11243
11244 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11245
11246 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11247 (smie--opener/closer-at-point): New function.
11248 (smie--matching-block-data): Use it. Don't match from right after an
11249 opener or right before a closer. Obey smie-blink-matching-inners.
11250 Don't signal a mismatch for repeated inners like "switch..case..case".
11251
11252 2013-06-07 Leo Liu <sdl.web@gmail.com>
11253
11254 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11255 to t. (Bug#14303)
11256 (octave-function-header-regexp): Fix. (Bug#14570)
11257 (octave-help-mode-finish-hook, octave-help-mode-finish):
11258 Remove. Just use temp-buffer-show-hook.
11259
11260 * newcomment.el (comment-search-backward): Revert last change.
11261 (Bug#14434)
11262
11263 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11264
11265 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11266
11267 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11268 through xargs, to avoid failure due to MS-Windows limitations on
11269 command-line length.
11270
11271 2013-06-06 Glenn Morris <rgm@gnu.org>
11272
11273 * font-lock.el (lisp-font-lock-keywords-2):
11274 Treat user-error like error.
11275
11276 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11277 (byte-compile-backward-char, byte-compile-backward-word):
11278 Handle explicit nil arguments. (Bug#14565)
11279
11280 2013-06-05 Alan Mackenzie <acm@muc.de>
11281
11282 * isearch.el (isearch-allow-prefix): New user option.
11283 (isearch-other-meta-char): Don't exit isearch when a prefix
11284 argument is typed whilst `isearch-allow-prefix' is non-nil.
11285 (Bug#9706)
11286
11287 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11288
11289 * autorevert.el (auto-revert-notify-handler): Use memq.
11290 Hide assertion failure.
11291
11292 * skeleton.el: Use cl-lib.
11293 (skeleton-further-elements): Use defvar-local.
11294 (skeleton-insert): Use cl-progv.
11295
11296 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11297
11298 * progmodes/prog-mode.el (prog-prettify-symbols)
11299 (prog-prettify-install): Update docstrings.
11300
11301 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * simple.el: Move all the prog-mode code to prog-mode.el.
11304 * progmodes/prog-mode.el: New file.
11305 * loadup.el: Add prog-mode.el.
11306
11307 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11308
11309 * simple.el (prog-prettify-symbols): Add version.
11310 (prog-prettify-install): Add convenience function to prettify symbols.
11311
11312 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11313 (perl--augmented-font-lock-keywords-1)
11314 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11315 variables and use it.
11316
11317 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11318 (cfengine3-mode): Remove unneeded variable and use it.
11319
11320 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11321 (lisp--augmented-font-lock-keywords-1)
11322 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11323 Remove unneeded variables and use it.
11324
11325 2013-06-05 João Távora <joaotavora@gmail.com>
11326
11327 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11328 to point when opening the connection. (Bug#14380)
11329
11330 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * subr.el (load-history-regexp, load-history-filename-element)
11333 (eval-after-load, after-load-functions, do-after-load-evaluation)
11334 (eval-next-after-load, display-delayed-warnings)
11335 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11336 definition of save-match-data.
11337 (overriding-local-map): Remove accidental obsolescence declaration.
11338
11339 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11340
11341 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11342
11343 Generalize symbol prettify support to prog-mode and implement it
11344 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11345 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11346 (prog--prettify-font-lock-compose-symbol)
11347 (prog-prettify-font-lock-symbols-keywords): New variables and
11348 functions to support symbol prettification.
11349 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11350 (lisp--augmented-font-lock-keywords-1)
11351 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11352 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11353 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11354 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11355 Implement prettify of -> => :: strings.
11356 * progmodes/perl-mode.el (perl-prettify-symbols)
11357 (perl--font-lock-compose-symbol)
11358 (perl--font-lock-symbols-keywords): Move to prog-mode.
11359 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11360 (perl-font-lock-keywords-1)
11361 (perl-font-lock-keywords-2): Remove explicit prettify support.
11362 (perl--augmented-font-lock-keywords)
11363 (perl--augmented-font-lock-keywords-1)
11364 (perl--augmented-font-lock-keywords-2, perl-mode):
11365 Implement prettify support.
11366
11367 2013-06-05 Leo Liu <sdl.web@gmail.com>
11368
11369 Re-implement SMIE matching block highlight using
11370 show-paren-data-function. (Bug#14395)
11371 * emacs-lisp/smie.el (smie-matching-block-highlight)
11372 (smie--highlight-matching-block-overlay)
11373 (smie--highlight-matching-block-lastpos)
11374 (smie-highlight-matching-block)
11375 (smie-highlight-matching-block-mode): Remove.
11376 (smie--matching-block-data-cache): New variable.
11377 (smie--matching-block-data): New function.
11378 (smie-setup): Use smie--matching-block-data for
11379 show-paren-data-function.
11380
11381 * progmodes/octave.el (octave-mode-menu): Fix.
11382 (octave-find-definition): Skip garbage lines.
11383
11384 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 Fix compilation error with simultaneous dynamic+lexical scoping.
11387 Add warning when a defvar appears after the first let-binding.
11388 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11389 (byte-compile-close-variables): Initialize it.
11390 (byte-compile--declare-var): New function.
11391 (byte-compile-file-form-defvar)
11392 (byte-compile-file-form-define-abbrev-table)
11393 (byte-compile-file-form-custom-declare-variable): Use it.
11394 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11395 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11396 (byte-compile-bind): Handle dynamic bindings that shadow
11397 lexical bindings.
11398 (byte-compile-unbind): Make arg non-optional.
11399 (byte-compile-let): Simplify.
11400 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11401 (cconv--analyse-function, cconv-analyse-form): Populate it.
11402 Protect byte-compile-bound-variables to limit the scope of defvars.
11403 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11404 Remove unneeded rule for `declare'.
11405
11406 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11407 so as to avoid depending on cl-adjoin at run-time.
11408 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11409
11410 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11411 (macroexp--warn-and-return): Use it.
11412
11413 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11414
11415 * subr.el: Convert to lexical binding.
11416 (overriding-local-map): Make obsolete.
11417 (add-to-list): Doc fix. Add compiler macro.
11418 (read-key): Swap values of local maps.
11419
11420 2013-06-05 Leo Liu <sdl.web@gmail.com>
11421
11422 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11423
11424 2013-06-04 Leo Liu <sdl.web@gmail.com>
11425
11426 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11427 (compilation-auto-jump): Suppress the "Mark set" message to give
11428 way to exit message.
11429
11430 2013-06-04 Alan Mackenzie <acm@muc.de>
11431
11432 Remove faulty optimisation from indentation calculation.
11433 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11434 search limit based on 2000 characters back from indent-point.
11435
11436 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11437
11438 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11439
11440 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * emacs-lisp/lisp.el: Use lexical-binding.
11443 (lisp--local-variables-1, lisp--local-variables): New functions.
11444 (lisp--local-variables-completion-table): New var.
11445 (lisp-completion-at-point): Use it complete let-bound vars.
11446
11447 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11448 eagerly (bug#14422).
11449
11450 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11451
11452 * autorevert.el (auto-revert-notify-enabled)
11453 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11454 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11455 (auto-revert-notify-handler): Handle also gfilenotify.
11456
11457 * subr.el (file-notify-handle-event): New defun. Replacing ...
11458 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11459 Remove.
11460
11461 2013-06-03 Juri Linkov <juri@jurta.org>
11462
11463 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11464 `M-s h .'. (Bug#14427)
11465
11466 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11467 command `hi-lock-face-symbol-at-point'.
11468 (hi-lock-face-symbol-at-point): New command.
11469 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11470 (hi-lock-menu): Add `highlight-symbol-at-point'.
11471 (hi-lock-mode): Doc fix.
11472
11473 * isearch.el (isearch-forward-symbol-at-point): New command.
11474 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11475 (isearch-highlight-regexp): Add a regexp which matches
11476 words/symbols for word/symbol mode.
11477
11478 * subr.el (find-tag-default-bounds): New function with the body
11479 mostly moved from `find-tag-default'.
11480 (find-tag-default): Move most code to `find-tag-default-bounds',
11481 call it and apply `buffer-substring-no-properties' afterwards.
11482
11483 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11484
11485 * eshell/em-term.el (eshell-term-initialize):
11486 Use `cl-intersection' rather than `intersection'.
11487
11488 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11489
11490 * vc/log-view.el: Doc fix.
11491 (log-view-mode-map): Copy keymap from `special-mode-map'.
11492
11493 2013-06-02 Eric Ludlam <zappo@gnu.org>
11494
11495 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11496 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11497 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11498 (eieio-unbound, eieio-default-superclass)
11499 (eieio--define-field-accessors, method-static, method-before)
11500 (method-primary, method-after, method-num-lists)
11501 (method-generic-before, method-generic-primary)
11502 (method-generic-after, method-num-slots)
11503 (eieio-specialized-key-to-generic-key)
11504 (eieio--check-type, class-v, class-p)
11505 (eieio-class-name, define-obsolete-function-alias)
11506 (eieio-class-parents-fast, eieio-class-children-fast)
11507 (same-class-fast-p, class-constructor, generic-p)
11508 (generic-primary-only-p, generic-primary-only-one-p)
11509 (class-option-assoc, class-option, eieio-object-p)
11510 (class-abstract-p, class-method-invocation-order)
11511 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11512 (eieio-class-un-autoload, eieio-defclass)
11513 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11514 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11515 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11516 (eieio-defgeneric-reset-generic-form)
11517 (eieio-defgeneric-form-primary-only)
11518 (eieio-defgeneric-reset-generic-form-primary-only)
11519 (eieio-defgeneric-form-primary-only-one)
11520 (eieio-defgeneric-reset-generic-form-primary-only-one)
11521 (eieio-unbind-method-implementations)
11522 (eieio--defmethod, eieio--typep)
11523 (eieio-perform-slot-validation, eieio-validate-slot-value)
11524 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11525 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11526 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11527 (eieio-slot-name-index, eieio-class-slot-name-index)
11528 (eieio-set-defaults, eieio-initarg-to-attribute)
11529 (eieio-attribute-to-initarg, eieio-c3-candidate)
11530 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11531 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11532 (eieio-class-precedence-list, eieio-generic-call-methodname)
11533 (eieio-generic-call-arglst, eieio-generic-call-key)
11534 (eieio-generic-call-next-method-list)
11535 (eieio-pre-method-execution-functions, eieio-generic-call)
11536 (eieio-generic-call-primary-only, eieiomt-method-list)
11537 (eieiomt-optimizing-obarray, eieiomt-install)
11538 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11539 (eieio-generic-form, eieio-defmethod, make-obsolete)
11540 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11541 (defclass): Remove `eval-and-compile' from macro.
11542 (call-next-method, shared-initialize): Instead of using
11543 `scoped-class' variable, use new eieio--scoped-class, and
11544 eieio--with-scoped-class.
11545 (initialize-instance): Rename local variable 'scoped-class' to
11546 'this-class' to remove ambiguitity from old global.
11547
11548 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11549 eieio.el.
11550 (eieio--scoped-class-stack): New variable.
11551 (eieio--scoped-class): New fcn.
11552 (eieio--with-scoped-class): New scoping macro.
11553 (eieio-defclass): Use pushnew instead of add-to-list.
11554 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11555 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11556 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11557 `scoped-class' variable, use new eieio--scoped-class, and
11558 eieio--with-scoped-class.
11559
11560 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11561
11562 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11563
11564 * eshell/esh-ext.el (eshell-external-command): Pass args to
11565 `eshell-find-interpreter'.
11566 (eshell-find-interpreter): Add new second parameter ARGS.
11567
11568 * eshell/em-script.el (eshell-script-initialize): Add second arg
11569 to the function added as MATCH to `eshell-interpreter-alist'.
11570
11571 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11572 the function added as MATCH to `eshell-interpreter-alist'.
11573
11574 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11575 (eshell-visual-options): New defcustom.
11576 (eshell-escape-control-x): Adapt docstring.
11577 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11578 `eshell-visual-options' in addition to `eshell-visual-commands'.
11579 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11580
11581 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11582
11583 * progmodes/python.el (python-indent-block-enders): Add break,
11584 continue and raise keywords.
11585
11586 2013-06-01 Glenn Morris <rgm@gnu.org>
11587
11588 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11589
11590 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11591 * progmodes/cc-cmds.el (delete-forward-p):
11592 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11593 * progmodes/cc-engine.el (buffer-syntactic-context):
11594 * progmodes/cc-fonts.el (face-property-instance):
11595 * progmodes/cc-mode.el (set-keymap-parents):
11596 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11597 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11598 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11599 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11600 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11601
11602 * progmodes/cc-vars.el (other): Emacs has this widget since
11603 at least 21.1, so don't (re)define it.
11604
11605 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11606 Replace the obsolete alias pcomplete-arg-quote-list.
11607
11608 2013-06-01 Leo Liu <sdl.web@gmail.com>
11609
11610 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11611 punctuation syntax.
11612 (inferior-octave-minimal-columns)
11613 (inferior-octave-last-column-width): New variables.
11614 (inferior-octave-track-window-width-change): New function.
11615 (inferior-octave-mode): Adjust column width so that Octave output,
11616 for example from 'ls', can fit into the window nicely.
11617
11618 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11619
11620 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11621 Highlight expansions inside regexp literals.
11622
11623 2013-05-31 Glenn Morris <rgm@gnu.org>
11624
11625 * obsolete/sym-comp.el (symbol-complete):
11626 Replace obsolete completion-annotate-function.
11627
11628 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11629
11630 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11631
11632 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11633 New function, checks if point is inside a literal that allows
11634 expression expansion.
11635 (ruby-syntax-propertize-expansion): Use it.
11636 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11637 around the body.
11638
11639 2013-05-30 Juri Linkov <juri@jurta.org>
11640
11641 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11642 to "\M-si".
11643 (isearch-invisible): New variable.
11644 (isearch-forward): Doc fix.
11645 (isearch-mode): Set `isearch-invisible'
11646 to the value of `search-invisible'.
11647 (isearch-toggle-case-fold): Doc fix.
11648 (isearch-toggle-invisible): New command.
11649 (isearch-query-replace): Let-bind `search-invisible'
11650 to the value of `isearch-invisible'.
11651 (isearch-search): Use `isearch-invisible' instead of
11652 `search-invisible'. Let-bind `search-invisible'
11653 to the value of `isearch-invisible'. (Bug#11378)
11654
11655 2013-05-30 Juri Linkov <juri@jurta.org>
11656
11657 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11658 call when `query-flag' is nil and `search-invisible' is non-nil.
11659 (Bug#11746)
11660
11661 2013-05-30 Glenn Morris <rgm@gnu.org>
11662
11663 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11664
11665 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11666 (cc-require): Suppress spurious "noruntime" warnings.
11667 (cc-require-when-compile): Use fboundp, for sake of compiler.
11668
11669 * progmodes/cc-mode.el: Move load of cc-vars before that of
11670 cc-langs (which in turn loads cc-vars), to quieten compiler.
11671
11672 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11673
11674 * paren.el: Simplify the code.
11675 (show-paren-mode): Always start the timer.
11676 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11677 (show-paren--overlay, show-paren--overlay-1): Rename from
11678 show-paren-overlay and show-paren-overlay-1, and initialize to an
11679 overlay rather than to nil.
11680 (show-paren-function): Misc cleanup and simplifications.
11681
11682 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * paren.el (show-paren-data-function): New hook.
11685 (show-paren--default): New function, extracted from show-paren-function.
11686 (show-paren-function): Use show-paren-data-function.
11687
11688 2013-05-30 Glenn Morris <rgm@gnu.org>
11689
11690 * ielm.el (ielm-map, ielm-complete-symbol):
11691 Use completion-at-point rather than obsolete functions.
11692 (inferior-emacs-lisp-mode): Doc fix.
11693 Set completion-at-point-functions, rather than
11694 comint-dynamic-complete-functions.
11695
11696 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11697 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11698 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11699
11700 * image.el (image-animated-p): Tweak definition.
11701
11702 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11703 (rlogin-process-connection-type): Tweak default. Add set-after.
11704 (rlogin-host): Doc fix.
11705 (rlogin): Tweak prompt.
11706 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11707
11708 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11709 * progmodes/tcl.el (inferior-tcl-mode-map):
11710 Use completion-at-point rather than obsolete alias.
11711
11712 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11713
11714 * minibuffer.el (read-file-name-completion-ignore-case):
11715 Move before completion--in-region, for eager macro expansion.
11716
11717 2013-05-29 Juri Linkov <juri@jurta.org>
11718
11719 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11720 for total count of matching lines. Add `global-matches' for total
11721 count of matches. Rename `matches' to `lines' for count of
11722 matching lines. Add `matches' for count of matches.
11723 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11724 to `prev-line' for line number of prev match endpt.
11725 Increment `matches' for every match. Print the number of
11726 matching lines in the header.
11727 (occur-context-lines): Rename `lines' to `curr-line'.
11728 Rename `prev-lines' to `prev-line'. (Bug#14017)
11729
11730 2013-05-29 Juri Linkov <juri@jurta.org>
11731
11732 * replace.el (perform-replace): Add `skip-read-only-count',
11733 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11734 Increment them for corresponding conditions and report the number
11735 of skipped occurrences in the final message. (Bug#11746)
11736 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11737 (replace-string, replace-regexp): Doc fix.
11738
11739 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11742
11743 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11744 prog-mode-map (bug#14504).
11745
11746 2013-05-29 Leo Liu <sdl.web@gmail.com>
11747
11748 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11749 (octave-help): Small simplification.
11750
11751 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11752 off the highlight first.
11753
11754 2013-05-29 Glenn Morris <rgm@gnu.org>
11755
11756 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11757 Handle idlwave-last-system-routine-info-cons-cell being nil.
11758
11759 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11760 (idlwave-write-paths): Simplify via with-temp-buffer.
11761
11762 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11763 * emulation/cua-rect.el: Also load cua-base at run time.
11764
11765 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11766 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11767 (cperl-imenu-on-info): Require imenu.
11768
11769 2013-05-28 Alan Mackenzie <acm@muc.de>
11770
11771 Handle "capitalised keywords" correctly.
11772 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11773
11774 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11775
11776 * eshell/em-unix.el: Add -r option to cp.
11777
11778 2013-05-28 Glenn Morris <rgm@gnu.org>
11779
11780 * vc/vc-arch.el (vc-exec-after): Declare.
11781 (vc-switches): Autoload.
11782 * vc/vc-bzr.el: No need to require vc when compiling.
11783 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11784 (vc-resynch-buffer, vc-dir-refresh): Declare.
11785 (vc-setup-buffer, vc-switches): Autoload.
11786 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11787 (vc-resynch-buffer): Declare.
11788 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11789 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11790 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11791 (grep-read-regexp, grep-read-files, grep-expand-template)
11792 (vc-dir-refresh): Declare.
11793 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11794 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11795 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11796 * vc/vc-mtn.el (vc-exec-after): Declare.
11797 (vc-switches): Autoload.
11798 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11799 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11800 (vc-file-tree-walk): Declare.
11801 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11802 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11803 (vc-tag-precondition, vc-rename-master): Autoload.
11804 * vc/vc-svn.el (vc-exec-after): Declare.
11805 (vc-switches, vc-setup-buffer): Autoload.
11806 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11807 Autoload.
11808 (vc-resynch-buffer): Declare.
11809
11810 * obsolete/fast-lock.el (byte-compile-warnings):
11811 Don't warn about obsolete features in this obsolete file.
11812
11813 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11814 Move definition before use.
11815
11816 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11817 (dun-unix-verbs): Remove dun-zippy.
11818 (dun-zippy): Remove function.
11819
11820 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11821
11822 2013-05-27 Juri Linkov <juri@jurta.org>
11823
11824 * replace.el (replace-search): New function with code moved out
11825 from `perform-replace'.
11826 (replace-highlight, replace-dehighlight): Move function definitions
11827 up closer to `replace-search'. (Bug#11746)
11828
11829 2013-05-27 Juri Linkov <juri@jurta.org>
11830
11831 * replace.el (perform-replace): Ignore invisible matches.
11832 In addition to checking `query-replace-skip-read-only', also
11833 filter out matches by calling `run-hook-with-args-until-failure'
11834 on `isearch-filter-predicates', and also check `search-invisible'
11835 for t or call `isearch-range-invisible'.
11836 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11837
11838 2013-05-27 Juri Linkov <juri@jurta.org>
11839
11840 * isearch.el (isearch-filter-predicates): Rename from
11841 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11842 (isearch-message-prefix): Display text from the property
11843 `isearch-message-prefix' of the currently active filters.
11844 (isearch-search): Don't compare `isearch-filter-predicate' with
11845 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11846 on `isearch-filter-predicates'. Also check `search-invisible' for t
11847 or call `isearch-range-invisible'.
11848 (isearch-filter-visible): Make obsolete.
11849 (isearch-lazy-highlight-search):
11850 Call `run-hook-with-args-until-failure' on
11851 `isearch-filter-predicates' and use `isearch-range-invisible'.
11852
11853 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11854 `isearch-filter-predicates' instead of `funcall'ing
11855 `isearch-filter-predicate'.
11856 (Info-mode): Set `Info-isearch-filter' to
11857 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11858
11859 * dired-aux.el (dired-isearch-filter-predicate-orig):
11860 Remove variable.
11861 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11862 (dired-isearch-filenames-end): Add and remove
11863 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11864 instead of changing the value of `isearch-filter-predicate'.
11865 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11866 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11867 Put property `isearch-message-prefix' to "filename " on
11868 `dired-isearch-filter-filenames'.
11869
11870 * wdired.el (wdired-change-to-wdired-mode):
11871 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11872 locally instead of changing `isearch-filter-predicate'.
11873 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11874
11875 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11876
11877 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11878 return the commit hash (Bug#14459). Also set the
11879 `vc-git-detached' property.
11880 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11881 (vc-git-mode-line-string): Use the same help-echo format whether
11882 in detached mode or not, because we know the actual revision now.
11883 When in detached mode, shorten the revision to 7 chars.
11884
11885 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * emacs-lisp/easy-mmode.el (define-minor-mode):
11888 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11889 mode hook and provide a docstring.
11890
11891 2013-05-27 Alan Mackenzie <acm@muc.de>
11892
11893 Remove spurious syntax-table text properties inserted by C-y.
11894 * progmodes/cc-mode.el (c-after-change): Also clear hard
11895 syntax-table property with value nil.
11896
11897 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11898
11899 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11900 when reading the events; the buffer layout shall not be changed.
11901
11902 2013-05-27 Leo Liu <sdl.web@gmail.com>
11903
11904 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11905 New variable.
11906 (inferior-octave-directory-tracker): Automatically re-sync
11907 default-directory.
11908 (octave-help): Improve handling of 'See also'.
11909
11910 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * doc-view.el: Minor naming convention tweaks.
11913 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11914
11915 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11916 even if there's no `display' property yet (bug#14435).
11917
11918 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11919
11920 * subr.el (unmsys--file-name): Rename from reveal-filename.
11921
11922 * Makefile.in (custom-deps, finder-data, autoloads)
11923 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11924 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11925 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11926
11927 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11930 error-completion on the first 2 args of condition-case (bug#14446).
11931 Don't burp at EOB.
11932
11933 2013-05-25 Leo Liu <sdl.web@gmail.com>
11934
11935 * comint.el (comint-previous-matching-input): Do not flood the
11936 *Messages* buffer with trivial messages.
11937
11938 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * progmodes/flymake.el (flymake-nop): Don't return a string.
11941 (flymake-set-at): Fix typo.
11942
11943 * simple.el (read--expression): New function, extracted from
11944 eval-expression. Set completion-at-point-functions (bug#14465).
11945 (eval-expression, eval-minibuffer): Use it.
11946
11947 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11948
11949 * progmodes/flymake.el (flymake-save-buffer-in-file)
11950 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11951 (flymake-selected-frame, flymake-log, flymake-ins-after)
11952 (flymake-set-at, flymake-get-buildfile-from-cache)
11953 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11954 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11955 Refine the doc string.
11956 (flymake-get-file-name-mode-and-masks): Reformat.
11957 (flymake-get-real-file-name-function): Fix a minor bug.
11958
11959 2013-05-24 Juri Linkov <juri@jurta.org>
11960
11961 * progmodes/grep.el (grep-mode-font-lock-keywords):
11962 Support =linenumber= format used by git-grep for lines with
11963 function names. (Bug#13549)
11964
11965 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11966
11967 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11968 0 after a semi-colon; it works better for smie-auto-fill.
11969 (octave--indent-new-comment-line): New function.
11970 (octave-indent-new-comment-line): Use it (indirectly).
11971 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11972 modify comment-line-break-function.
11973
11974 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11975 (smie-setup): Use add-function to set it.
11976
11977 2013-05-24 Sam Steingold <sds@gnu.org>
11978
11979 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11980 argument (before the `interactive' argument).
11981
11982 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * image-mode.el (image-mode-winprops): Add winprops to
11985 image-mode-winprops-alist before running
11986 image-mode-new-window-functions.
11987 * doc-view.el (doc-view-new-window-function): Don't delay
11988 doc-view-goto-page via timers (bug#14435).
11989
11990 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11991
11992 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11993 (doc-view-desktop-save-buffer): New function.
11994 (doc-view-restore-desktop-buffer): New function.
11995 (desktop-buffer-mode-handlers):
11996 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11997 handler.
11998 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11999 `desktop-save-buffer' function.
12000
12001 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12002
12003 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12004 (tramp-gvfs-file-name-handler): Raise a user error when
12005 `tramp-gvfs-enabled' is nil.
12006 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12007 Do not raise a user error when loading package. (Bug#14447)
12008
12009 * net/xesam.el: Move to obsolete/.
12010
12011 2013-05-24 Glenn Morris <rgm@gnu.org>
12012
12013 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12014
12015 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12016
12017 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12018 (Info-find-node, Man-getpage-in-background): Declare.
12019
12020 * mail/unrmail.el (unrmail):
12021 Replace obsolete detect-coding-with-priority.
12022
12023 * net/socks.el (socks-split-string): Use this rather than split-string.
12024 (socks-nslookup-host): Update for above change.
12025 (dynamic-choice, s5-dynamic-choice-match)
12026 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12027 Comment out unused code.
12028
12029 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12030 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12031 (gud-tooltip-echo-area): Make obsolete.
12032 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12033
12034 * progmodes/js.el (js--optimize-arglist): Declare.
12035
12036 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12037
12038 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12039 (ediff-window-C): Declare.
12040
12041 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12042 Tweak requires to silence compiler.
12043
12044 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12045 (he-search-string, he-tried-table, he-expand-list)
12046 (he-init-string, he-string-member, he-substitute-string)
12047 (he-reset-string): Declare.
12048
12049 * obsolete/options.el (list-options): Use custom-variable-p,
12050 rather than obsolete alias.
12051
12052 2013-05-23 Sam Steingold <sds@gnu.org>
12053
12054 * simple.el (shell-command-on-region): Pass the `replace' argument
12055 down to `call-process-region' to comply with the doc as reported on
12056 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12057
12058 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12059
12060 * emacs-lisp/smie.el (smie-indent-forward-token)
12061 (smie-indent-backward-token): Handle string tokens (bug#14381).
12062
12063 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12064
12065 * ielm.el (ielm-menu): New menu.
12066 (inferior-emacs-lisp-mode): Set comment-start.
12067
12068 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12069
12070 * textmodes/reftex.el (reftex-ref-style-toggle):
12071 Fix deactivate action.
12072
12073 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12074 Add cleveref macros.
12075
12076 * textmodes/reftex-parse.el
12077 (reftex-locate-bibliography-files): Accept options for
12078 bibliography commands.
12079 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12080 Add addbibresource. Basic Biblatex support.
12081
12082 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12083
12084 * net/tramp-gvfs.el (top):
12085 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12086 when loading package. (Bug#14447)
12087
12088 2013-05-23 Glenn Morris <rgm@gnu.org>
12089
12090 * progmodes/js.el: No need to load comint when compiling.
12091 (ring-insert, comint-send-string, comint-send-input)
12092 (comint-last-input-end, ido-chop): Declare.
12093
12094 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12095 * vc/ediff-mult.el: Adjust requires.
12096 (ediff-directories-internal, ediff-directory-revisions-internal)
12097 (ediff-patch-file-internal): Declare.
12098 * vc/ediff-ptch.el: Adjust requires.
12099 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12100 (ediff-find-file): Autoload.
12101 * vc/ediff-util.el: No need to load ediff when compiling.
12102 (ediff-regions-internal): Declare.
12103 * vc/ediff-wind.el: Adjust requires.
12104 (ediff-compute-toolbar-width): Define when compiling.
12105 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12106 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12107 (dired-get-filename, dired-get-marked-files)
12108 (ediff-last-dir-patch, ediff-patch-default-directory)
12109 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12110 (ediff-patch-buffer-internal): Declare.
12111
12112 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12113 (ispell-process, ispell-buffer-local-words, lm-summary)
12114 (lm-section-start, lm-section-end): Declare.
12115 (checkdoc-ispell-init): Simplify.
12116
12117 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12118 (he-string-member, he-reset-string, he-substitute-string): Declare.
12119
12120 * eshell/em-ls.el: Adjust requires.
12121 (eshell-glob-regexp): Declare.
12122 * eshell/em-tramp.el: Adjust requires.
12123 (eshell-parse-command): Autoload.
12124 * eshell/em-xtra.el: Adjust requires.
12125 (eshell-parse-command): Autoload.
12126 * eshell/esh-ext.el: Adjust requires.
12127 (eshell-parse-command, eshell-close-handles): Autoload.
12128 * eshell/esh-io.el: Adjust requires.
12129 (eshell-output-filter): Autoload.
12130 * eshell/esh-util.el: No need to load tramp when compiling.
12131 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12132 Declare.
12133 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12134 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12135 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12136 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12137 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12138 * eshell/esh-opt.el, eshell/esh-proc.el:
12139 * eshell/esh-var.el: Adjust requires.
12140 * eshell/eshell.el: Do not require esh-util twice.
12141 (eshell-add-input-to-history): Declare.
12142 (eshell-command): Check history module is active before using it.
12143
12144 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12145
12146 2013-05-22 Leo Liu <sdl.web@gmail.com>
12147
12148 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12149
12150 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12151
12152 * autorevert.el (auto-revert-notify-add-watch)
12153 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12154 it indicates changes in file modification time.
12155
12156 2013-05-22 Glenn Morris <rgm@gnu.org>
12157
12158 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12159 Always delete the autoloaded function from the noruntime and
12160 unresolved functions lists.
12161
12162 * allout.el: No need to load epa, epg, overlay when compiling.
12163 (epg-context-set-passphrase-callback, epg-list-keys)
12164 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12165 (epg-key-user-id-list): Declare.
12166
12167 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12168 (viper-set-parsing-style-toggling-macro)
12169 (viper-set-emacs-state-searchstyle-macros):
12170 Use called-interactively-p on Emacs.
12171 (viper-looking-back): Make it an obsolete alias. Update callers.
12172 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12173 Use looking-back rather than viper-looking-back.
12174 (viper-tmp-insert-at-eob, viper-enlarge-region)
12175 (viper-read-string-with-history, viper-register-to-point)
12176 (viper-append-to-register, viper-change-state-to-vi)
12177 (viper-backward-char-carefully, viper-forward-char-carefully)
12178 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12179 (viper-change-state-to-emacs): Declare.
12180 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12181 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12182 * emulation/viper-mous.el: Do not load viper-cmd.
12183 (viper-backward-char-carefully, viper-forward-char-carefully)
12184 (viper-forward-word, viper-adjust-window): Declare.
12185
12186 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12187
12188 * progmodes/idlw-help.el (idlwave-help-fontify):
12189 Use called-interactively-p.
12190
12191 * term/w32console.el (w32-get-console-codepage)
12192 (w32-get-console-output-codepage): Declare.
12193
12194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12195 Remove unnecessary declarations.
12196 (dframe-message): Doc fix.
12197
12198 * info.el (dframe-select-attached-frame, dframe-current-frame):
12199 Declare.
12200
12201 * speedbar.el (speedbar-message): Make it an obsolete alias.
12202 Update all callers.
12203 (speedbar-with-attached-buffer)
12204 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12205 (speedbar-with-writable): Use backquote.
12206 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12207 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12208 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12209 rather than speedbar- aliases.
12210 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12211 (speedbar-make-specialized-keymap, speedbar-insert-button)
12212 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12213 (speedbar-do-function-pointer): Declare.
12214 (rmail-speedbar-button, rmail-speedbar-find-file)
12215 (rmail-speedbar-move-message):
12216 Use dframe-with-attached-buffer rather than speedbar- alias.
12217 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12218 (dframe-message, speedbar-make-specialized-keymap)
12219 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12220 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12221 (speedbar-insert-button, dframe-select-attached-frame)
12222 (dframe-maybee-jump-to-attached-frame)
12223 (speedbar-change-initial-expansion-list)
12224 (speedbar-previously-used-expansion-list-name): Declare.
12225 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12226 Use dframe-message, dframe-with-attached-buffer rather than
12227 speedbar- aliases.
12228 (gud-sentinel): Silence compiler.
12229 * progmodes/vhdl-mode.el (speedbar-refresh)
12230 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12231 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12232 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12233 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12234 (speedbar-file-lists, speedbar-make-tag-line)
12235 (speedbar-line-directory, speedbar-goto-this-file)
12236 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12237 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12238 (speedbar-make-button, speedbar-reset-scanners)
12239 (speedbar-files-item-info, speedbar-line-text)
12240 (speedbar-find-file-in-frame, speedbar-set-timer)
12241 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12242 (speedbar-with-writable): Do not (re)define it.
12243 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12244 rather than speedbar- alias.
12245
12246 2013-05-21 Leo Liu <sdl.web@gmail.com>
12247
12248 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12249 menu items.
12250 (octave-mode): Tweak fill-nobreak-predicate.
12251 (inferior-octave-startup): Check process to avoid infinite loop.
12252 (inferior-octave): Pop to buffer first to show abornmal process
12253 exit information.
12254
12255 2013-05-21 Glenn Morris <rgm@gnu.org>
12256
12257 * printing.el (pr-menu-bar): Define when compiling.
12258
12259 2013-05-21 Leo Liu <sdl.web@gmail.com>
12260
12261 * progmodes/octave.el (octave-auto-fill): Remove.
12262 (octave-indent-new-comment-line): Improve.
12263 (octave-mode): Use auto fill mode through
12264 comment-line-break-function and fill-nobreak-predicate.
12265 (octave-goto-function-definition): Support DEFUN_DLD.
12266 (octave-beginning-of-defun): Small tweak.
12267 (octave-help): Show parent directory.
12268
12269 2013-05-21 Glenn Morris <rgm@gnu.org>
12270
12271 * files.el (dired-unmark):
12272 * progmodes/gud.el (gdb-input): Update declarations.
12273
12274 * calculator.el (electric, ehelp): No need to load when compiling.
12275 (Electric-command-loop, electric-describe-mode): Declare.
12276
12277 * doc-view.el (doc-view-current-converter-processes): Move before use.
12278
12279 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12280 Move MODE-set-explicitly definition before use.
12281
12282 * international/mule-diag.el (mule-diag):
12283 Don't use obsolete window-system-version.
12284
12285 * mail/feedmail.el (smtpmail): No need to load when compiling.
12286 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12287
12288 * mail/mail-utils.el (rfc822): No need to load when compiling.
12289 (rfc822-addresses): Autoload it.
12290 (mail-strip-quoted-names): Trivial simplification.
12291
12292 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12293 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12294
12295 * net/snmp-mode.el (tempo): Don't duplicate requires.
12296
12297 * progmodes/prolog.el (info): No need to load when compiling.
12298 (comint): Require before shell requires it.
12299 (Info-goto-node): Autoload it.
12300 (Info-follow-nearest-node): Declare.
12301 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12302
12303 * textmodes/artist.el (picture-mode-exit): Declare.
12304
12305 * textmodes/reftex-parse.el (reftex-parse-from-file):
12306 Trivial rewrite so the compiler can parse it better.
12307
12308 2013-05-20 Leo Liu <sdl.web@gmail.com>
12309
12310 * progmodes/octave.el (octave-help-mode-map)
12311 (octave-help-mode-finish-hook): New variables.
12312 (octave-help-mode, octave-help-mode-finish): New functions.
12313 (octave-help): Use octave-help-mode.
12314
12315 2013-05-20 Glenn Morris <rgm@gnu.org>
12316
12317 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12318
12319 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12320
12321 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12322 start at point, so that expansion starting right after opening
12323 slash in a regexp is recognized.
12324 (ruby-syntax-before-regexp-re): New defvar, extracted from
12325 ruby-syntax-propertize-function. Since the value of this regexp
12326 is looked up at runtime now, we should be able to turn
12327 `ruby-syntax-methods-before-regexp' into a defcustom later.
12328 (ruby-syntax-propertize-function): Split regexp matching into two
12329 parts, for opening and closing slashes. That allows us to skip
12330 over string interpolations and support multiline regexps.
12331 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12332 for them, which calls `ruby-syntax-propertize-expansion'.
12333 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12334 call to `ruby-syntax-propertize-function'.
12335 (ruby-syntax-propertize-expansion): Extracted from
12336 `ruby-syntax-propertize-expansions'. Handles one expansion.
12337 (ruby-syntax-propertize-percent-literal): Leave point right after
12338 the percent symbol, so that the expression expansion rule can
12339 propertize the contents.
12340 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12341 heredoc openers.
12342 (ruby-syntax-propertize-expansions): Remove.
12343
12344 2013-05-18 Juri Linkov <juri@jurta.org>
12345
12346 * man.el (Man-default-man-entry): Remove `-' from the end
12347 of the default value. (Bug#14400)
12348
12349 2013-05-18 Glenn Morris <rgm@gnu.org>
12350
12351 * comint.el (comint-password-prompt-regexp):
12352 Allow "password for XXX" where XXX contains colons (eg https://...).
12353
12354 2013-05-18 Leo Liu <sdl.web@gmail.com>
12355
12356 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12357 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12358 (octave-source-directories): Don't check process.
12359 (octave-source-directories, octave-find-definition): Doc fix.
12360
12361 2013-05-18 Glenn Morris <rgm@gnu.org>
12362
12363 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12364 Remove backspace/delete bindings. (Bug#14392)
12365
12366 * cus-dep.el (custom-make-dependencies): Sort the output.
12367 (custom-versions-load-alist): Convert comment to doc.
12368
12369 2013-05-17 Leo Liu <sdl.web@gmail.com>
12370
12371 * newcomment.el (comment-search-backward): Stricter in finding
12372 comment start. (Bug#14303)
12373
12374 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12375 (octave-comment-start-skip): Properly anchored.
12376
12377 2013-05-17 Leo Liu <sdl.web@gmail.com>
12378
12379 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12380 Clean up when turned off. (Bug#14395)
12381 (smie--highlight-matching-block-overlay): No longer buffer-local.
12382 (smie-highlight-matching-block): Adjust.
12383
12384 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12385
12386 Doc string fix for "nanoseconds" (Bug#14406).
12387 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12388 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12389
12390 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12391
12392 * calc/calc-units.el (math-extract-units): Preserve powers
12393 of units.
12394
12395 2013-05-17 Leo Liu <sdl.web@gmail.com>
12396
12397 * subr.el (delete-consecutive-dups): New function.
12398 * ido.el (ido-set-matches-1): Use it.
12399 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12400 * ido.el (ido-remove-consecutive-dups): Remove.
12401
12402 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12405 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12406 regexp-opt's `words'.
12407
12408 2013-05-16 Leo Liu <sdl.web@gmail.com>
12409
12410 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12411 (smie--highlight-matching-block-overlay)
12412 (smie--highlight-matching-block-lastpos)
12413 (smie--highlight-matching-block-timer): New variables.
12414 (smie-highlight-matching-block): New function.
12415 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12416 (smie-setup): Conditionally enable smie-blink-matching-open.
12417
12418 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12419
12420 Sync with upstream verilog-mode r840.
12421 * progmodes/verilog-mode.el (verilog-mode-version)
12422 (verilog-mode-release-date): Update.
12423 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12424 (verilog-sig-tieoff): Fix string error on
12425 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12426 (verilog-read-decls): Fix parameters confusing
12427 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12428
12429 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12430
12431 * subr.el (reveal-filename): New function.
12432
12433 * loadup.el: Compute Emacs executable versions on MS-Windows,
12434 where executables have the .exe extension. Add a hard link
12435 emacs-XX.YY.ZZ.exe on MS-Windows.
12436
12437 * Makefile.in (XARGS_LIMIT): New variable.
12438 (custom-deps, finder-data, autoloads)
12439 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12440 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12441 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12442 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12443
12444 2013-05-16 Leo Liu <sdl.web@gmail.com>
12445
12446 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12447 (octave-mode-menu, octave-mode-map): Remove its uses.
12448
12449 2013-05-16 Reto Zimmermann <reto@gnu.org>
12450
12451 Sync with upstream vhdl mode v3.34.2.
12452 * progmodes/vhdl-mode.el: Use `push' throughout.
12453 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12454 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12455 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12456 (vhdl-actual-generic-name): New option to derive actual generic name.
12457 (vhdl-port-paste-signals): Replace formal by actual generics.
12458 (vhdl-beautify): New name for old group vhdl-align. Update users.
12459 (vhdl-beautify-options): New option.
12460 (vhdl-last-input-event): New compat alias. Use throughout.
12461 (vhdl-goto-line): Replace user level function `goto-line'.
12462 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12463 vhdl-fix-statement-buffer.
12464 (vhdl-create-mode-menu): Add some entries.
12465 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12466 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12467 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12468 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12469 to force statements on one line.
12470 (vhdl-remove-trailing-spaces-region):
12471 New, split from vhdl-remove-trailing-spaces.
12472 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12473 Respect vhdl-beautify-options.
12474 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12475 (vhdl-update-sensitivity-list): Not add with index if exists without.
12476 Not include array index with signal. Ignore keywords in comments.
12477 (vhdl-get-visible-signals): Regexp tweaks.
12478 (vhdl-template-component-inst): Handle empty library.
12479 (vhdl-template-type): Add template for 'enum' type.
12480 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12481 Use vhdl-replace-string.
12482 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12483 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12484 (vhdl-speedbar-initialize): Update for above name change.
12485 (vhdl-compose-wire-components): Fix in handling of constants.
12486 (vhdl-error-regexp-emacs-alist): New variable.
12487 (vhdl-error-regexp-add-emacs): New function;
12488 adds support for new compile.el (Emacs 22+)
12489 (vhdl-generate-makefile-1): Change target order for single lib. units.
12490 Allow use of absolute file names.
12491
12492 2013-05-16 Leo Liu <sdl.web@gmail.com>
12493
12494 * simple.el (prog-indent-sexp): Indent enclosing defun.
12495
12496 2013-05-15 Glenn Morris <rgm@gnu.org>
12497
12498 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12499 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12500 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12501 (whitespace-highlight): Move to whitespace group.
12502
12503 * comint.el (comint-source):
12504 * pcmpl-linux.el (pcmpl-linux):
12505 * shell.el (shell-faces):
12506 * eshell/esh-opt.el (eshell-opt):
12507 * international/ccl.el (ccl): Remove empty custom groups.
12508
12509 * completion.el (dynamic-completion-mode):
12510 * jit-lock.el (jit-lock-debug-mode):
12511 * minibuffer.el (completion-in-region-mode):
12512 * type-break.el (type-break-mode-line-message-mode)
12513 (type-break-query-mode):
12514 * emulation/tpu-edt.el (tpu-edt-mode):
12515 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12516 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12517 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12518
12519 * term/xterm.el (xterm): Change parent group to terminals.
12520
12521 * master.el (master): Remove empty custom group.
12522 (master-mode): Remove unused :group argument.
12523 * textmodes/refill.el (refill): Remove empty custom group.
12524 (refill-mode): Remove unused :group argument.
12525
12526 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12527
12528 * cus-dep.el: Provide a feature.
12529 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12530 Don't mistakenly ignore files whose basenames match a basename
12531 from preloaded-file-list (eg cedet/ede/simple.el).
12532 Add a fallback method for getting :group.
12533
12534 2013-05-15 Juri Linkov <juri@jurta.org>
12535
12536 * isearch.el (isearch-char-by-name): Rename from
12537 `isearch-insert-char-by-name'. Doc fix.
12538 (isearch-forward): Mention `isearch-char-by-name' in
12539 the docstring. (Bug#13348)
12540
12541 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12542 `exit-minibuffer' instead of
12543 `isearch-nonincremental-exit-minibuffer'.
12544 (isearch-edit-string): Remove mention of
12545 `isearch-nonincremental-exit-minibuffer' from docstring.
12546 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12547 (isearch-forward-exit-minibuffer)
12548 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12549
12550 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12551
12552 * loadup.el: Just use unversioned DOC.
12553
12554 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12555 literals as extending to EOB.
12556 (nxml-last-fontify-end): Remove unused variable.
12557 (nxml-after-change1): Use with-silent-modifications.
12558 (nxml-extend-after-change-region): Simplify.
12559 (nxml-extend-after-change-region1): Remove function.
12560 (nxml-after-change1): Don't adjust for dependent regions.
12561 (nxml-fontify-matcher): Simplify.
12562 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12563 (xmltok-add-dependent): Remove function.
12564 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12565 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12566 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12567 unclosed <[[, <?, comment, and other literals as extending to EOB.
12568 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12569 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12570 Remove functions.
12571 (rng-do-some-validation-1): Don't mark dependent regions.
12572 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12573 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12574 (nxml-clear-dependent-regions): Remove functions.
12575 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12576 (nxml-ensure-scan-up-to-date):
12577 Don't clear&mark dependent regions.
12578
12579 2013-05-15 Leo Liu <sdl.web@gmail.com>
12580
12581 * progmodes/octave.el (octave-goto-function-definition):
12582 Improve and fix callers.
12583
12584 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12585
12586 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12587 the setter (bug#14387).
12588
12589 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12590 surrounding group (bug#14402).
12591
12592 2013-05-14 Juri Linkov <juri@jurta.org>
12593
12594 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12595 (Bug#14390)
12596
12597 2013-05-14 Glenn Morris <rgm@gnu.org>
12598
12599 * progmodes/f90.el (f90-imenu-generic-expression):
12600 Fix typo in 2013-05-08 change. (Bug#14402)
12601
12602 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12603
12604 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12605 Remove signals for which replies are never received.
12606
12607 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12608
12609 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12610 (gdb-handler-alist, gdb-handler-number): Remove variables.
12611 (gdb-handler-list): New variable.
12612 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12613 (gdb-pending-handler-p, gdb-handle-reply)
12614 (gdb-remove-all-pending-triggers): New functions.
12615 (gdb-discard-unordered-replies): New defcustom.
12616 (gdb-handler): New defstruct.
12617 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12618 instead of gdb-pending-triggers. Update docstring.
12619 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12620 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12621 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12622 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12623 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12624 (gdb-frame-handler): Pending triggers are now automatically managed.
12625 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12626 Remove argument.
12627 (gdb-input): Automatically handles pending triggers. Update docstring.
12628 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12629 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12630 Update comments.
12631 (gdb-done-or-error): Now use gdb-handle-reply.
12632
12633 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12634
12635 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12636 gdb-debug-log.
12637
12638 2013-05-14 Glenn Morris <rgm@gnu.org>
12639
12640 * subr.el (user-emacs-directory-warning): New option.
12641 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12642
12643 2013-05-14 Leo Liu <sdl.web@gmail.com>
12644
12645 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12646 during redisplay.
12647 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12648 (octave-font-lock-texinfo-comment): Fix invalid search bound
12649 error: wrong side of point.
12650
12651 2013-05-14 Glenn Morris <rgm@gnu.org>
12652
12653 * progmodes/flymake.el (flymake-xml-program): New option.
12654 (flymake-xml-init): Use it.
12655
12656 * term/xterm.el: Provide a feature.
12657
12658 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12659
12660 2013-05-13 Glenn Morris <rgm@gnu.org>
12661
12662 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12663 Add compat aliases as a hack workaround. (Bug#14384)
12664
12665 2013-05-13 Leo Liu <sdl.web@gmail.com>
12666
12667 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12668 ###, and %!.
12669 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12670 C-M-q.
12671 (octave-comment-start-skip): Include %!.
12672 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12673
12674 2013-05-12 Leo Liu <sdl.web@gmail.com>
12675
12676 * progmodes/octave.el (inferior-octave-startup): Store the value
12677 of __octave_srcdir__ for octave-source-directories.
12678 (inferior-octave-check-process): New function refactored out of
12679 inferior-octave-send-list-and-digest.
12680 (octave-source-directories)
12681 (octave-find-definition-filename-function): New variables.
12682 (octave-source-directories)
12683 (octave-find-definition-default-filename): New functions.
12684 (octave-find-definition): Improve to find functions implemented in C++.
12685
12686 2013-05-12 Glenn Morris <rgm@gnu.org>
12687
12688 * calendar/diary-lib.el (diary-outlook-format-1):
12689 Don't include dayname in the output. (Bug#14349)
12690
12691 2013-05-11 Glenn Morris <rgm@gnu.org>
12692
12693 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12694
12695 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12696 Treat cc-provide like provide.
12697
12698 2013-05-11 Kevin Ryde <user42@zip.com.au>
12699
12700 * cus-dep.el (custom-make-dependencies):
12701 Use generated-autoload-load-name for the sake of files such
12702 such cedet/semantic/bovine/c.el, where the base file name
12703 is not in load-path. (Bug#5277)
12704
12705 2013-05-11 Glenn Morris <rgm@gnu.org>
12706
12707 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12708 Provide features.
12709
12710 2013-05-11 Leo Liu <sdl.web@gmail.com>
12711
12712 * progmodes/octave.el (octave-indent-comment): Improve.
12713 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12714 (octave-eldoc-function-signatures, octave-eldoc-function):
12715 New functions.
12716 (octave-mode, inferior-octave-mode): Add eldoc support.
12717
12718 2013-05-11 Richard Stallman <rms@gnu.org>
12719
12720 * epa.el (epa-decrypt-file): Take output file name as argument
12721 and read it using `interactive'.
12722
12723 2013-05-11 Leo Liu <sdl.web@gmail.com>
12724
12725 * progmodes/octave.el (octave-beginning-of-line)
12726 (octave-end-of-line): Check before using up-list because it jumps
12727 out of more syntactic contructs since moving to smie.
12728 (octave-indent-comment): New function.
12729 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12730 (octave-begin-keywords, octave-end-keywords)
12731 (octave-reserved-words, octave-smie-bnf-table)
12732 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12733
12734 2013-05-11 Glenn Morris <rgm@gnu.org>
12735
12736 * faces.el (internal-face-x-get-resource):
12737 * frame.el (ns-display-monitor-attributes-list):
12738 * calc/calc-aent.el (math-to-radians-2):
12739 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12740 Fix declarations.
12741
12742 * calc/calc-menu.el: Make it loadable in isolation.
12743
12744 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12745 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12746 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12747 (eudc-bbdb-query-internal): Require 'bbdb.
12748
12749 * lpr.el (lpr-headers-switches):
12750 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12751
12752 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12753
12754 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12755
12756 * term.el (term-set-escape-char): Make it idempotent.
12757
12758 2013-05-10 Leo Liu <sdl.web@gmail.com>
12759
12760 * progmodes/octave.el (inferior-octave-completion-table):
12761 No longer a function and all uses changed. Use cache to speed up
12762 completion due to bug#11906.
12763 (octave-beginning-of-defun): Re-write to be more general.
12764
12765 2013-05-10 Glenn Morris <rgm@gnu.org>
12766
12767 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12768
12769 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * comint.el (comint-redirect-send-command-to-process): Use :around
12772 rather than :override for comint-redirect-filter.
12773 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12774 Call it instead of comint-redirect-original-filter-function (which
12775 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12776
12777 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12778
12779 * frame.el (display-monitor-attributes-list): Add NS case.
12780 (ns-display-monitor-attributes-list): Declare.
12781
12782 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12783
12784 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12785
12786 2013-05-09 Glenn Morris <rgm@gnu.org>
12787
12788 * international/fontset.el (vertical-centering-font-regexp):
12789 Set standard-value.
12790
12791 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12792
12793 * bookmark.el (bookmark-search-delay):
12794 * cus-start.el (vertical-centering-font-regexp):
12795 * ps-mule.el (ps-mule-font-info-database-default):
12796 * ps-print.el (ps-default-fg, ps-default-bg):
12797 * type-break.el (type-break-good-break-interval):
12798 * whitespace.el (whitespace-indentation-regexp)
12799 (whitespace-space-after-tab-regexp):
12800 * emacs-lisp/testcover.el (testcover-1value-functions)
12801 (testcover-noreturn-functions, testcover-progn-functions)
12802 (testcover-prog1-functions):
12803 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12804 * eshell/em-glob.el (eshell-glob-translate-alist):
12805 * play/tetris.el (tetris-tty-colors):
12806 * progmodes/cpp.el (cpp-face-default-list):
12807 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12808 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12809 (idlwave-help-browser-generic-args):
12810 * progmodes/make-mode.el (makefile-special-targets-list):
12811 * progmodes/python.el (python-shell-virtualenv-path):
12812 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12813 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12814 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12815 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12816 * textmodes/reftex-vars.el (reftex-format-label-function):
12817 * textmodes/remember.el (remember-diary-file): Fix custom types.
12818
12819 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12820 Add :version.
12821
12822 2013-05-09 Leo Liu <sdl.web@gmail.com>
12823
12824 * progmodes/octave.el (inferior-octave-completion-at-point):
12825 Restore file completion. (Bug#14300)
12826 (inferior-octave-startup): Fix incorrect highlighting for the
12827 first prompt.
12828
12829 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * progmodes/ruby-mode.el: First cut at SMIE support.
12832 (ruby-use-smie): New var.
12833 (ruby-smie-grammar): New constant.
12834 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12835 (ruby-smie--forward-token, ruby-smie--backward-token)
12836 (ruby-smie-rules): New functions.
12837 (ruby-mode-variables): Setup SMIE if applicable.
12838
12839 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12840
12841 * simple.el (line-move-visual): Signal beginning/end of buffer
12842 only if vertical-motion moved less than it was requested. Avoids
12843 silly incorrect error messages when there are display strings with
12844 multiple newlines at EOL.
12845
12846 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12849 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12850 (prolog-char-quote-workaround):
12851 * progmodes/cperl-mode.el (cperl-under-as-char):
12852 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12853 Mark as obsolete.
12854 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12855 their declaration.
12856 (vhdl-mode-syntax-table-init): Remove.
12857
12858 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12859 last change.
12860
12861 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12862 syntax for "_".
12863 (ld-script-font-lock-keywords):
12864 Change regexps to use things like \_< and \_>.
12865
12866 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12867 Change all regexps to use things like \_< and \_>.
12868
12869 * progmodes/autoconf.el (autoconf-definition-regexp)
12870 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12871 Handle a _ with symbol syntax.
12872 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12873
12874 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12875 Consolidate declaration.
12876 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12877 the declaration.
12878 (ada-create-syntax-table): Remove.
12879 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12880 already has the right syntax nowadays.
12881 (ada-goto-next-word): Don't change the syntax of "_".
12882
12883 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12884 with-wrapper-hook.
12885
12886 2013-05-08 Sam Steingold <sds@gnu.org>
12887
12888 * thingatpt.el (thing-at-point): Accept optional second argument
12889 NO-PROPERTIES to strip the text properties from the return value.
12890 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12891 to `thing-at-point' instead of stripping the properties ourselves.
12892 Also, when `thing-at-point' fails to find a url, prepend "http://"
12893 to the filename at point on the assumption that the user is
12894 pointing at something like gnu.org/gnu.
12895
12896 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12897
12898 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12899 * faces.el (crm-separator):
12900 Silence byte-compiler.
12901
12902 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12903 (tool-bar-map): Remove unneeded defvars.
12904
12905 2013-05-08 Leo Liu <sdl.web@gmail.com>
12906
12907 Re-work a fix for bug#10994 based on Le Wang's patch.
12908 * ido.el (ido-remove-consecutive-dups): New helper.
12909 (ido-completing-read): Use it.
12910 (ido-chop): Revert fix for bug#10994.
12911
12912 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12913
12914 * cus-edit.el (custom-save-variables):
12915 Pretty-print long values. (Bug#14187)
12916
12917 2013-05-08 Glenn Morris <rgm@gnu.org>
12918
12919 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12920 (m4-mode-syntax-table): Init in the defvar.
12921 (m4-mode-abbrev-table): Let define-derived-mode define it.
12922
12923 2013-05-08 Tom Tromey <tromey@redhat.com>
12924
12925 * progmodes/m4-mode.el (m4-mode-syntax-table):
12926 Do not treat "_" as word constituent. (Bug#14167)
12927
12928 2013-05-07 Glenn Morris <rgm@gnu.org>
12929
12930 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12931 Remove explicit eshell-isearch-cancel-map.
12932
12933 * progmodes/f90.el (f90-smart-end-names): New option.
12934 (f90-smart-end): Doc fix.
12935 (f90-end-block-optional-name): New constant.
12936 (f90-block-match): Respect f90-smart-end-names.
12937
12938 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12941 about implicit semi-colons (bug#14218).
12942
12943 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12944
12945 * frame.el (display-monitor-attributes-list)
12946 (frame-monitor-attributes): New functions.
12947
12948 2013-05-06 Leo Liu <sdl.web@gmail.com>
12949
12950 * progmodes/octave.el (octave-syntax-propertize-function): Change
12951 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12952 (octave-font-lock-keywords): Use octave-operator-regexp.
12953 (octave-completion-at-point): Rename from
12954 octave-completion-at-point-function.
12955 (inferior-octave-directory-tracker): Robustify.
12956 (octave-text-functions): Remove and fix its uses. No such things
12957 any more.
12958
12959 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * emacs-lisp/trace.el (trace--display-buffer): New function.
12962 (trace-make-advice): Use it.
12963
12964 2013-05-06 Juri Linkov <juri@jurta.org>
12965
12966 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12967 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12968 Doc fix.
12969 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12970 in the help string. (Bug#12985)
12971
12972 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12973
12974 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12975
12976 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12977
12978 * progmodes/perl-mode.el: Add support for here documents.
12979 (perl-syntax-propertize-function): Match here-doc markers.
12980 (perl-syntax-propertize-special-constructs): Find their end.
12981 (perl-imenu-generic-expression): Use [:alnum:].
12982
12983 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12984 (advice--add-function): Refresh the advice if already present
12985 (bug#14317).
12986
12987 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12988
12989 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12990
12991 2013-05-06 Glenn Morris <rgm@gnu.org>
12992
12993 * w32-fns.el (w32-charset-info-alist): Declare.
12994
12995 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12996 of its defcustom properties.
12997 (eshell-cmpl-initialize): No need to load pcomplete.
12998
12999 * generic-x.el: No need to require comint when compiling.
13000
13001 * net/eudc-export.el: Make it loadable without bbdb.
13002 (top-level): Use require rather than load-library.
13003 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13004 (eudc-batch-export-records-to-bbdb)
13005 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13006 Require bbdb.
13007
13008 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13009
13010 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13011 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13012 some tweaks, instead.
13013
13014 2013-05-05 Leo Liu <sdl.web@gmail.com>
13015
13016 * progmodes/octave.el (octave-font-lock-keywords)
13017 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13018 (inferior-octave-send-list-and-digest): Improve error message.
13019 (octave-mode, inferior-octave-mode): Use setq-local.
13020 (octave-help): Set info-lookup-mode.
13021
13022 2013-05-05 Richard Stallman <rms@gnu.org>
13023
13024 * vc/compare-w.el (compare-windows-whitespace):
13025 Treat no-break space as whitespace.
13026
13027 * mail/rmailsum.el (rmail-summary-rmail-update):
13028 Detect empty summary and don't change selected message.
13029 (rmail-summary-goto-msg): Likewise.
13030
13031 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13032 Doc fixes, rename args.
13033
13034 2013-05-05 Alan Mackenzie <acm@muc.de>
13035
13036 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13037
13038 2013-05-05 Juri Linkov <juri@jurta.org>
13039
13040 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13041 to not add the length of the summary segment to the return value.
13042 (Bug#14125)
13043
13044 2013-05-05 Leo Liu <sdl.web@gmail.com>
13045
13046 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13047 (inferior-octave-output-filter): Remove.
13048 (octave-send-region, inferior-octave-startup): Fix callers.
13049 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13050 (octave-binary-file-extensions): New user variable.
13051 (octave-find-definition): Confirm if opening binary files.
13052 (octave-help-file): Use octave-find-definition to get the binary
13053 confirmation.
13054 (octave-help): Adjust for octave-help-file change.
13055
13056 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13059 Merge the two entries that handle function definitions.
13060 (pascal--syntax-propertize): New const.
13061 (pascal-mode): Use it. Use setq-local.
13062
13063 2013-05-04 Glenn Morris <rgm@gnu.org>
13064
13065 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13066 (diary-from-outlook): Respect diary-from-outlook-function.
13067
13068 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13069
13070 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13071 Move the declaration from C.
13072 (read-minibuffer, eval-minibuffer): Move from C.
13073 (completion-setup-function): Avoid minibuffer-completion-contents.
13074
13075 2013-05-03 Leo Liu <sdl.web@gmail.com>
13076
13077 * progmodes/octave.el (octave-font-lock-keywords): Do not
13078 dehighlight 'end' in comments or strings.
13079 (octave-completing-read, octave-goto-function-definition):
13080 New helpers.
13081 (octave-help-buffer): New user variable.
13082 (octave-help-file, octave-help-function): New button types.
13083 (octave-help): New command and bind it to C-h ;.
13084 (octave-find-definition): New command and bind it to M-.
13085 (user-error): Alias to error if not defined.
13086
13087 2013-05-02 Leo Liu <sdl.web@gmail.com>
13088
13089 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13090 for \. (bug#14332)
13091 (octave-font-lock-keywords): Include [ and {.
13092
13093 2013-05-02 Leo Liu <sdl.web@gmail.com>
13094
13095 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13096 (inferior-octave): Remove calling comint-mode and return the buffer.
13097 (inferior-octave-startup): Cosmetic changes.
13098
13099 2013-05-02 Leo Liu <sdl.web@gmail.com>
13100
13101 * progmodes/octave.el (octave-syntax-propertize-function):
13102 Include the case when ' is at line beginning. (Bug#14336)
13103
13104 2013-05-02 Glenn Morris <rgm@gnu.org>
13105
13106 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13107 * desktop.el (vc-dir-mode): Just autoload it here.
13108
13109 2013-05-02 Alan Mackenzie <acm@muc.de>
13110
13111 Eliminate variable c-standard-font-lock-fontify-region-function.
13112 * progmodes/cc-mode.el
13113 (c-standard-font-lock-fontify-region-function): Remove.
13114 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13115
13116 2013-05-01 Leo Liu <sdl.web@gmail.com>
13117
13118 * progmodes/octave.el: Compatible with older emacs-24 releases.
13119 (inferior-octave-has-built-in-variables): Remove. Built-in
13120 variables were removed from Octave in 2007.
13121 (inferior-octave-startup): Fix uses.
13122 (comint-line-beginning-position): Remove compatibility code for
13123 emacs 21.
13124
13125 2013-05-01 Juri Linkov <juri@jurta.org>
13126
13127 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13128
13129 2013-05-01 Juri Linkov <juri@jurta.org>
13130
13131 * comint.el (comint-previous-matching-input): Don't print message
13132 "History item: %d" when `isearch-mode' is active.
13133 (comint-history-isearch-message): Print message "History item: %d"
13134 when `comint-input-ring-index' is not empty and this function is
13135 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13136
13137 2013-05-01 Leo Liu <sdl.web@gmail.com>
13138
13139 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13140 definitions. Use completion-at-point to insert keywords.
13141 (octave-abbrev-start): Remove.
13142 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13143
13144 2013-04-30 Leo Liu <sdl.web@gmail.com>
13145
13146 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13147 change.
13148
13149 2013-04-30 Alan Mackenzie <acm@muc.de>
13150
13151 Handle arbitrarily long C++ member initialisation lists.
13152 * progmodes/cc-engine.el (c-back-over-member-initializers):
13153 new function.
13154 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13155 (most) member init lists.
13156
13157 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13158
13159 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13160 variable.
13161
13162 2013-04-30 Leo Liu <sdl.web@gmail.com>
13163
13164 * progmodes/octave.el (octave-variables): Remove. No builtin
13165 variables any more. All converted to functions.
13166 (octave-font-lock-keywords, octave-completion-at-point-function):
13167 Fix uses.
13168 (octave-font-lock-texinfo-comment): New user variable.
13169 (octave-texinfo-font-lock-keywords): New variable for texinfo
13170 comment block.
13171 (octave-function-comment-block): New face.
13172 (octave-font-lock-texinfo-comment): New function.
13173 (octave-mode): Font lock texinfo comment block.
13174
13175 2013-04-29 Leo Liu <sdl.web@gmail.com>
13176
13177 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13178 indexing expression.
13179 (octave-continuation-string): Do not use \.
13180 (inferior-octave-complete-impossible): Remove.
13181 (inferior-octave-completion-table)
13182 (inferior-octave-completion-at-point): Remove its uses.
13183 (inferior-octave-startup): completion_matches was introduced to
13184 Octave in 1996 so safe to assume it.
13185 (octave-function-file-comment): Improve to follow how Octave does it.
13186 (octave-update-function-file-comment): Tweak.
13187
13188 2013-04-29 Leo Liu <sdl.web@gmail.com>
13189
13190 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13191 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13192 (octave-function-file-comment): Fix typo.
13193 (octave-sync-function-file-names): Use read-char-choice.
13194
13195 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13196
13197 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13198 to t for the less important warnings.
13199
13200 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13201
13202 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13203
13204 2013-04-27 Glenn Morris <rgm@gnu.org>
13205
13206 * vc/log-view.el (log-view-current-entry):
13207 Treat "---" separator lines as part of the following rev. (Bug#14169)
13208
13209 2013-04-27 Juri Linkov <juri@jurta.org>
13210
13211 * subr.el (read-number): Doc fix about using it by interactive
13212 code letter `n'. (Bug#14254)
13213
13214 2013-04-27 Juri Linkov <juri@jurta.org>
13215
13216 * desktop.el (desktop-auto-save-timeout): New option.
13217 (desktop-file-checksum): New variable.
13218 (desktop-save): Add optional arg `auto-save' and don't auto-save
13219 if nothing changed.
13220 (desktop-auto-save-timer): New variable.
13221 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13222 (after-init-hook): Call `desktop-auto-save-set-timer'.
13223 Suggested by Reuben Thomas <rrt@sc3d.org> in
13224 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13225
13226 2013-04-27 Leo Liu <sdl.web@gmail.com>
13227
13228 * progmodes/octave.el (octave-function-file-p)
13229 (octave-skip-comment-forward, octave-function-file-comment)
13230 (octave-update-function-file-comment): New functions.
13231 (octave-mode-map): Bind C-c ; to
13232 octave-update-function-file-comment.
13233 (octave-mode-menu): Add octave-update-function-file-comment.
13234 (octave-mode, inferior-octave-mode): Fix doc-string.
13235 (octave-insert-defun): Conform to Octave's coding convention.
13236 (Bug#14285)
13237
13238 * files.el (basic-save-buffer): Don't let errors in
13239 before-save-hook prevent saving buffer.
13240
13241 2013-04-20 Roland Winkler <winkler@gnu.org>
13242
13243 * faces.el (read-face-name): Use completing-read if arg multiple
13244 is nil.
13245
13246 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13247
13248 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13249 displayed, move point to after the totals line.
13250 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13251 for the details.
13252
13253 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13254
13255 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13256 Add current dir to the load-path.
13257 (package-generate-autoloads): Don't rely on
13258 autoload-ensure-default-file.
13259
13260 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13261
13262 * textmodes/remember.el (remember-store-in-files): Document that
13263 the file name format is passed to `format-time-string'.
13264
13265 2013-04-26 Leo Liu <sdl.web@gmail.com>
13266
13267 * progmodes/octave.el (octave-sync-function-file-names): New function.
13268 (octave-mode): Use it in before-save-hook.
13269
13270 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13273 (bug#14274).
13274
13275 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13276 \n and comment, even if it's not an implicit ; (bug#14218).
13277
13278 2013-04-26 Glenn Morris <rgm@gnu.org>
13279
13280 * subr.el (read-number): Once more use `read' rather than
13281 `string-to-number', to trap non-numeric input. (Bug#14254)
13282
13283 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13284
13285 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13286 Use `syntax-multiline' text property consistently instead of
13287 `font-lock-multiline'. (Bug#14237)
13288
13289 2013-04-26 Glenn Morris <rgm@gnu.org>
13290
13291 * emacs-lisp/shadow.el (list-load-path-shadows):
13292 No longer necessary to check for duplicate simple.el, since
13293 2012-07-07 change to init_lread to not include installation lisp
13294 directories in load-path when running uninstalled. (Bug#14270)
13295
13296 2013-04-26 Leo Liu <sdl.web@gmail.com>
13297
13298 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13299 (octave-mode, inferior-octave-mode): Use setq-local.
13300 (octave-not-in-string-or-comment-p): Rename to
13301 octave-in-string-or-comment-p.
13302 (octave-in-comment-p, octave-in-string-p)
13303 (octave-in-string-or-comment-p): Replace defsubst with defun.
13304
13305 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13306
13307 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13308
13309 2013-04-25 Bastien Guerry <bzg@gnu.org>
13310
13311 * textmodes/remember.el (remember-data-directory)
13312 (remember-directory-file-name-format): Fix custom types.
13313
13314 2013-04-25 Leo Liu <sdl.web@gmail.com>
13315
13316 * progmodes/octave.el (octave-completion-at-point-function):
13317 Make use of inferior octave process.
13318 (octave-initialize-completions): Remove.
13319 (inferior-octave-completion-table): New function.
13320 (inferior-octave-completion-at-point): Use it.
13321 (octave-completion-alist): Remove.
13322
13323 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13324
13325 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13326 (opascal-mode-syntax-table): New var.
13327 (opascal-literal-kind, opascal-is-literal-end)
13328 (opascal-literal-token-at): Rewrite.
13329 (opascal--literal-start-re, opascal-font-lock-keywords)
13330 (opascal--syntax-propertize): New constants.
13331 (opascal-font-lock-defaults): Adjust.
13332 (opascal-mode): Use them. Set comment-<foo> variables as well.
13333 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13334 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13335 (delphi-other-face, opascal-other-face): Remove face variables.
13336 (opascal-save-state): Remove macro.
13337 (opascal-fontifying-progress-step): Remove constant.
13338 (opascal--ignore-changes): Remove var.
13339 (opascal-set-token-property, opascal-parse-next-literal)
13340 (opascal-is-stable-literal, opascal-complete-literal)
13341 (opascal-is-literal-start, opascal-face-of)
13342 (opascal-parse-region, opascal-parse-region-until-stable)
13343 (opascal-fontify-region, opascal-after-change)
13344 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13345 (opascal-debug-parse-region, opascal-debug-parse-window)
13346 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13347 (opascal-debug-fontify-buffer): Remove.
13348 (opascal-debug-mode-map): Adjust accordingly.
13349
13350 2013-04-25 Leo Liu <sdl.web@gmail.com>
13351
13352 Merge octave-mod.el and octave-inf.el into octave.el with some
13353 cleanups.
13354 * progmodes/octave.el: New file renamed from octave-mod.el.
13355 * progmodes/octave-inf.el: Merged into octave.el.
13356 * progmodes/octave-mod.el: Renamed to octave.el.
13357
13358 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13359
13360 * textmodes/reftex-vars.el
13361 (reftex-label-ignored-macros-and-environments): New defcustom.
13362
13363 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13364
13365 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13368 (smie-indent-keyword): Improve the check to ensure that the next
13369 comment is really on the same line.
13370 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13371
13372 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13373 semi-colons if the line is not otherwise empty (bug#14218).
13374
13375 2013-04-25 Glenn Morris <rgm@gnu.org>
13376
13377 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13378
13379 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13380
13381 * progmodes/opascal.el (opascal-set-token-property): Rename from
13382 opascal-set-text-properties and only set `token' (bug#14134).
13383 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13384 (opascal-literal-text-properties): Remove.
13385 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13386 Adjust callers.
13387
13388 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13389
13390 * textmodes/remember.el (remember-handler-functions): Add an
13391 option for a new handler `remember-store-in-files'.
13392 (remember-data-directory, remember-directory-file-name-format):
13393 New options.
13394 (remember-store-in-files): New function to store remember notes
13395 as separate files within a directory.
13396
13397 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13398
13399 * progmodes/compile.el (compilation-next-error-function):
13400 Pass "formats" to compilation-find-file (bug#11777).
13401
13402 2013-04-24 Glenn Morris <rgm@gnu.org>
13403
13404 * vc/vc-bzr.el (vc-bzr-print-log):
13405 * vc/vc-hg.el (vc-hg-print-log):
13406 * vc/vc-svn.el (vc-svn-print-log):
13407 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13408
13409 * vc/vc-bzr.el (vc-bzr-print-log):
13410 * vc/vc-cvs.el (vc-cvs-print-log):
13411 * vc/vc-git.el (vc-git-print-log):
13412 * vc/vc-hg.el (vc-hg-print-log):
13413 * vc/vc-mtn.el (vc-mtn-print-log):
13414 * vc/vc-rcs.el (vc-rcs-print-log):
13415 * vc/vc-sccs.el (vc-sccs-print-log):
13416 * vc/vc-svn.el (vc-svn-print-log):
13417 * vc/vc.el (vc-print-log-internal): Doc fixes.
13418
13419 2013-04-23 Glenn Morris <rgm@gnu.org>
13420
13421 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13422 Remove venerable code attempting to avoid substitute-command-keys.
13423
13424 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13425
13426 * textmodes/reftex-vars.el (reftex-label-regexps):
13427 Call `reftex-compile-variables' after changes to this variable.
13428
13429 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13432 Use lexical-binding.
13433 (jit-lock-force-redisplay): Use markers, check buffer's continued
13434 existence and beware narrowed buffers.
13435 (jit-lock-fontify-now): Adjust call accordingly.
13436
13437 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13438
13439 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13440 to avoid misleading the user.
13441
13442 2013-04-22 Leo Liu <sdl.web@gmail.com>
13443
13444 * info-look.el: Prefer latex2e.info. (Bug#14240)
13445
13446 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13447
13448 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13449
13450 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13451 * net/tramp.el (tramp-call-process): ... here.
13452 (tramp-set-completion-function, tramp-parse-putty):
13453 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13454 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13455 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13456 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13457 (tramp-call-local-coding-command): Use `tramp-call-process'
13458 instead of `tramp-compat-call-process'.
13459
13460 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13461 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13462 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13463 (tramp-find-inline-compress): Improve traces.
13464 (tramp-maybe-send-script): Check for Perl binary.
13465 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13466
13467 2013-04-22 Daiki Ueno <ueno@gnu.org>
13468
13469 * epg.el (epg-context-pinentry-mode): New function.
13470 (epg-context-set-pinentry-mode): New function.
13471 (epg--start): Pass --pinentry-mode option to gpg command.
13472
13473 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13474
13475 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13476 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13477 `completion-at-point'. (Bug#13774)
13478
13479 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13480 default key binding for `describe-distribution' has been moved to
13481 `C-h C-o'. (Bug#13970)
13482
13483 2013-04-21 Glenn Morris <rgm@gnu.org>
13484
13485 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13486 Add doc strings.
13487 (vc-print-log): Clarify interactive prompt.
13488
13489 2013-04-20 Glenn Morris <rgm@gnu.org>
13490
13491 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13492 No longer include timestamp etc information.
13493
13494 2013-04-20 Roland Winkler <winkler@gnu.org>
13495
13496 * faces.el (read-face-name): Bug fix, return just one face if arg
13497 multiple is nil. (Bug#14209)
13498
13499 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13500
13501 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13502 (remove-function): Autoload.
13503
13504 * comint.el (comint-redirect-original-filter-function): Remove.
13505 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13506 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13507 (vc-cvs-annotate-command):
13508 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13509 * progmodes/prolog.el (prolog-consult-compile):
13510 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13511 Use add/remove-function instead.
13512 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13513 (gud-tooltip-process-output, gud-tooltip-tips):
13514 Use add/remove-function instead.
13515 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13516 (scheme-interaction-mode, exit-scheme-interaction-mode):
13517 Use add/remove-function instead.
13518
13519 * vc/vc-dispatcher.el: Use lexical-binding.
13520 (vc--process-sentinel): Rename from vc-process-sentinel.
13521 Change last arg to be the code to run. Don't use vc-previous-sentinel
13522 and vc-sentinel-commands any more.
13523 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13524 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13525
13526 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13527
13528 * progmodes/sh-script.el (sh-imenu-generic-expression):
13529 Handle function names with a single character. (Bug#14111)
13530
13531 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13532
13533 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13534 for subroutines defined in an eval (bug#14182).
13535
13536 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13537
13538 * bookmark.el (bookmark-completing-read): Improve handling of empty
13539 string (bug#14176).
13540
13541 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13542
13543 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13544
13545 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13546
13547 New faster Imenu implementation (bug#14058).
13548 * progmodes/python.el:
13549 (python-imenu-prev-index-position):
13550 (python-imenu-format-item-label-function)
13551 (python-imenu-format-parent-item-label-function)
13552 (python-imenu-format-parent-item-jump-label-function):
13553 New vars.
13554 (python-imenu-format-item-label)
13555 (python-imenu-format-parent-item-label)
13556 (python-imenu-format-parent-item-jump-label)
13557 (python-imenu--put-parent, python-imenu--build-tree)
13558 (python-imenu-create-index, python-imenu-create-flat-index)
13559 (python-util-popn): New functions.
13560 (python-mode): Set imenu-create-index-function to
13561 python-imenu-create-index.
13562
13563 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13564
13565 * winner.el (winner-active-region): Use region-active-p, activate-mark
13566 and deactivate-mark (bug#14225).
13567
13568 * simple.el (deactivate-mark): Don't inline it.
13569
13570 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13571
13572 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13573
13574 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13575
13576 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13577 file extensions from the archive-mode entry in order to prefer
13578 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13579
13580 2013-04-18 Leo Liu <sdl.web@gmail.com>
13581
13582 * bindings.el (help-event-list): Add ?\?.
13583
13584 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * subr.el (with-wrapper-hook): Declare obsolete.
13587 * simple.el (filter-buffer-substring-function): New hook.
13588 (filter-buffer-substring): Use it.
13589 (filter-buffer-substring-functions): Mark obsolete.
13590 * minibuffer.el (completion-in-region-function): New hook.
13591 (completion-in-region): Use it.
13592 (completion-in-region-functions): Mark obsolete.
13593 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13594 * abbrev.el (abbrev-expand-function): New hook.
13595 (expand-abbrev): Use it.
13596 (abbrev-expand-functions): Mark obsolete.
13597 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13598 and :filter-return.
13599
13600 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13601
13602 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13603 and do not care about match data.
13604
13605 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13608 completion tables when completing error conditions and
13609 `declare' arguments.
13610 (lisp-complete-symbol, field-complete): Mark as obsolete.
13611 (check-parens): Unmatched parens are user errors.
13612 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13613
13614 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13615
13616 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13617 command changed buffer (ie. `flyspell-pre-buffer' is not current
13618 buffer), which prevents making decisions based on invalid value of
13619 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13620 cause an error when `flyspell-pre-point' was nil after switching
13621 buffers.
13622 (flyspell-post-command-hook): No longer needs to change buffers when
13623 checking pre-word. While at it remove unnecessary progn.
13624
13625 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13626
13627 * textmodes/ispell.el (ispell-add-per-file-word-list):
13628 Fix `flyspell-correct-word-before-point' error when accepting
13629 words and `coment-padding' is an integer by using
13630 `comment-normalize-vars' (Bug #14214).
13631
13632 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13633
13634 New defun movement commands.
13635 * progmodes/python.el (python-nav--syntactically)
13636 (python-nav--forward-defun, python-nav-backward-defun)
13637 (python-nav-forward-defun): New functions.
13638
13639 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13640
13641 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13642 (python-syntax-context): Use named compiler-macro for backwards
13643 compatibility with Emacs 24.x.
13644
13645 2013-04-17 Leo Liu <sdl.web@gmail.com>
13646
13647 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13648 octave-hide-process-buffer.
13649
13650 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13653 (bug#14216).
13654
13655 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13656
13657 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13658 Fix adjustment of offset when receiving incomplete responses from GDB
13659 (bug#14129).
13660
13661 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13662
13663 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13664 python-mode-abbrev-table.
13665 (python-skeleton-define): Adjust accordingly.
13666 (python-mode-abbrev-table): New table that inherits from it so that
13667 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13668
13669 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13670 (abbrev-symbol): Use it.
13671 (abbrev--before-point): Use it since we already handle inheritance.
13672
13673 2013-04-16 Leo Liu <sdl.web@gmail.com>
13674
13675 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13676 binding to info-lookup-symbol.
13677
13678 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13679
13680 * minibuffer.el (completion--twq-all):
13681 * term/ns-win.el (ns-initialize-window-system):
13682 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13683
13684 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13685
13686 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13687 global bindings.
13688
13689 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13690
13691 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13692
13693 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13694 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13695 to nil.
13696 (ruby-end-of-defun): Remove the unused arg, change the docstring
13697 to reflect that this function is only used as the value of
13698 `end-of-defun-function'.
13699 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13700 to reflect an earlier change that beginning/end-of-defun functions
13701 jump between methods in a class definition, as well as top-level
13702 functions.
13703
13704 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * minibuffer.el (minibuffer-complete): Don't just scroll
13707 a *Completions* that's been iconified.
13708 (minibuffer-force-complete): Make sure repetitions do cycle when going
13709 through completion-in-region -> minibuffer-complete.
13710
13711 2013-04-15 Alan Mackenzie <acm@muc.de>
13712
13713 Correct the placement of c-cpp-delimiters when there're #s not at
13714 col 0.
13715
13716 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13717 place a submatch around the #.
13718 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13719 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13720 on the #, not BOL.
13721
13722 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13725 (advice--member-p): New arg `name'.
13726 (advice--add-function, advice-member-p): Use it (bug#14202).
13727
13728 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13729
13730 Reformulate java imenu-generic-expression.
13731 The old expression contained ill formed regexps.
13732
13733 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13734 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13735 (cc-imenu-java-method-arg-regexp): New defconsts.
13736 (cc-imenu-java-build-type-args-regex): New defun.
13737 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13738 handling of spaces in the regexp.
13739
13740 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13741
13742 * textmodes/ispell.el (ispell-command-loop): Remove
13743 flyspell highlight of a word when ispell accepts it (bug #14178).
13744
13745 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13746
13747 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13748 uses code from the previous `ange-ftp-run-real-handler'.
13749 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13750 only in case that function exist. This is needed for proper
13751 unloading of Tramp.
13752
13753 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13754
13755 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13756
13757 * textmodes/reftex.el (reftex-compile-variables): Use it.
13758
13759 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13760
13761 * files.el (normal-mode): Only use default major-mode if no other mode
13762 was specified.
13763
13764 * emacs-lisp/trace.el (trace-values): New function.
13765
13766 * files.el: Allow : in local variables (bug#14089).
13767 (hack-local-variable-regexp): New var.
13768 (hack-local-variables-prop-line, hack-local-variables): Use it.
13769
13770 2013-04-13 Roland Winkler <winkler@gnu.org>
13771
13772 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13773 data before it gets modified by bibtex-beginning-of-entry.
13774
13775 2013-04-13 Roland Winkler <winkler@gnu.org>
13776
13777 * textmodes/bibtex.el (bibtex-url): Doc fix.
13778
13779 2013-04-13 Roland Winkler <winkler@gnu.org>
13780
13781 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13782 does not visit a BibTeX file, exclude it from the list of buffers
13783 returned by bibtex-initialize.
13784
13785 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13786
13787 * window.el (split-window): Remove interactive form, since as a
13788 command this function is a special case of split-window-below.
13789 Correct doc string.
13790
13791 2013-04-12 Roland Winkler <winkler@gnu.org>
13792
13793 * faces.el (read-face-name): Do not override value of arg default.
13794 Allow single faces and strings as default values. Remove those
13795 elements from return value that are not faces.
13796 (describe-face): Simplify.
13797 (face-at-point): New optional args thing and multiple so that this
13798 function can provide the same functionality previously provided by
13799 read-face-name.
13800 (make-face-bold, make-face-unbold, make-face-italic)
13801 (make-face-unitalic, make-face-bold-italic, invert-face)
13802 (modify-face, read-face-and-attribute): Use face-at-point.
13803
13804 * cus-edit.el (customize-face, customize-face-other-window)
13805 * cus-theme.el (custom-theme-add-face)
13806 * face-remap.el (buffer-face-set)
13807 * facemenu.el (facemenu-set-face): Use face-at-point.
13808
13809 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13810
13811 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13812
13813 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13814
13815 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13816 off leading { and trailing } from field values.
13817
13818 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * emacs-lisp/timer.el (timer--check): New function.
13821 (timer--time, timer-set-function, timer-event-handler): Use it.
13822 (timer-set-idle-time): Simplify.
13823 (timer--activate): CSE.
13824 (timer-event-handler): Give more info in error message.
13825 (internal-timer-start-idle): New function, moved from C.
13826
13827 * mpc.el (mpc-proc): Add `restart' argument.
13828 (mpc-proc-cmd): Use it.
13829 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13830 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13831 less often.
13832
13833 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13834
13835 * progmodes/sh-script.el: Implement `sh-mode' own
13836 `add-log-current-defun-function' (bug#14112).
13837 (sh-current-defun-name): New function.
13838 (sh-mode): Use the function.
13839
13840 2013-04-09 Bastien Guerry <bzg@gnu.org>
13841
13842 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13843
13844 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13847
13848 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13849 timer (bug#14156).
13850
13851 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13852
13853 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13854 declaration.
13855
13856 2013-04-07 Leo Liu <sdl.web@gmail.com>
13857
13858 * pcmpl-x.el: New file.
13859
13860 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13861
13862 Do not set x-display-name until X connection is established.
13863 This is needed to prevent from weird situation described at
13864 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13865 * frame.el (make-frame): Set x-display-name after call to
13866 window system initialization function, not before.
13867 * term/x-win.el (x-initialize-window-system): Add optional
13868 display argument and use it.
13869 * term/w32-win.el (w32-initialize-window-system):
13870 * term/ns-win.el (ns-initialize-window-system):
13871 * term/pc-win.el (msdos-initialize-window-system):
13872 Add compatible optional display argument.
13873
13874 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13875
13876 * files.el (normal-backup-enable-predicate): On MS-Windows and
13877 MS-DOS compare truenames of temporary-file-directory and of the
13878 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13879 don't fail comparison by compare-strings. Also, compare file
13880 names case-insensitively on MS-Windows and MS-DOS.
13881
13882 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13883
13884 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13885 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13886
13887 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13888
13889 * whitespace.el (whitespace-color-on, whitespace-color-off):
13890 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13891
13892 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13893
13894 * ispell.el (ispell-set-spellchecker-params):
13895 Really set `ispell-args' for all equivs.
13896
13897 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * ido.el (ido-completions): Use extra elements of ido-decorations
13900 (bug#14143).
13901 (ido-decorations): Update docstring.
13902
13903 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13904
13905 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13906 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13907 nil during initialization, in order not to miss changes since the
13908 file was opened. (Bug#14140)
13909
13910 2013-04-05 Leo Liu <sdl.web@gmail.com>
13911
13912 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13913
13914 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13915
13916 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13917
13918 2013-04-04 Glenn Morris <rgm@gnu.org>
13919
13920 * electric.el (electric-pair-inhibit-predicate): Add :version.
13921
13922 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13925 when a package is required several times (bug#14082).
13926
13927 2013-04-04 Roland Winkler <winkler@gnu.org>
13928
13929 * faces.el (read-face-name): Behave as promised by the docstring.
13930 Assume that arg default is a list of faces.
13931 (describe-face): Call read-face-name with list of default faces.
13932
13933 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13934
13935 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13936 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13937 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13938 the header.
13939 (bookmark-exit-hook-internal): Save even if list is empty.
13940
13941 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13942
13943 * emacs-lisp/package.el (package-pinned-packages): New var.
13944 (package--add-to-archive-contents): Obey it (bug#14118).
13945
13946 2013-04-03 Alan Mackenzie <acm@muc.de>
13947
13948 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13949 Also adapt to the new values of element 7 of a parse state.
13950
13951 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13952 parameter `not-in-delimiter'. Handle being inside comment opener.
13953 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13954 character in case we're typing a '*' after a '/'.
13955 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13956 instead by passing the parameter to c-state-pp-to-literal.
13957
13958 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13959 for elt. 7 of a parse state.
13960
13961 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13962
13963 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13964 * international/latin1-disp.el, international/mule-util.el:
13965 * language/cyril-util.el, language/european.el, language/ind-util.el:
13966 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13967 * language/tibetan.el, language/viet-util.el:
13968 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13969
13970 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13973 (electric-pair-post-self-insert-function): Use it.
13974 (electric-pair-default-inhibit): New function, extracted from
13975 electric-pair-post-self-insert-function.
13976
13977 2013-03-31 Roland Winkler <winkler@gnu.org>
13978
13979 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13980
13981 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13982
13983 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13984
13985 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13986
13987 Un-indent after "pass" and "return" statements (Bug#13888)
13988 * progmodes/python.el (python-indent-block-enders): New var.
13989 (python-indent-calculate-indentation): Use it.
13990
13991 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13992
13993 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13994 defun. Defining it as defalias could introduce too eager
13995 byte-compiler optimization. (Bug#14030)
13996
13997 2013-03-30 Chong Yidong <cyd@gnu.org>
13998
13999 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14000
14001 2013-03-30 Leo Liu <sdl.web@gmail.com>
14002
14003 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14004 (kmacro-execute-from-register): Pass the keyboard macro to
14005 kmacro-call-macro or repeating won't work correctly.
14006
14007 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14008
14009 * progmodes/subword.el: Back to using `forward-symbol'.
14010
14011 * subr.el (forward-whitespace, forward-symbol)
14012 (forward-same-syntax): Move from thingatpt.el.
14013
14014 2013-03-29 Leo Liu <sdl.web@gmail.com>
14015
14016 * kmacro.el (kmacro-to-register): New command.
14017 (kmacro-execute-from-register): New function.
14018 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14019
14020 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14021
14022 * mpc.el: Use defvar-local and setq-local.
14023 (mpc--proc-connect): Connection failures are not bugs.
14024 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14025 (mpc-volume-map): Bind to the up-events.
14026
14027 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14028
14029 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14030 instead of `forward-symbol'.
14031
14032 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14033
14034 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14035 (edebug--recursive-edit): Use it.
14036 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14037 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14038
14039 2013-03-28 Leo Liu <sdl.web@gmail.com>
14040
14041 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14042
14043 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14044
14045 * facemenu.el (list-colors-callback): New defvar.
14046 (list-colors-redisplay): New function.
14047 (list-colors-display): Install list-colors-redisplay as the
14048 revert-buffer-function. (Bug#14063)
14049
14050 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14053 and suffixes don't overlap (bug#14061).
14054
14055 * case-table.el: Use lexical-binding.
14056 (case-table-get-table): New function.
14057 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14058
14059 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14060
14061 * progmodes/subword.el: Add `superword-mode' to do word motion
14062 over symbol_words (parallels and leverages `subword-mode' which
14063 does word motion inside MixedCaseWords).
14064
14065 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14066
14067 * eshell/em-unix.el: Move su and sudo to...
14068 * eshell/em-tramp.el: ...Eshell tramp module.
14069
14070 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14071
14072 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14073 Change return value to be a sexp. Delay `get-buffer' to after
14074 restoring the desktop (bug#13951).
14075
14076 2013-03-26 Leo Liu <sdl.web@gmail.com>
14077
14078 * register.el: Move semantic tag handling back to
14079 cedet/semantic/senator.el. (Bug#14052)
14080
14081 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14082
14083 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14084 into the prompt either (bug#13963).
14085
14086 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14087
14088 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14089 part of "(error-foo)".
14090
14091 2013-03-24 Juri Linkov <juri@jurta.org>
14092
14093 * replace.el (list-matching-lines-prefix-face): New defcustom.
14094 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14095 `occur-engine' if `face-differs-from-default-p' returns t.
14096 (occur-engine): Add `,' inside backquote construct to evaluate
14097 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14098 Pass `prefix-face' to the functions `occur-context-lines' and
14099 `occur-engine-add-prefix'.
14100 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14101 `prefix-face' and propertize the prefix with `prefix-face'.
14102 (Bug#14017)
14103
14104 2013-03-24 Leo Liu <sdl.web@gmail.com>
14105
14106 * nxml/rng-valid.el (rng-validate-while-idle)
14107 (rng-validate-quick-while-idle): Guard against deleted buffer.
14108 (Bug#13999)
14109
14110 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14111 is the last entry in kill-buffer-hook.
14112
14113 * files.el (kill-buffer-hook): Doc fix.
14114
14115 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14116
14117 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14118 Make it safe-local.
14119
14120 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14121
14122 2013-03-23 Leo Liu <sdl.web@gmail.com>
14123
14124 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14125 Remove.
14126
14127 * nxml/rng-valid.el (rng-validate-mode)
14128 (rng-after-change-function, rng-do-some-validation):
14129 * nxml/rng-maint.el (rng-validate-buffer):
14130 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14131 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14132 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14133 (nxml-extend-after-change-region): Use with-silent-modifications.
14134
14135 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14136 timer-idle-list.
14137
14138 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14139 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14140 timer-idle-list. (Bug#13999)
14141
14142 2013-03-23 Juri Linkov <juri@jurta.org>
14143
14144 * info.el (info-index-match): New face.
14145 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14146 main pattern and add text properties with the new face to matches
14147 in index entries relative to the beginning of the index entry.
14148 (Bug#14015)
14149
14150 2013-03-21 Eric Ludlam <zappo@gnu.org>
14151
14152 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14153 Inhibit read only while inserting objects.
14154
14155 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14156
14157 * progmodes/cfengine.el: Update docs to mention
14158 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14159 symbol motion. Remove "_" from the word syntax.
14160
14161 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14162
14163 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14164 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14165
14166 2013-03-20 Juri Linkov <juri@jurta.org>
14167
14168 * info.el (Info-next-reference-or-link)
14169 (Info-prev-reference-or-link): New functions.
14170 (Info-next-reference, Info-prev-reference): Use them.
14171 (Info-try-follow-nearest-node): Handle footnote navigation.
14172 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14173
14174 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14175
14176 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14177 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14178
14179 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14180
14181 Suppress unnecessary non-ASCII chatter during build process.
14182 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14183 (batch-skkdic-convert): Suppress most of the chatter.
14184 It's not needed so much now that machines are faster,
14185 and its non-ASCII component was confusing; see Dmitry Gutov in
14186 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14187
14188 2013-03-20 Leo Liu <sdl.web@gmail.com>
14189
14190 * ido.el (ido-chop): Fix bug#10994.
14191
14192 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14193
14194 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14195 Remove vars.
14196 (whitespace-color-on, whitespace-color-off):
14197 Use `font-lock-fontify-buffer' (Bug#13817).
14198
14199 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14202 remapping in mode-line.
14203 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14204
14205 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14206
14207 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14208 value for `whitespace-line' face (Bug#13875).
14209 (whitespace-font-lock-keywords): Change description.
14210 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14211 the constructed keywords instead.
14212 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14213
14214 2013-03-19 Leo Liu <sdl.web@gmail.com>
14215
14216 * progmodes/compile.el (compilation-display-error): New command.
14217 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14218 C-o. (Bug#13992)
14219
14220 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14221
14222 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14223
14224 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14225
14226 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14227
14228 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14229
14230 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14231
14232 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14233 * net/tramp-gvfs.el (top):
14234 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14235 (tramp-handle-shell-command): Use it.
14236 (tramp-dissect-file-name): Raise an error when hostname is a
14237 method name, and neither method nor user is specified.
14238
14239 * net/trampver.el: Update release number.
14240
14241 2013-03-18 Leo Liu <sdl.web@gmail.com>
14242
14243 Make sure eldoc can be turned off properly.
14244 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14245 eldoc-mode.
14246 (eldoc-display-message-p): Revert last change.
14247 (eldoc-display-message-no-interference-p)
14248 (eldoc-print-current-symbol-info): Tweak.
14249
14250 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14251
14252 * doc-view.el (doc-view-new-window-function): Check the new window
14253 overlay's display property instead the char property of the
14254 buffer's first char. Use `with-selected-window' instead of
14255 `save-window-excursion' with `select-window'.
14256 (doc-view-document->bitmap): Check the current doc-view overlay's
14257 display property instead the char property of the buffer's first char.
14258
14259 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14260
14261 Automate the build of ja-dic.el (Bug#13984).
14262 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14263 from the input, rather than assume that it's been done for us by the
14264 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14265 the current date into a ja-dic.el comment, as that complicates
14266 regression testing.
14267
14268 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * whitespace.el: Fix double evaluation.
14271 (whitespace-space, whitespace-hspace, whitespace-tab)
14272 (whitespace-newline, whitespace-trailing, whitespace-line)
14273 (whitespace-space-before-tab, whitespace-indentation)
14274 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14275 obsolete defvars.
14276 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14277 (whitespace-color-on): Use a single font-lock-add-keywords call.
14278 Fix double-evaluation of face variables.
14279
14280 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14281
14282 * net/tramp-adb.el (tramp-adb-parse-device-names):
14283 Use `start-process' instead of `call-process'. Otherwise, the
14284 function might be blocked under MS Windows. (Bug#13299)
14285
14286 2013-03-17 Leo Liu <sdl.web@gmail.com>
14287
14288 Extend eldoc to display info in the mode-line. (Bug#13978)
14289 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14290 (eldoc-mode-line-string): New variable.
14291 (eldoc-minibuffer-message): New function.
14292 (eldoc-message-function): New variable.
14293 (eldoc-message): Use it.
14294 (eldoc-display-message-p)
14295 (eldoc-display-message-no-interference-p):
14296 Support eldoc-post-insert-mode.
14297
14298 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14299 (eval-expression): Run it.
14300
14301 2013-03-17 Roland Winkler <winkler@gnu.org>
14302
14303 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14304 strings in the list of return values.
14305
14306 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14307
14308 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14309 radix before checking for HMS forms.
14310
14311 2013-03-16 Leo Liu <sdl.web@gmail.com>
14312
14313 * progmodes/scheme.el: Add indentation and font-locking for λ.
14314 (Bug#13975)
14315
14316 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14317
14318 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14319 token before point (bug#13942).
14320
14321 2013-03-16 Leo Liu <sdl.web@gmail.com>
14322
14323 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14324
14325 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14326
14327 * startup.el (command-line-normalize-file-name): Fix handling of
14328 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14329 <xfq.free@gmail.com> in
14330 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14331
14332 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14333
14334 Sync with Tramp 2.2.7.
14335
14336 * net/trampver.el: Update release number.
14337
14338 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14339
14340 * doc-view.el: Fix bug#13887.
14341 (doc-view-insert-image): Don't modify overlay associated to
14342 non-live windows, and implement horizontal centering of image in
14343 case it's smaller than the window.
14344 (doc-view-new-window-function): Force redisplay of new windows on
14345 doc-view buffers.
14346
14347 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14348
14349 * saveplace.el (save-place-alist-to-file): Don't sort
14350 `save-place-alist', just pretty-print it (bug#13882).
14351
14352 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14353
14354 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14355 Check whether `default-file-name-coding-system' is bound.
14356 It isn't in XEmacs.
14357
14358 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14359
14360 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14361 backquotes for `obsolete' (bug#13929).
14362
14363 * international/mule.el (find-auto-coding): Include file name in
14364 obsolescence warning (bug#13922).
14365
14366 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14367
14368 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14369 for CFEngine 3-specific indentation.
14370 (cfengine3-indent-line): Use it. Fix up category regex.
14371 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14372
14373 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14374
14375 * type-break.el (type-break-file-name):
14376 * textmodes/remember.el (remember-data-file):
14377 * strokes.el (strokes-file):
14378 * shadowfile.el (shadow-initialize):
14379 * saveplace.el (save-place-file):
14380 * ps-bdf.el (bdf-cache-file):
14381 * progmodes/idlwave.el (idlwave-config-directory):
14382 * net/quickurl.el (quickurl-url-file):
14383 * international/kkc.el (kkc-init-file-name):
14384 * ido.el (ido-save-directory-list-file):
14385 * emulation/viper.el (viper-custom-file-name):
14386 * emulation/vip.el (vip-startup-file):
14387 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14388 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14389
14390 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14391
14392 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14393 * language/thai-word.el: Switch to UTF-8.
14394
14395 See ChangeLog.16 for earlier changes.
14396
14397 ;; Local Variables:
14398 ;; coding: utf-8
14399 ;; End:
14400
14401 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14402
14403 This file is part of GNU Emacs.
14404
14405 GNU Emacs is free software: you can redistribute it and/or modify
14406 it under the terms of the GNU General Public License as published by
14407 the Free Software Foundation, either version 3 of the License, or
14408 (at your option) any later version.
14409
14410 GNU Emacs is distributed in the hope that it will be useful,
14411 but WITHOUT ANY WARRANTY; without even the implied warranty of
14412 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14413 GNU General Public License for more details.
14414
14415 You should have received a copy of the GNU General Public License
14416 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.